| 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.Glue.UpdateJob
Description
Updates an existing job definition. The previous job definition is completely overwritten by this information.
Synopsis
- data UpdateJob = UpdateJob' {}
- newUpdateJob :: Text -> JobUpdate -> UpdateJob
- updateJob_jobName :: Lens' UpdateJob Text
- updateJob_jobUpdate :: Lens' UpdateJob JobUpdate
- data UpdateJobResponse = UpdateJobResponse' {
- jobName :: Maybe Text
- httpStatus :: Int
- newUpdateJobResponse :: Int -> UpdateJobResponse
- updateJobResponse_jobName :: Lens' UpdateJobResponse (Maybe Text)
- updateJobResponse_httpStatus :: Lens' UpdateJobResponse Int
Creating a Request
See: newUpdateJob smart constructor.
Constructors
| UpdateJob' | |
Instances
Create a value of UpdateJob 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:
UpdateJob, updateJob_jobName - The name of the job definition to update.
$sel:jobUpdate:UpdateJob', updateJob_jobUpdate - Specifies the values with which to update the job definition.
Unspecified configuration is removed or reset to default values.
Request Lenses
updateJob_jobUpdate :: Lens' UpdateJob JobUpdate Source #
Specifies the values with which to update the job definition. Unspecified configuration is removed or reset to default values.
Destructuring the Response
data UpdateJobResponse Source #
See: newUpdateJobResponse smart constructor.
Constructors
| UpdateJobResponse' | |
Fields
| |
Instances
Arguments
| :: Int | |
| -> UpdateJobResponse |
Create a value of UpdateJobResponse 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:
UpdateJob, updateJobResponse_jobName - Returns the name of the updated job definition.
$sel:httpStatus:UpdateJobResponse', updateJobResponse_httpStatus - The response's http status code.
Response Lenses
updateJobResponse_jobName :: Lens' UpdateJobResponse (Maybe Text) Source #
Returns the name of the updated job definition.
updateJobResponse_httpStatus :: Lens' UpdateJobResponse Int Source #
The response's http status code.