Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

ContactMethod

import type { ContactMethod } from "https://aws-api.deno.dev/v0.3/services/lightsail.ts?docs=full";

Describes a contact method.

A contact method is a way to send you notifications. For more information, see Notifications in Amazon Lightsail.

interface ContactMethod {
arn?: string | null;
contactEndpoint?: string | null;
createdAt?: Date | number | null;
location?: ResourceLocation | null;
name?: string | null;
protocol?: ContactProtocol | null;
resourceType?: ResourceType | null;
status?: ContactMethodStatus | null;
supportCode?: string | null;
}

§Properties

§
arn?: string | null
[src]

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

§
contactEndpoint?: string | null
[src]

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

§
createdAt?: Date | number | null
[src]

The timestamp when the contact method was created.

§
location?: ResourceLocation | null
[src]
§
name?: string | null
[src]

The name of the contact method.

§
protocol?: ContactProtocol | null
[src]

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

§
resourceType?: ResourceType | null
[src]

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

§
status?: ContactMethodStatus | null
[src]

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?: string | null
[src]

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.