Struct aws_sdk_sesv2::input::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
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateEmailIdentityPolicy, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateEmailIdentityPolicy, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<UpdateEmailIdentityPolicy
>
Creates a new builder-style object to manufacture UpdateEmailIdentityPolicyInput
The email identity.
The name of the policy.
The policy name cannot exceed 64 characters and can only include alphanumeric characters, dashes, and underscores.
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.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl Send for UpdateEmailIdentityPolicyInput
impl Sync for UpdateEmailIdentityPolicyInput
impl Unpin for UpdateEmailIdentityPolicyInput
impl UnwindSafe for UpdateEmailIdentityPolicyInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more