Skip to content

List Association Versions

ssm_list_association_versions R Documentation

Retrieves all versions of an association for a specific association ID

Description

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

Usage

ssm_list_association_versions(AssociationId, MaxResults, NextToken)

Arguments

AssociationId

[required] The association ID for which you want to view all versions.

MaxResults

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

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

Value

A list with the following syntax:

list(
  AssociationVersions = list(
    list(
      AssociationId = "string",
      AssociationVersion = "string",
      CreatedDate = as.POSIXct(
        "2015-01-01"
      ),
      Name = "string",
      DocumentVersion = "string",
      Parameters = list(
        list(
          "string"
        )
      ),
      Targets = list(
        list(
          Key = "string",
          Values = list(
            "string"
          )
        )
      ),
      ScheduleExpression = "string",
      OutputLocation = list(
        S3Location = list(
          OutputS3Region = "string",
          OutputS3BucketName = "string",
          OutputS3KeyPrefix = "string"
        )
      ),
      AssociationName = "string",
      MaxErrors = "string",
      MaxConcurrency = "string",
      ComplianceSeverity = "CRITICAL"|"HIGH"|"MEDIUM"|"LOW"|"UNSPECIFIED",
      SyncCompliance = "AUTO"|"MANUAL",
      ApplyOnlyAtCronInterval = TRUE|FALSE,
      CalendarNames = list(
        "string"
      ),
      TargetLocations = list(
        list(
          Accounts = list(
            "string"
          ),
          Regions = list(
            "string"
          ),
          TargetLocationMaxConcurrency = "string",
          TargetLocationMaxErrors = "string",
          ExecutionRoleName = "string",
          TargetLocationAlarmConfiguration = list(
            IgnorePollAlarmFailure = TRUE|FALSE,
            Alarms = list(
              list(
                Name = "string"
              )
            )
          )
        )
      ),
      ScheduleOffset = 123,
      Duration = 123,
      TargetMaps = list(
        list(
          list(
            "string"
          )
        )
      )
    )
  ),
  NextToken = "string"
)

Request syntax

svc$list_association_versions(
  AssociationId = "string",
  MaxResults = 123,
  NextToken = "string"
)