aws-sdk-iam 1.109.0

AWS SDK for AWS Identity and Access Management
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetHumanReadableSummary`](crate::operation::get_human_readable_summary::builders::GetHumanReadableSummaryFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`entity_arn(impl Into<String>)`](crate::operation::get_human_readable_summary::builders::GetHumanReadableSummaryFluentBuilder::entity_arn) / [`set_entity_arn(Option<String>)`](crate::operation::get_human_readable_summary::builders::GetHumanReadableSummaryFluentBuilder::set_entity_arn):<br>required: **true**<br><p>Arn of the entity to be summarized. At this time, the only supported entity type is <code>delegation-request</code></p><br>
    ///   - [`locale(impl Into<String>)`](crate::operation::get_human_readable_summary::builders::GetHumanReadableSummaryFluentBuilder::locale) / [`set_locale(Option<String>)`](crate::operation::get_human_readable_summary::builders::GetHumanReadableSummaryFluentBuilder::set_locale):<br>required: **false**<br><p>A string representing the locale to use for the summary generation. The supported locale strings are based on the <a href="/awsconsolehelpdocs/latest/gsg/change-language.html#supported-languages"> Supported languages of the Amazon Web Services Management Console </a>.</p><br>
    /// - On success, responds with [`GetHumanReadableSummaryOutput`](crate::operation::get_human_readable_summary::GetHumanReadableSummaryOutput) with field(s):
    ///   - [`summary_content(Option<String>)`](crate::operation::get_human_readable_summary::GetHumanReadableSummaryOutput::summary_content): <p>Summary content in the specified locale. Summary content is non-empty only if the <code>SummaryState</code> is <code>AVAILABLE</code>.</p>
    ///   - [`locale(Option<String>)`](crate::operation::get_human_readable_summary::GetHumanReadableSummaryOutput::locale): <p>The locale that this response was generated for. This maps to the input locale.</p>
    ///   - [`summary_state(Option<SummaryStateType>)`](crate::operation::get_human_readable_summary::GetHumanReadableSummaryOutput::summary_state): <p>State of summary generation. This generation process is asynchronous and this attribute indicates the state of the generation process.</p>
    /// - On failure, responds with [`SdkError<GetHumanReadableSummaryError>`](crate::operation::get_human_readable_summary::GetHumanReadableSummaryError)
    pub fn get_human_readable_summary(&self) -> crate::operation::get_human_readable_summary::builders::GetHumanReadableSummaryFluentBuilder {
        crate::operation::get_human_readable_summary::builders::GetHumanReadableSummaryFluentBuilder::new(self.handle.clone())
    }
}