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

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@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 Source #

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 Source #

See: getJobManifest smart constructor.

Instances

Eq GetJobManifest Source # 
Data GetJobManifest Source # 

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 Source # 
Show GetJobManifest Source # 
Generic GetJobManifest Source # 

Associated Types

type Rep GetJobManifest :: * -> * #

Hashable GetJobManifest Source # 
ToJSON GetJobManifest Source # 
NFData GetJobManifest Source # 

Methods

rnf :: GetJobManifest -> () #

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

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 #

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 Source #

See: getJobManifestResponse smart constructor.

Instances

Eq GetJobManifestResponse Source # 
Data GetJobManifestResponse Source # 

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 Source # 
Show GetJobManifestResponse Source # 
Generic GetJobManifestResponse Source # 
NFData GetJobManifestResponse Source # 

Methods

rnf :: GetJobManifestResponse -> () #

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

Response Lenses

gjmrsManifestURI :: Lens' GetJobManifestResponse (Maybe Text) Source #

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