Support / Client / describe_trusted_advisor_check_refresh_statuses
describe_trusted_advisor_check_refresh_statuses#
- Support.Client.describe_trusted_advisor_check_refresh_statuses(**kwargs)#
Returns the refresh status of the Trusted Advisor checks that have the specified check IDs. You can get the check IDs by calling the DescribeTrustedAdvisorChecks operation.
Some checks are refreshed automatically, and you can’t return their refresh statuses by using the
DescribeTrustedAdvisorCheckRefreshStatuses
operation. If you call this operation for these checks, you might see anInvalidParameterValue
error.Note
You must have a Business, Enterprise On-Ramp, or Enterprise Support plan to use the Amazon Web Services Support API.
If you call the Amazon Web Services Support API from an account that doesn’t have a Business, Enterprise On-Ramp, or Enterprise Support plan, the
SubscriptionRequiredException
error message appears. For information about changing your support plan, see Amazon Web Services Support.
To call the Trusted Advisor operations in the Amazon Web Services Support API, you must use the US East (N. Virginia) endpoint. Currently, the US West (Oregon) and Europe (Ireland) endpoints don’t support the Trusted Advisor operations. For more information, see About the Amazon Web Services Support API in the Amazon Web Services Support User Guide.
See also: AWS API Documentation
Request Syntax
response = client.describe_trusted_advisor_check_refresh_statuses( checkIds=[ 'string', ] )
- Parameters:
checkIds (list) –
[REQUIRED]
The IDs of the Trusted Advisor checks to get the status.
Note
If you specify the check ID of a check that is automatically refreshed, you might see an
InvalidParameterValue
error.(string) –
- Return type:
dict
- Returns:
Response Syntax
{ 'statuses': [ { 'checkId': 'string', 'status': 'string', 'millisUntilNextRefreshable': 123 }, ] }
Response Structure
(dict) –
The statuses of the Trusted Advisor checks returned by the DescribeTrustedAdvisorCheckRefreshStatuses operation.
statuses (list) –
The refresh status of the specified Trusted Advisor checks.
(dict) –
The refresh status of a Trusted Advisor check.
checkId (string) –
The unique identifier for the Trusted Advisor check.
status (string) –
The status of the Trusted Advisor check for which a refresh has been requested:
none
- The check is not refreshed or the non-success status exceeds the timeoutenqueued
- The check refresh requests has entered the refresh queueprocessing
- The check refresh request is picked up by the rule processing enginesuccess
- The check is successfully refreshedabandoned
- The check refresh has failed
millisUntilNextRefreshable (integer) –
The amount of time, in milliseconds, until the Trusted Advisor check is eligible for refresh.
Exceptions
Support.Client.exceptions.InternalServerError
Support.Client.exceptions.ThrottlingException