@aws-sdk/client-lex-models-v2 3.154.0 → 3.160.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.
@@ -61,6 +61,7 @@ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } fro
61
61
  import { SearchAssociatedTranscriptsCommandInput, SearchAssociatedTranscriptsCommandOutput } from "./commands/SearchAssociatedTranscriptsCommand";
62
62
  import { StartBotRecommendationCommandInput, StartBotRecommendationCommandOutput } from "./commands/StartBotRecommendationCommand";
63
63
  import { StartImportCommandInput, StartImportCommandOutput } from "./commands/StartImportCommand";
64
+ import { StopBotRecommendationCommandInput, StopBotRecommendationCommandOutput } from "./commands/StopBotRecommendationCommand";
64
65
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
65
66
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
66
67
  import { UpdateBotAliasCommandInput, UpdateBotAliasCommandOutput } from "./commands/UpdateBotAliasCommand";
@@ -72,8 +73,8 @@ import { UpdateIntentCommandInput, UpdateIntentCommandOutput } from "./commands/
72
73
  import { UpdateResourcePolicyCommandInput, UpdateResourcePolicyCommandOutput } from "./commands/UpdateResourcePolicyCommand";
73
74
  import { UpdateSlotCommandInput, UpdateSlotCommandOutput } from "./commands/UpdateSlotCommand";
74
75
  import { UpdateSlotTypeCommandInput, UpdateSlotTypeCommandOutput } from "./commands/UpdateSlotTypeCommand";
75
- export declare type ServiceInputTypes = BuildBotLocaleCommandInput | CreateBotAliasCommandInput | CreateBotCommandInput | CreateBotLocaleCommandInput | CreateBotVersionCommandInput | CreateExportCommandInput | CreateIntentCommandInput | CreateResourcePolicyCommandInput | CreateResourcePolicyStatementCommandInput | CreateSlotCommandInput | CreateSlotTypeCommandInput | CreateUploadUrlCommandInput | DeleteBotAliasCommandInput | DeleteBotCommandInput | DeleteBotLocaleCommandInput | DeleteBotVersionCommandInput | DeleteCustomVocabularyCommandInput | DeleteExportCommandInput | DeleteImportCommandInput | DeleteIntentCommandInput | DeleteResourcePolicyCommandInput | DeleteResourcePolicyStatementCommandInput | DeleteSlotCommandInput | DeleteSlotTypeCommandInput | DeleteUtterancesCommandInput | DescribeBotAliasCommandInput | DescribeBotCommandInput | DescribeBotLocaleCommandInput | DescribeBotRecommendationCommandInput | DescribeBotVersionCommandInput | DescribeCustomVocabularyMetadataCommandInput | DescribeExportCommandInput | DescribeImportCommandInput | DescribeIntentCommandInput | DescribeResourcePolicyCommandInput | DescribeSlotCommandInput | DescribeSlotTypeCommandInput | ListAggregatedUtterancesCommandInput | ListBotAliasesCommandInput | ListBotLocalesCommandInput | ListBotRecommendationsCommandInput | ListBotVersionsCommandInput | ListBotsCommandInput | ListBuiltInIntentsCommandInput | ListBuiltInSlotTypesCommandInput | ListExportsCommandInput | ListImportsCommandInput | ListIntentsCommandInput | ListRecommendedIntentsCommandInput | ListSlotTypesCommandInput | ListSlotsCommandInput | ListTagsForResourceCommandInput | SearchAssociatedTranscriptsCommandInput | StartBotRecommendationCommandInput | StartImportCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateBotAliasCommandInput | UpdateBotCommandInput | UpdateBotLocaleCommandInput | UpdateBotRecommendationCommandInput | UpdateExportCommandInput | UpdateIntentCommandInput | UpdateResourcePolicyCommandInput | UpdateSlotCommandInput | UpdateSlotTypeCommandInput;
76
- export declare type ServiceOutputTypes = BuildBotLocaleCommandOutput | CreateBotAliasCommandOutput | CreateBotCommandOutput | CreateBotLocaleCommandOutput | CreateBotVersionCommandOutput | CreateExportCommandOutput | CreateIntentCommandOutput | CreateResourcePolicyCommandOutput | CreateResourcePolicyStatementCommandOutput | CreateSlotCommandOutput | CreateSlotTypeCommandOutput | CreateUploadUrlCommandOutput | DeleteBotAliasCommandOutput | DeleteBotCommandOutput | DeleteBotLocaleCommandOutput | DeleteBotVersionCommandOutput | DeleteCustomVocabularyCommandOutput | DeleteExportCommandOutput | DeleteImportCommandOutput | DeleteIntentCommandOutput | DeleteResourcePolicyCommandOutput | DeleteResourcePolicyStatementCommandOutput | DeleteSlotCommandOutput | DeleteSlotTypeCommandOutput | DeleteUtterancesCommandOutput | DescribeBotAliasCommandOutput | DescribeBotCommandOutput | DescribeBotLocaleCommandOutput | DescribeBotRecommendationCommandOutput | DescribeBotVersionCommandOutput | DescribeCustomVocabularyMetadataCommandOutput | DescribeExportCommandOutput | DescribeImportCommandOutput | DescribeIntentCommandOutput | DescribeResourcePolicyCommandOutput | DescribeSlotCommandOutput | DescribeSlotTypeCommandOutput | ListAggregatedUtterancesCommandOutput | ListBotAliasesCommandOutput | ListBotLocalesCommandOutput | ListBotRecommendationsCommandOutput | ListBotVersionsCommandOutput | ListBotsCommandOutput | ListBuiltInIntentsCommandOutput | ListBuiltInSlotTypesCommandOutput | ListExportsCommandOutput | ListImportsCommandOutput | ListIntentsCommandOutput | ListRecommendedIntentsCommandOutput | ListSlotTypesCommandOutput | ListSlotsCommandOutput | ListTagsForResourceCommandOutput | SearchAssociatedTranscriptsCommandOutput | StartBotRecommendationCommandOutput | StartImportCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateBotAliasCommandOutput | UpdateBotCommandOutput | UpdateBotLocaleCommandOutput | UpdateBotRecommendationCommandOutput | UpdateExportCommandOutput | UpdateIntentCommandOutput | UpdateResourcePolicyCommandOutput | UpdateSlotCommandOutput | UpdateSlotTypeCommandOutput;
76
+ export declare type ServiceInputTypes = BuildBotLocaleCommandInput | CreateBotAliasCommandInput | CreateBotCommandInput | CreateBotLocaleCommandInput | CreateBotVersionCommandInput | CreateExportCommandInput | CreateIntentCommandInput | CreateResourcePolicyCommandInput | CreateResourcePolicyStatementCommandInput | CreateSlotCommandInput | CreateSlotTypeCommandInput | CreateUploadUrlCommandInput | DeleteBotAliasCommandInput | DeleteBotCommandInput | DeleteBotLocaleCommandInput | DeleteBotVersionCommandInput | DeleteCustomVocabularyCommandInput | DeleteExportCommandInput | DeleteImportCommandInput | DeleteIntentCommandInput | DeleteResourcePolicyCommandInput | DeleteResourcePolicyStatementCommandInput | DeleteSlotCommandInput | DeleteSlotTypeCommandInput | DeleteUtterancesCommandInput | DescribeBotAliasCommandInput | DescribeBotCommandInput | DescribeBotLocaleCommandInput | DescribeBotRecommendationCommandInput | DescribeBotVersionCommandInput | DescribeCustomVocabularyMetadataCommandInput | DescribeExportCommandInput | DescribeImportCommandInput | DescribeIntentCommandInput | DescribeResourcePolicyCommandInput | DescribeSlotCommandInput | DescribeSlotTypeCommandInput | ListAggregatedUtterancesCommandInput | ListBotAliasesCommandInput | ListBotLocalesCommandInput | ListBotRecommendationsCommandInput | ListBotVersionsCommandInput | ListBotsCommandInput | ListBuiltInIntentsCommandInput | ListBuiltInSlotTypesCommandInput | ListExportsCommandInput | ListImportsCommandInput | ListIntentsCommandInput | ListRecommendedIntentsCommandInput | ListSlotTypesCommandInput | ListSlotsCommandInput | ListTagsForResourceCommandInput | SearchAssociatedTranscriptsCommandInput | StartBotRecommendationCommandInput | StartImportCommandInput | StopBotRecommendationCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateBotAliasCommandInput | UpdateBotCommandInput | UpdateBotLocaleCommandInput | UpdateBotRecommendationCommandInput | UpdateExportCommandInput | UpdateIntentCommandInput | UpdateResourcePolicyCommandInput | UpdateSlotCommandInput | UpdateSlotTypeCommandInput;
77
+ export declare type ServiceOutputTypes = BuildBotLocaleCommandOutput | CreateBotAliasCommandOutput | CreateBotCommandOutput | CreateBotLocaleCommandOutput | CreateBotVersionCommandOutput | CreateExportCommandOutput | CreateIntentCommandOutput | CreateResourcePolicyCommandOutput | CreateResourcePolicyStatementCommandOutput | CreateSlotCommandOutput | CreateSlotTypeCommandOutput | CreateUploadUrlCommandOutput | DeleteBotAliasCommandOutput | DeleteBotCommandOutput | DeleteBotLocaleCommandOutput | DeleteBotVersionCommandOutput | DeleteCustomVocabularyCommandOutput | DeleteExportCommandOutput | DeleteImportCommandOutput | DeleteIntentCommandOutput | DeleteResourcePolicyCommandOutput | DeleteResourcePolicyStatementCommandOutput | DeleteSlotCommandOutput | DeleteSlotTypeCommandOutput | DeleteUtterancesCommandOutput | DescribeBotAliasCommandOutput | DescribeBotCommandOutput | DescribeBotLocaleCommandOutput | DescribeBotRecommendationCommandOutput | DescribeBotVersionCommandOutput | DescribeCustomVocabularyMetadataCommandOutput | DescribeExportCommandOutput | DescribeImportCommandOutput | DescribeIntentCommandOutput | DescribeResourcePolicyCommandOutput | DescribeSlotCommandOutput | DescribeSlotTypeCommandOutput | ListAggregatedUtterancesCommandOutput | ListBotAliasesCommandOutput | ListBotLocalesCommandOutput | ListBotRecommendationsCommandOutput | ListBotVersionsCommandOutput | ListBotsCommandOutput | ListBuiltInIntentsCommandOutput | ListBuiltInSlotTypesCommandOutput | ListExportsCommandOutput | ListImportsCommandOutput | ListIntentsCommandOutput | ListRecommendedIntentsCommandOutput | ListSlotTypesCommandOutput | ListSlotsCommandOutput | ListTagsForResourceCommandOutput | SearchAssociatedTranscriptsCommandOutput | StartBotRecommendationCommandOutput | StartImportCommandOutput | StopBotRecommendationCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateBotAliasCommandOutput | UpdateBotCommandOutput | UpdateBotLocaleCommandOutput | UpdateBotRecommendationCommandOutput | UpdateExportCommandOutput | UpdateIntentCommandOutput | UpdateResourcePolicyCommandOutput | UpdateSlotCommandOutput | UpdateSlotTypeCommandOutput;
77
78
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
78
79
  /**
79
80
  * The HTTP handler to use. Fetch in browser and Https in Nodejs.
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { LexModelsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexModelsV2Client";
4
+ import { StopBotRecommendationRequest, StopBotRecommendationResponse } from "../models/models_0";
5
+ export interface StopBotRecommendationCommandInput extends StopBotRecommendationRequest {
6
+ }
7
+ export interface StopBotRecommendationCommandOutput extends StopBotRecommendationResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Stop an already running Bot Recommendation request.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { LexModelsV2Client, StopBotRecommendationCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
15
+ * // const { LexModelsV2Client, StopBotRecommendationCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
16
+ * const client = new LexModelsV2Client(config);
17
+ * const command = new StopBotRecommendationCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link StopBotRecommendationCommandInput} for command's `input` shape.
22
+ * @see {@link StopBotRecommendationCommandOutput} for command's `response` shape.
23
+ * @see {@link LexModelsV2ClientResolvedConfig | config} for LexModelsV2Client's `config` shape.
24
+ *
25
+ */
26
+ export declare class StopBotRecommendationCommand extends $Command<StopBotRecommendationCommandInput, StopBotRecommendationCommandOutput, LexModelsV2ClientResolvedConfig> {
27
+ readonly input: StopBotRecommendationCommandInput;
28
+ constructor(input: StopBotRecommendationCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LexModelsV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StopBotRecommendationCommandInput, StopBotRecommendationCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -53,6 +53,7 @@ export * from "./ListTagsForResourceCommand";
53
53
  export * from "./SearchAssociatedTranscriptsCommand";
54
54
  export * from "./StartBotRecommendationCommand";
55
55
  export * from "./StartImportCommand";
56
+ export * from "./StopBotRecommendationCommand";
56
57
  export * from "./TagResourceCommand";
57
58
  export * from "./UntagResourceCommand";
58
59
  export * from "./UpdateBotAliasCommand";
@@ -685,6 +685,8 @@ export declare enum BotRecommendationStatus {
685
685
  Downloading = "Downloading",
686
686
  Failed = "Failed",
687
687
  Processing = "Processing",
688
+ Stopped = "Stopped",
689
+ Stopping = "Stopping",
688
690
  Updating = "Updating"
689
691
  }
690
692
  /**
@@ -5305,6 +5307,58 @@ export interface StartImportResponse {
5305
5307
  */
5306
5308
  creationDateTime?: Date;
5307
5309
  }
5310
+ export interface StopBotRecommendationRequest {
5311
+ /**
5312
+ * <p>The unique identifier of the bot containing the bot
5313
+ * recommendation to be stopped.</p>
5314
+ */
5315
+ botId: string | undefined;
5316
+ /**
5317
+ * <p>The version of the bot containing the bot recommendation.</p>
5318
+ */
5319
+ botVersion: string | undefined;
5320
+ /**
5321
+ * <p>The identifier of the language and locale of the bot recommendation
5322
+ * to stop. The string must match one of the supported locales. For more
5323
+ * information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html">Supported languages</a>
5324
+ * </p>
5325
+ */
5326
+ localeId: string | undefined;
5327
+ /**
5328
+ * <p>The unique identifier of the bot recommendation to be
5329
+ * stopped.</p>
5330
+ */
5331
+ botRecommendationId: string | undefined;
5332
+ }
5333
+ export interface StopBotRecommendationResponse {
5334
+ /**
5335
+ * <p>The unique identifier of the bot containing the bot recommendation that
5336
+ * is being stopped.</p>
5337
+ */
5338
+ botId?: string;
5339
+ /**
5340
+ * <p>The version of the bot containing the recommendation that is being
5341
+ * stopped.</p>
5342
+ */
5343
+ botVersion?: string;
5344
+ /**
5345
+ * <p>The identifier of the language and locale of the bot response
5346
+ * to stop. The string must match one of the supported locales. For more
5347
+ * information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html">Supported languages</a>
5348
+ * </p>
5349
+ */
5350
+ localeId?: string;
5351
+ /**
5352
+ * <p>The status of the bot recommendation. If the status is Failed,
5353
+ * then the reasons for the failure are listed in the failureReasons field.</p>
5354
+ */
5355
+ botRecommendationStatus?: BotRecommendationStatus | string;
5356
+ /**
5357
+ * <p>The unique identifier of the bot recommendation that is being
5358
+ * stopped.</p>
5359
+ */
5360
+ botRecommendationId?: string;
5361
+ }
5308
5362
  export interface TagResourceRequest {
5309
5363
  /**
5310
5364
  * <p>The Amazon Resource Name (ARN) of the bot, bot alias, or bot channel
@@ -6173,80 +6227,6 @@ export interface FulfillmentCodeHookSettings {
6173
6227
  */
6174
6228
  active?: boolean;
6175
6229
  }
6176
- /**
6177
- * <p>Configuration setting for a response sent to the user before Amazon Lex starts eliciting slots.</p>
6178
- */
6179
- export interface InitialResponseSetting {
6180
- /**
6181
- * <p>Specifies a list of message groups that Amazon Lex uses to respond the
6182
- * user input.</p>
6183
- */
6184
- initialResponse?: ResponseSpecification;
6185
- /**
6186
- * <p>The next step in the conversation.</p>
6187
- */
6188
- nextStep?: DialogState;
6189
- /**
6190
- * <p>Provides a list of conditional branches. Branches are evaluated in
6191
- * the order that they are entered in the list. The first branch with a
6192
- * condition that evaluates to true is executed. The last branch in the
6193
- * list is the default branch. The default branch should not have any condition
6194
- * expression. The default branch is executed if no other branch has a
6195
- * matching condition.</p>
6196
- */
6197
- conditional?: ConditionalSpecification;
6198
- /**
6199
- * <p> Settings that specify the dialog code hook that is
6200
- * called by Amazon Lex at a step of the conversation. </p>
6201
- */
6202
- codeHook?: DialogCodeHookInvocationSetting;
6203
- }
6204
- /**
6205
- * <p>Settings used when Amazon Lex successfully captures a slot
6206
- * value from a user.</p>
6207
- */
6208
- export interface SlotCaptureSetting {
6209
- /**
6210
- * <p>Specifies a list of message groups that Amazon Lex uses to respond the
6211
- * user input.</p>
6212
- */
6213
- captureResponse?: ResponseSpecification;
6214
- /**
6215
- * <p>Specifies the next step that the bot runs when the slot value is
6216
- * captured before the code hook times out.</p>
6217
- */
6218
- captureNextStep?: DialogState;
6219
- /**
6220
- * <p>A list of conditional branches to evaluate after the slot value is
6221
- * captured.</p>
6222
- */
6223
- captureConditional?: ConditionalSpecification;
6224
- /**
6225
- * <p>Specifies a list of message groups that Amazon Lex uses to respond the
6226
- * user input.</p>
6227
- */
6228
- failureResponse?: ResponseSpecification;
6229
- /**
6230
- * <p>Specifies the next step that the bot runs when the slot value code
6231
- * is not recognized.</p>
6232
- */
6233
- failureNextStep?: DialogState;
6234
- /**
6235
- * <p>A list of conditional branches to evaluate when the slot value isn't
6236
- * captured.</p>
6237
- */
6238
- failureConditional?: ConditionalSpecification;
6239
- /**
6240
- * <p>Code hook called after Amazon Lex successfully captures a
6241
- * slot value.</p>
6242
- */
6243
- codeHook?: DialogCodeHookInvocationSetting;
6244
- /**
6245
- * <p>Code hook called when Amazon Lex doesn't capture a slot
6246
- * value.</p>
6247
- */
6248
- elicitationCodeHook?: ElicitationCodeHookInvocationSetting;
6249
- }
6250
6230
  /**
6251
6231
  * @internal
6252
6232
  */
@@ -7087,6 +7067,14 @@ export declare const StartImportRequestFilterSensitiveLog: (obj: StartImportRequ
7087
7067
  * @internal
7088
7068
  */
7089
7069
  export declare const StartImportResponseFilterSensitiveLog: (obj: StartImportResponse) => any;
7070
+ /**
7071
+ * @internal
7072
+ */
7073
+ export declare const StopBotRecommendationRequestFilterSensitiveLog: (obj: StopBotRecommendationRequest) => any;
7074
+ /**
7075
+ * @internal
7076
+ */
7077
+ export declare const StopBotRecommendationResponseFilterSensitiveLog: (obj: StopBotRecommendationResponse) => any;
7090
7078
  /**
7091
7079
  * @internal
7092
7080
  */
@@ -7203,11 +7191,3 @@ export declare const DialogCodeHookInvocationSettingFilterSensitiveLog: (obj: Di
7203
7191
  * @internal
7204
7192
  */
7205
7193
  export declare const FulfillmentCodeHookSettingsFilterSensitiveLog: (obj: FulfillmentCodeHookSettings) => any;
7206
- /**
7207
- * @internal
7208
- */
7209
- export declare const InitialResponseSettingFilterSensitiveLog: (obj: InitialResponseSetting) => any;
7210
- /**
7211
- * @internal
7212
- */
7213
- export declare const SlotCaptureSettingFilterSensitiveLog: (obj: SlotCaptureSetting) => any;
@@ -1,4 +1,78 @@
1
- import { ConditionalSpecification, DialogCodeHookInvocationSetting, DialogCodeHookSettings, DialogState, ElicitationCodeHookInvocationSetting, FulfillmentCodeHookSettings, InitialResponseSetting, InputContext, IntentClosingSetting, KendraConfiguration, MultipleValuesSetting, ObfuscationSetting, OutputContext, PromptSpecification, ResponseSpecification, SampleUtterance, SlotCaptureSetting, SlotConstraint, SlotDefaultValueSpecification, SlotPriority, WaitAndContinueSpecification } from "./models_0";
1
+ import { ConditionalSpecification, DialogCodeHookInvocationSetting, DialogCodeHookSettings, DialogState, ElicitationCodeHookInvocationSetting, FulfillmentCodeHookSettings, InputContext, IntentClosingSetting, KendraConfiguration, MultipleValuesSetting, ObfuscationSetting, OutputContext, PromptSpecification, ResponseSpecification, SampleUtterance, SlotConstraint, SlotDefaultValueSpecification, SlotPriority, WaitAndContinueSpecification } from "./models_0";
2
+ /**
3
+ * <p>Configuration setting for a response sent to the user before Amazon Lex starts eliciting slots.</p>
4
+ */
5
+ export interface InitialResponseSetting {
6
+ /**
7
+ * <p>Specifies a list of message groups that Amazon Lex uses to respond the
8
+ * user input.</p>
9
+ */
10
+ initialResponse?: ResponseSpecification;
11
+ /**
12
+ * <p>The next step in the conversation.</p>
13
+ */
14
+ nextStep?: DialogState;
15
+ /**
16
+ * <p>Provides a list of conditional branches. Branches are evaluated in
17
+ * the order that they are entered in the list. The first branch with a
18
+ * condition that evaluates to true is executed. The last branch in the
19
+ * list is the default branch. The default branch should not have any condition
20
+ * expression. The default branch is executed if no other branch has a
21
+ * matching condition.</p>
22
+ */
23
+ conditional?: ConditionalSpecification;
24
+ /**
25
+ * <p> Settings that specify the dialog code hook that is
26
+ * called by Amazon Lex at a step of the conversation. </p>
27
+ */
28
+ codeHook?: DialogCodeHookInvocationSetting;
29
+ }
30
+ /**
31
+ * <p>Settings used when Amazon Lex successfully captures a slot
32
+ * value from a user.</p>
33
+ */
34
+ export interface SlotCaptureSetting {
35
+ /**
36
+ * <p>Specifies a list of message groups that Amazon Lex uses to respond the
37
+ * user input.</p>
38
+ */
39
+ captureResponse?: ResponseSpecification;
40
+ /**
41
+ * <p>Specifies the next step that the bot runs when the slot value is
42
+ * captured before the code hook times out.</p>
43
+ */
44
+ captureNextStep?: DialogState;
45
+ /**
46
+ * <p>A list of conditional branches to evaluate after the slot value is
47
+ * captured.</p>
48
+ */
49
+ captureConditional?: ConditionalSpecification;
50
+ /**
51
+ * <p>Specifies a list of message groups that Amazon Lex uses to respond the
52
+ * user input.</p>
53
+ */
54
+ failureResponse?: ResponseSpecification;
55
+ /**
56
+ * <p>Specifies the next step that the bot runs when the slot value code
57
+ * is not recognized.</p>
58
+ */
59
+ failureNextStep?: DialogState;
60
+ /**
61
+ * <p>A list of conditional branches to evaluate when the slot value isn't
62
+ * captured.</p>
63
+ */
64
+ failureConditional?: ConditionalSpecification;
65
+ /**
66
+ * <p>Code hook called after Amazon Lex successfully captures a
67
+ * slot value.</p>
68
+ */
69
+ codeHook?: DialogCodeHookInvocationSetting;
70
+ /**
71
+ * <p>Code hook called when Amazon Lex doesn't capture a slot
72
+ * value.</p>
73
+ */
74
+ elicitationCodeHook?: ElicitationCodeHookInvocationSetting;
75
+ }
2
76
  /**
3
77
  * <p>Settings that you can use for eliciting a slot value.</p>
4
78
  */
@@ -862,6 +936,14 @@ export interface UpdateIntentResponse {
862
936
  */
863
937
  initialResponseSetting?: InitialResponseSetting;
864
938
  }
939
+ /**
940
+ * @internal
941
+ */
942
+ export declare const InitialResponseSettingFilterSensitiveLog: (obj: InitialResponseSetting) => any;
943
+ /**
944
+ * @internal
945
+ */
946
+ export declare const SlotCaptureSettingFilterSensitiveLog: (obj: SlotCaptureSetting) => any;
865
947
  /**
866
948
  * @internal
867
949
  */
@@ -55,6 +55,7 @@ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } fro
55
55
  import { SearchAssociatedTranscriptsCommandInput, SearchAssociatedTranscriptsCommandOutput } from "../commands/SearchAssociatedTranscriptsCommand";
56
56
  import { StartBotRecommendationCommandInput, StartBotRecommendationCommandOutput } from "../commands/StartBotRecommendationCommand";
57
57
  import { StartImportCommandInput, StartImportCommandOutput } from "../commands/StartImportCommand";
58
+ import { StopBotRecommendationCommandInput, StopBotRecommendationCommandOutput } from "../commands/StopBotRecommendationCommand";
58
59
  import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
59
60
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
60
61
  import { UpdateBotAliasCommandInput, UpdateBotAliasCommandOutput } from "../commands/UpdateBotAliasCommand";
@@ -121,6 +122,7 @@ export declare const serializeAws_restJson1ListTagsForResourceCommand: (input: L
121
122
  export declare const serializeAws_restJson1SearchAssociatedTranscriptsCommand: (input: SearchAssociatedTranscriptsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
122
123
  export declare const serializeAws_restJson1StartBotRecommendationCommand: (input: StartBotRecommendationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
123
124
  export declare const serializeAws_restJson1StartImportCommand: (input: StartImportCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
125
+ export declare const serializeAws_restJson1StopBotRecommendationCommand: (input: StopBotRecommendationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
124
126
  export declare const serializeAws_restJson1TagResourceCommand: (input: TagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
125
127
  export declare const serializeAws_restJson1UntagResourceCommand: (input: UntagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
126
128
  export declare const serializeAws_restJson1UpdateBotCommand: (input: UpdateBotCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -187,6 +189,7 @@ export declare const deserializeAws_restJson1ListTagsForResourceCommand: (output
187
189
  export declare const deserializeAws_restJson1SearchAssociatedTranscriptsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SearchAssociatedTranscriptsCommandOutput>;
188
190
  export declare const deserializeAws_restJson1StartBotRecommendationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StartBotRecommendationCommandOutput>;
189
191
  export declare const deserializeAws_restJson1StartImportCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StartImportCommandOutput>;
192
+ export declare const deserializeAws_restJson1StopBotRecommendationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StopBotRecommendationCommandOutput>;
190
193
  export declare const deserializeAws_restJson1TagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<TagResourceCommandOutput>;
191
194
  export declare const deserializeAws_restJson1UntagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UntagResourceCommandOutput>;
192
195
  export declare const deserializeAws_restJson1UpdateBotCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateBotCommandOutput>;
@@ -54,6 +54,7 @@ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } fro
54
54
  import { SearchAssociatedTranscriptsCommandInput, SearchAssociatedTranscriptsCommandOutput } from "./commands/SearchAssociatedTranscriptsCommand";
55
55
  import { StartBotRecommendationCommandInput, StartBotRecommendationCommandOutput } from "./commands/StartBotRecommendationCommand";
56
56
  import { StartImportCommandInput, StartImportCommandOutput } from "./commands/StartImportCommand";
57
+ import { StopBotRecommendationCommandInput, StopBotRecommendationCommandOutput } from "./commands/StopBotRecommendationCommand";
57
58
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
58
59
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
59
60
  import { UpdateBotAliasCommandInput, UpdateBotAliasCommandOutput } from "./commands/UpdateBotAliasCommand";
@@ -289,6 +290,10 @@ export declare class LexModelsV2 extends LexModelsV2Client {
289
290
  startImport(args: StartImportCommandInput, cb: (err: any, data?: StartImportCommandOutput) => void): void;
290
291
  startImport(args: StartImportCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartImportCommandOutput) => void): void;
291
292
 
293
+ stopBotRecommendation(args: StopBotRecommendationCommandInput, options?: __HttpHandlerOptions): Promise<StopBotRecommendationCommandOutput>;
294
+ stopBotRecommendation(args: StopBotRecommendationCommandInput, cb: (err: any, data?: StopBotRecommendationCommandOutput) => void): void;
295
+ stopBotRecommendation(args: StopBotRecommendationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopBotRecommendationCommandOutput) => void): void;
296
+
292
297
  tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
293
298
  tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
294
299
  tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
@@ -61,6 +61,7 @@ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } fro
61
61
  import { SearchAssociatedTranscriptsCommandInput, SearchAssociatedTranscriptsCommandOutput } from "./commands/SearchAssociatedTranscriptsCommand";
62
62
  import { StartBotRecommendationCommandInput, StartBotRecommendationCommandOutput } from "./commands/StartBotRecommendationCommand";
63
63
  import { StartImportCommandInput, StartImportCommandOutput } from "./commands/StartImportCommand";
64
+ import { StopBotRecommendationCommandInput, StopBotRecommendationCommandOutput } from "./commands/StopBotRecommendationCommand";
64
65
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
65
66
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
66
67
  import { UpdateBotAliasCommandInput, UpdateBotAliasCommandOutput } from "./commands/UpdateBotAliasCommand";
@@ -72,8 +73,8 @@ import { UpdateIntentCommandInput, UpdateIntentCommandOutput } from "./commands/
72
73
  import { UpdateResourcePolicyCommandInput, UpdateResourcePolicyCommandOutput } from "./commands/UpdateResourcePolicyCommand";
73
74
  import { UpdateSlotCommandInput, UpdateSlotCommandOutput } from "./commands/UpdateSlotCommand";
74
75
  import { UpdateSlotTypeCommandInput, UpdateSlotTypeCommandOutput } from "./commands/UpdateSlotTypeCommand";
75
- export declare type ServiceInputTypes = BuildBotLocaleCommandInput | CreateBotAliasCommandInput | CreateBotCommandInput | CreateBotLocaleCommandInput | CreateBotVersionCommandInput | CreateExportCommandInput | CreateIntentCommandInput | CreateResourcePolicyCommandInput | CreateResourcePolicyStatementCommandInput | CreateSlotCommandInput | CreateSlotTypeCommandInput | CreateUploadUrlCommandInput | DeleteBotAliasCommandInput | DeleteBotCommandInput | DeleteBotLocaleCommandInput | DeleteBotVersionCommandInput | DeleteCustomVocabularyCommandInput | DeleteExportCommandInput | DeleteImportCommandInput | DeleteIntentCommandInput | DeleteResourcePolicyCommandInput | DeleteResourcePolicyStatementCommandInput | DeleteSlotCommandInput | DeleteSlotTypeCommandInput | DeleteUtterancesCommandInput | DescribeBotAliasCommandInput | DescribeBotCommandInput | DescribeBotLocaleCommandInput | DescribeBotRecommendationCommandInput | DescribeBotVersionCommandInput | DescribeCustomVocabularyMetadataCommandInput | DescribeExportCommandInput | DescribeImportCommandInput | DescribeIntentCommandInput | DescribeResourcePolicyCommandInput | DescribeSlotCommandInput | DescribeSlotTypeCommandInput | ListAggregatedUtterancesCommandInput | ListBotAliasesCommandInput | ListBotLocalesCommandInput | ListBotRecommendationsCommandInput | ListBotVersionsCommandInput | ListBotsCommandInput | ListBuiltInIntentsCommandInput | ListBuiltInSlotTypesCommandInput | ListExportsCommandInput | ListImportsCommandInput | ListIntentsCommandInput | ListRecommendedIntentsCommandInput | ListSlotTypesCommandInput | ListSlotsCommandInput | ListTagsForResourceCommandInput | SearchAssociatedTranscriptsCommandInput | StartBotRecommendationCommandInput | StartImportCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateBotAliasCommandInput | UpdateBotCommandInput | UpdateBotLocaleCommandInput | UpdateBotRecommendationCommandInput | UpdateExportCommandInput | UpdateIntentCommandInput | UpdateResourcePolicyCommandInput | UpdateSlotCommandInput | UpdateSlotTypeCommandInput;
76
- export declare type ServiceOutputTypes = BuildBotLocaleCommandOutput | CreateBotAliasCommandOutput | CreateBotCommandOutput | CreateBotLocaleCommandOutput | CreateBotVersionCommandOutput | CreateExportCommandOutput | CreateIntentCommandOutput | CreateResourcePolicyCommandOutput | CreateResourcePolicyStatementCommandOutput | CreateSlotCommandOutput | CreateSlotTypeCommandOutput | CreateUploadUrlCommandOutput | DeleteBotAliasCommandOutput | DeleteBotCommandOutput | DeleteBotLocaleCommandOutput | DeleteBotVersionCommandOutput | DeleteCustomVocabularyCommandOutput | DeleteExportCommandOutput | DeleteImportCommandOutput | DeleteIntentCommandOutput | DeleteResourcePolicyCommandOutput | DeleteResourcePolicyStatementCommandOutput | DeleteSlotCommandOutput | DeleteSlotTypeCommandOutput | DeleteUtterancesCommandOutput | DescribeBotAliasCommandOutput | DescribeBotCommandOutput | DescribeBotLocaleCommandOutput | DescribeBotRecommendationCommandOutput | DescribeBotVersionCommandOutput | DescribeCustomVocabularyMetadataCommandOutput | DescribeExportCommandOutput | DescribeImportCommandOutput | DescribeIntentCommandOutput | DescribeResourcePolicyCommandOutput | DescribeSlotCommandOutput | DescribeSlotTypeCommandOutput | ListAggregatedUtterancesCommandOutput | ListBotAliasesCommandOutput | ListBotLocalesCommandOutput | ListBotRecommendationsCommandOutput | ListBotVersionsCommandOutput | ListBotsCommandOutput | ListBuiltInIntentsCommandOutput | ListBuiltInSlotTypesCommandOutput | ListExportsCommandOutput | ListImportsCommandOutput | ListIntentsCommandOutput | ListRecommendedIntentsCommandOutput | ListSlotTypesCommandOutput | ListSlotsCommandOutput | ListTagsForResourceCommandOutput | SearchAssociatedTranscriptsCommandOutput | StartBotRecommendationCommandOutput | StartImportCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateBotAliasCommandOutput | UpdateBotCommandOutput | UpdateBotLocaleCommandOutput | UpdateBotRecommendationCommandOutput | UpdateExportCommandOutput | UpdateIntentCommandOutput | UpdateResourcePolicyCommandOutput | UpdateSlotCommandOutput | UpdateSlotTypeCommandOutput;
76
+ export declare type ServiceInputTypes = BuildBotLocaleCommandInput | CreateBotAliasCommandInput | CreateBotCommandInput | CreateBotLocaleCommandInput | CreateBotVersionCommandInput | CreateExportCommandInput | CreateIntentCommandInput | CreateResourcePolicyCommandInput | CreateResourcePolicyStatementCommandInput | CreateSlotCommandInput | CreateSlotTypeCommandInput | CreateUploadUrlCommandInput | DeleteBotAliasCommandInput | DeleteBotCommandInput | DeleteBotLocaleCommandInput | DeleteBotVersionCommandInput | DeleteCustomVocabularyCommandInput | DeleteExportCommandInput | DeleteImportCommandInput | DeleteIntentCommandInput | DeleteResourcePolicyCommandInput | DeleteResourcePolicyStatementCommandInput | DeleteSlotCommandInput | DeleteSlotTypeCommandInput | DeleteUtterancesCommandInput | DescribeBotAliasCommandInput | DescribeBotCommandInput | DescribeBotLocaleCommandInput | DescribeBotRecommendationCommandInput | DescribeBotVersionCommandInput | DescribeCustomVocabularyMetadataCommandInput | DescribeExportCommandInput | DescribeImportCommandInput | DescribeIntentCommandInput | DescribeResourcePolicyCommandInput | DescribeSlotCommandInput | DescribeSlotTypeCommandInput | ListAggregatedUtterancesCommandInput | ListBotAliasesCommandInput | ListBotLocalesCommandInput | ListBotRecommendationsCommandInput | ListBotVersionsCommandInput | ListBotsCommandInput | ListBuiltInIntentsCommandInput | ListBuiltInSlotTypesCommandInput | ListExportsCommandInput | ListImportsCommandInput | ListIntentsCommandInput | ListRecommendedIntentsCommandInput | ListSlotTypesCommandInput | ListSlotsCommandInput | ListTagsForResourceCommandInput | SearchAssociatedTranscriptsCommandInput | StartBotRecommendationCommandInput | StartImportCommandInput | StopBotRecommendationCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateBotAliasCommandInput | UpdateBotCommandInput | UpdateBotLocaleCommandInput | UpdateBotRecommendationCommandInput | UpdateExportCommandInput | UpdateIntentCommandInput | UpdateResourcePolicyCommandInput | UpdateSlotCommandInput | UpdateSlotTypeCommandInput;
77
+ export declare type ServiceOutputTypes = BuildBotLocaleCommandOutput | CreateBotAliasCommandOutput | CreateBotCommandOutput | CreateBotLocaleCommandOutput | CreateBotVersionCommandOutput | CreateExportCommandOutput | CreateIntentCommandOutput | CreateResourcePolicyCommandOutput | CreateResourcePolicyStatementCommandOutput | CreateSlotCommandOutput | CreateSlotTypeCommandOutput | CreateUploadUrlCommandOutput | DeleteBotAliasCommandOutput | DeleteBotCommandOutput | DeleteBotLocaleCommandOutput | DeleteBotVersionCommandOutput | DeleteCustomVocabularyCommandOutput | DeleteExportCommandOutput | DeleteImportCommandOutput | DeleteIntentCommandOutput | DeleteResourcePolicyCommandOutput | DeleteResourcePolicyStatementCommandOutput | DeleteSlotCommandOutput | DeleteSlotTypeCommandOutput | DeleteUtterancesCommandOutput | DescribeBotAliasCommandOutput | DescribeBotCommandOutput | DescribeBotLocaleCommandOutput | DescribeBotRecommendationCommandOutput | DescribeBotVersionCommandOutput | DescribeCustomVocabularyMetadataCommandOutput | DescribeExportCommandOutput | DescribeImportCommandOutput | DescribeIntentCommandOutput | DescribeResourcePolicyCommandOutput | DescribeSlotCommandOutput | DescribeSlotTypeCommandOutput | ListAggregatedUtterancesCommandOutput | ListBotAliasesCommandOutput | ListBotLocalesCommandOutput | ListBotRecommendationsCommandOutput | ListBotVersionsCommandOutput | ListBotsCommandOutput | ListBuiltInIntentsCommandOutput | ListBuiltInSlotTypesCommandOutput | ListExportsCommandOutput | ListImportsCommandOutput | ListIntentsCommandOutput | ListRecommendedIntentsCommandOutput | ListSlotTypesCommandOutput | ListSlotsCommandOutput | ListTagsForResourceCommandOutput | SearchAssociatedTranscriptsCommandOutput | StartBotRecommendationCommandOutput | StartImportCommandOutput | StopBotRecommendationCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateBotAliasCommandOutput | UpdateBotCommandOutput | UpdateBotLocaleCommandOutput | UpdateBotRecommendationCommandOutput | UpdateExportCommandOutput | UpdateIntentCommandOutput | UpdateResourcePolicyCommandOutput | UpdateSlotCommandOutput | UpdateSlotTypeCommandOutput;
77
78
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
78
79
 
79
80
  requestHandler?: __HttpHandler;
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { LexModelsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexModelsV2Client";
4
+ import { StopBotRecommendationRequest, StopBotRecommendationResponse } from "../models/models_0";
5
+ export interface StopBotRecommendationCommandInput extends StopBotRecommendationRequest {
6
+ }
7
+ export interface StopBotRecommendationCommandOutput extends StopBotRecommendationResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class StopBotRecommendationCommand extends $Command<StopBotRecommendationCommandInput, StopBotRecommendationCommandOutput, LexModelsV2ClientResolvedConfig> {
11
+ readonly input: StopBotRecommendationCommandInput;
12
+ constructor(input: StopBotRecommendationCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LexModelsV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StopBotRecommendationCommandInput, StopBotRecommendationCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -53,6 +53,7 @@ export * from "./ListTagsForResourceCommand";
53
53
  export * from "./SearchAssociatedTranscriptsCommand";
54
54
  export * from "./StartBotRecommendationCommand";
55
55
  export * from "./StartImportCommand";
56
+ export * from "./StopBotRecommendationCommand";
56
57
  export * from "./TagResourceCommand";
57
58
  export * from "./UntagResourceCommand";
58
59
  export * from "./UpdateBotAliasCommand";
@@ -310,6 +310,8 @@ export declare enum BotRecommendationStatus {
310
310
  Downloading = "Downloading",
311
311
  Failed = "Failed",
312
312
  Processing = "Processing",
313
+ Stopped = "Stopped",
314
+ Stopping = "Stopping",
313
315
  Updating = "Updating"
314
316
  }
315
317
 
@@ -2338,6 +2340,28 @@ export interface StartImportResponse {
2338
2340
 
2339
2341
  creationDateTime?: Date;
2340
2342
  }
2343
+ export interface StopBotRecommendationRequest {
2344
+
2345
+ botId: string | undefined;
2346
+
2347
+ botVersion: string | undefined;
2348
+
2349
+ localeId: string | undefined;
2350
+
2351
+ botRecommendationId: string | undefined;
2352
+ }
2353
+ export interface StopBotRecommendationResponse {
2354
+
2355
+ botId?: string;
2356
+
2357
+ botVersion?: string;
2358
+
2359
+ localeId?: string;
2360
+
2361
+ botRecommendationStatus?: BotRecommendationStatus | string;
2362
+
2363
+ botRecommendationId?: string;
2364
+ }
2341
2365
  export interface TagResourceRequest {
2342
2366
 
2343
2367
  resourceARN: string | undefined;
@@ -2712,36 +2736,6 @@ export interface FulfillmentCodeHookSettings {
2712
2736
  active?: boolean;
2713
2737
  }
2714
2738
 
2715
- export interface InitialResponseSetting {
2716
-
2717
- initialResponse?: ResponseSpecification;
2718
-
2719
- nextStep?: DialogState;
2720
-
2721
- conditional?: ConditionalSpecification;
2722
-
2723
- codeHook?: DialogCodeHookInvocationSetting;
2724
- }
2725
-
2726
- export interface SlotCaptureSetting {
2727
-
2728
- captureResponse?: ResponseSpecification;
2729
-
2730
- captureNextStep?: DialogState;
2731
-
2732
- captureConditional?: ConditionalSpecification;
2733
-
2734
- failureResponse?: ResponseSpecification;
2735
-
2736
- failureNextStep?: DialogState;
2737
-
2738
- failureConditional?: ConditionalSpecification;
2739
-
2740
- codeHook?: DialogCodeHookInvocationSetting;
2741
-
2742
- elicitationCodeHook?: ElicitationCodeHookInvocationSetting;
2743
- }
2744
-
2745
2739
  export declare const AdvancedRecognitionSettingFilterSensitiveLog: (obj: AdvancedRecognitionSetting) => any;
2746
2740
 
2747
2741
  export declare const AggregatedUtterancesFilterFilterSensitiveLog: (obj: AggregatedUtterancesFilter) => any;
@@ -3162,6 +3156,10 @@ export declare const StartImportRequestFilterSensitiveLog: (obj: StartImportRequ
3162
3156
 
3163
3157
  export declare const StartImportResponseFilterSensitiveLog: (obj: StartImportResponse) => any;
3164
3158
 
3159
+ export declare const StopBotRecommendationRequestFilterSensitiveLog: (obj: StopBotRecommendationRequest) => any;
3160
+
3161
+ export declare const StopBotRecommendationResponseFilterSensitiveLog: (obj: StopBotRecommendationResponse) => any;
3162
+
3165
3163
  export declare const TagResourceRequestFilterSensitiveLog: (obj: TagResourceRequest) => any;
3166
3164
 
3167
3165
  export declare const TagResourceResponseFilterSensitiveLog: (obj: TagResourceResponse) => any;
@@ -3219,7 +3217,3 @@ export declare const PostFulfillmentStatusSpecificationFilterSensitiveLog: (obj:
3219
3217
  export declare const DialogCodeHookInvocationSettingFilterSensitiveLog: (obj: DialogCodeHookInvocationSetting) => any;
3220
3218
 
3221
3219
  export declare const FulfillmentCodeHookSettingsFilterSensitiveLog: (obj: FulfillmentCodeHookSettings) => any;
3222
-
3223
- export declare const InitialResponseSettingFilterSensitiveLog: (obj: InitialResponseSetting) => any;
3224
-
3225
- export declare const SlotCaptureSettingFilterSensitiveLog: (obj: SlotCaptureSetting) => any;
@@ -1,4 +1,34 @@
1
- import { ConditionalSpecification, DialogCodeHookInvocationSetting, DialogCodeHookSettings, DialogState, ElicitationCodeHookInvocationSetting, FulfillmentCodeHookSettings, InitialResponseSetting, InputContext, IntentClosingSetting, KendraConfiguration, MultipleValuesSetting, ObfuscationSetting, OutputContext, PromptSpecification, ResponseSpecification, SampleUtterance, SlotCaptureSetting, SlotConstraint, SlotDefaultValueSpecification, SlotPriority, WaitAndContinueSpecification } from "./models_0";
1
+ import { ConditionalSpecification, DialogCodeHookInvocationSetting, DialogCodeHookSettings, DialogState, ElicitationCodeHookInvocationSetting, FulfillmentCodeHookSettings, InputContext, IntentClosingSetting, KendraConfiguration, MultipleValuesSetting, ObfuscationSetting, OutputContext, PromptSpecification, ResponseSpecification, SampleUtterance, SlotConstraint, SlotDefaultValueSpecification, SlotPriority, WaitAndContinueSpecification } from "./models_0";
2
+
3
+ export interface InitialResponseSetting {
4
+
5
+ initialResponse?: ResponseSpecification;
6
+
7
+ nextStep?: DialogState;
8
+
9
+ conditional?: ConditionalSpecification;
10
+
11
+ codeHook?: DialogCodeHookInvocationSetting;
12
+ }
13
+
14
+ export interface SlotCaptureSetting {
15
+
16
+ captureResponse?: ResponseSpecification;
17
+
18
+ captureNextStep?: DialogState;
19
+
20
+ captureConditional?: ConditionalSpecification;
21
+
22
+ failureResponse?: ResponseSpecification;
23
+
24
+ failureNextStep?: DialogState;
25
+
26
+ failureConditional?: ConditionalSpecification;
27
+
28
+ codeHook?: DialogCodeHookInvocationSetting;
29
+
30
+ elicitationCodeHook?: ElicitationCodeHookInvocationSetting;
31
+ }
2
32
 
3
33
  export interface SlotValueElicitationSetting {
4
34
 
@@ -356,6 +386,10 @@ export interface UpdateIntentResponse {
356
386
  initialResponseSetting?: InitialResponseSetting;
357
387
  }
358
388
 
389
+ export declare const InitialResponseSettingFilterSensitiveLog: (obj: InitialResponseSetting) => any;
390
+
391
+ export declare const SlotCaptureSettingFilterSensitiveLog: (obj: SlotCaptureSetting) => any;
392
+
359
393
  export declare const SlotValueElicitationSettingFilterSensitiveLog: (obj: SlotValueElicitationSetting) => any;
360
394
 
361
395
  export declare const IntentConfirmationSettingFilterSensitiveLog: (obj: IntentConfirmationSetting) => any;
@@ -55,6 +55,7 @@ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } fro
55
55
  import { SearchAssociatedTranscriptsCommandInput, SearchAssociatedTranscriptsCommandOutput } from "../commands/SearchAssociatedTranscriptsCommand";
56
56
  import { StartBotRecommendationCommandInput, StartBotRecommendationCommandOutput } from "../commands/StartBotRecommendationCommand";
57
57
  import { StartImportCommandInput, StartImportCommandOutput } from "../commands/StartImportCommand";
58
+ import { StopBotRecommendationCommandInput, StopBotRecommendationCommandOutput } from "../commands/StopBotRecommendationCommand";
58
59
  import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
59
60
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
60
61
  import { UpdateBotAliasCommandInput, UpdateBotAliasCommandOutput } from "../commands/UpdateBotAliasCommand";
@@ -121,6 +122,7 @@ export declare const serializeAws_restJson1ListTagsForResourceCommand: (input: L
121
122
  export declare const serializeAws_restJson1SearchAssociatedTranscriptsCommand: (input: SearchAssociatedTranscriptsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
122
123
  export declare const serializeAws_restJson1StartBotRecommendationCommand: (input: StartBotRecommendationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
123
124
  export declare const serializeAws_restJson1StartImportCommand: (input: StartImportCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
125
+ export declare const serializeAws_restJson1StopBotRecommendationCommand: (input: StopBotRecommendationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
124
126
  export declare const serializeAws_restJson1TagResourceCommand: (input: TagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
125
127
  export declare const serializeAws_restJson1UntagResourceCommand: (input: UntagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
126
128
  export declare const serializeAws_restJson1UpdateBotCommand: (input: UpdateBotCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -187,6 +189,7 @@ export declare const deserializeAws_restJson1ListTagsForResourceCommand: (output
187
189
  export declare const deserializeAws_restJson1SearchAssociatedTranscriptsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SearchAssociatedTranscriptsCommandOutput>;
188
190
  export declare const deserializeAws_restJson1StartBotRecommendationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StartBotRecommendationCommandOutput>;
189
191
  export declare const deserializeAws_restJson1StartImportCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StartImportCommandOutput>;
192
+ export declare const deserializeAws_restJson1StopBotRecommendationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StopBotRecommendationCommandOutput>;
190
193
  export declare const deserializeAws_restJson1TagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<TagResourceCommandOutput>;
191
194
  export declare const deserializeAws_restJson1UntagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UntagResourceCommandOutput>;
192
195
  export declare const deserializeAws_restJson1UpdateBotCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateBotCommandOutput>;