getMediaCapturePipeline method
Future<GetMediaCapturePipelineResponse>
getMediaCapturePipeline({
- required String mediaPipelineId,
Gets an existing media pipeline.
May throw BadRequestException.
May throw ForbiddenException.
May throw NotFoundException.
May throw ServiceFailureException.
May throw ServiceUnavailableException.
May throw ThrottledClientException.
May throw UnauthorizedClientException.
Parameter mediaPipelineId :
The ID of the pipeline that you want to get.
Implementation
Future<GetMediaCapturePipelineResponse> getMediaCapturePipeline({
required String mediaPipelineId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/sdk-media-capture-pipelines/${Uri.encodeComponent(mediaPipelineId)}',
exceptionFnMap: _exceptionFns,
);
return GetMediaCapturePipelineResponse.fromJson(response);
}