AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

List the accounts that have cross-account resources.

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

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to ListCrossAccountResourceAccountsAsync.

Namespace: Amazon.GlobalAccelerator
Assembly: AWSSDK.GlobalAccelerator.dll
Version: 3.x.y.z

Syntax

C#
public virtual ListCrossAccountResourceAccountsResponse ListCrossAccountResourceAccounts(
         ListCrossAccountResourceAccountsRequest request
)

Parameters

request
Type: Amazon.GlobalAccelerator.Model.ListCrossAccountResourceAccountsRequest

Container for the necessary parameters to execute the ListCrossAccountResourceAccounts service method.

Return Value


The response from the ListCrossAccountResourceAccounts service method, as returned by GlobalAccelerator.

Exceptions

ExceptionCondition
AccessDeniedException You don't have access permission.
InternalServiceErrorException There was an internal error for Global Accelerator.

Version Information

.NET Framework:
Supported in: 4.5 and newer, 3.5

See Also