@aws-sdk/client-eks 3.427.0 → 3.429.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.
@@ -42,7 +42,7 @@ export interface AddonIssue {
42
42
  * @public
43
43
  * <p>A code that describes the type of issue.</p>
44
44
  */
45
- code?: AddonIssueCode | string;
45
+ code?: AddonIssueCode;
46
46
  /**
47
47
  * @public
48
48
  * <p>A message that provides details about the issue and what might cause it.</p>
@@ -119,7 +119,7 @@ export interface Addon {
119
119
  * @public
120
120
  * <p>The status of the add-on.</p>
121
121
  */
122
- status?: AddonStatus | string;
122
+ status?: AddonStatus;
123
123
  /**
124
124
  * @public
125
125
  * <p>The version of the add-on.</p>
@@ -411,7 +411,7 @@ export interface ErrorDetail {
411
411
  * </li>
412
412
  * </ul>
413
413
  */
414
- errorCode?: ErrorCode | string;
414
+ errorCode?: ErrorCode;
415
415
  /**
416
416
  * @public
417
417
  * <p>A more complete description of the error.</p>
@@ -465,7 +465,7 @@ export interface UpdateParam {
465
465
  * @public
466
466
  * <p>The keys associated with an update request.</p>
467
467
  */
468
- type?: UpdateParamType | string;
468
+ type?: UpdateParamType;
469
469
  /**
470
470
  * @public
471
471
  * <p>The value of the keys submitted as part of an update request.</p>
@@ -518,12 +518,12 @@ export interface Update {
518
518
  * @public
519
519
  * <p>The current status of the update.</p>
520
520
  */
521
- status?: UpdateStatus | string;
521
+ status?: UpdateStatus;
522
522
  /**
523
523
  * @public
524
524
  * <p>The type of the update.</p>
525
525
  */
526
- type?: UpdateType | string;
526
+ type?: UpdateType;
527
527
  /**
528
528
  * @public
529
529
  * <p>A key-value map that contains the parameters associated with the update.</p>
@@ -907,7 +907,7 @@ export interface CreateAddonRequest {
907
907
  * cluster, the Amazon EKS add-on is installed. Amazon EKS sets all values
908
908
  * to default values, regardless of the option that you specify.</p>
909
909
  */
910
- resolveConflicts?: ResolveConflicts | string;
910
+ resolveConflicts?: ResolveConflicts;
911
911
  /**
912
912
  * @public
913
913
  * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the
@@ -999,7 +999,7 @@ export interface KubernetesNetworkConfigRequest {
999
999
  * <code>(fc00::/7)</code>. You can't specify a custom <code>IPv6</code> CIDR block. Pod addresses are assigned from
1000
1000
  * the subnet's <code>IPv6</code> CIDR.</p>
1001
1001
  */
1002
- ipFamily?: IpFamily | string;
1002
+ ipFamily?: IpFamily;
1003
1003
  }
1004
1004
  /**
1005
1005
  * @public
@@ -1026,7 +1026,7 @@ export interface LogSetup {
1026
1026
  * @public
1027
1027
  * <p>The available cluster control plane log types.</p>
1028
1028
  */
1029
- types?: (LogType | string)[];
1029
+ types?: LogType[];
1030
1030
  /**
1031
1031
  * @public
1032
1032
  * <p>If a log type is enabled, that log type exports its control plane logs to CloudWatch Logs. If a log type isn't enabled, that log type doesn't export its control
@@ -1318,7 +1318,7 @@ export interface ClusterIssue {
1318
1318
  * @public
1319
1319
  * <p>The error code of the issue.</p>
1320
1320
  */
1321
- code?: ClusterIssueCode | string;
1321
+ code?: ClusterIssueCode;
1322
1322
  /**
1323
1323
  * @public
1324
1324
  * <p>A description of the issue.</p>
@@ -1401,7 +1401,7 @@ export interface KubernetesNetworkConfigResponse {
1401
1401
  * version 1.10.1 or later of the Amazon VPC CNI add-on and specified <code>ipv6</code> when you
1402
1402
  * created the cluster. </p>
1403
1403
  */
1404
- ipFamily?: IpFamily | string;
1404
+ ipFamily?: IpFamily;
1405
1405
  }
1406
1406
  /**
1407
1407
  * @public
@@ -1588,7 +1588,7 @@ export interface Cluster {
1588
1588
  * @public
1589
1589
  * <p>The current status of the cluster.</p>
1590
1590
  */
1591
- status?: ClusterStatus | string;
1591
+ status?: ClusterStatus;
1592
1592
  /**
1593
1593
  * @public
1594
1594
  * <p>The <code>certificate-authority-data</code> for your cluster.</p>
@@ -1854,7 +1854,7 @@ export interface FargateProfile {
1854
1854
  * @public
1855
1855
  * <p>The current status of the Fargate profile.</p>
1856
1856
  */
1857
- status?: FargateProfileStatus | string;
1857
+ status?: FargateProfileStatus;
1858
1858
  /**
1859
1859
  * @public
1860
1860
  * <p>The metadata applied to the Fargate profile to assist with
@@ -2031,7 +2031,7 @@ export interface Taint {
2031
2031
  * @public
2032
2032
  * <p>The effect of the taint.</p>
2033
2033
  */
2034
- effect?: TaintEffect | string;
2034
+ effect?: TaintEffect;
2035
2035
  }
2036
2036
  /**
2037
2037
  * @public
@@ -2114,7 +2114,7 @@ export interface CreateNodegroupRequest {
2114
2114
  * the <code>aws-auth</code>
2115
2115
  * <code>ConfigMap</code>. For more information about using launch templates with Amazon EKS, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html">Launch template support</a> in the <i>Amazon EKS User Guide</i>.</p>
2116
2116
  */
2117
- amiType?: AMITypes | string;
2117
+ amiType?: AMITypes;
2118
2118
  /**
2119
2119
  * @public
2120
2120
  * <p>The remote access configuration to use with your node group.
@@ -2184,7 +2184,7 @@ export interface CreateNodegroupRequest {
2184
2184
  * @public
2185
2185
  * <p>The capacity type for your node group.</p>
2186
2186
  */
2187
- capacityType?: CapacityTypes | string;
2187
+ capacityType?: CapacityTypes;
2188
2188
  /**
2189
2189
  * @public
2190
2190
  * <p>The Kubernetes version to use for your managed nodes. By default, the Kubernetes
@@ -2357,7 +2357,7 @@ export interface Issue {
2357
2357
  * </li>
2358
2358
  * </ul>
2359
2359
  */
2360
- code?: NodegroupIssueCode | string;
2360
+ code?: NodegroupIssueCode;
2361
2361
  /**
2362
2362
  * @public
2363
2363
  * <p>The error message associated with the issue.</p>
@@ -2464,12 +2464,12 @@ export interface Nodegroup {
2464
2464
  * @public
2465
2465
  * <p>The current status of the managed node group.</p>
2466
2466
  */
2467
- status?: NodegroupStatus | string;
2467
+ status?: NodegroupStatus;
2468
2468
  /**
2469
2469
  * @public
2470
2470
  * <p>The capacity type of your managed node group.</p>
2471
2471
  */
2472
- capacityType?: CapacityTypes | string;
2472
+ capacityType?: CapacityTypes;
2473
2473
  /**
2474
2474
  * @public
2475
2475
  * <p>The scaling configuration details for the Auto Scaling group that is associated with
@@ -2502,7 +2502,7 @@ export interface Nodegroup {
2502
2502
  * <code>CUSTOM</code>. For node groups that weren't deployed using a launch template,
2503
2503
  * this is the AMI type that was specified in the node group configuration.</p>
2504
2504
  */
2505
- amiType?: AMITypes | string;
2505
+ amiType?: AMITypes;
2506
2506
  /**
2507
2507
  * @public
2508
2508
  * <p>The IAM role associated with your node group. The Amazon EKS
@@ -3013,7 +3013,7 @@ export interface OidcIdentityProviderConfig {
3013
3013
  * @public
3014
3014
  * <p>The status of the OIDC identity provider.</p>
3015
3015
  */
3016
- status?: ConfigStatus | string;
3016
+ status?: ConfigStatus;
3017
3017
  }
3018
3018
  /**
3019
3019
  * @public
@@ -3535,7 +3535,7 @@ export interface ConnectorConfigRequest {
3535
3535
  * @public
3536
3536
  * <p>The cloud provider for the target cluster to connect.</p>
3537
3537
  */
3538
- provider: ConnectorConfigProvider | string | undefined;
3538
+ provider: ConnectorConfigProvider | undefined;
3539
3539
  }
3540
3540
  /**
3541
3541
  * @public
@@ -3692,7 +3692,7 @@ export interface UpdateAddonRequest {
3692
3692
  * </li>
3693
3693
  * </ul>
3694
3694
  */
3695
- resolveConflicts?: ResolveConflicts | string;
3695
+ resolveConflicts?: ResolveConflicts;
3696
3696
  /**
3697
3697
  * @public
3698
3698
  * <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the
@@ -20,7 +20,7 @@ export declare const AddonIssueCode: {
20
20
  export type AddonIssueCode =
21
21
  (typeof AddonIssueCode)[keyof typeof AddonIssueCode];
22
22
  export interface AddonIssue {
23
- code?: AddonIssueCode | string;
23
+ code?: AddonIssueCode;
24
24
  message?: string;
25
25
  resourceIds?: string[];
26
26
  }
@@ -45,7 +45,7 @@ export type AddonStatus = (typeof AddonStatus)[keyof typeof AddonStatus];
45
45
  export interface Addon {
46
46
  addonName?: string;
47
47
  clusterName?: string;
48
- status?: AddonStatus | string;
48
+ status?: AddonStatus;
49
49
  addonVersion?: string;
50
50
  health?: AddonHealth;
51
51
  addonArn?: string;
@@ -125,7 +125,7 @@ export declare const ErrorCode: {
125
125
  };
126
126
  export type ErrorCode = (typeof ErrorCode)[keyof typeof ErrorCode];
127
127
  export interface ErrorDetail {
128
- errorCode?: ErrorCode | string;
128
+ errorCode?: ErrorCode;
129
129
  errorMessage?: string;
130
130
  resourceIds?: string[];
131
131
  }
@@ -157,7 +157,7 @@ export declare const UpdateParamType: {
157
157
  export type UpdateParamType =
158
158
  (typeof UpdateParamType)[keyof typeof UpdateParamType];
159
159
  export interface UpdateParam {
160
- type?: UpdateParamType | string;
160
+ type?: UpdateParamType;
161
161
  value?: string;
162
162
  }
163
163
  export declare const UpdateStatus: {
@@ -180,8 +180,8 @@ export declare const UpdateType: {
180
180
  export type UpdateType = (typeof UpdateType)[keyof typeof UpdateType];
181
181
  export interface Update {
182
182
  id?: string;
183
- status?: UpdateStatus | string;
184
- type?: UpdateType | string;
183
+ status?: UpdateStatus;
184
+ type?: UpdateType;
185
185
  params?: UpdateParam[];
186
186
  createdAt?: Date;
187
187
  errors?: ErrorDetail[];
@@ -282,7 +282,7 @@ export interface CreateAddonRequest {
282
282
  addonName: string | undefined;
283
283
  addonVersion?: string;
284
284
  serviceAccountRoleArn?: string;
285
- resolveConflicts?: ResolveConflicts | string;
285
+ resolveConflicts?: ResolveConflicts;
286
286
  clientRequestToken?: string;
287
287
  tags?: Record<string, string>;
288
288
  configurationValues?: string;
@@ -297,7 +297,7 @@ export declare const IpFamily: {
297
297
  export type IpFamily = (typeof IpFamily)[keyof typeof IpFamily];
298
298
  export interface KubernetesNetworkConfigRequest {
299
299
  serviceIpv4Cidr?: string;
300
- ipFamily?: IpFamily | string;
300
+ ipFamily?: IpFamily;
301
301
  }
302
302
  export declare const LogType: {
303
303
  readonly API: "api";
@@ -308,7 +308,7 @@ export declare const LogType: {
308
308
  };
309
309
  export type LogType = (typeof LogType)[keyof typeof LogType];
310
310
  export interface LogSetup {
311
- types?: (LogType | string)[];
311
+ types?: LogType[];
312
312
  enabled?: boolean;
313
313
  }
314
314
  export interface Logging {
@@ -362,7 +362,7 @@ export declare const ClusterIssueCode: {
362
362
  export type ClusterIssueCode =
363
363
  (typeof ClusterIssueCode)[keyof typeof ClusterIssueCode];
364
364
  export interface ClusterIssue {
365
- code?: ClusterIssueCode | string;
365
+ code?: ClusterIssueCode;
366
366
  message?: string;
367
367
  resourceIds?: string[];
368
368
  }
@@ -378,7 +378,7 @@ export interface Identity {
378
378
  export interface KubernetesNetworkConfigResponse {
379
379
  serviceIpv4Cidr?: string;
380
380
  serviceIpv6Cidr?: string;
381
- ipFamily?: IpFamily | string;
381
+ ipFamily?: IpFamily;
382
382
  }
383
383
  export interface ControlPlanePlacementResponse {
384
384
  groupName?: string;
@@ -417,7 +417,7 @@ export interface Cluster {
417
417
  kubernetesNetworkConfig?: KubernetesNetworkConfigResponse;
418
418
  logging?: Logging;
419
419
  identity?: Identity;
420
- status?: ClusterStatus | string;
420
+ status?: ClusterStatus;
421
421
  certificateAuthority?: Certificate;
422
422
  clientRequestToken?: string;
423
423
  platformVersion?: string;
@@ -490,7 +490,7 @@ export interface FargateProfile {
490
490
  podExecutionRoleArn?: string;
491
491
  subnets?: string[];
492
492
  selectors?: FargateProfileSelector[];
493
- status?: FargateProfileStatus | string;
493
+ status?: FargateProfileStatus;
494
494
  tags?: Record<string, string>;
495
495
  }
496
496
  export interface CreateFargateProfileResponse {
@@ -524,7 +524,7 @@ export type TaintEffect = (typeof TaintEffect)[keyof typeof TaintEffect];
524
524
  export interface Taint {
525
525
  key?: string;
526
526
  value?: string;
527
- effect?: TaintEffect | string;
527
+ effect?: TaintEffect;
528
528
  }
529
529
  export interface NodegroupUpdateConfig {
530
530
  maxUnavailable?: number;
@@ -537,7 +537,7 @@ export interface CreateNodegroupRequest {
537
537
  diskSize?: number;
538
538
  subnets: string[] | undefined;
539
539
  instanceTypes?: string[];
540
- amiType?: AMITypes | string;
540
+ amiType?: AMITypes;
541
541
  remoteAccess?: RemoteAccessConfig;
542
542
  nodeRole: string | undefined;
543
543
  labels?: Record<string, string>;
@@ -546,7 +546,7 @@ export interface CreateNodegroupRequest {
546
546
  clientRequestToken?: string;
547
547
  launchTemplate?: LaunchTemplateSpecification;
548
548
  updateConfig?: NodegroupUpdateConfig;
549
- capacityType?: CapacityTypes | string;
549
+ capacityType?: CapacityTypes;
550
550
  version?: string;
551
551
  releaseVersion?: string;
552
552
  }
@@ -588,7 +588,7 @@ export declare const NodegroupIssueCode: {
588
588
  export type NodegroupIssueCode =
589
589
  (typeof NodegroupIssueCode)[keyof typeof NodegroupIssueCode];
590
590
  export interface Issue {
591
- code?: NodegroupIssueCode | string;
591
+ code?: NodegroupIssueCode;
592
592
  message?: string;
593
593
  resourceIds?: string[];
594
594
  }
@@ -618,13 +618,13 @@ export interface Nodegroup {
618
618
  releaseVersion?: string;
619
619
  createdAt?: Date;
620
620
  modifiedAt?: Date;
621
- status?: NodegroupStatus | string;
622
- capacityType?: CapacityTypes | string;
621
+ status?: NodegroupStatus;
622
+ capacityType?: CapacityTypes;
623
623
  scalingConfig?: NodegroupScalingConfig;
624
624
  instanceTypes?: string[];
625
625
  subnets?: string[];
626
626
  remoteAccess?: RemoteAccessConfig;
627
- amiType?: AMITypes | string;
627
+ amiType?: AMITypes;
628
628
  nodeRole?: string;
629
629
  labels?: Record<string, string>;
630
630
  taints?: Taint[];
@@ -740,7 +740,7 @@ export interface OidcIdentityProviderConfig {
740
740
  groupsPrefix?: string;
741
741
  requiredClaims?: Record<string, string>;
742
742
  tags?: Record<string, string>;
743
- status?: ConfigStatus | string;
743
+ status?: ConfigStatus;
744
744
  }
745
745
  export interface IdentityProviderConfigResponse {
746
746
  oidc?: OidcIdentityProviderConfig;
@@ -861,7 +861,7 @@ export type ConnectorConfigProvider =
861
861
  (typeof ConnectorConfigProvider)[keyof typeof ConnectorConfigProvider];
862
862
  export interface ConnectorConfigRequest {
863
863
  roleArn: string | undefined;
864
- provider: ConnectorConfigProvider | string | undefined;
864
+ provider: ConnectorConfigProvider | undefined;
865
865
  }
866
866
  export interface RegisterClusterRequest {
867
867
  name: string | undefined;
@@ -897,7 +897,7 @@ export interface UpdateAddonRequest {
897
897
  addonName: string | undefined;
898
898
  addonVersion?: string;
899
899
  serviceAccountRoleArn?: string;
900
- resolveConflicts?: ResolveConflicts | string;
900
+ resolveConflicts?: ResolveConflicts;
901
901
  clientRequestToken?: string;
902
902
  configurationValues?: string;
903
903
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-eks",
3
3
  "description": "AWS SDK for JavaScript Eks Client for Node.js, Browser and React Native",
4
- "version": "3.427.0",
4
+ "version": "3.429.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,41 +21,41 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.427.0",
25
- "@aws-sdk/credential-provider-node": "3.427.0",
26
- "@aws-sdk/middleware-host-header": "3.425.0",
27
- "@aws-sdk/middleware-logger": "3.425.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.425.0",
29
- "@aws-sdk/middleware-signing": "3.425.0",
30
- "@aws-sdk/middleware-user-agent": "3.427.0",
31
- "@aws-sdk/region-config-resolver": "3.425.0",
32
- "@aws-sdk/types": "3.425.0",
33
- "@aws-sdk/util-endpoints": "3.427.0",
34
- "@aws-sdk/util-user-agent-browser": "3.425.0",
35
- "@aws-sdk/util-user-agent-node": "3.425.0",
36
- "@smithy/config-resolver": "^2.0.11",
37
- "@smithy/fetch-http-handler": "^2.2.1",
38
- "@smithy/hash-node": "^2.0.10",
39
- "@smithy/invalid-dependency": "^2.0.10",
40
- "@smithy/middleware-content-length": "^2.0.12",
41
- "@smithy/middleware-endpoint": "^2.0.10",
42
- "@smithy/middleware-retry": "^2.0.13",
43
- "@smithy/middleware-serde": "^2.0.10",
44
- "@smithy/middleware-stack": "^2.0.4",
45
- "@smithy/node-config-provider": "^2.0.13",
46
- "@smithy/node-http-handler": "^2.1.6",
47
- "@smithy/protocol-http": "^3.0.6",
48
- "@smithy/smithy-client": "^2.1.9",
49
- "@smithy/types": "^2.3.4",
50
- "@smithy/url-parser": "^2.0.10",
24
+ "@aws-sdk/client-sts": "3.429.0",
25
+ "@aws-sdk/credential-provider-node": "3.429.0",
26
+ "@aws-sdk/middleware-host-header": "3.429.0",
27
+ "@aws-sdk/middleware-logger": "3.428.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.428.0",
29
+ "@aws-sdk/middleware-signing": "3.428.0",
30
+ "@aws-sdk/middleware-user-agent": "3.428.0",
31
+ "@aws-sdk/region-config-resolver": "3.428.0",
32
+ "@aws-sdk/types": "3.428.0",
33
+ "@aws-sdk/util-endpoints": "3.428.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.428.0",
35
+ "@aws-sdk/util-user-agent-node": "3.428.0",
36
+ "@smithy/config-resolver": "^2.0.14",
37
+ "@smithy/fetch-http-handler": "^2.2.3",
38
+ "@smithy/hash-node": "^2.0.11",
39
+ "@smithy/invalid-dependency": "^2.0.11",
40
+ "@smithy/middleware-content-length": "^2.0.13",
41
+ "@smithy/middleware-endpoint": "^2.1.1",
42
+ "@smithy/middleware-retry": "^2.0.16",
43
+ "@smithy/middleware-serde": "^2.0.11",
44
+ "@smithy/middleware-stack": "^2.0.5",
45
+ "@smithy/node-config-provider": "^2.1.1",
46
+ "@smithy/node-http-handler": "^2.1.7",
47
+ "@smithy/protocol-http": "^3.0.7",
48
+ "@smithy/smithy-client": "^2.1.11",
49
+ "@smithy/types": "^2.3.5",
50
+ "@smithy/url-parser": "^2.0.11",
51
51
  "@smithy/util-base64": "^2.0.0",
52
52
  "@smithy/util-body-length-browser": "^2.0.0",
53
53
  "@smithy/util-body-length-node": "^2.1.0",
54
- "@smithy/util-defaults-mode-browser": "^2.0.13",
55
- "@smithy/util-defaults-mode-node": "^2.0.15",
56
- "@smithy/util-retry": "^2.0.3",
54
+ "@smithy/util-defaults-mode-browser": "^2.0.15",
55
+ "@smithy/util-defaults-mode-node": "^2.0.19",
56
+ "@smithy/util-retry": "^2.0.4",
57
57
  "@smithy/util-utf8": "^2.0.0",
58
- "@smithy/util-waiter": "^2.0.10",
58
+ "@smithy/util-waiter": "^2.0.11",
59
59
  "tslib": "^2.5.0",
60
60
  "uuid": "^8.3.2"
61
61
  },