aws_sdk_iam/client/
generate_credential_report.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 [`GenerateCredentialReport`](crate::operation::generate_credential_report::builders::GenerateCredentialReportFluentBuilder) operation.
4    ///
5    /// - The fluent builder takes no input, just [`send`](crate::operation::generate_credential_report::builders::GenerateCredentialReportFluentBuilder::send) it.
6    /// - On success, responds with [`GenerateCredentialReportOutput`](crate::operation::generate_credential_report::GenerateCredentialReportOutput) with field(s):
7    ///   - [`state(Option<ReportStateType>)`](crate::operation::generate_credential_report::GenerateCredentialReportOutput::state): <p>Information about the state of the credential report.</p>
8    ///   - [`description(Option<String>)`](crate::operation::generate_credential_report::GenerateCredentialReportOutput::description): <p>Information about the credential report.</p>
9    /// - On failure, responds with [`SdkError<GenerateCredentialReportError>`](crate::operation::generate_credential_report::GenerateCredentialReportError)
10    pub fn generate_credential_report(&self) -> crate::operation::generate_credential_report::builders::GenerateCredentialReportFluentBuilder {
11        crate::operation::generate_credential_report::builders::GenerateCredentialReportFluentBuilder::new(self.handle.clone())
12    }
13}