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)


3592
3593
3594
3595
3596
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 3592

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