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

Description

Updates the password used to protect an export zip archive.

The password is not required. If you don't supply a password, Amazon Lex generates a zip file that is not protected by a password. This is the archive that is available at the pre-signed S3 URL provided by the DescribeExport operation.

Synopsis

Creating a Request

data UpdateExport Source #

See: newUpdateExport smart constructor.

Constructors

UpdateExport' 

Fields

Instances

Instances details
ToJSON UpdateExport Source # 
Instance details

Defined in Amazonka.LexV2Models.UpdateExport

ToHeaders UpdateExport Source # 
Instance details

Defined in Amazonka.LexV2Models.UpdateExport

ToPath UpdateExport Source # 
Instance details

Defined in Amazonka.LexV2Models.UpdateExport

ToQuery UpdateExport Source # 
Instance details

Defined in Amazonka.LexV2Models.UpdateExport

AWSRequest UpdateExport Source # 
Instance details

Defined in Amazonka.LexV2Models.UpdateExport

Associated Types

type AWSResponse UpdateExport #

Generic UpdateExport Source # 
Instance details

Defined in Amazonka.LexV2Models.UpdateExport

Associated Types

type Rep UpdateExport :: Type -> Type #

Show UpdateExport Source # 
Instance details

Defined in Amazonka.LexV2Models.UpdateExport

NFData UpdateExport Source # 
Instance details

Defined in Amazonka.LexV2Models.UpdateExport

Methods

rnf :: UpdateExport -> () #

Eq UpdateExport Source # 
Instance details

Defined in Amazonka.LexV2Models.UpdateExport

Hashable UpdateExport Source # 
Instance details

Defined in Amazonka.LexV2Models.UpdateExport

type AWSResponse UpdateExport Source # 
Instance details

Defined in Amazonka.LexV2Models.UpdateExport

type Rep UpdateExport Source # 
Instance details

Defined in Amazonka.LexV2Models.UpdateExport

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

newUpdateExport Source #

Create a value of UpdateExport 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:filePassword:UpdateExport', updateExport_filePassword - The new password to use to encrypt the export zip archive.

UpdateExport, updateExport_exportId - The unique identifier Amazon Lex assigned to the export.

Request Lenses

updateExport_filePassword :: Lens' UpdateExport (Maybe Text) Source #

The new password to use to encrypt the export zip archive.

updateExport_exportId :: Lens' UpdateExport Text Source #

The unique identifier Amazon Lex assigned to the export.

Destructuring the Response

data UpdateExportResponse Source #

See: newUpdateExportResponse smart constructor.

Constructors

UpdateExportResponse' 

Fields

Instances

Instances details
Generic UpdateExportResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.UpdateExport

Associated Types

type Rep UpdateExportResponse :: Type -> Type #

Read UpdateExportResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.UpdateExport

Show UpdateExportResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.UpdateExport

NFData UpdateExportResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.UpdateExport

Methods

rnf :: UpdateExportResponse -> () #

Eq UpdateExportResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.UpdateExport

type Rep UpdateExportResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.UpdateExport

type Rep UpdateExportResponse = D1 ('MetaData "UpdateExportResponse" "Amazonka.LexV2Models.UpdateExport" "amazonka-lexv2-models-2.0-5mExjJXBfuO6j0ascNcayE" 'False) (C1 ('MetaCons "UpdateExportResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "creationDateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "exportId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "exportStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ExportStatus)))) :*: ((S1 ('MetaSel ('Just "fileFormat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ImportExportFileFormat)) :*: S1 ('MetaSel ('Just "lastUpdatedDateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "resourceSpecification") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ExportResourceSpecification)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newUpdateExportResponse Source #

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

UpdateExportResponse, updateExportResponse_creationDateTime - The date and time that the export was created.

UpdateExport, updateExportResponse_exportId - The unique identifier Amazon Lex assigned to the export.

UpdateExportResponse, updateExportResponse_exportStatus - The status of the export. When the status is Completed the export archive is available for download.

UpdateExportResponse, updateExportResponse_fileFormat - The file format used for the files that define the resource. The TSV format is required to export a custom vocabulary only; otherwise use LexJson format.

UpdateExportResponse, updateExportResponse_lastUpdatedDateTime - The date and time that the export was last updated.

UpdateExportResponse, updateExportResponse_resourceSpecification - A description of the type of resource that was exported, either a bot or a bot locale.

$sel:httpStatus:UpdateExportResponse', updateExportResponse_httpStatus - The response's http status code.

Response Lenses

updateExportResponse_creationDateTime :: Lens' UpdateExportResponse (Maybe UTCTime) Source #

The date and time that the export was created.

updateExportResponse_exportId :: Lens' UpdateExportResponse (Maybe Text) Source #

The unique identifier Amazon Lex assigned to the export.

updateExportResponse_exportStatus :: Lens' UpdateExportResponse (Maybe ExportStatus) Source #

The status of the export. When the status is Completed the export archive is available for download.

updateExportResponse_fileFormat :: Lens' UpdateExportResponse (Maybe ImportExportFileFormat) Source #

The file format used for the files that define the resource. The TSV format is required to export a custom vocabulary only; otherwise use LexJson format.

updateExportResponse_lastUpdatedDateTime :: Lens' UpdateExportResponse (Maybe UTCTime) Source #

The date and time that the export was last updated.

updateExportResponse_resourceSpecification :: Lens' UpdateExportResponse (Maybe ExportResourceSpecification) Source #

A description of the type of resource that was exported, either a bot or a bot locale.