libZSservicesZSamazonka-lightsailZSamazonka-lightsail
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.Lightsail.SendContactMethodVerification

Description

Sends a verification request to an email contact method to ensure it's owned by the requester. SMS contact methods don't need to be verified.

A contact method is used to send you notifications about your Amazon Lightsail resources. You can add one email address and one mobile phone number contact method in each AWS Region. However, SMS text messaging is not supported in some AWS Regions, and SMS text messages cannot be sent to some countries/regions. For more information, see Notifications in Amazon Lightsail.

A verification request is sent to the contact method when you initially create it. Use this action to send another verification request if a previous verification request was deleted, or has expired.

Notifications are not sent to an email contact method until after it is verified, and confirmed as valid.

Synopsis

Creating a Request

data SendContactMethodVerification Source #

See: newSendContactMethodVerification smart constructor.

Constructors

SendContactMethodVerification' 

Fields

Instances

Instances details
Eq SendContactMethodVerification Source # 
Instance details

Defined in Amazonka.Lightsail.SendContactMethodVerification

Read SendContactMethodVerification Source # 
Instance details

Defined in Amazonka.Lightsail.SendContactMethodVerification

Show SendContactMethodVerification Source # 
Instance details

Defined in Amazonka.Lightsail.SendContactMethodVerification

Generic SendContactMethodVerification Source # 
Instance details

Defined in Amazonka.Lightsail.SendContactMethodVerification

Associated Types

type Rep SendContactMethodVerification :: Type -> Type #

NFData SendContactMethodVerification Source # 
Instance details

Defined in Amazonka.Lightsail.SendContactMethodVerification

Hashable SendContactMethodVerification Source # 
Instance details

Defined in Amazonka.Lightsail.SendContactMethodVerification

ToJSON SendContactMethodVerification Source # 
Instance details

Defined in Amazonka.Lightsail.SendContactMethodVerification

AWSRequest SendContactMethodVerification Source # 
Instance details

Defined in Amazonka.Lightsail.SendContactMethodVerification

ToHeaders SendContactMethodVerification Source # 
Instance details

Defined in Amazonka.Lightsail.SendContactMethodVerification

ToPath SendContactMethodVerification Source # 
Instance details

Defined in Amazonka.Lightsail.SendContactMethodVerification

ToQuery SendContactMethodVerification Source # 
Instance details

Defined in Amazonka.Lightsail.SendContactMethodVerification

type Rep SendContactMethodVerification Source # 
Instance details

Defined in Amazonka.Lightsail.SendContactMethodVerification

type Rep SendContactMethodVerification = D1 ('MetaData "SendContactMethodVerification" "Amazonka.Lightsail.SendContactMethodVerification" "libZSservicesZSamazonka-lightsailZSamazonka-lightsail" 'False) (C1 ('MetaCons "SendContactMethodVerification'" 'PrefixI 'True) (S1 ('MetaSel ('Just "protocol") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ContactMethodVerificationProtocol)))
type AWSResponse SendContactMethodVerification Source # 
Instance details

Defined in Amazonka.Lightsail.SendContactMethodVerification

newSendContactMethodVerification Source #

Create a value of SendContactMethodVerification 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:protocol:SendContactMethodVerification', sendContactMethodVerification_protocol - The protocol to verify, such as Email or SMS (text messaging).

Request Lenses

Destructuring the Response

data SendContactMethodVerificationResponse Source #

Constructors

SendContactMethodVerificationResponse' 

Fields

  • operations :: Maybe [Operation]

    An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq SendContactMethodVerificationResponse Source # 
Instance details

Defined in Amazonka.Lightsail.SendContactMethodVerification

Read SendContactMethodVerificationResponse Source # 
Instance details

Defined in Amazonka.Lightsail.SendContactMethodVerification

Show SendContactMethodVerificationResponse Source # 
Instance details

Defined in Amazonka.Lightsail.SendContactMethodVerification

Generic SendContactMethodVerificationResponse Source # 
Instance details

Defined in Amazonka.Lightsail.SendContactMethodVerification

NFData SendContactMethodVerificationResponse Source # 
Instance details

Defined in Amazonka.Lightsail.SendContactMethodVerification

type Rep SendContactMethodVerificationResponse Source # 
Instance details

Defined in Amazonka.Lightsail.SendContactMethodVerification

type Rep SendContactMethodVerificationResponse = D1 ('MetaData "SendContactMethodVerificationResponse" "Amazonka.Lightsail.SendContactMethodVerification" "libZSservicesZSamazonka-lightsailZSamazonka-lightsail" 'False) (C1 ('MetaCons "SendContactMethodVerificationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "operations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Operation])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newSendContactMethodVerificationResponse Source #

Create a value of SendContactMethodVerificationResponse 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:operations:SendContactMethodVerificationResponse', sendContactMethodVerificationResponse_operations - An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.

$sel:httpStatus:SendContactMethodVerificationResponse', sendContactMethodVerificationResponse_httpStatus - The response's http status code.

Response Lenses

sendContactMethodVerificationResponse_operations :: Lens' SendContactMethodVerificationResponse (Maybe [Operation]) Source #

An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.