Skip to main content

signaling_channels

Creates, updates, deletes, gets or lists a signaling_channels resource.

Overview

Namesignaling_channels
TypeResource
Idaws.kinesisvideo.signaling_channels

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
channel_arnstringThe Amazon Resource Name (ARN) of the signaling channel. (pattern: <code>arn:[a-z\d-]+:kinesisvideo:[a-z0-9-]+:[0-9]+:[a-z]+/[a-zA-Z0-9_.-]+/[0-9]+</code>)
channel_namestringThe name of the signaling channel. (pattern: <code>[a-zA-Z0-9_.-]+</code>)
channel_statusstringCurrent status of the signaling channel. (CREATING, ACTIVE, UPDATING, DELETING)
channel_typestringThe type of the signaling channel. (SINGLE_MASTER, FULL_MESH)
creation_timestring (date-time)The time at which the signaling channel was created.
single_master_configurationobjectA structure that contains the configuration for the SINGLE_MASTER channel type.
versionstringThe current version of the signaling channel. (pattern: <code>[a-zA-Z0-9]+</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_signaling_channelselectregionReturns the most current information about the signaling channel. You must specify either the name or the Amazon Resource Name (ARN) of the channel that you want to describe.
create_signaling_channelinsertregion, ChannelNameCreates a signaling channel. CreateSignalingChannel is an asynchronous operation.
update_signaling_channelupdateregion, ChannelARN, CurrentVersionUpdates the existing signaling channel. This is an asynchronous operation and takes time to complete. If the MessageTtlSeconds value is updated (either increased or reduced), it only applies to new messages sent via this channel after it's been updated. Existing messages are still expired as per the previous MessageTtlSeconds value.
delete_signaling_channeldeleteregionDeletes a specified signaling channel. DeleteSignalingChannel is an asynchronous operation. If you don't specify the channel's current version, the most recent version is deleted.
list_signaling_channelsexecregionReturns an array of ChannelInfo objects. Each object describes a signaling channel. To retrieve only those channels that satisfy a specific condition, you can specify a ChannelNameCondition.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Returns the most current information about the signaling channel. You must specify either the name or the Amazon Resource Name (ARN) of the channel that you want to describe.

SELECT
channel_arn,
channel_name,
channel_status,
channel_type,
creation_time,
single_master_configuration,
version
FROM aws.kinesisvideo.signaling_channels
WHERE region = '{{ region }}' -- required
;

INSERT examples

Creates a signaling channel. CreateSignalingChannel is an asynchronous operation.

INSERT INTO aws.kinesisvideo.signaling_channels (
ChannelName,
ChannelType,
SingleMasterConfiguration,
Tags,
region
)
SELECT
'{{ ChannelName }}' /* required */,
'{{ ChannelType }}',
'{{ SingleMasterConfiguration }}',
'{{ Tags }}',
'{{ region }}'
RETURNING
channel_arn
;

UPDATE examples

Updates the existing signaling channel. This is an asynchronous operation and takes time to complete. If the MessageTtlSeconds value is updated (either increased or reduced), it only applies to new messages sent via this channel after it's been updated. Existing messages are still expired as per the previous MessageTtlSeconds value.

UPDATE aws.kinesisvideo.signaling_channels
SET
ChannelARN = '{{ ChannelARN }}',
CurrentVersion = '{{ CurrentVersion }}',
SingleMasterConfiguration = '{{ SingleMasterConfiguration }}'
WHERE
region = '{{ region }}' --required
AND ChannelARN = '{{ ChannelARN }}' --required
AND CurrentVersion = '{{ CurrentVersion }}' --required;

DELETE examples

Deletes a specified signaling channel. DeleteSignalingChannel is an asynchronous operation. If you don't specify the channel's current version, the most recent version is deleted.

DELETE FROM aws.kinesisvideo.signaling_channels
WHERE region = '{{ region }}' --required
;

Lifecycle Methods

Returns an array of ChannelInfo objects. Each object describes a signaling channel. To retrieve only those channels that satisfy a specific condition, you can specify a ChannelNameCondition.

EXEC aws.kinesisvideo.signaling_channels.list_signaling_channels
@region='{{ region }}' --required
@@json=
'{
"MaxResults": {{ MaxResults }},
"NextToken": "{{ NextToken }}",
"ChannelNameCondition": "{{ ChannelNameCondition }}"
}'
;