AppRegistry / Paginator / ListAssociatedResources

ListAssociatedResources#

class AppRegistry.Paginator.ListAssociatedResources#
paginator = client.get_paginator('list_associated_resources')
paginate(**kwargs)#

Creates an iterator that will paginate through responses from AppRegistry.Client.list_associated_resources().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    application='string',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • application (string) –

    [REQUIRED]

    The name, ID, or ARN of the application.

  • 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

{
    'resources': [
        {
            'name': 'string',
            'arn': 'string',
            'resourceType': 'CFN_STACK'|'RESOURCE_TAG_VALUE',
            'resourceDetails': {
                'tagValue': 'string'
            },
            'options': [
                'APPLY_APPLICATION_TAG'|'SKIP_APPLICATION_TAG',
            ]
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • resources (list) –

      Information about the resources.

      • (dict) –

        The information about the resource.

        • name (string) –

          The name of the resource.

        • arn (string) –

          The Amazon resource name (ARN) that specifies the resource across services.

        • resourceType (string) –

          Provides information about the Service Catalog App Registry resource type.

        • resourceDetails (dict) –

          The details related to the resource.

          • tagValue (string) –

            The value of the tag.

        • options (list) –

          Determines whether an application tag is applied or skipped.

          • (string) –

    • NextToken (string) –

      A token to resume pagination.