@aws-sdk/client-emr-containers 3.54.1 → 3.55.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (30) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist-cjs/EMRContainersClient.js +13 -13
  3. package/dist-cjs/commands/CancelJobRunCommand.js +3 -3
  4. package/dist-cjs/commands/CreateManagedEndpointCommand.js +3 -3
  5. package/dist-cjs/commands/CreateVirtualClusterCommand.js +3 -3
  6. package/dist-cjs/commands/DeleteManagedEndpointCommand.js +3 -3
  7. package/dist-cjs/commands/DeleteVirtualClusterCommand.js +3 -3
  8. package/dist-cjs/commands/DescribeJobRunCommand.js +3 -3
  9. package/dist-cjs/commands/DescribeManagedEndpointCommand.js +3 -3
  10. package/dist-cjs/commands/DescribeVirtualClusterCommand.js +3 -3
  11. package/dist-cjs/commands/ListJobRunsCommand.js +3 -3
  12. package/dist-cjs/commands/ListManagedEndpointsCommand.js +3 -3
  13. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  14. package/dist-cjs/commands/ListVirtualClustersCommand.js +3 -3
  15. package/dist-cjs/commands/StartJobRunCommand.js +3 -3
  16. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  17. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  18. package/dist-cjs/endpoints.js +1 -1
  19. package/dist-cjs/protocols/Aws_restJson1.js +122 -122
  20. package/dist-cjs/runtimeConfig.browser.js +4 -4
  21. package/dist-cjs/runtimeConfig.js +9 -9
  22. package/dist-cjs/runtimeConfig.native.js +1 -1
  23. package/dist-es/EMRContainers.js +15 -15
  24. package/dist-es/pagination/ListJobRunsPaginator.js +4 -4
  25. package/dist-es/pagination/ListManagedEndpointsPaginator.js +4 -4
  26. package/dist-es/pagination/ListVirtualClustersPaginator.js +4 -4
  27. package/dist-es/protocols/Aws_restJson1.js +15 -15
  28. package/dist-types/runtimeConfig.native.d.ts +2 -2
  29. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
  30. package/package.json +34 -34
@@ -16,7 +16,7 @@ const serializeAws_restJson1CancelJobRunCommand = async (input, context) => {
16
16
  if (labelValue.length <= 0) {
17
17
  throw new Error("Empty value provided for input HTTP label: id.");
18
18
  }
19
- resolvedPath = resolvedPath.replace("{id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
19
+ resolvedPath = resolvedPath.replace("{id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
20
20
  }
21
21
  else {
22
22
  throw new Error("No value provided for input HTTP label: id.");
@@ -26,7 +26,7 @@ const serializeAws_restJson1CancelJobRunCommand = async (input, context) => {
26
26
  if (labelValue.length <= 0) {
27
27
  throw new Error("Empty value provided for input HTTP label: virtualClusterId.");
28
28
  }
29
- resolvedPath = resolvedPath.replace("{virtualClusterId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
29
+ resolvedPath = resolvedPath.replace("{virtualClusterId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
30
30
  }
31
31
  else {
32
32
  throw new Error("No value provided for input HTTP label: virtualClusterId.");
@@ -56,7 +56,7 @@ const serializeAws_restJson1CreateManagedEndpointCommand = async (input, context
56
56
  if (labelValue.length <= 0) {
57
57
  throw new Error("Empty value provided for input HTTP label: virtualClusterId.");
58
58
  }
59
- resolvedPath = resolvedPath.replace("{virtualClusterId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
59
+ resolvedPath = resolvedPath.replace("{virtualClusterId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
60
60
  }
61
61
  else {
62
62
  throw new Error("No value provided for input HTTP label: virtualClusterId.");
@@ -65,7 +65,7 @@ const serializeAws_restJson1CreateManagedEndpointCommand = async (input, context
65
65
  body = JSON.stringify({
66
66
  ...(input.certificateArn !== undefined &&
67
67
  input.certificateArn !== null && { certificateArn: input.certificateArn }),
68
- clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
68
+ clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
69
69
  ...(input.configurationOverrides !== undefined &&
70
70
  input.configurationOverrides !== null && {
71
71
  configurationOverrides: serializeAws_restJson1ConfigurationOverrides(input.configurationOverrides, context),
@@ -97,7 +97,7 @@ const serializeAws_restJson1CreateVirtualClusterCommand = async (input, context)
97
97
  const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/virtualclusters";
98
98
  let body;
99
99
  body = JSON.stringify({
100
- clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
100
+ clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
101
101
  ...(input.containerProvider !== undefined &&
102
102
  input.containerProvider !== null && {
103
103
  containerProvider: serializeAws_restJson1ContainerProvider(input.containerProvider, context),
@@ -126,7 +126,7 @@ const serializeAws_restJson1DeleteManagedEndpointCommand = async (input, context
126
126
  if (labelValue.length <= 0) {
127
127
  throw new Error("Empty value provided for input HTTP label: id.");
128
128
  }
129
- resolvedPath = resolvedPath.replace("{id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
129
+ resolvedPath = resolvedPath.replace("{id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
130
130
  }
131
131
  else {
132
132
  throw new Error("No value provided for input HTTP label: id.");
@@ -136,7 +136,7 @@ const serializeAws_restJson1DeleteManagedEndpointCommand = async (input, context
136
136
  if (labelValue.length <= 0) {
137
137
  throw new Error("Empty value provided for input HTTP label: virtualClusterId.");
138
138
  }
139
- resolvedPath = resolvedPath.replace("{virtualClusterId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
139
+ resolvedPath = resolvedPath.replace("{virtualClusterId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
140
140
  }
141
141
  else {
142
142
  throw new Error("No value provided for input HTTP label: virtualClusterId.");
@@ -162,7 +162,7 @@ const serializeAws_restJson1DeleteVirtualClusterCommand = async (input, context)
162
162
  if (labelValue.length <= 0) {
163
163
  throw new Error("Empty value provided for input HTTP label: id.");
164
164
  }
165
- resolvedPath = resolvedPath.replace("{id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
165
+ resolvedPath = resolvedPath.replace("{id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
166
166
  }
167
167
  else {
168
168
  throw new Error("No value provided for input HTTP label: id.");
@@ -189,7 +189,7 @@ const serializeAws_restJson1DescribeJobRunCommand = async (input, context) => {
189
189
  if (labelValue.length <= 0) {
190
190
  throw new Error("Empty value provided for input HTTP label: id.");
191
191
  }
192
- resolvedPath = resolvedPath.replace("{id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
192
+ resolvedPath = resolvedPath.replace("{id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
193
193
  }
194
194
  else {
195
195
  throw new Error("No value provided for input HTTP label: id.");
@@ -199,7 +199,7 @@ const serializeAws_restJson1DescribeJobRunCommand = async (input, context) => {
199
199
  if (labelValue.length <= 0) {
200
200
  throw new Error("Empty value provided for input HTTP label: virtualClusterId.");
201
201
  }
202
- resolvedPath = resolvedPath.replace("{virtualClusterId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
202
+ resolvedPath = resolvedPath.replace("{virtualClusterId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
203
203
  }
204
204
  else {
205
205
  throw new Error("No value provided for input HTTP label: virtualClusterId.");
@@ -226,7 +226,7 @@ const serializeAws_restJson1DescribeManagedEndpointCommand = async (input, conte
226
226
  if (labelValue.length <= 0) {
227
227
  throw new Error("Empty value provided for input HTTP label: id.");
228
228
  }
229
- resolvedPath = resolvedPath.replace("{id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
229
+ resolvedPath = resolvedPath.replace("{id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
230
230
  }
231
231
  else {
232
232
  throw new Error("No value provided for input HTTP label: id.");
@@ -236,7 +236,7 @@ const serializeAws_restJson1DescribeManagedEndpointCommand = async (input, conte
236
236
  if (labelValue.length <= 0) {
237
237
  throw new Error("Empty value provided for input HTTP label: virtualClusterId.");
238
238
  }
239
- resolvedPath = resolvedPath.replace("{virtualClusterId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
239
+ resolvedPath = resolvedPath.replace("{virtualClusterId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
240
240
  }
241
241
  else {
242
242
  throw new Error("No value provided for input HTTP label: virtualClusterId.");
@@ -262,7 +262,7 @@ const serializeAws_restJson1DescribeVirtualClusterCommand = async (input, contex
262
262
  if (labelValue.length <= 0) {
263
263
  throw new Error("Empty value provided for input HTTP label: id.");
264
264
  }
265
- resolvedPath = resolvedPath.replace("{id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
265
+ resolvedPath = resolvedPath.replace("{id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
266
266
  }
267
267
  else {
268
268
  throw new Error("No value provided for input HTTP label: id.");
@@ -289,7 +289,7 @@ const serializeAws_restJson1ListJobRunsCommand = async (input, context) => {
289
289
  if (labelValue.length <= 0) {
290
290
  throw new Error("Empty value provided for input HTTP label: virtualClusterId.");
291
291
  }
292
- resolvedPath = resolvedPath.replace("{virtualClusterId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
292
+ resolvedPath = resolvedPath.replace("{virtualClusterId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
293
293
  }
294
294
  else {
295
295
  throw new Error("No value provided for input HTTP label: virtualClusterId.");
@@ -329,7 +329,7 @@ const serializeAws_restJson1ListManagedEndpointsCommand = async (input, context)
329
329
  if (labelValue.length <= 0) {
330
330
  throw new Error("Empty value provided for input HTTP label: virtualClusterId.");
331
331
  }
332
- resolvedPath = resolvedPath.replace("{virtualClusterId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
332
+ resolvedPath = resolvedPath.replace("{virtualClusterId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
333
333
  }
334
334
  else {
335
335
  throw new Error("No value provided for input HTTP label: virtualClusterId.");
@@ -368,7 +368,7 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
368
368
  if (labelValue.length <= 0) {
369
369
  throw new Error("Empty value provided for input HTTP label: resourceArn.");
370
370
  }
371
- resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
371
+ resolvedPath = resolvedPath.replace("{resourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
372
372
  }
373
373
  else {
374
374
  throw new Error("No value provided for input HTTP label: resourceArn.");
@@ -428,14 +428,14 @@ const serializeAws_restJson1StartJobRunCommand = async (input, context) => {
428
428
  if (labelValue.length <= 0) {
429
429
  throw new Error("Empty value provided for input HTTP label: virtualClusterId.");
430
430
  }
431
- resolvedPath = resolvedPath.replace("{virtualClusterId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
431
+ resolvedPath = resolvedPath.replace("{virtualClusterId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
432
432
  }
433
433
  else {
434
434
  throw new Error("No value provided for input HTTP label: virtualClusterId.");
435
435
  }
436
436
  let body;
437
437
  body = JSON.stringify({
438
- clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
438
+ clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
439
439
  ...(input.configurationOverrides !== undefined &&
440
440
  input.configurationOverrides !== null && {
441
441
  configurationOverrides: serializeAws_restJson1ConfigurationOverrides(input.configurationOverrides, context),
@@ -470,7 +470,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
470
470
  if (labelValue.length <= 0) {
471
471
  throw new Error("Empty value provided for input HTTP label: resourceArn.");
472
472
  }
473
- resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
473
+ resolvedPath = resolvedPath.replace("{resourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
474
474
  }
475
475
  else {
476
476
  throw new Error("No value provided for input HTTP label: resourceArn.");
@@ -499,7 +499,7 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
499
499
  if (labelValue.length <= 0) {
500
500
  throw new Error("Empty value provided for input HTTP label: resourceArn.");
501
501
  }
502
- resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
502
+ resolvedPath = resolvedPath.replace("{resourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
503
503
  }
504
504
  else {
505
505
  throw new Error("No value provided for input HTTP label: resourceArn.");
@@ -529,12 +529,12 @@ const deserializeAws_restJson1CancelJobRunCommand = async (output, context) => {
529
529
  id: undefined,
530
530
  virtualClusterId: undefined,
531
531
  };
532
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
532
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
533
533
  if (data.id !== undefined && data.id !== null) {
534
- contents.id = smithy_client_1.expectString(data.id);
534
+ contents.id = (0, smithy_client_1.expectString)(data.id);
535
535
  }
536
536
  if (data.virtualClusterId !== undefined && data.virtualClusterId !== null) {
537
- contents.virtualClusterId = smithy_client_1.expectString(data.virtualClusterId);
537
+ contents.virtualClusterId = (0, smithy_client_1.expectString)(data.virtualClusterId);
538
538
  }
539
539
  return Promise.resolve(contents);
540
540
  };
@@ -561,7 +561,7 @@ const deserializeAws_restJson1CancelJobRunCommandError = async (output, context)
561
561
  $fault: "client",
562
562
  $metadata: deserializeMetadata(output),
563
563
  });
564
- throw smithy_client_1.decorateServiceException(response, parsedBody);
564
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
565
565
  }
566
566
  };
567
567
  const deserializeAws_restJson1CreateManagedEndpointCommand = async (output, context) => {
@@ -575,18 +575,18 @@ const deserializeAws_restJson1CreateManagedEndpointCommand = async (output, cont
575
575
  name: undefined,
576
576
  virtualClusterId: undefined,
577
577
  };
578
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
578
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
579
579
  if (data.arn !== undefined && data.arn !== null) {
580
- contents.arn = smithy_client_1.expectString(data.arn);
580
+ contents.arn = (0, smithy_client_1.expectString)(data.arn);
581
581
  }
582
582
  if (data.id !== undefined && data.id !== null) {
583
- contents.id = smithy_client_1.expectString(data.id);
583
+ contents.id = (0, smithy_client_1.expectString)(data.id);
584
584
  }
585
585
  if (data.name !== undefined && data.name !== null) {
586
- contents.name = smithy_client_1.expectString(data.name);
586
+ contents.name = (0, smithy_client_1.expectString)(data.name);
587
587
  }
588
588
  if (data.virtualClusterId !== undefined && data.virtualClusterId !== null) {
589
- contents.virtualClusterId = smithy_client_1.expectString(data.virtualClusterId);
589
+ contents.virtualClusterId = (0, smithy_client_1.expectString)(data.virtualClusterId);
590
590
  }
591
591
  return Promise.resolve(contents);
592
592
  };
@@ -616,7 +616,7 @@ const deserializeAws_restJson1CreateManagedEndpointCommandError = async (output,
616
616
  $fault: "client",
617
617
  $metadata: deserializeMetadata(output),
618
618
  });
619
- throw smithy_client_1.decorateServiceException(response, parsedBody);
619
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
620
620
  }
621
621
  };
622
622
  const deserializeAws_restJson1CreateVirtualClusterCommand = async (output, context) => {
@@ -629,15 +629,15 @@ const deserializeAws_restJson1CreateVirtualClusterCommand = async (output, conte
629
629
  id: undefined,
630
630
  name: undefined,
631
631
  };
632
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
632
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
633
633
  if (data.arn !== undefined && data.arn !== null) {
634
- contents.arn = smithy_client_1.expectString(data.arn);
634
+ contents.arn = (0, smithy_client_1.expectString)(data.arn);
635
635
  }
636
636
  if (data.id !== undefined && data.id !== null) {
637
- contents.id = smithy_client_1.expectString(data.id);
637
+ contents.id = (0, smithy_client_1.expectString)(data.id);
638
638
  }
639
639
  if (data.name !== undefined && data.name !== null) {
640
- contents.name = smithy_client_1.expectString(data.name);
640
+ contents.name = (0, smithy_client_1.expectString)(data.name);
641
641
  }
642
642
  return Promise.resolve(contents);
643
643
  };
@@ -667,7 +667,7 @@ const deserializeAws_restJson1CreateVirtualClusterCommandError = async (output,
667
667
  $fault: "client",
668
668
  $metadata: deserializeMetadata(output),
669
669
  });
670
- throw smithy_client_1.decorateServiceException(response, parsedBody);
670
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
671
671
  }
672
672
  };
673
673
  const deserializeAws_restJson1DeleteManagedEndpointCommand = async (output, context) => {
@@ -679,12 +679,12 @@ const deserializeAws_restJson1DeleteManagedEndpointCommand = async (output, cont
679
679
  id: undefined,
680
680
  virtualClusterId: undefined,
681
681
  };
682
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
682
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
683
683
  if (data.id !== undefined && data.id !== null) {
684
- contents.id = smithy_client_1.expectString(data.id);
684
+ contents.id = (0, smithy_client_1.expectString)(data.id);
685
685
  }
686
686
  if (data.virtualClusterId !== undefined && data.virtualClusterId !== null) {
687
- contents.virtualClusterId = smithy_client_1.expectString(data.virtualClusterId);
687
+ contents.virtualClusterId = (0, smithy_client_1.expectString)(data.virtualClusterId);
688
688
  }
689
689
  return Promise.resolve(contents);
690
690
  };
@@ -711,7 +711,7 @@ const deserializeAws_restJson1DeleteManagedEndpointCommandError = async (output,
711
711
  $fault: "client",
712
712
  $metadata: deserializeMetadata(output),
713
713
  });
714
- throw smithy_client_1.decorateServiceException(response, parsedBody);
714
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
715
715
  }
716
716
  };
717
717
  const deserializeAws_restJson1DeleteVirtualClusterCommand = async (output, context) => {
@@ -722,9 +722,9 @@ const deserializeAws_restJson1DeleteVirtualClusterCommand = async (output, conte
722
722
  $metadata: deserializeMetadata(output),
723
723
  id: undefined,
724
724
  };
725
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
725
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
726
726
  if (data.id !== undefined && data.id !== null) {
727
- contents.id = smithy_client_1.expectString(data.id);
727
+ contents.id = (0, smithy_client_1.expectString)(data.id);
728
728
  }
729
729
  return Promise.resolve(contents);
730
730
  };
@@ -751,7 +751,7 @@ const deserializeAws_restJson1DeleteVirtualClusterCommandError = async (output,
751
751
  $fault: "client",
752
752
  $metadata: deserializeMetadata(output),
753
753
  });
754
- throw smithy_client_1.decorateServiceException(response, parsedBody);
754
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
755
755
  }
756
756
  };
757
757
  const deserializeAws_restJson1DescribeJobRunCommand = async (output, context) => {
@@ -762,7 +762,7 @@ const deserializeAws_restJson1DescribeJobRunCommand = async (output, context) =>
762
762
  $metadata: deserializeMetadata(output),
763
763
  jobRun: undefined,
764
764
  };
765
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
765
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
766
766
  if (data.jobRun !== undefined && data.jobRun !== null) {
767
767
  contents.jobRun = deserializeAws_restJson1JobRun(data.jobRun, context);
768
768
  }
@@ -794,7 +794,7 @@ const deserializeAws_restJson1DescribeJobRunCommandError = async (output, contex
794
794
  $fault: "client",
795
795
  $metadata: deserializeMetadata(output),
796
796
  });
797
- throw smithy_client_1.decorateServiceException(response, parsedBody);
797
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
798
798
  }
799
799
  };
800
800
  const deserializeAws_restJson1DescribeManagedEndpointCommand = async (output, context) => {
@@ -805,7 +805,7 @@ const deserializeAws_restJson1DescribeManagedEndpointCommand = async (output, co
805
805
  $metadata: deserializeMetadata(output),
806
806
  endpoint: undefined,
807
807
  };
808
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
808
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
809
809
  if (data.endpoint !== undefined && data.endpoint !== null) {
810
810
  contents.endpoint = deserializeAws_restJson1Endpoint(data.endpoint, context);
811
811
  }
@@ -837,7 +837,7 @@ const deserializeAws_restJson1DescribeManagedEndpointCommandError = async (outpu
837
837
  $fault: "client",
838
838
  $metadata: deserializeMetadata(output),
839
839
  });
840
- throw smithy_client_1.decorateServiceException(response, parsedBody);
840
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
841
841
  }
842
842
  };
843
843
  const deserializeAws_restJson1DescribeVirtualClusterCommand = async (output, context) => {
@@ -848,7 +848,7 @@ const deserializeAws_restJson1DescribeVirtualClusterCommand = async (output, con
848
848
  $metadata: deserializeMetadata(output),
849
849
  virtualCluster: undefined,
850
850
  };
851
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
851
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
852
852
  if (data.virtualCluster !== undefined && data.virtualCluster !== null) {
853
853
  contents.virtualCluster = deserializeAws_restJson1VirtualCluster(data.virtualCluster, context);
854
854
  }
@@ -880,7 +880,7 @@ const deserializeAws_restJson1DescribeVirtualClusterCommandError = async (output
880
880
  $fault: "client",
881
881
  $metadata: deserializeMetadata(output),
882
882
  });
883
- throw smithy_client_1.decorateServiceException(response, parsedBody);
883
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
884
884
  }
885
885
  };
886
886
  const deserializeAws_restJson1ListJobRunsCommand = async (output, context) => {
@@ -892,12 +892,12 @@ const deserializeAws_restJson1ListJobRunsCommand = async (output, context) => {
892
892
  jobRuns: undefined,
893
893
  nextToken: undefined,
894
894
  };
895
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
895
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
896
896
  if (data.jobRuns !== undefined && data.jobRuns !== null) {
897
897
  contents.jobRuns = deserializeAws_restJson1JobRuns(data.jobRuns, context);
898
898
  }
899
899
  if (data.nextToken !== undefined && data.nextToken !== null) {
900
- contents.nextToken = smithy_client_1.expectString(data.nextToken);
900
+ contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
901
901
  }
902
902
  return Promise.resolve(contents);
903
903
  };
@@ -924,7 +924,7 @@ const deserializeAws_restJson1ListJobRunsCommandError = async (output, context)
924
924
  $fault: "client",
925
925
  $metadata: deserializeMetadata(output),
926
926
  });
927
- throw smithy_client_1.decorateServiceException(response, parsedBody);
927
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
928
928
  }
929
929
  };
930
930
  const deserializeAws_restJson1ListManagedEndpointsCommand = async (output, context) => {
@@ -936,12 +936,12 @@ const deserializeAws_restJson1ListManagedEndpointsCommand = async (output, conte
936
936
  endpoints: undefined,
937
937
  nextToken: undefined,
938
938
  };
939
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
939
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
940
940
  if (data.endpoints !== undefined && data.endpoints !== null) {
941
941
  contents.endpoints = deserializeAws_restJson1Endpoints(data.endpoints, context);
942
942
  }
943
943
  if (data.nextToken !== undefined && data.nextToken !== null) {
944
- contents.nextToken = smithy_client_1.expectString(data.nextToken);
944
+ contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
945
945
  }
946
946
  return Promise.resolve(contents);
947
947
  };
@@ -968,7 +968,7 @@ const deserializeAws_restJson1ListManagedEndpointsCommandError = async (output,
968
968
  $fault: "client",
969
969
  $metadata: deserializeMetadata(output),
970
970
  });
971
- throw smithy_client_1.decorateServiceException(response, parsedBody);
971
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
972
972
  }
973
973
  };
974
974
  const deserializeAws_restJson1ListTagsForResourceCommand = async (output, context) => {
@@ -979,7 +979,7 @@ const deserializeAws_restJson1ListTagsForResourceCommand = async (output, contex
979
979
  $metadata: deserializeMetadata(output),
980
980
  tags: undefined,
981
981
  };
982
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
982
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
983
983
  if (data.tags !== undefined && data.tags !== null) {
984
984
  contents.tags = deserializeAws_restJson1TagMap(data.tags, context);
985
985
  }
@@ -1011,7 +1011,7 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
1011
1011
  $fault: "client",
1012
1012
  $metadata: deserializeMetadata(output),
1013
1013
  });
1014
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1014
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1015
1015
  }
1016
1016
  };
1017
1017
  const deserializeAws_restJson1ListVirtualClustersCommand = async (output, context) => {
@@ -1023,9 +1023,9 @@ const deserializeAws_restJson1ListVirtualClustersCommand = async (output, contex
1023
1023
  nextToken: undefined,
1024
1024
  virtualClusters: undefined,
1025
1025
  };
1026
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1026
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1027
1027
  if (data.nextToken !== undefined && data.nextToken !== null) {
1028
- contents.nextToken = smithy_client_1.expectString(data.nextToken);
1028
+ contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1029
1029
  }
1030
1030
  if (data.virtualClusters !== undefined && data.virtualClusters !== null) {
1031
1031
  contents.virtualClusters = deserializeAws_restJson1VirtualClusters(data.virtualClusters, context);
@@ -1055,7 +1055,7 @@ const deserializeAws_restJson1ListVirtualClustersCommandError = async (output, c
1055
1055
  $fault: "client",
1056
1056
  $metadata: deserializeMetadata(output),
1057
1057
  });
1058
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1058
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1059
1059
  }
1060
1060
  };
1061
1061
  const deserializeAws_restJson1StartJobRunCommand = async (output, context) => {
@@ -1069,18 +1069,18 @@ const deserializeAws_restJson1StartJobRunCommand = async (output, context) => {
1069
1069
  name: undefined,
1070
1070
  virtualClusterId: undefined,
1071
1071
  };
1072
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1072
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1073
1073
  if (data.arn !== undefined && data.arn !== null) {
1074
- contents.arn = smithy_client_1.expectString(data.arn);
1074
+ contents.arn = (0, smithy_client_1.expectString)(data.arn);
1075
1075
  }
1076
1076
  if (data.id !== undefined && data.id !== null) {
1077
- contents.id = smithy_client_1.expectString(data.id);
1077
+ contents.id = (0, smithy_client_1.expectString)(data.id);
1078
1078
  }
1079
1079
  if (data.name !== undefined && data.name !== null) {
1080
- contents.name = smithy_client_1.expectString(data.name);
1080
+ contents.name = (0, smithy_client_1.expectString)(data.name);
1081
1081
  }
1082
1082
  if (data.virtualClusterId !== undefined && data.virtualClusterId !== null) {
1083
- contents.virtualClusterId = smithy_client_1.expectString(data.virtualClusterId);
1083
+ contents.virtualClusterId = (0, smithy_client_1.expectString)(data.virtualClusterId);
1084
1084
  }
1085
1085
  return Promise.resolve(contents);
1086
1086
  };
@@ -1110,7 +1110,7 @@ const deserializeAws_restJson1StartJobRunCommandError = async (output, context)
1110
1110
  $fault: "client",
1111
1111
  $metadata: deserializeMetadata(output),
1112
1112
  });
1113
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1113
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1114
1114
  }
1115
1115
  };
1116
1116
  const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
@@ -1149,7 +1149,7 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
1149
1149
  $fault: "client",
1150
1150
  $metadata: deserializeMetadata(output),
1151
1151
  });
1152
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1152
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1153
1153
  }
1154
1154
  };
1155
1155
  const deserializeAws_restJson1UntagResourceCommand = async (output, context) => {
@@ -1188,44 +1188,44 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
1188
1188
  $fault: "client",
1189
1189
  $metadata: deserializeMetadata(output),
1190
1190
  });
1191
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1191
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1192
1192
  }
1193
1193
  };
1194
1194
  const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOutput, context) => {
1195
1195
  const contents = {};
1196
1196
  const data = parsedOutput.body;
1197
1197
  if (data.message !== undefined && data.message !== null) {
1198
- contents.message = smithy_client_1.expectString(data.message);
1198
+ contents.message = (0, smithy_client_1.expectString)(data.message);
1199
1199
  }
1200
1200
  const exception = new models_0_1.InternalServerException({
1201
1201
  $metadata: deserializeMetadata(parsedOutput),
1202
1202
  ...contents,
1203
1203
  });
1204
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
1204
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1205
1205
  };
1206
1206
  const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
1207
1207
  const contents = {};
1208
1208
  const data = parsedOutput.body;
1209
1209
  if (data.message !== undefined && data.message !== null) {
1210
- contents.message = smithy_client_1.expectString(data.message);
1210
+ contents.message = (0, smithy_client_1.expectString)(data.message);
1211
1211
  }
1212
1212
  const exception = new models_0_1.ResourceNotFoundException({
1213
1213
  $metadata: deserializeMetadata(parsedOutput),
1214
1214
  ...contents,
1215
1215
  });
1216
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
1216
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1217
1217
  };
1218
1218
  const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput, context) => {
1219
1219
  const contents = {};
1220
1220
  const data = parsedOutput.body;
1221
1221
  if (data.message !== undefined && data.message !== null) {
1222
- contents.message = smithy_client_1.expectString(data.message);
1222
+ contents.message = (0, smithy_client_1.expectString)(data.message);
1223
1223
  }
1224
1224
  const exception = new models_0_1.ValidationException({
1225
1225
  $metadata: deserializeMetadata(parsedOutput),
1226
1226
  ...contents,
1227
1227
  });
1228
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
1228
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1229
1229
  };
1230
1230
  const serializeAws_restJson1CloudWatchMonitoringConfiguration = (input, context) => {
1231
1231
  return {
@@ -1361,19 +1361,19 @@ const serializeAws_restJson1TagMap = (input, context) => {
1361
1361
  };
1362
1362
  const deserializeAws_restJson1Certificate = (output, context) => {
1363
1363
  return {
1364
- certificateArn: smithy_client_1.expectString(output.certificateArn),
1365
- certificateData: smithy_client_1.expectString(output.certificateData),
1364
+ certificateArn: (0, smithy_client_1.expectString)(output.certificateArn),
1365
+ certificateData: (0, smithy_client_1.expectString)(output.certificateData),
1366
1366
  };
1367
1367
  };
1368
1368
  const deserializeAws_restJson1CloudWatchMonitoringConfiguration = (output, context) => {
1369
1369
  return {
1370
- logGroupName: smithy_client_1.expectString(output.logGroupName),
1371
- logStreamNamePrefix: smithy_client_1.expectString(output.logStreamNamePrefix),
1370
+ logGroupName: (0, smithy_client_1.expectString)(output.logGroupName),
1371
+ logStreamNamePrefix: (0, smithy_client_1.expectString)(output.logStreamNamePrefix),
1372
1372
  };
1373
1373
  };
1374
1374
  const deserializeAws_restJson1Configuration = (output, context) => {
1375
1375
  return {
1376
- classification: smithy_client_1.expectString(output.classification),
1376
+ classification: (0, smithy_client_1.expectString)(output.classification),
1377
1377
  configurations: output.configurations !== undefined && output.configurations !== null
1378
1378
  ? deserializeAws_restJson1ConfigurationList(output.configurations, context)
1379
1379
  : undefined,
@@ -1413,22 +1413,22 @@ const deserializeAws_restJson1ContainerInfo = (output, context) => {
1413
1413
  };
1414
1414
  const deserializeAws_restJson1ContainerProvider = (output, context) => {
1415
1415
  return {
1416
- id: smithy_client_1.expectString(output.id),
1416
+ id: (0, smithy_client_1.expectString)(output.id),
1417
1417
  info: output.info !== undefined && output.info !== null
1418
- ? deserializeAws_restJson1ContainerInfo(smithy_client_1.expectUnion(output.info), context)
1418
+ ? deserializeAws_restJson1ContainerInfo((0, smithy_client_1.expectUnion)(output.info), context)
1419
1419
  : undefined,
1420
- type: smithy_client_1.expectString(output.type),
1420
+ type: (0, smithy_client_1.expectString)(output.type),
1421
1421
  };
1422
1422
  };
1423
1423
  const deserializeAws_restJson1EksInfo = (output, context) => {
1424
1424
  return {
1425
- namespace: smithy_client_1.expectString(output.namespace),
1425
+ namespace: (0, smithy_client_1.expectString)(output.namespace),
1426
1426
  };
1427
1427
  };
1428
1428
  const deserializeAws_restJson1Endpoint = (output, context) => {
1429
1429
  return {
1430
- arn: smithy_client_1.expectString(output.arn),
1431
- certificateArn: smithy_client_1.expectString(output.certificateArn),
1430
+ arn: (0, smithy_client_1.expectString)(output.arn),
1431
+ certificateArn: (0, smithy_client_1.expectString)(output.certificateArn),
1432
1432
  certificateAuthority: output.certificateAuthority !== undefined && output.certificateAuthority !== null
1433
1433
  ? deserializeAws_restJson1Certificate(output.certificateAuthority, context)
1434
1434
  : undefined,
@@ -1436,25 +1436,25 @@ const deserializeAws_restJson1Endpoint = (output, context) => {
1436
1436
  ? deserializeAws_restJson1ConfigurationOverrides(output.configurationOverrides, context)
1437
1437
  : undefined,
1438
1438
  createdAt: output.createdAt !== undefined && output.createdAt !== null
1439
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt)))
1439
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
1440
1440
  : undefined,
1441
- executionRoleArn: smithy_client_1.expectString(output.executionRoleArn),
1442
- failureReason: smithy_client_1.expectString(output.failureReason),
1443
- id: smithy_client_1.expectString(output.id),
1444
- name: smithy_client_1.expectString(output.name),
1445
- releaseLabel: smithy_client_1.expectString(output.releaseLabel),
1446
- securityGroup: smithy_client_1.expectString(output.securityGroup),
1447
- serverUrl: smithy_client_1.expectString(output.serverUrl),
1448
- state: smithy_client_1.expectString(output.state),
1449
- stateDetails: smithy_client_1.expectString(output.stateDetails),
1441
+ executionRoleArn: (0, smithy_client_1.expectString)(output.executionRoleArn),
1442
+ failureReason: (0, smithy_client_1.expectString)(output.failureReason),
1443
+ id: (0, smithy_client_1.expectString)(output.id),
1444
+ name: (0, smithy_client_1.expectString)(output.name),
1445
+ releaseLabel: (0, smithy_client_1.expectString)(output.releaseLabel),
1446
+ securityGroup: (0, smithy_client_1.expectString)(output.securityGroup),
1447
+ serverUrl: (0, smithy_client_1.expectString)(output.serverUrl),
1448
+ state: (0, smithy_client_1.expectString)(output.state),
1449
+ stateDetails: (0, smithy_client_1.expectString)(output.stateDetails),
1450
1450
  subnetIds: output.subnetIds !== undefined && output.subnetIds !== null
1451
1451
  ? deserializeAws_restJson1SubnetIds(output.subnetIds, context)
1452
1452
  : undefined,
1453
1453
  tags: output.tags !== undefined && output.tags !== null
1454
1454
  ? deserializeAws_restJson1TagMap(output.tags, context)
1455
1455
  : undefined,
1456
- type: smithy_client_1.expectString(output.type),
1457
- virtualClusterId: smithy_client_1.expectString(output.virtualClusterId),
1456
+ type: (0, smithy_client_1.expectString)(output.type),
1457
+ virtualClusterId: (0, smithy_client_1.expectString)(output.virtualClusterId),
1458
1458
  };
1459
1459
  };
1460
1460
  const deserializeAws_restJson1Endpoints = (output, context) => {
@@ -1475,7 +1475,7 @@ const deserializeAws_restJson1EntryPointArguments = (output, context) => {
1475
1475
  if (entry === null) {
1476
1476
  return null;
1477
1477
  }
1478
- return smithy_client_1.expectString(entry);
1478
+ return (0, smithy_client_1.expectString)(entry);
1479
1479
  });
1480
1480
  return retVal;
1481
1481
  };
@@ -1488,32 +1488,32 @@ const deserializeAws_restJson1JobDriver = (output, context) => {
1488
1488
  };
1489
1489
  const deserializeAws_restJson1JobRun = (output, context) => {
1490
1490
  return {
1491
- arn: smithy_client_1.expectString(output.arn),
1492
- clientToken: smithy_client_1.expectString(output.clientToken),
1491
+ arn: (0, smithy_client_1.expectString)(output.arn),
1492
+ clientToken: (0, smithy_client_1.expectString)(output.clientToken),
1493
1493
  configurationOverrides: output.configurationOverrides !== undefined && output.configurationOverrides !== null
1494
1494
  ? deserializeAws_restJson1ConfigurationOverrides(output.configurationOverrides, context)
1495
1495
  : undefined,
1496
1496
  createdAt: output.createdAt !== undefined && output.createdAt !== null
1497
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt)))
1497
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
1498
1498
  : undefined,
1499
- createdBy: smithy_client_1.expectString(output.createdBy),
1500
- executionRoleArn: smithy_client_1.expectString(output.executionRoleArn),
1501
- failureReason: smithy_client_1.expectString(output.failureReason),
1499
+ createdBy: (0, smithy_client_1.expectString)(output.createdBy),
1500
+ executionRoleArn: (0, smithy_client_1.expectString)(output.executionRoleArn),
1501
+ failureReason: (0, smithy_client_1.expectString)(output.failureReason),
1502
1502
  finishedAt: output.finishedAt !== undefined && output.finishedAt !== null
1503
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.finishedAt)))
1503
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.finishedAt)))
1504
1504
  : undefined,
1505
- id: smithy_client_1.expectString(output.id),
1505
+ id: (0, smithy_client_1.expectString)(output.id),
1506
1506
  jobDriver: output.jobDriver !== undefined && output.jobDriver !== null
1507
1507
  ? deserializeAws_restJson1JobDriver(output.jobDriver, context)
1508
1508
  : undefined,
1509
- name: smithy_client_1.expectString(output.name),
1510
- releaseLabel: smithy_client_1.expectString(output.releaseLabel),
1511
- state: smithy_client_1.expectString(output.state),
1512
- stateDetails: smithy_client_1.expectString(output.stateDetails),
1509
+ name: (0, smithy_client_1.expectString)(output.name),
1510
+ releaseLabel: (0, smithy_client_1.expectString)(output.releaseLabel),
1511
+ state: (0, smithy_client_1.expectString)(output.state),
1512
+ stateDetails: (0, smithy_client_1.expectString)(output.stateDetails),
1513
1513
  tags: output.tags !== undefined && output.tags !== null
1514
1514
  ? deserializeAws_restJson1TagMap(output.tags, context)
1515
1515
  : undefined,
1516
- virtualClusterId: smithy_client_1.expectString(output.virtualClusterId),
1516
+ virtualClusterId: (0, smithy_client_1.expectString)(output.virtualClusterId),
1517
1517
  };
1518
1518
  };
1519
1519
  const deserializeAws_restJson1JobRuns = (output, context) => {
@@ -1532,7 +1532,7 @@ const deserializeAws_restJson1MonitoringConfiguration = (output, context) => {
1532
1532
  cloudWatchMonitoringConfiguration: output.cloudWatchMonitoringConfiguration !== undefined && output.cloudWatchMonitoringConfiguration !== null
1533
1533
  ? deserializeAws_restJson1CloudWatchMonitoringConfiguration(output.cloudWatchMonitoringConfiguration, context)
1534
1534
  : undefined,
1535
- persistentAppUI: smithy_client_1.expectString(output.persistentAppUI),
1535
+ persistentAppUI: (0, smithy_client_1.expectString)(output.persistentAppUI),
1536
1536
  s3MonitoringConfiguration: output.s3MonitoringConfiguration !== undefined && output.s3MonitoringConfiguration !== null
1537
1537
  ? deserializeAws_restJson1S3MonitoringConfiguration(output.s3MonitoringConfiguration, context)
1538
1538
  : undefined,
@@ -1540,7 +1540,7 @@ const deserializeAws_restJson1MonitoringConfiguration = (output, context) => {
1540
1540
  };
1541
1541
  const deserializeAws_restJson1S3MonitoringConfiguration = (output, context) => {
1542
1542
  return {
1543
- logUri: smithy_client_1.expectString(output.logUri),
1543
+ logUri: (0, smithy_client_1.expectString)(output.logUri),
1544
1544
  };
1545
1545
  };
1546
1546
  const deserializeAws_restJson1SensitivePropertiesMap = (output, context) => {
@@ -1550,17 +1550,17 @@ const deserializeAws_restJson1SensitivePropertiesMap = (output, context) => {
1550
1550
  }
1551
1551
  return {
1552
1552
  ...acc,
1553
- [key]: smithy_client_1.expectString(value),
1553
+ [key]: (0, smithy_client_1.expectString)(value),
1554
1554
  };
1555
1555
  }, {});
1556
1556
  };
1557
1557
  const deserializeAws_restJson1SparkSubmitJobDriver = (output, context) => {
1558
1558
  return {
1559
- entryPoint: smithy_client_1.expectString(output.entryPoint),
1559
+ entryPoint: (0, smithy_client_1.expectString)(output.entryPoint),
1560
1560
  entryPointArguments: output.entryPointArguments !== undefined && output.entryPointArguments !== null
1561
1561
  ? deserializeAws_restJson1EntryPointArguments(output.entryPointArguments, context)
1562
1562
  : undefined,
1563
- sparkSubmitParameters: smithy_client_1.expectString(output.sparkSubmitParameters),
1563
+ sparkSubmitParameters: (0, smithy_client_1.expectString)(output.sparkSubmitParameters),
1564
1564
  };
1565
1565
  };
1566
1566
  const deserializeAws_restJson1SubnetIds = (output, context) => {
@@ -1570,7 +1570,7 @@ const deserializeAws_restJson1SubnetIds = (output, context) => {
1570
1570
  if (entry === null) {
1571
1571
  return null;
1572
1572
  }
1573
- return smithy_client_1.expectString(entry);
1573
+ return (0, smithy_client_1.expectString)(entry);
1574
1574
  });
1575
1575
  return retVal;
1576
1576
  };
@@ -1581,22 +1581,22 @@ const deserializeAws_restJson1TagMap = (output, context) => {
1581
1581
  }
1582
1582
  return {
1583
1583
  ...acc,
1584
- [key]: smithy_client_1.expectString(value),
1584
+ [key]: (0, smithy_client_1.expectString)(value),
1585
1585
  };
1586
1586
  }, {});
1587
1587
  };
1588
1588
  const deserializeAws_restJson1VirtualCluster = (output, context) => {
1589
1589
  return {
1590
- arn: smithy_client_1.expectString(output.arn),
1590
+ arn: (0, smithy_client_1.expectString)(output.arn),
1591
1591
  containerProvider: output.containerProvider !== undefined && output.containerProvider !== null
1592
1592
  ? deserializeAws_restJson1ContainerProvider(output.containerProvider, context)
1593
1593
  : undefined,
1594
1594
  createdAt: output.createdAt !== undefined && output.createdAt !== null
1595
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt)))
1595
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
1596
1596
  : undefined,
1597
- id: smithy_client_1.expectString(output.id),
1598
- name: smithy_client_1.expectString(output.name),
1599
- state: smithy_client_1.expectString(output.state),
1597
+ id: (0, smithy_client_1.expectString)(output.id),
1598
+ name: (0, smithy_client_1.expectString)(output.name),
1599
+ state: (0, smithy_client_1.expectString)(output.state),
1600
1600
  tags: output.tags !== undefined && output.tags !== null
1601
1601
  ? deserializeAws_restJson1TagMap(output.tags, context)
1602
1602
  : undefined,