#[non_exhaustive]pub struct CustomSmsLambdaVersionConfigType {
pub lambda_version: CustomSmsSenderLambdaVersionType,
pub lambda_arn: String,
}Expand description
The properties of a custom SMS 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: CustomSmsSenderLambdaVersionTypeThe 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: StringThe Amazon Resource Name (ARN) of the function that you want to assign to your Lambda trigger.
Implementations§
source§impl CustomSmsLambdaVersionConfigType
impl CustomSmsLambdaVersionConfigType
sourcepub fn lambda_version(&self) -> &CustomSmsSenderLambdaVersionType
pub fn lambda_version(&self) -> &CustomSmsSenderLambdaVersionType
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 CustomSmsLambdaVersionConfigType
impl CustomSmsLambdaVersionConfigType
sourcepub fn builder() -> CustomSmsLambdaVersionConfigTypeBuilder
pub fn builder() -> CustomSmsLambdaVersionConfigTypeBuilder
Creates a new builder-style object to manufacture CustomSmsLambdaVersionConfigType.
Trait Implementations§
source§impl Clone for CustomSmsLambdaVersionConfigType
impl Clone for CustomSmsLambdaVersionConfigType
source§fn clone(&self) -> CustomSmsLambdaVersionConfigType
fn clone(&self) -> CustomSmsLambdaVersionConfigType
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for CustomSmsLambdaVersionConfigType
impl PartialEq for CustomSmsLambdaVersionConfigType
source§fn eq(&self, other: &CustomSmsLambdaVersionConfigType) -> bool
fn eq(&self, other: &CustomSmsLambdaVersionConfigType) -> bool
self and other values to be equal, and is used
by ==.