Skip to content

Create Bot Replica

lexmodelsv2_create_bot_replica R Documentation

Action to create a replication of the source bot in the secondary region

Description

Action to create a replication of the source bot in the secondary region.

Usage

lexmodelsv2_create_bot_replica(botId, replicaRegion)

Arguments

botId

[required] The request for the unique bot ID of the source bot to be replicated in the secondary region.

replicaRegion

[required] The request for the secondary region that will be used in the replication of the source bot.

Value

A list with the following syntax:

list(
  botId = "string",
  replicaRegion = "string",
  sourceRegion = "string",
  creationDateTime = as.POSIXct(
    "2015-01-01"
  ),
  botReplicaStatus = "Enabling"|"Enabled"|"Deleting"|"Failed"
)

Request syntax

svc$create_bot_replica(
  botId = "string",
  replicaRegion = "string"
)