| 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.ImportExport.UpdateJob
Description
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' {
- artifactList :: Maybe [Artifact]
- success :: Maybe Bool
- warningMessage :: Maybe Text
- httpStatus :: Int
- newUpdateJobResponse :: Int -> UpdateJobResponse
- updateJobResponse_artifactList :: Lens' UpdateJobResponse (Maybe [Artifact])
- updateJobResponse_success :: Lens' UpdateJobResponse (Maybe Bool)
- updateJobResponse_warningMessage :: Lens' UpdateJobResponse (Maybe Text)
- updateJobResponse_httpStatus :: Lens' UpdateJobResponse Int
Creating a Request
Input structure for the UpateJob operation.
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:
$sel:aPIVersion:UpdateJob', updateJob_aPIVersion - Undocumented member.
UpdateJob, updateJob_jobId - Undocumented member.
$sel:manifest:UpdateJob', updateJob_manifest - Undocumented member.
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.
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:
$sel:artifactList:UpdateJobResponse', updateJobResponse_artifactList - Undocumented member.
$sel:success:UpdateJobResponse', updateJobResponse_success - Undocumented member.
$sel:warningMessage:UpdateJobResponse', updateJobResponse_warningMessage - Undocumented member.
$sel:httpStatus:UpdateJobResponse', updateJobResponse_httpStatus - The response's http status code.
Response Lenses
updateJobResponse_artifactList :: Lens' UpdateJobResponse (Maybe [Artifact]) Source #
Undocumented member.
updateJobResponse_success :: Lens' UpdateJobResponse (Maybe Bool) Source #
Undocumented member.
updateJobResponse_warningMessage :: Lens' UpdateJobResponse (Maybe Text) Source #
Undocumented member.
updateJobResponse_httpStatus :: Lens' UpdateJobResponse Int Source #
The response's http status code.