Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

DescribeAssociationExecutionTargets

class SSM.Paginator.DescribeAssociationExecutionTargets
paginator = client.get_paginator('describe_association_execution_targets')
paginate(**kwargs)

Creates an iterator that will paginate through responses from SSM.Client.describe_association_execution_targets().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    AssociationId='string',
    ExecutionId='string',
    Filters=[
        {
            'Key': 'Status'|'ResourceId'|'ResourceType',
            'Value': 'string'
        },
    ],
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters
  • AssociationId (string) --

    [REQUIRED]

    The association ID that includes the execution for which you want to view details.

  • ExecutionId (string) --

    [REQUIRED]

    The execution ID for which you want to view details.

  • Filters (list) --

    Filters for the request. You can specify the following filters and values.

    Status (EQUAL)

    ResourceId (EQUAL)

    ResourceType (EQUAL)

    • (dict) --

      Filters for the association execution.

      • Key (string) -- [REQUIRED]

        The key value used in the request.

      • Value (string) -- [REQUIRED]

        The value specified for the key.

  • 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

{
    'AssociationExecutionTargets': [
        {
            'AssociationId': 'string',
            'AssociationVersion': 'string',
            'ExecutionId': 'string',
            'ResourceId': 'string',
            'ResourceType': 'string',
            'Status': 'string',
            'DetailedStatus': 'string',
            'LastExecutionDate': datetime(2015, 1, 1),
            'OutputSource': {
                'OutputSourceId': 'string',
                'OutputSourceType': 'string'
            }
        },
    ],

}

Response Structure

  • (dict) --

    • AssociationExecutionTargets (list) --

      Information about the execution.

      • (dict) --

        Includes information about the specified association execution.

        • AssociationId (string) --

          The association ID.

        • AssociationVersion (string) --

          The association version.

        • ExecutionId (string) --

          The execution ID.

        • ResourceId (string) --

          The resource ID, for example, the managed node ID where the association ran.

        • ResourceType (string) --

          The resource type, for example, EC2.

        • Status (string) --

          The association execution status.

        • DetailedStatus (string) --

          Detailed information about the execution status.

        • LastExecutionDate (datetime) --

          The date of the last execution.

        • OutputSource (dict) --

          The location where the association details are saved.

          • OutputSourceId (string) --

            The ID of the output source, for example the URL of an S3 bucket.

          • OutputSourceType (string) --

            The type of source where the association execution details are stored, for example, Amazon S3.