getMediaPipeline method

Future<GetMediaPipelineResponse> getMediaPipeline({
  1. 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<GetMediaPipelineResponse> getMediaPipeline({
  required String mediaPipelineId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri:
        '/sdk-media-pipelines/${Uri.encodeComponent(mediaPipelineId)}',
    exceptionFnMap: _exceptionFns,
  );
  return GetMediaPipelineResponse.fromJson(response);
}