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 ==
.impl StructuralPartialEq for CustomEmailLambdaVersionConfigTypeBuilder
Auto Trait Implementations§
impl Freeze for CustomEmailLambdaVersionConfigTypeBuilder
impl RefUnwindSafe for CustomEmailLambdaVersionConfigTypeBuilder
impl Send for CustomEmailLambdaVersionConfigTypeBuilder
impl Sync for CustomEmailLambdaVersionConfigTypeBuilder
impl Unpin for CustomEmailLambdaVersionConfigTypeBuilder
impl UnwindSafe for CustomEmailLambdaVersionConfigTypeBuilder
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