amazonka-snowball-1.6.0: Amazon Import/Export Snowball SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.Snowball.GetJobManifest

Contents

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.

Synopsis

Creating a Request

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 example JID123e4567-e89b-12d3-a456-426655440000 .

data GetJobManifest #

See: getJobManifest smart constructor.

Instances

Eq GetJobManifest # 
Data GetJobManifest # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GetJobManifest -> c GetJobManifest #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GetJobManifest #

toConstr :: GetJobManifest -> Constr #

dataTypeOf :: GetJobManifest -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c GetJobManifest) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GetJobManifest) #

gmapT :: (forall b. Data b => b -> b) -> GetJobManifest -> GetJobManifest #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GetJobManifest -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GetJobManifest -> r #

gmapQ :: (forall d. Data d => d -> u) -> GetJobManifest -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GetJobManifest -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GetJobManifest -> m GetJobManifest #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GetJobManifest -> m GetJobManifest #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GetJobManifest -> m GetJobManifest #

Read GetJobManifest # 
Show GetJobManifest # 
Generic GetJobManifest # 

Associated Types

type Rep GetJobManifest :: * -> * #

Hashable GetJobManifest # 
ToJSON GetJobManifest # 
NFData GetJobManifest # 

Methods

rnf :: GetJobManifest -> () #

AWSRequest GetJobManifest # 
ToHeaders GetJobManifest # 
ToPath GetJobManifest # 
ToQuery GetJobManifest # 
type Rep GetJobManifest # 
type Rep GetJobManifest = D1 * (MetaData "GetJobManifest" "Network.AWS.Snowball.GetJobManifest" "amazonka-snowball-1.6.0-CpRkSYaTAPzF30R6kNaJAh" True) (C1 * (MetaCons "GetJobManifest'" PrefixI True) (S1 * (MetaSel (Just Symbol "_gjmJobId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)))
type Rs GetJobManifest # 

Request Lenses

gjmJobId :: Lens' GetJobManifest Text #

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 #

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:

data GetJobManifestResponse #

See: getJobManifestResponse smart constructor.

Instances

Eq GetJobManifestResponse # 
Data GetJobManifestResponse # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GetJobManifestResponse -> c GetJobManifestResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GetJobManifestResponse #

toConstr :: GetJobManifestResponse -> Constr #

dataTypeOf :: GetJobManifestResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c GetJobManifestResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GetJobManifestResponse) #

gmapT :: (forall b. Data b => b -> b) -> GetJobManifestResponse -> GetJobManifestResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GetJobManifestResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GetJobManifestResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> GetJobManifestResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GetJobManifestResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GetJobManifestResponse -> m GetJobManifestResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GetJobManifestResponse -> m GetJobManifestResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GetJobManifestResponse -> m GetJobManifestResponse #

Read GetJobManifestResponse # 
Show GetJobManifestResponse # 
Generic GetJobManifestResponse # 
NFData GetJobManifestResponse # 

Methods

rnf :: GetJobManifestResponse -> () #

type Rep GetJobManifestResponse # 
type Rep GetJobManifestResponse = D1 * (MetaData "GetJobManifestResponse" "Network.AWS.Snowball.GetJobManifest" "amazonka-snowball-1.6.0-CpRkSYaTAPzF30R6kNaJAh" False) (C1 * (MetaCons "GetJobManifestResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_gjmrsManifestURI") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_gjmrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

gjmrsManifestURI :: Lens' GetJobManifestResponse (Maybe Text) #

The Amazon S3 presigned URL for the manifest file associated with the specified JobId value.

gjmrsResponseStatus :: Lens' GetJobManifestResponse Int #

  • - | The response status code.