| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
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
- data UpdateExport = UpdateExport' {}
- newUpdateExport :: Text -> UpdateExport
- updateExport_filePassword :: Lens' UpdateExport (Maybe Text)
- updateExport_exportId :: Lens' UpdateExport Text
- data UpdateExportResponse = UpdateExportResponse' {}
- newUpdateExportResponse :: Int -> UpdateExportResponse
- updateExportResponse_creationDateTime :: Lens' UpdateExportResponse (Maybe UTCTime)
- updateExportResponse_exportId :: Lens' UpdateExportResponse (Maybe Text)
- updateExportResponse_exportStatus :: Lens' UpdateExportResponse (Maybe ExportStatus)
- updateExportResponse_fileFormat :: Lens' UpdateExportResponse (Maybe ImportExportFileFormat)
- updateExportResponse_lastUpdatedDateTime :: Lens' UpdateExportResponse (Maybe UTCTime)
- updateExportResponse_resourceSpecification :: Lens' UpdateExportResponse (Maybe ExportResourceSpecification)
- updateExportResponse_httpStatus :: Lens' UpdateExportResponse Int
Creating a Request
data UpdateExport Source #
See: newUpdateExport smart constructor.
Constructors
| UpdateExport' | |
Instances
Arguments
| :: Text | |
| -> UpdateExport |
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
newUpdateExportResponse Source #
Arguments
| :: Int | |
| -> UpdateExportResponse |
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.
updateExportResponse_httpStatus :: Lens' UpdateExportResponse Int Source #
The response's http status code.