@aws-sdk/client-lex-models-v2 3.54.1 → 3.55.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 +8 -0
- package/dist-cjs/LexModelsV2Client.js +13 -13
- package/dist-cjs/commands/BuildBotLocaleCommand.js +3 -3
- package/dist-cjs/commands/CreateBotAliasCommand.js +3 -3
- package/dist-cjs/commands/CreateBotCommand.js +3 -3
- package/dist-cjs/commands/CreateBotLocaleCommand.js +3 -3
- package/dist-cjs/commands/CreateBotVersionCommand.js +3 -3
- package/dist-cjs/commands/CreateExportCommand.js +3 -3
- package/dist-cjs/commands/CreateIntentCommand.js +3 -3
- package/dist-cjs/commands/CreateResourcePolicyCommand.js +3 -3
- package/dist-cjs/commands/CreateResourcePolicyStatementCommand.js +3 -3
- package/dist-cjs/commands/CreateSlotCommand.js +3 -3
- package/dist-cjs/commands/CreateSlotTypeCommand.js +3 -3
- package/dist-cjs/commands/CreateUploadUrlCommand.js +3 -3
- package/dist-cjs/commands/DeleteBotAliasCommand.js +3 -3
- package/dist-cjs/commands/DeleteBotCommand.js +3 -3
- package/dist-cjs/commands/DeleteBotLocaleCommand.js +3 -3
- package/dist-cjs/commands/DeleteBotVersionCommand.js +3 -3
- package/dist-cjs/commands/DeleteCustomVocabularyCommand.js +3 -3
- package/dist-cjs/commands/DeleteExportCommand.js +3 -3
- package/dist-cjs/commands/DeleteImportCommand.js +3 -3
- package/dist-cjs/commands/DeleteIntentCommand.js +3 -3
- package/dist-cjs/commands/DeleteResourcePolicyCommand.js +3 -3
- package/dist-cjs/commands/DeleteResourcePolicyStatementCommand.js +3 -3
- package/dist-cjs/commands/DeleteSlotCommand.js +3 -3
- package/dist-cjs/commands/DeleteSlotTypeCommand.js +3 -3
- package/dist-cjs/commands/DeleteUtterancesCommand.js +3 -3
- package/dist-cjs/commands/DescribeBotAliasCommand.js +3 -3
- package/dist-cjs/commands/DescribeBotCommand.js +3 -3
- package/dist-cjs/commands/DescribeBotLocaleCommand.js +3 -3
- package/dist-cjs/commands/DescribeBotRecommendationCommand.js +3 -3
- package/dist-cjs/commands/DescribeBotVersionCommand.js +3 -3
- package/dist-cjs/commands/DescribeCustomVocabularyMetadataCommand.js +3 -3
- package/dist-cjs/commands/DescribeExportCommand.js +3 -3
- package/dist-cjs/commands/DescribeImportCommand.js +3 -3
- package/dist-cjs/commands/DescribeIntentCommand.js +3 -3
- package/dist-cjs/commands/DescribeResourcePolicyCommand.js +3 -3
- package/dist-cjs/commands/DescribeSlotCommand.js +3 -3
- package/dist-cjs/commands/DescribeSlotTypeCommand.js +3 -3
- package/dist-cjs/commands/ListAggregatedUtterancesCommand.js +3 -3
- package/dist-cjs/commands/ListBotAliasesCommand.js +3 -3
- package/dist-cjs/commands/ListBotLocalesCommand.js +3 -3
- package/dist-cjs/commands/ListBotRecommendationsCommand.js +3 -3
- package/dist-cjs/commands/ListBotVersionsCommand.js +3 -3
- package/dist-cjs/commands/ListBotsCommand.js +3 -3
- package/dist-cjs/commands/ListBuiltInIntentsCommand.js +3 -3
- package/dist-cjs/commands/ListBuiltInSlotTypesCommand.js +3 -3
- package/dist-cjs/commands/ListExportsCommand.js +3 -3
- package/dist-cjs/commands/ListImportsCommand.js +3 -3
- package/dist-cjs/commands/ListIntentsCommand.js +3 -3
- package/dist-cjs/commands/ListRecommendedIntentsCommand.js +3 -3
- package/dist-cjs/commands/ListSlotTypesCommand.js +3 -3
- package/dist-cjs/commands/ListSlotsCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/SearchAssociatedTranscriptsCommand.js +3 -3
- package/dist-cjs/commands/StartBotRecommendationCommand.js +3 -3
- package/dist-cjs/commands/StartImportCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateBotAliasCommand.js +3 -3
- package/dist-cjs/commands/UpdateBotCommand.js +3 -3
- package/dist-cjs/commands/UpdateBotLocaleCommand.js +3 -3
- package/dist-cjs/commands/UpdateBotRecommendationCommand.js +3 -3
- package/dist-cjs/commands/UpdateExportCommand.js +3 -3
- package/dist-cjs/commands/UpdateIntentCommand.js +3 -3
- package/dist-cjs/commands/UpdateResourcePolicyCommand.js +3 -3
- package/dist-cjs/commands/UpdateSlotCommand.js +3 -3
- package/dist-cjs/commands/UpdateSlotTypeCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_restJson1.js +774 -774
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-cjs/waiters/waitForBotAliasAvailable.js +3 -3
- package/dist-cjs/waiters/waitForBotAvailable.js +3 -3
- package/dist-cjs/waiters/waitForBotExportCompleted.js +3 -3
- package/dist-cjs/waiters/waitForBotImportCompleted.js +3 -3
- package/dist-cjs/waiters/waitForBotLocaleBuilt.js +3 -3
- package/dist-cjs/waiters/waitForBotLocaleCreated.js +3 -3
- package/dist-cjs/waiters/waitForBotLocaleExpressTestingAvailable.js +3 -3
- package/dist-cjs/waiters/waitForBotVersionAvailable.js +3 -3
- package/dist-es/LexModelsV2.js +66 -66
- package/dist-es/pagination/ListAggregatedUtterancesPaginator.js +4 -4
- package/dist-es/pagination/ListBotAliasesPaginator.js +4 -4
- package/dist-es/pagination/ListBotLocalesPaginator.js +4 -4
- package/dist-es/pagination/ListBotRecommendationsPaginator.js +4 -4
- package/dist-es/pagination/ListBotVersionsPaginator.js +4 -4
- package/dist-es/pagination/ListBotsPaginator.js +4 -4
- package/dist-es/pagination/ListBuiltInIntentsPaginator.js +4 -4
- package/dist-es/pagination/ListBuiltInSlotTypesPaginator.js +4 -4
- package/dist-es/pagination/ListExportsPaginator.js +4 -4
- package/dist-es/pagination/ListImportsPaginator.js +4 -4
- package/dist-es/pagination/ListIntentsPaginator.js +4 -4
- package/dist-es/pagination/ListRecommendedIntentsPaginator.js +4 -4
- package/dist-es/pagination/ListSlotTypesPaginator.js +4 -4
- package/dist-es/pagination/ListSlotsPaginator.js +4 -4
- package/dist-es/protocols/Aws_restJson1.js +66 -66
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
- package/package.json +35 -35
|
@@ -17,7 +17,7 @@ const serializeAws_restJson1BuildBotLocaleCommand = async (input, context) => {
|
|
|
17
17
|
if (labelValue.length <= 0) {
|
|
18
18
|
throw new Error("Empty value provided for input HTTP label: botId.");
|
|
19
19
|
}
|
|
20
|
-
resolvedPath = resolvedPath.replace("{botId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
20
|
+
resolvedPath = resolvedPath.replace("{botId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
21
21
|
}
|
|
22
22
|
else {
|
|
23
23
|
throw new Error("No value provided for input HTTP label: botId.");
|
|
@@ -27,7 +27,7 @@ const serializeAws_restJson1BuildBotLocaleCommand = async (input, context) => {
|
|
|
27
27
|
if (labelValue.length <= 0) {
|
|
28
28
|
throw new Error("Empty value provided for input HTTP label: botVersion.");
|
|
29
29
|
}
|
|
30
|
-
resolvedPath = resolvedPath.replace("{botVersion}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
30
|
+
resolvedPath = resolvedPath.replace("{botVersion}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
31
31
|
}
|
|
32
32
|
else {
|
|
33
33
|
throw new Error("No value provided for input HTTP label: botVersion.");
|
|
@@ -37,7 +37,7 @@ const serializeAws_restJson1BuildBotLocaleCommand = async (input, context) => {
|
|
|
37
37
|
if (labelValue.length <= 0) {
|
|
38
38
|
throw new Error("Empty value provided for input HTTP label: localeId.");
|
|
39
39
|
}
|
|
40
|
-
resolvedPath = resolvedPath.replace("{localeId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
40
|
+
resolvedPath = resolvedPath.replace("{localeId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
41
41
|
}
|
|
42
42
|
else {
|
|
43
43
|
throw new Error("No value provided for input HTTP label: localeId.");
|
|
@@ -98,7 +98,7 @@ const serializeAws_restJson1CreateBotAliasCommand = async (input, context) => {
|
|
|
98
98
|
if (labelValue.length <= 0) {
|
|
99
99
|
throw new Error("Empty value provided for input HTTP label: botId.");
|
|
100
100
|
}
|
|
101
|
-
resolvedPath = resolvedPath.replace("{botId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
101
|
+
resolvedPath = resolvedPath.replace("{botId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
102
102
|
}
|
|
103
103
|
else {
|
|
104
104
|
throw new Error("No value provided for input HTTP label: botId.");
|
|
@@ -145,7 +145,7 @@ const serializeAws_restJson1CreateBotLocaleCommand = async (input, context) => {
|
|
|
145
145
|
if (labelValue.length <= 0) {
|
|
146
146
|
throw new Error("Empty value provided for input HTTP label: botId.");
|
|
147
147
|
}
|
|
148
|
-
resolvedPath = resolvedPath.replace("{botId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
148
|
+
resolvedPath = resolvedPath.replace("{botId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
149
149
|
}
|
|
150
150
|
else {
|
|
151
151
|
throw new Error("No value provided for input HTTP label: botId.");
|
|
@@ -155,7 +155,7 @@ const serializeAws_restJson1CreateBotLocaleCommand = async (input, context) => {
|
|
|
155
155
|
if (labelValue.length <= 0) {
|
|
156
156
|
throw new Error("Empty value provided for input HTTP label: botVersion.");
|
|
157
157
|
}
|
|
158
|
-
resolvedPath = resolvedPath.replace("{botVersion}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
158
|
+
resolvedPath = resolvedPath.replace("{botVersion}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
159
159
|
}
|
|
160
160
|
else {
|
|
161
161
|
throw new Error("No value provided for input HTTP label: botVersion.");
|
|
@@ -166,7 +166,7 @@ const serializeAws_restJson1CreateBotLocaleCommand = async (input, context) => {
|
|
|
166
166
|
...(input.localeId !== undefined && input.localeId !== null && { localeId: input.localeId }),
|
|
167
167
|
...(input.nluIntentConfidenceThreshold !== undefined &&
|
|
168
168
|
input.nluIntentConfidenceThreshold !== null && {
|
|
169
|
-
nluIntentConfidenceThreshold: smithy_client_1.serializeFloat(input.nluIntentConfidenceThreshold),
|
|
169
|
+
nluIntentConfidenceThreshold: (0, smithy_client_1.serializeFloat)(input.nluIntentConfidenceThreshold),
|
|
170
170
|
}),
|
|
171
171
|
...(input.voiceSettings !== undefined &&
|
|
172
172
|
input.voiceSettings !== null && {
|
|
@@ -195,7 +195,7 @@ const serializeAws_restJson1CreateBotVersionCommand = async (input, context) =>
|
|
|
195
195
|
if (labelValue.length <= 0) {
|
|
196
196
|
throw new Error("Empty value provided for input HTTP label: botId.");
|
|
197
197
|
}
|
|
198
|
-
resolvedPath = resolvedPath.replace("{botId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
198
|
+
resolvedPath = resolvedPath.replace("{botId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
199
199
|
}
|
|
200
200
|
else {
|
|
201
201
|
throw new Error("No value provided for input HTTP label: botId.");
|
|
@@ -257,7 +257,7 @@ const serializeAws_restJson1CreateIntentCommand = async (input, context) => {
|
|
|
257
257
|
if (labelValue.length <= 0) {
|
|
258
258
|
throw new Error("Empty value provided for input HTTP label: botId.");
|
|
259
259
|
}
|
|
260
|
-
resolvedPath = resolvedPath.replace("{botId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
260
|
+
resolvedPath = resolvedPath.replace("{botId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
261
261
|
}
|
|
262
262
|
else {
|
|
263
263
|
throw new Error("No value provided for input HTTP label: botId.");
|
|
@@ -267,7 +267,7 @@ const serializeAws_restJson1CreateIntentCommand = async (input, context) => {
|
|
|
267
267
|
if (labelValue.length <= 0) {
|
|
268
268
|
throw new Error("Empty value provided for input HTTP label: botVersion.");
|
|
269
269
|
}
|
|
270
|
-
resolvedPath = resolvedPath.replace("{botVersion}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
270
|
+
resolvedPath = resolvedPath.replace("{botVersion}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
271
271
|
}
|
|
272
272
|
else {
|
|
273
273
|
throw new Error("No value provided for input HTTP label: botVersion.");
|
|
@@ -277,7 +277,7 @@ const serializeAws_restJson1CreateIntentCommand = async (input, context) => {
|
|
|
277
277
|
if (labelValue.length <= 0) {
|
|
278
278
|
throw new Error("Empty value provided for input HTTP label: localeId.");
|
|
279
279
|
}
|
|
280
|
-
resolvedPath = resolvedPath.replace("{localeId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
280
|
+
resolvedPath = resolvedPath.replace("{localeId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
281
281
|
}
|
|
282
282
|
else {
|
|
283
283
|
throw new Error("No value provided for input HTTP label: localeId.");
|
|
@@ -343,7 +343,7 @@ const serializeAws_restJson1CreateResourcePolicyCommand = async (input, context)
|
|
|
343
343
|
if (labelValue.length <= 0) {
|
|
344
344
|
throw new Error("Empty value provided for input HTTP label: resourceArn.");
|
|
345
345
|
}
|
|
346
|
-
resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
346
|
+
resolvedPath = resolvedPath.replace("{resourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
347
347
|
}
|
|
348
348
|
else {
|
|
349
349
|
throw new Error("No value provided for input HTTP label: resourceArn.");
|
|
@@ -374,7 +374,7 @@ const serializeAws_restJson1CreateResourcePolicyStatementCommand = async (input,
|
|
|
374
374
|
if (labelValue.length <= 0) {
|
|
375
375
|
throw new Error("Empty value provided for input HTTP label: resourceArn.");
|
|
376
376
|
}
|
|
377
|
-
resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
377
|
+
resolvedPath = resolvedPath.replace("{resourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
378
378
|
}
|
|
379
379
|
else {
|
|
380
380
|
throw new Error("No value provided for input HTTP label: resourceArn.");
|
|
@@ -417,7 +417,7 @@ const serializeAws_restJson1CreateSlotCommand = async (input, context) => {
|
|
|
417
417
|
if (labelValue.length <= 0) {
|
|
418
418
|
throw new Error("Empty value provided for input HTTP label: botId.");
|
|
419
419
|
}
|
|
420
|
-
resolvedPath = resolvedPath.replace("{botId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
420
|
+
resolvedPath = resolvedPath.replace("{botId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
421
421
|
}
|
|
422
422
|
else {
|
|
423
423
|
throw new Error("No value provided for input HTTP label: botId.");
|
|
@@ -427,7 +427,7 @@ const serializeAws_restJson1CreateSlotCommand = async (input, context) => {
|
|
|
427
427
|
if (labelValue.length <= 0) {
|
|
428
428
|
throw new Error("Empty value provided for input HTTP label: botVersion.");
|
|
429
429
|
}
|
|
430
|
-
resolvedPath = resolvedPath.replace("{botVersion}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
430
|
+
resolvedPath = resolvedPath.replace("{botVersion}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
431
431
|
}
|
|
432
432
|
else {
|
|
433
433
|
throw new Error("No value provided for input HTTP label: botVersion.");
|
|
@@ -437,7 +437,7 @@ const serializeAws_restJson1CreateSlotCommand = async (input, context) => {
|
|
|
437
437
|
if (labelValue.length <= 0) {
|
|
438
438
|
throw new Error("Empty value provided for input HTTP label: localeId.");
|
|
439
439
|
}
|
|
440
|
-
resolvedPath = resolvedPath.replace("{localeId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
440
|
+
resolvedPath = resolvedPath.replace("{localeId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
441
441
|
}
|
|
442
442
|
else {
|
|
443
443
|
throw new Error("No value provided for input HTTP label: localeId.");
|
|
@@ -447,7 +447,7 @@ const serializeAws_restJson1CreateSlotCommand = async (input, context) => {
|
|
|
447
447
|
if (labelValue.length <= 0) {
|
|
448
448
|
throw new Error("Empty value provided for input HTTP label: intentId.");
|
|
449
449
|
}
|
|
450
|
-
resolvedPath = resolvedPath.replace("{intentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
450
|
+
resolvedPath = resolvedPath.replace("{intentId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
451
451
|
}
|
|
452
452
|
else {
|
|
453
453
|
throw new Error("No value provided for input HTTP label: intentId.");
|
|
@@ -493,7 +493,7 @@ const serializeAws_restJson1CreateSlotTypeCommand = async (input, context) => {
|
|
|
493
493
|
if (labelValue.length <= 0) {
|
|
494
494
|
throw new Error("Empty value provided for input HTTP label: botId.");
|
|
495
495
|
}
|
|
496
|
-
resolvedPath = resolvedPath.replace("{botId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
496
|
+
resolvedPath = resolvedPath.replace("{botId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
497
497
|
}
|
|
498
498
|
else {
|
|
499
499
|
throw new Error("No value provided for input HTTP label: botId.");
|
|
@@ -503,7 +503,7 @@ const serializeAws_restJson1CreateSlotTypeCommand = async (input, context) => {
|
|
|
503
503
|
if (labelValue.length <= 0) {
|
|
504
504
|
throw new Error("Empty value provided for input HTTP label: botVersion.");
|
|
505
505
|
}
|
|
506
|
-
resolvedPath = resolvedPath.replace("{botVersion}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
506
|
+
resolvedPath = resolvedPath.replace("{botVersion}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
507
507
|
}
|
|
508
508
|
else {
|
|
509
509
|
throw new Error("No value provided for input HTTP label: botVersion.");
|
|
@@ -513,7 +513,7 @@ const serializeAws_restJson1CreateSlotTypeCommand = async (input, context) => {
|
|
|
513
513
|
if (labelValue.length <= 0) {
|
|
514
514
|
throw new Error("Empty value provided for input HTTP label: localeId.");
|
|
515
515
|
}
|
|
516
|
-
resolvedPath = resolvedPath.replace("{localeId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
516
|
+
resolvedPath = resolvedPath.replace("{localeId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
517
517
|
}
|
|
518
518
|
else {
|
|
519
519
|
throw new Error("No value provided for input HTTP label: localeId.");
|
|
@@ -576,7 +576,7 @@ const serializeAws_restJson1DeleteBotCommand = async (input, context) => {
|
|
|
576
576
|
if (labelValue.length <= 0) {
|
|
577
577
|
throw new Error("Empty value provided for input HTTP label: botId.");
|
|
578
578
|
}
|
|
579
|
-
resolvedPath = resolvedPath.replace("{botId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
579
|
+
resolvedPath = resolvedPath.replace("{botId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
580
580
|
}
|
|
581
581
|
else {
|
|
582
582
|
throw new Error("No value provided for input HTTP label: botId.");
|
|
@@ -608,7 +608,7 @@ const serializeAws_restJson1DeleteBotAliasCommand = async (input, context) => {
|
|
|
608
608
|
if (labelValue.length <= 0) {
|
|
609
609
|
throw new Error("Empty value provided for input HTTP label: botAliasId.");
|
|
610
610
|
}
|
|
611
|
-
resolvedPath = resolvedPath.replace("{botAliasId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
611
|
+
resolvedPath = resolvedPath.replace("{botAliasId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
612
612
|
}
|
|
613
613
|
else {
|
|
614
614
|
throw new Error("No value provided for input HTTP label: botAliasId.");
|
|
@@ -618,7 +618,7 @@ const serializeAws_restJson1DeleteBotAliasCommand = async (input, context) => {
|
|
|
618
618
|
if (labelValue.length <= 0) {
|
|
619
619
|
throw new Error("Empty value provided for input HTTP label: botId.");
|
|
620
620
|
}
|
|
621
|
-
resolvedPath = resolvedPath.replace("{botId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
621
|
+
resolvedPath = resolvedPath.replace("{botId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
622
622
|
}
|
|
623
623
|
else {
|
|
624
624
|
throw new Error("No value provided for input HTTP label: botId.");
|
|
@@ -651,7 +651,7 @@ const serializeAws_restJson1DeleteBotLocaleCommand = async (input, context) => {
|
|
|
651
651
|
if (labelValue.length <= 0) {
|
|
652
652
|
throw new Error("Empty value provided for input HTTP label: botId.");
|
|
653
653
|
}
|
|
654
|
-
resolvedPath = resolvedPath.replace("{botId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
654
|
+
resolvedPath = resolvedPath.replace("{botId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
655
655
|
}
|
|
656
656
|
else {
|
|
657
657
|
throw new Error("No value provided for input HTTP label: botId.");
|
|
@@ -661,7 +661,7 @@ const serializeAws_restJson1DeleteBotLocaleCommand = async (input, context) => {
|
|
|
661
661
|
if (labelValue.length <= 0) {
|
|
662
662
|
throw new Error("Empty value provided for input HTTP label: botVersion.");
|
|
663
663
|
}
|
|
664
|
-
resolvedPath = resolvedPath.replace("{botVersion}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
664
|
+
resolvedPath = resolvedPath.replace("{botVersion}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
665
665
|
}
|
|
666
666
|
else {
|
|
667
667
|
throw new Error("No value provided for input HTTP label: botVersion.");
|
|
@@ -671,7 +671,7 @@ const serializeAws_restJson1DeleteBotLocaleCommand = async (input, context) => {
|
|
|
671
671
|
if (labelValue.length <= 0) {
|
|
672
672
|
throw new Error("Empty value provided for input HTTP label: localeId.");
|
|
673
673
|
}
|
|
674
|
-
resolvedPath = resolvedPath.replace("{localeId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
674
|
+
resolvedPath = resolvedPath.replace("{localeId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
675
675
|
}
|
|
676
676
|
else {
|
|
677
677
|
throw new Error("No value provided for input HTTP label: localeId.");
|
|
@@ -697,7 +697,7 @@ const serializeAws_restJson1DeleteBotVersionCommand = async (input, context) =>
|
|
|
697
697
|
if (labelValue.length <= 0) {
|
|
698
698
|
throw new Error("Empty value provided for input HTTP label: botId.");
|
|
699
699
|
}
|
|
700
|
-
resolvedPath = resolvedPath.replace("{botId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
700
|
+
resolvedPath = resolvedPath.replace("{botId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
701
701
|
}
|
|
702
702
|
else {
|
|
703
703
|
throw new Error("No value provided for input HTTP label: botId.");
|
|
@@ -707,7 +707,7 @@ const serializeAws_restJson1DeleteBotVersionCommand = async (input, context) =>
|
|
|
707
707
|
if (labelValue.length <= 0) {
|
|
708
708
|
throw new Error("Empty value provided for input HTTP label: botVersion.");
|
|
709
709
|
}
|
|
710
|
-
resolvedPath = resolvedPath.replace("{botVersion}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
710
|
+
resolvedPath = resolvedPath.replace("{botVersion}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
711
711
|
}
|
|
712
712
|
else {
|
|
713
713
|
throw new Error("No value provided for input HTTP label: botVersion.");
|
|
@@ -740,7 +740,7 @@ const serializeAws_restJson1DeleteCustomVocabularyCommand = async (input, contex
|
|
|
740
740
|
if (labelValue.length <= 0) {
|
|
741
741
|
throw new Error("Empty value provided for input HTTP label: botId.");
|
|
742
742
|
}
|
|
743
|
-
resolvedPath = resolvedPath.replace("{botId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
743
|
+
resolvedPath = resolvedPath.replace("{botId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
744
744
|
}
|
|
745
745
|
else {
|
|
746
746
|
throw new Error("No value provided for input HTTP label: botId.");
|
|
@@ -750,7 +750,7 @@ const serializeAws_restJson1DeleteCustomVocabularyCommand = async (input, contex
|
|
|
750
750
|
if (labelValue.length <= 0) {
|
|
751
751
|
throw new Error("Empty value provided for input HTTP label: botVersion.");
|
|
752
752
|
}
|
|
753
|
-
resolvedPath = resolvedPath.replace("{botVersion}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
753
|
+
resolvedPath = resolvedPath.replace("{botVersion}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
754
754
|
}
|
|
755
755
|
else {
|
|
756
756
|
throw new Error("No value provided for input HTTP label: botVersion.");
|
|
@@ -760,7 +760,7 @@ const serializeAws_restJson1DeleteCustomVocabularyCommand = async (input, contex
|
|
|
760
760
|
if (labelValue.length <= 0) {
|
|
761
761
|
throw new Error("Empty value provided for input HTTP label: localeId.");
|
|
762
762
|
}
|
|
763
|
-
resolvedPath = resolvedPath.replace("{localeId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
763
|
+
resolvedPath = resolvedPath.replace("{localeId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
764
764
|
}
|
|
765
765
|
else {
|
|
766
766
|
throw new Error("No value provided for input HTTP label: localeId.");
|
|
@@ -786,7 +786,7 @@ const serializeAws_restJson1DeleteExportCommand = async (input, context) => {
|
|
|
786
786
|
if (labelValue.length <= 0) {
|
|
787
787
|
throw new Error("Empty value provided for input HTTP label: exportId.");
|
|
788
788
|
}
|
|
789
|
-
resolvedPath = resolvedPath.replace("{exportId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
789
|
+
resolvedPath = resolvedPath.replace("{exportId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
790
790
|
}
|
|
791
791
|
else {
|
|
792
792
|
throw new Error("No value provided for input HTTP label: exportId.");
|
|
@@ -812,7 +812,7 @@ const serializeAws_restJson1DeleteImportCommand = async (input, context) => {
|
|
|
812
812
|
if (labelValue.length <= 0) {
|
|
813
813
|
throw new Error("Empty value provided for input HTTP label: importId.");
|
|
814
814
|
}
|
|
815
|
-
resolvedPath = resolvedPath.replace("{importId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
815
|
+
resolvedPath = resolvedPath.replace("{importId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
816
816
|
}
|
|
817
817
|
else {
|
|
818
818
|
throw new Error("No value provided for input HTTP label: importId.");
|
|
@@ -839,7 +839,7 @@ const serializeAws_restJson1DeleteIntentCommand = async (input, context) => {
|
|
|
839
839
|
if (labelValue.length <= 0) {
|
|
840
840
|
throw new Error("Empty value provided for input HTTP label: intentId.");
|
|
841
841
|
}
|
|
842
|
-
resolvedPath = resolvedPath.replace("{intentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
842
|
+
resolvedPath = resolvedPath.replace("{intentId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
843
843
|
}
|
|
844
844
|
else {
|
|
845
845
|
throw new Error("No value provided for input HTTP label: intentId.");
|
|
@@ -849,7 +849,7 @@ const serializeAws_restJson1DeleteIntentCommand = async (input, context) => {
|
|
|
849
849
|
if (labelValue.length <= 0) {
|
|
850
850
|
throw new Error("Empty value provided for input HTTP label: botId.");
|
|
851
851
|
}
|
|
852
|
-
resolvedPath = resolvedPath.replace("{botId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
852
|
+
resolvedPath = resolvedPath.replace("{botId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
853
853
|
}
|
|
854
854
|
else {
|
|
855
855
|
throw new Error("No value provided for input HTTP label: botId.");
|
|
@@ -859,7 +859,7 @@ const serializeAws_restJson1DeleteIntentCommand = async (input, context) => {
|
|
|
859
859
|
if (labelValue.length <= 0) {
|
|
860
860
|
throw new Error("Empty value provided for input HTTP label: botVersion.");
|
|
861
861
|
}
|
|
862
|
-
resolvedPath = resolvedPath.replace("{botVersion}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
862
|
+
resolvedPath = resolvedPath.replace("{botVersion}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
863
863
|
}
|
|
864
864
|
else {
|
|
865
865
|
throw new Error("No value provided for input HTTP label: botVersion.");
|
|
@@ -869,7 +869,7 @@ const serializeAws_restJson1DeleteIntentCommand = async (input, context) => {
|
|
|
869
869
|
if (labelValue.length <= 0) {
|
|
870
870
|
throw new Error("Empty value provided for input HTTP label: localeId.");
|
|
871
871
|
}
|
|
872
|
-
resolvedPath = resolvedPath.replace("{localeId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
872
|
+
resolvedPath = resolvedPath.replace("{localeId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
873
873
|
}
|
|
874
874
|
else {
|
|
875
875
|
throw new Error("No value provided for input HTTP label: localeId.");
|
|
@@ -895,7 +895,7 @@ const serializeAws_restJson1DeleteResourcePolicyCommand = async (input, context)
|
|
|
895
895
|
if (labelValue.length <= 0) {
|
|
896
896
|
throw new Error("Empty value provided for input HTTP label: resourceArn.");
|
|
897
897
|
}
|
|
898
|
-
resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
898
|
+
resolvedPath = resolvedPath.replace("{resourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
899
899
|
}
|
|
900
900
|
else {
|
|
901
901
|
throw new Error("No value provided for input HTTP label: resourceArn.");
|
|
@@ -926,7 +926,7 @@ const serializeAws_restJson1DeleteResourcePolicyStatementCommand = async (input,
|
|
|
926
926
|
if (labelValue.length <= 0) {
|
|
927
927
|
throw new Error("Empty value provided for input HTTP label: resourceArn.");
|
|
928
928
|
}
|
|
929
|
-
resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
929
|
+
resolvedPath = resolvedPath.replace("{resourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
930
930
|
}
|
|
931
931
|
else {
|
|
932
932
|
throw new Error("No value provided for input HTTP label: resourceArn.");
|
|
@@ -936,7 +936,7 @@ const serializeAws_restJson1DeleteResourcePolicyStatementCommand = async (input,
|
|
|
936
936
|
if (labelValue.length <= 0) {
|
|
937
937
|
throw new Error("Empty value provided for input HTTP label: statementId.");
|
|
938
938
|
}
|
|
939
|
-
resolvedPath = resolvedPath.replace("{statementId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
939
|
+
resolvedPath = resolvedPath.replace("{statementId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
940
940
|
}
|
|
941
941
|
else {
|
|
942
942
|
throw new Error("No value provided for input HTTP label: statementId.");
|
|
@@ -967,7 +967,7 @@ const serializeAws_restJson1DeleteSlotCommand = async (input, context) => {
|
|
|
967
967
|
if (labelValue.length <= 0) {
|
|
968
968
|
throw new Error("Empty value provided for input HTTP label: slotId.");
|
|
969
969
|
}
|
|
970
|
-
resolvedPath = resolvedPath.replace("{slotId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
970
|
+
resolvedPath = resolvedPath.replace("{slotId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
971
971
|
}
|
|
972
972
|
else {
|
|
973
973
|
throw new Error("No value provided for input HTTP label: slotId.");
|
|
@@ -977,7 +977,7 @@ const serializeAws_restJson1DeleteSlotCommand = async (input, context) => {
|
|
|
977
977
|
if (labelValue.length <= 0) {
|
|
978
978
|
throw new Error("Empty value provided for input HTTP label: botId.");
|
|
979
979
|
}
|
|
980
|
-
resolvedPath = resolvedPath.replace("{botId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
980
|
+
resolvedPath = resolvedPath.replace("{botId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
981
981
|
}
|
|
982
982
|
else {
|
|
983
983
|
throw new Error("No value provided for input HTTP label: botId.");
|
|
@@ -987,7 +987,7 @@ const serializeAws_restJson1DeleteSlotCommand = async (input, context) => {
|
|
|
987
987
|
if (labelValue.length <= 0) {
|
|
988
988
|
throw new Error("Empty value provided for input HTTP label: botVersion.");
|
|
989
989
|
}
|
|
990
|
-
resolvedPath = resolvedPath.replace("{botVersion}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
990
|
+
resolvedPath = resolvedPath.replace("{botVersion}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
991
991
|
}
|
|
992
992
|
else {
|
|
993
993
|
throw new Error("No value provided for input HTTP label: botVersion.");
|
|
@@ -997,7 +997,7 @@ const serializeAws_restJson1DeleteSlotCommand = async (input, context) => {
|
|
|
997
997
|
if (labelValue.length <= 0) {
|
|
998
998
|
throw new Error("Empty value provided for input HTTP label: localeId.");
|
|
999
999
|
}
|
|
1000
|
-
resolvedPath = resolvedPath.replace("{localeId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1000
|
+
resolvedPath = resolvedPath.replace("{localeId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1001
1001
|
}
|
|
1002
1002
|
else {
|
|
1003
1003
|
throw new Error("No value provided for input HTTP label: localeId.");
|
|
@@ -1007,7 +1007,7 @@ const serializeAws_restJson1DeleteSlotCommand = async (input, context) => {
|
|
|
1007
1007
|
if (labelValue.length <= 0) {
|
|
1008
1008
|
throw new Error("Empty value provided for input HTTP label: intentId.");
|
|
1009
1009
|
}
|
|
1010
|
-
resolvedPath = resolvedPath.replace("{intentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1010
|
+
resolvedPath = resolvedPath.replace("{intentId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1011
1011
|
}
|
|
1012
1012
|
else {
|
|
1013
1013
|
throw new Error("No value provided for input HTTP label: intentId.");
|
|
@@ -1034,7 +1034,7 @@ const serializeAws_restJson1DeleteSlotTypeCommand = async (input, context) => {
|
|
|
1034
1034
|
if (labelValue.length <= 0) {
|
|
1035
1035
|
throw new Error("Empty value provided for input HTTP label: slotTypeId.");
|
|
1036
1036
|
}
|
|
1037
|
-
resolvedPath = resolvedPath.replace("{slotTypeId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1037
|
+
resolvedPath = resolvedPath.replace("{slotTypeId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1038
1038
|
}
|
|
1039
1039
|
else {
|
|
1040
1040
|
throw new Error("No value provided for input HTTP label: slotTypeId.");
|
|
@@ -1044,7 +1044,7 @@ const serializeAws_restJson1DeleteSlotTypeCommand = async (input, context) => {
|
|
|
1044
1044
|
if (labelValue.length <= 0) {
|
|
1045
1045
|
throw new Error("Empty value provided for input HTTP label: botId.");
|
|
1046
1046
|
}
|
|
1047
|
-
resolvedPath = resolvedPath.replace("{botId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1047
|
+
resolvedPath = resolvedPath.replace("{botId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1048
1048
|
}
|
|
1049
1049
|
else {
|
|
1050
1050
|
throw new Error("No value provided for input HTTP label: botId.");
|
|
@@ -1054,7 +1054,7 @@ const serializeAws_restJson1DeleteSlotTypeCommand = async (input, context) => {
|
|
|
1054
1054
|
if (labelValue.length <= 0) {
|
|
1055
1055
|
throw new Error("Empty value provided for input HTTP label: botVersion.");
|
|
1056
1056
|
}
|
|
1057
|
-
resolvedPath = resolvedPath.replace("{botVersion}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1057
|
+
resolvedPath = resolvedPath.replace("{botVersion}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1058
1058
|
}
|
|
1059
1059
|
else {
|
|
1060
1060
|
throw new Error("No value provided for input HTTP label: botVersion.");
|
|
@@ -1064,7 +1064,7 @@ const serializeAws_restJson1DeleteSlotTypeCommand = async (input, context) => {
|
|
|
1064
1064
|
if (labelValue.length <= 0) {
|
|
1065
1065
|
throw new Error("Empty value provided for input HTTP label: localeId.");
|
|
1066
1066
|
}
|
|
1067
|
-
resolvedPath = resolvedPath.replace("{localeId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1067
|
+
resolvedPath = resolvedPath.replace("{localeId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1068
1068
|
}
|
|
1069
1069
|
else {
|
|
1070
1070
|
throw new Error("No value provided for input HTTP label: localeId.");
|
|
@@ -1096,7 +1096,7 @@ const serializeAws_restJson1DeleteUtterancesCommand = async (input, context) =>
|
|
|
1096
1096
|
if (labelValue.length <= 0) {
|
|
1097
1097
|
throw new Error("Empty value provided for input HTTP label: botId.");
|
|
1098
1098
|
}
|
|
1099
|
-
resolvedPath = resolvedPath.replace("{botId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1099
|
+
resolvedPath = resolvedPath.replace("{botId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1100
1100
|
}
|
|
1101
1101
|
else {
|
|
1102
1102
|
throw new Error("No value provided for input HTTP label: botId.");
|
|
@@ -1127,7 +1127,7 @@ const serializeAws_restJson1DescribeBotCommand = async (input, context) => {
|
|
|
1127
1127
|
if (labelValue.length <= 0) {
|
|
1128
1128
|
throw new Error("Empty value provided for input HTTP label: botId.");
|
|
1129
1129
|
}
|
|
1130
|
-
resolvedPath = resolvedPath.replace("{botId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1130
|
+
resolvedPath = resolvedPath.replace("{botId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1131
1131
|
}
|
|
1132
1132
|
else {
|
|
1133
1133
|
throw new Error("No value provided for input HTTP label: botId.");
|
|
@@ -1153,7 +1153,7 @@ const serializeAws_restJson1DescribeBotAliasCommand = async (input, context) =>
|
|
|
1153
1153
|
if (labelValue.length <= 0) {
|
|
1154
1154
|
throw new Error("Empty value provided for input HTTP label: botAliasId.");
|
|
1155
1155
|
}
|
|
1156
|
-
resolvedPath = resolvedPath.replace("{botAliasId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1156
|
+
resolvedPath = resolvedPath.replace("{botAliasId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1157
1157
|
}
|
|
1158
1158
|
else {
|
|
1159
1159
|
throw new Error("No value provided for input HTTP label: botAliasId.");
|
|
@@ -1163,7 +1163,7 @@ const serializeAws_restJson1DescribeBotAliasCommand = async (input, context) =>
|
|
|
1163
1163
|
if (labelValue.length <= 0) {
|
|
1164
1164
|
throw new Error("Empty value provided for input HTTP label: botId.");
|
|
1165
1165
|
}
|
|
1166
|
-
resolvedPath = resolvedPath.replace("{botId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1166
|
+
resolvedPath = resolvedPath.replace("{botId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1167
1167
|
}
|
|
1168
1168
|
else {
|
|
1169
1169
|
throw new Error("No value provided for input HTTP label: botId.");
|
|
@@ -1190,7 +1190,7 @@ const serializeAws_restJson1DescribeBotLocaleCommand = async (input, context) =>
|
|
|
1190
1190
|
if (labelValue.length <= 0) {
|
|
1191
1191
|
throw new Error("Empty value provided for input HTTP label: botId.");
|
|
1192
1192
|
}
|
|
1193
|
-
resolvedPath = resolvedPath.replace("{botId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1193
|
+
resolvedPath = resolvedPath.replace("{botId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1194
1194
|
}
|
|
1195
1195
|
else {
|
|
1196
1196
|
throw new Error("No value provided for input HTTP label: botId.");
|
|
@@ -1200,7 +1200,7 @@ const serializeAws_restJson1DescribeBotLocaleCommand = async (input, context) =>
|
|
|
1200
1200
|
if (labelValue.length <= 0) {
|
|
1201
1201
|
throw new Error("Empty value provided for input HTTP label: botVersion.");
|
|
1202
1202
|
}
|
|
1203
|
-
resolvedPath = resolvedPath.replace("{botVersion}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1203
|
+
resolvedPath = resolvedPath.replace("{botVersion}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1204
1204
|
}
|
|
1205
1205
|
else {
|
|
1206
1206
|
throw new Error("No value provided for input HTTP label: botVersion.");
|
|
@@ -1210,7 +1210,7 @@ const serializeAws_restJson1DescribeBotLocaleCommand = async (input, context) =>
|
|
|
1210
1210
|
if (labelValue.length <= 0) {
|
|
1211
1211
|
throw new Error("Empty value provided for input HTTP label: localeId.");
|
|
1212
1212
|
}
|
|
1213
|
-
resolvedPath = resolvedPath.replace("{localeId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1213
|
+
resolvedPath = resolvedPath.replace("{localeId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1214
1214
|
}
|
|
1215
1215
|
else {
|
|
1216
1216
|
throw new Error("No value provided for input HTTP label: localeId.");
|
|
@@ -1237,7 +1237,7 @@ const serializeAws_restJson1DescribeBotRecommendationCommand = async (input, con
|
|
|
1237
1237
|
if (labelValue.length <= 0) {
|
|
1238
1238
|
throw new Error("Empty value provided for input HTTP label: botId.");
|
|
1239
1239
|
}
|
|
1240
|
-
resolvedPath = resolvedPath.replace("{botId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1240
|
+
resolvedPath = resolvedPath.replace("{botId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1241
1241
|
}
|
|
1242
1242
|
else {
|
|
1243
1243
|
throw new Error("No value provided for input HTTP label: botId.");
|
|
@@ -1247,7 +1247,7 @@ const serializeAws_restJson1DescribeBotRecommendationCommand = async (input, con
|
|
|
1247
1247
|
if (labelValue.length <= 0) {
|
|
1248
1248
|
throw new Error("Empty value provided for input HTTP label: botVersion.");
|
|
1249
1249
|
}
|
|
1250
|
-
resolvedPath = resolvedPath.replace("{botVersion}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1250
|
+
resolvedPath = resolvedPath.replace("{botVersion}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1251
1251
|
}
|
|
1252
1252
|
else {
|
|
1253
1253
|
throw new Error("No value provided for input HTTP label: botVersion.");
|
|
@@ -1257,7 +1257,7 @@ const serializeAws_restJson1DescribeBotRecommendationCommand = async (input, con
|
|
|
1257
1257
|
if (labelValue.length <= 0) {
|
|
1258
1258
|
throw new Error("Empty value provided for input HTTP label: localeId.");
|
|
1259
1259
|
}
|
|
1260
|
-
resolvedPath = resolvedPath.replace("{localeId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1260
|
+
resolvedPath = resolvedPath.replace("{localeId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1261
1261
|
}
|
|
1262
1262
|
else {
|
|
1263
1263
|
throw new Error("No value provided for input HTTP label: localeId.");
|
|
@@ -1267,7 +1267,7 @@ const serializeAws_restJson1DescribeBotRecommendationCommand = async (input, con
|
|
|
1267
1267
|
if (labelValue.length <= 0) {
|
|
1268
1268
|
throw new Error("Empty value provided for input HTTP label: botRecommendationId.");
|
|
1269
1269
|
}
|
|
1270
|
-
resolvedPath = resolvedPath.replace("{botRecommendationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1270
|
+
resolvedPath = resolvedPath.replace("{botRecommendationId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1271
1271
|
}
|
|
1272
1272
|
else {
|
|
1273
1273
|
throw new Error("No value provided for input HTTP label: botRecommendationId.");
|
|
@@ -1293,7 +1293,7 @@ const serializeAws_restJson1DescribeBotVersionCommand = async (input, context) =
|
|
|
1293
1293
|
if (labelValue.length <= 0) {
|
|
1294
1294
|
throw new Error("Empty value provided for input HTTP label: botId.");
|
|
1295
1295
|
}
|
|
1296
|
-
resolvedPath = resolvedPath.replace("{botId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1296
|
+
resolvedPath = resolvedPath.replace("{botId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1297
1297
|
}
|
|
1298
1298
|
else {
|
|
1299
1299
|
throw new Error("No value provided for input HTTP label: botId.");
|
|
@@ -1303,7 +1303,7 @@ const serializeAws_restJson1DescribeBotVersionCommand = async (input, context) =
|
|
|
1303
1303
|
if (labelValue.length <= 0) {
|
|
1304
1304
|
throw new Error("Empty value provided for input HTTP label: botVersion.");
|
|
1305
1305
|
}
|
|
1306
|
-
resolvedPath = resolvedPath.replace("{botVersion}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1306
|
+
resolvedPath = resolvedPath.replace("{botVersion}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1307
1307
|
}
|
|
1308
1308
|
else {
|
|
1309
1309
|
throw new Error("No value provided for input HTTP label: botVersion.");
|
|
@@ -1330,7 +1330,7 @@ const serializeAws_restJson1DescribeCustomVocabularyMetadataCommand = async (inp
|
|
|
1330
1330
|
if (labelValue.length <= 0) {
|
|
1331
1331
|
throw new Error("Empty value provided for input HTTP label: botId.");
|
|
1332
1332
|
}
|
|
1333
|
-
resolvedPath = resolvedPath.replace("{botId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1333
|
+
resolvedPath = resolvedPath.replace("{botId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1334
1334
|
}
|
|
1335
1335
|
else {
|
|
1336
1336
|
throw new Error("No value provided for input HTTP label: botId.");
|
|
@@ -1340,7 +1340,7 @@ const serializeAws_restJson1DescribeCustomVocabularyMetadataCommand = async (inp
|
|
|
1340
1340
|
if (labelValue.length <= 0) {
|
|
1341
1341
|
throw new Error("Empty value provided for input HTTP label: botVersion.");
|
|
1342
1342
|
}
|
|
1343
|
-
resolvedPath = resolvedPath.replace("{botVersion}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1343
|
+
resolvedPath = resolvedPath.replace("{botVersion}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1344
1344
|
}
|
|
1345
1345
|
else {
|
|
1346
1346
|
throw new Error("No value provided for input HTTP label: botVersion.");
|
|
@@ -1350,7 +1350,7 @@ const serializeAws_restJson1DescribeCustomVocabularyMetadataCommand = async (inp
|
|
|
1350
1350
|
if (labelValue.length <= 0) {
|
|
1351
1351
|
throw new Error("Empty value provided for input HTTP label: localeId.");
|
|
1352
1352
|
}
|
|
1353
|
-
resolvedPath = resolvedPath.replace("{localeId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1353
|
+
resolvedPath = resolvedPath.replace("{localeId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1354
1354
|
}
|
|
1355
1355
|
else {
|
|
1356
1356
|
throw new Error("No value provided for input HTTP label: localeId.");
|
|
@@ -1376,7 +1376,7 @@ const serializeAws_restJson1DescribeExportCommand = async (input, context) => {
|
|
|
1376
1376
|
if (labelValue.length <= 0) {
|
|
1377
1377
|
throw new Error("Empty value provided for input HTTP label: exportId.");
|
|
1378
1378
|
}
|
|
1379
|
-
resolvedPath = resolvedPath.replace("{exportId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1379
|
+
resolvedPath = resolvedPath.replace("{exportId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1380
1380
|
}
|
|
1381
1381
|
else {
|
|
1382
1382
|
throw new Error("No value provided for input HTTP label: exportId.");
|
|
@@ -1402,7 +1402,7 @@ const serializeAws_restJson1DescribeImportCommand = async (input, context) => {
|
|
|
1402
1402
|
if (labelValue.length <= 0) {
|
|
1403
1403
|
throw new Error("Empty value provided for input HTTP label: importId.");
|
|
1404
1404
|
}
|
|
1405
|
-
resolvedPath = resolvedPath.replace("{importId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1405
|
+
resolvedPath = resolvedPath.replace("{importId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1406
1406
|
}
|
|
1407
1407
|
else {
|
|
1408
1408
|
throw new Error("No value provided for input HTTP label: importId.");
|
|
@@ -1429,7 +1429,7 @@ const serializeAws_restJson1DescribeIntentCommand = async (input, context) => {
|
|
|
1429
1429
|
if (labelValue.length <= 0) {
|
|
1430
1430
|
throw new Error("Empty value provided for input HTTP label: intentId.");
|
|
1431
1431
|
}
|
|
1432
|
-
resolvedPath = resolvedPath.replace("{intentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1432
|
+
resolvedPath = resolvedPath.replace("{intentId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1433
1433
|
}
|
|
1434
1434
|
else {
|
|
1435
1435
|
throw new Error("No value provided for input HTTP label: intentId.");
|
|
@@ -1439,7 +1439,7 @@ const serializeAws_restJson1DescribeIntentCommand = async (input, context) => {
|
|
|
1439
1439
|
if (labelValue.length <= 0) {
|
|
1440
1440
|
throw new Error("Empty value provided for input HTTP label: botId.");
|
|
1441
1441
|
}
|
|
1442
|
-
resolvedPath = resolvedPath.replace("{botId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1442
|
+
resolvedPath = resolvedPath.replace("{botId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1443
1443
|
}
|
|
1444
1444
|
else {
|
|
1445
1445
|
throw new Error("No value provided for input HTTP label: botId.");
|
|
@@ -1449,7 +1449,7 @@ const serializeAws_restJson1DescribeIntentCommand = async (input, context) => {
|
|
|
1449
1449
|
if (labelValue.length <= 0) {
|
|
1450
1450
|
throw new Error("Empty value provided for input HTTP label: botVersion.");
|
|
1451
1451
|
}
|
|
1452
|
-
resolvedPath = resolvedPath.replace("{botVersion}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1452
|
+
resolvedPath = resolvedPath.replace("{botVersion}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1453
1453
|
}
|
|
1454
1454
|
else {
|
|
1455
1455
|
throw new Error("No value provided for input HTTP label: botVersion.");
|
|
@@ -1459,7 +1459,7 @@ const serializeAws_restJson1DescribeIntentCommand = async (input, context) => {
|
|
|
1459
1459
|
if (labelValue.length <= 0) {
|
|
1460
1460
|
throw new Error("Empty value provided for input HTTP label: localeId.");
|
|
1461
1461
|
}
|
|
1462
|
-
resolvedPath = resolvedPath.replace("{localeId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1462
|
+
resolvedPath = resolvedPath.replace("{localeId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1463
1463
|
}
|
|
1464
1464
|
else {
|
|
1465
1465
|
throw new Error("No value provided for input HTTP label: localeId.");
|
|
@@ -1485,7 +1485,7 @@ const serializeAws_restJson1DescribeResourcePolicyCommand = async (input, contex
|
|
|
1485
1485
|
if (labelValue.length <= 0) {
|
|
1486
1486
|
throw new Error("Empty value provided for input HTTP label: resourceArn.");
|
|
1487
1487
|
}
|
|
1488
|
-
resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1488
|
+
resolvedPath = resolvedPath.replace("{resourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1489
1489
|
}
|
|
1490
1490
|
else {
|
|
1491
1491
|
throw new Error("No value provided for input HTTP label: resourceArn.");
|
|
@@ -1512,7 +1512,7 @@ const serializeAws_restJson1DescribeSlotCommand = async (input, context) => {
|
|
|
1512
1512
|
if (labelValue.length <= 0) {
|
|
1513
1513
|
throw new Error("Empty value provided for input HTTP label: slotId.");
|
|
1514
1514
|
}
|
|
1515
|
-
resolvedPath = resolvedPath.replace("{slotId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1515
|
+
resolvedPath = resolvedPath.replace("{slotId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1516
1516
|
}
|
|
1517
1517
|
else {
|
|
1518
1518
|
throw new Error("No value provided for input HTTP label: slotId.");
|
|
@@ -1522,7 +1522,7 @@ const serializeAws_restJson1DescribeSlotCommand = async (input, context) => {
|
|
|
1522
1522
|
if (labelValue.length <= 0) {
|
|
1523
1523
|
throw new Error("Empty value provided for input HTTP label: botId.");
|
|
1524
1524
|
}
|
|
1525
|
-
resolvedPath = resolvedPath.replace("{botId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1525
|
+
resolvedPath = resolvedPath.replace("{botId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1526
1526
|
}
|
|
1527
1527
|
else {
|
|
1528
1528
|
throw new Error("No value provided for input HTTP label: botId.");
|
|
@@ -1532,7 +1532,7 @@ const serializeAws_restJson1DescribeSlotCommand = async (input, context) => {
|
|
|
1532
1532
|
if (labelValue.length <= 0) {
|
|
1533
1533
|
throw new Error("Empty value provided for input HTTP label: botVersion.");
|
|
1534
1534
|
}
|
|
1535
|
-
resolvedPath = resolvedPath.replace("{botVersion}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1535
|
+
resolvedPath = resolvedPath.replace("{botVersion}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1536
1536
|
}
|
|
1537
1537
|
else {
|
|
1538
1538
|
throw new Error("No value provided for input HTTP label: botVersion.");
|
|
@@ -1542,7 +1542,7 @@ const serializeAws_restJson1DescribeSlotCommand = async (input, context) => {
|
|
|
1542
1542
|
if (labelValue.length <= 0) {
|
|
1543
1543
|
throw new Error("Empty value provided for input HTTP label: localeId.");
|
|
1544
1544
|
}
|
|
1545
|
-
resolvedPath = resolvedPath.replace("{localeId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1545
|
+
resolvedPath = resolvedPath.replace("{localeId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1546
1546
|
}
|
|
1547
1547
|
else {
|
|
1548
1548
|
throw new Error("No value provided for input HTTP label: localeId.");
|
|
@@ -1552,7 +1552,7 @@ const serializeAws_restJson1DescribeSlotCommand = async (input, context) => {
|
|
|
1552
1552
|
if (labelValue.length <= 0) {
|
|
1553
1553
|
throw new Error("Empty value provided for input HTTP label: intentId.");
|
|
1554
1554
|
}
|
|
1555
|
-
resolvedPath = resolvedPath.replace("{intentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1555
|
+
resolvedPath = resolvedPath.replace("{intentId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1556
1556
|
}
|
|
1557
1557
|
else {
|
|
1558
1558
|
throw new Error("No value provided for input HTTP label: intentId.");
|
|
@@ -1579,7 +1579,7 @@ const serializeAws_restJson1DescribeSlotTypeCommand = async (input, context) =>
|
|
|
1579
1579
|
if (labelValue.length <= 0) {
|
|
1580
1580
|
throw new Error("Empty value provided for input HTTP label: slotTypeId.");
|
|
1581
1581
|
}
|
|
1582
|
-
resolvedPath = resolvedPath.replace("{slotTypeId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1582
|
+
resolvedPath = resolvedPath.replace("{slotTypeId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1583
1583
|
}
|
|
1584
1584
|
else {
|
|
1585
1585
|
throw new Error("No value provided for input HTTP label: slotTypeId.");
|
|
@@ -1589,7 +1589,7 @@ const serializeAws_restJson1DescribeSlotTypeCommand = async (input, context) =>
|
|
|
1589
1589
|
if (labelValue.length <= 0) {
|
|
1590
1590
|
throw new Error("Empty value provided for input HTTP label: botId.");
|
|
1591
1591
|
}
|
|
1592
|
-
resolvedPath = resolvedPath.replace("{botId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1592
|
+
resolvedPath = resolvedPath.replace("{botId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1593
1593
|
}
|
|
1594
1594
|
else {
|
|
1595
1595
|
throw new Error("No value provided for input HTTP label: botId.");
|
|
@@ -1599,7 +1599,7 @@ const serializeAws_restJson1DescribeSlotTypeCommand = async (input, context) =>
|
|
|
1599
1599
|
if (labelValue.length <= 0) {
|
|
1600
1600
|
throw new Error("Empty value provided for input HTTP label: botVersion.");
|
|
1601
1601
|
}
|
|
1602
|
-
resolvedPath = resolvedPath.replace("{botVersion}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1602
|
+
resolvedPath = resolvedPath.replace("{botVersion}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1603
1603
|
}
|
|
1604
1604
|
else {
|
|
1605
1605
|
throw new Error("No value provided for input HTTP label: botVersion.");
|
|
@@ -1609,7 +1609,7 @@ const serializeAws_restJson1DescribeSlotTypeCommand = async (input, context) =>
|
|
|
1609
1609
|
if (labelValue.length <= 0) {
|
|
1610
1610
|
throw new Error("Empty value provided for input HTTP label: localeId.");
|
|
1611
1611
|
}
|
|
1612
|
-
resolvedPath = resolvedPath.replace("{localeId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1612
|
+
resolvedPath = resolvedPath.replace("{localeId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1613
1613
|
}
|
|
1614
1614
|
else {
|
|
1615
1615
|
throw new Error("No value provided for input HTTP label: localeId.");
|
|
@@ -1637,7 +1637,7 @@ const serializeAws_restJson1ListAggregatedUtterancesCommand = async (input, cont
|
|
|
1637
1637
|
if (labelValue.length <= 0) {
|
|
1638
1638
|
throw new Error("Empty value provided for input HTTP label: botId.");
|
|
1639
1639
|
}
|
|
1640
|
-
resolvedPath = resolvedPath.replace("{botId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1640
|
+
resolvedPath = resolvedPath.replace("{botId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1641
1641
|
}
|
|
1642
1642
|
else {
|
|
1643
1643
|
throw new Error("No value provided for input HTTP label: botId.");
|
|
@@ -1680,7 +1680,7 @@ const serializeAws_restJson1ListBotAliasesCommand = async (input, context) => {
|
|
|
1680
1680
|
if (labelValue.length <= 0) {
|
|
1681
1681
|
throw new Error("Empty value provided for input HTTP label: botId.");
|
|
1682
1682
|
}
|
|
1683
|
-
resolvedPath = resolvedPath.replace("{botId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1683
|
+
resolvedPath = resolvedPath.replace("{botId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1684
1684
|
}
|
|
1685
1685
|
else {
|
|
1686
1686
|
throw new Error("No value provided for input HTTP label: botId.");
|
|
@@ -1713,7 +1713,7 @@ const serializeAws_restJson1ListBotLocalesCommand = async (input, context) => {
|
|
|
1713
1713
|
if (labelValue.length <= 0) {
|
|
1714
1714
|
throw new Error("Empty value provided for input HTTP label: botId.");
|
|
1715
1715
|
}
|
|
1716
|
-
resolvedPath = resolvedPath.replace("{botId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1716
|
+
resolvedPath = resolvedPath.replace("{botId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1717
1717
|
}
|
|
1718
1718
|
else {
|
|
1719
1719
|
throw new Error("No value provided for input HTTP label: botId.");
|
|
@@ -1723,7 +1723,7 @@ const serializeAws_restJson1ListBotLocalesCommand = async (input, context) => {
|
|
|
1723
1723
|
if (labelValue.length <= 0) {
|
|
1724
1724
|
throw new Error("Empty value provided for input HTTP label: botVersion.");
|
|
1725
1725
|
}
|
|
1726
|
-
resolvedPath = resolvedPath.replace("{botVersion}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1726
|
+
resolvedPath = resolvedPath.replace("{botVersion}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1727
1727
|
}
|
|
1728
1728
|
else {
|
|
1729
1729
|
throw new Error("No value provided for input HTTP label: botVersion.");
|
|
@@ -1760,7 +1760,7 @@ const serializeAws_restJson1ListBotRecommendationsCommand = async (input, contex
|
|
|
1760
1760
|
if (labelValue.length <= 0) {
|
|
1761
1761
|
throw new Error("Empty value provided for input HTTP label: botId.");
|
|
1762
1762
|
}
|
|
1763
|
-
resolvedPath = resolvedPath.replace("{botId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1763
|
+
resolvedPath = resolvedPath.replace("{botId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1764
1764
|
}
|
|
1765
1765
|
else {
|
|
1766
1766
|
throw new Error("No value provided for input HTTP label: botId.");
|
|
@@ -1770,7 +1770,7 @@ const serializeAws_restJson1ListBotRecommendationsCommand = async (input, contex
|
|
|
1770
1770
|
if (labelValue.length <= 0) {
|
|
1771
1771
|
throw new Error("Empty value provided for input HTTP label: botVersion.");
|
|
1772
1772
|
}
|
|
1773
|
-
resolvedPath = resolvedPath.replace("{botVersion}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1773
|
+
resolvedPath = resolvedPath.replace("{botVersion}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1774
1774
|
}
|
|
1775
1775
|
else {
|
|
1776
1776
|
throw new Error("No value provided for input HTTP label: botVersion.");
|
|
@@ -1780,7 +1780,7 @@ const serializeAws_restJson1ListBotRecommendationsCommand = async (input, contex
|
|
|
1780
1780
|
if (labelValue.length <= 0) {
|
|
1781
1781
|
throw new Error("Empty value provided for input HTTP label: localeId.");
|
|
1782
1782
|
}
|
|
1783
|
-
resolvedPath = resolvedPath.replace("{localeId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1783
|
+
resolvedPath = resolvedPath.replace("{localeId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1784
1784
|
}
|
|
1785
1785
|
else {
|
|
1786
1786
|
throw new Error("No value provided for input HTTP label: localeId.");
|
|
@@ -1838,7 +1838,7 @@ const serializeAws_restJson1ListBotVersionsCommand = async (input, context) => {
|
|
|
1838
1838
|
if (labelValue.length <= 0) {
|
|
1839
1839
|
throw new Error("Empty value provided for input HTTP label: botId.");
|
|
1840
1840
|
}
|
|
1841
|
-
resolvedPath = resolvedPath.replace("{botId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1841
|
+
resolvedPath = resolvedPath.replace("{botId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1842
1842
|
}
|
|
1843
1843
|
else {
|
|
1844
1844
|
throw new Error("No value provided for input HTTP label: botId.");
|
|
@@ -1872,7 +1872,7 @@ const serializeAws_restJson1ListBuiltInIntentsCommand = async (input, context) =
|
|
|
1872
1872
|
if (labelValue.length <= 0) {
|
|
1873
1873
|
throw new Error("Empty value provided for input HTTP label: localeId.");
|
|
1874
1874
|
}
|
|
1875
|
-
resolvedPath = resolvedPath.replace("{localeId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1875
|
+
resolvedPath = resolvedPath.replace("{localeId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1876
1876
|
}
|
|
1877
1877
|
else {
|
|
1878
1878
|
throw new Error("No value provided for input HTTP label: localeId.");
|
|
@@ -1906,7 +1906,7 @@ const serializeAws_restJson1ListBuiltInSlotTypesCommand = async (input, context)
|
|
|
1906
1906
|
if (labelValue.length <= 0) {
|
|
1907
1907
|
throw new Error("Empty value provided for input HTTP label: localeId.");
|
|
1908
1908
|
}
|
|
1909
|
-
resolvedPath = resolvedPath.replace("{localeId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1909
|
+
resolvedPath = resolvedPath.replace("{localeId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1910
1910
|
}
|
|
1911
1911
|
else {
|
|
1912
1912
|
throw new Error("No value provided for input HTTP label: localeId.");
|
|
@@ -1999,7 +1999,7 @@ const serializeAws_restJson1ListIntentsCommand = async (input, context) => {
|
|
|
1999
1999
|
if (labelValue.length <= 0) {
|
|
2000
2000
|
throw new Error("Empty value provided for input HTTP label: botId.");
|
|
2001
2001
|
}
|
|
2002
|
-
resolvedPath = resolvedPath.replace("{botId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2002
|
+
resolvedPath = resolvedPath.replace("{botId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
2003
2003
|
}
|
|
2004
2004
|
else {
|
|
2005
2005
|
throw new Error("No value provided for input HTTP label: botId.");
|
|
@@ -2009,7 +2009,7 @@ const serializeAws_restJson1ListIntentsCommand = async (input, context) => {
|
|
|
2009
2009
|
if (labelValue.length <= 0) {
|
|
2010
2010
|
throw new Error("Empty value provided for input HTTP label: botVersion.");
|
|
2011
2011
|
}
|
|
2012
|
-
resolvedPath = resolvedPath.replace("{botVersion}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2012
|
+
resolvedPath = resolvedPath.replace("{botVersion}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
2013
2013
|
}
|
|
2014
2014
|
else {
|
|
2015
2015
|
throw new Error("No value provided for input HTTP label: botVersion.");
|
|
@@ -2019,7 +2019,7 @@ const serializeAws_restJson1ListIntentsCommand = async (input, context) => {
|
|
|
2019
2019
|
if (labelValue.length <= 0) {
|
|
2020
2020
|
throw new Error("Empty value provided for input HTTP label: localeId.");
|
|
2021
2021
|
}
|
|
2022
|
-
resolvedPath = resolvedPath.replace("{localeId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2022
|
+
resolvedPath = resolvedPath.replace("{localeId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
2023
2023
|
}
|
|
2024
2024
|
else {
|
|
2025
2025
|
throw new Error("No value provided for input HTTP label: localeId.");
|
|
@@ -2056,7 +2056,7 @@ const serializeAws_restJson1ListRecommendedIntentsCommand = async (input, contex
|
|
|
2056
2056
|
if (labelValue.length <= 0) {
|
|
2057
2057
|
throw new Error("Empty value provided for input HTTP label: botId.");
|
|
2058
2058
|
}
|
|
2059
|
-
resolvedPath = resolvedPath.replace("{botId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2059
|
+
resolvedPath = resolvedPath.replace("{botId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
2060
2060
|
}
|
|
2061
2061
|
else {
|
|
2062
2062
|
throw new Error("No value provided for input HTTP label: botId.");
|
|
@@ -2066,7 +2066,7 @@ const serializeAws_restJson1ListRecommendedIntentsCommand = async (input, contex
|
|
|
2066
2066
|
if (labelValue.length <= 0) {
|
|
2067
2067
|
throw new Error("Empty value provided for input HTTP label: botVersion.");
|
|
2068
2068
|
}
|
|
2069
|
-
resolvedPath = resolvedPath.replace("{botVersion}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2069
|
+
resolvedPath = resolvedPath.replace("{botVersion}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
2070
2070
|
}
|
|
2071
2071
|
else {
|
|
2072
2072
|
throw new Error("No value provided for input HTTP label: botVersion.");
|
|
@@ -2076,7 +2076,7 @@ const serializeAws_restJson1ListRecommendedIntentsCommand = async (input, contex
|
|
|
2076
2076
|
if (labelValue.length <= 0) {
|
|
2077
2077
|
throw new Error("Empty value provided for input HTTP label: localeId.");
|
|
2078
2078
|
}
|
|
2079
|
-
resolvedPath = resolvedPath.replace("{localeId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2079
|
+
resolvedPath = resolvedPath.replace("{localeId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
2080
2080
|
}
|
|
2081
2081
|
else {
|
|
2082
2082
|
throw new Error("No value provided for input HTTP label: localeId.");
|
|
@@ -2086,7 +2086,7 @@ const serializeAws_restJson1ListRecommendedIntentsCommand = async (input, contex
|
|
|
2086
2086
|
if (labelValue.length <= 0) {
|
|
2087
2087
|
throw new Error("Empty value provided for input HTTP label: botRecommendationId.");
|
|
2088
2088
|
}
|
|
2089
|
-
resolvedPath = resolvedPath.replace("{botRecommendationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2089
|
+
resolvedPath = resolvedPath.replace("{botRecommendationId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
2090
2090
|
}
|
|
2091
2091
|
else {
|
|
2092
2092
|
throw new Error("No value provided for input HTTP label: botRecommendationId.");
|
|
@@ -2119,7 +2119,7 @@ const serializeAws_restJson1ListSlotsCommand = async (input, context) => {
|
|
|
2119
2119
|
if (labelValue.length <= 0) {
|
|
2120
2120
|
throw new Error("Empty value provided for input HTTP label: botId.");
|
|
2121
2121
|
}
|
|
2122
|
-
resolvedPath = resolvedPath.replace("{botId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2122
|
+
resolvedPath = resolvedPath.replace("{botId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
2123
2123
|
}
|
|
2124
2124
|
else {
|
|
2125
2125
|
throw new Error("No value provided for input HTTP label: botId.");
|
|
@@ -2129,7 +2129,7 @@ const serializeAws_restJson1ListSlotsCommand = async (input, context) => {
|
|
|
2129
2129
|
if (labelValue.length <= 0) {
|
|
2130
2130
|
throw new Error("Empty value provided for input HTTP label: botVersion.");
|
|
2131
2131
|
}
|
|
2132
|
-
resolvedPath = resolvedPath.replace("{botVersion}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2132
|
+
resolvedPath = resolvedPath.replace("{botVersion}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
2133
2133
|
}
|
|
2134
2134
|
else {
|
|
2135
2135
|
throw new Error("No value provided for input HTTP label: botVersion.");
|
|
@@ -2139,7 +2139,7 @@ const serializeAws_restJson1ListSlotsCommand = async (input, context) => {
|
|
|
2139
2139
|
if (labelValue.length <= 0) {
|
|
2140
2140
|
throw new Error("Empty value provided for input HTTP label: localeId.");
|
|
2141
2141
|
}
|
|
2142
|
-
resolvedPath = resolvedPath.replace("{localeId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2142
|
+
resolvedPath = resolvedPath.replace("{localeId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
2143
2143
|
}
|
|
2144
2144
|
else {
|
|
2145
2145
|
throw new Error("No value provided for input HTTP label: localeId.");
|
|
@@ -2149,7 +2149,7 @@ const serializeAws_restJson1ListSlotsCommand = async (input, context) => {
|
|
|
2149
2149
|
if (labelValue.length <= 0) {
|
|
2150
2150
|
throw new Error("Empty value provided for input HTTP label: intentId.");
|
|
2151
2151
|
}
|
|
2152
|
-
resolvedPath = resolvedPath.replace("{intentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2152
|
+
resolvedPath = resolvedPath.replace("{intentId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
2153
2153
|
}
|
|
2154
2154
|
else {
|
|
2155
2155
|
throw new Error("No value provided for input HTTP label: intentId.");
|
|
@@ -2186,7 +2186,7 @@ const serializeAws_restJson1ListSlotTypesCommand = async (input, context) => {
|
|
|
2186
2186
|
if (labelValue.length <= 0) {
|
|
2187
2187
|
throw new Error("Empty value provided for input HTTP label: botId.");
|
|
2188
2188
|
}
|
|
2189
|
-
resolvedPath = resolvedPath.replace("{botId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2189
|
+
resolvedPath = resolvedPath.replace("{botId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
2190
2190
|
}
|
|
2191
2191
|
else {
|
|
2192
2192
|
throw new Error("No value provided for input HTTP label: botId.");
|
|
@@ -2196,7 +2196,7 @@ const serializeAws_restJson1ListSlotTypesCommand = async (input, context) => {
|
|
|
2196
2196
|
if (labelValue.length <= 0) {
|
|
2197
2197
|
throw new Error("Empty value provided for input HTTP label: botVersion.");
|
|
2198
2198
|
}
|
|
2199
|
-
resolvedPath = resolvedPath.replace("{botVersion}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2199
|
+
resolvedPath = resolvedPath.replace("{botVersion}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
2200
2200
|
}
|
|
2201
2201
|
else {
|
|
2202
2202
|
throw new Error("No value provided for input HTTP label: botVersion.");
|
|
@@ -2206,7 +2206,7 @@ const serializeAws_restJson1ListSlotTypesCommand = async (input, context) => {
|
|
|
2206
2206
|
if (labelValue.length <= 0) {
|
|
2207
2207
|
throw new Error("Empty value provided for input HTTP label: localeId.");
|
|
2208
2208
|
}
|
|
2209
|
-
resolvedPath = resolvedPath.replace("{localeId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2209
|
+
resolvedPath = resolvedPath.replace("{localeId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
2210
2210
|
}
|
|
2211
2211
|
else {
|
|
2212
2212
|
throw new Error("No value provided for input HTTP label: localeId.");
|
|
@@ -2240,7 +2240,7 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
|
|
|
2240
2240
|
if (labelValue.length <= 0) {
|
|
2241
2241
|
throw new Error("Empty value provided for input HTTP label: resourceARN.");
|
|
2242
2242
|
}
|
|
2243
|
-
resolvedPath = resolvedPath.replace("{resourceARN}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2243
|
+
resolvedPath = resolvedPath.replace("{resourceARN}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
2244
2244
|
}
|
|
2245
2245
|
else {
|
|
2246
2246
|
throw new Error("No value provided for input HTTP label: resourceARN.");
|
|
@@ -2269,7 +2269,7 @@ const serializeAws_restJson1SearchAssociatedTranscriptsCommand = async (input, c
|
|
|
2269
2269
|
if (labelValue.length <= 0) {
|
|
2270
2270
|
throw new Error("Empty value provided for input HTTP label: botId.");
|
|
2271
2271
|
}
|
|
2272
|
-
resolvedPath = resolvedPath.replace("{botId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2272
|
+
resolvedPath = resolvedPath.replace("{botId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
2273
2273
|
}
|
|
2274
2274
|
else {
|
|
2275
2275
|
throw new Error("No value provided for input HTTP label: botId.");
|
|
@@ -2279,7 +2279,7 @@ const serializeAws_restJson1SearchAssociatedTranscriptsCommand = async (input, c
|
|
|
2279
2279
|
if (labelValue.length <= 0) {
|
|
2280
2280
|
throw new Error("Empty value provided for input HTTP label: botVersion.");
|
|
2281
2281
|
}
|
|
2282
|
-
resolvedPath = resolvedPath.replace("{botVersion}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2282
|
+
resolvedPath = resolvedPath.replace("{botVersion}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
2283
2283
|
}
|
|
2284
2284
|
else {
|
|
2285
2285
|
throw new Error("No value provided for input HTTP label: botVersion.");
|
|
@@ -2289,7 +2289,7 @@ const serializeAws_restJson1SearchAssociatedTranscriptsCommand = async (input, c
|
|
|
2289
2289
|
if (labelValue.length <= 0) {
|
|
2290
2290
|
throw new Error("Empty value provided for input HTTP label: localeId.");
|
|
2291
2291
|
}
|
|
2292
|
-
resolvedPath = resolvedPath.replace("{localeId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2292
|
+
resolvedPath = resolvedPath.replace("{localeId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
2293
2293
|
}
|
|
2294
2294
|
else {
|
|
2295
2295
|
throw new Error("No value provided for input HTTP label: localeId.");
|
|
@@ -2299,7 +2299,7 @@ const serializeAws_restJson1SearchAssociatedTranscriptsCommand = async (input, c
|
|
|
2299
2299
|
if (labelValue.length <= 0) {
|
|
2300
2300
|
throw new Error("Empty value provided for input HTTP label: botRecommendationId.");
|
|
2301
2301
|
}
|
|
2302
|
-
resolvedPath = resolvedPath.replace("{botRecommendationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2302
|
+
resolvedPath = resolvedPath.replace("{botRecommendationId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
2303
2303
|
}
|
|
2304
2304
|
else {
|
|
2305
2305
|
throw new Error("No value provided for input HTTP label: botRecommendationId.");
|
|
@@ -2335,7 +2335,7 @@ const serializeAws_restJson1StartBotRecommendationCommand = async (input, contex
|
|
|
2335
2335
|
if (labelValue.length <= 0) {
|
|
2336
2336
|
throw new Error("Empty value provided for input HTTP label: botId.");
|
|
2337
2337
|
}
|
|
2338
|
-
resolvedPath = resolvedPath.replace("{botId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2338
|
+
resolvedPath = resolvedPath.replace("{botId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
2339
2339
|
}
|
|
2340
2340
|
else {
|
|
2341
2341
|
throw new Error("No value provided for input HTTP label: botId.");
|
|
@@ -2345,7 +2345,7 @@ const serializeAws_restJson1StartBotRecommendationCommand = async (input, contex
|
|
|
2345
2345
|
if (labelValue.length <= 0) {
|
|
2346
2346
|
throw new Error("Empty value provided for input HTTP label: botVersion.");
|
|
2347
2347
|
}
|
|
2348
|
-
resolvedPath = resolvedPath.replace("{botVersion}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2348
|
+
resolvedPath = resolvedPath.replace("{botVersion}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
2349
2349
|
}
|
|
2350
2350
|
else {
|
|
2351
2351
|
throw new Error("No value provided for input HTTP label: botVersion.");
|
|
@@ -2355,7 +2355,7 @@ const serializeAws_restJson1StartBotRecommendationCommand = async (input, contex
|
|
|
2355
2355
|
if (labelValue.length <= 0) {
|
|
2356
2356
|
throw new Error("Empty value provided for input HTTP label: localeId.");
|
|
2357
2357
|
}
|
|
2358
|
-
resolvedPath = resolvedPath.replace("{localeId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2358
|
+
resolvedPath = resolvedPath.replace("{localeId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
2359
2359
|
}
|
|
2360
2360
|
else {
|
|
2361
2361
|
throw new Error("No value provided for input HTTP label: localeId.");
|
|
@@ -2420,7 +2420,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
|
|
|
2420
2420
|
if (labelValue.length <= 0) {
|
|
2421
2421
|
throw new Error("Empty value provided for input HTTP label: resourceARN.");
|
|
2422
2422
|
}
|
|
2423
|
-
resolvedPath = resolvedPath.replace("{resourceARN}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2423
|
+
resolvedPath = resolvedPath.replace("{resourceARN}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
2424
2424
|
}
|
|
2425
2425
|
else {
|
|
2426
2426
|
throw new Error("No value provided for input HTTP label: resourceARN.");
|
|
@@ -2449,7 +2449,7 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
|
|
|
2449
2449
|
if (labelValue.length <= 0) {
|
|
2450
2450
|
throw new Error("Empty value provided for input HTTP label: resourceARN.");
|
|
2451
2451
|
}
|
|
2452
|
-
resolvedPath = resolvedPath.replace("{resourceARN}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2452
|
+
resolvedPath = resolvedPath.replace("{resourceARN}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
2453
2453
|
}
|
|
2454
2454
|
else {
|
|
2455
2455
|
throw new Error("No value provided for input HTTP label: resourceARN.");
|
|
@@ -2481,7 +2481,7 @@ const serializeAws_restJson1UpdateBotCommand = async (input, context) => {
|
|
|
2481
2481
|
if (labelValue.length <= 0) {
|
|
2482
2482
|
throw new Error("Empty value provided for input HTTP label: botId.");
|
|
2483
2483
|
}
|
|
2484
|
-
resolvedPath = resolvedPath.replace("{botId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2484
|
+
resolvedPath = resolvedPath.replace("{botId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
2485
2485
|
}
|
|
2486
2486
|
else {
|
|
2487
2487
|
throw new Error("No value provided for input HTTP label: botId.");
|
|
@@ -2518,7 +2518,7 @@ const serializeAws_restJson1UpdateBotAliasCommand = async (input, context) => {
|
|
|
2518
2518
|
if (labelValue.length <= 0) {
|
|
2519
2519
|
throw new Error("Empty value provided for input HTTP label: botAliasId.");
|
|
2520
2520
|
}
|
|
2521
|
-
resolvedPath = resolvedPath.replace("{botAliasId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2521
|
+
resolvedPath = resolvedPath.replace("{botAliasId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
2522
2522
|
}
|
|
2523
2523
|
else {
|
|
2524
2524
|
throw new Error("No value provided for input HTTP label: botAliasId.");
|
|
@@ -2528,7 +2528,7 @@ const serializeAws_restJson1UpdateBotAliasCommand = async (input, context) => {
|
|
|
2528
2528
|
if (labelValue.length <= 0) {
|
|
2529
2529
|
throw new Error("Empty value provided for input HTTP label: botId.");
|
|
2530
2530
|
}
|
|
2531
|
-
resolvedPath = resolvedPath.replace("{botId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2531
|
+
resolvedPath = resolvedPath.replace("{botId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
2532
2532
|
}
|
|
2533
2533
|
else {
|
|
2534
2534
|
throw new Error("No value provided for input HTTP label: botId.");
|
|
@@ -2574,7 +2574,7 @@ const serializeAws_restJson1UpdateBotLocaleCommand = async (input, context) => {
|
|
|
2574
2574
|
if (labelValue.length <= 0) {
|
|
2575
2575
|
throw new Error("Empty value provided for input HTTP label: botId.");
|
|
2576
2576
|
}
|
|
2577
|
-
resolvedPath = resolvedPath.replace("{botId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2577
|
+
resolvedPath = resolvedPath.replace("{botId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
2578
2578
|
}
|
|
2579
2579
|
else {
|
|
2580
2580
|
throw new Error("No value provided for input HTTP label: botId.");
|
|
@@ -2584,7 +2584,7 @@ const serializeAws_restJson1UpdateBotLocaleCommand = async (input, context) => {
|
|
|
2584
2584
|
if (labelValue.length <= 0) {
|
|
2585
2585
|
throw new Error("Empty value provided for input HTTP label: botVersion.");
|
|
2586
2586
|
}
|
|
2587
|
-
resolvedPath = resolvedPath.replace("{botVersion}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2587
|
+
resolvedPath = resolvedPath.replace("{botVersion}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
2588
2588
|
}
|
|
2589
2589
|
else {
|
|
2590
2590
|
throw new Error("No value provided for input HTTP label: botVersion.");
|
|
@@ -2594,7 +2594,7 @@ const serializeAws_restJson1UpdateBotLocaleCommand = async (input, context) => {
|
|
|
2594
2594
|
if (labelValue.length <= 0) {
|
|
2595
2595
|
throw new Error("Empty value provided for input HTTP label: localeId.");
|
|
2596
2596
|
}
|
|
2597
|
-
resolvedPath = resolvedPath.replace("{localeId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2597
|
+
resolvedPath = resolvedPath.replace("{localeId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
2598
2598
|
}
|
|
2599
2599
|
else {
|
|
2600
2600
|
throw new Error("No value provided for input HTTP label: localeId.");
|
|
@@ -2604,7 +2604,7 @@ const serializeAws_restJson1UpdateBotLocaleCommand = async (input, context) => {
|
|
|
2604
2604
|
...(input.description !== undefined && input.description !== null && { description: input.description }),
|
|
2605
2605
|
...(input.nluIntentConfidenceThreshold !== undefined &&
|
|
2606
2606
|
input.nluIntentConfidenceThreshold !== null && {
|
|
2607
|
-
nluIntentConfidenceThreshold: smithy_client_1.serializeFloat(input.nluIntentConfidenceThreshold),
|
|
2607
|
+
nluIntentConfidenceThreshold: (0, smithy_client_1.serializeFloat)(input.nluIntentConfidenceThreshold),
|
|
2608
2608
|
}),
|
|
2609
2609
|
...(input.voiceSettings !== undefined &&
|
|
2610
2610
|
input.voiceSettings !== null && {
|
|
@@ -2634,7 +2634,7 @@ const serializeAws_restJson1UpdateBotRecommendationCommand = async (input, conte
|
|
|
2634
2634
|
if (labelValue.length <= 0) {
|
|
2635
2635
|
throw new Error("Empty value provided for input HTTP label: botId.");
|
|
2636
2636
|
}
|
|
2637
|
-
resolvedPath = resolvedPath.replace("{botId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2637
|
+
resolvedPath = resolvedPath.replace("{botId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
2638
2638
|
}
|
|
2639
2639
|
else {
|
|
2640
2640
|
throw new Error("No value provided for input HTTP label: botId.");
|
|
@@ -2644,7 +2644,7 @@ const serializeAws_restJson1UpdateBotRecommendationCommand = async (input, conte
|
|
|
2644
2644
|
if (labelValue.length <= 0) {
|
|
2645
2645
|
throw new Error("Empty value provided for input HTTP label: botVersion.");
|
|
2646
2646
|
}
|
|
2647
|
-
resolvedPath = resolvedPath.replace("{botVersion}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2647
|
+
resolvedPath = resolvedPath.replace("{botVersion}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
2648
2648
|
}
|
|
2649
2649
|
else {
|
|
2650
2650
|
throw new Error("No value provided for input HTTP label: botVersion.");
|
|
@@ -2654,7 +2654,7 @@ const serializeAws_restJson1UpdateBotRecommendationCommand = async (input, conte
|
|
|
2654
2654
|
if (labelValue.length <= 0) {
|
|
2655
2655
|
throw new Error("Empty value provided for input HTTP label: localeId.");
|
|
2656
2656
|
}
|
|
2657
|
-
resolvedPath = resolvedPath.replace("{localeId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2657
|
+
resolvedPath = resolvedPath.replace("{localeId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
2658
2658
|
}
|
|
2659
2659
|
else {
|
|
2660
2660
|
throw new Error("No value provided for input HTTP label: localeId.");
|
|
@@ -2664,7 +2664,7 @@ const serializeAws_restJson1UpdateBotRecommendationCommand = async (input, conte
|
|
|
2664
2664
|
if (labelValue.length <= 0) {
|
|
2665
2665
|
throw new Error("Empty value provided for input HTTP label: botRecommendationId.");
|
|
2666
2666
|
}
|
|
2667
|
-
resolvedPath = resolvedPath.replace("{botRecommendationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2667
|
+
resolvedPath = resolvedPath.replace("{botRecommendationId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
2668
2668
|
}
|
|
2669
2669
|
else {
|
|
2670
2670
|
throw new Error("No value provided for input HTTP label: botRecommendationId.");
|
|
@@ -2698,7 +2698,7 @@ const serializeAws_restJson1UpdateExportCommand = async (input, context) => {
|
|
|
2698
2698
|
if (labelValue.length <= 0) {
|
|
2699
2699
|
throw new Error("Empty value provided for input HTTP label: exportId.");
|
|
2700
2700
|
}
|
|
2701
|
-
resolvedPath = resolvedPath.replace("{exportId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2701
|
+
resolvedPath = resolvedPath.replace("{exportId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
2702
2702
|
}
|
|
2703
2703
|
else {
|
|
2704
2704
|
throw new Error("No value provided for input HTTP label: exportId.");
|
|
@@ -2730,7 +2730,7 @@ const serializeAws_restJson1UpdateIntentCommand = async (input, context) => {
|
|
|
2730
2730
|
if (labelValue.length <= 0) {
|
|
2731
2731
|
throw new Error("Empty value provided for input HTTP label: intentId.");
|
|
2732
2732
|
}
|
|
2733
|
-
resolvedPath = resolvedPath.replace("{intentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2733
|
+
resolvedPath = resolvedPath.replace("{intentId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
2734
2734
|
}
|
|
2735
2735
|
else {
|
|
2736
2736
|
throw new Error("No value provided for input HTTP label: intentId.");
|
|
@@ -2740,7 +2740,7 @@ const serializeAws_restJson1UpdateIntentCommand = async (input, context) => {
|
|
|
2740
2740
|
if (labelValue.length <= 0) {
|
|
2741
2741
|
throw new Error("Empty value provided for input HTTP label: botId.");
|
|
2742
2742
|
}
|
|
2743
|
-
resolvedPath = resolvedPath.replace("{botId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2743
|
+
resolvedPath = resolvedPath.replace("{botId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
2744
2744
|
}
|
|
2745
2745
|
else {
|
|
2746
2746
|
throw new Error("No value provided for input HTTP label: botId.");
|
|
@@ -2750,7 +2750,7 @@ const serializeAws_restJson1UpdateIntentCommand = async (input, context) => {
|
|
|
2750
2750
|
if (labelValue.length <= 0) {
|
|
2751
2751
|
throw new Error("Empty value provided for input HTTP label: botVersion.");
|
|
2752
2752
|
}
|
|
2753
|
-
resolvedPath = resolvedPath.replace("{botVersion}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2753
|
+
resolvedPath = resolvedPath.replace("{botVersion}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
2754
2754
|
}
|
|
2755
2755
|
else {
|
|
2756
2756
|
throw new Error("No value provided for input HTTP label: botVersion.");
|
|
@@ -2760,7 +2760,7 @@ const serializeAws_restJson1UpdateIntentCommand = async (input, context) => {
|
|
|
2760
2760
|
if (labelValue.length <= 0) {
|
|
2761
2761
|
throw new Error("Empty value provided for input HTTP label: localeId.");
|
|
2762
2762
|
}
|
|
2763
|
-
resolvedPath = resolvedPath.replace("{localeId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2763
|
+
resolvedPath = resolvedPath.replace("{localeId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
2764
2764
|
}
|
|
2765
2765
|
else {
|
|
2766
2766
|
throw new Error("No value provided for input HTTP label: localeId.");
|
|
@@ -2830,7 +2830,7 @@ const serializeAws_restJson1UpdateResourcePolicyCommand = async (input, context)
|
|
|
2830
2830
|
if (labelValue.length <= 0) {
|
|
2831
2831
|
throw new Error("Empty value provided for input HTTP label: resourceArn.");
|
|
2832
2832
|
}
|
|
2833
|
-
resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2833
|
+
resolvedPath = resolvedPath.replace("{resourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
2834
2834
|
}
|
|
2835
2835
|
else {
|
|
2836
2836
|
throw new Error("No value provided for input HTTP label: resourceArn.");
|
|
@@ -2866,7 +2866,7 @@ const serializeAws_restJson1UpdateSlotCommand = async (input, context) => {
|
|
|
2866
2866
|
if (labelValue.length <= 0) {
|
|
2867
2867
|
throw new Error("Empty value provided for input HTTP label: slotId.");
|
|
2868
2868
|
}
|
|
2869
|
-
resolvedPath = resolvedPath.replace("{slotId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2869
|
+
resolvedPath = resolvedPath.replace("{slotId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
2870
2870
|
}
|
|
2871
2871
|
else {
|
|
2872
2872
|
throw new Error("No value provided for input HTTP label: slotId.");
|
|
@@ -2876,7 +2876,7 @@ const serializeAws_restJson1UpdateSlotCommand = async (input, context) => {
|
|
|
2876
2876
|
if (labelValue.length <= 0) {
|
|
2877
2877
|
throw new Error("Empty value provided for input HTTP label: botId.");
|
|
2878
2878
|
}
|
|
2879
|
-
resolvedPath = resolvedPath.replace("{botId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2879
|
+
resolvedPath = resolvedPath.replace("{botId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
2880
2880
|
}
|
|
2881
2881
|
else {
|
|
2882
2882
|
throw new Error("No value provided for input HTTP label: botId.");
|
|
@@ -2886,7 +2886,7 @@ const serializeAws_restJson1UpdateSlotCommand = async (input, context) => {
|
|
|
2886
2886
|
if (labelValue.length <= 0) {
|
|
2887
2887
|
throw new Error("Empty value provided for input HTTP label: botVersion.");
|
|
2888
2888
|
}
|
|
2889
|
-
resolvedPath = resolvedPath.replace("{botVersion}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2889
|
+
resolvedPath = resolvedPath.replace("{botVersion}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
2890
2890
|
}
|
|
2891
2891
|
else {
|
|
2892
2892
|
throw new Error("No value provided for input HTTP label: botVersion.");
|
|
@@ -2896,7 +2896,7 @@ const serializeAws_restJson1UpdateSlotCommand = async (input, context) => {
|
|
|
2896
2896
|
if (labelValue.length <= 0) {
|
|
2897
2897
|
throw new Error("Empty value provided for input HTTP label: localeId.");
|
|
2898
2898
|
}
|
|
2899
|
-
resolvedPath = resolvedPath.replace("{localeId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2899
|
+
resolvedPath = resolvedPath.replace("{localeId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
2900
2900
|
}
|
|
2901
2901
|
else {
|
|
2902
2902
|
throw new Error("No value provided for input HTTP label: localeId.");
|
|
@@ -2906,7 +2906,7 @@ const serializeAws_restJson1UpdateSlotCommand = async (input, context) => {
|
|
|
2906
2906
|
if (labelValue.length <= 0) {
|
|
2907
2907
|
throw new Error("Empty value provided for input HTTP label: intentId.");
|
|
2908
2908
|
}
|
|
2909
|
-
resolvedPath = resolvedPath.replace("{intentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2909
|
+
resolvedPath = resolvedPath.replace("{intentId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
2910
2910
|
}
|
|
2911
2911
|
else {
|
|
2912
2912
|
throw new Error("No value provided for input HTTP label: intentId.");
|
|
@@ -2952,7 +2952,7 @@ const serializeAws_restJson1UpdateSlotTypeCommand = async (input, context) => {
|
|
|
2952
2952
|
if (labelValue.length <= 0) {
|
|
2953
2953
|
throw new Error("Empty value provided for input HTTP label: slotTypeId.");
|
|
2954
2954
|
}
|
|
2955
|
-
resolvedPath = resolvedPath.replace("{slotTypeId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2955
|
+
resolvedPath = resolvedPath.replace("{slotTypeId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
2956
2956
|
}
|
|
2957
2957
|
else {
|
|
2958
2958
|
throw new Error("No value provided for input HTTP label: slotTypeId.");
|
|
@@ -2962,7 +2962,7 @@ const serializeAws_restJson1UpdateSlotTypeCommand = async (input, context) => {
|
|
|
2962
2962
|
if (labelValue.length <= 0) {
|
|
2963
2963
|
throw new Error("Empty value provided for input HTTP label: botId.");
|
|
2964
2964
|
}
|
|
2965
|
-
resolvedPath = resolvedPath.replace("{botId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2965
|
+
resolvedPath = resolvedPath.replace("{botId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
2966
2966
|
}
|
|
2967
2967
|
else {
|
|
2968
2968
|
throw new Error("No value provided for input HTTP label: botId.");
|
|
@@ -2972,7 +2972,7 @@ const serializeAws_restJson1UpdateSlotTypeCommand = async (input, context) => {
|
|
|
2972
2972
|
if (labelValue.length <= 0) {
|
|
2973
2973
|
throw new Error("Empty value provided for input HTTP label: botVersion.");
|
|
2974
2974
|
}
|
|
2975
|
-
resolvedPath = resolvedPath.replace("{botVersion}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2975
|
+
resolvedPath = resolvedPath.replace("{botVersion}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
2976
2976
|
}
|
|
2977
2977
|
else {
|
|
2978
2978
|
throw new Error("No value provided for input HTTP label: botVersion.");
|
|
@@ -2982,7 +2982,7 @@ const serializeAws_restJson1UpdateSlotTypeCommand = async (input, context) => {
|
|
|
2982
2982
|
if (labelValue.length <= 0) {
|
|
2983
2983
|
throw new Error("Empty value provided for input HTTP label: localeId.");
|
|
2984
2984
|
}
|
|
2985
|
-
resolvedPath = resolvedPath.replace("{localeId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2985
|
+
resolvedPath = resolvedPath.replace("{localeId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
2986
2986
|
}
|
|
2987
2987
|
else {
|
|
2988
2988
|
throw new Error("No value provided for input HTTP label: localeId.");
|
|
@@ -3029,21 +3029,21 @@ const deserializeAws_restJson1BuildBotLocaleCommand = async (output, context) =>
|
|
|
3029
3029
|
lastBuildSubmittedDateTime: undefined,
|
|
3030
3030
|
localeId: undefined,
|
|
3031
3031
|
};
|
|
3032
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3032
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3033
3033
|
if (data.botId !== undefined && data.botId !== null) {
|
|
3034
|
-
contents.botId = smithy_client_1.expectString(data.botId);
|
|
3034
|
+
contents.botId = (0, smithy_client_1.expectString)(data.botId);
|
|
3035
3035
|
}
|
|
3036
3036
|
if (data.botLocaleStatus !== undefined && data.botLocaleStatus !== null) {
|
|
3037
|
-
contents.botLocaleStatus = smithy_client_1.expectString(data.botLocaleStatus);
|
|
3037
|
+
contents.botLocaleStatus = (0, smithy_client_1.expectString)(data.botLocaleStatus);
|
|
3038
3038
|
}
|
|
3039
3039
|
if (data.botVersion !== undefined && data.botVersion !== null) {
|
|
3040
|
-
contents.botVersion = smithy_client_1.expectString(data.botVersion);
|
|
3040
|
+
contents.botVersion = (0, smithy_client_1.expectString)(data.botVersion);
|
|
3041
3041
|
}
|
|
3042
3042
|
if (data.lastBuildSubmittedDateTime !== undefined && data.lastBuildSubmittedDateTime !== null) {
|
|
3043
|
-
contents.lastBuildSubmittedDateTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.lastBuildSubmittedDateTime)));
|
|
3043
|
+
contents.lastBuildSubmittedDateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.lastBuildSubmittedDateTime)));
|
|
3044
3044
|
}
|
|
3045
3045
|
if (data.localeId !== undefined && data.localeId !== null) {
|
|
3046
|
-
contents.localeId = smithy_client_1.expectString(data.localeId);
|
|
3046
|
+
contents.localeId = (0, smithy_client_1.expectString)(data.localeId);
|
|
3047
3047
|
}
|
|
3048
3048
|
return Promise.resolve(contents);
|
|
3049
3049
|
};
|
|
@@ -3082,7 +3082,7 @@ const deserializeAws_restJson1BuildBotLocaleCommandError = async (output, contex
|
|
|
3082
3082
|
$fault: "client",
|
|
3083
3083
|
$metadata: deserializeMetadata(output),
|
|
3084
3084
|
});
|
|
3085
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3085
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3086
3086
|
}
|
|
3087
3087
|
};
|
|
3088
3088
|
const deserializeAws_restJson1CreateBotCommand = async (output, context) => {
|
|
@@ -3102,33 +3102,33 @@ const deserializeAws_restJson1CreateBotCommand = async (output, context) => {
|
|
|
3102
3102
|
roleArn: undefined,
|
|
3103
3103
|
testBotAliasTags: undefined,
|
|
3104
3104
|
};
|
|
3105
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3105
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3106
3106
|
if (data.botId !== undefined && data.botId !== null) {
|
|
3107
|
-
contents.botId = smithy_client_1.expectString(data.botId);
|
|
3107
|
+
contents.botId = (0, smithy_client_1.expectString)(data.botId);
|
|
3108
3108
|
}
|
|
3109
3109
|
if (data.botName !== undefined && data.botName !== null) {
|
|
3110
|
-
contents.botName = smithy_client_1.expectString(data.botName);
|
|
3110
|
+
contents.botName = (0, smithy_client_1.expectString)(data.botName);
|
|
3111
3111
|
}
|
|
3112
3112
|
if (data.botStatus !== undefined && data.botStatus !== null) {
|
|
3113
|
-
contents.botStatus = smithy_client_1.expectString(data.botStatus);
|
|
3113
|
+
contents.botStatus = (0, smithy_client_1.expectString)(data.botStatus);
|
|
3114
3114
|
}
|
|
3115
3115
|
if (data.botTags !== undefined && data.botTags !== null) {
|
|
3116
3116
|
contents.botTags = deserializeAws_restJson1TagMap(data.botTags, context);
|
|
3117
3117
|
}
|
|
3118
3118
|
if (data.creationDateTime !== undefined && data.creationDateTime !== null) {
|
|
3119
|
-
contents.creationDateTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.creationDateTime)));
|
|
3119
|
+
contents.creationDateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.creationDateTime)));
|
|
3120
3120
|
}
|
|
3121
3121
|
if (data.dataPrivacy !== undefined && data.dataPrivacy !== null) {
|
|
3122
3122
|
contents.dataPrivacy = deserializeAws_restJson1DataPrivacy(data.dataPrivacy, context);
|
|
3123
3123
|
}
|
|
3124
3124
|
if (data.description !== undefined && data.description !== null) {
|
|
3125
|
-
contents.description = smithy_client_1.expectString(data.description);
|
|
3125
|
+
contents.description = (0, smithy_client_1.expectString)(data.description);
|
|
3126
3126
|
}
|
|
3127
3127
|
if (data.idleSessionTTLInSeconds !== undefined && data.idleSessionTTLInSeconds !== null) {
|
|
3128
|
-
contents.idleSessionTTLInSeconds = smithy_client_1.expectInt32(data.idleSessionTTLInSeconds);
|
|
3128
|
+
contents.idleSessionTTLInSeconds = (0, smithy_client_1.expectInt32)(data.idleSessionTTLInSeconds);
|
|
3129
3129
|
}
|
|
3130
3130
|
if (data.roleArn !== undefined && data.roleArn !== null) {
|
|
3131
|
-
contents.roleArn = smithy_client_1.expectString(data.roleArn);
|
|
3131
|
+
contents.roleArn = (0, smithy_client_1.expectString)(data.roleArn);
|
|
3132
3132
|
}
|
|
3133
3133
|
if (data.testBotAliasTags !== undefined && data.testBotAliasTags !== null) {
|
|
3134
3134
|
contents.testBotAliasTags = deserializeAws_restJson1TagMap(data.testBotAliasTags, context);
|
|
@@ -3170,7 +3170,7 @@ const deserializeAws_restJson1CreateBotCommandError = async (output, context) =>
|
|
|
3170
3170
|
$fault: "client",
|
|
3171
3171
|
$metadata: deserializeMetadata(output),
|
|
3172
3172
|
});
|
|
3173
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3173
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3174
3174
|
}
|
|
3175
3175
|
};
|
|
3176
3176
|
const deserializeAws_restJson1CreateBotAliasCommand = async (output, context) => {
|
|
@@ -3191,33 +3191,33 @@ const deserializeAws_restJson1CreateBotAliasCommand = async (output, context) =>
|
|
|
3191
3191
|
sentimentAnalysisSettings: undefined,
|
|
3192
3192
|
tags: undefined,
|
|
3193
3193
|
};
|
|
3194
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3194
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3195
3195
|
if (data.botAliasId !== undefined && data.botAliasId !== null) {
|
|
3196
|
-
contents.botAliasId = smithy_client_1.expectString(data.botAliasId);
|
|
3196
|
+
contents.botAliasId = (0, smithy_client_1.expectString)(data.botAliasId);
|
|
3197
3197
|
}
|
|
3198
3198
|
if (data.botAliasLocaleSettings !== undefined && data.botAliasLocaleSettings !== null) {
|
|
3199
3199
|
contents.botAliasLocaleSettings = deserializeAws_restJson1BotAliasLocaleSettingsMap(data.botAliasLocaleSettings, context);
|
|
3200
3200
|
}
|
|
3201
3201
|
if (data.botAliasName !== undefined && data.botAliasName !== null) {
|
|
3202
|
-
contents.botAliasName = smithy_client_1.expectString(data.botAliasName);
|
|
3202
|
+
contents.botAliasName = (0, smithy_client_1.expectString)(data.botAliasName);
|
|
3203
3203
|
}
|
|
3204
3204
|
if (data.botAliasStatus !== undefined && data.botAliasStatus !== null) {
|
|
3205
|
-
contents.botAliasStatus = smithy_client_1.expectString(data.botAliasStatus);
|
|
3205
|
+
contents.botAliasStatus = (0, smithy_client_1.expectString)(data.botAliasStatus);
|
|
3206
3206
|
}
|
|
3207
3207
|
if (data.botId !== undefined && data.botId !== null) {
|
|
3208
|
-
contents.botId = smithy_client_1.expectString(data.botId);
|
|
3208
|
+
contents.botId = (0, smithy_client_1.expectString)(data.botId);
|
|
3209
3209
|
}
|
|
3210
3210
|
if (data.botVersion !== undefined && data.botVersion !== null) {
|
|
3211
|
-
contents.botVersion = smithy_client_1.expectString(data.botVersion);
|
|
3211
|
+
contents.botVersion = (0, smithy_client_1.expectString)(data.botVersion);
|
|
3212
3212
|
}
|
|
3213
3213
|
if (data.conversationLogSettings !== undefined && data.conversationLogSettings !== null) {
|
|
3214
3214
|
contents.conversationLogSettings = deserializeAws_restJson1ConversationLogSettings(data.conversationLogSettings, context);
|
|
3215
3215
|
}
|
|
3216
3216
|
if (data.creationDateTime !== undefined && data.creationDateTime !== null) {
|
|
3217
|
-
contents.creationDateTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.creationDateTime)));
|
|
3217
|
+
contents.creationDateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.creationDateTime)));
|
|
3218
3218
|
}
|
|
3219
3219
|
if (data.description !== undefined && data.description !== null) {
|
|
3220
|
-
contents.description = smithy_client_1.expectString(data.description);
|
|
3220
|
+
contents.description = (0, smithy_client_1.expectString)(data.description);
|
|
3221
3221
|
}
|
|
3222
3222
|
if (data.sentimentAnalysisSettings !== undefined && data.sentimentAnalysisSettings !== null) {
|
|
3223
3223
|
contents.sentimentAnalysisSettings = deserializeAws_restJson1SentimentAnalysisSettings(data.sentimentAnalysisSettings, context);
|
|
@@ -3262,7 +3262,7 @@ const deserializeAws_restJson1CreateBotAliasCommandError = async (output, contex
|
|
|
3262
3262
|
$fault: "client",
|
|
3263
3263
|
$metadata: deserializeMetadata(output),
|
|
3264
3264
|
});
|
|
3265
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3265
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3266
3266
|
}
|
|
3267
3267
|
};
|
|
3268
3268
|
const deserializeAws_restJson1CreateBotLocaleCommand = async (output, context) => {
|
|
@@ -3281,30 +3281,30 @@ const deserializeAws_restJson1CreateBotLocaleCommand = async (output, context) =
|
|
|
3281
3281
|
nluIntentConfidenceThreshold: undefined,
|
|
3282
3282
|
voiceSettings: undefined,
|
|
3283
3283
|
};
|
|
3284
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3284
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3285
3285
|
if (data.botId !== undefined && data.botId !== null) {
|
|
3286
|
-
contents.botId = smithy_client_1.expectString(data.botId);
|
|
3286
|
+
contents.botId = (0, smithy_client_1.expectString)(data.botId);
|
|
3287
3287
|
}
|
|
3288
3288
|
if (data.botLocaleStatus !== undefined && data.botLocaleStatus !== null) {
|
|
3289
|
-
contents.botLocaleStatus = smithy_client_1.expectString(data.botLocaleStatus);
|
|
3289
|
+
contents.botLocaleStatus = (0, smithy_client_1.expectString)(data.botLocaleStatus);
|
|
3290
3290
|
}
|
|
3291
3291
|
if (data.botVersion !== undefined && data.botVersion !== null) {
|
|
3292
|
-
contents.botVersion = smithy_client_1.expectString(data.botVersion);
|
|
3292
|
+
contents.botVersion = (0, smithy_client_1.expectString)(data.botVersion);
|
|
3293
3293
|
}
|
|
3294
3294
|
if (data.creationDateTime !== undefined && data.creationDateTime !== null) {
|
|
3295
|
-
contents.creationDateTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.creationDateTime)));
|
|
3295
|
+
contents.creationDateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.creationDateTime)));
|
|
3296
3296
|
}
|
|
3297
3297
|
if (data.description !== undefined && data.description !== null) {
|
|
3298
|
-
contents.description = smithy_client_1.expectString(data.description);
|
|
3298
|
+
contents.description = (0, smithy_client_1.expectString)(data.description);
|
|
3299
3299
|
}
|
|
3300
3300
|
if (data.localeId !== undefined && data.localeId !== null) {
|
|
3301
|
-
contents.localeId = smithy_client_1.expectString(data.localeId);
|
|
3301
|
+
contents.localeId = (0, smithy_client_1.expectString)(data.localeId);
|
|
3302
3302
|
}
|
|
3303
3303
|
if (data.localeName !== undefined && data.localeName !== null) {
|
|
3304
|
-
contents.localeName = smithy_client_1.expectString(data.localeName);
|
|
3304
|
+
contents.localeName = (0, smithy_client_1.expectString)(data.localeName);
|
|
3305
3305
|
}
|
|
3306
3306
|
if (data.nluIntentConfidenceThreshold !== undefined && data.nluIntentConfidenceThreshold !== null) {
|
|
3307
|
-
contents.nluIntentConfidenceThreshold = smithy_client_1.limitedParseDouble(data.nluIntentConfidenceThreshold);
|
|
3307
|
+
contents.nluIntentConfidenceThreshold = (0, smithy_client_1.limitedParseDouble)(data.nluIntentConfidenceThreshold);
|
|
3308
3308
|
}
|
|
3309
3309
|
if (data.voiceSettings !== undefined && data.voiceSettings !== null) {
|
|
3310
3310
|
contents.voiceSettings = deserializeAws_restJson1VoiceSettings(data.voiceSettings, context);
|
|
@@ -3346,7 +3346,7 @@ const deserializeAws_restJson1CreateBotLocaleCommandError = async (output, conte
|
|
|
3346
3346
|
$fault: "client",
|
|
3347
3347
|
$metadata: deserializeMetadata(output),
|
|
3348
3348
|
});
|
|
3349
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3349
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3350
3350
|
}
|
|
3351
3351
|
};
|
|
3352
3352
|
const deserializeAws_restJson1CreateBotVersionCommand = async (output, context) => {
|
|
@@ -3362,24 +3362,24 @@ const deserializeAws_restJson1CreateBotVersionCommand = async (output, context)
|
|
|
3362
3362
|
creationDateTime: undefined,
|
|
3363
3363
|
description: undefined,
|
|
3364
3364
|
};
|
|
3365
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3365
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3366
3366
|
if (data.botId !== undefined && data.botId !== null) {
|
|
3367
|
-
contents.botId = smithy_client_1.expectString(data.botId);
|
|
3367
|
+
contents.botId = (0, smithy_client_1.expectString)(data.botId);
|
|
3368
3368
|
}
|
|
3369
3369
|
if (data.botStatus !== undefined && data.botStatus !== null) {
|
|
3370
|
-
contents.botStatus = smithy_client_1.expectString(data.botStatus);
|
|
3370
|
+
contents.botStatus = (0, smithy_client_1.expectString)(data.botStatus);
|
|
3371
3371
|
}
|
|
3372
3372
|
if (data.botVersion !== undefined && data.botVersion !== null) {
|
|
3373
|
-
contents.botVersion = smithy_client_1.expectString(data.botVersion);
|
|
3373
|
+
contents.botVersion = (0, smithy_client_1.expectString)(data.botVersion);
|
|
3374
3374
|
}
|
|
3375
3375
|
if (data.botVersionLocaleSpecification !== undefined && data.botVersionLocaleSpecification !== null) {
|
|
3376
3376
|
contents.botVersionLocaleSpecification = deserializeAws_restJson1BotVersionLocaleSpecification(data.botVersionLocaleSpecification, context);
|
|
3377
3377
|
}
|
|
3378
3378
|
if (data.creationDateTime !== undefined && data.creationDateTime !== null) {
|
|
3379
|
-
contents.creationDateTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.creationDateTime)));
|
|
3379
|
+
contents.creationDateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.creationDateTime)));
|
|
3380
3380
|
}
|
|
3381
3381
|
if (data.description !== undefined && data.description !== null) {
|
|
3382
|
-
contents.description = smithy_client_1.expectString(data.description);
|
|
3382
|
+
contents.description = (0, smithy_client_1.expectString)(data.description);
|
|
3383
3383
|
}
|
|
3384
3384
|
return Promise.resolve(contents);
|
|
3385
3385
|
};
|
|
@@ -3418,7 +3418,7 @@ const deserializeAws_restJson1CreateBotVersionCommandError = async (output, cont
|
|
|
3418
3418
|
$fault: "client",
|
|
3419
3419
|
$metadata: deserializeMetadata(output),
|
|
3420
3420
|
});
|
|
3421
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3421
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3422
3422
|
}
|
|
3423
3423
|
};
|
|
3424
3424
|
const deserializeAws_restJson1CreateExportCommand = async (output, context) => {
|
|
@@ -3433,18 +3433,18 @@ const deserializeAws_restJson1CreateExportCommand = async (output, context) => {
|
|
|
3433
3433
|
fileFormat: undefined,
|
|
3434
3434
|
resourceSpecification: undefined,
|
|
3435
3435
|
};
|
|
3436
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3436
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3437
3437
|
if (data.creationDateTime !== undefined && data.creationDateTime !== null) {
|
|
3438
|
-
contents.creationDateTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.creationDateTime)));
|
|
3438
|
+
contents.creationDateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.creationDateTime)));
|
|
3439
3439
|
}
|
|
3440
3440
|
if (data.exportId !== undefined && data.exportId !== null) {
|
|
3441
|
-
contents.exportId = smithy_client_1.expectString(data.exportId);
|
|
3441
|
+
contents.exportId = (0, smithy_client_1.expectString)(data.exportId);
|
|
3442
3442
|
}
|
|
3443
3443
|
if (data.exportStatus !== undefined && data.exportStatus !== null) {
|
|
3444
|
-
contents.exportStatus = smithy_client_1.expectString(data.exportStatus);
|
|
3444
|
+
contents.exportStatus = (0, smithy_client_1.expectString)(data.exportStatus);
|
|
3445
3445
|
}
|
|
3446
3446
|
if (data.fileFormat !== undefined && data.fileFormat !== null) {
|
|
3447
|
-
contents.fileFormat = smithy_client_1.expectString(data.fileFormat);
|
|
3447
|
+
contents.fileFormat = (0, smithy_client_1.expectString)(data.fileFormat);
|
|
3448
3448
|
}
|
|
3449
3449
|
if (data.resourceSpecification !== undefined && data.resourceSpecification !== null) {
|
|
3450
3450
|
contents.resourceSpecification = deserializeAws_restJson1ExportResourceSpecification(data.resourceSpecification, context);
|
|
@@ -3486,7 +3486,7 @@ const deserializeAws_restJson1CreateExportCommandError = async (output, context)
|
|
|
3486
3486
|
$fault: "client",
|
|
3487
3487
|
$metadata: deserializeMetadata(output),
|
|
3488
3488
|
});
|
|
3489
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3489
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3490
3490
|
}
|
|
3491
3491
|
};
|
|
3492
3492
|
const deserializeAws_restJson1CreateIntentCommand = async (output, context) => {
|
|
@@ -3512,18 +3512,18 @@ const deserializeAws_restJson1CreateIntentCommand = async (output, context) => {
|
|
|
3512
3512
|
parentIntentSignature: undefined,
|
|
3513
3513
|
sampleUtterances: undefined,
|
|
3514
3514
|
};
|
|
3515
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3515
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3516
3516
|
if (data.botId !== undefined && data.botId !== null) {
|
|
3517
|
-
contents.botId = smithy_client_1.expectString(data.botId);
|
|
3517
|
+
contents.botId = (0, smithy_client_1.expectString)(data.botId);
|
|
3518
3518
|
}
|
|
3519
3519
|
if (data.botVersion !== undefined && data.botVersion !== null) {
|
|
3520
|
-
contents.botVersion = smithy_client_1.expectString(data.botVersion);
|
|
3520
|
+
contents.botVersion = (0, smithy_client_1.expectString)(data.botVersion);
|
|
3521
3521
|
}
|
|
3522
3522
|
if (data.creationDateTime !== undefined && data.creationDateTime !== null) {
|
|
3523
|
-
contents.creationDateTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.creationDateTime)));
|
|
3523
|
+
contents.creationDateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.creationDateTime)));
|
|
3524
3524
|
}
|
|
3525
3525
|
if (data.description !== undefined && data.description !== null) {
|
|
3526
|
-
contents.description = smithy_client_1.expectString(data.description);
|
|
3526
|
+
contents.description = (0, smithy_client_1.expectString)(data.description);
|
|
3527
3527
|
}
|
|
3528
3528
|
if (data.dialogCodeHook !== undefined && data.dialogCodeHook !== null) {
|
|
3529
3529
|
contents.dialogCodeHook = deserializeAws_restJson1DialogCodeHookSettings(data.dialogCodeHook, context);
|
|
@@ -3541,22 +3541,22 @@ const deserializeAws_restJson1CreateIntentCommand = async (output, context) => {
|
|
|
3541
3541
|
contents.intentConfirmationSetting = deserializeAws_restJson1IntentConfirmationSetting(data.intentConfirmationSetting, context);
|
|
3542
3542
|
}
|
|
3543
3543
|
if (data.intentId !== undefined && data.intentId !== null) {
|
|
3544
|
-
contents.intentId = smithy_client_1.expectString(data.intentId);
|
|
3544
|
+
contents.intentId = (0, smithy_client_1.expectString)(data.intentId);
|
|
3545
3545
|
}
|
|
3546
3546
|
if (data.intentName !== undefined && data.intentName !== null) {
|
|
3547
|
-
contents.intentName = smithy_client_1.expectString(data.intentName);
|
|
3547
|
+
contents.intentName = (0, smithy_client_1.expectString)(data.intentName);
|
|
3548
3548
|
}
|
|
3549
3549
|
if (data.kendraConfiguration !== undefined && data.kendraConfiguration !== null) {
|
|
3550
3550
|
contents.kendraConfiguration = deserializeAws_restJson1KendraConfiguration(data.kendraConfiguration, context);
|
|
3551
3551
|
}
|
|
3552
3552
|
if (data.localeId !== undefined && data.localeId !== null) {
|
|
3553
|
-
contents.localeId = smithy_client_1.expectString(data.localeId);
|
|
3553
|
+
contents.localeId = (0, smithy_client_1.expectString)(data.localeId);
|
|
3554
3554
|
}
|
|
3555
3555
|
if (data.outputContexts !== undefined && data.outputContexts !== null) {
|
|
3556
3556
|
contents.outputContexts = deserializeAws_restJson1OutputContextsList(data.outputContexts, context);
|
|
3557
3557
|
}
|
|
3558
3558
|
if (data.parentIntentSignature !== undefined && data.parentIntentSignature !== null) {
|
|
3559
|
-
contents.parentIntentSignature = smithy_client_1.expectString(data.parentIntentSignature);
|
|
3559
|
+
contents.parentIntentSignature = (0, smithy_client_1.expectString)(data.parentIntentSignature);
|
|
3560
3560
|
}
|
|
3561
3561
|
if (data.sampleUtterances !== undefined && data.sampleUtterances !== null) {
|
|
3562
3562
|
contents.sampleUtterances = deserializeAws_restJson1SampleUtterancesList(data.sampleUtterances, context);
|
|
@@ -3598,7 +3598,7 @@ const deserializeAws_restJson1CreateIntentCommandError = async (output, context)
|
|
|
3598
3598
|
$fault: "client",
|
|
3599
3599
|
$metadata: deserializeMetadata(output),
|
|
3600
3600
|
});
|
|
3601
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3601
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3602
3602
|
}
|
|
3603
3603
|
};
|
|
3604
3604
|
const deserializeAws_restJson1CreateResourcePolicyCommand = async (output, context) => {
|
|
@@ -3610,12 +3610,12 @@ const deserializeAws_restJson1CreateResourcePolicyCommand = async (output, conte
|
|
|
3610
3610
|
resourceArn: undefined,
|
|
3611
3611
|
revisionId: undefined,
|
|
3612
3612
|
};
|
|
3613
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3613
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3614
3614
|
if (data.resourceArn !== undefined && data.resourceArn !== null) {
|
|
3615
|
-
contents.resourceArn = smithy_client_1.expectString(data.resourceArn);
|
|
3615
|
+
contents.resourceArn = (0, smithy_client_1.expectString)(data.resourceArn);
|
|
3616
3616
|
}
|
|
3617
3617
|
if (data.revisionId !== undefined && data.revisionId !== null) {
|
|
3618
|
-
contents.revisionId = smithy_client_1.expectString(data.revisionId);
|
|
3618
|
+
contents.revisionId = (0, smithy_client_1.expectString)(data.revisionId);
|
|
3619
3619
|
}
|
|
3620
3620
|
return Promise.resolve(contents);
|
|
3621
3621
|
};
|
|
@@ -3654,7 +3654,7 @@ const deserializeAws_restJson1CreateResourcePolicyCommandError = async (output,
|
|
|
3654
3654
|
$fault: "client",
|
|
3655
3655
|
$metadata: deserializeMetadata(output),
|
|
3656
3656
|
});
|
|
3657
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3657
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3658
3658
|
}
|
|
3659
3659
|
};
|
|
3660
3660
|
const deserializeAws_restJson1CreateResourcePolicyStatementCommand = async (output, context) => {
|
|
@@ -3666,12 +3666,12 @@ const deserializeAws_restJson1CreateResourcePolicyStatementCommand = async (outp
|
|
|
3666
3666
|
resourceArn: undefined,
|
|
3667
3667
|
revisionId: undefined,
|
|
3668
3668
|
};
|
|
3669
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3669
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3670
3670
|
if (data.resourceArn !== undefined && data.resourceArn !== null) {
|
|
3671
|
-
contents.resourceArn = smithy_client_1.expectString(data.resourceArn);
|
|
3671
|
+
contents.resourceArn = (0, smithy_client_1.expectString)(data.resourceArn);
|
|
3672
3672
|
}
|
|
3673
3673
|
if (data.revisionId !== undefined && data.revisionId !== null) {
|
|
3674
|
-
contents.revisionId = smithy_client_1.expectString(data.revisionId);
|
|
3674
|
+
contents.revisionId = (0, smithy_client_1.expectString)(data.revisionId);
|
|
3675
3675
|
}
|
|
3676
3676
|
return Promise.resolve(contents);
|
|
3677
3677
|
};
|
|
@@ -3713,7 +3713,7 @@ const deserializeAws_restJson1CreateResourcePolicyStatementCommandError = async
|
|
|
3713
3713
|
$fault: "client",
|
|
3714
3714
|
$metadata: deserializeMetadata(output),
|
|
3715
3715
|
});
|
|
3716
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3716
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3717
3717
|
}
|
|
3718
3718
|
};
|
|
3719
3719
|
const deserializeAws_restJson1CreateSlotCommand = async (output, context) => {
|
|
@@ -3735,24 +3735,24 @@ const deserializeAws_restJson1CreateSlotCommand = async (output, context) => {
|
|
|
3735
3735
|
slotTypeId: undefined,
|
|
3736
3736
|
valueElicitationSetting: undefined,
|
|
3737
3737
|
};
|
|
3738
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3738
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3739
3739
|
if (data.botId !== undefined && data.botId !== null) {
|
|
3740
|
-
contents.botId = smithy_client_1.expectString(data.botId);
|
|
3740
|
+
contents.botId = (0, smithy_client_1.expectString)(data.botId);
|
|
3741
3741
|
}
|
|
3742
3742
|
if (data.botVersion !== undefined && data.botVersion !== null) {
|
|
3743
|
-
contents.botVersion = smithy_client_1.expectString(data.botVersion);
|
|
3743
|
+
contents.botVersion = (0, smithy_client_1.expectString)(data.botVersion);
|
|
3744
3744
|
}
|
|
3745
3745
|
if (data.creationDateTime !== undefined && data.creationDateTime !== null) {
|
|
3746
|
-
contents.creationDateTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.creationDateTime)));
|
|
3746
|
+
contents.creationDateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.creationDateTime)));
|
|
3747
3747
|
}
|
|
3748
3748
|
if (data.description !== undefined && data.description !== null) {
|
|
3749
|
-
contents.description = smithy_client_1.expectString(data.description);
|
|
3749
|
+
contents.description = (0, smithy_client_1.expectString)(data.description);
|
|
3750
3750
|
}
|
|
3751
3751
|
if (data.intentId !== undefined && data.intentId !== null) {
|
|
3752
|
-
contents.intentId = smithy_client_1.expectString(data.intentId);
|
|
3752
|
+
contents.intentId = (0, smithy_client_1.expectString)(data.intentId);
|
|
3753
3753
|
}
|
|
3754
3754
|
if (data.localeId !== undefined && data.localeId !== null) {
|
|
3755
|
-
contents.localeId = smithy_client_1.expectString(data.localeId);
|
|
3755
|
+
contents.localeId = (0, smithy_client_1.expectString)(data.localeId);
|
|
3756
3756
|
}
|
|
3757
3757
|
if (data.multipleValuesSetting !== undefined && data.multipleValuesSetting !== null) {
|
|
3758
3758
|
contents.multipleValuesSetting = deserializeAws_restJson1MultipleValuesSetting(data.multipleValuesSetting, context);
|
|
@@ -3761,13 +3761,13 @@ const deserializeAws_restJson1CreateSlotCommand = async (output, context) => {
|
|
|
3761
3761
|
contents.obfuscationSetting = deserializeAws_restJson1ObfuscationSetting(data.obfuscationSetting, context);
|
|
3762
3762
|
}
|
|
3763
3763
|
if (data.slotId !== undefined && data.slotId !== null) {
|
|
3764
|
-
contents.slotId = smithy_client_1.expectString(data.slotId);
|
|
3764
|
+
contents.slotId = (0, smithy_client_1.expectString)(data.slotId);
|
|
3765
3765
|
}
|
|
3766
3766
|
if (data.slotName !== undefined && data.slotName !== null) {
|
|
3767
|
-
contents.slotName = smithy_client_1.expectString(data.slotName);
|
|
3767
|
+
contents.slotName = (0, smithy_client_1.expectString)(data.slotName);
|
|
3768
3768
|
}
|
|
3769
3769
|
if (data.slotTypeId !== undefined && data.slotTypeId !== null) {
|
|
3770
|
-
contents.slotTypeId = smithy_client_1.expectString(data.slotTypeId);
|
|
3770
|
+
contents.slotTypeId = (0, smithy_client_1.expectString)(data.slotTypeId);
|
|
3771
3771
|
}
|
|
3772
3772
|
if (data.valueElicitationSetting !== undefined && data.valueElicitationSetting !== null) {
|
|
3773
3773
|
contents.valueElicitationSetting = deserializeAws_restJson1SlotValueElicitationSetting(data.valueElicitationSetting, context);
|
|
@@ -3809,7 +3809,7 @@ const deserializeAws_restJson1CreateSlotCommandError = async (output, context) =
|
|
|
3809
3809
|
$fault: "client",
|
|
3810
3810
|
$metadata: deserializeMetadata(output),
|
|
3811
3811
|
});
|
|
3812
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3812
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3813
3813
|
}
|
|
3814
3814
|
};
|
|
3815
3815
|
const deserializeAws_restJson1CreateSlotTypeCommand = async (output, context) => {
|
|
@@ -3830,33 +3830,33 @@ const deserializeAws_restJson1CreateSlotTypeCommand = async (output, context) =>
|
|
|
3830
3830
|
slotTypeValues: undefined,
|
|
3831
3831
|
valueSelectionSetting: undefined,
|
|
3832
3832
|
};
|
|
3833
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3833
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3834
3834
|
if (data.botId !== undefined && data.botId !== null) {
|
|
3835
|
-
contents.botId = smithy_client_1.expectString(data.botId);
|
|
3835
|
+
contents.botId = (0, smithy_client_1.expectString)(data.botId);
|
|
3836
3836
|
}
|
|
3837
3837
|
if (data.botVersion !== undefined && data.botVersion !== null) {
|
|
3838
|
-
contents.botVersion = smithy_client_1.expectString(data.botVersion);
|
|
3838
|
+
contents.botVersion = (0, smithy_client_1.expectString)(data.botVersion);
|
|
3839
3839
|
}
|
|
3840
3840
|
if (data.creationDateTime !== undefined && data.creationDateTime !== null) {
|
|
3841
|
-
contents.creationDateTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.creationDateTime)));
|
|
3841
|
+
contents.creationDateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.creationDateTime)));
|
|
3842
3842
|
}
|
|
3843
3843
|
if (data.description !== undefined && data.description !== null) {
|
|
3844
|
-
contents.description = smithy_client_1.expectString(data.description);
|
|
3844
|
+
contents.description = (0, smithy_client_1.expectString)(data.description);
|
|
3845
3845
|
}
|
|
3846
3846
|
if (data.externalSourceSetting !== undefined && data.externalSourceSetting !== null) {
|
|
3847
3847
|
contents.externalSourceSetting = deserializeAws_restJson1ExternalSourceSetting(data.externalSourceSetting, context);
|
|
3848
3848
|
}
|
|
3849
3849
|
if (data.localeId !== undefined && data.localeId !== null) {
|
|
3850
|
-
contents.localeId = smithy_client_1.expectString(data.localeId);
|
|
3850
|
+
contents.localeId = (0, smithy_client_1.expectString)(data.localeId);
|
|
3851
3851
|
}
|
|
3852
3852
|
if (data.parentSlotTypeSignature !== undefined && data.parentSlotTypeSignature !== null) {
|
|
3853
|
-
contents.parentSlotTypeSignature = smithy_client_1.expectString(data.parentSlotTypeSignature);
|
|
3853
|
+
contents.parentSlotTypeSignature = (0, smithy_client_1.expectString)(data.parentSlotTypeSignature);
|
|
3854
3854
|
}
|
|
3855
3855
|
if (data.slotTypeId !== undefined && data.slotTypeId !== null) {
|
|
3856
|
-
contents.slotTypeId = smithy_client_1.expectString(data.slotTypeId);
|
|
3856
|
+
contents.slotTypeId = (0, smithy_client_1.expectString)(data.slotTypeId);
|
|
3857
3857
|
}
|
|
3858
3858
|
if (data.slotTypeName !== undefined && data.slotTypeName !== null) {
|
|
3859
|
-
contents.slotTypeName = smithy_client_1.expectString(data.slotTypeName);
|
|
3859
|
+
contents.slotTypeName = (0, smithy_client_1.expectString)(data.slotTypeName);
|
|
3860
3860
|
}
|
|
3861
3861
|
if (data.slotTypeValues !== undefined && data.slotTypeValues !== null) {
|
|
3862
3862
|
contents.slotTypeValues = deserializeAws_restJson1SlotTypeValues(data.slotTypeValues, context);
|
|
@@ -3901,7 +3901,7 @@ const deserializeAws_restJson1CreateSlotTypeCommandError = async (output, contex
|
|
|
3901
3901
|
$fault: "client",
|
|
3902
3902
|
$metadata: deserializeMetadata(output),
|
|
3903
3903
|
});
|
|
3904
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3904
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3905
3905
|
}
|
|
3906
3906
|
};
|
|
3907
3907
|
const deserializeAws_restJson1CreateUploadUrlCommand = async (output, context) => {
|
|
@@ -3913,12 +3913,12 @@ const deserializeAws_restJson1CreateUploadUrlCommand = async (output, context) =
|
|
|
3913
3913
|
importId: undefined,
|
|
3914
3914
|
uploadUrl: undefined,
|
|
3915
3915
|
};
|
|
3916
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3916
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3917
3917
|
if (data.importId !== undefined && data.importId !== null) {
|
|
3918
|
-
contents.importId = smithy_client_1.expectString(data.importId);
|
|
3918
|
+
contents.importId = (0, smithy_client_1.expectString)(data.importId);
|
|
3919
3919
|
}
|
|
3920
3920
|
if (data.uploadUrl !== undefined && data.uploadUrl !== null) {
|
|
3921
|
-
contents.uploadUrl = smithy_client_1.expectString(data.uploadUrl);
|
|
3921
|
+
contents.uploadUrl = (0, smithy_client_1.expectString)(data.uploadUrl);
|
|
3922
3922
|
}
|
|
3923
3923
|
return Promise.resolve(contents);
|
|
3924
3924
|
};
|
|
@@ -3954,7 +3954,7 @@ const deserializeAws_restJson1CreateUploadUrlCommandError = async (output, conte
|
|
|
3954
3954
|
$fault: "client",
|
|
3955
3955
|
$metadata: deserializeMetadata(output),
|
|
3956
3956
|
});
|
|
3957
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3957
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3958
3958
|
}
|
|
3959
3959
|
};
|
|
3960
3960
|
const deserializeAws_restJson1DeleteBotCommand = async (output, context) => {
|
|
@@ -3966,12 +3966,12 @@ const deserializeAws_restJson1DeleteBotCommand = async (output, context) => {
|
|
|
3966
3966
|
botId: undefined,
|
|
3967
3967
|
botStatus: undefined,
|
|
3968
3968
|
};
|
|
3969
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3969
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3970
3970
|
if (data.botId !== undefined && data.botId !== null) {
|
|
3971
|
-
contents.botId = smithy_client_1.expectString(data.botId);
|
|
3971
|
+
contents.botId = (0, smithy_client_1.expectString)(data.botId);
|
|
3972
3972
|
}
|
|
3973
3973
|
if (data.botStatus !== undefined && data.botStatus !== null) {
|
|
3974
|
-
contents.botStatus = smithy_client_1.expectString(data.botStatus);
|
|
3974
|
+
contents.botStatus = (0, smithy_client_1.expectString)(data.botStatus);
|
|
3975
3975
|
}
|
|
3976
3976
|
return Promise.resolve(contents);
|
|
3977
3977
|
};
|
|
@@ -4010,7 +4010,7 @@ const deserializeAws_restJson1DeleteBotCommandError = async (output, context) =>
|
|
|
4010
4010
|
$fault: "client",
|
|
4011
4011
|
$metadata: deserializeMetadata(output),
|
|
4012
4012
|
});
|
|
4013
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4013
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4014
4014
|
}
|
|
4015
4015
|
};
|
|
4016
4016
|
const deserializeAws_restJson1DeleteBotAliasCommand = async (output, context) => {
|
|
@@ -4023,15 +4023,15 @@ const deserializeAws_restJson1DeleteBotAliasCommand = async (output, context) =>
|
|
|
4023
4023
|
botAliasStatus: undefined,
|
|
4024
4024
|
botId: undefined,
|
|
4025
4025
|
};
|
|
4026
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4026
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4027
4027
|
if (data.botAliasId !== undefined && data.botAliasId !== null) {
|
|
4028
|
-
contents.botAliasId = smithy_client_1.expectString(data.botAliasId);
|
|
4028
|
+
contents.botAliasId = (0, smithy_client_1.expectString)(data.botAliasId);
|
|
4029
4029
|
}
|
|
4030
4030
|
if (data.botAliasStatus !== undefined && data.botAliasStatus !== null) {
|
|
4031
|
-
contents.botAliasStatus = smithy_client_1.expectString(data.botAliasStatus);
|
|
4031
|
+
contents.botAliasStatus = (0, smithy_client_1.expectString)(data.botAliasStatus);
|
|
4032
4032
|
}
|
|
4033
4033
|
if (data.botId !== undefined && data.botId !== null) {
|
|
4034
|
-
contents.botId = smithy_client_1.expectString(data.botId);
|
|
4034
|
+
contents.botId = (0, smithy_client_1.expectString)(data.botId);
|
|
4035
4035
|
}
|
|
4036
4036
|
return Promise.resolve(contents);
|
|
4037
4037
|
};
|
|
@@ -4070,7 +4070,7 @@ const deserializeAws_restJson1DeleteBotAliasCommandError = async (output, contex
|
|
|
4070
4070
|
$fault: "client",
|
|
4071
4071
|
$metadata: deserializeMetadata(output),
|
|
4072
4072
|
});
|
|
4073
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4073
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4074
4074
|
}
|
|
4075
4075
|
};
|
|
4076
4076
|
const deserializeAws_restJson1DeleteBotLocaleCommand = async (output, context) => {
|
|
@@ -4084,18 +4084,18 @@ const deserializeAws_restJson1DeleteBotLocaleCommand = async (output, context) =
|
|
|
4084
4084
|
botVersion: undefined,
|
|
4085
4085
|
localeId: undefined,
|
|
4086
4086
|
};
|
|
4087
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4087
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4088
4088
|
if (data.botId !== undefined && data.botId !== null) {
|
|
4089
|
-
contents.botId = smithy_client_1.expectString(data.botId);
|
|
4089
|
+
contents.botId = (0, smithy_client_1.expectString)(data.botId);
|
|
4090
4090
|
}
|
|
4091
4091
|
if (data.botLocaleStatus !== undefined && data.botLocaleStatus !== null) {
|
|
4092
|
-
contents.botLocaleStatus = smithy_client_1.expectString(data.botLocaleStatus);
|
|
4092
|
+
contents.botLocaleStatus = (0, smithy_client_1.expectString)(data.botLocaleStatus);
|
|
4093
4093
|
}
|
|
4094
4094
|
if (data.botVersion !== undefined && data.botVersion !== null) {
|
|
4095
|
-
contents.botVersion = smithy_client_1.expectString(data.botVersion);
|
|
4095
|
+
contents.botVersion = (0, smithy_client_1.expectString)(data.botVersion);
|
|
4096
4096
|
}
|
|
4097
4097
|
if (data.localeId !== undefined && data.localeId !== null) {
|
|
4098
|
-
contents.localeId = smithy_client_1.expectString(data.localeId);
|
|
4098
|
+
contents.localeId = (0, smithy_client_1.expectString)(data.localeId);
|
|
4099
4099
|
}
|
|
4100
4100
|
return Promise.resolve(contents);
|
|
4101
4101
|
};
|
|
@@ -4134,7 +4134,7 @@ const deserializeAws_restJson1DeleteBotLocaleCommandError = async (output, conte
|
|
|
4134
4134
|
$fault: "client",
|
|
4135
4135
|
$metadata: deserializeMetadata(output),
|
|
4136
4136
|
});
|
|
4137
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4137
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4138
4138
|
}
|
|
4139
4139
|
};
|
|
4140
4140
|
const deserializeAws_restJson1DeleteBotVersionCommand = async (output, context) => {
|
|
@@ -4147,15 +4147,15 @@ const deserializeAws_restJson1DeleteBotVersionCommand = async (output, context)
|
|
|
4147
4147
|
botStatus: undefined,
|
|
4148
4148
|
botVersion: undefined,
|
|
4149
4149
|
};
|
|
4150
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4150
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4151
4151
|
if (data.botId !== undefined && data.botId !== null) {
|
|
4152
|
-
contents.botId = smithy_client_1.expectString(data.botId);
|
|
4152
|
+
contents.botId = (0, smithy_client_1.expectString)(data.botId);
|
|
4153
4153
|
}
|
|
4154
4154
|
if (data.botStatus !== undefined && data.botStatus !== null) {
|
|
4155
|
-
contents.botStatus = smithy_client_1.expectString(data.botStatus);
|
|
4155
|
+
contents.botStatus = (0, smithy_client_1.expectString)(data.botStatus);
|
|
4156
4156
|
}
|
|
4157
4157
|
if (data.botVersion !== undefined && data.botVersion !== null) {
|
|
4158
|
-
contents.botVersion = smithy_client_1.expectString(data.botVersion);
|
|
4158
|
+
contents.botVersion = (0, smithy_client_1.expectString)(data.botVersion);
|
|
4159
4159
|
}
|
|
4160
4160
|
return Promise.resolve(contents);
|
|
4161
4161
|
};
|
|
@@ -4194,7 +4194,7 @@ const deserializeAws_restJson1DeleteBotVersionCommandError = async (output, cont
|
|
|
4194
4194
|
$fault: "client",
|
|
4195
4195
|
$metadata: deserializeMetadata(output),
|
|
4196
4196
|
});
|
|
4197
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4197
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4198
4198
|
}
|
|
4199
4199
|
};
|
|
4200
4200
|
const deserializeAws_restJson1DeleteCustomVocabularyCommand = async (output, context) => {
|
|
@@ -4208,18 +4208,18 @@ const deserializeAws_restJson1DeleteCustomVocabularyCommand = async (output, con
|
|
|
4208
4208
|
customVocabularyStatus: undefined,
|
|
4209
4209
|
localeId: undefined,
|
|
4210
4210
|
};
|
|
4211
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4211
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4212
4212
|
if (data.botId !== undefined && data.botId !== null) {
|
|
4213
|
-
contents.botId = smithy_client_1.expectString(data.botId);
|
|
4213
|
+
contents.botId = (0, smithy_client_1.expectString)(data.botId);
|
|
4214
4214
|
}
|
|
4215
4215
|
if (data.botVersion !== undefined && data.botVersion !== null) {
|
|
4216
|
-
contents.botVersion = smithy_client_1.expectString(data.botVersion);
|
|
4216
|
+
contents.botVersion = (0, smithy_client_1.expectString)(data.botVersion);
|
|
4217
4217
|
}
|
|
4218
4218
|
if (data.customVocabularyStatus !== undefined && data.customVocabularyStatus !== null) {
|
|
4219
|
-
contents.customVocabularyStatus = smithy_client_1.expectString(data.customVocabularyStatus);
|
|
4219
|
+
contents.customVocabularyStatus = (0, smithy_client_1.expectString)(data.customVocabularyStatus);
|
|
4220
4220
|
}
|
|
4221
4221
|
if (data.localeId !== undefined && data.localeId !== null) {
|
|
4222
|
-
contents.localeId = smithy_client_1.expectString(data.localeId);
|
|
4222
|
+
contents.localeId = (0, smithy_client_1.expectString)(data.localeId);
|
|
4223
4223
|
}
|
|
4224
4224
|
return Promise.resolve(contents);
|
|
4225
4225
|
};
|
|
@@ -4258,7 +4258,7 @@ const deserializeAws_restJson1DeleteCustomVocabularyCommandError = async (output
|
|
|
4258
4258
|
$fault: "client",
|
|
4259
4259
|
$metadata: deserializeMetadata(output),
|
|
4260
4260
|
});
|
|
4261
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4261
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4262
4262
|
}
|
|
4263
4263
|
};
|
|
4264
4264
|
const deserializeAws_restJson1DeleteExportCommand = async (output, context) => {
|
|
@@ -4270,12 +4270,12 @@ const deserializeAws_restJson1DeleteExportCommand = async (output, context) => {
|
|
|
4270
4270
|
exportId: undefined,
|
|
4271
4271
|
exportStatus: undefined,
|
|
4272
4272
|
};
|
|
4273
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4273
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4274
4274
|
if (data.exportId !== undefined && data.exportId !== null) {
|
|
4275
|
-
contents.exportId = smithy_client_1.expectString(data.exportId);
|
|
4275
|
+
contents.exportId = (0, smithy_client_1.expectString)(data.exportId);
|
|
4276
4276
|
}
|
|
4277
4277
|
if (data.exportStatus !== undefined && data.exportStatus !== null) {
|
|
4278
|
-
contents.exportStatus = smithy_client_1.expectString(data.exportStatus);
|
|
4278
|
+
contents.exportStatus = (0, smithy_client_1.expectString)(data.exportStatus);
|
|
4279
4279
|
}
|
|
4280
4280
|
return Promise.resolve(contents);
|
|
4281
4281
|
};
|
|
@@ -4311,7 +4311,7 @@ const deserializeAws_restJson1DeleteExportCommandError = async (output, context)
|
|
|
4311
4311
|
$fault: "client",
|
|
4312
4312
|
$metadata: deserializeMetadata(output),
|
|
4313
4313
|
});
|
|
4314
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4314
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4315
4315
|
}
|
|
4316
4316
|
};
|
|
4317
4317
|
const deserializeAws_restJson1DeleteImportCommand = async (output, context) => {
|
|
@@ -4323,12 +4323,12 @@ const deserializeAws_restJson1DeleteImportCommand = async (output, context) => {
|
|
|
4323
4323
|
importId: undefined,
|
|
4324
4324
|
importStatus: undefined,
|
|
4325
4325
|
};
|
|
4326
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4326
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4327
4327
|
if (data.importId !== undefined && data.importId !== null) {
|
|
4328
|
-
contents.importId = smithy_client_1.expectString(data.importId);
|
|
4328
|
+
contents.importId = (0, smithy_client_1.expectString)(data.importId);
|
|
4329
4329
|
}
|
|
4330
4330
|
if (data.importStatus !== undefined && data.importStatus !== null) {
|
|
4331
|
-
contents.importStatus = smithy_client_1.expectString(data.importStatus);
|
|
4331
|
+
contents.importStatus = (0, smithy_client_1.expectString)(data.importStatus);
|
|
4332
4332
|
}
|
|
4333
4333
|
return Promise.resolve(contents);
|
|
4334
4334
|
};
|
|
@@ -4364,7 +4364,7 @@ const deserializeAws_restJson1DeleteImportCommandError = async (output, context)
|
|
|
4364
4364
|
$fault: "client",
|
|
4365
4365
|
$metadata: deserializeMetadata(output),
|
|
4366
4366
|
});
|
|
4367
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4367
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4368
4368
|
}
|
|
4369
4369
|
};
|
|
4370
4370
|
const deserializeAws_restJson1DeleteIntentCommand = async (output, context) => {
|
|
@@ -4412,7 +4412,7 @@ const deserializeAws_restJson1DeleteIntentCommandError = async (output, context)
|
|
|
4412
4412
|
$fault: "client",
|
|
4413
4413
|
$metadata: deserializeMetadata(output),
|
|
4414
4414
|
});
|
|
4415
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4415
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4416
4416
|
}
|
|
4417
4417
|
};
|
|
4418
4418
|
const deserializeAws_restJson1DeleteResourcePolicyCommand = async (output, context) => {
|
|
@@ -4424,12 +4424,12 @@ const deserializeAws_restJson1DeleteResourcePolicyCommand = async (output, conte
|
|
|
4424
4424
|
resourceArn: undefined,
|
|
4425
4425
|
revisionId: undefined,
|
|
4426
4426
|
};
|
|
4427
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4427
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4428
4428
|
if (data.resourceArn !== undefined && data.resourceArn !== null) {
|
|
4429
|
-
contents.resourceArn = smithy_client_1.expectString(data.resourceArn);
|
|
4429
|
+
contents.resourceArn = (0, smithy_client_1.expectString)(data.resourceArn);
|
|
4430
4430
|
}
|
|
4431
4431
|
if (data.revisionId !== undefined && data.revisionId !== null) {
|
|
4432
|
-
contents.revisionId = smithy_client_1.expectString(data.revisionId);
|
|
4432
|
+
contents.revisionId = (0, smithy_client_1.expectString)(data.revisionId);
|
|
4433
4433
|
}
|
|
4434
4434
|
return Promise.resolve(contents);
|
|
4435
4435
|
};
|
|
@@ -4462,7 +4462,7 @@ const deserializeAws_restJson1DeleteResourcePolicyCommandError = async (output,
|
|
|
4462
4462
|
$fault: "client",
|
|
4463
4463
|
$metadata: deserializeMetadata(output),
|
|
4464
4464
|
});
|
|
4465
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4465
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4466
4466
|
}
|
|
4467
4467
|
};
|
|
4468
4468
|
const deserializeAws_restJson1DeleteResourcePolicyStatementCommand = async (output, context) => {
|
|
@@ -4474,12 +4474,12 @@ const deserializeAws_restJson1DeleteResourcePolicyStatementCommand = async (outp
|
|
|
4474
4474
|
resourceArn: undefined,
|
|
4475
4475
|
revisionId: undefined,
|
|
4476
4476
|
};
|
|
4477
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4477
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4478
4478
|
if (data.resourceArn !== undefined && data.resourceArn !== null) {
|
|
4479
|
-
contents.resourceArn = smithy_client_1.expectString(data.resourceArn);
|
|
4479
|
+
contents.resourceArn = (0, smithy_client_1.expectString)(data.resourceArn);
|
|
4480
4480
|
}
|
|
4481
4481
|
if (data.revisionId !== undefined && data.revisionId !== null) {
|
|
4482
|
-
contents.revisionId = smithy_client_1.expectString(data.revisionId);
|
|
4482
|
+
contents.revisionId = (0, smithy_client_1.expectString)(data.revisionId);
|
|
4483
4483
|
}
|
|
4484
4484
|
return Promise.resolve(contents);
|
|
4485
4485
|
};
|
|
@@ -4512,7 +4512,7 @@ const deserializeAws_restJson1DeleteResourcePolicyStatementCommandError = async
|
|
|
4512
4512
|
$fault: "client",
|
|
4513
4513
|
$metadata: deserializeMetadata(output),
|
|
4514
4514
|
});
|
|
4515
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4515
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4516
4516
|
}
|
|
4517
4517
|
};
|
|
4518
4518
|
const deserializeAws_restJson1DeleteSlotCommand = async (output, context) => {
|
|
@@ -4560,7 +4560,7 @@ const deserializeAws_restJson1DeleteSlotCommandError = async (output, context) =
|
|
|
4560
4560
|
$fault: "client",
|
|
4561
4561
|
$metadata: deserializeMetadata(output),
|
|
4562
4562
|
});
|
|
4563
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4563
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4564
4564
|
}
|
|
4565
4565
|
};
|
|
4566
4566
|
const deserializeAws_restJson1DeleteSlotTypeCommand = async (output, context) => {
|
|
@@ -4608,7 +4608,7 @@ const deserializeAws_restJson1DeleteSlotTypeCommandError = async (output, contex
|
|
|
4608
4608
|
$fault: "client",
|
|
4609
4609
|
$metadata: deserializeMetadata(output),
|
|
4610
4610
|
});
|
|
4611
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4611
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4612
4612
|
}
|
|
4613
4613
|
};
|
|
4614
4614
|
const deserializeAws_restJson1DeleteUtterancesCommand = async (output, context) => {
|
|
@@ -4647,7 +4647,7 @@ const deserializeAws_restJson1DeleteUtterancesCommandError = async (output, cont
|
|
|
4647
4647
|
$fault: "client",
|
|
4648
4648
|
$metadata: deserializeMetadata(output),
|
|
4649
4649
|
});
|
|
4650
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4650
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4651
4651
|
}
|
|
4652
4652
|
};
|
|
4653
4653
|
const deserializeAws_restJson1DescribeBotCommand = async (output, context) => {
|
|
@@ -4666,33 +4666,33 @@ const deserializeAws_restJson1DescribeBotCommand = async (output, context) => {
|
|
|
4666
4666
|
lastUpdatedDateTime: undefined,
|
|
4667
4667
|
roleArn: undefined,
|
|
4668
4668
|
};
|
|
4669
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4669
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4670
4670
|
if (data.botId !== undefined && data.botId !== null) {
|
|
4671
|
-
contents.botId = smithy_client_1.expectString(data.botId);
|
|
4671
|
+
contents.botId = (0, smithy_client_1.expectString)(data.botId);
|
|
4672
4672
|
}
|
|
4673
4673
|
if (data.botName !== undefined && data.botName !== null) {
|
|
4674
|
-
contents.botName = smithy_client_1.expectString(data.botName);
|
|
4674
|
+
contents.botName = (0, smithy_client_1.expectString)(data.botName);
|
|
4675
4675
|
}
|
|
4676
4676
|
if (data.botStatus !== undefined && data.botStatus !== null) {
|
|
4677
|
-
contents.botStatus = smithy_client_1.expectString(data.botStatus);
|
|
4677
|
+
contents.botStatus = (0, smithy_client_1.expectString)(data.botStatus);
|
|
4678
4678
|
}
|
|
4679
4679
|
if (data.creationDateTime !== undefined && data.creationDateTime !== null) {
|
|
4680
|
-
contents.creationDateTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.creationDateTime)));
|
|
4680
|
+
contents.creationDateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.creationDateTime)));
|
|
4681
4681
|
}
|
|
4682
4682
|
if (data.dataPrivacy !== undefined && data.dataPrivacy !== null) {
|
|
4683
4683
|
contents.dataPrivacy = deserializeAws_restJson1DataPrivacy(data.dataPrivacy, context);
|
|
4684
4684
|
}
|
|
4685
4685
|
if (data.description !== undefined && data.description !== null) {
|
|
4686
|
-
contents.description = smithy_client_1.expectString(data.description);
|
|
4686
|
+
contents.description = (0, smithy_client_1.expectString)(data.description);
|
|
4687
4687
|
}
|
|
4688
4688
|
if (data.idleSessionTTLInSeconds !== undefined && data.idleSessionTTLInSeconds !== null) {
|
|
4689
|
-
contents.idleSessionTTLInSeconds = smithy_client_1.expectInt32(data.idleSessionTTLInSeconds);
|
|
4689
|
+
contents.idleSessionTTLInSeconds = (0, smithy_client_1.expectInt32)(data.idleSessionTTLInSeconds);
|
|
4690
4690
|
}
|
|
4691
4691
|
if (data.lastUpdatedDateTime !== undefined && data.lastUpdatedDateTime !== null) {
|
|
4692
|
-
contents.lastUpdatedDateTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.lastUpdatedDateTime)));
|
|
4692
|
+
contents.lastUpdatedDateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.lastUpdatedDateTime)));
|
|
4693
4693
|
}
|
|
4694
4694
|
if (data.roleArn !== undefined && data.roleArn !== null) {
|
|
4695
|
-
contents.roleArn = smithy_client_1.expectString(data.roleArn);
|
|
4695
|
+
contents.roleArn = (0, smithy_client_1.expectString)(data.roleArn);
|
|
4696
4696
|
}
|
|
4697
4697
|
return Promise.resolve(contents);
|
|
4698
4698
|
};
|
|
@@ -4728,7 +4728,7 @@ const deserializeAws_restJson1DescribeBotCommandError = async (output, context)
|
|
|
4728
4728
|
$fault: "client",
|
|
4729
4729
|
$metadata: deserializeMetadata(output),
|
|
4730
4730
|
});
|
|
4731
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4731
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4732
4732
|
}
|
|
4733
4733
|
};
|
|
4734
4734
|
const deserializeAws_restJson1DescribeBotAliasCommand = async (output, context) => {
|
|
@@ -4750,39 +4750,39 @@ const deserializeAws_restJson1DescribeBotAliasCommand = async (output, context)
|
|
|
4750
4750
|
lastUpdatedDateTime: undefined,
|
|
4751
4751
|
sentimentAnalysisSettings: undefined,
|
|
4752
4752
|
};
|
|
4753
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4753
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4754
4754
|
if (data.botAliasHistoryEvents !== undefined && data.botAliasHistoryEvents !== null) {
|
|
4755
4755
|
contents.botAliasHistoryEvents = deserializeAws_restJson1BotAliasHistoryEventsList(data.botAliasHistoryEvents, context);
|
|
4756
4756
|
}
|
|
4757
4757
|
if (data.botAliasId !== undefined && data.botAliasId !== null) {
|
|
4758
|
-
contents.botAliasId = smithy_client_1.expectString(data.botAliasId);
|
|
4758
|
+
contents.botAliasId = (0, smithy_client_1.expectString)(data.botAliasId);
|
|
4759
4759
|
}
|
|
4760
4760
|
if (data.botAliasLocaleSettings !== undefined && data.botAliasLocaleSettings !== null) {
|
|
4761
4761
|
contents.botAliasLocaleSettings = deserializeAws_restJson1BotAliasLocaleSettingsMap(data.botAliasLocaleSettings, context);
|
|
4762
4762
|
}
|
|
4763
4763
|
if (data.botAliasName !== undefined && data.botAliasName !== null) {
|
|
4764
|
-
contents.botAliasName = smithy_client_1.expectString(data.botAliasName);
|
|
4764
|
+
contents.botAliasName = (0, smithy_client_1.expectString)(data.botAliasName);
|
|
4765
4765
|
}
|
|
4766
4766
|
if (data.botAliasStatus !== undefined && data.botAliasStatus !== null) {
|
|
4767
|
-
contents.botAliasStatus = smithy_client_1.expectString(data.botAliasStatus);
|
|
4767
|
+
contents.botAliasStatus = (0, smithy_client_1.expectString)(data.botAliasStatus);
|
|
4768
4768
|
}
|
|
4769
4769
|
if (data.botId !== undefined && data.botId !== null) {
|
|
4770
|
-
contents.botId = smithy_client_1.expectString(data.botId);
|
|
4770
|
+
contents.botId = (0, smithy_client_1.expectString)(data.botId);
|
|
4771
4771
|
}
|
|
4772
4772
|
if (data.botVersion !== undefined && data.botVersion !== null) {
|
|
4773
|
-
contents.botVersion = smithy_client_1.expectString(data.botVersion);
|
|
4773
|
+
contents.botVersion = (0, smithy_client_1.expectString)(data.botVersion);
|
|
4774
4774
|
}
|
|
4775
4775
|
if (data.conversationLogSettings !== undefined && data.conversationLogSettings !== null) {
|
|
4776
4776
|
contents.conversationLogSettings = deserializeAws_restJson1ConversationLogSettings(data.conversationLogSettings, context);
|
|
4777
4777
|
}
|
|
4778
4778
|
if (data.creationDateTime !== undefined && data.creationDateTime !== null) {
|
|
4779
|
-
contents.creationDateTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.creationDateTime)));
|
|
4779
|
+
contents.creationDateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.creationDateTime)));
|
|
4780
4780
|
}
|
|
4781
4781
|
if (data.description !== undefined && data.description !== null) {
|
|
4782
|
-
contents.description = smithy_client_1.expectString(data.description);
|
|
4782
|
+
contents.description = (0, smithy_client_1.expectString)(data.description);
|
|
4783
4783
|
}
|
|
4784
4784
|
if (data.lastUpdatedDateTime !== undefined && data.lastUpdatedDateTime !== null) {
|
|
4785
|
-
contents.lastUpdatedDateTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.lastUpdatedDateTime)));
|
|
4785
|
+
contents.lastUpdatedDateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.lastUpdatedDateTime)));
|
|
4786
4786
|
}
|
|
4787
4787
|
if (data.sentimentAnalysisSettings !== undefined && data.sentimentAnalysisSettings !== null) {
|
|
4788
4788
|
contents.sentimentAnalysisSettings = deserializeAws_restJson1SentimentAnalysisSettings(data.sentimentAnalysisSettings, context);
|
|
@@ -4821,7 +4821,7 @@ const deserializeAws_restJson1DescribeBotAliasCommandError = async (output, cont
|
|
|
4821
4821
|
$fault: "client",
|
|
4822
4822
|
$metadata: deserializeMetadata(output),
|
|
4823
4823
|
});
|
|
4824
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4824
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4825
4825
|
}
|
|
4826
4826
|
};
|
|
4827
4827
|
const deserializeAws_restJson1DescribeBotLocaleCommand = async (output, context) => {
|
|
@@ -4847,51 +4847,51 @@ const deserializeAws_restJson1DescribeBotLocaleCommand = async (output, context)
|
|
|
4847
4847
|
slotTypesCount: undefined,
|
|
4848
4848
|
voiceSettings: undefined,
|
|
4849
4849
|
};
|
|
4850
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4850
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4851
4851
|
if (data.botId !== undefined && data.botId !== null) {
|
|
4852
|
-
contents.botId = smithy_client_1.expectString(data.botId);
|
|
4852
|
+
contents.botId = (0, smithy_client_1.expectString)(data.botId);
|
|
4853
4853
|
}
|
|
4854
4854
|
if (data.botLocaleHistoryEvents !== undefined && data.botLocaleHistoryEvents !== null) {
|
|
4855
4855
|
contents.botLocaleHistoryEvents = deserializeAws_restJson1BotLocaleHistoryEventsList(data.botLocaleHistoryEvents, context);
|
|
4856
4856
|
}
|
|
4857
4857
|
if (data.botLocaleStatus !== undefined && data.botLocaleStatus !== null) {
|
|
4858
|
-
contents.botLocaleStatus = smithy_client_1.expectString(data.botLocaleStatus);
|
|
4858
|
+
contents.botLocaleStatus = (0, smithy_client_1.expectString)(data.botLocaleStatus);
|
|
4859
4859
|
}
|
|
4860
4860
|
if (data.botVersion !== undefined && data.botVersion !== null) {
|
|
4861
|
-
contents.botVersion = smithy_client_1.expectString(data.botVersion);
|
|
4861
|
+
contents.botVersion = (0, smithy_client_1.expectString)(data.botVersion);
|
|
4862
4862
|
}
|
|
4863
4863
|
if (data.creationDateTime !== undefined && data.creationDateTime !== null) {
|
|
4864
|
-
contents.creationDateTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.creationDateTime)));
|
|
4864
|
+
contents.creationDateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.creationDateTime)));
|
|
4865
4865
|
}
|
|
4866
4866
|
if (data.description !== undefined && data.description !== null) {
|
|
4867
|
-
contents.description = smithy_client_1.expectString(data.description);
|
|
4867
|
+
contents.description = (0, smithy_client_1.expectString)(data.description);
|
|
4868
4868
|
}
|
|
4869
4869
|
if (data.failureReasons !== undefined && data.failureReasons !== null) {
|
|
4870
4870
|
contents.failureReasons = deserializeAws_restJson1FailureReasons(data.failureReasons, context);
|
|
4871
4871
|
}
|
|
4872
4872
|
if (data.intentsCount !== undefined && data.intentsCount !== null) {
|
|
4873
|
-
contents.intentsCount = smithy_client_1.expectInt32(data.intentsCount);
|
|
4873
|
+
contents.intentsCount = (0, smithy_client_1.expectInt32)(data.intentsCount);
|
|
4874
4874
|
}
|
|
4875
4875
|
if (data.lastBuildSubmittedDateTime !== undefined && data.lastBuildSubmittedDateTime !== null) {
|
|
4876
|
-
contents.lastBuildSubmittedDateTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.lastBuildSubmittedDateTime)));
|
|
4876
|
+
contents.lastBuildSubmittedDateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.lastBuildSubmittedDateTime)));
|
|
4877
4877
|
}
|
|
4878
4878
|
if (data.lastUpdatedDateTime !== undefined && data.lastUpdatedDateTime !== null) {
|
|
4879
|
-
contents.lastUpdatedDateTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.lastUpdatedDateTime)));
|
|
4879
|
+
contents.lastUpdatedDateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.lastUpdatedDateTime)));
|
|
4880
4880
|
}
|
|
4881
4881
|
if (data.localeId !== undefined && data.localeId !== null) {
|
|
4882
|
-
contents.localeId = smithy_client_1.expectString(data.localeId);
|
|
4882
|
+
contents.localeId = (0, smithy_client_1.expectString)(data.localeId);
|
|
4883
4883
|
}
|
|
4884
4884
|
if (data.localeName !== undefined && data.localeName !== null) {
|
|
4885
|
-
contents.localeName = smithy_client_1.expectString(data.localeName);
|
|
4885
|
+
contents.localeName = (0, smithy_client_1.expectString)(data.localeName);
|
|
4886
4886
|
}
|
|
4887
4887
|
if (data.nluIntentConfidenceThreshold !== undefined && data.nluIntentConfidenceThreshold !== null) {
|
|
4888
|
-
contents.nluIntentConfidenceThreshold = smithy_client_1.limitedParseDouble(data.nluIntentConfidenceThreshold);
|
|
4888
|
+
contents.nluIntentConfidenceThreshold = (0, smithy_client_1.limitedParseDouble)(data.nluIntentConfidenceThreshold);
|
|
4889
4889
|
}
|
|
4890
4890
|
if (data.recommendedActions !== undefined && data.recommendedActions !== null) {
|
|
4891
4891
|
contents.recommendedActions = deserializeAws_restJson1RecommendedActions(data.recommendedActions, context);
|
|
4892
4892
|
}
|
|
4893
4893
|
if (data.slotTypesCount !== undefined && data.slotTypesCount !== null) {
|
|
4894
|
-
contents.slotTypesCount = smithy_client_1.expectInt32(data.slotTypesCount);
|
|
4894
|
+
contents.slotTypesCount = (0, smithy_client_1.expectInt32)(data.slotTypesCount);
|
|
4895
4895
|
}
|
|
4896
4896
|
if (data.voiceSettings !== undefined && data.voiceSettings !== null) {
|
|
4897
4897
|
contents.voiceSettings = deserializeAws_restJson1VoiceSettings(data.voiceSettings, context);
|
|
@@ -4930,7 +4930,7 @@ const deserializeAws_restJson1DescribeBotLocaleCommandError = async (output, con
|
|
|
4930
4930
|
$fault: "client",
|
|
4931
4931
|
$metadata: deserializeMetadata(output),
|
|
4932
4932
|
});
|
|
4933
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4933
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4934
4934
|
}
|
|
4935
4935
|
};
|
|
4936
4936
|
const deserializeAws_restJson1DescribeBotRecommendationCommand = async (output, context) => {
|
|
@@ -4951,24 +4951,24 @@ const deserializeAws_restJson1DescribeBotRecommendationCommand = async (output,
|
|
|
4951
4951
|
localeId: undefined,
|
|
4952
4952
|
transcriptSourceSetting: undefined,
|
|
4953
4953
|
};
|
|
4954
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4954
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4955
4955
|
if (data.botId !== undefined && data.botId !== null) {
|
|
4956
|
-
contents.botId = smithy_client_1.expectString(data.botId);
|
|
4956
|
+
contents.botId = (0, smithy_client_1.expectString)(data.botId);
|
|
4957
4957
|
}
|
|
4958
4958
|
if (data.botRecommendationId !== undefined && data.botRecommendationId !== null) {
|
|
4959
|
-
contents.botRecommendationId = smithy_client_1.expectString(data.botRecommendationId);
|
|
4959
|
+
contents.botRecommendationId = (0, smithy_client_1.expectString)(data.botRecommendationId);
|
|
4960
4960
|
}
|
|
4961
4961
|
if (data.botRecommendationResults !== undefined && data.botRecommendationResults !== null) {
|
|
4962
4962
|
contents.botRecommendationResults = deserializeAws_restJson1BotRecommendationResults(data.botRecommendationResults, context);
|
|
4963
4963
|
}
|
|
4964
4964
|
if (data.botRecommendationStatus !== undefined && data.botRecommendationStatus !== null) {
|
|
4965
|
-
contents.botRecommendationStatus = smithy_client_1.expectString(data.botRecommendationStatus);
|
|
4965
|
+
contents.botRecommendationStatus = (0, smithy_client_1.expectString)(data.botRecommendationStatus);
|
|
4966
4966
|
}
|
|
4967
4967
|
if (data.botVersion !== undefined && data.botVersion !== null) {
|
|
4968
|
-
contents.botVersion = smithy_client_1.expectString(data.botVersion);
|
|
4968
|
+
contents.botVersion = (0, smithy_client_1.expectString)(data.botVersion);
|
|
4969
4969
|
}
|
|
4970
4970
|
if (data.creationDateTime !== undefined && data.creationDateTime !== null) {
|
|
4971
|
-
contents.creationDateTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.creationDateTime)));
|
|
4971
|
+
contents.creationDateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.creationDateTime)));
|
|
4972
4972
|
}
|
|
4973
4973
|
if (data.encryptionSetting !== undefined && data.encryptionSetting !== null) {
|
|
4974
4974
|
contents.encryptionSetting = deserializeAws_restJson1EncryptionSetting(data.encryptionSetting, context);
|
|
@@ -4977,10 +4977,10 @@ const deserializeAws_restJson1DescribeBotRecommendationCommand = async (output,
|
|
|
4977
4977
|
contents.failureReasons = deserializeAws_restJson1FailureReasons(data.failureReasons, context);
|
|
4978
4978
|
}
|
|
4979
4979
|
if (data.lastUpdatedDateTime !== undefined && data.lastUpdatedDateTime !== null) {
|
|
4980
|
-
contents.lastUpdatedDateTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.lastUpdatedDateTime)));
|
|
4980
|
+
contents.lastUpdatedDateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.lastUpdatedDateTime)));
|
|
4981
4981
|
}
|
|
4982
4982
|
if (data.localeId !== undefined && data.localeId !== null) {
|
|
4983
|
-
contents.localeId = smithy_client_1.expectString(data.localeId);
|
|
4983
|
+
contents.localeId = (0, smithy_client_1.expectString)(data.localeId);
|
|
4984
4984
|
}
|
|
4985
4985
|
if (data.transcriptSourceSetting !== undefined && data.transcriptSourceSetting !== null) {
|
|
4986
4986
|
contents.transcriptSourceSetting = deserializeAws_restJson1TranscriptSourceSetting(data.transcriptSourceSetting, context);
|
|
@@ -5016,7 +5016,7 @@ const deserializeAws_restJson1DescribeBotRecommendationCommandError = async (out
|
|
|
5016
5016
|
$fault: "client",
|
|
5017
5017
|
$metadata: deserializeMetadata(output),
|
|
5018
5018
|
});
|
|
5019
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5019
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5020
5020
|
}
|
|
5021
5021
|
};
|
|
5022
5022
|
const deserializeAws_restJson1DescribeBotVersionCommand = async (output, context) => {
|
|
@@ -5036,36 +5036,36 @@ const deserializeAws_restJson1DescribeBotVersionCommand = async (output, context
|
|
|
5036
5036
|
idleSessionTTLInSeconds: undefined,
|
|
5037
5037
|
roleArn: undefined,
|
|
5038
5038
|
};
|
|
5039
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5039
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
5040
5040
|
if (data.botId !== undefined && data.botId !== null) {
|
|
5041
|
-
contents.botId = smithy_client_1.expectString(data.botId);
|
|
5041
|
+
contents.botId = (0, smithy_client_1.expectString)(data.botId);
|
|
5042
5042
|
}
|
|
5043
5043
|
if (data.botName !== undefined && data.botName !== null) {
|
|
5044
|
-
contents.botName = smithy_client_1.expectString(data.botName);
|
|
5044
|
+
contents.botName = (0, smithy_client_1.expectString)(data.botName);
|
|
5045
5045
|
}
|
|
5046
5046
|
if (data.botStatus !== undefined && data.botStatus !== null) {
|
|
5047
|
-
contents.botStatus = smithy_client_1.expectString(data.botStatus);
|
|
5047
|
+
contents.botStatus = (0, smithy_client_1.expectString)(data.botStatus);
|
|
5048
5048
|
}
|
|
5049
5049
|
if (data.botVersion !== undefined && data.botVersion !== null) {
|
|
5050
|
-
contents.botVersion = smithy_client_1.expectString(data.botVersion);
|
|
5050
|
+
contents.botVersion = (0, smithy_client_1.expectString)(data.botVersion);
|
|
5051
5051
|
}
|
|
5052
5052
|
if (data.creationDateTime !== undefined && data.creationDateTime !== null) {
|
|
5053
|
-
contents.creationDateTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.creationDateTime)));
|
|
5053
|
+
contents.creationDateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.creationDateTime)));
|
|
5054
5054
|
}
|
|
5055
5055
|
if (data.dataPrivacy !== undefined && data.dataPrivacy !== null) {
|
|
5056
5056
|
contents.dataPrivacy = deserializeAws_restJson1DataPrivacy(data.dataPrivacy, context);
|
|
5057
5057
|
}
|
|
5058
5058
|
if (data.description !== undefined && data.description !== null) {
|
|
5059
|
-
contents.description = smithy_client_1.expectString(data.description);
|
|
5059
|
+
contents.description = (0, smithy_client_1.expectString)(data.description);
|
|
5060
5060
|
}
|
|
5061
5061
|
if (data.failureReasons !== undefined && data.failureReasons !== null) {
|
|
5062
5062
|
contents.failureReasons = deserializeAws_restJson1FailureReasons(data.failureReasons, context);
|
|
5063
5063
|
}
|
|
5064
5064
|
if (data.idleSessionTTLInSeconds !== undefined && data.idleSessionTTLInSeconds !== null) {
|
|
5065
|
-
contents.idleSessionTTLInSeconds = smithy_client_1.expectInt32(data.idleSessionTTLInSeconds);
|
|
5065
|
+
contents.idleSessionTTLInSeconds = (0, smithy_client_1.expectInt32)(data.idleSessionTTLInSeconds);
|
|
5066
5066
|
}
|
|
5067
5067
|
if (data.roleArn !== undefined && data.roleArn !== null) {
|
|
5068
|
-
contents.roleArn = smithy_client_1.expectString(data.roleArn);
|
|
5068
|
+
contents.roleArn = (0, smithy_client_1.expectString)(data.roleArn);
|
|
5069
5069
|
}
|
|
5070
5070
|
return Promise.resolve(contents);
|
|
5071
5071
|
};
|
|
@@ -5101,7 +5101,7 @@ const deserializeAws_restJson1DescribeBotVersionCommandError = async (output, co
|
|
|
5101
5101
|
$fault: "client",
|
|
5102
5102
|
$metadata: deserializeMetadata(output),
|
|
5103
5103
|
});
|
|
5104
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5104
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5105
5105
|
}
|
|
5106
5106
|
};
|
|
5107
5107
|
const deserializeAws_restJson1DescribeCustomVocabularyMetadataCommand = async (output, context) => {
|
|
@@ -5117,24 +5117,24 @@ const deserializeAws_restJson1DescribeCustomVocabularyMetadataCommand = async (o
|
|
|
5117
5117
|
lastUpdatedDateTime: undefined,
|
|
5118
5118
|
localeId: undefined,
|
|
5119
5119
|
};
|
|
5120
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5120
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
5121
5121
|
if (data.botId !== undefined && data.botId !== null) {
|
|
5122
|
-
contents.botId = smithy_client_1.expectString(data.botId);
|
|
5122
|
+
contents.botId = (0, smithy_client_1.expectString)(data.botId);
|
|
5123
5123
|
}
|
|
5124
5124
|
if (data.botVersion !== undefined && data.botVersion !== null) {
|
|
5125
|
-
contents.botVersion = smithy_client_1.expectString(data.botVersion);
|
|
5125
|
+
contents.botVersion = (0, smithy_client_1.expectString)(data.botVersion);
|
|
5126
5126
|
}
|
|
5127
5127
|
if (data.creationDateTime !== undefined && data.creationDateTime !== null) {
|
|
5128
|
-
contents.creationDateTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.creationDateTime)));
|
|
5128
|
+
contents.creationDateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.creationDateTime)));
|
|
5129
5129
|
}
|
|
5130
5130
|
if (data.customVocabularyStatus !== undefined && data.customVocabularyStatus !== null) {
|
|
5131
|
-
contents.customVocabularyStatus = smithy_client_1.expectString(data.customVocabularyStatus);
|
|
5131
|
+
contents.customVocabularyStatus = (0, smithy_client_1.expectString)(data.customVocabularyStatus);
|
|
5132
5132
|
}
|
|
5133
5133
|
if (data.lastUpdatedDateTime !== undefined && data.lastUpdatedDateTime !== null) {
|
|
5134
|
-
contents.lastUpdatedDateTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.lastUpdatedDateTime)));
|
|
5134
|
+
contents.lastUpdatedDateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.lastUpdatedDateTime)));
|
|
5135
5135
|
}
|
|
5136
5136
|
if (data.localeId !== undefined && data.localeId !== null) {
|
|
5137
|
-
contents.localeId = smithy_client_1.expectString(data.localeId);
|
|
5137
|
+
contents.localeId = (0, smithy_client_1.expectString)(data.localeId);
|
|
5138
5138
|
}
|
|
5139
5139
|
return Promise.resolve(contents);
|
|
5140
5140
|
};
|
|
@@ -5170,7 +5170,7 @@ const deserializeAws_restJson1DescribeCustomVocabularyMetadataCommandError = asy
|
|
|
5170
5170
|
$fault: "client",
|
|
5171
5171
|
$metadata: deserializeMetadata(output),
|
|
5172
5172
|
});
|
|
5173
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5173
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5174
5174
|
}
|
|
5175
5175
|
};
|
|
5176
5176
|
const deserializeAws_restJson1DescribeExportCommand = async (output, context) => {
|
|
@@ -5188,27 +5188,27 @@ const deserializeAws_restJson1DescribeExportCommand = async (output, context) =>
|
|
|
5188
5188
|
lastUpdatedDateTime: undefined,
|
|
5189
5189
|
resourceSpecification: undefined,
|
|
5190
5190
|
};
|
|
5191
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5191
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
5192
5192
|
if (data.creationDateTime !== undefined && data.creationDateTime !== null) {
|
|
5193
|
-
contents.creationDateTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.creationDateTime)));
|
|
5193
|
+
contents.creationDateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.creationDateTime)));
|
|
5194
5194
|
}
|
|
5195
5195
|
if (data.downloadUrl !== undefined && data.downloadUrl !== null) {
|
|
5196
|
-
contents.downloadUrl = smithy_client_1.expectString(data.downloadUrl);
|
|
5196
|
+
contents.downloadUrl = (0, smithy_client_1.expectString)(data.downloadUrl);
|
|
5197
5197
|
}
|
|
5198
5198
|
if (data.exportId !== undefined && data.exportId !== null) {
|
|
5199
|
-
contents.exportId = smithy_client_1.expectString(data.exportId);
|
|
5199
|
+
contents.exportId = (0, smithy_client_1.expectString)(data.exportId);
|
|
5200
5200
|
}
|
|
5201
5201
|
if (data.exportStatus !== undefined && data.exportStatus !== null) {
|
|
5202
|
-
contents.exportStatus = smithy_client_1.expectString(data.exportStatus);
|
|
5202
|
+
contents.exportStatus = (0, smithy_client_1.expectString)(data.exportStatus);
|
|
5203
5203
|
}
|
|
5204
5204
|
if (data.failureReasons !== undefined && data.failureReasons !== null) {
|
|
5205
5205
|
contents.failureReasons = deserializeAws_restJson1FailureReasons(data.failureReasons, context);
|
|
5206
5206
|
}
|
|
5207
5207
|
if (data.fileFormat !== undefined && data.fileFormat !== null) {
|
|
5208
|
-
contents.fileFormat = smithy_client_1.expectString(data.fileFormat);
|
|
5208
|
+
contents.fileFormat = (0, smithy_client_1.expectString)(data.fileFormat);
|
|
5209
5209
|
}
|
|
5210
5210
|
if (data.lastUpdatedDateTime !== undefined && data.lastUpdatedDateTime !== null) {
|
|
5211
|
-
contents.lastUpdatedDateTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.lastUpdatedDateTime)));
|
|
5211
|
+
contents.lastUpdatedDateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.lastUpdatedDateTime)));
|
|
5212
5212
|
}
|
|
5213
5213
|
if (data.resourceSpecification !== undefined && data.resourceSpecification !== null) {
|
|
5214
5214
|
contents.resourceSpecification = deserializeAws_restJson1ExportResourceSpecification(data.resourceSpecification, context);
|
|
@@ -5244,7 +5244,7 @@ const deserializeAws_restJson1DescribeExportCommandError = async (output, contex
|
|
|
5244
5244
|
$fault: "client",
|
|
5245
5245
|
$metadata: deserializeMetadata(output),
|
|
5246
5246
|
});
|
|
5247
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5247
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5248
5248
|
}
|
|
5249
5249
|
};
|
|
5250
5250
|
const deserializeAws_restJson1DescribeImportCommand = async (output, context) => {
|
|
@@ -5263,30 +5263,30 @@ const deserializeAws_restJson1DescribeImportCommand = async (output, context) =>
|
|
|
5263
5263
|
mergeStrategy: undefined,
|
|
5264
5264
|
resourceSpecification: undefined,
|
|
5265
5265
|
};
|
|
5266
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5266
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
5267
5267
|
if (data.creationDateTime !== undefined && data.creationDateTime !== null) {
|
|
5268
|
-
contents.creationDateTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.creationDateTime)));
|
|
5268
|
+
contents.creationDateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.creationDateTime)));
|
|
5269
5269
|
}
|
|
5270
5270
|
if (data.failureReasons !== undefined && data.failureReasons !== null) {
|
|
5271
5271
|
contents.failureReasons = deserializeAws_restJson1FailureReasons(data.failureReasons, context);
|
|
5272
5272
|
}
|
|
5273
5273
|
if (data.importId !== undefined && data.importId !== null) {
|
|
5274
|
-
contents.importId = smithy_client_1.expectString(data.importId);
|
|
5274
|
+
contents.importId = (0, smithy_client_1.expectString)(data.importId);
|
|
5275
5275
|
}
|
|
5276
5276
|
if (data.importStatus !== undefined && data.importStatus !== null) {
|
|
5277
|
-
contents.importStatus = smithy_client_1.expectString(data.importStatus);
|
|
5277
|
+
contents.importStatus = (0, smithy_client_1.expectString)(data.importStatus);
|
|
5278
5278
|
}
|
|
5279
5279
|
if (data.importedResourceId !== undefined && data.importedResourceId !== null) {
|
|
5280
|
-
contents.importedResourceId = smithy_client_1.expectString(data.importedResourceId);
|
|
5280
|
+
contents.importedResourceId = (0, smithy_client_1.expectString)(data.importedResourceId);
|
|
5281
5281
|
}
|
|
5282
5282
|
if (data.importedResourceName !== undefined && data.importedResourceName !== null) {
|
|
5283
|
-
contents.importedResourceName = smithy_client_1.expectString(data.importedResourceName);
|
|
5283
|
+
contents.importedResourceName = (0, smithy_client_1.expectString)(data.importedResourceName);
|
|
5284
5284
|
}
|
|
5285
5285
|
if (data.lastUpdatedDateTime !== undefined && data.lastUpdatedDateTime !== null) {
|
|
5286
|
-
contents.lastUpdatedDateTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.lastUpdatedDateTime)));
|
|
5286
|
+
contents.lastUpdatedDateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.lastUpdatedDateTime)));
|
|
5287
5287
|
}
|
|
5288
5288
|
if (data.mergeStrategy !== undefined && data.mergeStrategy !== null) {
|
|
5289
|
-
contents.mergeStrategy = smithy_client_1.expectString(data.mergeStrategy);
|
|
5289
|
+
contents.mergeStrategy = (0, smithy_client_1.expectString)(data.mergeStrategy);
|
|
5290
5290
|
}
|
|
5291
5291
|
if (data.resourceSpecification !== undefined && data.resourceSpecification !== null) {
|
|
5292
5292
|
contents.resourceSpecification = deserializeAws_restJson1ImportResourceSpecification(data.resourceSpecification, context);
|
|
@@ -5322,7 +5322,7 @@ const deserializeAws_restJson1DescribeImportCommandError = async (output, contex
|
|
|
5322
5322
|
$fault: "client",
|
|
5323
5323
|
$metadata: deserializeMetadata(output),
|
|
5324
5324
|
});
|
|
5325
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5325
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5326
5326
|
}
|
|
5327
5327
|
};
|
|
5328
5328
|
const deserializeAws_restJson1DescribeIntentCommand = async (output, context) => {
|
|
@@ -5350,18 +5350,18 @@ const deserializeAws_restJson1DescribeIntentCommand = async (output, context) =>
|
|
|
5350
5350
|
sampleUtterances: undefined,
|
|
5351
5351
|
slotPriorities: undefined,
|
|
5352
5352
|
};
|
|
5353
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5353
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
5354
5354
|
if (data.botId !== undefined && data.botId !== null) {
|
|
5355
|
-
contents.botId = smithy_client_1.expectString(data.botId);
|
|
5355
|
+
contents.botId = (0, smithy_client_1.expectString)(data.botId);
|
|
5356
5356
|
}
|
|
5357
5357
|
if (data.botVersion !== undefined && data.botVersion !== null) {
|
|
5358
|
-
contents.botVersion = smithy_client_1.expectString(data.botVersion);
|
|
5358
|
+
contents.botVersion = (0, smithy_client_1.expectString)(data.botVersion);
|
|
5359
5359
|
}
|
|
5360
5360
|
if (data.creationDateTime !== undefined && data.creationDateTime !== null) {
|
|
5361
|
-
contents.creationDateTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.creationDateTime)));
|
|
5361
|
+
contents.creationDateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.creationDateTime)));
|
|
5362
5362
|
}
|
|
5363
5363
|
if (data.description !== undefined && data.description !== null) {
|
|
5364
|
-
contents.description = smithy_client_1.expectString(data.description);
|
|
5364
|
+
contents.description = (0, smithy_client_1.expectString)(data.description);
|
|
5365
5365
|
}
|
|
5366
5366
|
if (data.dialogCodeHook !== undefined && data.dialogCodeHook !== null) {
|
|
5367
5367
|
contents.dialogCodeHook = deserializeAws_restJson1DialogCodeHookSettings(data.dialogCodeHook, context);
|
|
@@ -5379,25 +5379,25 @@ const deserializeAws_restJson1DescribeIntentCommand = async (output, context) =>
|
|
|
5379
5379
|
contents.intentConfirmationSetting = deserializeAws_restJson1IntentConfirmationSetting(data.intentConfirmationSetting, context);
|
|
5380
5380
|
}
|
|
5381
5381
|
if (data.intentId !== undefined && data.intentId !== null) {
|
|
5382
|
-
contents.intentId = smithy_client_1.expectString(data.intentId);
|
|
5382
|
+
contents.intentId = (0, smithy_client_1.expectString)(data.intentId);
|
|
5383
5383
|
}
|
|
5384
5384
|
if (data.intentName !== undefined && data.intentName !== null) {
|
|
5385
|
-
contents.intentName = smithy_client_1.expectString(data.intentName);
|
|
5385
|
+
contents.intentName = (0, smithy_client_1.expectString)(data.intentName);
|
|
5386
5386
|
}
|
|
5387
5387
|
if (data.kendraConfiguration !== undefined && data.kendraConfiguration !== null) {
|
|
5388
5388
|
contents.kendraConfiguration = deserializeAws_restJson1KendraConfiguration(data.kendraConfiguration, context);
|
|
5389
5389
|
}
|
|
5390
5390
|
if (data.lastUpdatedDateTime !== undefined && data.lastUpdatedDateTime !== null) {
|
|
5391
|
-
contents.lastUpdatedDateTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.lastUpdatedDateTime)));
|
|
5391
|
+
contents.lastUpdatedDateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.lastUpdatedDateTime)));
|
|
5392
5392
|
}
|
|
5393
5393
|
if (data.localeId !== undefined && data.localeId !== null) {
|
|
5394
|
-
contents.localeId = smithy_client_1.expectString(data.localeId);
|
|
5394
|
+
contents.localeId = (0, smithy_client_1.expectString)(data.localeId);
|
|
5395
5395
|
}
|
|
5396
5396
|
if (data.outputContexts !== undefined && data.outputContexts !== null) {
|
|
5397
5397
|
contents.outputContexts = deserializeAws_restJson1OutputContextsList(data.outputContexts, context);
|
|
5398
5398
|
}
|
|
5399
5399
|
if (data.parentIntentSignature !== undefined && data.parentIntentSignature !== null) {
|
|
5400
|
-
contents.parentIntentSignature = smithy_client_1.expectString(data.parentIntentSignature);
|
|
5400
|
+
contents.parentIntentSignature = (0, smithy_client_1.expectString)(data.parentIntentSignature);
|
|
5401
5401
|
}
|
|
5402
5402
|
if (data.sampleUtterances !== undefined && data.sampleUtterances !== null) {
|
|
5403
5403
|
contents.sampleUtterances = deserializeAws_restJson1SampleUtterancesList(data.sampleUtterances, context);
|
|
@@ -5439,7 +5439,7 @@ const deserializeAws_restJson1DescribeIntentCommandError = async (output, contex
|
|
|
5439
5439
|
$fault: "client",
|
|
5440
5440
|
$metadata: deserializeMetadata(output),
|
|
5441
5441
|
});
|
|
5442
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5442
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5443
5443
|
}
|
|
5444
5444
|
};
|
|
5445
5445
|
const deserializeAws_restJson1DescribeResourcePolicyCommand = async (output, context) => {
|
|
@@ -5452,15 +5452,15 @@ const deserializeAws_restJson1DescribeResourcePolicyCommand = async (output, con
|
|
|
5452
5452
|
resourceArn: undefined,
|
|
5453
5453
|
revisionId: undefined,
|
|
5454
5454
|
};
|
|
5455
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5455
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
5456
5456
|
if (data.policy !== undefined && data.policy !== null) {
|
|
5457
|
-
contents.policy = smithy_client_1.expectString(data.policy);
|
|
5457
|
+
contents.policy = (0, smithy_client_1.expectString)(data.policy);
|
|
5458
5458
|
}
|
|
5459
5459
|
if (data.resourceArn !== undefined && data.resourceArn !== null) {
|
|
5460
|
-
contents.resourceArn = smithy_client_1.expectString(data.resourceArn);
|
|
5460
|
+
contents.resourceArn = (0, smithy_client_1.expectString)(data.resourceArn);
|
|
5461
5461
|
}
|
|
5462
5462
|
if (data.revisionId !== undefined && data.revisionId !== null) {
|
|
5463
|
-
contents.revisionId = smithy_client_1.expectString(data.revisionId);
|
|
5463
|
+
contents.revisionId = (0, smithy_client_1.expectString)(data.revisionId);
|
|
5464
5464
|
}
|
|
5465
5465
|
return Promise.resolve(contents);
|
|
5466
5466
|
};
|
|
@@ -5490,7 +5490,7 @@ const deserializeAws_restJson1DescribeResourcePolicyCommandError = async (output
|
|
|
5490
5490
|
$fault: "client",
|
|
5491
5491
|
$metadata: deserializeMetadata(output),
|
|
5492
5492
|
});
|
|
5493
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5493
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5494
5494
|
}
|
|
5495
5495
|
};
|
|
5496
5496
|
const deserializeAws_restJson1DescribeSlotCommand = async (output, context) => {
|
|
@@ -5513,27 +5513,27 @@ const deserializeAws_restJson1DescribeSlotCommand = async (output, context) => {
|
|
|
5513
5513
|
slotTypeId: undefined,
|
|
5514
5514
|
valueElicitationSetting: undefined,
|
|
5515
5515
|
};
|
|
5516
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5516
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
5517
5517
|
if (data.botId !== undefined && data.botId !== null) {
|
|
5518
|
-
contents.botId = smithy_client_1.expectString(data.botId);
|
|
5518
|
+
contents.botId = (0, smithy_client_1.expectString)(data.botId);
|
|
5519
5519
|
}
|
|
5520
5520
|
if (data.botVersion !== undefined && data.botVersion !== null) {
|
|
5521
|
-
contents.botVersion = smithy_client_1.expectString(data.botVersion);
|
|
5521
|
+
contents.botVersion = (0, smithy_client_1.expectString)(data.botVersion);
|
|
5522
5522
|
}
|
|
5523
5523
|
if (data.creationDateTime !== undefined && data.creationDateTime !== null) {
|
|
5524
|
-
contents.creationDateTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.creationDateTime)));
|
|
5524
|
+
contents.creationDateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.creationDateTime)));
|
|
5525
5525
|
}
|
|
5526
5526
|
if (data.description !== undefined && data.description !== null) {
|
|
5527
|
-
contents.description = smithy_client_1.expectString(data.description);
|
|
5527
|
+
contents.description = (0, smithy_client_1.expectString)(data.description);
|
|
5528
5528
|
}
|
|
5529
5529
|
if (data.intentId !== undefined && data.intentId !== null) {
|
|
5530
|
-
contents.intentId = smithy_client_1.expectString(data.intentId);
|
|
5530
|
+
contents.intentId = (0, smithy_client_1.expectString)(data.intentId);
|
|
5531
5531
|
}
|
|
5532
5532
|
if (data.lastUpdatedDateTime !== undefined && data.lastUpdatedDateTime !== null) {
|
|
5533
|
-
contents.lastUpdatedDateTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.lastUpdatedDateTime)));
|
|
5533
|
+
contents.lastUpdatedDateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.lastUpdatedDateTime)));
|
|
5534
5534
|
}
|
|
5535
5535
|
if (data.localeId !== undefined && data.localeId !== null) {
|
|
5536
|
-
contents.localeId = smithy_client_1.expectString(data.localeId);
|
|
5536
|
+
contents.localeId = (0, smithy_client_1.expectString)(data.localeId);
|
|
5537
5537
|
}
|
|
5538
5538
|
if (data.multipleValuesSetting !== undefined && data.multipleValuesSetting !== null) {
|
|
5539
5539
|
contents.multipleValuesSetting = deserializeAws_restJson1MultipleValuesSetting(data.multipleValuesSetting, context);
|
|
@@ -5542,13 +5542,13 @@ const deserializeAws_restJson1DescribeSlotCommand = async (output, context) => {
|
|
|
5542
5542
|
contents.obfuscationSetting = deserializeAws_restJson1ObfuscationSetting(data.obfuscationSetting, context);
|
|
5543
5543
|
}
|
|
5544
5544
|
if (data.slotId !== undefined && data.slotId !== null) {
|
|
5545
|
-
contents.slotId = smithy_client_1.expectString(data.slotId);
|
|
5545
|
+
contents.slotId = (0, smithy_client_1.expectString)(data.slotId);
|
|
5546
5546
|
}
|
|
5547
5547
|
if (data.slotName !== undefined && data.slotName !== null) {
|
|
5548
|
-
contents.slotName = smithy_client_1.expectString(data.slotName);
|
|
5548
|
+
contents.slotName = (0, smithy_client_1.expectString)(data.slotName);
|
|
5549
5549
|
}
|
|
5550
5550
|
if (data.slotTypeId !== undefined && data.slotTypeId !== null) {
|
|
5551
|
-
contents.slotTypeId = smithy_client_1.expectString(data.slotTypeId);
|
|
5551
|
+
contents.slotTypeId = (0, smithy_client_1.expectString)(data.slotTypeId);
|
|
5552
5552
|
}
|
|
5553
5553
|
if (data.valueElicitationSetting !== undefined && data.valueElicitationSetting !== null) {
|
|
5554
5554
|
contents.valueElicitationSetting = deserializeAws_restJson1SlotValueElicitationSetting(data.valueElicitationSetting, context);
|
|
@@ -5587,7 +5587,7 @@ const deserializeAws_restJson1DescribeSlotCommandError = async (output, context)
|
|
|
5587
5587
|
$fault: "client",
|
|
5588
5588
|
$metadata: deserializeMetadata(output),
|
|
5589
5589
|
});
|
|
5590
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5590
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5591
5591
|
}
|
|
5592
5592
|
};
|
|
5593
5593
|
const deserializeAws_restJson1DescribeSlotTypeCommand = async (output, context) => {
|
|
@@ -5609,36 +5609,36 @@ const deserializeAws_restJson1DescribeSlotTypeCommand = async (output, context)
|
|
|
5609
5609
|
slotTypeValues: undefined,
|
|
5610
5610
|
valueSelectionSetting: undefined,
|
|
5611
5611
|
};
|
|
5612
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5612
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
5613
5613
|
if (data.botId !== undefined && data.botId !== null) {
|
|
5614
|
-
contents.botId = smithy_client_1.expectString(data.botId);
|
|
5614
|
+
contents.botId = (0, smithy_client_1.expectString)(data.botId);
|
|
5615
5615
|
}
|
|
5616
5616
|
if (data.botVersion !== undefined && data.botVersion !== null) {
|
|
5617
|
-
contents.botVersion = smithy_client_1.expectString(data.botVersion);
|
|
5617
|
+
contents.botVersion = (0, smithy_client_1.expectString)(data.botVersion);
|
|
5618
5618
|
}
|
|
5619
5619
|
if (data.creationDateTime !== undefined && data.creationDateTime !== null) {
|
|
5620
|
-
contents.creationDateTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.creationDateTime)));
|
|
5620
|
+
contents.creationDateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.creationDateTime)));
|
|
5621
5621
|
}
|
|
5622
5622
|
if (data.description !== undefined && data.description !== null) {
|
|
5623
|
-
contents.description = smithy_client_1.expectString(data.description);
|
|
5623
|
+
contents.description = (0, smithy_client_1.expectString)(data.description);
|
|
5624
5624
|
}
|
|
5625
5625
|
if (data.externalSourceSetting !== undefined && data.externalSourceSetting !== null) {
|
|
5626
5626
|
contents.externalSourceSetting = deserializeAws_restJson1ExternalSourceSetting(data.externalSourceSetting, context);
|
|
5627
5627
|
}
|
|
5628
5628
|
if (data.lastUpdatedDateTime !== undefined && data.lastUpdatedDateTime !== null) {
|
|
5629
|
-
contents.lastUpdatedDateTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.lastUpdatedDateTime)));
|
|
5629
|
+
contents.lastUpdatedDateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.lastUpdatedDateTime)));
|
|
5630
5630
|
}
|
|
5631
5631
|
if (data.localeId !== undefined && data.localeId !== null) {
|
|
5632
|
-
contents.localeId = smithy_client_1.expectString(data.localeId);
|
|
5632
|
+
contents.localeId = (0, smithy_client_1.expectString)(data.localeId);
|
|
5633
5633
|
}
|
|
5634
5634
|
if (data.parentSlotTypeSignature !== undefined && data.parentSlotTypeSignature !== null) {
|
|
5635
|
-
contents.parentSlotTypeSignature = smithy_client_1.expectString(data.parentSlotTypeSignature);
|
|
5635
|
+
contents.parentSlotTypeSignature = (0, smithy_client_1.expectString)(data.parentSlotTypeSignature);
|
|
5636
5636
|
}
|
|
5637
5637
|
if (data.slotTypeId !== undefined && data.slotTypeId !== null) {
|
|
5638
|
-
contents.slotTypeId = smithy_client_1.expectString(data.slotTypeId);
|
|
5638
|
+
contents.slotTypeId = (0, smithy_client_1.expectString)(data.slotTypeId);
|
|
5639
5639
|
}
|
|
5640
5640
|
if (data.slotTypeName !== undefined && data.slotTypeName !== null) {
|
|
5641
|
-
contents.slotTypeName = smithy_client_1.expectString(data.slotTypeName);
|
|
5641
|
+
contents.slotTypeName = (0, smithy_client_1.expectString)(data.slotTypeName);
|
|
5642
5642
|
}
|
|
5643
5643
|
if (data.slotTypeValues !== undefined && data.slotTypeValues !== null) {
|
|
5644
5644
|
contents.slotTypeValues = deserializeAws_restJson1SlotTypeValues(data.slotTypeValues, context);
|
|
@@ -5680,7 +5680,7 @@ const deserializeAws_restJson1DescribeSlotTypeCommandError = async (output, cont
|
|
|
5680
5680
|
$fault: "client",
|
|
5681
5681
|
$metadata: deserializeMetadata(output),
|
|
5682
5682
|
});
|
|
5683
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5683
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5684
5684
|
}
|
|
5685
5685
|
};
|
|
5686
5686
|
const deserializeAws_restJson1ListAggregatedUtterancesCommand = async (output, context) => {
|
|
@@ -5700,7 +5700,7 @@ const deserializeAws_restJson1ListAggregatedUtterancesCommand = async (output, c
|
|
|
5700
5700
|
localeId: undefined,
|
|
5701
5701
|
nextToken: undefined,
|
|
5702
5702
|
};
|
|
5703
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5703
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
5704
5704
|
if (data.aggregatedUtterancesSummaries !== undefined && data.aggregatedUtterancesSummaries !== null) {
|
|
5705
5705
|
contents.aggregatedUtterancesSummaries = deserializeAws_restJson1AggregatedUtterancesSummaryList(data.aggregatedUtterancesSummaries, context);
|
|
5706
5706
|
}
|
|
@@ -5708,28 +5708,28 @@ const deserializeAws_restJson1ListAggregatedUtterancesCommand = async (output, c
|
|
|
5708
5708
|
contents.aggregationDuration = deserializeAws_restJson1UtteranceAggregationDuration(data.aggregationDuration, context);
|
|
5709
5709
|
}
|
|
5710
5710
|
if (data.aggregationLastRefreshedDateTime !== undefined && data.aggregationLastRefreshedDateTime !== null) {
|
|
5711
|
-
contents.aggregationLastRefreshedDateTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.aggregationLastRefreshedDateTime)));
|
|
5711
|
+
contents.aggregationLastRefreshedDateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.aggregationLastRefreshedDateTime)));
|
|
5712
5712
|
}
|
|
5713
5713
|
if (data.aggregationWindowEndTime !== undefined && data.aggregationWindowEndTime !== null) {
|
|
5714
|
-
contents.aggregationWindowEndTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.aggregationWindowEndTime)));
|
|
5714
|
+
contents.aggregationWindowEndTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.aggregationWindowEndTime)));
|
|
5715
5715
|
}
|
|
5716
5716
|
if (data.aggregationWindowStartTime !== undefined && data.aggregationWindowStartTime !== null) {
|
|
5717
|
-
contents.aggregationWindowStartTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.aggregationWindowStartTime)));
|
|
5717
|
+
contents.aggregationWindowStartTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.aggregationWindowStartTime)));
|
|
5718
5718
|
}
|
|
5719
5719
|
if (data.botAliasId !== undefined && data.botAliasId !== null) {
|
|
5720
|
-
contents.botAliasId = smithy_client_1.expectString(data.botAliasId);
|
|
5720
|
+
contents.botAliasId = (0, smithy_client_1.expectString)(data.botAliasId);
|
|
5721
5721
|
}
|
|
5722
5722
|
if (data.botId !== undefined && data.botId !== null) {
|
|
5723
|
-
contents.botId = smithy_client_1.expectString(data.botId);
|
|
5723
|
+
contents.botId = (0, smithy_client_1.expectString)(data.botId);
|
|
5724
5724
|
}
|
|
5725
5725
|
if (data.botVersion !== undefined && data.botVersion !== null) {
|
|
5726
|
-
contents.botVersion = smithy_client_1.expectString(data.botVersion);
|
|
5726
|
+
contents.botVersion = (0, smithy_client_1.expectString)(data.botVersion);
|
|
5727
5727
|
}
|
|
5728
5728
|
if (data.localeId !== undefined && data.localeId !== null) {
|
|
5729
|
-
contents.localeId = smithy_client_1.expectString(data.localeId);
|
|
5729
|
+
contents.localeId = (0, smithy_client_1.expectString)(data.localeId);
|
|
5730
5730
|
}
|
|
5731
5731
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
5732
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
5732
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
5733
5733
|
}
|
|
5734
5734
|
return Promise.resolve(contents);
|
|
5735
5735
|
};
|
|
@@ -5762,7 +5762,7 @@ const deserializeAws_restJson1ListAggregatedUtterancesCommandError = async (outp
|
|
|
5762
5762
|
$fault: "client",
|
|
5763
5763
|
$metadata: deserializeMetadata(output),
|
|
5764
5764
|
});
|
|
5765
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5765
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5766
5766
|
}
|
|
5767
5767
|
};
|
|
5768
5768
|
const deserializeAws_restJson1ListBotAliasesCommand = async (output, context) => {
|
|
@@ -5775,15 +5775,15 @@ const deserializeAws_restJson1ListBotAliasesCommand = async (output, context) =>
|
|
|
5775
5775
|
botId: undefined,
|
|
5776
5776
|
nextToken: undefined,
|
|
5777
5777
|
};
|
|
5778
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5778
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
5779
5779
|
if (data.botAliasSummaries !== undefined && data.botAliasSummaries !== null) {
|
|
5780
5780
|
contents.botAliasSummaries = deserializeAws_restJson1BotAliasSummaryList(data.botAliasSummaries, context);
|
|
5781
5781
|
}
|
|
5782
5782
|
if (data.botId !== undefined && data.botId !== null) {
|
|
5783
|
-
contents.botId = smithy_client_1.expectString(data.botId);
|
|
5783
|
+
contents.botId = (0, smithy_client_1.expectString)(data.botId);
|
|
5784
5784
|
}
|
|
5785
5785
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
5786
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
5786
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
5787
5787
|
}
|
|
5788
5788
|
return Promise.resolve(contents);
|
|
5789
5789
|
};
|
|
@@ -5816,7 +5816,7 @@ const deserializeAws_restJson1ListBotAliasesCommandError = async (output, contex
|
|
|
5816
5816
|
$fault: "client",
|
|
5817
5817
|
$metadata: deserializeMetadata(output),
|
|
5818
5818
|
});
|
|
5819
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5819
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5820
5820
|
}
|
|
5821
5821
|
};
|
|
5822
5822
|
const deserializeAws_restJson1ListBotLocalesCommand = async (output, context) => {
|
|
@@ -5830,18 +5830,18 @@ const deserializeAws_restJson1ListBotLocalesCommand = async (output, context) =>
|
|
|
5830
5830
|
botVersion: undefined,
|
|
5831
5831
|
nextToken: undefined,
|
|
5832
5832
|
};
|
|
5833
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5833
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
5834
5834
|
if (data.botId !== undefined && data.botId !== null) {
|
|
5835
|
-
contents.botId = smithy_client_1.expectString(data.botId);
|
|
5835
|
+
contents.botId = (0, smithy_client_1.expectString)(data.botId);
|
|
5836
5836
|
}
|
|
5837
5837
|
if (data.botLocaleSummaries !== undefined && data.botLocaleSummaries !== null) {
|
|
5838
5838
|
contents.botLocaleSummaries = deserializeAws_restJson1BotLocaleSummaryList(data.botLocaleSummaries, context);
|
|
5839
5839
|
}
|
|
5840
5840
|
if (data.botVersion !== undefined && data.botVersion !== null) {
|
|
5841
|
-
contents.botVersion = smithy_client_1.expectString(data.botVersion);
|
|
5841
|
+
contents.botVersion = (0, smithy_client_1.expectString)(data.botVersion);
|
|
5842
5842
|
}
|
|
5843
5843
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
5844
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
5844
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
5845
5845
|
}
|
|
5846
5846
|
return Promise.resolve(contents);
|
|
5847
5847
|
};
|
|
@@ -5874,7 +5874,7 @@ const deserializeAws_restJson1ListBotLocalesCommandError = async (output, contex
|
|
|
5874
5874
|
$fault: "client",
|
|
5875
5875
|
$metadata: deserializeMetadata(output),
|
|
5876
5876
|
});
|
|
5877
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5877
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5878
5878
|
}
|
|
5879
5879
|
};
|
|
5880
5880
|
const deserializeAws_restJson1ListBotRecommendationsCommand = async (output, context) => {
|
|
@@ -5889,21 +5889,21 @@ const deserializeAws_restJson1ListBotRecommendationsCommand = async (output, con
|
|
|
5889
5889
|
localeId: undefined,
|
|
5890
5890
|
nextToken: undefined,
|
|
5891
5891
|
};
|
|
5892
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5892
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
5893
5893
|
if (data.botId !== undefined && data.botId !== null) {
|
|
5894
|
-
contents.botId = smithy_client_1.expectString(data.botId);
|
|
5894
|
+
contents.botId = (0, smithy_client_1.expectString)(data.botId);
|
|
5895
5895
|
}
|
|
5896
5896
|
if (data.botRecommendationSummaries !== undefined && data.botRecommendationSummaries !== null) {
|
|
5897
5897
|
contents.botRecommendationSummaries = deserializeAws_restJson1BotRecommendationSummaryList(data.botRecommendationSummaries, context);
|
|
5898
5898
|
}
|
|
5899
5899
|
if (data.botVersion !== undefined && data.botVersion !== null) {
|
|
5900
|
-
contents.botVersion = smithy_client_1.expectString(data.botVersion);
|
|
5900
|
+
contents.botVersion = (0, smithy_client_1.expectString)(data.botVersion);
|
|
5901
5901
|
}
|
|
5902
5902
|
if (data.localeId !== undefined && data.localeId !== null) {
|
|
5903
|
-
contents.localeId = smithy_client_1.expectString(data.localeId);
|
|
5903
|
+
contents.localeId = (0, smithy_client_1.expectString)(data.localeId);
|
|
5904
5904
|
}
|
|
5905
5905
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
5906
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
5906
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
5907
5907
|
}
|
|
5908
5908
|
return Promise.resolve(contents);
|
|
5909
5909
|
};
|
|
@@ -5936,7 +5936,7 @@ const deserializeAws_restJson1ListBotRecommendationsCommandError = async (output
|
|
|
5936
5936
|
$fault: "client",
|
|
5937
5937
|
$metadata: deserializeMetadata(output),
|
|
5938
5938
|
});
|
|
5939
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5939
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5940
5940
|
}
|
|
5941
5941
|
};
|
|
5942
5942
|
const deserializeAws_restJson1ListBotsCommand = async (output, context) => {
|
|
@@ -5948,12 +5948,12 @@ const deserializeAws_restJson1ListBotsCommand = async (output, context) => {
|
|
|
5948
5948
|
botSummaries: undefined,
|
|
5949
5949
|
nextToken: undefined,
|
|
5950
5950
|
};
|
|
5951
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5951
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
5952
5952
|
if (data.botSummaries !== undefined && data.botSummaries !== null) {
|
|
5953
5953
|
contents.botSummaries = deserializeAws_restJson1BotSummaryList(data.botSummaries, context);
|
|
5954
5954
|
}
|
|
5955
5955
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
5956
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
5956
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
5957
5957
|
}
|
|
5958
5958
|
return Promise.resolve(contents);
|
|
5959
5959
|
};
|
|
@@ -5986,7 +5986,7 @@ const deserializeAws_restJson1ListBotsCommandError = async (output, context) =>
|
|
|
5986
5986
|
$fault: "client",
|
|
5987
5987
|
$metadata: deserializeMetadata(output),
|
|
5988
5988
|
});
|
|
5989
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5989
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5990
5990
|
}
|
|
5991
5991
|
};
|
|
5992
5992
|
const deserializeAws_restJson1ListBotVersionsCommand = async (output, context) => {
|
|
@@ -5999,15 +5999,15 @@ const deserializeAws_restJson1ListBotVersionsCommand = async (output, context) =
|
|
|
5999
5999
|
botVersionSummaries: undefined,
|
|
6000
6000
|
nextToken: undefined,
|
|
6001
6001
|
};
|
|
6002
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
6002
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
6003
6003
|
if (data.botId !== undefined && data.botId !== null) {
|
|
6004
|
-
contents.botId = smithy_client_1.expectString(data.botId);
|
|
6004
|
+
contents.botId = (0, smithy_client_1.expectString)(data.botId);
|
|
6005
6005
|
}
|
|
6006
6006
|
if (data.botVersionSummaries !== undefined && data.botVersionSummaries !== null) {
|
|
6007
6007
|
contents.botVersionSummaries = deserializeAws_restJson1BotVersionSummaryList(data.botVersionSummaries, context);
|
|
6008
6008
|
}
|
|
6009
6009
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
6010
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
6010
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
6011
6011
|
}
|
|
6012
6012
|
return Promise.resolve(contents);
|
|
6013
6013
|
};
|
|
@@ -6040,7 +6040,7 @@ const deserializeAws_restJson1ListBotVersionsCommandError = async (output, conte
|
|
|
6040
6040
|
$fault: "client",
|
|
6041
6041
|
$metadata: deserializeMetadata(output),
|
|
6042
6042
|
});
|
|
6043
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
6043
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6044
6044
|
}
|
|
6045
6045
|
};
|
|
6046
6046
|
const deserializeAws_restJson1ListBuiltInIntentsCommand = async (output, context) => {
|
|
@@ -6053,15 +6053,15 @@ const deserializeAws_restJson1ListBuiltInIntentsCommand = async (output, context
|
|
|
6053
6053
|
localeId: undefined,
|
|
6054
6054
|
nextToken: undefined,
|
|
6055
6055
|
};
|
|
6056
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
6056
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
6057
6057
|
if (data.builtInIntentSummaries !== undefined && data.builtInIntentSummaries !== null) {
|
|
6058
6058
|
contents.builtInIntentSummaries = deserializeAws_restJson1BuiltInIntentSummaryList(data.builtInIntentSummaries, context);
|
|
6059
6059
|
}
|
|
6060
6060
|
if (data.localeId !== undefined && data.localeId !== null) {
|
|
6061
|
-
contents.localeId = smithy_client_1.expectString(data.localeId);
|
|
6061
|
+
contents.localeId = (0, smithy_client_1.expectString)(data.localeId);
|
|
6062
6062
|
}
|
|
6063
6063
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
6064
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
6064
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
6065
6065
|
}
|
|
6066
6066
|
return Promise.resolve(contents);
|
|
6067
6067
|
};
|
|
@@ -6094,7 +6094,7 @@ const deserializeAws_restJson1ListBuiltInIntentsCommandError = async (output, co
|
|
|
6094
6094
|
$fault: "client",
|
|
6095
6095
|
$metadata: deserializeMetadata(output),
|
|
6096
6096
|
});
|
|
6097
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
6097
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6098
6098
|
}
|
|
6099
6099
|
};
|
|
6100
6100
|
const deserializeAws_restJson1ListBuiltInSlotTypesCommand = async (output, context) => {
|
|
@@ -6107,15 +6107,15 @@ const deserializeAws_restJson1ListBuiltInSlotTypesCommand = async (output, conte
|
|
|
6107
6107
|
localeId: undefined,
|
|
6108
6108
|
nextToken: undefined,
|
|
6109
6109
|
};
|
|
6110
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
6110
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
6111
6111
|
if (data.builtInSlotTypeSummaries !== undefined && data.builtInSlotTypeSummaries !== null) {
|
|
6112
6112
|
contents.builtInSlotTypeSummaries = deserializeAws_restJson1BuiltInSlotTypeSummaryList(data.builtInSlotTypeSummaries, context);
|
|
6113
6113
|
}
|
|
6114
6114
|
if (data.localeId !== undefined && data.localeId !== null) {
|
|
6115
|
-
contents.localeId = smithy_client_1.expectString(data.localeId);
|
|
6115
|
+
contents.localeId = (0, smithy_client_1.expectString)(data.localeId);
|
|
6116
6116
|
}
|
|
6117
6117
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
6118
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
6118
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
6119
6119
|
}
|
|
6120
6120
|
return Promise.resolve(contents);
|
|
6121
6121
|
};
|
|
@@ -6148,7 +6148,7 @@ const deserializeAws_restJson1ListBuiltInSlotTypesCommandError = async (output,
|
|
|
6148
6148
|
$fault: "client",
|
|
6149
6149
|
$metadata: deserializeMetadata(output),
|
|
6150
6150
|
});
|
|
6151
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
6151
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6152
6152
|
}
|
|
6153
6153
|
};
|
|
6154
6154
|
const deserializeAws_restJson1ListExportsCommand = async (output, context) => {
|
|
@@ -6163,21 +6163,21 @@ const deserializeAws_restJson1ListExportsCommand = async (output, context) => {
|
|
|
6163
6163
|
localeId: undefined,
|
|
6164
6164
|
nextToken: undefined,
|
|
6165
6165
|
};
|
|
6166
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
6166
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
6167
6167
|
if (data.botId !== undefined && data.botId !== null) {
|
|
6168
|
-
contents.botId = smithy_client_1.expectString(data.botId);
|
|
6168
|
+
contents.botId = (0, smithy_client_1.expectString)(data.botId);
|
|
6169
6169
|
}
|
|
6170
6170
|
if (data.botVersion !== undefined && data.botVersion !== null) {
|
|
6171
|
-
contents.botVersion = smithy_client_1.expectString(data.botVersion);
|
|
6171
|
+
contents.botVersion = (0, smithy_client_1.expectString)(data.botVersion);
|
|
6172
6172
|
}
|
|
6173
6173
|
if (data.exportSummaries !== undefined && data.exportSummaries !== null) {
|
|
6174
6174
|
contents.exportSummaries = deserializeAws_restJson1ExportSummaryList(data.exportSummaries, context);
|
|
6175
6175
|
}
|
|
6176
6176
|
if (data.localeId !== undefined && data.localeId !== null) {
|
|
6177
|
-
contents.localeId = smithy_client_1.expectString(data.localeId);
|
|
6177
|
+
contents.localeId = (0, smithy_client_1.expectString)(data.localeId);
|
|
6178
6178
|
}
|
|
6179
6179
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
6180
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
6180
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
6181
6181
|
}
|
|
6182
6182
|
return Promise.resolve(contents);
|
|
6183
6183
|
};
|
|
@@ -6207,7 +6207,7 @@ const deserializeAws_restJson1ListExportsCommandError = async (output, context)
|
|
|
6207
6207
|
$fault: "client",
|
|
6208
6208
|
$metadata: deserializeMetadata(output),
|
|
6209
6209
|
});
|
|
6210
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
6210
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6211
6211
|
}
|
|
6212
6212
|
};
|
|
6213
6213
|
const deserializeAws_restJson1ListImportsCommand = async (output, context) => {
|
|
@@ -6222,21 +6222,21 @@ const deserializeAws_restJson1ListImportsCommand = async (output, context) => {
|
|
|
6222
6222
|
localeId: undefined,
|
|
6223
6223
|
nextToken: undefined,
|
|
6224
6224
|
};
|
|
6225
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
6225
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
6226
6226
|
if (data.botId !== undefined && data.botId !== null) {
|
|
6227
|
-
contents.botId = smithy_client_1.expectString(data.botId);
|
|
6227
|
+
contents.botId = (0, smithy_client_1.expectString)(data.botId);
|
|
6228
6228
|
}
|
|
6229
6229
|
if (data.botVersion !== undefined && data.botVersion !== null) {
|
|
6230
|
-
contents.botVersion = smithy_client_1.expectString(data.botVersion);
|
|
6230
|
+
contents.botVersion = (0, smithy_client_1.expectString)(data.botVersion);
|
|
6231
6231
|
}
|
|
6232
6232
|
if (data.importSummaries !== undefined && data.importSummaries !== null) {
|
|
6233
6233
|
contents.importSummaries = deserializeAws_restJson1ImportSummaryList(data.importSummaries, context);
|
|
6234
6234
|
}
|
|
6235
6235
|
if (data.localeId !== undefined && data.localeId !== null) {
|
|
6236
|
-
contents.localeId = smithy_client_1.expectString(data.localeId);
|
|
6236
|
+
contents.localeId = (0, smithy_client_1.expectString)(data.localeId);
|
|
6237
6237
|
}
|
|
6238
6238
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
6239
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
6239
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
6240
6240
|
}
|
|
6241
6241
|
return Promise.resolve(contents);
|
|
6242
6242
|
};
|
|
@@ -6266,7 +6266,7 @@ const deserializeAws_restJson1ListImportsCommandError = async (output, context)
|
|
|
6266
6266
|
$fault: "client",
|
|
6267
6267
|
$metadata: deserializeMetadata(output),
|
|
6268
6268
|
});
|
|
6269
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
6269
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6270
6270
|
}
|
|
6271
6271
|
};
|
|
6272
6272
|
const deserializeAws_restJson1ListIntentsCommand = async (output, context) => {
|
|
@@ -6281,21 +6281,21 @@ const deserializeAws_restJson1ListIntentsCommand = async (output, context) => {
|
|
|
6281
6281
|
localeId: undefined,
|
|
6282
6282
|
nextToken: undefined,
|
|
6283
6283
|
};
|
|
6284
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
6284
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
6285
6285
|
if (data.botId !== undefined && data.botId !== null) {
|
|
6286
|
-
contents.botId = smithy_client_1.expectString(data.botId);
|
|
6286
|
+
contents.botId = (0, smithy_client_1.expectString)(data.botId);
|
|
6287
6287
|
}
|
|
6288
6288
|
if (data.botVersion !== undefined && data.botVersion !== null) {
|
|
6289
|
-
contents.botVersion = smithy_client_1.expectString(data.botVersion);
|
|
6289
|
+
contents.botVersion = (0, smithy_client_1.expectString)(data.botVersion);
|
|
6290
6290
|
}
|
|
6291
6291
|
if (data.intentSummaries !== undefined && data.intentSummaries !== null) {
|
|
6292
6292
|
contents.intentSummaries = deserializeAws_restJson1IntentSummaryList(data.intentSummaries, context);
|
|
6293
6293
|
}
|
|
6294
6294
|
if (data.localeId !== undefined && data.localeId !== null) {
|
|
6295
|
-
contents.localeId = smithy_client_1.expectString(data.localeId);
|
|
6295
|
+
contents.localeId = (0, smithy_client_1.expectString)(data.localeId);
|
|
6296
6296
|
}
|
|
6297
6297
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
6298
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
6298
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
6299
6299
|
}
|
|
6300
6300
|
return Promise.resolve(contents);
|
|
6301
6301
|
};
|
|
@@ -6328,7 +6328,7 @@ const deserializeAws_restJson1ListIntentsCommandError = async (output, context)
|
|
|
6328
6328
|
$fault: "client",
|
|
6329
6329
|
$metadata: deserializeMetadata(output),
|
|
6330
6330
|
});
|
|
6331
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
6331
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6332
6332
|
}
|
|
6333
6333
|
};
|
|
6334
6334
|
const deserializeAws_restJson1ListRecommendedIntentsCommand = async (output, context) => {
|
|
@@ -6344,21 +6344,21 @@ const deserializeAws_restJson1ListRecommendedIntentsCommand = async (output, con
|
|
|
6344
6344
|
nextToken: undefined,
|
|
6345
6345
|
summaryList: undefined,
|
|
6346
6346
|
};
|
|
6347
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
6347
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
6348
6348
|
if (data.botId !== undefined && data.botId !== null) {
|
|
6349
|
-
contents.botId = smithy_client_1.expectString(data.botId);
|
|
6349
|
+
contents.botId = (0, smithy_client_1.expectString)(data.botId);
|
|
6350
6350
|
}
|
|
6351
6351
|
if (data.botRecommendationId !== undefined && data.botRecommendationId !== null) {
|
|
6352
|
-
contents.botRecommendationId = smithy_client_1.expectString(data.botRecommendationId);
|
|
6352
|
+
contents.botRecommendationId = (0, smithy_client_1.expectString)(data.botRecommendationId);
|
|
6353
6353
|
}
|
|
6354
6354
|
if (data.botVersion !== undefined && data.botVersion !== null) {
|
|
6355
|
-
contents.botVersion = smithy_client_1.expectString(data.botVersion);
|
|
6355
|
+
contents.botVersion = (0, smithy_client_1.expectString)(data.botVersion);
|
|
6356
6356
|
}
|
|
6357
6357
|
if (data.localeId !== undefined && data.localeId !== null) {
|
|
6358
|
-
contents.localeId = smithy_client_1.expectString(data.localeId);
|
|
6358
|
+
contents.localeId = (0, smithy_client_1.expectString)(data.localeId);
|
|
6359
6359
|
}
|
|
6360
6360
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
6361
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
6361
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
6362
6362
|
}
|
|
6363
6363
|
if (data.summaryList !== undefined && data.summaryList !== null) {
|
|
6364
6364
|
contents.summaryList = deserializeAws_restJson1RecommendedIntentSummaryList(data.summaryList, context);
|
|
@@ -6397,7 +6397,7 @@ const deserializeAws_restJson1ListRecommendedIntentsCommandError = async (output
|
|
|
6397
6397
|
$fault: "client",
|
|
6398
6398
|
$metadata: deserializeMetadata(output),
|
|
6399
6399
|
});
|
|
6400
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
6400
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6401
6401
|
}
|
|
6402
6402
|
};
|
|
6403
6403
|
const deserializeAws_restJson1ListSlotsCommand = async (output, context) => {
|
|
@@ -6413,21 +6413,21 @@ const deserializeAws_restJson1ListSlotsCommand = async (output, context) => {
|
|
|
6413
6413
|
nextToken: undefined,
|
|
6414
6414
|
slotSummaries: undefined,
|
|
6415
6415
|
};
|
|
6416
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
6416
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
6417
6417
|
if (data.botId !== undefined && data.botId !== null) {
|
|
6418
|
-
contents.botId = smithy_client_1.expectString(data.botId);
|
|
6418
|
+
contents.botId = (0, smithy_client_1.expectString)(data.botId);
|
|
6419
6419
|
}
|
|
6420
6420
|
if (data.botVersion !== undefined && data.botVersion !== null) {
|
|
6421
|
-
contents.botVersion = smithy_client_1.expectString(data.botVersion);
|
|
6421
|
+
contents.botVersion = (0, smithy_client_1.expectString)(data.botVersion);
|
|
6422
6422
|
}
|
|
6423
6423
|
if (data.intentId !== undefined && data.intentId !== null) {
|
|
6424
|
-
contents.intentId = smithy_client_1.expectString(data.intentId);
|
|
6424
|
+
contents.intentId = (0, smithy_client_1.expectString)(data.intentId);
|
|
6425
6425
|
}
|
|
6426
6426
|
if (data.localeId !== undefined && data.localeId !== null) {
|
|
6427
|
-
contents.localeId = smithy_client_1.expectString(data.localeId);
|
|
6427
|
+
contents.localeId = (0, smithy_client_1.expectString)(data.localeId);
|
|
6428
6428
|
}
|
|
6429
6429
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
6430
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
6430
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
6431
6431
|
}
|
|
6432
6432
|
if (data.slotSummaries !== undefined && data.slotSummaries !== null) {
|
|
6433
6433
|
contents.slotSummaries = deserializeAws_restJson1SlotSummaryList(data.slotSummaries, context);
|
|
@@ -6463,7 +6463,7 @@ const deserializeAws_restJson1ListSlotsCommandError = async (output, context) =>
|
|
|
6463
6463
|
$fault: "client",
|
|
6464
6464
|
$metadata: deserializeMetadata(output),
|
|
6465
6465
|
});
|
|
6466
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
6466
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6467
6467
|
}
|
|
6468
6468
|
};
|
|
6469
6469
|
const deserializeAws_restJson1ListSlotTypesCommand = async (output, context) => {
|
|
@@ -6478,18 +6478,18 @@ const deserializeAws_restJson1ListSlotTypesCommand = async (output, context) =>
|
|
|
6478
6478
|
nextToken: undefined,
|
|
6479
6479
|
slotTypeSummaries: undefined,
|
|
6480
6480
|
};
|
|
6481
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
6481
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
6482
6482
|
if (data.botId !== undefined && data.botId !== null) {
|
|
6483
|
-
contents.botId = smithy_client_1.expectString(data.botId);
|
|
6483
|
+
contents.botId = (0, smithy_client_1.expectString)(data.botId);
|
|
6484
6484
|
}
|
|
6485
6485
|
if (data.botVersion !== undefined && data.botVersion !== null) {
|
|
6486
|
-
contents.botVersion = smithy_client_1.expectString(data.botVersion);
|
|
6486
|
+
contents.botVersion = (0, smithy_client_1.expectString)(data.botVersion);
|
|
6487
6487
|
}
|
|
6488
6488
|
if (data.localeId !== undefined && data.localeId !== null) {
|
|
6489
|
-
contents.localeId = smithy_client_1.expectString(data.localeId);
|
|
6489
|
+
contents.localeId = (0, smithy_client_1.expectString)(data.localeId);
|
|
6490
6490
|
}
|
|
6491
6491
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
6492
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
6492
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
6493
6493
|
}
|
|
6494
6494
|
if (data.slotTypeSummaries !== undefined && data.slotTypeSummaries !== null) {
|
|
6495
6495
|
contents.slotTypeSummaries = deserializeAws_restJson1SlotTypeSummaryList(data.slotTypeSummaries, context);
|
|
@@ -6525,7 +6525,7 @@ const deserializeAws_restJson1ListSlotTypesCommandError = async (output, context
|
|
|
6525
6525
|
$fault: "client",
|
|
6526
6526
|
$metadata: deserializeMetadata(output),
|
|
6527
6527
|
});
|
|
6528
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
6528
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6529
6529
|
}
|
|
6530
6530
|
};
|
|
6531
6531
|
const deserializeAws_restJson1ListTagsForResourceCommand = async (output, context) => {
|
|
@@ -6536,7 +6536,7 @@ const deserializeAws_restJson1ListTagsForResourceCommand = async (output, contex
|
|
|
6536
6536
|
$metadata: deserializeMetadata(output),
|
|
6537
6537
|
tags: undefined,
|
|
6538
6538
|
};
|
|
6539
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
6539
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
6540
6540
|
if (data.tags !== undefined && data.tags !== null) {
|
|
6541
6541
|
contents.tags = deserializeAws_restJson1TagMap(data.tags, context);
|
|
6542
6542
|
}
|
|
@@ -6571,7 +6571,7 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
|
|
|
6571
6571
|
$fault: "client",
|
|
6572
6572
|
$metadata: deserializeMetadata(output),
|
|
6573
6573
|
});
|
|
6574
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
6574
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6575
6575
|
}
|
|
6576
6576
|
};
|
|
6577
6577
|
const deserializeAws_restJson1SearchAssociatedTranscriptsCommand = async (output, context) => {
|
|
@@ -6588,27 +6588,27 @@ const deserializeAws_restJson1SearchAssociatedTranscriptsCommand = async (output
|
|
|
6588
6588
|
nextIndex: undefined,
|
|
6589
6589
|
totalResults: undefined,
|
|
6590
6590
|
};
|
|
6591
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
6591
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
6592
6592
|
if (data.associatedTranscripts !== undefined && data.associatedTranscripts !== null) {
|
|
6593
6593
|
contents.associatedTranscripts = deserializeAws_restJson1AssociatedTranscriptList(data.associatedTranscripts, context);
|
|
6594
6594
|
}
|
|
6595
6595
|
if (data.botId !== undefined && data.botId !== null) {
|
|
6596
|
-
contents.botId = smithy_client_1.expectString(data.botId);
|
|
6596
|
+
contents.botId = (0, smithy_client_1.expectString)(data.botId);
|
|
6597
6597
|
}
|
|
6598
6598
|
if (data.botRecommendationId !== undefined && data.botRecommendationId !== null) {
|
|
6599
|
-
contents.botRecommendationId = smithy_client_1.expectString(data.botRecommendationId);
|
|
6599
|
+
contents.botRecommendationId = (0, smithy_client_1.expectString)(data.botRecommendationId);
|
|
6600
6600
|
}
|
|
6601
6601
|
if (data.botVersion !== undefined && data.botVersion !== null) {
|
|
6602
|
-
contents.botVersion = smithy_client_1.expectString(data.botVersion);
|
|
6602
|
+
contents.botVersion = (0, smithy_client_1.expectString)(data.botVersion);
|
|
6603
6603
|
}
|
|
6604
6604
|
if (data.localeId !== undefined && data.localeId !== null) {
|
|
6605
|
-
contents.localeId = smithy_client_1.expectString(data.localeId);
|
|
6605
|
+
contents.localeId = (0, smithy_client_1.expectString)(data.localeId);
|
|
6606
6606
|
}
|
|
6607
6607
|
if (data.nextIndex !== undefined && data.nextIndex !== null) {
|
|
6608
|
-
contents.nextIndex = smithy_client_1.expectInt32(data.nextIndex);
|
|
6608
|
+
contents.nextIndex = (0, smithy_client_1.expectInt32)(data.nextIndex);
|
|
6609
6609
|
}
|
|
6610
6610
|
if (data.totalResults !== undefined && data.totalResults !== null) {
|
|
6611
|
-
contents.totalResults = smithy_client_1.expectInt32(data.totalResults);
|
|
6611
|
+
contents.totalResults = (0, smithy_client_1.expectInt32)(data.totalResults);
|
|
6612
6612
|
}
|
|
6613
6613
|
return Promise.resolve(contents);
|
|
6614
6614
|
};
|
|
@@ -6644,7 +6644,7 @@ const deserializeAws_restJson1SearchAssociatedTranscriptsCommandError = async (o
|
|
|
6644
6644
|
$fault: "client",
|
|
6645
6645
|
$metadata: deserializeMetadata(output),
|
|
6646
6646
|
});
|
|
6647
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
6647
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6648
6648
|
}
|
|
6649
6649
|
};
|
|
6650
6650
|
const deserializeAws_restJson1StartBotRecommendationCommand = async (output, context) => {
|
|
@@ -6662,27 +6662,27 @@ const deserializeAws_restJson1StartBotRecommendationCommand = async (output, con
|
|
|
6662
6662
|
localeId: undefined,
|
|
6663
6663
|
transcriptSourceSetting: undefined,
|
|
6664
6664
|
};
|
|
6665
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
6665
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
6666
6666
|
if (data.botId !== undefined && data.botId !== null) {
|
|
6667
|
-
contents.botId = smithy_client_1.expectString(data.botId);
|
|
6667
|
+
contents.botId = (0, smithy_client_1.expectString)(data.botId);
|
|
6668
6668
|
}
|
|
6669
6669
|
if (data.botRecommendationId !== undefined && data.botRecommendationId !== null) {
|
|
6670
|
-
contents.botRecommendationId = smithy_client_1.expectString(data.botRecommendationId);
|
|
6670
|
+
contents.botRecommendationId = (0, smithy_client_1.expectString)(data.botRecommendationId);
|
|
6671
6671
|
}
|
|
6672
6672
|
if (data.botRecommendationStatus !== undefined && data.botRecommendationStatus !== null) {
|
|
6673
|
-
contents.botRecommendationStatus = smithy_client_1.expectString(data.botRecommendationStatus);
|
|
6673
|
+
contents.botRecommendationStatus = (0, smithy_client_1.expectString)(data.botRecommendationStatus);
|
|
6674
6674
|
}
|
|
6675
6675
|
if (data.botVersion !== undefined && data.botVersion !== null) {
|
|
6676
|
-
contents.botVersion = smithy_client_1.expectString(data.botVersion);
|
|
6676
|
+
contents.botVersion = (0, smithy_client_1.expectString)(data.botVersion);
|
|
6677
6677
|
}
|
|
6678
6678
|
if (data.creationDateTime !== undefined && data.creationDateTime !== null) {
|
|
6679
|
-
contents.creationDateTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.creationDateTime)));
|
|
6679
|
+
contents.creationDateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.creationDateTime)));
|
|
6680
6680
|
}
|
|
6681
6681
|
if (data.encryptionSetting !== undefined && data.encryptionSetting !== null) {
|
|
6682
6682
|
contents.encryptionSetting = deserializeAws_restJson1EncryptionSetting(data.encryptionSetting, context);
|
|
6683
6683
|
}
|
|
6684
6684
|
if (data.localeId !== undefined && data.localeId !== null) {
|
|
6685
|
-
contents.localeId = smithy_client_1.expectString(data.localeId);
|
|
6685
|
+
contents.localeId = (0, smithy_client_1.expectString)(data.localeId);
|
|
6686
6686
|
}
|
|
6687
6687
|
if (data.transcriptSourceSetting !== undefined && data.transcriptSourceSetting !== null) {
|
|
6688
6688
|
contents.transcriptSourceSetting = deserializeAws_restJson1TranscriptSourceSetting(data.transcriptSourceSetting, context);
|
|
@@ -6727,7 +6727,7 @@ const deserializeAws_restJson1StartBotRecommendationCommandError = async (output
|
|
|
6727
6727
|
$fault: "client",
|
|
6728
6728
|
$metadata: deserializeMetadata(output),
|
|
6729
6729
|
});
|
|
6730
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
6730
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6731
6731
|
}
|
|
6732
6732
|
};
|
|
6733
6733
|
const deserializeAws_restJson1StartImportCommand = async (output, context) => {
|
|
@@ -6742,18 +6742,18 @@ const deserializeAws_restJson1StartImportCommand = async (output, context) => {
|
|
|
6742
6742
|
mergeStrategy: undefined,
|
|
6743
6743
|
resourceSpecification: undefined,
|
|
6744
6744
|
};
|
|
6745
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
6745
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
6746
6746
|
if (data.creationDateTime !== undefined && data.creationDateTime !== null) {
|
|
6747
|
-
contents.creationDateTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.creationDateTime)));
|
|
6747
|
+
contents.creationDateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.creationDateTime)));
|
|
6748
6748
|
}
|
|
6749
6749
|
if (data.importId !== undefined && data.importId !== null) {
|
|
6750
|
-
contents.importId = smithy_client_1.expectString(data.importId);
|
|
6750
|
+
contents.importId = (0, smithy_client_1.expectString)(data.importId);
|
|
6751
6751
|
}
|
|
6752
6752
|
if (data.importStatus !== undefined && data.importStatus !== null) {
|
|
6753
|
-
contents.importStatus = smithy_client_1.expectString(data.importStatus);
|
|
6753
|
+
contents.importStatus = (0, smithy_client_1.expectString)(data.importStatus);
|
|
6754
6754
|
}
|
|
6755
6755
|
if (data.mergeStrategy !== undefined && data.mergeStrategy !== null) {
|
|
6756
|
-
contents.mergeStrategy = smithy_client_1.expectString(data.mergeStrategy);
|
|
6756
|
+
contents.mergeStrategy = (0, smithy_client_1.expectString)(data.mergeStrategy);
|
|
6757
6757
|
}
|
|
6758
6758
|
if (data.resourceSpecification !== undefined && data.resourceSpecification !== null) {
|
|
6759
6759
|
contents.resourceSpecification = deserializeAws_restJson1ImportResourceSpecification(data.resourceSpecification, context);
|
|
@@ -6795,7 +6795,7 @@ const deserializeAws_restJson1StartImportCommandError = async (output, context)
|
|
|
6795
6795
|
$fault: "client",
|
|
6796
6796
|
$metadata: deserializeMetadata(output),
|
|
6797
6797
|
});
|
|
6798
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
6798
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6799
6799
|
}
|
|
6800
6800
|
};
|
|
6801
6801
|
const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
|
|
@@ -6837,7 +6837,7 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
|
|
|
6837
6837
|
$fault: "client",
|
|
6838
6838
|
$metadata: deserializeMetadata(output),
|
|
6839
6839
|
});
|
|
6840
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
6840
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6841
6841
|
}
|
|
6842
6842
|
};
|
|
6843
6843
|
const deserializeAws_restJson1UntagResourceCommand = async (output, context) => {
|
|
@@ -6879,7 +6879,7 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
|
|
|
6879
6879
|
$fault: "client",
|
|
6880
6880
|
$metadata: deserializeMetadata(output),
|
|
6881
6881
|
});
|
|
6882
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
6882
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6883
6883
|
}
|
|
6884
6884
|
};
|
|
6885
6885
|
const deserializeAws_restJson1UpdateBotCommand = async (output, context) => {
|
|
@@ -6898,33 +6898,33 @@ const deserializeAws_restJson1UpdateBotCommand = async (output, context) => {
|
|
|
6898
6898
|
lastUpdatedDateTime: undefined,
|
|
6899
6899
|
roleArn: undefined,
|
|
6900
6900
|
};
|
|
6901
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
6901
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
6902
6902
|
if (data.botId !== undefined && data.botId !== null) {
|
|
6903
|
-
contents.botId = smithy_client_1.expectString(data.botId);
|
|
6903
|
+
contents.botId = (0, smithy_client_1.expectString)(data.botId);
|
|
6904
6904
|
}
|
|
6905
6905
|
if (data.botName !== undefined && data.botName !== null) {
|
|
6906
|
-
contents.botName = smithy_client_1.expectString(data.botName);
|
|
6906
|
+
contents.botName = (0, smithy_client_1.expectString)(data.botName);
|
|
6907
6907
|
}
|
|
6908
6908
|
if (data.botStatus !== undefined && data.botStatus !== null) {
|
|
6909
|
-
contents.botStatus = smithy_client_1.expectString(data.botStatus);
|
|
6909
|
+
contents.botStatus = (0, smithy_client_1.expectString)(data.botStatus);
|
|
6910
6910
|
}
|
|
6911
6911
|
if (data.creationDateTime !== undefined && data.creationDateTime !== null) {
|
|
6912
|
-
contents.creationDateTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.creationDateTime)));
|
|
6912
|
+
contents.creationDateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.creationDateTime)));
|
|
6913
6913
|
}
|
|
6914
6914
|
if (data.dataPrivacy !== undefined && data.dataPrivacy !== null) {
|
|
6915
6915
|
contents.dataPrivacy = deserializeAws_restJson1DataPrivacy(data.dataPrivacy, context);
|
|
6916
6916
|
}
|
|
6917
6917
|
if (data.description !== undefined && data.description !== null) {
|
|
6918
|
-
contents.description = smithy_client_1.expectString(data.description);
|
|
6918
|
+
contents.description = (0, smithy_client_1.expectString)(data.description);
|
|
6919
6919
|
}
|
|
6920
6920
|
if (data.idleSessionTTLInSeconds !== undefined && data.idleSessionTTLInSeconds !== null) {
|
|
6921
|
-
contents.idleSessionTTLInSeconds = smithy_client_1.expectInt32(data.idleSessionTTLInSeconds);
|
|
6921
|
+
contents.idleSessionTTLInSeconds = (0, smithy_client_1.expectInt32)(data.idleSessionTTLInSeconds);
|
|
6922
6922
|
}
|
|
6923
6923
|
if (data.lastUpdatedDateTime !== undefined && data.lastUpdatedDateTime !== null) {
|
|
6924
|
-
contents.lastUpdatedDateTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.lastUpdatedDateTime)));
|
|
6924
|
+
contents.lastUpdatedDateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.lastUpdatedDateTime)));
|
|
6925
6925
|
}
|
|
6926
6926
|
if (data.roleArn !== undefined && data.roleArn !== null) {
|
|
6927
|
-
contents.roleArn = smithy_client_1.expectString(data.roleArn);
|
|
6927
|
+
contents.roleArn = (0, smithy_client_1.expectString)(data.roleArn);
|
|
6928
6928
|
}
|
|
6929
6929
|
return Promise.resolve(contents);
|
|
6930
6930
|
};
|
|
@@ -6963,7 +6963,7 @@ const deserializeAws_restJson1UpdateBotCommandError = async (output, context) =>
|
|
|
6963
6963
|
$fault: "client",
|
|
6964
6964
|
$metadata: deserializeMetadata(output),
|
|
6965
6965
|
});
|
|
6966
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
6966
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6967
6967
|
}
|
|
6968
6968
|
};
|
|
6969
6969
|
const deserializeAws_restJson1UpdateBotAliasCommand = async (output, context) => {
|
|
@@ -6984,36 +6984,36 @@ const deserializeAws_restJson1UpdateBotAliasCommand = async (output, context) =>
|
|
|
6984
6984
|
lastUpdatedDateTime: undefined,
|
|
6985
6985
|
sentimentAnalysisSettings: undefined,
|
|
6986
6986
|
};
|
|
6987
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
6987
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
6988
6988
|
if (data.botAliasId !== undefined && data.botAliasId !== null) {
|
|
6989
|
-
contents.botAliasId = smithy_client_1.expectString(data.botAliasId);
|
|
6989
|
+
contents.botAliasId = (0, smithy_client_1.expectString)(data.botAliasId);
|
|
6990
6990
|
}
|
|
6991
6991
|
if (data.botAliasLocaleSettings !== undefined && data.botAliasLocaleSettings !== null) {
|
|
6992
6992
|
contents.botAliasLocaleSettings = deserializeAws_restJson1BotAliasLocaleSettingsMap(data.botAliasLocaleSettings, context);
|
|
6993
6993
|
}
|
|
6994
6994
|
if (data.botAliasName !== undefined && data.botAliasName !== null) {
|
|
6995
|
-
contents.botAliasName = smithy_client_1.expectString(data.botAliasName);
|
|
6995
|
+
contents.botAliasName = (0, smithy_client_1.expectString)(data.botAliasName);
|
|
6996
6996
|
}
|
|
6997
6997
|
if (data.botAliasStatus !== undefined && data.botAliasStatus !== null) {
|
|
6998
|
-
contents.botAliasStatus = smithy_client_1.expectString(data.botAliasStatus);
|
|
6998
|
+
contents.botAliasStatus = (0, smithy_client_1.expectString)(data.botAliasStatus);
|
|
6999
6999
|
}
|
|
7000
7000
|
if (data.botId !== undefined && data.botId !== null) {
|
|
7001
|
-
contents.botId = smithy_client_1.expectString(data.botId);
|
|
7001
|
+
contents.botId = (0, smithy_client_1.expectString)(data.botId);
|
|
7002
7002
|
}
|
|
7003
7003
|
if (data.botVersion !== undefined && data.botVersion !== null) {
|
|
7004
|
-
contents.botVersion = smithy_client_1.expectString(data.botVersion);
|
|
7004
|
+
contents.botVersion = (0, smithy_client_1.expectString)(data.botVersion);
|
|
7005
7005
|
}
|
|
7006
7006
|
if (data.conversationLogSettings !== undefined && data.conversationLogSettings !== null) {
|
|
7007
7007
|
contents.conversationLogSettings = deserializeAws_restJson1ConversationLogSettings(data.conversationLogSettings, context);
|
|
7008
7008
|
}
|
|
7009
7009
|
if (data.creationDateTime !== undefined && data.creationDateTime !== null) {
|
|
7010
|
-
contents.creationDateTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.creationDateTime)));
|
|
7010
|
+
contents.creationDateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.creationDateTime)));
|
|
7011
7011
|
}
|
|
7012
7012
|
if (data.description !== undefined && data.description !== null) {
|
|
7013
|
-
contents.description = smithy_client_1.expectString(data.description);
|
|
7013
|
+
contents.description = (0, smithy_client_1.expectString)(data.description);
|
|
7014
7014
|
}
|
|
7015
7015
|
if (data.lastUpdatedDateTime !== undefined && data.lastUpdatedDateTime !== null) {
|
|
7016
|
-
contents.lastUpdatedDateTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.lastUpdatedDateTime)));
|
|
7016
|
+
contents.lastUpdatedDateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.lastUpdatedDateTime)));
|
|
7017
7017
|
}
|
|
7018
7018
|
if (data.sentimentAnalysisSettings !== undefined && data.sentimentAnalysisSettings !== null) {
|
|
7019
7019
|
contents.sentimentAnalysisSettings = deserializeAws_restJson1SentimentAnalysisSettings(data.sentimentAnalysisSettings, context);
|
|
@@ -7055,7 +7055,7 @@ const deserializeAws_restJson1UpdateBotAliasCommandError = async (output, contex
|
|
|
7055
7055
|
$fault: "client",
|
|
7056
7056
|
$metadata: deserializeMetadata(output),
|
|
7057
7057
|
});
|
|
7058
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
7058
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
7059
7059
|
}
|
|
7060
7060
|
};
|
|
7061
7061
|
const deserializeAws_restJson1UpdateBotLocaleCommand = async (output, context) => {
|
|
@@ -7077,36 +7077,36 @@ const deserializeAws_restJson1UpdateBotLocaleCommand = async (output, context) =
|
|
|
7077
7077
|
recommendedActions: undefined,
|
|
7078
7078
|
voiceSettings: undefined,
|
|
7079
7079
|
};
|
|
7080
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
7080
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
7081
7081
|
if (data.botId !== undefined && data.botId !== null) {
|
|
7082
|
-
contents.botId = smithy_client_1.expectString(data.botId);
|
|
7082
|
+
contents.botId = (0, smithy_client_1.expectString)(data.botId);
|
|
7083
7083
|
}
|
|
7084
7084
|
if (data.botLocaleStatus !== undefined && data.botLocaleStatus !== null) {
|
|
7085
|
-
contents.botLocaleStatus = smithy_client_1.expectString(data.botLocaleStatus);
|
|
7085
|
+
contents.botLocaleStatus = (0, smithy_client_1.expectString)(data.botLocaleStatus);
|
|
7086
7086
|
}
|
|
7087
7087
|
if (data.botVersion !== undefined && data.botVersion !== null) {
|
|
7088
|
-
contents.botVersion = smithy_client_1.expectString(data.botVersion);
|
|
7088
|
+
contents.botVersion = (0, smithy_client_1.expectString)(data.botVersion);
|
|
7089
7089
|
}
|
|
7090
7090
|
if (data.creationDateTime !== undefined && data.creationDateTime !== null) {
|
|
7091
|
-
contents.creationDateTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.creationDateTime)));
|
|
7091
|
+
contents.creationDateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.creationDateTime)));
|
|
7092
7092
|
}
|
|
7093
7093
|
if (data.description !== undefined && data.description !== null) {
|
|
7094
|
-
contents.description = smithy_client_1.expectString(data.description);
|
|
7094
|
+
contents.description = (0, smithy_client_1.expectString)(data.description);
|
|
7095
7095
|
}
|
|
7096
7096
|
if (data.failureReasons !== undefined && data.failureReasons !== null) {
|
|
7097
7097
|
contents.failureReasons = deserializeAws_restJson1FailureReasons(data.failureReasons, context);
|
|
7098
7098
|
}
|
|
7099
7099
|
if (data.lastUpdatedDateTime !== undefined && data.lastUpdatedDateTime !== null) {
|
|
7100
|
-
contents.lastUpdatedDateTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.lastUpdatedDateTime)));
|
|
7100
|
+
contents.lastUpdatedDateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.lastUpdatedDateTime)));
|
|
7101
7101
|
}
|
|
7102
7102
|
if (data.localeId !== undefined && data.localeId !== null) {
|
|
7103
|
-
contents.localeId = smithy_client_1.expectString(data.localeId);
|
|
7103
|
+
contents.localeId = (0, smithy_client_1.expectString)(data.localeId);
|
|
7104
7104
|
}
|
|
7105
7105
|
if (data.localeName !== undefined && data.localeName !== null) {
|
|
7106
|
-
contents.localeName = smithy_client_1.expectString(data.localeName);
|
|
7106
|
+
contents.localeName = (0, smithy_client_1.expectString)(data.localeName);
|
|
7107
7107
|
}
|
|
7108
7108
|
if (data.nluIntentConfidenceThreshold !== undefined && data.nluIntentConfidenceThreshold !== null) {
|
|
7109
|
-
contents.nluIntentConfidenceThreshold = smithy_client_1.limitedParseDouble(data.nluIntentConfidenceThreshold);
|
|
7109
|
+
contents.nluIntentConfidenceThreshold = (0, smithy_client_1.limitedParseDouble)(data.nluIntentConfidenceThreshold);
|
|
7110
7110
|
}
|
|
7111
7111
|
if (data.recommendedActions !== undefined && data.recommendedActions !== null) {
|
|
7112
7112
|
contents.recommendedActions = deserializeAws_restJson1RecommendedActions(data.recommendedActions, context);
|
|
@@ -7151,7 +7151,7 @@ const deserializeAws_restJson1UpdateBotLocaleCommandError = async (output, conte
|
|
|
7151
7151
|
$fault: "client",
|
|
7152
7152
|
$metadata: deserializeMetadata(output),
|
|
7153
7153
|
});
|
|
7154
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
7154
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
7155
7155
|
}
|
|
7156
7156
|
};
|
|
7157
7157
|
const deserializeAws_restJson1UpdateBotRecommendationCommand = async (output, context) => {
|
|
@@ -7170,30 +7170,30 @@ const deserializeAws_restJson1UpdateBotRecommendationCommand = async (output, co
|
|
|
7170
7170
|
localeId: undefined,
|
|
7171
7171
|
transcriptSourceSetting: undefined,
|
|
7172
7172
|
};
|
|
7173
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
7173
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
7174
7174
|
if (data.botId !== undefined && data.botId !== null) {
|
|
7175
|
-
contents.botId = smithy_client_1.expectString(data.botId);
|
|
7175
|
+
contents.botId = (0, smithy_client_1.expectString)(data.botId);
|
|
7176
7176
|
}
|
|
7177
7177
|
if (data.botRecommendationId !== undefined && data.botRecommendationId !== null) {
|
|
7178
|
-
contents.botRecommendationId = smithy_client_1.expectString(data.botRecommendationId);
|
|
7178
|
+
contents.botRecommendationId = (0, smithy_client_1.expectString)(data.botRecommendationId);
|
|
7179
7179
|
}
|
|
7180
7180
|
if (data.botRecommendationStatus !== undefined && data.botRecommendationStatus !== null) {
|
|
7181
|
-
contents.botRecommendationStatus = smithy_client_1.expectString(data.botRecommendationStatus);
|
|
7181
|
+
contents.botRecommendationStatus = (0, smithy_client_1.expectString)(data.botRecommendationStatus);
|
|
7182
7182
|
}
|
|
7183
7183
|
if (data.botVersion !== undefined && data.botVersion !== null) {
|
|
7184
|
-
contents.botVersion = smithy_client_1.expectString(data.botVersion);
|
|
7184
|
+
contents.botVersion = (0, smithy_client_1.expectString)(data.botVersion);
|
|
7185
7185
|
}
|
|
7186
7186
|
if (data.creationDateTime !== undefined && data.creationDateTime !== null) {
|
|
7187
|
-
contents.creationDateTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.creationDateTime)));
|
|
7187
|
+
contents.creationDateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.creationDateTime)));
|
|
7188
7188
|
}
|
|
7189
7189
|
if (data.encryptionSetting !== undefined && data.encryptionSetting !== null) {
|
|
7190
7190
|
contents.encryptionSetting = deserializeAws_restJson1EncryptionSetting(data.encryptionSetting, context);
|
|
7191
7191
|
}
|
|
7192
7192
|
if (data.lastUpdatedDateTime !== undefined && data.lastUpdatedDateTime !== null) {
|
|
7193
|
-
contents.lastUpdatedDateTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.lastUpdatedDateTime)));
|
|
7193
|
+
contents.lastUpdatedDateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.lastUpdatedDateTime)));
|
|
7194
7194
|
}
|
|
7195
7195
|
if (data.localeId !== undefined && data.localeId !== null) {
|
|
7196
|
-
contents.localeId = smithy_client_1.expectString(data.localeId);
|
|
7196
|
+
contents.localeId = (0, smithy_client_1.expectString)(data.localeId);
|
|
7197
7197
|
}
|
|
7198
7198
|
if (data.transcriptSourceSetting !== undefined && data.transcriptSourceSetting !== null) {
|
|
7199
7199
|
contents.transcriptSourceSetting = deserializeAws_restJson1TranscriptSourceSetting(data.transcriptSourceSetting, context);
|
|
@@ -7238,7 +7238,7 @@ const deserializeAws_restJson1UpdateBotRecommendationCommandError = async (outpu
|
|
|
7238
7238
|
$fault: "client",
|
|
7239
7239
|
$metadata: deserializeMetadata(output),
|
|
7240
7240
|
});
|
|
7241
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
7241
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
7242
7242
|
}
|
|
7243
7243
|
};
|
|
7244
7244
|
const deserializeAws_restJson1UpdateExportCommand = async (output, context) => {
|
|
@@ -7254,21 +7254,21 @@ const deserializeAws_restJson1UpdateExportCommand = async (output, context) => {
|
|
|
7254
7254
|
lastUpdatedDateTime: undefined,
|
|
7255
7255
|
resourceSpecification: undefined,
|
|
7256
7256
|
};
|
|
7257
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
7257
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
7258
7258
|
if (data.creationDateTime !== undefined && data.creationDateTime !== null) {
|
|
7259
|
-
contents.creationDateTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.creationDateTime)));
|
|
7259
|
+
contents.creationDateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.creationDateTime)));
|
|
7260
7260
|
}
|
|
7261
7261
|
if (data.exportId !== undefined && data.exportId !== null) {
|
|
7262
|
-
contents.exportId = smithy_client_1.expectString(data.exportId);
|
|
7262
|
+
contents.exportId = (0, smithy_client_1.expectString)(data.exportId);
|
|
7263
7263
|
}
|
|
7264
7264
|
if (data.exportStatus !== undefined && data.exportStatus !== null) {
|
|
7265
|
-
contents.exportStatus = smithy_client_1.expectString(data.exportStatus);
|
|
7265
|
+
contents.exportStatus = (0, smithy_client_1.expectString)(data.exportStatus);
|
|
7266
7266
|
}
|
|
7267
7267
|
if (data.fileFormat !== undefined && data.fileFormat !== null) {
|
|
7268
|
-
contents.fileFormat = smithy_client_1.expectString(data.fileFormat);
|
|
7268
|
+
contents.fileFormat = (0, smithy_client_1.expectString)(data.fileFormat);
|
|
7269
7269
|
}
|
|
7270
7270
|
if (data.lastUpdatedDateTime !== undefined && data.lastUpdatedDateTime !== null) {
|
|
7271
|
-
contents.lastUpdatedDateTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.lastUpdatedDateTime)));
|
|
7271
|
+
contents.lastUpdatedDateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.lastUpdatedDateTime)));
|
|
7272
7272
|
}
|
|
7273
7273
|
if (data.resourceSpecification !== undefined && data.resourceSpecification !== null) {
|
|
7274
7274
|
contents.resourceSpecification = deserializeAws_restJson1ExportResourceSpecification(data.resourceSpecification, context);
|
|
@@ -7310,7 +7310,7 @@ const deserializeAws_restJson1UpdateExportCommandError = async (output, context)
|
|
|
7310
7310
|
$fault: "client",
|
|
7311
7311
|
$metadata: deserializeMetadata(output),
|
|
7312
7312
|
});
|
|
7313
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
7313
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
7314
7314
|
}
|
|
7315
7315
|
};
|
|
7316
7316
|
const deserializeAws_restJson1UpdateIntentCommand = async (output, context) => {
|
|
@@ -7338,18 +7338,18 @@ const deserializeAws_restJson1UpdateIntentCommand = async (output, context) => {
|
|
|
7338
7338
|
sampleUtterances: undefined,
|
|
7339
7339
|
slotPriorities: undefined,
|
|
7340
7340
|
};
|
|
7341
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
7341
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
7342
7342
|
if (data.botId !== undefined && data.botId !== null) {
|
|
7343
|
-
contents.botId = smithy_client_1.expectString(data.botId);
|
|
7343
|
+
contents.botId = (0, smithy_client_1.expectString)(data.botId);
|
|
7344
7344
|
}
|
|
7345
7345
|
if (data.botVersion !== undefined && data.botVersion !== null) {
|
|
7346
|
-
contents.botVersion = smithy_client_1.expectString(data.botVersion);
|
|
7346
|
+
contents.botVersion = (0, smithy_client_1.expectString)(data.botVersion);
|
|
7347
7347
|
}
|
|
7348
7348
|
if (data.creationDateTime !== undefined && data.creationDateTime !== null) {
|
|
7349
|
-
contents.creationDateTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.creationDateTime)));
|
|
7349
|
+
contents.creationDateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.creationDateTime)));
|
|
7350
7350
|
}
|
|
7351
7351
|
if (data.description !== undefined && data.description !== null) {
|
|
7352
|
-
contents.description = smithy_client_1.expectString(data.description);
|
|
7352
|
+
contents.description = (0, smithy_client_1.expectString)(data.description);
|
|
7353
7353
|
}
|
|
7354
7354
|
if (data.dialogCodeHook !== undefined && data.dialogCodeHook !== null) {
|
|
7355
7355
|
contents.dialogCodeHook = deserializeAws_restJson1DialogCodeHookSettings(data.dialogCodeHook, context);
|
|
@@ -7367,25 +7367,25 @@ const deserializeAws_restJson1UpdateIntentCommand = async (output, context) => {
|
|
|
7367
7367
|
contents.intentConfirmationSetting = deserializeAws_restJson1IntentConfirmationSetting(data.intentConfirmationSetting, context);
|
|
7368
7368
|
}
|
|
7369
7369
|
if (data.intentId !== undefined && data.intentId !== null) {
|
|
7370
|
-
contents.intentId = smithy_client_1.expectString(data.intentId);
|
|
7370
|
+
contents.intentId = (0, smithy_client_1.expectString)(data.intentId);
|
|
7371
7371
|
}
|
|
7372
7372
|
if (data.intentName !== undefined && data.intentName !== null) {
|
|
7373
|
-
contents.intentName = smithy_client_1.expectString(data.intentName);
|
|
7373
|
+
contents.intentName = (0, smithy_client_1.expectString)(data.intentName);
|
|
7374
7374
|
}
|
|
7375
7375
|
if (data.kendraConfiguration !== undefined && data.kendraConfiguration !== null) {
|
|
7376
7376
|
contents.kendraConfiguration = deserializeAws_restJson1KendraConfiguration(data.kendraConfiguration, context);
|
|
7377
7377
|
}
|
|
7378
7378
|
if (data.lastUpdatedDateTime !== undefined && data.lastUpdatedDateTime !== null) {
|
|
7379
|
-
contents.lastUpdatedDateTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.lastUpdatedDateTime)));
|
|
7379
|
+
contents.lastUpdatedDateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.lastUpdatedDateTime)));
|
|
7380
7380
|
}
|
|
7381
7381
|
if (data.localeId !== undefined && data.localeId !== null) {
|
|
7382
|
-
contents.localeId = smithy_client_1.expectString(data.localeId);
|
|
7382
|
+
contents.localeId = (0, smithy_client_1.expectString)(data.localeId);
|
|
7383
7383
|
}
|
|
7384
7384
|
if (data.outputContexts !== undefined && data.outputContexts !== null) {
|
|
7385
7385
|
contents.outputContexts = deserializeAws_restJson1OutputContextsList(data.outputContexts, context);
|
|
7386
7386
|
}
|
|
7387
7387
|
if (data.parentIntentSignature !== undefined && data.parentIntentSignature !== null) {
|
|
7388
|
-
contents.parentIntentSignature = smithy_client_1.expectString(data.parentIntentSignature);
|
|
7388
|
+
contents.parentIntentSignature = (0, smithy_client_1.expectString)(data.parentIntentSignature);
|
|
7389
7389
|
}
|
|
7390
7390
|
if (data.sampleUtterances !== undefined && data.sampleUtterances !== null) {
|
|
7391
7391
|
contents.sampleUtterances = deserializeAws_restJson1SampleUtterancesList(data.sampleUtterances, context);
|
|
@@ -7430,7 +7430,7 @@ const deserializeAws_restJson1UpdateIntentCommandError = async (output, context)
|
|
|
7430
7430
|
$fault: "client",
|
|
7431
7431
|
$metadata: deserializeMetadata(output),
|
|
7432
7432
|
});
|
|
7433
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
7433
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
7434
7434
|
}
|
|
7435
7435
|
};
|
|
7436
7436
|
const deserializeAws_restJson1UpdateResourcePolicyCommand = async (output, context) => {
|
|
@@ -7442,12 +7442,12 @@ const deserializeAws_restJson1UpdateResourcePolicyCommand = async (output, conte
|
|
|
7442
7442
|
resourceArn: undefined,
|
|
7443
7443
|
revisionId: undefined,
|
|
7444
7444
|
};
|
|
7445
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
7445
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
7446
7446
|
if (data.resourceArn !== undefined && data.resourceArn !== null) {
|
|
7447
|
-
contents.resourceArn = smithy_client_1.expectString(data.resourceArn);
|
|
7447
|
+
contents.resourceArn = (0, smithy_client_1.expectString)(data.resourceArn);
|
|
7448
7448
|
}
|
|
7449
7449
|
if (data.revisionId !== undefined && data.revisionId !== null) {
|
|
7450
|
-
contents.revisionId = smithy_client_1.expectString(data.revisionId);
|
|
7450
|
+
contents.revisionId = (0, smithy_client_1.expectString)(data.revisionId);
|
|
7451
7451
|
}
|
|
7452
7452
|
return Promise.resolve(contents);
|
|
7453
7453
|
};
|
|
@@ -7486,7 +7486,7 @@ const deserializeAws_restJson1UpdateResourcePolicyCommandError = async (output,
|
|
|
7486
7486
|
$fault: "client",
|
|
7487
7487
|
$metadata: deserializeMetadata(output),
|
|
7488
7488
|
});
|
|
7489
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
7489
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
7490
7490
|
}
|
|
7491
7491
|
};
|
|
7492
7492
|
const deserializeAws_restJson1UpdateSlotCommand = async (output, context) => {
|
|
@@ -7509,27 +7509,27 @@ const deserializeAws_restJson1UpdateSlotCommand = async (output, context) => {
|
|
|
7509
7509
|
slotTypeId: undefined,
|
|
7510
7510
|
valueElicitationSetting: undefined,
|
|
7511
7511
|
};
|
|
7512
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
7512
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
7513
7513
|
if (data.botId !== undefined && data.botId !== null) {
|
|
7514
|
-
contents.botId = smithy_client_1.expectString(data.botId);
|
|
7514
|
+
contents.botId = (0, smithy_client_1.expectString)(data.botId);
|
|
7515
7515
|
}
|
|
7516
7516
|
if (data.botVersion !== undefined && data.botVersion !== null) {
|
|
7517
|
-
contents.botVersion = smithy_client_1.expectString(data.botVersion);
|
|
7517
|
+
contents.botVersion = (0, smithy_client_1.expectString)(data.botVersion);
|
|
7518
7518
|
}
|
|
7519
7519
|
if (data.creationDateTime !== undefined && data.creationDateTime !== null) {
|
|
7520
|
-
contents.creationDateTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.creationDateTime)));
|
|
7520
|
+
contents.creationDateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.creationDateTime)));
|
|
7521
7521
|
}
|
|
7522
7522
|
if (data.description !== undefined && data.description !== null) {
|
|
7523
|
-
contents.description = smithy_client_1.expectString(data.description);
|
|
7523
|
+
contents.description = (0, smithy_client_1.expectString)(data.description);
|
|
7524
7524
|
}
|
|
7525
7525
|
if (data.intentId !== undefined && data.intentId !== null) {
|
|
7526
|
-
contents.intentId = smithy_client_1.expectString(data.intentId);
|
|
7526
|
+
contents.intentId = (0, smithy_client_1.expectString)(data.intentId);
|
|
7527
7527
|
}
|
|
7528
7528
|
if (data.lastUpdatedDateTime !== undefined && data.lastUpdatedDateTime !== null) {
|
|
7529
|
-
contents.lastUpdatedDateTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.lastUpdatedDateTime)));
|
|
7529
|
+
contents.lastUpdatedDateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.lastUpdatedDateTime)));
|
|
7530
7530
|
}
|
|
7531
7531
|
if (data.localeId !== undefined && data.localeId !== null) {
|
|
7532
|
-
contents.localeId = smithy_client_1.expectString(data.localeId);
|
|
7532
|
+
contents.localeId = (0, smithy_client_1.expectString)(data.localeId);
|
|
7533
7533
|
}
|
|
7534
7534
|
if (data.multipleValuesSetting !== undefined && data.multipleValuesSetting !== null) {
|
|
7535
7535
|
contents.multipleValuesSetting = deserializeAws_restJson1MultipleValuesSetting(data.multipleValuesSetting, context);
|
|
@@ -7538,13 +7538,13 @@ const deserializeAws_restJson1UpdateSlotCommand = async (output, context) => {
|
|
|
7538
7538
|
contents.obfuscationSetting = deserializeAws_restJson1ObfuscationSetting(data.obfuscationSetting, context);
|
|
7539
7539
|
}
|
|
7540
7540
|
if (data.slotId !== undefined && data.slotId !== null) {
|
|
7541
|
-
contents.slotId = smithy_client_1.expectString(data.slotId);
|
|
7541
|
+
contents.slotId = (0, smithy_client_1.expectString)(data.slotId);
|
|
7542
7542
|
}
|
|
7543
7543
|
if (data.slotName !== undefined && data.slotName !== null) {
|
|
7544
|
-
contents.slotName = smithy_client_1.expectString(data.slotName);
|
|
7544
|
+
contents.slotName = (0, smithy_client_1.expectString)(data.slotName);
|
|
7545
7545
|
}
|
|
7546
7546
|
if (data.slotTypeId !== undefined && data.slotTypeId !== null) {
|
|
7547
|
-
contents.slotTypeId = smithy_client_1.expectString(data.slotTypeId);
|
|
7547
|
+
contents.slotTypeId = (0, smithy_client_1.expectString)(data.slotTypeId);
|
|
7548
7548
|
}
|
|
7549
7549
|
if (data.valueElicitationSetting !== undefined && data.valueElicitationSetting !== null) {
|
|
7550
7550
|
contents.valueElicitationSetting = deserializeAws_restJson1SlotValueElicitationSetting(data.valueElicitationSetting, context);
|
|
@@ -7586,7 +7586,7 @@ const deserializeAws_restJson1UpdateSlotCommandError = async (output, context) =
|
|
|
7586
7586
|
$fault: "client",
|
|
7587
7587
|
$metadata: deserializeMetadata(output),
|
|
7588
7588
|
});
|
|
7589
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
7589
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
7590
7590
|
}
|
|
7591
7591
|
};
|
|
7592
7592
|
const deserializeAws_restJson1UpdateSlotTypeCommand = async (output, context) => {
|
|
@@ -7608,36 +7608,36 @@ const deserializeAws_restJson1UpdateSlotTypeCommand = async (output, context) =>
|
|
|
7608
7608
|
slotTypeValues: undefined,
|
|
7609
7609
|
valueSelectionSetting: undefined,
|
|
7610
7610
|
};
|
|
7611
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
7611
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
7612
7612
|
if (data.botId !== undefined && data.botId !== null) {
|
|
7613
|
-
contents.botId = smithy_client_1.expectString(data.botId);
|
|
7613
|
+
contents.botId = (0, smithy_client_1.expectString)(data.botId);
|
|
7614
7614
|
}
|
|
7615
7615
|
if (data.botVersion !== undefined && data.botVersion !== null) {
|
|
7616
|
-
contents.botVersion = smithy_client_1.expectString(data.botVersion);
|
|
7616
|
+
contents.botVersion = (0, smithy_client_1.expectString)(data.botVersion);
|
|
7617
7617
|
}
|
|
7618
7618
|
if (data.creationDateTime !== undefined && data.creationDateTime !== null) {
|
|
7619
|
-
contents.creationDateTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.creationDateTime)));
|
|
7619
|
+
contents.creationDateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.creationDateTime)));
|
|
7620
7620
|
}
|
|
7621
7621
|
if (data.description !== undefined && data.description !== null) {
|
|
7622
|
-
contents.description = smithy_client_1.expectString(data.description);
|
|
7622
|
+
contents.description = (0, smithy_client_1.expectString)(data.description);
|
|
7623
7623
|
}
|
|
7624
7624
|
if (data.externalSourceSetting !== undefined && data.externalSourceSetting !== null) {
|
|
7625
7625
|
contents.externalSourceSetting = deserializeAws_restJson1ExternalSourceSetting(data.externalSourceSetting, context);
|
|
7626
7626
|
}
|
|
7627
7627
|
if (data.lastUpdatedDateTime !== undefined && data.lastUpdatedDateTime !== null) {
|
|
7628
|
-
contents.lastUpdatedDateTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.lastUpdatedDateTime)));
|
|
7628
|
+
contents.lastUpdatedDateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.lastUpdatedDateTime)));
|
|
7629
7629
|
}
|
|
7630
7630
|
if (data.localeId !== undefined && data.localeId !== null) {
|
|
7631
|
-
contents.localeId = smithy_client_1.expectString(data.localeId);
|
|
7631
|
+
contents.localeId = (0, smithy_client_1.expectString)(data.localeId);
|
|
7632
7632
|
}
|
|
7633
7633
|
if (data.parentSlotTypeSignature !== undefined && data.parentSlotTypeSignature !== null) {
|
|
7634
|
-
contents.parentSlotTypeSignature = smithy_client_1.expectString(data.parentSlotTypeSignature);
|
|
7634
|
+
contents.parentSlotTypeSignature = (0, smithy_client_1.expectString)(data.parentSlotTypeSignature);
|
|
7635
7635
|
}
|
|
7636
7636
|
if (data.slotTypeId !== undefined && data.slotTypeId !== null) {
|
|
7637
|
-
contents.slotTypeId = smithy_client_1.expectString(data.slotTypeId);
|
|
7637
|
+
contents.slotTypeId = (0, smithy_client_1.expectString)(data.slotTypeId);
|
|
7638
7638
|
}
|
|
7639
7639
|
if (data.slotTypeName !== undefined && data.slotTypeName !== null) {
|
|
7640
|
-
contents.slotTypeName = smithy_client_1.expectString(data.slotTypeName);
|
|
7640
|
+
contents.slotTypeName = (0, smithy_client_1.expectString)(data.slotTypeName);
|
|
7641
7641
|
}
|
|
7642
7642
|
if (data.slotTypeValues !== undefined && data.slotTypeValues !== null) {
|
|
7643
7643
|
contents.slotTypeValues = deserializeAws_restJson1SlotTypeValues(data.slotTypeValues, context);
|
|
@@ -7682,95 +7682,95 @@ const deserializeAws_restJson1UpdateSlotTypeCommandError = async (output, contex
|
|
|
7682
7682
|
$fault: "client",
|
|
7683
7683
|
$metadata: deserializeMetadata(output),
|
|
7684
7684
|
});
|
|
7685
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
7685
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
7686
7686
|
}
|
|
7687
7687
|
};
|
|
7688
7688
|
const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, context) => {
|
|
7689
7689
|
const contents = {};
|
|
7690
7690
|
const data = parsedOutput.body;
|
|
7691
7691
|
if (data.message !== undefined && data.message !== null) {
|
|
7692
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
7692
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
7693
7693
|
}
|
|
7694
7694
|
const exception = new models_0_1.ConflictException({
|
|
7695
7695
|
$metadata: deserializeMetadata(parsedOutput),
|
|
7696
7696
|
...contents,
|
|
7697
7697
|
});
|
|
7698
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
7698
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
7699
7699
|
};
|
|
7700
7700
|
const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOutput, context) => {
|
|
7701
7701
|
const contents = {};
|
|
7702
7702
|
const data = parsedOutput.body;
|
|
7703
7703
|
if (data.message !== undefined && data.message !== null) {
|
|
7704
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
7704
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
7705
7705
|
}
|
|
7706
7706
|
const exception = new models_0_1.InternalServerException({
|
|
7707
7707
|
$metadata: deserializeMetadata(parsedOutput),
|
|
7708
7708
|
...contents,
|
|
7709
7709
|
});
|
|
7710
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
7710
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
7711
7711
|
};
|
|
7712
7712
|
const deserializeAws_restJson1PreconditionFailedExceptionResponse = async (parsedOutput, context) => {
|
|
7713
7713
|
const contents = {};
|
|
7714
7714
|
const data = parsedOutput.body;
|
|
7715
7715
|
if (data.message !== undefined && data.message !== null) {
|
|
7716
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
7716
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
7717
7717
|
}
|
|
7718
7718
|
const exception = new models_0_1.PreconditionFailedException({
|
|
7719
7719
|
$metadata: deserializeMetadata(parsedOutput),
|
|
7720
7720
|
...contents,
|
|
7721
7721
|
});
|
|
7722
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
7722
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
7723
7723
|
};
|
|
7724
7724
|
const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
|
|
7725
7725
|
const contents = {};
|
|
7726
7726
|
const data = parsedOutput.body;
|
|
7727
7727
|
if (data.message !== undefined && data.message !== null) {
|
|
7728
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
7728
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
7729
7729
|
}
|
|
7730
7730
|
const exception = new models_0_1.ResourceNotFoundException({
|
|
7731
7731
|
$metadata: deserializeMetadata(parsedOutput),
|
|
7732
7732
|
...contents,
|
|
7733
7733
|
});
|
|
7734
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
7734
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
7735
7735
|
};
|
|
7736
7736
|
const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (parsedOutput, context) => {
|
|
7737
7737
|
const contents = {};
|
|
7738
7738
|
const data = parsedOutput.body;
|
|
7739
7739
|
if (data.message !== undefined && data.message !== null) {
|
|
7740
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
7740
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
7741
7741
|
}
|
|
7742
7742
|
const exception = new models_0_1.ServiceQuotaExceededException({
|
|
7743
7743
|
$metadata: deserializeMetadata(parsedOutput),
|
|
7744
7744
|
...contents,
|
|
7745
7745
|
});
|
|
7746
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
7746
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
7747
7747
|
};
|
|
7748
7748
|
const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput, context) => {
|
|
7749
7749
|
const contents = {};
|
|
7750
7750
|
if (parsedOutput.headers["retry-after"] !== undefined) {
|
|
7751
|
-
contents.retryAfterSeconds = smithy_client_1.strictParseInt32(parsedOutput.headers["retry-after"]);
|
|
7751
|
+
contents.retryAfterSeconds = (0, smithy_client_1.strictParseInt32)(parsedOutput.headers["retry-after"]);
|
|
7752
7752
|
}
|
|
7753
7753
|
const data = parsedOutput.body;
|
|
7754
7754
|
if (data.message !== undefined && data.message !== null) {
|
|
7755
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
7755
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
7756
7756
|
}
|
|
7757
7757
|
const exception = new models_0_1.ThrottlingException({
|
|
7758
7758
|
$metadata: deserializeMetadata(parsedOutput),
|
|
7759
7759
|
...contents,
|
|
7760
7760
|
});
|
|
7761
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
7761
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
7762
7762
|
};
|
|
7763
7763
|
const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput, context) => {
|
|
7764
7764
|
const contents = {};
|
|
7765
7765
|
const data = parsedOutput.body;
|
|
7766
7766
|
if (data.message !== undefined && data.message !== null) {
|
|
7767
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
7767
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
7768
7768
|
}
|
|
7769
7769
|
const exception = new models_0_1.ValidationException({
|
|
7770
7770
|
$metadata: deserializeMetadata(parsedOutput),
|
|
7771
7771
|
...contents,
|
|
7772
7772
|
});
|
|
7773
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
7773
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
7774
7774
|
};
|
|
7775
7775
|
const serializeAws_restJson1AdvancedRecognitionSetting = (input, context) => {
|
|
7776
7776
|
return {
|
|
@@ -7936,7 +7936,7 @@ const serializeAws_restJson1BotLocaleImportSpecification = (input, context) => {
|
|
|
7936
7936
|
...(input.localeId !== undefined && input.localeId !== null && { localeId: input.localeId }),
|
|
7937
7937
|
...(input.nluIntentConfidenceThreshold !== undefined &&
|
|
7938
7938
|
input.nluIntentConfidenceThreshold !== null && {
|
|
7939
|
-
nluIntentConfidenceThreshold: smithy_client_1.serializeFloat(input.nluIntentConfidenceThreshold),
|
|
7939
|
+
nluIntentConfidenceThreshold: (0, smithy_client_1.serializeFloat)(input.nluIntentConfidenceThreshold),
|
|
7940
7940
|
}),
|
|
7941
7941
|
...(input.voiceSettings !== undefined &&
|
|
7942
7942
|
input.voiceSettings !== null && {
|
|
@@ -8840,22 +8840,22 @@ const serializeAws_restJson1WaitAndContinueSpecification = (input, context) => {
|
|
|
8840
8840
|
};
|
|
8841
8841
|
const deserializeAws_restJson1AdvancedRecognitionSetting = (output, context) => {
|
|
8842
8842
|
return {
|
|
8843
|
-
audioRecognitionStrategy: smithy_client_1.expectString(output.audioRecognitionStrategy),
|
|
8843
|
+
audioRecognitionStrategy: (0, smithy_client_1.expectString)(output.audioRecognitionStrategy),
|
|
8844
8844
|
};
|
|
8845
8845
|
};
|
|
8846
8846
|
const deserializeAws_restJson1AggregatedUtterancesSummary = (output, context) => {
|
|
8847
8847
|
return {
|
|
8848
|
-
containsDataFromDeletedResources: smithy_client_1.expectBoolean(output.containsDataFromDeletedResources),
|
|
8849
|
-
hitCount: smithy_client_1.expectInt32(output.hitCount),
|
|
8850
|
-
missedCount: smithy_client_1.expectInt32(output.missedCount),
|
|
8851
|
-
utterance: smithy_client_1.expectString(output.utterance),
|
|
8848
|
+
containsDataFromDeletedResources: (0, smithy_client_1.expectBoolean)(output.containsDataFromDeletedResources),
|
|
8849
|
+
hitCount: (0, smithy_client_1.expectInt32)(output.hitCount),
|
|
8850
|
+
missedCount: (0, smithy_client_1.expectInt32)(output.missedCount),
|
|
8851
|
+
utterance: (0, smithy_client_1.expectString)(output.utterance),
|
|
8852
8852
|
utteranceFirstRecordedInAggregationDuration: output.utteranceFirstRecordedInAggregationDuration !== undefined &&
|
|
8853
8853
|
output.utteranceFirstRecordedInAggregationDuration !== null
|
|
8854
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.utteranceFirstRecordedInAggregationDuration)))
|
|
8854
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.utteranceFirstRecordedInAggregationDuration)))
|
|
8855
8855
|
: undefined,
|
|
8856
8856
|
utteranceLastRecordedInAggregationDuration: output.utteranceLastRecordedInAggregationDuration !== undefined &&
|
|
8857
8857
|
output.utteranceLastRecordedInAggregationDuration !== null
|
|
8858
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.utteranceLastRecordedInAggregationDuration)))
|
|
8858
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.utteranceLastRecordedInAggregationDuration)))
|
|
8859
8859
|
: undefined,
|
|
8860
8860
|
};
|
|
8861
8861
|
};
|
|
@@ -8872,7 +8872,7 @@ const deserializeAws_restJson1AggregatedUtterancesSummaryList = (output, context
|
|
|
8872
8872
|
};
|
|
8873
8873
|
const deserializeAws_restJson1AssociatedTranscript = (output, context) => {
|
|
8874
8874
|
return {
|
|
8875
|
-
transcript: smithy_client_1.expectString(output.transcript),
|
|
8875
|
+
transcript: (0, smithy_client_1.expectString)(output.transcript),
|
|
8876
8876
|
};
|
|
8877
8877
|
};
|
|
8878
8878
|
const deserializeAws_restJson1AssociatedTranscriptList = (output, context) => {
|
|
@@ -8898,7 +8898,7 @@ const deserializeAws_restJson1AudioLogSetting = (output, context) => {
|
|
|
8898
8898
|
destination: output.destination !== undefined && output.destination !== null
|
|
8899
8899
|
? deserializeAws_restJson1AudioLogDestination(output.destination, context)
|
|
8900
8900
|
: undefined,
|
|
8901
|
-
enabled: smithy_client_1.expectBoolean(output.enabled),
|
|
8901
|
+
enabled: (0, smithy_client_1.expectBoolean)(output.enabled),
|
|
8902
8902
|
};
|
|
8903
8903
|
};
|
|
8904
8904
|
const deserializeAws_restJson1AudioLogSettingsList = (output, context) => {
|
|
@@ -8914,12 +8914,12 @@ const deserializeAws_restJson1AudioLogSettingsList = (output, context) => {
|
|
|
8914
8914
|
};
|
|
8915
8915
|
const deserializeAws_restJson1BotAliasHistoryEvent = (output, context) => {
|
|
8916
8916
|
return {
|
|
8917
|
-
botVersion: smithy_client_1.expectString(output.botVersion),
|
|
8917
|
+
botVersion: (0, smithy_client_1.expectString)(output.botVersion),
|
|
8918
8918
|
endDate: output.endDate !== undefined && output.endDate !== null
|
|
8919
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.endDate)))
|
|
8919
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.endDate)))
|
|
8920
8920
|
: undefined,
|
|
8921
8921
|
startDate: output.startDate !== undefined && output.startDate !== null
|
|
8922
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.startDate)))
|
|
8922
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.startDate)))
|
|
8923
8923
|
: undefined,
|
|
8924
8924
|
};
|
|
8925
8925
|
};
|
|
@@ -8939,7 +8939,7 @@ const deserializeAws_restJson1BotAliasLocaleSettings = (output, context) => {
|
|
|
8939
8939
|
codeHookSpecification: output.codeHookSpecification !== undefined && output.codeHookSpecification !== null
|
|
8940
8940
|
? deserializeAws_restJson1CodeHookSpecification(output.codeHookSpecification, context)
|
|
8941
8941
|
: undefined,
|
|
8942
|
-
enabled: smithy_client_1.expectBoolean(output.enabled),
|
|
8942
|
+
enabled: (0, smithy_client_1.expectBoolean)(output.enabled),
|
|
8943
8943
|
};
|
|
8944
8944
|
};
|
|
8945
8945
|
const deserializeAws_restJson1BotAliasLocaleSettingsMap = (output, context) => {
|
|
@@ -8955,16 +8955,16 @@ const deserializeAws_restJson1BotAliasLocaleSettingsMap = (output, context) => {
|
|
|
8955
8955
|
};
|
|
8956
8956
|
const deserializeAws_restJson1BotAliasSummary = (output, context) => {
|
|
8957
8957
|
return {
|
|
8958
|
-
botAliasId: smithy_client_1.expectString(output.botAliasId),
|
|
8959
|
-
botAliasName: smithy_client_1.expectString(output.botAliasName),
|
|
8960
|
-
botAliasStatus: smithy_client_1.expectString(output.botAliasStatus),
|
|
8961
|
-
botVersion: smithy_client_1.expectString(output.botVersion),
|
|
8958
|
+
botAliasId: (0, smithy_client_1.expectString)(output.botAliasId),
|
|
8959
|
+
botAliasName: (0, smithy_client_1.expectString)(output.botAliasName),
|
|
8960
|
+
botAliasStatus: (0, smithy_client_1.expectString)(output.botAliasStatus),
|
|
8961
|
+
botVersion: (0, smithy_client_1.expectString)(output.botVersion),
|
|
8962
8962
|
creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
|
|
8963
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.creationDateTime)))
|
|
8963
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.creationDateTime)))
|
|
8964
8964
|
: undefined,
|
|
8965
|
-
description: smithy_client_1.expectString(output.description),
|
|
8965
|
+
description: (0, smithy_client_1.expectString)(output.description),
|
|
8966
8966
|
lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
|
|
8967
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedDateTime)))
|
|
8967
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUpdatedDateTime)))
|
|
8968
8968
|
: undefined,
|
|
8969
8969
|
};
|
|
8970
8970
|
};
|
|
@@ -8981,21 +8981,21 @@ const deserializeAws_restJson1BotAliasSummaryList = (output, context) => {
|
|
|
8981
8981
|
};
|
|
8982
8982
|
const deserializeAws_restJson1BotExportSpecification = (output, context) => {
|
|
8983
8983
|
return {
|
|
8984
|
-
botId: smithy_client_1.expectString(output.botId),
|
|
8985
|
-
botVersion: smithy_client_1.expectString(output.botVersion),
|
|
8984
|
+
botId: (0, smithy_client_1.expectString)(output.botId),
|
|
8985
|
+
botVersion: (0, smithy_client_1.expectString)(output.botVersion),
|
|
8986
8986
|
};
|
|
8987
8987
|
};
|
|
8988
8988
|
const deserializeAws_restJson1BotImportSpecification = (output, context) => {
|
|
8989
8989
|
return {
|
|
8990
|
-
botName: smithy_client_1.expectString(output.botName),
|
|
8990
|
+
botName: (0, smithy_client_1.expectString)(output.botName),
|
|
8991
8991
|
botTags: output.botTags !== undefined && output.botTags !== null
|
|
8992
8992
|
? deserializeAws_restJson1TagMap(output.botTags, context)
|
|
8993
8993
|
: undefined,
|
|
8994
8994
|
dataPrivacy: output.dataPrivacy !== undefined && output.dataPrivacy !== null
|
|
8995
8995
|
? deserializeAws_restJson1DataPrivacy(output.dataPrivacy, context)
|
|
8996
8996
|
: undefined,
|
|
8997
|
-
idleSessionTTLInSeconds: smithy_client_1.expectInt32(output.idleSessionTTLInSeconds),
|
|
8998
|
-
roleArn: smithy_client_1.expectString(output.roleArn),
|
|
8997
|
+
idleSessionTTLInSeconds: (0, smithy_client_1.expectInt32)(output.idleSessionTTLInSeconds),
|
|
8998
|
+
roleArn: (0, smithy_client_1.expectString)(output.roleArn),
|
|
8999
8999
|
testBotAliasTags: output.testBotAliasTags !== undefined && output.testBotAliasTags !== null
|
|
9000
9000
|
? deserializeAws_restJson1TagMap(output.testBotAliasTags, context)
|
|
9001
9001
|
: undefined,
|
|
@@ -9003,16 +9003,16 @@ const deserializeAws_restJson1BotImportSpecification = (output, context) => {
|
|
|
9003
9003
|
};
|
|
9004
9004
|
const deserializeAws_restJson1BotLocaleExportSpecification = (output, context) => {
|
|
9005
9005
|
return {
|
|
9006
|
-
botId: smithy_client_1.expectString(output.botId),
|
|
9007
|
-
botVersion: smithy_client_1.expectString(output.botVersion),
|
|
9008
|
-
localeId: smithy_client_1.expectString(output.localeId),
|
|
9006
|
+
botId: (0, smithy_client_1.expectString)(output.botId),
|
|
9007
|
+
botVersion: (0, smithy_client_1.expectString)(output.botVersion),
|
|
9008
|
+
localeId: (0, smithy_client_1.expectString)(output.localeId),
|
|
9009
9009
|
};
|
|
9010
9010
|
};
|
|
9011
9011
|
const deserializeAws_restJson1BotLocaleHistoryEvent = (output, context) => {
|
|
9012
9012
|
return {
|
|
9013
|
-
event: smithy_client_1.expectString(output.event),
|
|
9013
|
+
event: (0, smithy_client_1.expectString)(output.event),
|
|
9014
9014
|
eventDate: output.eventDate !== undefined && output.eventDate !== null
|
|
9015
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.eventDate)))
|
|
9015
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.eventDate)))
|
|
9016
9016
|
: undefined,
|
|
9017
9017
|
};
|
|
9018
9018
|
};
|
|
@@ -9029,10 +9029,10 @@ const deserializeAws_restJson1BotLocaleHistoryEventsList = (output, context) =>
|
|
|
9029
9029
|
};
|
|
9030
9030
|
const deserializeAws_restJson1BotLocaleImportSpecification = (output, context) => {
|
|
9031
9031
|
return {
|
|
9032
|
-
botId: smithy_client_1.expectString(output.botId),
|
|
9033
|
-
botVersion: smithy_client_1.expectString(output.botVersion),
|
|
9034
|
-
localeId: smithy_client_1.expectString(output.localeId),
|
|
9035
|
-
nluIntentConfidenceThreshold: smithy_client_1.limitedParseDouble(output.nluIntentConfidenceThreshold),
|
|
9032
|
+
botId: (0, smithy_client_1.expectString)(output.botId),
|
|
9033
|
+
botVersion: (0, smithy_client_1.expectString)(output.botVersion),
|
|
9034
|
+
localeId: (0, smithy_client_1.expectString)(output.localeId),
|
|
9035
|
+
nluIntentConfidenceThreshold: (0, smithy_client_1.limitedParseDouble)(output.nluIntentConfidenceThreshold),
|
|
9036
9036
|
voiceSettings: output.voiceSettings !== undefined && output.voiceSettings !== null
|
|
9037
9037
|
? deserializeAws_restJson1VoiceSettings(output.voiceSettings, context)
|
|
9038
9038
|
: undefined,
|
|
@@ -9040,16 +9040,16 @@ const deserializeAws_restJson1BotLocaleImportSpecification = (output, context) =
|
|
|
9040
9040
|
};
|
|
9041
9041
|
const deserializeAws_restJson1BotLocaleSummary = (output, context) => {
|
|
9042
9042
|
return {
|
|
9043
|
-
botLocaleStatus: smithy_client_1.expectString(output.botLocaleStatus),
|
|
9044
|
-
description: smithy_client_1.expectString(output.description),
|
|
9043
|
+
botLocaleStatus: (0, smithy_client_1.expectString)(output.botLocaleStatus),
|
|
9044
|
+
description: (0, smithy_client_1.expectString)(output.description),
|
|
9045
9045
|
lastBuildSubmittedDateTime: output.lastBuildSubmittedDateTime !== undefined && output.lastBuildSubmittedDateTime !== null
|
|
9046
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastBuildSubmittedDateTime)))
|
|
9046
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastBuildSubmittedDateTime)))
|
|
9047
9047
|
: undefined,
|
|
9048
9048
|
lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
|
|
9049
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedDateTime)))
|
|
9049
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUpdatedDateTime)))
|
|
9050
9050
|
: undefined,
|
|
9051
|
-
localeId: smithy_client_1.expectString(output.localeId),
|
|
9052
|
-
localeName: smithy_client_1.expectString(output.localeName),
|
|
9051
|
+
localeId: (0, smithy_client_1.expectString)(output.localeId),
|
|
9052
|
+
localeName: (0, smithy_client_1.expectString)(output.localeName),
|
|
9053
9053
|
};
|
|
9054
9054
|
};
|
|
9055
9055
|
const deserializeAws_restJson1BotLocaleSummaryList = (output, context) => {
|
|
@@ -9065,8 +9065,8 @@ const deserializeAws_restJson1BotLocaleSummaryList = (output, context) => {
|
|
|
9065
9065
|
};
|
|
9066
9066
|
const deserializeAws_restJson1BotRecommendationResults = (output, context) => {
|
|
9067
9067
|
return {
|
|
9068
|
-
associatedTranscriptsUrl: smithy_client_1.expectString(output.associatedTranscriptsUrl),
|
|
9069
|
-
botLocaleExportUrl: smithy_client_1.expectString(output.botLocaleExportUrl),
|
|
9068
|
+
associatedTranscriptsUrl: (0, smithy_client_1.expectString)(output.associatedTranscriptsUrl),
|
|
9069
|
+
botLocaleExportUrl: (0, smithy_client_1.expectString)(output.botLocaleExportUrl),
|
|
9070
9070
|
statistics: output.statistics !== undefined && output.statistics !== null
|
|
9071
9071
|
? deserializeAws_restJson1BotRecommendationResultStatistics(output.statistics, context)
|
|
9072
9072
|
: undefined,
|
|
@@ -9084,13 +9084,13 @@ const deserializeAws_restJson1BotRecommendationResultStatistics = (output, conte
|
|
|
9084
9084
|
};
|
|
9085
9085
|
const deserializeAws_restJson1BotRecommendationSummary = (output, context) => {
|
|
9086
9086
|
return {
|
|
9087
|
-
botRecommendationId: smithy_client_1.expectString(output.botRecommendationId),
|
|
9088
|
-
botRecommendationStatus: smithy_client_1.expectString(output.botRecommendationStatus),
|
|
9087
|
+
botRecommendationId: (0, smithy_client_1.expectString)(output.botRecommendationId),
|
|
9088
|
+
botRecommendationStatus: (0, smithy_client_1.expectString)(output.botRecommendationStatus),
|
|
9089
9089
|
creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
|
|
9090
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.creationDateTime)))
|
|
9090
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.creationDateTime)))
|
|
9091
9091
|
: undefined,
|
|
9092
9092
|
lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
|
|
9093
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedDateTime)))
|
|
9093
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUpdatedDateTime)))
|
|
9094
9094
|
: undefined,
|
|
9095
9095
|
};
|
|
9096
9096
|
};
|
|
@@ -9107,14 +9107,14 @@ const deserializeAws_restJson1BotRecommendationSummaryList = (output, context) =
|
|
|
9107
9107
|
};
|
|
9108
9108
|
const deserializeAws_restJson1BotSummary = (output, context) => {
|
|
9109
9109
|
return {
|
|
9110
|
-
botId: smithy_client_1.expectString(output.botId),
|
|
9111
|
-
botName: smithy_client_1.expectString(output.botName),
|
|
9112
|
-
botStatus: smithy_client_1.expectString(output.botStatus),
|
|
9113
|
-
description: smithy_client_1.expectString(output.description),
|
|
9110
|
+
botId: (0, smithy_client_1.expectString)(output.botId),
|
|
9111
|
+
botName: (0, smithy_client_1.expectString)(output.botName),
|
|
9112
|
+
botStatus: (0, smithy_client_1.expectString)(output.botStatus),
|
|
9113
|
+
description: (0, smithy_client_1.expectString)(output.description),
|
|
9114
9114
|
lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
|
|
9115
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedDateTime)))
|
|
9115
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUpdatedDateTime)))
|
|
9116
9116
|
: undefined,
|
|
9117
|
-
latestBotVersion: smithy_client_1.expectString(output.latestBotVersion),
|
|
9117
|
+
latestBotVersion: (0, smithy_client_1.expectString)(output.latestBotVersion),
|
|
9118
9118
|
};
|
|
9119
9119
|
};
|
|
9120
9120
|
const deserializeAws_restJson1BotSummaryList = (output, context) => {
|
|
@@ -9130,7 +9130,7 @@ const deserializeAws_restJson1BotSummaryList = (output, context) => {
|
|
|
9130
9130
|
};
|
|
9131
9131
|
const deserializeAws_restJson1BotVersionLocaleDetails = (output, context) => {
|
|
9132
9132
|
return {
|
|
9133
|
-
sourceBotVersion: smithy_client_1.expectString(output.sourceBotVersion),
|
|
9133
|
+
sourceBotVersion: (0, smithy_client_1.expectString)(output.sourceBotVersion),
|
|
9134
9134
|
};
|
|
9135
9135
|
};
|
|
9136
9136
|
const deserializeAws_restJson1BotVersionLocaleSpecification = (output, context) => {
|
|
@@ -9146,13 +9146,13 @@ const deserializeAws_restJson1BotVersionLocaleSpecification = (output, context)
|
|
|
9146
9146
|
};
|
|
9147
9147
|
const deserializeAws_restJson1BotVersionSummary = (output, context) => {
|
|
9148
9148
|
return {
|
|
9149
|
-
botName: smithy_client_1.expectString(output.botName),
|
|
9150
|
-
botStatus: smithy_client_1.expectString(output.botStatus),
|
|
9151
|
-
botVersion: smithy_client_1.expectString(output.botVersion),
|
|
9149
|
+
botName: (0, smithy_client_1.expectString)(output.botName),
|
|
9150
|
+
botStatus: (0, smithy_client_1.expectString)(output.botStatus),
|
|
9151
|
+
botVersion: (0, smithy_client_1.expectString)(output.botVersion),
|
|
9152
9152
|
creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
|
|
9153
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.creationDateTime)))
|
|
9153
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.creationDateTime)))
|
|
9154
9154
|
: undefined,
|
|
9155
|
-
description: smithy_client_1.expectString(output.description),
|
|
9155
|
+
description: (0, smithy_client_1.expectString)(output.description),
|
|
9156
9156
|
};
|
|
9157
9157
|
};
|
|
9158
9158
|
const deserializeAws_restJson1BotVersionSummaryList = (output, context) => {
|
|
@@ -9168,8 +9168,8 @@ const deserializeAws_restJson1BotVersionSummaryList = (output, context) => {
|
|
|
9168
9168
|
};
|
|
9169
9169
|
const deserializeAws_restJson1BuiltInIntentSummary = (output, context) => {
|
|
9170
9170
|
return {
|
|
9171
|
-
description: smithy_client_1.expectString(output.description),
|
|
9172
|
-
intentSignature: smithy_client_1.expectString(output.intentSignature),
|
|
9171
|
+
description: (0, smithy_client_1.expectString)(output.description),
|
|
9172
|
+
intentSignature: (0, smithy_client_1.expectString)(output.intentSignature),
|
|
9173
9173
|
};
|
|
9174
9174
|
};
|
|
9175
9175
|
const deserializeAws_restJson1BuiltInIntentSummaryList = (output, context) => {
|
|
@@ -9185,8 +9185,8 @@ const deserializeAws_restJson1BuiltInIntentSummaryList = (output, context) => {
|
|
|
9185
9185
|
};
|
|
9186
9186
|
const deserializeAws_restJson1BuiltInSlotTypeSummary = (output, context) => {
|
|
9187
9187
|
return {
|
|
9188
|
-
description: smithy_client_1.expectString(output.description),
|
|
9189
|
-
slotTypeSignature: smithy_client_1.expectString(output.slotTypeSignature),
|
|
9188
|
+
description: (0, smithy_client_1.expectString)(output.description),
|
|
9189
|
+
slotTypeSignature: (0, smithy_client_1.expectString)(output.slotTypeSignature),
|
|
9190
9190
|
};
|
|
9191
9191
|
};
|
|
9192
9192
|
const deserializeAws_restJson1BuiltInSlotTypeSummaryList = (output, context) => {
|
|
@@ -9202,8 +9202,8 @@ const deserializeAws_restJson1BuiltInSlotTypeSummaryList = (output, context) =>
|
|
|
9202
9202
|
};
|
|
9203
9203
|
const deserializeAws_restJson1Button = (output, context) => {
|
|
9204
9204
|
return {
|
|
9205
|
-
text: smithy_client_1.expectString(output.text),
|
|
9206
|
-
value: smithy_client_1.expectString(output.value),
|
|
9205
|
+
text: (0, smithy_client_1.expectString)(output.text),
|
|
9206
|
+
value: (0, smithy_client_1.expectString)(output.value),
|
|
9207
9207
|
};
|
|
9208
9208
|
};
|
|
9209
9209
|
const deserializeAws_restJson1ButtonsList = (output, context) => {
|
|
@@ -9219,8 +9219,8 @@ const deserializeAws_restJson1ButtonsList = (output, context) => {
|
|
|
9219
9219
|
};
|
|
9220
9220
|
const deserializeAws_restJson1CloudWatchLogGroupLogDestination = (output, context) => {
|
|
9221
9221
|
return {
|
|
9222
|
-
cloudWatchLogGroupArn: smithy_client_1.expectString(output.cloudWatchLogGroupArn),
|
|
9223
|
-
logPrefix: smithy_client_1.expectString(output.logPrefix),
|
|
9222
|
+
cloudWatchLogGroupArn: (0, smithy_client_1.expectString)(output.cloudWatchLogGroupArn),
|
|
9223
|
+
logPrefix: (0, smithy_client_1.expectString)(output.logPrefix),
|
|
9224
9224
|
};
|
|
9225
9225
|
};
|
|
9226
9226
|
const deserializeAws_restJson1CodeHookSpecification = (output, context) => {
|
|
@@ -9242,48 +9242,48 @@ const deserializeAws_restJson1ConversationLogSettings = (output, context) => {
|
|
|
9242
9242
|
};
|
|
9243
9243
|
const deserializeAws_restJson1CustomPayload = (output, context) => {
|
|
9244
9244
|
return {
|
|
9245
|
-
value: smithy_client_1.expectString(output.value),
|
|
9245
|
+
value: (0, smithy_client_1.expectString)(output.value),
|
|
9246
9246
|
};
|
|
9247
9247
|
};
|
|
9248
9248
|
const deserializeAws_restJson1CustomVocabularyExportSpecification = (output, context) => {
|
|
9249
9249
|
return {
|
|
9250
|
-
botId: smithy_client_1.expectString(output.botId),
|
|
9251
|
-
botVersion: smithy_client_1.expectString(output.botVersion),
|
|
9252
|
-
localeId: smithy_client_1.expectString(output.localeId),
|
|
9250
|
+
botId: (0, smithy_client_1.expectString)(output.botId),
|
|
9251
|
+
botVersion: (0, smithy_client_1.expectString)(output.botVersion),
|
|
9252
|
+
localeId: (0, smithy_client_1.expectString)(output.localeId),
|
|
9253
9253
|
};
|
|
9254
9254
|
};
|
|
9255
9255
|
const deserializeAws_restJson1CustomVocabularyImportSpecification = (output, context) => {
|
|
9256
9256
|
return {
|
|
9257
|
-
botId: smithy_client_1.expectString(output.botId),
|
|
9258
|
-
botVersion: smithy_client_1.expectString(output.botVersion),
|
|
9259
|
-
localeId: smithy_client_1.expectString(output.localeId),
|
|
9257
|
+
botId: (0, smithy_client_1.expectString)(output.botId),
|
|
9258
|
+
botVersion: (0, smithy_client_1.expectString)(output.botVersion),
|
|
9259
|
+
localeId: (0, smithy_client_1.expectString)(output.localeId),
|
|
9260
9260
|
};
|
|
9261
9261
|
};
|
|
9262
9262
|
const deserializeAws_restJson1DataPrivacy = (output, context) => {
|
|
9263
9263
|
return {
|
|
9264
|
-
childDirected: smithy_client_1.expectBoolean(output.childDirected),
|
|
9264
|
+
childDirected: (0, smithy_client_1.expectBoolean)(output.childDirected),
|
|
9265
9265
|
};
|
|
9266
9266
|
};
|
|
9267
9267
|
const deserializeAws_restJson1DateRangeFilter = (output, context) => {
|
|
9268
9268
|
return {
|
|
9269
9269
|
endDateTime: output.endDateTime !== undefined && output.endDateTime !== null
|
|
9270
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.endDateTime)))
|
|
9270
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.endDateTime)))
|
|
9271
9271
|
: undefined,
|
|
9272
9272
|
startDateTime: output.startDateTime !== undefined && output.startDateTime !== null
|
|
9273
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.startDateTime)))
|
|
9273
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.startDateTime)))
|
|
9274
9274
|
: undefined,
|
|
9275
9275
|
};
|
|
9276
9276
|
};
|
|
9277
9277
|
const deserializeAws_restJson1DialogCodeHookSettings = (output, context) => {
|
|
9278
9278
|
return {
|
|
9279
|
-
enabled: smithy_client_1.expectBoolean(output.enabled),
|
|
9279
|
+
enabled: (0, smithy_client_1.expectBoolean)(output.enabled),
|
|
9280
9280
|
};
|
|
9281
9281
|
};
|
|
9282
9282
|
const deserializeAws_restJson1EncryptionSetting = (output, context) => {
|
|
9283
9283
|
return {
|
|
9284
|
-
associatedTranscriptsPassword: smithy_client_1.expectString(output.associatedTranscriptsPassword),
|
|
9285
|
-
botLocaleExportPassword: smithy_client_1.expectString(output.botLocaleExportPassword),
|
|
9286
|
-
kmsKeyArn: smithy_client_1.expectString(output.kmsKeyArn),
|
|
9284
|
+
associatedTranscriptsPassword: (0, smithy_client_1.expectString)(output.associatedTranscriptsPassword),
|
|
9285
|
+
botLocaleExportPassword: (0, smithy_client_1.expectString)(output.botLocaleExportPassword),
|
|
9286
|
+
kmsKeyArn: (0, smithy_client_1.expectString)(output.kmsKeyArn),
|
|
9287
9287
|
};
|
|
9288
9288
|
};
|
|
9289
9289
|
const deserializeAws_restJson1ExportResourceSpecification = (output, context) => {
|
|
@@ -9302,13 +9302,13 @@ const deserializeAws_restJson1ExportResourceSpecification = (output, context) =>
|
|
|
9302
9302
|
const deserializeAws_restJson1ExportSummary = (output, context) => {
|
|
9303
9303
|
return {
|
|
9304
9304
|
creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
|
|
9305
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.creationDateTime)))
|
|
9305
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.creationDateTime)))
|
|
9306
9306
|
: undefined,
|
|
9307
|
-
exportId: smithy_client_1.expectString(output.exportId),
|
|
9308
|
-
exportStatus: smithy_client_1.expectString(output.exportStatus),
|
|
9309
|
-
fileFormat: smithy_client_1.expectString(output.fileFormat),
|
|
9307
|
+
exportId: (0, smithy_client_1.expectString)(output.exportId),
|
|
9308
|
+
exportStatus: (0, smithy_client_1.expectString)(output.exportStatus),
|
|
9309
|
+
fileFormat: (0, smithy_client_1.expectString)(output.fileFormat),
|
|
9310
9310
|
lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
|
|
9311
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedDateTime)))
|
|
9311
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUpdatedDateTime)))
|
|
9312
9312
|
: undefined,
|
|
9313
9313
|
resourceSpecification: output.resourceSpecification !== undefined && output.resourceSpecification !== null
|
|
9314
9314
|
? deserializeAws_restJson1ExportResourceSpecification(output.resourceSpecification, context)
|
|
@@ -9340,13 +9340,13 @@ const deserializeAws_restJson1FailureReasons = (output, context) => {
|
|
|
9340
9340
|
if (entry === null) {
|
|
9341
9341
|
return null;
|
|
9342
9342
|
}
|
|
9343
|
-
return smithy_client_1.expectString(entry);
|
|
9343
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
9344
9344
|
});
|
|
9345
9345
|
return retVal;
|
|
9346
9346
|
};
|
|
9347
9347
|
const deserializeAws_restJson1FulfillmentCodeHookSettings = (output, context) => {
|
|
9348
9348
|
return {
|
|
9349
|
-
enabled: smithy_client_1.expectBoolean(output.enabled),
|
|
9349
|
+
enabled: (0, smithy_client_1.expectBoolean)(output.enabled),
|
|
9350
9350
|
fulfillmentUpdatesSpecification: output.fulfillmentUpdatesSpecification !== undefined && output.fulfillmentUpdatesSpecification !== null
|
|
9351
9351
|
? deserializeAws_restJson1FulfillmentUpdatesSpecification(output.fulfillmentUpdatesSpecification, context)
|
|
9352
9352
|
: undefined,
|
|
@@ -9357,8 +9357,8 @@ const deserializeAws_restJson1FulfillmentCodeHookSettings = (output, context) =>
|
|
|
9357
9357
|
};
|
|
9358
9358
|
const deserializeAws_restJson1FulfillmentStartResponseSpecification = (output, context) => {
|
|
9359
9359
|
return {
|
|
9360
|
-
allowInterrupt: smithy_client_1.expectBoolean(output.allowInterrupt),
|
|
9361
|
-
delayInSeconds: smithy_client_1.expectInt32(output.delayInSeconds),
|
|
9360
|
+
allowInterrupt: (0, smithy_client_1.expectBoolean)(output.allowInterrupt),
|
|
9361
|
+
delayInSeconds: (0, smithy_client_1.expectInt32)(output.delayInSeconds),
|
|
9362
9362
|
messageGroups: output.messageGroups !== undefined && output.messageGroups !== null
|
|
9363
9363
|
? deserializeAws_restJson1MessageGroupsList(output.messageGroups, context)
|
|
9364
9364
|
: undefined,
|
|
@@ -9366,8 +9366,8 @@ const deserializeAws_restJson1FulfillmentStartResponseSpecification = (output, c
|
|
|
9366
9366
|
};
|
|
9367
9367
|
const deserializeAws_restJson1FulfillmentUpdateResponseSpecification = (output, context) => {
|
|
9368
9368
|
return {
|
|
9369
|
-
allowInterrupt: smithy_client_1.expectBoolean(output.allowInterrupt),
|
|
9370
|
-
frequencyInSeconds: smithy_client_1.expectInt32(output.frequencyInSeconds),
|
|
9369
|
+
allowInterrupt: (0, smithy_client_1.expectBoolean)(output.allowInterrupt),
|
|
9370
|
+
frequencyInSeconds: (0, smithy_client_1.expectInt32)(output.frequencyInSeconds),
|
|
9371
9371
|
messageGroups: output.messageGroups !== undefined && output.messageGroups !== null
|
|
9372
9372
|
? deserializeAws_restJson1MessageGroupsList(output.messageGroups, context)
|
|
9373
9373
|
: undefined,
|
|
@@ -9375,11 +9375,11 @@ const deserializeAws_restJson1FulfillmentUpdateResponseSpecification = (output,
|
|
|
9375
9375
|
};
|
|
9376
9376
|
const deserializeAws_restJson1FulfillmentUpdatesSpecification = (output, context) => {
|
|
9377
9377
|
return {
|
|
9378
|
-
active: smithy_client_1.expectBoolean(output.active),
|
|
9378
|
+
active: (0, smithy_client_1.expectBoolean)(output.active),
|
|
9379
9379
|
startResponse: output.startResponse !== undefined && output.startResponse !== null
|
|
9380
9380
|
? deserializeAws_restJson1FulfillmentStartResponseSpecification(output.startResponse, context)
|
|
9381
9381
|
: undefined,
|
|
9382
|
-
timeoutInSeconds: smithy_client_1.expectInt32(output.timeoutInSeconds),
|
|
9382
|
+
timeoutInSeconds: (0, smithy_client_1.expectInt32)(output.timeoutInSeconds),
|
|
9383
9383
|
updateResponse: output.updateResponse !== undefined && output.updateResponse !== null
|
|
9384
9384
|
? deserializeAws_restJson1FulfillmentUpdateResponseSpecification(output.updateResponse, context)
|
|
9385
9385
|
: undefined,
|
|
@@ -9394,9 +9394,9 @@ const deserializeAws_restJson1GrammarSlotTypeSetting = (output, context) => {
|
|
|
9394
9394
|
};
|
|
9395
9395
|
const deserializeAws_restJson1GrammarSlotTypeSource = (output, context) => {
|
|
9396
9396
|
return {
|
|
9397
|
-
kmsKeyArn: smithy_client_1.expectString(output.kmsKeyArn),
|
|
9398
|
-
s3BucketName: smithy_client_1.expectString(output.s3BucketName),
|
|
9399
|
-
s3ObjectKey: smithy_client_1.expectString(output.s3ObjectKey),
|
|
9397
|
+
kmsKeyArn: (0, smithy_client_1.expectString)(output.kmsKeyArn),
|
|
9398
|
+
s3BucketName: (0, smithy_client_1.expectString)(output.s3BucketName),
|
|
9399
|
+
s3ObjectKey: (0, smithy_client_1.expectString)(output.s3ObjectKey),
|
|
9400
9400
|
};
|
|
9401
9401
|
};
|
|
9402
9402
|
const deserializeAws_restJson1ImageResponseCard = (output, context) => {
|
|
@@ -9404,9 +9404,9 @@ const deserializeAws_restJson1ImageResponseCard = (output, context) => {
|
|
|
9404
9404
|
buttons: output.buttons !== undefined && output.buttons !== null
|
|
9405
9405
|
? deserializeAws_restJson1ButtonsList(output.buttons, context)
|
|
9406
9406
|
: undefined,
|
|
9407
|
-
imageUrl: smithy_client_1.expectString(output.imageUrl),
|
|
9408
|
-
subtitle: smithy_client_1.expectString(output.subtitle),
|
|
9409
|
-
title: smithy_client_1.expectString(output.title),
|
|
9407
|
+
imageUrl: (0, smithy_client_1.expectString)(output.imageUrl),
|
|
9408
|
+
subtitle: (0, smithy_client_1.expectString)(output.subtitle),
|
|
9409
|
+
title: (0, smithy_client_1.expectString)(output.title),
|
|
9410
9410
|
};
|
|
9411
9411
|
};
|
|
9412
9412
|
const deserializeAws_restJson1ImportResourceSpecification = (output, context) => {
|
|
@@ -9425,17 +9425,17 @@ const deserializeAws_restJson1ImportResourceSpecification = (output, context) =>
|
|
|
9425
9425
|
const deserializeAws_restJson1ImportSummary = (output, context) => {
|
|
9426
9426
|
return {
|
|
9427
9427
|
creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
|
|
9428
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.creationDateTime)))
|
|
9428
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.creationDateTime)))
|
|
9429
9429
|
: undefined,
|
|
9430
|
-
importId: smithy_client_1.expectString(output.importId),
|
|
9431
|
-
importStatus: smithy_client_1.expectString(output.importStatus),
|
|
9432
|
-
importedResourceId: smithy_client_1.expectString(output.importedResourceId),
|
|
9433
|
-
importedResourceName: smithy_client_1.expectString(output.importedResourceName),
|
|
9434
|
-
importedResourceType: smithy_client_1.expectString(output.importedResourceType),
|
|
9430
|
+
importId: (0, smithy_client_1.expectString)(output.importId),
|
|
9431
|
+
importStatus: (0, smithy_client_1.expectString)(output.importStatus),
|
|
9432
|
+
importedResourceId: (0, smithy_client_1.expectString)(output.importedResourceId),
|
|
9433
|
+
importedResourceName: (0, smithy_client_1.expectString)(output.importedResourceName),
|
|
9434
|
+
importedResourceType: (0, smithy_client_1.expectString)(output.importedResourceType),
|
|
9435
9435
|
lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
|
|
9436
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedDateTime)))
|
|
9436
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUpdatedDateTime)))
|
|
9437
9437
|
: undefined,
|
|
9438
|
-
mergeStrategy: smithy_client_1.expectString(output.mergeStrategy),
|
|
9438
|
+
mergeStrategy: (0, smithy_client_1.expectString)(output.mergeStrategy),
|
|
9439
9439
|
};
|
|
9440
9440
|
};
|
|
9441
9441
|
const deserializeAws_restJson1ImportSummaryList = (output, context) => {
|
|
@@ -9451,7 +9451,7 @@ const deserializeAws_restJson1ImportSummaryList = (output, context) => {
|
|
|
9451
9451
|
};
|
|
9452
9452
|
const deserializeAws_restJson1InputContext = (output, context) => {
|
|
9453
9453
|
return {
|
|
9454
|
-
name: smithy_client_1.expectString(output.name),
|
|
9454
|
+
name: (0, smithy_client_1.expectString)(output.name),
|
|
9455
9455
|
};
|
|
9456
9456
|
};
|
|
9457
9457
|
const deserializeAws_restJson1InputContextsList = (output, context) => {
|
|
@@ -9467,7 +9467,7 @@ const deserializeAws_restJson1InputContextsList = (output, context) => {
|
|
|
9467
9467
|
};
|
|
9468
9468
|
const deserializeAws_restJson1IntentClosingSetting = (output, context) => {
|
|
9469
9469
|
return {
|
|
9470
|
-
active: smithy_client_1.expectBoolean(output.active),
|
|
9470
|
+
active: (0, smithy_client_1.expectBoolean)(output.active),
|
|
9471
9471
|
closingResponse: output.closingResponse !== undefined && output.closingResponse !== null
|
|
9472
9472
|
? deserializeAws_restJson1ResponseSpecification(output.closingResponse, context)
|
|
9473
9473
|
: undefined,
|
|
@@ -9475,7 +9475,7 @@ const deserializeAws_restJson1IntentClosingSetting = (output, context) => {
|
|
|
9475
9475
|
};
|
|
9476
9476
|
const deserializeAws_restJson1IntentConfirmationSetting = (output, context) => {
|
|
9477
9477
|
return {
|
|
9478
|
-
active: smithy_client_1.expectBoolean(output.active),
|
|
9478
|
+
active: (0, smithy_client_1.expectBoolean)(output.active),
|
|
9479
9479
|
declinationResponse: output.declinationResponse !== undefined && output.declinationResponse !== null
|
|
9480
9480
|
? deserializeAws_restJson1ResponseSpecification(output.declinationResponse, context)
|
|
9481
9481
|
: undefined,
|
|
@@ -9486,24 +9486,24 @@ const deserializeAws_restJson1IntentConfirmationSetting = (output, context) => {
|
|
|
9486
9486
|
};
|
|
9487
9487
|
const deserializeAws_restJson1IntentStatistics = (output, context) => {
|
|
9488
9488
|
return {
|
|
9489
|
-
discoveredIntentCount: smithy_client_1.expectInt32(output.discoveredIntentCount),
|
|
9489
|
+
discoveredIntentCount: (0, smithy_client_1.expectInt32)(output.discoveredIntentCount),
|
|
9490
9490
|
};
|
|
9491
9491
|
};
|
|
9492
9492
|
const deserializeAws_restJson1IntentSummary = (output, context) => {
|
|
9493
9493
|
return {
|
|
9494
|
-
description: smithy_client_1.expectString(output.description),
|
|
9494
|
+
description: (0, smithy_client_1.expectString)(output.description),
|
|
9495
9495
|
inputContexts: output.inputContexts !== undefined && output.inputContexts !== null
|
|
9496
9496
|
? deserializeAws_restJson1InputContextsList(output.inputContexts, context)
|
|
9497
9497
|
: undefined,
|
|
9498
|
-
intentId: smithy_client_1.expectString(output.intentId),
|
|
9499
|
-
intentName: smithy_client_1.expectString(output.intentName),
|
|
9498
|
+
intentId: (0, smithy_client_1.expectString)(output.intentId),
|
|
9499
|
+
intentName: (0, smithy_client_1.expectString)(output.intentName),
|
|
9500
9500
|
lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
|
|
9501
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedDateTime)))
|
|
9501
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUpdatedDateTime)))
|
|
9502
9502
|
: undefined,
|
|
9503
9503
|
outputContexts: output.outputContexts !== undefined && output.outputContexts !== null
|
|
9504
9504
|
? deserializeAws_restJson1OutputContextsList(output.outputContexts, context)
|
|
9505
9505
|
: undefined,
|
|
9506
|
-
parentIntentSignature: smithy_client_1.expectString(output.parentIntentSignature),
|
|
9506
|
+
parentIntentSignature: (0, smithy_client_1.expectString)(output.parentIntentSignature),
|
|
9507
9507
|
};
|
|
9508
9508
|
};
|
|
9509
9509
|
const deserializeAws_restJson1IntentSummaryList = (output, context) => {
|
|
@@ -9519,15 +9519,15 @@ const deserializeAws_restJson1IntentSummaryList = (output, context) => {
|
|
|
9519
9519
|
};
|
|
9520
9520
|
const deserializeAws_restJson1KendraConfiguration = (output, context) => {
|
|
9521
9521
|
return {
|
|
9522
|
-
kendraIndex: smithy_client_1.expectString(output.kendraIndex),
|
|
9523
|
-
queryFilterString: smithy_client_1.expectString(output.queryFilterString),
|
|
9524
|
-
queryFilterStringEnabled: smithy_client_1.expectBoolean(output.queryFilterStringEnabled),
|
|
9522
|
+
kendraIndex: (0, smithy_client_1.expectString)(output.kendraIndex),
|
|
9523
|
+
queryFilterString: (0, smithy_client_1.expectString)(output.queryFilterString),
|
|
9524
|
+
queryFilterStringEnabled: (0, smithy_client_1.expectBoolean)(output.queryFilterStringEnabled),
|
|
9525
9525
|
};
|
|
9526
9526
|
};
|
|
9527
9527
|
const deserializeAws_restJson1LambdaCodeHook = (output, context) => {
|
|
9528
9528
|
return {
|
|
9529
|
-
codeHookInterfaceVersion: smithy_client_1.expectString(output.codeHookInterfaceVersion),
|
|
9530
|
-
lambdaARN: smithy_client_1.expectString(output.lambdaARN),
|
|
9529
|
+
codeHookInterfaceVersion: (0, smithy_client_1.expectString)(output.codeHookInterfaceVersion),
|
|
9530
|
+
lambdaARN: (0, smithy_client_1.expectString)(output.lambdaARN),
|
|
9531
9531
|
};
|
|
9532
9532
|
};
|
|
9533
9533
|
const deserializeAws_restJson1LexTranscriptFilter = (output, context) => {
|
|
@@ -9587,12 +9587,12 @@ const deserializeAws_restJson1MessageVariationsList = (output, context) => {
|
|
|
9587
9587
|
};
|
|
9588
9588
|
const deserializeAws_restJson1MultipleValuesSetting = (output, context) => {
|
|
9589
9589
|
return {
|
|
9590
|
-
allowMultipleValues: smithy_client_1.expectBoolean(output.allowMultipleValues),
|
|
9590
|
+
allowMultipleValues: (0, smithy_client_1.expectBoolean)(output.allowMultipleValues),
|
|
9591
9591
|
};
|
|
9592
9592
|
};
|
|
9593
9593
|
const deserializeAws_restJson1ObfuscationSetting = (output, context) => {
|
|
9594
9594
|
return {
|
|
9595
|
-
obfuscationSettingType: smithy_client_1.expectString(output.obfuscationSettingType),
|
|
9595
|
+
obfuscationSettingType: (0, smithy_client_1.expectString)(output.obfuscationSettingType),
|
|
9596
9596
|
};
|
|
9597
9597
|
};
|
|
9598
9598
|
const deserializeAws_restJson1ObjectPrefixes = (output, context) => {
|
|
@@ -9602,15 +9602,15 @@ const deserializeAws_restJson1ObjectPrefixes = (output, context) => {
|
|
|
9602
9602
|
if (entry === null) {
|
|
9603
9603
|
return null;
|
|
9604
9604
|
}
|
|
9605
|
-
return smithy_client_1.expectString(entry);
|
|
9605
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
9606
9606
|
});
|
|
9607
9607
|
return retVal;
|
|
9608
9608
|
};
|
|
9609
9609
|
const deserializeAws_restJson1OutputContext = (output, context) => {
|
|
9610
9610
|
return {
|
|
9611
|
-
name: smithy_client_1.expectString(output.name),
|
|
9612
|
-
timeToLiveInSeconds: smithy_client_1.expectInt32(output.timeToLiveInSeconds),
|
|
9613
|
-
turnsToLive: smithy_client_1.expectInt32(output.turnsToLive),
|
|
9611
|
+
name: (0, smithy_client_1.expectString)(output.name),
|
|
9612
|
+
timeToLiveInSeconds: (0, smithy_client_1.expectInt32)(output.timeToLiveInSeconds),
|
|
9613
|
+
turnsToLive: (0, smithy_client_1.expectInt32)(output.turnsToLive),
|
|
9614
9614
|
};
|
|
9615
9615
|
};
|
|
9616
9616
|
const deserializeAws_restJson1OutputContextsList = (output, context) => {
|
|
@@ -9633,7 +9633,7 @@ const deserializeAws_restJson1PathFormat = (output, context) => {
|
|
|
9633
9633
|
};
|
|
9634
9634
|
const deserializeAws_restJson1PlainTextMessage = (output, context) => {
|
|
9635
9635
|
return {
|
|
9636
|
-
value: smithy_client_1.expectString(output.value),
|
|
9636
|
+
value: (0, smithy_client_1.expectString)(output.value),
|
|
9637
9637
|
};
|
|
9638
9638
|
};
|
|
9639
9639
|
const deserializeAws_restJson1PostFulfillmentStatusSpecification = (output, context) => {
|
|
@@ -9651,8 +9651,8 @@ const deserializeAws_restJson1PostFulfillmentStatusSpecification = (output, cont
|
|
|
9651
9651
|
};
|
|
9652
9652
|
const deserializeAws_restJson1PromptSpecification = (output, context) => {
|
|
9653
9653
|
return {
|
|
9654
|
-
allowInterrupt: smithy_client_1.expectBoolean(output.allowInterrupt),
|
|
9655
|
-
maxRetries: smithy_client_1.expectInt32(output.maxRetries),
|
|
9654
|
+
allowInterrupt: (0, smithy_client_1.expectBoolean)(output.allowInterrupt),
|
|
9655
|
+
maxRetries: (0, smithy_client_1.expectInt32)(output.maxRetries),
|
|
9656
9656
|
messageGroups: output.messageGroups !== undefined && output.messageGroups !== null
|
|
9657
9657
|
? deserializeAws_restJson1MessageGroupsList(output.messageGroups, context)
|
|
9658
9658
|
: undefined,
|
|
@@ -9665,15 +9665,15 @@ const deserializeAws_restJson1RecommendedActions = (output, context) => {
|
|
|
9665
9665
|
if (entry === null) {
|
|
9666
9666
|
return null;
|
|
9667
9667
|
}
|
|
9668
|
-
return smithy_client_1.expectString(entry);
|
|
9668
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
9669
9669
|
});
|
|
9670
9670
|
return retVal;
|
|
9671
9671
|
};
|
|
9672
9672
|
const deserializeAws_restJson1RecommendedIntentSummary = (output, context) => {
|
|
9673
9673
|
return {
|
|
9674
|
-
intentId: smithy_client_1.expectString(output.intentId),
|
|
9675
|
-
intentName: smithy_client_1.expectString(output.intentName),
|
|
9676
|
-
sampleUtterancesCount: smithy_client_1.expectInt32(output.sampleUtterancesCount),
|
|
9674
|
+
intentId: (0, smithy_client_1.expectString)(output.intentId),
|
|
9675
|
+
intentName: (0, smithy_client_1.expectString)(output.intentName),
|
|
9676
|
+
sampleUtterancesCount: (0, smithy_client_1.expectInt32)(output.sampleUtterancesCount),
|
|
9677
9677
|
};
|
|
9678
9678
|
};
|
|
9679
9679
|
const deserializeAws_restJson1RecommendedIntentSummaryList = (output, context) => {
|
|
@@ -9689,13 +9689,13 @@ const deserializeAws_restJson1RecommendedIntentSummaryList = (output, context) =
|
|
|
9689
9689
|
};
|
|
9690
9690
|
const deserializeAws_restJson1RelativeAggregationDuration = (output, context) => {
|
|
9691
9691
|
return {
|
|
9692
|
-
timeDimension: smithy_client_1.expectString(output.timeDimension),
|
|
9693
|
-
timeValue: smithy_client_1.expectInt32(output.timeValue),
|
|
9692
|
+
timeDimension: (0, smithy_client_1.expectString)(output.timeDimension),
|
|
9693
|
+
timeValue: (0, smithy_client_1.expectInt32)(output.timeValue),
|
|
9694
9694
|
};
|
|
9695
9695
|
};
|
|
9696
9696
|
const deserializeAws_restJson1ResponseSpecification = (output, context) => {
|
|
9697
9697
|
return {
|
|
9698
|
-
allowInterrupt: smithy_client_1.expectBoolean(output.allowInterrupt),
|
|
9698
|
+
allowInterrupt: (0, smithy_client_1.expectBoolean)(output.allowInterrupt),
|
|
9699
9699
|
messageGroups: output.messageGroups !== undefined && output.messageGroups !== null
|
|
9700
9700
|
? deserializeAws_restJson1MessageGroupsList(output.messageGroups, context)
|
|
9701
9701
|
: undefined,
|
|
@@ -9703,27 +9703,27 @@ const deserializeAws_restJson1ResponseSpecification = (output, context) => {
|
|
|
9703
9703
|
};
|
|
9704
9704
|
const deserializeAws_restJson1S3BucketLogDestination = (output, context) => {
|
|
9705
9705
|
return {
|
|
9706
|
-
kmsKeyArn: smithy_client_1.expectString(output.kmsKeyArn),
|
|
9707
|
-
logPrefix: smithy_client_1.expectString(output.logPrefix),
|
|
9708
|
-
s3BucketArn: smithy_client_1.expectString(output.s3BucketArn),
|
|
9706
|
+
kmsKeyArn: (0, smithy_client_1.expectString)(output.kmsKeyArn),
|
|
9707
|
+
logPrefix: (0, smithy_client_1.expectString)(output.logPrefix),
|
|
9708
|
+
s3BucketArn: (0, smithy_client_1.expectString)(output.s3BucketArn),
|
|
9709
9709
|
};
|
|
9710
9710
|
};
|
|
9711
9711
|
const deserializeAws_restJson1S3BucketTranscriptSource = (output, context) => {
|
|
9712
9712
|
return {
|
|
9713
|
-
kmsKeyArn: smithy_client_1.expectString(output.kmsKeyArn),
|
|
9713
|
+
kmsKeyArn: (0, smithy_client_1.expectString)(output.kmsKeyArn),
|
|
9714
9714
|
pathFormat: output.pathFormat !== undefined && output.pathFormat !== null
|
|
9715
9715
|
? deserializeAws_restJson1PathFormat(output.pathFormat, context)
|
|
9716
9716
|
: undefined,
|
|
9717
|
-
s3BucketName: smithy_client_1.expectString(output.s3BucketName),
|
|
9717
|
+
s3BucketName: (0, smithy_client_1.expectString)(output.s3BucketName),
|
|
9718
9718
|
transcriptFilter: output.transcriptFilter !== undefined && output.transcriptFilter !== null
|
|
9719
9719
|
? deserializeAws_restJson1TranscriptFilter(output.transcriptFilter, context)
|
|
9720
9720
|
: undefined,
|
|
9721
|
-
transcriptFormat: smithy_client_1.expectString(output.transcriptFormat),
|
|
9721
|
+
transcriptFormat: (0, smithy_client_1.expectString)(output.transcriptFormat),
|
|
9722
9722
|
};
|
|
9723
9723
|
};
|
|
9724
9724
|
const deserializeAws_restJson1SampleUtterance = (output, context) => {
|
|
9725
9725
|
return {
|
|
9726
|
-
utterance: smithy_client_1.expectString(output.utterance),
|
|
9726
|
+
utterance: (0, smithy_client_1.expectString)(output.utterance),
|
|
9727
9727
|
};
|
|
9728
9728
|
};
|
|
9729
9729
|
const deserializeAws_restJson1SampleUtterancesList = (output, context) => {
|
|
@@ -9739,17 +9739,17 @@ const deserializeAws_restJson1SampleUtterancesList = (output, context) => {
|
|
|
9739
9739
|
};
|
|
9740
9740
|
const deserializeAws_restJson1SampleValue = (output, context) => {
|
|
9741
9741
|
return {
|
|
9742
|
-
value: smithy_client_1.expectString(output.value),
|
|
9742
|
+
value: (0, smithy_client_1.expectString)(output.value),
|
|
9743
9743
|
};
|
|
9744
9744
|
};
|
|
9745
9745
|
const deserializeAws_restJson1SentimentAnalysisSettings = (output, context) => {
|
|
9746
9746
|
return {
|
|
9747
|
-
detectSentiment: smithy_client_1.expectBoolean(output.detectSentiment),
|
|
9747
|
+
detectSentiment: (0, smithy_client_1.expectBoolean)(output.detectSentiment),
|
|
9748
9748
|
};
|
|
9749
9749
|
};
|
|
9750
9750
|
const deserializeAws_restJson1SlotDefaultValue = (output, context) => {
|
|
9751
9751
|
return {
|
|
9752
|
-
defaultValue: smithy_client_1.expectString(output.defaultValue),
|
|
9752
|
+
defaultValue: (0, smithy_client_1.expectString)(output.defaultValue),
|
|
9753
9753
|
};
|
|
9754
9754
|
};
|
|
9755
9755
|
const deserializeAws_restJson1SlotDefaultValueList = (output, context) => {
|
|
@@ -9783,20 +9783,20 @@ const deserializeAws_restJson1SlotPrioritiesList = (output, context) => {
|
|
|
9783
9783
|
};
|
|
9784
9784
|
const deserializeAws_restJson1SlotPriority = (output, context) => {
|
|
9785
9785
|
return {
|
|
9786
|
-
priority: smithy_client_1.expectInt32(output.priority),
|
|
9787
|
-
slotId: smithy_client_1.expectString(output.slotId),
|
|
9786
|
+
priority: (0, smithy_client_1.expectInt32)(output.priority),
|
|
9787
|
+
slotId: (0, smithy_client_1.expectString)(output.slotId),
|
|
9788
9788
|
};
|
|
9789
9789
|
};
|
|
9790
9790
|
const deserializeAws_restJson1SlotSummary = (output, context) => {
|
|
9791
9791
|
return {
|
|
9792
|
-
description: smithy_client_1.expectString(output.description),
|
|
9792
|
+
description: (0, smithy_client_1.expectString)(output.description),
|
|
9793
9793
|
lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
|
|
9794
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedDateTime)))
|
|
9794
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUpdatedDateTime)))
|
|
9795
9795
|
: undefined,
|
|
9796
|
-
slotConstraint: smithy_client_1.expectString(output.slotConstraint),
|
|
9797
|
-
slotId: smithy_client_1.expectString(output.slotId),
|
|
9798
|
-
slotName: smithy_client_1.expectString(output.slotName),
|
|
9799
|
-
slotTypeId: smithy_client_1.expectString(output.slotTypeId),
|
|
9796
|
+
slotConstraint: (0, smithy_client_1.expectString)(output.slotConstraint),
|
|
9797
|
+
slotId: (0, smithy_client_1.expectString)(output.slotId),
|
|
9798
|
+
slotName: (0, smithy_client_1.expectString)(output.slotName),
|
|
9799
|
+
slotTypeId: (0, smithy_client_1.expectString)(output.slotTypeId),
|
|
9800
9800
|
valueElicitationPromptSpecification: output.valueElicitationPromptSpecification !== undefined && output.valueElicitationPromptSpecification !== null
|
|
9801
9801
|
? deserializeAws_restJson1PromptSpecification(output.valueElicitationPromptSpecification, context)
|
|
9802
9802
|
: undefined,
|
|
@@ -9815,19 +9815,19 @@ const deserializeAws_restJson1SlotSummaryList = (output, context) => {
|
|
|
9815
9815
|
};
|
|
9816
9816
|
const deserializeAws_restJson1SlotTypeStatistics = (output, context) => {
|
|
9817
9817
|
return {
|
|
9818
|
-
discoveredSlotTypeCount: smithy_client_1.expectInt32(output.discoveredSlotTypeCount),
|
|
9818
|
+
discoveredSlotTypeCount: (0, smithy_client_1.expectInt32)(output.discoveredSlotTypeCount),
|
|
9819
9819
|
};
|
|
9820
9820
|
};
|
|
9821
9821
|
const deserializeAws_restJson1SlotTypeSummary = (output, context) => {
|
|
9822
9822
|
return {
|
|
9823
|
-
description: smithy_client_1.expectString(output.description),
|
|
9823
|
+
description: (0, smithy_client_1.expectString)(output.description),
|
|
9824
9824
|
lastUpdatedDateTime: output.lastUpdatedDateTime !== undefined && output.lastUpdatedDateTime !== null
|
|
9825
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedDateTime)))
|
|
9825
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUpdatedDateTime)))
|
|
9826
9826
|
: undefined,
|
|
9827
|
-
parentSlotTypeSignature: smithy_client_1.expectString(output.parentSlotTypeSignature),
|
|
9828
|
-
slotTypeCategory: smithy_client_1.expectString(output.slotTypeCategory),
|
|
9829
|
-
slotTypeId: smithy_client_1.expectString(output.slotTypeId),
|
|
9830
|
-
slotTypeName: smithy_client_1.expectString(output.slotTypeName),
|
|
9827
|
+
parentSlotTypeSignature: (0, smithy_client_1.expectString)(output.parentSlotTypeSignature),
|
|
9828
|
+
slotTypeCategory: (0, smithy_client_1.expectString)(output.slotTypeCategory),
|
|
9829
|
+
slotTypeId: (0, smithy_client_1.expectString)(output.slotTypeId),
|
|
9830
|
+
slotTypeName: (0, smithy_client_1.expectString)(output.slotTypeName),
|
|
9831
9831
|
};
|
|
9832
9832
|
};
|
|
9833
9833
|
const deserializeAws_restJson1SlotTypeSummaryList = (output, context) => {
|
|
@@ -9873,7 +9873,7 @@ const deserializeAws_restJson1SlotValueElicitationSetting = (output, context) =>
|
|
|
9873
9873
|
sampleUtterances: output.sampleUtterances !== undefined && output.sampleUtterances !== null
|
|
9874
9874
|
? deserializeAws_restJson1SampleUtterancesList(output.sampleUtterances, context)
|
|
9875
9875
|
: undefined,
|
|
9876
|
-
slotConstraint: smithy_client_1.expectString(output.slotConstraint),
|
|
9876
|
+
slotConstraint: (0, smithy_client_1.expectString)(output.slotConstraint),
|
|
9877
9877
|
waitAndContinueSpecification: output.waitAndContinueSpecification !== undefined && output.waitAndContinueSpecification !== null
|
|
9878
9878
|
? deserializeAws_restJson1WaitAndContinueSpecification(output.waitAndContinueSpecification, context)
|
|
9879
9879
|
: undefined,
|
|
@@ -9881,7 +9881,7 @@ const deserializeAws_restJson1SlotValueElicitationSetting = (output, context) =>
|
|
|
9881
9881
|
};
|
|
9882
9882
|
const deserializeAws_restJson1SlotValueRegexFilter = (output, context) => {
|
|
9883
9883
|
return {
|
|
9884
|
-
pattern: smithy_client_1.expectString(output.pattern),
|
|
9884
|
+
pattern: (0, smithy_client_1.expectString)(output.pattern),
|
|
9885
9885
|
};
|
|
9886
9886
|
};
|
|
9887
9887
|
const deserializeAws_restJson1SlotValueSelectionSetting = (output, context) => {
|
|
@@ -9892,22 +9892,22 @@ const deserializeAws_restJson1SlotValueSelectionSetting = (output, context) => {
|
|
|
9892
9892
|
regexFilter: output.regexFilter !== undefined && output.regexFilter !== null
|
|
9893
9893
|
? deserializeAws_restJson1SlotValueRegexFilter(output.regexFilter, context)
|
|
9894
9894
|
: undefined,
|
|
9895
|
-
resolutionStrategy: smithy_client_1.expectString(output.resolutionStrategy),
|
|
9895
|
+
resolutionStrategy: (0, smithy_client_1.expectString)(output.resolutionStrategy),
|
|
9896
9896
|
};
|
|
9897
9897
|
};
|
|
9898
9898
|
const deserializeAws_restJson1SSMLMessage = (output, context) => {
|
|
9899
9899
|
return {
|
|
9900
|
-
value: smithy_client_1.expectString(output.value),
|
|
9900
|
+
value: (0, smithy_client_1.expectString)(output.value),
|
|
9901
9901
|
};
|
|
9902
9902
|
};
|
|
9903
9903
|
const deserializeAws_restJson1StillWaitingResponseSpecification = (output, context) => {
|
|
9904
9904
|
return {
|
|
9905
|
-
allowInterrupt: smithy_client_1.expectBoolean(output.allowInterrupt),
|
|
9906
|
-
frequencyInSeconds: smithy_client_1.expectInt32(output.frequencyInSeconds),
|
|
9905
|
+
allowInterrupt: (0, smithy_client_1.expectBoolean)(output.allowInterrupt),
|
|
9906
|
+
frequencyInSeconds: (0, smithy_client_1.expectInt32)(output.frequencyInSeconds),
|
|
9907
9907
|
messageGroups: output.messageGroups !== undefined && output.messageGroups !== null
|
|
9908
9908
|
? deserializeAws_restJson1MessageGroupsList(output.messageGroups, context)
|
|
9909
9909
|
: undefined,
|
|
9910
|
-
timeoutInSeconds: smithy_client_1.expectInt32(output.timeoutInSeconds),
|
|
9910
|
+
timeoutInSeconds: (0, smithy_client_1.expectInt32)(output.timeoutInSeconds),
|
|
9911
9911
|
};
|
|
9912
9912
|
};
|
|
9913
9913
|
const deserializeAws_restJson1SynonymList = (output, context) => {
|
|
@@ -9928,7 +9928,7 @@ const deserializeAws_restJson1TagMap = (output, context) => {
|
|
|
9928
9928
|
}
|
|
9929
9929
|
return {
|
|
9930
9930
|
...acc,
|
|
9931
|
-
[key]: smithy_client_1.expectString(value),
|
|
9931
|
+
[key]: (0, smithy_client_1.expectString)(value),
|
|
9932
9932
|
};
|
|
9933
9933
|
}, {});
|
|
9934
9934
|
};
|
|
@@ -9944,7 +9944,7 @@ const deserializeAws_restJson1TextLogSetting = (output, context) => {
|
|
|
9944
9944
|
destination: output.destination !== undefined && output.destination !== null
|
|
9945
9945
|
? deserializeAws_restJson1TextLogDestination(output.destination, context)
|
|
9946
9946
|
: undefined,
|
|
9947
|
-
enabled: smithy_client_1.expectBoolean(output.enabled),
|
|
9947
|
+
enabled: (0, smithy_client_1.expectBoolean)(output.enabled),
|
|
9948
9948
|
};
|
|
9949
9949
|
};
|
|
9950
9950
|
const deserializeAws_restJson1TextLogSettingsList = (output, context) => {
|
|
@@ -9981,13 +9981,13 @@ const deserializeAws_restJson1UtteranceAggregationDuration = (output, context) =
|
|
|
9981
9981
|
};
|
|
9982
9982
|
const deserializeAws_restJson1VoiceSettings = (output, context) => {
|
|
9983
9983
|
return {
|
|
9984
|
-
engine: smithy_client_1.expectString(output.engine),
|
|
9985
|
-
voiceId: smithy_client_1.expectString(output.voiceId),
|
|
9984
|
+
engine: (0, smithy_client_1.expectString)(output.engine),
|
|
9985
|
+
voiceId: (0, smithy_client_1.expectString)(output.voiceId),
|
|
9986
9986
|
};
|
|
9987
9987
|
};
|
|
9988
9988
|
const deserializeAws_restJson1WaitAndContinueSpecification = (output, context) => {
|
|
9989
9989
|
return {
|
|
9990
|
-
active: smithy_client_1.expectBoolean(output.active),
|
|
9990
|
+
active: (0, smithy_client_1.expectBoolean)(output.active),
|
|
9991
9991
|
continueResponse: output.continueResponse !== undefined && output.continueResponse !== null
|
|
9992
9992
|
? deserializeAws_restJson1ResponseSpecification(output.continueResponse, context)
|
|
9993
9993
|
: undefined,
|