| Copyright | (c) 2013-2015 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.ImportExport.CreateJob
Description
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.
See: AWS API Reference for CreateJob.
- createJob :: JobType -> Text -> Bool -> CreateJob
- data CreateJob
- cjAPIVersion :: Lens' CreateJob (Maybe Text)
- cjManifestAddendum :: Lens' CreateJob (Maybe Text)
- cjJobType :: Lens' CreateJob JobType
- cjManifest :: Lens' CreateJob Text
- cjValidateOnly :: Lens' CreateJob Bool
- createJobResponse :: Int -> CreateJobResponse
- data CreateJobResponse
- cjrsSignature :: Lens' CreateJobResponse (Maybe Text)
- cjrsJobType :: Lens' CreateJobResponse (Maybe JobType)
- cjrsJobId :: Lens' CreateJobResponse (Maybe Text)
- cjrsSignatureFileContents :: Lens' CreateJobResponse (Maybe Text)
- cjrsWarningMessage :: Lens' CreateJobResponse (Maybe Text)
- cjrsArtifactList :: Lens' CreateJobResponse [Artifact]
- cjrsStatus :: Lens' CreateJobResponse Int
Creating a Request
Creates a value of CreateJob with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
Input structure for the CreateJob operation.
See: createJob smart constructor.
Request Lenses
cjManifest :: Lens' CreateJob Text Source
Undocumented member.
cjValidateOnly :: Lens' CreateJob Bool Source
Undocumented member.
Destructuring the Response
Arguments
| :: Int | |
| -> CreateJobResponse |
Creates a value of CreateJobResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CreateJobResponse Source
Output structure for the CreateJob operation.
See: createJobResponse smart constructor.
Response Lenses
cjrsSignature :: Lens' CreateJobResponse (Maybe Text) Source
Undocumented member.
cjrsJobType :: Lens' CreateJobResponse (Maybe JobType) Source
Undocumented member.
cjrsSignatureFileContents :: Lens' CreateJobResponse (Maybe Text) Source
Undocumented member.
cjrsWarningMessage :: Lens' CreateJobResponse (Maybe Text) Source
Undocumented member.
cjrsArtifactList :: Lens' CreateJobResponse [Artifact] Source
Undocumented member.
cjrsStatus :: Lens' CreateJobResponse Int Source
The response status code.