getAmazonEC2ExternalIdForCrossAccountRole
This method returns the last External ID that was generated using the generateAmazonEC2ExternalIdForCrossAccountRole method.
Parameters
No input parameters are required.
Return value
This method will return a String containing information regarding the most recent External ID.
Attribute | String | Description |
|---|---|---|
| String | The value of the last External ID generated. If the External ID was used for an integration, or was never generated, the method will return a |
Example
Request:
{
"params": {
},
"jsonrpc": "2.0",
"method": "getAmazonEC2ExternalIdForCrossAccountRole",
"id": "5c6df60c-786a-4ea3-8ff3-b6e52b42aa46"
} Response:
{
"id": "5c6df60c-786a-4ea3-8ff3-b6e52b42aa46",
"jsonrpc": "2.0",
"result": "5e93f474a30a2db85dd6046d6d5fg188"
}