GetContactChannel - AWS Systems Manager Incident Manager

GetContactChannel

List details about a specific contact channel.

Request Syntax

{ "ContactChannelId": "string" }

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

The request accepts the following data in JSON format.

ContactChannelId

The Amazon Resource Name (ARN) of the contact channel you want information about.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 2048.

Pattern: arn:(aws|aws-cn|aws-us-gov):ssm-contacts:[-\w+=\/,.@]*:[0-9]+:([\w+=\/,.@:-]+)*

Required: Yes

Response Syntax

{ "ActivationStatus": "string", "ContactArn": "string", "ContactChannelArn": "string", "DeliveryAddress": { "SimpleAddress": "string" }, "Name": "string", "Type": "string" }

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

ActivationStatus

A Boolean value indicating if the contact channel has been activated or not.

Type: String

Valid Values: ACTIVATED | NOT_ACTIVATED

ContactArn

The ARN of the contact that the channel belongs to.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 2048.

Pattern: arn:(aws|aws-cn|aws-us-gov):ssm-contacts:[-\w+=\/,.@]*:[0-9]+:([\w+=\/,.@:-]+)*

ContactChannelArn

The ARN of the contact channel.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 2048.

Pattern: arn:(aws|aws-cn|aws-us-gov):ssm-contacts:[-\w+=\/,.@]*:[0-9]+:([\w+=\/,.@:-]+)*

DeliveryAddress

The details that Incident Manager uses when trying to engage the contact channel.

Type: ContactChannelAddress object

Name

The name of the contact channel

Type: String

Length Constraints: Minimum length of 1. Maximum length of 255.

Pattern: ^[\p{L}\p{Z}\p{N}_.\-]*$

Type

The type of contact channel. The type is SMS, VOICE, or EMAIL.

Type: String

Valid Values: SMS | VOICE | EMAIL

Errors

For information about the errors that are common to all actions, see Common Errors.

AccessDeniedException

You don't have sufficient access to perform this action.

HTTP Status Code: 400

DataEncryptionException

The action failed to due an encryption key error.

HTTP Status Code: 400

InternalServerException

Unexpected error occurred while processing the request.

HTTP Status Code: 500

ResourceNotFoundException

Request references a resource that doesn't exist.

HTTP Status Code: 400

ThrottlingException

The request was denied due to request throttling.

HTTP Status Code: 400

ValidationException

The input fails to satisfy the constraints specified by an AWS service.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: