ContactMethod

public struct ContactMethod : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • arn

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

    Declaration

    Swift

    public let arn: String?
  • The destination of the contact method, such as an email address or a mobile phone number.

    Declaration

    Swift

    public let contactEndpoint: String?
  • The timestamp when the contact method was created.

    Declaration

    Swift

    public let createdAt: TimeStamp?
  • Undocumented

    Declaration

    Swift

    public let location: ResourceLocation?
  • The name of the contact method.

    Declaration

    Swift

    public let name: String?
  • The protocol of the contact method, such as email or SMS (text messaging).

    Declaration

    Swift

    public let `protocol`: ContactProtocol?
  • The Lightsail resource type (e.g., ContactMethod).

    Declaration

    Swift

    public let resourceType: ResourceType?
  • 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.

    Declaration

    Swift

    public let status: ContactMethodStatus?
  • 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.

    Declaration

    Swift

    public let supportCode: String?
  • Undocumented

    Declaration

    Swift

    public init(arn: String? = nil, contactEndpoint: String? = nil, createdAt: TimeStamp? = nil, location: ResourceLocation? = nil, name: String? = nil, protocol: ContactProtocol? = nil, resourceType: ResourceType? = nil, status: ContactMethodStatus? = nil, supportCode: String? = nil)