ResilienceHubV2 / Paginator / ListInputSources

ListInputSources

class ResilienceHubV2.Paginator.ListInputSources
paginator = client.get_paginator('list_input_sources')
paginate(**kwargs)

Creates an iterator that will paginate through responses from ResilienceHubV2.Client.list_input_sources().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    serviceArn='string',
    type='CFN_STACK'|'TAGS'|'EKS'|'TERRAFORM'|'DESIGN_FILE'|'MONITORING',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • serviceArn (string) –

    [REQUIRED]

    ARN identifier.

  • type (string) – Filter input sources by type.

  • 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

{
    'inputSourceSummaries': [
        {
            'inputSourceId': 'string',
            'type': 'CFN_STACK'|'TAGS'|'EKS'|'TERRAFORM'|'DESIGN_FILE'|'MONITORING',
            'resourceTags': [
                {
                    'key': 'string',
                    'values': [
                        'string',
                    ]
                },
            ],
            'cfnStackArn': 'string',
            'tfStateFileUrl': 'string',
            'eks': {
                'clusterArn': 'string',
                'namespaces': [
                    'string',
                ]
            },
            'designFileS3Url': 'string',
            'createdAt': datetime(2015, 1, 1)
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • inputSourceSummaries (list) –

      The list of input source summaries.

      • (dict) –

        Contains summary information about an input source for a service.

        • inputSourceId (string) –

          The unique identifier of the input source.

        • type (string) –

          The type of the input source.

        • resourceTags (list) –

          The resource tags used for discovery, if this input source uses tags.

          • (dict) –

            A tag key-value pair used for resource discovery.

            • key (string) –

              Tag key.

            • values (list) –

              The list of tag values.

              • (string) –

                Tag value.

        • cfnStackArn (string) –

          ARN identifier.

        • tfStateFileUrl (string) –

          S3 URL — virtual hosted-style or s3:// URI.

        • eks (dict) –

          The Amazon EKS configuration, if this input source uses EKS.

          • clusterArn (string) –

            ARN identifier.

          • namespaces (list) –

            The list of Kubernetes namespaces within the EKS cluster.

            • (string) –

              Kubernetes namespace name (RFC 1123 Label).

        • designFileS3Url (string) –

          S3 URL — virtual hosted-style or s3:// URI.

        • createdAt (datetime) –

          The timestamp when the input source was created.

    • NextToken (string) –

      A token to resume pagination.