You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Lightsail::Types::DeleteContactMethodRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing DeleteContactMethodRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  protocol: "Email", # required, accepts Email, SMS
}

Instance Attribute Summary collapse

Instance Attribute Details

#protocolString

The protocol that will be deleted, such as Email or SMS (text messaging).

To delete an Email and an SMS contact method if you added both, you must run separate DeleteContactMethod actions to delete each protocol.

Possible values:

  • Email
  • SMS

Returns:

  • (String)

    The protocol that will be deleted, such as Email or SMS (text messaging).