amazonka-lex-models-1.6.0: 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 # 
Data GetImport Source # 

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 # 
Show GetImport Source # 
Generic GetImport Source # 

Associated Types

type Rep GetImport :: * -> * #

Hashable GetImport Source # 
NFData GetImport Source # 

Methods

rnf :: GetImport -> () #

AWSRequest GetImport Source # 
ToHeaders GetImport Source # 

Methods

toHeaders :: GetImport -> [Header] #

ToPath GetImport Source # 
ToQuery GetImport Source # 
type Rep GetImport Source # 
type Rep GetImport = D1 * (MetaData "GetImport" "Network.AWS.LexModels.GetImport" "amazonka-lex-models-1.6.0-Iv3mghdDvOI9Mj0nI0DuS4" True) (C1 * (MetaCons "GetImport'" PrefixI True) (S1 * (MetaSel (Just Symbol "_giImportId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)))
type Rs GetImport Source # 

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

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 # 
Show GetImportResponse Source # 
Generic GetImportResponse Source # 
NFData GetImportResponse Source # 

Methods

rnf :: GetImportResponse -> () #

type Rep GetImportResponse Source # 
type Rep GetImportResponse = D1 * (MetaData "GetImportResponse" "Network.AWS.LexModels.GetImport" "amazonka-lex-models-1.6.0-Iv3mghdDvOI9Mj0nI0DuS4" False) (C1 * (MetaCons "GetImportResponse'" PrefixI True) ((:*:) * ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_girsFailureReason") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Text]))) (S1 * (MetaSel (Just Symbol "_girsResourceType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe ResourceType)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_girsImportId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_girsCreatedDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe POSIX))))) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_girsName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_girsMergeStrategy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe MergeStrategy)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_girsImportStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe ImportStatus))) (S1 * (MetaSel (Just Symbol "_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.