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.GetJobUnlockCode

Contents

Description

Returns the UnlockCode code value for the specified job. A particular UnlockCode value can be accessed for up to 90 days after the associated job has been created.

The UnlockCode value is a 29-character code with 25 alphanumeric characters and 4 hyphens. This code is used to decrypt the manifest file when it is passed along with the manifest 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 the UnlockCode 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.

Synopsis

Creating a Request

getJobUnlockCode Source #

Creates a value of GetJobUnlockCode with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • gjucJobId - The ID for the job that you want to get the UnlockCode value for, for example JID123e4567-e89b-12d3-a456-426655440000 .

data GetJobUnlockCode Source #

See: getJobUnlockCode smart constructor.

Instances

Eq GetJobUnlockCode Source # 
Data GetJobUnlockCode Source # 

Methods

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

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

toConstr :: GetJobUnlockCode -> Constr #

dataTypeOf :: GetJobUnlockCode -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetJobUnlockCode Source # 
Show GetJobUnlockCode Source # 
Generic GetJobUnlockCode Source # 
Hashable GetJobUnlockCode Source # 
ToJSON GetJobUnlockCode Source # 
NFData GetJobUnlockCode Source # 

Methods

rnf :: GetJobUnlockCode -> () #

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

Request Lenses

gjucJobId :: Lens' GetJobUnlockCode Text Source #

The ID for the job that you want to get the UnlockCode value for, for example JID123e4567-e89b-12d3-a456-426655440000 .

Destructuring the Response

getJobUnlockCodeResponse Source #

Creates a value of GetJobUnlockCodeResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • gjucrsUnlockCode - The UnlockCode value for the specified job. The UnlockCode value can be accessed for up to 90 days after the job has been created.
  • gjucrsResponseStatus - -- | The response status code.

data GetJobUnlockCodeResponse Source #

See: getJobUnlockCodeResponse smart constructor.

Instances

Eq GetJobUnlockCodeResponse Source # 
Data GetJobUnlockCodeResponse Source # 

Methods

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

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

toConstr :: GetJobUnlockCodeResponse -> Constr #

dataTypeOf :: GetJobUnlockCodeResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetJobUnlockCodeResponse Source # 
Show GetJobUnlockCodeResponse Source # 
Generic GetJobUnlockCodeResponse Source # 
NFData GetJobUnlockCodeResponse Source # 
type Rep GetJobUnlockCodeResponse Source # 
type Rep GetJobUnlockCodeResponse = D1 (MetaData "GetJobUnlockCodeResponse" "Network.AWS.Snowball.GetJobUnlockCode" "amazonka-snowball-1.4.5-GVXH7ePYHlf2lvcBgzg5iA" False) (C1 (MetaCons "GetJobUnlockCodeResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_gjucrsUnlockCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_gjucrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses

gjucrsUnlockCode :: Lens' GetJobUnlockCodeResponse (Maybe Text) Source #

The UnlockCode value for the specified job. The UnlockCode value can be accessed for up to 90 days after the job has been created.