List Document Versions
ssm_list_document_versions | R Documentation |
List all versions for a document¶
Description¶
List all versions for a document.
Usage¶
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:
list(
DocumentVersions = list(
list(
Name = "string",
DisplayName = "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¶
svc$list_document_versions(
Name = "string",
MaxResults = 123,
NextToken = "string"
)