amazonka-importexport-1.6.1: Amazon Import/Export 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.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 Source #

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

Input structure for the GetStatus operation.

See: getStatus smart constructor.

Instances
Eq GetStatus Source # 
Instance details

Defined in Network.AWS.ImportExport.GetStatus

Data GetStatus Source # 
Instance details

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

Defined in Network.AWS.ImportExport.GetStatus

Show GetStatus Source # 
Instance details

Defined in Network.AWS.ImportExport.GetStatus

Generic GetStatus Source # 
Instance details

Defined in Network.AWS.ImportExport.GetStatus

Associated Types

type Rep GetStatus :: Type -> Type #

Hashable GetStatus Source # 
Instance details

Defined in Network.AWS.ImportExport.GetStatus

AWSRequest GetStatus Source # 
Instance details

Defined in Network.AWS.ImportExport.GetStatus

Associated Types

type Rs GetStatus :: Type #

ToHeaders GetStatus Source # 
Instance details

Defined in Network.AWS.ImportExport.GetStatus

Methods

toHeaders :: GetStatus -> [Header] #

ToPath GetStatus Source # 
Instance details

Defined in Network.AWS.ImportExport.GetStatus

ToQuery GetStatus Source # 
Instance details

Defined in Network.AWS.ImportExport.GetStatus

NFData GetStatus Source # 
Instance details

Defined in Network.AWS.ImportExport.GetStatus

Methods

rnf :: GetStatus -> () #

type Rep GetStatus Source # 
Instance details

Defined in Network.AWS.ImportExport.GetStatus

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

Defined in Network.AWS.ImportExport.GetStatus

Request Lenses

gsAPIVersion :: Lens' GetStatus (Maybe Text) Source #

Undocumented member.

gsJobId :: Lens' GetStatus Text Source #

Undocumented member.

Destructuring the Response

getStatusResponse Source #

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

Output structure for the GetStatus operation.

See: getStatusResponse smart constructor.

Instances
Eq GetStatusResponse Source # 
Instance details

Defined in Network.AWS.ImportExport.GetStatus

Data GetStatusResponse Source # 
Instance details

Defined in Network.AWS.ImportExport.GetStatus

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

Defined in Network.AWS.ImportExport.GetStatus

Show GetStatusResponse Source # 
Instance details

Defined in Network.AWS.ImportExport.GetStatus

Generic GetStatusResponse Source # 
Instance details

Defined in Network.AWS.ImportExport.GetStatus

Associated Types

type Rep GetStatusResponse :: Type -> Type #

NFData GetStatusResponse Source # 
Instance details

Defined in Network.AWS.ImportExport.GetStatus

Methods

rnf :: GetStatusResponse -> () #

type Rep GetStatusResponse Source # 
Instance details

Defined in Network.AWS.ImportExport.GetStatus

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

Response Lenses

gsrsResponseStatus :: Lens' GetStatusResponse Int Source #

  • - | The response status code.