@aws-sdk/client-lex-model-building-service 3.325.0 → 3.326.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.
Files changed (43) hide show
  1. package/dist-types/commands/CreateBotVersionCommand.d.ts +46 -0
  2. package/dist-types/commands/CreateIntentVersionCommand.d.ts +108 -0
  3. package/dist-types/commands/CreateSlotTypeVersionCommand.d.ts +28 -0
  4. package/dist-types/commands/DeleteBotAliasCommand.d.ts +4 -0
  5. package/dist-types/commands/DeleteBotChannelAssociationCommand.d.ts +4 -0
  6. package/dist-types/commands/DeleteBotCommand.d.ts +4 -0
  7. package/dist-types/commands/DeleteBotVersionCommand.d.ts +4 -0
  8. package/dist-types/commands/DeleteIntentCommand.d.ts +4 -0
  9. package/dist-types/commands/DeleteIntentVersionCommand.d.ts +4 -0
  10. package/dist-types/commands/DeleteSlotTypeCommand.d.ts +4 -0
  11. package/dist-types/commands/DeleteSlotTypeVersionCommand.d.ts +4 -0
  12. package/dist-types/commands/DeleteUtterancesCommand.d.ts +4 -0
  13. package/dist-types/commands/GetBotAliasCommand.d.ts +24 -0
  14. package/dist-types/commands/GetBotAliasesCommand.d.ts +29 -0
  15. package/dist-types/commands/GetBotChannelAssociationCommand.d.ts +16 -0
  16. package/dist-types/commands/GetBotChannelAssociationsCommand.d.ts +21 -0
  17. package/dist-types/commands/GetBotCommand.d.ts +47 -0
  18. package/dist-types/commands/GetBotVersionsCommand.d.ts +16 -0
  19. package/dist-types/commands/GetBotsCommand.d.ts +16 -0
  20. package/dist-types/commands/GetBuiltinIntentCommand.d.ts +14 -0
  21. package/dist-types/commands/GetBuiltinIntentsCommand.d.ts +14 -0
  22. package/dist-types/commands/GetBuiltinSlotTypesCommand.d.ts +14 -0
  23. package/dist-types/commands/GetExportCommand.d.ts +12 -0
  24. package/dist-types/commands/GetImportCommand.d.ts +14 -0
  25. package/dist-types/commands/GetIntentCommand.d.ts +108 -0
  26. package/dist-types/commands/GetIntentVersionsCommand.d.ts +15 -0
  27. package/dist-types/commands/GetIntentsCommand.d.ts +15 -0
  28. package/dist-types/commands/GetMigrationCommand.d.ts +26 -0
  29. package/dist-types/commands/GetMigrationsCommand.d.ts +19 -0
  30. package/dist-types/commands/GetSlotTypeCommand.d.ts +28 -0
  31. package/dist-types/commands/GetSlotTypeVersionsCommand.d.ts +15 -0
  32. package/dist-types/commands/GetSlotTypesCommand.d.ts +15 -0
  33. package/dist-types/commands/GetUtterancesViewCommand.d.ts +20 -0
  34. package/dist-types/commands/ListTagsForResourceCommand.d.ts +11 -0
  35. package/dist-types/commands/PutBotAliasCommand.d.ts +30 -0
  36. package/dist-types/commands/PutBotCommand.d.ts +54 -0
  37. package/dist-types/commands/PutIntentCommand.d.ts +109 -0
  38. package/dist-types/commands/PutSlotTypeCommand.d.ts +29 -0
  39. package/dist-types/commands/StartImportCommand.d.ts +17 -0
  40. package/dist-types/commands/StartMigrationCommand.d.ts +13 -0
  41. package/dist-types/commands/TagResourceCommand.d.ts +4 -0
  42. package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
  43. package/package.json +3 -3
@@ -44,6 +44,50 @@ export interface CreateBotVersionCommandOutput extends CreateBotVersionResponse,
44
44
  * };
45
45
  * const command = new CreateBotVersionCommand(input);
46
46
  * const response = await client.send(command);
47
+ * // { // CreateBotVersionResponse
48
+ * // name: "STRING_VALUE",
49
+ * // description: "STRING_VALUE",
50
+ * // intents: [ // IntentList
51
+ * // { // Intent
52
+ * // intentName: "STRING_VALUE", // required
53
+ * // intentVersion: "STRING_VALUE", // required
54
+ * // },
55
+ * // ],
56
+ * // clarificationPrompt: { // Prompt
57
+ * // messages: [ // MessageList // required
58
+ * // { // Message
59
+ * // contentType: "STRING_VALUE", // required
60
+ * // content: "STRING_VALUE", // required
61
+ * // groupNumber: Number("int"),
62
+ * // },
63
+ * // ],
64
+ * // maxAttempts: Number("int"), // required
65
+ * // responseCard: "STRING_VALUE",
66
+ * // },
67
+ * // abortStatement: { // Statement
68
+ * // messages: [ // required
69
+ * // {
70
+ * // contentType: "STRING_VALUE", // required
71
+ * // content: "STRING_VALUE", // required
72
+ * // groupNumber: Number("int"),
73
+ * // },
74
+ * // ],
75
+ * // responseCard: "STRING_VALUE",
76
+ * // },
77
+ * // status: "STRING_VALUE",
78
+ * // failureReason: "STRING_VALUE",
79
+ * // lastUpdatedDate: new Date("TIMESTAMP"),
80
+ * // createdDate: new Date("TIMESTAMP"),
81
+ * // idleSessionTTLInSeconds: Number("int"),
82
+ * // voiceId: "STRING_VALUE",
83
+ * // checksum: "STRING_VALUE",
84
+ * // version: "STRING_VALUE",
85
+ * // locale: "STRING_VALUE",
86
+ * // childDirected: true || false,
87
+ * // enableModelImprovements: true || false,
88
+ * // detectSentiment: true || false,
89
+ * // };
90
+ *
47
91
  * ```
48
92
  *
49
93
  * @param CreateBotVersionCommandInput - {@link CreateBotVersionCommandInput}
@@ -76,6 +120,8 @@ export interface CreateBotVersionCommandOutput extends CreateBotVersionResponse,
76
120
  * not match the checksum in the request. Check the resource's checksum and
77
121
  * try again.</p>
78
122
  *
123
+ * @throws {@link LexModelBuildingServiceServiceException}
124
+ * <p>Base exception class for all service exceptions from LexModelBuildingService service.</p>
79
125
  *
80
126
  */
81
127
  export declare class CreateBotVersionCommand extends $Command<CreateBotVersionCommandInput, CreateBotVersionCommandOutput, LexModelBuildingServiceClientResolvedConfig> {
@@ -45,6 +45,112 @@ export interface CreateIntentVersionCommandOutput extends CreateIntentVersionRes
45
45
  * };
46
46
  * const command = new CreateIntentVersionCommand(input);
47
47
  * const response = await client.send(command);
48
+ * // { // CreateIntentVersionResponse
49
+ * // name: "STRING_VALUE",
50
+ * // description: "STRING_VALUE",
51
+ * // slots: [ // SlotList
52
+ * // { // Slot
53
+ * // name: "STRING_VALUE", // required
54
+ * // description: "STRING_VALUE",
55
+ * // slotConstraint: "STRING_VALUE", // required
56
+ * // slotType: "STRING_VALUE",
57
+ * // slotTypeVersion: "STRING_VALUE",
58
+ * // valueElicitationPrompt: { // Prompt
59
+ * // messages: [ // MessageList // required
60
+ * // { // Message
61
+ * // contentType: "STRING_VALUE", // required
62
+ * // content: "STRING_VALUE", // required
63
+ * // groupNumber: Number("int"),
64
+ * // },
65
+ * // ],
66
+ * // maxAttempts: Number("int"), // required
67
+ * // responseCard: "STRING_VALUE",
68
+ * // },
69
+ * // priority: Number("int"),
70
+ * // sampleUtterances: [ // SlotUtteranceList
71
+ * // "STRING_VALUE",
72
+ * // ],
73
+ * // responseCard: "STRING_VALUE",
74
+ * // obfuscationSetting: "STRING_VALUE",
75
+ * // defaultValueSpec: { // SlotDefaultValueSpec
76
+ * // defaultValueList: [ // SlotDefaultValueList // required
77
+ * // { // SlotDefaultValue
78
+ * // defaultValue: "STRING_VALUE", // required
79
+ * // },
80
+ * // ],
81
+ * // },
82
+ * // },
83
+ * // ],
84
+ * // sampleUtterances: [ // IntentUtteranceList
85
+ * // "STRING_VALUE",
86
+ * // ],
87
+ * // confirmationPrompt: {
88
+ * // messages: [ // required
89
+ * // {
90
+ * // contentType: "STRING_VALUE", // required
91
+ * // content: "STRING_VALUE", // required
92
+ * // groupNumber: Number("int"),
93
+ * // },
94
+ * // ],
95
+ * // maxAttempts: Number("int"), // required
96
+ * // responseCard: "STRING_VALUE",
97
+ * // },
98
+ * // rejectionStatement: { // Statement
99
+ * // messages: [ // required
100
+ * // {
101
+ * // contentType: "STRING_VALUE", // required
102
+ * // content: "STRING_VALUE", // required
103
+ * // groupNumber: Number("int"),
104
+ * // },
105
+ * // ],
106
+ * // responseCard: "STRING_VALUE",
107
+ * // },
108
+ * // followUpPrompt: { // FollowUpPrompt
109
+ * // prompt: "<Prompt>", // required
110
+ * // rejectionStatement: {
111
+ * // messages: "<MessageList>", // required
112
+ * // responseCard: "STRING_VALUE",
113
+ * // },
114
+ * // },
115
+ * // conclusionStatement: {
116
+ * // messages: "<MessageList>", // required
117
+ * // responseCard: "STRING_VALUE",
118
+ * // },
119
+ * // dialogCodeHook: { // CodeHook
120
+ * // uri: "STRING_VALUE", // required
121
+ * // messageVersion: "STRING_VALUE", // required
122
+ * // },
123
+ * // fulfillmentActivity: { // FulfillmentActivity
124
+ * // type: "STRING_VALUE", // required
125
+ * // codeHook: {
126
+ * // uri: "STRING_VALUE", // required
127
+ * // messageVersion: "STRING_VALUE", // required
128
+ * // },
129
+ * // },
130
+ * // parentIntentSignature: "STRING_VALUE",
131
+ * // lastUpdatedDate: new Date("TIMESTAMP"),
132
+ * // createdDate: new Date("TIMESTAMP"),
133
+ * // version: "STRING_VALUE",
134
+ * // checksum: "STRING_VALUE",
135
+ * // kendraConfiguration: { // KendraConfiguration
136
+ * // kendraIndex: "STRING_VALUE", // required
137
+ * // queryFilterString: "STRING_VALUE",
138
+ * // role: "STRING_VALUE", // required
139
+ * // },
140
+ * // inputContexts: [ // InputContextList
141
+ * // { // InputContext
142
+ * // name: "STRING_VALUE", // required
143
+ * // },
144
+ * // ],
145
+ * // outputContexts: [ // OutputContextList
146
+ * // { // OutputContext
147
+ * // name: "STRING_VALUE", // required
148
+ * // timeToLiveInSeconds: Number("int"), // required
149
+ * // turnsToLive: Number("int"), // required
150
+ * // },
151
+ * // ],
152
+ * // };
153
+ *
48
154
  * ```
49
155
  *
50
156
  * @param CreateIntentVersionCommandInput - {@link CreateIntentVersionCommandInput}
@@ -77,6 +183,8 @@ export interface CreateIntentVersionCommandOutput extends CreateIntentVersionRes
77
183
  * not match the checksum in the request. Check the resource's checksum and
78
184
  * try again.</p>
79
185
  *
186
+ * @throws {@link LexModelBuildingServiceServiceException}
187
+ * <p>Base exception class for all service exceptions from LexModelBuildingService service.</p>
80
188
  *
81
189
  */
82
190
  export declare class CreateIntentVersionCommand extends $Command<CreateIntentVersionCommandInput, CreateIntentVersionCommandOutput, LexModelBuildingServiceClientResolvedConfig> {
@@ -47,6 +47,32 @@ export interface CreateSlotTypeVersionCommandOutput extends CreateSlotTypeVersio
47
47
  * };
48
48
  * const command = new CreateSlotTypeVersionCommand(input);
49
49
  * const response = await client.send(command);
50
+ * // { // CreateSlotTypeVersionResponse
51
+ * // name: "STRING_VALUE",
52
+ * // description: "STRING_VALUE",
53
+ * // enumerationValues: [ // EnumerationValues
54
+ * // { // EnumerationValue
55
+ * // value: "STRING_VALUE", // required
56
+ * // synonyms: [ // SynonymList
57
+ * // "STRING_VALUE",
58
+ * // ],
59
+ * // },
60
+ * // ],
61
+ * // lastUpdatedDate: new Date("TIMESTAMP"),
62
+ * // createdDate: new Date("TIMESTAMP"),
63
+ * // version: "STRING_VALUE",
64
+ * // checksum: "STRING_VALUE",
65
+ * // valueSelectionStrategy: "STRING_VALUE",
66
+ * // parentSlotTypeSignature: "STRING_VALUE",
67
+ * // slotTypeConfigurations: [ // SlotTypeConfigurations
68
+ * // { // SlotTypeConfiguration
69
+ * // regexConfiguration: { // SlotTypeRegexConfiguration
70
+ * // pattern: "STRING_VALUE", // required
71
+ * // },
72
+ * // },
73
+ * // ],
74
+ * // };
75
+ *
50
76
  * ```
51
77
  *
52
78
  * @param CreateSlotTypeVersionCommandInput - {@link CreateSlotTypeVersionCommandInput}
@@ -79,6 +105,8 @@ export interface CreateSlotTypeVersionCommandOutput extends CreateSlotTypeVersio
79
105
  * not match the checksum in the request. Check the resource's checksum and
80
106
  * try again.</p>
81
107
  *
108
+ * @throws {@link LexModelBuildingServiceServiceException}
109
+ * <p>Base exception class for all service exceptions from LexModelBuildingService service.</p>
82
110
  *
83
111
  */
84
112
  export declare class CreateSlotTypeVersionCommand extends $Command<CreateSlotTypeVersionCommandInput, CreateSlotTypeVersionCommandOutput, LexModelBuildingServiceClientResolvedConfig> {
@@ -40,6 +40,8 @@ export interface DeleteBotAliasCommandOutput extends __MetadataBearer {
40
40
  * };
41
41
  * const command = new DeleteBotAliasCommand(input);
42
42
  * const response = await client.send(command);
43
+ * // {};
44
+ *
43
45
  * ```
44
46
  *
45
47
  * @param DeleteBotAliasCommandInput - {@link DeleteBotAliasCommandInput}
@@ -85,6 +87,8 @@ export interface DeleteBotAliasCommandOutput extends __MetadataBearer {
85
87
  * <i>string</i> } }</code>
86
88
  * </p>
87
89
  *
90
+ * @throws {@link LexModelBuildingServiceServiceException}
91
+ * <p>Base exception class for all service exceptions from LexModelBuildingService service.</p>
88
92
  *
89
93
  */
90
94
  export declare class DeleteBotAliasCommand extends $Command<DeleteBotAliasCommandInput, DeleteBotAliasCommandOutput, LexModelBuildingServiceClientResolvedConfig> {
@@ -36,6 +36,8 @@ export interface DeleteBotChannelAssociationCommandOutput extends __MetadataBear
36
36
  * };
37
37
  * const command = new DeleteBotChannelAssociationCommand(input);
38
38
  * const response = await client.send(command);
39
+ * // {};
40
+ *
39
41
  * ```
40
42
  *
41
43
  * @param DeleteBotChannelAssociationCommandInput - {@link DeleteBotChannelAssociationCommandInput}
@@ -63,6 +65,8 @@ export interface DeleteBotChannelAssociationCommandOutput extends __MetadataBear
63
65
  * <p>The resource specified in the request was not found. Check the
64
66
  * resource and try again.</p>
65
67
  *
68
+ * @throws {@link LexModelBuildingServiceServiceException}
69
+ * <p>Base exception class for all service exceptions from LexModelBuildingService service.</p>
66
70
  *
67
71
  */
68
72
  export declare class DeleteBotChannelAssociationCommand extends $Command<DeleteBotChannelAssociationCommandInput, DeleteBotChannelAssociationCommandOutput, LexModelBuildingServiceClientResolvedConfig> {
@@ -47,6 +47,8 @@ export interface DeleteBotCommandOutput extends __MetadataBearer {
47
47
  * };
48
48
  * const command = new DeleteBotCommand(input);
49
49
  * const response = await client.send(command);
50
+ * // {};
51
+ *
50
52
  * ```
51
53
  *
52
54
  * @param DeleteBotCommandInput - {@link DeleteBotCommandInput}
@@ -92,6 +94,8 @@ export interface DeleteBotCommandOutput extends __MetadataBearer {
92
94
  * <i>string</i> } }</code>
93
95
  * </p>
94
96
  *
97
+ * @throws {@link LexModelBuildingServiceServiceException}
98
+ * <p>Base exception class for all service exceptions from LexModelBuildingService service.</p>
95
99
  *
96
100
  */
97
101
  export declare class DeleteBotCommand extends $Command<DeleteBotCommandInput, DeleteBotCommandOutput, LexModelBuildingServiceClientResolvedConfig> {
@@ -35,6 +35,8 @@ export interface DeleteBotVersionCommandOutput extends __MetadataBearer {
35
35
  * };
36
36
  * const command = new DeleteBotVersionCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // {};
39
+ *
38
40
  * ```
39
41
  *
40
42
  * @param DeleteBotVersionCommandInput - {@link DeleteBotVersionCommandInput}
@@ -80,6 +82,8 @@ export interface DeleteBotVersionCommandOutput extends __MetadataBearer {
80
82
  * <i>string</i> } }</code>
81
83
  * </p>
82
84
  *
85
+ * @throws {@link LexModelBuildingServiceServiceException}
86
+ * <p>Base exception class for all service exceptions from LexModelBuildingService service.</p>
83
87
  *
84
88
  */
85
89
  export declare class DeleteBotVersionCommand extends $Command<DeleteBotVersionCommandInput, DeleteBotVersionCommandOutput, LexModelBuildingServiceClientResolvedConfig> {
@@ -48,6 +48,8 @@ export interface DeleteIntentCommandOutput extends __MetadataBearer {
48
48
  * };
49
49
  * const command = new DeleteIntentCommand(input);
50
50
  * const response = await client.send(command);
51
+ * // {};
52
+ *
51
53
  * ```
52
54
  *
53
55
  * @param DeleteIntentCommandInput - {@link DeleteIntentCommandInput}
@@ -93,6 +95,8 @@ export interface DeleteIntentCommandOutput extends __MetadataBearer {
93
95
  * <i>string</i> } }</code>
94
96
  * </p>
95
97
  *
98
+ * @throws {@link LexModelBuildingServiceServiceException}
99
+ * <p>Base exception class for all service exceptions from LexModelBuildingService service.</p>
96
100
  *
97
101
  */
98
102
  export declare class DeleteIntentCommand extends $Command<DeleteIntentCommandInput, DeleteIntentCommandOutput, LexModelBuildingServiceClientResolvedConfig> {
@@ -35,6 +35,8 @@ export interface DeleteIntentVersionCommandOutput extends __MetadataBearer {
35
35
  * };
36
36
  * const command = new DeleteIntentVersionCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // {};
39
+ *
38
40
  * ```
39
41
  *
40
42
  * @param DeleteIntentVersionCommandInput - {@link DeleteIntentVersionCommandInput}
@@ -80,6 +82,8 @@ export interface DeleteIntentVersionCommandOutput extends __MetadataBearer {
80
82
  * <i>string</i> } }</code>
81
83
  * </p>
82
84
  *
85
+ * @throws {@link LexModelBuildingServiceServiceException}
86
+ * <p>Base exception class for all service exceptions from LexModelBuildingService service.</p>
83
87
  *
84
88
  */
85
89
  export declare class DeleteIntentVersionCommand extends $Command<DeleteIntentVersionCommandInput, DeleteIntentVersionCommandOutput, LexModelBuildingServiceClientResolvedConfig> {
@@ -47,6 +47,8 @@ export interface DeleteSlotTypeCommandOutput extends __MetadataBearer {
47
47
  * };
48
48
  * const command = new DeleteSlotTypeCommand(input);
49
49
  * const response = await client.send(command);
50
+ * // {};
51
+ *
50
52
  * ```
51
53
  *
52
54
  * @param DeleteSlotTypeCommandInput - {@link DeleteSlotTypeCommandInput}
@@ -92,6 +94,8 @@ export interface DeleteSlotTypeCommandOutput extends __MetadataBearer {
92
94
  * <i>string</i> } }</code>
93
95
  * </p>
94
96
  *
97
+ * @throws {@link LexModelBuildingServiceServiceException}
98
+ * <p>Base exception class for all service exceptions from LexModelBuildingService service.</p>
95
99
  *
96
100
  */
97
101
  export declare class DeleteSlotTypeCommand extends $Command<DeleteSlotTypeCommandInput, DeleteSlotTypeCommandOutput, LexModelBuildingServiceClientResolvedConfig> {
@@ -35,6 +35,8 @@ export interface DeleteSlotTypeVersionCommandOutput extends __MetadataBearer {
35
35
  * };
36
36
  * const command = new DeleteSlotTypeVersionCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // {};
39
+ *
38
40
  * ```
39
41
  *
40
42
  * @param DeleteSlotTypeVersionCommandInput - {@link DeleteSlotTypeVersionCommandInput}
@@ -80,6 +82,8 @@ export interface DeleteSlotTypeVersionCommandOutput extends __MetadataBearer {
80
82
  * <i>string</i> } }</code>
81
83
  * </p>
82
84
  *
85
+ * @throws {@link LexModelBuildingServiceServiceException}
86
+ * <p>Base exception class for all service exceptions from LexModelBuildingService service.</p>
83
87
  *
84
88
  */
85
89
  export declare class DeleteSlotTypeVersionCommand extends $Command<DeleteSlotTypeVersionCommandInput, DeleteSlotTypeVersionCommandOutput, LexModelBuildingServiceClientResolvedConfig> {
@@ -43,6 +43,8 @@ export interface DeleteUtterancesCommandOutput extends __MetadataBearer {
43
43
  * };
44
44
  * const command = new DeleteUtterancesCommand(input);
45
45
  * const response = await client.send(command);
46
+ * // {};
47
+ *
46
48
  * ```
47
49
  *
48
50
  * @param DeleteUtterancesCommandInput - {@link DeleteUtterancesCommandInput}
@@ -66,6 +68,8 @@ export interface DeleteUtterancesCommandOutput extends __MetadataBearer {
66
68
  * <p>The resource specified in the request was not found. Check the
67
69
  * resource and try again.</p>
68
70
  *
71
+ * @throws {@link LexModelBuildingServiceServiceException}
72
+ * <p>Base exception class for all service exceptions from LexModelBuildingService service.</p>
69
73
  *
70
74
  */
71
75
  export declare class DeleteUtterancesCommand extends $Command<DeleteUtterancesCommandInput, DeleteUtterancesCommandOutput, LexModelBuildingServiceClientResolvedConfig> {
@@ -35,6 +35,28 @@ export interface GetBotAliasCommandOutput extends GetBotAliasResponse, __Metadat
35
35
  * };
36
36
  * const command = new GetBotAliasCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // { // GetBotAliasResponse
39
+ * // name: "STRING_VALUE",
40
+ * // description: "STRING_VALUE",
41
+ * // botVersion: "STRING_VALUE",
42
+ * // botName: "STRING_VALUE",
43
+ * // lastUpdatedDate: new Date("TIMESTAMP"),
44
+ * // createdDate: new Date("TIMESTAMP"),
45
+ * // checksum: "STRING_VALUE",
46
+ * // conversationLogs: { // ConversationLogsResponse
47
+ * // logSettings: [ // LogSettingsResponseList
48
+ * // { // LogSettingsResponse
49
+ * // logType: "STRING_VALUE",
50
+ * // destination: "STRING_VALUE",
51
+ * // kmsKeyArn: "STRING_VALUE",
52
+ * // resourceArn: "STRING_VALUE",
53
+ * // resourcePrefix: "STRING_VALUE",
54
+ * // },
55
+ * // ],
56
+ * // iamRoleArn: "STRING_VALUE",
57
+ * // },
58
+ * // };
59
+ *
38
60
  * ```
39
61
  *
40
62
  * @param GetBotAliasCommandInput - {@link GetBotAliasCommandInput}
@@ -58,6 +80,8 @@ export interface GetBotAliasCommandOutput extends GetBotAliasResponse, __Metadat
58
80
  * <p>The resource specified in the request was not found. Check the
59
81
  * resource and try again.</p>
60
82
  *
83
+ * @throws {@link LexModelBuildingServiceServiceException}
84
+ * <p>Base exception class for all service exceptions from LexModelBuildingService service.</p>
61
85
  *
62
86
  */
63
87
  export declare class GetBotAliasCommand extends $Command<GetBotAliasCommandInput, GetBotAliasCommandOutput, LexModelBuildingServiceClientResolvedConfig> {
@@ -36,6 +36,33 @@ export interface GetBotAliasesCommandOutput extends GetBotAliasesResponse, __Met
36
36
  * };
37
37
  * const command = new GetBotAliasesCommand(input);
38
38
  * const response = await client.send(command);
39
+ * // { // GetBotAliasesResponse
40
+ * // BotAliases: [ // BotAliasMetadataList
41
+ * // { // BotAliasMetadata
42
+ * // name: "STRING_VALUE",
43
+ * // description: "STRING_VALUE",
44
+ * // botVersion: "STRING_VALUE",
45
+ * // botName: "STRING_VALUE",
46
+ * // lastUpdatedDate: new Date("TIMESTAMP"),
47
+ * // createdDate: new Date("TIMESTAMP"),
48
+ * // checksum: "STRING_VALUE",
49
+ * // conversationLogs: { // ConversationLogsResponse
50
+ * // logSettings: [ // LogSettingsResponseList
51
+ * // { // LogSettingsResponse
52
+ * // logType: "STRING_VALUE",
53
+ * // destination: "STRING_VALUE",
54
+ * // kmsKeyArn: "STRING_VALUE",
55
+ * // resourceArn: "STRING_VALUE",
56
+ * // resourcePrefix: "STRING_VALUE",
57
+ * // },
58
+ * // ],
59
+ * // iamRoleArn: "STRING_VALUE",
60
+ * // },
61
+ * // },
62
+ * // ],
63
+ * // nextToken: "STRING_VALUE",
64
+ * // };
65
+ *
39
66
  * ```
40
67
  *
41
68
  * @param GetBotAliasesCommandInput - {@link GetBotAliasesCommandInput}
@@ -55,6 +82,8 @@ export interface GetBotAliasesCommandOutput extends GetBotAliasesResponse, __Met
55
82
  * @throws {@link LimitExceededException} (client fault)
56
83
  * <p>The request exceeded a limit. Try your request again.</p>
57
84
  *
85
+ * @throws {@link LexModelBuildingServiceServiceException}
86
+ * <p>Base exception class for all service exceptions from LexModelBuildingService service.</p>
58
87
  *
59
88
  */
60
89
  export declare class GetBotAliasesCommand extends $Command<GetBotAliasesCommandInput, GetBotAliasesCommandOutput, LexModelBuildingServiceClientResolvedConfig> {
@@ -36,6 +36,20 @@ export interface GetBotChannelAssociationCommandOutput extends GetBotChannelAsso
36
36
  * };
37
37
  * const command = new GetBotChannelAssociationCommand(input);
38
38
  * const response = await client.send(command);
39
+ * // { // GetBotChannelAssociationResponse
40
+ * // name: "STRING_VALUE",
41
+ * // description: "STRING_VALUE",
42
+ * // botAlias: "STRING_VALUE",
43
+ * // botName: "STRING_VALUE",
44
+ * // createdDate: new Date("TIMESTAMP"),
45
+ * // type: "STRING_VALUE",
46
+ * // botConfiguration: { // ChannelConfigurationMap
47
+ * // "<keys>": "STRING_VALUE",
48
+ * // },
49
+ * // status: "STRING_VALUE",
50
+ * // failureReason: "STRING_VALUE",
51
+ * // };
52
+ *
39
53
  * ```
40
54
  *
41
55
  * @param GetBotChannelAssociationCommandInput - {@link GetBotChannelAssociationCommandInput}
@@ -59,6 +73,8 @@ export interface GetBotChannelAssociationCommandOutput extends GetBotChannelAsso
59
73
  * <p>The resource specified in the request was not found. Check the
60
74
  * resource and try again.</p>
61
75
  *
76
+ * @throws {@link LexModelBuildingServiceServiceException}
77
+ * <p>Base exception class for all service exceptions from LexModelBuildingService service.</p>
62
78
  *
63
79
  */
64
80
  export declare class GetBotChannelAssociationCommand extends $Command<GetBotChannelAssociationCommandInput, GetBotChannelAssociationCommandOutput, LexModelBuildingServiceClientResolvedConfig> {
@@ -39,6 +39,25 @@ export interface GetBotChannelAssociationsCommandOutput extends GetBotChannelAss
39
39
  * };
40
40
  * const command = new GetBotChannelAssociationsCommand(input);
41
41
  * const response = await client.send(command);
42
+ * // { // GetBotChannelAssociationsResponse
43
+ * // botChannelAssociations: [ // BotChannelAssociationList
44
+ * // { // BotChannelAssociation
45
+ * // name: "STRING_VALUE",
46
+ * // description: "STRING_VALUE",
47
+ * // botAlias: "STRING_VALUE",
48
+ * // botName: "STRING_VALUE",
49
+ * // createdDate: new Date("TIMESTAMP"),
50
+ * // type: "STRING_VALUE",
51
+ * // botConfiguration: { // ChannelConfigurationMap
52
+ * // "<keys>": "STRING_VALUE",
53
+ * // },
54
+ * // status: "STRING_VALUE",
55
+ * // failureReason: "STRING_VALUE",
56
+ * // },
57
+ * // ],
58
+ * // nextToken: "STRING_VALUE",
59
+ * // };
60
+ *
42
61
  * ```
43
62
  *
44
63
  * @param GetBotChannelAssociationsCommandInput - {@link GetBotChannelAssociationsCommandInput}
@@ -58,6 +77,8 @@ export interface GetBotChannelAssociationsCommandOutput extends GetBotChannelAss
58
77
  * @throws {@link LimitExceededException} (client fault)
59
78
  * <p>The request exceeded a limit. Try your request again.</p>
60
79
  *
80
+ * @throws {@link LexModelBuildingServiceServiceException}
81
+ * <p>Base exception class for all service exceptions from LexModelBuildingService service.</p>
61
82
  *
62
83
  */
63
84
  export declare class GetBotChannelAssociationsCommand extends $Command<GetBotChannelAssociationsCommandInput, GetBotChannelAssociationsCommandOutput, LexModelBuildingServiceClientResolvedConfig> {
@@ -35,6 +35,51 @@ export interface GetBotCommandOutput extends GetBotResponse, __MetadataBearer {
35
35
  * };
36
36
  * const command = new GetBotCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // { // GetBotResponse
39
+ * // name: "STRING_VALUE",
40
+ * // description: "STRING_VALUE",
41
+ * // intents: [ // IntentList
42
+ * // { // Intent
43
+ * // intentName: "STRING_VALUE", // required
44
+ * // intentVersion: "STRING_VALUE", // required
45
+ * // },
46
+ * // ],
47
+ * // enableModelImprovements: true || false,
48
+ * // nluIntentConfidenceThreshold: Number("double"),
49
+ * // clarificationPrompt: { // Prompt
50
+ * // messages: [ // MessageList // required
51
+ * // { // Message
52
+ * // contentType: "STRING_VALUE", // required
53
+ * // content: "STRING_VALUE", // required
54
+ * // groupNumber: Number("int"),
55
+ * // },
56
+ * // ],
57
+ * // maxAttempts: Number("int"), // required
58
+ * // responseCard: "STRING_VALUE",
59
+ * // },
60
+ * // abortStatement: { // Statement
61
+ * // messages: [ // required
62
+ * // {
63
+ * // contentType: "STRING_VALUE", // required
64
+ * // content: "STRING_VALUE", // required
65
+ * // groupNumber: Number("int"),
66
+ * // },
67
+ * // ],
68
+ * // responseCard: "STRING_VALUE",
69
+ * // },
70
+ * // status: "STRING_VALUE",
71
+ * // failureReason: "STRING_VALUE",
72
+ * // lastUpdatedDate: new Date("TIMESTAMP"),
73
+ * // createdDate: new Date("TIMESTAMP"),
74
+ * // idleSessionTTLInSeconds: Number("int"),
75
+ * // voiceId: "STRING_VALUE",
76
+ * // checksum: "STRING_VALUE",
77
+ * // version: "STRING_VALUE",
78
+ * // locale: "STRING_VALUE",
79
+ * // childDirected: true || false,
80
+ * // detectSentiment: true || false,
81
+ * // };
82
+ *
38
83
  * ```
39
84
  *
40
85
  * @param GetBotCommandInput - {@link GetBotCommandInput}
@@ -58,6 +103,8 @@ export interface GetBotCommandOutput extends GetBotResponse, __MetadataBearer {
58
103
  * <p>The resource specified in the request was not found. Check the
59
104
  * resource and try again.</p>
60
105
  *
106
+ * @throws {@link LexModelBuildingServiceServiceException}
107
+ * <p>Base exception class for all service exceptions from LexModelBuildingService service.</p>
61
108
  *
62
109
  * @example To get information about a bot
63
110
  * ```javascript
@@ -43,6 +43,20 @@ export interface GetBotVersionsCommandOutput extends GetBotVersionsResponse, __M
43
43
  * };
44
44
  * const command = new GetBotVersionsCommand(input);
45
45
  * const response = await client.send(command);
46
+ * // { // GetBotVersionsResponse
47
+ * // bots: [ // BotMetadataList
48
+ * // { // BotMetadata
49
+ * // name: "STRING_VALUE",
50
+ * // description: "STRING_VALUE",
51
+ * // status: "STRING_VALUE",
52
+ * // lastUpdatedDate: new Date("TIMESTAMP"),
53
+ * // createdDate: new Date("TIMESTAMP"),
54
+ * // version: "STRING_VALUE",
55
+ * // },
56
+ * // ],
57
+ * // nextToken: "STRING_VALUE",
58
+ * // };
59
+ *
46
60
  * ```
47
61
  *
48
62
  * @param GetBotVersionsCommandInput - {@link GetBotVersionsCommandInput}
@@ -66,6 +80,8 @@ export interface GetBotVersionsCommandOutput extends GetBotVersionsResponse, __M
66
80
  * <p>The resource specified in the request was not found. Check the
67
81
  * resource and try again.</p>
68
82
  *
83
+ * @throws {@link LexModelBuildingServiceServiceException}
84
+ * <p>Base exception class for all service exceptions from LexModelBuildingService service.</p>
69
85
  *
70
86
  */
71
87
  export declare class GetBotVersionsCommand extends $Command<GetBotVersionsCommandInput, GetBotVersionsCommandOutput, LexModelBuildingServiceClientResolvedConfig> {
@@ -47,6 +47,20 @@ export interface GetBotsCommandOutput extends GetBotsResponse, __MetadataBearer
47
47
  * };
48
48
  * const command = new GetBotsCommand(input);
49
49
  * const response = await client.send(command);
50
+ * // { // GetBotsResponse
51
+ * // bots: [ // BotMetadataList
52
+ * // { // BotMetadata
53
+ * // name: "STRING_VALUE",
54
+ * // description: "STRING_VALUE",
55
+ * // status: "STRING_VALUE",
56
+ * // lastUpdatedDate: new Date("TIMESTAMP"),
57
+ * // createdDate: new Date("TIMESTAMP"),
58
+ * // version: "STRING_VALUE",
59
+ * // },
60
+ * // ],
61
+ * // nextToken: "STRING_VALUE",
62
+ * // };
63
+ *
50
64
  * ```
51
65
  *
52
66
  * @param GetBotsCommandInput - {@link GetBotsCommandInput}
@@ -70,6 +84,8 @@ export interface GetBotsCommandOutput extends GetBotsResponse, __MetadataBearer
70
84
  * <p>The resource specified in the request was not found. Check the
71
85
  * resource and try again.</p>
72
86
  *
87
+ * @throws {@link LexModelBuildingServiceServiceException}
88
+ * <p>Base exception class for all service exceptions from LexModelBuildingService service.</p>
73
89
  *
74
90
  * @example To get a list of bots
75
91
  * ```javascript