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',
            'Cidr': 'string',
            'AttachmentArn': 'string'
        },
    ],

}

Response Structure

  • (dict) –

    • CrossAccountResources (list) –

      The cross-account resources used with an accelerator.

      • (dict) –

        An endpoint (Amazon Web Services resource) or an IP address range, in CIDR format, that is listed in a cross-account attachment. A cross-account resource can be added to an accelerator by specified principals, which are also listed in the attachment.

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

        • 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.

        • Cidr (string) –

          An IP address range, in CIDR format, that is specified as an Amazon Web Services resource. The address must be provisioned and advertised in Global Accelerator by following the bring your own IP address (BYOIP) process for Global Accelerator.

          For more information, see Bring your own IP addresses (BYOIP) in the Global Accelerator Developer Guide.

        • AttachmentArn (string) –

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