1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetAccountAuthorizationDetails`](crate::operation::get_account_authorization_details::builders::GetAccountAuthorizationDetailsFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::get_account_authorization_details::builders::GetAccountAuthorizationDetailsFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`filter(EntityType)`](crate::operation::get_account_authorization_details::builders::GetAccountAuthorizationDetailsFluentBuilder::filter) / [`set_filter(Option<Vec::<EntityType>>)`](crate::operation::get_account_authorization_details::builders::GetAccountAuthorizationDetailsFluentBuilder::set_filter):<br>required: **false**<br><p>A list of entity types used to filter the results. Only the entities that match the types you specify are included in the output. Use the value <code>LocalManagedPolicy</code> to include customer managed policies.</p>  <p>The format for this parameter is a comma-separated (if more than one) list of strings. Each string value in the list must be one of the valid values listed below.</p><br>
    ///   - [`max_items(i32)`](crate::operation::get_account_authorization_details::builders::GetAccountAuthorizationDetailsFluentBuilder::max_items) / [`set_max_items(Option<i32>)`](crate::operation::get_account_authorization_details::builders::GetAccountAuthorizationDetailsFluentBuilder::set_max_items):<br>required: **false**<br><p>Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the <code>IsTruncated</code> response element is <code>true</code>.</p>  <p>If you do not include this parameter, the number of items defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the <code>IsTruncated</code> response element returns <code>true</code>, and <code>Marker</code> contains a value to include in the subsequent call that tells the service where to continue from.</p><br>
    ///   - [`marker(impl Into<String>)`](crate::operation::get_account_authorization_details::builders::GetAccountAuthorizationDetailsFluentBuilder::marker) / [`set_marker(Option<String>)`](crate::operation::get_account_authorization_details::builders::GetAccountAuthorizationDetailsFluentBuilder::set_marker):<br>required: **false**<br><p>Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the <code>Marker</code> element in the response that you received to indicate where the next call should start.</p><br>
    /// - On success, responds with [`GetAccountAuthorizationDetailsOutput`](crate::operation::get_account_authorization_details::GetAccountAuthorizationDetailsOutput) with field(s):
    ///   - [`user_detail_list(Option<Vec::<UserDetail>>)`](crate::operation::get_account_authorization_details::GetAccountAuthorizationDetailsOutput::user_detail_list): <p>A list containing information about IAM users.</p>
    ///   - [`group_detail_list(Option<Vec::<GroupDetail>>)`](crate::operation::get_account_authorization_details::GetAccountAuthorizationDetailsOutput::group_detail_list): <p>A list containing information about IAM groups.</p>
    ///   - [`role_detail_list(Option<Vec::<RoleDetail>>)`](crate::operation::get_account_authorization_details::GetAccountAuthorizationDetailsOutput::role_detail_list): <p>A list containing information about IAM roles.</p>
    ///   - [`policies(Option<Vec::<ManagedPolicyDetail>>)`](crate::operation::get_account_authorization_details::GetAccountAuthorizationDetailsOutput::policies): <p>A list containing information about managed policies.</p>
    ///   - [`is_truncated(bool)`](crate::operation::get_account_authorization_details::GetAccountAuthorizationDetailsOutput::is_truncated): <p>A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the <code>Marker</code> request parameter to retrieve more items. Note that IAM might return fewer than the <code>MaxItems</code> number of results even when there are more results available. We recommend that you check <code>IsTruncated</code> after every call to ensure that you receive all your results.</p>
    ///   - [`marker(Option<String>)`](crate::operation::get_account_authorization_details::GetAccountAuthorizationDetailsOutput::marker): <p>When <code>IsTruncated</code> is <code>true</code>, this element is present and contains the value to use for the <code>Marker</code> parameter in a subsequent pagination request.</p>
    /// - On failure, responds with [`SdkError<GetAccountAuthorizationDetailsError>`](crate::operation::get_account_authorization_details::GetAccountAuthorizationDetailsError)
    pub fn get_account_authorization_details(
        &self,
    ) -> crate::operation::get_account_authorization_details::builders::GetAccountAuthorizationDetailsFluentBuilder {
        crate::operation::get_account_authorization_details::builders::GetAccountAuthorizationDetailsFluentBuilder::new(self.handle.clone())
    }
}