WellArchitected / Client / get_agent_context

get_agent_context

WellArchitected.Client.get_agent_context(**kwargs)

Retrieves detailed information about a specific context associated with a profile.

See also: AWS API Documentation

Request Syntax

response = client.get_agent_context(
    profileArn='string',
    id='string'
)
Parameters:
  • profileArn (string) –

    [REQUIRED]

    The Amazon Resource Name (ARN) of the profile containing the context.

  • id (string) –

    [REQUIRED]

    The unique identifier of the context to retrieve.

Return type:

dict

Returns:

Response Syntax

{
    'context': {
        '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)
    }
}

Response Structure

  • (dict) –

    • context (dict) –

      The retrieved context summary.

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

Exceptions

  • WellArchitected.Client.exceptions.AccessDeniedException

  • WellArchitected.Client.exceptions.ValidationException

  • WellArchitected.Client.exceptions.InternalServerException

  • WellArchitected.Client.exceptions.ResourceNotFoundException

  • WellArchitected.Client.exceptions.ThrottlingException