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 |
Activates a contact's contact channel. Incident Manager can't engage a contact until the contact channel has been activated.
Synopsis
- data ActivateContactChannel = ActivateContactChannel' {}
- newActivateContactChannel :: Text -> Text -> ActivateContactChannel
- activateContactChannel_contactChannelId :: Lens' ActivateContactChannel Text
- activateContactChannel_activationCode :: Lens' ActivateContactChannel Text
- data ActivateContactChannelResponse = ActivateContactChannelResponse' {
- httpStatus :: Int
- newActivateContactChannelResponse :: Int -> ActivateContactChannelResponse
- activateContactChannelResponse_httpStatus :: Lens' ActivateContactChannelResponse Int
Creating a Request
data ActivateContactChannel Source #
See: newActivateContactChannel
smart constructor.
ActivateContactChannel' | |
|
Instances
newActivateContactChannel Source #
:: Text | |
-> Text | |
-> ActivateContactChannel |
Create a value of ActivateContactChannel
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:ActivateContactChannel'
, activateContactChannel_contactChannelId
- The Amazon Resource Name (ARN) of the contact channel.
$sel:activationCode:ActivateContactChannel'
, activateContactChannel_activationCode
- The code sent to the contact channel when it was created in the contact.
Request Lenses
activateContactChannel_contactChannelId :: Lens' ActivateContactChannel Text Source #
The Amazon Resource Name (ARN) of the contact channel.
activateContactChannel_activationCode :: Lens' ActivateContactChannel Text Source #
The code sent to the contact channel when it was created in the contact.
Destructuring the Response
data ActivateContactChannelResponse Source #
See: newActivateContactChannelResponse
smart constructor.
ActivateContactChannelResponse' | |
|
Instances
Eq ActivateContactChannelResponse Source # | |
Read ActivateContactChannelResponse Source # | |
Show ActivateContactChannelResponse Source # | |
Defined in Amazonka.SSMContacts.ActivateContactChannel | |
Generic ActivateContactChannelResponse Source # | |
NFData ActivateContactChannelResponse Source # | |
Defined in Amazonka.SSMContacts.ActivateContactChannel rnf :: ActivateContactChannelResponse -> () # | |
type Rep ActivateContactChannelResponse Source # | |
Defined in Amazonka.SSMContacts.ActivateContactChannel type Rep ActivateContactChannelResponse = D1 ('MetaData "ActivateContactChannelResponse" "Amazonka.SSMContacts.ActivateContactChannel" "libZSservicesZSamazonka-ssm-contactsZSamazonka-ssm-contacts" 'False) (C1 ('MetaCons "ActivateContactChannelResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newActivateContactChannelResponse Source #
Create a value of ActivateContactChannelResponse
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:ActivateContactChannelResponse'
, activateContactChannelResponse_httpStatus
- The response's http status code.
Response Lenses
activateContactChannelResponse_httpStatus :: Lens' ActivateContactChannelResponse Int Source #
The response's http status code.