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 IdempotentParameterMismatch
error.
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.
At this time, the only valid member of this structure is a Amazon Cognito user pool configuration.
You must specify a UserPoolArn
, and optionally, a ClientId
.
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 IdempotentParameterMismatch
error.
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.
At this time, the only valid member of this structure is a Amazon Cognito user pool configuration.
You must specify a UserPoolArn
, and optionally, a ClientId
.
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
source§impl PartialEq for CreateIdentitySourceInput
impl PartialEq for CreateIdentitySourceInput
source§fn eq(&self, other: &CreateIdentitySourceInput) -> bool
fn eq(&self, other: &CreateIdentitySourceInput) -> bool
self
and other
values to be equal, and is used
by ==
.