amazonka-lexv2-models-2.0: Amazon Lex Model Building V2 SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.LexV2Models.DescribeImport

Description

Gets information about a specific import.

Synopsis

Creating a Request

data DescribeImport Source #

See: newDescribeImport smart constructor.

Constructors

DescribeImport' 

Fields

  • importId :: Text

    The unique identifier of the import to describe.

Instances

Instances details
ToHeaders DescribeImport Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeImport

ToPath DescribeImport Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeImport

ToQuery DescribeImport Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeImport

AWSRequest DescribeImport Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeImport

Associated Types

type AWSResponse DescribeImport #

Generic DescribeImport Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeImport

Associated Types

type Rep DescribeImport :: Type -> Type #

Read DescribeImport Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeImport

Show DescribeImport Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeImport

NFData DescribeImport Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeImport

Methods

rnf :: DescribeImport -> () #

Eq DescribeImport Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeImport

Hashable DescribeImport Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeImport

type AWSResponse DescribeImport Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeImport

type Rep DescribeImport Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeImport

type Rep DescribeImport = D1 ('MetaData "DescribeImport" "Amazonka.LexV2Models.DescribeImport" "amazonka-lexv2-models-2.0-5mExjJXBfuO6j0ascNcayE" 'False) (C1 ('MetaCons "DescribeImport'" 'PrefixI 'True) (S1 ('MetaSel ('Just "importId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDescribeImport Source #

Create a value of DescribeImport 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:

DescribeImport, describeImport_importId - The unique identifier of the import to describe.

Request Lenses

describeImport_importId :: Lens' DescribeImport Text Source #

The unique identifier of the import to describe.

Destructuring the Response

data DescribeImportResponse Source #

See: newDescribeImportResponse smart constructor.

Constructors

DescribeImportResponse' 

Fields

Instances

Instances details
Generic DescribeImportResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeImport

Associated Types

type Rep DescribeImportResponse :: Type -> Type #

Read DescribeImportResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeImport

Show DescribeImportResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeImport

NFData DescribeImportResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeImport

Methods

rnf :: DescribeImportResponse -> () #

Eq DescribeImportResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeImport

type Rep DescribeImportResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeImport

newDescribeImportResponse Source #

Create a value of DescribeImportResponse 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:

DescribeImportResponse, describeImportResponse_creationDateTime - The date and time that the import was created.

$sel:failureReasons:DescribeImportResponse', describeImportResponse_failureReasons - If the importStatus field is Failed, this provides one or more reasons for the failure.

DescribeImport, describeImportResponse_importId - The unique identifier of the described import.

DescribeImportResponse, describeImportResponse_importStatus - The status of the import process. When the status is Completed the resource is imported and ready for use.

DescribeImportResponse, describeImportResponse_importedResourceId - The unique identifier that Amazon Lex assigned to the resource created by the import.

DescribeImportResponse, describeImportResponse_importedResourceName - The name of the imported resource.

DescribeImportResponse, describeImportResponse_lastUpdatedDateTime - The date and time that the import was last updated.

DescribeImportResponse, describeImportResponse_mergeStrategy - The strategy used when there was a name conflict between the imported resource and an existing resource. When the merge strategy is FailOnConflict existing resources are not overwritten and the import fails.

DescribeImportResponse, describeImportResponse_resourceSpecification - The specifications of the imported bot, bot locale, or custom vocabulary.

$sel:httpStatus:DescribeImportResponse', describeImportResponse_httpStatus - The response's http status code.

Response Lenses

describeImportResponse_creationDateTime :: Lens' DescribeImportResponse (Maybe UTCTime) Source #

The date and time that the import was created.

describeImportResponse_failureReasons :: Lens' DescribeImportResponse (Maybe [Text]) Source #

If the importStatus field is Failed, this provides one or more reasons for the failure.

describeImportResponse_importId :: Lens' DescribeImportResponse (Maybe Text) Source #

The unique identifier of the described import.

describeImportResponse_importStatus :: Lens' DescribeImportResponse (Maybe ImportStatus) Source #

The status of the import process. When the status is Completed the resource is imported and ready for use.

describeImportResponse_importedResourceId :: Lens' DescribeImportResponse (Maybe Text) Source #

The unique identifier that Amazon Lex assigned to the resource created by the import.

describeImportResponse_lastUpdatedDateTime :: Lens' DescribeImportResponse (Maybe UTCTime) Source #

The date and time that the import was last updated.

describeImportResponse_mergeStrategy :: Lens' DescribeImportResponse (Maybe MergeStrategy) Source #

The strategy used when there was a name conflict between the imported resource and an existing resource. When the merge strategy is FailOnConflict existing resources are not overwritten and the import fails.

describeImportResponse_resourceSpecification :: Lens' DescribeImportResponse (Maybe ImportResourceSpecification) Source #

The specifications of the imported bot, bot locale, or custom vocabulary.