| 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.Snowball.GetJobManifest
Description
Returns a link to an Amazon S3 presigned URL for the manifest file associated with the specified JobId value. You can access the manifest file for up to 60 minutes after this request has been made. To access the manifest file after 60 minutes have passed, you'll have to make another call to the GetJobManifest action.
The manifest is an encrypted file that you can download after your job enters the WithCustomer status. The manifest is decrypted by using the UnlockCode code value, when you pass both values to the Snowball through the Snowball client when the client is started for the first time.
As a best practice, we recommend that you don't save a copy of an UnlockCode value in the same location as the manifest file for that job. Saving these separately helps prevent unauthorized parties from gaining access to the Snowball associated with that job.
The credentials of a given job, including its manifest file and unlock code, expire 90 days after the job is created.
Creating a Request
Arguments
| :: Text | |
| -> GetJobManifest |
Creates a value of GetJobManifest with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gjmJobId- The ID for a job that you want to get the manifest file for, for exampleJID123e4567-e89b-12d3-a456-426655440000.
data GetJobManifest Source #
See: getJobManifest smart constructor.
Instances
Request Lenses
gjmJobId :: Lens' GetJobManifest Text Source #
The ID for a job that you want to get the manifest file for, for example JID123e4567-e89b-12d3-a456-426655440000 .
Destructuring the Response
getJobManifestResponse Source #
Arguments
| :: Int | |
| -> GetJobManifestResponse |
Creates a value of GetJobManifestResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gjmrsManifestURI- The Amazon S3 presigned URL for the manifest file associated with the specifiedJobIdvalue.gjmrsResponseStatus- -- | The response status code.
data GetJobManifestResponse Source #
See: getJobManifestResponse smart constructor.
Response Lenses
gjmrsManifestURI :: Lens' GetJobManifestResponse (Maybe Text) Source #
The Amazon S3 presigned URL for the manifest file associated with the specified JobId value.
gjmrsResponseStatus :: Lens' GetJobManifestResponse Int Source #
- - | The response status code.