SSM / Client / describe_association_execution_targets

describe_association_execution_targets#

SSM.Client.describe_association_execution_targets(**kwargs)#

Views information about a specific execution of a specific association.

See also: AWS API Documentation

Request Syntax

response = client.describe_association_execution_targets(
    AssociationId='string',
    ExecutionId='string',
    Filters=[
        {
            'Key': 'Status'|'ResourceId'|'ResourceType',
            'Value': 'string'
        },
    ],
    MaxResults=123,
    NextToken='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.

  • MaxResults (integer) – The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.

  • NextToken (string) – A token to start the list. Use this token to get the next set of results.

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'
            }
        },
    ],
    'NextToken': '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.

    • NextToken (string) –

      The token for the next set of items to return. Use this token to get the next set of results.

Exceptions