Module Values.ContactMethodSource

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

Sourcetype nonrec t = {
  1. contactEndpoint : NonEmptyString.t option;
    (*

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

    *)
  2. status : ContactMethodStatus.t option;
    (*

    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.

    *)
  3. protocol : ContactProtocol.t option;
    (*

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

    *)
  4. name : ResourceName.t option;
    (*

    The name of the contact method.

    *)
  5. arn : NonEmptyString.t option;
    (*

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

    *)
  6. createdAt : IsoDate.t option;
    (*

    The timestamp when the contact method was created.

    *)
  7. location : ResourceLocation.t option;
    (*

    An object that describes the location of the contact method, such as the Amazon Web Services Region and Availability Zone.

    *)
  8. resourceType : ResourceType.t option;
    (*

    The Lightsail resource type of the contact method.

    *)
  9. supportCode : String_.t option;
    (*

    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.

    *)
  10. tags : TagList.t option;
    (*

    The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide.

    *)
}
Sourceval make : ?contactEndpoint:??? -> ?status:??? -> ?protocol:??? -> ?name:??? -> ?arn:??? -> ?createdAt:??? -> ?location:??? -> ?resourceType:??? -> ?supportCode:??? -> ?tags:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `String of TagKey.t ]) list ] list | `String of NonEmptyString.t | `Structure of (string * [> `Enum of string | `String of String_.t ]) list | `Timestamp of IsoDate.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t