paws.compute (version 0.1.0)

batch_delete_compute_environment: Deletes an AWS Batch compute environment

Description

Deletes an AWS Batch compute environment.

Usage

batch_delete_compute_environment(computeEnvironment)

Arguments

computeEnvironment

[required] The name or Amazon Resource Name (ARN) of the compute environment to delete.

Request syntax

svc$delete_compute_environment(
  computeEnvironment = "string"
)

Details

Before you can delete a compute environment, you must set its state to DISABLED with the UpdateComputeEnvironment API operation and disassociate it from any job queues with the UpdateJobQueue API operation.

Examples

Run this code
# NOT RUN {
# This example deletes the P2OnDemand compute environment.
# }
# NOT RUN {
svc$delete_compute_environment(
  computeEnvironment = "P2OnDemand"
)
# }
# NOT RUN {
# }

Run the code above in your browser using DataCamp Workspace