WellArchitected / Paginator / ListAgentContexts

ListAgentContexts

class WellArchitected.Paginator.ListAgentContexts
paginator = client.get_paginator('list_agent_contexts')
paginate(**kwargs)

Creates an iterator that will paginate through responses from WellArchitected.Client.list_agent_contexts().

See also: AWS API Documentation

Request Syntax

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

    [REQUIRED]

    The Amazon Resource Name (ARN) of the profile to list contexts for.

  • 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

{
    'items': [
        {
            'id': 'string',
            'profileArn': 'string',
            'title': 'string',
            'contextType': 'APPLICATION',
            'content': {
                'accountIds': [
                    'string',
                ],
                'regions': [
                    'string',
                ],
                'awsServices': [
                    'string',
                ],
                'resourceTypes': [
                    'string',
                ],
                'resourceTags': [
                    {
                        'key': 'string',
                        'value': 'string'
                    },
                ],
                'applicationOverview': 'string',
                'industry': 'string',
                'applicationType': 'SAS'|'DESKTOP_APPLICATION'|'OTHER',
                'criticality': 'MISSION_CRITICAL'|'BUSINESS_CRITICAL'|'NON_CRITICAL'|'TEST_DEVELOPMENT',
                'architectureOverview': 'string',
                'additionalContext': 'string'
            },
            'applicationType': 'SAS'|'DESKTOP_APPLICATION'|'OTHER',
            'criticality': 'MISSION_CRITICAL'|'BUSINESS_CRITICAL'|'NON_CRITICAL'|'TEST_DEVELOPMENT',
            'createdBy': 'string',
            'createdAt': datetime(2015, 1, 1),
            'lastModifiedBy': 'string',
            'lastModifiedAt': datetime(2015, 1, 1)
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • items (list) –

      A list of context summaries associated with the profile.

      • (dict) –

        Summary of a context associated with a profile, representing application or environment information used during recommendation generation.

        • id (string) –

          The unique identifier of the context.

        • profileArn (string) –

          The Amazon Resource Name (ARN) of the associated profile.

        • title (string) –

          The title of the context.

        • contextType (string) –

          The type of the context.

        • content (dict) –

          The typed content of the context, containing application-specific fields such as account IDs, Regions, services, and resource types.

          • accountIds (list) –

            The Amazon Web Services account IDs associated with this application context.

            • (string) –

          • regions (list) –

            The Amazon Web Services Regions where this application operates.

            • (string) –

          • awsServices (list) –

            The Amazon Web Services services used by this application.

            • (string) –

          • resourceTypes (list) –

            The Amazon Web Services resource types relevant to this application.

            • (string) –

          • resourceTags (list) –

            Resource tags used to scope this application context.

            • (dict) –

              A key-value pair representing a resource tag used to scope context content.

              • key (string) –

                The tag key.

              • value (string) –

                The tag value.

          • applicationOverview (string) –

            A free-form overview of the application.

          • industry (string) –

            The industry vertical for this application.

          • applicationType (string) –

            The type of the application.

          • criticality (string) –

            The business criticality of the application.

          • architectureOverview (string) –

            A free-form description of the application architecture.

          • additionalContext (string) –

            Additional context not captured by other fields.

        • applicationType (string) –

          The type of application described by this context.

        • criticality (string) –

          The business criticality of the application described by this context.

        • createdBy (string) –

          The identifier of the user or system that created this context.

        • createdAt (datetime) –

          The timestamp when the context was created.

        • lastModifiedBy (string) –

          The identifier of the user or system that last modified this context.

        • lastModifiedAt (datetime) –

          The timestamp when the context was last modified.

    • NextToken (string) –

      A token to resume pagination.