amazonka-lex-models-1.6.1: Amazon Lex Model Building Service 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.LexModels.GetImport

Contents

Description

Gets information about an import job started with the StartImport operation.

Synopsis

Creating a Request

getImport Source #

Arguments

:: Text

giImportId

-> GetImport 

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

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

  • giImportId - The identifier of the import job information to return.

data GetImport Source #

See: getImport smart constructor.

Instances
Eq GetImport Source # 
Instance details

Defined in Network.AWS.LexModels.GetImport

Data GetImport Source # 
Instance details

Defined in Network.AWS.LexModels.GetImport

Methods

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

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

toConstr :: GetImport -> Constr #

dataTypeOf :: GetImport -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetImport Source # 
Instance details

Defined in Network.AWS.LexModels.GetImport

Show GetImport Source # 
Instance details

Defined in Network.AWS.LexModels.GetImport

Generic GetImport Source # 
Instance details

Defined in Network.AWS.LexModels.GetImport

Associated Types

type Rep GetImport :: Type -> Type #

Hashable GetImport Source # 
Instance details

Defined in Network.AWS.LexModels.GetImport

AWSRequest GetImport Source # 
Instance details

Defined in Network.AWS.LexModels.GetImport

Associated Types

type Rs GetImport :: Type #

ToHeaders GetImport Source # 
Instance details

Defined in Network.AWS.LexModels.GetImport

Methods

toHeaders :: GetImport -> [Header] #

ToPath GetImport Source # 
Instance details

Defined in Network.AWS.LexModels.GetImport

ToQuery GetImport Source # 
Instance details

Defined in Network.AWS.LexModels.GetImport

NFData GetImport Source # 
Instance details

Defined in Network.AWS.LexModels.GetImport

Methods

rnf :: GetImport -> () #

type Rep GetImport Source # 
Instance details

Defined in Network.AWS.LexModels.GetImport

type Rep GetImport = D1 (MetaData "GetImport" "Network.AWS.LexModels.GetImport" "amazonka-lex-models-1.6.1-16JSA2D34IH7p8RxcjidTj" True) (C1 (MetaCons "GetImport'" PrefixI True) (S1 (MetaSel (Just "_giImportId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs GetImport Source # 
Instance details

Defined in Network.AWS.LexModels.GetImport

Request Lenses

giImportId :: Lens' GetImport Text Source #

The identifier of the import job information to return.

Destructuring the Response

getImportResponse Source #

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

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

  • girsFailureReason - A string that describes why an import job failed to complete.
  • girsResourceType - The type of resource imported.
  • girsImportId - The identifier for the specific import job.
  • girsCreatedDate - A timestamp for the date and time that the import job was created.
  • girsName - The name given to the import job.
  • girsMergeStrategy - The action taken when there was a conflict between an existing resource and a resource in the import file.
  • girsImportStatus - The status of the import job. If the status is FAILED , you can get the reason for the failure from the failureReason field.
  • girsResponseStatus - -- | The response status code.

data GetImportResponse Source #

See: getImportResponse smart constructor.

Instances
Eq GetImportResponse Source # 
Instance details

Defined in Network.AWS.LexModels.GetImport

Data GetImportResponse Source # 
Instance details

Defined in Network.AWS.LexModels.GetImport

Methods

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

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

toConstr :: GetImportResponse -> Constr #

dataTypeOf :: GetImportResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetImportResponse Source # 
Instance details

Defined in Network.AWS.LexModels.GetImport

Show GetImportResponse Source # 
Instance details

Defined in Network.AWS.LexModels.GetImport

Generic GetImportResponse Source # 
Instance details

Defined in Network.AWS.LexModels.GetImport

Associated Types

type Rep GetImportResponse :: Type -> Type #

NFData GetImportResponse Source # 
Instance details

Defined in Network.AWS.LexModels.GetImport

Methods

rnf :: GetImportResponse -> () #

type Rep GetImportResponse Source # 
Instance details

Defined in Network.AWS.LexModels.GetImport

type Rep GetImportResponse = D1 (MetaData "GetImportResponse" "Network.AWS.LexModels.GetImport" "amazonka-lex-models-1.6.1-16JSA2D34IH7p8RxcjidTj" False) (C1 (MetaCons "GetImportResponse'" PrefixI True) (((S1 (MetaSel (Just "_girsFailureReason") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 (MetaSel (Just "_girsResourceType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ResourceType))) :*: (S1 (MetaSel (Just "_girsImportId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_girsCreatedDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX)))) :*: ((S1 (MetaSel (Just "_girsName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_girsMergeStrategy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe MergeStrategy))) :*: (S1 (MetaSel (Just "_girsImportStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ImportStatus)) :*: S1 (MetaSel (Just "_girsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses

girsFailureReason :: Lens' GetImportResponse [Text] Source #

A string that describes why an import job failed to complete.

girsImportId :: Lens' GetImportResponse (Maybe Text) Source #

The identifier for the specific import job.

girsCreatedDate :: Lens' GetImportResponse (Maybe UTCTime) Source #

A timestamp for the date and time that the import job was created.

girsName :: Lens' GetImportResponse (Maybe Text) Source #

The name given to the import job.

girsMergeStrategy :: Lens' GetImportResponse (Maybe MergeStrategy) Source #

The action taken when there was a conflict between an existing resource and a resource in the import file.

girsImportStatus :: Lens' GetImportResponse (Maybe ImportStatus) Source #

The status of the import job. If the status is FAILED , you can get the reason for the failure from the failureReason field.

girsResponseStatus :: Lens' GetImportResponse Int Source #

  • - | The response status code.