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.DeleteImport

Description

Removes a previous import and the associated file stored in an S3 bucket.

Synopsis

Creating a Request

data DeleteImport Source #

See: newDeleteImport smart constructor.

Constructors

DeleteImport' 

Fields

  • importId :: Text

    The unique identifier of the import to delete.

Instances

Instances details
ToHeaders DeleteImport Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteImport

ToPath DeleteImport Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteImport

ToQuery DeleteImport Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteImport

AWSRequest DeleteImport Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteImport

Associated Types

type AWSResponse DeleteImport #

Generic DeleteImport Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteImport

Associated Types

type Rep DeleteImport :: Type -> Type #

Read DeleteImport Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteImport

Show DeleteImport Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteImport

NFData DeleteImport Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteImport

Methods

rnf :: DeleteImport -> () #

Eq DeleteImport Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteImport

Hashable DeleteImport Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteImport

type AWSResponse DeleteImport Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteImport

type Rep DeleteImport Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteImport

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

newDeleteImport Source #

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

DeleteImport, deleteImport_importId - The unique identifier of the import to delete.

Request Lenses

deleteImport_importId :: Lens' DeleteImport Text Source #

The unique identifier of the import to delete.

Destructuring the Response

data DeleteImportResponse Source #

See: newDeleteImportResponse smart constructor.

Constructors

DeleteImportResponse' 

Fields

Instances

Instances details
Generic DeleteImportResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteImport

Associated Types

type Rep DeleteImportResponse :: Type -> Type #

Read DeleteImportResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteImport

Show DeleteImportResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteImport

NFData DeleteImportResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteImport

Methods

rnf :: DeleteImportResponse -> () #

Eq DeleteImportResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteImport

type Rep DeleteImportResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteImport

type Rep DeleteImportResponse = D1 ('MetaData "DeleteImportResponse" "Amazonka.LexV2Models.DeleteImport" "amazonka-lexv2-models-2.0-5mExjJXBfuO6j0ascNcayE" 'False) (C1 ('MetaCons "DeleteImportResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "importId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "importStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ImportStatus)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDeleteImportResponse Source #

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

DeleteImport, deleteImportResponse_importId - The unique identifier of the deleted import.

DeleteImportResponse, deleteImportResponse_importStatus - The current status of the deletion. When the deletion is complete, the import will no longer be returned by the ListImports operation and calls to the DescribeImport operation with the import identifier will fail.

$sel:httpStatus:DeleteImportResponse', deleteImportResponse_httpStatus - The response's http status code.

Response Lenses

deleteImportResponse_importId :: Lens' DeleteImportResponse (Maybe Text) Source #

The unique identifier of the deleted import.

deleteImportResponse_importStatus :: Lens' DeleteImportResponse (Maybe ImportStatus) Source #

The current status of the deletion. When the deletion is complete, the import will no longer be returned by the ListImports operation and calls to the DescribeImport operation with the import identifier will fail.