| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.SESV2.DeleteContact
Description
Removes a contact from a contact list.
Synopsis
- data DeleteContact = DeleteContact' {}
- newDeleteContact :: Text -> Text -> DeleteContact
- deleteContact_contactListName :: Lens' DeleteContact Text
- deleteContact_emailAddress :: Lens' DeleteContact Text
- data DeleteContactResponse = DeleteContactResponse' {
- httpStatus :: Int
- newDeleteContactResponse :: Int -> DeleteContactResponse
- deleteContactResponse_httpStatus :: Lens' DeleteContactResponse Int
Creating a Request
data DeleteContact Source #
See: newDeleteContact smart constructor.
Constructors
| DeleteContact' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> DeleteContact |
Create a value of DeleteContact 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:
DeleteContact, deleteContact_contactListName - The name of the contact list from which the contact should be removed.
DeleteContact, deleteContact_emailAddress - The contact's email address.
Request Lenses
deleteContact_contactListName :: Lens' DeleteContact Text Source #
The name of the contact list from which the contact should be removed.
deleteContact_emailAddress :: Lens' DeleteContact Text Source #
The contact's email address.
Destructuring the Response
data DeleteContactResponse Source #
See: newDeleteContactResponse smart constructor.
Constructors
| DeleteContactResponse' | |
Fields
| |
Instances
newDeleteContactResponse Source #
Create a value of DeleteContactResponse 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:DeleteContactResponse', deleteContactResponse_httpStatus - The response's http status code.
Response Lenses
deleteContactResponse_httpStatus :: Lens' DeleteContactResponse Int Source #
The response's http status code.