ListCrossAccountResourceAccounts - AWS Global Accelerator

ListCrossAccountResourceAccounts

List the accounts that have cross-account resources.

For more information, see Working with cross-account attachments and resources in AWS Global Accelerator in the AWS Global Accelerator Developer Guide.

Response Syntax

{ "ResourceOwnerAwsAccountIds": [ "string" ] }

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

ResourceOwnerAwsAccountIds

The account IDs of principals (resource owners) in a cross-account attachment who can work with resources listed in the same attachment.

Type: Array of strings

Length Constraints: Fixed length of 12.

Pattern: ^\d{12}$

Errors

For information about the errors that are common to all actions, see Common Errors.

AccessDeniedException

You don't have access permission.

HTTP Status Code: 400

InternalServiceErrorException

There was an internal error for AWS Global Accelerator.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: