pub struct DescribeTrustedAdvisorChecks { /* private fields */ }Expand description
Fluent builder constructing a request to DescribeTrustedAdvisorChecks.
Returns information about all available Trusted Advisor checks, including the name, ID, category, description, and metadata. You must specify a language code.
The response contains a TrustedAdvisorCheckDescription object for each check. You must set the Amazon Web Services Region to us-east-1.
-
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
SubscriptionRequiredExceptionerror message appears. For information about changing your support plan, see Amazon Web Services Support. -
The names and descriptions for Trusted Advisor checks are subject to change. We recommend that you specify the check ID in your code to uniquely identify a check.
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.
Implementations§
source§impl DescribeTrustedAdvisorChecks
impl DescribeTrustedAdvisorChecks
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<DescribeTrustedAdvisorChecks, AwsResponseRetryClassifier>, SdkError<DescribeTrustedAdvisorChecksError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<DescribeTrustedAdvisorChecks, AwsResponseRetryClassifier>, SdkError<DescribeTrustedAdvisorChecksError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<DescribeTrustedAdvisorChecksOutput, SdkError<DescribeTrustedAdvisorChecksError>>
pub async fn send(
self
) -> Result<DescribeTrustedAdvisorChecksOutput, SdkError<DescribeTrustedAdvisorChecksError>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn language(self, input: impl Into<String>) -> Self
pub fn language(self, input: impl Into<String>) -> Self
The ISO 639-1 code for the language that you want your checks to appear in.
The Amazon Web Services Support API currently supports the following languages for Trusted Advisor:
-
Chinese, Simplified -
zh -
Chinese, Traditional -
zh_TW -
English -
en -
French -
fr -
German -
de -
Indonesian -
id -
Italian -
it -
Japanese -
ja -
Korean -
ko -
Portuguese, Brazilian -
pt_BR -
Spanish -
es
sourcepub fn set_language(self, input: Option<String>) -> Self
pub fn set_language(self, input: Option<String>) -> Self
The ISO 639-1 code for the language that you want your checks to appear in.
The Amazon Web Services Support API currently supports the following languages for Trusted Advisor:
-
Chinese, Simplified -
zh -
Chinese, Traditional -
zh_TW -
English -
en -
French -
fr -
German -
de -
Indonesian -
id -
Italian -
it -
Japanese -
ja -
Korean -
ko -
Portuguese, Brazilian -
pt_BR -
Spanish -
es
Trait Implementations§
source§impl Clone for DescribeTrustedAdvisorChecks
impl Clone for DescribeTrustedAdvisorChecks
source§fn clone(&self) -> DescribeTrustedAdvisorChecks
fn clone(&self) -> DescribeTrustedAdvisorChecks
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more