Skip to content

Activate Contact Channel

ssmcontacts_activate_contact_channel R Documentation

Activates a contact's contact channel

Description

Activates a contact's contact channel. Incident Manager can't engage a contact until the contact channel has been activated.

Usage

ssmcontacts_activate_contact_channel(ContactChannelId, ActivationCode)

Arguments

ContactChannelId

[required] The Amazon Resource Name (ARN) of the contact channel.

ActivationCode

[required] The code sent to the contact channel when it was created in the contact.

Value

An empty list.

Request syntax

svc$activate_contact_channel(
  ContactChannelId = "string",
  ActivationCode = "string"
)

Examples

## Not run: 
# The following activate-contact-channel example activates a contact
# channel and makes it usable as part of an incident.
svc$activate_contact_channel(
  ActivationCode = "466136",
  ContactChannelId = "arn:aws:ssm-contacts:us-east-2:111122223333:contact-c..."
)

## End(Not run)