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 |
Sends an activation code to a contact channel. The contact can use this
code to activate the contact channel in the console or with the
ActivateChannel
operation. Incident Manager can't engage a contact
channel until it has been activated.
Synopsis
- data SendActivationCode = SendActivationCode' {}
- newSendActivationCode :: Text -> SendActivationCode
- sendActivationCode_contactChannelId :: Lens' SendActivationCode Text
- data SendActivationCodeResponse = SendActivationCodeResponse' {
- httpStatus :: Int
- newSendActivationCodeResponse :: Int -> SendActivationCodeResponse
- sendActivationCodeResponse_httpStatus :: Lens' SendActivationCodeResponse Int
Creating a Request
data SendActivationCode Source #
See: newSendActivationCode
smart constructor.
SendActivationCode' | |
|
Instances
newSendActivationCode Source #
Create a value of SendActivationCode
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:SendActivationCode'
, sendActivationCode_contactChannelId
- The Amazon Resource Name (ARN) of the contact channel.
Request Lenses
sendActivationCode_contactChannelId :: Lens' SendActivationCode Text Source #
The Amazon Resource Name (ARN) of the contact channel.
Destructuring the Response
data SendActivationCodeResponse Source #
See: newSendActivationCodeResponse
smart constructor.
SendActivationCodeResponse' | |
|
Instances
newSendActivationCodeResponse Source #
Create a value of SendActivationCodeResponse
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:SendActivationCodeResponse'
, sendActivationCodeResponse_httpStatus
- The response's http status code.
Response Lenses
sendActivationCodeResponse_httpStatus :: Lens' SendActivationCodeResponse Int Source #
The response's http status code.