deletePlaybackRestrictionPolicy method

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

Deletes the specified playback restriction policy.

May throw AccessDeniedException. May throw ConflictException. May throw PendingVerification. May throw ResourceNotFoundException. May throw ValidationException.

Parameter arn : ARN of the playback restriction policy to be deleted.

Implementation

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