Table of Contents
A low-level client representing Amazon Chime SDK Media Pipelines
The Amazon Chime SDK media pipeline APIs in this section allow software developers to create Amazon Chime SDK media pipelines and capture audio, video, events, and data messages from Amazon Chime SDK meetings. For more information about media pipleines, see Amzon Chime SDK media pipelines .
import boto3
client = boto3.client('chime-sdk-media-pipelines')
These are the available methods:
Check if an operation can be paginated.
Creates a media capture pipeline.
See also: AWS API Documentation
Request Syntax
response = client.create_media_capture_pipeline(
SourceType='ChimeSdkMeeting',
SourceArn='string',
SinkType='S3Bucket',
SinkArn='string',
ClientRequestToken='string',
ChimeSdkMeetingConfiguration={
'SourceConfiguration': {
'SelectedVideoStreams': {
'AttendeeIds': [
'string',
],
'ExternalUserIds': [
'string',
]
}
},
'ArtifactsConfiguration': {
'Audio': {
'MuxType': 'AudioOnly'|'AudioWithActiveSpeakerVideo'
},
'Video': {
'State': 'Enabled'|'Disabled',
'MuxType': 'VideoOnly'
},
'Content': {
'State': 'Enabled'|'Disabled',
'MuxType': 'ContentOnly'
}
}
},
Tags=[
{
'Key': 'string',
'Value': 'string'
},
]
)
[REQUIRED]
Source type from which the media artifacts are captured. A Chime SDK Meeting is the only supported source.
[REQUIRED]
ARN of the source from which the media artifacts are captured.
[REQUIRED]
Destination type to which the media artifacts are saved. You must use an S3 bucket.
[REQUIRED]
The ARN of the sink type.
The token assigned to the client making the pipeline request.
This field is autopopulated if not provided.
The configuration for a specified media capture pipeline. SourceType must be ChimeSdkMeeting .
The source configuration for a specified media capture pipline.
The selected video streams to capture for a specified media capture pipeline. The number of video streams can't exceed 25.
The attendee IDs of the streams selected for a media capture pipeline.
The external user IDs of the streams selected for a media capture pipeline.
The configuration for the artifacts in an Amazon Chime SDK meeting.
The configuration for the audio artifacts.
The MUX type of the audio artifact configuration object.
The configuration for the video artifacts.
Indicates whether the video artifact is enabled or disabled.
The MUX type of the video artifact configuration object.
The configuration for the content artifacts.
Indicates whether the content artifact is enabled or disabled.
The MUX type of the artifact configuration.
The list of tags.
Describes a tag applied to a resource.
The key of the tag.
The value of the tag.
dict
Response Syntax
{
'MediaCapturePipeline': {
'MediaPipelineId': 'string',
'MediaPipelineArn': 'string',
'SourceType': 'ChimeSdkMeeting',
'SourceArn': 'string',
'Status': 'Initializing'|'InProgress'|'Failed'|'Stopping'|'Stopped',
'SinkType': 'S3Bucket',
'SinkArn': 'string',
'CreatedTimestamp': datetime(2015, 1, 1),
'UpdatedTimestamp': datetime(2015, 1, 1),
'ChimeSdkMeetingConfiguration': {
'SourceConfiguration': {
'SelectedVideoStreams': {
'AttendeeIds': [
'string',
],
'ExternalUserIds': [
'string',
]
}
},
'ArtifactsConfiguration': {
'Audio': {
'MuxType': 'AudioOnly'|'AudioWithActiveSpeakerVideo'
},
'Video': {
'State': 'Enabled'|'Disabled',
'MuxType': 'VideoOnly'
},
'Content': {
'State': 'Enabled'|'Disabled',
'MuxType': 'ContentOnly'
}
}
}
}
}
Response Structure
(dict) --
MediaCapturePipeline (dict) --
A media capture pipeline object, the ID, source type, source ARN, sink type, and sink ARN of a media capture pipeline object.
MediaPipelineId (string) --
The ID of a media capture pipeline.
MediaPipelineArn (string) --
The ARN of a media capture pipeline.
SourceType (string) --
Source type from which media artifacts are saved. You must use ChimeMeeting .
SourceArn (string) --
ARN of the source from which the media artifacts are saved.
Status (string) --
The status of the media capture pipeline.
SinkType (string) --
Destination type to which the media artifacts are saved. You must use an S3 Bucket.
SinkArn (string) --
ARN of the destination to which the media artifacts are saved.
CreatedTimestamp (datetime) --
The time at which the capture pipeline was created, in ISO 8601 format.
UpdatedTimestamp (datetime) --
The time at which the capture pipeline was updated, in ISO 8601 format.
ChimeSdkMeetingConfiguration (dict) --
The configuration for a specified media capture pipeline. SourceType must be ChimeSdkMeeting .
SourceConfiguration (dict) --
The source configuration for a specified media capture pipline.
SelectedVideoStreams (dict) --
The selected video streams to capture for a specified media capture pipeline. The number of video streams can't exceed 25.
AttendeeIds (list) --
The attendee IDs of the streams selected for a media capture pipeline.
ExternalUserIds (list) --
The external user IDs of the streams selected for a media capture pipeline.
ArtifactsConfiguration (dict) --
The configuration for the artifacts in an Amazon Chime SDK meeting.
Audio (dict) --
The configuration for the audio artifacts.
MuxType (string) --
The MUX type of the audio artifact configuration object.
Video (dict) --
The configuration for the video artifacts.
State (string) --
Indicates whether the video artifact is enabled or disabled.
MuxType (string) --
The MUX type of the video artifact configuration object.
Content (dict) --
The configuration for the content artifacts.
State (string) --
Indicates whether the content artifact is enabled or disabled.
MuxType (string) --
The MUX type of the artifact configuration.
Exceptions
Deletes the media capture pipeline.
See also: AWS API Documentation
Request Syntax
response = client.delete_media_capture_pipeline(
MediaPipelineId='string'
)
[REQUIRED]
The ID of the media capture pipeline being deleted.
Exceptions
Gets an existing media capture pipeline.
See also: AWS API Documentation
Request Syntax
response = client.get_media_capture_pipeline(
MediaPipelineId='string'
)
[REQUIRED]
The ID of the pipeline that you want to get.
{
'MediaCapturePipeline': {
'MediaPipelineId': 'string',
'MediaPipelineArn': 'string',
'SourceType': 'ChimeSdkMeeting',
'SourceArn': 'string',
'Status': 'Initializing'|'InProgress'|'Failed'|'Stopping'|'Stopped',
'SinkType': 'S3Bucket',
'SinkArn': 'string',
'CreatedTimestamp': datetime(2015, 1, 1),
'UpdatedTimestamp': datetime(2015, 1, 1),
'ChimeSdkMeetingConfiguration': {
'SourceConfiguration': {
'SelectedVideoStreams': {
'AttendeeIds': [
'string',
],
'ExternalUserIds': [
'string',
]
}
},
'ArtifactsConfiguration': {
'Audio': {
'MuxType': 'AudioOnly'|'AudioWithActiveSpeakerVideo'
},
'Video': {
'State': 'Enabled'|'Disabled',
'MuxType': 'VideoOnly'
},
'Content': {
'State': 'Enabled'|'Disabled',
'MuxType': 'ContentOnly'
}
}
}
}
}
Response Structure
The media capture pipeline object.
The ID of a media capture pipeline.
The ARN of a media capture pipeline.
Source type from which media artifacts are saved. You must use ChimeMeeting .
ARN of the source from which the media artifacts are saved.
The status of the media capture pipeline.
Destination type to which the media artifacts are saved. You must use an S3 Bucket.
ARN of the destination to which the media artifacts are saved.
The time at which the capture pipeline was created, in ISO 8601 format.
The time at which the capture pipeline was updated, in ISO 8601 format.
The configuration for a specified media capture pipeline. SourceType must be ChimeSdkMeeting .
The source configuration for a specified media capture pipline.
The selected video streams to capture for a specified media capture pipeline. The number of video streams can't exceed 25.
The attendee IDs of the streams selected for a media capture pipeline.
The external user IDs of the streams selected for a media capture pipeline.
The configuration for the artifacts in an Amazon Chime SDK meeting.
The configuration for the audio artifacts.
The MUX type of the audio artifact configuration object.
The configuration for the video artifacts.
Indicates whether the video artifact is enabled or disabled.
The MUX type of the video artifact configuration object.
The configuration for the content artifacts.
Indicates whether the content artifact is enabled or disabled.
The MUX type of the artifact configuration.
Exceptions
Create a paginator for an operation.
Returns an object that can wait for some condition.
Returns a list of media capture pipelines.
See also: AWS API Documentation
Request Syntax
response = client.list_media_capture_pipelines(
NextToken='string',
MaxResults=123
)
dict
Response Syntax
{
'MediaCapturePipelines': [
{
'MediaPipelineId': 'string',
'MediaPipelineArn': 'string'
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
MediaCapturePipelines (list) --
The media capture pipeline objects in the list.
(dict) --
A summary of a media capture pipeline.
MediaPipelineId (string) --
The ID of a media capture pipeline.
MediaPipelineArn (string) --
The ARN of a media capture pipeline.
NextToken (string) --
The token used to retrieve the next page of results.
Exceptions
Lists the tags applied to an Amazon Chime SDK media capture pipeline.
See also: AWS API Documentation
Request Syntax
response = client.list_tags_for_resource(
ResourceARN='string'
)
[REQUIRED]
The resource ARN.
{
'Tags': [
{
'Key': 'string',
'Value': 'string'
},
]
}
Response Structure
The tag key-value pairs.
Describes a tag applied to a resource.
The key of the tag.
The value of the tag.
Exceptions
Applies the specified tags to the specified Amazon Chime SDK media capture pipeline.
See also: AWS API Documentation
Request Syntax
response = client.tag_resource(
ResourceARN='string',
Tags=[
{
'Key': 'string',
'Value': 'string'
},
]
)
[REQUIRED]
The resource ARN.
[REQUIRED]
The tag key-value pairs.
Describes a tag applied to a resource.
The key of the tag.
The value of the tag.
dict
Response Syntax
{}
Response Structure
Exceptions
Removes the specified tags from the specified Amazon Chime SDK media capture pipeline.
See also: AWS API Documentation
Request Syntax
response = client.untag_resource(
ResourceARN='string',
TagKeys=[
'string',
]
)
[REQUIRED]
The resource ARN.
[REQUIRED]
The tag keys.
dict
Response Syntax
{}
Response Structure
Exceptions
The available paginators are: