Struct aws_sdk_support::client::fluent_builders::RefreshTrustedAdvisorCheck [−][src]
pub struct RefreshTrustedAdvisorCheck<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to RefreshTrustedAdvisorCheck
.
Refreshes the AWS Trusted Advisor check that you specify using the check ID. You can get the check IDs by calling the DescribeTrustedAdvisorChecks operation.
Some checks are refreshed automatically. If you call the
RefreshTrustedAdvisorCheck
operation to refresh them, you might see
the InvalidParameterValue
error.
The response contains a TrustedAdvisorCheckRefreshStatus object.
-
You must have a Business or Enterprise Support plan to use the AWS Support API.
-
If you call the AWS Support API from an account that does not have a Business or Enterprise Support plan, the
SubscriptionRequiredException
error message appears. For information about changing your support plan, see AWS Support.
Implementations
impl<C, M, R> RefreshTrustedAdvisorCheck<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> RefreshTrustedAdvisorCheck<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<RefreshTrustedAdvisorCheckOutput, SdkError<RefreshTrustedAdvisorCheckError>> where
R::Policy: SmithyRetryPolicy<RefreshTrustedAdvisorCheckInputOperationOutputAlias, RefreshTrustedAdvisorCheckOutput, RefreshTrustedAdvisorCheckError, RefreshTrustedAdvisorCheckInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<RefreshTrustedAdvisorCheckOutput, SdkError<RefreshTrustedAdvisorCheckError>> where
R::Policy: SmithyRetryPolicy<RefreshTrustedAdvisorCheckInputOperationOutputAlias, RefreshTrustedAdvisorCheckOutput, RefreshTrustedAdvisorCheckError, RefreshTrustedAdvisorCheckInputOperationRetryAlias>,
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 unique identifier for the Trusted Advisor check to refresh.
Specifying the check ID of a check that is automatically refreshed
causes an InvalidParameterValue
error.
The unique identifier for the Trusted Advisor check to refresh.
Specifying the check ID of a check that is automatically refreshed
causes an InvalidParameterValue
error.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for RefreshTrustedAdvisorCheck<C, M, R>
impl<C, M, R> Send for RefreshTrustedAdvisorCheck<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for RefreshTrustedAdvisorCheck<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for RefreshTrustedAdvisorCheck<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for RefreshTrustedAdvisorCheck<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