Skip to content

Update Bot Recommendation

lexmodelsv2_update_bot_recommendation R Documentation

Updates an existing bot recommendation request

Description

Updates an existing bot recommendation request.

Usage

lexmodelsv2_update_bot_recommendation(botId, botVersion, localeId,
  botRecommendationId, encryptionSetting)

Arguments

botId

[required] The unique identifier of the bot containing the bot recommendation to be updated.

botVersion

[required] The version of the bot containing the bot recommendation to be updated.

localeId

[required] The identifier of the language and locale of the bot recommendation to update. The string must match one of the supported locales. For more information, see Supported languages

botRecommendationId

[required] The unique identifier of the bot recommendation to be updated.

encryptionSetting

[required] The object representing the passwords that will be used to encrypt the data related to the bot recommendation results, as well as the KMS key ARN used to encrypt the associated metadata.

Value

A list with the following syntax:

list(
  botId = "string",
  botVersion = "string",
  localeId = "string",
  botRecommendationStatus = "Processing"|"Deleting"|"Deleted"|"Downloading"|"Updating"|"Available"|"Failed"|"Stopping"|"Stopped",
  botRecommendationId = "string",
  creationDateTime = as.POSIXct(
    "2015-01-01"
  ),
  lastUpdatedDateTime = as.POSIXct(
    "2015-01-01"
  ),
  transcriptSourceSetting = list(
    s3BucketTranscriptSource = list(
      s3BucketName = "string",
      pathFormat = list(
        objectPrefixes = list(
          "string"
        )
      ),
      transcriptFormat = "Lex",
      transcriptFilter = list(
        lexTranscriptFilter = list(
          dateRangeFilter = list(
            startDateTime = as.POSIXct(
              "2015-01-01"
            ),
            endDateTime = as.POSIXct(
              "2015-01-01"
            )
          )
        )
      ),
      kmsKeyArn = "string"
    )
  ),
  encryptionSetting = list(
    kmsKeyArn = "string",
    botLocaleExportPassword = "string",
    associatedTranscriptsPassword = "string"
  )
)

Request syntax

svc$update_bot_recommendation(
  botId = "string",
  botVersion = "string",
  localeId = "string",
  botRecommendationId = "string",
  encryptionSetting = list(
    kmsKeyArn = "string",
    botLocaleExportPassword = "string",
    associatedTranscriptsPassword = "string"
  )
)