Table Of Contents

Feedback

User Guide

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

[ aws . ssm ]

list-association-versions

Description

Retrieves all versions of an association for a specific association ID.

See also: AWS API Documentation

Synopsis

  list-association-versions
--association-id <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 all versions.

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

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

Output

AssociationVersions -> (list)

Information about all versions of the association for the specified association ID.

(structure)

Information about the association version.

AssociationId -> (string)

The ID created by the system when the association was created.

AssociationVersion -> (string)

The association version.

CreatedDate -> (timestamp)

The date the association version was created.

Name -> (string)

The name specified when the association was created.

DocumentVersion -> (string)

The version of a Systems Manager document used when the association version was created.

Parameters -> (map)

Parameters specified when the association version was created.

key -> (string)

value -> (list)

(string)

Targets -> (list)

The targets specified for the association when the association version was created.

(structure)

An array of search criteria that targets instances using a Key,Value combination that you specify. Targets is required if you don't provide one or more instance IDs in the call.

Key -> (string)

User-defined criteria for sending commands that target instances that meet the criteria. Key can be tag:Amazon EC2 tagor InstanceIds. For more information about how to send commands that target instances using Key,Value parameters, see Executing a Command Using Systems Manager Run Command .

Values -> (list)

User-defined criteria that maps to Key. For example, if you specified tag:ServerRole, you could specify value:WebServer to execute a command on instances that include Amazon EC2 tags of ServerRole,WebServer. For more information about how to send commands that target instances using Key,Value parameters, see Executing a Command Using Systems Manager Run Command .

(string)

ScheduleExpression -> (string)

The cron or rate schedule specified for the association when the association version was created.

OutputLocation -> (structure)

The location in Amazon S3 specified for the association when the association version was created.

S3Location -> (structure)

An Amazon S3 bucket where you want to store the results of this request.

OutputS3Region -> (string)

(Deprecated) You can no longer specify this parameter. The system ignores it. Instead, Systems Manager automatically determines the Amazon S3 bucket region.

OutputS3BucketName -> (string)

The name of the Amazon S3 bucket.

OutputS3KeyPrefix -> (string)

The Amazon S3 bucket subfolder.

AssociationName -> (string)

The name specified for the association version when the association version was created.

NextToken -> (string)

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