@aws-sdk/client-eks 3.194.0 → 3.196.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 +11 -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 +26 -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 +14 -4
  161. package/dist-types/ts3.4/runtimeConfig.d.ts +14 -4
  162. package/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -3
  163. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
  164. package/package.json +5 -3
  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,181 +0,0 @@
1
- import { getRegionInfo } from "@aws-sdk/config-resolver";
2
- const regionHash = {
3
- "us-east-1": {
4
- variants: [
5
- {
6
- hostname: "fips.eks.us-east-1.amazonaws.com",
7
- tags: ["fips"],
8
- },
9
- ],
10
- },
11
- "us-east-2": {
12
- variants: [
13
- {
14
- hostname: "fips.eks.us-east-2.amazonaws.com",
15
- tags: ["fips"],
16
- },
17
- ],
18
- },
19
- "us-gov-east-1": {
20
- variants: [
21
- {
22
- hostname: "eks.us-gov-east-1.amazonaws.com",
23
- tags: ["fips"],
24
- },
25
- ],
26
- },
27
- "us-gov-west-1": {
28
- variants: [
29
- {
30
- hostname: "eks.us-gov-west-1.amazonaws.com",
31
- tags: ["fips"],
32
- },
33
- ],
34
- },
35
- "us-west-1": {
36
- variants: [
37
- {
38
- hostname: "fips.eks.us-west-1.amazonaws.com",
39
- tags: ["fips"],
40
- },
41
- ],
42
- },
43
- "us-west-2": {
44
- variants: [
45
- {
46
- hostname: "fips.eks.us-west-2.amazonaws.com",
47
- tags: ["fips"],
48
- },
49
- ],
50
- },
51
- };
52
- const partitionHash = {
53
- aws: {
54
- regions: [
55
- "af-south-1",
56
- "ap-east-1",
57
- "ap-northeast-1",
58
- "ap-northeast-2",
59
- "ap-northeast-3",
60
- "ap-south-1",
61
- "ap-southeast-1",
62
- "ap-southeast-2",
63
- "ap-southeast-3",
64
- "ca-central-1",
65
- "eu-central-1",
66
- "eu-north-1",
67
- "eu-south-1",
68
- "eu-west-1",
69
- "eu-west-2",
70
- "eu-west-3",
71
- "fips-us-east-1",
72
- "fips-us-east-2",
73
- "fips-us-west-1",
74
- "fips-us-west-2",
75
- "me-central-1",
76
- "me-south-1",
77
- "sa-east-1",
78
- "us-east-1",
79
- "us-east-2",
80
- "us-west-1",
81
- "us-west-2",
82
- ],
83
- regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
84
- variants: [
85
- {
86
- hostname: "eks.{region}.amazonaws.com",
87
- tags: [],
88
- },
89
- {
90
- hostname: "fips.eks.{region}.amazonaws.com",
91
- tags: ["fips"],
92
- },
93
- {
94
- hostname: "eks-fips.{region}.api.aws",
95
- tags: ["dualstack", "fips"],
96
- },
97
- {
98
- hostname: "eks.{region}.api.aws",
99
- tags: ["dualstack"],
100
- },
101
- ],
102
- },
103
- "aws-cn": {
104
- regions: ["cn-north-1", "cn-northwest-1"],
105
- regionRegex: "^cn\\-\\w+\\-\\d+$",
106
- variants: [
107
- {
108
- hostname: "eks.{region}.amazonaws.com.cn",
109
- tags: [],
110
- },
111
- {
112
- hostname: "eks-fips.{region}.amazonaws.com.cn",
113
- tags: ["fips"],
114
- },
115
- {
116
- hostname: "eks-fips.{region}.api.amazonwebservices.com.cn",
117
- tags: ["dualstack", "fips"],
118
- },
119
- {
120
- hostname: "eks.{region}.api.amazonwebservices.com.cn",
121
- tags: ["dualstack"],
122
- },
123
- ],
124
- },
125
- "aws-iso": {
126
- regions: ["us-iso-east-1", "us-iso-west-1"],
127
- regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
128
- variants: [
129
- {
130
- hostname: "eks.{region}.c2s.ic.gov",
131
- tags: [],
132
- },
133
- {
134
- hostname: "eks-fips.{region}.c2s.ic.gov",
135
- tags: ["fips"],
136
- },
137
- ],
138
- },
139
- "aws-iso-b": {
140
- regions: ["us-isob-east-1"],
141
- regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
142
- variants: [
143
- {
144
- hostname: "eks.{region}.sc2s.sgov.gov",
145
- tags: [],
146
- },
147
- {
148
- hostname: "eks-fips.{region}.sc2s.sgov.gov",
149
- tags: ["fips"],
150
- },
151
- ],
152
- },
153
- "aws-us-gov": {
154
- regions: ["fips-us-gov-east-1", "fips-us-gov-west-1", "us-gov-east-1", "us-gov-west-1"],
155
- regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
156
- variants: [
157
- {
158
- hostname: "eks.{region}.amazonaws.com",
159
- tags: [],
160
- },
161
- {
162
- hostname: "eks.{region}.amazonaws.com",
163
- tags: ["fips"],
164
- },
165
- {
166
- hostname: "eks-fips.{region}.api.aws",
167
- tags: ["dualstack", "fips"],
168
- },
169
- {
170
- hostname: "eks.{region}.api.aws",
171
- tags: ["dualstack"],
172
- },
173
- ],
174
- },
175
- };
176
- export const defaultRegionInfoProvider = async (region, options) => getRegionInfo(region, {
177
- ...options,
178
- signingService: "eks",
179
- regionHash,
180
- partitionHash,
181
- });
@@ -1,2 +0,0 @@
1
- import { RegionInfoProvider } from "@aws-sdk/types";
2
- export declare const defaultRegionInfoProvider: RegionInfoProvider;
@@ -1,2 +0,0 @@
1
- import { RegionInfoProvider } from "@aws-sdk/types";
2
- export declare const defaultRegionInfoProvider: RegionInfoProvider;