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 no longer receive engagements on a contact channel, you can delete the channel from a contact. Deleting the contact channel removes it from the contact's engagement plan. If you delete the only contact channel for a contact, you won't be able to engage that contact during an incident.
Synopsis
- data DeleteContactChannel = DeleteContactChannel' {}
- newDeleteContactChannel :: Text -> DeleteContactChannel
- deleteContactChannel_contactChannelId :: Lens' DeleteContactChannel Text
- data DeleteContactChannelResponse = DeleteContactChannelResponse' {
- httpStatus :: Int
- newDeleteContactChannelResponse :: Int -> DeleteContactChannelResponse
- deleteContactChannelResponse_httpStatus :: Lens' DeleteContactChannelResponse Int
Creating a Request
data DeleteContactChannel Source #
See: newDeleteContactChannel
smart constructor.
DeleteContactChannel' | |
|
Instances
newDeleteContactChannel Source #
Create a value of DeleteContactChannel
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:contactChannelId:DeleteContactChannel'
, deleteContactChannel_contactChannelId
- The Amazon Resource Name (ARN) of the contact channel.
Request Lenses
deleteContactChannel_contactChannelId :: Lens' DeleteContactChannel Text Source #
The Amazon Resource Name (ARN) of the contact channel.
Destructuring the Response
data DeleteContactChannelResponse Source #
See: newDeleteContactChannelResponse
smart constructor.
DeleteContactChannelResponse' | |
|
Instances
newDeleteContactChannelResponse Source #
Create a value of DeleteContactChannelResponse
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:DeleteContactChannelResponse'
, deleteContactChannelResponse_httpStatus
- The response's http status code.
Response Lenses
deleteContactChannelResponse_httpStatus :: Lens' DeleteContactChannelResponse Int Source #
The response's http status code.