@aws-sdk/client-eks 3.194.0 → 3.197.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 (168) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist-cjs/EKSClient.js +11 -8
  3. package/dist-cjs/commands/AssociateEncryptionConfigCommand.js +10 -0
  4. package/dist-cjs/commands/AssociateIdentityProviderConfigCommand.js +10 -0
  5. package/dist-cjs/commands/CreateAddonCommand.js +10 -0
  6. package/dist-cjs/commands/CreateClusterCommand.js +10 -0
  7. package/dist-cjs/commands/CreateFargateProfileCommand.js +10 -0
  8. package/dist-cjs/commands/CreateNodegroupCommand.js +10 -0
  9. package/dist-cjs/commands/DeleteAddonCommand.js +10 -0
  10. package/dist-cjs/commands/DeleteClusterCommand.js +10 -0
  11. package/dist-cjs/commands/DeleteFargateProfileCommand.js +10 -0
  12. package/dist-cjs/commands/DeleteNodegroupCommand.js +10 -0
  13. package/dist-cjs/commands/DeregisterClusterCommand.js +10 -0
  14. package/dist-cjs/commands/DescribeAddonCommand.js +10 -0
  15. package/dist-cjs/commands/DescribeAddonVersionsCommand.js +10 -0
  16. package/dist-cjs/commands/DescribeClusterCommand.js +10 -0
  17. package/dist-cjs/commands/DescribeFargateProfileCommand.js +10 -0
  18. package/dist-cjs/commands/DescribeIdentityProviderConfigCommand.js +10 -0
  19. package/dist-cjs/commands/DescribeNodegroupCommand.js +10 -0
  20. package/dist-cjs/commands/DescribeUpdateCommand.js +10 -0
  21. package/dist-cjs/commands/DisassociateIdentityProviderConfigCommand.js +10 -0
  22. package/dist-cjs/commands/ListAddonsCommand.js +10 -0
  23. package/dist-cjs/commands/ListClustersCommand.js +10 -0
  24. package/dist-cjs/commands/ListFargateProfilesCommand.js +10 -0
  25. package/dist-cjs/commands/ListIdentityProviderConfigsCommand.js +10 -0
  26. package/dist-cjs/commands/ListNodegroupsCommand.js +10 -0
  27. package/dist-cjs/commands/ListTagsForResourceCommand.js +10 -0
  28. package/dist-cjs/commands/ListUpdatesCommand.js +10 -0
  29. package/dist-cjs/commands/RegisterClusterCommand.js +10 -0
  30. package/dist-cjs/commands/TagResourceCommand.js +10 -0
  31. package/dist-cjs/commands/UntagResourceCommand.js +10 -0
  32. package/dist-cjs/commands/UpdateAddonCommand.js +10 -0
  33. package/dist-cjs/commands/UpdateClusterConfigCommand.js +10 -0
  34. package/dist-cjs/commands/UpdateClusterVersionCommand.js +10 -0
  35. package/dist-cjs/commands/UpdateNodegroupConfigCommand.js +10 -0
  36. package/dist-cjs/commands/UpdateNodegroupVersionCommand.js +10 -0
  37. package/dist-cjs/endpoint/EndpointParameters.js +13 -0
  38. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  39. package/dist-cjs/endpoint/ruleset.js +368 -0
  40. package/dist-cjs/runtimeConfig.shared.js +3 -3
  41. package/dist-es/EKSClient.js +12 -9
  42. package/dist-es/commands/AssociateEncryptionConfigCommand.js +10 -0
  43. package/dist-es/commands/AssociateIdentityProviderConfigCommand.js +10 -0
  44. package/dist-es/commands/CreateAddonCommand.js +10 -0
  45. package/dist-es/commands/CreateClusterCommand.js +10 -0
  46. package/dist-es/commands/CreateFargateProfileCommand.js +10 -0
  47. package/dist-es/commands/CreateNodegroupCommand.js +10 -0
  48. package/dist-es/commands/DeleteAddonCommand.js +10 -0
  49. package/dist-es/commands/DeleteClusterCommand.js +10 -0
  50. package/dist-es/commands/DeleteFargateProfileCommand.js +10 -0
  51. package/dist-es/commands/DeleteNodegroupCommand.js +10 -0
  52. package/dist-es/commands/DeregisterClusterCommand.js +10 -0
  53. package/dist-es/commands/DescribeAddonCommand.js +10 -0
  54. package/dist-es/commands/DescribeAddonVersionsCommand.js +10 -0
  55. package/dist-es/commands/DescribeClusterCommand.js +10 -0
  56. package/dist-es/commands/DescribeFargateProfileCommand.js +10 -0
  57. package/dist-es/commands/DescribeIdentityProviderConfigCommand.js +10 -0
  58. package/dist-es/commands/DescribeNodegroupCommand.js +10 -0
  59. package/dist-es/commands/DescribeUpdateCommand.js +10 -0
  60. package/dist-es/commands/DisassociateIdentityProviderConfigCommand.js +10 -0
  61. package/dist-es/commands/ListAddonsCommand.js +10 -0
  62. package/dist-es/commands/ListClustersCommand.js +10 -0
  63. package/dist-es/commands/ListFargateProfilesCommand.js +10 -0
  64. package/dist-es/commands/ListIdentityProviderConfigsCommand.js +10 -0
  65. package/dist-es/commands/ListNodegroupsCommand.js +10 -0
  66. package/dist-es/commands/ListTagsForResourceCommand.js +10 -0
  67. package/dist-es/commands/ListUpdatesCommand.js +10 -0
  68. package/dist-es/commands/RegisterClusterCommand.js +10 -0
  69. package/dist-es/commands/TagResourceCommand.js +10 -0
  70. package/dist-es/commands/UntagResourceCommand.js +10 -0
  71. package/dist-es/commands/UpdateAddonCommand.js +10 -0
  72. package/dist-es/commands/UpdateClusterConfigCommand.js +10 -0
  73. package/dist-es/commands/UpdateClusterVersionCommand.js +10 -0
  74. package/dist-es/commands/UpdateNodegroupConfigCommand.js +10 -0
  75. package/dist-es/commands/UpdateNodegroupVersionCommand.js +10 -0
  76. package/dist-es/endpoint/EndpointParameters.js +8 -0
  77. package/dist-es/endpoint/endpointResolver.js +8 -0
  78. package/dist-es/endpoint/ruleset.js +365 -0
  79. package/dist-es/runtimeConfig.shared.js +2 -2
  80. package/dist-types/EKSClient.d.ts +6 -9
  81. package/dist-types/commands/AssociateEncryptionConfigCommand.d.ts +2 -0
  82. package/dist-types/commands/AssociateIdentityProviderConfigCommand.d.ts +2 -0
  83. package/dist-types/commands/CreateAddonCommand.d.ts +2 -0
  84. package/dist-types/commands/CreateClusterCommand.d.ts +2 -0
  85. package/dist-types/commands/CreateFargateProfileCommand.d.ts +2 -0
  86. package/dist-types/commands/CreateNodegroupCommand.d.ts +2 -0
  87. package/dist-types/commands/DeleteAddonCommand.d.ts +2 -0
  88. package/dist-types/commands/DeleteClusterCommand.d.ts +2 -0
  89. package/dist-types/commands/DeleteFargateProfileCommand.d.ts +2 -0
  90. package/dist-types/commands/DeleteNodegroupCommand.d.ts +2 -0
  91. package/dist-types/commands/DeregisterClusterCommand.d.ts +2 -0
  92. package/dist-types/commands/DescribeAddonCommand.d.ts +2 -0
  93. package/dist-types/commands/DescribeAddonVersionsCommand.d.ts +2 -0
  94. package/dist-types/commands/DescribeClusterCommand.d.ts +2 -0
  95. package/dist-types/commands/DescribeFargateProfileCommand.d.ts +2 -0
  96. package/dist-types/commands/DescribeIdentityProviderConfigCommand.d.ts +2 -0
  97. package/dist-types/commands/DescribeNodegroupCommand.d.ts +2 -0
  98. package/dist-types/commands/DescribeUpdateCommand.d.ts +2 -0
  99. package/dist-types/commands/DisassociateIdentityProviderConfigCommand.d.ts +2 -0
  100. package/dist-types/commands/ListAddonsCommand.d.ts +2 -0
  101. package/dist-types/commands/ListClustersCommand.d.ts +2 -0
  102. package/dist-types/commands/ListFargateProfilesCommand.d.ts +2 -0
  103. package/dist-types/commands/ListIdentityProviderConfigsCommand.d.ts +2 -0
  104. package/dist-types/commands/ListNodegroupsCommand.d.ts +2 -0
  105. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -0
  106. package/dist-types/commands/ListUpdatesCommand.d.ts +2 -0
  107. package/dist-types/commands/RegisterClusterCommand.d.ts +2 -0
  108. package/dist-types/commands/TagResourceCommand.d.ts +2 -0
  109. package/dist-types/commands/UntagResourceCommand.d.ts +2 -0
  110. package/dist-types/commands/UpdateAddonCommand.d.ts +2 -0
  111. package/dist-types/commands/UpdateClusterConfigCommand.d.ts +2 -0
  112. package/dist-types/commands/UpdateClusterVersionCommand.d.ts +2 -0
  113. package/dist-types/commands/UpdateNodegroupConfigCommand.d.ts +2 -0
  114. package/dist-types/commands/UpdateNodegroupVersionCommand.d.ts +2 -0
  115. package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
  116. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  117. package/dist-types/endpoint/ruleset.d.ts +2 -0
  118. package/dist-types/runtimeConfig.browser.d.ts +4 -2
  119. package/dist-types/runtimeConfig.d.ts +4 -2
  120. package/dist-types/runtimeConfig.native.d.ts +4 -2
  121. package/dist-types/runtimeConfig.shared.d.ts +3 -1
  122. package/dist-types/ts3.4/EKSClient.d.ts +15 -8
  123. package/dist-types/ts3.4/commands/AssociateEncryptionConfigCommand.d.ts +2 -0
  124. package/dist-types/ts3.4/commands/AssociateIdentityProviderConfigCommand.d.ts +2 -0
  125. package/dist-types/ts3.4/commands/CreateAddonCommand.d.ts +2 -0
  126. package/dist-types/ts3.4/commands/CreateClusterCommand.d.ts +2 -0
  127. package/dist-types/ts3.4/commands/CreateFargateProfileCommand.d.ts +2 -0
  128. package/dist-types/ts3.4/commands/CreateNodegroupCommand.d.ts +2 -0
  129. package/dist-types/ts3.4/commands/DeleteAddonCommand.d.ts +2 -0
  130. package/dist-types/ts3.4/commands/DeleteClusterCommand.d.ts +2 -0
  131. package/dist-types/ts3.4/commands/DeleteFargateProfileCommand.d.ts +2 -0
  132. package/dist-types/ts3.4/commands/DeleteNodegroupCommand.d.ts +2 -0
  133. package/dist-types/ts3.4/commands/DeregisterClusterCommand.d.ts +2 -0
  134. package/dist-types/ts3.4/commands/DescribeAddonCommand.d.ts +2 -0
  135. package/dist-types/ts3.4/commands/DescribeAddonVersionsCommand.d.ts +2 -0
  136. package/dist-types/ts3.4/commands/DescribeClusterCommand.d.ts +2 -0
  137. package/dist-types/ts3.4/commands/DescribeFargateProfileCommand.d.ts +2 -0
  138. package/dist-types/ts3.4/commands/DescribeIdentityProviderConfigCommand.d.ts +2 -0
  139. package/dist-types/ts3.4/commands/DescribeNodegroupCommand.d.ts +2 -0
  140. package/dist-types/ts3.4/commands/DescribeUpdateCommand.d.ts +2 -0
  141. package/dist-types/ts3.4/commands/DisassociateIdentityProviderConfigCommand.d.ts +2 -0
  142. package/dist-types/ts3.4/commands/ListAddonsCommand.d.ts +2 -0
  143. package/dist-types/ts3.4/commands/ListClustersCommand.d.ts +2 -0
  144. package/dist-types/ts3.4/commands/ListFargateProfilesCommand.d.ts +2 -0
  145. package/dist-types/ts3.4/commands/ListIdentityProviderConfigsCommand.d.ts +2 -0
  146. package/dist-types/ts3.4/commands/ListNodegroupsCommand.d.ts +2 -0
  147. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -0
  148. package/dist-types/ts3.4/commands/ListUpdatesCommand.d.ts +2 -0
  149. package/dist-types/ts3.4/commands/RegisterClusterCommand.d.ts +2 -0
  150. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -0
  151. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -0
  152. package/dist-types/ts3.4/commands/UpdateAddonCommand.d.ts +2 -0
  153. package/dist-types/ts3.4/commands/UpdateClusterConfigCommand.d.ts +2 -0
  154. package/dist-types/ts3.4/commands/UpdateClusterVersionCommand.d.ts +2 -0
  155. package/dist-types/ts3.4/commands/UpdateNodegroupConfigCommand.d.ts +2 -0
  156. package/dist-types/ts3.4/commands/UpdateNodegroupVersionCommand.d.ts +2 -0
  157. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +34 -0
  158. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  159. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  160. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +23 -4
  161. package/dist-types/ts3.4/runtimeConfig.d.ts +23 -4
  162. package/dist-types/ts3.4/runtimeConfig.native.d.ts +8 -1
  163. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
  164. package/package.json +29 -27
  165. package/dist-cjs/endpoints.js +0 -185
  166. package/dist-es/endpoints.js +0 -181
  167. package/dist-types/endpoints.d.ts +0 -2
  168. package/dist-types/ts3.4/endpoints.d.ts +0 -2
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeregisterClusterRequestFilterSensitiveLog, DeregisterClusterResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class DeregisterClusterCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DeregisterClusterCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "EKSClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DescribeAddonRequestFilterSensitiveLog, DescribeAddonResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class DescribeAddonCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DescribeAddonCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "EKSClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DescribeAddonVersionsRequestFilterSensitiveLog, DescribeAddonVersionsResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class DescribeAddonVersionsCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DescribeAddonVersionsCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "EKSClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DescribeClusterRequestFilterSensitiveLog, DescribeClusterResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class DescribeClusterCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DescribeClusterCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "EKSClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DescribeFargateProfileRequestFilterSensitiveLog, DescribeFargateProfileResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class DescribeFargateProfileCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DescribeFargateProfileCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "EKSClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DescribeIdentityProviderConfigRequestFilterSensitiveLog, DescribeIdentityProviderConfigResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class DescribeIdentityProviderConfigCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DescribeIdentityProviderConfigCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "EKSClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DescribeNodegroupRequestFilterSensitiveLog, DescribeNodegroupResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class DescribeNodegroupCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DescribeNodegroupCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "EKSClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DescribeUpdateRequestFilterSensitiveLog, DescribeUpdateResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class DescribeUpdateCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DescribeUpdateCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "EKSClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DisassociateIdentityProviderConfigRequestFilterSensitiveLog, DisassociateIdentityProviderConfigResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class DisassociateIdentityProviderConfigCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DisassociateIdentityProviderConfigCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "EKSClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListAddonsRequestFilterSensitiveLog, ListAddonsResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class ListAddonsCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, ListAddonsCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "EKSClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListClustersRequestFilterSensitiveLog, ListClustersResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class ListClustersCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, ListClustersCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "EKSClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListFargateProfilesRequestFilterSensitiveLog, ListFargateProfilesResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class ListFargateProfilesCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, ListFargateProfilesCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "EKSClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListIdentityProviderConfigsRequestFilterSensitiveLog, ListIdentityProviderConfigsResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class ListIdentityProviderConfigsCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, ListIdentityProviderConfigsCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "EKSClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListNodegroupsRequestFilterSensitiveLog, ListNodegroupsResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class ListNodegroupsCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, ListNodegroupsCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "EKSClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListTagsForResourceRequestFilterSensitiveLog, ListTagsForResourceResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class ListTagsForResourceCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, ListTagsForResourceCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "EKSClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListUpdatesRequestFilterSensitiveLog, ListUpdatesResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class ListUpdatesCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, ListUpdatesCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "EKSClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { RegisterClusterRequestFilterSensitiveLog, RegisterClusterResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class RegisterClusterCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, RegisterClusterCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "EKSClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { TagResourceRequestFilterSensitiveLog, TagResourceResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class TagResourceCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, TagResourceCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "EKSClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { UntagResourceRequestFilterSensitiveLog, UntagResourceResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class UntagResourceCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, UntagResourceCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "EKSClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { UpdateAddonRequestFilterSensitiveLog, UpdateAddonResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class UpdateAddonCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, UpdateAddonCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "EKSClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { UpdateClusterConfigRequestFilterSensitiveLog, UpdateClusterConfigResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class UpdateClusterConfigCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, UpdateClusterConfigCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "EKSClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { UpdateClusterVersionRequestFilterSensitiveLog, UpdateClusterVersionResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class UpdateClusterVersionCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, UpdateClusterVersionCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "EKSClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { UpdateNodegroupConfigRequestFilterSensitiveLog, UpdateNodegroupConfigResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class UpdateNodegroupConfigCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, UpdateNodegroupConfigCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "EKSClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { UpdateNodegroupVersionRequestFilterSensitiveLog, UpdateNodegroupVersionResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class UpdateNodegroupVersionCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, UpdateNodegroupVersionCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "EKSClient";
@@ -0,0 +1,8 @@
1
+ export const resolveClientEndpointParameters = (options) => {
2
+ return {
3
+ ...options,
4
+ useDualstackEndpoint: options.useDualstackEndpoint ?? false,
5
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
6
+ defaultSigningName: "eks",
7
+ };
8
+ };
@@ -0,0 +1,8 @@
1
+ import { resolveEndpoint } from "@aws-sdk/util-endpoints";
2
+ import { ruleSet } from "./ruleset";
3
+ export const defaultEndpointResolver = (endpointParams, context = {}) => {
4
+ return resolveEndpoint(ruleSet, {
5
+ endpointParams: endpointParams,
6
+ logger: context.logger,
7
+ });
8
+ };