aws_sdk_support/client/refresh_trusted_advisor_check.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`RefreshTrustedAdvisorCheck`](crate::operation::refresh_trusted_advisor_check::builders::RefreshTrustedAdvisorCheckFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`check_id(impl Into<String>)`](crate::operation::refresh_trusted_advisor_check::builders::RefreshTrustedAdvisorCheckFluentBuilder::check_id) / [`set_check_id(Option<String>)`](crate::operation::refresh_trusted_advisor_check::builders::RefreshTrustedAdvisorCheckFluentBuilder::set_check_id):<br>required: **true**<br><p>The unique identifier for the Trusted Advisor check to refresh.</p><note> <p>Specifying the check ID of a check that is automatically refreshed causes an <code>InvalidParameterValue</code> error.</p> </note><br>
7 /// - On success, responds with [`RefreshTrustedAdvisorCheckOutput`](crate::operation::refresh_trusted_advisor_check::RefreshTrustedAdvisorCheckOutput) with field(s):
8 /// - [`status(Option<TrustedAdvisorCheckRefreshStatus>)`](crate::operation::refresh_trusted_advisor_check::RefreshTrustedAdvisorCheckOutput::status): <p>The current refresh status for a check, including the amount of time until the check is eligible for refresh.</p>
9 /// - On failure, responds with [`SdkError<RefreshTrustedAdvisorCheckError>`](crate::operation::refresh_trusted_advisor_check::RefreshTrustedAdvisorCheckError)
10 pub fn refresh_trusted_advisor_check(
11 &self,
12 ) -> crate::operation::refresh_trusted_advisor_check::builders::RefreshTrustedAdvisorCheckFluentBuilder {
13 crate::operation::refresh_trusted_advisor_check::builders::RefreshTrustedAdvisorCheckFluentBuilder::new(self.handle.clone())
14 }
15}