@pulumi/aws-native 0.7.1 → 0.7.2-alpha.1637738911
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ec2/host.d.ts +4 -5
- package/ec2/host.js.map +1 -1
- package/index.d.ts +2 -1
- package/index.js +4 -2
- package/index.js.map +1 -1
- package/lambda/url.d.ts +3 -0
- package/lambda/url.js +5 -0
- package/lambda/url.js.map +1 -1
- package/lex/bot.d.ts +91 -0
- package/lex/bot.js +87 -0
- package/lex/bot.js.map +1 -0
- package/lex/botAlias.d.ts +65 -0
- package/lex/botAlias.js +81 -0
- package/lex/botAlias.js.map +1 -0
- package/lex/botVersion.d.ts +41 -0
- package/lex/botVersion.js +70 -0
- package/lex/botVersion.js.map +1 -0
- package/lex/index.d.ts +5 -0
- package/lex/index.js +47 -0
- package/lex/index.js.map +1 -0
- package/lex/resourcePolicy.d.ts +39 -0
- package/lex/resourcePolicy.js +68 -0
- package/lex/resourcePolicy.js.map +1 -0
- package/package.json +2 -2
- package/package.json.dev +1 -1
- package/types/enums/ec2/index.d.ts +0 -16
- package/types/enums/ec2/index.js +1 -9
- package/types/enums/ec2/index.js.map +1 -1
- package/types/enums/index.d.ts +2 -1
- package/types/enums/index.js +4 -2
- package/types/enums/index.js.map +1 -1
- package/types/enums/lex/index.d.ts +25 -0
- package/types/enums/lex/index.js +24 -0
- package/types/enums/lex/index.js.map +1 -0
- package/types/input.d.ts +590 -0
- package/types/output.d.ts +590 -0
- package/wafv2/loggingConfiguration.d.ts +2 -2
package/types/output.d.ts
CHANGED
|
@@ -15003,6 +15003,596 @@ export declare namespace lambda {
|
|
|
15003
15003
|
provisionedConcurrentExecutions: number;
|
|
15004
15004
|
}
|
|
15005
15005
|
}
|
|
15006
|
+
export declare namespace lex {
|
|
15007
|
+
/**
|
|
15008
|
+
* The location of audio log files collected when conversation logging is enabled for a bot.
|
|
15009
|
+
*/
|
|
15010
|
+
interface BotAliasAudioLogDestination {
|
|
15011
|
+
s3Bucket?: outputs.lex.BotAliasS3BucketLogDestination;
|
|
15012
|
+
}
|
|
15013
|
+
/**
|
|
15014
|
+
* Settings for logging audio of conversations between Amazon Lex and a user. You specify whether to log audio and the Amazon S3 bucket where the audio file is stored.
|
|
15015
|
+
*/
|
|
15016
|
+
interface BotAliasAudioLogSetting {
|
|
15017
|
+
destination: outputs.lex.BotAliasAudioLogDestination;
|
|
15018
|
+
enabled: boolean;
|
|
15019
|
+
}
|
|
15020
|
+
interface BotAliasCloudWatchLogGroupLogDestination {
|
|
15021
|
+
/**
|
|
15022
|
+
* A string used to identify this tag
|
|
15023
|
+
*/
|
|
15024
|
+
cloudWatchLogGroupArn: string;
|
|
15025
|
+
/**
|
|
15026
|
+
* A string containing the value for the tag
|
|
15027
|
+
*/
|
|
15028
|
+
logPrefix: string;
|
|
15029
|
+
}
|
|
15030
|
+
/**
|
|
15031
|
+
* Contains information about code hooks that Amazon Lex calls during a conversation.
|
|
15032
|
+
*/
|
|
15033
|
+
interface BotAliasCodeHookSpecification {
|
|
15034
|
+
lambdaCodeHook: outputs.lex.BotAliasLambdaCodeHook;
|
|
15035
|
+
}
|
|
15036
|
+
/**
|
|
15037
|
+
* Contains information about code hooks that Amazon Lex calls during a conversation.
|
|
15038
|
+
*/
|
|
15039
|
+
interface BotAliasConversationLogSettings {
|
|
15040
|
+
audioLogSettings?: outputs.lex.BotAliasAudioLogSetting[];
|
|
15041
|
+
textLogSettings?: outputs.lex.BotAliasTextLogSetting[];
|
|
15042
|
+
}
|
|
15043
|
+
/**
|
|
15044
|
+
* Contains information about code hooks that Amazon Lex calls during a conversation.
|
|
15045
|
+
*/
|
|
15046
|
+
interface BotAliasLambdaCodeHook {
|
|
15047
|
+
/**
|
|
15048
|
+
* The version of the request-response that you want Amazon Lex to use to invoke your Lambda function.
|
|
15049
|
+
*/
|
|
15050
|
+
codeHookInterfaceVersion: string;
|
|
15051
|
+
/**
|
|
15052
|
+
* The Amazon Resource Name (ARN) of the Lambda function.
|
|
15053
|
+
*/
|
|
15054
|
+
lambdaArn: string;
|
|
15055
|
+
}
|
|
15056
|
+
/**
|
|
15057
|
+
* You can use this parameter to specify a specific Lambda function to run different functions in different locales.
|
|
15058
|
+
*/
|
|
15059
|
+
interface BotAliasLocaleSettings {
|
|
15060
|
+
codeHookSpecification?: outputs.lex.BotAliasCodeHookSpecification;
|
|
15061
|
+
/**
|
|
15062
|
+
* Whether the Lambda code hook is enabled
|
|
15063
|
+
*/
|
|
15064
|
+
enabled: boolean;
|
|
15065
|
+
}
|
|
15066
|
+
/**
|
|
15067
|
+
* A locale setting in alias
|
|
15068
|
+
*/
|
|
15069
|
+
interface BotAliasLocaleSettingsItem {
|
|
15070
|
+
botAliasLocaleSetting?: outputs.lex.BotAliasLocaleSettings;
|
|
15071
|
+
/**
|
|
15072
|
+
* A string used to identify the locale
|
|
15073
|
+
*/
|
|
15074
|
+
localeId?: string;
|
|
15075
|
+
}
|
|
15076
|
+
/**
|
|
15077
|
+
* Specifies an Amazon S3 bucket for logging audio conversations
|
|
15078
|
+
*/
|
|
15079
|
+
interface BotAliasS3BucketLogDestination {
|
|
15080
|
+
/**
|
|
15081
|
+
* The Amazon Resource Name (ARN) of an AWS Key Management Service (KMS) key for encrypting audio log files stored in an S3 bucket.
|
|
15082
|
+
*/
|
|
15083
|
+
kmsKeyArn?: string;
|
|
15084
|
+
/**
|
|
15085
|
+
* The Amazon S3 key of the deployment package.
|
|
15086
|
+
*/
|
|
15087
|
+
logPrefix: string;
|
|
15088
|
+
/**
|
|
15089
|
+
* The Amazon Resource Name (ARN) of an Amazon S3 bucket where audio log files are stored.
|
|
15090
|
+
*/
|
|
15091
|
+
s3BucketArn: string;
|
|
15092
|
+
}
|
|
15093
|
+
/**
|
|
15094
|
+
* A label for tagging Lex resources
|
|
15095
|
+
*/
|
|
15096
|
+
interface BotAliasTag {
|
|
15097
|
+
/**
|
|
15098
|
+
* A string used to identify this tag
|
|
15099
|
+
*/
|
|
15100
|
+
key: string;
|
|
15101
|
+
/**
|
|
15102
|
+
* A string containing the value for the tag
|
|
15103
|
+
*/
|
|
15104
|
+
value: string;
|
|
15105
|
+
}
|
|
15106
|
+
/**
|
|
15107
|
+
* Defines the Amazon CloudWatch Logs destination log group for conversation text logs.
|
|
15108
|
+
*/
|
|
15109
|
+
interface BotAliasTextLogDestination {
|
|
15110
|
+
cloudWatch?: outputs.lex.BotAliasCloudWatchLogGroupLogDestination;
|
|
15111
|
+
}
|
|
15112
|
+
/**
|
|
15113
|
+
* Contains information about code hooks that Amazon Lex calls during a conversation.
|
|
15114
|
+
*/
|
|
15115
|
+
interface BotAliasTextLogSetting {
|
|
15116
|
+
destination?: outputs.lex.BotAliasTextLogDestination;
|
|
15117
|
+
enabled?: boolean;
|
|
15118
|
+
}
|
|
15119
|
+
/**
|
|
15120
|
+
* A button to use on a response card used to gather slot values from a user.
|
|
15121
|
+
*/
|
|
15122
|
+
interface BotButton {
|
|
15123
|
+
/**
|
|
15124
|
+
* The text that appears on the button.
|
|
15125
|
+
*/
|
|
15126
|
+
text: string;
|
|
15127
|
+
/**
|
|
15128
|
+
* The value returned to Amazon Lex when the user chooses this button.
|
|
15129
|
+
*/
|
|
15130
|
+
value: string;
|
|
15131
|
+
}
|
|
15132
|
+
/**
|
|
15133
|
+
* A message in a custom format defined by the client application.
|
|
15134
|
+
*/
|
|
15135
|
+
interface BotCustomPayload {
|
|
15136
|
+
/**
|
|
15137
|
+
* The string that is sent to your application.
|
|
15138
|
+
*/
|
|
15139
|
+
value: string;
|
|
15140
|
+
}
|
|
15141
|
+
/**
|
|
15142
|
+
* Settings that determine the Lambda function that Amazon Lex uses for processing user responses.
|
|
15143
|
+
*/
|
|
15144
|
+
interface BotDialogCodeHookSetting {
|
|
15145
|
+
enabled: boolean;
|
|
15146
|
+
}
|
|
15147
|
+
/**
|
|
15148
|
+
* Settings that determine if a Lambda function should be invoked to fulfill a specific intent.
|
|
15149
|
+
*/
|
|
15150
|
+
interface BotFulfillmentCodeHookSetting {
|
|
15151
|
+
enabled: boolean;
|
|
15152
|
+
fulfillmentUpdatesSpecification?: outputs.lex.BotFulfillmentUpdatesSpecification;
|
|
15153
|
+
postFulfillmentStatusSpecification?: outputs.lex.BotPostFulfillmentStatusSpecification;
|
|
15154
|
+
}
|
|
15155
|
+
/**
|
|
15156
|
+
* Provides settings for a message that is sent to the user when a fulfillment Lambda function starts running.
|
|
15157
|
+
*/
|
|
15158
|
+
interface BotFulfillmentStartResponseSpecification {
|
|
15159
|
+
/**
|
|
15160
|
+
* Determines whether the user can interrupt the start message while it is playing.
|
|
15161
|
+
*/
|
|
15162
|
+
allowInterrupt?: boolean;
|
|
15163
|
+
/**
|
|
15164
|
+
* The delay between when the Lambda fulfillment function starts running and the start message is played. If the Lambda function returns before the delay is over, the start message isn't played.
|
|
15165
|
+
*/
|
|
15166
|
+
delayInSeconds: number;
|
|
15167
|
+
messageGroups: outputs.lex.BotMessageGroup[];
|
|
15168
|
+
}
|
|
15169
|
+
/**
|
|
15170
|
+
* Provides settings for a message that is sent periodically to the user while a fulfillment Lambda function is running.
|
|
15171
|
+
*/
|
|
15172
|
+
interface BotFulfillmentUpdateResponseSpecification {
|
|
15173
|
+
/**
|
|
15174
|
+
* Determines whether the user can interrupt an update message while it is playing.
|
|
15175
|
+
*/
|
|
15176
|
+
allowInterrupt?: boolean;
|
|
15177
|
+
/**
|
|
15178
|
+
* The frequency that a message is sent to the user. When the period ends, Amazon Lex chooses a message from the message groups and plays it to the user. If the fulfillment Lambda returns before the first period ends, an update message is not played to the user.
|
|
15179
|
+
*/
|
|
15180
|
+
frequencyInSeconds: number;
|
|
15181
|
+
messageGroups: outputs.lex.BotMessageGroup[];
|
|
15182
|
+
}
|
|
15183
|
+
/**
|
|
15184
|
+
* Provides information for updating the user on the progress of fulfilling an intent.
|
|
15185
|
+
*/
|
|
15186
|
+
interface BotFulfillmentUpdatesSpecification {
|
|
15187
|
+
/**
|
|
15188
|
+
* Determines whether fulfillment updates are sent to the user. When this field is true, updates are sent.
|
|
15189
|
+
*/
|
|
15190
|
+
active: boolean;
|
|
15191
|
+
startResponse?: outputs.lex.BotFulfillmentStartResponseSpecification;
|
|
15192
|
+
/**
|
|
15193
|
+
* The length of time that the fulfillment Lambda function should run before it times out.
|
|
15194
|
+
*/
|
|
15195
|
+
timeoutInSeconds?: number;
|
|
15196
|
+
updateResponse?: outputs.lex.BotFulfillmentUpdateResponseSpecification;
|
|
15197
|
+
}
|
|
15198
|
+
/**
|
|
15199
|
+
* A message that defines a response card that the client application can show to the user.
|
|
15200
|
+
*/
|
|
15201
|
+
interface BotImageResponseCard {
|
|
15202
|
+
/**
|
|
15203
|
+
* A list of buttons that should be displayed on the response card.
|
|
15204
|
+
*/
|
|
15205
|
+
buttons?: outputs.lex.BotButton[];
|
|
15206
|
+
/**
|
|
15207
|
+
* The URL of an image to display on the response card.
|
|
15208
|
+
*/
|
|
15209
|
+
imageUrl?: string;
|
|
15210
|
+
/**
|
|
15211
|
+
* The subtitle to display on the response card.
|
|
15212
|
+
*/
|
|
15213
|
+
subtitle?: string;
|
|
15214
|
+
/**
|
|
15215
|
+
* The title to display on the response card.
|
|
15216
|
+
*/
|
|
15217
|
+
title: string;
|
|
15218
|
+
}
|
|
15219
|
+
/**
|
|
15220
|
+
* InputContext specified for the intent.
|
|
15221
|
+
*/
|
|
15222
|
+
interface BotInputContext {
|
|
15223
|
+
/**
|
|
15224
|
+
* The name of the context.
|
|
15225
|
+
*/
|
|
15226
|
+
name: string;
|
|
15227
|
+
}
|
|
15228
|
+
/**
|
|
15229
|
+
* An intent represents an action that the user wants to perform. You create a bot to support one or more related intents.
|
|
15230
|
+
*/
|
|
15231
|
+
interface BotIntent {
|
|
15232
|
+
description?: string;
|
|
15233
|
+
dialogCodeHook?: outputs.lex.BotDialogCodeHookSetting;
|
|
15234
|
+
fulfillmentCodeHook?: outputs.lex.BotFulfillmentCodeHookSetting;
|
|
15235
|
+
inputContexts?: outputs.lex.BotInputContext[];
|
|
15236
|
+
intentClosingSetting?: outputs.lex.BotIntentClosingSetting;
|
|
15237
|
+
intentConfirmationSetting?: outputs.lex.BotIntentConfirmationSetting;
|
|
15238
|
+
kendraConfiguration?: outputs.lex.BotKendraConfiguration;
|
|
15239
|
+
name: string;
|
|
15240
|
+
outputContexts?: outputs.lex.BotOutputContext[];
|
|
15241
|
+
parentIntentSignature?: string;
|
|
15242
|
+
sampleUtterances?: outputs.lex.BotSampleUtterance[];
|
|
15243
|
+
slotPriorities?: outputs.lex.BotSlotPriority[];
|
|
15244
|
+
/**
|
|
15245
|
+
* List of slots
|
|
15246
|
+
*/
|
|
15247
|
+
slots?: outputs.lex.BotSlot[];
|
|
15248
|
+
}
|
|
15249
|
+
/**
|
|
15250
|
+
* Response that Amazon Lex sends to the user when the intent is closed.
|
|
15251
|
+
*/
|
|
15252
|
+
interface BotIntentClosingSetting {
|
|
15253
|
+
closingResponse: outputs.lex.BotResponseSpecification;
|
|
15254
|
+
isActive?: boolean;
|
|
15255
|
+
}
|
|
15256
|
+
/**
|
|
15257
|
+
* Prompts that Amazon Lex sends to the user to confirm the completion of an intent.
|
|
15258
|
+
*/
|
|
15259
|
+
interface BotIntentConfirmationSetting {
|
|
15260
|
+
declinationResponse: outputs.lex.BotResponseSpecification;
|
|
15261
|
+
isActive?: boolean;
|
|
15262
|
+
promptSpecification: outputs.lex.BotPromptSpecification;
|
|
15263
|
+
}
|
|
15264
|
+
/**
|
|
15265
|
+
* Configuration for searching a Amazon Kendra index specified for the intent.
|
|
15266
|
+
*/
|
|
15267
|
+
interface BotKendraConfiguration {
|
|
15268
|
+
kendraIndex: string;
|
|
15269
|
+
queryFilterString?: string;
|
|
15270
|
+
/**
|
|
15271
|
+
* Determines whether the AMAZON.KendraSearchIntent intent uses a custom query string to query the Amazon Kendra index.
|
|
15272
|
+
*/
|
|
15273
|
+
queryFilterStringEnabled?: boolean;
|
|
15274
|
+
}
|
|
15275
|
+
/**
|
|
15276
|
+
* A locale in the bot, which contains the intents and slot types that the bot uses in conversations with users in the specified language and locale.
|
|
15277
|
+
*/
|
|
15278
|
+
interface BotLocale {
|
|
15279
|
+
description?: string;
|
|
15280
|
+
/**
|
|
15281
|
+
* List of intents
|
|
15282
|
+
*/
|
|
15283
|
+
intents?: outputs.lex.BotIntent[];
|
|
15284
|
+
localeId: string;
|
|
15285
|
+
nluConfidenceThreshold: number;
|
|
15286
|
+
/**
|
|
15287
|
+
* List of SlotTypes
|
|
15288
|
+
*/
|
|
15289
|
+
slotTypes?: outputs.lex.BotSlotType[];
|
|
15290
|
+
voiceSettings?: outputs.lex.BotVoiceSettings;
|
|
15291
|
+
}
|
|
15292
|
+
/**
|
|
15293
|
+
* The primary message that Amazon Lex should send to the user.
|
|
15294
|
+
*/
|
|
15295
|
+
interface BotMessage {
|
|
15296
|
+
customPayload?: outputs.lex.BotCustomPayload;
|
|
15297
|
+
imageResponseCard?: outputs.lex.BotImageResponseCard;
|
|
15298
|
+
plainTextMessage?: outputs.lex.BotPlainTextMessage;
|
|
15299
|
+
sSMLMessage?: outputs.lex.BotSSMLMessage;
|
|
15300
|
+
}
|
|
15301
|
+
/**
|
|
15302
|
+
* One or more messages that Amazon Lex can send to the user.
|
|
15303
|
+
*/
|
|
15304
|
+
interface BotMessageGroup {
|
|
15305
|
+
message: outputs.lex.BotMessage;
|
|
15306
|
+
/**
|
|
15307
|
+
* Message variations to send to the user.
|
|
15308
|
+
*/
|
|
15309
|
+
variations?: outputs.lex.BotMessage[];
|
|
15310
|
+
}
|
|
15311
|
+
/**
|
|
15312
|
+
* Indicates whether a slot can return multiple values.
|
|
15313
|
+
*/
|
|
15314
|
+
interface BotMultipleValuesSetting {
|
|
15315
|
+
allowMultipleValues?: boolean;
|
|
15316
|
+
}
|
|
15317
|
+
/**
|
|
15318
|
+
* Determines whether Amazon Lex obscures slot values in conversation logs.
|
|
15319
|
+
*/
|
|
15320
|
+
interface BotObfuscationSetting {
|
|
15321
|
+
/**
|
|
15322
|
+
* Value that determines whether Amazon Lex obscures slot values in conversation logs. The default is to obscure the values.
|
|
15323
|
+
*/
|
|
15324
|
+
obfuscationSettingType: enums.lex.BotObfuscationSettingObfuscationSettingType;
|
|
15325
|
+
}
|
|
15326
|
+
/**
|
|
15327
|
+
* A session context that is activated when an intent is fulfilled.
|
|
15328
|
+
*/
|
|
15329
|
+
interface BotOutputContext {
|
|
15330
|
+
name: string;
|
|
15331
|
+
timeToLiveInSeconds: number;
|
|
15332
|
+
turnsToLive: number;
|
|
15333
|
+
}
|
|
15334
|
+
/**
|
|
15335
|
+
* A message in plain text format.
|
|
15336
|
+
*/
|
|
15337
|
+
interface BotPlainTextMessage {
|
|
15338
|
+
/**
|
|
15339
|
+
* The message to send to the user.
|
|
15340
|
+
*/
|
|
15341
|
+
value: string;
|
|
15342
|
+
}
|
|
15343
|
+
/**
|
|
15344
|
+
* Provides information for updating the user on the progress of fulfilling an intent.
|
|
15345
|
+
*/
|
|
15346
|
+
interface BotPostFulfillmentStatusSpecification {
|
|
15347
|
+
failureResponse?: outputs.lex.BotResponseSpecification;
|
|
15348
|
+
successResponse?: outputs.lex.BotResponseSpecification;
|
|
15349
|
+
timeoutResponse?: outputs.lex.BotResponseSpecification;
|
|
15350
|
+
}
|
|
15351
|
+
/**
|
|
15352
|
+
* Prompts the user to confirm the intent.
|
|
15353
|
+
*/
|
|
15354
|
+
interface BotPromptSpecification {
|
|
15355
|
+
/**
|
|
15356
|
+
* Indicates whether the user can interrupt a speech prompt from the bot.
|
|
15357
|
+
*/
|
|
15358
|
+
allowInterrupt?: boolean;
|
|
15359
|
+
maxRetries: number;
|
|
15360
|
+
messageGroupsList: outputs.lex.BotMessageGroup[];
|
|
15361
|
+
}
|
|
15362
|
+
/**
|
|
15363
|
+
* A list of message groups that Amazon Lex uses to respond the user input.
|
|
15364
|
+
*/
|
|
15365
|
+
interface BotResponseSpecification {
|
|
15366
|
+
/**
|
|
15367
|
+
* Indicates whether the user can interrupt a speech prompt from the bot.
|
|
15368
|
+
*/
|
|
15369
|
+
allowInterrupt?: boolean;
|
|
15370
|
+
messageGroupsList: outputs.lex.BotMessageGroup[];
|
|
15371
|
+
}
|
|
15372
|
+
/**
|
|
15373
|
+
* S3 location of bot definitions zip file, if it's not defined inline in CloudFormation.
|
|
15374
|
+
*/
|
|
15375
|
+
interface BotS3Location {
|
|
15376
|
+
/**
|
|
15377
|
+
* An Amazon S3 bucket in the same AWS Region as your function. The bucket can be in a different AWS account.
|
|
15378
|
+
*/
|
|
15379
|
+
s3Bucket: string;
|
|
15380
|
+
/**
|
|
15381
|
+
* The Amazon S3 key of the deployment package.
|
|
15382
|
+
*/
|
|
15383
|
+
s3ObjectKey: string;
|
|
15384
|
+
/**
|
|
15385
|
+
* For versioned objects, the version of the deployment package object to use. If not specified, the current object version will be used.
|
|
15386
|
+
*/
|
|
15387
|
+
s3ObjectVersion?: string;
|
|
15388
|
+
}
|
|
15389
|
+
/**
|
|
15390
|
+
* A message in Speech Synthesis Markup Language (SSML).
|
|
15391
|
+
*/
|
|
15392
|
+
interface BotSSMLMessage {
|
|
15393
|
+
/**
|
|
15394
|
+
* The SSML text that defines the prompt.
|
|
15395
|
+
*/
|
|
15396
|
+
value: string;
|
|
15397
|
+
}
|
|
15398
|
+
/**
|
|
15399
|
+
* A sample utterance that invokes an intent or respond to a slot elicitation prompt.
|
|
15400
|
+
*/
|
|
15401
|
+
interface BotSampleUtterance {
|
|
15402
|
+
utterance: string;
|
|
15403
|
+
}
|
|
15404
|
+
/**
|
|
15405
|
+
* Defines one of the values for a slot type.
|
|
15406
|
+
*/
|
|
15407
|
+
interface BotSampleValue {
|
|
15408
|
+
/**
|
|
15409
|
+
* The value that can be used for a slot type.
|
|
15410
|
+
*/
|
|
15411
|
+
value: string;
|
|
15412
|
+
}
|
|
15413
|
+
/**
|
|
15414
|
+
* A slot is a variable needed to fulfill an intent, where an intent can require zero or more slots.
|
|
15415
|
+
*/
|
|
15416
|
+
interface BotSlot {
|
|
15417
|
+
description?: string;
|
|
15418
|
+
multipleValuesSetting?: outputs.lex.BotMultipleValuesSetting;
|
|
15419
|
+
name: string;
|
|
15420
|
+
obfuscationSetting?: outputs.lex.BotObfuscationSetting;
|
|
15421
|
+
slotTypeName: string;
|
|
15422
|
+
valueElicitationSetting: outputs.lex.BotSlotValueElicitationSetting;
|
|
15423
|
+
}
|
|
15424
|
+
/**
|
|
15425
|
+
* The default value to use when a user doesn't provide a value for a slot.
|
|
15426
|
+
*/
|
|
15427
|
+
interface BotSlotDefaultValue {
|
|
15428
|
+
/**
|
|
15429
|
+
* The default value to use when a user doesn't provide a value for a slot.
|
|
15430
|
+
*/
|
|
15431
|
+
defaultValue: string;
|
|
15432
|
+
}
|
|
15433
|
+
/**
|
|
15434
|
+
* A list of values that Amazon Lex should use as the default value for a slot.
|
|
15435
|
+
*/
|
|
15436
|
+
interface BotSlotDefaultValueSpecification {
|
|
15437
|
+
/**
|
|
15438
|
+
* A list of slot default values
|
|
15439
|
+
*/
|
|
15440
|
+
defaultValueList: outputs.lex.BotSlotDefaultValue[];
|
|
15441
|
+
}
|
|
15442
|
+
/**
|
|
15443
|
+
* The priority that Amazon Lex should use when eliciting slot values from a user.
|
|
15444
|
+
*/
|
|
15445
|
+
interface BotSlotPriority {
|
|
15446
|
+
priority: number;
|
|
15447
|
+
/**
|
|
15448
|
+
* The name of the slot.
|
|
15449
|
+
*/
|
|
15450
|
+
slotName: string;
|
|
15451
|
+
}
|
|
15452
|
+
/**
|
|
15453
|
+
* A custom slot type.
|
|
15454
|
+
*/
|
|
15455
|
+
interface BotSlotType {
|
|
15456
|
+
description?: string;
|
|
15457
|
+
name: string;
|
|
15458
|
+
parentSlotTypeSignature?: string;
|
|
15459
|
+
slotTypeValues?: outputs.lex.BotSlotTypeValue[];
|
|
15460
|
+
valueSelectionSetting: outputs.lex.BotSlotValueSelectionSetting;
|
|
15461
|
+
}
|
|
15462
|
+
/**
|
|
15463
|
+
* Value that the slot type can take.
|
|
15464
|
+
*/
|
|
15465
|
+
interface BotSlotTypeValue {
|
|
15466
|
+
sampleValue: outputs.lex.BotSampleValue;
|
|
15467
|
+
synonyms?: outputs.lex.BotSampleValue[];
|
|
15468
|
+
}
|
|
15469
|
+
/**
|
|
15470
|
+
* Settings that you can use for eliciting a slot value.
|
|
15471
|
+
*/
|
|
15472
|
+
interface BotSlotValueElicitationSetting {
|
|
15473
|
+
/**
|
|
15474
|
+
* A list of default values for a slot.
|
|
15475
|
+
*/
|
|
15476
|
+
defaultValueSpecification?: outputs.lex.BotSlotDefaultValueSpecification;
|
|
15477
|
+
/**
|
|
15478
|
+
* The prompt that Amazon Lex uses to elicit the slot value from the user.
|
|
15479
|
+
*/
|
|
15480
|
+
promptSpecification?: outputs.lex.BotPromptSpecification;
|
|
15481
|
+
/**
|
|
15482
|
+
* If you know a specific pattern that users might respond to an Amazon Lex request for a slot value, you can provide those utterances to improve accuracy.
|
|
15483
|
+
*/
|
|
15484
|
+
sampleUtterances?: outputs.lex.BotSampleUtterance[];
|
|
15485
|
+
/**
|
|
15486
|
+
* Specifies whether the slot is required or optional.
|
|
15487
|
+
*/
|
|
15488
|
+
slotConstraint: enums.lex.BotSlotConstraint;
|
|
15489
|
+
/**
|
|
15490
|
+
* Specifies the prompts that Amazon Lex uses while a bot is waiting for customer input.
|
|
15491
|
+
*/
|
|
15492
|
+
waitAndContinueSpecification?: outputs.lex.BotWaitAndContinueSpecification;
|
|
15493
|
+
}
|
|
15494
|
+
/**
|
|
15495
|
+
* A regular expression used to validate the value of a slot.
|
|
15496
|
+
*/
|
|
15497
|
+
interface BotSlotValueRegexFilter {
|
|
15498
|
+
/**
|
|
15499
|
+
* Regex pattern
|
|
15500
|
+
*/
|
|
15501
|
+
pattern: string;
|
|
15502
|
+
}
|
|
15503
|
+
/**
|
|
15504
|
+
* Contains settings used by Amazon Lex to select a slot value.
|
|
15505
|
+
*/
|
|
15506
|
+
interface BotSlotValueSelectionSetting {
|
|
15507
|
+
regexFilter?: outputs.lex.BotSlotValueRegexFilter;
|
|
15508
|
+
resolutionStrategy: enums.lex.BotSlotValueResolutionStrategy;
|
|
15509
|
+
}
|
|
15510
|
+
/**
|
|
15511
|
+
* StillWaitingResponseSpecification.
|
|
15512
|
+
*/
|
|
15513
|
+
interface BotStillWaitingResponseSpecification {
|
|
15514
|
+
/**
|
|
15515
|
+
* Indicates whether the user can interrupt a speech prompt from the bot.
|
|
15516
|
+
*/
|
|
15517
|
+
allowInterrupt?: boolean;
|
|
15518
|
+
frequencyInSeconds: number;
|
|
15519
|
+
messageGroupsList: outputs.lex.BotMessageGroup[];
|
|
15520
|
+
timeoutInSeconds: number;
|
|
15521
|
+
}
|
|
15522
|
+
/**
|
|
15523
|
+
* A key-value pair for tagging Lex resources
|
|
15524
|
+
*/
|
|
15525
|
+
interface BotTag {
|
|
15526
|
+
/**
|
|
15527
|
+
* The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
|
|
15528
|
+
*/
|
|
15529
|
+
key: string;
|
|
15530
|
+
/**
|
|
15531
|
+
* The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
|
|
15532
|
+
*/
|
|
15533
|
+
value: string;
|
|
15534
|
+
}
|
|
15535
|
+
/**
|
|
15536
|
+
* The version of a bot used for a bot locale.
|
|
15537
|
+
*/
|
|
15538
|
+
interface BotVersionLocaleDetails {
|
|
15539
|
+
sourceBotVersion: string;
|
|
15540
|
+
}
|
|
15541
|
+
interface BotVersionLocaleSpecificationItemProperties {
|
|
15542
|
+
botVersionLocaleDetails: outputs.lex.BotVersionLocaleDetails;
|
|
15543
|
+
localeId: string;
|
|
15544
|
+
}
|
|
15545
|
+
/**
|
|
15546
|
+
* Settings for using an Amazon Polly voice to communicate with a user.
|
|
15547
|
+
*/
|
|
15548
|
+
interface BotVoiceSettings {
|
|
15549
|
+
/**
|
|
15550
|
+
* The Amazon Polly voice ID that Amazon Lex uses for voice interaction with the user.
|
|
15551
|
+
*/
|
|
15552
|
+
voiceId: string;
|
|
15553
|
+
}
|
|
15554
|
+
/**
|
|
15555
|
+
* The prompts that Amazon Lex uses while a bot is waiting for customer input.
|
|
15556
|
+
*/
|
|
15557
|
+
interface BotWaitAndContinueSpecification {
|
|
15558
|
+
/**
|
|
15559
|
+
* The response that Amazon Lex sends to indicate that the bot is ready to continue the conversation.
|
|
15560
|
+
*/
|
|
15561
|
+
continueResponse: outputs.lex.BotResponseSpecification;
|
|
15562
|
+
/**
|
|
15563
|
+
* Specifies whether the bot will wait for a user to respond.
|
|
15564
|
+
*/
|
|
15565
|
+
isActive?: boolean;
|
|
15566
|
+
/**
|
|
15567
|
+
* The response that Amazon Lex sends periodically to the user to indicate that the bot is still waiting for input from the user.
|
|
15568
|
+
*/
|
|
15569
|
+
stillWaitingResponse?: outputs.lex.BotStillWaitingResponseSpecification;
|
|
15570
|
+
/**
|
|
15571
|
+
* The response that Amazon Lex sends to indicate that the bot is waiting for the conversation to continue.
|
|
15572
|
+
*/
|
|
15573
|
+
waitingResponse: outputs.lex.BotResponseSpecification;
|
|
15574
|
+
}
|
|
15575
|
+
/**
|
|
15576
|
+
* Data privacy setting of the Bot.
|
|
15577
|
+
*/
|
|
15578
|
+
interface DataPrivacyProperties {
|
|
15579
|
+
childDirected: boolean;
|
|
15580
|
+
}
|
|
15581
|
+
/**
|
|
15582
|
+
* A resource policy to add to the resource. The policy is a JSON structure following the IAM syntax that contains one or more statements that define the policy.
|
|
15583
|
+
*/
|
|
15584
|
+
interface ResourcePolicyPolicy {
|
|
15585
|
+
}
|
|
15586
|
+
/**
|
|
15587
|
+
* Determines whether Amazon Lex will use Amazon Comprehend to detect the sentiment of user utterances.
|
|
15588
|
+
*/
|
|
15589
|
+
interface SentimentAnalysisSettingsProperties {
|
|
15590
|
+
/**
|
|
15591
|
+
* Enable to call Amazon Comprehend for Sentiment natively within Lex
|
|
15592
|
+
*/
|
|
15593
|
+
detectSentiment: boolean;
|
|
15594
|
+
}
|
|
15595
|
+
}
|
|
15006
15596
|
export declare namespace licensemanager {
|
|
15007
15597
|
interface LicenseBorrowConfiguration {
|
|
15008
15598
|
allowEarlyCheckIn: boolean;
|
|
@@ -19,7 +19,7 @@ export declare class LoggingConfiguration extends pulumi.CustomResource {
|
|
|
19
19
|
*/
|
|
20
20
|
static isInstance(obj: any): obj is LoggingConfiguration;
|
|
21
21
|
/**
|
|
22
|
-
* The Amazon
|
|
22
|
+
* The Amazon Resource Names (ARNs) of the logging destinations that you want to associate with the web ACL.
|
|
23
23
|
*/
|
|
24
24
|
readonly logDestinationConfigs: pulumi.Output<string[]>;
|
|
25
25
|
/**
|
|
@@ -52,7 +52,7 @@ export declare class LoggingConfiguration extends pulumi.CustomResource {
|
|
|
52
52
|
*/
|
|
53
53
|
export interface LoggingConfigurationArgs {
|
|
54
54
|
/**
|
|
55
|
-
* The Amazon
|
|
55
|
+
* The Amazon Resource Names (ARNs) of the logging destinations that you want to associate with the web ACL.
|
|
56
56
|
*/
|
|
57
57
|
logDestinationConfigs: pulumi.Input<pulumi.Input<string>[]>;
|
|
58
58
|
/**
|