@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/input.d.ts
CHANGED
|
@@ -14806,6 +14806,596 @@ export declare namespace lambda {
|
|
|
14806
14806
|
provisionedConcurrentExecutions: pulumi.Input<number>;
|
|
14807
14807
|
}
|
|
14808
14808
|
}
|
|
14809
|
+
export declare namespace lex {
|
|
14810
|
+
/**
|
|
14811
|
+
* The location of audio log files collected when conversation logging is enabled for a bot.
|
|
14812
|
+
*/
|
|
14813
|
+
interface BotAliasAudioLogDestinationArgs {
|
|
14814
|
+
s3Bucket?: pulumi.Input<inputs.lex.BotAliasS3BucketLogDestinationArgs>;
|
|
14815
|
+
}
|
|
14816
|
+
/**
|
|
14817
|
+
* 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.
|
|
14818
|
+
*/
|
|
14819
|
+
interface BotAliasAudioLogSettingArgs {
|
|
14820
|
+
destination: pulumi.Input<inputs.lex.BotAliasAudioLogDestinationArgs>;
|
|
14821
|
+
enabled: pulumi.Input<boolean>;
|
|
14822
|
+
}
|
|
14823
|
+
interface BotAliasCloudWatchLogGroupLogDestinationArgs {
|
|
14824
|
+
/**
|
|
14825
|
+
* A string used to identify this tag
|
|
14826
|
+
*/
|
|
14827
|
+
cloudWatchLogGroupArn: pulumi.Input<string>;
|
|
14828
|
+
/**
|
|
14829
|
+
* A string containing the value for the tag
|
|
14830
|
+
*/
|
|
14831
|
+
logPrefix: pulumi.Input<string>;
|
|
14832
|
+
}
|
|
14833
|
+
/**
|
|
14834
|
+
* Contains information about code hooks that Amazon Lex calls during a conversation.
|
|
14835
|
+
*/
|
|
14836
|
+
interface BotAliasCodeHookSpecificationArgs {
|
|
14837
|
+
lambdaCodeHook: pulumi.Input<inputs.lex.BotAliasLambdaCodeHookArgs>;
|
|
14838
|
+
}
|
|
14839
|
+
/**
|
|
14840
|
+
* Contains information about code hooks that Amazon Lex calls during a conversation.
|
|
14841
|
+
*/
|
|
14842
|
+
interface BotAliasConversationLogSettingsArgs {
|
|
14843
|
+
audioLogSettings?: pulumi.Input<pulumi.Input<inputs.lex.BotAliasAudioLogSettingArgs>[]>;
|
|
14844
|
+
textLogSettings?: pulumi.Input<pulumi.Input<inputs.lex.BotAliasTextLogSettingArgs>[]>;
|
|
14845
|
+
}
|
|
14846
|
+
/**
|
|
14847
|
+
* Contains information about code hooks that Amazon Lex calls during a conversation.
|
|
14848
|
+
*/
|
|
14849
|
+
interface BotAliasLambdaCodeHookArgs {
|
|
14850
|
+
/**
|
|
14851
|
+
* The version of the request-response that you want Amazon Lex to use to invoke your Lambda function.
|
|
14852
|
+
*/
|
|
14853
|
+
codeHookInterfaceVersion: pulumi.Input<string>;
|
|
14854
|
+
/**
|
|
14855
|
+
* The Amazon Resource Name (ARN) of the Lambda function.
|
|
14856
|
+
*/
|
|
14857
|
+
lambdaArn: pulumi.Input<string>;
|
|
14858
|
+
}
|
|
14859
|
+
/**
|
|
14860
|
+
* You can use this parameter to specify a specific Lambda function to run different functions in different locales.
|
|
14861
|
+
*/
|
|
14862
|
+
interface BotAliasLocaleSettingsArgs {
|
|
14863
|
+
codeHookSpecification?: pulumi.Input<inputs.lex.BotAliasCodeHookSpecificationArgs>;
|
|
14864
|
+
/**
|
|
14865
|
+
* Whether the Lambda code hook is enabled
|
|
14866
|
+
*/
|
|
14867
|
+
enabled: pulumi.Input<boolean>;
|
|
14868
|
+
}
|
|
14869
|
+
/**
|
|
14870
|
+
* A locale setting in alias
|
|
14871
|
+
*/
|
|
14872
|
+
interface BotAliasLocaleSettingsItemArgs {
|
|
14873
|
+
botAliasLocaleSetting?: pulumi.Input<inputs.lex.BotAliasLocaleSettingsArgs>;
|
|
14874
|
+
/**
|
|
14875
|
+
* A string used to identify the locale
|
|
14876
|
+
*/
|
|
14877
|
+
localeId?: pulumi.Input<string>;
|
|
14878
|
+
}
|
|
14879
|
+
/**
|
|
14880
|
+
* Specifies an Amazon S3 bucket for logging audio conversations
|
|
14881
|
+
*/
|
|
14882
|
+
interface BotAliasS3BucketLogDestinationArgs {
|
|
14883
|
+
/**
|
|
14884
|
+
* The Amazon Resource Name (ARN) of an AWS Key Management Service (KMS) key for encrypting audio log files stored in an S3 bucket.
|
|
14885
|
+
*/
|
|
14886
|
+
kmsKeyArn?: pulumi.Input<string>;
|
|
14887
|
+
/**
|
|
14888
|
+
* The Amazon S3 key of the deployment package.
|
|
14889
|
+
*/
|
|
14890
|
+
logPrefix: pulumi.Input<string>;
|
|
14891
|
+
/**
|
|
14892
|
+
* The Amazon Resource Name (ARN) of an Amazon S3 bucket where audio log files are stored.
|
|
14893
|
+
*/
|
|
14894
|
+
s3BucketArn: pulumi.Input<string>;
|
|
14895
|
+
}
|
|
14896
|
+
/**
|
|
14897
|
+
* A label for tagging Lex resources
|
|
14898
|
+
*/
|
|
14899
|
+
interface BotAliasTagArgs {
|
|
14900
|
+
/**
|
|
14901
|
+
* A string used to identify this tag
|
|
14902
|
+
*/
|
|
14903
|
+
key: pulumi.Input<string>;
|
|
14904
|
+
/**
|
|
14905
|
+
* A string containing the value for the tag
|
|
14906
|
+
*/
|
|
14907
|
+
value: pulumi.Input<string>;
|
|
14908
|
+
}
|
|
14909
|
+
/**
|
|
14910
|
+
* Defines the Amazon CloudWatch Logs destination log group for conversation text logs.
|
|
14911
|
+
*/
|
|
14912
|
+
interface BotAliasTextLogDestinationArgs {
|
|
14913
|
+
cloudWatch?: pulumi.Input<inputs.lex.BotAliasCloudWatchLogGroupLogDestinationArgs>;
|
|
14914
|
+
}
|
|
14915
|
+
/**
|
|
14916
|
+
* Contains information about code hooks that Amazon Lex calls during a conversation.
|
|
14917
|
+
*/
|
|
14918
|
+
interface BotAliasTextLogSettingArgs {
|
|
14919
|
+
destination?: pulumi.Input<inputs.lex.BotAliasTextLogDestinationArgs>;
|
|
14920
|
+
enabled?: pulumi.Input<boolean>;
|
|
14921
|
+
}
|
|
14922
|
+
/**
|
|
14923
|
+
* A button to use on a response card used to gather slot values from a user.
|
|
14924
|
+
*/
|
|
14925
|
+
interface BotButtonArgs {
|
|
14926
|
+
/**
|
|
14927
|
+
* The text that appears on the button.
|
|
14928
|
+
*/
|
|
14929
|
+
text: pulumi.Input<string>;
|
|
14930
|
+
/**
|
|
14931
|
+
* The value returned to Amazon Lex when the user chooses this button.
|
|
14932
|
+
*/
|
|
14933
|
+
value: pulumi.Input<string>;
|
|
14934
|
+
}
|
|
14935
|
+
/**
|
|
14936
|
+
* A message in a custom format defined by the client application.
|
|
14937
|
+
*/
|
|
14938
|
+
interface BotCustomPayloadArgs {
|
|
14939
|
+
/**
|
|
14940
|
+
* The string that is sent to your application.
|
|
14941
|
+
*/
|
|
14942
|
+
value: pulumi.Input<string>;
|
|
14943
|
+
}
|
|
14944
|
+
/**
|
|
14945
|
+
* Settings that determine the Lambda function that Amazon Lex uses for processing user responses.
|
|
14946
|
+
*/
|
|
14947
|
+
interface BotDialogCodeHookSettingArgs {
|
|
14948
|
+
enabled: pulumi.Input<boolean>;
|
|
14949
|
+
}
|
|
14950
|
+
/**
|
|
14951
|
+
* Settings that determine if a Lambda function should be invoked to fulfill a specific intent.
|
|
14952
|
+
*/
|
|
14953
|
+
interface BotFulfillmentCodeHookSettingArgs {
|
|
14954
|
+
enabled: pulumi.Input<boolean>;
|
|
14955
|
+
fulfillmentUpdatesSpecification?: pulumi.Input<inputs.lex.BotFulfillmentUpdatesSpecificationArgs>;
|
|
14956
|
+
postFulfillmentStatusSpecification?: pulumi.Input<inputs.lex.BotPostFulfillmentStatusSpecificationArgs>;
|
|
14957
|
+
}
|
|
14958
|
+
/**
|
|
14959
|
+
* Provides settings for a message that is sent to the user when a fulfillment Lambda function starts running.
|
|
14960
|
+
*/
|
|
14961
|
+
interface BotFulfillmentStartResponseSpecificationArgs {
|
|
14962
|
+
/**
|
|
14963
|
+
* Determines whether the user can interrupt the start message while it is playing.
|
|
14964
|
+
*/
|
|
14965
|
+
allowInterrupt?: pulumi.Input<boolean>;
|
|
14966
|
+
/**
|
|
14967
|
+
* 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.
|
|
14968
|
+
*/
|
|
14969
|
+
delayInSeconds: pulumi.Input<number>;
|
|
14970
|
+
messageGroups: pulumi.Input<pulumi.Input<inputs.lex.BotMessageGroupArgs>[]>;
|
|
14971
|
+
}
|
|
14972
|
+
/**
|
|
14973
|
+
* Provides settings for a message that is sent periodically to the user while a fulfillment Lambda function is running.
|
|
14974
|
+
*/
|
|
14975
|
+
interface BotFulfillmentUpdateResponseSpecificationArgs {
|
|
14976
|
+
/**
|
|
14977
|
+
* Determines whether the user can interrupt an update message while it is playing.
|
|
14978
|
+
*/
|
|
14979
|
+
allowInterrupt?: pulumi.Input<boolean>;
|
|
14980
|
+
/**
|
|
14981
|
+
* 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.
|
|
14982
|
+
*/
|
|
14983
|
+
frequencyInSeconds: pulumi.Input<number>;
|
|
14984
|
+
messageGroups: pulumi.Input<pulumi.Input<inputs.lex.BotMessageGroupArgs>[]>;
|
|
14985
|
+
}
|
|
14986
|
+
/**
|
|
14987
|
+
* Provides information for updating the user on the progress of fulfilling an intent.
|
|
14988
|
+
*/
|
|
14989
|
+
interface BotFulfillmentUpdatesSpecificationArgs {
|
|
14990
|
+
/**
|
|
14991
|
+
* Determines whether fulfillment updates are sent to the user. When this field is true, updates are sent.
|
|
14992
|
+
*/
|
|
14993
|
+
active: pulumi.Input<boolean>;
|
|
14994
|
+
startResponse?: pulumi.Input<inputs.lex.BotFulfillmentStartResponseSpecificationArgs>;
|
|
14995
|
+
/**
|
|
14996
|
+
* The length of time that the fulfillment Lambda function should run before it times out.
|
|
14997
|
+
*/
|
|
14998
|
+
timeoutInSeconds?: pulumi.Input<number>;
|
|
14999
|
+
updateResponse?: pulumi.Input<inputs.lex.BotFulfillmentUpdateResponseSpecificationArgs>;
|
|
15000
|
+
}
|
|
15001
|
+
/**
|
|
15002
|
+
* A message that defines a response card that the client application can show to the user.
|
|
15003
|
+
*/
|
|
15004
|
+
interface BotImageResponseCardArgs {
|
|
15005
|
+
/**
|
|
15006
|
+
* A list of buttons that should be displayed on the response card.
|
|
15007
|
+
*/
|
|
15008
|
+
buttons?: pulumi.Input<pulumi.Input<inputs.lex.BotButtonArgs>[]>;
|
|
15009
|
+
/**
|
|
15010
|
+
* The URL of an image to display on the response card.
|
|
15011
|
+
*/
|
|
15012
|
+
imageUrl?: pulumi.Input<string>;
|
|
15013
|
+
/**
|
|
15014
|
+
* The subtitle to display on the response card.
|
|
15015
|
+
*/
|
|
15016
|
+
subtitle?: pulumi.Input<string>;
|
|
15017
|
+
/**
|
|
15018
|
+
* The title to display on the response card.
|
|
15019
|
+
*/
|
|
15020
|
+
title: pulumi.Input<string>;
|
|
15021
|
+
}
|
|
15022
|
+
/**
|
|
15023
|
+
* InputContext specified for the intent.
|
|
15024
|
+
*/
|
|
15025
|
+
interface BotInputContextArgs {
|
|
15026
|
+
/**
|
|
15027
|
+
* The name of the context.
|
|
15028
|
+
*/
|
|
15029
|
+
name: pulumi.Input<string>;
|
|
15030
|
+
}
|
|
15031
|
+
/**
|
|
15032
|
+
* An intent represents an action that the user wants to perform. You create a bot to support one or more related intents.
|
|
15033
|
+
*/
|
|
15034
|
+
interface BotIntentArgs {
|
|
15035
|
+
description?: pulumi.Input<string>;
|
|
15036
|
+
dialogCodeHook?: pulumi.Input<inputs.lex.BotDialogCodeHookSettingArgs>;
|
|
15037
|
+
fulfillmentCodeHook?: pulumi.Input<inputs.lex.BotFulfillmentCodeHookSettingArgs>;
|
|
15038
|
+
inputContexts?: pulumi.Input<pulumi.Input<inputs.lex.BotInputContextArgs>[]>;
|
|
15039
|
+
intentClosingSetting?: pulumi.Input<inputs.lex.BotIntentClosingSettingArgs>;
|
|
15040
|
+
intentConfirmationSetting?: pulumi.Input<inputs.lex.BotIntentConfirmationSettingArgs>;
|
|
15041
|
+
kendraConfiguration?: pulumi.Input<inputs.lex.BotKendraConfigurationArgs>;
|
|
15042
|
+
name: pulumi.Input<string>;
|
|
15043
|
+
outputContexts?: pulumi.Input<pulumi.Input<inputs.lex.BotOutputContextArgs>[]>;
|
|
15044
|
+
parentIntentSignature?: pulumi.Input<string>;
|
|
15045
|
+
sampleUtterances?: pulumi.Input<pulumi.Input<inputs.lex.BotSampleUtteranceArgs>[]>;
|
|
15046
|
+
slotPriorities?: pulumi.Input<pulumi.Input<inputs.lex.BotSlotPriorityArgs>[]>;
|
|
15047
|
+
/**
|
|
15048
|
+
* List of slots
|
|
15049
|
+
*/
|
|
15050
|
+
slots?: pulumi.Input<pulumi.Input<inputs.lex.BotSlotArgs>[]>;
|
|
15051
|
+
}
|
|
15052
|
+
/**
|
|
15053
|
+
* Response that Amazon Lex sends to the user when the intent is closed.
|
|
15054
|
+
*/
|
|
15055
|
+
interface BotIntentClosingSettingArgs {
|
|
15056
|
+
closingResponse: pulumi.Input<inputs.lex.BotResponseSpecificationArgs>;
|
|
15057
|
+
isActive?: pulumi.Input<boolean>;
|
|
15058
|
+
}
|
|
15059
|
+
/**
|
|
15060
|
+
* Prompts that Amazon Lex sends to the user to confirm the completion of an intent.
|
|
15061
|
+
*/
|
|
15062
|
+
interface BotIntentConfirmationSettingArgs {
|
|
15063
|
+
declinationResponse: pulumi.Input<inputs.lex.BotResponseSpecificationArgs>;
|
|
15064
|
+
isActive?: pulumi.Input<boolean>;
|
|
15065
|
+
promptSpecification: pulumi.Input<inputs.lex.BotPromptSpecificationArgs>;
|
|
15066
|
+
}
|
|
15067
|
+
/**
|
|
15068
|
+
* Configuration for searching a Amazon Kendra index specified for the intent.
|
|
15069
|
+
*/
|
|
15070
|
+
interface BotKendraConfigurationArgs {
|
|
15071
|
+
kendraIndex: pulumi.Input<string>;
|
|
15072
|
+
queryFilterString?: pulumi.Input<string>;
|
|
15073
|
+
/**
|
|
15074
|
+
* Determines whether the AMAZON.KendraSearchIntent intent uses a custom query string to query the Amazon Kendra index.
|
|
15075
|
+
*/
|
|
15076
|
+
queryFilterStringEnabled?: pulumi.Input<boolean>;
|
|
15077
|
+
}
|
|
15078
|
+
/**
|
|
15079
|
+
* 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.
|
|
15080
|
+
*/
|
|
15081
|
+
interface BotLocaleArgs {
|
|
15082
|
+
description?: pulumi.Input<string>;
|
|
15083
|
+
/**
|
|
15084
|
+
* List of intents
|
|
15085
|
+
*/
|
|
15086
|
+
intents?: pulumi.Input<pulumi.Input<inputs.lex.BotIntentArgs>[]>;
|
|
15087
|
+
localeId: pulumi.Input<string>;
|
|
15088
|
+
nluConfidenceThreshold: pulumi.Input<number>;
|
|
15089
|
+
/**
|
|
15090
|
+
* List of SlotTypes
|
|
15091
|
+
*/
|
|
15092
|
+
slotTypes?: pulumi.Input<pulumi.Input<inputs.lex.BotSlotTypeArgs>[]>;
|
|
15093
|
+
voiceSettings?: pulumi.Input<inputs.lex.BotVoiceSettingsArgs>;
|
|
15094
|
+
}
|
|
15095
|
+
/**
|
|
15096
|
+
* The primary message that Amazon Lex should send to the user.
|
|
15097
|
+
*/
|
|
15098
|
+
interface BotMessageArgs {
|
|
15099
|
+
customPayload?: pulumi.Input<inputs.lex.BotCustomPayloadArgs>;
|
|
15100
|
+
imageResponseCard?: pulumi.Input<inputs.lex.BotImageResponseCardArgs>;
|
|
15101
|
+
plainTextMessage?: pulumi.Input<inputs.lex.BotPlainTextMessageArgs>;
|
|
15102
|
+
sSMLMessage?: pulumi.Input<inputs.lex.BotSSMLMessageArgs>;
|
|
15103
|
+
}
|
|
15104
|
+
/**
|
|
15105
|
+
* One or more messages that Amazon Lex can send to the user.
|
|
15106
|
+
*/
|
|
15107
|
+
interface BotMessageGroupArgs {
|
|
15108
|
+
message: pulumi.Input<inputs.lex.BotMessageArgs>;
|
|
15109
|
+
/**
|
|
15110
|
+
* Message variations to send to the user.
|
|
15111
|
+
*/
|
|
15112
|
+
variations?: pulumi.Input<pulumi.Input<inputs.lex.BotMessageArgs>[]>;
|
|
15113
|
+
}
|
|
15114
|
+
/**
|
|
15115
|
+
* Indicates whether a slot can return multiple values.
|
|
15116
|
+
*/
|
|
15117
|
+
interface BotMultipleValuesSettingArgs {
|
|
15118
|
+
allowMultipleValues?: pulumi.Input<boolean>;
|
|
15119
|
+
}
|
|
15120
|
+
/**
|
|
15121
|
+
* Determines whether Amazon Lex obscures slot values in conversation logs.
|
|
15122
|
+
*/
|
|
15123
|
+
interface BotObfuscationSettingArgs {
|
|
15124
|
+
/**
|
|
15125
|
+
* Value that determines whether Amazon Lex obscures slot values in conversation logs. The default is to obscure the values.
|
|
15126
|
+
*/
|
|
15127
|
+
obfuscationSettingType: pulumi.Input<enums.lex.BotObfuscationSettingObfuscationSettingType>;
|
|
15128
|
+
}
|
|
15129
|
+
/**
|
|
15130
|
+
* A session context that is activated when an intent is fulfilled.
|
|
15131
|
+
*/
|
|
15132
|
+
interface BotOutputContextArgs {
|
|
15133
|
+
name: pulumi.Input<string>;
|
|
15134
|
+
timeToLiveInSeconds: pulumi.Input<number>;
|
|
15135
|
+
turnsToLive: pulumi.Input<number>;
|
|
15136
|
+
}
|
|
15137
|
+
/**
|
|
15138
|
+
* A message in plain text format.
|
|
15139
|
+
*/
|
|
15140
|
+
interface BotPlainTextMessageArgs {
|
|
15141
|
+
/**
|
|
15142
|
+
* The message to send to the user.
|
|
15143
|
+
*/
|
|
15144
|
+
value: pulumi.Input<string>;
|
|
15145
|
+
}
|
|
15146
|
+
/**
|
|
15147
|
+
* Provides information for updating the user on the progress of fulfilling an intent.
|
|
15148
|
+
*/
|
|
15149
|
+
interface BotPostFulfillmentStatusSpecificationArgs {
|
|
15150
|
+
failureResponse?: pulumi.Input<inputs.lex.BotResponseSpecificationArgs>;
|
|
15151
|
+
successResponse?: pulumi.Input<inputs.lex.BotResponseSpecificationArgs>;
|
|
15152
|
+
timeoutResponse?: pulumi.Input<inputs.lex.BotResponseSpecificationArgs>;
|
|
15153
|
+
}
|
|
15154
|
+
/**
|
|
15155
|
+
* Prompts the user to confirm the intent.
|
|
15156
|
+
*/
|
|
15157
|
+
interface BotPromptSpecificationArgs {
|
|
15158
|
+
/**
|
|
15159
|
+
* Indicates whether the user can interrupt a speech prompt from the bot.
|
|
15160
|
+
*/
|
|
15161
|
+
allowInterrupt?: pulumi.Input<boolean>;
|
|
15162
|
+
maxRetries: pulumi.Input<number>;
|
|
15163
|
+
messageGroupsList: pulumi.Input<pulumi.Input<inputs.lex.BotMessageGroupArgs>[]>;
|
|
15164
|
+
}
|
|
15165
|
+
/**
|
|
15166
|
+
* A list of message groups that Amazon Lex uses to respond the user input.
|
|
15167
|
+
*/
|
|
15168
|
+
interface BotResponseSpecificationArgs {
|
|
15169
|
+
/**
|
|
15170
|
+
* Indicates whether the user can interrupt a speech prompt from the bot.
|
|
15171
|
+
*/
|
|
15172
|
+
allowInterrupt?: pulumi.Input<boolean>;
|
|
15173
|
+
messageGroupsList: pulumi.Input<pulumi.Input<inputs.lex.BotMessageGroupArgs>[]>;
|
|
15174
|
+
}
|
|
15175
|
+
/**
|
|
15176
|
+
* S3 location of bot definitions zip file, if it's not defined inline in CloudFormation.
|
|
15177
|
+
*/
|
|
15178
|
+
interface BotS3LocationArgs {
|
|
15179
|
+
/**
|
|
15180
|
+
* An Amazon S3 bucket in the same AWS Region as your function. The bucket can be in a different AWS account.
|
|
15181
|
+
*/
|
|
15182
|
+
s3Bucket: pulumi.Input<string>;
|
|
15183
|
+
/**
|
|
15184
|
+
* The Amazon S3 key of the deployment package.
|
|
15185
|
+
*/
|
|
15186
|
+
s3ObjectKey: pulumi.Input<string>;
|
|
15187
|
+
/**
|
|
15188
|
+
* For versioned objects, the version of the deployment package object to use. If not specified, the current object version will be used.
|
|
15189
|
+
*/
|
|
15190
|
+
s3ObjectVersion?: pulumi.Input<string>;
|
|
15191
|
+
}
|
|
15192
|
+
/**
|
|
15193
|
+
* A message in Speech Synthesis Markup Language (SSML).
|
|
15194
|
+
*/
|
|
15195
|
+
interface BotSSMLMessageArgs {
|
|
15196
|
+
/**
|
|
15197
|
+
* The SSML text that defines the prompt.
|
|
15198
|
+
*/
|
|
15199
|
+
value: pulumi.Input<string>;
|
|
15200
|
+
}
|
|
15201
|
+
/**
|
|
15202
|
+
* A sample utterance that invokes an intent or respond to a slot elicitation prompt.
|
|
15203
|
+
*/
|
|
15204
|
+
interface BotSampleUtteranceArgs {
|
|
15205
|
+
utterance: pulumi.Input<string>;
|
|
15206
|
+
}
|
|
15207
|
+
/**
|
|
15208
|
+
* Defines one of the values for a slot type.
|
|
15209
|
+
*/
|
|
15210
|
+
interface BotSampleValueArgs {
|
|
15211
|
+
/**
|
|
15212
|
+
* The value that can be used for a slot type.
|
|
15213
|
+
*/
|
|
15214
|
+
value: pulumi.Input<string>;
|
|
15215
|
+
}
|
|
15216
|
+
/**
|
|
15217
|
+
* A slot is a variable needed to fulfill an intent, where an intent can require zero or more slots.
|
|
15218
|
+
*/
|
|
15219
|
+
interface BotSlotArgs {
|
|
15220
|
+
description?: pulumi.Input<string>;
|
|
15221
|
+
multipleValuesSetting?: pulumi.Input<inputs.lex.BotMultipleValuesSettingArgs>;
|
|
15222
|
+
name: pulumi.Input<string>;
|
|
15223
|
+
obfuscationSetting?: pulumi.Input<inputs.lex.BotObfuscationSettingArgs>;
|
|
15224
|
+
slotTypeName: pulumi.Input<string>;
|
|
15225
|
+
valueElicitationSetting: pulumi.Input<inputs.lex.BotSlotValueElicitationSettingArgs>;
|
|
15226
|
+
}
|
|
15227
|
+
/**
|
|
15228
|
+
* The default value to use when a user doesn't provide a value for a slot.
|
|
15229
|
+
*/
|
|
15230
|
+
interface BotSlotDefaultValueArgs {
|
|
15231
|
+
/**
|
|
15232
|
+
* The default value to use when a user doesn't provide a value for a slot.
|
|
15233
|
+
*/
|
|
15234
|
+
defaultValue: pulumi.Input<string>;
|
|
15235
|
+
}
|
|
15236
|
+
/**
|
|
15237
|
+
* A list of values that Amazon Lex should use as the default value for a slot.
|
|
15238
|
+
*/
|
|
15239
|
+
interface BotSlotDefaultValueSpecificationArgs {
|
|
15240
|
+
/**
|
|
15241
|
+
* A list of slot default values
|
|
15242
|
+
*/
|
|
15243
|
+
defaultValueList: pulumi.Input<pulumi.Input<inputs.lex.BotSlotDefaultValueArgs>[]>;
|
|
15244
|
+
}
|
|
15245
|
+
/**
|
|
15246
|
+
* The priority that Amazon Lex should use when eliciting slot values from a user.
|
|
15247
|
+
*/
|
|
15248
|
+
interface BotSlotPriorityArgs {
|
|
15249
|
+
priority: pulumi.Input<number>;
|
|
15250
|
+
/**
|
|
15251
|
+
* The name of the slot.
|
|
15252
|
+
*/
|
|
15253
|
+
slotName: pulumi.Input<string>;
|
|
15254
|
+
}
|
|
15255
|
+
/**
|
|
15256
|
+
* A custom slot type.
|
|
15257
|
+
*/
|
|
15258
|
+
interface BotSlotTypeArgs {
|
|
15259
|
+
description?: pulumi.Input<string>;
|
|
15260
|
+
name: pulumi.Input<string>;
|
|
15261
|
+
parentSlotTypeSignature?: pulumi.Input<string>;
|
|
15262
|
+
slotTypeValues?: pulumi.Input<pulumi.Input<inputs.lex.BotSlotTypeValueArgs>[]>;
|
|
15263
|
+
valueSelectionSetting: pulumi.Input<inputs.lex.BotSlotValueSelectionSettingArgs>;
|
|
15264
|
+
}
|
|
15265
|
+
/**
|
|
15266
|
+
* Value that the slot type can take.
|
|
15267
|
+
*/
|
|
15268
|
+
interface BotSlotTypeValueArgs {
|
|
15269
|
+
sampleValue: pulumi.Input<inputs.lex.BotSampleValueArgs>;
|
|
15270
|
+
synonyms?: pulumi.Input<pulumi.Input<inputs.lex.BotSampleValueArgs>[]>;
|
|
15271
|
+
}
|
|
15272
|
+
/**
|
|
15273
|
+
* Settings that you can use for eliciting a slot value.
|
|
15274
|
+
*/
|
|
15275
|
+
interface BotSlotValueElicitationSettingArgs {
|
|
15276
|
+
/**
|
|
15277
|
+
* A list of default values for a slot.
|
|
15278
|
+
*/
|
|
15279
|
+
defaultValueSpecification?: pulumi.Input<inputs.lex.BotSlotDefaultValueSpecificationArgs>;
|
|
15280
|
+
/**
|
|
15281
|
+
* The prompt that Amazon Lex uses to elicit the slot value from the user.
|
|
15282
|
+
*/
|
|
15283
|
+
promptSpecification?: pulumi.Input<inputs.lex.BotPromptSpecificationArgs>;
|
|
15284
|
+
/**
|
|
15285
|
+
* 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.
|
|
15286
|
+
*/
|
|
15287
|
+
sampleUtterances?: pulumi.Input<pulumi.Input<inputs.lex.BotSampleUtteranceArgs>[]>;
|
|
15288
|
+
/**
|
|
15289
|
+
* Specifies whether the slot is required or optional.
|
|
15290
|
+
*/
|
|
15291
|
+
slotConstraint: pulumi.Input<enums.lex.BotSlotConstraint>;
|
|
15292
|
+
/**
|
|
15293
|
+
* Specifies the prompts that Amazon Lex uses while a bot is waiting for customer input.
|
|
15294
|
+
*/
|
|
15295
|
+
waitAndContinueSpecification?: pulumi.Input<inputs.lex.BotWaitAndContinueSpecificationArgs>;
|
|
15296
|
+
}
|
|
15297
|
+
/**
|
|
15298
|
+
* A regular expression used to validate the value of a slot.
|
|
15299
|
+
*/
|
|
15300
|
+
interface BotSlotValueRegexFilterArgs {
|
|
15301
|
+
/**
|
|
15302
|
+
* Regex pattern
|
|
15303
|
+
*/
|
|
15304
|
+
pattern: pulumi.Input<string>;
|
|
15305
|
+
}
|
|
15306
|
+
/**
|
|
15307
|
+
* Contains settings used by Amazon Lex to select a slot value.
|
|
15308
|
+
*/
|
|
15309
|
+
interface BotSlotValueSelectionSettingArgs {
|
|
15310
|
+
regexFilter?: pulumi.Input<inputs.lex.BotSlotValueRegexFilterArgs>;
|
|
15311
|
+
resolutionStrategy: pulumi.Input<enums.lex.BotSlotValueResolutionStrategy>;
|
|
15312
|
+
}
|
|
15313
|
+
/**
|
|
15314
|
+
* StillWaitingResponseSpecification.
|
|
15315
|
+
*/
|
|
15316
|
+
interface BotStillWaitingResponseSpecificationArgs {
|
|
15317
|
+
/**
|
|
15318
|
+
* Indicates whether the user can interrupt a speech prompt from the bot.
|
|
15319
|
+
*/
|
|
15320
|
+
allowInterrupt?: pulumi.Input<boolean>;
|
|
15321
|
+
frequencyInSeconds: pulumi.Input<number>;
|
|
15322
|
+
messageGroupsList: pulumi.Input<pulumi.Input<inputs.lex.BotMessageGroupArgs>[]>;
|
|
15323
|
+
timeoutInSeconds: pulumi.Input<number>;
|
|
15324
|
+
}
|
|
15325
|
+
/**
|
|
15326
|
+
* A key-value pair for tagging Lex resources
|
|
15327
|
+
*/
|
|
15328
|
+
interface BotTagArgs {
|
|
15329
|
+
/**
|
|
15330
|
+
* 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 -.
|
|
15331
|
+
*/
|
|
15332
|
+
key: pulumi.Input<string>;
|
|
15333
|
+
/**
|
|
15334
|
+
* 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 -.
|
|
15335
|
+
*/
|
|
15336
|
+
value: pulumi.Input<string>;
|
|
15337
|
+
}
|
|
15338
|
+
/**
|
|
15339
|
+
* The version of a bot used for a bot locale.
|
|
15340
|
+
*/
|
|
15341
|
+
interface BotVersionLocaleDetailsArgs {
|
|
15342
|
+
sourceBotVersion: pulumi.Input<string>;
|
|
15343
|
+
}
|
|
15344
|
+
interface BotVersionLocaleSpecificationItemPropertiesArgs {
|
|
15345
|
+
botVersionLocaleDetails: pulumi.Input<inputs.lex.BotVersionLocaleDetailsArgs>;
|
|
15346
|
+
localeId: pulumi.Input<string>;
|
|
15347
|
+
}
|
|
15348
|
+
/**
|
|
15349
|
+
* Settings for using an Amazon Polly voice to communicate with a user.
|
|
15350
|
+
*/
|
|
15351
|
+
interface BotVoiceSettingsArgs {
|
|
15352
|
+
/**
|
|
15353
|
+
* The Amazon Polly voice ID that Amazon Lex uses for voice interaction with the user.
|
|
15354
|
+
*/
|
|
15355
|
+
voiceId: pulumi.Input<string>;
|
|
15356
|
+
}
|
|
15357
|
+
/**
|
|
15358
|
+
* The prompts that Amazon Lex uses while a bot is waiting for customer input.
|
|
15359
|
+
*/
|
|
15360
|
+
interface BotWaitAndContinueSpecificationArgs {
|
|
15361
|
+
/**
|
|
15362
|
+
* The response that Amazon Lex sends to indicate that the bot is ready to continue the conversation.
|
|
15363
|
+
*/
|
|
15364
|
+
continueResponse: pulumi.Input<inputs.lex.BotResponseSpecificationArgs>;
|
|
15365
|
+
/**
|
|
15366
|
+
* Specifies whether the bot will wait for a user to respond.
|
|
15367
|
+
*/
|
|
15368
|
+
isActive?: pulumi.Input<boolean>;
|
|
15369
|
+
/**
|
|
15370
|
+
* The response that Amazon Lex sends periodically to the user to indicate that the bot is still waiting for input from the user.
|
|
15371
|
+
*/
|
|
15372
|
+
stillWaitingResponse?: pulumi.Input<inputs.lex.BotStillWaitingResponseSpecificationArgs>;
|
|
15373
|
+
/**
|
|
15374
|
+
* The response that Amazon Lex sends to indicate that the bot is waiting for the conversation to continue.
|
|
15375
|
+
*/
|
|
15376
|
+
waitingResponse: pulumi.Input<inputs.lex.BotResponseSpecificationArgs>;
|
|
15377
|
+
}
|
|
15378
|
+
/**
|
|
15379
|
+
* Data privacy setting of the Bot.
|
|
15380
|
+
*/
|
|
15381
|
+
interface DataPrivacyPropertiesArgs {
|
|
15382
|
+
childDirected: pulumi.Input<boolean>;
|
|
15383
|
+
}
|
|
15384
|
+
/**
|
|
15385
|
+
* 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.
|
|
15386
|
+
*/
|
|
15387
|
+
interface ResourcePolicyPolicyArgs {
|
|
15388
|
+
}
|
|
15389
|
+
/**
|
|
15390
|
+
* Determines whether Amazon Lex will use Amazon Comprehend to detect the sentiment of user utterances.
|
|
15391
|
+
*/
|
|
15392
|
+
interface SentimentAnalysisSettingsPropertiesArgs {
|
|
15393
|
+
/**
|
|
15394
|
+
* Enable to call Amazon Comprehend for Sentiment natively within Lex
|
|
15395
|
+
*/
|
|
15396
|
+
detectSentiment: pulumi.Input<boolean>;
|
|
15397
|
+
}
|
|
15398
|
+
}
|
|
14809
15399
|
export declare namespace licensemanager {
|
|
14810
15400
|
interface LicenseBorrowConfigurationArgs {
|
|
14811
15401
|
allowEarlyCheckIn: pulumi.Input<boolean>;
|