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 [`GetId`](crate::operation::get_id::builders::GetIdFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`account_id(impl Into<String>)`](crate::operation::get_id::builders::GetIdFluentBuilder::account_id) / [`set_account_id(Option<String>)`](crate::operation::get_id::builders::GetIdFluentBuilder::set_account_id): <p>A standard AWS account ID (9+ digits).</p>
    ///   - [`identity_pool_id(impl Into<String>)`](crate::operation::get_id::builders::GetIdFluentBuilder::identity_pool_id) / [`set_identity_pool_id(Option<String>)`](crate::operation::get_id::builders::GetIdFluentBuilder::set_identity_pool_id): <p>An identity pool ID in the format REGION:GUID.</p>
    ///   - [`logins(impl Into<String>, impl Into<String>)`](crate::operation::get_id::builders::GetIdFluentBuilder::logins) / [`set_logins(Option<HashMap<String, String>>)`](crate::operation::get_id::builders::GetIdFluentBuilder::set_logins): <p>A set of optional name-value pairs that map provider names to provider tokens. The available provider names for <code>Logins</code> are as follows:</p>  <ul>   <li> <p>Facebook: <code>graph.facebook.com</code> </p> </li>   <li> <p>Amazon Cognito user pool: <code>cognito-idp.     <region>      .amazonaws.com/      <your_user_pool_id></your_user_pool_id>     </region></code>, for example, <code>cognito-idp.us-east-1.amazonaws.com/us-east-1_123456789</code>. </p> </li>   <li> <p>Google: <code>accounts.google.com</code> </p> </li>   <li> <p>Amazon: <code>www.amazon.com</code> </p> </li>   <li> <p>Twitter: <code>api.twitter.com</code> </p> </li>   <li> <p>Digits: <code>www.digits.com</code> </p> </li>  </ul>
    /// - On success, responds with [`GetIdOutput`](crate::operation::get_id::GetIdOutput) with field(s):
    ///   - [`identity_id(Option<String>)`](crate::operation::get_id::GetIdOutput::identity_id): <p>A unique identifier in the format REGION:GUID.</p>
    /// - On failure, responds with [`SdkError<GetIdError>`](crate::operation::get_id::GetIdError)
    pub fn get_id(&self) -> crate::operation::get_id::builders::GetIdFluentBuilder {
        crate::operation::get_id::builders::GetIdFluentBuilder::new(self.handle.clone())
    }
}