aws_sdk_datazone/client/
get_user_profile.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetUserProfile`](crate::operation::get_user_profile::builders::GetUserProfileFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    /// - On success, responds with [`GetUserProfileOutput`](crate::operation::get_user_profile::GetUserProfileOutput) with field(s):
    ///   - [`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>
    ///   - [`id(Option<String>)`](crate::operation::get_user_profile::GetUserProfileOutput::id): <p>The identifier of the user profile.</p>
    ///   - [`r#type(Option<UserProfileType>)`](crate::operation::get_user_profile::GetUserProfileOutput::type): <p>The type of the user profile.</p>
    ///   - [`status(Option<UserProfileStatus>)`](crate::operation::get_user_profile::GetUserProfileOutput::status): <p>The status of the user profile.</p>
    ///   - [`details(Option<UserProfileDetails>)`](crate::operation::get_user_profile::GetUserProfileOutput::details): <p>The details of the user profile in Amazon DataZone.</p>
    /// - On failure, responds with [`SdkError<GetUserProfileError>`](crate::operation::get_user_profile::GetUserProfileError)
    pub fn get_user_profile(&self) -> crate::operation::get_user_profile::builders::GetUserProfileFluentBuilder {
        crate::operation::get_user_profile::builders::GetUserProfileFluentBuilder::new(self.handle.clone())
    }
}