aws_sdk_datazone/client/get_user_profile.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 [`GetUserProfile`](crate::operation::get_user_profile::builders::GetUserProfileFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`domain_identifier(impl Into<String>)`](crate::operation::get_user_profile::builders::GetUserProfileFluentBuilder::domain_identifier) / [`set_domain_identifier(Option<String>)`](crate::operation::get_user_profile::builders::GetUserProfileFluentBuilder::set_domain_identifier):<br>required: **true**<br><p>the ID of the Amazon DataZone domain the data portal of which you want to get.</p><br>
7 /// - [`user_identifier(impl Into<String>)`](crate::operation::get_user_profile::builders::GetUserProfileFluentBuilder::user_identifier) / [`set_user_identifier(Option<String>)`](crate::operation::get_user_profile::builders::GetUserProfileFluentBuilder::set_user_identifier):<br>required: **true**<br><p>The identifier of the user for which you want to get the user profile.</p><br>
8 /// - [`r#type(UserProfileType)`](crate::operation::get_user_profile::builders::GetUserProfileFluentBuilder::type) / [`set_type(Option<UserProfileType>)`](crate::operation::get_user_profile::builders::GetUserProfileFluentBuilder::set_type):<br>required: **false**<br><p>The type of the user profile.</p><br>
9 /// - On success, responds with [`GetUserProfileOutput`](crate::operation::get_user_profile::GetUserProfileOutput) with field(s):
10 /// - [`domain_id(Option<String>)`](crate::operation::get_user_profile::GetUserProfileOutput::domain_id): <p>the identifier of the Amazon DataZone domain of which you want to get the user profile.</p>
11 /// - [`id(Option<String>)`](crate::operation::get_user_profile::GetUserProfileOutput::id): <p>The identifier of the user profile.</p>
12 /// - [`r#type(Option<UserProfileType>)`](crate::operation::get_user_profile::GetUserProfileOutput::type): <p>The type of the user profile.</p>
13 /// - [`status(Option<UserProfileStatus>)`](crate::operation::get_user_profile::GetUserProfileOutput::status): <p>The status of the user profile.</p>
14 /// - [`details(Option<UserProfileDetails>)`](crate::operation::get_user_profile::GetUserProfileOutput::details): <p>The details of the user profile in Amazon DataZone.</p>
15 /// - On failure, responds with [`SdkError<GetUserProfileError>`](crate::operation::get_user_profile::GetUserProfileError)
16 pub fn get_user_profile(&self) -> crate::operation::get_user_profile::builders::GetUserProfileFluentBuilder {
17 crate::operation::get_user_profile::builders::GetUserProfileFluentBuilder::new(self.handle.clone())
18 }
19}