| 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.AlexaBusiness.DeleteContact
Description
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.
Constructors
| DeleteContact' | |
Fields
| |
Instances
Arguments
| :: 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_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.
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.