v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1430332272.3 KB

Returns information about the last deployment and other change states of services. This API provides visibility into recent changes that may have affected service performance, helping with troubleshooting and change correlation.

post/service/states

Request body

StartTimestring date-time required

The start of the time period to retrieve service state information for. When used in a raw HTTP Query API, it is formatted as epoch time in seconds. For example, <code>1698778057</code>.

EndTimestring date-time required

The end of the time period to retrieve service state information for. When used in a raw HTTP Query API, it is formatted as epoch time in seconds. For example, <code>1698778057</code>.

MaxResultsinteger

The maximum number of service states to return in one operation. If you omit this parameter, the default of 20 is used.

NextTokenstring

Include this value, if it was returned by the previous operation, to get the next set of service states.

IncludeLinkedAccountsboolean

If you are using this operation in a monitoring account, specify <code>true</code> to include service states from source accounts in the returned data.

AwsAccountIdstring

The Amazon Web Services account ID to filter service states by. Use this to limit results to services from a specific account.

Response

Success

StartTimestring date-time required

The start of the time period that the returned information applies to. When used in a raw HTTP Query API, it is formatted as epoch time in seconds. For example, <code>1698778057</code>.

EndTimestring date-time required

The end of the time period that the returned information applies to. When used in a raw HTTP Query API, it is formatted as epoch time in seconds. For example, <code>1698778057</code>.

NextTokenstring

Include this value in your next use of this API to get the next set of service states.