List Documents
| ssm_list_documents | R Documentation |
Returns all Systems Manager (SSM) documents in the current Amazon Web Services account and Amazon Web Services Region¶
Description¶
Returns all Systems Manager (SSM) documents in the current Amazon Web Services account and Amazon Web Services Region. You can limit the results of this request by using a filter.
Usage¶
Arguments¶
DocumentFilterListThis data type is deprecated. Instead, use
Filters.FiltersOne or more
DocumentKeyValuesFilterobjects. Use a filter to return a more specific list of results. For keys, you can specify one or more key-value pair tags that have been applied to a document. Other valid keys includeOwner,Name,PlatformTypes,DocumentType, andTargetType. For example, to return documents you own useKey=Owner,Values=Self. To specify a custom key-value pair, use the formatKey=tag:tagName,Values=valueName.This API operation only supports filtering documents by using a single tag key and one or more tag values. For example:
Key=tag:tagName,Values=valueName1,valueName2MaxResultsThe 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.
NextTokenThe 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(
DocumentIdentifiers = list(
list(
Name = "string",
CreatedDate = as.POSIXct(
"2015-01-01"
),
DisplayName = "string",
Owner = "string",
VersionName = "string",
PlatformTypes = list(
"Windows"|"Linux"|"MacOS"
),
DocumentVersion = "string",
DocumentType = "Command"|"Policy"|"Automation"|"Session"|"Package"|"ApplicationConfiguration"|"ApplicationConfigurationSchema"|"DeploymentStrategy"|"ChangeCalendar"|"Automation.ChangeTemplate"|"ProblemAnalysis"|"ProblemAnalysisTemplate"|"CloudFormation"|"ConformancePackTemplate"|"QuickSetup",
SchemaVersion = "string",
DocumentFormat = "YAML"|"JSON"|"TEXT",
TargetType = "string",
Tags = list(
list(
Key = "string",
Value = "string"
)
),
Requires = list(
list(
Name = "string",
Version = "string",
RequireType = "string",
VersionName = "string"
)
),
ReviewStatus = "APPROVED"|"NOT_REVIEWED"|"PENDING"|"REJECTED",
Author = "string"
)
),
NextToken = "string"
)