Lists the targets registered with the maintenance window¶
Description¶
Lists the targets registered with the maintenance window.
Usage¶
Arguments¶
-
WindowId[required] The ID of the maintenance window whose targets should be retrieved.
-
FiltersOptional filters that can be used to narrow down the scope of the returned window targets. The supported filter keys are
Type,WindowTargetId, andOwnerInformation. -
MaxResultsThe 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(
Targets = list(
list(
WindowId = "string",
WindowTargetId = "string",
ResourceType = "INSTANCE"|"RESOURCE_GROUP",
Targets = list(
list(
Key = "string",
Values = list(
"string"
)
)
),
OwnerInformation = "string",
Name = "string",
Description = "string"
)
),
NextToken = "string"
)