#[non_exhaustive]pub struct CognitoUserPoolConfiguration {
pub user_pool_arn: Option<String>,
pub client_ids: Option<Vec<String>>,
}
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 Configuration structure that is used as a parameter to the Configuration.
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: Option<String>
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"
client_ids: Option<Vec<String>>
The unique application client IDs that are associated with the specified Amazon Cognito user pool.
Example: "ClientIds": ["&ExampleCogClientId;"]
Implementations§
source§impl CognitoUserPoolConfiguration
impl CognitoUserPoolConfiguration
sourcepub fn user_pool_arn(&self) -> Option<&str>
pub fn user_pool_arn(&self) -> Option<&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) -> Option<&[String]>
pub fn client_ids(&self) -> Option<&[String]>
The unique application client IDs that are associated with the specified Amazon Cognito user pool.
Example: "ClientIds": ["&ExampleCogClientId;"]
source§impl CognitoUserPoolConfiguration
impl CognitoUserPoolConfiguration
sourcepub fn builder() -> CognitoUserPoolConfigurationBuilder
pub fn builder() -> CognitoUserPoolConfigurationBuilder
Creates a new builder-style object to manufacture CognitoUserPoolConfiguration
.
Trait Implementations§
source§impl Clone for CognitoUserPoolConfiguration
impl Clone for CognitoUserPoolConfiguration
source§fn clone(&self) -> CognitoUserPoolConfiguration
fn clone(&self) -> CognitoUserPoolConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CognitoUserPoolConfiguration
impl Debug for CognitoUserPoolConfiguration
source§impl PartialEq for CognitoUserPoolConfiguration
impl PartialEq for CognitoUserPoolConfiguration
source§fn eq(&self, other: &CognitoUserPoolConfiguration) -> bool
fn eq(&self, other: &CognitoUserPoolConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.