Struct aws_sdk_support::operation::refresh_trusted_advisor_check::builders::RefreshTrustedAdvisorCheckFluentBuilder
source · pub struct RefreshTrustedAdvisorCheckFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to RefreshTrustedAdvisorCheck
.
Refreshes the 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, 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.
Implementations§
source§impl RefreshTrustedAdvisorCheckFluentBuilder
impl RefreshTrustedAdvisorCheckFluentBuilder
sourcepub fn as_input(&self) -> &RefreshTrustedAdvisorCheckInputBuilder
pub fn as_input(&self) -> &RefreshTrustedAdvisorCheckInputBuilder
Access the RefreshTrustedAdvisorCheck as a reference.
sourcepub async fn send(
self
) -> Result<RefreshTrustedAdvisorCheckOutput, SdkError<RefreshTrustedAdvisorCheckError, HttpResponse>>
pub async fn send( self ) -> Result<RefreshTrustedAdvisorCheckOutput, SdkError<RefreshTrustedAdvisorCheckError, HttpResponse>>
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 customize(
self
) -> CustomizableOperation<RefreshTrustedAdvisorCheckOutput, RefreshTrustedAdvisorCheckError, Self>
pub fn customize( self ) -> CustomizableOperation<RefreshTrustedAdvisorCheckOutput, RefreshTrustedAdvisorCheckError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn check_id(self, input: impl Into<String>) -> Self
pub fn check_id(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_check_id(self, input: Option<String>) -> Self
pub fn set_check_id(self, input: Option<String>) -> Self
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.
sourcepub fn get_check_id(&self) -> &Option<String>
pub fn get_check_id(&self) -> &Option<String>
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§
source§impl Clone for RefreshTrustedAdvisorCheckFluentBuilder
impl Clone for RefreshTrustedAdvisorCheckFluentBuilder
source§fn clone(&self) -> RefreshTrustedAdvisorCheckFluentBuilder
fn clone(&self) -> RefreshTrustedAdvisorCheckFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for RefreshTrustedAdvisorCheckFluentBuilder
impl !RefUnwindSafe for RefreshTrustedAdvisorCheckFluentBuilder
impl Send for RefreshTrustedAdvisorCheckFluentBuilder
impl Sync for RefreshTrustedAdvisorCheckFluentBuilder
impl Unpin for RefreshTrustedAdvisorCheckFluentBuilder
impl !UnwindSafe for RefreshTrustedAdvisorCheckFluentBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more