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 |
You use this operation to change the parameters specified in the original manifest file by supplying a new manifest file. The manifest file attached to this request replaces the original manifest file. You can only use the operation after a CreateJob request but before the data transfer starts and you can only use it on jobs you own.
Synopsis
- data UpdateJob = UpdateJob' {}
- newUpdateJob :: Text -> Text -> JobType -> Bool -> UpdateJob
- updateJob_aPIVersion :: Lens' UpdateJob (Maybe Text)
- updateJob_jobId :: Lens' UpdateJob Text
- updateJob_manifest :: Lens' UpdateJob Text
- updateJob_jobType :: Lens' UpdateJob JobType
- updateJob_validateOnly :: Lens' UpdateJob Bool
- data UpdateJobResponse = UpdateJobResponse' {
- success :: Maybe Bool
- warningMessage :: Maybe Text
- artifactList :: Maybe [Artifact]
- httpStatus :: Int
- newUpdateJobResponse :: Int -> UpdateJobResponse
- updateJobResponse_success :: Lens' UpdateJobResponse (Maybe Bool)
- updateJobResponse_warningMessage :: Lens' UpdateJobResponse (Maybe Text)
- updateJobResponse_artifactList :: Lens' UpdateJobResponse (Maybe [Artifact])
- updateJobResponse_httpStatus :: Lens' UpdateJobResponse Int
Creating a Request
Input structure for the UpateJob operation.
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:aPIVersion:UpdateJob'
, updateJob_aPIVersion
- Undocumented member.
$sel:jobId:UpdateJob'
, updateJob_jobId
- Undocumented member.
$sel:manifest:UpdateJob'
, updateJob_manifest
- Undocumented member.
$sel:jobType:UpdateJob'
, updateJob_jobType
- Undocumented member.
$sel:validateOnly:UpdateJob'
, updateJob_validateOnly
- Undocumented member.
Request Lenses
Destructuring the Response
data UpdateJobResponse Source #
Output structure for the UpateJob operation.
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:success:UpdateJobResponse'
, updateJobResponse_success
- Undocumented member.
$sel:warningMessage:UpdateJobResponse'
, updateJobResponse_warningMessage
- Undocumented member.
$sel:artifactList:UpdateJobResponse'
, updateJobResponse_artifactList
- Undocumented member.
$sel:httpStatus:UpdateJobResponse'
, updateJobResponse_httpStatus
- The response's http status code.
Response Lenses
updateJobResponse_success :: Lens' UpdateJobResponse (Maybe Bool) Source #
Undocumented member.
updateJobResponse_warningMessage :: Lens' UpdateJobResponse (Maybe Text) Source #
Undocumented member.
updateJobResponse_artifactList :: Lens' UpdateJobResponse (Maybe [Artifact]) Source #
Undocumented member.
updateJobResponse_httpStatus :: Lens' UpdateJobResponse Int Source #
The response's http status code.