amazonka-snowball-1.6.1: 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 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 # 
Instance details

Defined in Network.AWS.Snowball.GetJobManifest

Data GetJobManifest Source # 
Instance details

Defined in Network.AWS.Snowball.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 Source # 
Instance details

Defined in Network.AWS.Snowball.GetJobManifest

Show GetJobManifest Source # 
Instance details

Defined in Network.AWS.Snowball.GetJobManifest

Generic GetJobManifest Source # 
Instance details

Defined in Network.AWS.Snowball.GetJobManifest

Associated Types

type Rep GetJobManifest :: Type -> Type #

Hashable GetJobManifest Source # 
Instance details

Defined in Network.AWS.Snowball.GetJobManifest

ToJSON GetJobManifest Source # 
Instance details

Defined in Network.AWS.Snowball.GetJobManifest

AWSRequest GetJobManifest Source # 
Instance details

Defined in Network.AWS.Snowball.GetJobManifest

Associated Types

type Rs GetJobManifest :: Type #

ToHeaders GetJobManifest Source # 
Instance details

Defined in Network.AWS.Snowball.GetJobManifest

ToPath GetJobManifest Source # 
Instance details

Defined in Network.AWS.Snowball.GetJobManifest

ToQuery GetJobManifest Source # 
Instance details

Defined in Network.AWS.Snowball.GetJobManifest

NFData GetJobManifest Source # 
Instance details

Defined in Network.AWS.Snowball.GetJobManifest

Methods

rnf :: GetJobManifest -> () #

type Rep GetJobManifest Source # 
Instance details

Defined in Network.AWS.Snowball.GetJobManifest

type Rep GetJobManifest = D1 (MetaData "GetJobManifest" "Network.AWS.Snowball.GetJobManifest" "amazonka-snowball-1.6.1-FOpm77dUydq55G5bQzgA0K" True) (C1 (MetaCons "GetJobManifest'" PrefixI True) (S1 (MetaSel (Just "_gjmJobId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs GetJobManifest Source # 
Instance details

Defined in Network.AWS.Snowball.GetJobManifest

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 # 
Instance details

Defined in Network.AWS.Snowball.GetJobManifest

Data GetJobManifestResponse Source # 
Instance details

Defined in Network.AWS.Snowball.GetJobManifest

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 # 
Instance details

Defined in Network.AWS.Snowball.GetJobManifest

Show GetJobManifestResponse Source # 
Instance details

Defined in Network.AWS.Snowball.GetJobManifest

Generic GetJobManifestResponse Source # 
Instance details

Defined in Network.AWS.Snowball.GetJobManifest

Associated Types

type Rep GetJobManifestResponse :: Type -> Type #

NFData GetJobManifestResponse Source # 
Instance details

Defined in Network.AWS.Snowball.GetJobManifest

Methods

rnf :: GetJobManifestResponse -> () #

type Rep GetJobManifestResponse Source # 
Instance details

Defined in Network.AWS.Snowball.GetJobManifest

type Rep GetJobManifestResponse = D1 (MetaData "GetJobManifestResponse" "Network.AWS.Snowball.GetJobManifest" "amazonka-snowball-1.6.1-FOpm77dUydq55G5bQzgA0K" False) (C1 (MetaCons "GetJobManifestResponse'" PrefixI True) (S1 (MetaSel (Just "_gjmrsManifestURI") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_gjmrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (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.