#[non_exhaustive]pub struct PreTokenGenerationVersionConfigType {
pub lambda_version: PreTokenGenerationLambdaVersionType,
pub lambda_arn: String,
}
Expand description
The properties of a pre token generation Lambda trigger.
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.lambda_version: PreTokenGenerationLambdaVersionType
The user pool trigger version of the request that Amazon Cognito sends to your Lambda function. Higher-numbered versions add fields that support new features.
lambda_arn: String
The Amazon Resource Name (ARN) of the function that you want to assign to your Lambda trigger.
This parameter and the PreTokenGeneration
property of LambdaConfig
have the same value. For new instances of pre token generation triggers, set LambdaArn
.
Implementations§
source§impl PreTokenGenerationVersionConfigType
impl PreTokenGenerationVersionConfigType
sourcepub fn lambda_version(&self) -> &PreTokenGenerationLambdaVersionType
pub fn lambda_version(&self) -> &PreTokenGenerationLambdaVersionType
The user pool trigger version of the request that Amazon Cognito sends to your Lambda function. Higher-numbered versions add fields that support new features.
sourcepub fn lambda_arn(&self) -> &str
pub fn lambda_arn(&self) -> &str
The Amazon Resource Name (ARN) of the function that you want to assign to your Lambda trigger.
This parameter and the PreTokenGeneration
property of LambdaConfig
have the same value. For new instances of pre token generation triggers, set LambdaArn
.
source§impl PreTokenGenerationVersionConfigType
impl PreTokenGenerationVersionConfigType
sourcepub fn builder() -> PreTokenGenerationVersionConfigTypeBuilder
pub fn builder() -> PreTokenGenerationVersionConfigTypeBuilder
Creates a new builder-style object to manufacture PreTokenGenerationVersionConfigType
.
Trait Implementations§
source§impl Clone for PreTokenGenerationVersionConfigType
impl Clone for PreTokenGenerationVersionConfigType
source§fn clone(&self) -> PreTokenGenerationVersionConfigType
fn clone(&self) -> PreTokenGenerationVersionConfigType
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for PreTokenGenerationVersionConfigType
impl PartialEq for PreTokenGenerationVersionConfigType
source§fn eq(&self, other: &PreTokenGenerationVersionConfigType) -> bool
fn eq(&self, other: &PreTokenGenerationVersionConfigType) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PreTokenGenerationVersionConfigType
Auto Trait Implementations§
impl Freeze for PreTokenGenerationVersionConfigType
impl RefUnwindSafe for PreTokenGenerationVersionConfigType
impl Send for PreTokenGenerationVersionConfigType
impl Sync for PreTokenGenerationVersionConfigType
impl Unpin for PreTokenGenerationVersionConfigType
impl UnwindSafe for PreTokenGenerationVersionConfigType
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