// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetIdentityPoolRoles`](crate::operation::get_identity_pool_roles::builders::GetIdentityPoolRolesFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`identity_pool_id(impl Into<String>)`](crate::operation::get_identity_pool_roles::builders::GetIdentityPoolRolesFluentBuilder::identity_pool_id) / [`set_identity_pool_id(Option<String>)`](crate::operation::get_identity_pool_roles::builders::GetIdentityPoolRolesFluentBuilder::set_identity_pool_id):<br>required: **true**<br><p>An identity pool ID in the format REGION:GUID.</p><br>
/// - On success, responds with [`GetIdentityPoolRolesOutput`](crate::operation::get_identity_pool_roles::GetIdentityPoolRolesOutput) with field(s):
/// - [`identity_pool_id(Option<String>)`](crate::operation::get_identity_pool_roles::GetIdentityPoolRolesOutput::identity_pool_id): <p>An identity pool ID in the format REGION:GUID.</p>
/// - [`roles(Option<HashMap::<String, String>>)`](crate::operation::get_identity_pool_roles::GetIdentityPoolRolesOutput::roles): <p>The map of roles associated with this pool. Currently only authenticated and unauthenticated roles are supported.</p>
/// - [`role_mappings(Option<HashMap::<String, RoleMapping>>)`](crate::operation::get_identity_pool_roles::GetIdentityPoolRolesOutput::role_mappings): <p>How users for a specific identity provider are to mapped to roles. This is a String-to-<code>RoleMapping</code> object map. The string identifies the identity provider, for example, "graph.facebook.com" or "cognito-idp.us-east-1.amazonaws.com/us-east-1_abcdefghi:app_client_id".</p>
/// - On failure, responds with [`SdkError<GetIdentityPoolRolesError>`](crate::operation::get_identity_pool_roles::GetIdentityPoolRolesError)
pub fn get_identity_pool_roles(&self) -> crate::operation::get_identity_pool_roles::builders::GetIdentityPoolRolesFluentBuilder {
crate::operation::get_identity_pool_roles::builders::GetIdentityPoolRolesFluentBuilder::new(self.handle.clone())
}
}