#[non_exhaustive]pub struct CustomEmailLambdaVersionConfigType {
pub lambda_version: CustomEmailSenderLambdaVersionType,
pub lambda_arn: String,
}
Expand description
The properties of a custom email sender 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: CustomEmailSenderLambdaVersionType
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.
You must use a LambdaVersion
of V1_0
with a custom sender function.
lambda_arn: String
The Amazon Resource Name (ARN) of the function that you want to assign to your Lambda trigger.
Implementations§
source§impl CustomEmailLambdaVersionConfigType
impl CustomEmailLambdaVersionConfigType
sourcepub fn lambda_version(&self) -> &CustomEmailSenderLambdaVersionType
pub fn lambda_version(&self) -> &CustomEmailSenderLambdaVersionType
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.
You must use a LambdaVersion
of V1_0
with a custom sender function.
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.
source§impl CustomEmailLambdaVersionConfigType
impl CustomEmailLambdaVersionConfigType
sourcepub fn builder() -> CustomEmailLambdaVersionConfigTypeBuilder
pub fn builder() -> CustomEmailLambdaVersionConfigTypeBuilder
Creates a new builder-style object to manufacture CustomEmailLambdaVersionConfigType
.
Trait Implementations§
source§impl Clone for CustomEmailLambdaVersionConfigType
impl Clone for CustomEmailLambdaVersionConfigType
source§fn clone(&self) -> CustomEmailLambdaVersionConfigType
fn clone(&self) -> CustomEmailLambdaVersionConfigType
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for CustomEmailLambdaVersionConfigType
impl PartialEq for CustomEmailLambdaVersionConfigType
source§fn eq(&self, other: &CustomEmailLambdaVersionConfigType) -> bool
fn eq(&self, other: &CustomEmailLambdaVersionConfigType) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CustomEmailLambdaVersionConfigType
Auto Trait Implementations§
impl Freeze for CustomEmailLambdaVersionConfigType
impl RefUnwindSafe for CustomEmailLambdaVersionConfigType
impl Send for CustomEmailLambdaVersionConfigType
impl Sync for CustomEmailLambdaVersionConfigType
impl Unpin for CustomEmailLambdaVersionConfigType
impl UnwindSafe for CustomEmailLambdaVersionConfigType
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