Struct rusoto_ses::PutIdentityPolicyRequest [−][src]
pub struct PutIdentityPolicyRequest { pub identity: String, pub policy: String, pub policy_name: String, }
Represents a request to add or 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
identity: String
The identity that the policy will apply to. You can specify an identity by using its name or by using its Amazon Resource Name (ARN). Examples: user@example.com
, example.com
, arn:aws:ses:us-east-1:123456789012:identity/example.com
.
To successfully call this API, you must own the identity.
policy: 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.
policy_name: String
The name of the policy.
The policy name cannot exceed 64 characters and can only include alphanumeric characters, dashes, and underscores.
Trait Implementations
impl Default for PutIdentityPolicyRequest
[src]
impl Default for PutIdentityPolicyRequest
fn default() -> PutIdentityPolicyRequest
[src]
fn default() -> PutIdentityPolicyRequest
Returns the "default value" for a type. Read more
impl Debug for PutIdentityPolicyRequest
[src]
impl Debug for PutIdentityPolicyRequest
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for PutIdentityPolicyRequest
[src]
impl Clone for PutIdentityPolicyRequest
fn clone(&self) -> PutIdentityPolicyRequest
[src]
fn clone(&self) -> PutIdentityPolicyRequest
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl PartialEq for PutIdentityPolicyRequest
[src]
impl PartialEq for PutIdentityPolicyRequest
fn eq(&self, other: &PutIdentityPolicyRequest) -> bool
[src]
fn eq(&self, other: &PutIdentityPolicyRequest) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &PutIdentityPolicyRequest) -> bool
[src]
fn ne(&self, other: &PutIdentityPolicyRequest) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for PutIdentityPolicyRequest
impl Send for PutIdentityPolicyRequest
impl Sync for PutIdentityPolicyRequest
impl Sync for PutIdentityPolicyRequest