GlobalAccelerator / Paginator / ListCrossAccountResources

ListCrossAccountResources#

class GlobalAccelerator.Paginator.ListCrossAccountResources#
paginator = client.get_paginator('list_cross_account_resources')
paginate(**kwargs)#

Creates an iterator that will paginate through responses from GlobalAccelerator.Client.list_cross_account_resources().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    AcceleratorArn='string',
    ResourceOwnerAwsAccountId='string',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • AcceleratorArn (string) – The Amazon Resource Name (ARN) of an accelerator in a cross-account attachment.

  • ResourceOwnerAwsAccountId (string) –

    [REQUIRED]

    The account ID of a resource owner in a cross-account attachment.

  • PaginationConfig (dict) –

    A dictionary that provides parameters to control pagination.

    • MaxItems (integer) –

      The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.

    • PageSize (integer) –

      The size of each page.

    • StartingToken (string) –

      A token to specify where to start paginating. This is the NextToken from a previous response.

Return type:

dict

Returns:

Response Syntax

{
    'CrossAccountResources': [
        {
            'EndpointId': 'string',
            'AttachmentArn': 'string'
        },
    ],

}

Response Structure

  • (dict) –

    • CrossAccountResources (list) –

      The endpoints attached to an accelerator in a cross-account attachment.

      • (dict) –

        An endpoint (Amazon Web Services resource) that is listed in a cross-account attachment and can be added to an accelerator by specified principals, that are also listed in the attachment.

        • EndpointId (string) –

          The endpoint ID for the endpoint that is listed in a cross-account attachment and can be added to an accelerator by specified principals.

        • AttachmentArn (string) –

          The Amazon Resource Name (ARN) of the cross-account attachment that specifies the endpoints (resources) that can be added to accelerators and principals that have permission to add the endpoints to accelerators.