libZSservicesZSamazonka-ssm-contactsZSamazonka-ssm-contacts
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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

Creating a Request

data SendActivationCode Source #

See: newSendActivationCode smart constructor.

Constructors

SendActivationCode' 

Fields

Instances

Instances details
Eq SendActivationCode Source # 
Instance details

Defined in Amazonka.SSMContacts.SendActivationCode

Read SendActivationCode Source # 
Instance details

Defined in Amazonka.SSMContacts.SendActivationCode

Show SendActivationCode Source # 
Instance details

Defined in Amazonka.SSMContacts.SendActivationCode

Generic SendActivationCode Source # 
Instance details

Defined in Amazonka.SSMContacts.SendActivationCode

Associated Types

type Rep SendActivationCode :: Type -> Type #

NFData SendActivationCode Source # 
Instance details

Defined in Amazonka.SSMContacts.SendActivationCode

Methods

rnf :: SendActivationCode -> () #

Hashable SendActivationCode Source # 
Instance details

Defined in Amazonka.SSMContacts.SendActivationCode

ToJSON SendActivationCode Source # 
Instance details

Defined in Amazonka.SSMContacts.SendActivationCode

AWSRequest SendActivationCode Source # 
Instance details

Defined in Amazonka.SSMContacts.SendActivationCode

Associated Types

type AWSResponse SendActivationCode #

ToHeaders SendActivationCode Source # 
Instance details

Defined in Amazonka.SSMContacts.SendActivationCode

ToPath SendActivationCode Source # 
Instance details

Defined in Amazonka.SSMContacts.SendActivationCode

ToQuery SendActivationCode Source # 
Instance details

Defined in Amazonka.SSMContacts.SendActivationCode

type Rep SendActivationCode Source # 
Instance details

Defined in Amazonka.SSMContacts.SendActivationCode

type Rep SendActivationCode = D1 ('MetaData "SendActivationCode" "Amazonka.SSMContacts.SendActivationCode" "libZSservicesZSamazonka-ssm-contactsZSamazonka-ssm-contacts" 'False) (C1 ('MetaCons "SendActivationCode'" 'PrefixI 'True) (S1 ('MetaSel ('Just "contactChannelId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse SendActivationCode Source # 
Instance details

Defined in Amazonka.SSMContacts.SendActivationCode

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.

Constructors

SendActivationCodeResponse' 

Fields

Instances

Instances details
Eq SendActivationCodeResponse Source # 
Instance details

Defined in Amazonka.SSMContacts.SendActivationCode

Read SendActivationCodeResponse Source # 
Instance details

Defined in Amazonka.SSMContacts.SendActivationCode

Show SendActivationCodeResponse Source # 
Instance details

Defined in Amazonka.SSMContacts.SendActivationCode

Generic SendActivationCodeResponse Source # 
Instance details

Defined in Amazonka.SSMContacts.SendActivationCode

Associated Types

type Rep SendActivationCodeResponse :: Type -> Type #

NFData SendActivationCodeResponse Source # 
Instance details

Defined in Amazonka.SSMContacts.SendActivationCode

type Rep SendActivationCodeResponse Source # 
Instance details

Defined in Amazonka.SSMContacts.SendActivationCode

type Rep SendActivationCodeResponse = D1 ('MetaData "SendActivationCodeResponse" "Amazonka.SSMContacts.SendActivationCode" "libZSservicesZSamazonka-ssm-contactsZSamazonka-ssm-contacts" 'False) (C1 ('MetaCons "SendActivationCodeResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

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