aws_sdk_datazone/client/create_user_profile.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`CreateUserProfile`](crate::operation::create_user_profile::builders::CreateUserProfileFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`domain_identifier(impl Into<String>)`](crate::operation::create_user_profile::builders::CreateUserProfileFluentBuilder::domain_identifier) / [`set_domain_identifier(Option<String>)`](crate::operation::create_user_profile::builders::CreateUserProfileFluentBuilder::set_domain_identifier):<br>required: **true**<br><p>The identifier of the Amazon DataZone domain in which a user profile is created.</p><br>
/// - [`user_identifier(impl Into<String>)`](crate::operation::create_user_profile::builders::CreateUserProfileFluentBuilder::user_identifier) / [`set_user_identifier(Option<String>)`](crate::operation::create_user_profile::builders::CreateUserProfileFluentBuilder::set_user_identifier):<br>required: **true**<br><p>The identifier of the user for which the user profile is created.</p><br>
/// - [`user_type(UserType)`](crate::operation::create_user_profile::builders::CreateUserProfileFluentBuilder::user_type) / [`set_user_type(Option<UserType>)`](crate::operation::create_user_profile::builders::CreateUserProfileFluentBuilder::set_user_type):<br>required: **false**<br><p>The user type of the user for which the user profile is created.</p><br>
/// - [`client_token(impl Into<String>)`](crate::operation::create_user_profile::builders::CreateUserProfileFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::create_user_profile::builders::CreateUserProfileFluentBuilder::set_client_token):<br>required: **false**<br><p>A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.</p><br>
/// - On success, responds with [`CreateUserProfileOutput`](crate::operation::create_user_profile::CreateUserProfileOutput) with field(s):
/// - [`domain_id(Option<String>)`](crate::operation::create_user_profile::CreateUserProfileOutput::domain_id): <p>The identifier of the Amazon DataZone domain in which a user profile is created.</p>
/// - [`id(Option<String>)`](crate::operation::create_user_profile::CreateUserProfileOutput::id): <p>The identifier of the user profile.</p>
/// - [`r#type(Option<UserProfileType>)`](crate::operation::create_user_profile::CreateUserProfileOutput::type): <p>The type of the user profile.</p>
/// - [`status(Option<UserProfileStatus>)`](crate::operation::create_user_profile::CreateUserProfileOutput::status): <p>The status of the user profile.</p>
/// - [`details(Option<UserProfileDetails>)`](crate::operation::create_user_profile::CreateUserProfileOutput::details): <p>The details of the user profile in Amazon DataZone.</p>
/// - On failure, responds with [`SdkError<CreateUserProfileError>`](crate::operation::create_user_profile::CreateUserProfileError)
pub fn create_user_profile(&self) -> crate::operation::create_user_profile::builders::CreateUserProfileFluentBuilder {
crate::operation::create_user_profile::builders::CreateUserProfileFluentBuilder::new(self.handle.clone())
}
}