Amazon.Batch.AmazonBatchClient.DeleteComputeEnvironment C# (CSharp) Метод

DeleteComputeEnvironment() публичный Метод

Deletes an AWS Batch compute environment.

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.

/// These errors are usually caused by a client action, such as using an action or resource /// on behalf of a user that doesn't have permission to use the action or resource, or /// specifying an identifier that is not valid. /// /// These errors are usually caused by a server issue. ///
public DeleteComputeEnvironment ( DeleteComputeEnvironmentRequest request ) : DeleteComputeEnvironmentResponse
request Amazon.Batch.Model.DeleteComputeEnvironmentRequest Container for the necessary parameters to execute the DeleteComputeEnvironment service method.
Результат DeleteComputeEnvironmentResponse
        public DeleteComputeEnvironmentResponse DeleteComputeEnvironment(DeleteComputeEnvironmentRequest request)
        {
            var marshaller = new DeleteComputeEnvironmentRequestMarshaller();
            var unmarshaller = DeleteComputeEnvironmentResponseUnmarshaller.Instance;

            return Invoke<DeleteComputeEnvironmentRequest,DeleteComputeEnvironmentResponse>(request, marshaller, unmarshaller);
        }