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 |
To remove a contact from Incident Manager, you can delete the contact. Deleting a contact removes them from all escalation plans and related response plans. Deleting an escalation plan removes it from all related response plans. You will have to recreate the contact and its contact channels before you can use it again.
Synopsis
- data DeleteContact = DeleteContact' {}
- newDeleteContact :: Text -> DeleteContact
- deleteContact_contactId :: 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.
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:contactId:DeleteContact'
, deleteContact_contactId
- The Amazon Resource Name (ARN) of the contact that you're deleting.
Request Lenses
deleteContact_contactId :: Lens' DeleteContact Text Source #
The Amazon Resource Name (ARN) of the contact that you're deleting.
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.