Batch / Client / delete_service_environment

delete_service_environment

Batch.Client.delete_service_environment(**kwargs)

Deletes a Service environment. Before you can delete a service environment, you must first set its state to DISABLED with the UpdateServiceEnvironment API operation and disassociate it from any job queues with the UpdateJobQueue API operation.

See also: AWS API Documentation

Request Syntax

response = client.delete_service_environment(
    serviceEnvironment='string'
)
Parameters:

serviceEnvironment (string) –

[REQUIRED]

The name or ARN of the service environment to delete.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions