1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`RefreshTrustedAdvisorCheck`](crate::operation::refresh_trusted_advisor_check::builders::RefreshTrustedAdvisorCheckFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    /// - On success, responds with [`RefreshTrustedAdvisorCheckOutput`](crate::operation::refresh_trusted_advisor_check::RefreshTrustedAdvisorCheckOutput) with field(s):
    ///   - [`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>
    /// - On failure, responds with [`SdkError<RefreshTrustedAdvisorCheckError>`](crate::operation::refresh_trusted_advisor_check::RefreshTrustedAdvisorCheckError)
    pub fn refresh_trusted_advisor_check(
        &self,
    ) -> crate::operation::refresh_trusted_advisor_check::builders::RefreshTrustedAdvisorCheckFluentBuilder {
        crate::operation::refresh_trusted_advisor_check::builders::RefreshTrustedAdvisorCheckFluentBuilder::new(self.handle.clone())
    }
}