Skip to content

Create Contact Channel

ssmcontacts_create_contact_channel R Documentation

A contact channel is the method that Incident Manager uses to engage your contact

Description

A contact channel is the method that Incident Manager uses to engage your contact.

Usage

ssmcontacts_create_contact_channel(ContactId, Name, Type,
  DeliveryAddress, DeferActivation, IdempotencyToken)

Arguments

ContactId

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

Name

[required] The name of the contact channel.

Type

[required] Incident Manager supports three types of contact channels:

  • SMS

  • VOICE

  • EMAIL

DeliveryAddress

[required] 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

DeferActivation

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.

IdempotencyToken

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

Value

A list with the following syntax:

list(
  ContactChannelArn = "string"
)

Request syntax

svc$create_contact_channel(
  ContactId = "string",
  Name = "string",
  Type = "SMS"|"VOICE"|"EMAIL",
  DeliveryAddress = list(
    SimpleAddress = "string"
  ),
  DeferActivation = TRUE|FALSE,
  IdempotencyToken = "string"
)