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