get_media_pipeline
(**kwargs)¶Gets an existing media pipeline.
See also: AWS API Documentation
Request Syntax
response = client.get_media_pipeline(
MediaPipelineId='string'
)
[REQUIRED]
The ID of the pipeline that you want to get.
{
'MediaPipeline': {
'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'|'AudioWithCompositedVideo'
},
'Video': {
'State': 'Enabled'|'Disabled',
'MuxType': 'VideoOnly'
},
'Content': {
'State': 'Enabled'|'Disabled',
'MuxType': 'ContentOnly'
},
'CompositedVideo': {
'Layout': 'GridView',
'Resolution': 'HD'|'FHD',
'GridViewConfiguration': {
'ContentShareLayout': 'PresenterOnly'|'Horizontal'|'Vertical',
'PresenterOnlyConfiguration': {
'PresenterPosition': 'TopLeft'|'TopRight'|'BottomLeft'|'BottomRight'
}
}
}
}
}
},
'MediaLiveConnectorPipeline': {
'Sources': [
{
'SourceType': 'ChimeSdkMeeting',
'ChimeSdkMeetingLiveConnectorConfiguration': {
'Arn': 'string',
'MuxType': 'AudioWithCompositedVideo'|'AudioWithActiveSpeakerVideo',
'CompositedVideo': {
'Layout': 'GridView',
'Resolution': 'HD'|'FHD',
'GridViewConfiguration': {
'ContentShareLayout': 'PresenterOnly'|'Horizontal'|'Vertical',
'PresenterOnlyConfiguration': {
'PresenterPosition': 'TopLeft'|'TopRight'|'BottomLeft'|'BottomRight'
}
}
},
'SourceConfiguration': {
'SelectedVideoStreams': {
'AttendeeIds': [
'string',
],
'ExternalUserIds': [
'string',
]
}
}
}
},
],
'Sinks': [
{
'SinkType': 'RTMP',
'RTMPConfiguration': {
'Url': 'string',
'AudioChannels': 'Stereo'|'Mono',
'AudioSampleRate': 'string'
}
},
],
'MediaPipelineId': 'string',
'MediaPipelineArn': 'string',
'Status': 'Initializing'|'InProgress'|'Failed'|'Stopping'|'Stopped',
'CreatedTimestamp': datetime(2015, 1, 1),
'UpdatedTimestamp': datetime(2015, 1, 1)
},
'MediaConcatenationPipeline': {
'MediaPipelineId': 'string',
'MediaPipelineArn': 'string',
'Sources': [
{
'Type': 'MediaCapturePipeline',
'MediaCapturePipelineSourceConfiguration': {
'MediaPipelineArn': 'string',
'ChimeSdkMeetingConfiguration': {
'ArtifactsConfiguration': {
'Audio': {
'State': 'Enabled'
},
'Video': {
'State': 'Enabled'|'Disabled'
},
'Content': {
'State': 'Enabled'|'Disabled'
},
'DataChannel': {
'State': 'Enabled'|'Disabled'
},
'TranscriptionMessages': {
'State': 'Enabled'|'Disabled'
},
'MeetingEvents': {
'State': 'Enabled'|'Disabled'
},
'CompositedVideo': {
'State': 'Enabled'|'Disabled'
}
}
}
}
},
],
'Sinks': [
{
'Type': 'S3Bucket',
'S3BucketSinkConfiguration': {
'Destination': 'string'
}
},
],
'Status': 'Initializing'|'InProgress'|'Failed'|'Stopping'|'Stopped',
'CreatedTimestamp': datetime(2015, 1, 1),
'UpdatedTimestamp': datetime(2015, 1, 1)
}
}
}
Response Structure
The media pipeline object.
A pipeline that enables users to capture audio and video.
The ID of a media pipeline.
The ARN of the 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 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 pipeline was created, in ISO 8601 format.
The time at which the pipeline was updated, in ISO 8601 format.
The configuration for a specified media pipeline. SourceType
must be ChimeSdkMeeting
.
The source configuration for a specified media pipline.
The selected video streams for a specified media pipeline. The number of video streams can't exceed 25.
The attendee IDs of the streams selected for a media pipeline.
The external user IDs of the streams selected for a media 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.
Enables video compositing.
The layout setting, such as GridView
in the configuration object.
The video resolution setting in the configuration object. Default: HD at 1280 x 720. FHD resolution: 1920 x 1080.
The GridView
configuration setting.
Defines the layout of the video tiles when content sharing is enabled.
Defines the configuration options for a presenter only video tile.
Defines the position of the presenter video tile. Default: TopRight
.
The connector pipeline of the media pipeline.
The connector pipeline's data sources.
The data source configuration object of a streaming media pipeline.
The source configuration's media source type.
The configuration settings of the connector pipeline.
The configuration object's Chime SDK meeting ARN.
The configuration object's multiplex type.
The media pipeline's composited video.
The layout setting, such as GridView
in the configuration object.
The video resolution setting in the configuration object. Default: HD at 1280 x 720. FHD resolution: 1920 x 1080.
The GridView
configuration setting.
Defines the layout of the video tiles when content sharing is enabled.
Defines the configuration options for a presenter only video tile.
Defines the position of the presenter video tile. Default: TopRight
.
The source configuration settings of the media pipeline's configuration object.
The selected video streams for a specified media pipeline. The number of video streams can't exceed 25.
The attendee IDs of the streams selected for a media pipeline.
The external user IDs of the streams selected for a media pipeline.
The connector pipeline's data sinks.
The media pipeline's sink configuration settings.
The sink configuration's sink type.
The sink configuration's RTMP configuration setttings.
The URL of the RTMP configuration.
The audio channels set for the RTMP configuration
The audio sample rate set for the RTMP configuration. Default: 48000.
The connector pipeline's ID.
The connector pipeline's ARN.
The connector pipeline's status.
Thetime at which the connector pipeline was created.
The time at which the connector pipeline was last updated.
The media concatenation pipeline in a media pipeline.
The ID of the media pipeline being concatenated.
The ARN of the media pipeline that you specify in the SourceConfiguration
object.
The data sources being concatnated.
The source type and media pipeline configuration settings in a configuration object.
The type of concatenation source in a configuration object.
The concatenation settings for the media pipeline in a configuration object.
The media pipeline ARN in the configuration object of a media capture pipeline.
The meeting configuration settings in a media capture pipeline configuration object.
The configuration for the artifacts in an Amazon Chime SDK meeting concatenation.
The configuration for the audio artifacts concatenation.
Enables the name object, where name is the name of the configuration object, such as AudioConcatenation
.
The configuration for the video artifacts concatenation.
Enables or disables the configuration object.
The configuration for the content artifacts concatenation.
Enables or disables the configuration object.
The configuration for the data channel artifacts concatenation.
Enables or disables the configuration object.
The configuration for the transcription messages artifacts concatenation.
Enables or disables the configuration object.
The configuration for the meeting events artifacts concatenation.
Enables or disables the configuration object.
The configuration for the composited video artifacts concatenation.
Enables or disables the configuration object.
The data sinks of the concatenation pipeline.
The data sink of the configuration object.
The type of data sink in the configuration object.
The configuration settings for an Amazon S3 bucket sink.
The destination URL of the S3 bucket.
The status of the concatenation pipeline.
The time at which the concatenation pipeline was created.
The time at which the concatenation pipeline was last updated.
Exceptions
ChimeSDKMediaPipelines.Client.exceptions.BadRequestException
ChimeSDKMediaPipelines.Client.exceptions.ForbiddenException
ChimeSDKMediaPipelines.Client.exceptions.UnauthorizedClientException
ChimeSDKMediaPipelines.Client.exceptions.ThrottledClientException
ChimeSDKMediaPipelines.Client.exceptions.NotFoundException
ChimeSDKMediaPipelines.Client.exceptions.ServiceUnavailableException
ChimeSDKMediaPipelines.Client.exceptions.ServiceFailureException