@aws-sdk/client-sts
Advanced tools
Comparing version 3.490.0 to 3.495.0
@@ -1,29 +0,1 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.AssumeRoleWithSAMLCommand = exports.$Command = void 0; | ||
const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); | ||
const middleware_serde_1 = require("@smithy/middleware-serde"); | ||
const smithy_client_1 = require("@smithy/smithy-client"); | ||
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); | ||
const EndpointParameters_1 = require("../endpoint/EndpointParameters"); | ||
const models_0_1 = require("../models/models_0"); | ||
const Aws_query_1 = require("../protocols/Aws_query"); | ||
class AssumeRoleWithSAMLCommand extends smithy_client_1.Command | ||
.classBuilder() | ||
.ep({ | ||
...EndpointParameters_1.commonParams, | ||
}) | ||
.m(function (Command, cs, config, o) { | ||
return [ | ||
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize), | ||
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()), | ||
]; | ||
}) | ||
.s("AWSSecurityTokenServiceV20110615", "AssumeRoleWithSAML", {}) | ||
.n("STSClient", "AssumeRoleWithSAMLCommand") | ||
.f(models_0_1.AssumeRoleWithSAMLRequestFilterSensitiveLog, models_0_1.AssumeRoleWithSAMLResponseFilterSensitiveLog) | ||
.ser(Aws_query_1.se_AssumeRoleWithSAMLCommand) | ||
.de(Aws_query_1.de_AssumeRoleWithSAMLCommand) | ||
.build() { | ||
} | ||
exports.AssumeRoleWithSAMLCommand = AssumeRoleWithSAMLCommand; | ||
module.exports = require("../index.js"); |
@@ -1,28 +0,1 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.DecodeAuthorizationMessageCommand = exports.$Command = void 0; | ||
const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); | ||
const middleware_serde_1 = require("@smithy/middleware-serde"); | ||
const smithy_client_1 = require("@smithy/smithy-client"); | ||
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); | ||
const EndpointParameters_1 = require("../endpoint/EndpointParameters"); | ||
const Aws_query_1 = require("../protocols/Aws_query"); | ||
class DecodeAuthorizationMessageCommand extends smithy_client_1.Command | ||
.classBuilder() | ||
.ep({ | ||
...EndpointParameters_1.commonParams, | ||
}) | ||
.m(function (Command, cs, config, o) { | ||
return [ | ||
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize), | ||
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()), | ||
]; | ||
}) | ||
.s("AWSSecurityTokenServiceV20110615", "DecodeAuthorizationMessage", {}) | ||
.n("STSClient", "DecodeAuthorizationMessageCommand") | ||
.f(void 0, void 0) | ||
.ser(Aws_query_1.se_DecodeAuthorizationMessageCommand) | ||
.de(Aws_query_1.de_DecodeAuthorizationMessageCommand) | ||
.build() { | ||
} | ||
exports.DecodeAuthorizationMessageCommand = DecodeAuthorizationMessageCommand; | ||
module.exports = require("../index.js"); |
@@ -1,28 +0,1 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.GetAccessKeyInfoCommand = exports.$Command = void 0; | ||
const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); | ||
const middleware_serde_1 = require("@smithy/middleware-serde"); | ||
const smithy_client_1 = require("@smithy/smithy-client"); | ||
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); | ||
const EndpointParameters_1 = require("../endpoint/EndpointParameters"); | ||
const Aws_query_1 = require("../protocols/Aws_query"); | ||
class GetAccessKeyInfoCommand extends smithy_client_1.Command | ||
.classBuilder() | ||
.ep({ | ||
...EndpointParameters_1.commonParams, | ||
}) | ||
.m(function (Command, cs, config, o) { | ||
return [ | ||
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize), | ||
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()), | ||
]; | ||
}) | ||
.s("AWSSecurityTokenServiceV20110615", "GetAccessKeyInfo", {}) | ||
.n("STSClient", "GetAccessKeyInfoCommand") | ||
.f(void 0, void 0) | ||
.ser(Aws_query_1.se_GetAccessKeyInfoCommand) | ||
.de(Aws_query_1.de_GetAccessKeyInfoCommand) | ||
.build() { | ||
} | ||
exports.GetAccessKeyInfoCommand = GetAccessKeyInfoCommand; | ||
module.exports = require("../index.js"); |
@@ -1,28 +0,1 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.GetCallerIdentityCommand = exports.$Command = void 0; | ||
const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); | ||
const middleware_serde_1 = require("@smithy/middleware-serde"); | ||
const smithy_client_1 = require("@smithy/smithy-client"); | ||
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); | ||
const EndpointParameters_1 = require("../endpoint/EndpointParameters"); | ||
const Aws_query_1 = require("../protocols/Aws_query"); | ||
class GetCallerIdentityCommand extends smithy_client_1.Command | ||
.classBuilder() | ||
.ep({ | ||
...EndpointParameters_1.commonParams, | ||
}) | ||
.m(function (Command, cs, config, o) { | ||
return [ | ||
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize), | ||
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()), | ||
]; | ||
}) | ||
.s("AWSSecurityTokenServiceV20110615", "GetCallerIdentity", {}) | ||
.n("STSClient", "GetCallerIdentityCommand") | ||
.f(void 0, void 0) | ||
.ser(Aws_query_1.se_GetCallerIdentityCommand) | ||
.de(Aws_query_1.de_GetCallerIdentityCommand) | ||
.build() { | ||
} | ||
exports.GetCallerIdentityCommand = GetCallerIdentityCommand; | ||
module.exports = require("../index.js"); |
@@ -1,29 +0,1 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.GetFederationTokenCommand = exports.$Command = void 0; | ||
const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); | ||
const middleware_serde_1 = require("@smithy/middleware-serde"); | ||
const smithy_client_1 = require("@smithy/smithy-client"); | ||
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); | ||
const EndpointParameters_1 = require("../endpoint/EndpointParameters"); | ||
const models_0_1 = require("../models/models_0"); | ||
const Aws_query_1 = require("../protocols/Aws_query"); | ||
class GetFederationTokenCommand extends smithy_client_1.Command | ||
.classBuilder() | ||
.ep({ | ||
...EndpointParameters_1.commonParams, | ||
}) | ||
.m(function (Command, cs, config, o) { | ||
return [ | ||
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize), | ||
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()), | ||
]; | ||
}) | ||
.s("AWSSecurityTokenServiceV20110615", "GetFederationToken", {}) | ||
.n("STSClient", "GetFederationTokenCommand") | ||
.f(void 0, models_0_1.GetFederationTokenResponseFilterSensitiveLog) | ||
.ser(Aws_query_1.se_GetFederationTokenCommand) | ||
.de(Aws_query_1.de_GetFederationTokenCommand) | ||
.build() { | ||
} | ||
exports.GetFederationTokenCommand = GetFederationTokenCommand; | ||
module.exports = require("../index.js"); |
@@ -1,29 +0,1 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.GetSessionTokenCommand = exports.$Command = void 0; | ||
const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); | ||
const middleware_serde_1 = require("@smithy/middleware-serde"); | ||
const smithy_client_1 = require("@smithy/smithy-client"); | ||
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); | ||
const EndpointParameters_1 = require("../endpoint/EndpointParameters"); | ||
const models_0_1 = require("../models/models_0"); | ||
const Aws_query_1 = require("../protocols/Aws_query"); | ||
class GetSessionTokenCommand extends smithy_client_1.Command | ||
.classBuilder() | ||
.ep({ | ||
...EndpointParameters_1.commonParams, | ||
}) | ||
.m(function (Command, cs, config, o) { | ||
return [ | ||
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize), | ||
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()), | ||
]; | ||
}) | ||
.s("AWSSecurityTokenServiceV20110615", "GetSessionToken", {}) | ||
.n("STSClient", "GetSessionTokenCommand") | ||
.f(void 0, models_0_1.GetSessionTokenResponseFilterSensitiveLog) | ||
.ser(Aws_query_1.se_GetSessionTokenCommand) | ||
.de(Aws_query_1.de_GetSessionTokenCommand) | ||
.build() { | ||
} | ||
exports.GetSessionTokenCommand = GetSessionTokenCommand; | ||
module.exports = require("../index.js"); |
@@ -1,11 +0,1 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const tslib_1 = require("tslib"); | ||
tslib_1.__exportStar(require("./AssumeRoleCommand"), exports); | ||
tslib_1.__exportStar(require("./AssumeRoleWithSAMLCommand"), exports); | ||
tslib_1.__exportStar(require("./AssumeRoleWithWebIdentityCommand"), exports); | ||
tslib_1.__exportStar(require("./DecodeAuthorizationMessageCommand"), exports); | ||
tslib_1.__exportStar(require("./GetAccessKeyInfoCommand"), exports); | ||
tslib_1.__exportStar(require("./GetCallerIdentityCommand"), exports); | ||
tslib_1.__exportStar(require("./GetFederationTokenCommand"), exports); | ||
tslib_1.__exportStar(require("./GetSessionTokenCommand"), exports); | ||
module.exports = require("../index.js"); |
@@ -1,28 +0,1 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.decorateDefaultCredentialProvider = exports.getDefaultRoleAssumerWithWebIdentity = exports.getDefaultRoleAssumer = void 0; | ||
const defaultStsRoleAssumers_1 = require("./defaultStsRoleAssumers"); | ||
const STSClient_1 = require("./STSClient"); | ||
const getCustomizableStsClientCtor = (baseCtor, customizations) => { | ||
if (!customizations) | ||
return baseCtor; | ||
else | ||
return class CustomizableSTSClient extends baseCtor { | ||
constructor(config) { | ||
super(config); | ||
for (const customization of customizations) { | ||
this.middlewareStack.use(customization); | ||
} | ||
} | ||
}; | ||
}; | ||
const getDefaultRoleAssumer = (stsOptions = {}, stsPlugins) => (0, defaultStsRoleAssumers_1.getDefaultRoleAssumer)(stsOptions, getCustomizableStsClientCtor(STSClient_1.STSClient, stsPlugins)); | ||
exports.getDefaultRoleAssumer = getDefaultRoleAssumer; | ||
const getDefaultRoleAssumerWithWebIdentity = (stsOptions = {}, stsPlugins) => (0, defaultStsRoleAssumers_1.getDefaultRoleAssumerWithWebIdentity)(stsOptions, getCustomizableStsClientCtor(STSClient_1.STSClient, stsPlugins)); | ||
exports.getDefaultRoleAssumerWithWebIdentity = getDefaultRoleAssumerWithWebIdentity; | ||
const decorateDefaultCredentialProvider = (provider) => (input) => provider({ | ||
roleAssumer: (0, exports.getDefaultRoleAssumer)(input), | ||
roleAssumerWithWebIdentity: (0, exports.getDefaultRoleAssumerWithWebIdentity)(input), | ||
...input, | ||
}); | ||
exports.decorateDefaultCredentialProvider = decorateDefaultCredentialProvider; | ||
module.exports = require("./index.js"); |
@@ -1,2 +0,1 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
module.exports = require("./index.js"); |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.STSServiceException = void 0; | ||
const tslib_1 = require("tslib"); | ||
tslib_1.__exportStar(require("./STSClient"), exports); | ||
tslib_1.__exportStar(require("./STS"), exports); | ||
tslib_1.__exportStar(require("./commands"), exports); | ||
tslib_1.__exportStar(require("./models"), exports); | ||
require("@aws-sdk/util-endpoints"); | ||
tslib_1.__exportStar(require("./defaultRoleAssumers"), exports); | ||
var STSServiceException_1 = require("./models/STSServiceException"); | ||
Object.defineProperty(exports, "STSServiceException", { enumerable: true, get: function () { return STSServiceException_1.STSServiceException; } }); | ||
var __defProp = Object.defineProperty; | ||
var __getOwnPropDesc = Object.getOwnPropertyDescriptor; | ||
var __getOwnPropNames = Object.getOwnPropertyNames; | ||
var __hasOwnProp = Object.prototype.hasOwnProperty; | ||
var __name = (target, value) => __defProp(target, "name", { value, configurable: true }); | ||
var __export = (target, all) => { | ||
for (var name in all) | ||
__defProp(target, name, { get: all[name], enumerable: true }); | ||
}; | ||
var __copyProps = (to, from, except, desc) => { | ||
if (from && typeof from === "object" || typeof from === "function") { | ||
for (let key of __getOwnPropNames(from)) | ||
if (!__hasOwnProp.call(to, key) && key !== except) | ||
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); | ||
} | ||
return to; | ||
}; | ||
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default")); | ||
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); | ||
// src/index.ts | ||
var src_exports = {}; | ||
__export(src_exports, { | ||
AssumeRoleWithSAMLCommand: () => AssumeRoleWithSAMLCommand, | ||
ClientInputEndpointParameters: () => import_EndpointParameters7.ClientInputEndpointParameters, | ||
DecodeAuthorizationMessageCommand: () => DecodeAuthorizationMessageCommand, | ||
GetAccessKeyInfoCommand: () => GetAccessKeyInfoCommand, | ||
GetCallerIdentityCommand: () => GetCallerIdentityCommand, | ||
GetFederationTokenCommand: () => GetFederationTokenCommand, | ||
GetSessionTokenCommand: () => GetSessionTokenCommand, | ||
RuntimeExtension: () => import_runtimeExtensions.RuntimeExtension, | ||
STS: () => STS, | ||
STSServiceException: () => import_STSServiceException.STSServiceException, | ||
decorateDefaultCredentialProvider: () => decorateDefaultCredentialProvider, | ||
getDefaultRoleAssumer: () => getDefaultRoleAssumer, | ||
getDefaultRoleAssumerWithWebIdentity: () => getDefaultRoleAssumerWithWebIdentity | ||
}); | ||
module.exports = __toCommonJS(src_exports); | ||
__reExport(src_exports, require("././STSClient"), module.exports); | ||
// src/STS.ts | ||
var import_AssumeRoleCommand = require("./commands/AssumeRoleCommand"); | ||
// src/commands/AssumeRoleWithSAMLCommand.ts | ||
var import_middleware_endpoint = require("@smithy/middleware-endpoint"); | ||
var import_middleware_serde = require("@smithy/middleware-serde"); | ||
var import_smithy_client = require("@smithy/smithy-client"); | ||
var import_types = require("@smithy/types"); | ||
var import_EndpointParameters = require("./endpoint/EndpointParameters"); | ||
var import_models_0 = require("./models/models_0"); | ||
var import_Aws_query = require("./protocols/Aws_query"); | ||
var _AssumeRoleWithSAMLCommand = class _AssumeRoleWithSAMLCommand extends import_smithy_client.Command.classBuilder().ep({ | ||
...import_EndpointParameters.commonParams | ||
}).m(function(Command, cs, config, o) { | ||
return [ | ||
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), | ||
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) | ||
]; | ||
}).s("AWSSecurityTokenServiceV20110615", "AssumeRoleWithSAML", {}).n("STSClient", "AssumeRoleWithSAMLCommand").f(import_models_0.AssumeRoleWithSAMLRequestFilterSensitiveLog, import_models_0.AssumeRoleWithSAMLResponseFilterSensitiveLog).ser(import_Aws_query.se_AssumeRoleWithSAMLCommand).de(import_Aws_query.de_AssumeRoleWithSAMLCommand).build() { | ||
}; | ||
__name(_AssumeRoleWithSAMLCommand, "AssumeRoleWithSAMLCommand"); | ||
var AssumeRoleWithSAMLCommand = _AssumeRoleWithSAMLCommand; | ||
// src/STS.ts | ||
var import_AssumeRoleWithWebIdentityCommand = require("./commands/AssumeRoleWithWebIdentityCommand"); | ||
// src/commands/DecodeAuthorizationMessageCommand.ts | ||
var import_EndpointParameters2 = require("./endpoint/EndpointParameters"); | ||
var import_Aws_query2 = require("./protocols/Aws_query"); | ||
var _DecodeAuthorizationMessageCommand = class _DecodeAuthorizationMessageCommand extends import_smithy_client.Command.classBuilder().ep({ | ||
...import_EndpointParameters2.commonParams | ||
}).m(function(Command, cs, config, o) { | ||
return [ | ||
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), | ||
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) | ||
]; | ||
}).s("AWSSecurityTokenServiceV20110615", "DecodeAuthorizationMessage", {}).n("STSClient", "DecodeAuthorizationMessageCommand").f(void 0, void 0).ser(import_Aws_query2.se_DecodeAuthorizationMessageCommand).de(import_Aws_query2.de_DecodeAuthorizationMessageCommand).build() { | ||
}; | ||
__name(_DecodeAuthorizationMessageCommand, "DecodeAuthorizationMessageCommand"); | ||
var DecodeAuthorizationMessageCommand = _DecodeAuthorizationMessageCommand; | ||
// src/commands/GetAccessKeyInfoCommand.ts | ||
var import_EndpointParameters3 = require("./endpoint/EndpointParameters"); | ||
var import_Aws_query3 = require("./protocols/Aws_query"); | ||
var _GetAccessKeyInfoCommand = class _GetAccessKeyInfoCommand extends import_smithy_client.Command.classBuilder().ep({ | ||
...import_EndpointParameters3.commonParams | ||
}).m(function(Command, cs, config, o) { | ||
return [ | ||
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), | ||
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) | ||
]; | ||
}).s("AWSSecurityTokenServiceV20110615", "GetAccessKeyInfo", {}).n("STSClient", "GetAccessKeyInfoCommand").f(void 0, void 0).ser(import_Aws_query3.se_GetAccessKeyInfoCommand).de(import_Aws_query3.de_GetAccessKeyInfoCommand).build() { | ||
}; | ||
__name(_GetAccessKeyInfoCommand, "GetAccessKeyInfoCommand"); | ||
var GetAccessKeyInfoCommand = _GetAccessKeyInfoCommand; | ||
// src/commands/GetCallerIdentityCommand.ts | ||
var import_EndpointParameters4 = require("./endpoint/EndpointParameters"); | ||
var import_Aws_query4 = require("./protocols/Aws_query"); | ||
var _GetCallerIdentityCommand = class _GetCallerIdentityCommand extends import_smithy_client.Command.classBuilder().ep({ | ||
...import_EndpointParameters4.commonParams | ||
}).m(function(Command, cs, config, o) { | ||
return [ | ||
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), | ||
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) | ||
]; | ||
}).s("AWSSecurityTokenServiceV20110615", "GetCallerIdentity", {}).n("STSClient", "GetCallerIdentityCommand").f(void 0, void 0).ser(import_Aws_query4.se_GetCallerIdentityCommand).de(import_Aws_query4.de_GetCallerIdentityCommand).build() { | ||
}; | ||
__name(_GetCallerIdentityCommand, "GetCallerIdentityCommand"); | ||
var GetCallerIdentityCommand = _GetCallerIdentityCommand; | ||
// src/commands/GetFederationTokenCommand.ts | ||
var import_EndpointParameters5 = require("./endpoint/EndpointParameters"); | ||
var import_models_02 = require("./models/models_0"); | ||
var import_Aws_query5 = require("./protocols/Aws_query"); | ||
var _GetFederationTokenCommand = class _GetFederationTokenCommand extends import_smithy_client.Command.classBuilder().ep({ | ||
...import_EndpointParameters5.commonParams | ||
}).m(function(Command, cs, config, o) { | ||
return [ | ||
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), | ||
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) | ||
]; | ||
}).s("AWSSecurityTokenServiceV20110615", "GetFederationToken", {}).n("STSClient", "GetFederationTokenCommand").f(void 0, import_models_02.GetFederationTokenResponseFilterSensitiveLog).ser(import_Aws_query5.se_GetFederationTokenCommand).de(import_Aws_query5.de_GetFederationTokenCommand).build() { | ||
}; | ||
__name(_GetFederationTokenCommand, "GetFederationTokenCommand"); | ||
var GetFederationTokenCommand = _GetFederationTokenCommand; | ||
// src/commands/GetSessionTokenCommand.ts | ||
var import_EndpointParameters6 = require("./endpoint/EndpointParameters"); | ||
var import_models_03 = require("./models/models_0"); | ||
var import_Aws_query6 = require("./protocols/Aws_query"); | ||
var _GetSessionTokenCommand = class _GetSessionTokenCommand extends import_smithy_client.Command.classBuilder().ep({ | ||
...import_EndpointParameters6.commonParams | ||
}).m(function(Command, cs, config, o) { | ||
return [ | ||
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), | ||
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) | ||
]; | ||
}).s("AWSSecurityTokenServiceV20110615", "GetSessionToken", {}).n("STSClient", "GetSessionTokenCommand").f(void 0, import_models_03.GetSessionTokenResponseFilterSensitiveLog).ser(import_Aws_query6.se_GetSessionTokenCommand).de(import_Aws_query6.de_GetSessionTokenCommand).build() { | ||
}; | ||
__name(_GetSessionTokenCommand, "GetSessionTokenCommand"); | ||
var GetSessionTokenCommand = _GetSessionTokenCommand; | ||
// src/STS.ts | ||
var import_STSClient = require("././STSClient"); | ||
var commands = { | ||
AssumeRoleCommand: import_AssumeRoleCommand.AssumeRoleCommand, | ||
AssumeRoleWithSAMLCommand, | ||
AssumeRoleWithWebIdentityCommand: import_AssumeRoleWithWebIdentityCommand.AssumeRoleWithWebIdentityCommand, | ||
DecodeAuthorizationMessageCommand, | ||
GetAccessKeyInfoCommand, | ||
GetCallerIdentityCommand, | ||
GetFederationTokenCommand, | ||
GetSessionTokenCommand | ||
}; | ||
var _STS = class _STS extends import_STSClient.STSClient { | ||
}; | ||
__name(_STS, "STS"); | ||
var STS = _STS; | ||
(0, import_smithy_client.createAggregatedClient)(commands, STS); | ||
// src/index.ts | ||
var import_EndpointParameters7 = require("./endpoint/EndpointParameters"); | ||
var import_runtimeExtensions = require("././runtimeExtensions"); | ||
// src/commands/index.ts | ||
var commands_exports = {}; | ||
__export(commands_exports, { | ||
AssumeRoleWithSAMLCommand: () => AssumeRoleWithSAMLCommand, | ||
DecodeAuthorizationMessageCommand: () => DecodeAuthorizationMessageCommand, | ||
GetAccessKeyInfoCommand: () => GetAccessKeyInfoCommand, | ||
GetCallerIdentityCommand: () => GetCallerIdentityCommand, | ||
GetFederationTokenCommand: () => GetFederationTokenCommand, | ||
GetSessionTokenCommand: () => GetSessionTokenCommand | ||
}); | ||
__reExport(commands_exports, require("./commands/AssumeRoleCommand")); | ||
__reExport(commands_exports, require("./commands/AssumeRoleWithWebIdentityCommand")); | ||
// src/index.ts | ||
__reExport(src_exports, commands_exports, module.exports); | ||
// src/models/index.ts | ||
var models_exports = {}; | ||
__reExport(models_exports, require("./models/models_0")); | ||
// src/index.ts | ||
__reExport(src_exports, models_exports, module.exports); | ||
var import_util_endpoints = require("@aws-sdk/util-endpoints"); | ||
// src/defaultRoleAssumers.ts | ||
var import_defaultStsRoleAssumers = require("././defaultStsRoleAssumers"); | ||
var import_STSClient2 = require("././STSClient"); | ||
var getCustomizableStsClientCtor = /* @__PURE__ */ __name((baseCtor, customizations) => { | ||
var _a; | ||
if (!customizations) | ||
return baseCtor; | ||
else | ||
return _a = class extends baseCtor { | ||
constructor(config) { | ||
super(config); | ||
for (const customization of customizations) { | ||
this.middlewareStack.use(customization); | ||
} | ||
} | ||
}, __name(_a, "CustomizableSTSClient"), _a; | ||
}, "getCustomizableStsClientCtor"); | ||
var getDefaultRoleAssumer = /* @__PURE__ */ __name((stsOptions = {}, stsPlugins) => (0, import_defaultStsRoleAssumers.getDefaultRoleAssumer)(stsOptions, getCustomizableStsClientCtor(import_STSClient2.STSClient, stsPlugins)), "getDefaultRoleAssumer"); | ||
var getDefaultRoleAssumerWithWebIdentity = /* @__PURE__ */ __name((stsOptions = {}, stsPlugins) => (0, import_defaultStsRoleAssumers.getDefaultRoleAssumerWithWebIdentity)(stsOptions, getCustomizableStsClientCtor(import_STSClient2.STSClient, stsPlugins)), "getDefaultRoleAssumerWithWebIdentity"); | ||
var decorateDefaultCredentialProvider = /* @__PURE__ */ __name((provider) => (input) => provider({ | ||
roleAssumer: getDefaultRoleAssumer(input), | ||
roleAssumerWithWebIdentity: getDefaultRoleAssumerWithWebIdentity(input), | ||
...input | ||
}), "decorateDefaultCredentialProvider"); | ||
// src/index.ts | ||
var import_STSServiceException = require("./models/STSServiceException"); | ||
// Annotate the CommonJS export names for ESM import in node: | ||
0 && (module.exports = { | ||
AssumeRoleWithSAMLCommand, | ||
ClientInputEndpointParameters, | ||
DecodeAuthorizationMessageCommand, | ||
GetAccessKeyInfoCommand, | ||
GetCallerIdentityCommand, | ||
GetFederationTokenCommand, | ||
GetSessionTokenCommand, | ||
RuntimeExtension, | ||
STS, | ||
STSServiceException, | ||
decorateDefaultCredentialProvider, | ||
getDefaultRoleAssumer, | ||
getDefaultRoleAssumerWithWebIdentity, | ||
...require("././STSClient") | ||
}); |
@@ -1,4 +0,1 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const tslib_1 = require("tslib"); | ||
tslib_1.__exportStar(require("./models_0"), exports); | ||
module.exports = require("../index.js"); |
@@ -1,27 +0,1 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.STS = void 0; | ||
const smithy_client_1 = require("@smithy/smithy-client"); | ||
const AssumeRoleCommand_1 = require("./commands/AssumeRoleCommand"); | ||
const AssumeRoleWithSAMLCommand_1 = require("./commands/AssumeRoleWithSAMLCommand"); | ||
const AssumeRoleWithWebIdentityCommand_1 = require("./commands/AssumeRoleWithWebIdentityCommand"); | ||
const DecodeAuthorizationMessageCommand_1 = require("./commands/DecodeAuthorizationMessageCommand"); | ||
const GetAccessKeyInfoCommand_1 = require("./commands/GetAccessKeyInfoCommand"); | ||
const GetCallerIdentityCommand_1 = require("./commands/GetCallerIdentityCommand"); | ||
const GetFederationTokenCommand_1 = require("./commands/GetFederationTokenCommand"); | ||
const GetSessionTokenCommand_1 = require("./commands/GetSessionTokenCommand"); | ||
const STSClient_1 = require("./STSClient"); | ||
const commands = { | ||
AssumeRoleCommand: AssumeRoleCommand_1.AssumeRoleCommand, | ||
AssumeRoleWithSAMLCommand: AssumeRoleWithSAMLCommand_1.AssumeRoleWithSAMLCommand, | ||
AssumeRoleWithWebIdentityCommand: AssumeRoleWithWebIdentityCommand_1.AssumeRoleWithWebIdentityCommand, | ||
DecodeAuthorizationMessageCommand: DecodeAuthorizationMessageCommand_1.DecodeAuthorizationMessageCommand, | ||
GetAccessKeyInfoCommand: GetAccessKeyInfoCommand_1.GetAccessKeyInfoCommand, | ||
GetCallerIdentityCommand: GetCallerIdentityCommand_1.GetCallerIdentityCommand, | ||
GetFederationTokenCommand: GetFederationTokenCommand_1.GetFederationTokenCommand, | ||
GetSessionTokenCommand: GetSessionTokenCommand_1.GetSessionTokenCommand, | ||
}; | ||
class STS extends STSClient_1.STSClient { | ||
} | ||
exports.STS = STS; | ||
(0, smithy_client_1.createAggregatedClient)(commands, STS); | ||
module.exports = require("./index.js"); |
{ | ||
"name": "@aws-sdk/client-sts", | ||
"description": "AWS SDK for JavaScript Sts Client for Node.js, Browser and React Native", | ||
"version": "3.490.0", | ||
"version": "3.495.0", | ||
"scripts": { | ||
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'", | ||
"build:cjs": "tsc -p tsconfig.cjs.json", | ||
"build:cjs": "node ../../scripts/compilation/inline client-sts", | ||
"build:es": "tsc -p tsconfig.es.json", | ||
@@ -25,38 +25,38 @@ "build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build", | ||
"@aws-crypto/sha256-js": "3.0.0", | ||
"@aws-sdk/core": "3.490.0", | ||
"@aws-sdk/credential-provider-node": "3.490.0", | ||
"@aws-sdk/middleware-host-header": "3.489.0", | ||
"@aws-sdk/middleware-logger": "3.489.0", | ||
"@aws-sdk/middleware-recursion-detection": "3.489.0", | ||
"@aws-sdk/middleware-user-agent": "3.489.0", | ||
"@aws-sdk/region-config-resolver": "3.489.0", | ||
"@aws-sdk/types": "3.489.0", | ||
"@aws-sdk/util-endpoints": "3.489.0", | ||
"@aws-sdk/util-user-agent-browser": "3.489.0", | ||
"@aws-sdk/util-user-agent-node": "3.489.0", | ||
"@smithy/config-resolver": "^2.0.23", | ||
"@smithy/core": "^1.2.2", | ||
"@smithy/fetch-http-handler": "^2.3.2", | ||
"@smithy/hash-node": "^2.0.18", | ||
"@smithy/invalid-dependency": "^2.0.16", | ||
"@smithy/middleware-content-length": "^2.0.18", | ||
"@smithy/middleware-endpoint": "^2.3.0", | ||
"@smithy/middleware-retry": "^2.0.26", | ||
"@smithy/middleware-serde": "^2.0.16", | ||
"@smithy/middleware-stack": "^2.0.10", | ||
"@smithy/node-config-provider": "^2.1.9", | ||
"@smithy/node-http-handler": "^2.2.2", | ||
"@smithy/protocol-http": "^3.0.12", | ||
"@smithy/smithy-client": "^2.2.1", | ||
"@smithy/types": "^2.8.0", | ||
"@smithy/url-parser": "^2.0.16", | ||
"@smithy/util-base64": "^2.0.1", | ||
"@smithy/util-body-length-browser": "^2.0.1", | ||
"@smithy/util-body-length-node": "^2.1.0", | ||
"@smithy/util-defaults-mode-browser": "^2.0.24", | ||
"@smithy/util-defaults-mode-node": "^2.0.32", | ||
"@smithy/util-endpoints": "^1.0.8", | ||
"@smithy/util-middleware": "^2.0.9", | ||
"@smithy/util-retry": "^2.0.9", | ||
"@smithy/util-utf8": "^2.0.2", | ||
"@aws-sdk/core": "3.495.0", | ||
"@aws-sdk/credential-provider-node": "3.495.0", | ||
"@aws-sdk/middleware-host-header": "3.495.0", | ||
"@aws-sdk/middleware-logger": "3.495.0", | ||
"@aws-sdk/middleware-recursion-detection": "3.495.0", | ||
"@aws-sdk/middleware-user-agent": "3.495.0", | ||
"@aws-sdk/region-config-resolver": "3.495.0", | ||
"@aws-sdk/types": "3.495.0", | ||
"@aws-sdk/util-endpoints": "3.495.0", | ||
"@aws-sdk/util-user-agent-browser": "3.495.0", | ||
"@aws-sdk/util-user-agent-node": "3.495.0", | ||
"@smithy/config-resolver": "^2.1.0", | ||
"@smithy/core": "^1.3.0", | ||
"@smithy/fetch-http-handler": "^2.4.0", | ||
"@smithy/hash-node": "^2.1.0", | ||
"@smithy/invalid-dependency": "^2.1.0", | ||
"@smithy/middleware-content-length": "^2.1.0", | ||
"@smithy/middleware-endpoint": "^2.4.0", | ||
"@smithy/middleware-retry": "^2.1.0", | ||
"@smithy/middleware-serde": "^2.1.0", | ||
"@smithy/middleware-stack": "^2.1.0", | ||
"@smithy/node-config-provider": "^2.2.0", | ||
"@smithy/node-http-handler": "^2.3.0", | ||
"@smithy/protocol-http": "^3.1.0", | ||
"@smithy/smithy-client": "^2.3.0", | ||
"@smithy/types": "^2.9.0", | ||
"@smithy/url-parser": "^2.1.0", | ||
"@smithy/util-base64": "^2.1.0", | ||
"@smithy/util-body-length-browser": "^2.1.0", | ||
"@smithy/util-body-length-node": "^2.2.0", | ||
"@smithy/util-defaults-mode-browser": "^2.1.0", | ||
"@smithy/util-defaults-mode-node": "^2.1.0", | ||
"@smithy/util-endpoints": "^1.1.0", | ||
"@smithy/util-middleware": "^2.1.0", | ||
"@smithy/util-retry": "^2.1.0", | ||
"@smithy/util-utf8": "^2.1.0", | ||
"fast-xml-parser": "4.2.5", | ||
@@ -66,3 +66,3 @@ "tslib": "^2.5.0" | ||
"devDependencies": { | ||
"@smithy/service-client-documentation-generator": "^2.0.0", | ||
"@smithy/service-client-documentation-generator": "^2.1.0", | ||
"@tsconfig/node14": "1.0.3", | ||
@@ -69,0 +69,0 @@ "@types/node": "^14.14.31", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
453997
8949
+ Added@aws-sdk/client-sso@3.495.0(transitive)
+ Added@aws-sdk/core@3.495.0(transitive)
+ Added@aws-sdk/credential-provider-env@3.495.0(transitive)
+ Added@aws-sdk/credential-provider-ini@3.495.0(transitive)
+ Added@aws-sdk/credential-provider-node@3.495.0(transitive)
+ Added@aws-sdk/credential-provider-process@3.495.0(transitive)
+ Added@aws-sdk/credential-provider-sso@3.495.0(transitive)
+ Added@aws-sdk/credential-provider-web-identity@3.495.0(transitive)
+ Added@aws-sdk/middleware-host-header@3.495.0(transitive)
+ Added@aws-sdk/middleware-logger@3.495.0(transitive)
+ Added@aws-sdk/middleware-recursion-detection@3.495.0(transitive)
+ Added@aws-sdk/middleware-user-agent@3.495.0(transitive)
+ Added@aws-sdk/region-config-resolver@3.495.0(transitive)
+ Added@aws-sdk/token-providers@3.495.0(transitive)
+ Added@aws-sdk/types@3.495.0(transitive)
+ Added@aws-sdk/util-endpoints@3.495.0(transitive)
+ Added@aws-sdk/util-user-agent-browser@3.495.0(transitive)
+ Added@aws-sdk/util-user-agent-node@3.495.0(transitive)
- Removed@aws-sdk/client-sso@3.490.0(transitive)
- Removed@aws-sdk/core@3.490.0(transitive)
- Removed@aws-sdk/credential-provider-env@3.489.0(transitive)
- Removed@aws-sdk/credential-provider-ini@3.490.0(transitive)
- Removed@aws-sdk/credential-provider-node@3.490.0(transitive)
- Removed@aws-sdk/credential-provider-process@3.489.0(transitive)
- Removed@aws-sdk/credential-provider-sso@3.490.0(transitive)
- Removed@aws-sdk/credential-provider-web-identity@3.489.0(transitive)
- Removed@aws-sdk/middleware-host-header@3.489.0(transitive)
- Removed@aws-sdk/middleware-logger@3.489.0(transitive)
- Removed@aws-sdk/middleware-recursion-detection@3.489.0(transitive)
- Removed@aws-sdk/middleware-user-agent@3.489.0(transitive)
- Removed@aws-sdk/region-config-resolver@3.489.0(transitive)
- Removed@aws-sdk/token-providers@3.489.0(transitive)
- Removed@aws-sdk/types@3.489.0(transitive)
- Removed@aws-sdk/util-endpoints@3.489.0(transitive)
- Removed@aws-sdk/util-user-agent-browser@3.489.0(transitive)
- Removed@aws-sdk/util-user-agent-node@3.489.0(transitive)
Updated@aws-sdk/core@3.495.0
Updated@aws-sdk/types@3.495.0
Updated@smithy/core@^1.3.0
Updated@smithy/hash-node@^2.1.0
Updated@smithy/protocol-http@^3.1.0
Updated@smithy/smithy-client@^2.3.0
Updated@smithy/types@^2.9.0
Updated@smithy/url-parser@^2.1.0
Updated@smithy/util-base64@^2.1.0
Updated@smithy/util-retry@^2.1.0
Updated@smithy/util-utf8@^2.1.0