| 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.SSMContacts.DeleteContactChannel
Description
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.
Constructors
| DeleteContactChannel' | |
Fields
| |
Instances
newDeleteContactChannel Source #
Arguments
| :: Text | |
| -> DeleteContactChannel |
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:
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.
Constructors
| DeleteContactChannelResponse' | |
Fields
| |
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.