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 |
This operation initiates the process of scheduling an upload or download of your data. You include in the request a manifest that describes the data transfer specifics. The response to the request includes a job ID, which you can use in other operations, a signature that you use to identify your storage device, and the address where you should ship your storage device.
Synopsis
- data CreateJob = CreateJob' {
- aPIVersion :: Maybe Text
- manifestAddendum :: Maybe Text
- jobType :: JobType
- manifest :: Text
- validateOnly :: Bool
- newCreateJob :: JobType -> Text -> Bool -> CreateJob
- createJob_aPIVersion :: Lens' CreateJob (Maybe Text)
- createJob_manifestAddendum :: Lens' CreateJob (Maybe Text)
- createJob_jobType :: Lens' CreateJob JobType
- createJob_manifest :: Lens' CreateJob Text
- createJob_validateOnly :: Lens' CreateJob Bool
- data CreateJobResponse = CreateJobResponse' {
- signature :: Maybe Text
- jobType :: Maybe JobType
- jobId :: Maybe Text
- signatureFileContents :: Maybe Text
- warningMessage :: Maybe Text
- artifactList :: Maybe [Artifact]
- httpStatus :: Int
- newCreateJobResponse :: Int -> CreateJobResponse
- createJobResponse_signature :: Lens' CreateJobResponse (Maybe Text)
- createJobResponse_jobType :: Lens' CreateJobResponse (Maybe JobType)
- createJobResponse_jobId :: Lens' CreateJobResponse (Maybe Text)
- createJobResponse_signatureFileContents :: Lens' CreateJobResponse (Maybe Text)
- createJobResponse_warningMessage :: Lens' CreateJobResponse (Maybe Text)
- createJobResponse_artifactList :: Lens' CreateJobResponse (Maybe [Artifact])
- createJobResponse_httpStatus :: Lens' CreateJobResponse Int
Creating a Request
Input structure for the CreateJob operation.
See: newCreateJob
smart constructor.
CreateJob' | |
|
Instances
Create a value of CreateJob
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:CreateJob'
, createJob_aPIVersion
- Undocumented member.
$sel:manifestAddendum:CreateJob'
, createJob_manifestAddendum
- Undocumented member.
$sel:jobType:CreateJob'
, createJob_jobType
- Undocumented member.
$sel:manifest:CreateJob'
, createJob_manifest
- Undocumented member.
$sel:validateOnly:CreateJob'
, createJob_validateOnly
- Undocumented member.
Request Lenses
Destructuring the Response
data CreateJobResponse Source #
Output structure for the CreateJob operation.
See: newCreateJobResponse
smart constructor.
CreateJobResponse' | |
|
Instances
Create a value of CreateJobResponse
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:signature:CreateJobResponse'
, createJobResponse_signature
- Undocumented member.
$sel:jobType:CreateJob'
, createJobResponse_jobType
- Undocumented member.
$sel:jobId:CreateJobResponse'
, createJobResponse_jobId
- Undocumented member.
$sel:signatureFileContents:CreateJobResponse'
, createJobResponse_signatureFileContents
- Undocumented member.
$sel:warningMessage:CreateJobResponse'
, createJobResponse_warningMessage
- Undocumented member.
$sel:artifactList:CreateJobResponse'
, createJobResponse_artifactList
- Undocumented member.
$sel:httpStatus:CreateJobResponse'
, createJobResponse_httpStatus
- The response's http status code.
Response Lenses
createJobResponse_signature :: Lens' CreateJobResponse (Maybe Text) Source #
Undocumented member.
createJobResponse_jobType :: Lens' CreateJobResponse (Maybe JobType) Source #
Undocumented member.
createJobResponse_jobId :: Lens' CreateJobResponse (Maybe Text) Source #
Undocumented member.
createJobResponse_signatureFileContents :: Lens' CreateJobResponse (Maybe Text) Source #
Undocumented member.
createJobResponse_warningMessage :: Lens' CreateJobResponse (Maybe Text) Source #
Undocumented member.
createJobResponse_artifactList :: Lens' CreateJobResponse (Maybe [Artifact]) Source #
Undocumented member.
createJobResponse_httpStatus :: Lens' CreateJobResponse Int Source #
The response's http status code.