@aws-sdk/client-eks-auth 3.477.0 → 3.481.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/commands/AssumeRoleForPodIdentityCommand.js +18 -40
- package/dist-cjs/endpoint/EndpointParameters.js +6 -1
- package/dist-es/commands/AssumeRoleForPodIdentityCommand.js +18 -40
- package/dist-es/endpoint/EndpointParameters.js +5 -0
- package/dist-types/commands/AssumeRoleForPodIdentityCommand.d.ts +7 -22
- package/dist-types/endpoint/EndpointParameters.d.ts +14 -0
- package/dist-types/ts3.4/commands/AssumeRoleForPodIdentityCommand.d.ts +12 -28
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +14 -0
- package/package.json +11 -11
|
@@ -5,47 +5,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const models_0_1 = require("../models/models_0");
|
|
10
10
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
11
|
-
class AssumeRoleForPodIdentityCommand extends smithy_client_1.Command
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
const clientName = "EKSAuthClient";
|
|
29
|
-
const commandName = "AssumeRoleForPodIdentityCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: models_0_1.AssumeRoleForPodIdentityRequestFilterSensitiveLog,
|
|
35
|
-
outputFilterSensitiveLog: models_0_1.AssumeRoleForPodIdentityResponseFilterSensitiveLog,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "EKSAuthFrontend",
|
|
38
|
-
operation: "AssumeRoleForPodIdentity",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_AssumeRoleForPodIdentityCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_AssumeRoleForPodIdentityCommand)(output, context);
|
|
49
|
-
}
|
|
11
|
+
class AssumeRoleForPodIdentityCommand extends smithy_client_1.Command
|
|
12
|
+
.classBuilder()
|
|
13
|
+
.ep({
|
|
14
|
+
...EndpointParameters_1.commonParams,
|
|
15
|
+
})
|
|
16
|
+
.m(function (Command, cs, config, o) {
|
|
17
|
+
return [
|
|
18
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
19
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
20
|
+
];
|
|
21
|
+
})
|
|
22
|
+
.s("EKSAuthFrontend", "AssumeRoleForPodIdentity", {})
|
|
23
|
+
.n("EKSAuthClient", "AssumeRoleForPodIdentityCommand")
|
|
24
|
+
.f(models_0_1.AssumeRoleForPodIdentityRequestFilterSensitiveLog, models_0_1.AssumeRoleForPodIdentityResponseFilterSensitiveLog)
|
|
25
|
+
.ser(Aws_restJson1_1.se_AssumeRoleForPodIdentityCommand)
|
|
26
|
+
.de(Aws_restJson1_1.de_AssumeRoleForPodIdentityCommand)
|
|
27
|
+
.build() {
|
|
50
28
|
}
|
|
51
29
|
exports.AssumeRoleForPodIdentityCommand = AssumeRoleForPodIdentityCommand;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.resolveClientEndpointParameters = void 0;
|
|
3
|
+
exports.commonParams = exports.resolveClientEndpointParameters = void 0;
|
|
4
4
|
const resolveClientEndpointParameters = (options) => {
|
|
5
5
|
return {
|
|
6
6
|
...options,
|
|
@@ -9,3 +9,8 @@ const resolveClientEndpointParameters = (options) => {
|
|
|
9
9
|
};
|
|
10
10
|
};
|
|
11
11
|
exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
|
|
12
|
+
exports.commonParams = {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
};
|
|
@@ -1,47 +1,25 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { AssumeRoleForPodIdentityRequestFilterSensitiveLog, AssumeRoleForPodIdentityResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
6
|
import { de_AssumeRoleForPodIdentityCommand, se_AssumeRoleForPodIdentityCommand } from "../protocols/Aws_restJson1";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class AssumeRoleForPodIdentityCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const clientName = "EKSAuthClient";
|
|
26
|
-
const commandName = "AssumeRoleForPodIdentityCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: AssumeRoleForPodIdentityRequestFilterSensitiveLog,
|
|
32
|
-
outputFilterSensitiveLog: AssumeRoleForPodIdentityResponseFilterSensitiveLog,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "EKSAuthFrontend",
|
|
35
|
-
operation: "AssumeRoleForPodIdentity",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_AssumeRoleForPodIdentityCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_AssumeRoleForPodIdentityCommand(output, context);
|
|
46
|
-
}
|
|
8
|
+
export class AssumeRoleForPodIdentityCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("EKSAuthFrontend", "AssumeRoleForPodIdentity", {})
|
|
20
|
+
.n("EKSAuthClient", "AssumeRoleForPodIdentityCommand")
|
|
21
|
+
.f(AssumeRoleForPodIdentityRequestFilterSensitiveLog, AssumeRoleForPodIdentityResponseFilterSensitiveLog)
|
|
22
|
+
.ser(se_AssumeRoleForPodIdentityCommand)
|
|
23
|
+
.de(de_AssumeRoleForPodIdentityCommand)
|
|
24
|
+
.build() {
|
|
47
25
|
}
|
|
@@ -5,3 +5,8 @@ export const resolveClientEndpointParameters = (options) => {
|
|
|
5
5
|
defaultSigningName: "eks-auth",
|
|
6
6
|
};
|
|
7
7
|
};
|
|
8
|
+
export const commonParams = {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
4
|
-
import { EKSAuthClientResolvedConfig
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { EKSAuthClientResolvedConfig } from "../EKSAuthClient";
|
|
5
4
|
import { AssumeRoleForPodIdentityRequest, AssumeRoleForPodIdentityResponse } from "../models/models_0";
|
|
6
5
|
/**
|
|
7
6
|
* @public
|
|
@@ -21,6 +20,10 @@ export interface AssumeRoleForPodIdentityCommandInput extends AssumeRoleForPodId
|
|
|
21
20
|
*/
|
|
22
21
|
export interface AssumeRoleForPodIdentityCommandOutput extends AssumeRoleForPodIdentityResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const AssumeRoleForPodIdentityCommand_base: {
|
|
24
|
+
new (input: AssumeRoleForPodIdentityCommandInput): import("@smithy/smithy-client").CommandImpl<AssumeRoleForPodIdentityCommandInput, AssumeRoleForPodIdentityCommandOutput, EKSAuthClientResolvedConfig, AssumeRoleForPodIdentityCommandInput, AssumeRoleForPodIdentityCommandOutput>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>The Amazon EKS Auth API and the <code>AssumeRoleForPodIdentity</code> action are only used
|
|
@@ -106,23 +109,5 @@ export interface AssumeRoleForPodIdentityCommandOutput extends AssumeRoleForPodI
|
|
|
106
109
|
* <p>Base exception class for all service exceptions from EKSAuth service.</p>
|
|
107
110
|
*
|
|
108
111
|
*/
|
|
109
|
-
export declare class AssumeRoleForPodIdentityCommand extends
|
|
110
|
-
readonly input: AssumeRoleForPodIdentityCommandInput;
|
|
111
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
112
|
-
/**
|
|
113
|
-
* @public
|
|
114
|
-
*/
|
|
115
|
-
constructor(input: AssumeRoleForPodIdentityCommandInput);
|
|
116
|
-
/**
|
|
117
|
-
* @internal
|
|
118
|
-
*/
|
|
119
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: EKSAuthClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AssumeRoleForPodIdentityCommandInput, AssumeRoleForPodIdentityCommandOutput>;
|
|
120
|
-
/**
|
|
121
|
-
* @internal
|
|
122
|
-
*/
|
|
123
|
-
private serialize;
|
|
124
|
-
/**
|
|
125
|
-
* @internal
|
|
126
|
-
*/
|
|
127
|
-
private deserialize;
|
|
112
|
+
export declare class AssumeRoleForPodIdentityCommand extends AssumeRoleForPodIdentityCommand_base {
|
|
128
113
|
}
|
|
@@ -13,6 +13,20 @@ export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
|
|
|
13
13
|
export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
|
|
14
14
|
defaultSigningName: string;
|
|
15
15
|
};
|
|
16
|
+
export declare const commonParams: {
|
|
17
|
+
readonly UseFIPS: {
|
|
18
|
+
readonly type: "builtInParams";
|
|
19
|
+
readonly name: "useFipsEndpoint";
|
|
20
|
+
};
|
|
21
|
+
readonly Endpoint: {
|
|
22
|
+
readonly type: "builtInParams";
|
|
23
|
+
readonly name: "endpoint";
|
|
24
|
+
};
|
|
25
|
+
readonly Region: {
|
|
26
|
+
readonly type: "builtInParams";
|
|
27
|
+
readonly name: "region";
|
|
28
|
+
};
|
|
29
|
+
};
|
|
16
30
|
export interface EndpointParameters extends __EndpointParameters {
|
|
17
31
|
Region?: string;
|
|
18
32
|
UseFIPS?: boolean;
|
|
@@ -1,16 +1,6 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
-
MetadataBearer as __MetadataBearer,
|
|
7
|
-
MiddlewareStack,
|
|
8
|
-
} from "@smithy/types";
|
|
9
|
-
import {
|
|
10
|
-
EKSAuthClientResolvedConfig,
|
|
11
|
-
ServiceInputTypes,
|
|
12
|
-
ServiceOutputTypes,
|
|
13
|
-
} from "../EKSAuthClient";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { EKSAuthClientResolvedConfig } from "../EKSAuthClient";
|
|
14
4
|
import {
|
|
15
5
|
AssumeRoleForPodIdentityRequest,
|
|
16
6
|
AssumeRoleForPodIdentityResponse,
|
|
@@ -21,22 +11,16 @@ export interface AssumeRoleForPodIdentityCommandInput
|
|
|
21
11
|
export interface AssumeRoleForPodIdentityCommandOutput
|
|
22
12
|
extends AssumeRoleForPodIdentityResponse,
|
|
23
13
|
__MetadataBearer {}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
constructor(input: AssumeRoleForPodIdentityCommandInput);
|
|
32
|
-
resolveMiddleware(
|
|
33
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
34
|
-
configuration: EKSAuthClientResolvedConfig,
|
|
35
|
-
options?: __HttpHandlerOptions
|
|
36
|
-
): Handler<
|
|
14
|
+
declare const AssumeRoleForPodIdentityCommand_base: {
|
|
15
|
+
new (
|
|
16
|
+
input: AssumeRoleForPodIdentityCommandInput
|
|
17
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
18
|
+
AssumeRoleForPodIdentityCommandInput,
|
|
19
|
+
AssumeRoleForPodIdentityCommandOutput,
|
|
20
|
+
EKSAuthClientResolvedConfig,
|
|
37
21
|
AssumeRoleForPodIdentityCommandInput,
|
|
38
22
|
AssumeRoleForPodIdentityCommandOutput
|
|
39
23
|
>;
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
}
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
export declare class AssumeRoleForPodIdentityCommand extends AssumeRoleForPodIdentityCommand_base {}
|
|
@@ -24,6 +24,20 @@ export declare const resolveClientEndpointParameters: <T>(
|
|
|
24
24
|
ClientInputEndpointParameters & {
|
|
25
25
|
defaultSigningName: string;
|
|
26
26
|
};
|
|
27
|
+
export declare const commonParams: {
|
|
28
|
+
readonly UseFIPS: {
|
|
29
|
+
readonly type: "builtInParams";
|
|
30
|
+
readonly name: "useFipsEndpoint";
|
|
31
|
+
};
|
|
32
|
+
readonly Endpoint: {
|
|
33
|
+
readonly type: "builtInParams";
|
|
34
|
+
readonly name: "endpoint";
|
|
35
|
+
};
|
|
36
|
+
readonly Region: {
|
|
37
|
+
readonly type: "builtInParams";
|
|
38
|
+
readonly name: "region";
|
|
39
|
+
};
|
|
40
|
+
};
|
|
27
41
|
export interface EndpointParameters extends __EndpointParameters {
|
|
28
42
|
Region?: string;
|
|
29
43
|
UseFIPS?: boolean;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-eks-auth",
|
|
3
3
|
"description": "AWS SDK for JavaScript Eks Auth Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.481.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",
|
|
@@ -20,40 +20,40 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.481.0",
|
|
24
|
+
"@aws-sdk/core": "3.481.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.481.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.468.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.468.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.468.0",
|
|
29
29
|
"@aws-sdk/middleware-signing": "3.468.0",
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.478.0",
|
|
31
31
|
"@aws-sdk/region-config-resolver": "3.470.0",
|
|
32
32
|
"@aws-sdk/types": "3.468.0",
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.478.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.468.0",
|
|
35
35
|
"@aws-sdk/util-user-agent-node": "3.470.0",
|
|
36
36
|
"@smithy/config-resolver": "^2.0.21",
|
|
37
|
-
"@smithy/core": "^1.2.
|
|
37
|
+
"@smithy/core": "^1.2.1",
|
|
38
38
|
"@smithy/fetch-http-handler": "^2.3.1",
|
|
39
39
|
"@smithy/hash-node": "^2.0.17",
|
|
40
40
|
"@smithy/invalid-dependency": "^2.0.15",
|
|
41
41
|
"@smithy/middleware-content-length": "^2.0.17",
|
|
42
42
|
"@smithy/middleware-endpoint": "^2.2.3",
|
|
43
|
-
"@smithy/middleware-retry": "^2.0.
|
|
43
|
+
"@smithy/middleware-retry": "^2.0.25",
|
|
44
44
|
"@smithy/middleware-serde": "^2.0.15",
|
|
45
45
|
"@smithy/middleware-stack": "^2.0.9",
|
|
46
46
|
"@smithy/node-config-provider": "^2.1.8",
|
|
47
47
|
"@smithy/node-http-handler": "^2.2.1",
|
|
48
48
|
"@smithy/protocol-http": "^3.0.11",
|
|
49
|
-
"@smithy/smithy-client": "^2.
|
|
49
|
+
"@smithy/smithy-client": "^2.2.0",
|
|
50
50
|
"@smithy/types": "^2.7.0",
|
|
51
51
|
"@smithy/url-parser": "^2.0.15",
|
|
52
52
|
"@smithy/util-base64": "^2.0.1",
|
|
53
53
|
"@smithy/util-body-length-browser": "^2.0.1",
|
|
54
54
|
"@smithy/util-body-length-node": "^2.1.0",
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^2.0.
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^2.0.
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^2.0.23",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^2.0.30",
|
|
57
57
|
"@smithy/util-endpoints": "^1.0.7",
|
|
58
58
|
"@smithy/util-retry": "^2.0.8",
|
|
59
59
|
"@smithy/util-utf8": "^2.0.2",
|