pub struct DescribeTrustedAdvisorChecks<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* 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 Amazon Web Services Support API currently supports English ("en") and Japanese ("ja"). 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 does not 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.
Implementations
impl<C, M, R> DescribeTrustedAdvisorChecks<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> DescribeTrustedAdvisorChecks<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<DescribeTrustedAdvisorChecksOutput, SdkError<DescribeTrustedAdvisorChecksError>> where
R::Policy: SmithyRetryPolicy<DescribeTrustedAdvisorChecksInputOperationOutputAlias, DescribeTrustedAdvisorChecksOutput, DescribeTrustedAdvisorChecksError, DescribeTrustedAdvisorChecksInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<DescribeTrustedAdvisorChecksOutput, SdkError<DescribeTrustedAdvisorChecksError>> where
R::Policy: SmithyRetryPolicy<DescribeTrustedAdvisorChecksInputOperationOutputAlias, DescribeTrustedAdvisorChecksOutput, DescribeTrustedAdvisorChecksError, DescribeTrustedAdvisorChecksInputOperationRetryAlias>,
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.
The ISO 639-1 code for the language in which Amazon Web Services provides support. Amazon Web Services Support currently supports English ("en") and Japanese ("ja"). Language parameters must be passed explicitly for operations that take them.
The ISO 639-1 code for the language in which Amazon Web Services provides support. Amazon Web Services Support currently supports English ("en") and Japanese ("ja"). Language parameters must be passed explicitly for operations that take them.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for DescribeTrustedAdvisorChecks<C, M, R>
impl<C, M, R> Send for DescribeTrustedAdvisorChecks<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for DescribeTrustedAdvisorChecks<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for DescribeTrustedAdvisorChecks<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for DescribeTrustedAdvisorChecks<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more