Table Of Contents

Feedback

User Guide

First time using the AWS CLI? See the User Guide for help getting started.

[ aws . ssm ]

describe-association-executions

Description

Use this API action to view all executions for a specific association ID.

See also: AWS API Documentation

See 'aws help' for descriptions of global parameters.

Synopsis

  describe-association-executions
--association-id <value>
[--filters <value>]
[--max-results <value>]
[--next-token <value>]
[--cli-input-json <value>]
[--generate-cli-skeleton <value>]

Options

--association-id (string)

The association ID for which you want to view execution history details.

--filters (list)

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

ExecutionId (EQUAL)

Status (EQUAL)

CreatedTime (EQUAL, GREATER_THAN, LESS_THAN)

Shorthand Syntax:

Key=string,Value=string,Type=string ...

JSON Syntax:

[
  {
    "Key": "ExecutionId"|"Status"|"CreatedTime",
    "Value": "string",
    "Type": "EQUAL"|"LESS_THAN"|"GREATER_THAN"
  }
  ...
]

--max-results (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.

--next-token (string)

A token to start the list. Use this token to get the next set of results.

--cli-input-json (string) Performs service operation based on the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, the CLI values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally.

--generate-cli-skeleton (string) Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input, prints a sample input JSON that can be used as an argument for --cli-input-json. If provided with the value output, it validates the command inputs and returns a sample output JSON for that command.

See 'aws help' for descriptions of global parameters.

Output

AssociationExecutions -> (list)

A list of the executions for the specified association ID.

(structure)

Includes information about the specified association.

AssociationId -> (string)

The association ID.

AssociationVersion -> (string)

The association version.

ExecutionId -> (string)

The execution ID for the association. If the association does not run at intervals or according to a schedule, then the ExecutionID is the same as the AssociationID.

Status -> (string)

The status of the association execution.

DetailedStatus -> (string)

Detailed status information about the execution.

CreatedTime -> (timestamp)

The time the execution started.

LastExecutionDate -> (timestamp)

The date of the last execution.

ResourceCountByStatus -> (string)

An aggregate status of the resources in the execution based on the status type.

NextToken -> (string)

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