NAME

Paws::Lightsail::ContactMethod

USAGE

This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::Lightsail::ContactMethod object:

$service_obj->Method(Att1 => { Arn => $value, ..., SupportCode => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::Lightsail::ContactMethod object:

$result = $service_obj->Method(...);
$result->Att1->Arn

DESCRIPTION

Describes a contact method.

A contact method is a way to send you notifications. For more information, see Notifications in Amazon Lightsail (https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-notifications).

ATTRIBUTES

Arn => Str

The Amazon Resource Name (ARN) of the contact method.

ContactEndpoint => Str

The destination of the contact method, such as an email address or a mobile phone number.

CreatedAt => Str

The timestamp when the contact method was created.

Location => Paws::Lightsail::ResourceLocation

Name => Str

The name of the contact method.

Protocol => Str

The protocol of the contact method, such as email or SMS (text messaging).

ResourceType => Str

The Lightsail resource type (e.g., ContactMethod).

Status => Str

The current status of the contact method.

A contact method has the following possible status:

  • PendingVerification - The contact method has not yet been verified, and the verification has not yet expired.

  • Valid - The contact method has been verified.

  • InValid - An attempt was made to verify the contact method, but the verification has expired.

SupportCode => Str

The support code. Include this code in your email to support when you have questions about your Lightsail contact method. This code enables our support team to look up your Lightsail information more easily.

SEE ALSO

This class forms part of Paws, describing an object used in Paws::Lightsail

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues