Copyright | (c) 2013-2017 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 |
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 #
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.
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 #
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.
Response Lenses
dcersResponseStatus :: Lens' DeleteComputeEnvironmentResponse Int Source #
- - | The response status code.