Skip to main content

media_capture_pipelines

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

Overview

Namemedia_capture_pipelines
TypeResource
Idaws.chime_sdk_media_pipelines.media_capture_pipelines

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
chime_sdk_meeting_configurationobjectThe configuration object of the Amazon Chime SDK meeting for a specified media pipeline. SourceType must be ChimeSdkMeeting.
created_timestampstring (date-time)The time at which the pipeline was created, in ISO 8601 format.
media_pipeline_arnstringThe ARN of the media capture pipeline (pattern: <code>^arn[/:-_.a-zA-Z0-9]+$</code>)
media_pipeline_idstringThe ID of a media pipeline. (pattern: <code>[a-fA-F0-9]{8}(?:-[a-fA-F0-9]{4}){3}-[a-fA-F0-9]{12}</code>)
sink_arnstringARN of the destination to which the media artifacts are saved. (pattern: <code>^arn[/:-_.a-zA-Z0-9]+$</code>)
sink_iam_role_arnstringThe Amazon Resource Name (ARN) of the sink role to be used with AwsKmsKeyId in SseAwsKeyManagementParams. (pattern: <code>^arn[/:-_.a-zA-Z0-9]+$</code>)
sink_typestringDestination type to which the media artifacts are saved. You must use an S3 Bucket. (S3Bucket)
source_arnstringARN of the source from which the media artifacts are saved. (pattern: <code>^arn[/:-_.a-zA-Z0-9]+$</code>)
source_typestringSource type from which media artifacts are saved. You must use ChimeMeeting. (ChimeSdkMeeting)
sse_aws_key_management_paramsobjectContains server side encryption parameters to be used by media capture pipeline. The parameters can also be used by media concatenation pipeline taking media capture pipeline as a media source.
statusstringThe status of the media pipeline. (Initializing, InProgress, Failed, Stopping, Stopped, Paused, NotStarted)
updated_timestampstring (date-time)The time at which the pipeline was updated, in ISO 8601 format.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_media_capture_pipelineselectmedia_pipeline_id, regionGets an existing media pipeline.
list_media_capture_pipelinesselectregionnext-token, max-resultsReturns a list of media pipelines.
create_media_capture_pipelineinsertregion, SourceType, SourceArn, SinkType, SinkArnCreates a media pipeline.
delete_media_capture_pipelinedeletemedia_pipeline_id, regionDeletes the media pipeline.

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
media_pipeline_idstringThe ID of the media pipeline being deleted.
regionstringAWS region (default: us-east-1)
max-resultsintegerThe maximum number of results to return in a single call. Valid Range: 1 - 99.
next-tokenstringThe token used to retrieve the next page of results.

SELECT examples

Gets an existing media pipeline.

SELECT
chime_sdk_meeting_configuration,
created_timestamp,
media_pipeline_arn,
media_pipeline_id,
sink_arn,
sink_iam_role_arn,
sink_type,
source_arn,
source_type,
sse_aws_key_management_params,
status,
updated_timestamp
FROM aws.chime_sdk_media_pipelines.media_capture_pipelines
WHERE media_pipeline_id = '{{ media_pipeline_id }}' -- required
AND region = '{{ region }}' -- required
;

INSERT examples

Creates a media pipeline.

INSERT INTO aws.chime_sdk_media_pipelines.media_capture_pipelines (
SourceType,
SourceArn,
SinkType,
SinkArn,
ClientRequestToken,
ChimeSdkMeetingConfiguration,
SseAwsKeyManagementParams,
SinkIamRoleArn,
Tags,
region
)
SELECT
'{{ SourceType }}' /* required */,
'{{ SourceArn }}' /* required */,
'{{ SinkType }}' /* required */,
'{{ SinkArn }}' /* required */,
'{{ ClientRequestToken }}',
'{{ ChimeSdkMeetingConfiguration }}',
'{{ SseAwsKeyManagementParams }}',
'{{ SinkIamRoleArn }}',
'{{ Tags }}',
'{{ region }}'
RETURNING
media_capture_pipeline
;

DELETE examples

Deletes the media pipeline.

DELETE FROM aws.chime_sdk_media_pipelines.media_capture_pipelines
WHERE media_pipeline_id = '{{ media_pipeline_id }}' --required
AND region = '{{ region }}' --required
;