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 a contact by the contact ARN.
Synopsis
- data DeleteContact = DeleteContact' {
- contactArn :: Text
- newDeleteContact :: Text -> DeleteContact
- deleteContact_contactArn :: 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:contactArn:DeleteContact'
, deleteContact_contactArn
- The ARN of the contact to delete.
Request Lenses
deleteContact_contactArn :: Lens' DeleteContact Text Source #
The ARN of the contact to delete.
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.