@aws-sdk/client-eks 3.864.0 → 3.873.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/dist-cjs/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +2 -0
- package/dist-types/commands/CreateAddonCommand.d.ts +6 -0
- package/dist-types/commands/DeleteAddonCommand.d.ts +3 -0
- package/dist-types/commands/DescribeAddonCommand.d.ts +3 -0
- package/dist-types/commands/DescribeAddonVersionsCommand.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +37 -0
- package/dist-types/ts3.4/models/models_0.d.ts +9 -0
- package/package.json +11 -11
package/dist-cjs/index.js
CHANGED
|
@@ -1199,6 +1199,7 @@ var se_CreateAddonCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1199
1199
|
addonVersion: [],
|
|
1200
1200
|
clientRequestToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
1201
1201
|
configurationValues: [],
|
|
1202
|
+
namespaceConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "namespaceConfig"),
|
|
1202
1203
|
podIdentityAssociations: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "podIdentityAssociations"),
|
|
1203
1204
|
resolveConflicts: [],
|
|
1204
1205
|
serviceAccountRoleArn: [],
|
|
@@ -3104,6 +3105,7 @@ var de_Addon = /* @__PURE__ */ __name((output, context) => {
|
|
|
3104
3105
|
health: import_smithy_client._json,
|
|
3105
3106
|
marketplaceInformation: import_smithy_client._json,
|
|
3106
3107
|
modifiedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "modifiedAt"),
|
|
3108
|
+
namespaceConfig: import_smithy_client._json,
|
|
3107
3109
|
owner: import_smithy_client.expectString,
|
|
3108
3110
|
podIdentityAssociations: import_smithy_client._json,
|
|
3109
3111
|
publisher: import_smithy_client.expectString,
|
|
@@ -83,6 +83,7 @@ export const se_CreateAddonCommand = async (input, context) => {
|
|
|
83
83
|
addonVersion: [],
|
|
84
84
|
clientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
85
85
|
configurationValues: [],
|
|
86
|
+
namespaceConfig: (_) => _json(_),
|
|
86
87
|
podIdentityAssociations: (_) => _json(_),
|
|
87
88
|
resolveConflicts: [],
|
|
88
89
|
serviceAccountRoleArn: [],
|
|
@@ -1951,6 +1952,7 @@ const de_Addon = (output, context) => {
|
|
|
1951
1952
|
health: _json,
|
|
1952
1953
|
marketplaceInformation: _json,
|
|
1953
1954
|
modifiedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1955
|
+
namespaceConfig: _json,
|
|
1954
1956
|
owner: __expectString,
|
|
1955
1957
|
podIdentityAssociations: _json,
|
|
1956
1958
|
publisher: __expectString,
|
|
@@ -54,6 +54,9 @@ declare const CreateAddonCommand_base: {
|
|
|
54
54
|
* roleArn: "STRING_VALUE", // required
|
|
55
55
|
* },
|
|
56
56
|
* ],
|
|
57
|
+
* namespaceConfig: { // AddonNamespaceConfigRequest
|
|
58
|
+
* namespace: "STRING_VALUE",
|
|
59
|
+
* },
|
|
57
60
|
* };
|
|
58
61
|
* const command = new CreateAddonCommand(input);
|
|
59
62
|
* const response = await client.send(command);
|
|
@@ -91,6 +94,9 @@ declare const CreateAddonCommand_base: {
|
|
|
91
94
|
* // podIdentityAssociations: [
|
|
92
95
|
* // "STRING_VALUE",
|
|
93
96
|
* // ],
|
|
97
|
+
* // namespaceConfig: { // AddonNamespaceConfigResponse
|
|
98
|
+
* // namespace: "STRING_VALUE",
|
|
99
|
+
* // },
|
|
94
100
|
* // },
|
|
95
101
|
* // };
|
|
96
102
|
*
|
|
@@ -236,6 +236,17 @@ export interface MarketplaceInformation {
|
|
|
236
236
|
*/
|
|
237
237
|
productUrl?: string | undefined;
|
|
238
238
|
}
|
|
239
|
+
/**
|
|
240
|
+
* <p>The namespace configuration response object containing information about the namespace where an addon is installed.</p>
|
|
241
|
+
* @public
|
|
242
|
+
*/
|
|
243
|
+
export interface AddonNamespaceConfigResponse {
|
|
244
|
+
/**
|
|
245
|
+
* <p>The name of the Kubernetes namespace where the addon is installed.</p>
|
|
246
|
+
* @public
|
|
247
|
+
*/
|
|
248
|
+
namespace?: string | undefined;
|
|
249
|
+
}
|
|
239
250
|
/**
|
|
240
251
|
* @public
|
|
241
252
|
* @enum
|
|
@@ -341,6 +352,11 @@ export interface Addon {
|
|
|
341
352
|
* @public
|
|
342
353
|
*/
|
|
343
354
|
podIdentityAssociations?: string[] | undefined;
|
|
355
|
+
/**
|
|
356
|
+
* <p>The namespace configuration for the addon. This specifies the Kubernetes namespace where the addon is installed.</p>
|
|
357
|
+
* @public
|
|
358
|
+
*/
|
|
359
|
+
namespaceConfig?: AddonNamespaceConfigResponse | undefined;
|
|
344
360
|
}
|
|
345
361
|
/**
|
|
346
362
|
* <p>The summary information about the Amazon EKS add-on compatibility for the next Kubernetes
|
|
@@ -453,6 +469,22 @@ export interface AddonInfo {
|
|
|
453
469
|
* @public
|
|
454
470
|
*/
|
|
455
471
|
marketplaceInformation?: MarketplaceInformation | undefined;
|
|
472
|
+
/**
|
|
473
|
+
* <p>The default Kubernetes namespace where this addon is typically installed if no custom namespace is specified.</p>
|
|
474
|
+
* @public
|
|
475
|
+
*/
|
|
476
|
+
defaultNamespace?: string | undefined;
|
|
477
|
+
}
|
|
478
|
+
/**
|
|
479
|
+
* <p>The namespace configuration request object for specifying a custom namespace when creating an addon.</p>
|
|
480
|
+
* @public
|
|
481
|
+
*/
|
|
482
|
+
export interface AddonNamespaceConfigRequest {
|
|
483
|
+
/**
|
|
484
|
+
* <p>The name of the Kubernetes namespace to install the addon in. Must be a valid RFC 1123 DNS label.</p>
|
|
485
|
+
* @public
|
|
486
|
+
*/
|
|
487
|
+
namespace?: string | undefined;
|
|
456
488
|
}
|
|
457
489
|
/**
|
|
458
490
|
* <p>A type of EKS Pod Identity association owned by an Amazon EKS add-on.</p>
|
|
@@ -1476,6 +1508,11 @@ export interface CreateAddonRequest {
|
|
|
1476
1508
|
* @public
|
|
1477
1509
|
*/
|
|
1478
1510
|
podIdentityAssociations?: AddonPodIdentityAssociations[] | undefined;
|
|
1511
|
+
/**
|
|
1512
|
+
* <p>The namespace configuration for the addon. If specified, this will override the default namespace for the addon.</p>
|
|
1513
|
+
* @public
|
|
1514
|
+
*/
|
|
1515
|
+
namespaceConfig?: AddonNamespaceConfigRequest | undefined;
|
|
1479
1516
|
}
|
|
1480
1517
|
/**
|
|
1481
1518
|
* @public
|
|
@@ -69,6 +69,9 @@ export interface MarketplaceInformation {
|
|
|
69
69
|
productId?: string | undefined;
|
|
70
70
|
productUrl?: string | undefined;
|
|
71
71
|
}
|
|
72
|
+
export interface AddonNamespaceConfigResponse {
|
|
73
|
+
namespace?: string | undefined;
|
|
74
|
+
}
|
|
72
75
|
export declare const AddonStatus: {
|
|
73
76
|
readonly ACTIVE: "ACTIVE";
|
|
74
77
|
readonly CREATE_FAILED: "CREATE_FAILED";
|
|
@@ -96,6 +99,7 @@ export interface Addon {
|
|
|
96
99
|
marketplaceInformation?: MarketplaceInformation | undefined;
|
|
97
100
|
configurationValues?: string | undefined;
|
|
98
101
|
podIdentityAssociations?: string[] | undefined;
|
|
102
|
+
namespaceConfig?: AddonNamespaceConfigResponse | undefined;
|
|
99
103
|
}
|
|
100
104
|
export interface AddonCompatibilityDetail {
|
|
101
105
|
name?: string | undefined;
|
|
@@ -121,6 +125,10 @@ export interface AddonInfo {
|
|
|
121
125
|
publisher?: string | undefined;
|
|
122
126
|
owner?: string | undefined;
|
|
123
127
|
marketplaceInformation?: MarketplaceInformation | undefined;
|
|
128
|
+
defaultNamespace?: string | undefined;
|
|
129
|
+
}
|
|
130
|
+
export interface AddonNamespaceConfigRequest {
|
|
131
|
+
namespace?: string | undefined;
|
|
124
132
|
}
|
|
125
133
|
export interface AddonPodIdentityAssociations {
|
|
126
134
|
serviceAccount: string | undefined;
|
|
@@ -420,6 +428,7 @@ export interface CreateAddonRequest {
|
|
|
420
428
|
tags?: Record<string, string> | undefined;
|
|
421
429
|
configurationValues?: string | undefined;
|
|
422
430
|
podIdentityAssociations?: AddonPodIdentityAssociations[] | undefined;
|
|
431
|
+
namespaceConfig?: AddonNamespaceConfigRequest | undefined;
|
|
423
432
|
}
|
|
424
433
|
export interface CreateAddonResponse {
|
|
425
434
|
addon?: Addon | undefined;
|
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.
|
|
4
|
+
"version": "3.873.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-eks",
|
|
@@ -20,17 +20,17 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
26
|
-
"@aws-sdk/middleware-logger": "3.
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
23
|
+
"@aws-sdk/core": "3.873.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.873.0",
|
|
25
|
+
"@aws-sdk/middleware-host-header": "3.873.0",
|
|
26
|
+
"@aws-sdk/middleware-logger": "3.873.0",
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.873.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.873.0",
|
|
29
|
+
"@aws-sdk/region-config-resolver": "3.873.0",
|
|
30
30
|
"@aws-sdk/types": "3.862.0",
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.873.0",
|
|
32
|
+
"@aws-sdk/util-user-agent-browser": "3.873.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.873.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.1.5",
|
|
35
35
|
"@smithy/core": "^3.8.0",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.1.1",
|