ssm_list_document_versions: List all versions for a document

Description Usage Arguments Value Request syntax

View source: R/ssm_operations.R

Description

List all versions for a document.

Usage

1
ssm_list_document_versions(Name, MaxResults, NextToken)

Arguments

Name

[required] The name of the document. You can specify an Amazon Resource Name (ARN).

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

The token for the next set of items to return. (You received this token from a previous call.)

Value

A list with the following syntax:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
list(
  DocumentVersions = list(
    list(
      Name = "string",
      DocumentVersion = "string",
      VersionName = "string",
      CreatedDate = as.POSIXct(
        "2015-01-01"
      ),
      IsDefaultVersion = TRUE|FALSE,
      DocumentFormat = "YAML"|"JSON"|"TEXT",
      Status = "Creating"|"Active"|"Updating"|"Deleting"|"Failed",
      StatusInformation = "string",
      ReviewStatus = "APPROVED"|"NOT_REVIEWED"|"PENDING"|"REJECTED"
    )
  ),
  NextToken = "string"
)

Request syntax

1
2
3
4
5
svc$list_document_versions(
  Name = "string",
  MaxResults = 123,
  NextToken = "string"
)

paws.management documentation built on Aug. 23, 2021, 9:11 a.m.