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 |
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.
DeleteContact' | |
|
Instances
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:
$sel:contactListName:DeleteContact'
, deleteContact_contactListName
- The name of the contact list from which the contact should be removed.
$sel:emailAddress: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.
DeleteContactResponse' | |
|
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.