pub struct UserPoolConfig {
pub app_id_client_regex: Option<String>,
pub aws_region: String,
pub default_action: String,
pub user_pool_id: String,
}
Expand description
Describes an Amazon Cognito user pool configuration.
Fields§
§app_id_client_regex: Option<String>
A regular expression for validating the incoming Amazon Cognito user pool app client ID.
aws_region: String
The AWS Region in which the user pool was created.
default_action: String
The action that you want your GraphQL API to take when a request that uses Amazon Cognito user pool authentication doesn't match the Amazon Cognito user pool configuration.
user_pool_id: String
The user pool ID.
Trait Implementations§
Source§impl Clone for UserPoolConfig
impl Clone for UserPoolConfig
Source§fn clone(&self) -> UserPoolConfig
fn clone(&self) -> UserPoolConfig
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for UserPoolConfig
impl Debug for UserPoolConfig
Source§impl Default for UserPoolConfig
impl Default for UserPoolConfig
Source§fn default() -> UserPoolConfig
fn default() -> UserPoolConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UserPoolConfig
impl<'de> Deserialize<'de> for UserPoolConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for UserPoolConfig
impl PartialEq for UserPoolConfig
Source§impl Serialize for UserPoolConfig
impl Serialize for UserPoolConfig
impl StructuralPartialEq for UserPoolConfig
Auto Trait Implementations§
impl Freeze for UserPoolConfig
impl RefUnwindSafe for UserPoolConfig
impl Send for UserPoolConfig
impl Sync for UserPoolConfig
impl Unpin for UserPoolConfig
impl UnwindSafe for UserPoolConfig
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
Mutably borrows from an owned value. Read more