delete_scheduling_policy

delete_scheduling_policy(**kwargs)

Deletes the specified scheduling policy.

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

See also: AWS API Documentation

Request Syntax

response = client.delete_scheduling_policy(
    arn='string'
)
Parameters
arn (string) --

[REQUIRED]

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

Return type
dict
Returns
Response Syntax
{}

Response Structure

  • (dict) --

Exceptions

  • Batch.Client.exceptions.ClientException
  • Batch.Client.exceptions.ServerException