#[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 ==
.impl StructuralPartialEq for AwsAppSyncGraphQlApiUserPoolConfigDetails
Auto Trait Implementations§
impl Freeze for AwsAppSyncGraphQlApiUserPoolConfigDetails
impl RefUnwindSafe for AwsAppSyncGraphQlApiUserPoolConfigDetails
impl Send for AwsAppSyncGraphQlApiUserPoolConfigDetails
impl Sync for AwsAppSyncGraphQlApiUserPoolConfigDetails
impl Unpin for AwsAppSyncGraphQlApiUserPoolConfigDetails
impl UnwindSafe for AwsAppSyncGraphQlApiUserPoolConfigDetails
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