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 Incident Manager engagements to a contact channel, you can deactivate the channel.
Synopsis
- data DeactivateContactChannel = DeactivateContactChannel' {}
- newDeactivateContactChannel :: Text -> DeactivateContactChannel
- deactivateContactChannel_contactChannelId :: Lens' DeactivateContactChannel Text
- data DeactivateContactChannelResponse = DeactivateContactChannelResponse' {
- httpStatus :: Int
- newDeactivateContactChannelResponse :: Int -> DeactivateContactChannelResponse
- deactivateContactChannelResponse_httpStatus :: Lens' DeactivateContactChannelResponse Int
Creating a Request
data DeactivateContactChannel Source #
See: newDeactivateContactChannel
smart constructor.
DeactivateContactChannel' | |
|
Instances
newDeactivateContactChannel Source #
Create a value of DeactivateContactChannel
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:DeactivateContactChannel'
, deactivateContactChannel_contactChannelId
- The Amazon Resource Name (ARN) of the contact channel you're
deactivating.
Request Lenses
deactivateContactChannel_contactChannelId :: Lens' DeactivateContactChannel Text Source #
The Amazon Resource Name (ARN) of the contact channel you're deactivating.
Destructuring the Response
data DeactivateContactChannelResponse Source #
See: newDeactivateContactChannelResponse
smart constructor.
DeactivateContactChannelResponse' | |
|
Instances
Eq DeactivateContactChannelResponse Source # | |
Read DeactivateContactChannelResponse Source # | |
Show DeactivateContactChannelResponse Source # | |
Generic DeactivateContactChannelResponse Source # | |
NFData DeactivateContactChannelResponse Source # | |
Defined in Amazonka.SSMContacts.DeactivateContactChannel rnf :: DeactivateContactChannelResponse -> () # | |
type Rep DeactivateContactChannelResponse Source # | |
Defined in Amazonka.SSMContacts.DeactivateContactChannel type Rep DeactivateContactChannelResponse = D1 ('MetaData "DeactivateContactChannelResponse" "Amazonka.SSMContacts.DeactivateContactChannel" "libZSservicesZSamazonka-ssm-contactsZSamazonka-ssm-contacts" 'False) (C1 ('MetaCons "DeactivateContactChannelResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDeactivateContactChannelResponse Source #
Create a value of DeactivateContactChannelResponse
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:DeactivateContactChannelResponse'
, deactivateContactChannelResponse_httpStatus
- The response's http status code.
Response Lenses
deactivateContactChannelResponse_httpStatus :: Lens' DeactivateContactChannelResponse Int Source #
The response's http status code.