Amazon.SimpleEmail.AmazonSimpleEmailServiceClient.PutIdentityPolicy C# (CSharp) Method

PutIdentityPolicy() public method

Adds or updates a sending authorization policy for the specified identity (an email address or a domain).

This API is for the identity owner only. If you have not verified the identity, this API will return an error.

Sending authorization is a feature that enables an identity owner to authorize other senders to use its identities. For information about using sending authorization, see the Amazon SES Developer Guide.

This action is throttled at one request per second.

/// Indicates that the provided policy is invalid. Check the error stack for more information /// about what caused the error. ///
public PutIdentityPolicy ( PutIdentityPolicyRequest request ) : PutIdentityPolicyResponse
request PutIdentityPolicyRequest Container for the necessary parameters to execute the PutIdentityPolicy service method.
return PutIdentityPolicyResponse
        public PutIdentityPolicyResponse PutIdentityPolicy(PutIdentityPolicyRequest request)
        {
            var marshaller = new PutIdentityPolicyRequestMarshaller();
            var unmarshaller = PutIdentityPolicyResponseUnmarshaller.Instance;

            return Invoke<PutIdentityPolicyRequest,PutIdentityPolicyResponse>(request, marshaller, unmarshaller);
        }
AmazonSimpleEmailServiceClient