| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Batch.DeregisterJobDefinition
Description
Deregisters an Batch job definition. Job definitions are permanently deleted after 180 days.
Synopsis
- data DeregisterJobDefinition = DeregisterJobDefinition' {}
- newDeregisterJobDefinition :: Text -> DeregisterJobDefinition
- deregisterJobDefinition_jobDefinition :: Lens' DeregisterJobDefinition Text
- data DeregisterJobDefinitionResponse = DeregisterJobDefinitionResponse' {
- httpStatus :: Int
- newDeregisterJobDefinitionResponse :: Int -> DeregisterJobDefinitionResponse
- deregisterJobDefinitionResponse_httpStatus :: Lens' DeregisterJobDefinitionResponse Int
Creating a Request
data DeregisterJobDefinition Source #
See: newDeregisterJobDefinition smart constructor.
Constructors
| DeregisterJobDefinition' | |
Fields
| |
Instances
newDeregisterJobDefinition Source #
Arguments
| :: Text | |
| -> DeregisterJobDefinition |
Create a value of DeregisterJobDefinition with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
DeregisterJobDefinition, deregisterJobDefinition_jobDefinition - The name and revision (name:revision) or full Amazon Resource Name
(ARN) of the job definition to deregister.
Request Lenses
deregisterJobDefinition_jobDefinition :: Lens' DeregisterJobDefinition Text Source #
The name and revision (name:revision) or full Amazon Resource Name
(ARN) of the job definition to deregister.
Destructuring the Response
data DeregisterJobDefinitionResponse Source #
See: newDeregisterJobDefinitionResponse smart constructor.
Constructors
| DeregisterJobDefinitionResponse' | |
Fields
| |
Instances
newDeregisterJobDefinitionResponse Source #
Create a value of DeregisterJobDefinitionResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:DeregisterJobDefinitionResponse', deregisterJobDefinitionResponse_httpStatus - The response's http status code.
Response Lenses
deregisterJobDefinitionResponse_httpStatus :: Lens' DeregisterJobDefinitionResponse Int Source #
The response's http status code.