@aws-sdk/client-eks 3.52.0 → 3.54.1
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/CHANGELOG.md +30 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/EKSServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +199 -3
- package/dist-cjs/protocols/Aws_restJson1.js +417 -1497
- package/dist-es/index.js +1 -0
- package/dist-es/models/EKSServiceException.js +12 -0
- package/dist-es/models/models_0.js +184 -1
- package/dist-es/protocols/Aws_restJson1.js +835 -1647
- package/dist-types/EKSClient.d.ts +2 -2
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/EKSServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +94 -53
- 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/ts3.4/EKSClient.d.ts +2 -2
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/EKSServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +68 -53
- 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/package.json +28 -28
|
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
|
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
7
|
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
-
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
8
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { AssociateEncryptionConfigCommandInput, AssociateEncryptionConfigCommandOutput } from "./commands/AssociateEncryptionConfigCommand";
|
|
10
10
|
import { AssociateIdentityProviderConfigCommandInput, AssociateIdentityProviderConfigCommandOutput } from "./commands/AssociateIdentityProviderConfigCommand";
|
|
11
11
|
import { CreateAddonCommandInput, CreateAddonCommandOutput } from "./commands/CreateAddonCommand";
|
|
@@ -62,7 +62,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
62
62
|
* A function that can calculate the length of a request body.
|
|
63
63
|
* @internal
|
|
64
64
|
*/
|
|
65
|
-
bodyLengthChecker?:
|
|
65
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
66
66
|
/**
|
|
67
67
|
* A function that converts a stream into an array of bytes.
|
|
68
68
|
* @internal
|
package/dist-types/index.d.ts
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
/**
|
|
3
|
+
* Base exception class for all service exceptions from EKS service.
|
|
4
|
+
*/
|
|
5
|
+
export declare class EKSServiceException extends __ServiceException {
|
|
6
|
+
/**
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
constructor(options: __ServiceExceptionOptions);
|
|
10
|
+
}
|
|
@@ -1,14 +1,18 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { EKSServiceException as __BaseException } from "./EKSServiceException";
|
|
2
3
|
/**
|
|
3
4
|
* <p>You don't have permissions to perform the requested operation. The user or role that
|
|
4
5
|
* is making the request must have at least one IAM permissions policy
|
|
5
6
|
* attached that grants the required permissions. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html">Access
|
|
6
7
|
* Management</a> in the <i>IAM User Guide</i>. </p>
|
|
7
8
|
*/
|
|
8
|
-
export
|
|
9
|
-
name: "AccessDeniedException";
|
|
10
|
-
$fault: "client";
|
|
11
|
-
|
|
9
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
10
|
+
readonly name: "AccessDeniedException";
|
|
11
|
+
readonly $fault: "client";
|
|
12
|
+
/**
|
|
13
|
+
* @internal
|
|
14
|
+
*/
|
|
15
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
12
16
|
}
|
|
13
17
|
export declare enum AddonIssueCode {
|
|
14
18
|
ACCESS_DENIED = "AccessDenied",
|
|
@@ -439,9 +443,9 @@ export declare namespace AssociateEncryptionConfigResponse {
|
|
|
439
443
|
* action or resource on behalf of a user that doesn't have permissions to use the action
|
|
440
444
|
* or resource or specifying an identifier that is not valid.</p>
|
|
441
445
|
*/
|
|
442
|
-
export
|
|
443
|
-
name: "ClientException";
|
|
444
|
-
$fault: "client";
|
|
446
|
+
export declare class ClientException extends __BaseException {
|
|
447
|
+
readonly name: "ClientException";
|
|
448
|
+
readonly $fault: "client";
|
|
445
449
|
/**
|
|
446
450
|
* <p>The Amazon EKS cluster associated with the exception.</p>
|
|
447
451
|
*/
|
|
@@ -451,15 +455,18 @@ export interface ClientException extends __SmithyException, $MetadataBearer {
|
|
|
451
455
|
*/
|
|
452
456
|
nodegroupName?: string;
|
|
453
457
|
addonName?: string;
|
|
454
|
-
|
|
458
|
+
/**
|
|
459
|
+
* @internal
|
|
460
|
+
*/
|
|
461
|
+
constructor(opts: __ExceptionOptionType<ClientException, __BaseException>);
|
|
455
462
|
}
|
|
456
463
|
/**
|
|
457
464
|
* <p>The specified parameter is invalid. Review the available parameters for the API
|
|
458
465
|
* request.</p>
|
|
459
466
|
*/
|
|
460
|
-
export
|
|
461
|
-
name: "InvalidParameterException";
|
|
462
|
-
$fault: "client";
|
|
467
|
+
export declare class InvalidParameterException extends __BaseException {
|
|
468
|
+
readonly name: "InvalidParameterException";
|
|
469
|
+
readonly $fault: "client";
|
|
463
470
|
/**
|
|
464
471
|
* <p>The Amazon EKS cluster associated with the exception.</p>
|
|
465
472
|
*/
|
|
@@ -473,15 +480,18 @@ export interface InvalidParameterException extends __SmithyException, $MetadataB
|
|
|
473
480
|
*/
|
|
474
481
|
fargateProfileName?: string;
|
|
475
482
|
addonName?: string;
|
|
476
|
-
|
|
483
|
+
/**
|
|
484
|
+
* @internal
|
|
485
|
+
*/
|
|
486
|
+
constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
|
|
477
487
|
}
|
|
478
488
|
/**
|
|
479
489
|
* <p>The request is invalid given the state of the cluster. Check the state of the cluster
|
|
480
490
|
* and the associated operations.</p>
|
|
481
491
|
*/
|
|
482
|
-
export
|
|
483
|
-
name: "InvalidRequestException";
|
|
484
|
-
$fault: "client";
|
|
492
|
+
export declare class InvalidRequestException extends __BaseException {
|
|
493
|
+
readonly name: "InvalidRequestException";
|
|
494
|
+
readonly $fault: "client";
|
|
485
495
|
/**
|
|
486
496
|
* <p>The Amazon EKS cluster associated with the exception.</p>
|
|
487
497
|
*/
|
|
@@ -491,14 +501,17 @@ export interface InvalidRequestException extends __SmithyException, $MetadataBea
|
|
|
491
501
|
*/
|
|
492
502
|
nodegroupName?: string;
|
|
493
503
|
addonName?: string;
|
|
494
|
-
|
|
504
|
+
/**
|
|
505
|
+
* @internal
|
|
506
|
+
*/
|
|
507
|
+
constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
|
|
495
508
|
}
|
|
496
509
|
/**
|
|
497
510
|
* <p>The specified resource is in use.</p>
|
|
498
511
|
*/
|
|
499
|
-
export
|
|
500
|
-
name: "ResourceInUseException";
|
|
501
|
-
$fault: "client";
|
|
512
|
+
export declare class ResourceInUseException extends __BaseException {
|
|
513
|
+
readonly name: "ResourceInUseException";
|
|
514
|
+
readonly $fault: "client";
|
|
502
515
|
/**
|
|
503
516
|
* <p>The Amazon EKS cluster associated with the exception.</p>
|
|
504
517
|
*/
|
|
@@ -508,7 +521,10 @@ export interface ResourceInUseException extends __SmithyException, $MetadataBear
|
|
|
508
521
|
*/
|
|
509
522
|
nodegroupName?: string;
|
|
510
523
|
addonName?: string;
|
|
511
|
-
|
|
524
|
+
/**
|
|
525
|
+
* @internal
|
|
526
|
+
*/
|
|
527
|
+
constructor(opts: __ExceptionOptionType<ResourceInUseException, __BaseException>);
|
|
512
528
|
}
|
|
513
529
|
/**
|
|
514
530
|
* <p>The specified resource could not be found. You can view your available clusters with
|
|
@@ -516,9 +532,9 @@ export interface ResourceInUseException extends __SmithyException, $MetadataBear
|
|
|
516
532
|
* <a>ListNodegroups</a>. Amazon EKS clusters and node groups are
|
|
517
533
|
* Region-specific.</p>
|
|
518
534
|
*/
|
|
519
|
-
export
|
|
520
|
-
name: "ResourceNotFoundException";
|
|
521
|
-
$fault: "client";
|
|
535
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
536
|
+
readonly name: "ResourceNotFoundException";
|
|
537
|
+
readonly $fault: "client";
|
|
522
538
|
/**
|
|
523
539
|
* <p>The Amazon EKS cluster associated with the exception.</p>
|
|
524
540
|
*/
|
|
@@ -532,14 +548,17 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
|
|
|
532
548
|
*/
|
|
533
549
|
fargateProfileName?: string;
|
|
534
550
|
addonName?: string;
|
|
535
|
-
|
|
551
|
+
/**
|
|
552
|
+
* @internal
|
|
553
|
+
*/
|
|
554
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
536
555
|
}
|
|
537
556
|
/**
|
|
538
557
|
* <p>These errors are usually caused by a server-side issue.</p>
|
|
539
558
|
*/
|
|
540
|
-
export
|
|
541
|
-
name: "ServerException";
|
|
542
|
-
$fault: "server";
|
|
559
|
+
export declare class ServerException extends __BaseException {
|
|
560
|
+
readonly name: "ServerException";
|
|
561
|
+
readonly $fault: "server";
|
|
543
562
|
/**
|
|
544
563
|
* <p>The Amazon EKS cluster associated with the exception.</p>
|
|
545
564
|
*/
|
|
@@ -549,7 +568,10 @@ export interface ServerException extends __SmithyException, $MetadataBearer {
|
|
|
549
568
|
*/
|
|
550
569
|
nodegroupName?: string;
|
|
551
570
|
addonName?: string;
|
|
552
|
-
|
|
571
|
+
/**
|
|
572
|
+
* @internal
|
|
573
|
+
*/
|
|
574
|
+
constructor(opts: __ExceptionOptionType<ServerException, __BaseException>);
|
|
553
575
|
}
|
|
554
576
|
/**
|
|
555
577
|
* <p>An object representing an OpenID Connect (OIDC) configuration. Before associating an
|
|
@@ -1283,9 +1305,9 @@ export declare namespace CreateClusterResponse {
|
|
|
1283
1305
|
/**
|
|
1284
1306
|
* <p>You have encountered a service limit on the specified resource.</p>
|
|
1285
1307
|
*/
|
|
1286
|
-
export
|
|
1287
|
-
name: "ResourceLimitExceededException";
|
|
1288
|
-
$fault: "client";
|
|
1308
|
+
export declare class ResourceLimitExceededException extends __BaseException {
|
|
1309
|
+
readonly name: "ResourceLimitExceededException";
|
|
1310
|
+
readonly $fault: "client";
|
|
1289
1311
|
/**
|
|
1290
1312
|
* <p>The Amazon EKS cluster associated with the exception.</p>
|
|
1291
1313
|
*/
|
|
@@ -1294,15 +1316,21 @@ export interface ResourceLimitExceededException extends __SmithyException, $Meta
|
|
|
1294
1316
|
* <p>The Amazon EKS managed node group associated with the exception.</p>
|
|
1295
1317
|
*/
|
|
1296
1318
|
nodegroupName?: string;
|
|
1297
|
-
|
|
1319
|
+
/**
|
|
1320
|
+
* @internal
|
|
1321
|
+
*/
|
|
1322
|
+
constructor(opts: __ExceptionOptionType<ResourceLimitExceededException, __BaseException>);
|
|
1298
1323
|
}
|
|
1299
1324
|
/**
|
|
1300
1325
|
* <p>The service is unavailable. Back off and retry the operation.</p>
|
|
1301
1326
|
*/
|
|
1302
|
-
export
|
|
1303
|
-
name: "ServiceUnavailableException";
|
|
1304
|
-
$fault: "server";
|
|
1305
|
-
|
|
1327
|
+
export declare class ServiceUnavailableException extends __BaseException {
|
|
1328
|
+
readonly name: "ServiceUnavailableException";
|
|
1329
|
+
readonly $fault: "server";
|
|
1330
|
+
/**
|
|
1331
|
+
* @internal
|
|
1332
|
+
*/
|
|
1333
|
+
constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
|
|
1306
1334
|
}
|
|
1307
1335
|
/**
|
|
1308
1336
|
* <p>At least one of your specified cluster subnets is in an Availability Zone that does
|
|
@@ -1310,10 +1338,9 @@ export interface ServiceUnavailableException extends __SmithyException, $Metadat
|
|
|
1310
1338
|
* Availability Zones for your account, from which you can choose subnets for your
|
|
1311
1339
|
* cluster.</p>
|
|
1312
1340
|
*/
|
|
1313
|
-
export
|
|
1314
|
-
name: "UnsupportedAvailabilityZoneException";
|
|
1315
|
-
$fault: "client";
|
|
1316
|
-
message?: string;
|
|
1341
|
+
export declare class UnsupportedAvailabilityZoneException extends __BaseException {
|
|
1342
|
+
readonly name: "UnsupportedAvailabilityZoneException";
|
|
1343
|
+
readonly $fault: "client";
|
|
1317
1344
|
/**
|
|
1318
1345
|
* <p>The Amazon EKS cluster associated with the exception.</p>
|
|
1319
1346
|
*/
|
|
@@ -1327,6 +1354,10 @@ export interface UnsupportedAvailabilityZoneException extends __SmithyException,
|
|
|
1327
1354
|
* Availability Zones for your cluster.</p>
|
|
1328
1355
|
*/
|
|
1329
1356
|
validZones?: string[];
|
|
1357
|
+
/**
|
|
1358
|
+
* @internal
|
|
1359
|
+
*/
|
|
1360
|
+
constructor(opts: __ExceptionOptionType<UnsupportedAvailabilityZoneException, __BaseException>);
|
|
1330
1361
|
}
|
|
1331
1362
|
/**
|
|
1332
1363
|
* <p>An object representing an Fargate profile selector.</p>
|
|
@@ -1779,6 +1810,7 @@ export declare enum NodegroupIssueCode {
|
|
|
1779
1810
|
EC2_SECURITY_GROUP_DELETION_FAILURE = "Ec2SecurityGroupDeletionFailure",
|
|
1780
1811
|
EC2_SECURITY_GROUP_NOT_FOUND = "Ec2SecurityGroupNotFound",
|
|
1781
1812
|
EC2_SUBNET_INVALID_CONFIGURATION = "Ec2SubnetInvalidConfiguration",
|
|
1813
|
+
EC2_SUBNET_MISSING_IPV6_ASSIGNMENT = "Ec2SubnetMissingIpv6Assignment",
|
|
1782
1814
|
EC2_SUBNET_NOT_FOUND = "Ec2SubnetNotFound",
|
|
1783
1815
|
IAM_INSTANCE_PROFILE_NOT_FOUND = "IamInstanceProfileNotFound",
|
|
1784
1816
|
IAM_LIMIT_EXCEEDED = "IamLimitExceeded",
|
|
@@ -2890,10 +2922,13 @@ export declare namespace ListNodegroupsResponse {
|
|
|
2890
2922
|
* <p>This exception is thrown if the request contains a semantic error. The precise meaning
|
|
2891
2923
|
* will depend on the API, and will be documented in the error message.</p>
|
|
2892
2924
|
*/
|
|
2893
|
-
export
|
|
2894
|
-
name: "BadRequestException";
|
|
2895
|
-
$fault: "client";
|
|
2896
|
-
|
|
2925
|
+
export declare class BadRequestException extends __BaseException {
|
|
2926
|
+
readonly name: "BadRequestException";
|
|
2927
|
+
readonly $fault: "client";
|
|
2928
|
+
/**
|
|
2929
|
+
* @internal
|
|
2930
|
+
*/
|
|
2931
|
+
constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
|
|
2897
2932
|
}
|
|
2898
2933
|
export interface ListTagsForResourceRequest {
|
|
2899
2934
|
/**
|
|
@@ -2926,10 +2961,13 @@ export declare namespace ListTagsForResourceResponse {
|
|
|
2926
2961
|
* <p>A service resource associated with the request could not be found. Clients should not
|
|
2927
2962
|
* retry such requests.</p>
|
|
2928
2963
|
*/
|
|
2929
|
-
export
|
|
2930
|
-
name: "NotFoundException";
|
|
2931
|
-
$fault: "client";
|
|
2932
|
-
|
|
2964
|
+
export declare class NotFoundException extends __BaseException {
|
|
2965
|
+
readonly name: "NotFoundException";
|
|
2966
|
+
readonly $fault: "client";
|
|
2967
|
+
/**
|
|
2968
|
+
* @internal
|
|
2969
|
+
*/
|
|
2970
|
+
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
2933
2971
|
}
|
|
2934
2972
|
export interface ListUpdatesRequest {
|
|
2935
2973
|
/**
|
|
@@ -3065,10 +3103,13 @@ export declare namespace RegisterClusterResponse {
|
|
|
3065
3103
|
/**
|
|
3066
3104
|
* <p>Required resources (such as Service Linked Roles) were created and are still propagating. Retry later.</p>
|
|
3067
3105
|
*/
|
|
3068
|
-
export
|
|
3069
|
-
name: "ResourcePropagationDelayException";
|
|
3070
|
-
$fault: "client";
|
|
3071
|
-
|
|
3106
|
+
export declare class ResourcePropagationDelayException extends __BaseException {
|
|
3107
|
+
readonly name: "ResourcePropagationDelayException";
|
|
3108
|
+
readonly $fault: "client";
|
|
3109
|
+
/**
|
|
3110
|
+
* @internal
|
|
3111
|
+
*/
|
|
3112
|
+
constructor(opts: __ExceptionOptionType<ResourcePropagationDelayException, __BaseException>);
|
|
3072
3113
|
}
|
|
3073
3114
|
export interface TagResourceRequest {
|
|
3074
3115
|
/**
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: EKSClientConfig) => {
|
|
|
8
8
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
10
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
13
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
14
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: EKSClientConfig) => {
|
|
|
8
8
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
10
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
13
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
14
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: EKSClientConfig) => {
|
|
|
8
8
|
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
9
9
|
apiVersion: string;
|
|
10
10
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
13
13
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
14
14
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
|
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
7
|
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
-
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
8
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { AssociateEncryptionConfigCommandInput, AssociateEncryptionConfigCommandOutput } from "./commands/AssociateEncryptionConfigCommand";
|
|
10
10
|
import { AssociateIdentityProviderConfigCommandInput, AssociateIdentityProviderConfigCommandOutput } from "./commands/AssociateIdentityProviderConfigCommand";
|
|
11
11
|
import { CreateAddonCommandInput, CreateAddonCommandOutput } from "./commands/CreateAddonCommand";
|
|
@@ -50,7 +50,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
50
50
|
|
|
51
51
|
urlParser?: __UrlParser;
|
|
52
52
|
|
|
53
|
-
bodyLengthChecker?:
|
|
53
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
54
54
|
|
|
55
55
|
streamCollector?: __StreamCollector;
|
|
56
56
|
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { EKSServiceException as __BaseException } from "./EKSServiceException";
|
|
2
3
|
|
|
3
|
-
export
|
|
4
|
-
name: "AccessDeniedException";
|
|
5
|
-
$fault: "client";
|
|
6
|
-
|
|
4
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
5
|
+
readonly name: "AccessDeniedException";
|
|
6
|
+
readonly $fault: "client";
|
|
7
|
+
|
|
8
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
7
9
|
}
|
|
8
10
|
export declare enum AddonIssueCode {
|
|
9
11
|
ACCESS_DENIED = "AccessDenied",
|
|
@@ -251,20 +253,21 @@ export declare namespace AssociateEncryptionConfigResponse {
|
|
|
251
253
|
const filterSensitiveLog: (obj: AssociateEncryptionConfigResponse) => any;
|
|
252
254
|
}
|
|
253
255
|
|
|
254
|
-
export
|
|
255
|
-
name: "ClientException";
|
|
256
|
-
$fault: "client";
|
|
256
|
+
export declare class ClientException extends __BaseException {
|
|
257
|
+
readonly name: "ClientException";
|
|
258
|
+
readonly $fault: "client";
|
|
257
259
|
|
|
258
260
|
clusterName?: string;
|
|
259
261
|
|
|
260
262
|
nodegroupName?: string;
|
|
261
263
|
addonName?: string;
|
|
262
|
-
|
|
264
|
+
|
|
265
|
+
constructor(opts: __ExceptionOptionType<ClientException, __BaseException>);
|
|
263
266
|
}
|
|
264
267
|
|
|
265
|
-
export
|
|
266
|
-
name: "InvalidParameterException";
|
|
267
|
-
$fault: "client";
|
|
268
|
+
export declare class InvalidParameterException extends __BaseException {
|
|
269
|
+
readonly name: "InvalidParameterException";
|
|
270
|
+
readonly $fault: "client";
|
|
268
271
|
|
|
269
272
|
clusterName?: string;
|
|
270
273
|
|
|
@@ -272,34 +275,37 @@ export interface InvalidParameterException extends __SmithyException, $MetadataB
|
|
|
272
275
|
|
|
273
276
|
fargateProfileName?: string;
|
|
274
277
|
addonName?: string;
|
|
275
|
-
|
|
278
|
+
|
|
279
|
+
constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
|
|
276
280
|
}
|
|
277
281
|
|
|
278
|
-
export
|
|
279
|
-
name: "InvalidRequestException";
|
|
280
|
-
$fault: "client";
|
|
282
|
+
export declare class InvalidRequestException extends __BaseException {
|
|
283
|
+
readonly name: "InvalidRequestException";
|
|
284
|
+
readonly $fault: "client";
|
|
281
285
|
|
|
282
286
|
clusterName?: string;
|
|
283
287
|
|
|
284
288
|
nodegroupName?: string;
|
|
285
289
|
addonName?: string;
|
|
286
|
-
|
|
290
|
+
|
|
291
|
+
constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
|
|
287
292
|
}
|
|
288
293
|
|
|
289
|
-
export
|
|
290
|
-
name: "ResourceInUseException";
|
|
291
|
-
$fault: "client";
|
|
294
|
+
export declare class ResourceInUseException extends __BaseException {
|
|
295
|
+
readonly name: "ResourceInUseException";
|
|
296
|
+
readonly $fault: "client";
|
|
292
297
|
|
|
293
298
|
clusterName?: string;
|
|
294
299
|
|
|
295
300
|
nodegroupName?: string;
|
|
296
301
|
addonName?: string;
|
|
297
|
-
|
|
302
|
+
|
|
303
|
+
constructor(opts: __ExceptionOptionType<ResourceInUseException, __BaseException>);
|
|
298
304
|
}
|
|
299
305
|
|
|
300
|
-
export
|
|
301
|
-
name: "ResourceNotFoundException";
|
|
302
|
-
$fault: "client";
|
|
306
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
307
|
+
readonly name: "ResourceNotFoundException";
|
|
308
|
+
readonly $fault: "client";
|
|
303
309
|
|
|
304
310
|
clusterName?: string;
|
|
305
311
|
|
|
@@ -307,18 +313,20 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
|
|
|
307
313
|
|
|
308
314
|
fargateProfileName?: string;
|
|
309
315
|
addonName?: string;
|
|
310
|
-
|
|
316
|
+
|
|
317
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
311
318
|
}
|
|
312
319
|
|
|
313
|
-
export
|
|
314
|
-
name: "ServerException";
|
|
315
|
-
$fault: "server";
|
|
320
|
+
export declare class ServerException extends __BaseException {
|
|
321
|
+
readonly name: "ServerException";
|
|
322
|
+
readonly $fault: "server";
|
|
316
323
|
|
|
317
324
|
clusterName?: string;
|
|
318
325
|
|
|
319
326
|
nodegroupName?: string;
|
|
320
327
|
addonName?: string;
|
|
321
|
-
|
|
328
|
+
|
|
329
|
+
constructor(opts: __ExceptionOptionType<ServerException, __BaseException>);
|
|
322
330
|
}
|
|
323
331
|
|
|
324
332
|
export interface OidcIdentityProviderConfigRequest {
|
|
@@ -629,32 +637,35 @@ export declare namespace CreateClusterResponse {
|
|
|
629
637
|
const filterSensitiveLog: (obj: CreateClusterResponse) => any;
|
|
630
638
|
}
|
|
631
639
|
|
|
632
|
-
export
|
|
633
|
-
name: "ResourceLimitExceededException";
|
|
634
|
-
$fault: "client";
|
|
640
|
+
export declare class ResourceLimitExceededException extends __BaseException {
|
|
641
|
+
readonly name: "ResourceLimitExceededException";
|
|
642
|
+
readonly $fault: "client";
|
|
635
643
|
|
|
636
644
|
clusterName?: string;
|
|
637
645
|
|
|
638
646
|
nodegroupName?: string;
|
|
639
|
-
|
|
647
|
+
|
|
648
|
+
constructor(opts: __ExceptionOptionType<ResourceLimitExceededException, __BaseException>);
|
|
640
649
|
}
|
|
641
650
|
|
|
642
|
-
export
|
|
643
|
-
name: "ServiceUnavailableException";
|
|
644
|
-
$fault: "server";
|
|
645
|
-
|
|
651
|
+
export declare class ServiceUnavailableException extends __BaseException {
|
|
652
|
+
readonly name: "ServiceUnavailableException";
|
|
653
|
+
readonly $fault: "server";
|
|
654
|
+
|
|
655
|
+
constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
|
|
646
656
|
}
|
|
647
657
|
|
|
648
|
-
export
|
|
649
|
-
name: "UnsupportedAvailabilityZoneException";
|
|
650
|
-
$fault: "client";
|
|
651
|
-
message?: string;
|
|
658
|
+
export declare class UnsupportedAvailabilityZoneException extends __BaseException {
|
|
659
|
+
readonly name: "UnsupportedAvailabilityZoneException";
|
|
660
|
+
readonly $fault: "client";
|
|
652
661
|
|
|
653
662
|
clusterName?: string;
|
|
654
663
|
|
|
655
664
|
nodegroupName?: string;
|
|
656
665
|
|
|
657
666
|
validZones?: string[];
|
|
667
|
+
|
|
668
|
+
constructor(opts: __ExceptionOptionType<UnsupportedAvailabilityZoneException, __BaseException>);
|
|
658
669
|
}
|
|
659
670
|
|
|
660
671
|
export interface FargateProfileSelector {
|
|
@@ -851,6 +862,7 @@ export declare enum NodegroupIssueCode {
|
|
|
851
862
|
EC2_SECURITY_GROUP_DELETION_FAILURE = "Ec2SecurityGroupDeletionFailure",
|
|
852
863
|
EC2_SECURITY_GROUP_NOT_FOUND = "Ec2SecurityGroupNotFound",
|
|
853
864
|
EC2_SUBNET_INVALID_CONFIGURATION = "Ec2SubnetInvalidConfiguration",
|
|
865
|
+
EC2_SUBNET_MISSING_IPV6_ASSIGNMENT = "Ec2SubnetMissingIpv6Assignment",
|
|
854
866
|
EC2_SUBNET_NOT_FOUND = "Ec2SubnetNotFound",
|
|
855
867
|
IAM_INSTANCE_PROFILE_NOT_FOUND = "IamInstanceProfileNotFound",
|
|
856
868
|
IAM_LIMIT_EXCEEDED = "IamLimitExceeded",
|
|
@@ -1372,10 +1384,11 @@ export declare namespace ListNodegroupsResponse {
|
|
|
1372
1384
|
const filterSensitiveLog: (obj: ListNodegroupsResponse) => any;
|
|
1373
1385
|
}
|
|
1374
1386
|
|
|
1375
|
-
export
|
|
1376
|
-
name: "BadRequestException";
|
|
1377
|
-
$fault: "client";
|
|
1378
|
-
|
|
1387
|
+
export declare class BadRequestException extends __BaseException {
|
|
1388
|
+
readonly name: "BadRequestException";
|
|
1389
|
+
readonly $fault: "client";
|
|
1390
|
+
|
|
1391
|
+
constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
|
|
1379
1392
|
}
|
|
1380
1393
|
export interface ListTagsForResourceRequest {
|
|
1381
1394
|
|
|
@@ -1396,10 +1409,11 @@ export declare namespace ListTagsForResourceResponse {
|
|
|
1396
1409
|
const filterSensitiveLog: (obj: ListTagsForResourceResponse) => any;
|
|
1397
1410
|
}
|
|
1398
1411
|
|
|
1399
|
-
export
|
|
1400
|
-
name: "NotFoundException";
|
|
1401
|
-
$fault: "client";
|
|
1402
|
-
|
|
1412
|
+
export declare class NotFoundException extends __BaseException {
|
|
1413
|
+
readonly name: "NotFoundException";
|
|
1414
|
+
readonly $fault: "client";
|
|
1415
|
+
|
|
1416
|
+
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
1403
1417
|
}
|
|
1404
1418
|
export interface ListUpdatesRequest {
|
|
1405
1419
|
|
|
@@ -1474,10 +1488,11 @@ export declare namespace RegisterClusterResponse {
|
|
|
1474
1488
|
const filterSensitiveLog: (obj: RegisterClusterResponse) => any;
|
|
1475
1489
|
}
|
|
1476
1490
|
|
|
1477
|
-
export
|
|
1478
|
-
name: "ResourcePropagationDelayException";
|
|
1479
|
-
$fault: "client";
|
|
1480
|
-
|
|
1491
|
+
export declare class ResourcePropagationDelayException extends __BaseException {
|
|
1492
|
+
readonly name: "ResourcePropagationDelayException";
|
|
1493
|
+
readonly $fault: "client";
|
|
1494
|
+
|
|
1495
|
+
constructor(opts: __ExceptionOptionType<ResourcePropagationDelayException, __BaseException>);
|
|
1481
1496
|
}
|
|
1482
1497
|
export interface TagResourceRequest {
|
|
1483
1498
|
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: EKSClientConfig) => {
|
|
|
6
6
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: EKSClientConfig) => {
|
|
|
6
6
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: EKSClientConfig) => {
|
|
|
6
6
|
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
7
7
|
apiVersion: string;
|
|
8
8
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
11
11
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
12
12
|
base64Encoder: import("@aws-sdk/types").Encoder;
|