Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Deletes an email identity. An identity can be either an email address or a domain name.
Synopsis
- data DeleteEmailIdentity = DeleteEmailIdentity' {}
- newDeleteEmailIdentity :: Text -> DeleteEmailIdentity
- deleteEmailIdentity_emailIdentity :: Lens' DeleteEmailIdentity Text
- data DeleteEmailIdentityResponse = DeleteEmailIdentityResponse' {
- httpStatus :: Int
- newDeleteEmailIdentityResponse :: Int -> DeleteEmailIdentityResponse
- deleteEmailIdentityResponse_httpStatus :: Lens' DeleteEmailIdentityResponse Int
Creating a Request
data DeleteEmailIdentity Source #
A request to delete an existing email identity. When you delete an identity, you lose the ability to send email from that identity. You can restore your ability to send email by completing the verification process for the identity again.
See: newDeleteEmailIdentity
smart constructor.
DeleteEmailIdentity' | |
|
Instances
newDeleteEmailIdentity Source #
Create a value of DeleteEmailIdentity
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:emailIdentity:DeleteEmailIdentity'
, deleteEmailIdentity_emailIdentity
- The identity (that is, the email address or domain) to delete.
Request Lenses
deleteEmailIdentity_emailIdentity :: Lens' DeleteEmailIdentity Text Source #
The identity (that is, the email address or domain) to delete.
Destructuring the Response
data DeleteEmailIdentityResponse Source #
An HTTP 200 response if the request succeeds, or an error message if the request fails.
See: newDeleteEmailIdentityResponse
smart constructor.
DeleteEmailIdentityResponse' | |
|
Instances
newDeleteEmailIdentityResponse Source #
Create a value of DeleteEmailIdentityResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:DeleteEmailIdentityResponse'
, deleteEmailIdentityResponse_httpStatus
- The response's http status code.
Response Lenses
deleteEmailIdentityResponse_httpStatus :: Lens' DeleteEmailIdentityResponse Int Source #
The response's http status code.