#[non_exhaustive]pub struct CognitoUserPoolConfigurationDetail {
pub user_pool_arn: String,
pub client_ids: Vec<String>,
pub issuer: String,
pub group_configuration: Option<CognitoGroupConfigurationDetail>,
}Expand description
The configuration for an identity source that represents a connection to an Amazon Cognito user pool used as an identity provider for Verified Permissions.
This data type is used as a field that is part of an ConfigurationDetail structure that is part of the response to GetIdentitySource.
Example:"CognitoUserPoolConfiguration":{"UserPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","ClientIds": ["a1b2c3d4e5f6g7h8i9j0kalbmc"],"groupConfiguration": {"groupEntityType": "MyCorp::Group"}}
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.user_pool_arn: StringThe Amazon Resource Name (ARN) of the Amazon Cognito user pool that contains the identities to be authorized.
Example: "userPoolArn": "arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5"
client_ids: Vec<String>The unique application client IDs that are associated with the specified Amazon Cognito user pool.
Example: "clientIds": ["&ExampleCogClientId;"]
issuer: StringThe OpenID Connect (OIDC) issuer ID of the Amazon Cognito user pool that contains the identities to be authorized.
Example: "issuer": "https://cognito-idp.us-east-1.amazonaws.com/us-east-1_1a2b3c4d5"
group_configuration: Option<CognitoGroupConfigurationDetail>The type of entity that a policy store maps to groups from an Amazon Cognito user pool identity source.
Implementations§
source§impl CognitoUserPoolConfigurationDetail
impl CognitoUserPoolConfigurationDetail
sourcepub fn user_pool_arn(&self) -> &str
pub fn user_pool_arn(&self) -> &str
The Amazon Resource Name (ARN) of the Amazon Cognito user pool that contains the identities to be authorized.
Example: "userPoolArn": "arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5"
sourcepub fn client_ids(&self) -> &[String]
pub fn client_ids(&self) -> &[String]
The unique application client IDs that are associated with the specified Amazon Cognito user pool.
Example: "clientIds": ["&ExampleCogClientId;"]
sourcepub fn issuer(&self) -> &str
pub fn issuer(&self) -> &str
The OpenID Connect (OIDC) issuer ID of the Amazon Cognito user pool that contains the identities to be authorized.
Example: "issuer": "https://cognito-idp.us-east-1.amazonaws.com/us-east-1_1a2b3c4d5"
sourcepub fn group_configuration(&self) -> Option<&CognitoGroupConfigurationDetail>
pub fn group_configuration(&self) -> Option<&CognitoGroupConfigurationDetail>
The type of entity that a policy store maps to groups from an Amazon Cognito user pool identity source.
source§impl CognitoUserPoolConfigurationDetail
impl CognitoUserPoolConfigurationDetail
sourcepub fn builder() -> CognitoUserPoolConfigurationDetailBuilder
pub fn builder() -> CognitoUserPoolConfigurationDetailBuilder
Creates a new builder-style object to manufacture CognitoUserPoolConfigurationDetail.
Trait Implementations§
source§impl Clone for CognitoUserPoolConfigurationDetail
impl Clone for CognitoUserPoolConfigurationDetail
source§fn clone(&self) -> CognitoUserPoolConfigurationDetail
fn clone(&self) -> CognitoUserPoolConfigurationDetail
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for CognitoUserPoolConfigurationDetail
impl PartialEq for CognitoUserPoolConfigurationDetail
source§fn eq(&self, other: &CognitoUserPoolConfigurationDetail) -> bool
fn eq(&self, other: &CognitoUserPoolConfigurationDetail) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CognitoUserPoolConfigurationDetail
Auto Trait Implementations§
impl Freeze for CognitoUserPoolConfigurationDetail
impl RefUnwindSafe for CognitoUserPoolConfigurationDetail
impl Send for CognitoUserPoolConfigurationDetail
impl Sync for CognitoUserPoolConfigurationDetail
impl Unpin for CognitoUserPoolConfigurationDetail
impl UnwindSafe for CognitoUserPoolConfigurationDetail
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