@aws-sdk/client-lex-models-v2 3.171.0 → 3.178.0
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/CHANGELOG.md +11 -0
- package/dist-cjs/commands/UpdateSlotTypeCommand.js +2 -1
- package/dist-cjs/models/models_0.js +39 -34
- package/dist-cjs/models/models_1.js +29 -1
- package/dist-cjs/protocols/Aws_restJson1.js +128 -0
- package/dist-es/commands/UpdateSlotTypeCommand.js +2 -1
- package/dist-es/models/models_0.js +15 -7
- package/dist-es/models/models_1.js +7 -0
- package/dist-es/protocols/Aws_restJson1.js +105 -2
- package/dist-types/commands/UpdateSlotTypeCommand.d.ts +2 -1
- package/dist-types/models/models_0.d.ts +134 -211
- package/dist-types/models/models_1.d.ts +214 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateSlotTypeCommand.d.ts +2 -4
- package/dist-types/ts3.4/models/models_0.d.ts +55 -63
- package/dist-types/ts3.4/models/models_1.d.ts +71 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +3 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -1
- package/package.json +27 -27
|
@@ -7912,6 +7912,9 @@ var serializeAws_restJson1AggregatedUtterancesFilters = function (input, context
|
|
|
7912
7912
|
var serializeAws_restJson1AggregatedUtterancesSortBy = function (input, context) {
|
|
7913
7913
|
return __assign(__assign({}, (input.attribute != null && { attribute: input.attribute })), (input.order != null && { order: input.order }));
|
|
7914
7914
|
};
|
|
7915
|
+
var serializeAws_restJson1AllowedInputTypes = function (input, context) {
|
|
7916
|
+
return __assign(__assign({}, (input.allowAudioInput != null && { allowAudioInput: input.allowAudioInput })), (input.allowDTMFInput != null && { allowDTMFInput: input.allowDTMFInput }));
|
|
7917
|
+
};
|
|
7915
7918
|
var serializeAws_restJson1AssociatedTranscriptFilter = function (input, context) {
|
|
7916
7919
|
return __assign(__assign({}, (input.name != null && { name: input.name })), (input.values != null && { values: serializeAws_restJson1FilterValues(input.values, context) }));
|
|
7917
7920
|
};
|
|
@@ -7922,6 +7925,13 @@ var serializeAws_restJson1AssociatedTranscriptFilters = function (input, context
|
|
|
7922
7925
|
return serializeAws_restJson1AssociatedTranscriptFilter(entry, context);
|
|
7923
7926
|
});
|
|
7924
7927
|
};
|
|
7928
|
+
var serializeAws_restJson1AudioAndDTMFInputSpecification = function (input, context) {
|
|
7929
|
+
return __assign(__assign(__assign({}, (input.audioSpecification != null && {
|
|
7930
|
+
audioSpecification: serializeAws_restJson1AudioSpecification(input.audioSpecification, context),
|
|
7931
|
+
})), (input.dtmfSpecification != null && {
|
|
7932
|
+
dtmfSpecification: serializeAws_restJson1DTMFSpecification(input.dtmfSpecification, context),
|
|
7933
|
+
})), (input.startTimeoutMs != null && { startTimeoutMs: input.startTimeoutMs }));
|
|
7934
|
+
};
|
|
7925
7935
|
var serializeAws_restJson1AudioLogDestination = function (input, context) {
|
|
7926
7936
|
return __assign({}, (input.s3Bucket != null && { s3Bucket: serializeAws_restJson1S3BucketLogDestination(input.s3Bucket, context) }));
|
|
7927
7937
|
};
|
|
@@ -7937,6 +7947,9 @@ var serializeAws_restJson1AudioLogSettingsList = function (input, context) {
|
|
|
7937
7947
|
return serializeAws_restJson1AudioLogSetting(entry, context);
|
|
7938
7948
|
});
|
|
7939
7949
|
};
|
|
7950
|
+
var serializeAws_restJson1AudioSpecification = function (input, context) {
|
|
7951
|
+
return __assign(__assign({}, (input.endTimeoutMs != null && { endTimeoutMs: input.endTimeoutMs })), (input.maxLengthMs != null && { maxLengthMs: input.maxLengthMs }));
|
|
7952
|
+
};
|
|
7940
7953
|
var serializeAws_restJson1BotAliasLocaleSettings = function (input, context) {
|
|
7941
7954
|
return __assign(__assign({}, (input.codeHookSpecification != null && {
|
|
7942
7955
|
codeHookSpecification: serializeAws_restJson1CodeHookSpecification(input.codeHookSpecification, context),
|
|
@@ -8122,6 +8135,9 @@ var serializeAws_restJson1DialogState = function (input, context) {
|
|
|
8122
8135
|
sessionAttributes: serializeAws_restJson1StringMap(input.sessionAttributes, context),
|
|
8123
8136
|
}));
|
|
8124
8137
|
};
|
|
8138
|
+
var serializeAws_restJson1DTMFSpecification = function (input, context) {
|
|
8139
|
+
return __assign(__assign(__assign(__assign({}, (input.deletionCharacter != null && { deletionCharacter: input.deletionCharacter })), (input.endCharacter != null && { endCharacter: input.endCharacter })), (input.endTimeoutMs != null && { endTimeoutMs: input.endTimeoutMs })), (input.maxLength != null && { maxLength: input.maxLength }));
|
|
8140
|
+
};
|
|
8125
8141
|
var serializeAws_restJson1ElicitationCodeHookInvocationSetting = function (input, context) {
|
|
8126
8142
|
return __assign(__assign({}, (input.enableCodeHookInvocation != null && { enableCodeHookInvocation: input.enableCodeHookInvocation })), (input.invocationLabel != null && { invocationLabel: input.invocationLabel }));
|
|
8127
8143
|
};
|
|
@@ -8417,10 +8433,31 @@ var serializeAws_restJson1PrincipalList = function (input, context) {
|
|
|
8417
8433
|
return serializeAws_restJson1Principal(entry, context);
|
|
8418
8434
|
});
|
|
8419
8435
|
};
|
|
8436
|
+
var serializeAws_restJson1PromptAttemptSpecification = function (input, context) {
|
|
8437
|
+
return __assign(__assign(__assign(__assign({}, (input.allowInterrupt != null && { allowInterrupt: input.allowInterrupt })), (input.allowedInputTypes != null && {
|
|
8438
|
+
allowedInputTypes: serializeAws_restJson1AllowedInputTypes(input.allowedInputTypes, context),
|
|
8439
|
+
})), (input.audioAndDTMFInputSpecification != null && {
|
|
8440
|
+
audioAndDTMFInputSpecification: serializeAws_restJson1AudioAndDTMFInputSpecification(input.audioAndDTMFInputSpecification, context),
|
|
8441
|
+
})), (input.textInputSpecification != null && {
|
|
8442
|
+
textInputSpecification: serializeAws_restJson1TextInputSpecification(input.textInputSpecification, context),
|
|
8443
|
+
}));
|
|
8444
|
+
};
|
|
8445
|
+
var serializeAws_restJson1PromptAttemptsSpecificationMap = function (input, context) {
|
|
8446
|
+
return Object.entries(input).reduce(function (acc, _a) {
|
|
8447
|
+
var _b;
|
|
8448
|
+
var _c = __read(_a, 2), key = _c[0], value = _c[1];
|
|
8449
|
+
if (value === null) {
|
|
8450
|
+
return acc;
|
|
8451
|
+
}
|
|
8452
|
+
return __assign(__assign({}, acc), (_b = {}, _b[key] = serializeAws_restJson1PromptAttemptSpecification(value, context), _b));
|
|
8453
|
+
}, {});
|
|
8454
|
+
};
|
|
8420
8455
|
var serializeAws_restJson1PromptSpecification = function (input, context) {
|
|
8421
|
-
return __assign(__assign(__assign(__assign({}, (input.allowInterrupt != null && { allowInterrupt: input.allowInterrupt })), (input.maxRetries != null && { maxRetries: input.maxRetries })), (input.messageGroups != null && {
|
|
8456
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.allowInterrupt != null && { allowInterrupt: input.allowInterrupt })), (input.maxRetries != null && { maxRetries: input.maxRetries })), (input.messageGroups != null && {
|
|
8422
8457
|
messageGroups: serializeAws_restJson1MessageGroupsList(input.messageGroups, context),
|
|
8423
|
-
})), (input.messageSelectionStrategy != null && { messageSelectionStrategy: input.messageSelectionStrategy }))
|
|
8458
|
+
})), (input.messageSelectionStrategy != null && { messageSelectionStrategy: input.messageSelectionStrategy })), (input.promptAttemptsSpecification != null && {
|
|
8459
|
+
promptAttemptsSpecification: serializeAws_restJson1PromptAttemptsSpecificationMap(input.promptAttemptsSpecification, context),
|
|
8460
|
+
}));
|
|
8424
8461
|
};
|
|
8425
8462
|
var serializeAws_restJson1RelativeAggregationDuration = function (input, context) {
|
|
8426
8463
|
return __assign(__assign({}, (input.timeDimension != null && { timeDimension: input.timeDimension })), (input.timeValue != null && { timeValue: input.timeValue }));
|
|
@@ -8656,6 +8693,9 @@ var serializeAws_restJson1TagMap = function (input, context) {
|
|
|
8656
8693
|
return __assign(__assign({}, acc), (_b = {}, _b[key] = value, _b));
|
|
8657
8694
|
}, {});
|
|
8658
8695
|
};
|
|
8696
|
+
var serializeAws_restJson1TextInputSpecification = function (input, context) {
|
|
8697
|
+
return __assign({}, (input.startTimeoutMs != null && { startTimeoutMs: input.startTimeoutMs }));
|
|
8698
|
+
};
|
|
8659
8699
|
var serializeAws_restJson1TextLogDestination = function (input, context) {
|
|
8660
8700
|
return __assign({}, (input.cloudWatch != null && {
|
|
8661
8701
|
cloudWatch: serializeAws_restJson1CloudWatchLogGroupLogDestination(input.cloudWatch, context),
|
|
@@ -8730,6 +8770,12 @@ var deserializeAws_restJson1AggregatedUtterancesSummaryList = function (output,
|
|
|
8730
8770
|
});
|
|
8731
8771
|
return retVal;
|
|
8732
8772
|
};
|
|
8773
|
+
var deserializeAws_restJson1AllowedInputTypes = function (output, context) {
|
|
8774
|
+
return {
|
|
8775
|
+
allowAudioInput: __expectBoolean(output.allowAudioInput),
|
|
8776
|
+
allowDTMFInput: __expectBoolean(output.allowDTMFInput),
|
|
8777
|
+
};
|
|
8778
|
+
};
|
|
8733
8779
|
var deserializeAws_restJson1AssociatedTranscript = function (output, context) {
|
|
8734
8780
|
return {
|
|
8735
8781
|
transcript: __expectString(output.transcript),
|
|
@@ -8746,6 +8792,17 @@ var deserializeAws_restJson1AssociatedTranscriptList = function (output, context
|
|
|
8746
8792
|
});
|
|
8747
8793
|
return retVal;
|
|
8748
8794
|
};
|
|
8795
|
+
var deserializeAws_restJson1AudioAndDTMFInputSpecification = function (output, context) {
|
|
8796
|
+
return {
|
|
8797
|
+
audioSpecification: output.audioSpecification != null
|
|
8798
|
+
? deserializeAws_restJson1AudioSpecification(output.audioSpecification, context)
|
|
8799
|
+
: undefined,
|
|
8800
|
+
dtmfSpecification: output.dtmfSpecification != null
|
|
8801
|
+
? deserializeAws_restJson1DTMFSpecification(output.dtmfSpecification, context)
|
|
8802
|
+
: undefined,
|
|
8803
|
+
startTimeoutMs: __expectInt32(output.startTimeoutMs),
|
|
8804
|
+
};
|
|
8805
|
+
};
|
|
8749
8806
|
var deserializeAws_restJson1AudioLogDestination = function (output, context) {
|
|
8750
8807
|
return {
|
|
8751
8808
|
s3Bucket: output.s3Bucket != null ? deserializeAws_restJson1S3BucketLogDestination(output.s3Bucket, context) : undefined,
|
|
@@ -8768,6 +8825,12 @@ var deserializeAws_restJson1AudioLogSettingsList = function (output, context) {
|
|
|
8768
8825
|
});
|
|
8769
8826
|
return retVal;
|
|
8770
8827
|
};
|
|
8828
|
+
var deserializeAws_restJson1AudioSpecification = function (output, context) {
|
|
8829
|
+
return {
|
|
8830
|
+
endTimeoutMs: __expectInt32(output.endTimeoutMs),
|
|
8831
|
+
maxLengthMs: __expectInt32(output.maxLengthMs),
|
|
8832
|
+
};
|
|
8833
|
+
};
|
|
8771
8834
|
var deserializeAws_restJson1BotAliasHistoryEvent = function (output, context) {
|
|
8772
8835
|
return {
|
|
8773
8836
|
botVersion: __expectString(output.botVersion),
|
|
@@ -9187,6 +9250,14 @@ var deserializeAws_restJson1DialogState = function (output, context) {
|
|
|
9187
9250
|
: undefined,
|
|
9188
9251
|
};
|
|
9189
9252
|
};
|
|
9253
|
+
var deserializeAws_restJson1DTMFSpecification = function (output, context) {
|
|
9254
|
+
return {
|
|
9255
|
+
deletionCharacter: __expectString(output.deletionCharacter),
|
|
9256
|
+
endCharacter: __expectString(output.endCharacter),
|
|
9257
|
+
endTimeoutMs: __expectInt32(output.endTimeoutMs),
|
|
9258
|
+
maxLength: __expectInt32(output.maxLength),
|
|
9259
|
+
};
|
|
9260
|
+
};
|
|
9190
9261
|
var deserializeAws_restJson1ElicitationCodeHookInvocationSetting = function (output, context) {
|
|
9191
9262
|
return {
|
|
9192
9263
|
enableCodeHookInvocation: __expectBoolean(output.enableCodeHookInvocation),
|
|
@@ -9641,6 +9712,30 @@ var deserializeAws_restJson1PostFulfillmentStatusSpecification = function (outpu
|
|
|
9641
9712
|
: undefined,
|
|
9642
9713
|
};
|
|
9643
9714
|
};
|
|
9715
|
+
var deserializeAws_restJson1PromptAttemptSpecification = function (output, context) {
|
|
9716
|
+
return {
|
|
9717
|
+
allowInterrupt: __expectBoolean(output.allowInterrupt),
|
|
9718
|
+
allowedInputTypes: output.allowedInputTypes != null
|
|
9719
|
+
? deserializeAws_restJson1AllowedInputTypes(output.allowedInputTypes, context)
|
|
9720
|
+
: undefined,
|
|
9721
|
+
audioAndDTMFInputSpecification: output.audioAndDTMFInputSpecification != null
|
|
9722
|
+
? deserializeAws_restJson1AudioAndDTMFInputSpecification(output.audioAndDTMFInputSpecification, context)
|
|
9723
|
+
: undefined,
|
|
9724
|
+
textInputSpecification: output.textInputSpecification != null
|
|
9725
|
+
? deserializeAws_restJson1TextInputSpecification(output.textInputSpecification, context)
|
|
9726
|
+
: undefined,
|
|
9727
|
+
};
|
|
9728
|
+
};
|
|
9729
|
+
var deserializeAws_restJson1PromptAttemptsSpecificationMap = function (output, context) {
|
|
9730
|
+
return Object.entries(output).reduce(function (acc, _a) {
|
|
9731
|
+
var _b;
|
|
9732
|
+
var _c = __read(_a, 2), key = _c[0], value = _c[1];
|
|
9733
|
+
if (value === null) {
|
|
9734
|
+
return acc;
|
|
9735
|
+
}
|
|
9736
|
+
return __assign(__assign({}, acc), (_b = {}, _b[key] = deserializeAws_restJson1PromptAttemptSpecification(value, context), _b));
|
|
9737
|
+
}, {});
|
|
9738
|
+
};
|
|
9644
9739
|
var deserializeAws_restJson1PromptSpecification = function (output, context) {
|
|
9645
9740
|
return {
|
|
9646
9741
|
allowInterrupt: __expectBoolean(output.allowInterrupt),
|
|
@@ -9649,6 +9744,9 @@ var deserializeAws_restJson1PromptSpecification = function (output, context) {
|
|
|
9649
9744
|
? deserializeAws_restJson1MessageGroupsList(output.messageGroups, context)
|
|
9650
9745
|
: undefined,
|
|
9651
9746
|
messageSelectionStrategy: __expectString(output.messageSelectionStrategy),
|
|
9747
|
+
promptAttemptsSpecification: output.promptAttemptsSpecification != null
|
|
9748
|
+
? deserializeAws_restJson1PromptAttemptsSpecificationMap(output.promptAttemptsSpecification, context)
|
|
9749
|
+
: undefined,
|
|
9652
9750
|
};
|
|
9653
9751
|
};
|
|
9654
9752
|
var deserializeAws_restJson1RecommendedActions = function (output, context) {
|
|
@@ -10047,6 +10145,11 @@ var deserializeAws_restJson1TagMap = function (output, context) {
|
|
|
10047
10145
|
return __assign(__assign({}, acc), (_b = {}, _b[key] = __expectString(value), _b));
|
|
10048
10146
|
}, {});
|
|
10049
10147
|
};
|
|
10148
|
+
var deserializeAws_restJson1TextInputSpecification = function (output, context) {
|
|
10149
|
+
return {
|
|
10150
|
+
startTimeoutMs: __expectInt32(output.startTimeoutMs),
|
|
10151
|
+
};
|
|
10152
|
+
};
|
|
10050
10153
|
var deserializeAws_restJson1TextLogDestination = function (output, context) {
|
|
10051
10154
|
return {
|
|
10052
10155
|
cloudWatch: output.cloudWatch != null
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
3
|
import { LexModelsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexModelsV2Client";
|
|
4
|
-
import { UpdateSlotTypeRequest
|
|
4
|
+
import { UpdateSlotTypeRequest } from "../models/models_0";
|
|
5
|
+
import { UpdateSlotTypeResponse } from "../models/models_1";
|
|
5
6
|
export interface UpdateSlotTypeCommandInput extends UpdateSlotTypeRequest {
|
|
6
7
|
}
|
|
7
8
|
export interface UpdateSlotTypeCommandOutput extends UpdateSlotTypeResponse, __MetadataBearer {
|
|
@@ -107,6 +107,19 @@ export interface AggregatedUtterancesSummary {
|
|
|
107
107
|
*/
|
|
108
108
|
containsDataFromDeletedResources?: boolean;
|
|
109
109
|
}
|
|
110
|
+
/**
|
|
111
|
+
* <p>Specifies the allowed input types.</p>
|
|
112
|
+
*/
|
|
113
|
+
export interface AllowedInputTypes {
|
|
114
|
+
/**
|
|
115
|
+
* <p>Indicates whether audio input is allowed.</p>
|
|
116
|
+
*/
|
|
117
|
+
allowAudioInput: boolean | undefined;
|
|
118
|
+
/**
|
|
119
|
+
* <p>Indicates whether DTMF input is allowed.</p>
|
|
120
|
+
*/
|
|
121
|
+
allowDTMFInput: boolean | undefined;
|
|
122
|
+
}
|
|
110
123
|
/**
|
|
111
124
|
* <p>The object containing information that associates the recommended
|
|
112
125
|
* intent/slot type with a conversation.</p>
|
|
@@ -137,6 +150,63 @@ export interface AssociatedTranscriptFilter {
|
|
|
137
150
|
*/
|
|
138
151
|
values: string[] | undefined;
|
|
139
152
|
}
|
|
153
|
+
/**
|
|
154
|
+
* <p>Specifies the audio input specifications.</p>
|
|
155
|
+
*/
|
|
156
|
+
export interface AudioSpecification {
|
|
157
|
+
/**
|
|
158
|
+
* <p>Time for how long Amazon Lex waits before speech input is truncated and the speech
|
|
159
|
+
* is returned to application.</p>
|
|
160
|
+
*/
|
|
161
|
+
maxLengthMs: number | undefined;
|
|
162
|
+
/**
|
|
163
|
+
* <p>Time for which a bot waits after the customer stops speaking to assume the
|
|
164
|
+
* utterance is finished.</p>
|
|
165
|
+
*/
|
|
166
|
+
endTimeoutMs: number | undefined;
|
|
167
|
+
}
|
|
168
|
+
/**
|
|
169
|
+
* <p>Specifies the DTMF input specifications.</p>
|
|
170
|
+
*/
|
|
171
|
+
export interface DTMFSpecification {
|
|
172
|
+
/**
|
|
173
|
+
* <p>The maximum number of DTMF digits allowed in an utterance.</p>
|
|
174
|
+
*/
|
|
175
|
+
maxLength: number | undefined;
|
|
176
|
+
/**
|
|
177
|
+
* <p>How long the bot should wait after the last DTMF character input before assuming
|
|
178
|
+
* that the input has concluded.</p>
|
|
179
|
+
*/
|
|
180
|
+
endTimeoutMs: number | undefined;
|
|
181
|
+
/**
|
|
182
|
+
* <p>The DTMF character that clears the accumulated DTMF digits and immediately ends
|
|
183
|
+
* the input.</p>
|
|
184
|
+
*/
|
|
185
|
+
deletionCharacter: string | undefined;
|
|
186
|
+
/**
|
|
187
|
+
* <p>The DTMF character that immediately ends input. If the user does not press this
|
|
188
|
+
* character, the input ends after the end timeout.</p>
|
|
189
|
+
*/
|
|
190
|
+
endCharacter: string | undefined;
|
|
191
|
+
}
|
|
192
|
+
/**
|
|
193
|
+
* <p>Specifies the audio and DTMF input specification.</p>
|
|
194
|
+
*/
|
|
195
|
+
export interface AudioAndDTMFInputSpecification {
|
|
196
|
+
/**
|
|
197
|
+
* <p>Time for which a bot waits before assuming that the customer isn't going to speak or press
|
|
198
|
+
* a key. This timeout is shared between Audio and DTMF inputs.</p>
|
|
199
|
+
*/
|
|
200
|
+
startTimeoutMs: number | undefined;
|
|
201
|
+
/**
|
|
202
|
+
* <p>Specifies the settings on audio input.</p>
|
|
203
|
+
*/
|
|
204
|
+
audioSpecification?: AudioSpecification;
|
|
205
|
+
/**
|
|
206
|
+
* <p>Specifies the settings on DTMF input.</p>
|
|
207
|
+
*/
|
|
208
|
+
dtmfSpecification?: DTMFSpecification;
|
|
209
|
+
}
|
|
140
210
|
/**
|
|
141
211
|
* <p>Specifies an Amazon S3 bucket for logging audio conversations</p>
|
|
142
212
|
*/
|
|
@@ -1853,6 +1923,44 @@ export declare enum MessageSelectionStrategy {
|
|
|
1853
1923
|
Ordered = "Ordered",
|
|
1854
1924
|
Random = "Random"
|
|
1855
1925
|
}
|
|
1926
|
+
export declare enum PromptAttempt {
|
|
1927
|
+
Initial = "Initial",
|
|
1928
|
+
Retry1 = "Retry1",
|
|
1929
|
+
Retry2 = "Retry2",
|
|
1930
|
+
Retry3 = "Retry3",
|
|
1931
|
+
Retry4 = "Retry4",
|
|
1932
|
+
Retry5 = "Retry5"
|
|
1933
|
+
}
|
|
1934
|
+
/**
|
|
1935
|
+
* <p>Specifies the text input specifications.</p>
|
|
1936
|
+
*/
|
|
1937
|
+
export interface TextInputSpecification {
|
|
1938
|
+
/**
|
|
1939
|
+
* <p>Time for which a bot waits before re-prompting a customer for text input.</p>
|
|
1940
|
+
*/
|
|
1941
|
+
startTimeoutMs: number | undefined;
|
|
1942
|
+
}
|
|
1943
|
+
/**
|
|
1944
|
+
* <p>Specifies the settings on a prompt attempt.</p>
|
|
1945
|
+
*/
|
|
1946
|
+
export interface PromptAttemptSpecification {
|
|
1947
|
+
/**
|
|
1948
|
+
* <p>Indicates whether the user can interrupt a speech prompt attempt from the bot.</p>
|
|
1949
|
+
*/
|
|
1950
|
+
allowInterrupt?: boolean;
|
|
1951
|
+
/**
|
|
1952
|
+
* <p>Indicates the allowed input types of the prompt attempt.</p>
|
|
1953
|
+
*/
|
|
1954
|
+
allowedInputTypes: AllowedInputTypes | undefined;
|
|
1955
|
+
/**
|
|
1956
|
+
* <p>Specifies the settings on audio and DTMF input.</p>
|
|
1957
|
+
*/
|
|
1958
|
+
audioAndDTMFInputSpecification?: AudioAndDTMFInputSpecification;
|
|
1959
|
+
/**
|
|
1960
|
+
* <p>Specifies the settings on text input.</p>
|
|
1961
|
+
*/
|
|
1962
|
+
textInputSpecification?: TextInputSpecification;
|
|
1963
|
+
}
|
|
1856
1964
|
/**
|
|
1857
1965
|
* <p>Specifies a list of message groups that Amazon Lex sends to a user to
|
|
1858
1966
|
* elicit a response.</p>
|
|
@@ -1877,6 +1985,10 @@ export interface PromptSpecification {
|
|
|
1877
1985
|
* <p>Indicates how a message is selected from a message group among retries.</p>
|
|
1878
1986
|
*/
|
|
1879
1987
|
messageSelectionStrategy?: MessageSelectionStrategy | string;
|
|
1988
|
+
/**
|
|
1989
|
+
* <p>Specifies the advanced settings on each attempt of the prompt.</p>
|
|
1990
|
+
*/
|
|
1991
|
+
promptAttemptsSpecification?: Record<string, PromptAttemptSpecification>;
|
|
1880
1992
|
}
|
|
1881
1993
|
/**
|
|
1882
1994
|
* <p>Provides configuration information for the AMAZON.KendraSearchIntent
|
|
@@ -5957,215 +6069,46 @@ export interface UpdateSlotTypeRequest {
|
|
|
5957
6069
|
*/
|
|
5958
6070
|
compositeSlotTypeSetting?: CompositeSlotTypeSetting;
|
|
5959
6071
|
}
|
|
5960
|
-
export interface UpdateSlotTypeResponse {
|
|
5961
|
-
/**
|
|
5962
|
-
* <p>The unique identifier of the updated slot type.</p>
|
|
5963
|
-
*/
|
|
5964
|
-
slotTypeId?: string;
|
|
5965
|
-
/**
|
|
5966
|
-
* <p>The updated name of the slot type.</p>
|
|
5967
|
-
*/
|
|
5968
|
-
slotTypeName?: string;
|
|
5969
|
-
/**
|
|
5970
|
-
* <p>The updated description of the slot type.</p>
|
|
5971
|
-
*/
|
|
5972
|
-
description?: string;
|
|
5973
|
-
/**
|
|
5974
|
-
* <p>The updated values that the slot type provides.</p>
|
|
5975
|
-
*/
|
|
5976
|
-
slotTypeValues?: SlotTypeValue[];
|
|
5977
|
-
/**
|
|
5978
|
-
* <p>The updated strategy that Amazon Lex uses to determine which value to
|
|
5979
|
-
* select from the slot type.</p>
|
|
5980
|
-
*/
|
|
5981
|
-
valueSelectionSetting?: SlotValueSelectionSetting;
|
|
5982
|
-
/**
|
|
5983
|
-
* <p>The updated signature of the built-in slot type that is the parent
|
|
5984
|
-
* of this slot type.</p>
|
|
5985
|
-
*/
|
|
5986
|
-
parentSlotTypeSignature?: string;
|
|
5987
|
-
/**
|
|
5988
|
-
* <p>The identifier of the bot that contains the slot type.</p>
|
|
5989
|
-
*/
|
|
5990
|
-
botId?: string;
|
|
5991
|
-
/**
|
|
5992
|
-
* <p>The version of the bot that contains the slot type. This is always
|
|
5993
|
-
* <code>DRAFT</code>.</p>
|
|
5994
|
-
*/
|
|
5995
|
-
botVersion?: string;
|
|
5996
|
-
/**
|
|
5997
|
-
* <p>The language and locale of the updated slot type.</p>
|
|
5998
|
-
*/
|
|
5999
|
-
localeId?: string;
|
|
6000
|
-
/**
|
|
6001
|
-
* <p>The timestamp of the date and time that the slot type was
|
|
6002
|
-
* created.</p>
|
|
6003
|
-
*/
|
|
6004
|
-
creationDateTime?: Date;
|
|
6005
|
-
/**
|
|
6006
|
-
* <p>A timestamp of the date and time that the slot type was last
|
|
6007
|
-
* updated.</p>
|
|
6008
|
-
*/
|
|
6009
|
-
lastUpdatedDateTime?: Date;
|
|
6010
|
-
/**
|
|
6011
|
-
* <p>Provides information about the external source of the slot type's
|
|
6012
|
-
* definition.</p>
|
|
6013
|
-
*/
|
|
6014
|
-
externalSourceSetting?: ExternalSourceSetting;
|
|
6015
|
-
/**
|
|
6016
|
-
* <p>Specifications for a composite slot type.</p>
|
|
6017
|
-
*/
|
|
6018
|
-
compositeSlotTypeSetting?: CompositeSlotTypeSetting;
|
|
6019
|
-
}
|
|
6020
|
-
/**
|
|
6021
|
-
* <p>The slot values that Amazon Lex uses when it sets slot
|
|
6022
|
-
* values in a dialog step.</p>
|
|
6023
|
-
*/
|
|
6024
|
-
export interface SlotValueOverride {
|
|
6025
|
-
/**
|
|
6026
|
-
* <p>When the shape value is <code>List</code>, it indicates that the
|
|
6027
|
-
* <code>values</code> field contains a list of slot values. When the
|
|
6028
|
-
* value is <code>Scalar</code>, it indicates that the <code>value</code>
|
|
6029
|
-
* field contains a single value.</p>
|
|
6030
|
-
*/
|
|
6031
|
-
shape?: SlotShape | string;
|
|
6032
|
-
/**
|
|
6033
|
-
* <p>The current value of the slot.</p>
|
|
6034
|
-
*/
|
|
6035
|
-
value?: SlotValue;
|
|
6036
|
-
/**
|
|
6037
|
-
* <p>A list of one or more values that the user provided for the slot.
|
|
6038
|
-
* For example, for a slot that elicits pizza toppings, the values
|
|
6039
|
-
* might be "pepperoni" and "pineapple."</p>
|
|
6040
|
-
*/
|
|
6041
|
-
values?: SlotValueOverride[];
|
|
6042
|
-
}
|
|
6043
|
-
/**
|
|
6044
|
-
* <p>Override settings to configure the intent state.</p>
|
|
6045
|
-
*/
|
|
6046
|
-
export interface IntentOverride {
|
|
6047
|
-
/**
|
|
6048
|
-
* <p>The name of the intent. Only required when you're switching
|
|
6049
|
-
* intents.</p>
|
|
6050
|
-
*/
|
|
6051
|
-
name?: string;
|
|
6052
|
-
/**
|
|
6053
|
-
* <p>A map of all of the slot value overrides for the intent. The name of
|
|
6054
|
-
* the slot maps to the value of the slot. Slots that are not included in
|
|
6055
|
-
* the map aren't overridden.,</p>
|
|
6056
|
-
*/
|
|
6057
|
-
slots?: Record<string, SlotValueOverride>;
|
|
6058
|
-
}
|
|
6059
6072
|
/**
|
|
6060
|
-
*
|
|
6073
|
+
* @internal
|
|
6061
6074
|
*/
|
|
6062
|
-
export
|
|
6063
|
-
/**
|
|
6064
|
-
* <p> Defines the action that the bot executes at runtime when the
|
|
6065
|
-
* conversation reaches this step.</p>
|
|
6066
|
-
*/
|
|
6067
|
-
dialogAction?: DialogAction;
|
|
6068
|
-
/**
|
|
6069
|
-
* <p>Override settings to configure the intent state.</p>
|
|
6070
|
-
*/
|
|
6071
|
-
intent?: IntentOverride;
|
|
6072
|
-
/**
|
|
6073
|
-
* <p>Map of key/value pairs representing session-specific context
|
|
6074
|
-
* information. It contains application information passed between Amazon Lex and a client application.</p>
|
|
6075
|
-
*/
|
|
6076
|
-
sessionAttributes?: Record<string, string>;
|
|
6077
|
-
}
|
|
6075
|
+
export declare const AdvancedRecognitionSettingFilterSensitiveLog: (obj: AdvancedRecognitionSetting) => any;
|
|
6078
6076
|
/**
|
|
6079
|
-
*
|
|
6080
|
-
* is matched.</p>
|
|
6077
|
+
* @internal
|
|
6081
6078
|
*/
|
|
6082
|
-
export
|
|
6083
|
-
/**
|
|
6084
|
-
* <p>The name of the branch. </p>
|
|
6085
|
-
*/
|
|
6086
|
-
name: string | undefined;
|
|
6087
|
-
/**
|
|
6088
|
-
* <p>Contains the expression to evaluate. If the condition is true, the
|
|
6089
|
-
* branch's actions are taken.</p>
|
|
6090
|
-
*/
|
|
6091
|
-
condition: Condition | undefined;
|
|
6092
|
-
/**
|
|
6093
|
-
* <p>The next step in the conversation.</p>
|
|
6094
|
-
*/
|
|
6095
|
-
nextStep: DialogState | undefined;
|
|
6096
|
-
/**
|
|
6097
|
-
* <p>Specifies a list of message groups that Amazon Lex uses to respond the
|
|
6098
|
-
* user input.</p>
|
|
6099
|
-
*/
|
|
6100
|
-
response?: ResponseSpecification;
|
|
6101
|
-
}
|
|
6079
|
+
export declare const AggregatedUtterancesFilterFilterSensitiveLog: (obj: AggregatedUtterancesFilter) => any;
|
|
6102
6080
|
/**
|
|
6103
|
-
*
|
|
6104
|
-
* other conditions are met.</p>
|
|
6081
|
+
* @internal
|
|
6105
6082
|
*/
|
|
6106
|
-
export
|
|
6107
|
-
/**
|
|
6108
|
-
* <p>The next step in the conversation.</p>
|
|
6109
|
-
*/
|
|
6110
|
-
nextStep?: DialogState;
|
|
6111
|
-
/**
|
|
6112
|
-
* <p>Specifies a list of message groups that Amazon Lex uses to respond the
|
|
6113
|
-
* user input.</p>
|
|
6114
|
-
*/
|
|
6115
|
-
response?: ResponseSpecification;
|
|
6116
|
-
}
|
|
6083
|
+
export declare const AggregatedUtterancesSortByFilterSensitiveLog: (obj: AggregatedUtterancesSortBy) => any;
|
|
6117
6084
|
/**
|
|
6118
|
-
*
|
|
6119
|
-
* the order that they are entered in the list. The first branch with a
|
|
6120
|
-
* condition that evaluates to true is executed. The last branch in the
|
|
6121
|
-
* list is the default branch. The default branch should not have any condition
|
|
6122
|
-
* expression. The default branch is executed if no other branch has a
|
|
6123
|
-
* matching condition.</p>
|
|
6085
|
+
* @internal
|
|
6124
6086
|
*/
|
|
6125
|
-
export
|
|
6126
|
-
/**
|
|
6127
|
-
* <p>Determines whether a conditional branch is active. When
|
|
6128
|
-
* <code>active</code> is false, the conditions are not
|
|
6129
|
-
* evaluated.</p>
|
|
6130
|
-
*/
|
|
6131
|
-
active: boolean | undefined;
|
|
6132
|
-
/**
|
|
6133
|
-
* <p>A list of conditional branches. A conditional branch is made up of a
|
|
6134
|
-
* condition, a response and a next step. The response and next step are
|
|
6135
|
-
* executed when the condition is true.</p>
|
|
6136
|
-
*/
|
|
6137
|
-
conditionalBranches: ConditionalBranch[] | undefined;
|
|
6138
|
-
/**
|
|
6139
|
-
* <p>The conditional branch that should be followed when the conditions
|
|
6140
|
-
* for other branches are not satisfied. A conditional branch is made up
|
|
6141
|
-
* of a condition, a response and a next step.</p>
|
|
6142
|
-
*/
|
|
6143
|
-
defaultBranch: DefaultConditionalBranch | undefined;
|
|
6144
|
-
}
|
|
6087
|
+
export declare const AggregatedUtterancesSummaryFilterSensitiveLog: (obj: AggregatedUtterancesSummary) => any;
|
|
6145
6088
|
/**
|
|
6146
6089
|
* @internal
|
|
6147
6090
|
*/
|
|
6148
|
-
export declare const
|
|
6091
|
+
export declare const AllowedInputTypesFilterSensitiveLog: (obj: AllowedInputTypes) => any;
|
|
6149
6092
|
/**
|
|
6150
6093
|
* @internal
|
|
6151
6094
|
*/
|
|
6152
|
-
export declare const
|
|
6095
|
+
export declare const AssociatedTranscriptFilterSensitiveLog: (obj: AssociatedTranscript) => any;
|
|
6153
6096
|
/**
|
|
6154
6097
|
* @internal
|
|
6155
6098
|
*/
|
|
6156
|
-
export declare const
|
|
6099
|
+
export declare const AssociatedTranscriptFilterFilterSensitiveLog: (obj: AssociatedTranscriptFilter) => any;
|
|
6157
6100
|
/**
|
|
6158
6101
|
* @internal
|
|
6159
6102
|
*/
|
|
6160
|
-
export declare const
|
|
6103
|
+
export declare const AudioSpecificationFilterSensitiveLog: (obj: AudioSpecification) => any;
|
|
6161
6104
|
/**
|
|
6162
6105
|
* @internal
|
|
6163
6106
|
*/
|
|
6164
|
-
export declare const
|
|
6107
|
+
export declare const DTMFSpecificationFilterSensitiveLog: (obj: DTMFSpecification) => any;
|
|
6165
6108
|
/**
|
|
6166
6109
|
* @internal
|
|
6167
6110
|
*/
|
|
6168
|
-
export declare const
|
|
6111
|
+
export declare const AudioAndDTMFInputSpecificationFilterSensitiveLog: (obj: AudioAndDTMFInputSpecification) => any;
|
|
6169
6112
|
/**
|
|
6170
6113
|
* @internal
|
|
6171
6114
|
*/
|
|
@@ -6450,6 +6393,14 @@ export declare const InputContextFilterSensitiveLog: (obj: InputContext) => any;
|
|
|
6450
6393
|
* @internal
|
|
6451
6394
|
*/
|
|
6452
6395
|
export declare const ElicitationCodeHookInvocationSettingFilterSensitiveLog: (obj: ElicitationCodeHookInvocationSetting) => any;
|
|
6396
|
+
/**
|
|
6397
|
+
* @internal
|
|
6398
|
+
*/
|
|
6399
|
+
export declare const TextInputSpecificationFilterSensitiveLog: (obj: TextInputSpecification) => any;
|
|
6400
|
+
/**
|
|
6401
|
+
* @internal
|
|
6402
|
+
*/
|
|
6403
|
+
export declare const PromptAttemptSpecificationFilterSensitiveLog: (obj: PromptAttemptSpecification) => any;
|
|
6453
6404
|
/**
|
|
6454
6405
|
* @internal
|
|
6455
6406
|
*/
|
|
@@ -7078,31 +7029,3 @@ export declare const UpdateResourcePolicyResponseFilterSensitiveLog: (obj: Updat
|
|
|
7078
7029
|
* @internal
|
|
7079
7030
|
*/
|
|
7080
7031
|
export declare const UpdateSlotTypeRequestFilterSensitiveLog: (obj: UpdateSlotTypeRequest) => any;
|
|
7081
|
-
/**
|
|
7082
|
-
* @internal
|
|
7083
|
-
*/
|
|
7084
|
-
export declare const UpdateSlotTypeResponseFilterSensitiveLog: (obj: UpdateSlotTypeResponse) => any;
|
|
7085
|
-
/**
|
|
7086
|
-
* @internal
|
|
7087
|
-
*/
|
|
7088
|
-
export declare const SlotValueOverrideFilterSensitiveLog: (obj: SlotValueOverride) => any;
|
|
7089
|
-
/**
|
|
7090
|
-
* @internal
|
|
7091
|
-
*/
|
|
7092
|
-
export declare const IntentOverrideFilterSensitiveLog: (obj: IntentOverride) => any;
|
|
7093
|
-
/**
|
|
7094
|
-
* @internal
|
|
7095
|
-
*/
|
|
7096
|
-
export declare const DialogStateFilterSensitiveLog: (obj: DialogState) => any;
|
|
7097
|
-
/**
|
|
7098
|
-
* @internal
|
|
7099
|
-
*/
|
|
7100
|
-
export declare const ConditionalBranchFilterSensitiveLog: (obj: ConditionalBranch) => any;
|
|
7101
|
-
/**
|
|
7102
|
-
* @internal
|
|
7103
|
-
*/
|
|
7104
|
-
export declare const DefaultConditionalBranchFilterSensitiveLog: (obj: DefaultConditionalBranch) => any;
|
|
7105
|
-
/**
|
|
7106
|
-
* @internal
|
|
7107
|
-
*/
|
|
7108
|
-
export declare const ConditionalSpecificationFilterSensitiveLog: (obj: ConditionalSpecification) => any;
|