#[non_exhaustive]pub struct LambdaConfigTypeBuilder { /* private fields */ }
Expand description
A builder for LambdaConfigType
.
Implementations§
source§impl LambdaConfigTypeBuilder
impl LambdaConfigTypeBuilder
sourcepub fn pre_sign_up(self, input: impl Into<String>) -> Self
pub fn pre_sign_up(self, input: impl Into<String>) -> Self
A pre-registration Lambda trigger.
sourcepub fn set_pre_sign_up(self, input: Option<String>) -> Self
pub fn set_pre_sign_up(self, input: Option<String>) -> Self
A pre-registration Lambda trigger.
sourcepub fn get_pre_sign_up(&self) -> &Option<String>
pub fn get_pre_sign_up(&self) -> &Option<String>
A pre-registration Lambda trigger.
sourcepub fn custom_message(self, input: impl Into<String>) -> Self
pub fn custom_message(self, input: impl Into<String>) -> Self
A custom Message Lambda trigger.
sourcepub fn set_custom_message(self, input: Option<String>) -> Self
pub fn set_custom_message(self, input: Option<String>) -> Self
A custom Message Lambda trigger.
sourcepub fn get_custom_message(&self) -> &Option<String>
pub fn get_custom_message(&self) -> &Option<String>
A custom Message Lambda trigger.
sourcepub fn post_confirmation(self, input: impl Into<String>) -> Self
pub fn post_confirmation(self, input: impl Into<String>) -> Self
A post-confirmation Lambda trigger.
sourcepub fn set_post_confirmation(self, input: Option<String>) -> Self
pub fn set_post_confirmation(self, input: Option<String>) -> Self
A post-confirmation Lambda trigger.
sourcepub fn get_post_confirmation(&self) -> &Option<String>
pub fn get_post_confirmation(&self) -> &Option<String>
A post-confirmation Lambda trigger.
sourcepub fn pre_authentication(self, input: impl Into<String>) -> Self
pub fn pre_authentication(self, input: impl Into<String>) -> Self
A pre-authentication Lambda trigger.
sourcepub fn set_pre_authentication(self, input: Option<String>) -> Self
pub fn set_pre_authentication(self, input: Option<String>) -> Self
A pre-authentication Lambda trigger.
sourcepub fn get_pre_authentication(&self) -> &Option<String>
pub fn get_pre_authentication(&self) -> &Option<String>
A pre-authentication Lambda trigger.
sourcepub fn post_authentication(self, input: impl Into<String>) -> Self
pub fn post_authentication(self, input: impl Into<String>) -> Self
A post-authentication Lambda trigger.
sourcepub fn set_post_authentication(self, input: Option<String>) -> Self
pub fn set_post_authentication(self, input: Option<String>) -> Self
A post-authentication Lambda trigger.
sourcepub fn get_post_authentication(&self) -> &Option<String>
pub fn get_post_authentication(&self) -> &Option<String>
A post-authentication Lambda trigger.
sourcepub fn define_auth_challenge(self, input: impl Into<String>) -> Self
pub fn define_auth_challenge(self, input: impl Into<String>) -> Self
Defines the authentication challenge.
sourcepub fn set_define_auth_challenge(self, input: Option<String>) -> Self
pub fn set_define_auth_challenge(self, input: Option<String>) -> Self
Defines the authentication challenge.
sourcepub fn get_define_auth_challenge(&self) -> &Option<String>
pub fn get_define_auth_challenge(&self) -> &Option<String>
Defines the authentication challenge.
sourcepub fn create_auth_challenge(self, input: impl Into<String>) -> Self
pub fn create_auth_challenge(self, input: impl Into<String>) -> Self
Creates an authentication challenge.
sourcepub fn set_create_auth_challenge(self, input: Option<String>) -> Self
pub fn set_create_auth_challenge(self, input: Option<String>) -> Self
Creates an authentication challenge.
sourcepub fn get_create_auth_challenge(&self) -> &Option<String>
pub fn get_create_auth_challenge(&self) -> &Option<String>
Creates an authentication challenge.
sourcepub fn verify_auth_challenge_response(self, input: impl Into<String>) -> Self
pub fn verify_auth_challenge_response(self, input: impl Into<String>) -> Self
Verifies the authentication challenge response.
sourcepub fn set_verify_auth_challenge_response(self, input: Option<String>) -> Self
pub fn set_verify_auth_challenge_response(self, input: Option<String>) -> Self
Verifies the authentication challenge response.
sourcepub fn get_verify_auth_challenge_response(&self) -> &Option<String>
pub fn get_verify_auth_challenge_response(&self) -> &Option<String>
Verifies the authentication challenge response.
sourcepub fn pre_token_generation(self, input: impl Into<String>) -> Self
pub fn pre_token_generation(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the function that you want to assign to your Lambda trigger.
Set this parameter for legacy purposes. If you also set an ARN in PreTokenGenerationConfig
, its value must be identical to PreTokenGeneration
. For new instances of pre token generation triggers, set the LambdaArn
of PreTokenGenerationConfig
.
You can set
sourcepub fn set_pre_token_generation(self, input: Option<String>) -> Self
pub fn set_pre_token_generation(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the function that you want to assign to your Lambda trigger.
Set this parameter for legacy purposes. If you also set an ARN in PreTokenGenerationConfig
, its value must be identical to PreTokenGeneration
. For new instances of pre token generation triggers, set the LambdaArn
of PreTokenGenerationConfig
.
You can set
sourcepub fn get_pre_token_generation(&self) -> &Option<String>
pub fn get_pre_token_generation(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the function that you want to assign to your Lambda trigger.
Set this parameter for legacy purposes. If you also set an ARN in PreTokenGenerationConfig
, its value must be identical to PreTokenGeneration
. For new instances of pre token generation triggers, set the LambdaArn
of PreTokenGenerationConfig
.
You can set
sourcepub fn user_migration(self, input: impl Into<String>) -> Self
pub fn user_migration(self, input: impl Into<String>) -> Self
The user migration Lambda config type.
sourcepub fn set_user_migration(self, input: Option<String>) -> Self
pub fn set_user_migration(self, input: Option<String>) -> Self
The user migration Lambda config type.
sourcepub fn get_user_migration(&self) -> &Option<String>
pub fn get_user_migration(&self) -> &Option<String>
The user migration Lambda config type.
sourcepub fn pre_token_generation_config(
self,
input: PreTokenGenerationVersionConfigType,
) -> Self
pub fn pre_token_generation_config( self, input: PreTokenGenerationVersionConfigType, ) -> Self
The detailed configuration of a pre token generation trigger. If you also set an ARN in PreTokenGeneration
, its value must be identical to PreTokenGenerationConfig
.
sourcepub fn set_pre_token_generation_config(
self,
input: Option<PreTokenGenerationVersionConfigType>,
) -> Self
pub fn set_pre_token_generation_config( self, input: Option<PreTokenGenerationVersionConfigType>, ) -> Self
The detailed configuration of a pre token generation trigger. If you also set an ARN in PreTokenGeneration
, its value must be identical to PreTokenGenerationConfig
.
sourcepub fn get_pre_token_generation_config(
&self,
) -> &Option<PreTokenGenerationVersionConfigType>
pub fn get_pre_token_generation_config( &self, ) -> &Option<PreTokenGenerationVersionConfigType>
The detailed configuration of a pre token generation trigger. If you also set an ARN in PreTokenGeneration
, its value must be identical to PreTokenGenerationConfig
.
sourcepub fn custom_sms_sender(self, input: CustomSmsLambdaVersionConfigType) -> Self
pub fn custom_sms_sender(self, input: CustomSmsLambdaVersionConfigType) -> Self
A custom SMS sender Lambda trigger.
sourcepub fn set_custom_sms_sender(
self,
input: Option<CustomSmsLambdaVersionConfigType>,
) -> Self
pub fn set_custom_sms_sender( self, input: Option<CustomSmsLambdaVersionConfigType>, ) -> Self
A custom SMS sender Lambda trigger.
sourcepub fn get_custom_sms_sender(&self) -> &Option<CustomSmsLambdaVersionConfigType>
pub fn get_custom_sms_sender(&self) -> &Option<CustomSmsLambdaVersionConfigType>
A custom SMS sender Lambda trigger.
sourcepub fn custom_email_sender(
self,
input: CustomEmailLambdaVersionConfigType,
) -> Self
pub fn custom_email_sender( self, input: CustomEmailLambdaVersionConfigType, ) -> Self
A custom email sender Lambda trigger.
sourcepub fn set_custom_email_sender(
self,
input: Option<CustomEmailLambdaVersionConfigType>,
) -> Self
pub fn set_custom_email_sender( self, input: Option<CustomEmailLambdaVersionConfigType>, ) -> Self
A custom email sender Lambda trigger.
sourcepub fn get_custom_email_sender(
&self,
) -> &Option<CustomEmailLambdaVersionConfigType>
pub fn get_custom_email_sender( &self, ) -> &Option<CustomEmailLambdaVersionConfigType>
A custom email sender Lambda trigger.
sourcepub fn kms_key_id(self, input: impl Into<String>) -> Self
pub fn kms_key_id(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of an KMS key. Amazon Cognito uses the key to encrypt codes and temporary passwords sent to CustomEmailSender
and CustomSMSSender
.
sourcepub fn set_kms_key_id(self, input: Option<String>) -> Self
pub fn set_kms_key_id(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of an KMS key. Amazon Cognito uses the key to encrypt codes and temporary passwords sent to CustomEmailSender
and CustomSMSSender
.
sourcepub fn get_kms_key_id(&self) -> &Option<String>
pub fn get_kms_key_id(&self) -> &Option<String>
The Amazon Resource Name (ARN) of an KMS key. Amazon Cognito uses the key to encrypt codes and temporary passwords sent to CustomEmailSender
and CustomSMSSender
.
sourcepub fn build(self) -> LambdaConfigType
pub fn build(self) -> LambdaConfigType
Consumes the builder and constructs a LambdaConfigType
.
Trait Implementations§
source§impl Clone for LambdaConfigTypeBuilder
impl Clone for LambdaConfigTypeBuilder
source§fn clone(&self) -> LambdaConfigTypeBuilder
fn clone(&self) -> LambdaConfigTypeBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for LambdaConfigTypeBuilder
impl Debug for LambdaConfigTypeBuilder
source§impl Default for LambdaConfigTypeBuilder
impl Default for LambdaConfigTypeBuilder
source§fn default() -> LambdaConfigTypeBuilder
fn default() -> LambdaConfigTypeBuilder
source§impl PartialEq for LambdaConfigTypeBuilder
impl PartialEq for LambdaConfigTypeBuilder
source§fn eq(&self, other: &LambdaConfigTypeBuilder) -> bool
fn eq(&self, other: &LambdaConfigTypeBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LambdaConfigTypeBuilder
Auto Trait Implementations§
impl Freeze for LambdaConfigTypeBuilder
impl RefUnwindSafe for LambdaConfigTypeBuilder
impl Send for LambdaConfigTypeBuilder
impl Sync for LambdaConfigTypeBuilder
impl Unpin for LambdaConfigTypeBuilder
impl UnwindSafe for LambdaConfigTypeBuilder
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