Skip to content

Update Export

lexmodelsv2_update_export R Documentation

Updates the password used to protect an export zip archive

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 describe_export operation.

Usage

lexmodelsv2_update_export(exportId, filePassword)

Arguments

exportId

[required] The unique identifier Amazon Lex assigned to the export.

filePassword

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

Value

A list with the following syntax:

list(
  exportId = "string",
  resourceSpecification = list(
    botExportSpecification = list(
      botId = "string",
      botVersion = "string"
    ),
    botLocaleExportSpecification = list(
      botId = "string",
      botVersion = "string",
      localeId = "string"
    ),
    customVocabularyExportSpecification = list(
      botId = "string",
      botVersion = "string",
      localeId = "string"
    ),
    testSetExportSpecification = list(
      testSetId = "string"
    )
  ),
  fileFormat = "LexJson"|"TSV"|"CSV",
  exportStatus = "InProgress"|"Completed"|"Failed"|"Deleting",
  creationDateTime = as.POSIXct(
    "2015-01-01"
  ),
  lastUpdatedDateTime = as.POSIXct(
    "2015-01-01"
  )
)

Request syntax

svc$update_export(
  exportId = "string",
  filePassword = "string"
)