stopComposition method

Future<void> stopComposition({
  1. required String arn,
})

Stops and deletes a Composition resource. Any broadcast from the Composition resource is stopped.

May throw AccessDeniedException. May throw ConflictException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ServiceQuotaExceededException. May throw ValidationException.

Parameter arn : ARN of the Composition.

Implementation

Future<void> stopComposition({
  required String arn,
}) async {
  final $payload = <String, dynamic>{
    'arn': arn,
  };
  final response = await _protocol.send(
    payload: $payload,
    method: 'POST',
    requestUri: '/StopComposition',
    exceptionFnMap: _exceptionFns,
  );
}