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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb

Overview

Note:

When making an API call, you may pass DeleteContactMethodRequest data as a hash:

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

Constant Summary collapse

SENSITIVE =
[]

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.

Returns:

  • (String)


5241
5242
5243
5244
5245
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 5241

class DeleteContactMethodRequest < Struct.new(
  :protocol)
  SENSITIVE = []
  include Aws::Structure
end