#[non_exhaustive]pub struct AwsAppSyncGraphQlApiUserPoolConfigDetails {
pub app_id_client_regex: Option<String>,
pub aws_region: Option<String>,
pub default_action: Option<String>,
pub user_pool_id: Option<String>,
}
Expand description
Specifies the authorization configuration for using Amazon Cognito user pools with your AppSync GraphQL API endpoint.
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.app_id_client_regex: Option<String>
A regular expression for validating the incoming Amazon Cognito user pools app client ID. If this value isn't set, no filtering is applied.
aws_region: Option<String>
The Amazon Web Services Region in which the user pool was created.
default_action: Option<String>
The action that you want your GraphQL API to take when a request that uses Amazon Cognito user pools authentication doesn't match the Amazon Cognito user pools configuration.
user_pool_id: Option<String>
The user pool ID.
Implementations§
source§impl AwsAppSyncGraphQlApiUserPoolConfigDetails
impl AwsAppSyncGraphQlApiUserPoolConfigDetails
sourcepub fn app_id_client_regex(&self) -> Option<&str>
pub fn app_id_client_regex(&self) -> Option<&str>
A regular expression for validating the incoming Amazon Cognito user pools app client ID. If this value isn't set, no filtering is applied.
sourcepub fn aws_region(&self) -> Option<&str>
pub fn aws_region(&self) -> Option<&str>
The Amazon Web Services Region in which the user pool was created.
sourcepub fn default_action(&self) -> Option<&str>
pub fn default_action(&self) -> Option<&str>
The action that you want your GraphQL API to take when a request that uses Amazon Cognito user pools authentication doesn't match the Amazon Cognito user pools configuration.
sourcepub fn user_pool_id(&self) -> Option<&str>
pub fn user_pool_id(&self) -> Option<&str>
The user pool ID.
source§impl AwsAppSyncGraphQlApiUserPoolConfigDetails
impl AwsAppSyncGraphQlApiUserPoolConfigDetails
sourcepub fn builder() -> AwsAppSyncGraphQlApiUserPoolConfigDetailsBuilder
pub fn builder() -> AwsAppSyncGraphQlApiUserPoolConfigDetailsBuilder
Creates a new builder-style object to manufacture AwsAppSyncGraphQlApiUserPoolConfigDetails
.
Trait Implementations§
source§impl Clone for AwsAppSyncGraphQlApiUserPoolConfigDetails
impl Clone for AwsAppSyncGraphQlApiUserPoolConfigDetails
source§fn clone(&self) -> AwsAppSyncGraphQlApiUserPoolConfigDetails
fn clone(&self) -> AwsAppSyncGraphQlApiUserPoolConfigDetails
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for AwsAppSyncGraphQlApiUserPoolConfigDetails
impl PartialEq for AwsAppSyncGraphQlApiUserPoolConfigDetails
source§fn eq(&self, other: &AwsAppSyncGraphQlApiUserPoolConfigDetails) -> bool
fn eq(&self, other: &AwsAppSyncGraphQlApiUserPoolConfigDetails) -> bool
self
and other
values to be equal, and is used
by ==
.