Copyright | (c) 2013-2021 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 |
Updates an existing job definition.
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.
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:
$sel:jobName: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.
Request Lenses
updateJob_jobUpdate :: Lens' UpdateJob JobUpdate Source #
Specifies the values with which to update the job definition.
Destructuring the Response
data UpdateJobResponse Source #
See: newUpdateJobResponse
smart constructor.
UpdateJobResponse' | |
|
Instances
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:
$sel:jobName: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.