#[non_exhaustive]pub struct CreateInstanceInput {
pub name: Option<String>,
pub client_token: Option<String>,
pub tags: Option<Vec<Tag>>,
}
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.name: Option<String>
The name of the instance of IAM Identity Center.
client_token: Option<String>
Specifies a unique, case-sensitive ID that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value.
If you don't provide this value, then Amazon Web Services generates a random one for you.
If you retry the operation with the same ClientToken
, but with different parameters, the retry fails with an IdempotentParameterMismatch
error.
Specifies tags to be attached to the instance of IAM Identity Center.
Implementations§
source§impl CreateInstanceInput
impl CreateInstanceInput
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
Specifies a unique, case-sensitive ID that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value.
If you don't provide this value, then Amazon Web Services generates a random one for you.
If you retry the operation with the same ClientToken
, but with different parameters, the retry fails with an IdempotentParameterMismatch
error.
Specifies tags to be attached to the instance of IAM Identity Center.
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()
.
source§impl CreateInstanceInput
impl CreateInstanceInput
sourcepub fn builder() -> CreateInstanceInputBuilder
pub fn builder() -> CreateInstanceInputBuilder
Creates a new builder-style object to manufacture CreateInstanceInput
.
Trait Implementations§
source§impl Clone for CreateInstanceInput
impl Clone for CreateInstanceInput
source§fn clone(&self) -> CreateInstanceInput
fn clone(&self) -> CreateInstanceInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateInstanceInput
impl Debug for CreateInstanceInput
source§impl PartialEq for CreateInstanceInput
impl PartialEq for CreateInstanceInput
source§fn eq(&self, other: &CreateInstanceInput) -> bool
fn eq(&self, other: &CreateInstanceInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateInstanceInput
Auto Trait Implementations§
impl Freeze for CreateInstanceInput
impl RefUnwindSafe for CreateInstanceInput
impl Send for CreateInstanceInput
impl Sync for CreateInstanceInput
impl Unpin for CreateInstanceInput
impl UnwindSafe for CreateInstanceInput
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> 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