Struct aws_sdk_sesv2::operation::update_email_identity_policy::UpdateEmailIdentityPolicyInput
source · #[non_exhaustive]pub struct UpdateEmailIdentityPolicyInput {
pub email_identity: Option<String>,
pub policy_name: Option<String>,
pub policy: Option<String>,
}
Expand description
Represents a request to update a sending authorization policy for an identity. Sending authorization is an Amazon SES feature that enables you to authorize other senders to use your identities. For information, see the Amazon SES Developer Guide.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.email_identity: Option<String>
The email identity.
policy_name: Option<String>
The name of the policy.
The policy name cannot exceed 64 characters and can only include alphanumeric characters, dashes, and underscores.
policy: Option<String>
The text of the policy in JSON format. The policy cannot exceed 4 KB.
For information about the syntax of sending authorization policies, see the Amazon SES Developer Guide.
Implementations§
source§impl UpdateEmailIdentityPolicyInput
impl UpdateEmailIdentityPolicyInput
sourcepub fn email_identity(&self) -> Option<&str>
pub fn email_identity(&self) -> Option<&str>
The email identity.
sourcepub fn policy_name(&self) -> Option<&str>
pub fn policy_name(&self) -> Option<&str>
The name of the policy.
The policy name cannot exceed 64 characters and can only include alphanumeric characters, dashes, and underscores.
sourcepub fn policy(&self) -> Option<&str>
pub fn policy(&self) -> Option<&str>
The text of the policy in JSON format. The policy cannot exceed 4 KB.
For information about the syntax of sending authorization policies, see the Amazon SES Developer Guide.
source§impl UpdateEmailIdentityPolicyInput
impl UpdateEmailIdentityPolicyInput
sourcepub fn builder() -> UpdateEmailIdentityPolicyInputBuilder
pub fn builder() -> UpdateEmailIdentityPolicyInputBuilder
Creates a new builder-style object to manufacture UpdateEmailIdentityPolicyInput
.
Trait Implementations§
source§impl Clone for UpdateEmailIdentityPolicyInput
impl Clone for UpdateEmailIdentityPolicyInput
source§fn clone(&self) -> UpdateEmailIdentityPolicyInput
fn clone(&self) -> UpdateEmailIdentityPolicyInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for UpdateEmailIdentityPolicyInput
impl PartialEq for UpdateEmailIdentityPolicyInput
source§fn eq(&self, other: &UpdateEmailIdentityPolicyInput) -> bool
fn eq(&self, other: &UpdateEmailIdentityPolicyInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateEmailIdentityPolicyInput
Auto Trait Implementations§
impl Freeze for UpdateEmailIdentityPolicyInput
impl RefUnwindSafe for UpdateEmailIdentityPolicyInput
impl Send for UpdateEmailIdentityPolicyInput
impl Sync for UpdateEmailIdentityPolicyInput
impl Unpin for UpdateEmailIdentityPolicyInput
impl UnwindSafe for UpdateEmailIdentityPolicyInput
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