v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-141381,185842.7 KB

Retrieves information about the maintenance window targets or tasks that a managed node is associated with.

post/#X-Amz-Target=AmazonSSM.DescribeMaintenanceWindowsForTarget

Query parameters

MaxResultsstring

Pagination limit

NextTokenstring

Pagination token

Headers

X-Amz-Target'AmazonSSM.DescribeMaintenanceWindowsForTarget' required

Request body

ResourceType'INSTANCE' | 'RESOURCE_GROUP' required

The type of resource you want to retrieve information about. For example, <code>INSTANCE</code>.

MaxResultsinteger

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.

NextTokenstring

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

Response

Success

NextTokenstring

The token for the next set of items to return. (You use this token in the next call.)