| Copyright | (c) 2013-2018 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.Batch.DeleteComputeEnvironment
Description
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.
- deleteComputeEnvironment :: Text -> DeleteComputeEnvironment
- data DeleteComputeEnvironment
- dceComputeEnvironment :: Lens' DeleteComputeEnvironment Text
- deleteComputeEnvironmentResponse :: Int -> DeleteComputeEnvironmentResponse
- data DeleteComputeEnvironmentResponse
- dcersResponseStatus :: Lens' DeleteComputeEnvironmentResponse Int
Creating a Request
deleteComputeEnvironment Source #
Arguments
| :: Text | |
| -> DeleteComputeEnvironment |
Creates a value of DeleteComputeEnvironment with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dceComputeEnvironment- The name or Amazon Resource Name (ARN) of the compute environment to delete.
data DeleteComputeEnvironment Source #
See: deleteComputeEnvironment smart constructor.
Instances
Request Lenses
dceComputeEnvironment :: Lens' DeleteComputeEnvironment Text Source #
The name or Amazon Resource Name (ARN) of the compute environment to delete.
Destructuring the Response
deleteComputeEnvironmentResponse Source #
Arguments
| :: Int | |
| -> DeleteComputeEnvironmentResponse |
Creates a value of DeleteComputeEnvironmentResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dcersResponseStatus- -- | The response status code.
data DeleteComputeEnvironmentResponse Source #
See: deleteComputeEnvironmentResponse smart constructor.
Instances
Response Lenses
dcersResponseStatus :: Lens' DeleteComputeEnvironmentResponse Int Source #
- - | The response status code.