#[non_exhaustive]pub struct CustomSmsLambdaVersionConfigType {
pub lambda_version: CustomSmsSenderLambdaVersionType,
pub lambda_arn: String,
}Expand description
A custom SMS sender Lambda configuration type.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.lambda_version: CustomSmsSenderLambdaVersionTypeSignature of the "request" attribute in the "event" information that Amazon Cognito passes to your custom SMS Lambda function. The only supported value is V1_0.
lambda_arn: StringThe Amazon Resource Name (ARN) of the Lambda function that Amazon Cognito activates to send SMS notifications to users.
Implementations§
source§impl CustomSmsLambdaVersionConfigType
impl CustomSmsLambdaVersionConfigType
sourcepub fn lambda_version(&self) -> &CustomSmsSenderLambdaVersionType
pub fn lambda_version(&self) -> &CustomSmsSenderLambdaVersionType
Signature of the "request" attribute in the "event" information that Amazon Cognito passes to your custom SMS Lambda function. The only supported value is V1_0.
sourcepub fn lambda_arn(&self) -> &str
pub fn lambda_arn(&self) -> &str
The Amazon Resource Name (ARN) of the Lambda function that Amazon Cognito activates to send SMS notifications to users.
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
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 PartialEq for CustomSmsLambdaVersionConfigType
impl PartialEq for CustomSmsLambdaVersionConfigType
source§fn eq(&self, other: &CustomSmsLambdaVersionConfigType) -> bool
fn eq(&self, other: &CustomSmsLambdaVersionConfigType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CustomSmsLambdaVersionConfigType
Auto Trait Implementations§
impl RefUnwindSafe for CustomSmsLambdaVersionConfigType
impl Send for CustomSmsLambdaVersionConfigType
impl Sync for CustomSmsLambdaVersionConfigType
impl Unpin for CustomSmsLambdaVersionConfigType
impl UnwindSafe for CustomSmsLambdaVersionConfigType
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
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>
Creates a shared type from an unshared type.