@aws-sdk/client-sts 3.335.0 → 3.338.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/STSClient.js +2 -1
- package/dist-cjs/commands/AssumeRoleCommand.js +2 -1
- package/dist-cjs/commands/AssumeRoleWithSAMLCommand.js +2 -1
- package/dist-cjs/commands/AssumeRoleWithWebIdentityCommand.js +2 -1
- package/dist-cjs/commands/DecodeAuthorizationMessageCommand.js +2 -1
- package/dist-cjs/commands/GetAccessKeyInfoCommand.js +2 -1
- package/dist-cjs/commands/GetCallerIdentityCommand.js +2 -1
- package/dist-cjs/commands/GetFederationTokenCommand.js +2 -1
- package/dist-cjs/commands/GetSessionTokenCommand.js +2 -1
- package/dist-cjs/index.js +2 -2
- package/dist-cjs/models/STSServiceException.js +2 -1
- package/dist-es/STSClient.js +1 -0
- package/dist-es/commands/AssumeRoleCommand.js +1 -0
- package/dist-es/commands/AssumeRoleWithSAMLCommand.js +1 -0
- package/dist-es/commands/AssumeRoleWithWebIdentityCommand.js +1 -0
- package/dist-es/commands/DecodeAuthorizationMessageCommand.js +1 -0
- package/dist-es/commands/GetAccessKeyInfoCommand.js +1 -0
- package/dist-es/commands/GetCallerIdentityCommand.js +1 -0
- package/dist-es/commands/GetFederationTokenCommand.js +1 -0
- package/dist-es/commands/GetSessionTokenCommand.js +1 -0
- package/dist-es/index.js +2 -2
- package/dist-es/models/STSServiceException.js +1 -0
- package/dist-types/STSClient.d.ts +3 -3
- package/dist-types/commands/AssumeRoleCommand.d.ts +4 -0
- package/dist-types/commands/AssumeRoleWithSAMLCommand.d.ts +4 -0
- package/dist-types/commands/AssumeRoleWithWebIdentityCommand.d.ts +4 -0
- package/dist-types/commands/DecodeAuthorizationMessageCommand.d.ts +4 -0
- package/dist-types/commands/GetAccessKeyInfoCommand.d.ts +4 -0
- package/dist-types/commands/GetCallerIdentityCommand.d.ts +4 -0
- package/dist-types/commands/GetFederationTokenCommand.d.ts +4 -0
- package/dist-types/commands/GetSessionTokenCommand.d.ts +4 -0
- package/dist-types/index.d.ts +10 -2
- package/dist-types/models/STSServiceException.d.ts +1 -0
- package/dist-types/ts3.4/STSClient.d.ts +3 -3
- package/dist-types/ts3.4/commands/AssumeRoleCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/AssumeRoleWithSAMLCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/AssumeRoleWithWebIdentityCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/DecodeAuthorizationMessageCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/GetAccessKeyInfoCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/GetCallerIdentityCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/GetFederationTokenCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/GetSessionTokenCommand.d.ts +1 -0
- package/dist-types/ts3.4/index.d.ts +2 -2
- package/dist-types/ts3.4/models/STSServiceException.d.ts +1 -0
- package/package.json +28 -28
package/dist-cjs/STSClient.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.STSClient = void 0;
|
|
3
|
+
exports.STSClient = exports.__Client = void 0;
|
|
4
4
|
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
5
5
|
const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
|
|
6
6
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
@@ -11,6 +11,7 @@ const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
|
11
11
|
const middleware_sdk_sts_1 = require("@aws-sdk/middleware-sdk-sts");
|
|
12
12
|
const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
|
|
13
13
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
14
|
+
Object.defineProperty(exports, "__Client", { enumerable: true, get: function () { return smithy_client_1.Client; } });
|
|
14
15
|
const EndpointParameters_1 = require("./endpoint/EndpointParameters");
|
|
15
16
|
const runtimeConfig_1 = require("./runtimeConfig");
|
|
16
17
|
class STSClient extends smithy_client_1.Client {
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AssumeRoleCommand = void 0;
|
|
3
|
+
exports.AssumeRoleCommand = exports.$Command = void 0;
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
7
7
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
9
|
const models_0_1 = require("../models/models_0");
|
|
9
10
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
10
11
|
class AssumeRoleCommand extends smithy_client_1.Command {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AssumeRoleWithSAMLCommand = void 0;
|
|
3
|
+
exports.AssumeRoleWithSAMLCommand = exports.$Command = void 0;
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
7
8
|
const models_0_1 = require("../models/models_0");
|
|
8
9
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
9
10
|
class AssumeRoleWithSAMLCommand extends smithy_client_1.Command {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AssumeRoleWithWebIdentityCommand = void 0;
|
|
3
|
+
exports.AssumeRoleWithWebIdentityCommand = exports.$Command = void 0;
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
7
8
|
const models_0_1 = require("../models/models_0");
|
|
8
9
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
9
10
|
class AssumeRoleWithWebIdentityCommand extends smithy_client_1.Command {
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DecodeAuthorizationMessageCommand = void 0;
|
|
3
|
+
exports.DecodeAuthorizationMessageCommand = exports.$Command = void 0;
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
7
7
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
9
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
9
10
|
class DecodeAuthorizationMessageCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GetAccessKeyInfoCommand = void 0;
|
|
3
|
+
exports.GetAccessKeyInfoCommand = exports.$Command = void 0;
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
7
7
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
9
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
9
10
|
class GetAccessKeyInfoCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GetCallerIdentityCommand = void 0;
|
|
3
|
+
exports.GetCallerIdentityCommand = exports.$Command = void 0;
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
7
7
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
9
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
9
10
|
class GetCallerIdentityCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GetFederationTokenCommand = void 0;
|
|
3
|
+
exports.GetFederationTokenCommand = exports.$Command = void 0;
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
7
7
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
9
|
const models_0_1 = require("../models/models_0");
|
|
9
10
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
10
11
|
class GetFederationTokenCommand extends smithy_client_1.Command {
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GetSessionTokenCommand = void 0;
|
|
3
|
+
exports.GetSessionTokenCommand = exports.$Command = void 0;
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
7
7
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
9
|
const models_0_1 = require("../models/models_0");
|
|
9
10
|
const Aws_query_1 = require("../protocols/Aws_query");
|
|
10
11
|
class GetSessionTokenCommand extends smithy_client_1.Command {
|
package/dist-cjs/index.js
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.STSServiceException = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
tslib_1.__exportStar(require("./STS"), exports);
|
|
6
5
|
tslib_1.__exportStar(require("./STSClient"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./STS"), exports);
|
|
7
7
|
tslib_1.__exportStar(require("./commands"), exports);
|
|
8
|
-
tslib_1.__exportStar(require("./defaultRoleAssumers"), exports);
|
|
9
8
|
tslib_1.__exportStar(require("./models"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./defaultRoleAssumers"), exports);
|
|
10
10
|
var STSServiceException_1 = require("./models/STSServiceException");
|
|
11
11
|
Object.defineProperty(exports, "STSServiceException", { enumerable: true, get: function () { return STSServiceException_1.STSServiceException; } });
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.STSServiceException = void 0;
|
|
3
|
+
exports.STSServiceException = exports.__ServiceException = void 0;
|
|
4
4
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
|
+
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
|
|
5
6
|
class STSServiceException extends smithy_client_1.ServiceException {
|
|
6
7
|
constructor(options) {
|
|
7
8
|
super(options);
|
package/dist-es/STSClient.js
CHANGED
|
@@ -10,6 +10,7 @@ import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware
|
|
|
10
10
|
import { Client as __Client, } from "@aws-sdk/smithy-client";
|
|
11
11
|
import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
|
|
12
12
|
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
13
|
+
export { __Client };
|
|
13
14
|
export class STSClient extends __Client {
|
|
14
15
|
constructor(configuration) {
|
|
15
16
|
const _config_0 = __getRuntimeConfig(configuration);
|
|
@@ -4,6 +4,7 @@ import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
|
4
4
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
5
5
|
import { AssumeRoleResponseFilterSensitiveLog } from "../models/models_0";
|
|
6
6
|
import { de_AssumeRoleCommand, se_AssumeRoleCommand } from "../protocols/Aws_query";
|
|
7
|
+
export { $Command };
|
|
7
8
|
export class AssumeRoleCommand extends $Command {
|
|
8
9
|
static getEndpointParameterInstructions() {
|
|
9
10
|
return {
|
|
@@ -3,6 +3,7 @@ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { AssumeRoleWithSAMLRequestFilterSensitiveLog, AssumeRoleWithSAMLResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { de_AssumeRoleWithSAMLCommand, se_AssumeRoleWithSAMLCommand } from "../protocols/Aws_query";
|
|
6
|
+
export { $Command };
|
|
6
7
|
export class AssumeRoleWithSAMLCommand extends $Command {
|
|
7
8
|
static getEndpointParameterInstructions() {
|
|
8
9
|
return {
|
|
@@ -3,6 +3,7 @@ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { AssumeRoleWithWebIdentityRequestFilterSensitiveLog, AssumeRoleWithWebIdentityResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { de_AssumeRoleWithWebIdentityCommand, se_AssumeRoleWithWebIdentityCommand } from "../protocols/Aws_query";
|
|
6
|
+
export { $Command };
|
|
6
7
|
export class AssumeRoleWithWebIdentityCommand extends $Command {
|
|
7
8
|
static getEndpointParameterInstructions() {
|
|
8
9
|
return {
|
|
@@ -3,6 +3,7 @@ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
|
3
3
|
import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
4
4
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
5
5
|
import { de_DecodeAuthorizationMessageCommand, se_DecodeAuthorizationMessageCommand } from "../protocols/Aws_query";
|
|
6
|
+
export { $Command };
|
|
6
7
|
export class DecodeAuthorizationMessageCommand extends $Command {
|
|
7
8
|
static getEndpointParameterInstructions() {
|
|
8
9
|
return {
|
|
@@ -3,6 +3,7 @@ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
|
3
3
|
import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
4
4
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
5
5
|
import { de_GetAccessKeyInfoCommand, se_GetAccessKeyInfoCommand } from "../protocols/Aws_query";
|
|
6
|
+
export { $Command };
|
|
6
7
|
export class GetAccessKeyInfoCommand extends $Command {
|
|
7
8
|
static getEndpointParameterInstructions() {
|
|
8
9
|
return {
|
|
@@ -3,6 +3,7 @@ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
|
3
3
|
import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
4
4
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
5
5
|
import { de_GetCallerIdentityCommand, se_GetCallerIdentityCommand } from "../protocols/Aws_query";
|
|
6
|
+
export { $Command };
|
|
6
7
|
export class GetCallerIdentityCommand extends $Command {
|
|
7
8
|
static getEndpointParameterInstructions() {
|
|
8
9
|
return {
|
|
@@ -4,6 +4,7 @@ import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
|
4
4
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
5
5
|
import { GetFederationTokenResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
6
|
import { de_GetFederationTokenCommand, se_GetFederationTokenCommand } from "../protocols/Aws_query";
|
|
7
|
+
export { $Command };
|
|
7
8
|
export class GetFederationTokenCommand extends $Command {
|
|
8
9
|
static getEndpointParameterInstructions() {
|
|
9
10
|
return {
|
|
@@ -4,6 +4,7 @@ import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
|
4
4
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
5
5
|
import { GetSessionTokenResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
6
|
import { de_GetSessionTokenCommand, se_GetSessionTokenCommand } from "../protocols/Aws_query";
|
|
7
|
+
export { $Command };
|
|
7
8
|
export class GetSessionTokenCommand extends $Command {
|
|
8
9
|
static getEndpointParameterInstructions() {
|
|
9
10
|
return {
|
package/dist-es/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from "./STS";
|
|
2
1
|
export * from "./STSClient";
|
|
2
|
+
export * from "./STS";
|
|
3
3
|
export * from "./commands";
|
|
4
|
-
export * from "./defaultRoleAssumers";
|
|
5
4
|
export * from "./models";
|
|
5
|
+
export * from "./defaultRoleAssumers";
|
|
6
6
|
export { STSServiceException } from "./models/STSServiceException";
|
|
@@ -17,6 +17,7 @@ import { GetCallerIdentityCommandInput, GetCallerIdentityCommandOutput } from ".
|
|
|
17
17
|
import { GetFederationTokenCommandInput, GetFederationTokenCommandOutput } from "./commands/GetFederationTokenCommand";
|
|
18
18
|
import { GetSessionTokenCommandInput, GetSessionTokenCommandOutput } from "./commands/GetSessionTokenCommand";
|
|
19
19
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
20
|
+
export { __Client };
|
|
20
21
|
/**
|
|
21
22
|
* @public
|
|
22
23
|
*/
|
|
@@ -131,7 +132,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
131
132
|
/**
|
|
132
133
|
* @public
|
|
133
134
|
*/
|
|
134
|
-
type STSClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & StsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
135
|
+
export type STSClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & StsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
135
136
|
/**
|
|
136
137
|
* @public
|
|
137
138
|
*
|
|
@@ -142,7 +143,7 @@ export interface STSClientConfig extends STSClientConfigType {
|
|
|
142
143
|
/**
|
|
143
144
|
* @public
|
|
144
145
|
*/
|
|
145
|
-
type STSClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & StsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
146
|
+
export type STSClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & StsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
146
147
|
/**
|
|
147
148
|
* @public
|
|
148
149
|
*
|
|
@@ -170,4 +171,3 @@ export declare class STSClient extends __Client<__HttpHandlerOptions, ServiceInp
|
|
|
170
171
|
*/
|
|
171
172
|
destroy(): void;
|
|
172
173
|
}
|
|
173
|
-
export {};
|
|
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { AssumeRoleRequest, AssumeRoleResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
6
10
|
/**
|
|
7
11
|
* @public
|
|
8
12
|
*
|
|
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { AssumeRoleWithSAMLRequest, AssumeRoleWithSAMLResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
6
10
|
/**
|
|
7
11
|
* @public
|
|
8
12
|
*
|
|
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { AssumeRoleWithWebIdentityRequest, AssumeRoleWithWebIdentityResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
6
10
|
/**
|
|
7
11
|
* @public
|
|
8
12
|
*
|
|
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { DecodeAuthorizationMessageRequest, DecodeAuthorizationMessageResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
6
10
|
/**
|
|
7
11
|
* @public
|
|
8
12
|
*
|
|
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { GetAccessKeyInfoRequest, GetAccessKeyInfoResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
6
10
|
/**
|
|
7
11
|
* @public
|
|
8
12
|
*
|
|
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { GetCallerIdentityRequest, GetCallerIdentityResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
6
10
|
/**
|
|
7
11
|
* @public
|
|
8
12
|
*
|
|
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { GetFederationTokenRequest, GetFederationTokenResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
6
10
|
/**
|
|
7
11
|
* @public
|
|
8
12
|
*
|
|
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { GetSessionTokenRequest, GetSessionTokenResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
6
10
|
/**
|
|
7
11
|
* @public
|
|
8
12
|
*
|
package/dist-types/index.d.ts
CHANGED
|
@@ -1,6 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* <fullname>Security Token Service</fullname>
|
|
3
|
+
* <p>Security Token Service (STS) enables you to request temporary, limited-privilege
|
|
4
|
+
* credentials for users. This guide provides descriptions of the STS API. For
|
|
5
|
+
* more information about using this service, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp.html">Temporary Security Credentials</a>.</p>
|
|
6
|
+
*
|
|
7
|
+
* @packageDocumentation
|
|
8
|
+
*/
|
|
2
9
|
export * from "./STSClient";
|
|
10
|
+
export * from "./STS";
|
|
3
11
|
export * from "./commands";
|
|
4
|
-
export * from "./defaultRoleAssumers";
|
|
5
12
|
export * from "./models";
|
|
13
|
+
export * from "./defaultRoleAssumers";
|
|
6
14
|
export { STSServiceException } from "./models/STSServiceException";
|
|
@@ -83,6 +83,7 @@ import {
|
|
|
83
83
|
ClientResolvedEndpointParameters,
|
|
84
84
|
EndpointParameters,
|
|
85
85
|
} from "./endpoint/EndpointParameters";
|
|
86
|
+
export { __Client };
|
|
86
87
|
export type ServiceInputTypes =
|
|
87
88
|
| AssumeRoleCommandInput
|
|
88
89
|
| AssumeRoleWithSAMLCommandInput
|
|
@@ -125,7 +126,7 @@ export interface ClientDefaults
|
|
|
125
126
|
logger?: __Logger;
|
|
126
127
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
127
128
|
}
|
|
128
|
-
type STSClientConfigType = Partial<
|
|
129
|
+
export type STSClientConfigType = Partial<
|
|
129
130
|
__SmithyConfiguration<__HttpHandlerOptions>
|
|
130
131
|
> &
|
|
131
132
|
ClientDefaults &
|
|
@@ -137,7 +138,7 @@ type STSClientConfigType = Partial<
|
|
|
137
138
|
UserAgentInputConfig &
|
|
138
139
|
ClientInputEndpointParameters;
|
|
139
140
|
export interface STSClientConfig extends STSClientConfigType {}
|
|
140
|
-
type STSClientResolvedConfigType =
|
|
141
|
+
export type STSClientResolvedConfigType =
|
|
141
142
|
__SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
142
143
|
Required<ClientDefaults> &
|
|
143
144
|
RegionResolvedConfig &
|
|
@@ -158,4 +159,3 @@ export declare class STSClient extends __Client<
|
|
|
158
159
|
constructor(configuration: STSClientConfig);
|
|
159
160
|
destroy(): void;
|
|
160
161
|
}
|
|
161
|
-
export {};
|
|
@@ -12,6 +12,7 @@ import {
|
|
|
12
12
|
ServiceOutputTypes,
|
|
13
13
|
STSClientResolvedConfig,
|
|
14
14
|
} from "../STSClient";
|
|
15
|
+
export { __MetadataBearer, $Command };
|
|
15
16
|
export interface AssumeRoleCommandInput extends AssumeRoleRequest {}
|
|
16
17
|
export interface AssumeRoleCommandOutput
|
|
17
18
|
extends AssumeRoleResponse,
|
|
@@ -15,6 +15,7 @@ import {
|
|
|
15
15
|
ServiceOutputTypes,
|
|
16
16
|
STSClientResolvedConfig,
|
|
17
17
|
} from "../STSClient";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
18
19
|
export interface AssumeRoleWithSAMLCommandInput
|
|
19
20
|
extends AssumeRoleWithSAMLRequest {}
|
|
20
21
|
export interface AssumeRoleWithSAMLCommandOutput
|
|
@@ -15,6 +15,7 @@ import {
|
|
|
15
15
|
ServiceOutputTypes,
|
|
16
16
|
STSClientResolvedConfig,
|
|
17
17
|
} from "../STSClient";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
18
19
|
export interface AssumeRoleWithWebIdentityCommandInput
|
|
19
20
|
extends AssumeRoleWithWebIdentityRequest {}
|
|
20
21
|
export interface AssumeRoleWithWebIdentityCommandOutput
|
|
@@ -15,6 +15,7 @@ import {
|
|
|
15
15
|
ServiceOutputTypes,
|
|
16
16
|
STSClientResolvedConfig,
|
|
17
17
|
} from "../STSClient";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
18
19
|
export interface DecodeAuthorizationMessageCommandInput
|
|
19
20
|
extends DecodeAuthorizationMessageRequest {}
|
|
20
21
|
export interface DecodeAuthorizationMessageCommandOutput
|
|
@@ -15,6 +15,7 @@ import {
|
|
|
15
15
|
ServiceOutputTypes,
|
|
16
16
|
STSClientResolvedConfig,
|
|
17
17
|
} from "../STSClient";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
18
19
|
export interface GetAccessKeyInfoCommandInput extends GetAccessKeyInfoRequest {}
|
|
19
20
|
export interface GetAccessKeyInfoCommandOutput
|
|
20
21
|
extends GetAccessKeyInfoResponse,
|
|
@@ -15,6 +15,7 @@ import {
|
|
|
15
15
|
ServiceOutputTypes,
|
|
16
16
|
STSClientResolvedConfig,
|
|
17
17
|
} from "../STSClient";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
18
19
|
export interface GetCallerIdentityCommandInput
|
|
19
20
|
extends GetCallerIdentityRequest {}
|
|
20
21
|
export interface GetCallerIdentityCommandOutput
|
|
@@ -15,6 +15,7 @@ import {
|
|
|
15
15
|
ServiceOutputTypes,
|
|
16
16
|
STSClientResolvedConfig,
|
|
17
17
|
} from "../STSClient";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
18
19
|
export interface GetFederationTokenCommandInput
|
|
19
20
|
extends GetFederationTokenRequest {}
|
|
20
21
|
export interface GetFederationTokenCommandOutput
|
|
@@ -15,6 +15,7 @@ import {
|
|
|
15
15
|
ServiceOutputTypes,
|
|
16
16
|
STSClientResolvedConfig,
|
|
17
17
|
} from "../STSClient";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
18
19
|
export interface GetSessionTokenCommandInput extends GetSessionTokenRequest {}
|
|
19
20
|
export interface GetSessionTokenCommandOutput
|
|
20
21
|
extends GetSessionTokenResponse,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from "./STS";
|
|
2
1
|
export * from "./STSClient";
|
|
2
|
+
export * from "./STS";
|
|
3
3
|
export * from "./commands";
|
|
4
|
-
export * from "./defaultRoleAssumers";
|
|
5
4
|
export * from "./models";
|
|
5
|
+
export * from "./defaultRoleAssumers";
|
|
6
6
|
export { STSServiceException } from "./models/STSServiceException";
|
|
@@ -2,6 +2,7 @@ import {
|
|
|
2
2
|
ServiceException as __ServiceException,
|
|
3
3
|
ServiceExceptionOptions as __ServiceExceptionOptions,
|
|
4
4
|
} from "@aws-sdk/smithy-client";
|
|
5
|
+
export { __ServiceException, __ServiceExceptionOptions };
|
|
5
6
|
export declare class STSServiceException extends __ServiceException {
|
|
6
7
|
constructor(options: __ServiceExceptionOptions);
|
|
7
8
|
}
|
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.338.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,36 +23,36 @@
|
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
25
25
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
26
|
-
"@aws-sdk/config-resolver": "3.
|
|
27
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
28
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
29
|
-
"@aws-sdk/hash-node": "3.
|
|
30
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
31
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
32
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
33
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
34
|
-
"@aws-sdk/middleware-logger": "3.
|
|
35
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
36
|
-
"@aws-sdk/middleware-retry": "3.
|
|
37
|
-
"@aws-sdk/middleware-sdk-sts": "3.
|
|
38
|
-
"@aws-sdk/middleware-serde": "3.
|
|
39
|
-
"@aws-sdk/middleware-signing": "3.
|
|
40
|
-
"@aws-sdk/middleware-stack": "3.
|
|
41
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
42
|
-
"@aws-sdk/node-config-provider": "3.
|
|
43
|
-
"@aws-sdk/node-http-handler": "3.
|
|
44
|
-
"@aws-sdk/smithy-client": "3.
|
|
45
|
-
"@aws-sdk/types": "3.
|
|
46
|
-
"@aws-sdk/url-parser": "3.
|
|
26
|
+
"@aws-sdk/config-resolver": "3.338.0",
|
|
27
|
+
"@aws-sdk/credential-provider-node": "3.338.0",
|
|
28
|
+
"@aws-sdk/fetch-http-handler": "3.338.0",
|
|
29
|
+
"@aws-sdk/hash-node": "3.338.0",
|
|
30
|
+
"@aws-sdk/invalid-dependency": "3.338.0",
|
|
31
|
+
"@aws-sdk/middleware-content-length": "3.338.0",
|
|
32
|
+
"@aws-sdk/middleware-endpoint": "3.338.0",
|
|
33
|
+
"@aws-sdk/middleware-host-header": "3.338.0",
|
|
34
|
+
"@aws-sdk/middleware-logger": "3.338.0",
|
|
35
|
+
"@aws-sdk/middleware-recursion-detection": "3.338.0",
|
|
36
|
+
"@aws-sdk/middleware-retry": "3.338.0",
|
|
37
|
+
"@aws-sdk/middleware-sdk-sts": "3.338.0",
|
|
38
|
+
"@aws-sdk/middleware-serde": "3.338.0",
|
|
39
|
+
"@aws-sdk/middleware-signing": "3.338.0",
|
|
40
|
+
"@aws-sdk/middleware-stack": "3.338.0",
|
|
41
|
+
"@aws-sdk/middleware-user-agent": "3.338.0",
|
|
42
|
+
"@aws-sdk/node-config-provider": "3.338.0",
|
|
43
|
+
"@aws-sdk/node-http-handler": "3.338.0",
|
|
44
|
+
"@aws-sdk/smithy-client": "3.338.0",
|
|
45
|
+
"@aws-sdk/types": "3.338.0",
|
|
46
|
+
"@aws-sdk/url-parser": "3.338.0",
|
|
47
47
|
"@aws-sdk/util-base64": "3.310.0",
|
|
48
48
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
49
49
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
50
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
51
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
52
|
-
"@aws-sdk/util-endpoints": "3.
|
|
53
|
-
"@aws-sdk/util-retry": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
55
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
50
|
+
"@aws-sdk/util-defaults-mode-browser": "3.338.0",
|
|
51
|
+
"@aws-sdk/util-defaults-mode-node": "3.338.0",
|
|
52
|
+
"@aws-sdk/util-endpoints": "3.338.0",
|
|
53
|
+
"@aws-sdk/util-retry": "3.338.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-browser": "3.338.0",
|
|
55
|
+
"@aws-sdk/util-user-agent-node": "3.338.0",
|
|
56
56
|
"@aws-sdk/util-utf8": "3.310.0",
|
|
57
57
|
"@smithy/protocol-http": "^1.0.1",
|
|
58
58
|
"@smithy/types": "^1.0.0",
|