@aws-sdk/client-eks 3.986.0 → 3.987.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 +7 -6
- package/dist-es/schemas/schemas_0.js +7 -6
- package/dist-types/commands/CreatePodIdentityAssociationCommand.d.ts +2 -0
- package/dist-types/commands/DeletePodIdentityAssociationCommand.d.ts +1 -0
- package/dist-types/commands/DescribePodIdentityAssociationCommand.d.ts +1 -0
- package/dist-types/commands/UpdatePodIdentityAssociationCommand.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +64 -0
- package/dist-types/ts3.4/models/models_0.d.ts +3 -0
- package/package.json +2 -2
package/dist-cjs/index.js
CHANGED
|
@@ -921,6 +921,7 @@ const _pU = "productUrl";
|
|
|
921
921
|
const _pV = "platformVersion";
|
|
922
922
|
const _pVl = "platformVersions";
|
|
923
923
|
const _pa = "params";
|
|
924
|
+
const _po = "policy";
|
|
924
925
|
const _pr = "provider";
|
|
925
926
|
const _pre = "preserve";
|
|
926
927
|
const _pu = "publishers";
|
|
@@ -1348,8 +1349,8 @@ var CreateNodegroupResponse$ = [3, n0, _CNRr,
|
|
|
1348
1349
|
];
|
|
1349
1350
|
var CreatePodIdentityAssociationRequest$ = [3, n0, _CPIAR,
|
|
1350
1351
|
0,
|
|
1351
|
-
[_cN, _nam, _sA, _rA, _cRT, _t, _dST, _tRA],
|
|
1352
|
-
[[0, 1], 0, 0, 0, [0, 4], 128 | 0, 2, 0], 4
|
|
1352
|
+
[_cN, _nam, _sA, _rA, _cRT, _t, _dST, _tRA, _po],
|
|
1353
|
+
[[0, 1], 0, 0, 0, [0, 4], 128 | 0, 2, 0, 0], 4
|
|
1353
1354
|
];
|
|
1354
1355
|
var CreatePodIdentityAssociationResponse$ = [3, n0, _CPIARr,
|
|
1355
1356
|
0,
|
|
@@ -1977,8 +1978,8 @@ var OutpostConfigResponse$ = [3, n0, _OCRu,
|
|
|
1977
1978
|
];
|
|
1978
1979
|
var PodIdentityAssociation$ = [3, n0, _PIA,
|
|
1979
1980
|
0,
|
|
1980
|
-
[_cN, _nam, _sA, _rA, _aAss, _aIs, _t, _cA, _mA, _oAw, _dST, _tRA, _eI],
|
|
1981
|
-
[0, 0, 0, 0, 0, 0, 128 | 0, 4, 4, 0, 2, 0, 0]
|
|
1981
|
+
[_cN, _nam, _sA, _rA, _aAss, _aIs, _t, _cA, _mA, _oAw, _dST, _tRA, _eI, _po],
|
|
1982
|
+
[0, 0, 0, 0, 0, 0, 128 | 0, 4, 4, 0, 2, 0, 0, 0]
|
|
1982
1983
|
];
|
|
1983
1984
|
var PodIdentityAssociationSummary$ = [3, n0, _PIAS,
|
|
1984
1985
|
0,
|
|
@@ -2235,8 +2236,8 @@ var UpdateParam$ = [3, n0, _UP,
|
|
|
2235
2236
|
];
|
|
2236
2237
|
var UpdatePodIdentityAssociationRequest$ = [3, n0, _UPIAR,
|
|
2237
2238
|
0,
|
|
2238
|
-
[_cN, _aIs, _rA, _cRT, _dST, _tRA],
|
|
2239
|
-
[[0, 1], [0, 1], 0, [0, 4], 2, 0], 2
|
|
2239
|
+
[_cN, _aIs, _rA, _cRT, _dST, _tRA, _po],
|
|
2240
|
+
[[0, 1], [0, 1], 0, [0, 4], 2, 0, 0], 2
|
|
2240
2241
|
];
|
|
2241
2242
|
var UpdatePodIdentityAssociationResponse$ = [3, n0, _UPIARp,
|
|
2242
2243
|
0,
|
|
@@ -554,6 +554,7 @@ const _pU = "productUrl";
|
|
|
554
554
|
const _pV = "platformVersion";
|
|
555
555
|
const _pVl = "platformVersions";
|
|
556
556
|
const _pa = "params";
|
|
557
|
+
const _po = "policy";
|
|
557
558
|
const _pr = "provider";
|
|
558
559
|
const _pre = "preserve";
|
|
559
560
|
const _pu = "publishers";
|
|
@@ -984,8 +985,8 @@ export var CreateNodegroupResponse$ = [3, n0, _CNRr,
|
|
|
984
985
|
];
|
|
985
986
|
export var CreatePodIdentityAssociationRequest$ = [3, n0, _CPIAR,
|
|
986
987
|
0,
|
|
987
|
-
[_cN, _nam, _sA, _rA, _cRT, _t, _dST, _tRA],
|
|
988
|
-
[[0, 1], 0, 0, 0, [0, 4], 128 | 0, 2, 0], 4
|
|
988
|
+
[_cN, _nam, _sA, _rA, _cRT, _t, _dST, _tRA, _po],
|
|
989
|
+
[[0, 1], 0, 0, 0, [0, 4], 128 | 0, 2, 0, 0], 4
|
|
989
990
|
];
|
|
990
991
|
export var CreatePodIdentityAssociationResponse$ = [3, n0, _CPIARr,
|
|
991
992
|
0,
|
|
@@ -1613,8 +1614,8 @@ export var OutpostConfigResponse$ = [3, n0, _OCRu,
|
|
|
1613
1614
|
];
|
|
1614
1615
|
export var PodIdentityAssociation$ = [3, n0, _PIA,
|
|
1615
1616
|
0,
|
|
1616
|
-
[_cN, _nam, _sA, _rA, _aAss, _aIs, _t, _cA, _mA, _oAw, _dST, _tRA, _eI],
|
|
1617
|
-
[0, 0, 0, 0, 0, 0, 128 | 0, 4, 4, 0, 2, 0, 0]
|
|
1617
|
+
[_cN, _nam, _sA, _rA, _aAss, _aIs, _t, _cA, _mA, _oAw, _dST, _tRA, _eI, _po],
|
|
1618
|
+
[0, 0, 0, 0, 0, 0, 128 | 0, 4, 4, 0, 2, 0, 0, 0]
|
|
1618
1619
|
];
|
|
1619
1620
|
export var PodIdentityAssociationSummary$ = [3, n0, _PIAS,
|
|
1620
1621
|
0,
|
|
@@ -1871,8 +1872,8 @@ export var UpdateParam$ = [3, n0, _UP,
|
|
|
1871
1872
|
];
|
|
1872
1873
|
export var UpdatePodIdentityAssociationRequest$ = [3, n0, _UPIAR,
|
|
1873
1874
|
0,
|
|
1874
|
-
[_cN, _aIs, _rA, _cRT, _dST, _tRA],
|
|
1875
|
-
[[0, 1], [0, 1], 0, [0, 4], 2, 0], 2
|
|
1875
|
+
[_cN, _aIs, _rA, _cRT, _dST, _tRA, _po],
|
|
1876
|
+
[[0, 1], [0, 1], 0, [0, 4], 2, 0, 0], 2
|
|
1876
1877
|
];
|
|
1877
1878
|
export var UpdatePodIdentityAssociationResponse$ = [3, n0, _UPIARp,
|
|
1878
1879
|
0,
|
|
@@ -69,6 +69,7 @@ declare const CreatePodIdentityAssociationCommand_base: {
|
|
|
69
69
|
* },
|
|
70
70
|
* disableSessionTags: true || false,
|
|
71
71
|
* targetRoleArn: "STRING_VALUE",
|
|
72
|
+
* policy: "STRING_VALUE",
|
|
72
73
|
* };
|
|
73
74
|
* const command = new CreatePodIdentityAssociationCommand(input);
|
|
74
75
|
* const response = await client.send(command);
|
|
@@ -89,6 +90,7 @@ declare const CreatePodIdentityAssociationCommand_base: {
|
|
|
89
90
|
* // disableSessionTags: true || false,
|
|
90
91
|
* // targetRoleArn: "STRING_VALUE",
|
|
91
92
|
* // externalId: "STRING_VALUE",
|
|
93
|
+
* // policy: "STRING_VALUE",
|
|
92
94
|
* // },
|
|
93
95
|
* // };
|
|
94
96
|
*
|
|
@@ -59,6 +59,7 @@ declare const UpdatePodIdentityAssociationCommand_base: {
|
|
|
59
59
|
* clientRequestToken: "STRING_VALUE",
|
|
60
60
|
* disableSessionTags: true || false,
|
|
61
61
|
* targetRoleArn: "STRING_VALUE",
|
|
62
|
+
* policy: "STRING_VALUE",
|
|
62
63
|
* };
|
|
63
64
|
* const command = new UpdatePodIdentityAssociationCommand(input);
|
|
64
65
|
* const response = await client.send(command);
|
|
@@ -79,6 +80,7 @@ declare const UpdatePodIdentityAssociationCommand_base: {
|
|
|
79
80
|
* // disableSessionTags: true || false,
|
|
80
81
|
* // targetRoleArn: "STRING_VALUE",
|
|
81
82
|
* // externalId: "STRING_VALUE",
|
|
83
|
+
* // policy: "STRING_VALUE",
|
|
82
84
|
* // },
|
|
83
85
|
* // };
|
|
84
86
|
*
|
|
@@ -3908,6 +3908,33 @@ export interface CreatePodIdentityAssociationRequest {
|
|
|
3908
3908
|
* @public
|
|
3909
3909
|
*/
|
|
3910
3910
|
targetRoleArn?: string | undefined;
|
|
3911
|
+
/**
|
|
3912
|
+
* <p>An optional IAM policy in JSON format (as an escaped string) that applies additional
|
|
3913
|
+
* restrictions to this pod identity association beyond the IAM policies attached to the
|
|
3914
|
+
* IAM role. This policy is applied as the intersection of the role's policies and this
|
|
3915
|
+
* policy, allowing you to reduce the permissions that applications in the pods can use.
|
|
3916
|
+
* Use this policy to enforce least privilege access while still leveraging a shared IAM
|
|
3917
|
+
* role across multiple applications.</p>
|
|
3918
|
+
* <p>
|
|
3919
|
+
* <b>Important considerations</b>
|
|
3920
|
+
* </p>
|
|
3921
|
+
* <ul>
|
|
3922
|
+
* <li>
|
|
3923
|
+
* <p>
|
|
3924
|
+
* <b>Session tags:</b> When using this policy,
|
|
3925
|
+
* <code>disableSessionTags</code> must be set to <code>true</code>.</p>
|
|
3926
|
+
* </li>
|
|
3927
|
+
* <li>
|
|
3928
|
+
* <p>
|
|
3929
|
+
* <b>Target role permissions:</b> If you specify both
|
|
3930
|
+
* a <code>TargetRoleArn</code> and a policy, the policy restrictions apply only to
|
|
3931
|
+
* the target role's permissions, not to the initial role used for assuming the
|
|
3932
|
+
* target role.</p>
|
|
3933
|
+
* </li>
|
|
3934
|
+
* </ul>
|
|
3935
|
+
* @public
|
|
3936
|
+
*/
|
|
3937
|
+
policy?: string | undefined;
|
|
3911
3938
|
}
|
|
3912
3939
|
/**
|
|
3913
3940
|
* <p>Amazon EKS Pod Identity associations provide the ability to manage credentials for your applications, similar to the way that Amazon EC2 instance profiles provide credentials to Amazon EC2 instances.</p>
|
|
@@ -4034,6 +4061,16 @@ export interface PodIdentityAssociation {
|
|
|
4034
4061
|
* @public
|
|
4035
4062
|
*/
|
|
4036
4063
|
externalId?: string | undefined;
|
|
4064
|
+
/**
|
|
4065
|
+
* <p>An optional IAM policy in JSON format (as an escaped string) that applies additional
|
|
4066
|
+
* restrictions to this pod identity association beyond the IAM policies attached to the
|
|
4067
|
+
* IAM role. This policy is applied as the intersection of the role's policies and this
|
|
4068
|
+
* policy, allowing you to reduce the permissions that applications in the pods can use.
|
|
4069
|
+
* Use this policy to enforce least privilege access while still leveraging a shared IAM
|
|
4070
|
+
* role across multiple applications.</p>
|
|
4071
|
+
* @public
|
|
4072
|
+
*/
|
|
4073
|
+
policy?: string | undefined;
|
|
4037
4074
|
}
|
|
4038
4075
|
/**
|
|
4039
4076
|
* @public
|
|
@@ -6916,6 +6953,33 @@ export interface UpdatePodIdentityAssociationRequest {
|
|
|
6916
6953
|
* @public
|
|
6917
6954
|
*/
|
|
6918
6955
|
targetRoleArn?: string | undefined;
|
|
6956
|
+
/**
|
|
6957
|
+
* <p>An optional IAM policy in JSON format (as an escaped string) that applies additional
|
|
6958
|
+
* restrictions to this pod identity association beyond the IAM policies attached to the
|
|
6959
|
+
* IAM role. This policy is applied as the intersection of the role's policies and this
|
|
6960
|
+
* policy, allowing you to reduce the permissions that applications in the pods can use.
|
|
6961
|
+
* Use this policy to enforce least privilege access while still leveraging a shared IAM
|
|
6962
|
+
* role across multiple applications.</p>
|
|
6963
|
+
* <p>
|
|
6964
|
+
* <b>Important considerations</b>
|
|
6965
|
+
* </p>
|
|
6966
|
+
* <ul>
|
|
6967
|
+
* <li>
|
|
6968
|
+
* <p>
|
|
6969
|
+
* <b>Session tags:</b> When using this policy,
|
|
6970
|
+
* <code>disableSessionTags</code> must be set to <code>true</code>.</p>
|
|
6971
|
+
* </li>
|
|
6972
|
+
* <li>
|
|
6973
|
+
* <p>
|
|
6974
|
+
* <b>Target role permissions:</b> If you specify both
|
|
6975
|
+
* a <code>TargetRoleArn</code> and a policy, the policy restrictions apply only to
|
|
6976
|
+
* the target role's permissions, not to the initial role used for assuming the
|
|
6977
|
+
* target role.</p>
|
|
6978
|
+
* </li>
|
|
6979
|
+
* </ul>
|
|
6980
|
+
* @public
|
|
6981
|
+
*/
|
|
6982
|
+
policy?: string | undefined;
|
|
6919
6983
|
}
|
|
6920
6984
|
/**
|
|
6921
6985
|
* @public
|
|
@@ -672,6 +672,7 @@ export interface CreatePodIdentityAssociationRequest {
|
|
|
672
672
|
tags?: Record<string, string> | undefined;
|
|
673
673
|
disableSessionTags?: boolean | undefined;
|
|
674
674
|
targetRoleArn?: string | undefined;
|
|
675
|
+
policy?: string | undefined;
|
|
675
676
|
}
|
|
676
677
|
export interface PodIdentityAssociation {
|
|
677
678
|
clusterName?: string | undefined;
|
|
@@ -687,6 +688,7 @@ export interface PodIdentityAssociation {
|
|
|
687
688
|
disableSessionTags?: boolean | undefined;
|
|
688
689
|
targetRoleArn?: string | undefined;
|
|
689
690
|
externalId?: string | undefined;
|
|
691
|
+
policy?: string | undefined;
|
|
690
692
|
}
|
|
691
693
|
export interface CreatePodIdentityAssociationResponse {
|
|
692
694
|
association?: PodIdentityAssociation | undefined;
|
|
@@ -1277,6 +1279,7 @@ export interface UpdatePodIdentityAssociationRequest {
|
|
|
1277
1279
|
clientRequestToken?: string | undefined;
|
|
1278
1280
|
disableSessionTags?: boolean | undefined;
|
|
1279
1281
|
targetRoleArn?: string | undefined;
|
|
1282
|
+
policy?: string | undefined;
|
|
1280
1283
|
}
|
|
1281
1284
|
export interface UpdatePodIdentityAssociationResponse {
|
|
1282
1285
|
association?: PodIdentityAssociation | 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.987.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-eks",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"@aws-sdk/middleware-user-agent": "^3.972.7",
|
|
30
30
|
"@aws-sdk/region-config-resolver": "^3.972.3",
|
|
31
31
|
"@aws-sdk/types": "^3.973.1",
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.987.0",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "^3.972.3",
|
|
34
34
|
"@aws-sdk/util-user-agent-node": "^3.972.5",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.6",
|