Struct aws_sdk_verifiedpermissions::operation::create_identity_source::CreateIdentitySourceInput
source · #[non_exhaustive]pub struct CreateIdentitySourceInput {
pub client_token: Option<String>,
pub policy_store_id: Option<String>,
pub configuration: Option<Configuration>,
pub principal_entity_type: Option<String>,
}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.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 ConflictException error.
Verified Permissions recognizes a ClientToken for eight hours. After eight hours, the next request with the same parameters performs the operation again regardless of the value of ClientToken.
policy_store_id: Option<String>Specifies the ID of the policy store in which you want to store this identity source. Only policies and requests made using this policy store can reference identities from the identity provider configured in the new identity source.
configuration: Option<Configuration>Specifies the details required to communicate with the identity provider (IdP) associated with this identity source.
principal_entity_type: Option<String>Specifies the namespace and data type of the principals generated for identities authenticated by the new identity source.
Implementations§
source§impl CreateIdentitySourceInput
impl CreateIdentitySourceInput
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 ConflictException error.
Verified Permissions recognizes a ClientToken for eight hours. After eight hours, the next request with the same parameters performs the operation again regardless of the value of ClientToken.
sourcepub fn policy_store_id(&self) -> Option<&str>
pub fn policy_store_id(&self) -> Option<&str>
Specifies the ID of the policy store in which you want to store this identity source. Only policies and requests made using this policy store can reference identities from the identity provider configured in the new identity source.
sourcepub fn configuration(&self) -> Option<&Configuration>
pub fn configuration(&self) -> Option<&Configuration>
Specifies the details required to communicate with the identity provider (IdP) associated with this identity source.
sourcepub fn principal_entity_type(&self) -> Option<&str>
pub fn principal_entity_type(&self) -> Option<&str>
Specifies the namespace and data type of the principals generated for identities authenticated by the new identity source.
source§impl CreateIdentitySourceInput
impl CreateIdentitySourceInput
sourcepub fn builder() -> CreateIdentitySourceInputBuilder
pub fn builder() -> CreateIdentitySourceInputBuilder
Creates a new builder-style object to manufacture CreateIdentitySourceInput.
Trait Implementations§
source§impl Clone for CreateIdentitySourceInput
impl Clone for CreateIdentitySourceInput
source§fn clone(&self) -> CreateIdentitySourceInput
fn clone(&self) -> CreateIdentitySourceInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateIdentitySourceInput
impl Debug for CreateIdentitySourceInput
impl StructuralPartialEq for CreateIdentitySourceInput
Auto Trait Implementations§
impl Freeze for CreateIdentitySourceInput
impl RefUnwindSafe for CreateIdentitySourceInput
impl Send for CreateIdentitySourceInput
impl Sync for CreateIdentitySourceInput
impl Unpin for CreateIdentitySourceInput
impl UnwindSafe for CreateIdentitySourceInput
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
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