Class: Aws::SSMContacts::Types::CreateContactChannelRequest

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
lib/aws-sdk-ssmcontacts/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#contact_idString

The Amazon Resource Name (ARN) of the contact you are adding the contact channel to.

Returns:

  • (String)


338
339
340
341
342
343
344
345
346
347
# File 'lib/aws-sdk-ssmcontacts/types.rb', line 338

class CreateContactChannelRequest < Struct.new(
  :contact_id,
  :name,
  :type,
  :delivery_address,
  :defer_activation,
  :idempotency_token)
  SENSITIVE = []
  include Aws::Structure
end

#defer_activationBoolean

If you want to activate the channel at a later time, you can choose to defer activation. Incident Manager can’t engage your contact channel until it has been activated.

Returns:

  • (Boolean)


338
339
340
341
342
343
344
345
346
347
# File 'lib/aws-sdk-ssmcontacts/types.rb', line 338

class CreateContactChannelRequest < Struct.new(
  :contact_id,
  :name,
  :type,
  :delivery_address,
  :defer_activation,
  :idempotency_token)
  SENSITIVE = []
  include Aws::Structure
end

#delivery_addressTypes::ContactChannelAddress

The details that Incident Manager uses when trying to engage the contact channel. The format is dependent on the type of the contact channel. The following are the expected formats:

  • SMS - ‘+’ followed by the country code and phone number

  • VOICE - ‘+’ followed by the country code and phone number

  • EMAIL - any standard email format



338
339
340
341
342
343
344
345
346
347
# File 'lib/aws-sdk-ssmcontacts/types.rb', line 338

class CreateContactChannelRequest < Struct.new(
  :contact_id,
  :name,
  :type,
  :delivery_address,
  :defer_activation,
  :idempotency_token)
  SENSITIVE = []
  include Aws::Structure
end

#idempotency_tokenString

A token ensuring that the operation is called only once with the specified details.

**A suitable default value is auto-generated.** You should normally not need to pass this option.

Returns:

  • (String)


338
339
340
341
342
343
344
345
346
347
# File 'lib/aws-sdk-ssmcontacts/types.rb', line 338

class CreateContactChannelRequest < Struct.new(
  :contact_id,
  :name,
  :type,
  :delivery_address,
  :defer_activation,
  :idempotency_token)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of the contact channel.

Returns:

  • (String)


338
339
340
341
342
343
344
345
346
347
# File 'lib/aws-sdk-ssmcontacts/types.rb', line 338

class CreateContactChannelRequest < Struct.new(
  :contact_id,
  :name,
  :type,
  :delivery_address,
  :defer_activation,
  :idempotency_token)
  SENSITIVE = []
  include Aws::Structure
end

#typeString

Incident Manager supports three types of contact channels:

  • ‘SMS`

  • ‘VOICE`

  • ‘EMAIL`

Returns:

  • (String)


338
339
340
341
342
343
344
345
346
347
# File 'lib/aws-sdk-ssmcontacts/types.rb', line 338

class CreateContactChannelRequest < Struct.new(
  :contact_id,
  :name,
  :type,
  :delivery_address,
  :defer_activation,
  :idempotency_token)
  SENSITIVE = []
  include Aws::Structure
end