deleteSchedulingPolicy method

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

Deletes the specified scheduling policy.

You can't delete a scheduling policy that's used in any job queues.

May throw ClientException. May throw ServerException.

Parameter arn : The Amazon Resource Name (ARN) of the scheduling policy to delete.

Implementation

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