aws_sdk_identitystore/client/get_user_id.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 [`GetUserId`](crate::operation::get_user_id::builders::GetUserIdFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`identity_store_id(impl Into<String>)`](crate::operation::get_user_id::builders::GetUserIdFluentBuilder::identity_store_id) / [`set_identity_store_id(Option<String>)`](crate::operation::get_user_id::builders::GetUserIdFluentBuilder::set_identity_store_id):<br>required: **true**<br><p>The globally unique identifier for the identity store.</p><br>
7 /// - [`alternate_identifier(AlternateIdentifier)`](crate::operation::get_user_id::builders::GetUserIdFluentBuilder::alternate_identifier) / [`set_alternate_identifier(Option<AlternateIdentifier>)`](crate::operation::get_user_id::builders::GetUserIdFluentBuilder::set_alternate_identifier):<br>required: **true**<br><p>A unique identifier for a user or group that is not the primary identifier. This value can be an identifier from an external identity provider (IdP) that is associated with the user, the group, or a unique attribute. For the unique attribute, the only valid paths are <code>userName</code> and <code>emails.value</code>.</p><br>
8 /// - On success, responds with [`GetUserIdOutput`](crate::operation::get_user_id::GetUserIdOutput) with field(s):
9 /// - [`user_id(String)`](crate::operation::get_user_id::GetUserIdOutput::user_id): <p>The identifier for a user in the identity store.</p>
10 /// - [`identity_store_id(String)`](crate::operation::get_user_id::GetUserIdOutput::identity_store_id): <p>The globally unique identifier for the identity store.</p>
11 /// - On failure, responds with [`SdkError<GetUserIdError>`](crate::operation::get_user_id::GetUserIdError)
12 pub fn get_user_id(&self) -> crate::operation::get_user_id::builders::GetUserIdFluentBuilder {
13 crate::operation::get_user_id::builders::GetUserIdFluentBuilder::new(self.handle.clone())
14 }
15}