@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.
Files changed (49) hide show
  1. package/README.md +7 -0
  2. package/dist-cjs/index.js +90 -31
  3. package/dist-es/EKS.js +2 -0
  4. package/dist-es/commands/CancelUpdateCommand.js +16 -0
  5. package/dist-es/commands/index.js +1 -0
  6. package/dist-es/models/enums.js +7 -0
  7. package/dist-es/models/errors.js +14 -14
  8. package/dist-es/runtimeConfig.browser.js +0 -2
  9. package/dist-es/runtimeConfig.js +1 -2
  10. package/dist-es/runtimeConfig.native.js +0 -2
  11. package/dist-es/runtimeConfig.shared.js +2 -0
  12. package/dist-es/schemas/schemas_0.js +45 -14
  13. package/dist-types/EKS.d.ts +7 -0
  14. package/dist-types/EKSClient.d.ts +3 -2
  15. package/dist-types/commands/AssociateEncryptionConfigCommand.d.ts +5 -1
  16. package/dist-types/commands/AssociateIdentityProviderConfigCommand.d.ts +5 -1
  17. package/dist-types/commands/CancelUpdateCommand.d.ts +146 -0
  18. package/dist-types/commands/DescribeInsightCommand.d.ts +1 -1
  19. package/dist-types/commands/DescribeUpdateCommand.d.ts +5 -1
  20. package/dist-types/commands/DisassociateIdentityProviderConfigCommand.d.ts +5 -1
  21. package/dist-types/commands/ListInsightsCommand.d.ts +2 -2
  22. package/dist-types/commands/UpdateAddonCommand.d.ts +5 -1
  23. package/dist-types/commands/UpdateCapabilityCommand.d.ts +5 -1
  24. package/dist-types/commands/UpdateClusterConfigCommand.d.ts +5 -1
  25. package/dist-types/commands/UpdateClusterVersionCommand.d.ts +8 -1
  26. package/dist-types/commands/UpdateNodegroupConfigCommand.d.ts +5 -1
  27. package/dist-types/commands/UpdateNodegroupVersionCommand.d.ts +5 -1
  28. package/dist-types/commands/index.d.ts +1 -0
  29. package/dist-types/models/enums.d.ts +15 -0
  30. package/dist-types/models/errors.d.ts +23 -23
  31. package/dist-types/models/models_0.d.ts +76 -2
  32. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  33. package/dist-types/runtimeConfig.d.ts +1 -1
  34. package/dist-types/runtimeConfig.native.d.ts +1 -1
  35. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  36. package/dist-types/schemas/schemas_0.d.ts +5 -0
  37. package/dist-types/ts3.4/EKS.d.ts +17 -0
  38. package/dist-types/ts3.4/EKSClient.d.ts +6 -0
  39. package/dist-types/ts3.4/commands/CancelUpdateCommand.d.ts +49 -0
  40. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  41. package/dist-types/ts3.4/models/enums.d.ts +9 -0
  42. package/dist-types/ts3.4/models/errors.d.ts +8 -8
  43. package/dist-types/ts3.4/models/models_0.d.ts +18 -0
  44. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  45. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  46. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  47. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  48. package/dist-types/ts3.4/schemas/schemas_0.d.ts +5 -0
  49. package/package.json +6 -8
@@ -110,7 +110,7 @@ declare const UpdateNodegroupConfigCommand_base: {
110
110
  * // update: { // Update
111
111
  * // id: "STRING_VALUE",
112
112
  * // status: "InProgress" || "Failed" || "Cancelled" || "Successful",
113
- * // type: "VersionUpdate" || "EndpointAccessUpdate" || "LoggingUpdate" || "ConfigUpdate" || "AssociateIdentityProviderConfig" || "DisassociateIdentityProviderConfig" || "AssociateEncryptionConfig" || "AddonUpdate" || "VpcConfigUpdate" || "AccessConfigUpdate" || "UpgradePolicyUpdate" || "ZonalShiftConfigUpdate" || "AutoModeUpdate" || "RemoteNetworkConfigUpdate" || "DeletionProtectionUpdate" || "CapabilityUpdate" || "ControlPlaneScalingConfigUpdate" || "VendedLogsUpdate" || "ControlPlaneEgressUpdate",
113
+ * // type: "VersionUpdate" || "EndpointAccessUpdate" || "LoggingUpdate" || "ConfigUpdate" || "AssociateIdentityProviderConfig" || "DisassociateIdentityProviderConfig" || "AssociateEncryptionConfig" || "AddonUpdate" || "VpcConfigUpdate" || "AccessConfigUpdate" || "UpgradePolicyUpdate" || "ZonalShiftConfigUpdate" || "AutoModeUpdate" || "RemoteNetworkConfigUpdate" || "DeletionProtectionUpdate" || "CapabilityUpdate" || "ControlPlaneScalingConfigUpdate" || "VendedLogsUpdate" || "ControlPlaneEgressUpdate" || "VersionRollback",
114
114
  * // params: [ // UpdateParams
115
115
  * // { // UpdateParam
116
116
  * // type: "Version" || "PlatformVersion" || "EndpointPrivateAccess" || "EndpointPublicAccess" || "ClusterLogging" || "DesiredSize" || "LabelsToAdd" || "LabelsToRemove" || "TaintsToAdd" || "TaintsToRemove" || "MaxSize" || "MinSize" || "ReleaseVersion" || "PublicAccessCidrs" || "LaunchTemplateName" || "LaunchTemplateVersion" || "IdentityProviderConfig" || "EncryptionConfig" || "AddonVersion" || "ServiceAccountRoleArn" || "ResolveConflicts" || "MaxUnavailable" || "MaxUnavailablePercentage" || "NodeRepairEnabled" || "UpdateStrategy" || "ConfigurationValues" || "SecurityGroups" || "Subnets" || "AuthenticationMode" || "PodIdentityAssociations" || "UpgradePolicy" || "ZonalShiftConfig" || "ComputeConfig" || "StorageConfig" || "KubernetesNetworkConfig" || "RemoteNetworkConfig" || "DeletionProtection" || "NodeRepairConfig" || "RoleArn" || "RoleMappingsToAddOrUpdate" || "RoleMappingsToRemove" || "NetworkAccess" || "VendedLogs" || "UpdatedTier" || "PreviousTier" || "WarmPoolEnabled" || "WarmPoolMaxGroupPreparedCapacity" || "WarmPoolMinSize" || "WarmPoolState" || "WarmPoolReuseOnScaleIn" || "ControlPlaneEgressMode",
@@ -127,6 +127,10 @@ declare const UpdateNodegroupConfigCommand_base: {
127
127
  * // ],
128
128
  * // },
129
129
  * // ],
130
+ * // cancellation: { // Cancellation
131
+ * // status: "InProgress" || "Failed" || "Successful",
132
+ * // reason: "STRING_VALUE",
133
+ * // },
130
134
  * // },
131
135
  * // };
132
136
  *
@@ -78,7 +78,7 @@ declare const UpdateNodegroupVersionCommand_base: {
78
78
  * // update: { // Update
79
79
  * // id: "STRING_VALUE",
80
80
  * // status: "InProgress" || "Failed" || "Cancelled" || "Successful",
81
- * // type: "VersionUpdate" || "EndpointAccessUpdate" || "LoggingUpdate" || "ConfigUpdate" || "AssociateIdentityProviderConfig" || "DisassociateIdentityProviderConfig" || "AssociateEncryptionConfig" || "AddonUpdate" || "VpcConfigUpdate" || "AccessConfigUpdate" || "UpgradePolicyUpdate" || "ZonalShiftConfigUpdate" || "AutoModeUpdate" || "RemoteNetworkConfigUpdate" || "DeletionProtectionUpdate" || "CapabilityUpdate" || "ControlPlaneScalingConfigUpdate" || "VendedLogsUpdate" || "ControlPlaneEgressUpdate",
81
+ * // type: "VersionUpdate" || "EndpointAccessUpdate" || "LoggingUpdate" || "ConfigUpdate" || "AssociateIdentityProviderConfig" || "DisassociateIdentityProviderConfig" || "AssociateEncryptionConfig" || "AddonUpdate" || "VpcConfigUpdate" || "AccessConfigUpdate" || "UpgradePolicyUpdate" || "ZonalShiftConfigUpdate" || "AutoModeUpdate" || "RemoteNetworkConfigUpdate" || "DeletionProtectionUpdate" || "CapabilityUpdate" || "ControlPlaneScalingConfigUpdate" || "VendedLogsUpdate" || "ControlPlaneEgressUpdate" || "VersionRollback",
82
82
  * // params: [ // UpdateParams
83
83
  * // { // UpdateParam
84
84
  * // type: "Version" || "PlatformVersion" || "EndpointPrivateAccess" || "EndpointPublicAccess" || "ClusterLogging" || "DesiredSize" || "LabelsToAdd" || "LabelsToRemove" || "TaintsToAdd" || "TaintsToRemove" || "MaxSize" || "MinSize" || "ReleaseVersion" || "PublicAccessCidrs" || "LaunchTemplateName" || "LaunchTemplateVersion" || "IdentityProviderConfig" || "EncryptionConfig" || "AddonVersion" || "ServiceAccountRoleArn" || "ResolveConflicts" || "MaxUnavailable" || "MaxUnavailablePercentage" || "NodeRepairEnabled" || "UpdateStrategy" || "ConfigurationValues" || "SecurityGroups" || "Subnets" || "AuthenticationMode" || "PodIdentityAssociations" || "UpgradePolicy" || "ZonalShiftConfig" || "ComputeConfig" || "StorageConfig" || "KubernetesNetworkConfig" || "RemoteNetworkConfig" || "DeletionProtection" || "NodeRepairConfig" || "RoleArn" || "RoleMappingsToAddOrUpdate" || "RoleMappingsToRemove" || "NetworkAccess" || "VendedLogs" || "UpdatedTier" || "PreviousTier" || "WarmPoolEnabled" || "WarmPoolMaxGroupPreparedCapacity" || "WarmPoolMinSize" || "WarmPoolState" || "WarmPoolReuseOnScaleIn" || "ControlPlaneEgressMode",
@@ -95,6 +95,10 @@ declare const UpdateNodegroupVersionCommand_base: {
95
95
  * // ],
96
96
  * // },
97
97
  * // ],
98
+ * // cancellation: { // Cancellation
99
+ * // status: "InProgress" || "Failed" || "Successful",
100
+ * // reason: "STRING_VALUE",
101
+ * // },
98
102
  * // },
99
103
  * // };
100
104
  *
@@ -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";
@@ -119,6 +119,19 @@ export declare const ArgoCdRole: {
119
119
  * @public
120
120
  */
121
121
  export type ArgoCdRole = (typeof ArgoCdRole)[keyof typeof ArgoCdRole];
122
+ /**
123
+ * @public
124
+ * @enum
125
+ */
126
+ export declare const CancellationStatus: {
127
+ readonly FAILED: "Failed";
128
+ readonly IN_PROGRESS: "InProgress";
129
+ readonly SUCCESSFUL: "Successful";
130
+ };
131
+ /**
132
+ * @public
133
+ */
134
+ export type CancellationStatus = (typeof CancellationStatus)[keyof typeof CancellationStatus];
122
135
  /**
123
136
  * @public
124
137
  * @enum
@@ -242,6 +255,7 @@ export declare const UpdateType: {
242
255
  readonly REMOTE_NETWORK_CONFIG_UPDATE: "RemoteNetworkConfigUpdate";
243
256
  readonly UPGRADE_POLICY_UPDATE: "UpgradePolicyUpdate";
244
257
  readonly VENDED_LOGS_UPDATE: "VendedLogsUpdate";
258
+ readonly VERSION_ROLLBACK: "VersionRollback";
245
259
  readonly VERSION_UPDATE: "VersionUpdate";
246
260
  readonly VPC_CONFIG_UPDATE: "VpcConfigUpdate";
247
261
  readonly ZONAL_SHIFT_CONFIG_UPDATE: "ZonalShiftConfigUpdate";
@@ -663,6 +677,7 @@ export type ConfigStatus = (typeof ConfigStatus)[keyof typeof ConfigStatus];
663
677
  */
664
678
  export declare const Category: {
665
679
  readonly MISCONFIGURATION: "MISCONFIGURATION";
680
+ readonly ROLLBACK_READINESS: "ROLLBACK_READINESS";
666
681
  readonly UPGRADE_READINESS: "UPGRADE_READINESS";
667
682
  };
668
683
  /**
@@ -239,6 +239,29 @@ export declare class ThrottlingException extends __BaseException {
239
239
  */
240
240
  constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
241
241
  }
242
+ /**
243
+ * <p>Amazon EKS detected upgrade readiness issues. Call the <a href="https://docs.aws.amazon.com/eks/latest/APIReference/API_ListInsights.html">
244
+ * <code>ListInsights</code>
245
+ * </a> API to view detected upgrade blocking issues.
246
+ * Pass the <a href="https://docs.aws.amazon.com/eks/latest/APIReference/API_UpdateClusterVersion.html#API_UpdateClusterVersion_RequestBody">
247
+ * <code>force</code>
248
+ * </a> flag when updating to override upgrade readiness
249
+ * errors.</p>
250
+ * @public
251
+ */
252
+ export declare class InvalidStateException extends __BaseException {
253
+ readonly name: "InvalidStateException";
254
+ readonly $fault: "client";
255
+ /**
256
+ * <p>The Amazon EKS cluster associated with the exception.</p>
257
+ * @public
258
+ */
259
+ clusterName?: string | undefined;
260
+ /**
261
+ * @internal
262
+ */
263
+ constructor(opts: __ExceptionOptionType<InvalidStateException, __BaseException>);
264
+ }
242
265
  /**
243
266
  * <p>You have encountered a service limit on the specified resource.</p>
244
267
  * @public
@@ -347,26 +370,3 @@ export declare class ResourcePropagationDelayException extends __BaseException {
347
370
  */
348
371
  constructor(opts: __ExceptionOptionType<ResourcePropagationDelayException, __BaseException>);
349
372
  }
350
- /**
351
- * <p>Amazon EKS detected upgrade readiness issues. Call the <a href="https://docs.aws.amazon.com/eks/latest/APIReference/API_ListInsights.html">
352
- * <code>ListInsights</code>
353
- * </a> API to view detected upgrade blocking issues.
354
- * Pass the <a href="https://docs.aws.amazon.com/eks/latest/APIReference/API_UpdateClusterVersion.html#API_UpdateClusterVersion_RequestBody">
355
- * <code>force</code>
356
- * </a> flag when updating to override upgrade readiness
357
- * errors.</p>
358
- * @public
359
- */
360
- export declare class InvalidStateException extends __BaseException {
361
- readonly name: "InvalidStateException";
362
- readonly $fault: "client";
363
- /**
364
- * <p>The Amazon EKS cluster associated with the exception.</p>
365
- * @public
366
- */
367
- clusterName?: string | undefined;
368
- /**
369
- * @internal
370
- */
371
- constructor(opts: __ExceptionOptionType<InvalidStateException, __BaseException>);
372
- }
@@ -1,4 +1,4 @@
1
- import type { AccessScopeType, AddonIssueCode, AddonStatus, AMITypes, ArgoCdRole, AuthenticationMode, CapabilityDeletePropagationPolicy, CapabilityIssueCode, CapabilityStatus, CapabilityType, CapacityTypes, Category, ClusterIssueCode, ClusterStatus, ClusterVersionStatus, ConfigStatus, ConnectorConfigProvider, ControlPlaneEgressModeType, EksAnywhereSubscriptionLicenseType, EksAnywhereSubscriptionStatus, EksAnywhereSubscriptionTermUnit, ErrorCode, FargateProfileIssueCode, FargateProfileStatus, InsightsRefreshStatus, InsightStatusValue, IpFamily, LogType, NodegroupIssueCode, NodegroupStatus, NodegroupUpdateStrategies, ProvisionedControlPlaneTier, RepairAction, ResolveConflicts, SpreadLevel, SsoIdentityType, SupportType, TaintEffect, UpdateParamType, UpdateStatus, UpdateType, VersionStatus, WarmPoolState } from "./enums";
1
+ import type { AccessScopeType, AddonIssueCode, AddonStatus, AMITypes, ArgoCdRole, AuthenticationMode, CancellationStatus, CapabilityDeletePropagationPolicy, CapabilityIssueCode, CapabilityStatus, CapabilityType, CapacityTypes, Category, ClusterIssueCode, ClusterStatus, ClusterVersionStatus, ConfigStatus, ConnectorConfigProvider, ControlPlaneEgressModeType, EksAnywhereSubscriptionLicenseType, EksAnywhereSubscriptionStatus, EksAnywhereSubscriptionTermUnit, ErrorCode, FargateProfileIssueCode, FargateProfileStatus, InsightsRefreshStatus, InsightStatusValue, IpFamily, LogType, NodegroupIssueCode, NodegroupStatus, NodegroupUpdateStrategies, ProvisionedControlPlaneTier, RepairAction, ResolveConflicts, SpreadLevel, SsoIdentityType, SupportType, TaintEffect, UpdateParamType, UpdateStatus, UpdateType, VersionStatus, WarmPoolState } from "./enums";
2
2
  /**
3
3
  * <p>The access configuration for the cluster.</p>
4
4
  * @public
@@ -735,6 +735,24 @@ export interface AssociateEncryptionConfigRequest {
735
735
  */
736
736
  clientRequestToken?: string | undefined;
737
737
  }
738
+ /**
739
+ * <p>Contains information about the latest cancellation of an update to an Amazon EKS cluster.</p>
740
+ * @public
741
+ */
742
+ export interface Cancellation {
743
+ /**
744
+ * <p>The current status of the cancellation. Valid values are <code>InProgress</code>,
745
+ * <code>Failed</code>, and <code>Successful</code>.</p>
746
+ * @public
747
+ */
748
+ status?: CancellationStatus | undefined;
749
+ /**
750
+ * <p>A message providing additional details about the cancellation, such as the reason for
751
+ * the cancellation or failure details.</p>
752
+ * @public
753
+ */
754
+ reason?: string | undefined;
755
+ }
738
756
  /**
739
757
  * <p>An object representing an error when an asynchronous operation fails.</p>
740
758
  * @public
@@ -845,6 +863,12 @@ export interface Update {
845
863
  * @public
846
864
  */
847
865
  errors?: ErrorDetail[] | undefined;
866
+ /**
867
+ * <p>The latest cancellation information for the update. This field is present only if any
868
+ * cancellation is attempted for the update.</p>
869
+ * @public
870
+ */
871
+ cancellation?: Cancellation | undefined;
848
872
  }
849
873
  /**
850
874
  * @public
@@ -980,6 +1004,37 @@ export interface AutoScalingGroup {
980
1004
  */
981
1005
  name?: string | undefined;
982
1006
  }
1007
+ /**
1008
+ * @public
1009
+ */
1010
+ export interface CancelUpdateRequest {
1011
+ /**
1012
+ * <p>The name of the Amazon EKS cluster associated with the update.</p>
1013
+ * @public
1014
+ */
1015
+ name: string | undefined;
1016
+ /**
1017
+ * <p>The ID of the update to cancel.</p>
1018
+ * @public
1019
+ */
1020
+ updateId: string | undefined;
1021
+ /**
1022
+ * <p>A unique, case-sensitive identifier that you provide to ensure
1023
+ * the idempotency of the request.</p>
1024
+ * @public
1025
+ */
1026
+ clientRequestToken?: string | undefined;
1027
+ }
1028
+ /**
1029
+ * @public
1030
+ */
1031
+ export interface CancelUpdateResponse {
1032
+ /**
1033
+ * <p>The full description of the specified update.</p>
1034
+ * @public
1035
+ */
1036
+ update?: Update | undefined;
1037
+ }
983
1038
  /**
984
1039
  * @public
985
1040
  */
@@ -6793,6 +6848,20 @@ export interface UpdateClusterConfigResponse {
6793
6848
  */
6794
6849
  update?: Update | undefined;
6795
6850
  }
6851
+ /**
6852
+ * <p>The rollback configuration for the cluster version rollback.</p>
6853
+ * @public
6854
+ */
6855
+ export interface RollbackConfig {
6856
+ /**
6857
+ * <p>The length of time in minutes to wait before cancelling the update. Timeout is a
6858
+ * minimum-bound property, meaning the timeout occurs no sooner than the time you specify,
6859
+ * but can occur shortly thereafter. This value can be between 120 (2 hours) and 10080
6860
+ * (7 days). Default: <code>720</code> (12 hours) if not specified.</p>
6861
+ * @public
6862
+ */
6863
+ timeoutMinutes?: number | undefined;
6864
+ }
6796
6865
  /**
6797
6866
  * @public
6798
6867
  */
@@ -6814,11 +6883,16 @@ export interface UpdateClusterVersionRequest {
6814
6883
  */
6815
6884
  clientRequestToken?: string | undefined;
6816
6885
  /**
6817
- * <p>Set this value to <code>true</code> to override upgrade-blocking readiness checks when
6886
+ * <p>Set this value to <code>true</code> to override upgrade-blocking or rollback-blocking readiness checks when
6818
6887
  * updating a cluster.</p>
6819
6888
  * @public
6820
6889
  */
6821
6890
  force?: boolean | undefined;
6891
+ /**
6892
+ * <p>The rollback configuration for the cluster version rollback.</p>
6893
+ * @public
6894
+ */
6895
+ rollbackConfig?: RollbackConfig | undefined;
6822
6896
  }
6823
6897
  /**
6824
6898
  * @public
@@ -13,7 +13,6 @@ export declare const getRuntimeConfig: (config: EKSClientConfig) => {
13
13
  region: string | import("@smithy/types").Provider<any>;
14
14
  requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
15
15
  retryMode: string | import("@smithy/types").Provider<string>;
16
- sha256: import("@smithy/types").HashConstructor;
17
16
  streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
18
17
  useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
19
18
  useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
@@ -24,6 +23,7 @@ export declare const getRuntimeConfig: (config: EKSClientConfig) => {
24
23
  [setting: string]: unknown;
25
24
  };
26
25
  apiVersion: string;
26
+ sha256: import("@smithy/types").HashConstructor;
27
27
  urlParser: import("@smithy/types").UrlParser;
28
28
  base64Decoder: import("@smithy/types").Decoder;
29
29
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -14,7 +14,6 @@ export declare const getRuntimeConfig: (config: EKSClientConfig) => {
14
14
  region: string | import("@smithy/types").Provider<string>;
15
15
  requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
16
16
  retryMode: string | import("@smithy/types").Provider<string>;
17
- sha256: import("@smithy/types").HashConstructor;
18
17
  streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
19
18
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
19
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
@@ -26,6 +25,7 @@ export declare const getRuntimeConfig: (config: EKSClientConfig) => {
26
25
  [setting: string]: unknown;
27
26
  };
28
27
  apiVersion: string;
28
+ sha256: import("@smithy/types").HashConstructor;
29
29
  urlParser: import("@smithy/types").UrlParser;
30
30
  base64Decoder: import("@smithy/types").Decoder;
31
31
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -4,7 +4,6 @@ import type { EKSClientConfig } from "./EKSClient";
4
4
  */
5
5
  export declare const getRuntimeConfig: (config: EKSClientConfig) => {
6
6
  runtime: string;
7
- sha256: import("@smithy/types").HashConstructor;
8
7
  requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/core/protocols").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
9
8
  cacheMiddleware?: boolean;
10
9
  protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
@@ -13,6 +12,7 @@ export declare const getRuntimeConfig: (config: EKSClientConfig) => {
13
12
  [setting: string]: unknown;
14
13
  };
15
14
  apiVersion: string;
15
+ sha256: import("@smithy/types").HashConstructor;
16
16
  urlParser: import("@smithy/types").UrlParser;
17
17
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
18
18
  streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
@@ -21,6 +21,7 @@ export declare const getRuntimeConfig: (config: EKSClientConfig) => {
21
21
  defaultNamespace?: string;
22
22
  };
23
23
  serviceId: string;
24
+ sha256: import("@smithy/types").HashConstructor;
24
25
  urlParser: import("@smithy/types").UrlParser;
25
26
  utf8Decoder: import("@smithy/types").Decoder;
26
27
  utf8Encoder: (input: Uint8Array | string) => string;
@@ -52,6 +52,9 @@ export declare var AssociateIdentityProviderConfigRequest$: StaticStructureSchem
52
52
  export declare var AssociateIdentityProviderConfigResponse$: StaticStructureSchema;
53
53
  export declare var AutoScalingGroup$: StaticStructureSchema;
54
54
  export declare var BlockStorage$: StaticStructureSchema;
55
+ export declare var Cancellation$: StaticStructureSchema;
56
+ export declare var CancelUpdateRequest$: StaticStructureSchema;
57
+ export declare var CancelUpdateResponse$: StaticStructureSchema;
55
58
  export declare var Capability$: StaticStructureSchema;
56
59
  export declare var CapabilityConfigurationRequest$: StaticStructureSchema;
57
60
  export declare var CapabilityConfigurationResponse$: StaticStructureSchema;
@@ -220,6 +223,7 @@ export declare var RemoteNetworkConfigRequest$: StaticStructureSchema;
220
223
  export declare var RemoteNetworkConfigResponse$: StaticStructureSchema;
221
224
  export declare var RemoteNodeNetwork$: StaticStructureSchema;
222
225
  export declare var RemotePodNetwork$: StaticStructureSchema;
226
+ export declare var RollbackConfig$: StaticStructureSchema;
223
227
  export declare var SsoIdentity$: StaticStructureSchema;
224
228
  export declare var StartInsightsRefreshRequest$: StaticStructureSchema;
225
229
  export declare var StartInsightsRefreshResponse$: StaticStructureSchema;
@@ -266,6 +270,7 @@ export declare var ZonalShiftConfigResponse$: StaticStructureSchema;
266
270
  export declare var AssociateAccessPolicy$: StaticOperationSchema;
267
271
  export declare var AssociateEncryptionConfig$: StaticOperationSchema;
268
272
  export declare var AssociateIdentityProviderConfig$: StaticOperationSchema;
273
+ export declare var CancelUpdate$: StaticOperationSchema;
269
274
  export declare var CreateAccessEntry$: StaticOperationSchema;
270
275
  export declare var CreateAddon$: StaticOperationSchema;
271
276
  export declare var CreateCapability$: StaticOperationSchema;
@@ -17,6 +17,10 @@ import {
17
17
  AssociateIdentityProviderConfigCommandInput,
18
18
  AssociateIdentityProviderConfigCommandOutput,
19
19
  } from "./commands/AssociateIdentityProviderConfigCommand";
20
+ import {
21
+ CancelUpdateCommandInput,
22
+ CancelUpdateCommandOutput,
23
+ } from "./commands/CancelUpdateCommand";
20
24
  import {
21
25
  CreateAccessEntryCommandInput,
22
26
  CreateAccessEntryCommandOutput,
@@ -303,6 +307,19 @@ export interface EKS {
303
307
  options: __HttpHandlerOptions,
304
308
  cb: (err: any, data?: AssociateIdentityProviderConfigCommandOutput) => void
305
309
  ): void;
310
+ cancelUpdate(
311
+ args: CancelUpdateCommandInput,
312
+ options?: __HttpHandlerOptions
313
+ ): Promise<CancelUpdateCommandOutput>;
314
+ cancelUpdate(
315
+ args: CancelUpdateCommandInput,
316
+ cb: (err: any, data?: CancelUpdateCommandOutput) => void
317
+ ): void;
318
+ cancelUpdate(
319
+ args: CancelUpdateCommandInput,
320
+ options: __HttpHandlerOptions,
321
+ cb: (err: any, data?: CancelUpdateCommandOutput) => void
322
+ ): void;
306
323
  createAccessEntry(
307
324
  args: CreateAccessEntryCommandInput,
308
325
  options?: __HttpHandlerOptions
@@ -48,6 +48,10 @@ import {
48
48
  AssociateIdentityProviderConfigCommandInput,
49
49
  AssociateIdentityProviderConfigCommandOutput,
50
50
  } from "./commands/AssociateIdentityProviderConfigCommand";
51
+ import {
52
+ CancelUpdateCommandInput,
53
+ CancelUpdateCommandOutput,
54
+ } from "./commands/CancelUpdateCommand";
51
55
  import {
52
56
  CreateAccessEntryCommandInput,
53
57
  CreateAccessEntryCommandOutput,
@@ -303,6 +307,7 @@ export type ServiceInputTypes =
303
307
  | AssociateAccessPolicyCommandInput
304
308
  | AssociateEncryptionConfigCommandInput
305
309
  | AssociateIdentityProviderConfigCommandInput
310
+ | CancelUpdateCommandInput
306
311
  | CreateAccessEntryCommandInput
307
312
  | CreateAddonCommandInput
308
313
  | CreateCapabilityCommandInput
@@ -368,6 +373,7 @@ export type ServiceOutputTypes =
368
373
  | AssociateAccessPolicyCommandOutput
369
374
  | AssociateEncryptionConfigCommandOutput
370
375
  | AssociateIdentityProviderConfigCommandOutput
376
+ | CancelUpdateCommandOutput
371
377
  | CreateAccessEntryCommandOutput
372
378
  | CreateAddonCommandOutput
373
379
  | CreateCapabilityCommandOutput
@@ -0,0 +1,49 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ EKSClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../EKSClient";
8
+ import { CancelUpdateRequest, CancelUpdateResponse } from "../models/models_0";
9
+ export { __MetadataBearer };
10
+ export { $Command };
11
+ export interface CancelUpdateCommandInput extends CancelUpdateRequest {}
12
+ export interface CancelUpdateCommandOutput
13
+ extends CancelUpdateResponse,
14
+ __MetadataBearer {}
15
+ declare const CancelUpdateCommand_base: {
16
+ new (
17
+ input: CancelUpdateCommandInput
18
+ ): import("@smithy/core/client").CommandImpl<
19
+ CancelUpdateCommandInput,
20
+ CancelUpdateCommandOutput,
21
+ EKSClientResolvedConfig,
22
+ ServiceInputTypes,
23
+ ServiceOutputTypes
24
+ >;
25
+ new (
26
+ input: CancelUpdateCommandInput
27
+ ): import("@smithy/core/client").CommandImpl<
28
+ CancelUpdateCommandInput,
29
+ CancelUpdateCommandOutput,
30
+ EKSClientResolvedConfig,
31
+ ServiceInputTypes,
32
+ ServiceOutputTypes
33
+ >;
34
+ getEndpointParameterInstructions(): {
35
+ [x: string]: unknown;
36
+ };
37
+ };
38
+ export declare class CancelUpdateCommand extends CancelUpdateCommand_base {
39
+ protected static __types: {
40
+ api: {
41
+ input: CancelUpdateRequest;
42
+ output: CancelUpdateResponse;
43
+ };
44
+ sdk: {
45
+ input: CancelUpdateCommandInput;
46
+ output: CancelUpdateCommandOutput;
47
+ };
48
+ };
49
+ }
@@ -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";
@@ -74,6 +74,13 @@ export declare const ArgoCdRole: {
74
74
  readonly VIEWER: "VIEWER";
75
75
  };
76
76
  export type ArgoCdRole = (typeof ArgoCdRole)[keyof typeof ArgoCdRole];
77
+ export declare const CancellationStatus: {
78
+ readonly FAILED: "Failed";
79
+ readonly IN_PROGRESS: "InProgress";
80
+ readonly SUCCESSFUL: "Successful";
81
+ };
82
+ export type CancellationStatus =
83
+ (typeof CancellationStatus)[keyof typeof CancellationStatus];
77
84
  export declare const ErrorCode: {
78
85
  readonly ACCESS_DENIED: "AccessDenied";
79
86
  readonly ADMISSION_REQUEST_DENIED: "AdmissionRequestDenied";
@@ -173,6 +180,7 @@ export declare const UpdateType: {
173
180
  readonly REMOTE_NETWORK_CONFIG_UPDATE: "RemoteNetworkConfigUpdate";
174
181
  readonly UPGRADE_POLICY_UPDATE: "UpgradePolicyUpdate";
175
182
  readonly VENDED_LOGS_UPDATE: "VendedLogsUpdate";
183
+ readonly VERSION_ROLLBACK: "VersionRollback";
176
184
  readonly VERSION_UPDATE: "VersionUpdate";
177
185
  readonly VPC_CONFIG_UPDATE: "VpcConfigUpdate";
178
186
  readonly ZONAL_SHIFT_CONFIG_UPDATE: "ZonalShiftConfigUpdate";
@@ -414,6 +422,7 @@ export declare const ConfigStatus: {
414
422
  export type ConfigStatus = (typeof ConfigStatus)[keyof typeof ConfigStatus];
415
423
  export declare const Category: {
416
424
  readonly MISCONFIGURATION: "MISCONFIGURATION";
425
+ readonly ROLLBACK_READINESS: "ROLLBACK_READINESS";
417
426
  readonly UPGRADE_READINESS: "UPGRADE_READINESS";
418
427
  };
419
428
  export type Category = (typeof Category)[keyof typeof Category];
@@ -78,6 +78,14 @@ export declare class ThrottlingException extends __BaseException {
78
78
  opts: __ExceptionOptionType<ThrottlingException, __BaseException>
79
79
  );
80
80
  }
81
+ export declare class InvalidStateException extends __BaseException {
82
+ readonly name: "InvalidStateException";
83
+ readonly $fault: "client";
84
+ clusterName?: string | undefined;
85
+ constructor(
86
+ opts: __ExceptionOptionType<InvalidStateException, __BaseException>
87
+ );
88
+ }
81
89
  export declare class ResourceLimitExceededException extends __BaseException {
82
90
  readonly name: "ResourceLimitExceededException";
83
91
  readonly $fault: "client";
@@ -130,11 +138,3 @@ export declare class ResourcePropagationDelayException extends __BaseException {
130
138
  >
131
139
  );
132
140
  }
133
- export declare class InvalidStateException extends __BaseException {
134
- readonly name: "InvalidStateException";
135
- readonly $fault: "client";
136
- clusterName?: string | undefined;
137
- constructor(
138
- opts: __ExceptionOptionType<InvalidStateException, __BaseException>
139
- );
140
- }
@@ -5,6 +5,7 @@ import {
5
5
  AMITypes,
6
6
  ArgoCdRole,
7
7
  AuthenticationMode,
8
+ CancellationStatus,
8
9
  CapabilityDeletePropagationPolicy,
9
10
  CapabilityIssueCode,
10
11
  CapabilityStatus,
@@ -201,6 +202,10 @@ export interface AssociateEncryptionConfigRequest {
201
202
  encryptionConfig: EncryptionConfig[] | undefined;
202
203
  clientRequestToken?: string | undefined;
203
204
  }
205
+ export interface Cancellation {
206
+ status?: CancellationStatus | undefined;
207
+ reason?: string | undefined;
208
+ }
204
209
  export interface ErrorDetail {
205
210
  errorCode?: ErrorCode | undefined;
206
211
  errorMessage?: string | undefined;
@@ -217,6 +222,7 @@ export interface Update {
217
222
  params?: UpdateParam[] | undefined;
218
223
  createdAt?: Date | undefined;
219
224
  errors?: ErrorDetail[] | undefined;
225
+ cancellation?: Cancellation | undefined;
220
226
  }
221
227
  export interface AssociateEncryptionConfigResponse {
222
228
  update?: Update | undefined;
@@ -244,6 +250,14 @@ export interface AssociateIdentityProviderConfigResponse {
244
250
  export interface AutoScalingGroup {
245
251
  name?: string | undefined;
246
252
  }
253
+ export interface CancelUpdateRequest {
254
+ name: string | undefined;
255
+ updateId: string | undefined;
256
+ clientRequestToken?: string | undefined;
257
+ }
258
+ export interface CancelUpdateResponse {
259
+ update?: Update | undefined;
260
+ }
247
261
  export interface CreateAccessEntryRequest {
248
262
  clusterName: string | undefined;
249
263
  principalArn: string | undefined;
@@ -1248,11 +1262,15 @@ export interface UpdateClusterConfigRequest {
1248
1262
  export interface UpdateClusterConfigResponse {
1249
1263
  update?: Update | undefined;
1250
1264
  }
1265
+ export interface RollbackConfig {
1266
+ timeoutMinutes?: number | undefined;
1267
+ }
1251
1268
  export interface UpdateClusterVersionRequest {
1252
1269
  name: string | undefined;
1253
1270
  version: string | undefined;
1254
1271
  clientRequestToken?: string | undefined;
1255
1272
  force?: boolean | undefined;
1273
+ rollbackConfig?: RollbackConfig | undefined;
1256
1274
  }
1257
1275
  export interface UpdateClusterVersionResponse {
1258
1276
  update?: Update | undefined;
@@ -20,7 +20,6 @@ export declare const getRuntimeConfig: (config: EKSClientConfig) => {
20
20
  | import("@smithy/core/protocols").HttpHandler<any>
21
21
  | RequestHandler;
22
22
  retryMode: string | import("@smithy/types").Provider<string>;
23
- sha256: import("@smithy/types").HashConstructor;
24
23
  streamCollector: (
25
24
  stream:
26
25
  | import("stream").Readable
@@ -42,6 +41,7 @@ export declare const getRuntimeConfig: (config: EKSClientConfig) => {
42
41
  [setting: string]: unknown;
43
42
  };
44
43
  apiVersion: string;
44
+ sha256: import("@smithy/types").HashConstructor;
45
45
  urlParser: import("@smithy/types").UrlParser;
46
46
  base64Decoder: import("@smithy/types").Decoder;
47
47
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -21,7 +21,6 @@ export declare const getRuntimeConfig: (config: EKSClientConfig) => {
21
21
  | RequestHandler
22
22
  | import("@smithy/core/protocols").HttpHandler<any>;
23
23
  retryMode: string | import("@smithy/types").Provider<string>;
24
- sha256: import("@smithy/types").HashConstructor;
25
24
  streamCollector: (
26
25
  stream:
27
26
  | import("stream").Readable
@@ -42,6 +41,7 @@ export declare const getRuntimeConfig: (config: EKSClientConfig) => {
42
41
  [setting: string]: unknown;
43
42
  };
44
43
  apiVersion: string;
44
+ sha256: import("@smithy/types").HashConstructor;
45
45
  urlParser: import("@smithy/types").UrlParser;
46
46
  base64Decoder: import("@smithy/types").Decoder;
47
47
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -1,7 +1,6 @@
1
1
  import { EKSClientConfig } from "./EKSClient";
2
2
  export declare const getRuntimeConfig: (config: EKSClientConfig) => {
3
3
  runtime: string;
4
- sha256: import("@smithy/types").HashConstructor;
5
4
  requestHandler:
6
5
  | import("@smithy/types").NodeHttpHandlerOptions
7
6
  | import("@smithy/types").FetchHttpHandlerOptions
@@ -18,6 +17,7 @@ export declare const getRuntimeConfig: (config: EKSClientConfig) => {
18
17
  [setting: string]: unknown;
19
18
  };
20
19
  apiVersion: string;
20
+ sha256: import("@smithy/types").HashConstructor;
21
21
  urlParser: import("@smithy/types").UrlParser;
22
22
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
23
23
  streamCollector: (
@@ -24,6 +24,7 @@ export declare const getRuntimeConfig: (config: EKSClientConfig) => {
24
24
  defaultNamespace?: string;
25
25
  };
26
26
  serviceId: string;
27
+ sha256: import("@smithy/types").HashConstructor;
27
28
  urlParser: import("@smithy/types").UrlParser;
28
29
  utf8Decoder: import("@smithy/types").Decoder;
29
30
  utf8Encoder: (input: Uint8Array | string) => string;