code: func (c *SES) PutIdentityPolicy(input *PutIdentityPolicyInput) (*PutIdentityPolicyOutput, error) {
  	req, out := c.PutIdentityPolicyRequest(input)
  	return out, req.Send()
  }
docs: // PutIdentityPolicy API operation for Amazon Simple Email Service.
  //
  // 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 (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html).
  //
  // You can execute this operation no more than once per second.
  //
  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  // with awserr.Error's Code and Message methods to get detailed information about
  // the error.
  //
  // See the AWS API reference guide for Amazon Simple Email Service's
  // API operation PutIdentityPolicy for usage and error information.
  //
  // Returned Error Codes:
  //   * ErrCodeInvalidPolicyException "InvalidPolicy"
  //   Indicates that the provided policy is invalid. Check the error stack for
  //   more information about what caused the error.
  //
  // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/PutIdentityPolicy