#[non_exhaustive]pub struct CreateUserProfileInput {
pub domain_id: Option<String>,
pub user_profile_name: Option<String>,
pub single_sign_on_user_identifier: Option<String>,
pub single_sign_on_user_value: Option<String>,
pub tags: Option<Vec<Tag>>,
pub user_settings: Option<UserSettings>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.domain_id: Option<String>
The ID of the associated Domain.
user_profile_name: Option<String>
A name for the UserProfile. This value is not case sensitive.
single_sign_on_user_identifier: Option<String>
A specifier for the type of value specified in SingleSignOnUserValue. Currently, the only supported value is "UserName". If the Domain's AuthMode is IAM Identity Center, this field is required. If the Domain's AuthMode is not IAM Identity Center, this field cannot be specified.
single_sign_on_user_value: Option<String>
The username of the associated Amazon Web Services Single Sign-On User for this UserProfile. If the Domain's AuthMode is IAM Identity Center, this field is required, and must match a valid username of a user in your directory. If the Domain's AuthMode is not IAM Identity Center, this field cannot be specified.
Each tag consists of a key and an optional value. Tag keys must be unique per resource.
Tags that you specify for the User Profile are also added to all Apps that the User Profile launches.
user_settings: Option<UserSettings>
A collection of settings.
Implementations§
source§impl CreateUserProfileInput
impl CreateUserProfileInput
sourcepub fn user_profile_name(&self) -> Option<&str>
pub fn user_profile_name(&self) -> Option<&str>
A name for the UserProfile. This value is not case sensitive.
sourcepub fn single_sign_on_user_identifier(&self) -> Option<&str>
pub fn single_sign_on_user_identifier(&self) -> Option<&str>
A specifier for the type of value specified in SingleSignOnUserValue. Currently, the only supported value is "UserName". If the Domain's AuthMode is IAM Identity Center, this field is required. If the Domain's AuthMode is not IAM Identity Center, this field cannot be specified.
sourcepub fn single_sign_on_user_value(&self) -> Option<&str>
pub fn single_sign_on_user_value(&self) -> Option<&str>
The username of the associated Amazon Web Services Single Sign-On User for this UserProfile. If the Domain's AuthMode is IAM Identity Center, this field is required, and must match a valid username of a user in your directory. If the Domain's AuthMode is not IAM Identity Center, this field cannot be specified.
Each tag consists of a key and an optional value. Tag keys must be unique per resource.
Tags that you specify for the User Profile are also added to all Apps that the User Profile launches.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
sourcepub fn user_settings(&self) -> Option<&UserSettings>
pub fn user_settings(&self) -> Option<&UserSettings>
A collection of settings.
source§impl CreateUserProfileInput
impl CreateUserProfileInput
sourcepub fn builder() -> CreateUserProfileInputBuilder
pub fn builder() -> CreateUserProfileInputBuilder
Creates a new builder-style object to manufacture CreateUserProfileInput
.
Trait Implementations§
source§impl Clone for CreateUserProfileInput
impl Clone for CreateUserProfileInput
source§fn clone(&self) -> CreateUserProfileInput
fn clone(&self) -> CreateUserProfileInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateUserProfileInput
impl Debug for CreateUserProfileInput
source§impl PartialEq for CreateUserProfileInput
impl PartialEq for CreateUserProfileInput
impl StructuralPartialEq for CreateUserProfileInput
Auto Trait Implementations§
impl Freeze for CreateUserProfileInput
impl RefUnwindSafe for CreateUserProfileInput
impl Send for CreateUserProfileInput
impl Sync for CreateUserProfileInput
impl Unpin for CreateUserProfileInput
impl UnwindSafe for CreateUserProfileInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more