@aws-sdk/client-eks 3.445.0 → 3.448.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 (71) hide show
  1. package/README.md +48 -9
  2. package/dist-cjs/EKS.js +10 -0
  3. package/dist-cjs/commands/CreateEksAnywhereSubscriptionCommand.js +51 -0
  4. package/dist-cjs/commands/DeleteEksAnywhereSubscriptionCommand.js +51 -0
  5. package/dist-cjs/commands/DescribeEksAnywhereSubscriptionCommand.js +51 -0
  6. package/dist-cjs/commands/ListEksAnywhereSubscriptionsCommand.js +51 -0
  7. package/dist-cjs/commands/UpdateEksAnywhereSubscriptionCommand.js +51 -0
  8. package/dist-cjs/commands/index.js +5 -0
  9. package/dist-cjs/models/models_0.js +21 -1
  10. package/dist-cjs/protocols/Aws_restJson1.js +363 -2
  11. package/dist-es/EKS.js +10 -0
  12. package/dist-es/commands/CreateEksAnywhereSubscriptionCommand.js +47 -0
  13. package/dist-es/commands/DeleteEksAnywhereSubscriptionCommand.js +47 -0
  14. package/dist-es/commands/DescribeEksAnywhereSubscriptionCommand.js +47 -0
  15. package/dist-es/commands/ListEksAnywhereSubscriptionsCommand.js +47 -0
  16. package/dist-es/commands/UpdateEksAnywhereSubscriptionCommand.js +47 -0
  17. package/dist-es/commands/index.js +5 -0
  18. package/dist-es/models/models_0.js +20 -0
  19. package/dist-es/protocols/Aws_restJson1.js +352 -1
  20. package/dist-types/EKS.d.ts +43 -9
  21. package/dist-types/EKSClient.d.ts +15 -11
  22. package/dist-types/commands/AssociateEncryptionConfigCommand.d.ts +2 -2
  23. package/dist-types/commands/AssociateIdentityProviderConfigCommand.d.ts +2 -2
  24. package/dist-types/commands/CreateAddonCommand.d.ts +2 -2
  25. package/dist-types/commands/CreateClusterCommand.d.ts +11 -13
  26. package/dist-types/commands/CreateEksAnywhereSubscriptionCommand.d.ts +125 -0
  27. package/dist-types/commands/CreateFargateProfileCommand.d.ts +8 -9
  28. package/dist-types/commands/CreateNodegroupCommand.d.ts +3 -6
  29. package/dist-types/commands/DeleteAddonCommand.d.ts +2 -2
  30. package/dist-types/commands/DeleteClusterCommand.d.ts +2 -2
  31. package/dist-types/commands/DeleteEksAnywhereSubscriptionCommand.d.ts +114 -0
  32. package/dist-types/commands/DeleteFargateProfileCommand.d.ts +2 -2
  33. package/dist-types/commands/DeleteNodegroupCommand.d.ts +2 -2
  34. package/dist-types/commands/DeregisterClusterCommand.d.ts +7 -6
  35. package/dist-types/commands/DescribeAddonCommand.d.ts +2 -2
  36. package/dist-types/commands/DescribeClusterCommand.d.ts +2 -2
  37. package/dist-types/commands/DescribeEksAnywhereSubscriptionCommand.d.ts +110 -0
  38. package/dist-types/commands/DescribeFargateProfileCommand.d.ts +2 -2
  39. package/dist-types/commands/DescribeIdentityProviderConfigCommand.d.ts +2 -2
  40. package/dist-types/commands/DescribeNodegroupCommand.d.ts +2 -2
  41. package/dist-types/commands/DescribeUpdateCommand.d.ts +2 -2
  42. package/dist-types/commands/DisassociateIdentityProviderConfigCommand.d.ts +4 -4
  43. package/dist-types/commands/ListAddonsCommand.d.ts +3 -3
  44. package/dist-types/commands/ListClustersCommand.d.ts +2 -2
  45. package/dist-types/commands/ListEksAnywhereSubscriptionsCommand.d.ts +115 -0
  46. package/dist-types/commands/ListFargateProfilesCommand.d.ts +2 -2
  47. package/dist-types/commands/ListIdentityProviderConfigsCommand.d.ts +2 -2
  48. package/dist-types/commands/ListNodegroupsCommand.d.ts +2 -2
  49. package/dist-types/commands/ListUpdatesCommand.d.ts +2 -2
  50. package/dist-types/commands/RegisterClusterCommand.d.ts +11 -10
  51. package/dist-types/commands/UpdateAddonCommand.d.ts +2 -2
  52. package/dist-types/commands/UpdateClusterConfigCommand.d.ts +5 -5
  53. package/dist-types/commands/UpdateClusterVersionCommand.d.ts +8 -8
  54. package/dist-types/commands/UpdateEksAnywhereSubscriptionCommand.d.ts +118 -0
  55. package/dist-types/commands/UpdateNodegroupConfigCommand.d.ts +4 -4
  56. package/dist-types/commands/UpdateNodegroupVersionCommand.d.ts +3 -4
  57. package/dist-types/commands/index.d.ts +5 -0
  58. package/dist-types/index.d.ts +8 -9
  59. package/dist-types/models/models_0.d.ts +443 -102
  60. package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
  61. package/dist-types/ts3.4/EKS.d.ts +85 -0
  62. package/dist-types/ts3.4/EKSClient.d.ts +30 -0
  63. package/dist-types/ts3.4/commands/CreateEksAnywhereSubscriptionCommand.d.ts +42 -0
  64. package/dist-types/ts3.4/commands/DeleteEksAnywhereSubscriptionCommand.d.ts +42 -0
  65. package/dist-types/ts3.4/commands/DescribeEksAnywhereSubscriptionCommand.d.ts +42 -0
  66. package/dist-types/ts3.4/commands/ListEksAnywhereSubscriptionsCommand.d.ts +42 -0
  67. package/dist-types/ts3.4/commands/UpdateEksAnywhereSubscriptionCommand.d.ts +42 -0
  68. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  69. package/dist-types/ts3.4/models/models_0.d.ts +85 -0
  70. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
  71. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.de_DescribeClusterCommand = exports.de_DescribeAddonVersionsCommand = exports.de_DescribeAddonConfigurationCommand = exports.de_DescribeAddonCommand = exports.de_DeregisterClusterCommand = exports.de_DeleteNodegroupCommand = exports.de_DeleteFargateProfileCommand = exports.de_DeleteClusterCommand = exports.de_DeleteAddonCommand = exports.de_CreateNodegroupCommand = exports.de_CreateFargateProfileCommand = exports.de_CreateClusterCommand = exports.de_CreateAddonCommand = exports.de_AssociateIdentityProviderConfigCommand = exports.de_AssociateEncryptionConfigCommand = exports.se_UpdateNodegroupVersionCommand = exports.se_UpdateNodegroupConfigCommand = exports.se_UpdateClusterVersionCommand = exports.se_UpdateClusterConfigCommand = exports.se_UpdateAddonCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_RegisterClusterCommand = exports.se_ListUpdatesCommand = exports.se_ListTagsForResourceCommand = exports.se_ListNodegroupsCommand = exports.se_ListIdentityProviderConfigsCommand = exports.se_ListFargateProfilesCommand = exports.se_ListClustersCommand = exports.se_ListAddonsCommand = exports.se_DisassociateIdentityProviderConfigCommand = exports.se_DescribeUpdateCommand = exports.se_DescribeNodegroupCommand = exports.se_DescribeIdentityProviderConfigCommand = exports.se_DescribeFargateProfileCommand = exports.se_DescribeClusterCommand = exports.se_DescribeAddonVersionsCommand = exports.se_DescribeAddonConfigurationCommand = exports.se_DescribeAddonCommand = exports.se_DeregisterClusterCommand = exports.se_DeleteNodegroupCommand = exports.se_DeleteFargateProfileCommand = exports.se_DeleteClusterCommand = exports.se_DeleteAddonCommand = exports.se_CreateNodegroupCommand = exports.se_CreateFargateProfileCommand = exports.se_CreateClusterCommand = exports.se_CreateAddonCommand = exports.se_AssociateIdentityProviderConfigCommand = exports.se_AssociateEncryptionConfigCommand = void 0;
4
- exports.de_UpdateNodegroupVersionCommand = exports.de_UpdateNodegroupConfigCommand = exports.de_UpdateClusterVersionCommand = exports.de_UpdateClusterConfigCommand = exports.de_UpdateAddonCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_RegisterClusterCommand = exports.de_ListUpdatesCommand = exports.de_ListTagsForResourceCommand = exports.de_ListNodegroupsCommand = exports.de_ListIdentityProviderConfigsCommand = exports.de_ListFargateProfilesCommand = exports.de_ListClustersCommand = exports.de_ListAddonsCommand = exports.de_DisassociateIdentityProviderConfigCommand = exports.de_DescribeUpdateCommand = exports.de_DescribeNodegroupCommand = exports.de_DescribeIdentityProviderConfigCommand = exports.de_DescribeFargateProfileCommand = void 0;
3
+ exports.de_DeleteEksAnywhereSubscriptionCommand = exports.de_DeleteClusterCommand = exports.de_DeleteAddonCommand = exports.de_CreateNodegroupCommand = exports.de_CreateFargateProfileCommand = exports.de_CreateEksAnywhereSubscriptionCommand = exports.de_CreateClusterCommand = exports.de_CreateAddonCommand = exports.de_AssociateIdentityProviderConfigCommand = exports.de_AssociateEncryptionConfigCommand = exports.se_UpdateNodegroupVersionCommand = exports.se_UpdateNodegroupConfigCommand = exports.se_UpdateEksAnywhereSubscriptionCommand = exports.se_UpdateClusterVersionCommand = exports.se_UpdateClusterConfigCommand = exports.se_UpdateAddonCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_RegisterClusterCommand = exports.se_ListUpdatesCommand = exports.se_ListTagsForResourceCommand = exports.se_ListNodegroupsCommand = exports.se_ListIdentityProviderConfigsCommand = exports.se_ListFargateProfilesCommand = exports.se_ListEksAnywhereSubscriptionsCommand = exports.se_ListClustersCommand = exports.se_ListAddonsCommand = exports.se_DisassociateIdentityProviderConfigCommand = exports.se_DescribeUpdateCommand = exports.se_DescribeNodegroupCommand = exports.se_DescribeIdentityProviderConfigCommand = exports.se_DescribeFargateProfileCommand = exports.se_DescribeEksAnywhereSubscriptionCommand = exports.se_DescribeClusterCommand = exports.se_DescribeAddonVersionsCommand = exports.se_DescribeAddonConfigurationCommand = exports.se_DescribeAddonCommand = exports.se_DeregisterClusterCommand = exports.se_DeleteNodegroupCommand = exports.se_DeleteFargateProfileCommand = exports.se_DeleteEksAnywhereSubscriptionCommand = exports.se_DeleteClusterCommand = exports.se_DeleteAddonCommand = exports.se_CreateNodegroupCommand = exports.se_CreateFargateProfileCommand = exports.se_CreateEksAnywhereSubscriptionCommand = exports.se_CreateClusterCommand = exports.se_CreateAddonCommand = exports.se_AssociateIdentityProviderConfigCommand = exports.se_AssociateEncryptionConfigCommand = void 0;
4
+ exports.de_UpdateNodegroupVersionCommand = exports.de_UpdateNodegroupConfigCommand = exports.de_UpdateEksAnywhereSubscriptionCommand = exports.de_UpdateClusterVersionCommand = exports.de_UpdateClusterConfigCommand = exports.de_UpdateAddonCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_RegisterClusterCommand = exports.de_ListUpdatesCommand = exports.de_ListTagsForResourceCommand = exports.de_ListNodegroupsCommand = exports.de_ListIdentityProviderConfigsCommand = exports.de_ListFargateProfilesCommand = exports.de_ListEksAnywhereSubscriptionsCommand = exports.de_ListClustersCommand = exports.de_ListAddonsCommand = exports.de_DisassociateIdentityProviderConfigCommand = exports.de_DescribeUpdateCommand = exports.de_DescribeNodegroupCommand = exports.de_DescribeIdentityProviderConfigCommand = exports.de_DescribeFargateProfileCommand = exports.de_DescribeEksAnywhereSubscriptionCommand = exports.de_DescribeClusterCommand = exports.de_DescribeAddonVersionsCommand = exports.de_DescribeAddonConfigurationCommand = exports.de_DescribeAddonCommand = exports.de_DeregisterClusterCommand = exports.de_DeleteNodegroupCommand = exports.de_DeleteFargateProfileCommand = void 0;
5
5
  const protocol_http_1 = require("@smithy/protocol-http");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  const uuid_1 = require("uuid");
@@ -114,6 +114,33 @@ const se_CreateClusterCommand = async (input, context) => {
114
114
  });
115
115
  };
116
116
  exports.se_CreateClusterCommand = se_CreateClusterCommand;
117
+ const se_CreateEksAnywhereSubscriptionCommand = async (input, context) => {
118
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
119
+ const headers = {
120
+ "content-type": "application/json",
121
+ };
122
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/eks-anywhere-subscriptions";
123
+ let body;
124
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
125
+ autoRenew: [],
126
+ clientRequestToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
127
+ licenseQuantity: [],
128
+ licenseType: [],
129
+ name: [],
130
+ tags: (_) => (0, smithy_client_1._json)(_),
131
+ term: (_) => (0, smithy_client_1._json)(_),
132
+ }));
133
+ return new protocol_http_1.HttpRequest({
134
+ protocol,
135
+ hostname,
136
+ port,
137
+ method: "POST",
138
+ headers,
139
+ path: resolvedPath,
140
+ body,
141
+ });
142
+ };
143
+ exports.se_CreateEksAnywhereSubscriptionCommand = se_CreateEksAnywhereSubscriptionCommand;
117
144
  const se_CreateFargateProfileCommand = async (input, context) => {
118
145
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
119
146
  const headers = {
@@ -219,6 +246,23 @@ const se_DeleteClusterCommand = async (input, context) => {
219
246
  });
220
247
  };
221
248
  exports.se_DeleteClusterCommand = se_DeleteClusterCommand;
249
+ const se_DeleteEksAnywhereSubscriptionCommand = async (input, context) => {
250
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
251
+ const headers = {};
252
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/eks-anywhere-subscriptions/{id}";
253
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "id", () => input.id, "{id}", false);
254
+ let body;
255
+ return new protocol_http_1.HttpRequest({
256
+ protocol,
257
+ hostname,
258
+ port,
259
+ method: "DELETE",
260
+ headers,
261
+ path: resolvedPath,
262
+ body,
263
+ });
264
+ };
265
+ exports.se_DeleteEksAnywhereSubscriptionCommand = se_DeleteEksAnywhereSubscriptionCommand;
222
266
  const se_DeleteFargateProfileCommand = async (input, context) => {
223
267
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
224
268
  const headers = {};
@@ -357,6 +401,23 @@ const se_DescribeClusterCommand = async (input, context) => {
357
401
  });
358
402
  };
359
403
  exports.se_DescribeClusterCommand = se_DescribeClusterCommand;
404
+ const se_DescribeEksAnywhereSubscriptionCommand = async (input, context) => {
405
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
406
+ const headers = {};
407
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/eks-anywhere-subscriptions/{id}";
408
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "id", () => input.id, "{id}", false);
409
+ let body;
410
+ return new protocol_http_1.HttpRequest({
411
+ protocol,
412
+ hostname,
413
+ port,
414
+ method: "GET",
415
+ headers,
416
+ path: resolvedPath,
417
+ body,
418
+ });
419
+ };
420
+ exports.se_DescribeEksAnywhereSubscriptionCommand = se_DescribeEksAnywhereSubscriptionCommand;
360
421
  const se_DescribeFargateProfileCommand = async (input, context) => {
361
422
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
362
423
  const headers = {};
@@ -509,6 +570,31 @@ const se_ListClustersCommand = async (input, context) => {
509
570
  });
510
571
  };
511
572
  exports.se_ListClustersCommand = se_ListClustersCommand;
573
+ const se_ListEksAnywhereSubscriptionsCommand = async (input, context) => {
574
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
575
+ const headers = {};
576
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/eks-anywhere-subscriptions";
577
+ const query = (0, smithy_client_1.map)({
578
+ maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
579
+ nextToken: [, input.nextToken],
580
+ includeStatus: [
581
+ () => input.includeStatus !== void 0,
582
+ () => (input.includeStatus || []).map((_entry) => _entry),
583
+ ],
584
+ });
585
+ let body;
586
+ return new protocol_http_1.HttpRequest({
587
+ protocol,
588
+ hostname,
589
+ port,
590
+ method: "GET",
591
+ headers,
592
+ path: resolvedPath,
593
+ query,
594
+ body,
595
+ });
596
+ };
597
+ exports.se_ListEksAnywhereSubscriptionsCommand = se_ListEksAnywhereSubscriptionsCommand;
512
598
  const se_ListFargateProfilesCommand = async (input, context) => {
513
599
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
514
600
  const headers = {};
@@ -762,6 +848,29 @@ const se_UpdateClusterVersionCommand = async (input, context) => {
762
848
  });
763
849
  };
764
850
  exports.se_UpdateClusterVersionCommand = se_UpdateClusterVersionCommand;
851
+ const se_UpdateEksAnywhereSubscriptionCommand = async (input, context) => {
852
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
853
+ const headers = {
854
+ "content-type": "application/json",
855
+ };
856
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/eks-anywhere-subscriptions/{id}";
857
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "id", () => input.id, "{id}", false);
858
+ let body;
859
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
860
+ autoRenew: [],
861
+ clientRequestToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
862
+ }));
863
+ return new protocol_http_1.HttpRequest({
864
+ protocol,
865
+ hostname,
866
+ port,
867
+ method: "POST",
868
+ headers,
869
+ path: resolvedPath,
870
+ body,
871
+ });
872
+ };
873
+ exports.se_UpdateEksAnywhereSubscriptionCommand = se_UpdateEksAnywhereSubscriptionCommand;
765
874
  const se_UpdateNodegroupConfigCommand = async (input, context) => {
766
875
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
767
876
  const headers = {
@@ -1018,6 +1127,52 @@ const de_CreateClusterCommandError = async (output, context) => {
1018
1127
  });
1019
1128
  }
1020
1129
  };
1130
+ const de_CreateEksAnywhereSubscriptionCommand = async (output, context) => {
1131
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1132
+ return de_CreateEksAnywhereSubscriptionCommandError(output, context);
1133
+ }
1134
+ const contents = (0, smithy_client_1.map)({
1135
+ $metadata: deserializeMetadata(output),
1136
+ });
1137
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1138
+ const doc = (0, smithy_client_1.take)(data, {
1139
+ subscription: (_) => de_EksAnywhereSubscription(_, context),
1140
+ });
1141
+ Object.assign(contents, doc);
1142
+ return contents;
1143
+ };
1144
+ exports.de_CreateEksAnywhereSubscriptionCommand = de_CreateEksAnywhereSubscriptionCommand;
1145
+ const de_CreateEksAnywhereSubscriptionCommandError = async (output, context) => {
1146
+ const parsedOutput = {
1147
+ ...output,
1148
+ body: await parseErrorBody(output.body, context),
1149
+ };
1150
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1151
+ switch (errorCode) {
1152
+ case "ClientException":
1153
+ case "com.amazonaws.eks#ClientException":
1154
+ throw await de_ClientExceptionRes(parsedOutput, context);
1155
+ case "InvalidParameterException":
1156
+ case "com.amazonaws.eks#InvalidParameterException":
1157
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
1158
+ case "ResourceLimitExceededException":
1159
+ case "com.amazonaws.eks#ResourceLimitExceededException":
1160
+ throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
1161
+ case "ServerException":
1162
+ case "com.amazonaws.eks#ServerException":
1163
+ throw await de_ServerExceptionRes(parsedOutput, context);
1164
+ case "ServiceUnavailableException":
1165
+ case "com.amazonaws.eks#ServiceUnavailableException":
1166
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1167
+ default:
1168
+ const parsedBody = parsedOutput.body;
1169
+ return throwDefaultError({
1170
+ output,
1171
+ parsedBody,
1172
+ errorCode,
1173
+ });
1174
+ }
1175
+ };
1021
1176
  const de_CreateFargateProfileCommand = async (output, context) => {
1022
1177
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1023
1178
  return de_CreateFargateProfileCommandError(output, context);
@@ -1211,6 +1366,49 @@ const de_DeleteClusterCommandError = async (output, context) => {
1211
1366
  });
1212
1367
  }
1213
1368
  };
1369
+ const de_DeleteEksAnywhereSubscriptionCommand = async (output, context) => {
1370
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1371
+ return de_DeleteEksAnywhereSubscriptionCommandError(output, context);
1372
+ }
1373
+ const contents = (0, smithy_client_1.map)({
1374
+ $metadata: deserializeMetadata(output),
1375
+ });
1376
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1377
+ const doc = (0, smithy_client_1.take)(data, {
1378
+ subscription: (_) => de_EksAnywhereSubscription(_, context),
1379
+ });
1380
+ Object.assign(contents, doc);
1381
+ return contents;
1382
+ };
1383
+ exports.de_DeleteEksAnywhereSubscriptionCommand = de_DeleteEksAnywhereSubscriptionCommand;
1384
+ const de_DeleteEksAnywhereSubscriptionCommandError = async (output, context) => {
1385
+ const parsedOutput = {
1386
+ ...output,
1387
+ body: await parseErrorBody(output.body, context),
1388
+ };
1389
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1390
+ switch (errorCode) {
1391
+ case "ClientException":
1392
+ case "com.amazonaws.eks#ClientException":
1393
+ throw await de_ClientExceptionRes(parsedOutput, context);
1394
+ case "InvalidRequestException":
1395
+ case "com.amazonaws.eks#InvalidRequestException":
1396
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
1397
+ case "ResourceNotFoundException":
1398
+ case "com.amazonaws.eks#ResourceNotFoundException":
1399
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1400
+ case "ServerException":
1401
+ case "com.amazonaws.eks#ServerException":
1402
+ throw await de_ServerExceptionRes(parsedOutput, context);
1403
+ default:
1404
+ const parsedBody = parsedOutput.body;
1405
+ return throwDefaultError({
1406
+ output,
1407
+ parsedBody,
1408
+ errorCode,
1409
+ });
1410
+ }
1411
+ };
1214
1412
  const de_DeleteFargateProfileCommand = async (output, context) => {
1215
1413
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1216
1414
  return de_DeleteFargateProfileCommandError(output, context);
@@ -1524,6 +1722,49 @@ const de_DescribeClusterCommandError = async (output, context) => {
1524
1722
  });
1525
1723
  }
1526
1724
  };
1725
+ const de_DescribeEksAnywhereSubscriptionCommand = async (output, context) => {
1726
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1727
+ return de_DescribeEksAnywhereSubscriptionCommandError(output, context);
1728
+ }
1729
+ const contents = (0, smithy_client_1.map)({
1730
+ $metadata: deserializeMetadata(output),
1731
+ });
1732
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1733
+ const doc = (0, smithy_client_1.take)(data, {
1734
+ subscription: (_) => de_EksAnywhereSubscription(_, context),
1735
+ });
1736
+ Object.assign(contents, doc);
1737
+ return contents;
1738
+ };
1739
+ exports.de_DescribeEksAnywhereSubscriptionCommand = de_DescribeEksAnywhereSubscriptionCommand;
1740
+ const de_DescribeEksAnywhereSubscriptionCommandError = async (output, context) => {
1741
+ const parsedOutput = {
1742
+ ...output,
1743
+ body: await parseErrorBody(output.body, context),
1744
+ };
1745
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1746
+ switch (errorCode) {
1747
+ case "ClientException":
1748
+ case "com.amazonaws.eks#ClientException":
1749
+ throw await de_ClientExceptionRes(parsedOutput, context);
1750
+ case "ResourceNotFoundException":
1751
+ case "com.amazonaws.eks#ResourceNotFoundException":
1752
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1753
+ case "ServerException":
1754
+ case "com.amazonaws.eks#ServerException":
1755
+ throw await de_ServerExceptionRes(parsedOutput, context);
1756
+ case "ServiceUnavailableException":
1757
+ case "com.amazonaws.eks#ServiceUnavailableException":
1758
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1759
+ default:
1760
+ const parsedBody = parsedOutput.body;
1761
+ return throwDefaultError({
1762
+ output,
1763
+ parsedBody,
1764
+ errorCode,
1765
+ });
1766
+ }
1767
+ };
1527
1768
  const de_DescribeFargateProfileCommand = async (output, context) => {
1528
1769
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1529
1770
  return de_DescribeFargateProfileCommandError(output, context);
@@ -1842,6 +2083,50 @@ const de_ListClustersCommandError = async (output, context) => {
1842
2083
  });
1843
2084
  }
1844
2085
  };
2086
+ const de_ListEksAnywhereSubscriptionsCommand = async (output, context) => {
2087
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2088
+ return de_ListEksAnywhereSubscriptionsCommandError(output, context);
2089
+ }
2090
+ const contents = (0, smithy_client_1.map)({
2091
+ $metadata: deserializeMetadata(output),
2092
+ });
2093
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2094
+ const doc = (0, smithy_client_1.take)(data, {
2095
+ nextToken: smithy_client_1.expectString,
2096
+ subscriptions: (_) => de_EksAnywhereSubscriptionList(_, context),
2097
+ });
2098
+ Object.assign(contents, doc);
2099
+ return contents;
2100
+ };
2101
+ exports.de_ListEksAnywhereSubscriptionsCommand = de_ListEksAnywhereSubscriptionsCommand;
2102
+ const de_ListEksAnywhereSubscriptionsCommandError = async (output, context) => {
2103
+ const parsedOutput = {
2104
+ ...output,
2105
+ body: await parseErrorBody(output.body, context),
2106
+ };
2107
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2108
+ switch (errorCode) {
2109
+ case "ClientException":
2110
+ case "com.amazonaws.eks#ClientException":
2111
+ throw await de_ClientExceptionRes(parsedOutput, context);
2112
+ case "InvalidParameterException":
2113
+ case "com.amazonaws.eks#InvalidParameterException":
2114
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
2115
+ case "ServerException":
2116
+ case "com.amazonaws.eks#ServerException":
2117
+ throw await de_ServerExceptionRes(parsedOutput, context);
2118
+ case "ServiceUnavailableException":
2119
+ case "com.amazonaws.eks#ServiceUnavailableException":
2120
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
2121
+ default:
2122
+ const parsedBody = parsedOutput.body;
2123
+ return throwDefaultError({
2124
+ output,
2125
+ parsedBody,
2126
+ errorCode,
2127
+ });
2128
+ }
2129
+ };
1845
2130
  const de_ListFargateProfilesCommand = async (output, context) => {
1846
2131
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1847
2132
  return de_ListFargateProfilesCommandError(output, context);
@@ -2329,6 +2614,52 @@ const de_UpdateClusterVersionCommandError = async (output, context) => {
2329
2614
  });
2330
2615
  }
2331
2616
  };
2617
+ const de_UpdateEksAnywhereSubscriptionCommand = async (output, context) => {
2618
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2619
+ return de_UpdateEksAnywhereSubscriptionCommandError(output, context);
2620
+ }
2621
+ const contents = (0, smithy_client_1.map)({
2622
+ $metadata: deserializeMetadata(output),
2623
+ });
2624
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2625
+ const doc = (0, smithy_client_1.take)(data, {
2626
+ subscription: (_) => de_EksAnywhereSubscription(_, context),
2627
+ });
2628
+ Object.assign(contents, doc);
2629
+ return contents;
2630
+ };
2631
+ exports.de_UpdateEksAnywhereSubscriptionCommand = de_UpdateEksAnywhereSubscriptionCommand;
2632
+ const de_UpdateEksAnywhereSubscriptionCommandError = async (output, context) => {
2633
+ const parsedOutput = {
2634
+ ...output,
2635
+ body: await parseErrorBody(output.body, context),
2636
+ };
2637
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2638
+ switch (errorCode) {
2639
+ case "ClientException":
2640
+ case "com.amazonaws.eks#ClientException":
2641
+ throw await de_ClientExceptionRes(parsedOutput, context);
2642
+ case "InvalidParameterException":
2643
+ case "com.amazonaws.eks#InvalidParameterException":
2644
+ throw await de_InvalidParameterExceptionRes(parsedOutput, context);
2645
+ case "InvalidRequestException":
2646
+ case "com.amazonaws.eks#InvalidRequestException":
2647
+ throw await de_InvalidRequestExceptionRes(parsedOutput, context);
2648
+ case "ResourceNotFoundException":
2649
+ case "com.amazonaws.eks#ResourceNotFoundException":
2650
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2651
+ case "ServerException":
2652
+ case "com.amazonaws.eks#ServerException":
2653
+ throw await de_ServerExceptionRes(parsedOutput, context);
2654
+ default:
2655
+ const parsedBody = parsedOutput.body;
2656
+ return throwDefaultError({
2657
+ output,
2658
+ parsedBody,
2659
+ errorCode,
2660
+ });
2661
+ }
2662
+ };
2332
2663
  const de_UpdateNodegroupConfigCommand = async (output, context) => {
2333
2664
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2334
2665
  return de_UpdateNodegroupConfigCommandError(output, context);
@@ -2462,6 +2793,7 @@ const de_ClientExceptionRes = async (parsedOutput, context) => {
2462
2793
  clusterName: smithy_client_1.expectString,
2463
2794
  message: smithy_client_1.expectString,
2464
2795
  nodegroupName: smithy_client_1.expectString,
2796
+ subscriptionId: smithy_client_1.expectString,
2465
2797
  });
2466
2798
  Object.assign(contents, doc);
2467
2799
  const exception = new models_0_1.ClientException({
@@ -2479,6 +2811,7 @@ const de_InvalidParameterExceptionRes = async (parsedOutput, context) => {
2479
2811
  fargateProfileName: smithy_client_1.expectString,
2480
2812
  message: smithy_client_1.expectString,
2481
2813
  nodegroupName: smithy_client_1.expectString,
2814
+ subscriptionId: smithy_client_1.expectString,
2482
2815
  });
2483
2816
  Object.assign(contents, doc);
2484
2817
  const exception = new models_0_1.InvalidParameterException({
@@ -2495,6 +2828,7 @@ const de_InvalidRequestExceptionRes = async (parsedOutput, context) => {
2495
2828
  clusterName: smithy_client_1.expectString,
2496
2829
  message: smithy_client_1.expectString,
2497
2830
  nodegroupName: smithy_client_1.expectString,
2831
+ subscriptionId: smithy_client_1.expectString,
2498
2832
  });
2499
2833
  Object.assign(contents, doc);
2500
2834
  const exception = new models_0_1.InvalidRequestException({
@@ -2539,6 +2873,7 @@ const de_ResourceLimitExceededExceptionRes = async (parsedOutput, context) => {
2539
2873
  clusterName: smithy_client_1.expectString,
2540
2874
  message: smithy_client_1.expectString,
2541
2875
  nodegroupName: smithy_client_1.expectString,
2876
+ subscriptionId: smithy_client_1.expectString,
2542
2877
  });
2543
2878
  Object.assign(contents, doc);
2544
2879
  const exception = new models_0_1.ResourceLimitExceededException({
@@ -2556,6 +2891,7 @@ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
2556
2891
  fargateProfileName: smithy_client_1.expectString,
2557
2892
  message: smithy_client_1.expectString,
2558
2893
  nodegroupName: smithy_client_1.expectString,
2894
+ subscriptionId: smithy_client_1.expectString,
2559
2895
  });
2560
2896
  Object.assign(contents, doc);
2561
2897
  const exception = new models_0_1.ResourceNotFoundException({
@@ -2585,6 +2921,7 @@ const de_ServerExceptionRes = async (parsedOutput, context) => {
2585
2921
  clusterName: smithy_client_1.expectString,
2586
2922
  message: smithy_client_1.expectString,
2587
2923
  nodegroupName: smithy_client_1.expectString,
2924
+ subscriptionId: smithy_client_1.expectString,
2588
2925
  });
2589
2926
  Object.assign(contents, doc);
2590
2927
  const exception = new models_0_1.ServerException({
@@ -2673,6 +3010,30 @@ const de_ConnectorConfigResponse = (output, context) => {
2673
3010
  roleArn: smithy_client_1.expectString,
2674
3011
  });
2675
3012
  };
3013
+ const de_EksAnywhereSubscription = (output, context) => {
3014
+ return (0, smithy_client_1.take)(output, {
3015
+ arn: smithy_client_1.expectString,
3016
+ autoRenew: smithy_client_1.expectBoolean,
3017
+ createdAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
3018
+ effectiveDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
3019
+ expirationDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
3020
+ id: smithy_client_1.expectString,
3021
+ licenseArns: smithy_client_1._json,
3022
+ licenseQuantity: smithy_client_1.expectInt32,
3023
+ licenseType: smithy_client_1.expectString,
3024
+ status: smithy_client_1.expectString,
3025
+ tags: smithy_client_1._json,
3026
+ term: smithy_client_1._json,
3027
+ });
3028
+ };
3029
+ const de_EksAnywhereSubscriptionList = (output, context) => {
3030
+ const retVal = (output || [])
3031
+ .filter((e) => e != null)
3032
+ .map((entry) => {
3033
+ return de_EksAnywhereSubscription(entry, context);
3034
+ });
3035
+ return retVal;
3036
+ };
2676
3037
  const de_FargateProfile = (output, context) => {
2677
3038
  return (0, smithy_client_1.take)(output, {
2678
3039
  clusterName: smithy_client_1.expectString,
package/dist-es/EKS.js CHANGED
@@ -3,10 +3,12 @@ import { AssociateEncryptionConfigCommand, } from "./commands/AssociateEncryptio
3
3
  import { AssociateIdentityProviderConfigCommand, } from "./commands/AssociateIdentityProviderConfigCommand";
4
4
  import { CreateAddonCommand } from "./commands/CreateAddonCommand";
5
5
  import { CreateClusterCommand, } from "./commands/CreateClusterCommand";
6
+ import { CreateEksAnywhereSubscriptionCommand, } from "./commands/CreateEksAnywhereSubscriptionCommand";
6
7
  import { CreateFargateProfileCommand, } from "./commands/CreateFargateProfileCommand";
7
8
  import { CreateNodegroupCommand, } from "./commands/CreateNodegroupCommand";
8
9
  import { DeleteAddonCommand } from "./commands/DeleteAddonCommand";
9
10
  import { DeleteClusterCommand, } from "./commands/DeleteClusterCommand";
11
+ import { DeleteEksAnywhereSubscriptionCommand, } from "./commands/DeleteEksAnywhereSubscriptionCommand";
10
12
  import { DeleteFargateProfileCommand, } from "./commands/DeleteFargateProfileCommand";
11
13
  import { DeleteNodegroupCommand, } from "./commands/DeleteNodegroupCommand";
12
14
  import { DeregisterClusterCommand, } from "./commands/DeregisterClusterCommand";
@@ -14,6 +16,7 @@ import { DescribeAddonCommand, } from "./commands/DescribeAddonCommand";
14
16
  import { DescribeAddonConfigurationCommand, } from "./commands/DescribeAddonConfigurationCommand";
15
17
  import { DescribeAddonVersionsCommand, } from "./commands/DescribeAddonVersionsCommand";
16
18
  import { DescribeClusterCommand, } from "./commands/DescribeClusterCommand";
19
+ import { DescribeEksAnywhereSubscriptionCommand, } from "./commands/DescribeEksAnywhereSubscriptionCommand";
17
20
  import { DescribeFargateProfileCommand, } from "./commands/DescribeFargateProfileCommand";
18
21
  import { DescribeIdentityProviderConfigCommand, } from "./commands/DescribeIdentityProviderConfigCommand";
19
22
  import { DescribeNodegroupCommand, } from "./commands/DescribeNodegroupCommand";
@@ -21,6 +24,7 @@ import { DescribeUpdateCommand, } from "./commands/DescribeUpdateCommand";
21
24
  import { DisassociateIdentityProviderConfigCommand, } from "./commands/DisassociateIdentityProviderConfigCommand";
22
25
  import { ListAddonsCommand } from "./commands/ListAddonsCommand";
23
26
  import { ListClustersCommand, } from "./commands/ListClustersCommand";
27
+ import { ListEksAnywhereSubscriptionsCommand, } from "./commands/ListEksAnywhereSubscriptionsCommand";
24
28
  import { ListFargateProfilesCommand, } from "./commands/ListFargateProfilesCommand";
25
29
  import { ListIdentityProviderConfigsCommand, } from "./commands/ListIdentityProviderConfigsCommand";
26
30
  import { ListNodegroupsCommand, } from "./commands/ListNodegroupsCommand";
@@ -32,6 +36,7 @@ import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
32
36
  import { UpdateAddonCommand } from "./commands/UpdateAddonCommand";
33
37
  import { UpdateClusterConfigCommand, } from "./commands/UpdateClusterConfigCommand";
34
38
  import { UpdateClusterVersionCommand, } from "./commands/UpdateClusterVersionCommand";
39
+ import { UpdateEksAnywhereSubscriptionCommand, } from "./commands/UpdateEksAnywhereSubscriptionCommand";
35
40
  import { UpdateNodegroupConfigCommand, } from "./commands/UpdateNodegroupConfigCommand";
36
41
  import { UpdateNodegroupVersionCommand, } from "./commands/UpdateNodegroupVersionCommand";
37
42
  import { EKSClient } from "./EKSClient";
@@ -40,10 +45,12 @@ const commands = {
40
45
  AssociateIdentityProviderConfigCommand,
41
46
  CreateAddonCommand,
42
47
  CreateClusterCommand,
48
+ CreateEksAnywhereSubscriptionCommand,
43
49
  CreateFargateProfileCommand,
44
50
  CreateNodegroupCommand,
45
51
  DeleteAddonCommand,
46
52
  DeleteClusterCommand,
53
+ DeleteEksAnywhereSubscriptionCommand,
47
54
  DeleteFargateProfileCommand,
48
55
  DeleteNodegroupCommand,
49
56
  DeregisterClusterCommand,
@@ -51,6 +58,7 @@ const commands = {
51
58
  DescribeAddonConfigurationCommand,
52
59
  DescribeAddonVersionsCommand,
53
60
  DescribeClusterCommand,
61
+ DescribeEksAnywhereSubscriptionCommand,
54
62
  DescribeFargateProfileCommand,
55
63
  DescribeIdentityProviderConfigCommand,
56
64
  DescribeNodegroupCommand,
@@ -58,6 +66,7 @@ const commands = {
58
66
  DisassociateIdentityProviderConfigCommand,
59
67
  ListAddonsCommand,
60
68
  ListClustersCommand,
69
+ ListEksAnywhereSubscriptionsCommand,
61
70
  ListFargateProfilesCommand,
62
71
  ListIdentityProviderConfigsCommand,
63
72
  ListNodegroupsCommand,
@@ -69,6 +78,7 @@ const commands = {
69
78
  UpdateAddonCommand,
70
79
  UpdateClusterConfigCommand,
71
80
  UpdateClusterVersionCommand,
81
+ UpdateEksAnywhereSubscriptionCommand,
72
82
  UpdateNodegroupConfigCommand,
73
83
  UpdateNodegroupVersionCommand,
74
84
  };
@@ -0,0 +1,47 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
+ import { de_CreateEksAnywhereSubscriptionCommand, se_CreateEksAnywhereSubscriptionCommand, } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class CreateEksAnywhereSubscriptionCommand extends $Command {
8
+ static getEndpointParameterInstructions() {
9
+ return {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
15
+ }
16
+ constructor(input) {
17
+ super();
18
+ this.input = input;
19
+ }
20
+ resolveMiddleware(clientStack, configuration, options) {
21
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
+ this.middlewareStack.use(getEndpointPlugin(configuration, CreateEksAnywhereSubscriptionCommand.getEndpointParameterInstructions()));
23
+ const stack = clientStack.concat(this.middlewareStack);
24
+ const { logger } = configuration;
25
+ const clientName = "EKSClient";
26
+ const commandName = "CreateEksAnywhereSubscriptionCommand";
27
+ const handlerExecutionContext = {
28
+ logger,
29
+ clientName,
30
+ commandName,
31
+ inputFilterSensitiveLog: (_) => _,
32
+ outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AWSWesleyFrontend",
35
+ operation: "CreateEksAnywhereSubscription",
36
+ },
37
+ };
38
+ const { requestHandler } = configuration;
39
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
+ }
41
+ serialize(input, context) {
42
+ return se_CreateEksAnywhereSubscriptionCommand(input, context);
43
+ }
44
+ deserialize(output, context) {
45
+ return de_CreateEksAnywhereSubscriptionCommand(output, context);
46
+ }
47
+ }
@@ -0,0 +1,47 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
+ import { de_DeleteEksAnywhereSubscriptionCommand, se_DeleteEksAnywhereSubscriptionCommand, } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class DeleteEksAnywhereSubscriptionCommand extends $Command {
8
+ static getEndpointParameterInstructions() {
9
+ return {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
15
+ }
16
+ constructor(input) {
17
+ super();
18
+ this.input = input;
19
+ }
20
+ resolveMiddleware(clientStack, configuration, options) {
21
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
+ this.middlewareStack.use(getEndpointPlugin(configuration, DeleteEksAnywhereSubscriptionCommand.getEndpointParameterInstructions()));
23
+ const stack = clientStack.concat(this.middlewareStack);
24
+ const { logger } = configuration;
25
+ const clientName = "EKSClient";
26
+ const commandName = "DeleteEksAnywhereSubscriptionCommand";
27
+ const handlerExecutionContext = {
28
+ logger,
29
+ clientName,
30
+ commandName,
31
+ inputFilterSensitiveLog: (_) => _,
32
+ outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AWSWesleyFrontend",
35
+ operation: "DeleteEksAnywhereSubscription",
36
+ },
37
+ };
38
+ const { requestHandler } = configuration;
39
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
+ }
41
+ serialize(input, context) {
42
+ return se_DeleteEksAnywhereSubscriptionCommand(input, context);
43
+ }
44
+ deserialize(output, context) {
45
+ return de_DeleteEksAnywhereSubscriptionCommand(output, context);
46
+ }
47
+ }