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

Description

Removes a previous export and the associated files stored in an S3 bucket.

Synopsis

Creating a Request

data DeleteExport Source #

See: newDeleteExport smart constructor.

Constructors

DeleteExport' 

Fields

  • exportId :: Text

    The unique identifier of the export to delete.

Instances

Instances details
ToHeaders DeleteExport Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteExport

ToPath DeleteExport Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteExport

ToQuery DeleteExport Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteExport

AWSRequest DeleteExport Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteExport

Associated Types

type AWSResponse DeleteExport #

Generic DeleteExport Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteExport

Associated Types

type Rep DeleteExport :: Type -> Type #

Read DeleteExport Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteExport

Show DeleteExport Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteExport

NFData DeleteExport Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteExport

Methods

rnf :: DeleteExport -> () #

Eq DeleteExport Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteExport

Hashable DeleteExport Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteExport

type AWSResponse DeleteExport Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteExport

type Rep DeleteExport Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteExport

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

newDeleteExport Source #

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

DeleteExport, deleteExport_exportId - The unique identifier of the export to delete.

Request Lenses

deleteExport_exportId :: Lens' DeleteExport Text Source #

The unique identifier of the export to delete.

Destructuring the Response

data DeleteExportResponse Source #

See: newDeleteExportResponse smart constructor.

Constructors

DeleteExportResponse' 

Fields

Instances

Instances details
Generic DeleteExportResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteExport

Associated Types

type Rep DeleteExportResponse :: Type -> Type #

Read DeleteExportResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteExport

Show DeleteExportResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteExport

NFData DeleteExportResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteExport

Methods

rnf :: DeleteExportResponse -> () #

Eq DeleteExportResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteExport

type Rep DeleteExportResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteExport

type Rep DeleteExportResponse = D1 ('MetaData "DeleteExportResponse" "Amazonka.LexV2Models.DeleteExport" "amazonka-lexv2-models-2.0-5mExjJXBfuO6j0ascNcayE" 'False) (C1 ('MetaCons "DeleteExportResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "exportId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "exportStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ExportStatus)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDeleteExportResponse Source #

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

DeleteExport, deleteExportResponse_exportId - The unique identifier of the deleted export.

DeleteExportResponse, deleteExportResponse_exportStatus - The current status of the deletion. When the deletion is complete, the export will no longer be returned by the ListExports operation and calls to the DescribeExport operation with the export identifier will fail.

$sel:httpStatus:DeleteExportResponse', deleteExportResponse_httpStatus - The response's http status code.

Response Lenses

deleteExportResponse_exportId :: Lens' DeleteExportResponse (Maybe Text) Source #

The unique identifier of the deleted export.

deleteExportResponse_exportStatus :: Lens' DeleteExportResponse (Maybe ExportStatus) Source #

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