| Copyright | (c) 2013-2018 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 |
| 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.
- 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]
- cjrsResponseStatus :: 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:
cjAPIVersion- Undocumented member.cjManifestAddendum- Undocumented member.cjJobType- Undocumented member.cjManifest- Undocumented member.cjValidateOnly- Undocumented member.
Input structure for the CreateJob operation.
See: createJob smart constructor.
Instances
Request Lenses
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:
cjrsSignature- Undocumented member.cjrsJobType- Undocumented member.cjrsJobId- Undocumented member.cjrsSignatureFileContents- Undocumented member.cjrsWarningMessage- Undocumented member.cjrsArtifactList- Undocumented member.cjrsResponseStatus- -- | The response status code.
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.
cjrsResponseStatus :: Lens' CreateJobResponse Int Source #
- - | The response status code.