Struct aws_sdk_sesv2::operation::put_email_identity_dkim_signing_attributes::builders::PutEmailIdentityDkimSigningAttributesFluentBuilder
source · pub struct PutEmailIdentityDkimSigningAttributesFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to PutEmailIdentityDkimSigningAttributes
.
Used to configure or change the DKIM authentication settings for an email domain identity. You can use this operation to do any of the following:
-
Update the signing attributes for an identity that uses Bring Your Own DKIM (BYODKIM).
-
Update the key length that should be used for Easy DKIM.
-
Change from using no DKIM authentication to using Easy DKIM.
-
Change from using no DKIM authentication to using BYODKIM.
-
Change from using Easy DKIM to using BYODKIM.
-
Change from using BYODKIM to using Easy DKIM.
Implementations§
source§impl PutEmailIdentityDkimSigningAttributesFluentBuilder
impl PutEmailIdentityDkimSigningAttributesFluentBuilder
sourcepub fn as_input(&self) -> &PutEmailIdentityDkimSigningAttributesInputBuilder
pub fn as_input(&self) -> &PutEmailIdentityDkimSigningAttributesInputBuilder
Access the PutEmailIdentityDkimSigningAttributes as a reference.
sourcepub async fn send(
self
) -> Result<PutEmailIdentityDkimSigningAttributesOutput, SdkError<PutEmailIdentityDkimSigningAttributesError, HttpResponse>>
pub async fn send( self ) -> Result<PutEmailIdentityDkimSigningAttributesOutput, SdkError<PutEmailIdentityDkimSigningAttributesError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<PutEmailIdentityDkimSigningAttributesOutput, PutEmailIdentityDkimSigningAttributesError, Self>
pub fn customize( self ) -> CustomizableOperation<PutEmailIdentityDkimSigningAttributesOutput, PutEmailIdentityDkimSigningAttributesError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn email_identity(self, input: impl Into<String>) -> Self
pub fn email_identity(self, input: impl Into<String>) -> Self
The email identity.
sourcepub fn set_email_identity(self, input: Option<String>) -> Self
pub fn set_email_identity(self, input: Option<String>) -> Self
The email identity.
sourcepub fn get_email_identity(&self) -> &Option<String>
pub fn get_email_identity(&self) -> &Option<String>
The email identity.
sourcepub fn signing_attributes_origin(
self,
input: DkimSigningAttributesOrigin
) -> Self
pub fn signing_attributes_origin( self, input: DkimSigningAttributesOrigin ) -> Self
The method to use to configure DKIM for the identity. There are the following possible values:
-
AWS_SES
– Configure DKIM for the identity by using Easy DKIM. -
EXTERNAL
– Configure DKIM for the identity by using Bring Your Own DKIM (BYODKIM).
sourcepub fn set_signing_attributes_origin(
self,
input: Option<DkimSigningAttributesOrigin>
) -> Self
pub fn set_signing_attributes_origin( self, input: Option<DkimSigningAttributesOrigin> ) -> Self
The method to use to configure DKIM for the identity. There are the following possible values:
-
AWS_SES
– Configure DKIM for the identity by using Easy DKIM. -
EXTERNAL
– Configure DKIM for the identity by using Bring Your Own DKIM (BYODKIM).
sourcepub fn get_signing_attributes_origin(
&self
) -> &Option<DkimSigningAttributesOrigin>
pub fn get_signing_attributes_origin( &self ) -> &Option<DkimSigningAttributesOrigin>
The method to use to configure DKIM for the identity. There are the following possible values:
-
AWS_SES
– Configure DKIM for the identity by using Easy DKIM. -
EXTERNAL
– Configure DKIM for the identity by using Bring Your Own DKIM (BYODKIM).
sourcepub fn signing_attributes(self, input: DkimSigningAttributes) -> Self
pub fn signing_attributes(self, input: DkimSigningAttributes) -> Self
An object that contains information about the private key and selector that you want to use to configure DKIM for the identity for Bring Your Own DKIM (BYODKIM) for the identity, or, configures the key length to be used for Easy DKIM.
sourcepub fn set_signing_attributes(
self,
input: Option<DkimSigningAttributes>
) -> Self
pub fn set_signing_attributes( self, input: Option<DkimSigningAttributes> ) -> Self
An object that contains information about the private key and selector that you want to use to configure DKIM for the identity for Bring Your Own DKIM (BYODKIM) for the identity, or, configures the key length to be used for Easy DKIM.
sourcepub fn get_signing_attributes(&self) -> &Option<DkimSigningAttributes>
pub fn get_signing_attributes(&self) -> &Option<DkimSigningAttributes>
An object that contains information about the private key and selector that you want to use to configure DKIM for the identity for Bring Your Own DKIM (BYODKIM) for the identity, or, configures the key length to be used for Easy DKIM.
Trait Implementations§
source§impl Clone for PutEmailIdentityDkimSigningAttributesFluentBuilder
impl Clone for PutEmailIdentityDkimSigningAttributesFluentBuilder
source§fn clone(&self) -> PutEmailIdentityDkimSigningAttributesFluentBuilder
fn clone(&self) -> PutEmailIdentityDkimSigningAttributesFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for PutEmailIdentityDkimSigningAttributesFluentBuilder
impl !RefUnwindSafe for PutEmailIdentityDkimSigningAttributesFluentBuilder
impl Send for PutEmailIdentityDkimSigningAttributesFluentBuilder
impl Sync for PutEmailIdentityDkimSigningAttributesFluentBuilder
impl Unpin for PutEmailIdentityDkimSigningAttributesFluentBuilder
impl !UnwindSafe for PutEmailIdentityDkimSigningAttributesFluentBuilder
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