#[non_exhaustive]pub struct CognitoUserPoolConfigurationItem {
pub user_pool_arn: String,
pub client_ids: Vec<String>,
pub issuer: String,
pub group_configuration: Option<CognitoGroupConfigurationItem>,
}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 the ConfigurationItem structure that is part of the response to ListIdentitySources.
Example:"CognitoUserPoolConfiguration":{"UserPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","ClientIds": ["a1b2c3d4e5f6g7h8i9j0kalbmc"]}
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<CognitoGroupConfigurationItem>The configuration of the user groups from an Amazon Cognito user pool identity source.
Implementations§
source§impl CognitoUserPoolConfigurationItem
impl CognitoUserPoolConfigurationItem
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<&CognitoGroupConfigurationItem>
pub fn group_configuration(&self) -> Option<&CognitoGroupConfigurationItem>
The configuration of the user groups from an Amazon Cognito user pool identity source.
source§impl CognitoUserPoolConfigurationItem
impl CognitoUserPoolConfigurationItem
sourcepub fn builder() -> CognitoUserPoolConfigurationItemBuilder
pub fn builder() -> CognitoUserPoolConfigurationItemBuilder
Creates a new builder-style object to manufacture CognitoUserPoolConfigurationItem.
Trait Implementations§
source§impl Clone for CognitoUserPoolConfigurationItem
impl Clone for CognitoUserPoolConfigurationItem
source§fn clone(&self) -> CognitoUserPoolConfigurationItem
fn clone(&self) -> CognitoUserPoolConfigurationItem
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for CognitoUserPoolConfigurationItem
impl PartialEq for CognitoUserPoolConfigurationItem
source§fn eq(&self, other: &CognitoUserPoolConfigurationItem) -> bool
fn eq(&self, other: &CognitoUserPoolConfigurationItem) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CognitoUserPoolConfigurationItem
Auto Trait Implementations§
impl Freeze for CognitoUserPoolConfigurationItem
impl RefUnwindSafe for CognitoUserPoolConfigurationItem
impl Send for CognitoUserPoolConfigurationItem
impl Sync for CognitoUserPoolConfigurationItem
impl Unpin for CognitoUserPoolConfigurationItem
impl UnwindSafe for CognitoUserPoolConfigurationItem
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