@aws-sdk/client-emr-containers 3.30.0 → 3.34.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 (114) hide show
  1. package/CHANGELOG.md +35 -0
  2. package/dist/cjs/EMRContainersClient.js +13 -13
  3. package/dist/cjs/EMRContainersClient.js.map +1 -1
  4. package/dist/cjs/commands/CancelJobRunCommand.js +3 -3
  5. package/dist/cjs/commands/CancelJobRunCommand.js.map +1 -1
  6. package/dist/cjs/commands/CreateManagedEndpointCommand.js +3 -3
  7. package/dist/cjs/commands/CreateManagedEndpointCommand.js.map +1 -1
  8. package/dist/cjs/commands/CreateVirtualClusterCommand.js +3 -3
  9. package/dist/cjs/commands/CreateVirtualClusterCommand.js.map +1 -1
  10. package/dist/cjs/commands/DeleteManagedEndpointCommand.js +3 -3
  11. package/dist/cjs/commands/DeleteManagedEndpointCommand.js.map +1 -1
  12. package/dist/cjs/commands/DeleteVirtualClusterCommand.js +3 -3
  13. package/dist/cjs/commands/DeleteVirtualClusterCommand.js.map +1 -1
  14. package/dist/cjs/commands/DescribeJobRunCommand.js +3 -3
  15. package/dist/cjs/commands/DescribeJobRunCommand.js.map +1 -1
  16. package/dist/cjs/commands/DescribeManagedEndpointCommand.js +3 -3
  17. package/dist/cjs/commands/DescribeManagedEndpointCommand.js.map +1 -1
  18. package/dist/cjs/commands/DescribeVirtualClusterCommand.js +3 -3
  19. package/dist/cjs/commands/DescribeVirtualClusterCommand.js.map +1 -1
  20. package/dist/cjs/commands/ListJobRunsCommand.js +3 -3
  21. package/dist/cjs/commands/ListJobRunsCommand.js.map +1 -1
  22. package/dist/cjs/commands/ListManagedEndpointsCommand.js +3 -3
  23. package/dist/cjs/commands/ListManagedEndpointsCommand.js.map +1 -1
  24. package/dist/cjs/commands/ListTagsForResourceCommand.js +3 -3
  25. package/dist/cjs/commands/ListTagsForResourceCommand.js.map +1 -1
  26. package/dist/cjs/commands/ListVirtualClustersCommand.js +3 -3
  27. package/dist/cjs/commands/ListVirtualClustersCommand.js.map +1 -1
  28. package/dist/cjs/commands/StartJobRunCommand.js +3 -3
  29. package/dist/cjs/commands/StartJobRunCommand.js.map +1 -1
  30. package/dist/cjs/commands/TagResourceCommand.js +3 -3
  31. package/dist/cjs/commands/TagResourceCommand.js.map +1 -1
  32. package/dist/cjs/commands/UntagResourceCommand.js +3 -3
  33. package/dist/cjs/commands/UntagResourceCommand.js.map +1 -1
  34. package/dist/cjs/endpoints.js +1 -1
  35. package/dist/cjs/endpoints.js.map +1 -1
  36. package/dist/cjs/index.js +22 -22
  37. package/dist/cjs/index.js.map +1 -1
  38. package/dist/cjs/models/index.js +1 -1
  39. package/dist/cjs/models/index.js.map +1 -1
  40. package/dist/cjs/package.json +39 -39
  41. package/dist/cjs/protocols/Aws_restJson1.js +102 -102
  42. package/dist/cjs/protocols/Aws_restJson1.js.map +1 -1
  43. package/dist/cjs/runtimeConfig.browser.js +4 -4
  44. package/dist/cjs/runtimeConfig.browser.js.map +1 -1
  45. package/dist/cjs/runtimeConfig.js +8 -8
  46. package/dist/cjs/runtimeConfig.js.map +1 -1
  47. package/dist/cjs/runtimeConfig.native.js +1 -1
  48. package/dist/cjs/runtimeConfig.native.js.map +1 -1
  49. package/dist/es/EMRContainers.js +1 -25
  50. package/dist/es/EMRContainers.js.map +1 -1
  51. package/dist/es/EMRContainersClient.js +1 -30
  52. package/dist/es/EMRContainersClient.js.map +1 -1
  53. package/dist/es/commands/CancelJobRunCommand.js +2 -27
  54. package/dist/es/commands/CancelJobRunCommand.js.map +1 -1
  55. package/dist/es/commands/CreateManagedEndpointCommand.js +2 -27
  56. package/dist/es/commands/CreateManagedEndpointCommand.js.map +1 -1
  57. package/dist/es/commands/CreateVirtualClusterCommand.js +2 -27
  58. package/dist/es/commands/CreateVirtualClusterCommand.js.map +1 -1
  59. package/dist/es/commands/DeleteManagedEndpointCommand.js +2 -27
  60. package/dist/es/commands/DeleteManagedEndpointCommand.js.map +1 -1
  61. package/dist/es/commands/DeleteVirtualClusterCommand.js +2 -27
  62. package/dist/es/commands/DeleteVirtualClusterCommand.js.map +1 -1
  63. package/dist/es/commands/DescribeJobRunCommand.js +2 -27
  64. package/dist/es/commands/DescribeJobRunCommand.js.map +1 -1
  65. package/dist/es/commands/DescribeManagedEndpointCommand.js +2 -27
  66. package/dist/es/commands/DescribeManagedEndpointCommand.js.map +1 -1
  67. package/dist/es/commands/DescribeVirtualClusterCommand.js +2 -27
  68. package/dist/es/commands/DescribeVirtualClusterCommand.js.map +1 -1
  69. package/dist/es/commands/ListJobRunsCommand.js +2 -27
  70. package/dist/es/commands/ListJobRunsCommand.js.map +1 -1
  71. package/dist/es/commands/ListManagedEndpointsCommand.js +2 -27
  72. package/dist/es/commands/ListManagedEndpointsCommand.js.map +1 -1
  73. package/dist/es/commands/ListTagsForResourceCommand.js +2 -27
  74. package/dist/es/commands/ListTagsForResourceCommand.js.map +1 -1
  75. package/dist/es/commands/ListVirtualClustersCommand.js +2 -27
  76. package/dist/es/commands/ListVirtualClustersCommand.js.map +1 -1
  77. package/dist/es/commands/StartJobRunCommand.js +2 -27
  78. package/dist/es/commands/StartJobRunCommand.js.map +1 -1
  79. package/dist/es/commands/TagResourceCommand.js +2 -27
  80. package/dist/es/commands/TagResourceCommand.js.map +1 -1
  81. package/dist/es/commands/UntagResourceCommand.js +2 -27
  82. package/dist/es/commands/UntagResourceCommand.js.map +1 -1
  83. package/dist/es/endpoints.js +1 -1
  84. package/dist/es/endpoints.js.map +1 -1
  85. package/dist/es/models/models_0.js +0 -138
  86. package/dist/es/models/models_0.js.map +1 -1
  87. package/dist/es/package.json +39 -39
  88. package/dist/es/pagination/ListJobRunsPaginator.js +16 -28
  89. package/dist/es/pagination/ListJobRunsPaginator.js.map +1 -1
  90. package/dist/es/pagination/ListManagedEndpointsPaginator.js +16 -28
  91. package/dist/es/pagination/ListManagedEndpointsPaginator.js.map +1 -1
  92. package/dist/es/pagination/ListVirtualClustersPaginator.js +16 -28
  93. package/dist/es/pagination/ListVirtualClustersPaginator.js.map +1 -1
  94. package/dist/es/protocols/Aws_restJson1.js +294 -299
  95. package/dist/es/protocols/Aws_restJson1.js.map +1 -1
  96. package/dist/es/runtimeConfig.browser.js +0 -3
  97. package/dist/es/runtimeConfig.browser.js.map +1 -1
  98. package/dist/es/runtimeConfig.js +0 -3
  99. package/dist/es/runtimeConfig.js.map +1 -1
  100. package/dist/es/runtimeConfig.native.js +0 -3
  101. package/dist/es/runtimeConfig.native.js.map +1 -1
  102. package/dist/es/runtimeConfig.shared.js +0 -3
  103. package/dist/es/runtimeConfig.shared.js.map +1 -1
  104. package/dist/types/runtimeConfig.browser.d.ts +1 -0
  105. package/dist/types/runtimeConfig.d.ts +1 -0
  106. package/dist/types/runtimeConfig.native.d.ts +1 -0
  107. package/dist/types/ts3.4/runtimeConfig.browser.d.ts +1 -0
  108. package/dist/types/ts3.4/runtimeConfig.d.ts +1 -0
  109. package/dist/types/ts3.4/runtimeConfig.native.d.ts +1 -0
  110. package/package.json +39 -39
  111. package/protocols/Aws_restJson1.ts +8 -5
  112. package/tsconfig.es.json +0 -2
  113. package/tsconfig.json +3 -5
  114. package/tsconfig.types.json +8 -0
@@ -15,7 +15,7 @@ const serializeAws_restJson1CancelJobRunCommand = async (input, context) => {
15
15
  if (labelValue.length <= 0) {
16
16
  throw new Error("Empty value provided for input HTTP label: id.");
17
17
  }
18
- resolvedPath = resolvedPath.replace("{id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
18
+ resolvedPath = resolvedPath.replace("{id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
19
19
  }
20
20
  else {
21
21
  throw new Error("No value provided for input HTTP label: id.");
@@ -25,7 +25,7 @@ const serializeAws_restJson1CancelJobRunCommand = async (input, context) => {
25
25
  if (labelValue.length <= 0) {
26
26
  throw new Error("Empty value provided for input HTTP label: virtualClusterId.");
27
27
  }
28
- resolvedPath = resolvedPath.replace("{virtualClusterId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
28
+ resolvedPath = resolvedPath.replace("{virtualClusterId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
29
29
  }
30
30
  else {
31
31
  throw new Error("No value provided for input HTTP label: virtualClusterId.");
@@ -55,7 +55,7 @@ const serializeAws_restJson1CreateManagedEndpointCommand = async (input, context
55
55
  if (labelValue.length <= 0) {
56
56
  throw new Error("Empty value provided for input HTTP label: virtualClusterId.");
57
57
  }
58
- resolvedPath = resolvedPath.replace("{virtualClusterId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
58
+ resolvedPath = resolvedPath.replace("{virtualClusterId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
59
59
  }
60
60
  else {
61
61
  throw new Error("No value provided for input HTTP label: virtualClusterId.");
@@ -64,7 +64,7 @@ const serializeAws_restJson1CreateManagedEndpointCommand = async (input, context
64
64
  body = JSON.stringify({
65
65
  ...(input.certificateArn !== undefined &&
66
66
  input.certificateArn !== null && { certificateArn: input.certificateArn }),
67
- clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
67
+ clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
68
68
  ...(input.configurationOverrides !== undefined &&
69
69
  input.configurationOverrides !== null && {
70
70
  configurationOverrides: serializeAws_restJson1ConfigurationOverrides(input.configurationOverrides, context),
@@ -96,7 +96,7 @@ const serializeAws_restJson1CreateVirtualClusterCommand = async (input, context)
96
96
  let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/virtualclusters";
97
97
  let body;
98
98
  body = JSON.stringify({
99
- clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
99
+ clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
100
100
  ...(input.containerProvider !== undefined &&
101
101
  input.containerProvider !== null && {
102
102
  containerProvider: serializeAws_restJson1ContainerProvider(input.containerProvider, context),
@@ -125,7 +125,7 @@ const serializeAws_restJson1DeleteManagedEndpointCommand = async (input, context
125
125
  if (labelValue.length <= 0) {
126
126
  throw new Error("Empty value provided for input HTTP label: id.");
127
127
  }
128
- resolvedPath = resolvedPath.replace("{id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
128
+ resolvedPath = resolvedPath.replace("{id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
129
129
  }
130
130
  else {
131
131
  throw new Error("No value provided for input HTTP label: id.");
@@ -135,7 +135,7 @@ const serializeAws_restJson1DeleteManagedEndpointCommand = async (input, context
135
135
  if (labelValue.length <= 0) {
136
136
  throw new Error("Empty value provided for input HTTP label: virtualClusterId.");
137
137
  }
138
- resolvedPath = resolvedPath.replace("{virtualClusterId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
138
+ resolvedPath = resolvedPath.replace("{virtualClusterId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
139
139
  }
140
140
  else {
141
141
  throw new Error("No value provided for input HTTP label: virtualClusterId.");
@@ -161,7 +161,7 @@ const serializeAws_restJson1DeleteVirtualClusterCommand = async (input, context)
161
161
  if (labelValue.length <= 0) {
162
162
  throw new Error("Empty value provided for input HTTP label: id.");
163
163
  }
164
- resolvedPath = resolvedPath.replace("{id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
164
+ resolvedPath = resolvedPath.replace("{id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
165
165
  }
166
166
  else {
167
167
  throw new Error("No value provided for input HTTP label: id.");
@@ -188,7 +188,7 @@ const serializeAws_restJson1DescribeJobRunCommand = async (input, context) => {
188
188
  if (labelValue.length <= 0) {
189
189
  throw new Error("Empty value provided for input HTTP label: id.");
190
190
  }
191
- resolvedPath = resolvedPath.replace("{id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
191
+ resolvedPath = resolvedPath.replace("{id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
192
192
  }
193
193
  else {
194
194
  throw new Error("No value provided for input HTTP label: id.");
@@ -198,7 +198,7 @@ const serializeAws_restJson1DescribeJobRunCommand = async (input, context) => {
198
198
  if (labelValue.length <= 0) {
199
199
  throw new Error("Empty value provided for input HTTP label: virtualClusterId.");
200
200
  }
201
- resolvedPath = resolvedPath.replace("{virtualClusterId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
201
+ resolvedPath = resolvedPath.replace("{virtualClusterId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
202
202
  }
203
203
  else {
204
204
  throw new Error("No value provided for input HTTP label: virtualClusterId.");
@@ -225,7 +225,7 @@ const serializeAws_restJson1DescribeManagedEndpointCommand = async (input, conte
225
225
  if (labelValue.length <= 0) {
226
226
  throw new Error("Empty value provided for input HTTP label: id.");
227
227
  }
228
- resolvedPath = resolvedPath.replace("{id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
228
+ resolvedPath = resolvedPath.replace("{id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
229
229
  }
230
230
  else {
231
231
  throw new Error("No value provided for input HTTP label: id.");
@@ -235,7 +235,7 @@ const serializeAws_restJson1DescribeManagedEndpointCommand = async (input, conte
235
235
  if (labelValue.length <= 0) {
236
236
  throw new Error("Empty value provided for input HTTP label: virtualClusterId.");
237
237
  }
238
- resolvedPath = resolvedPath.replace("{virtualClusterId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
238
+ resolvedPath = resolvedPath.replace("{virtualClusterId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
239
239
  }
240
240
  else {
241
241
  throw new Error("No value provided for input HTTP label: virtualClusterId.");
@@ -261,7 +261,7 @@ const serializeAws_restJson1DescribeVirtualClusterCommand = async (input, contex
261
261
  if (labelValue.length <= 0) {
262
262
  throw new Error("Empty value provided for input HTTP label: id.");
263
263
  }
264
- resolvedPath = resolvedPath.replace("{id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
264
+ resolvedPath = resolvedPath.replace("{id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
265
265
  }
266
266
  else {
267
267
  throw new Error("No value provided for input HTTP label: id.");
@@ -288,7 +288,7 @@ const serializeAws_restJson1ListJobRunsCommand = async (input, context) => {
288
288
  if (labelValue.length <= 0) {
289
289
  throw new Error("Empty value provided for input HTTP label: virtualClusterId.");
290
290
  }
291
- resolvedPath = resolvedPath.replace("{virtualClusterId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
291
+ resolvedPath = resolvedPath.replace("{virtualClusterId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
292
292
  }
293
293
  else {
294
294
  throw new Error("No value provided for input HTTP label: virtualClusterId.");
@@ -328,7 +328,7 @@ const serializeAws_restJson1ListManagedEndpointsCommand = async (input, context)
328
328
  if (labelValue.length <= 0) {
329
329
  throw new Error("Empty value provided for input HTTP label: virtualClusterId.");
330
330
  }
331
- resolvedPath = resolvedPath.replace("{virtualClusterId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
331
+ resolvedPath = resolvedPath.replace("{virtualClusterId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
332
332
  }
333
333
  else {
334
334
  throw new Error("No value provided for input HTTP label: virtualClusterId.");
@@ -367,7 +367,7 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
367
367
  if (labelValue.length <= 0) {
368
368
  throw new Error("Empty value provided for input HTTP label: resourceArn.");
369
369
  }
370
- resolvedPath = resolvedPath.replace("{resourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
370
+ resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
371
371
  }
372
372
  else {
373
373
  throw new Error("No value provided for input HTTP label: resourceArn.");
@@ -427,14 +427,14 @@ const serializeAws_restJson1StartJobRunCommand = async (input, context) => {
427
427
  if (labelValue.length <= 0) {
428
428
  throw new Error("Empty value provided for input HTTP label: virtualClusterId.");
429
429
  }
430
- resolvedPath = resolvedPath.replace("{virtualClusterId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
430
+ resolvedPath = resolvedPath.replace("{virtualClusterId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
431
431
  }
432
432
  else {
433
433
  throw new Error("No value provided for input HTTP label: virtualClusterId.");
434
434
  }
435
435
  let body;
436
436
  body = JSON.stringify({
437
- clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
437
+ clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
438
438
  ...(input.configurationOverrides !== undefined &&
439
439
  input.configurationOverrides !== null && {
440
440
  configurationOverrides: serializeAws_restJson1ConfigurationOverrides(input.configurationOverrides, context),
@@ -469,7 +469,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
469
469
  if (labelValue.length <= 0) {
470
470
  throw new Error("Empty value provided for input HTTP label: resourceArn.");
471
471
  }
472
- resolvedPath = resolvedPath.replace("{resourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
472
+ resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
473
473
  }
474
474
  else {
475
475
  throw new Error("No value provided for input HTTP label: resourceArn.");
@@ -498,7 +498,7 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
498
498
  if (labelValue.length <= 0) {
499
499
  throw new Error("Empty value provided for input HTTP label: resourceArn.");
500
500
  }
501
- resolvedPath = resolvedPath.replace("{resourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
501
+ resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
502
502
  }
503
503
  else {
504
504
  throw new Error("No value provided for input HTTP label: resourceArn.");
@@ -528,12 +528,12 @@ const deserializeAws_restJson1CancelJobRunCommand = async (output, context) => {
528
528
  id: undefined,
529
529
  virtualClusterId: undefined,
530
530
  };
531
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
531
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
532
532
  if (data.id !== undefined && data.id !== null) {
533
- contents.id = (0, smithy_client_1.expectString)(data.id);
533
+ contents.id = smithy_client_1.expectString(data.id);
534
534
  }
535
535
  if (data.virtualClusterId !== undefined && data.virtualClusterId !== null) {
536
- contents.virtualClusterId = (0, smithy_client_1.expectString)(data.virtualClusterId);
536
+ contents.virtualClusterId = smithy_client_1.expectString(data.virtualClusterId);
537
537
  }
538
538
  return Promise.resolve(contents);
539
539
  };
@@ -590,18 +590,18 @@ const deserializeAws_restJson1CreateManagedEndpointCommand = async (output, cont
590
590
  name: undefined,
591
591
  virtualClusterId: undefined,
592
592
  };
593
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
593
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
594
594
  if (data.arn !== undefined && data.arn !== null) {
595
- contents.arn = (0, smithy_client_1.expectString)(data.arn);
595
+ contents.arn = smithy_client_1.expectString(data.arn);
596
596
  }
597
597
  if (data.id !== undefined && data.id !== null) {
598
- contents.id = (0, smithy_client_1.expectString)(data.id);
598
+ contents.id = smithy_client_1.expectString(data.id);
599
599
  }
600
600
  if (data.name !== undefined && data.name !== null) {
601
- contents.name = (0, smithy_client_1.expectString)(data.name);
601
+ contents.name = smithy_client_1.expectString(data.name);
602
602
  }
603
603
  if (data.virtualClusterId !== undefined && data.virtualClusterId !== null) {
604
- contents.virtualClusterId = (0, smithy_client_1.expectString)(data.virtualClusterId);
604
+ contents.virtualClusterId = smithy_client_1.expectString(data.virtualClusterId);
605
605
  }
606
606
  return Promise.resolve(contents);
607
607
  };
@@ -665,15 +665,15 @@ const deserializeAws_restJson1CreateVirtualClusterCommand = async (output, conte
665
665
  id: undefined,
666
666
  name: undefined,
667
667
  };
668
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
668
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
669
669
  if (data.arn !== undefined && data.arn !== null) {
670
- contents.arn = (0, smithy_client_1.expectString)(data.arn);
670
+ contents.arn = smithy_client_1.expectString(data.arn);
671
671
  }
672
672
  if (data.id !== undefined && data.id !== null) {
673
- contents.id = (0, smithy_client_1.expectString)(data.id);
673
+ contents.id = smithy_client_1.expectString(data.id);
674
674
  }
675
675
  if (data.name !== undefined && data.name !== null) {
676
- contents.name = (0, smithy_client_1.expectString)(data.name);
676
+ contents.name = smithy_client_1.expectString(data.name);
677
677
  }
678
678
  return Promise.resolve(contents);
679
679
  };
@@ -736,12 +736,12 @@ const deserializeAws_restJson1DeleteManagedEndpointCommand = async (output, cont
736
736
  id: undefined,
737
737
  virtualClusterId: undefined,
738
738
  };
739
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
739
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
740
740
  if (data.id !== undefined && data.id !== null) {
741
- contents.id = (0, smithy_client_1.expectString)(data.id);
741
+ contents.id = smithy_client_1.expectString(data.id);
742
742
  }
743
743
  if (data.virtualClusterId !== undefined && data.virtualClusterId !== null) {
744
- contents.virtualClusterId = (0, smithy_client_1.expectString)(data.virtualClusterId);
744
+ contents.virtualClusterId = smithy_client_1.expectString(data.virtualClusterId);
745
745
  }
746
746
  return Promise.resolve(contents);
747
747
  };
@@ -795,9 +795,9 @@ const deserializeAws_restJson1DeleteVirtualClusterCommand = async (output, conte
795
795
  $metadata: deserializeMetadata(output),
796
796
  id: undefined,
797
797
  };
798
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
798
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
799
799
  if (data.id !== undefined && data.id !== null) {
800
- contents.id = (0, smithy_client_1.expectString)(data.id);
800
+ contents.id = smithy_client_1.expectString(data.id);
801
801
  }
802
802
  return Promise.resolve(contents);
803
803
  };
@@ -851,7 +851,7 @@ const deserializeAws_restJson1DescribeJobRunCommand = async (output, context) =>
851
851
  $metadata: deserializeMetadata(output),
852
852
  jobRun: undefined,
853
853
  };
854
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
854
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
855
855
  if (data.jobRun !== undefined && data.jobRun !== null) {
856
856
  contents.jobRun = deserializeAws_restJson1JobRun(data.jobRun, context);
857
857
  }
@@ -915,7 +915,7 @@ const deserializeAws_restJson1DescribeManagedEndpointCommand = async (output, co
915
915
  $metadata: deserializeMetadata(output),
916
916
  endpoint: undefined,
917
917
  };
918
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
918
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
919
919
  if (data.endpoint !== undefined && data.endpoint !== null) {
920
920
  contents.endpoint = deserializeAws_restJson1Endpoint(data.endpoint, context);
921
921
  }
@@ -979,7 +979,7 @@ const deserializeAws_restJson1DescribeVirtualClusterCommand = async (output, con
979
979
  $metadata: deserializeMetadata(output),
980
980
  virtualCluster: undefined,
981
981
  };
982
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
982
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
983
983
  if (data.virtualCluster !== undefined && data.virtualCluster !== null) {
984
984
  contents.virtualCluster = deserializeAws_restJson1VirtualCluster(data.virtualCluster, context);
985
985
  }
@@ -1044,12 +1044,12 @@ const deserializeAws_restJson1ListJobRunsCommand = async (output, context) => {
1044
1044
  jobRuns: undefined,
1045
1045
  nextToken: undefined,
1046
1046
  };
1047
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1047
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1048
1048
  if (data.jobRuns !== undefined && data.jobRuns !== null) {
1049
1049
  contents.jobRuns = deserializeAws_restJson1JobRuns(data.jobRuns, context);
1050
1050
  }
1051
1051
  if (data.nextToken !== undefined && data.nextToken !== null) {
1052
- contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1052
+ contents.nextToken = smithy_client_1.expectString(data.nextToken);
1053
1053
  }
1054
1054
  return Promise.resolve(contents);
1055
1055
  };
@@ -1104,12 +1104,12 @@ const deserializeAws_restJson1ListManagedEndpointsCommand = async (output, conte
1104
1104
  endpoints: undefined,
1105
1105
  nextToken: undefined,
1106
1106
  };
1107
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1107
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1108
1108
  if (data.endpoints !== undefined && data.endpoints !== null) {
1109
1109
  contents.endpoints = deserializeAws_restJson1Endpoints(data.endpoints, context);
1110
1110
  }
1111
1111
  if (data.nextToken !== undefined && data.nextToken !== null) {
1112
- contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1112
+ contents.nextToken = smithy_client_1.expectString(data.nextToken);
1113
1113
  }
1114
1114
  return Promise.resolve(contents);
1115
1115
  };
@@ -1163,7 +1163,7 @@ const deserializeAws_restJson1ListTagsForResourceCommand = async (output, contex
1163
1163
  $metadata: deserializeMetadata(output),
1164
1164
  tags: undefined,
1165
1165
  };
1166
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1166
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1167
1167
  if (data.tags !== undefined && data.tags !== null) {
1168
1168
  contents.tags = deserializeAws_restJson1TagMap(data.tags, context);
1169
1169
  }
@@ -1228,9 +1228,9 @@ const deserializeAws_restJson1ListVirtualClustersCommand = async (output, contex
1228
1228
  nextToken: undefined,
1229
1229
  virtualClusters: undefined,
1230
1230
  };
1231
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1231
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1232
1232
  if (data.nextToken !== undefined && data.nextToken !== null) {
1233
- contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1233
+ contents.nextToken = smithy_client_1.expectString(data.nextToken);
1234
1234
  }
1235
1235
  if (data.virtualClusters !== undefined && data.virtualClusters !== null) {
1236
1236
  contents.virtualClusters = deserializeAws_restJson1VirtualClusters(data.virtualClusters, context);
@@ -1290,18 +1290,18 @@ const deserializeAws_restJson1StartJobRunCommand = async (output, context) => {
1290
1290
  name: undefined,
1291
1291
  virtualClusterId: undefined,
1292
1292
  };
1293
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1293
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1294
1294
  if (data.arn !== undefined && data.arn !== null) {
1295
- contents.arn = (0, smithy_client_1.expectString)(data.arn);
1295
+ contents.arn = smithy_client_1.expectString(data.arn);
1296
1296
  }
1297
1297
  if (data.id !== undefined && data.id !== null) {
1298
- contents.id = (0, smithy_client_1.expectString)(data.id);
1298
+ contents.id = smithy_client_1.expectString(data.id);
1299
1299
  }
1300
1300
  if (data.name !== undefined && data.name !== null) {
1301
- contents.name = (0, smithy_client_1.expectString)(data.name);
1301
+ contents.name = smithy_client_1.expectString(data.name);
1302
1302
  }
1303
1303
  if (data.virtualClusterId !== undefined && data.virtualClusterId !== null) {
1304
- contents.virtualClusterId = (0, smithy_client_1.expectString)(data.virtualClusterId);
1304
+ contents.virtualClusterId = smithy_client_1.expectString(data.virtualClusterId);
1305
1305
  }
1306
1306
  return Promise.resolve(contents);
1307
1307
  };
@@ -1484,7 +1484,7 @@ const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOut
1484
1484
  };
1485
1485
  const data = parsedOutput.body;
1486
1486
  if (data.message !== undefined && data.message !== null) {
1487
- contents.message = (0, smithy_client_1.expectString)(data.message);
1487
+ contents.message = smithy_client_1.expectString(data.message);
1488
1488
  }
1489
1489
  return contents;
1490
1490
  };
@@ -1497,7 +1497,7 @@ const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedO
1497
1497
  };
1498
1498
  const data = parsedOutput.body;
1499
1499
  if (data.message !== undefined && data.message !== null) {
1500
- contents.message = (0, smithy_client_1.expectString)(data.message);
1500
+ contents.message = smithy_client_1.expectString(data.message);
1501
1501
  }
1502
1502
  return contents;
1503
1503
  };
@@ -1510,7 +1510,7 @@ const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput,
1510
1510
  };
1511
1511
  const data = parsedOutput.body;
1512
1512
  if (data.message !== undefined && data.message !== null) {
1513
- contents.message = (0, smithy_client_1.expectString)(data.message);
1513
+ contents.message = smithy_client_1.expectString(data.message);
1514
1514
  }
1515
1515
  return contents;
1516
1516
  };
@@ -1648,13 +1648,13 @@ const serializeAws_restJson1TagMap = (input, context) => {
1648
1648
  };
1649
1649
  const deserializeAws_restJson1CloudWatchMonitoringConfiguration = (output, context) => {
1650
1650
  return {
1651
- logGroupName: (0, smithy_client_1.expectString)(output.logGroupName),
1652
- logStreamNamePrefix: (0, smithy_client_1.expectString)(output.logStreamNamePrefix),
1651
+ logGroupName: smithy_client_1.expectString(output.logGroupName),
1652
+ logStreamNamePrefix: smithy_client_1.expectString(output.logStreamNamePrefix),
1653
1653
  };
1654
1654
  };
1655
1655
  const deserializeAws_restJson1Configuration = (output, context) => {
1656
1656
  return {
1657
- classification: (0, smithy_client_1.expectString)(output.classification),
1657
+ classification: smithy_client_1.expectString(output.classification),
1658
1658
  configurations: output.configurations !== undefined && output.configurations !== null
1659
1659
  ? deserializeAws_restJson1ConfigurationList(output.configurations, context)
1660
1660
  : undefined,
@@ -1693,45 +1693,45 @@ const deserializeAws_restJson1ContainerInfo = (output, context) => {
1693
1693
  };
1694
1694
  const deserializeAws_restJson1ContainerProvider = (output, context) => {
1695
1695
  return {
1696
- id: (0, smithy_client_1.expectString)(output.id),
1696
+ id: smithy_client_1.expectString(output.id),
1697
1697
  info: output.info !== undefined && output.info !== null
1698
- ? deserializeAws_restJson1ContainerInfo(output.info, context)
1698
+ ? deserializeAws_restJson1ContainerInfo(smithy_client_1.expectUnion(output.info), context)
1699
1699
  : undefined,
1700
- type: (0, smithy_client_1.expectString)(output.type),
1700
+ type: smithy_client_1.expectString(output.type),
1701
1701
  };
1702
1702
  };
1703
1703
  const deserializeAws_restJson1EksInfo = (output, context) => {
1704
1704
  return {
1705
- namespace: (0, smithy_client_1.expectString)(output.namespace),
1705
+ namespace: smithy_client_1.expectString(output.namespace),
1706
1706
  };
1707
1707
  };
1708
1708
  const deserializeAws_restJson1Endpoint = (output, context) => {
1709
1709
  return {
1710
- arn: (0, smithy_client_1.expectString)(output.arn),
1711
- certificateArn: (0, smithy_client_1.expectString)(output.certificateArn),
1710
+ arn: smithy_client_1.expectString(output.arn),
1711
+ certificateArn: smithy_client_1.expectString(output.certificateArn),
1712
1712
  configurationOverrides: output.configurationOverrides !== undefined && output.configurationOverrides !== null
1713
1713
  ? deserializeAws_restJson1ConfigurationOverrides(output.configurationOverrides, context)
1714
1714
  : undefined,
1715
1715
  createdAt: output.createdAt !== undefined && output.createdAt !== null
1716
- ? new Date(Math.round(output.createdAt * 1000))
1716
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt)))
1717
1717
  : undefined,
1718
- executionRoleArn: (0, smithy_client_1.expectString)(output.executionRoleArn),
1719
- failureReason: (0, smithy_client_1.expectString)(output.failureReason),
1720
- id: (0, smithy_client_1.expectString)(output.id),
1721
- name: (0, smithy_client_1.expectString)(output.name),
1722
- releaseLabel: (0, smithy_client_1.expectString)(output.releaseLabel),
1723
- securityGroup: (0, smithy_client_1.expectString)(output.securityGroup),
1724
- serverUrl: (0, smithy_client_1.expectString)(output.serverUrl),
1725
- state: (0, smithy_client_1.expectString)(output.state),
1726
- stateDetails: (0, smithy_client_1.expectString)(output.stateDetails),
1718
+ executionRoleArn: smithy_client_1.expectString(output.executionRoleArn),
1719
+ failureReason: smithy_client_1.expectString(output.failureReason),
1720
+ id: smithy_client_1.expectString(output.id),
1721
+ name: smithy_client_1.expectString(output.name),
1722
+ releaseLabel: smithy_client_1.expectString(output.releaseLabel),
1723
+ securityGroup: smithy_client_1.expectString(output.securityGroup),
1724
+ serverUrl: smithy_client_1.expectString(output.serverUrl),
1725
+ state: smithy_client_1.expectString(output.state),
1726
+ stateDetails: smithy_client_1.expectString(output.stateDetails),
1727
1727
  subnetIds: output.subnetIds !== undefined && output.subnetIds !== null
1728
1728
  ? deserializeAws_restJson1SubnetIds(output.subnetIds, context)
1729
1729
  : undefined,
1730
1730
  tags: output.tags !== undefined && output.tags !== null
1731
1731
  ? deserializeAws_restJson1TagMap(output.tags, context)
1732
1732
  : undefined,
1733
- type: (0, smithy_client_1.expectString)(output.type),
1734
- virtualClusterId: (0, smithy_client_1.expectString)(output.virtualClusterId),
1733
+ type: smithy_client_1.expectString(output.type),
1734
+ virtualClusterId: smithy_client_1.expectString(output.virtualClusterId),
1735
1735
  };
1736
1736
  };
1737
1737
  const deserializeAws_restJson1Endpoints = (output, context) => {
@@ -1751,7 +1751,7 @@ const deserializeAws_restJson1EntryPointArguments = (output, context) => {
1751
1751
  if (entry === null) {
1752
1752
  return null;
1753
1753
  }
1754
- return (0, smithy_client_1.expectString)(entry);
1754
+ return smithy_client_1.expectString(entry);
1755
1755
  });
1756
1756
  };
1757
1757
  const deserializeAws_restJson1JobDriver = (output, context) => {
@@ -1763,32 +1763,32 @@ const deserializeAws_restJson1JobDriver = (output, context) => {
1763
1763
  };
1764
1764
  const deserializeAws_restJson1JobRun = (output, context) => {
1765
1765
  return {
1766
- arn: (0, smithy_client_1.expectString)(output.arn),
1767
- clientToken: (0, smithy_client_1.expectString)(output.clientToken),
1766
+ arn: smithy_client_1.expectString(output.arn),
1767
+ clientToken: smithy_client_1.expectString(output.clientToken),
1768
1768
  configurationOverrides: output.configurationOverrides !== undefined && output.configurationOverrides !== null
1769
1769
  ? deserializeAws_restJson1ConfigurationOverrides(output.configurationOverrides, context)
1770
1770
  : undefined,
1771
1771
  createdAt: output.createdAt !== undefined && output.createdAt !== null
1772
- ? new Date(Math.round(output.createdAt * 1000))
1772
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt)))
1773
1773
  : undefined,
1774
- createdBy: (0, smithy_client_1.expectString)(output.createdBy),
1775
- executionRoleArn: (0, smithy_client_1.expectString)(output.executionRoleArn),
1776
- failureReason: (0, smithy_client_1.expectString)(output.failureReason),
1774
+ createdBy: smithy_client_1.expectString(output.createdBy),
1775
+ executionRoleArn: smithy_client_1.expectString(output.executionRoleArn),
1776
+ failureReason: smithy_client_1.expectString(output.failureReason),
1777
1777
  finishedAt: output.finishedAt !== undefined && output.finishedAt !== null
1778
- ? new Date(Math.round(output.finishedAt * 1000))
1778
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.finishedAt)))
1779
1779
  : undefined,
1780
- id: (0, smithy_client_1.expectString)(output.id),
1780
+ id: smithy_client_1.expectString(output.id),
1781
1781
  jobDriver: output.jobDriver !== undefined && output.jobDriver !== null
1782
1782
  ? deserializeAws_restJson1JobDriver(output.jobDriver, context)
1783
1783
  : undefined,
1784
- name: (0, smithy_client_1.expectString)(output.name),
1785
- releaseLabel: (0, smithy_client_1.expectString)(output.releaseLabel),
1786
- state: (0, smithy_client_1.expectString)(output.state),
1787
- stateDetails: (0, smithy_client_1.expectString)(output.stateDetails),
1784
+ name: smithy_client_1.expectString(output.name),
1785
+ releaseLabel: smithy_client_1.expectString(output.releaseLabel),
1786
+ state: smithy_client_1.expectString(output.state),
1787
+ stateDetails: smithy_client_1.expectString(output.stateDetails),
1788
1788
  tags: output.tags !== undefined && output.tags !== null
1789
1789
  ? deserializeAws_restJson1TagMap(output.tags, context)
1790
1790
  : undefined,
1791
- virtualClusterId: (0, smithy_client_1.expectString)(output.virtualClusterId),
1791
+ virtualClusterId: smithy_client_1.expectString(output.virtualClusterId),
1792
1792
  };
1793
1793
  };
1794
1794
  const deserializeAws_restJson1JobRuns = (output, context) => {
@@ -1806,7 +1806,7 @@ const deserializeAws_restJson1MonitoringConfiguration = (output, context) => {
1806
1806
  cloudWatchMonitoringConfiguration: output.cloudWatchMonitoringConfiguration !== undefined && output.cloudWatchMonitoringConfiguration !== null
1807
1807
  ? deserializeAws_restJson1CloudWatchMonitoringConfiguration(output.cloudWatchMonitoringConfiguration, context)
1808
1808
  : undefined,
1809
- persistentAppUI: (0, smithy_client_1.expectString)(output.persistentAppUI),
1809
+ persistentAppUI: smithy_client_1.expectString(output.persistentAppUI),
1810
1810
  s3MonitoringConfiguration: output.s3MonitoringConfiguration !== undefined && output.s3MonitoringConfiguration !== null
1811
1811
  ? deserializeAws_restJson1S3MonitoringConfiguration(output.s3MonitoringConfiguration, context)
1812
1812
  : undefined,
@@ -1814,7 +1814,7 @@ const deserializeAws_restJson1MonitoringConfiguration = (output, context) => {
1814
1814
  };
1815
1815
  const deserializeAws_restJson1S3MonitoringConfiguration = (output, context) => {
1816
1816
  return {
1817
- logUri: (0, smithy_client_1.expectString)(output.logUri),
1817
+ logUri: smithy_client_1.expectString(output.logUri),
1818
1818
  };
1819
1819
  };
1820
1820
  const deserializeAws_restJson1SensitivePropertiesMap = (output, context) => {
@@ -1824,17 +1824,17 @@ const deserializeAws_restJson1SensitivePropertiesMap = (output, context) => {
1824
1824
  }
1825
1825
  return {
1826
1826
  ...acc,
1827
- [key]: (0, smithy_client_1.expectString)(value),
1827
+ [key]: smithy_client_1.expectString(value),
1828
1828
  };
1829
1829
  }, {});
1830
1830
  };
1831
1831
  const deserializeAws_restJson1SparkSubmitJobDriver = (output, context) => {
1832
1832
  return {
1833
- entryPoint: (0, smithy_client_1.expectString)(output.entryPoint),
1833
+ entryPoint: smithy_client_1.expectString(output.entryPoint),
1834
1834
  entryPointArguments: output.entryPointArguments !== undefined && output.entryPointArguments !== null
1835
1835
  ? deserializeAws_restJson1EntryPointArguments(output.entryPointArguments, context)
1836
1836
  : undefined,
1837
- sparkSubmitParameters: (0, smithy_client_1.expectString)(output.sparkSubmitParameters),
1837
+ sparkSubmitParameters: smithy_client_1.expectString(output.sparkSubmitParameters),
1838
1838
  };
1839
1839
  };
1840
1840
  const deserializeAws_restJson1SubnetIds = (output, context) => {
@@ -1844,7 +1844,7 @@ const deserializeAws_restJson1SubnetIds = (output, context) => {
1844
1844
  if (entry === null) {
1845
1845
  return null;
1846
1846
  }
1847
- return (0, smithy_client_1.expectString)(entry);
1847
+ return smithy_client_1.expectString(entry);
1848
1848
  });
1849
1849
  };
1850
1850
  const deserializeAws_restJson1TagMap = (output, context) => {
@@ -1854,22 +1854,22 @@ const deserializeAws_restJson1TagMap = (output, context) => {
1854
1854
  }
1855
1855
  return {
1856
1856
  ...acc,
1857
- [key]: (0, smithy_client_1.expectString)(value),
1857
+ [key]: smithy_client_1.expectString(value),
1858
1858
  };
1859
1859
  }, {});
1860
1860
  };
1861
1861
  const deserializeAws_restJson1VirtualCluster = (output, context) => {
1862
1862
  return {
1863
- arn: (0, smithy_client_1.expectString)(output.arn),
1863
+ arn: smithy_client_1.expectString(output.arn),
1864
1864
  containerProvider: output.containerProvider !== undefined && output.containerProvider !== null
1865
1865
  ? deserializeAws_restJson1ContainerProvider(output.containerProvider, context)
1866
1866
  : undefined,
1867
1867
  createdAt: output.createdAt !== undefined && output.createdAt !== null
1868
- ? new Date(Math.round(output.createdAt * 1000))
1868
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt)))
1869
1869
  : undefined,
1870
- id: (0, smithy_client_1.expectString)(output.id),
1871
- name: (0, smithy_client_1.expectString)(output.name),
1872
- state: (0, smithy_client_1.expectString)(output.state),
1870
+ id: smithy_client_1.expectString(output.id),
1871
+ name: smithy_client_1.expectString(output.name),
1872
+ state: smithy_client_1.expectString(output.state),
1873
1873
  tags: output.tags !== undefined && output.tags !== null
1874
1874
  ? deserializeAws_restJson1TagMap(output.tags, context)
1875
1875
  : undefined,