Struct aws_sdk_cognitoidentityprovider::types::builders::CustomSmsLambdaVersionConfigTypeBuilder
source · #[non_exhaustive]pub struct CustomSmsLambdaVersionConfigTypeBuilder { /* private fields */ }Expand description
A builder for CustomSmsLambdaVersionConfigType.
Implementations§
source§impl CustomSmsLambdaVersionConfigTypeBuilder
impl CustomSmsLambdaVersionConfigTypeBuilder
sourcepub fn lambda_version(self, input: CustomSmsSenderLambdaVersionType) -> Self
pub fn lambda_version(self, input: CustomSmsSenderLambdaVersionType) -> Self
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 set_lambda_version(
self,
input: Option<CustomSmsSenderLambdaVersionType>
) -> Self
pub fn set_lambda_version( self, input: Option<CustomSmsSenderLambdaVersionType> ) -> Self
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 get_lambda_version(&self) -> &Option<CustomSmsSenderLambdaVersionType>
pub fn get_lambda_version(&self) -> &Option<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, input: impl Into<String>) -> Self
pub fn lambda_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the Lambda function that Amazon Cognito activates to send SMS notifications to users.
This field is required.sourcepub fn set_lambda_arn(self, input: Option<String>) -> Self
pub fn set_lambda_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the Lambda function that Amazon Cognito activates to send SMS notifications to users.
sourcepub fn get_lambda_arn(&self) -> &Option<String>
pub fn get_lambda_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the Lambda function that Amazon Cognito activates to send SMS notifications to users.
sourcepub fn build(self) -> Result<CustomSmsLambdaVersionConfigType, BuildError>
pub fn build(self) -> Result<CustomSmsLambdaVersionConfigType, BuildError>
Consumes the builder and constructs a CustomSmsLambdaVersionConfigType.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for CustomSmsLambdaVersionConfigTypeBuilder
impl Clone for CustomSmsLambdaVersionConfigTypeBuilder
source§fn clone(&self) -> CustomSmsLambdaVersionConfigTypeBuilder
fn clone(&self) -> CustomSmsLambdaVersionConfigTypeBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for CustomSmsLambdaVersionConfigTypeBuilder
impl Default for CustomSmsLambdaVersionConfigTypeBuilder
source§fn default() -> CustomSmsLambdaVersionConfigTypeBuilder
fn default() -> CustomSmsLambdaVersionConfigTypeBuilder
source§impl PartialEq for CustomSmsLambdaVersionConfigTypeBuilder
impl PartialEq for CustomSmsLambdaVersionConfigTypeBuilder
source§fn eq(&self, other: &CustomSmsLambdaVersionConfigTypeBuilder) -> bool
fn eq(&self, other: &CustomSmsLambdaVersionConfigTypeBuilder) -> bool
self and other values to be equal, and is used
by ==.