Start Import
lexmodelsv2_start_import | R Documentation |
Starts importing a bot, bot locale, or custom vocabulary from a zip archive that you uploaded to an S3 bucket¶
Description¶
Starts importing a bot, bot locale, or custom vocabulary from a zip archive that you uploaded to an S3 bucket.
Usage¶
lexmodelsv2_start_import(importId, resourceSpecification, mergeStrategy,
filePassword)
Arguments¶
importId |
[required] The unique identifier for the import. It is included
in the response from the |
resourceSpecification |
[required] Parameters for creating the bot, bot locale or custom vocabulary. |
mergeStrategy |
[required] The strategy to use when there is a name conflict
between the imported resource and an existing resource. When the merge
strategy is |
filePassword |
The password used to encrypt the zip archive that contains the resource definition. You should always encrypt the zip archive to protect it during transit between your site and Amazon Lex. |
Value¶
A list with the following syntax:
list(
importId = "string",
resourceSpecification = list(
botImportSpecification = list(
botName = "string",
roleArn = "string",
dataPrivacy = list(
childDirected = TRUE|FALSE
),
idleSessionTTLInSeconds = 123,
botTags = list(
"string"
),
testBotAliasTags = list(
"string"
)
),
botLocaleImportSpecification = list(
botId = "string",
botVersion = "string",
localeId = "string",
nluIntentConfidenceThreshold = 123.0,
voiceSettings = list(
voiceId = "string",
engine = "standard"|"neural"|"long-form"|"generative"
)
),
customVocabularyImportSpecification = list(
botId = "string",
botVersion = "string",
localeId = "string"
),
testSetImportResourceSpecification = list(
testSetName = "string",
description = "string",
roleArn = "string",
storageLocation = list(
s3BucketName = "string",
s3Path = "string",
kmsKeyArn = "string"
),
importInputLocation = list(
s3BucketName = "string",
s3Path = "string"
),
modality = "Text"|"Audio",
testSetTags = list(
"string"
)
)
),
mergeStrategy = "Overwrite"|"FailOnConflict"|"Append",
importStatus = "InProgress"|"Completed"|"Failed"|"Deleting",
creationDateTime = as.POSIXct(
"2015-01-01"
)
)
Request syntax¶
svc$start_import(
importId = "string",
resourceSpecification = list(
botImportSpecification = list(
botName = "string",
roleArn = "string",
dataPrivacy = list(
childDirected = TRUE|FALSE
),
idleSessionTTLInSeconds = 123,
botTags = list(
"string"
),
testBotAliasTags = list(
"string"
)
),
botLocaleImportSpecification = list(
botId = "string",
botVersion = "string",
localeId = "string",
nluIntentConfidenceThreshold = 123.0,
voiceSettings = list(
voiceId = "string",
engine = "standard"|"neural"|"long-form"|"generative"
)
),
customVocabularyImportSpecification = list(
botId = "string",
botVersion = "string",
localeId = "string"
),
testSetImportResourceSpecification = list(
testSetName = "string",
description = "string",
roleArn = "string",
storageLocation = list(
s3BucketName = "string",
s3Path = "string",
kmsKeyArn = "string"
),
importInputLocation = list(
s3BucketName = "string",
s3Path = "string"
),
modality = "Text"|"Audio",
testSetTags = list(
"string"
)
)
),
mergeStrategy = "Overwrite"|"FailOnConflict"|"Append",
filePassword = "string"
)