@aws-sdk/client-wellarchitected 3.53.0 → 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 +24 -0
- package/dist-cjs/WellArchitectedClient.js +13 -13
- package/dist-cjs/commands/AssociateLensesCommand.js +3 -3
- package/dist-cjs/commands/CreateLensShareCommand.js +3 -3
- package/dist-cjs/commands/CreateLensVersionCommand.js +3 -3
- package/dist-cjs/commands/CreateMilestoneCommand.js +3 -3
- package/dist-cjs/commands/CreateWorkloadCommand.js +3 -3
- package/dist-cjs/commands/CreateWorkloadShareCommand.js +3 -3
- package/dist-cjs/commands/DeleteLensCommand.js +3 -3
- package/dist-cjs/commands/DeleteLensShareCommand.js +3 -3
- package/dist-cjs/commands/DeleteWorkloadCommand.js +3 -3
- package/dist-cjs/commands/DeleteWorkloadShareCommand.js +3 -3
- package/dist-cjs/commands/DisassociateLensesCommand.js +3 -3
- package/dist-cjs/commands/ExportLensCommand.js +3 -3
- package/dist-cjs/commands/GetAnswerCommand.js +3 -3
- package/dist-cjs/commands/GetLensCommand.js +3 -3
- package/dist-cjs/commands/GetLensReviewCommand.js +3 -3
- package/dist-cjs/commands/GetLensReviewReportCommand.js +3 -3
- package/dist-cjs/commands/GetLensVersionDifferenceCommand.js +3 -3
- package/dist-cjs/commands/GetMilestoneCommand.js +3 -3
- package/dist-cjs/commands/GetWorkloadCommand.js +3 -3
- package/dist-cjs/commands/ImportLensCommand.js +3 -3
- package/dist-cjs/commands/ListAnswersCommand.js +3 -3
- package/dist-cjs/commands/ListLensReviewImprovementsCommand.js +3 -3
- package/dist-cjs/commands/ListLensReviewsCommand.js +3 -3
- package/dist-cjs/commands/ListLensSharesCommand.js +3 -3
- package/dist-cjs/commands/ListLensesCommand.js +3 -3
- package/dist-cjs/commands/ListMilestonesCommand.js +3 -3
- package/dist-cjs/commands/ListNotificationsCommand.js +3 -3
- package/dist-cjs/commands/ListShareInvitationsCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/ListWorkloadSharesCommand.js +3 -3
- package/dist-cjs/commands/ListWorkloadsCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateAnswerCommand.js +3 -3
- package/dist-cjs/commands/UpdateLensReviewCommand.js +3 -3
- package/dist-cjs/commands/UpdateShareInvitationCommand.js +3 -3
- package/dist-cjs/commands/UpdateWorkloadCommand.js +3 -3
- package/dist-cjs/commands/UpdateWorkloadShareCommand.js +3 -3
- package/dist-cjs/commands/UpgradeLensReviewCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_restJson1.js +352 -352
- 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-es/WellArchitected.js +39 -39
- package/dist-es/pagination/ListAnswersPaginator.js +4 -4
- package/dist-es/pagination/ListLensReviewImprovementsPaginator.js +4 -4
- package/dist-es/pagination/ListLensReviewsPaginator.js +4 -4
- package/dist-es/pagination/ListLensSharesPaginator.js +4 -4
- package/dist-es/pagination/ListLensesPaginator.js +4 -4
- package/dist-es/pagination/ListMilestonesPaginator.js +4 -4
- package/dist-es/pagination/ListNotificationsPaginator.js +4 -4
- package/dist-es/pagination/ListShareInvitationsPaginator.js +4 -4
- package/dist-es/pagination/ListWorkloadSharesPaginator.js +4 -4
- package/dist-es/pagination/ListWorkloadsPaginator.js +4 -4
- package/dist-es/protocols/Aws_restJson1.js +39 -39
- package/dist-types/WellArchitectedClient.d.ts +2 -2
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +3 -3
- package/dist-types/ts3.4/WellArchitectedClient.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/package.json +34 -34
|
@@ -18,7 +18,7 @@ const serializeAws_restJson1AssociateLensesCommand = async (input, context) => {
|
|
|
18
18
|
if (labelValue.length <= 0) {
|
|
19
19
|
throw new Error("Empty value provided for input HTTP label: WorkloadId.");
|
|
20
20
|
}
|
|
21
|
-
resolvedPath = resolvedPath.replace("{WorkloadId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
21
|
+
resolvedPath = resolvedPath.replace("{WorkloadId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
22
22
|
}
|
|
23
23
|
else {
|
|
24
24
|
throw new Error("No value provided for input HTTP label: WorkloadId.");
|
|
@@ -51,14 +51,14 @@ const serializeAws_restJson1CreateLensShareCommand = async (input, context) => {
|
|
|
51
51
|
if (labelValue.length <= 0) {
|
|
52
52
|
throw new Error("Empty value provided for input HTTP label: LensAlias.");
|
|
53
53
|
}
|
|
54
|
-
resolvedPath = resolvedPath.replace("{LensAlias}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
54
|
+
resolvedPath = resolvedPath.replace("{LensAlias}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
55
55
|
}
|
|
56
56
|
else {
|
|
57
57
|
throw new Error("No value provided for input HTTP label: LensAlias.");
|
|
58
58
|
}
|
|
59
59
|
let body;
|
|
60
60
|
body = JSON.stringify({
|
|
61
|
-
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
61
|
+
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
62
62
|
...(input.SharedWith !== undefined && input.SharedWith !== null && { SharedWith: input.SharedWith }),
|
|
63
63
|
});
|
|
64
64
|
return new protocol_http_1.HttpRequest({
|
|
@@ -84,14 +84,14 @@ const serializeAws_restJson1CreateLensVersionCommand = async (input, context) =>
|
|
|
84
84
|
if (labelValue.length <= 0) {
|
|
85
85
|
throw new Error("Empty value provided for input HTTP label: LensAlias.");
|
|
86
86
|
}
|
|
87
|
-
resolvedPath = resolvedPath.replace("{LensAlias}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
87
|
+
resolvedPath = resolvedPath.replace("{LensAlias}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
88
88
|
}
|
|
89
89
|
else {
|
|
90
90
|
throw new Error("No value provided for input HTTP label: LensAlias.");
|
|
91
91
|
}
|
|
92
92
|
let body;
|
|
93
93
|
body = JSON.stringify({
|
|
94
|
-
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
94
|
+
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
95
95
|
...(input.IsMajorVersion !== undefined &&
|
|
96
96
|
input.IsMajorVersion !== null && { IsMajorVersion: input.IsMajorVersion }),
|
|
97
97
|
...(input.LensVersion !== undefined && input.LensVersion !== null && { LensVersion: input.LensVersion }),
|
|
@@ -119,14 +119,14 @@ const serializeAws_restJson1CreateMilestoneCommand = async (input, context) => {
|
|
|
119
119
|
if (labelValue.length <= 0) {
|
|
120
120
|
throw new Error("Empty value provided for input HTTP label: WorkloadId.");
|
|
121
121
|
}
|
|
122
|
-
resolvedPath = resolvedPath.replace("{WorkloadId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
122
|
+
resolvedPath = resolvedPath.replace("{WorkloadId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
123
123
|
}
|
|
124
124
|
else {
|
|
125
125
|
throw new Error("No value provided for input HTTP label: WorkloadId.");
|
|
126
126
|
}
|
|
127
127
|
let body;
|
|
128
128
|
body = JSON.stringify({
|
|
129
|
-
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
129
|
+
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
130
130
|
...(input.MilestoneName !== undefined && input.MilestoneName !== null && { MilestoneName: input.MilestoneName }),
|
|
131
131
|
});
|
|
132
132
|
return new protocol_http_1.HttpRequest({
|
|
@@ -155,7 +155,7 @@ const serializeAws_restJson1CreateWorkloadCommand = async (input, context) => {
|
|
|
155
155
|
input.ArchitecturalDesign !== null && { ArchitecturalDesign: input.ArchitecturalDesign }),
|
|
156
156
|
...(input.AwsRegions !== undefined &&
|
|
157
157
|
input.AwsRegions !== null && { AwsRegions: serializeAws_restJson1WorkloadAwsRegions(input.AwsRegions, context) }),
|
|
158
|
-
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
158
|
+
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
159
159
|
...(input.Description !== undefined && input.Description !== null && { Description: input.Description }),
|
|
160
160
|
...(input.Environment !== undefined && input.Environment !== null && { Environment: input.Environment }),
|
|
161
161
|
...(input.Industry !== undefined && input.Industry !== null && { Industry: input.Industry }),
|
|
@@ -198,14 +198,14 @@ const serializeAws_restJson1CreateWorkloadShareCommand = async (input, context)
|
|
|
198
198
|
if (labelValue.length <= 0) {
|
|
199
199
|
throw new Error("Empty value provided for input HTTP label: WorkloadId.");
|
|
200
200
|
}
|
|
201
|
-
resolvedPath = resolvedPath.replace("{WorkloadId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
201
|
+
resolvedPath = resolvedPath.replace("{WorkloadId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
202
202
|
}
|
|
203
203
|
else {
|
|
204
204
|
throw new Error("No value provided for input HTTP label: WorkloadId.");
|
|
205
205
|
}
|
|
206
206
|
let body;
|
|
207
207
|
body = JSON.stringify({
|
|
208
|
-
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
208
|
+
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
209
209
|
...(input.PermissionType !== undefined &&
|
|
210
210
|
input.PermissionType !== null && { PermissionType: input.PermissionType }),
|
|
211
211
|
...(input.SharedWith !== undefined && input.SharedWith !== null && { SharedWith: input.SharedWith }),
|
|
@@ -230,7 +230,7 @@ const serializeAws_restJson1DeleteLensCommand = async (input, context) => {
|
|
|
230
230
|
if (labelValue.length <= 0) {
|
|
231
231
|
throw new Error("Empty value provided for input HTTP label: LensAlias.");
|
|
232
232
|
}
|
|
233
|
-
resolvedPath = resolvedPath.replace("{LensAlias}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
233
|
+
resolvedPath = resolvedPath.replace("{LensAlias}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
234
234
|
}
|
|
235
235
|
else {
|
|
236
236
|
throw new Error("No value provided for input HTTP label: LensAlias.");
|
|
@@ -261,7 +261,7 @@ const serializeAws_restJson1DeleteLensShareCommand = async (input, context) => {
|
|
|
261
261
|
if (labelValue.length <= 0) {
|
|
262
262
|
throw new Error("Empty value provided for input HTTP label: ShareId.");
|
|
263
263
|
}
|
|
264
|
-
resolvedPath = resolvedPath.replace("{ShareId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
264
|
+
resolvedPath = resolvedPath.replace("{ShareId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
265
265
|
}
|
|
266
266
|
else {
|
|
267
267
|
throw new Error("No value provided for input HTTP label: ShareId.");
|
|
@@ -271,7 +271,7 @@ const serializeAws_restJson1DeleteLensShareCommand = async (input, context) => {
|
|
|
271
271
|
if (labelValue.length <= 0) {
|
|
272
272
|
throw new Error("Empty value provided for input HTTP label: LensAlias.");
|
|
273
273
|
}
|
|
274
|
-
resolvedPath = resolvedPath.replace("{LensAlias}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
274
|
+
resolvedPath = resolvedPath.replace("{LensAlias}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
275
275
|
}
|
|
276
276
|
else {
|
|
277
277
|
throw new Error("No value provided for input HTTP label: LensAlias.");
|
|
@@ -301,7 +301,7 @@ const serializeAws_restJson1DeleteWorkloadCommand = async (input, context) => {
|
|
|
301
301
|
if (labelValue.length <= 0) {
|
|
302
302
|
throw new Error("Empty value provided for input HTTP label: WorkloadId.");
|
|
303
303
|
}
|
|
304
|
-
resolvedPath = resolvedPath.replace("{WorkloadId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
304
|
+
resolvedPath = resolvedPath.replace("{WorkloadId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
305
305
|
}
|
|
306
306
|
else {
|
|
307
307
|
throw new Error("No value provided for input HTTP label: WorkloadId.");
|
|
@@ -331,7 +331,7 @@ const serializeAws_restJson1DeleteWorkloadShareCommand = async (input, context)
|
|
|
331
331
|
if (labelValue.length <= 0) {
|
|
332
332
|
throw new Error("Empty value provided for input HTTP label: ShareId.");
|
|
333
333
|
}
|
|
334
|
-
resolvedPath = resolvedPath.replace("{ShareId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
334
|
+
resolvedPath = resolvedPath.replace("{ShareId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
335
335
|
}
|
|
336
336
|
else {
|
|
337
337
|
throw new Error("No value provided for input HTTP label: ShareId.");
|
|
@@ -341,7 +341,7 @@ const serializeAws_restJson1DeleteWorkloadShareCommand = async (input, context)
|
|
|
341
341
|
if (labelValue.length <= 0) {
|
|
342
342
|
throw new Error("Empty value provided for input HTTP label: WorkloadId.");
|
|
343
343
|
}
|
|
344
|
-
resolvedPath = resolvedPath.replace("{WorkloadId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
344
|
+
resolvedPath = resolvedPath.replace("{WorkloadId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
345
345
|
}
|
|
346
346
|
else {
|
|
347
347
|
throw new Error("No value provided for input HTTP label: WorkloadId.");
|
|
@@ -374,7 +374,7 @@ const serializeAws_restJson1DisassociateLensesCommand = async (input, context) =
|
|
|
374
374
|
if (labelValue.length <= 0) {
|
|
375
375
|
throw new Error("Empty value provided for input HTTP label: WorkloadId.");
|
|
376
376
|
}
|
|
377
|
-
resolvedPath = resolvedPath.replace("{WorkloadId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
377
|
+
resolvedPath = resolvedPath.replace("{WorkloadId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
378
378
|
}
|
|
379
379
|
else {
|
|
380
380
|
throw new Error("No value provided for input HTTP label: WorkloadId.");
|
|
@@ -404,7 +404,7 @@ const serializeAws_restJson1ExportLensCommand = async (input, context) => {
|
|
|
404
404
|
if (labelValue.length <= 0) {
|
|
405
405
|
throw new Error("Empty value provided for input HTTP label: LensAlias.");
|
|
406
406
|
}
|
|
407
|
-
resolvedPath = resolvedPath.replace("{LensAlias}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
407
|
+
resolvedPath = resolvedPath.replace("{LensAlias}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
408
408
|
}
|
|
409
409
|
else {
|
|
410
410
|
throw new Error("No value provided for input HTTP label: LensAlias.");
|
|
@@ -435,7 +435,7 @@ const serializeAws_restJson1GetAnswerCommand = async (input, context) => {
|
|
|
435
435
|
if (labelValue.length <= 0) {
|
|
436
436
|
throw new Error("Empty value provided for input HTTP label: WorkloadId.");
|
|
437
437
|
}
|
|
438
|
-
resolvedPath = resolvedPath.replace("{WorkloadId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
438
|
+
resolvedPath = resolvedPath.replace("{WorkloadId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
439
439
|
}
|
|
440
440
|
else {
|
|
441
441
|
throw new Error("No value provided for input HTTP label: WorkloadId.");
|
|
@@ -445,7 +445,7 @@ const serializeAws_restJson1GetAnswerCommand = async (input, context) => {
|
|
|
445
445
|
if (labelValue.length <= 0) {
|
|
446
446
|
throw new Error("Empty value provided for input HTTP label: LensAlias.");
|
|
447
447
|
}
|
|
448
|
-
resolvedPath = resolvedPath.replace("{LensAlias}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
448
|
+
resolvedPath = resolvedPath.replace("{LensAlias}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
449
449
|
}
|
|
450
450
|
else {
|
|
451
451
|
throw new Error("No value provided for input HTTP label: LensAlias.");
|
|
@@ -455,7 +455,7 @@ const serializeAws_restJson1GetAnswerCommand = async (input, context) => {
|
|
|
455
455
|
if (labelValue.length <= 0) {
|
|
456
456
|
throw new Error("Empty value provided for input HTTP label: QuestionId.");
|
|
457
457
|
}
|
|
458
|
-
resolvedPath = resolvedPath.replace("{QuestionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
458
|
+
resolvedPath = resolvedPath.replace("{QuestionId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
459
459
|
}
|
|
460
460
|
else {
|
|
461
461
|
throw new Error("No value provided for input HTTP label: QuestionId.");
|
|
@@ -485,7 +485,7 @@ const serializeAws_restJson1GetLensCommand = async (input, context) => {
|
|
|
485
485
|
if (labelValue.length <= 0) {
|
|
486
486
|
throw new Error("Empty value provided for input HTTP label: LensAlias.");
|
|
487
487
|
}
|
|
488
|
-
resolvedPath = resolvedPath.replace("{LensAlias}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
488
|
+
resolvedPath = resolvedPath.replace("{LensAlias}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
489
489
|
}
|
|
490
490
|
else {
|
|
491
491
|
throw new Error("No value provided for input HTTP label: LensAlias.");
|
|
@@ -516,7 +516,7 @@ const serializeAws_restJson1GetLensReviewCommand = async (input, context) => {
|
|
|
516
516
|
if (labelValue.length <= 0) {
|
|
517
517
|
throw new Error("Empty value provided for input HTTP label: WorkloadId.");
|
|
518
518
|
}
|
|
519
|
-
resolvedPath = resolvedPath.replace("{WorkloadId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
519
|
+
resolvedPath = resolvedPath.replace("{WorkloadId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
520
520
|
}
|
|
521
521
|
else {
|
|
522
522
|
throw new Error("No value provided for input HTTP label: WorkloadId.");
|
|
@@ -526,7 +526,7 @@ const serializeAws_restJson1GetLensReviewCommand = async (input, context) => {
|
|
|
526
526
|
if (labelValue.length <= 0) {
|
|
527
527
|
throw new Error("Empty value provided for input HTTP label: LensAlias.");
|
|
528
528
|
}
|
|
529
|
-
resolvedPath = resolvedPath.replace("{LensAlias}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
529
|
+
resolvedPath = resolvedPath.replace("{LensAlias}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
530
530
|
}
|
|
531
531
|
else {
|
|
532
532
|
throw new Error("No value provided for input HTTP label: LensAlias.");
|
|
@@ -557,7 +557,7 @@ const serializeAws_restJson1GetLensReviewReportCommand = async (input, context)
|
|
|
557
557
|
if (labelValue.length <= 0) {
|
|
558
558
|
throw new Error("Empty value provided for input HTTP label: WorkloadId.");
|
|
559
559
|
}
|
|
560
|
-
resolvedPath = resolvedPath.replace("{WorkloadId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
560
|
+
resolvedPath = resolvedPath.replace("{WorkloadId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
561
561
|
}
|
|
562
562
|
else {
|
|
563
563
|
throw new Error("No value provided for input HTTP label: WorkloadId.");
|
|
@@ -567,7 +567,7 @@ const serializeAws_restJson1GetLensReviewReportCommand = async (input, context)
|
|
|
567
567
|
if (labelValue.length <= 0) {
|
|
568
568
|
throw new Error("Empty value provided for input HTTP label: LensAlias.");
|
|
569
569
|
}
|
|
570
|
-
resolvedPath = resolvedPath.replace("{LensAlias}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
570
|
+
resolvedPath = resolvedPath.replace("{LensAlias}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
571
571
|
}
|
|
572
572
|
else {
|
|
573
573
|
throw new Error("No value provided for input HTTP label: LensAlias.");
|
|
@@ -597,7 +597,7 @@ const serializeAws_restJson1GetLensVersionDifferenceCommand = async (input, cont
|
|
|
597
597
|
if (labelValue.length <= 0) {
|
|
598
598
|
throw new Error("Empty value provided for input HTTP label: LensAlias.");
|
|
599
599
|
}
|
|
600
|
-
resolvedPath = resolvedPath.replace("{LensAlias}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
600
|
+
resolvedPath = resolvedPath.replace("{LensAlias}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
601
601
|
}
|
|
602
602
|
else {
|
|
603
603
|
throw new Error("No value provided for input HTTP label: LensAlias.");
|
|
@@ -629,7 +629,7 @@ const serializeAws_restJson1GetMilestoneCommand = async (input, context) => {
|
|
|
629
629
|
if (labelValue.length <= 0) {
|
|
630
630
|
throw new Error("Empty value provided for input HTTP label: WorkloadId.");
|
|
631
631
|
}
|
|
632
|
-
resolvedPath = resolvedPath.replace("{WorkloadId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
632
|
+
resolvedPath = resolvedPath.replace("{WorkloadId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
633
633
|
}
|
|
634
634
|
else {
|
|
635
635
|
throw new Error("No value provided for input HTTP label: WorkloadId.");
|
|
@@ -639,7 +639,7 @@ const serializeAws_restJson1GetMilestoneCommand = async (input, context) => {
|
|
|
639
639
|
if (labelValue.length <= 0) {
|
|
640
640
|
throw new Error("Empty value provided for input HTTP label: MilestoneNumber.");
|
|
641
641
|
}
|
|
642
|
-
resolvedPath = resolvedPath.replace("{MilestoneNumber}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
642
|
+
resolvedPath = resolvedPath.replace("{MilestoneNumber}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
643
643
|
}
|
|
644
644
|
else {
|
|
645
645
|
throw new Error("No value provided for input HTTP label: MilestoneNumber.");
|
|
@@ -665,7 +665,7 @@ const serializeAws_restJson1GetWorkloadCommand = async (input, context) => {
|
|
|
665
665
|
if (labelValue.length <= 0) {
|
|
666
666
|
throw new Error("Empty value provided for input HTTP label: WorkloadId.");
|
|
667
667
|
}
|
|
668
|
-
resolvedPath = resolvedPath.replace("{WorkloadId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
668
|
+
resolvedPath = resolvedPath.replace("{WorkloadId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
669
669
|
}
|
|
670
670
|
else {
|
|
671
671
|
throw new Error("No value provided for input HTTP label: WorkloadId.");
|
|
@@ -691,7 +691,7 @@ const serializeAws_restJson1ImportLensCommand = async (input, context) => {
|
|
|
691
691
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/importLens";
|
|
692
692
|
let body;
|
|
693
693
|
body = JSON.stringify({
|
|
694
|
-
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
694
|
+
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
695
695
|
...(input.JSONString !== undefined && input.JSONString !== null && { JSONString: input.JSONString }),
|
|
696
696
|
...(input.LensAlias !== undefined && input.LensAlias !== null && { LensAlias: input.LensAlias }),
|
|
697
697
|
...(input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) }),
|
|
@@ -717,7 +717,7 @@ const serializeAws_restJson1ListAnswersCommand = async (input, context) => {
|
|
|
717
717
|
if (labelValue.length <= 0) {
|
|
718
718
|
throw new Error("Empty value provided for input HTTP label: WorkloadId.");
|
|
719
719
|
}
|
|
720
|
-
resolvedPath = resolvedPath.replace("{WorkloadId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
720
|
+
resolvedPath = resolvedPath.replace("{WorkloadId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
721
721
|
}
|
|
722
722
|
else {
|
|
723
723
|
throw new Error("No value provided for input HTTP label: WorkloadId.");
|
|
@@ -727,7 +727,7 @@ const serializeAws_restJson1ListAnswersCommand = async (input, context) => {
|
|
|
727
727
|
if (labelValue.length <= 0) {
|
|
728
728
|
throw new Error("Empty value provided for input HTTP label: LensAlias.");
|
|
729
729
|
}
|
|
730
|
-
resolvedPath = resolvedPath.replace("{LensAlias}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
730
|
+
resolvedPath = resolvedPath.replace("{LensAlias}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
731
731
|
}
|
|
732
732
|
else {
|
|
733
733
|
throw new Error("No value provided for input HTTP label: LensAlias.");
|
|
@@ -785,7 +785,7 @@ const serializeAws_restJson1ListLensReviewImprovementsCommand = async (input, co
|
|
|
785
785
|
if (labelValue.length <= 0) {
|
|
786
786
|
throw new Error("Empty value provided for input HTTP label: WorkloadId.");
|
|
787
787
|
}
|
|
788
|
-
resolvedPath = resolvedPath.replace("{WorkloadId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
788
|
+
resolvedPath = resolvedPath.replace("{WorkloadId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
789
789
|
}
|
|
790
790
|
else {
|
|
791
791
|
throw new Error("No value provided for input HTTP label: WorkloadId.");
|
|
@@ -795,7 +795,7 @@ const serializeAws_restJson1ListLensReviewImprovementsCommand = async (input, co
|
|
|
795
795
|
if (labelValue.length <= 0) {
|
|
796
796
|
throw new Error("Empty value provided for input HTTP label: LensAlias.");
|
|
797
797
|
}
|
|
798
|
-
resolvedPath = resolvedPath.replace("{LensAlias}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
798
|
+
resolvedPath = resolvedPath.replace("{LensAlias}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
799
799
|
}
|
|
800
800
|
else {
|
|
801
801
|
throw new Error("No value provided for input HTTP label: LensAlias.");
|
|
@@ -828,7 +828,7 @@ const serializeAws_restJson1ListLensReviewsCommand = async (input, context) => {
|
|
|
828
828
|
if (labelValue.length <= 0) {
|
|
829
829
|
throw new Error("Empty value provided for input HTTP label: WorkloadId.");
|
|
830
830
|
}
|
|
831
|
-
resolvedPath = resolvedPath.replace("{WorkloadId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
831
|
+
resolvedPath = resolvedPath.replace("{WorkloadId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
832
832
|
}
|
|
833
833
|
else {
|
|
834
834
|
throw new Error("No value provided for input HTTP label: WorkloadId.");
|
|
@@ -860,7 +860,7 @@ const serializeAws_restJson1ListLensSharesCommand = async (input, context) => {
|
|
|
860
860
|
if (labelValue.length <= 0) {
|
|
861
861
|
throw new Error("Empty value provided for input HTTP label: LensAlias.");
|
|
862
862
|
}
|
|
863
|
-
resolvedPath = resolvedPath.replace("{LensAlias}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
863
|
+
resolvedPath = resolvedPath.replace("{LensAlias}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
864
864
|
}
|
|
865
865
|
else {
|
|
866
866
|
throw new Error("No value provided for input HTTP label: LensAlias.");
|
|
@@ -895,7 +895,7 @@ const serializeAws_restJson1ListMilestonesCommand = async (input, context) => {
|
|
|
895
895
|
if (labelValue.length <= 0) {
|
|
896
896
|
throw new Error("Empty value provided for input HTTP label: WorkloadId.");
|
|
897
897
|
}
|
|
898
|
-
resolvedPath = resolvedPath.replace("{WorkloadId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
898
|
+
resolvedPath = resolvedPath.replace("{WorkloadId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
899
899
|
}
|
|
900
900
|
else {
|
|
901
901
|
throw new Error("No value provided for input HTTP label: WorkloadId.");
|
|
@@ -972,7 +972,7 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
|
|
|
972
972
|
if (labelValue.length <= 0) {
|
|
973
973
|
throw new Error("Empty value provided for input HTTP label: WorkloadArn.");
|
|
974
974
|
}
|
|
975
|
-
resolvedPath = resolvedPath.replace("{WorkloadArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
975
|
+
resolvedPath = resolvedPath.replace("{WorkloadArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
976
976
|
}
|
|
977
977
|
else {
|
|
978
978
|
throw new Error("No value provided for input HTTP label: WorkloadArn.");
|
|
@@ -1022,7 +1022,7 @@ const serializeAws_restJson1ListWorkloadSharesCommand = async (input, context) =
|
|
|
1022
1022
|
if (labelValue.length <= 0) {
|
|
1023
1023
|
throw new Error("Empty value provided for input HTTP label: WorkloadId.");
|
|
1024
1024
|
}
|
|
1025
|
-
resolvedPath = resolvedPath.replace("{WorkloadId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1025
|
+
resolvedPath = resolvedPath.replace("{WorkloadId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1026
1026
|
}
|
|
1027
1027
|
else {
|
|
1028
1028
|
throw new Error("No value provided for input HTTP label: WorkloadId.");
|
|
@@ -1056,7 +1056,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
|
|
|
1056
1056
|
if (labelValue.length <= 0) {
|
|
1057
1057
|
throw new Error("Empty value provided for input HTTP label: WorkloadArn.");
|
|
1058
1058
|
}
|
|
1059
|
-
resolvedPath = resolvedPath.replace("{WorkloadArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1059
|
+
resolvedPath = resolvedPath.replace("{WorkloadArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1060
1060
|
}
|
|
1061
1061
|
else {
|
|
1062
1062
|
throw new Error("No value provided for input HTTP label: WorkloadArn.");
|
|
@@ -1085,7 +1085,7 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
|
|
|
1085
1085
|
if (labelValue.length <= 0) {
|
|
1086
1086
|
throw new Error("Empty value provided for input HTTP label: WorkloadArn.");
|
|
1087
1087
|
}
|
|
1088
|
-
resolvedPath = resolvedPath.replace("{WorkloadArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1088
|
+
resolvedPath = resolvedPath.replace("{WorkloadArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1089
1089
|
}
|
|
1090
1090
|
else {
|
|
1091
1091
|
throw new Error("No value provided for input HTTP label: WorkloadArn.");
|
|
@@ -1118,7 +1118,7 @@ const serializeAws_restJson1UpdateAnswerCommand = async (input, context) => {
|
|
|
1118
1118
|
if (labelValue.length <= 0) {
|
|
1119
1119
|
throw new Error("Empty value provided for input HTTP label: WorkloadId.");
|
|
1120
1120
|
}
|
|
1121
|
-
resolvedPath = resolvedPath.replace("{WorkloadId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1121
|
+
resolvedPath = resolvedPath.replace("{WorkloadId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1122
1122
|
}
|
|
1123
1123
|
else {
|
|
1124
1124
|
throw new Error("No value provided for input HTTP label: WorkloadId.");
|
|
@@ -1128,7 +1128,7 @@ const serializeAws_restJson1UpdateAnswerCommand = async (input, context) => {
|
|
|
1128
1128
|
if (labelValue.length <= 0) {
|
|
1129
1129
|
throw new Error("Empty value provided for input HTTP label: LensAlias.");
|
|
1130
1130
|
}
|
|
1131
|
-
resolvedPath = resolvedPath.replace("{LensAlias}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1131
|
+
resolvedPath = resolvedPath.replace("{LensAlias}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1132
1132
|
}
|
|
1133
1133
|
else {
|
|
1134
1134
|
throw new Error("No value provided for input HTTP label: LensAlias.");
|
|
@@ -1138,7 +1138,7 @@ const serializeAws_restJson1UpdateAnswerCommand = async (input, context) => {
|
|
|
1138
1138
|
if (labelValue.length <= 0) {
|
|
1139
1139
|
throw new Error("Empty value provided for input HTTP label: QuestionId.");
|
|
1140
1140
|
}
|
|
1141
|
-
resolvedPath = resolvedPath.replace("{QuestionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1141
|
+
resolvedPath = resolvedPath.replace("{QuestionId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1142
1142
|
}
|
|
1143
1143
|
else {
|
|
1144
1144
|
throw new Error("No value provided for input HTTP label: QuestionId.");
|
|
@@ -1180,7 +1180,7 @@ const serializeAws_restJson1UpdateLensReviewCommand = async (input, context) =>
|
|
|
1180
1180
|
if (labelValue.length <= 0) {
|
|
1181
1181
|
throw new Error("Empty value provided for input HTTP label: WorkloadId.");
|
|
1182
1182
|
}
|
|
1183
|
-
resolvedPath = resolvedPath.replace("{WorkloadId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1183
|
+
resolvedPath = resolvedPath.replace("{WorkloadId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1184
1184
|
}
|
|
1185
1185
|
else {
|
|
1186
1186
|
throw new Error("No value provided for input HTTP label: WorkloadId.");
|
|
@@ -1190,7 +1190,7 @@ const serializeAws_restJson1UpdateLensReviewCommand = async (input, context) =>
|
|
|
1190
1190
|
if (labelValue.length <= 0) {
|
|
1191
1191
|
throw new Error("Empty value provided for input HTTP label: LensAlias.");
|
|
1192
1192
|
}
|
|
1193
|
-
resolvedPath = resolvedPath.replace("{LensAlias}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1193
|
+
resolvedPath = resolvedPath.replace("{LensAlias}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1194
1194
|
}
|
|
1195
1195
|
else {
|
|
1196
1196
|
throw new Error("No value provided for input HTTP label: LensAlias.");
|
|
@@ -1223,7 +1223,7 @@ const serializeAws_restJson1UpdateShareInvitationCommand = async (input, context
|
|
|
1223
1223
|
if (labelValue.length <= 0) {
|
|
1224
1224
|
throw new Error("Empty value provided for input HTTP label: ShareInvitationId.");
|
|
1225
1225
|
}
|
|
1226
|
-
resolvedPath = resolvedPath.replace("{ShareInvitationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1226
|
+
resolvedPath = resolvedPath.replace("{ShareInvitationId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1227
1227
|
}
|
|
1228
1228
|
else {
|
|
1229
1229
|
throw new Error("No value provided for input HTTP label: ShareInvitationId.");
|
|
@@ -1255,7 +1255,7 @@ const serializeAws_restJson1UpdateWorkloadCommand = async (input, context) => {
|
|
|
1255
1255
|
if (labelValue.length <= 0) {
|
|
1256
1256
|
throw new Error("Empty value provided for input HTTP label: WorkloadId.");
|
|
1257
1257
|
}
|
|
1258
|
-
resolvedPath = resolvedPath.replace("{WorkloadId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1258
|
+
resolvedPath = resolvedPath.replace("{WorkloadId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1259
1259
|
}
|
|
1260
1260
|
else {
|
|
1261
1261
|
throw new Error("No value provided for input HTTP label: WorkloadId.");
|
|
@@ -1312,7 +1312,7 @@ const serializeAws_restJson1UpdateWorkloadShareCommand = async (input, context)
|
|
|
1312
1312
|
if (labelValue.length <= 0) {
|
|
1313
1313
|
throw new Error("Empty value provided for input HTTP label: ShareId.");
|
|
1314
1314
|
}
|
|
1315
|
-
resolvedPath = resolvedPath.replace("{ShareId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1315
|
+
resolvedPath = resolvedPath.replace("{ShareId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1316
1316
|
}
|
|
1317
1317
|
else {
|
|
1318
1318
|
throw new Error("No value provided for input HTTP label: ShareId.");
|
|
@@ -1322,7 +1322,7 @@ const serializeAws_restJson1UpdateWorkloadShareCommand = async (input, context)
|
|
|
1322
1322
|
if (labelValue.length <= 0) {
|
|
1323
1323
|
throw new Error("Empty value provided for input HTTP label: WorkloadId.");
|
|
1324
1324
|
}
|
|
1325
|
-
resolvedPath = resolvedPath.replace("{WorkloadId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1325
|
+
resolvedPath = resolvedPath.replace("{WorkloadId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1326
1326
|
}
|
|
1327
1327
|
else {
|
|
1328
1328
|
throw new Error("No value provided for input HTTP label: WorkloadId.");
|
|
@@ -1355,7 +1355,7 @@ const serializeAws_restJson1UpgradeLensReviewCommand = async (input, context) =>
|
|
|
1355
1355
|
if (labelValue.length <= 0) {
|
|
1356
1356
|
throw new Error("Empty value provided for input HTTP label: WorkloadId.");
|
|
1357
1357
|
}
|
|
1358
|
-
resolvedPath = resolvedPath.replace("{WorkloadId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1358
|
+
resolvedPath = resolvedPath.replace("{WorkloadId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1359
1359
|
}
|
|
1360
1360
|
else {
|
|
1361
1361
|
throw new Error("No value provided for input HTTP label: WorkloadId.");
|
|
@@ -1365,7 +1365,7 @@ const serializeAws_restJson1UpgradeLensReviewCommand = async (input, context) =>
|
|
|
1365
1365
|
if (labelValue.length <= 0) {
|
|
1366
1366
|
throw new Error("Empty value provided for input HTTP label: LensAlias.");
|
|
1367
1367
|
}
|
|
1368
|
-
resolvedPath = resolvedPath.replace("{LensAlias}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1368
|
+
resolvedPath = resolvedPath.replace("{LensAlias}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1369
1369
|
}
|
|
1370
1370
|
else {
|
|
1371
1371
|
throw new Error("No value provided for input HTTP label: LensAlias.");
|
|
@@ -1432,7 +1432,7 @@ const deserializeAws_restJson1AssociateLensesCommandError = async (output, conte
|
|
|
1432
1432
|
$fault: "client",
|
|
1433
1433
|
$metadata: deserializeMetadata(output),
|
|
1434
1434
|
});
|
|
1435
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1435
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1436
1436
|
}
|
|
1437
1437
|
};
|
|
1438
1438
|
const deserializeAws_restJson1CreateLensShareCommand = async (output, context) => {
|
|
@@ -1443,9 +1443,9 @@ const deserializeAws_restJson1CreateLensShareCommand = async (output, context) =
|
|
|
1443
1443
|
$metadata: deserializeMetadata(output),
|
|
1444
1444
|
ShareId: undefined,
|
|
1445
1445
|
};
|
|
1446
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1446
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1447
1447
|
if (data.ShareId !== undefined && data.ShareId !== null) {
|
|
1448
|
-
contents.ShareId = smithy_client_1.expectString(data.ShareId);
|
|
1448
|
+
contents.ShareId = (0, smithy_client_1.expectString)(data.ShareId);
|
|
1449
1449
|
}
|
|
1450
1450
|
return Promise.resolve(contents);
|
|
1451
1451
|
};
|
|
@@ -1487,7 +1487,7 @@ const deserializeAws_restJson1CreateLensShareCommandError = async (output, conte
|
|
|
1487
1487
|
$fault: "client",
|
|
1488
1488
|
$metadata: deserializeMetadata(output),
|
|
1489
1489
|
});
|
|
1490
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1490
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1491
1491
|
}
|
|
1492
1492
|
};
|
|
1493
1493
|
const deserializeAws_restJson1CreateLensVersionCommand = async (output, context) => {
|
|
@@ -1499,12 +1499,12 @@ const deserializeAws_restJson1CreateLensVersionCommand = async (output, context)
|
|
|
1499
1499
|
LensArn: undefined,
|
|
1500
1500
|
LensVersion: undefined,
|
|
1501
1501
|
};
|
|
1502
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1502
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1503
1503
|
if (data.LensArn !== undefined && data.LensArn !== null) {
|
|
1504
|
-
contents.LensArn = smithy_client_1.expectString(data.LensArn);
|
|
1504
|
+
contents.LensArn = (0, smithy_client_1.expectString)(data.LensArn);
|
|
1505
1505
|
}
|
|
1506
1506
|
if (data.LensVersion !== undefined && data.LensVersion !== null) {
|
|
1507
|
-
contents.LensVersion = smithy_client_1.expectString(data.LensVersion);
|
|
1507
|
+
contents.LensVersion = (0, smithy_client_1.expectString)(data.LensVersion);
|
|
1508
1508
|
}
|
|
1509
1509
|
return Promise.resolve(contents);
|
|
1510
1510
|
};
|
|
@@ -1546,7 +1546,7 @@ const deserializeAws_restJson1CreateLensVersionCommandError = async (output, con
|
|
|
1546
1546
|
$fault: "client",
|
|
1547
1547
|
$metadata: deserializeMetadata(output),
|
|
1548
1548
|
});
|
|
1549
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1549
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1550
1550
|
}
|
|
1551
1551
|
};
|
|
1552
1552
|
const deserializeAws_restJson1CreateMilestoneCommand = async (output, context) => {
|
|
@@ -1558,12 +1558,12 @@ const deserializeAws_restJson1CreateMilestoneCommand = async (output, context) =
|
|
|
1558
1558
|
MilestoneNumber: undefined,
|
|
1559
1559
|
WorkloadId: undefined,
|
|
1560
1560
|
};
|
|
1561
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1561
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1562
1562
|
if (data.MilestoneNumber !== undefined && data.MilestoneNumber !== null) {
|
|
1563
|
-
contents.MilestoneNumber = smithy_client_1.expectInt32(data.MilestoneNumber);
|
|
1563
|
+
contents.MilestoneNumber = (0, smithy_client_1.expectInt32)(data.MilestoneNumber);
|
|
1564
1564
|
}
|
|
1565
1565
|
if (data.WorkloadId !== undefined && data.WorkloadId !== null) {
|
|
1566
|
-
contents.WorkloadId = smithy_client_1.expectString(data.WorkloadId);
|
|
1566
|
+
contents.WorkloadId = (0, smithy_client_1.expectString)(data.WorkloadId);
|
|
1567
1567
|
}
|
|
1568
1568
|
return Promise.resolve(contents);
|
|
1569
1569
|
};
|
|
@@ -1605,7 +1605,7 @@ const deserializeAws_restJson1CreateMilestoneCommandError = async (output, conte
|
|
|
1605
1605
|
$fault: "client",
|
|
1606
1606
|
$metadata: deserializeMetadata(output),
|
|
1607
1607
|
});
|
|
1608
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1608
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1609
1609
|
}
|
|
1610
1610
|
};
|
|
1611
1611
|
const deserializeAws_restJson1CreateWorkloadCommand = async (output, context) => {
|
|
@@ -1617,12 +1617,12 @@ const deserializeAws_restJson1CreateWorkloadCommand = async (output, context) =>
|
|
|
1617
1617
|
WorkloadArn: undefined,
|
|
1618
1618
|
WorkloadId: undefined,
|
|
1619
1619
|
};
|
|
1620
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1620
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1621
1621
|
if (data.WorkloadArn !== undefined && data.WorkloadArn !== null) {
|
|
1622
|
-
contents.WorkloadArn = smithy_client_1.expectString(data.WorkloadArn);
|
|
1622
|
+
contents.WorkloadArn = (0, smithy_client_1.expectString)(data.WorkloadArn);
|
|
1623
1623
|
}
|
|
1624
1624
|
if (data.WorkloadId !== undefined && data.WorkloadId !== null) {
|
|
1625
|
-
contents.WorkloadId = smithy_client_1.expectString(data.WorkloadId);
|
|
1625
|
+
contents.WorkloadId = (0, smithy_client_1.expectString)(data.WorkloadId);
|
|
1626
1626
|
}
|
|
1627
1627
|
return Promise.resolve(contents);
|
|
1628
1628
|
};
|
|
@@ -1661,7 +1661,7 @@ const deserializeAws_restJson1CreateWorkloadCommandError = async (output, contex
|
|
|
1661
1661
|
$fault: "client",
|
|
1662
1662
|
$metadata: deserializeMetadata(output),
|
|
1663
1663
|
});
|
|
1664
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1664
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1665
1665
|
}
|
|
1666
1666
|
};
|
|
1667
1667
|
const deserializeAws_restJson1CreateWorkloadShareCommand = async (output, context) => {
|
|
@@ -1673,12 +1673,12 @@ const deserializeAws_restJson1CreateWorkloadShareCommand = async (output, contex
|
|
|
1673
1673
|
ShareId: undefined,
|
|
1674
1674
|
WorkloadId: undefined,
|
|
1675
1675
|
};
|
|
1676
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1676
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1677
1677
|
if (data.ShareId !== undefined && data.ShareId !== null) {
|
|
1678
|
-
contents.ShareId = smithy_client_1.expectString(data.ShareId);
|
|
1678
|
+
contents.ShareId = (0, smithy_client_1.expectString)(data.ShareId);
|
|
1679
1679
|
}
|
|
1680
1680
|
if (data.WorkloadId !== undefined && data.WorkloadId !== null) {
|
|
1681
|
-
contents.WorkloadId = smithy_client_1.expectString(data.WorkloadId);
|
|
1681
|
+
contents.WorkloadId = (0, smithy_client_1.expectString)(data.WorkloadId);
|
|
1682
1682
|
}
|
|
1683
1683
|
return Promise.resolve(contents);
|
|
1684
1684
|
};
|
|
@@ -1720,7 +1720,7 @@ const deserializeAws_restJson1CreateWorkloadShareCommandError = async (output, c
|
|
|
1720
1720
|
$fault: "client",
|
|
1721
1721
|
$metadata: deserializeMetadata(output),
|
|
1722
1722
|
});
|
|
1723
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1723
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1724
1724
|
}
|
|
1725
1725
|
};
|
|
1726
1726
|
const deserializeAws_restJson1DeleteLensCommand = async (output, context) => {
|
|
@@ -1768,7 +1768,7 @@ const deserializeAws_restJson1DeleteLensCommandError = async (output, context) =
|
|
|
1768
1768
|
$fault: "client",
|
|
1769
1769
|
$metadata: deserializeMetadata(output),
|
|
1770
1770
|
});
|
|
1771
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1771
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1772
1772
|
}
|
|
1773
1773
|
};
|
|
1774
1774
|
const deserializeAws_restJson1DeleteLensShareCommand = async (output, context) => {
|
|
@@ -1816,7 +1816,7 @@ const deserializeAws_restJson1DeleteLensShareCommandError = async (output, conte
|
|
|
1816
1816
|
$fault: "client",
|
|
1817
1817
|
$metadata: deserializeMetadata(output),
|
|
1818
1818
|
});
|
|
1819
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1819
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1820
1820
|
}
|
|
1821
1821
|
};
|
|
1822
1822
|
const deserializeAws_restJson1DeleteWorkloadCommand = async (output, context) => {
|
|
@@ -1864,7 +1864,7 @@ const deserializeAws_restJson1DeleteWorkloadCommandError = async (output, contex
|
|
|
1864
1864
|
$fault: "client",
|
|
1865
1865
|
$metadata: deserializeMetadata(output),
|
|
1866
1866
|
});
|
|
1867
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1867
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1868
1868
|
}
|
|
1869
1869
|
};
|
|
1870
1870
|
const deserializeAws_restJson1DeleteWorkloadShareCommand = async (output, context) => {
|
|
@@ -1912,7 +1912,7 @@ const deserializeAws_restJson1DeleteWorkloadShareCommandError = async (output, c
|
|
|
1912
1912
|
$fault: "client",
|
|
1913
1913
|
$metadata: deserializeMetadata(output),
|
|
1914
1914
|
});
|
|
1915
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1915
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1916
1916
|
}
|
|
1917
1917
|
};
|
|
1918
1918
|
const deserializeAws_restJson1DisassociateLensesCommand = async (output, context) => {
|
|
@@ -1960,7 +1960,7 @@ const deserializeAws_restJson1DisassociateLensesCommandError = async (output, co
|
|
|
1960
1960
|
$fault: "client",
|
|
1961
1961
|
$metadata: deserializeMetadata(output),
|
|
1962
1962
|
});
|
|
1963
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1963
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1964
1964
|
}
|
|
1965
1965
|
};
|
|
1966
1966
|
const deserializeAws_restJson1ExportLensCommand = async (output, context) => {
|
|
@@ -1971,9 +1971,9 @@ const deserializeAws_restJson1ExportLensCommand = async (output, context) => {
|
|
|
1971
1971
|
$metadata: deserializeMetadata(output),
|
|
1972
1972
|
LensJSON: undefined,
|
|
1973
1973
|
};
|
|
1974
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1974
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1975
1975
|
if (data.LensJSON !== undefined && data.LensJSON !== null) {
|
|
1976
|
-
contents.LensJSON = smithy_client_1.expectString(data.LensJSON);
|
|
1976
|
+
contents.LensJSON = (0, smithy_client_1.expectString)(data.LensJSON);
|
|
1977
1977
|
}
|
|
1978
1978
|
return Promise.resolve(contents);
|
|
1979
1979
|
};
|
|
@@ -2009,7 +2009,7 @@ const deserializeAws_restJson1ExportLensCommandError = async (output, context) =
|
|
|
2009
2009
|
$fault: "client",
|
|
2010
2010
|
$metadata: deserializeMetadata(output),
|
|
2011
2011
|
});
|
|
2012
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2012
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2013
2013
|
}
|
|
2014
2014
|
};
|
|
2015
2015
|
const deserializeAws_restJson1GetAnswerCommand = async (output, context) => {
|
|
@@ -2024,21 +2024,21 @@ const deserializeAws_restJson1GetAnswerCommand = async (output, context) => {
|
|
|
2024
2024
|
MilestoneNumber: undefined,
|
|
2025
2025
|
WorkloadId: undefined,
|
|
2026
2026
|
};
|
|
2027
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2027
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2028
2028
|
if (data.Answer !== undefined && data.Answer !== null) {
|
|
2029
2029
|
contents.Answer = deserializeAws_restJson1Answer(data.Answer, context);
|
|
2030
2030
|
}
|
|
2031
2031
|
if (data.LensAlias !== undefined && data.LensAlias !== null) {
|
|
2032
|
-
contents.LensAlias = smithy_client_1.expectString(data.LensAlias);
|
|
2032
|
+
contents.LensAlias = (0, smithy_client_1.expectString)(data.LensAlias);
|
|
2033
2033
|
}
|
|
2034
2034
|
if (data.LensArn !== undefined && data.LensArn !== null) {
|
|
2035
|
-
contents.LensArn = smithy_client_1.expectString(data.LensArn);
|
|
2035
|
+
contents.LensArn = (0, smithy_client_1.expectString)(data.LensArn);
|
|
2036
2036
|
}
|
|
2037
2037
|
if (data.MilestoneNumber !== undefined && data.MilestoneNumber !== null) {
|
|
2038
|
-
contents.MilestoneNumber = smithy_client_1.expectInt32(data.MilestoneNumber);
|
|
2038
|
+
contents.MilestoneNumber = (0, smithy_client_1.expectInt32)(data.MilestoneNumber);
|
|
2039
2039
|
}
|
|
2040
2040
|
if (data.WorkloadId !== undefined && data.WorkloadId !== null) {
|
|
2041
|
-
contents.WorkloadId = smithy_client_1.expectString(data.WorkloadId);
|
|
2041
|
+
contents.WorkloadId = (0, smithy_client_1.expectString)(data.WorkloadId);
|
|
2042
2042
|
}
|
|
2043
2043
|
return Promise.resolve(contents);
|
|
2044
2044
|
};
|
|
@@ -2074,7 +2074,7 @@ const deserializeAws_restJson1GetAnswerCommandError = async (output, context) =>
|
|
|
2074
2074
|
$fault: "client",
|
|
2075
2075
|
$metadata: deserializeMetadata(output),
|
|
2076
2076
|
});
|
|
2077
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2077
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2078
2078
|
}
|
|
2079
2079
|
};
|
|
2080
2080
|
const deserializeAws_restJson1GetLensCommand = async (output, context) => {
|
|
@@ -2085,7 +2085,7 @@ const deserializeAws_restJson1GetLensCommand = async (output, context) => {
|
|
|
2085
2085
|
$metadata: deserializeMetadata(output),
|
|
2086
2086
|
Lens: undefined,
|
|
2087
2087
|
};
|
|
2088
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2088
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2089
2089
|
if (data.Lens !== undefined && data.Lens !== null) {
|
|
2090
2090
|
contents.Lens = deserializeAws_restJson1Lens(data.Lens, context);
|
|
2091
2091
|
}
|
|
@@ -2123,7 +2123,7 @@ const deserializeAws_restJson1GetLensCommandError = async (output, context) => {
|
|
|
2123
2123
|
$fault: "client",
|
|
2124
2124
|
$metadata: deserializeMetadata(output),
|
|
2125
2125
|
});
|
|
2126
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2126
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2127
2127
|
}
|
|
2128
2128
|
};
|
|
2129
2129
|
const deserializeAws_restJson1GetLensReviewCommand = async (output, context) => {
|
|
@@ -2136,15 +2136,15 @@ const deserializeAws_restJson1GetLensReviewCommand = async (output, context) =>
|
|
|
2136
2136
|
MilestoneNumber: undefined,
|
|
2137
2137
|
WorkloadId: undefined,
|
|
2138
2138
|
};
|
|
2139
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2139
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2140
2140
|
if (data.LensReview !== undefined && data.LensReview !== null) {
|
|
2141
2141
|
contents.LensReview = deserializeAws_restJson1LensReview(data.LensReview, context);
|
|
2142
2142
|
}
|
|
2143
2143
|
if (data.MilestoneNumber !== undefined && data.MilestoneNumber !== null) {
|
|
2144
|
-
contents.MilestoneNumber = smithy_client_1.expectInt32(data.MilestoneNumber);
|
|
2144
|
+
contents.MilestoneNumber = (0, smithy_client_1.expectInt32)(data.MilestoneNumber);
|
|
2145
2145
|
}
|
|
2146
2146
|
if (data.WorkloadId !== undefined && data.WorkloadId !== null) {
|
|
2147
|
-
contents.WorkloadId = smithy_client_1.expectString(data.WorkloadId);
|
|
2147
|
+
contents.WorkloadId = (0, smithy_client_1.expectString)(data.WorkloadId);
|
|
2148
2148
|
}
|
|
2149
2149
|
return Promise.resolve(contents);
|
|
2150
2150
|
};
|
|
@@ -2180,7 +2180,7 @@ const deserializeAws_restJson1GetLensReviewCommandError = async (output, context
|
|
|
2180
2180
|
$fault: "client",
|
|
2181
2181
|
$metadata: deserializeMetadata(output),
|
|
2182
2182
|
});
|
|
2183
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2183
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2184
2184
|
}
|
|
2185
2185
|
};
|
|
2186
2186
|
const deserializeAws_restJson1GetLensReviewReportCommand = async (output, context) => {
|
|
@@ -2193,15 +2193,15 @@ const deserializeAws_restJson1GetLensReviewReportCommand = async (output, contex
|
|
|
2193
2193
|
MilestoneNumber: undefined,
|
|
2194
2194
|
WorkloadId: undefined,
|
|
2195
2195
|
};
|
|
2196
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2196
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2197
2197
|
if (data.LensReviewReport !== undefined && data.LensReviewReport !== null) {
|
|
2198
2198
|
contents.LensReviewReport = deserializeAws_restJson1LensReviewReport(data.LensReviewReport, context);
|
|
2199
2199
|
}
|
|
2200
2200
|
if (data.MilestoneNumber !== undefined && data.MilestoneNumber !== null) {
|
|
2201
|
-
contents.MilestoneNumber = smithy_client_1.expectInt32(data.MilestoneNumber);
|
|
2201
|
+
contents.MilestoneNumber = (0, smithy_client_1.expectInt32)(data.MilestoneNumber);
|
|
2202
2202
|
}
|
|
2203
2203
|
if (data.WorkloadId !== undefined && data.WorkloadId !== null) {
|
|
2204
|
-
contents.WorkloadId = smithy_client_1.expectString(data.WorkloadId);
|
|
2204
|
+
contents.WorkloadId = (0, smithy_client_1.expectString)(data.WorkloadId);
|
|
2205
2205
|
}
|
|
2206
2206
|
return Promise.resolve(contents);
|
|
2207
2207
|
};
|
|
@@ -2237,7 +2237,7 @@ const deserializeAws_restJson1GetLensReviewReportCommandError = async (output, c
|
|
|
2237
2237
|
$fault: "client",
|
|
2238
2238
|
$metadata: deserializeMetadata(output),
|
|
2239
2239
|
});
|
|
2240
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2240
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2241
2241
|
}
|
|
2242
2242
|
};
|
|
2243
2243
|
const deserializeAws_restJson1GetLensVersionDifferenceCommand = async (output, context) => {
|
|
@@ -2253,21 +2253,21 @@ const deserializeAws_restJson1GetLensVersionDifferenceCommand = async (output, c
|
|
|
2253
2253
|
TargetLensVersion: undefined,
|
|
2254
2254
|
VersionDifferences: undefined,
|
|
2255
2255
|
};
|
|
2256
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2256
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2257
2257
|
if (data.BaseLensVersion !== undefined && data.BaseLensVersion !== null) {
|
|
2258
|
-
contents.BaseLensVersion = smithy_client_1.expectString(data.BaseLensVersion);
|
|
2258
|
+
contents.BaseLensVersion = (0, smithy_client_1.expectString)(data.BaseLensVersion);
|
|
2259
2259
|
}
|
|
2260
2260
|
if (data.LatestLensVersion !== undefined && data.LatestLensVersion !== null) {
|
|
2261
|
-
contents.LatestLensVersion = smithy_client_1.expectString(data.LatestLensVersion);
|
|
2261
|
+
contents.LatestLensVersion = (0, smithy_client_1.expectString)(data.LatestLensVersion);
|
|
2262
2262
|
}
|
|
2263
2263
|
if (data.LensAlias !== undefined && data.LensAlias !== null) {
|
|
2264
|
-
contents.LensAlias = smithy_client_1.expectString(data.LensAlias);
|
|
2264
|
+
contents.LensAlias = (0, smithy_client_1.expectString)(data.LensAlias);
|
|
2265
2265
|
}
|
|
2266
2266
|
if (data.LensArn !== undefined && data.LensArn !== null) {
|
|
2267
|
-
contents.LensArn = smithy_client_1.expectString(data.LensArn);
|
|
2267
|
+
contents.LensArn = (0, smithy_client_1.expectString)(data.LensArn);
|
|
2268
2268
|
}
|
|
2269
2269
|
if (data.TargetLensVersion !== undefined && data.TargetLensVersion !== null) {
|
|
2270
|
-
contents.TargetLensVersion = smithy_client_1.expectString(data.TargetLensVersion);
|
|
2270
|
+
contents.TargetLensVersion = (0, smithy_client_1.expectString)(data.TargetLensVersion);
|
|
2271
2271
|
}
|
|
2272
2272
|
if (data.VersionDifferences !== undefined && data.VersionDifferences !== null) {
|
|
2273
2273
|
contents.VersionDifferences = deserializeAws_restJson1VersionDifferences(data.VersionDifferences, context);
|
|
@@ -2306,7 +2306,7 @@ const deserializeAws_restJson1GetLensVersionDifferenceCommandError = async (outp
|
|
|
2306
2306
|
$fault: "client",
|
|
2307
2307
|
$metadata: deserializeMetadata(output),
|
|
2308
2308
|
});
|
|
2309
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2309
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2310
2310
|
}
|
|
2311
2311
|
};
|
|
2312
2312
|
const deserializeAws_restJson1GetMilestoneCommand = async (output, context) => {
|
|
@@ -2318,12 +2318,12 @@ const deserializeAws_restJson1GetMilestoneCommand = async (output, context) => {
|
|
|
2318
2318
|
Milestone: undefined,
|
|
2319
2319
|
WorkloadId: undefined,
|
|
2320
2320
|
};
|
|
2321
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2321
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2322
2322
|
if (data.Milestone !== undefined && data.Milestone !== null) {
|
|
2323
2323
|
contents.Milestone = deserializeAws_restJson1Milestone(data.Milestone, context);
|
|
2324
2324
|
}
|
|
2325
2325
|
if (data.WorkloadId !== undefined && data.WorkloadId !== null) {
|
|
2326
|
-
contents.WorkloadId = smithy_client_1.expectString(data.WorkloadId);
|
|
2326
|
+
contents.WorkloadId = (0, smithy_client_1.expectString)(data.WorkloadId);
|
|
2327
2327
|
}
|
|
2328
2328
|
return Promise.resolve(contents);
|
|
2329
2329
|
};
|
|
@@ -2359,7 +2359,7 @@ const deserializeAws_restJson1GetMilestoneCommandError = async (output, context)
|
|
|
2359
2359
|
$fault: "client",
|
|
2360
2360
|
$metadata: deserializeMetadata(output),
|
|
2361
2361
|
});
|
|
2362
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2362
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2363
2363
|
}
|
|
2364
2364
|
};
|
|
2365
2365
|
const deserializeAws_restJson1GetWorkloadCommand = async (output, context) => {
|
|
@@ -2370,7 +2370,7 @@ const deserializeAws_restJson1GetWorkloadCommand = async (output, context) => {
|
|
|
2370
2370
|
$metadata: deserializeMetadata(output),
|
|
2371
2371
|
Workload: undefined,
|
|
2372
2372
|
};
|
|
2373
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2373
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2374
2374
|
if (data.Workload !== undefined && data.Workload !== null) {
|
|
2375
2375
|
contents.Workload = deserializeAws_restJson1Workload(data.Workload, context);
|
|
2376
2376
|
}
|
|
@@ -2408,7 +2408,7 @@ const deserializeAws_restJson1GetWorkloadCommandError = async (output, context)
|
|
|
2408
2408
|
$fault: "client",
|
|
2409
2409
|
$metadata: deserializeMetadata(output),
|
|
2410
2410
|
});
|
|
2411
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2411
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2412
2412
|
}
|
|
2413
2413
|
};
|
|
2414
2414
|
const deserializeAws_restJson1ImportLensCommand = async (output, context) => {
|
|
@@ -2420,12 +2420,12 @@ const deserializeAws_restJson1ImportLensCommand = async (output, context) => {
|
|
|
2420
2420
|
LensArn: undefined,
|
|
2421
2421
|
Status: undefined,
|
|
2422
2422
|
};
|
|
2423
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2423
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2424
2424
|
if (data.LensArn !== undefined && data.LensArn !== null) {
|
|
2425
|
-
contents.LensArn = smithy_client_1.expectString(data.LensArn);
|
|
2425
|
+
contents.LensArn = (0, smithy_client_1.expectString)(data.LensArn);
|
|
2426
2426
|
}
|
|
2427
2427
|
if (data.Status !== undefined && data.Status !== null) {
|
|
2428
|
-
contents.Status = smithy_client_1.expectString(data.Status);
|
|
2428
|
+
contents.Status = (0, smithy_client_1.expectString)(data.Status);
|
|
2429
2429
|
}
|
|
2430
2430
|
return Promise.resolve(contents);
|
|
2431
2431
|
};
|
|
@@ -2467,7 +2467,7 @@ const deserializeAws_restJson1ImportLensCommandError = async (output, context) =
|
|
|
2467
2467
|
$fault: "client",
|
|
2468
2468
|
$metadata: deserializeMetadata(output),
|
|
2469
2469
|
});
|
|
2470
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2470
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2471
2471
|
}
|
|
2472
2472
|
};
|
|
2473
2473
|
const deserializeAws_restJson1ListAnswersCommand = async (output, context) => {
|
|
@@ -2483,24 +2483,24 @@ const deserializeAws_restJson1ListAnswersCommand = async (output, context) => {
|
|
|
2483
2483
|
NextToken: undefined,
|
|
2484
2484
|
WorkloadId: undefined,
|
|
2485
2485
|
};
|
|
2486
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2486
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2487
2487
|
if (data.AnswerSummaries !== undefined && data.AnswerSummaries !== null) {
|
|
2488
2488
|
contents.AnswerSummaries = deserializeAws_restJson1AnswerSummaries(data.AnswerSummaries, context);
|
|
2489
2489
|
}
|
|
2490
2490
|
if (data.LensAlias !== undefined && data.LensAlias !== null) {
|
|
2491
|
-
contents.LensAlias = smithy_client_1.expectString(data.LensAlias);
|
|
2491
|
+
contents.LensAlias = (0, smithy_client_1.expectString)(data.LensAlias);
|
|
2492
2492
|
}
|
|
2493
2493
|
if (data.LensArn !== undefined && data.LensArn !== null) {
|
|
2494
|
-
contents.LensArn = smithy_client_1.expectString(data.LensArn);
|
|
2494
|
+
contents.LensArn = (0, smithy_client_1.expectString)(data.LensArn);
|
|
2495
2495
|
}
|
|
2496
2496
|
if (data.MilestoneNumber !== undefined && data.MilestoneNumber !== null) {
|
|
2497
|
-
contents.MilestoneNumber = smithy_client_1.expectInt32(data.MilestoneNumber);
|
|
2497
|
+
contents.MilestoneNumber = (0, smithy_client_1.expectInt32)(data.MilestoneNumber);
|
|
2498
2498
|
}
|
|
2499
2499
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
2500
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
2500
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
2501
2501
|
}
|
|
2502
2502
|
if (data.WorkloadId !== undefined && data.WorkloadId !== null) {
|
|
2503
|
-
contents.WorkloadId = smithy_client_1.expectString(data.WorkloadId);
|
|
2503
|
+
contents.WorkloadId = (0, smithy_client_1.expectString)(data.WorkloadId);
|
|
2504
2504
|
}
|
|
2505
2505
|
return Promise.resolve(contents);
|
|
2506
2506
|
};
|
|
@@ -2536,7 +2536,7 @@ const deserializeAws_restJson1ListAnswersCommandError = async (output, context)
|
|
|
2536
2536
|
$fault: "client",
|
|
2537
2537
|
$metadata: deserializeMetadata(output),
|
|
2538
2538
|
});
|
|
2539
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2539
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2540
2540
|
}
|
|
2541
2541
|
};
|
|
2542
2542
|
const deserializeAws_restJson1ListLensesCommand = async (output, context) => {
|
|
@@ -2548,12 +2548,12 @@ const deserializeAws_restJson1ListLensesCommand = async (output, context) => {
|
|
|
2548
2548
|
LensSummaries: undefined,
|
|
2549
2549
|
NextToken: undefined,
|
|
2550
2550
|
};
|
|
2551
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2551
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2552
2552
|
if (data.LensSummaries !== undefined && data.LensSummaries !== null) {
|
|
2553
2553
|
contents.LensSummaries = deserializeAws_restJson1LensSummaries(data.LensSummaries, context);
|
|
2554
2554
|
}
|
|
2555
2555
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
2556
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
2556
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
2557
2557
|
}
|
|
2558
2558
|
return Promise.resolve(contents);
|
|
2559
2559
|
};
|
|
@@ -2586,7 +2586,7 @@ const deserializeAws_restJson1ListLensesCommandError = async (output, context) =
|
|
|
2586
2586
|
$fault: "client",
|
|
2587
2587
|
$metadata: deserializeMetadata(output),
|
|
2588
2588
|
});
|
|
2589
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2589
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2590
2590
|
}
|
|
2591
2591
|
};
|
|
2592
2592
|
const deserializeAws_restJson1ListLensReviewImprovementsCommand = async (output, context) => {
|
|
@@ -2602,24 +2602,24 @@ const deserializeAws_restJson1ListLensReviewImprovementsCommand = async (output,
|
|
|
2602
2602
|
NextToken: undefined,
|
|
2603
2603
|
WorkloadId: undefined,
|
|
2604
2604
|
};
|
|
2605
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2605
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2606
2606
|
if (data.ImprovementSummaries !== undefined && data.ImprovementSummaries !== null) {
|
|
2607
2607
|
contents.ImprovementSummaries = deserializeAws_restJson1ImprovementSummaries(data.ImprovementSummaries, context);
|
|
2608
2608
|
}
|
|
2609
2609
|
if (data.LensAlias !== undefined && data.LensAlias !== null) {
|
|
2610
|
-
contents.LensAlias = smithy_client_1.expectString(data.LensAlias);
|
|
2610
|
+
contents.LensAlias = (0, smithy_client_1.expectString)(data.LensAlias);
|
|
2611
2611
|
}
|
|
2612
2612
|
if (data.LensArn !== undefined && data.LensArn !== null) {
|
|
2613
|
-
contents.LensArn = smithy_client_1.expectString(data.LensArn);
|
|
2613
|
+
contents.LensArn = (0, smithy_client_1.expectString)(data.LensArn);
|
|
2614
2614
|
}
|
|
2615
2615
|
if (data.MilestoneNumber !== undefined && data.MilestoneNumber !== null) {
|
|
2616
|
-
contents.MilestoneNumber = smithy_client_1.expectInt32(data.MilestoneNumber);
|
|
2616
|
+
contents.MilestoneNumber = (0, smithy_client_1.expectInt32)(data.MilestoneNumber);
|
|
2617
2617
|
}
|
|
2618
2618
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
2619
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
2619
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
2620
2620
|
}
|
|
2621
2621
|
if (data.WorkloadId !== undefined && data.WorkloadId !== null) {
|
|
2622
|
-
contents.WorkloadId = smithy_client_1.expectString(data.WorkloadId);
|
|
2622
|
+
contents.WorkloadId = (0, smithy_client_1.expectString)(data.WorkloadId);
|
|
2623
2623
|
}
|
|
2624
2624
|
return Promise.resolve(contents);
|
|
2625
2625
|
};
|
|
@@ -2655,7 +2655,7 @@ const deserializeAws_restJson1ListLensReviewImprovementsCommandError = async (ou
|
|
|
2655
2655
|
$fault: "client",
|
|
2656
2656
|
$metadata: deserializeMetadata(output),
|
|
2657
2657
|
});
|
|
2658
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2658
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2659
2659
|
}
|
|
2660
2660
|
};
|
|
2661
2661
|
const deserializeAws_restJson1ListLensReviewsCommand = async (output, context) => {
|
|
@@ -2669,18 +2669,18 @@ const deserializeAws_restJson1ListLensReviewsCommand = async (output, context) =
|
|
|
2669
2669
|
NextToken: undefined,
|
|
2670
2670
|
WorkloadId: undefined,
|
|
2671
2671
|
};
|
|
2672
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2672
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2673
2673
|
if (data.LensReviewSummaries !== undefined && data.LensReviewSummaries !== null) {
|
|
2674
2674
|
contents.LensReviewSummaries = deserializeAws_restJson1LensReviewSummaries(data.LensReviewSummaries, context);
|
|
2675
2675
|
}
|
|
2676
2676
|
if (data.MilestoneNumber !== undefined && data.MilestoneNumber !== null) {
|
|
2677
|
-
contents.MilestoneNumber = smithy_client_1.expectInt32(data.MilestoneNumber);
|
|
2677
|
+
contents.MilestoneNumber = (0, smithy_client_1.expectInt32)(data.MilestoneNumber);
|
|
2678
2678
|
}
|
|
2679
2679
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
2680
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
2680
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
2681
2681
|
}
|
|
2682
2682
|
if (data.WorkloadId !== undefined && data.WorkloadId !== null) {
|
|
2683
|
-
contents.WorkloadId = smithy_client_1.expectString(data.WorkloadId);
|
|
2683
|
+
contents.WorkloadId = (0, smithy_client_1.expectString)(data.WorkloadId);
|
|
2684
2684
|
}
|
|
2685
2685
|
return Promise.resolve(contents);
|
|
2686
2686
|
};
|
|
@@ -2716,7 +2716,7 @@ const deserializeAws_restJson1ListLensReviewsCommandError = async (output, conte
|
|
|
2716
2716
|
$fault: "client",
|
|
2717
2717
|
$metadata: deserializeMetadata(output),
|
|
2718
2718
|
});
|
|
2719
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2719
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2720
2720
|
}
|
|
2721
2721
|
};
|
|
2722
2722
|
const deserializeAws_restJson1ListLensSharesCommand = async (output, context) => {
|
|
@@ -2728,12 +2728,12 @@ const deserializeAws_restJson1ListLensSharesCommand = async (output, context) =>
|
|
|
2728
2728
|
LensShareSummaries: undefined,
|
|
2729
2729
|
NextToken: undefined,
|
|
2730
2730
|
};
|
|
2731
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2731
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2732
2732
|
if (data.LensShareSummaries !== undefined && data.LensShareSummaries !== null) {
|
|
2733
2733
|
contents.LensShareSummaries = deserializeAws_restJson1LensShareSummaries(data.LensShareSummaries, context);
|
|
2734
2734
|
}
|
|
2735
2735
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
2736
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
2736
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
2737
2737
|
}
|
|
2738
2738
|
return Promise.resolve(contents);
|
|
2739
2739
|
};
|
|
@@ -2769,7 +2769,7 @@ const deserializeAws_restJson1ListLensSharesCommandError = async (output, contex
|
|
|
2769
2769
|
$fault: "client",
|
|
2770
2770
|
$metadata: deserializeMetadata(output),
|
|
2771
2771
|
});
|
|
2772
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2772
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2773
2773
|
}
|
|
2774
2774
|
};
|
|
2775
2775
|
const deserializeAws_restJson1ListMilestonesCommand = async (output, context) => {
|
|
@@ -2782,15 +2782,15 @@ const deserializeAws_restJson1ListMilestonesCommand = async (output, context) =>
|
|
|
2782
2782
|
NextToken: undefined,
|
|
2783
2783
|
WorkloadId: undefined,
|
|
2784
2784
|
};
|
|
2785
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2785
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2786
2786
|
if (data.MilestoneSummaries !== undefined && data.MilestoneSummaries !== null) {
|
|
2787
2787
|
contents.MilestoneSummaries = deserializeAws_restJson1MilestoneSummaries(data.MilestoneSummaries, context);
|
|
2788
2788
|
}
|
|
2789
2789
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
2790
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
2790
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
2791
2791
|
}
|
|
2792
2792
|
if (data.WorkloadId !== undefined && data.WorkloadId !== null) {
|
|
2793
|
-
contents.WorkloadId = smithy_client_1.expectString(data.WorkloadId);
|
|
2793
|
+
contents.WorkloadId = (0, smithy_client_1.expectString)(data.WorkloadId);
|
|
2794
2794
|
}
|
|
2795
2795
|
return Promise.resolve(contents);
|
|
2796
2796
|
};
|
|
@@ -2826,7 +2826,7 @@ const deserializeAws_restJson1ListMilestonesCommandError = async (output, contex
|
|
|
2826
2826
|
$fault: "client",
|
|
2827
2827
|
$metadata: deserializeMetadata(output),
|
|
2828
2828
|
});
|
|
2829
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2829
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2830
2830
|
}
|
|
2831
2831
|
};
|
|
2832
2832
|
const deserializeAws_restJson1ListNotificationsCommand = async (output, context) => {
|
|
@@ -2838,9 +2838,9 @@ const deserializeAws_restJson1ListNotificationsCommand = async (output, context)
|
|
|
2838
2838
|
NextToken: undefined,
|
|
2839
2839
|
NotificationSummaries: undefined,
|
|
2840
2840
|
};
|
|
2841
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2841
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2842
2842
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
2843
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
2843
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
2844
2844
|
}
|
|
2845
2845
|
if (data.NotificationSummaries !== undefined && data.NotificationSummaries !== null) {
|
|
2846
2846
|
contents.NotificationSummaries = deserializeAws_restJson1NotificationSummaries(data.NotificationSummaries, context);
|
|
@@ -2876,7 +2876,7 @@ const deserializeAws_restJson1ListNotificationsCommandError = async (output, con
|
|
|
2876
2876
|
$fault: "client",
|
|
2877
2877
|
$metadata: deserializeMetadata(output),
|
|
2878
2878
|
});
|
|
2879
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2879
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2880
2880
|
}
|
|
2881
2881
|
};
|
|
2882
2882
|
const deserializeAws_restJson1ListShareInvitationsCommand = async (output, context) => {
|
|
@@ -2888,9 +2888,9 @@ const deserializeAws_restJson1ListShareInvitationsCommand = async (output, conte
|
|
|
2888
2888
|
NextToken: undefined,
|
|
2889
2889
|
ShareInvitationSummaries: undefined,
|
|
2890
2890
|
};
|
|
2891
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2891
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2892
2892
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
2893
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
2893
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
2894
2894
|
}
|
|
2895
2895
|
if (data.ShareInvitationSummaries !== undefined && data.ShareInvitationSummaries !== null) {
|
|
2896
2896
|
contents.ShareInvitationSummaries = deserializeAws_restJson1ShareInvitationSummaries(data.ShareInvitationSummaries, context);
|
|
@@ -2926,7 +2926,7 @@ const deserializeAws_restJson1ListShareInvitationsCommandError = async (output,
|
|
|
2926
2926
|
$fault: "client",
|
|
2927
2927
|
$metadata: deserializeMetadata(output),
|
|
2928
2928
|
});
|
|
2929
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2929
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2930
2930
|
}
|
|
2931
2931
|
};
|
|
2932
2932
|
const deserializeAws_restJson1ListTagsForResourceCommand = async (output, context) => {
|
|
@@ -2937,7 +2937,7 @@ const deserializeAws_restJson1ListTagsForResourceCommand = async (output, contex
|
|
|
2937
2937
|
$metadata: deserializeMetadata(output),
|
|
2938
2938
|
Tags: undefined,
|
|
2939
2939
|
};
|
|
2940
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2940
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2941
2941
|
if (data.Tags !== undefined && data.Tags !== null) {
|
|
2942
2942
|
contents.Tags = deserializeAws_restJson1TagMap(data.Tags, context);
|
|
2943
2943
|
}
|
|
@@ -2966,7 +2966,7 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
|
|
|
2966
2966
|
$fault: "client",
|
|
2967
2967
|
$metadata: deserializeMetadata(output),
|
|
2968
2968
|
});
|
|
2969
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2969
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2970
2970
|
}
|
|
2971
2971
|
};
|
|
2972
2972
|
const deserializeAws_restJson1ListWorkloadsCommand = async (output, context) => {
|
|
@@ -2978,9 +2978,9 @@ const deserializeAws_restJson1ListWorkloadsCommand = async (output, context) =>
|
|
|
2978
2978
|
NextToken: undefined,
|
|
2979
2979
|
WorkloadSummaries: undefined,
|
|
2980
2980
|
};
|
|
2981
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2981
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2982
2982
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
2983
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
2983
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
2984
2984
|
}
|
|
2985
2985
|
if (data.WorkloadSummaries !== undefined && data.WorkloadSummaries !== null) {
|
|
2986
2986
|
contents.WorkloadSummaries = deserializeAws_restJson1WorkloadSummaries(data.WorkloadSummaries, context);
|
|
@@ -3016,7 +3016,7 @@ const deserializeAws_restJson1ListWorkloadsCommandError = async (output, context
|
|
|
3016
3016
|
$fault: "client",
|
|
3017
3017
|
$metadata: deserializeMetadata(output),
|
|
3018
3018
|
});
|
|
3019
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3019
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3020
3020
|
}
|
|
3021
3021
|
};
|
|
3022
3022
|
const deserializeAws_restJson1ListWorkloadSharesCommand = async (output, context) => {
|
|
@@ -3029,12 +3029,12 @@ const deserializeAws_restJson1ListWorkloadSharesCommand = async (output, context
|
|
|
3029
3029
|
WorkloadId: undefined,
|
|
3030
3030
|
WorkloadShareSummaries: 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.NextToken !== undefined && data.NextToken !== null) {
|
|
3034
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
3034
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
3035
3035
|
}
|
|
3036
3036
|
if (data.WorkloadId !== undefined && data.WorkloadId !== null) {
|
|
3037
|
-
contents.WorkloadId = smithy_client_1.expectString(data.WorkloadId);
|
|
3037
|
+
contents.WorkloadId = (0, smithy_client_1.expectString)(data.WorkloadId);
|
|
3038
3038
|
}
|
|
3039
3039
|
if (data.WorkloadShareSummaries !== undefined && data.WorkloadShareSummaries !== null) {
|
|
3040
3040
|
contents.WorkloadShareSummaries = deserializeAws_restJson1WorkloadShareSummaries(data.WorkloadShareSummaries, context);
|
|
@@ -3073,7 +3073,7 @@ const deserializeAws_restJson1ListWorkloadSharesCommandError = async (output, co
|
|
|
3073
3073
|
$fault: "client",
|
|
3074
3074
|
$metadata: deserializeMetadata(output),
|
|
3075
3075
|
});
|
|
3076
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3076
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3077
3077
|
}
|
|
3078
3078
|
};
|
|
3079
3079
|
const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
|
|
@@ -3109,7 +3109,7 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
|
|
|
3109
3109
|
$fault: "client",
|
|
3110
3110
|
$metadata: deserializeMetadata(output),
|
|
3111
3111
|
});
|
|
3112
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3112
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3113
3113
|
}
|
|
3114
3114
|
};
|
|
3115
3115
|
const deserializeAws_restJson1UntagResourceCommand = async (output, context) => {
|
|
@@ -3145,7 +3145,7 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
|
|
|
3145
3145
|
$fault: "client",
|
|
3146
3146
|
$metadata: deserializeMetadata(output),
|
|
3147
3147
|
});
|
|
3148
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3148
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3149
3149
|
}
|
|
3150
3150
|
};
|
|
3151
3151
|
const deserializeAws_restJson1UpdateAnswerCommand = async (output, context) => {
|
|
@@ -3159,18 +3159,18 @@ const deserializeAws_restJson1UpdateAnswerCommand = async (output, context) => {
|
|
|
3159
3159
|
LensArn: undefined,
|
|
3160
3160
|
WorkloadId: undefined,
|
|
3161
3161
|
};
|
|
3162
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3162
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3163
3163
|
if (data.Answer !== undefined && data.Answer !== null) {
|
|
3164
3164
|
contents.Answer = deserializeAws_restJson1Answer(data.Answer, context);
|
|
3165
3165
|
}
|
|
3166
3166
|
if (data.LensAlias !== undefined && data.LensAlias !== null) {
|
|
3167
|
-
contents.LensAlias = smithy_client_1.expectString(data.LensAlias);
|
|
3167
|
+
contents.LensAlias = (0, smithy_client_1.expectString)(data.LensAlias);
|
|
3168
3168
|
}
|
|
3169
3169
|
if (data.LensArn !== undefined && data.LensArn !== null) {
|
|
3170
|
-
contents.LensArn = smithy_client_1.expectString(data.LensArn);
|
|
3170
|
+
contents.LensArn = (0, smithy_client_1.expectString)(data.LensArn);
|
|
3171
3171
|
}
|
|
3172
3172
|
if (data.WorkloadId !== undefined && data.WorkloadId !== null) {
|
|
3173
|
-
contents.WorkloadId = smithy_client_1.expectString(data.WorkloadId);
|
|
3173
|
+
contents.WorkloadId = (0, smithy_client_1.expectString)(data.WorkloadId);
|
|
3174
3174
|
}
|
|
3175
3175
|
return Promise.resolve(contents);
|
|
3176
3176
|
};
|
|
@@ -3209,7 +3209,7 @@ const deserializeAws_restJson1UpdateAnswerCommandError = async (output, context)
|
|
|
3209
3209
|
$fault: "client",
|
|
3210
3210
|
$metadata: deserializeMetadata(output),
|
|
3211
3211
|
});
|
|
3212
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3212
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3213
3213
|
}
|
|
3214
3214
|
};
|
|
3215
3215
|
const deserializeAws_restJson1UpdateLensReviewCommand = async (output, context) => {
|
|
@@ -3221,12 +3221,12 @@ const deserializeAws_restJson1UpdateLensReviewCommand = async (output, context)
|
|
|
3221
3221
|
LensReview: undefined,
|
|
3222
3222
|
WorkloadId: undefined,
|
|
3223
3223
|
};
|
|
3224
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3224
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3225
3225
|
if (data.LensReview !== undefined && data.LensReview !== null) {
|
|
3226
3226
|
contents.LensReview = deserializeAws_restJson1LensReview(data.LensReview, context);
|
|
3227
3227
|
}
|
|
3228
3228
|
if (data.WorkloadId !== undefined && data.WorkloadId !== null) {
|
|
3229
|
-
contents.WorkloadId = smithy_client_1.expectString(data.WorkloadId);
|
|
3229
|
+
contents.WorkloadId = (0, smithy_client_1.expectString)(data.WorkloadId);
|
|
3230
3230
|
}
|
|
3231
3231
|
return Promise.resolve(contents);
|
|
3232
3232
|
};
|
|
@@ -3265,7 +3265,7 @@ const deserializeAws_restJson1UpdateLensReviewCommandError = async (output, cont
|
|
|
3265
3265
|
$fault: "client",
|
|
3266
3266
|
$metadata: deserializeMetadata(output),
|
|
3267
3267
|
});
|
|
3268
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3268
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3269
3269
|
}
|
|
3270
3270
|
};
|
|
3271
3271
|
const deserializeAws_restJson1UpdateShareInvitationCommand = async (output, context) => {
|
|
@@ -3276,7 +3276,7 @@ const deserializeAws_restJson1UpdateShareInvitationCommand = async (output, cont
|
|
|
3276
3276
|
$metadata: deserializeMetadata(output),
|
|
3277
3277
|
ShareInvitation: undefined,
|
|
3278
3278
|
};
|
|
3279
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3279
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3280
3280
|
if (data.ShareInvitation !== undefined && data.ShareInvitation !== null) {
|
|
3281
3281
|
contents.ShareInvitation = deserializeAws_restJson1ShareInvitation(data.ShareInvitation, context);
|
|
3282
3282
|
}
|
|
@@ -3317,7 +3317,7 @@ const deserializeAws_restJson1UpdateShareInvitationCommandError = async (output,
|
|
|
3317
3317
|
$fault: "client",
|
|
3318
3318
|
$metadata: deserializeMetadata(output),
|
|
3319
3319
|
});
|
|
3320
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3320
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3321
3321
|
}
|
|
3322
3322
|
};
|
|
3323
3323
|
const deserializeAws_restJson1UpdateWorkloadCommand = async (output, context) => {
|
|
@@ -3328,7 +3328,7 @@ const deserializeAws_restJson1UpdateWorkloadCommand = async (output, context) =>
|
|
|
3328
3328
|
$metadata: deserializeMetadata(output),
|
|
3329
3329
|
Workload: undefined,
|
|
3330
3330
|
};
|
|
3331
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3331
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3332
3332
|
if (data.Workload !== undefined && data.Workload !== null) {
|
|
3333
3333
|
contents.Workload = deserializeAws_restJson1Workload(data.Workload, context);
|
|
3334
3334
|
}
|
|
@@ -3369,7 +3369,7 @@ const deserializeAws_restJson1UpdateWorkloadCommandError = async (output, contex
|
|
|
3369
3369
|
$fault: "client",
|
|
3370
3370
|
$metadata: deserializeMetadata(output),
|
|
3371
3371
|
});
|
|
3372
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3372
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3373
3373
|
}
|
|
3374
3374
|
};
|
|
3375
3375
|
const deserializeAws_restJson1UpdateWorkloadShareCommand = async (output, context) => {
|
|
@@ -3381,9 +3381,9 @@ const deserializeAws_restJson1UpdateWorkloadShareCommand = async (output, contex
|
|
|
3381
3381
|
WorkloadId: undefined,
|
|
3382
3382
|
WorkloadShare: undefined,
|
|
3383
3383
|
};
|
|
3384
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3384
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3385
3385
|
if (data.WorkloadId !== undefined && data.WorkloadId !== null) {
|
|
3386
|
-
contents.WorkloadId = smithy_client_1.expectString(data.WorkloadId);
|
|
3386
|
+
contents.WorkloadId = (0, smithy_client_1.expectString)(data.WorkloadId);
|
|
3387
3387
|
}
|
|
3388
3388
|
if (data.WorkloadShare !== undefined && data.WorkloadShare !== null) {
|
|
3389
3389
|
contents.WorkloadShare = deserializeAws_restJson1WorkloadShare(data.WorkloadShare, context);
|
|
@@ -3425,7 +3425,7 @@ const deserializeAws_restJson1UpdateWorkloadShareCommandError = async (output, c
|
|
|
3425
3425
|
$fault: "client",
|
|
3426
3426
|
$metadata: deserializeMetadata(output),
|
|
3427
3427
|
});
|
|
3428
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3428
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3429
3429
|
}
|
|
3430
3430
|
};
|
|
3431
3431
|
const deserializeAws_restJson1UpgradeLensReviewCommand = async (output, context) => {
|
|
@@ -3473,110 +3473,110 @@ const deserializeAws_restJson1UpgradeLensReviewCommandError = async (output, con
|
|
|
3473
3473
|
$fault: "client",
|
|
3474
3474
|
$metadata: deserializeMetadata(output),
|
|
3475
3475
|
});
|
|
3476
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3476
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3477
3477
|
}
|
|
3478
3478
|
};
|
|
3479
3479
|
const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
|
|
3480
3480
|
const contents = {};
|
|
3481
3481
|
const data = parsedOutput.body;
|
|
3482
3482
|
if (data.Message !== undefined && data.Message !== null) {
|
|
3483
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
3483
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
3484
3484
|
}
|
|
3485
3485
|
const exception = new models_0_1.AccessDeniedException({
|
|
3486
3486
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3487
3487
|
...contents,
|
|
3488
3488
|
});
|
|
3489
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
3489
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3490
3490
|
};
|
|
3491
3491
|
const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, context) => {
|
|
3492
3492
|
const contents = {};
|
|
3493
3493
|
const data = parsedOutput.body;
|
|
3494
3494
|
if (data.Message !== undefined && data.Message !== null) {
|
|
3495
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
3495
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
3496
3496
|
}
|
|
3497
3497
|
if (data.ResourceId !== undefined && data.ResourceId !== null) {
|
|
3498
|
-
contents.ResourceId = smithy_client_1.expectString(data.ResourceId);
|
|
3498
|
+
contents.ResourceId = (0, smithy_client_1.expectString)(data.ResourceId);
|
|
3499
3499
|
}
|
|
3500
3500
|
if (data.ResourceType !== undefined && data.ResourceType !== null) {
|
|
3501
|
-
contents.ResourceType = smithy_client_1.expectString(data.ResourceType);
|
|
3501
|
+
contents.ResourceType = (0, smithy_client_1.expectString)(data.ResourceType);
|
|
3502
3502
|
}
|
|
3503
3503
|
const exception = new models_0_1.ConflictException({
|
|
3504
3504
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3505
3505
|
...contents,
|
|
3506
3506
|
});
|
|
3507
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
3507
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3508
3508
|
};
|
|
3509
3509
|
const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOutput, context) => {
|
|
3510
3510
|
const contents = {};
|
|
3511
3511
|
const data = parsedOutput.body;
|
|
3512
3512
|
if (data.Message !== undefined && data.Message !== null) {
|
|
3513
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
3513
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
3514
3514
|
}
|
|
3515
3515
|
const exception = new models_0_1.InternalServerException({
|
|
3516
3516
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3517
3517
|
...contents,
|
|
3518
3518
|
});
|
|
3519
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
3519
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3520
3520
|
};
|
|
3521
3521
|
const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
|
|
3522
3522
|
const contents = {};
|
|
3523
3523
|
const data = parsedOutput.body;
|
|
3524
3524
|
if (data.Message !== undefined && data.Message !== null) {
|
|
3525
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
3525
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
3526
3526
|
}
|
|
3527
3527
|
if (data.ResourceId !== undefined && data.ResourceId !== null) {
|
|
3528
|
-
contents.ResourceId = smithy_client_1.expectString(data.ResourceId);
|
|
3528
|
+
contents.ResourceId = (0, smithy_client_1.expectString)(data.ResourceId);
|
|
3529
3529
|
}
|
|
3530
3530
|
if (data.ResourceType !== undefined && data.ResourceType !== null) {
|
|
3531
|
-
contents.ResourceType = smithy_client_1.expectString(data.ResourceType);
|
|
3531
|
+
contents.ResourceType = (0, smithy_client_1.expectString)(data.ResourceType);
|
|
3532
3532
|
}
|
|
3533
3533
|
const exception = new models_0_1.ResourceNotFoundException({
|
|
3534
3534
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3535
3535
|
...contents,
|
|
3536
3536
|
});
|
|
3537
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
3537
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3538
3538
|
};
|
|
3539
3539
|
const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (parsedOutput, context) => {
|
|
3540
3540
|
const contents = {};
|
|
3541
3541
|
const data = parsedOutput.body;
|
|
3542
3542
|
if (data.Message !== undefined && data.Message !== null) {
|
|
3543
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
3543
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
3544
3544
|
}
|
|
3545
3545
|
if (data.QuotaCode !== undefined && data.QuotaCode !== null) {
|
|
3546
|
-
contents.QuotaCode = smithy_client_1.expectString(data.QuotaCode);
|
|
3546
|
+
contents.QuotaCode = (0, smithy_client_1.expectString)(data.QuotaCode);
|
|
3547
3547
|
}
|
|
3548
3548
|
if (data.ResourceId !== undefined && data.ResourceId !== null) {
|
|
3549
|
-
contents.ResourceId = smithy_client_1.expectString(data.ResourceId);
|
|
3549
|
+
contents.ResourceId = (0, smithy_client_1.expectString)(data.ResourceId);
|
|
3550
3550
|
}
|
|
3551
3551
|
if (data.ResourceType !== undefined && data.ResourceType !== null) {
|
|
3552
|
-
contents.ResourceType = smithy_client_1.expectString(data.ResourceType);
|
|
3552
|
+
contents.ResourceType = (0, smithy_client_1.expectString)(data.ResourceType);
|
|
3553
3553
|
}
|
|
3554
3554
|
if (data.ServiceCode !== undefined && data.ServiceCode !== null) {
|
|
3555
|
-
contents.ServiceCode = smithy_client_1.expectString(data.ServiceCode);
|
|
3555
|
+
contents.ServiceCode = (0, smithy_client_1.expectString)(data.ServiceCode);
|
|
3556
3556
|
}
|
|
3557
3557
|
const exception = new models_0_1.ServiceQuotaExceededException({
|
|
3558
3558
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3559
3559
|
...contents,
|
|
3560
3560
|
});
|
|
3561
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
3561
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3562
3562
|
};
|
|
3563
3563
|
const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput, context) => {
|
|
3564
3564
|
const contents = {};
|
|
3565
3565
|
const data = parsedOutput.body;
|
|
3566
3566
|
if (data.Message !== undefined && data.Message !== null) {
|
|
3567
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
3567
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
3568
3568
|
}
|
|
3569
3569
|
if (data.QuotaCode !== undefined && data.QuotaCode !== null) {
|
|
3570
|
-
contents.QuotaCode = smithy_client_1.expectString(data.QuotaCode);
|
|
3570
|
+
contents.QuotaCode = (0, smithy_client_1.expectString)(data.QuotaCode);
|
|
3571
3571
|
}
|
|
3572
3572
|
if (data.ServiceCode !== undefined && data.ServiceCode !== null) {
|
|
3573
|
-
contents.ServiceCode = smithy_client_1.expectString(data.ServiceCode);
|
|
3573
|
+
contents.ServiceCode = (0, smithy_client_1.expectString)(data.ServiceCode);
|
|
3574
3574
|
}
|
|
3575
3575
|
const exception = new models_0_1.ThrottlingException({
|
|
3576
3576
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3577
3577
|
...contents,
|
|
3578
3578
|
});
|
|
3579
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
3579
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3580
3580
|
};
|
|
3581
3581
|
const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput, context) => {
|
|
3582
3582
|
const contents = {};
|
|
@@ -3585,16 +3585,16 @@ const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput,
|
|
|
3585
3585
|
contents.Fields = deserializeAws_restJson1ValidationExceptionFieldList(data.Fields, context);
|
|
3586
3586
|
}
|
|
3587
3587
|
if (data.Message !== undefined && data.Message !== null) {
|
|
3588
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
3588
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
3589
3589
|
}
|
|
3590
3590
|
if (data.Reason !== undefined && data.Reason !== null) {
|
|
3591
|
-
contents.Reason = smithy_client_1.expectString(data.Reason);
|
|
3591
|
+
contents.Reason = (0, smithy_client_1.expectString)(data.Reason);
|
|
3592
3592
|
}
|
|
3593
3593
|
const exception = new models_0_1.ValidationException({
|
|
3594
3594
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3595
3595
|
...contents,
|
|
3596
3596
|
});
|
|
3597
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
3597
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3598
3598
|
};
|
|
3599
3599
|
const serializeAws_restJson1ChoiceUpdate = (input, context) => {
|
|
3600
3600
|
return {
|
|
@@ -3714,17 +3714,17 @@ const deserializeAws_restJson1Answer = (output, context) => {
|
|
|
3714
3714
|
Choices: output.Choices !== undefined && output.Choices !== null
|
|
3715
3715
|
? deserializeAws_restJson1Choices(output.Choices, context)
|
|
3716
3716
|
: undefined,
|
|
3717
|
-
HelpfulResourceDisplayText: smithy_client_1.expectString(output.HelpfulResourceDisplayText),
|
|
3718
|
-
HelpfulResourceUrl: smithy_client_1.expectString(output.HelpfulResourceUrl),
|
|
3719
|
-
ImprovementPlanUrl: smithy_client_1.expectString(output.ImprovementPlanUrl),
|
|
3720
|
-
IsApplicable: smithy_client_1.expectBoolean(output.IsApplicable),
|
|
3721
|
-
Notes: smithy_client_1.expectString(output.Notes),
|
|
3722
|
-
PillarId: smithy_client_1.expectString(output.PillarId),
|
|
3723
|
-
QuestionDescription: smithy_client_1.expectString(output.QuestionDescription),
|
|
3724
|
-
QuestionId: smithy_client_1.expectString(output.QuestionId),
|
|
3725
|
-
QuestionTitle: smithy_client_1.expectString(output.QuestionTitle),
|
|
3726
|
-
Reason: smithy_client_1.expectString(output.Reason),
|
|
3727
|
-
Risk: smithy_client_1.expectString(output.Risk),
|
|
3717
|
+
HelpfulResourceDisplayText: (0, smithy_client_1.expectString)(output.HelpfulResourceDisplayText),
|
|
3718
|
+
HelpfulResourceUrl: (0, smithy_client_1.expectString)(output.HelpfulResourceUrl),
|
|
3719
|
+
ImprovementPlanUrl: (0, smithy_client_1.expectString)(output.ImprovementPlanUrl),
|
|
3720
|
+
IsApplicable: (0, smithy_client_1.expectBoolean)(output.IsApplicable),
|
|
3721
|
+
Notes: (0, smithy_client_1.expectString)(output.Notes),
|
|
3722
|
+
PillarId: (0, smithy_client_1.expectString)(output.PillarId),
|
|
3723
|
+
QuestionDescription: (0, smithy_client_1.expectString)(output.QuestionDescription),
|
|
3724
|
+
QuestionId: (0, smithy_client_1.expectString)(output.QuestionId),
|
|
3725
|
+
QuestionTitle: (0, smithy_client_1.expectString)(output.QuestionTitle),
|
|
3726
|
+
Reason: (0, smithy_client_1.expectString)(output.Reason),
|
|
3727
|
+
Risk: (0, smithy_client_1.expectString)(output.Risk),
|
|
3728
3728
|
SelectedChoices: output.SelectedChoices !== undefined && output.SelectedChoices !== null
|
|
3729
3729
|
? deserializeAws_restJson1SelectedChoices(output.SelectedChoices, context)
|
|
3730
3730
|
: undefined,
|
|
@@ -3749,12 +3749,12 @@ const deserializeAws_restJson1AnswerSummary = (output, context) => {
|
|
|
3749
3749
|
Choices: output.Choices !== undefined && output.Choices !== null
|
|
3750
3750
|
? deserializeAws_restJson1Choices(output.Choices, context)
|
|
3751
3751
|
: undefined,
|
|
3752
|
-
IsApplicable: smithy_client_1.expectBoolean(output.IsApplicable),
|
|
3753
|
-
PillarId: smithy_client_1.expectString(output.PillarId),
|
|
3754
|
-
QuestionId: smithy_client_1.expectString(output.QuestionId),
|
|
3755
|
-
QuestionTitle: smithy_client_1.expectString(output.QuestionTitle),
|
|
3756
|
-
Reason: smithy_client_1.expectString(output.Reason),
|
|
3757
|
-
Risk: smithy_client_1.expectString(output.Risk),
|
|
3752
|
+
IsApplicable: (0, smithy_client_1.expectBoolean)(output.IsApplicable),
|
|
3753
|
+
PillarId: (0, smithy_client_1.expectString)(output.PillarId),
|
|
3754
|
+
QuestionId: (0, smithy_client_1.expectString)(output.QuestionId),
|
|
3755
|
+
QuestionTitle: (0, smithy_client_1.expectString)(output.QuestionTitle),
|
|
3756
|
+
Reason: (0, smithy_client_1.expectString)(output.Reason),
|
|
3757
|
+
Risk: (0, smithy_client_1.expectString)(output.Risk),
|
|
3758
3758
|
SelectedChoices: output.SelectedChoices !== undefined && output.SelectedChoices !== null
|
|
3759
3759
|
? deserializeAws_restJson1SelectedChoices(output.SelectedChoices, context)
|
|
3760
3760
|
: undefined,
|
|
@@ -3762,23 +3762,23 @@ const deserializeAws_restJson1AnswerSummary = (output, context) => {
|
|
|
3762
3762
|
};
|
|
3763
3763
|
const deserializeAws_restJson1Choice = (output, context) => {
|
|
3764
3764
|
return {
|
|
3765
|
-
ChoiceId: smithy_client_1.expectString(output.ChoiceId),
|
|
3766
|
-
Description: smithy_client_1.expectString(output.Description),
|
|
3765
|
+
ChoiceId: (0, smithy_client_1.expectString)(output.ChoiceId),
|
|
3766
|
+
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
3767
3767
|
HelpfulResource: output.HelpfulResource !== undefined && output.HelpfulResource !== null
|
|
3768
3768
|
? deserializeAws_restJson1ChoiceContent(output.HelpfulResource, context)
|
|
3769
3769
|
: undefined,
|
|
3770
3770
|
ImprovementPlan: output.ImprovementPlan !== undefined && output.ImprovementPlan !== null
|
|
3771
3771
|
? deserializeAws_restJson1ChoiceContent(output.ImprovementPlan, context)
|
|
3772
3772
|
: undefined,
|
|
3773
|
-
Title: smithy_client_1.expectString(output.Title),
|
|
3773
|
+
Title: (0, smithy_client_1.expectString)(output.Title),
|
|
3774
3774
|
};
|
|
3775
3775
|
};
|
|
3776
3776
|
const deserializeAws_restJson1ChoiceAnswer = (output, context) => {
|
|
3777
3777
|
return {
|
|
3778
|
-
ChoiceId: smithy_client_1.expectString(output.ChoiceId),
|
|
3779
|
-
Notes: smithy_client_1.expectString(output.Notes),
|
|
3780
|
-
Reason: smithy_client_1.expectString(output.Reason),
|
|
3781
|
-
Status: smithy_client_1.expectString(output.Status),
|
|
3778
|
+
ChoiceId: (0, smithy_client_1.expectString)(output.ChoiceId),
|
|
3779
|
+
Notes: (0, smithy_client_1.expectString)(output.Notes),
|
|
3780
|
+
Reason: (0, smithy_client_1.expectString)(output.Reason),
|
|
3781
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
3782
3782
|
};
|
|
3783
3783
|
};
|
|
3784
3784
|
const deserializeAws_restJson1ChoiceAnswers = (output, context) => {
|
|
@@ -3805,22 +3805,22 @@ const deserializeAws_restJson1ChoiceAnswerSummaries = (output, context) => {
|
|
|
3805
3805
|
};
|
|
3806
3806
|
const deserializeAws_restJson1ChoiceAnswerSummary = (output, context) => {
|
|
3807
3807
|
return {
|
|
3808
|
-
ChoiceId: smithy_client_1.expectString(output.ChoiceId),
|
|
3809
|
-
Reason: smithy_client_1.expectString(output.Reason),
|
|
3810
|
-
Status: smithy_client_1.expectString(output.Status),
|
|
3808
|
+
ChoiceId: (0, smithy_client_1.expectString)(output.ChoiceId),
|
|
3809
|
+
Reason: (0, smithy_client_1.expectString)(output.Reason),
|
|
3810
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
3811
3811
|
};
|
|
3812
3812
|
};
|
|
3813
3813
|
const deserializeAws_restJson1ChoiceContent = (output, context) => {
|
|
3814
3814
|
return {
|
|
3815
|
-
DisplayText: smithy_client_1.expectString(output.DisplayText),
|
|
3816
|
-
Url: smithy_client_1.expectString(output.Url),
|
|
3815
|
+
DisplayText: (0, smithy_client_1.expectString)(output.DisplayText),
|
|
3816
|
+
Url: (0, smithy_client_1.expectString)(output.Url),
|
|
3817
3817
|
};
|
|
3818
3818
|
};
|
|
3819
3819
|
const deserializeAws_restJson1ChoiceImprovementPlan = (output, context) => {
|
|
3820
3820
|
return {
|
|
3821
|
-
ChoiceId: smithy_client_1.expectString(output.ChoiceId),
|
|
3822
|
-
DisplayText: smithy_client_1.expectString(output.DisplayText),
|
|
3823
|
-
ImprovementPlanUrl: smithy_client_1.expectString(output.ImprovementPlanUrl),
|
|
3821
|
+
ChoiceId: (0, smithy_client_1.expectString)(output.ChoiceId),
|
|
3822
|
+
DisplayText: (0, smithy_client_1.expectString)(output.DisplayText),
|
|
3823
|
+
ImprovementPlanUrl: (0, smithy_client_1.expectString)(output.ImprovementPlanUrl),
|
|
3824
3824
|
};
|
|
3825
3825
|
};
|
|
3826
3826
|
const deserializeAws_restJson1ChoiceImprovementPlans = (output, context) => {
|
|
@@ -3858,35 +3858,35 @@ const deserializeAws_restJson1ImprovementSummaries = (output, context) => {
|
|
|
3858
3858
|
};
|
|
3859
3859
|
const deserializeAws_restJson1ImprovementSummary = (output, context) => {
|
|
3860
3860
|
return {
|
|
3861
|
-
ImprovementPlanUrl: smithy_client_1.expectString(output.ImprovementPlanUrl),
|
|
3861
|
+
ImprovementPlanUrl: (0, smithy_client_1.expectString)(output.ImprovementPlanUrl),
|
|
3862
3862
|
ImprovementPlans: output.ImprovementPlans !== undefined && output.ImprovementPlans !== null
|
|
3863
3863
|
? deserializeAws_restJson1ChoiceImprovementPlans(output.ImprovementPlans, context)
|
|
3864
3864
|
: undefined,
|
|
3865
|
-
PillarId: smithy_client_1.expectString(output.PillarId),
|
|
3866
|
-
QuestionId: smithy_client_1.expectString(output.QuestionId),
|
|
3867
|
-
QuestionTitle: smithy_client_1.expectString(output.QuestionTitle),
|
|
3868
|
-
Risk: smithy_client_1.expectString(output.Risk),
|
|
3865
|
+
PillarId: (0, smithy_client_1.expectString)(output.PillarId),
|
|
3866
|
+
QuestionId: (0, smithy_client_1.expectString)(output.QuestionId),
|
|
3867
|
+
QuestionTitle: (0, smithy_client_1.expectString)(output.QuestionTitle),
|
|
3868
|
+
Risk: (0, smithy_client_1.expectString)(output.Risk),
|
|
3869
3869
|
};
|
|
3870
3870
|
};
|
|
3871
3871
|
const deserializeAws_restJson1Lens = (output, context) => {
|
|
3872
3872
|
return {
|
|
3873
|
-
Description: smithy_client_1.expectString(output.Description),
|
|
3874
|
-
LensArn: smithy_client_1.expectString(output.LensArn),
|
|
3875
|
-
LensVersion: smithy_client_1.expectString(output.LensVersion),
|
|
3876
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
3877
|
-
Owner: smithy_client_1.expectString(output.Owner),
|
|
3878
|
-
ShareInvitationId: smithy_client_1.expectString(output.ShareInvitationId),
|
|
3873
|
+
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
3874
|
+
LensArn: (0, smithy_client_1.expectString)(output.LensArn),
|
|
3875
|
+
LensVersion: (0, smithy_client_1.expectString)(output.LensVersion),
|
|
3876
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
3877
|
+
Owner: (0, smithy_client_1.expectString)(output.Owner),
|
|
3878
|
+
ShareInvitationId: (0, smithy_client_1.expectString)(output.ShareInvitationId),
|
|
3879
3879
|
};
|
|
3880
3880
|
};
|
|
3881
3881
|
const deserializeAws_restJson1LensReview = (output, context) => {
|
|
3882
3882
|
return {
|
|
3883
|
-
LensAlias: smithy_client_1.expectString(output.LensAlias),
|
|
3884
|
-
LensArn: smithy_client_1.expectString(output.LensArn),
|
|
3885
|
-
LensName: smithy_client_1.expectString(output.LensName),
|
|
3886
|
-
LensStatus: smithy_client_1.expectString(output.LensStatus),
|
|
3887
|
-
LensVersion: smithy_client_1.expectString(output.LensVersion),
|
|
3888
|
-
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
3889
|
-
Notes: smithy_client_1.expectString(output.Notes),
|
|
3883
|
+
LensAlias: (0, smithy_client_1.expectString)(output.LensAlias),
|
|
3884
|
+
LensArn: (0, smithy_client_1.expectString)(output.LensArn),
|
|
3885
|
+
LensName: (0, smithy_client_1.expectString)(output.LensName),
|
|
3886
|
+
LensStatus: (0, smithy_client_1.expectString)(output.LensStatus),
|
|
3887
|
+
LensVersion: (0, smithy_client_1.expectString)(output.LensVersion),
|
|
3888
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
3889
|
+
Notes: (0, smithy_client_1.expectString)(output.Notes),
|
|
3890
3890
|
PillarReviewSummaries: output.PillarReviewSummaries !== undefined && output.PillarReviewSummaries !== null
|
|
3891
3891
|
? deserializeAws_restJson1PillarReviewSummaries(output.PillarReviewSummaries, context)
|
|
3892
3892
|
: undefined,
|
|
@@ -3894,15 +3894,15 @@ const deserializeAws_restJson1LensReview = (output, context) => {
|
|
|
3894
3894
|
? deserializeAws_restJson1RiskCounts(output.RiskCounts, context)
|
|
3895
3895
|
: undefined,
|
|
3896
3896
|
UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
|
|
3897
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UpdatedAt)))
|
|
3897
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.UpdatedAt)))
|
|
3898
3898
|
: undefined,
|
|
3899
3899
|
};
|
|
3900
3900
|
};
|
|
3901
3901
|
const deserializeAws_restJson1LensReviewReport = (output, context) => {
|
|
3902
3902
|
return {
|
|
3903
|
-
Base64String: smithy_client_1.expectString(output.Base64String),
|
|
3904
|
-
LensAlias: smithy_client_1.expectString(output.LensAlias),
|
|
3905
|
-
LensArn: smithy_client_1.expectString(output.LensArn),
|
|
3903
|
+
Base64String: (0, smithy_client_1.expectString)(output.Base64String),
|
|
3904
|
+
LensAlias: (0, smithy_client_1.expectString)(output.LensAlias),
|
|
3905
|
+
LensArn: (0, smithy_client_1.expectString)(output.LensArn),
|
|
3906
3906
|
};
|
|
3907
3907
|
};
|
|
3908
3908
|
const deserializeAws_restJson1LensReviewSummaries = (output, context) => {
|
|
@@ -3918,16 +3918,16 @@ const deserializeAws_restJson1LensReviewSummaries = (output, context) => {
|
|
|
3918
3918
|
};
|
|
3919
3919
|
const deserializeAws_restJson1LensReviewSummary = (output, context) => {
|
|
3920
3920
|
return {
|
|
3921
|
-
LensAlias: smithy_client_1.expectString(output.LensAlias),
|
|
3922
|
-
LensArn: smithy_client_1.expectString(output.LensArn),
|
|
3923
|
-
LensName: smithy_client_1.expectString(output.LensName),
|
|
3924
|
-
LensStatus: smithy_client_1.expectString(output.LensStatus),
|
|
3925
|
-
LensVersion: smithy_client_1.expectString(output.LensVersion),
|
|
3921
|
+
LensAlias: (0, smithy_client_1.expectString)(output.LensAlias),
|
|
3922
|
+
LensArn: (0, smithy_client_1.expectString)(output.LensArn),
|
|
3923
|
+
LensName: (0, smithy_client_1.expectString)(output.LensName),
|
|
3924
|
+
LensStatus: (0, smithy_client_1.expectString)(output.LensStatus),
|
|
3925
|
+
LensVersion: (0, smithy_client_1.expectString)(output.LensVersion),
|
|
3926
3926
|
RiskCounts: output.RiskCounts !== undefined && output.RiskCounts !== null
|
|
3927
3927
|
? deserializeAws_restJson1RiskCounts(output.RiskCounts, context)
|
|
3928
3928
|
: undefined,
|
|
3929
3929
|
UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
|
|
3930
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UpdatedAt)))
|
|
3930
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.UpdatedAt)))
|
|
3931
3931
|
: undefined,
|
|
3932
3932
|
};
|
|
3933
3933
|
};
|
|
@@ -3944,9 +3944,9 @@ const deserializeAws_restJson1LensShareSummaries = (output, context) => {
|
|
|
3944
3944
|
};
|
|
3945
3945
|
const deserializeAws_restJson1LensShareSummary = (output, context) => {
|
|
3946
3946
|
return {
|
|
3947
|
-
ShareId: smithy_client_1.expectString(output.ShareId),
|
|
3948
|
-
SharedWith: smithy_client_1.expectString(output.SharedWith),
|
|
3949
|
-
Status: smithy_client_1.expectString(output.Status),
|
|
3947
|
+
ShareId: (0, smithy_client_1.expectString)(output.ShareId),
|
|
3948
|
+
SharedWith: (0, smithy_client_1.expectString)(output.SharedWith),
|
|
3949
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
3950
3950
|
};
|
|
3951
3951
|
};
|
|
3952
3952
|
const deserializeAws_restJson1LensSummaries = (output, context) => {
|
|
@@ -3963,37 +3963,37 @@ const deserializeAws_restJson1LensSummaries = (output, context) => {
|
|
|
3963
3963
|
const deserializeAws_restJson1LensSummary = (output, context) => {
|
|
3964
3964
|
return {
|
|
3965
3965
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
3966
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
|
|
3966
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedAt)))
|
|
3967
3967
|
: undefined,
|
|
3968
|
-
Description: smithy_client_1.expectString(output.Description),
|
|
3969
|
-
LensAlias: smithy_client_1.expectString(output.LensAlias),
|
|
3970
|
-
LensArn: smithy_client_1.expectString(output.LensArn),
|
|
3971
|
-
LensName: smithy_client_1.expectString(output.LensName),
|
|
3972
|
-
LensStatus: smithy_client_1.expectString(output.LensStatus),
|
|
3973
|
-
LensType: smithy_client_1.expectString(output.LensType),
|
|
3974
|
-
LensVersion: smithy_client_1.expectString(output.LensVersion),
|
|
3975
|
-
Owner: smithy_client_1.expectString(output.Owner),
|
|
3968
|
+
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
3969
|
+
LensAlias: (0, smithy_client_1.expectString)(output.LensAlias),
|
|
3970
|
+
LensArn: (0, smithy_client_1.expectString)(output.LensArn),
|
|
3971
|
+
LensName: (0, smithy_client_1.expectString)(output.LensName),
|
|
3972
|
+
LensStatus: (0, smithy_client_1.expectString)(output.LensStatus),
|
|
3973
|
+
LensType: (0, smithy_client_1.expectString)(output.LensType),
|
|
3974
|
+
LensVersion: (0, smithy_client_1.expectString)(output.LensVersion),
|
|
3975
|
+
Owner: (0, smithy_client_1.expectString)(output.Owner),
|
|
3976
3976
|
UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
|
|
3977
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UpdatedAt)))
|
|
3977
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.UpdatedAt)))
|
|
3978
3978
|
: undefined,
|
|
3979
3979
|
};
|
|
3980
3980
|
};
|
|
3981
3981
|
const deserializeAws_restJson1LensUpgradeSummary = (output, context) => {
|
|
3982
3982
|
return {
|
|
3983
|
-
CurrentLensVersion: smithy_client_1.expectString(output.CurrentLensVersion),
|
|
3984
|
-
LatestLensVersion: smithy_client_1.expectString(output.LatestLensVersion),
|
|
3985
|
-
LensAlias: smithy_client_1.expectString(output.LensAlias),
|
|
3986
|
-
LensArn: smithy_client_1.expectString(output.LensArn),
|
|
3987
|
-
WorkloadId: smithy_client_1.expectString(output.WorkloadId),
|
|
3988
|
-
WorkloadName: smithy_client_1.expectString(output.WorkloadName),
|
|
3983
|
+
CurrentLensVersion: (0, smithy_client_1.expectString)(output.CurrentLensVersion),
|
|
3984
|
+
LatestLensVersion: (0, smithy_client_1.expectString)(output.LatestLensVersion),
|
|
3985
|
+
LensAlias: (0, smithy_client_1.expectString)(output.LensAlias),
|
|
3986
|
+
LensArn: (0, smithy_client_1.expectString)(output.LensArn),
|
|
3987
|
+
WorkloadId: (0, smithy_client_1.expectString)(output.WorkloadId),
|
|
3988
|
+
WorkloadName: (0, smithy_client_1.expectString)(output.WorkloadName),
|
|
3989
3989
|
};
|
|
3990
3990
|
};
|
|
3991
3991
|
const deserializeAws_restJson1Milestone = (output, context) => {
|
|
3992
3992
|
return {
|
|
3993
|
-
MilestoneName: smithy_client_1.expectString(output.MilestoneName),
|
|
3994
|
-
MilestoneNumber: smithy_client_1.expectInt32(output.MilestoneNumber),
|
|
3993
|
+
MilestoneName: (0, smithy_client_1.expectString)(output.MilestoneName),
|
|
3994
|
+
MilestoneNumber: (0, smithy_client_1.expectInt32)(output.MilestoneNumber),
|
|
3995
3995
|
RecordedAt: output.RecordedAt !== undefined && output.RecordedAt !== null
|
|
3996
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.RecordedAt)))
|
|
3996
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.RecordedAt)))
|
|
3997
3997
|
: undefined,
|
|
3998
3998
|
Workload: output.Workload !== undefined && output.Workload !== null
|
|
3999
3999
|
? deserializeAws_restJson1Workload(output.Workload, context)
|
|
@@ -4013,10 +4013,10 @@ const deserializeAws_restJson1MilestoneSummaries = (output, context) => {
|
|
|
4013
4013
|
};
|
|
4014
4014
|
const deserializeAws_restJson1MilestoneSummary = (output, context) => {
|
|
4015
4015
|
return {
|
|
4016
|
-
MilestoneName: smithy_client_1.expectString(output.MilestoneName),
|
|
4017
|
-
MilestoneNumber: smithy_client_1.expectInt32(output.MilestoneNumber),
|
|
4016
|
+
MilestoneName: (0, smithy_client_1.expectString)(output.MilestoneName),
|
|
4017
|
+
MilestoneNumber: (0, smithy_client_1.expectInt32)(output.MilestoneNumber),
|
|
4018
4018
|
RecordedAt: output.RecordedAt !== undefined && output.RecordedAt !== null
|
|
4019
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.RecordedAt)))
|
|
4019
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.RecordedAt)))
|
|
4020
4020
|
: undefined,
|
|
4021
4021
|
WorkloadSummary: output.WorkloadSummary !== undefined && output.WorkloadSummary !== null
|
|
4022
4022
|
? deserializeAws_restJson1WorkloadSummary(output.WorkloadSummary, context)
|
|
@@ -4039,14 +4039,14 @@ const deserializeAws_restJson1NotificationSummary = (output, context) => {
|
|
|
4039
4039
|
LensUpgradeSummary: output.LensUpgradeSummary !== undefined && output.LensUpgradeSummary !== null
|
|
4040
4040
|
? deserializeAws_restJson1LensUpgradeSummary(output.LensUpgradeSummary, context)
|
|
4041
4041
|
: undefined,
|
|
4042
|
-
Type: smithy_client_1.expectString(output.Type),
|
|
4042
|
+
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
4043
4043
|
};
|
|
4044
4044
|
};
|
|
4045
4045
|
const deserializeAws_restJson1PillarDifference = (output, context) => {
|
|
4046
4046
|
return {
|
|
4047
|
-
DifferenceStatus: smithy_client_1.expectString(output.DifferenceStatus),
|
|
4048
|
-
PillarId: smithy_client_1.expectString(output.PillarId),
|
|
4049
|
-
PillarName: smithy_client_1.expectString(output.PillarName),
|
|
4047
|
+
DifferenceStatus: (0, smithy_client_1.expectString)(output.DifferenceStatus),
|
|
4048
|
+
PillarId: (0, smithy_client_1.expectString)(output.PillarId),
|
|
4049
|
+
PillarName: (0, smithy_client_1.expectString)(output.PillarName),
|
|
4050
4050
|
QuestionDifferences: output.QuestionDifferences !== undefined && output.QuestionDifferences !== null
|
|
4051
4051
|
? deserializeAws_restJson1QuestionDifferences(output.QuestionDifferences, context)
|
|
4052
4052
|
: undefined,
|
|
@@ -4076,9 +4076,9 @@ const deserializeAws_restJson1PillarReviewSummaries = (output, context) => {
|
|
|
4076
4076
|
};
|
|
4077
4077
|
const deserializeAws_restJson1PillarReviewSummary = (output, context) => {
|
|
4078
4078
|
return {
|
|
4079
|
-
Notes: smithy_client_1.expectString(output.Notes),
|
|
4080
|
-
PillarId: smithy_client_1.expectString(output.PillarId),
|
|
4081
|
-
PillarName: smithy_client_1.expectString(output.PillarName),
|
|
4079
|
+
Notes: (0, smithy_client_1.expectString)(output.Notes),
|
|
4080
|
+
PillarId: (0, smithy_client_1.expectString)(output.PillarId),
|
|
4081
|
+
PillarName: (0, smithy_client_1.expectString)(output.PillarName),
|
|
4082
4082
|
RiskCounts: output.RiskCounts !== undefined && output.RiskCounts !== null
|
|
4083
4083
|
? deserializeAws_restJson1RiskCounts(output.RiskCounts, context)
|
|
4084
4084
|
: undefined,
|
|
@@ -4086,9 +4086,9 @@ const deserializeAws_restJson1PillarReviewSummary = (output, context) => {
|
|
|
4086
4086
|
};
|
|
4087
4087
|
const deserializeAws_restJson1QuestionDifference = (output, context) => {
|
|
4088
4088
|
return {
|
|
4089
|
-
DifferenceStatus: smithy_client_1.expectString(output.DifferenceStatus),
|
|
4090
|
-
QuestionId: smithy_client_1.expectString(output.QuestionId),
|
|
4091
|
-
QuestionTitle: smithy_client_1.expectString(output.QuestionTitle),
|
|
4089
|
+
DifferenceStatus: (0, smithy_client_1.expectString)(output.DifferenceStatus),
|
|
4090
|
+
QuestionId: (0, smithy_client_1.expectString)(output.QuestionId),
|
|
4091
|
+
QuestionTitle: (0, smithy_client_1.expectString)(output.QuestionTitle),
|
|
4092
4092
|
};
|
|
4093
4093
|
};
|
|
4094
4094
|
const deserializeAws_restJson1QuestionDifferences = (output, context) => {
|
|
@@ -4109,7 +4109,7 @@ const deserializeAws_restJson1RiskCounts = (output, context) => {
|
|
|
4109
4109
|
}
|
|
4110
4110
|
return {
|
|
4111
4111
|
...acc,
|
|
4112
|
-
[key]: smithy_client_1.expectInt32(value),
|
|
4112
|
+
[key]: (0, smithy_client_1.expectInt32)(value),
|
|
4113
4113
|
};
|
|
4114
4114
|
}, {});
|
|
4115
4115
|
};
|
|
@@ -4120,17 +4120,17 @@ const deserializeAws_restJson1SelectedChoices = (output, context) => {
|
|
|
4120
4120
|
if (entry === null) {
|
|
4121
4121
|
return null;
|
|
4122
4122
|
}
|
|
4123
|
-
return smithy_client_1.expectString(entry);
|
|
4123
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
4124
4124
|
});
|
|
4125
4125
|
return retVal;
|
|
4126
4126
|
};
|
|
4127
4127
|
const deserializeAws_restJson1ShareInvitation = (output, context) => {
|
|
4128
4128
|
return {
|
|
4129
|
-
LensAlias: smithy_client_1.expectString(output.LensAlias),
|
|
4130
|
-
LensArn: smithy_client_1.expectString(output.LensArn),
|
|
4131
|
-
ShareInvitationId: smithy_client_1.expectString(output.ShareInvitationId),
|
|
4132
|
-
ShareResourceType: smithy_client_1.expectString(output.ShareResourceType),
|
|
4133
|
-
WorkloadId: smithy_client_1.expectString(output.WorkloadId),
|
|
4129
|
+
LensAlias: (0, smithy_client_1.expectString)(output.LensAlias),
|
|
4130
|
+
LensArn: (0, smithy_client_1.expectString)(output.LensArn),
|
|
4131
|
+
ShareInvitationId: (0, smithy_client_1.expectString)(output.ShareInvitationId),
|
|
4132
|
+
ShareResourceType: (0, smithy_client_1.expectString)(output.ShareResourceType),
|
|
4133
|
+
WorkloadId: (0, smithy_client_1.expectString)(output.WorkloadId),
|
|
4134
4134
|
};
|
|
4135
4135
|
};
|
|
4136
4136
|
const deserializeAws_restJson1ShareInvitationSummaries = (output, context) => {
|
|
@@ -4146,15 +4146,15 @@ const deserializeAws_restJson1ShareInvitationSummaries = (output, context) => {
|
|
|
4146
4146
|
};
|
|
4147
4147
|
const deserializeAws_restJson1ShareInvitationSummary = (output, context) => {
|
|
4148
4148
|
return {
|
|
4149
|
-
LensArn: smithy_client_1.expectString(output.LensArn),
|
|
4150
|
-
LensName: smithy_client_1.expectString(output.LensName),
|
|
4151
|
-
PermissionType: smithy_client_1.expectString(output.PermissionType),
|
|
4152
|
-
ShareInvitationId: smithy_client_1.expectString(output.ShareInvitationId),
|
|
4153
|
-
ShareResourceType: smithy_client_1.expectString(output.ShareResourceType),
|
|
4154
|
-
SharedBy: smithy_client_1.expectString(output.SharedBy),
|
|
4155
|
-
SharedWith: smithy_client_1.expectString(output.SharedWith),
|
|
4156
|
-
WorkloadId: smithy_client_1.expectString(output.WorkloadId),
|
|
4157
|
-
WorkloadName: smithy_client_1.expectString(output.WorkloadName),
|
|
4149
|
+
LensArn: (0, smithy_client_1.expectString)(output.LensArn),
|
|
4150
|
+
LensName: (0, smithy_client_1.expectString)(output.LensName),
|
|
4151
|
+
PermissionType: (0, smithy_client_1.expectString)(output.PermissionType),
|
|
4152
|
+
ShareInvitationId: (0, smithy_client_1.expectString)(output.ShareInvitationId),
|
|
4153
|
+
ShareResourceType: (0, smithy_client_1.expectString)(output.ShareResourceType),
|
|
4154
|
+
SharedBy: (0, smithy_client_1.expectString)(output.SharedBy),
|
|
4155
|
+
SharedWith: (0, smithy_client_1.expectString)(output.SharedWith),
|
|
4156
|
+
WorkloadId: (0, smithy_client_1.expectString)(output.WorkloadId),
|
|
4157
|
+
WorkloadName: (0, smithy_client_1.expectString)(output.WorkloadName),
|
|
4158
4158
|
};
|
|
4159
4159
|
};
|
|
4160
4160
|
const deserializeAws_restJson1TagMap = (output, context) => {
|
|
@@ -4164,14 +4164,14 @@ const deserializeAws_restJson1TagMap = (output, context) => {
|
|
|
4164
4164
|
}
|
|
4165
4165
|
return {
|
|
4166
4166
|
...acc,
|
|
4167
|
-
[key]: smithy_client_1.expectString(value),
|
|
4167
|
+
[key]: (0, smithy_client_1.expectString)(value),
|
|
4168
4168
|
};
|
|
4169
4169
|
}, {});
|
|
4170
4170
|
};
|
|
4171
4171
|
const deserializeAws_restJson1ValidationExceptionField = (output, context) => {
|
|
4172
4172
|
return {
|
|
4173
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
4174
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
4173
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4174
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
4175
4175
|
};
|
|
4176
4176
|
};
|
|
4177
4177
|
const deserializeAws_restJson1ValidationExceptionFieldList = (output, context) => {
|
|
@@ -4197,44 +4197,44 @@ const deserializeAws_restJson1Workload = (output, context) => {
|
|
|
4197
4197
|
AccountIds: output.AccountIds !== undefined && output.AccountIds !== null
|
|
4198
4198
|
? deserializeAws_restJson1WorkloadAccountIds(output.AccountIds, context)
|
|
4199
4199
|
: undefined,
|
|
4200
|
-
ArchitecturalDesign: smithy_client_1.expectString(output.ArchitecturalDesign),
|
|
4200
|
+
ArchitecturalDesign: (0, smithy_client_1.expectString)(output.ArchitecturalDesign),
|
|
4201
4201
|
AwsRegions: output.AwsRegions !== undefined && output.AwsRegions !== null
|
|
4202
4202
|
? deserializeAws_restJson1WorkloadAwsRegions(output.AwsRegions, context)
|
|
4203
4203
|
: undefined,
|
|
4204
|
-
Description: smithy_client_1.expectString(output.Description),
|
|
4205
|
-
Environment: smithy_client_1.expectString(output.Environment),
|
|
4206
|
-
ImprovementStatus: smithy_client_1.expectString(output.ImprovementStatus),
|
|
4207
|
-
Industry: smithy_client_1.expectString(output.Industry),
|
|
4208
|
-
IndustryType: smithy_client_1.expectString(output.IndustryType),
|
|
4209
|
-
IsReviewOwnerUpdateAcknowledged: smithy_client_1.expectBoolean(output.IsReviewOwnerUpdateAcknowledged),
|
|
4204
|
+
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
4205
|
+
Environment: (0, smithy_client_1.expectString)(output.Environment),
|
|
4206
|
+
ImprovementStatus: (0, smithy_client_1.expectString)(output.ImprovementStatus),
|
|
4207
|
+
Industry: (0, smithy_client_1.expectString)(output.Industry),
|
|
4208
|
+
IndustryType: (0, smithy_client_1.expectString)(output.IndustryType),
|
|
4209
|
+
IsReviewOwnerUpdateAcknowledged: (0, smithy_client_1.expectBoolean)(output.IsReviewOwnerUpdateAcknowledged),
|
|
4210
4210
|
Lenses: output.Lenses !== undefined && output.Lenses !== null
|
|
4211
4211
|
? deserializeAws_restJson1WorkloadLenses(output.Lenses, context)
|
|
4212
4212
|
: undefined,
|
|
4213
4213
|
NonAwsRegions: output.NonAwsRegions !== undefined && output.NonAwsRegions !== null
|
|
4214
4214
|
? deserializeAws_restJson1WorkloadNonAwsRegions(output.NonAwsRegions, context)
|
|
4215
4215
|
: undefined,
|
|
4216
|
-
Notes: smithy_client_1.expectString(output.Notes),
|
|
4217
|
-
Owner: smithy_client_1.expectString(output.Owner),
|
|
4216
|
+
Notes: (0, smithy_client_1.expectString)(output.Notes),
|
|
4217
|
+
Owner: (0, smithy_client_1.expectString)(output.Owner),
|
|
4218
4218
|
PillarPriorities: output.PillarPriorities !== undefined && output.PillarPriorities !== null
|
|
4219
4219
|
? deserializeAws_restJson1WorkloadPillarPriorities(output.PillarPriorities, context)
|
|
4220
4220
|
: undefined,
|
|
4221
|
-
ReviewOwner: smithy_client_1.expectString(output.ReviewOwner),
|
|
4221
|
+
ReviewOwner: (0, smithy_client_1.expectString)(output.ReviewOwner),
|
|
4222
4222
|
ReviewRestrictionDate: output.ReviewRestrictionDate !== undefined && output.ReviewRestrictionDate !== null
|
|
4223
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ReviewRestrictionDate)))
|
|
4223
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ReviewRestrictionDate)))
|
|
4224
4224
|
: undefined,
|
|
4225
4225
|
RiskCounts: output.RiskCounts !== undefined && output.RiskCounts !== null
|
|
4226
4226
|
? deserializeAws_restJson1RiskCounts(output.RiskCounts, context)
|
|
4227
4227
|
: undefined,
|
|
4228
|
-
ShareInvitationId: smithy_client_1.expectString(output.ShareInvitationId),
|
|
4228
|
+
ShareInvitationId: (0, smithy_client_1.expectString)(output.ShareInvitationId),
|
|
4229
4229
|
Tags: output.Tags !== undefined && output.Tags !== null
|
|
4230
4230
|
? deserializeAws_restJson1TagMap(output.Tags, context)
|
|
4231
4231
|
: undefined,
|
|
4232
4232
|
UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
|
|
4233
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UpdatedAt)))
|
|
4233
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.UpdatedAt)))
|
|
4234
4234
|
: undefined,
|
|
4235
|
-
WorkloadArn: smithy_client_1.expectString(output.WorkloadArn),
|
|
4236
|
-
WorkloadId: smithy_client_1.expectString(output.WorkloadId),
|
|
4237
|
-
WorkloadName: smithy_client_1.expectString(output.WorkloadName),
|
|
4235
|
+
WorkloadArn: (0, smithy_client_1.expectString)(output.WorkloadArn),
|
|
4236
|
+
WorkloadId: (0, smithy_client_1.expectString)(output.WorkloadId),
|
|
4237
|
+
WorkloadName: (0, smithy_client_1.expectString)(output.WorkloadName),
|
|
4238
4238
|
};
|
|
4239
4239
|
};
|
|
4240
4240
|
const deserializeAws_restJson1WorkloadAccountIds = (output, context) => {
|
|
@@ -4244,7 +4244,7 @@ const deserializeAws_restJson1WorkloadAccountIds = (output, context) => {
|
|
|
4244
4244
|
if (entry === null) {
|
|
4245
4245
|
return null;
|
|
4246
4246
|
}
|
|
4247
|
-
return smithy_client_1.expectString(entry);
|
|
4247
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
4248
4248
|
});
|
|
4249
4249
|
return retVal;
|
|
4250
4250
|
};
|
|
@@ -4255,7 +4255,7 @@ const deserializeAws_restJson1WorkloadAwsRegions = (output, context) => {
|
|
|
4255
4255
|
if (entry === null) {
|
|
4256
4256
|
return null;
|
|
4257
4257
|
}
|
|
4258
|
-
return smithy_client_1.expectString(entry);
|
|
4258
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
4259
4259
|
});
|
|
4260
4260
|
return retVal;
|
|
4261
4261
|
};
|
|
@@ -4266,7 +4266,7 @@ const deserializeAws_restJson1WorkloadLenses = (output, context) => {
|
|
|
4266
4266
|
if (entry === null) {
|
|
4267
4267
|
return null;
|
|
4268
4268
|
}
|
|
4269
|
-
return smithy_client_1.expectString(entry);
|
|
4269
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
4270
4270
|
});
|
|
4271
4271
|
return retVal;
|
|
4272
4272
|
};
|
|
@@ -4277,7 +4277,7 @@ const deserializeAws_restJson1WorkloadNonAwsRegions = (output, context) => {
|
|
|
4277
4277
|
if (entry === null) {
|
|
4278
4278
|
return null;
|
|
4279
4279
|
}
|
|
4280
|
-
return smithy_client_1.expectString(entry);
|
|
4280
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
4281
4281
|
});
|
|
4282
4282
|
return retVal;
|
|
4283
4283
|
};
|
|
@@ -4288,19 +4288,19 @@ const deserializeAws_restJson1WorkloadPillarPriorities = (output, context) => {
|
|
|
4288
4288
|
if (entry === null) {
|
|
4289
4289
|
return null;
|
|
4290
4290
|
}
|
|
4291
|
-
return smithy_client_1.expectString(entry);
|
|
4291
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
4292
4292
|
});
|
|
4293
4293
|
return retVal;
|
|
4294
4294
|
};
|
|
4295
4295
|
const deserializeAws_restJson1WorkloadShare = (output, context) => {
|
|
4296
4296
|
return {
|
|
4297
|
-
PermissionType: smithy_client_1.expectString(output.PermissionType),
|
|
4298
|
-
ShareId: smithy_client_1.expectString(output.ShareId),
|
|
4299
|
-
SharedBy: smithy_client_1.expectString(output.SharedBy),
|
|
4300
|
-
SharedWith: smithy_client_1.expectString(output.SharedWith),
|
|
4301
|
-
Status: smithy_client_1.expectString(output.Status),
|
|
4302
|
-
WorkloadId: smithy_client_1.expectString(output.WorkloadId),
|
|
4303
|
-
WorkloadName: smithy_client_1.expectString(output.WorkloadName),
|
|
4297
|
+
PermissionType: (0, smithy_client_1.expectString)(output.PermissionType),
|
|
4298
|
+
ShareId: (0, smithy_client_1.expectString)(output.ShareId),
|
|
4299
|
+
SharedBy: (0, smithy_client_1.expectString)(output.SharedBy),
|
|
4300
|
+
SharedWith: (0, smithy_client_1.expectString)(output.SharedWith),
|
|
4301
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
4302
|
+
WorkloadId: (0, smithy_client_1.expectString)(output.WorkloadId),
|
|
4303
|
+
WorkloadName: (0, smithy_client_1.expectString)(output.WorkloadName),
|
|
4304
4304
|
};
|
|
4305
4305
|
};
|
|
4306
4306
|
const deserializeAws_restJson1WorkloadShareSummaries = (output, context) => {
|
|
@@ -4316,10 +4316,10 @@ const deserializeAws_restJson1WorkloadShareSummaries = (output, context) => {
|
|
|
4316
4316
|
};
|
|
4317
4317
|
const deserializeAws_restJson1WorkloadShareSummary = (output, context) => {
|
|
4318
4318
|
return {
|
|
4319
|
-
PermissionType: smithy_client_1.expectString(output.PermissionType),
|
|
4320
|
-
ShareId: smithy_client_1.expectString(output.ShareId),
|
|
4321
|
-
SharedWith: smithy_client_1.expectString(output.SharedWith),
|
|
4322
|
-
Status: smithy_client_1.expectString(output.Status),
|
|
4319
|
+
PermissionType: (0, smithy_client_1.expectString)(output.PermissionType),
|
|
4320
|
+
ShareId: (0, smithy_client_1.expectString)(output.ShareId),
|
|
4321
|
+
SharedWith: (0, smithy_client_1.expectString)(output.SharedWith),
|
|
4322
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
4323
4323
|
};
|
|
4324
4324
|
};
|
|
4325
4325
|
const deserializeAws_restJson1WorkloadSummaries = (output, context) => {
|
|
@@ -4335,20 +4335,20 @@ const deserializeAws_restJson1WorkloadSummaries = (output, context) => {
|
|
|
4335
4335
|
};
|
|
4336
4336
|
const deserializeAws_restJson1WorkloadSummary = (output, context) => {
|
|
4337
4337
|
return {
|
|
4338
|
-
ImprovementStatus: smithy_client_1.expectString(output.ImprovementStatus),
|
|
4338
|
+
ImprovementStatus: (0, smithy_client_1.expectString)(output.ImprovementStatus),
|
|
4339
4339
|
Lenses: output.Lenses !== undefined && output.Lenses !== null
|
|
4340
4340
|
? deserializeAws_restJson1WorkloadLenses(output.Lenses, context)
|
|
4341
4341
|
: undefined,
|
|
4342
|
-
Owner: smithy_client_1.expectString(output.Owner),
|
|
4342
|
+
Owner: (0, smithy_client_1.expectString)(output.Owner),
|
|
4343
4343
|
RiskCounts: output.RiskCounts !== undefined && output.RiskCounts !== null
|
|
4344
4344
|
? deserializeAws_restJson1RiskCounts(output.RiskCounts, context)
|
|
4345
4345
|
: undefined,
|
|
4346
4346
|
UpdatedAt: output.UpdatedAt !== undefined && output.UpdatedAt !== null
|
|
4347
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UpdatedAt)))
|
|
4347
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.UpdatedAt)))
|
|
4348
4348
|
: undefined,
|
|
4349
|
-
WorkloadArn: smithy_client_1.expectString(output.WorkloadArn),
|
|
4350
|
-
WorkloadId: smithy_client_1.expectString(output.WorkloadId),
|
|
4351
|
-
WorkloadName: smithy_client_1.expectString(output.WorkloadName),
|
|
4349
|
+
WorkloadArn: (0, smithy_client_1.expectString)(output.WorkloadArn),
|
|
4350
|
+
WorkloadId: (0, smithy_client_1.expectString)(output.WorkloadId),
|
|
4351
|
+
WorkloadName: (0, smithy_client_1.expectString)(output.WorkloadName),
|
|
4352
4352
|
};
|
|
4353
4353
|
};
|
|
4354
4354
|
const deserializeMetadata = (output) => {
|