@aws-sdk/client-eks 3.1076.0 → 3.1077.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.
- package/README.md +7 -0
- package/dist-cjs/index.js +90 -31
- package/dist-es/EKS.js +2 -0
- package/dist-es/commands/CancelUpdateCommand.js +16 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/enums.js +7 -0
- package/dist-es/models/errors.js +14 -14
- package/dist-es/runtimeConfig.browser.js +0 -2
- package/dist-es/runtimeConfig.js +1 -2
- package/dist-es/runtimeConfig.native.js +0 -2
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +45 -14
- package/dist-types/EKS.d.ts +7 -0
- package/dist-types/EKSClient.d.ts +3 -2
- package/dist-types/commands/AssociateEncryptionConfigCommand.d.ts +5 -1
- package/dist-types/commands/AssociateIdentityProviderConfigCommand.d.ts +5 -1
- package/dist-types/commands/CancelUpdateCommand.d.ts +146 -0
- package/dist-types/commands/DescribeInsightCommand.d.ts +1 -1
- package/dist-types/commands/DescribeUpdateCommand.d.ts +5 -1
- package/dist-types/commands/DisassociateIdentityProviderConfigCommand.d.ts +5 -1
- package/dist-types/commands/ListInsightsCommand.d.ts +2 -2
- package/dist-types/commands/UpdateAddonCommand.d.ts +5 -1
- package/dist-types/commands/UpdateCapabilityCommand.d.ts +5 -1
- package/dist-types/commands/UpdateClusterConfigCommand.d.ts +5 -1
- package/dist-types/commands/UpdateClusterVersionCommand.d.ts +8 -1
- package/dist-types/commands/UpdateNodegroupConfigCommand.d.ts +5 -1
- package/dist-types/commands/UpdateNodegroupVersionCommand.d.ts +5 -1
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/enums.d.ts +15 -0
- package/dist-types/models/errors.d.ts +23 -23
- package/dist-types/models/models_0.d.ts +76 -2
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +5 -0
- package/dist-types/ts3.4/EKS.d.ts +17 -0
- package/dist-types/ts3.4/EKSClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/CancelUpdateCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +9 -0
- package/dist-types/ts3.4/models/errors.d.ts +8 -8
- package/dist-types/ts3.4/models/models_0.d.ts +18 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +5 -0
- package/package.json +6 -8
package/README.md
CHANGED
|
@@ -211,6 +211,13 @@ AssociateIdentityProviderConfig
|
|
|
211
211
|
</details>
|
|
212
212
|
<details>
|
|
213
213
|
<summary>
|
|
214
|
+
CancelUpdate
|
|
215
|
+
</summary>
|
|
216
|
+
|
|
217
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/eks/command/CancelUpdateCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eks/Interface/CancelUpdateCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eks/Interface/CancelUpdateCommandOutput/)
|
|
218
|
+
</details>
|
|
219
|
+
<details>
|
|
220
|
+
<summary>
|
|
214
221
|
CreateAccessEntry
|
|
215
222
|
</summary>
|
|
216
223
|
|
package/dist-cjs/index.js
CHANGED
|
@@ -10,9 +10,10 @@ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CON
|
|
|
10
10
|
const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
11
11
|
const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
|
|
12
12
|
const { defaultProvider } = require("@aws-sdk/credential-provider-node");
|
|
13
|
-
const { toUtf8, fromUtf8, toBase64, fromBase64,
|
|
13
|
+
const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
|
|
14
14
|
const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
|
|
15
15
|
const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
|
|
16
|
+
const { Sha256 } = require("@smithy/core/checksum");
|
|
16
17
|
|
|
17
18
|
const defaultEKSHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
18
19
|
return {
|
|
@@ -67,7 +68,7 @@ const commonParams = {
|
|
|
67
68
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
68
69
|
};
|
|
69
70
|
|
|
70
|
-
var version = "3.
|
|
71
|
+
var version = "3.1076.0";
|
|
71
72
|
var packageInfo = {
|
|
72
73
|
version: version};
|
|
73
74
|
|
|
@@ -290,6 +291,20 @@ class ThrottlingException extends EKSServiceException {
|
|
|
290
291
|
this.clusterName = opts.clusterName;
|
|
291
292
|
}
|
|
292
293
|
}
|
|
294
|
+
class InvalidStateException extends EKSServiceException {
|
|
295
|
+
name = "InvalidStateException";
|
|
296
|
+
$fault = "client";
|
|
297
|
+
clusterName;
|
|
298
|
+
constructor(opts) {
|
|
299
|
+
super({
|
|
300
|
+
name: "InvalidStateException",
|
|
301
|
+
$fault: "client",
|
|
302
|
+
...opts,
|
|
303
|
+
});
|
|
304
|
+
Object.setPrototypeOf(this, InvalidStateException.prototype);
|
|
305
|
+
this.clusterName = opts.clusterName;
|
|
306
|
+
}
|
|
307
|
+
}
|
|
293
308
|
class ResourceLimitExceededException extends EKSServiceException {
|
|
294
309
|
name = "ResourceLimitExceededException";
|
|
295
310
|
$fault = "client";
|
|
@@ -374,20 +389,6 @@ class ResourcePropagationDelayException extends EKSServiceException {
|
|
|
374
389
|
Object.setPrototypeOf(this, ResourcePropagationDelayException.prototype);
|
|
375
390
|
}
|
|
376
391
|
}
|
|
377
|
-
class InvalidStateException extends EKSServiceException {
|
|
378
|
-
name = "InvalidStateException";
|
|
379
|
-
$fault = "client";
|
|
380
|
-
clusterName;
|
|
381
|
-
constructor(opts) {
|
|
382
|
-
super({
|
|
383
|
-
name: "InvalidStateException",
|
|
384
|
-
$fault: "client",
|
|
385
|
-
...opts,
|
|
386
|
-
});
|
|
387
|
-
Object.setPrototypeOf(this, InvalidStateException.prototype);
|
|
388
|
-
this.clusterName = opts.clusterName;
|
|
389
|
-
}
|
|
390
|
-
}
|
|
391
392
|
|
|
392
393
|
const _A = "Addon";
|
|
393
394
|
const _AAP = "AssociatedAccessPolicy";
|
|
@@ -434,7 +435,7 @@ const _AVIL = "AddonVersionInfoList";
|
|
|
434
435
|
const _Ad = "Addons";
|
|
435
436
|
const _BRE = "BadRequestException";
|
|
436
437
|
const _BS = "BlockStorage";
|
|
437
|
-
const _C = "
|
|
438
|
+
const _C = "Cancellation";
|
|
438
439
|
const _CA = "CreateAddon";
|
|
439
440
|
const _CACR = "CreateAccessConfigRequest";
|
|
440
441
|
const _CAE = "CreateAccessEntry";
|
|
@@ -480,8 +481,12 @@ const _CS = "CapabilitySummary";
|
|
|
480
481
|
const _CSL = "CapabilitySummaryList";
|
|
481
482
|
const _CSl = "ClientStat";
|
|
482
483
|
const _CSli = "ClientStats";
|
|
484
|
+
const _CU = "CancelUpdate";
|
|
485
|
+
const _CUR = "CancelUpdateRequest";
|
|
486
|
+
const _CURa = "CancelUpdateResponse";
|
|
483
487
|
const _CVI = "ClusterVersionInformation";
|
|
484
488
|
const _CVL = "ClusterVersionList";
|
|
489
|
+
const _Ca = "Capability";
|
|
485
490
|
const _Ce = "Certificate";
|
|
486
491
|
const _Cl = "Cluster";
|
|
487
492
|
const _Co = "Compatibility";
|
|
@@ -669,9 +674,10 @@ const _PIA = "PodIdentityAssociation";
|
|
|
669
674
|
const _PIAS = "PodIdentityAssociationSummary";
|
|
670
675
|
const _PIASo = "PodIdentityAssociationSummaries";
|
|
671
676
|
const _RAC = "RemoteAccessConfig";
|
|
672
|
-
const _RC = "
|
|
677
|
+
const _RC = "RollbackConfig";
|
|
673
678
|
const _RCR = "RegisterClusterRequest";
|
|
674
679
|
const _RCRe = "RegisterClusterResponse";
|
|
680
|
+
const _RCe = "RegisterCluster";
|
|
675
681
|
const _RIUE = "ResourceInUseException";
|
|
676
682
|
const _RLEE = "ResourceLimitExceededException";
|
|
677
683
|
const _RNCR = "RemoteNetworkConfigRequest";
|
|
@@ -808,6 +814,7 @@ const _cVl = "clusterVersion";
|
|
|
808
814
|
const _cVlu = "clusterVersions";
|
|
809
815
|
const _cVo = "compatibleVersions";
|
|
810
816
|
const _ca = "capability";
|
|
817
|
+
const _can = "cancellation";
|
|
811
818
|
const _cap = "capabilities";
|
|
812
819
|
const _cat = "category";
|
|
813
820
|
const _cate = "categories";
|
|
@@ -966,6 +973,7 @@ const _rAes = "resourceArn";
|
|
|
966
973
|
const _rC = "requiresConfiguration";
|
|
967
974
|
const _rCe = "resolveConflicts";
|
|
968
975
|
const _rCeq = "requiredClaims";
|
|
976
|
+
const _rCo = "rollbackConfig";
|
|
969
977
|
const _rD = "releaseDate";
|
|
970
978
|
const _rI = "resourceIds";
|
|
971
979
|
const _rIP = "requiresIamPermissions";
|
|
@@ -981,9 +989,9 @@ const _rT = "removeTaints";
|
|
|
981
989
|
const _rV = "releaseVersion";
|
|
982
990
|
const _rVC = "resourcesVpcConfig";
|
|
983
991
|
const _rW = "replacedWith";
|
|
984
|
-
const _re = "
|
|
985
|
-
const _rea = "reason";
|
|
992
|
+
const _re = "reason";
|
|
986
993
|
const _rec = "recommendation";
|
|
994
|
+
const _res = "resources";
|
|
987
995
|
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.eks";
|
|
988
996
|
const _sA = "serviceAccount";
|
|
989
997
|
const _sARA = "serviceAccountRoleArn";
|
|
@@ -1011,6 +1019,7 @@ const _subs = "subscriptions";
|
|
|
1011
1019
|
const _t = "tags";
|
|
1012
1020
|
const _tK = "tagKeys";
|
|
1013
1021
|
const _tL = "taintsList";
|
|
1022
|
+
const _tM = "timeoutMinutes";
|
|
1014
1023
|
const _tRA = "targetRoleArn";
|
|
1015
1024
|
const _ta = "taints";
|
|
1016
1025
|
const _te = "term";
|
|
@@ -1287,7 +1296,22 @@ var BlockStorage$ = [3, n0, _BS,
|
|
|
1287
1296
|
[_en],
|
|
1288
1297
|
[2]
|
|
1289
1298
|
];
|
|
1290
|
-
var
|
|
1299
|
+
var Cancellation$ = [3, n0, _C,
|
|
1300
|
+
0,
|
|
1301
|
+
[_st, _re],
|
|
1302
|
+
[0, 0]
|
|
1303
|
+
];
|
|
1304
|
+
var CancelUpdateRequest$ = [3, n0, _CUR,
|
|
1305
|
+
0,
|
|
1306
|
+
[_n, _uI, _cRT],
|
|
1307
|
+
[[0, 1], [0, 1], [0, 4]], 2
|
|
1308
|
+
];
|
|
1309
|
+
var CancelUpdateResponse$ = [3, n0, _CURa,
|
|
1310
|
+
0,
|
|
1311
|
+
[_up],
|
|
1312
|
+
[() => Update$]
|
|
1313
|
+
];
|
|
1314
|
+
var Capability$ = [3, n0, _Ca,
|
|
1291
1315
|
0,
|
|
1292
1316
|
[_cNa, _a, _cN, _ty, _rA, _st, _v, _con, _t, _h, _cA, _mA, _dPP],
|
|
1293
1317
|
[0, 0, 0, 0, 0, 0, 0, () => CapabilityConfigurationResponse$, 128 | 0, () => CapabilityHealth$, 4, 4, 0]
|
|
@@ -1754,7 +1778,7 @@ var ElasticLoadBalancing$ = [3, n0, _ELB,
|
|
|
1754
1778
|
];
|
|
1755
1779
|
var EncryptionConfig$ = [3, n0, _EC,
|
|
1756
1780
|
0,
|
|
1757
|
-
[
|
|
1781
|
+
[_res, _pr],
|
|
1758
1782
|
[64 | 0, () => Provider$]
|
|
1759
1783
|
];
|
|
1760
1784
|
var ErrorDetail$ = [3, n0, _ED,
|
|
@@ -1809,7 +1833,7 @@ var IdentityProviderConfigResponse$ = [3, n0, _IPCR,
|
|
|
1809
1833
|
];
|
|
1810
1834
|
var Insight$ = [3, n0, _In,
|
|
1811
1835
|
0,
|
|
1812
|
-
[_id_, _n, _cat, _kV, _lRTa, _lTT, _de, _iS, _rec, _aId,
|
|
1836
|
+
[_id_, _n, _cat, _kV, _lRTa, _lTT, _de, _iS, _rec, _aId, _res, _cSS],
|
|
1813
1837
|
[0, 0, 0, 0, 4, 4, 0, () => InsightStatus$, 0, 128 | 0, () => InsightResourceDetails, () => InsightCategorySpecificSummary$]
|
|
1814
1838
|
];
|
|
1815
1839
|
var InsightCategorySpecificSummary$ = [3, n0, _ICSS,
|
|
@@ -1829,7 +1853,7 @@ var InsightsFilter$ = [3, n0, _IF,
|
|
|
1829
1853
|
];
|
|
1830
1854
|
var InsightStatus$ = [3, n0, _IS,
|
|
1831
1855
|
0,
|
|
1832
|
-
[_st,
|
|
1856
|
+
[_st, _re],
|
|
1833
1857
|
[0, 0]
|
|
1834
1858
|
];
|
|
1835
1859
|
var InsightSummary$ = [3, n0, _ISn,
|
|
@@ -2019,7 +2043,7 @@ var MarketplaceInformation$ = [3, n0, _MI,
|
|
|
2019
2043
|
];
|
|
2020
2044
|
var Nodegroup$ = [3, n0, _N,
|
|
2021
2045
|
0,
|
|
2022
|
-
[_nN, _nAo, _cN, _v, _rV, _cA, _mA, _st, _cTa, _sCc, _iT, _sub, _rAe, _aT, _nR, _la, _ta,
|
|
2046
|
+
[_nN, _nAo, _cN, _v, _rV, _cA, _mA, _st, _cTa, _sCc, _iT, _sub, _rAe, _aT, _nR, _la, _ta, _res, _dS, _h, _uC, _nRC, _lTa, _t, _wPC],
|
|
2023
2047
|
[0, 0, 0, 0, 0, 4, 4, 0, 0, () => NodegroupScalingConfig$, 64 | 0, 64 | 0, () => RemoteAccessConfig$, 0, 0, 128 | 0, () => taintsList, () => NodegroupResources$, 1, () => NodegroupHealth$, () => NodegroupUpdateConfig$, () => NodeRepairConfig$, () => LaunchTemplateSpecification$, 128 | 0, () => WarmPoolConfig$]
|
|
2024
2048
|
];
|
|
2025
2049
|
var NodegroupHealth$ = [3, n0, _NH,
|
|
@@ -2127,6 +2151,11 @@ var RemotePodNetwork$ = [3, n0, _RPN,
|
|
|
2127
2151
|
[_ci],
|
|
2128
2152
|
[64 | 0]
|
|
2129
2153
|
];
|
|
2154
|
+
var RollbackConfig$ = [3, n0, _RC,
|
|
2155
|
+
0,
|
|
2156
|
+
[_tM],
|
|
2157
|
+
[1]
|
|
2158
|
+
];
|
|
2130
2159
|
var SsoIdentity$ = [3, n0, _SI,
|
|
2131
2160
|
0,
|
|
2132
2161
|
[_id_, _ty],
|
|
@@ -2179,8 +2208,8 @@ var UntagResourceResponse$ = [3, n0, _URRn,
|
|
|
2179
2208
|
];
|
|
2180
2209
|
var Update$ = [3, n0, _U,
|
|
2181
2210
|
0,
|
|
2182
|
-
[_id_, _st, _ty, _pa, _cA, _er],
|
|
2183
|
-
[0, 0, 0, () => UpdateParams, 4, () => ErrorDetails]
|
|
2211
|
+
[_id_, _st, _ty, _pa, _cA, _er, _can],
|
|
2212
|
+
[0, 0, 0, () => UpdateParams, 4, () => ErrorDetails, () => Cancellation$]
|
|
2184
2213
|
];
|
|
2185
2214
|
var UpdateAccessConfigRequest$ = [3, n0, _UACR,
|
|
2186
2215
|
0,
|
|
@@ -2239,8 +2268,8 @@ var UpdateClusterConfigResponse$ = [3, n0, _UCCRp,
|
|
|
2239
2268
|
];
|
|
2240
2269
|
var UpdateClusterVersionRequest$ = [3, n0, _UCVR,
|
|
2241
2270
|
0,
|
|
2242
|
-
[_n, _v, _cRT, _fo],
|
|
2243
|
-
[[0, 1], 0, [0, 4], 2], 2
|
|
2271
|
+
[_n, _v, _cRT, _fo, _rCo],
|
|
2272
|
+
[[0, 1], 0, [0, 4], 2, () => RollbackConfig$], 2
|
|
2244
2273
|
];
|
|
2245
2274
|
var UpdateClusterVersionResponse$ = [3, n0, _UCVRp,
|
|
2246
2275
|
0,
|
|
@@ -2456,6 +2485,9 @@ var AssociateEncryptionConfig$ = [9, n0, _AEC,
|
|
|
2456
2485
|
var AssociateIdentityProviderConfig$ = [9, n0, _AIPC,
|
|
2457
2486
|
{ [_ht]: ["POST", "/clusters/{clusterName}/identity-provider-configs/associate", 200] }, () => AssociateIdentityProviderConfigRequest$, () => AssociateIdentityProviderConfigResponse$
|
|
2458
2487
|
];
|
|
2488
|
+
var CancelUpdate$ = [9, n0, _CU,
|
|
2489
|
+
{ [_ht]: ["POST", "/clusters/{name}/updates/{updateId}/cancel-update", 200] }, () => CancelUpdateRequest$, () => CancelUpdateResponse$
|
|
2490
|
+
];
|
|
2459
2491
|
var CreateAccessEntry$ = [9, n0, _CAE,
|
|
2460
2492
|
{ [_ht]: ["POST", "/clusters/{clusterName}/access-entries", 200] }, () => CreateAccessEntryRequest$, () => CreateAccessEntryResponse$
|
|
2461
2493
|
];
|
|
@@ -2600,7 +2632,7 @@ var ListTagsForResource$ = [9, n0, _LTFR,
|
|
|
2600
2632
|
var ListUpdates$ = [9, n0, _LU,
|
|
2601
2633
|
{ [_ht]: ["GET", "/clusters/{name}/updates", 200] }, () => ListUpdatesRequest$, () => ListUpdatesResponse$
|
|
2602
2634
|
];
|
|
2603
|
-
var RegisterCluster$ = [9, n0,
|
|
2635
|
+
var RegisterCluster$ = [9, n0, _RCe,
|
|
2604
2636
|
{ [_ht]: ["POST", "/cluster-registrations", 200] }, () => RegisterClusterRequest$, () => RegisterClusterResponse$
|
|
2605
2637
|
];
|
|
2606
2638
|
var StartInsightsRefresh$ = [9, n0, _SIR,
|
|
@@ -2665,6 +2697,7 @@ const getRuntimeConfig$1 = (config) => {
|
|
|
2665
2697
|
serviceTarget: "AWSWesleyFrontend",
|
|
2666
2698
|
},
|
|
2667
2699
|
serviceId: config?.serviceId ?? "EKS",
|
|
2700
|
+
sha256: config?.sha256 ?? Sha256,
|
|
2668
2701
|
urlParser: config?.urlParser ?? parseUrl,
|
|
2669
2702
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
2670
2703
|
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
@@ -2698,7 +2731,6 @@ const getRuntimeConfig = (config) => {
|
|
|
2698
2731
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
2699
2732
|
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
2700
2733
|
}, config),
|
|
2701
|
-
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
2702
2734
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
2703
2735
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
2704
2736
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
@@ -2822,6 +2854,18 @@ class AssociateIdentityProviderConfigCommand extends Command
|
|
|
2822
2854
|
.build() {
|
|
2823
2855
|
}
|
|
2824
2856
|
|
|
2857
|
+
class CancelUpdateCommand extends Command
|
|
2858
|
+
.classBuilder()
|
|
2859
|
+
.ep(commonParams)
|
|
2860
|
+
.m(function (Command, cs, config, o) {
|
|
2861
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2862
|
+
})
|
|
2863
|
+
.s("AWSWesleyFrontend", "CancelUpdate", {})
|
|
2864
|
+
.n("EKSClient", "CancelUpdateCommand")
|
|
2865
|
+
.sc(CancelUpdate$)
|
|
2866
|
+
.build() {
|
|
2867
|
+
}
|
|
2868
|
+
|
|
2825
2869
|
class CreateAccessEntryCommand extends Command
|
|
2826
2870
|
.classBuilder()
|
|
2827
2871
|
.ep(commonParams)
|
|
@@ -3912,6 +3956,7 @@ const commands = {
|
|
|
3912
3956
|
AssociateAccessPolicyCommand,
|
|
3913
3957
|
AssociateEncryptionConfigCommand,
|
|
3914
3958
|
AssociateIdentityProviderConfigCommand,
|
|
3959
|
+
CancelUpdateCommand,
|
|
3915
3960
|
CreateAccessEntryCommand,
|
|
3916
3961
|
CreateAddonCommand,
|
|
3917
3962
|
CreateCapabilityCommand,
|
|
@@ -4070,6 +4115,11 @@ const ArgoCdRole = {
|
|
|
4070
4115
|
EDITOR: "EDITOR",
|
|
4071
4116
|
VIEWER: "VIEWER",
|
|
4072
4117
|
};
|
|
4118
|
+
const CancellationStatus = {
|
|
4119
|
+
FAILED: "Failed",
|
|
4120
|
+
IN_PROGRESS: "InProgress",
|
|
4121
|
+
SUCCESSFUL: "Successful",
|
|
4122
|
+
};
|
|
4073
4123
|
const ErrorCode = {
|
|
4074
4124
|
ACCESS_DENIED: "AccessDenied",
|
|
4075
4125
|
ADMISSION_REQUEST_DENIED: "AdmissionRequestDenied",
|
|
@@ -4165,6 +4215,7 @@ const UpdateType = {
|
|
|
4165
4215
|
REMOTE_NETWORK_CONFIG_UPDATE: "RemoteNetworkConfigUpdate",
|
|
4166
4216
|
UPGRADE_POLICY_UPDATE: "UpgradePolicyUpdate",
|
|
4167
4217
|
VENDED_LOGS_UPDATE: "VendedLogsUpdate",
|
|
4218
|
+
VERSION_ROLLBACK: "VersionRollback",
|
|
4168
4219
|
VERSION_UPDATE: "VersionUpdate",
|
|
4169
4220
|
VPC_CONFIG_UPDATE: "VpcConfigUpdate",
|
|
4170
4221
|
ZONAL_SHIFT_CONFIG_UPDATE: "ZonalShiftConfigUpdate",
|
|
@@ -4362,6 +4413,7 @@ const ConfigStatus = {
|
|
|
4362
4413
|
};
|
|
4363
4414
|
const Category = {
|
|
4364
4415
|
MISCONFIGURATION: "MISCONFIGURATION",
|
|
4416
|
+
ROLLBACK_READINESS: "ROLLBACK_READINESS",
|
|
4365
4417
|
UPGRADE_READINESS: "UPGRADE_READINESS",
|
|
4366
4418
|
};
|
|
4367
4419
|
const InsightStatusValue = {
|
|
@@ -4441,6 +4493,12 @@ exports.AutoScalingGroup$ = AutoScalingGroup$;
|
|
|
4441
4493
|
exports.BadRequestException = BadRequestException;
|
|
4442
4494
|
exports.BadRequestException$ = BadRequestException$;
|
|
4443
4495
|
exports.BlockStorage$ = BlockStorage$;
|
|
4496
|
+
exports.CancelUpdate$ = CancelUpdate$;
|
|
4497
|
+
exports.CancelUpdateCommand = CancelUpdateCommand;
|
|
4498
|
+
exports.CancelUpdateRequest$ = CancelUpdateRequest$;
|
|
4499
|
+
exports.CancelUpdateResponse$ = CancelUpdateResponse$;
|
|
4500
|
+
exports.Cancellation$ = Cancellation$;
|
|
4501
|
+
exports.CancellationStatus = CancellationStatus;
|
|
4444
4502
|
exports.Capability$ = Capability$;
|
|
4445
4503
|
exports.CapabilityConfigurationRequest$ = CapabilityConfigurationRequest$;
|
|
4446
4504
|
exports.CapabilityConfigurationResponse$ = CapabilityConfigurationResponse$;
|
|
@@ -4757,6 +4815,7 @@ exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
|
4757
4815
|
exports.ResourceNotFoundException$ = ResourceNotFoundException$;
|
|
4758
4816
|
exports.ResourcePropagationDelayException = ResourcePropagationDelayException;
|
|
4759
4817
|
exports.ResourcePropagationDelayException$ = ResourcePropagationDelayException$;
|
|
4818
|
+
exports.RollbackConfig$ = RollbackConfig$;
|
|
4760
4819
|
exports.ServerException = ServerException;
|
|
4761
4820
|
exports.ServerException$ = ServerException$;
|
|
4762
4821
|
exports.ServiceUnavailableException = ServiceUnavailableException;
|
package/dist-es/EKS.js
CHANGED
|
@@ -2,6 +2,7 @@ import { createAggregatedClient } from "@smithy/core/client";
|
|
|
2
2
|
import { AssociateAccessPolicyCommand, } from "./commands/AssociateAccessPolicyCommand";
|
|
3
3
|
import { AssociateEncryptionConfigCommand, } from "./commands/AssociateEncryptionConfigCommand";
|
|
4
4
|
import { AssociateIdentityProviderConfigCommand, } from "./commands/AssociateIdentityProviderConfigCommand";
|
|
5
|
+
import { CancelUpdateCommand, } from "./commands/CancelUpdateCommand";
|
|
5
6
|
import { CreateAccessEntryCommand, } from "./commands/CreateAccessEntryCommand";
|
|
6
7
|
import { CreateAddonCommand, } from "./commands/CreateAddonCommand";
|
|
7
8
|
import { CreateCapabilityCommand, } from "./commands/CreateCapabilityCommand";
|
|
@@ -91,6 +92,7 @@ const commands = {
|
|
|
91
92
|
AssociateAccessPolicyCommand,
|
|
92
93
|
AssociateEncryptionConfigCommand,
|
|
93
94
|
AssociateIdentityProviderConfigCommand,
|
|
95
|
+
CancelUpdateCommand,
|
|
94
96
|
CreateAccessEntryCommand,
|
|
95
97
|
CreateAddonCommand,
|
|
96
98
|
CreateCapabilityCommand,
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { CancelUpdate$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class CancelUpdateCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AWSWesleyFrontend", "CancelUpdate", {})
|
|
13
|
+
.n("EKSClient", "CancelUpdateCommand")
|
|
14
|
+
.sc(CancelUpdate$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./AssociateAccessPolicyCommand";
|
|
2
2
|
export * from "./AssociateEncryptionConfigCommand";
|
|
3
3
|
export * from "./AssociateIdentityProviderConfigCommand";
|
|
4
|
+
export * from "./CancelUpdateCommand";
|
|
4
5
|
export * from "./CreateAccessEntryCommand";
|
|
5
6
|
export * from "./CreateAddonCommand";
|
|
6
7
|
export * from "./CreateCapabilityCommand";
|
package/dist-es/models/enums.js
CHANGED
|
@@ -63,6 +63,11 @@ export const ArgoCdRole = {
|
|
|
63
63
|
EDITOR: "EDITOR",
|
|
64
64
|
VIEWER: "VIEWER",
|
|
65
65
|
};
|
|
66
|
+
export const CancellationStatus = {
|
|
67
|
+
FAILED: "Failed",
|
|
68
|
+
IN_PROGRESS: "InProgress",
|
|
69
|
+
SUCCESSFUL: "Successful",
|
|
70
|
+
};
|
|
66
71
|
export const ErrorCode = {
|
|
67
72
|
ACCESS_DENIED: "AccessDenied",
|
|
68
73
|
ADMISSION_REQUEST_DENIED: "AdmissionRequestDenied",
|
|
@@ -158,6 +163,7 @@ export const UpdateType = {
|
|
|
158
163
|
REMOTE_NETWORK_CONFIG_UPDATE: "RemoteNetworkConfigUpdate",
|
|
159
164
|
UPGRADE_POLICY_UPDATE: "UpgradePolicyUpdate",
|
|
160
165
|
VENDED_LOGS_UPDATE: "VendedLogsUpdate",
|
|
166
|
+
VERSION_ROLLBACK: "VersionRollback",
|
|
161
167
|
VERSION_UPDATE: "VersionUpdate",
|
|
162
168
|
VPC_CONFIG_UPDATE: "VpcConfigUpdate",
|
|
163
169
|
ZONAL_SHIFT_CONFIG_UPDATE: "ZonalShiftConfigUpdate",
|
|
@@ -355,6 +361,7 @@ export const ConfigStatus = {
|
|
|
355
361
|
};
|
|
356
362
|
export const Category = {
|
|
357
363
|
MISCONFIGURATION: "MISCONFIGURATION",
|
|
364
|
+
ROLLBACK_READINESS: "ROLLBACK_READINESS",
|
|
358
365
|
UPGRADE_READINESS: "UPGRADE_READINESS",
|
|
359
366
|
};
|
|
360
367
|
export const InsightStatusValue = {
|
package/dist-es/models/errors.js
CHANGED
|
@@ -147,6 +147,20 @@ export class ThrottlingException extends __BaseException {
|
|
|
147
147
|
this.clusterName = opts.clusterName;
|
|
148
148
|
}
|
|
149
149
|
}
|
|
150
|
+
export class InvalidStateException extends __BaseException {
|
|
151
|
+
name = "InvalidStateException";
|
|
152
|
+
$fault = "client";
|
|
153
|
+
clusterName;
|
|
154
|
+
constructor(opts) {
|
|
155
|
+
super({
|
|
156
|
+
name: "InvalidStateException",
|
|
157
|
+
$fault: "client",
|
|
158
|
+
...opts,
|
|
159
|
+
});
|
|
160
|
+
Object.setPrototypeOf(this, InvalidStateException.prototype);
|
|
161
|
+
this.clusterName = opts.clusterName;
|
|
162
|
+
}
|
|
163
|
+
}
|
|
150
164
|
export class ResourceLimitExceededException extends __BaseException {
|
|
151
165
|
name = "ResourceLimitExceededException";
|
|
152
166
|
$fault = "client";
|
|
@@ -231,17 +245,3 @@ export class ResourcePropagationDelayException extends __BaseException {
|
|
|
231
245
|
Object.setPrototypeOf(this, ResourcePropagationDelayException.prototype);
|
|
232
246
|
}
|
|
233
247
|
}
|
|
234
|
-
export class InvalidStateException extends __BaseException {
|
|
235
|
-
name = "InvalidStateException";
|
|
236
|
-
$fault = "client";
|
|
237
|
-
clusterName;
|
|
238
|
-
constructor(opts) {
|
|
239
|
-
super({
|
|
240
|
-
name: "InvalidStateException",
|
|
241
|
-
$fault: "client",
|
|
242
|
-
...opts,
|
|
243
|
-
});
|
|
244
|
-
Object.setPrototypeOf(this, InvalidStateException.prototype);
|
|
245
|
-
this.clusterName = opts.clusterName;
|
|
246
|
-
}
|
|
247
|
-
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
|
-
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
3
2
|
import { createDefaultUserAgentProvider } from "@aws-sdk/core/client";
|
|
4
3
|
import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
5
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
@@ -23,7 +22,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
23
22
|
region: config?.region ?? invalidProvider("Region is missing"),
|
|
24
23
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
25
24
|
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
|
|
26
|
-
sha256: config?.sha256 ?? Sha256,
|
|
27
25
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
28
26
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
29
27
|
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -5,7 +5,7 @@ import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credentia
|
|
|
5
5
|
import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
6
6
|
import { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
7
7
|
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
|
|
8
|
-
import { calculateBodyLength
|
|
8
|
+
import { calculateBodyLength } from "@smithy/core/serde";
|
|
9
9
|
import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
|
|
10
10
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
11
11
|
export const getRuntimeConfig = (config) => {
|
|
@@ -35,7 +35,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
35
35
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
36
36
|
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
37
37
|
}, config),
|
|
38
|
-
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
39
38
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
40
39
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
41
40
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Sha256 } from "@aws-crypto/sha256-js";
|
|
2
1
|
import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
|
|
3
2
|
export const getRuntimeConfig = (config) => {
|
|
4
3
|
const browserDefaults = getBrowserRuntimeConfig(config);
|
|
@@ -6,6 +5,5 @@ export const getRuntimeConfig = (config) => {
|
|
|
6
5
|
...browserDefaults,
|
|
7
6
|
...config,
|
|
8
7
|
runtime: "react-native",
|
|
9
|
-
sha256: config?.sha256 ?? Sha256,
|
|
10
8
|
};
|
|
11
9
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
2
|
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
3
|
+
import { Sha256 } from "@smithy/core/checksum";
|
|
3
4
|
import { NoOpLogger } from "@smithy/core/client";
|
|
4
5
|
import { parseUrl } from "@smithy/core/protocols";
|
|
5
6
|
import { fromBase64, fromUtf8, toBase64, toUtf8 } from "@smithy/core/serde";
|
|
@@ -31,6 +32,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
31
32
|
serviceTarget: "AWSWesleyFrontend",
|
|
32
33
|
},
|
|
33
34
|
serviceId: config?.serviceId ?? "EKS",
|
|
35
|
+
sha256: config?.sha256 ?? Sha256,
|
|
34
36
|
urlParser: config?.urlParser ?? parseUrl,
|
|
35
37
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
36
38
|
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|