Struct aws_sdk_sesv2::operation::create_email_identity_policy::CreateEmailIdentityPolicyInput
source · #[non_exhaustive]pub struct CreateEmailIdentityPolicyInput {
pub email_identity: Option<String>,
pub policy_name: Option<String>,
pub policy: Option<String>,
}Expand description
Represents a request to create 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 CreateEmailIdentityPolicyInput
impl CreateEmailIdentityPolicyInput
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 CreateEmailIdentityPolicyInput
impl CreateEmailIdentityPolicyInput
sourcepub fn builder() -> CreateEmailIdentityPolicyInputBuilder
pub fn builder() -> CreateEmailIdentityPolicyInputBuilder
Creates a new builder-style object to manufacture CreateEmailIdentityPolicyInput.
Trait Implementations§
source§impl Clone for CreateEmailIdentityPolicyInput
impl Clone for CreateEmailIdentityPolicyInput
source§fn clone(&self) -> CreateEmailIdentityPolicyInput
fn clone(&self) -> CreateEmailIdentityPolicyInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for CreateEmailIdentityPolicyInput
impl PartialEq for CreateEmailIdentityPolicyInput
source§fn eq(&self, other: &CreateEmailIdentityPolicyInput) -> bool
fn eq(&self, other: &CreateEmailIdentityPolicyInput) -> bool
self and other values to be equal, and is used
by ==.