Skip to content

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

# 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..."
)