libZSservicesZSamazonka-lex-modelsZSamazonka-lex-models
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.LexModels.GetImport

Description

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

Synopsis

Creating a Request

data GetImport Source #

See: newGetImport smart constructor.

Constructors

GetImport' 

Fields

  • importId :: Text

    The identifier of the import job information to return.

Instances

Instances details
Eq GetImport Source # 
Instance details

Defined in Amazonka.LexModels.GetImport

Read GetImport Source # 
Instance details

Defined in Amazonka.LexModels.GetImport

Show GetImport Source # 
Instance details

Defined in Amazonka.LexModels.GetImport

Generic GetImport Source # 
Instance details

Defined in Amazonka.LexModels.GetImport

Associated Types

type Rep GetImport :: Type -> Type #

NFData GetImport Source # 
Instance details

Defined in Amazonka.LexModels.GetImport

Methods

rnf :: GetImport -> () #

Hashable GetImport Source # 
Instance details

Defined in Amazonka.LexModels.GetImport

AWSRequest GetImport Source # 
Instance details

Defined in Amazonka.LexModels.GetImport

Associated Types

type AWSResponse GetImport #

ToHeaders GetImport Source # 
Instance details

Defined in Amazonka.LexModels.GetImport

Methods

toHeaders :: GetImport -> [Header] #

ToPath GetImport Source # 
Instance details

Defined in Amazonka.LexModels.GetImport

ToQuery GetImport Source # 
Instance details

Defined in Amazonka.LexModels.GetImport

type Rep GetImport Source # 
Instance details

Defined in Amazonka.LexModels.GetImport

type Rep GetImport = D1 ('MetaData "GetImport" "Amazonka.LexModels.GetImport" "libZSservicesZSamazonka-lex-modelsZSamazonka-lex-models" 'False) (C1 ('MetaCons "GetImport'" 'PrefixI 'True) (S1 ('MetaSel ('Just "importId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetImport Source # 
Instance details

Defined in Amazonka.LexModels.GetImport

newGetImport Source #

Create a value of GetImport with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:importId:GetImport', getImport_importId - The identifier of the import job information to return.

Request Lenses

getImport_importId :: Lens' GetImport Text Source #

The identifier of the import job information to return.

Destructuring the Response

data GetImportResponse Source #

See: newGetImportResponse smart constructor.

Constructors

GetImportResponse' 

Fields

Instances

Instances details
Eq GetImportResponse Source # 
Instance details

Defined in Amazonka.LexModels.GetImport

Read GetImportResponse Source # 
Instance details

Defined in Amazonka.LexModels.GetImport

Show GetImportResponse Source # 
Instance details

Defined in Amazonka.LexModels.GetImport

Generic GetImportResponse Source # 
Instance details

Defined in Amazonka.LexModels.GetImport

Associated Types

type Rep GetImportResponse :: Type -> Type #

NFData GetImportResponse Source # 
Instance details

Defined in Amazonka.LexModels.GetImport

Methods

rnf :: GetImportResponse -> () #

type Rep GetImportResponse Source # 
Instance details

Defined in Amazonka.LexModels.GetImport

newGetImportResponse Source #

Create a value of GetImportResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:failureReason:GetImportResponse', getImportResponse_failureReason - A string that describes why an import job failed to complete.

$sel:resourceType:GetImportResponse', getImportResponse_resourceType - The type of resource imported.

$sel:importId:GetImport', getImportResponse_importId - The identifier for the specific import job.

$sel:createdDate:GetImportResponse', getImportResponse_createdDate - A timestamp for the date and time that the import job was created.

$sel:name:GetImportResponse', getImportResponse_name - The name given to the import job.

$sel:mergeStrategy:GetImportResponse', getImportResponse_mergeStrategy - The action taken when there was a conflict between an existing resource and a resource in the import file.

$sel:importStatus:GetImportResponse', getImportResponse_importStatus - The status of the import job. If the status is FAILED, you can get the reason for the failure from the failureReason field.

$sel:httpStatus:GetImportResponse', getImportResponse_httpStatus - The response's http status code.

Response Lenses

getImportResponse_failureReason :: Lens' GetImportResponse (Maybe [Text]) Source #

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

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

The identifier for the specific import job.

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

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

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

The name given to the import job.

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

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

getImportResponse_importStatus :: 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.

getImportResponse_httpStatus :: Lens' GetImportResponse Int Source #

The response's http status code.