@aws-sdk/client-sts 3.414.0 → 3.418.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/AssumeRoleCommand.js +5 -0
- package/dist-cjs/commands/AssumeRoleWithSAMLCommand.js +5 -0
- package/dist-cjs/commands/AssumeRoleWithWebIdentityCommand.js +5 -0
- package/dist-cjs/commands/DecodeAuthorizationMessageCommand.js +5 -0
- package/dist-cjs/commands/GetAccessKeyInfoCommand.js +5 -0
- package/dist-cjs/commands/GetCallerIdentityCommand.js +5 -0
- package/dist-cjs/commands/GetFederationTokenCommand.js +5 -0
- package/dist-cjs/commands/GetSessionTokenCommand.js +5 -0
- package/dist-es/commands/AssumeRoleCommand.js +5 -0
- package/dist-es/commands/AssumeRoleWithSAMLCommand.js +5 -0
- package/dist-es/commands/AssumeRoleWithWebIdentityCommand.js +5 -0
- package/dist-es/commands/DecodeAuthorizationMessageCommand.js +5 -0
- package/dist-es/commands/GetAccessKeyInfoCommand.js +5 -0
- package/dist-es/commands/GetCallerIdentityCommand.js +5 -0
- package/dist-es/commands/GetFederationTokenCommand.js +5 -0
- package/dist-es/commands/GetSessionTokenCommand.js +5 -0
- package/package.json +31 -31
|
@@ -6,6 +6,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
6
6
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
7
7
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
8
8
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
9
|
+
const types_1 = require("@smithy/types");
|
|
9
10
|
const models_0_1 = require("../models/models_0");
|
|
10
11
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
11
12
|
class AssumeRoleCommand extends smithy_client_1.Command {
|
|
@@ -36,6 +37,10 @@ class AssumeRoleCommand extends smithy_client_1.Command {
|
|
|
36
37
|
commandName,
|
|
37
38
|
inputFilterSensitiveLog: (_) => _,
|
|
38
39
|
outputFilterSensitiveLog: models_0_1.AssumeRoleResponseFilterSensitiveLog,
|
|
40
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
41
|
+
service: "AWSSecurityTokenServiceV20110615",
|
|
42
|
+
operation: "AssumeRole",
|
|
43
|
+
},
|
|
39
44
|
};
|
|
40
45
|
const { requestHandler } = configuration;
|
|
41
46
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ 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 types_1 = require("@smithy/types");
|
|
8
9
|
const models_0_1 = require("../models/models_0");
|
|
9
10
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
10
11
|
class AssumeRoleWithSAMLCommand extends smithy_client_1.Command {
|
|
@@ -34,6 +35,10 @@ class AssumeRoleWithSAMLCommand extends smithy_client_1.Command {
|
|
|
34
35
|
commandName,
|
|
35
36
|
inputFilterSensitiveLog: models_0_1.AssumeRoleWithSAMLRequestFilterSensitiveLog,
|
|
36
37
|
outputFilterSensitiveLog: models_0_1.AssumeRoleWithSAMLResponseFilterSensitiveLog,
|
|
38
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
39
|
+
service: "AWSSecurityTokenServiceV20110615",
|
|
40
|
+
operation: "AssumeRoleWithSAML",
|
|
41
|
+
},
|
|
37
42
|
};
|
|
38
43
|
const { requestHandler } = configuration;
|
|
39
44
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ 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 types_1 = require("@smithy/types");
|
|
8
9
|
const models_0_1 = require("../models/models_0");
|
|
9
10
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
10
11
|
class AssumeRoleWithWebIdentityCommand extends smithy_client_1.Command {
|
|
@@ -34,6 +35,10 @@ class AssumeRoleWithWebIdentityCommand extends smithy_client_1.Command {
|
|
|
34
35
|
commandName,
|
|
35
36
|
inputFilterSensitiveLog: models_0_1.AssumeRoleWithWebIdentityRequestFilterSensitiveLog,
|
|
36
37
|
outputFilterSensitiveLog: models_0_1.AssumeRoleWithWebIdentityResponseFilterSensitiveLog,
|
|
38
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
39
|
+
service: "AWSSecurityTokenServiceV20110615",
|
|
40
|
+
operation: "AssumeRoleWithWebIdentity",
|
|
41
|
+
},
|
|
37
42
|
};
|
|
38
43
|
const { requestHandler } = configuration;
|
|
39
44
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -6,6 +6,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
6
6
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
7
7
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
8
8
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
9
|
+
const types_1 = require("@smithy/types");
|
|
9
10
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
10
11
|
class DecodeAuthorizationMessageCommand extends smithy_client_1.Command {
|
|
11
12
|
static getEndpointParameterInstructions() {
|
|
@@ -35,6 +36,10 @@ class DecodeAuthorizationMessageCommand extends smithy_client_1.Command {
|
|
|
35
36
|
commandName,
|
|
36
37
|
inputFilterSensitiveLog: (_) => _,
|
|
37
38
|
outputFilterSensitiveLog: (_) => _,
|
|
39
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
40
|
+
service: "AWSSecurityTokenServiceV20110615",
|
|
41
|
+
operation: "DecodeAuthorizationMessage",
|
|
42
|
+
},
|
|
38
43
|
};
|
|
39
44
|
const { requestHandler } = configuration;
|
|
40
45
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -6,6 +6,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
6
6
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
7
7
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
8
8
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
9
|
+
const types_1 = require("@smithy/types");
|
|
9
10
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
10
11
|
class GetAccessKeyInfoCommand extends smithy_client_1.Command {
|
|
11
12
|
static getEndpointParameterInstructions() {
|
|
@@ -35,6 +36,10 @@ class GetAccessKeyInfoCommand extends smithy_client_1.Command {
|
|
|
35
36
|
commandName,
|
|
36
37
|
inputFilterSensitiveLog: (_) => _,
|
|
37
38
|
outputFilterSensitiveLog: (_) => _,
|
|
39
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
40
|
+
service: "AWSSecurityTokenServiceV20110615",
|
|
41
|
+
operation: "GetAccessKeyInfo",
|
|
42
|
+
},
|
|
38
43
|
};
|
|
39
44
|
const { requestHandler } = configuration;
|
|
40
45
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -6,6 +6,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
6
6
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
7
7
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
8
8
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
9
|
+
const types_1 = require("@smithy/types");
|
|
9
10
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
10
11
|
class GetCallerIdentityCommand extends smithy_client_1.Command {
|
|
11
12
|
static getEndpointParameterInstructions() {
|
|
@@ -35,6 +36,10 @@ class GetCallerIdentityCommand extends smithy_client_1.Command {
|
|
|
35
36
|
commandName,
|
|
36
37
|
inputFilterSensitiveLog: (_) => _,
|
|
37
38
|
outputFilterSensitiveLog: (_) => _,
|
|
39
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
40
|
+
service: "AWSSecurityTokenServiceV20110615",
|
|
41
|
+
operation: "GetCallerIdentity",
|
|
42
|
+
},
|
|
38
43
|
};
|
|
39
44
|
const { requestHandler } = configuration;
|
|
40
45
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -6,6 +6,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
6
6
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
7
7
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
8
8
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
9
|
+
const types_1 = require("@smithy/types");
|
|
9
10
|
const models_0_1 = require("../models/models_0");
|
|
10
11
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
11
12
|
class GetFederationTokenCommand extends smithy_client_1.Command {
|
|
@@ -36,6 +37,10 @@ class GetFederationTokenCommand extends smithy_client_1.Command {
|
|
|
36
37
|
commandName,
|
|
37
38
|
inputFilterSensitiveLog: (_) => _,
|
|
38
39
|
outputFilterSensitiveLog: models_0_1.GetFederationTokenResponseFilterSensitiveLog,
|
|
40
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
41
|
+
service: "AWSSecurityTokenServiceV20110615",
|
|
42
|
+
operation: "GetFederationToken",
|
|
43
|
+
},
|
|
39
44
|
};
|
|
40
45
|
const { requestHandler } = configuration;
|
|
41
46
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -6,6 +6,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
6
6
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
7
7
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
8
8
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
9
|
+
const types_1 = require("@smithy/types");
|
|
9
10
|
const models_0_1 = require("../models/models_0");
|
|
10
11
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
11
12
|
class GetSessionTokenCommand extends smithy_client_1.Command {
|
|
@@ -36,6 +37,10 @@ class GetSessionTokenCommand extends smithy_client_1.Command {
|
|
|
36
37
|
commandName,
|
|
37
38
|
inputFilterSensitiveLog: (_) => _,
|
|
38
39
|
outputFilterSensitiveLog: models_0_1.GetSessionTokenResponseFilterSensitiveLog,
|
|
40
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
41
|
+
service: "AWSSecurityTokenServiceV20110615",
|
|
42
|
+
operation: "GetSessionToken",
|
|
43
|
+
},
|
|
39
44
|
};
|
|
40
45
|
const { requestHandler } = configuration;
|
|
41
46
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -2,6 +2,7 @@ import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
|
2
2
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
3
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
4
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
5
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
5
6
|
import { AssumeRoleResponseFilterSensitiveLog } from "../models/models_0";
|
|
6
7
|
import { de_AssumeRoleCommand, se_AssumeRoleCommand } from "../protocols/Aws_query";
|
|
7
8
|
export { $Command };
|
|
@@ -33,6 +34,10 @@ export class AssumeRoleCommand extends $Command {
|
|
|
33
34
|
commandName,
|
|
34
35
|
inputFilterSensitiveLog: (_) => _,
|
|
35
36
|
outputFilterSensitiveLog: AssumeRoleResponseFilterSensitiveLog,
|
|
37
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
38
|
+
service: "AWSSecurityTokenServiceV20110615",
|
|
39
|
+
operation: "AssumeRole",
|
|
40
|
+
},
|
|
36
41
|
};
|
|
37
42
|
const { requestHandler } = configuration;
|
|
38
43
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
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 { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { AssumeRoleWithSAMLRequestFilterSensitiveLog, AssumeRoleWithSAMLResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
6
|
import { de_AssumeRoleWithSAMLCommand, se_AssumeRoleWithSAMLCommand } from "../protocols/Aws_query";
|
|
6
7
|
export { $Command };
|
|
@@ -31,6 +32,10 @@ export class AssumeRoleWithSAMLCommand extends $Command {
|
|
|
31
32
|
commandName,
|
|
32
33
|
inputFilterSensitiveLog: AssumeRoleWithSAMLRequestFilterSensitiveLog,
|
|
33
34
|
outputFilterSensitiveLog: AssumeRoleWithSAMLResponseFilterSensitiveLog,
|
|
35
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
36
|
+
service: "AWSSecurityTokenServiceV20110615",
|
|
37
|
+
operation: "AssumeRoleWithSAML",
|
|
38
|
+
},
|
|
34
39
|
};
|
|
35
40
|
const { requestHandler } = configuration;
|
|
36
41
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
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 { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { AssumeRoleWithWebIdentityRequestFilterSensitiveLog, AssumeRoleWithWebIdentityResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
6
|
import { de_AssumeRoleWithWebIdentityCommand, se_AssumeRoleWithWebIdentityCommand } from "../protocols/Aws_query";
|
|
6
7
|
export { $Command };
|
|
@@ -31,6 +32,10 @@ export class AssumeRoleWithWebIdentityCommand extends $Command {
|
|
|
31
32
|
commandName,
|
|
32
33
|
inputFilterSensitiveLog: AssumeRoleWithWebIdentityRequestFilterSensitiveLog,
|
|
33
34
|
outputFilterSensitiveLog: AssumeRoleWithWebIdentityResponseFilterSensitiveLog,
|
|
35
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
36
|
+
service: "AWSSecurityTokenServiceV20110615",
|
|
37
|
+
operation: "AssumeRoleWithWebIdentity",
|
|
38
|
+
},
|
|
34
39
|
};
|
|
35
40
|
const { requestHandler } = configuration;
|
|
36
41
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -2,6 +2,7 @@ import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
|
2
2
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
3
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
4
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
5
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
5
6
|
import { de_DecodeAuthorizationMessageCommand, se_DecodeAuthorizationMessageCommand } from "../protocols/Aws_query";
|
|
6
7
|
export { $Command };
|
|
7
8
|
export class DecodeAuthorizationMessageCommand extends $Command {
|
|
@@ -32,6 +33,10 @@ export class DecodeAuthorizationMessageCommand extends $Command {
|
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
|
34
35
|
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "AWSSecurityTokenServiceV20110615",
|
|
38
|
+
operation: "DecodeAuthorizationMessage",
|
|
39
|
+
},
|
|
35
40
|
};
|
|
36
41
|
const { requestHandler } = configuration;
|
|
37
42
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -2,6 +2,7 @@ import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
|
2
2
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
3
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
4
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
5
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
5
6
|
import { de_GetAccessKeyInfoCommand, se_GetAccessKeyInfoCommand } from "../protocols/Aws_query";
|
|
6
7
|
export { $Command };
|
|
7
8
|
export class GetAccessKeyInfoCommand extends $Command {
|
|
@@ -32,6 +33,10 @@ export class GetAccessKeyInfoCommand extends $Command {
|
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
|
34
35
|
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "AWSSecurityTokenServiceV20110615",
|
|
38
|
+
operation: "GetAccessKeyInfo",
|
|
39
|
+
},
|
|
35
40
|
};
|
|
36
41
|
const { requestHandler } = configuration;
|
|
37
42
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -2,6 +2,7 @@ import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
|
2
2
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
3
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
4
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
5
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
5
6
|
import { de_GetCallerIdentityCommand, se_GetCallerIdentityCommand } from "../protocols/Aws_query";
|
|
6
7
|
export { $Command };
|
|
7
8
|
export class GetCallerIdentityCommand extends $Command {
|
|
@@ -32,6 +33,10 @@ export class GetCallerIdentityCommand extends $Command {
|
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
|
34
35
|
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "AWSSecurityTokenServiceV20110615",
|
|
38
|
+
operation: "GetCallerIdentity",
|
|
39
|
+
},
|
|
35
40
|
};
|
|
36
41
|
const { requestHandler } = configuration;
|
|
37
42
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -2,6 +2,7 @@ import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
|
2
2
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
3
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
4
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
5
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
5
6
|
import { GetFederationTokenResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
7
|
import { de_GetFederationTokenCommand, se_GetFederationTokenCommand } from "../protocols/Aws_query";
|
|
7
8
|
export { $Command };
|
|
@@ -33,6 +34,10 @@ export class GetFederationTokenCommand extends $Command {
|
|
|
33
34
|
commandName,
|
|
34
35
|
inputFilterSensitiveLog: (_) => _,
|
|
35
36
|
outputFilterSensitiveLog: GetFederationTokenResponseFilterSensitiveLog,
|
|
37
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
38
|
+
service: "AWSSecurityTokenServiceV20110615",
|
|
39
|
+
operation: "GetFederationToken",
|
|
40
|
+
},
|
|
36
41
|
};
|
|
37
42
|
const { requestHandler } = configuration;
|
|
38
43
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -2,6 +2,7 @@ import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
|
2
2
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
3
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
4
4
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
5
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
5
6
|
import { GetSessionTokenResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
7
|
import { de_GetSessionTokenCommand, se_GetSessionTokenCommand } from "../protocols/Aws_query";
|
|
7
8
|
export { $Command };
|
|
@@ -33,6 +34,10 @@ export class GetSessionTokenCommand extends $Command {
|
|
|
33
34
|
commandName,
|
|
34
35
|
inputFilterSensitiveLog: (_) => _,
|
|
35
36
|
outputFilterSensitiveLog: GetSessionTokenResponseFilterSensitiveLog,
|
|
37
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
38
|
+
service: "AWSSecurityTokenServiceV20110615",
|
|
39
|
+
operation: "GetSessionToken",
|
|
40
|
+
},
|
|
36
41
|
};
|
|
37
42
|
const { requestHandler } = configuration;
|
|
38
43
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sts",
|
|
3
3
|
"description": "AWS SDK for JavaScript Sts Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.418.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",
|
|
@@ -23,39 +23,39 @@
|
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
25
25
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-sdk-sts": "3.
|
|
31
|
-
"@aws-sdk/middleware-signing": "3.
|
|
32
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
33
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
34
|
-
"@aws-sdk/types": "3.
|
|
35
|
-
"@aws-sdk/util-endpoints": "3.
|
|
36
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
37
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
38
|
-
"@smithy/config-resolver": "^2.0.
|
|
39
|
-
"@smithy/fetch-http-handler": "^2.1.
|
|
40
|
-
"@smithy/hash-node": "^2.0.
|
|
41
|
-
"@smithy/invalid-dependency": "^2.0.
|
|
42
|
-
"@smithy/middleware-content-length": "^2.0.
|
|
43
|
-
"@smithy/middleware-endpoint": "^2.0.
|
|
44
|
-
"@smithy/middleware-retry": "^2.0.
|
|
45
|
-
"@smithy/middleware-serde": "^2.0.
|
|
46
|
-
"@smithy/middleware-stack": "^2.0.
|
|
47
|
-
"@smithy/node-config-provider": "^2.0.
|
|
48
|
-
"@smithy/node-http-handler": "^2.1.
|
|
49
|
-
"@smithy/protocol-http": "^3.0.
|
|
50
|
-
"@smithy/smithy-client": "^2.1.
|
|
51
|
-
"@smithy/types": "^2.3.
|
|
52
|
-
"@smithy/url-parser": "^2.0.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.418.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.418.0",
|
|
28
|
+
"@aws-sdk/middleware-logger": "3.418.0",
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.418.0",
|
|
30
|
+
"@aws-sdk/middleware-sdk-sts": "3.418.0",
|
|
31
|
+
"@aws-sdk/middleware-signing": "3.418.0",
|
|
32
|
+
"@aws-sdk/middleware-user-agent": "3.418.0",
|
|
33
|
+
"@aws-sdk/region-config-resolver": "3.418.0",
|
|
34
|
+
"@aws-sdk/types": "3.418.0",
|
|
35
|
+
"@aws-sdk/util-endpoints": "3.418.0",
|
|
36
|
+
"@aws-sdk/util-user-agent-browser": "3.418.0",
|
|
37
|
+
"@aws-sdk/util-user-agent-node": "3.418.0",
|
|
38
|
+
"@smithy/config-resolver": "^2.0.10",
|
|
39
|
+
"@smithy/fetch-http-handler": "^2.1.5",
|
|
40
|
+
"@smithy/hash-node": "^2.0.9",
|
|
41
|
+
"@smithy/invalid-dependency": "^2.0.9",
|
|
42
|
+
"@smithy/middleware-content-length": "^2.0.11",
|
|
43
|
+
"@smithy/middleware-endpoint": "^2.0.9",
|
|
44
|
+
"@smithy/middleware-retry": "^2.0.12",
|
|
45
|
+
"@smithy/middleware-serde": "^2.0.9",
|
|
46
|
+
"@smithy/middleware-stack": "^2.0.2",
|
|
47
|
+
"@smithy/node-config-provider": "^2.0.12",
|
|
48
|
+
"@smithy/node-http-handler": "^2.1.5",
|
|
49
|
+
"@smithy/protocol-http": "^3.0.5",
|
|
50
|
+
"@smithy/smithy-client": "^2.1.6",
|
|
51
|
+
"@smithy/types": "^2.3.3",
|
|
52
|
+
"@smithy/url-parser": "^2.0.9",
|
|
53
53
|
"@smithy/util-base64": "^2.0.0",
|
|
54
54
|
"@smithy/util-body-length-browser": "^2.0.0",
|
|
55
55
|
"@smithy/util-body-length-node": "^2.1.0",
|
|
56
|
-
"@smithy/util-defaults-mode-browser": "^2.0.
|
|
57
|
-
"@smithy/util-defaults-mode-node": "^2.0.
|
|
58
|
-
"@smithy/util-retry": "^2.0.
|
|
56
|
+
"@smithy/util-defaults-mode-browser": "^2.0.10",
|
|
57
|
+
"@smithy/util-defaults-mode-node": "^2.0.12",
|
|
58
|
+
"@smithy/util-retry": "^2.0.2",
|
|
59
59
|
"@smithy/util-utf8": "^2.0.0",
|
|
60
60
|
"fast-xml-parser": "4.2.5",
|
|
61
61
|
"tslib": "^2.5.0"
|