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.DeactivateContactChannel
Description
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.
Constructors
DeactivateContactChannel' | |
Fields
|
Instances
newDeactivateContactChannel Source #
Arguments
:: Text | |
-> DeactivateContactChannel |
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:
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.
Constructors
DeactivateContactChannelResponse' | |
Fields
|
Instances
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.