| 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.SendActivationCode
Description
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.
Constructors
| SendActivationCode' | |
Fields
| |
Instances
newSendActivationCode Source #
Arguments
| :: Text | |
| -> SendActivationCode |
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:
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.
Constructors
| SendActivationCodeResponse' | |
Fields
| |
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.