amazonka-importexport-1.4.5: Amazon Import/Export 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.ImportExport.GetStatus

Contents

Description

This operation returns information about a job, including where the job is in the processing pipeline, the status of the results, and the signature value associated with the job. You can only return information about jobs you own.

Synopsis

Creating a Request

getStatus #

Arguments

:: Text

gsJobId

-> GetStatus 

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

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

data GetStatus #

Input structure for the GetStatus operation.

See: getStatus smart constructor.

Instances

Eq GetStatus # 
Data GetStatus # 

Methods

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

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

toConstr :: GetStatus -> Constr #

dataTypeOf :: GetStatus -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetStatus # 
Show GetStatus # 
Generic GetStatus # 

Associated Types

type Rep GetStatus :: * -> * #

Hashable GetStatus # 
NFData GetStatus # 

Methods

rnf :: GetStatus -> () #

AWSRequest GetStatus # 
ToQuery GetStatus # 
ToPath GetStatus # 
ToHeaders GetStatus # 

Methods

toHeaders :: GetStatus -> [Header] #

type Rep GetStatus # 
type Rep GetStatus = D1 (MetaData "GetStatus" "Network.AWS.ImportExport.GetStatus" "amazonka-importexport-1.4.5-FROmridprJHAzvurVPubkN" False) (C1 (MetaCons "GetStatus'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_gsAPIVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_gsJobId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs GetStatus # 

Request Lenses

gsAPIVersion :: Lens' GetStatus (Maybe Text) #

Undocumented member.

gsJobId :: Lens' GetStatus Text #

Undocumented member.

Destructuring the Response

getStatusResponse #

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

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

data GetStatusResponse #

Output structure for the GetStatus operation.

See: getStatusResponse smart constructor.

Instances

Eq GetStatusResponse # 
Data GetStatusResponse # 

Methods

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

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

toConstr :: GetStatusResponse -> Constr #

dataTypeOf :: GetStatusResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetStatusResponse # 
Show GetStatusResponse # 
Generic GetStatusResponse # 
NFData GetStatusResponse # 

Methods

rnf :: GetStatusResponse -> () #

type Rep GetStatusResponse # 
type Rep GetStatusResponse = D1 (MetaData "GetStatusResponse" "Network.AWS.ImportExport.GetStatus" "amazonka-importexport-1.4.5-FROmridprJHAzvurVPubkN" False) (C1 (MetaCons "GetStatusResponse'" PrefixI True) ((:*:) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_gsrsCarrier") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_gsrsTrackingNumber") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_gsrsSignature") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_gsrsJobType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe JobType))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_gsrsJobId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_gsrsSignatureFileContents") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_gsrsErrorCount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))) (S1 (MetaSel (Just Symbol "_gsrsCurrentManifest") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_gsrsArtifactList") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Artifact]))) (S1 (MetaSel (Just Symbol "_gsrsLogBucket") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_gsrsCreationDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ISO8601))) (S1 (MetaSel (Just Symbol "_gsrsProgressCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_gsrsLocationCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_gsrsLogKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_gsrsLocationMessage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_gsrsProgressMessage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_gsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))))))

Response Lenses

gsrsCarrier :: Lens' GetStatusResponse (Maybe Text) #

Undocumented member.

gsrsSignature :: Lens' GetStatusResponse (Maybe Text) #

Undocumented member.

gsrsJobId :: Lens' GetStatusResponse (Maybe Text) #

Undocumented member.

gsrsErrorCount :: Lens' GetStatusResponse (Maybe Int) #

Undocumented member.

gsrsLogBucket :: Lens' GetStatusResponse (Maybe Text) #

Undocumented member.

gsrsLogKey :: Lens' GetStatusResponse (Maybe Text) #

Undocumented member.

gsrsResponseStatus :: Lens' GetStatusResponse Int #

  • - | The response status code.