deleteMediaCapturePipeline method

Future<void> deleteMediaCapturePipeline({
  1. required String mediaPipelineId,
})

Deletes the 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 media pipeline being deleted.

Implementation

Future<void> deleteMediaCapturePipeline({
  required String mediaPipelineId,
}) async {
  await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri:
        '/sdk-media-capture-pipelines/${Uri.encodeComponent(mediaPipelineId)}',
    exceptionFnMap: _exceptionFns,
  );
}