@aws-sdk/client-sts
Advanced tools
Comparing version 3.478.0 to 3.481.0
@@ -8,47 +8,23 @@ "use strict"; | ||
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); | ||
const types_1 = require("@smithy/types"); | ||
const EndpointParameters_1 = require("../endpoint/EndpointParameters"); | ||
const models_0_1 = require("../models/models_0"); | ||
const Aws_query_1 = require("../protocols/Aws_query"); | ||
class AssumeRoleCommand extends smithy_client_1.Command { | ||
static getEndpointParameterInstructions() { | ||
return { | ||
UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" }, | ||
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, | ||
Endpoint: { type: "builtInParams", name: "endpoint" }, | ||
Region: { type: "builtInParams", name: "region" }, | ||
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, | ||
}; | ||
} | ||
constructor(input) { | ||
super(); | ||
this.input = input; | ||
} | ||
resolveMiddleware(clientStack, configuration, options) { | ||
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); | ||
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, AssumeRoleCommand.getEndpointParameterInstructions())); | ||
const stack = clientStack.concat(this.middlewareStack); | ||
const { logger } = configuration; | ||
const clientName = "STSClient"; | ||
const commandName = "AssumeRoleCommand"; | ||
const handlerExecutionContext = { | ||
logger, | ||
clientName, | ||
commandName, | ||
inputFilterSensitiveLog: (_) => _, | ||
outputFilterSensitiveLog: models_0_1.AssumeRoleResponseFilterSensitiveLog, | ||
[types_1.SMITHY_CONTEXT_KEY]: { | ||
service: "AWSSecurityTokenServiceV20110615", | ||
operation: "AssumeRole", | ||
}, | ||
}; | ||
const { requestHandler } = configuration; | ||
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); | ||
} | ||
serialize(input, context) { | ||
return (0, Aws_query_1.se_AssumeRoleCommand)(input, context); | ||
} | ||
deserialize(output, context) { | ||
return (0, Aws_query_1.de_AssumeRoleCommand)(output, context); | ||
} | ||
class AssumeRoleCommand 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", "AssumeRole", {}) | ||
.n("STSClient", "AssumeRoleCommand") | ||
.f(void 0, models_0_1.AssumeRoleResponseFilterSensitiveLog) | ||
.ser(Aws_query_1.se_AssumeRoleCommand) | ||
.de(Aws_query_1.de_AssumeRoleCommand) | ||
.build() { | ||
} | ||
exports.AssumeRoleCommand = AssumeRoleCommand; |
@@ -8,47 +8,23 @@ "use strict"; | ||
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); | ||
const types_1 = require("@smithy/types"); | ||
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 { | ||
static getEndpointParameterInstructions() { | ||
return { | ||
UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" }, | ||
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, | ||
Endpoint: { type: "builtInParams", name: "endpoint" }, | ||
Region: { type: "builtInParams", name: "region" }, | ||
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, | ||
}; | ||
} | ||
constructor(input) { | ||
super(); | ||
this.input = input; | ||
} | ||
resolveMiddleware(clientStack, configuration, options) { | ||
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); | ||
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, AssumeRoleWithSAMLCommand.getEndpointParameterInstructions())); | ||
const stack = clientStack.concat(this.middlewareStack); | ||
const { logger } = configuration; | ||
const clientName = "STSClient"; | ||
const commandName = "AssumeRoleWithSAMLCommand"; | ||
const handlerExecutionContext = { | ||
logger, | ||
clientName, | ||
commandName, | ||
inputFilterSensitiveLog: models_0_1.AssumeRoleWithSAMLRequestFilterSensitiveLog, | ||
outputFilterSensitiveLog: models_0_1.AssumeRoleWithSAMLResponseFilterSensitiveLog, | ||
[types_1.SMITHY_CONTEXT_KEY]: { | ||
service: "AWSSecurityTokenServiceV20110615", | ||
operation: "AssumeRoleWithSAML", | ||
}, | ||
}; | ||
const { requestHandler } = configuration; | ||
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); | ||
} | ||
serialize(input, context) { | ||
return (0, Aws_query_1.se_AssumeRoleWithSAMLCommand)(input, context); | ||
} | ||
deserialize(output, context) { | ||
return (0, Aws_query_1.de_AssumeRoleWithSAMLCommand)(output, context); | ||
} | ||
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; |
@@ -8,47 +8,23 @@ "use strict"; | ||
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); | ||
const types_1 = require("@smithy/types"); | ||
const EndpointParameters_1 = require("../endpoint/EndpointParameters"); | ||
const models_0_1 = require("../models/models_0"); | ||
const Aws_query_1 = require("../protocols/Aws_query"); | ||
class AssumeRoleWithWebIdentityCommand extends smithy_client_1.Command { | ||
static getEndpointParameterInstructions() { | ||
return { | ||
UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" }, | ||
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, | ||
Endpoint: { type: "builtInParams", name: "endpoint" }, | ||
Region: { type: "builtInParams", name: "region" }, | ||
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, | ||
}; | ||
} | ||
constructor(input) { | ||
super(); | ||
this.input = input; | ||
} | ||
resolveMiddleware(clientStack, configuration, options) { | ||
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); | ||
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, AssumeRoleWithWebIdentityCommand.getEndpointParameterInstructions())); | ||
const stack = clientStack.concat(this.middlewareStack); | ||
const { logger } = configuration; | ||
const clientName = "STSClient"; | ||
const commandName = "AssumeRoleWithWebIdentityCommand"; | ||
const handlerExecutionContext = { | ||
logger, | ||
clientName, | ||
commandName, | ||
inputFilterSensitiveLog: models_0_1.AssumeRoleWithWebIdentityRequestFilterSensitiveLog, | ||
outputFilterSensitiveLog: models_0_1.AssumeRoleWithWebIdentityResponseFilterSensitiveLog, | ||
[types_1.SMITHY_CONTEXT_KEY]: { | ||
service: "AWSSecurityTokenServiceV20110615", | ||
operation: "AssumeRoleWithWebIdentity", | ||
}, | ||
}; | ||
const { requestHandler } = configuration; | ||
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); | ||
} | ||
serialize(input, context) { | ||
return (0, Aws_query_1.se_AssumeRoleWithWebIdentityCommand)(input, context); | ||
} | ||
deserialize(output, context) { | ||
return (0, Aws_query_1.de_AssumeRoleWithWebIdentityCommand)(output, context); | ||
} | ||
class AssumeRoleWithWebIdentityCommand 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", "AssumeRoleWithWebIdentity", {}) | ||
.n("STSClient", "AssumeRoleWithWebIdentityCommand") | ||
.f(models_0_1.AssumeRoleWithWebIdentityRequestFilterSensitiveLog, models_0_1.AssumeRoleWithWebIdentityResponseFilterSensitiveLog) | ||
.ser(Aws_query_1.se_AssumeRoleWithWebIdentityCommand) | ||
.de(Aws_query_1.de_AssumeRoleWithWebIdentityCommand) | ||
.build() { | ||
} | ||
exports.AssumeRoleWithWebIdentityCommand = AssumeRoleWithWebIdentityCommand; |
@@ -8,46 +8,22 @@ "use strict"; | ||
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); | ||
const types_1 = require("@smithy/types"); | ||
const EndpointParameters_1 = require("../endpoint/EndpointParameters"); | ||
const Aws_query_1 = require("../protocols/Aws_query"); | ||
class DecodeAuthorizationMessageCommand extends smithy_client_1.Command { | ||
static getEndpointParameterInstructions() { | ||
return { | ||
UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" }, | ||
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, | ||
Endpoint: { type: "builtInParams", name: "endpoint" }, | ||
Region: { type: "builtInParams", name: "region" }, | ||
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, | ||
}; | ||
} | ||
constructor(input) { | ||
super(); | ||
this.input = input; | ||
} | ||
resolveMiddleware(clientStack, configuration, options) { | ||
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); | ||
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DecodeAuthorizationMessageCommand.getEndpointParameterInstructions())); | ||
const stack = clientStack.concat(this.middlewareStack); | ||
const { logger } = configuration; | ||
const clientName = "STSClient"; | ||
const commandName = "DecodeAuthorizationMessageCommand"; | ||
const handlerExecutionContext = { | ||
logger, | ||
clientName, | ||
commandName, | ||
inputFilterSensitiveLog: (_) => _, | ||
outputFilterSensitiveLog: (_) => _, | ||
[types_1.SMITHY_CONTEXT_KEY]: { | ||
service: "AWSSecurityTokenServiceV20110615", | ||
operation: "DecodeAuthorizationMessage", | ||
}, | ||
}; | ||
const { requestHandler } = configuration; | ||
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); | ||
} | ||
serialize(input, context) { | ||
return (0, Aws_query_1.se_DecodeAuthorizationMessageCommand)(input, context); | ||
} | ||
deserialize(output, context) { | ||
return (0, Aws_query_1.de_DecodeAuthorizationMessageCommand)(output, context); | ||
} | ||
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; |
@@ -8,46 +8,22 @@ "use strict"; | ||
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); | ||
const types_1 = require("@smithy/types"); | ||
const EndpointParameters_1 = require("../endpoint/EndpointParameters"); | ||
const Aws_query_1 = require("../protocols/Aws_query"); | ||
class GetAccessKeyInfoCommand extends smithy_client_1.Command { | ||
static getEndpointParameterInstructions() { | ||
return { | ||
UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" }, | ||
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, | ||
Endpoint: { type: "builtInParams", name: "endpoint" }, | ||
Region: { type: "builtInParams", name: "region" }, | ||
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, | ||
}; | ||
} | ||
constructor(input) { | ||
super(); | ||
this.input = input; | ||
} | ||
resolveMiddleware(clientStack, configuration, options) { | ||
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); | ||
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetAccessKeyInfoCommand.getEndpointParameterInstructions())); | ||
const stack = clientStack.concat(this.middlewareStack); | ||
const { logger } = configuration; | ||
const clientName = "STSClient"; | ||
const commandName = "GetAccessKeyInfoCommand"; | ||
const handlerExecutionContext = { | ||
logger, | ||
clientName, | ||
commandName, | ||
inputFilterSensitiveLog: (_) => _, | ||
outputFilterSensitiveLog: (_) => _, | ||
[types_1.SMITHY_CONTEXT_KEY]: { | ||
service: "AWSSecurityTokenServiceV20110615", | ||
operation: "GetAccessKeyInfo", | ||
}, | ||
}; | ||
const { requestHandler } = configuration; | ||
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); | ||
} | ||
serialize(input, context) { | ||
return (0, Aws_query_1.se_GetAccessKeyInfoCommand)(input, context); | ||
} | ||
deserialize(output, context) { | ||
return (0, Aws_query_1.de_GetAccessKeyInfoCommand)(output, context); | ||
} | ||
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; |
@@ -8,46 +8,22 @@ "use strict"; | ||
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); | ||
const types_1 = require("@smithy/types"); | ||
const EndpointParameters_1 = require("../endpoint/EndpointParameters"); | ||
const Aws_query_1 = require("../protocols/Aws_query"); | ||
class GetCallerIdentityCommand extends smithy_client_1.Command { | ||
static getEndpointParameterInstructions() { | ||
return { | ||
UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" }, | ||
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, | ||
Endpoint: { type: "builtInParams", name: "endpoint" }, | ||
Region: { type: "builtInParams", name: "region" }, | ||
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, | ||
}; | ||
} | ||
constructor(input) { | ||
super(); | ||
this.input = input; | ||
} | ||
resolveMiddleware(clientStack, configuration, options) { | ||
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); | ||
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetCallerIdentityCommand.getEndpointParameterInstructions())); | ||
const stack = clientStack.concat(this.middlewareStack); | ||
const { logger } = configuration; | ||
const clientName = "STSClient"; | ||
const commandName = "GetCallerIdentityCommand"; | ||
const handlerExecutionContext = { | ||
logger, | ||
clientName, | ||
commandName, | ||
inputFilterSensitiveLog: (_) => _, | ||
outputFilterSensitiveLog: (_) => _, | ||
[types_1.SMITHY_CONTEXT_KEY]: { | ||
service: "AWSSecurityTokenServiceV20110615", | ||
operation: "GetCallerIdentity", | ||
}, | ||
}; | ||
const { requestHandler } = configuration; | ||
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); | ||
} | ||
serialize(input, context) { | ||
return (0, Aws_query_1.se_GetCallerIdentityCommand)(input, context); | ||
} | ||
deserialize(output, context) { | ||
return (0, Aws_query_1.de_GetCallerIdentityCommand)(output, context); | ||
} | ||
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; |
@@ -8,47 +8,23 @@ "use strict"; | ||
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); | ||
const types_1 = require("@smithy/types"); | ||
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 { | ||
static getEndpointParameterInstructions() { | ||
return { | ||
UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" }, | ||
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, | ||
Endpoint: { type: "builtInParams", name: "endpoint" }, | ||
Region: { type: "builtInParams", name: "region" }, | ||
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, | ||
}; | ||
} | ||
constructor(input) { | ||
super(); | ||
this.input = input; | ||
} | ||
resolveMiddleware(clientStack, configuration, options) { | ||
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); | ||
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetFederationTokenCommand.getEndpointParameterInstructions())); | ||
const stack = clientStack.concat(this.middlewareStack); | ||
const { logger } = configuration; | ||
const clientName = "STSClient"; | ||
const commandName = "GetFederationTokenCommand"; | ||
const handlerExecutionContext = { | ||
logger, | ||
clientName, | ||
commandName, | ||
inputFilterSensitiveLog: (_) => _, | ||
outputFilterSensitiveLog: models_0_1.GetFederationTokenResponseFilterSensitiveLog, | ||
[types_1.SMITHY_CONTEXT_KEY]: { | ||
service: "AWSSecurityTokenServiceV20110615", | ||
operation: "GetFederationToken", | ||
}, | ||
}; | ||
const { requestHandler } = configuration; | ||
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); | ||
} | ||
serialize(input, context) { | ||
return (0, Aws_query_1.se_GetFederationTokenCommand)(input, context); | ||
} | ||
deserialize(output, context) { | ||
return (0, Aws_query_1.de_GetFederationTokenCommand)(output, context); | ||
} | ||
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; |
@@ -8,47 +8,23 @@ "use strict"; | ||
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); | ||
const types_1 = require("@smithy/types"); | ||
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 { | ||
static getEndpointParameterInstructions() { | ||
return { | ||
UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" }, | ||
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, | ||
Endpoint: { type: "builtInParams", name: "endpoint" }, | ||
Region: { type: "builtInParams", name: "region" }, | ||
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, | ||
}; | ||
} | ||
constructor(input) { | ||
super(); | ||
this.input = input; | ||
} | ||
resolveMiddleware(clientStack, configuration, options) { | ||
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); | ||
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetSessionTokenCommand.getEndpointParameterInstructions())); | ||
const stack = clientStack.concat(this.middlewareStack); | ||
const { logger } = configuration; | ||
const clientName = "STSClient"; | ||
const commandName = "GetSessionTokenCommand"; | ||
const handlerExecutionContext = { | ||
logger, | ||
clientName, | ||
commandName, | ||
inputFilterSensitiveLog: (_) => _, | ||
outputFilterSensitiveLog: models_0_1.GetSessionTokenResponseFilterSensitiveLog, | ||
[types_1.SMITHY_CONTEXT_KEY]: { | ||
service: "AWSSecurityTokenServiceV20110615", | ||
operation: "GetSessionToken", | ||
}, | ||
}; | ||
const { requestHandler } = configuration; | ||
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); | ||
} | ||
serialize(input, context) { | ||
return (0, Aws_query_1.se_GetSessionTokenCommand)(input, context); | ||
} | ||
deserialize(output, context) { | ||
return (0, Aws_query_1.de_GetSessionTokenCommand)(output, context); | ||
} | ||
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; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.resolveClientEndpointParameters = void 0; | ||
exports.commonParams = exports.resolveClientEndpointParameters = void 0; | ||
const resolveClientEndpointParameters = (options) => { | ||
@@ -14,1 +14,8 @@ return { | ||
exports.resolveClientEndpointParameters = resolveClientEndpointParameters; | ||
exports.commonParams = { | ||
UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" }, | ||
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, | ||
Endpoint: { type: "builtInParams", name: "endpoint" }, | ||
Region: { type: "builtInParams", name: "region" }, | ||
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, | ||
}; |
import { getEndpointPlugin } from "@smithy/middleware-endpoint"; | ||
import { getSerdePlugin } from "@smithy/middleware-serde"; | ||
import { Command as $Command } from "@smithy/smithy-client"; | ||
import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; | ||
import { commonParams } from "../endpoint/EndpointParameters"; | ||
import { AssumeRoleResponseFilterSensitiveLog } from "../models/models_0"; | ||
import { de_AssumeRoleCommand, se_AssumeRoleCommand } from "../protocols/Aws_query"; | ||
export { $Command }; | ||
export class AssumeRoleCommand extends $Command { | ||
static getEndpointParameterInstructions() { | ||
return { | ||
UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" }, | ||
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, | ||
Endpoint: { type: "builtInParams", name: "endpoint" }, | ||
Region: { type: "builtInParams", name: "region" }, | ||
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, | ||
}; | ||
} | ||
constructor(input) { | ||
super(); | ||
this.input = input; | ||
} | ||
resolveMiddleware(clientStack, configuration, options) { | ||
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); | ||
this.middlewareStack.use(getEndpointPlugin(configuration, AssumeRoleCommand.getEndpointParameterInstructions())); | ||
const stack = clientStack.concat(this.middlewareStack); | ||
const { logger } = configuration; | ||
const clientName = "STSClient"; | ||
const commandName = "AssumeRoleCommand"; | ||
const handlerExecutionContext = { | ||
logger, | ||
clientName, | ||
commandName, | ||
inputFilterSensitiveLog: (_) => _, | ||
outputFilterSensitiveLog: AssumeRoleResponseFilterSensitiveLog, | ||
[SMITHY_CONTEXT_KEY]: { | ||
service: "AWSSecurityTokenServiceV20110615", | ||
operation: "AssumeRole", | ||
}, | ||
}; | ||
const { requestHandler } = configuration; | ||
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); | ||
} | ||
serialize(input, context) { | ||
return se_AssumeRoleCommand(input, context); | ||
} | ||
deserialize(output, context) { | ||
return de_AssumeRoleCommand(output, context); | ||
} | ||
export class AssumeRoleCommand extends $Command | ||
.classBuilder() | ||
.ep({ | ||
...commonParams, | ||
}) | ||
.m(function (Command, cs, config, o) { | ||
return [ | ||
getSerdePlugin(config, this.serialize, this.deserialize), | ||
getEndpointPlugin(config, Command.getEndpointParameterInstructions()), | ||
]; | ||
}) | ||
.s("AWSSecurityTokenServiceV20110615", "AssumeRole", {}) | ||
.n("STSClient", "AssumeRoleCommand") | ||
.f(void 0, AssumeRoleResponseFilterSensitiveLog) | ||
.ser(se_AssumeRoleCommand) | ||
.de(de_AssumeRoleCommand) | ||
.build() { | ||
} |
import { getEndpointPlugin } from "@smithy/middleware-endpoint"; | ||
import { getSerdePlugin } from "@smithy/middleware-serde"; | ||
import { Command as $Command } from "@smithy/smithy-client"; | ||
import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; | ||
import { commonParams } from "../endpoint/EndpointParameters"; | ||
import { AssumeRoleWithSAMLRequestFilterSensitiveLog, AssumeRoleWithSAMLResponseFilterSensitiveLog, } from "../models/models_0"; | ||
import { de_AssumeRoleWithSAMLCommand, se_AssumeRoleWithSAMLCommand } from "../protocols/Aws_query"; | ||
export { $Command }; | ||
export class AssumeRoleWithSAMLCommand extends $Command { | ||
static getEndpointParameterInstructions() { | ||
return { | ||
UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" }, | ||
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, | ||
Endpoint: { type: "builtInParams", name: "endpoint" }, | ||
Region: { type: "builtInParams", name: "region" }, | ||
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, | ||
}; | ||
} | ||
constructor(input) { | ||
super(); | ||
this.input = input; | ||
} | ||
resolveMiddleware(clientStack, configuration, options) { | ||
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); | ||
this.middlewareStack.use(getEndpointPlugin(configuration, AssumeRoleWithSAMLCommand.getEndpointParameterInstructions())); | ||
const stack = clientStack.concat(this.middlewareStack); | ||
const { logger } = configuration; | ||
const clientName = "STSClient"; | ||
const commandName = "AssumeRoleWithSAMLCommand"; | ||
const handlerExecutionContext = { | ||
logger, | ||
clientName, | ||
commandName, | ||
inputFilterSensitiveLog: AssumeRoleWithSAMLRequestFilterSensitiveLog, | ||
outputFilterSensitiveLog: AssumeRoleWithSAMLResponseFilterSensitiveLog, | ||
[SMITHY_CONTEXT_KEY]: { | ||
service: "AWSSecurityTokenServiceV20110615", | ||
operation: "AssumeRoleWithSAML", | ||
}, | ||
}; | ||
const { requestHandler } = configuration; | ||
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); | ||
} | ||
serialize(input, context) { | ||
return se_AssumeRoleWithSAMLCommand(input, context); | ||
} | ||
deserialize(output, context) { | ||
return de_AssumeRoleWithSAMLCommand(output, context); | ||
} | ||
export class AssumeRoleWithSAMLCommand extends $Command | ||
.classBuilder() | ||
.ep({ | ||
...commonParams, | ||
}) | ||
.m(function (Command, cs, config, o) { | ||
return [ | ||
getSerdePlugin(config, this.serialize, this.deserialize), | ||
getEndpointPlugin(config, Command.getEndpointParameterInstructions()), | ||
]; | ||
}) | ||
.s("AWSSecurityTokenServiceV20110615", "AssumeRoleWithSAML", {}) | ||
.n("STSClient", "AssumeRoleWithSAMLCommand") | ||
.f(AssumeRoleWithSAMLRequestFilterSensitiveLog, AssumeRoleWithSAMLResponseFilterSensitiveLog) | ||
.ser(se_AssumeRoleWithSAMLCommand) | ||
.de(de_AssumeRoleWithSAMLCommand) | ||
.build() { | ||
} |
import { getEndpointPlugin } from "@smithy/middleware-endpoint"; | ||
import { getSerdePlugin } from "@smithy/middleware-serde"; | ||
import { Command as $Command } from "@smithy/smithy-client"; | ||
import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; | ||
import { commonParams } from "../endpoint/EndpointParameters"; | ||
import { AssumeRoleWithWebIdentityRequestFilterSensitiveLog, AssumeRoleWithWebIdentityResponseFilterSensitiveLog, } from "../models/models_0"; | ||
import { de_AssumeRoleWithWebIdentityCommand, se_AssumeRoleWithWebIdentityCommand } from "../protocols/Aws_query"; | ||
export { $Command }; | ||
export class AssumeRoleWithWebIdentityCommand extends $Command { | ||
static getEndpointParameterInstructions() { | ||
return { | ||
UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" }, | ||
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, | ||
Endpoint: { type: "builtInParams", name: "endpoint" }, | ||
Region: { type: "builtInParams", name: "region" }, | ||
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, | ||
}; | ||
} | ||
constructor(input) { | ||
super(); | ||
this.input = input; | ||
} | ||
resolveMiddleware(clientStack, configuration, options) { | ||
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); | ||
this.middlewareStack.use(getEndpointPlugin(configuration, AssumeRoleWithWebIdentityCommand.getEndpointParameterInstructions())); | ||
const stack = clientStack.concat(this.middlewareStack); | ||
const { logger } = configuration; | ||
const clientName = "STSClient"; | ||
const commandName = "AssumeRoleWithWebIdentityCommand"; | ||
const handlerExecutionContext = { | ||
logger, | ||
clientName, | ||
commandName, | ||
inputFilterSensitiveLog: AssumeRoleWithWebIdentityRequestFilterSensitiveLog, | ||
outputFilterSensitiveLog: AssumeRoleWithWebIdentityResponseFilterSensitiveLog, | ||
[SMITHY_CONTEXT_KEY]: { | ||
service: "AWSSecurityTokenServiceV20110615", | ||
operation: "AssumeRoleWithWebIdentity", | ||
}, | ||
}; | ||
const { requestHandler } = configuration; | ||
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); | ||
} | ||
serialize(input, context) { | ||
return se_AssumeRoleWithWebIdentityCommand(input, context); | ||
} | ||
deserialize(output, context) { | ||
return de_AssumeRoleWithWebIdentityCommand(output, context); | ||
} | ||
export class AssumeRoleWithWebIdentityCommand extends $Command | ||
.classBuilder() | ||
.ep({ | ||
...commonParams, | ||
}) | ||
.m(function (Command, cs, config, o) { | ||
return [ | ||
getSerdePlugin(config, this.serialize, this.deserialize), | ||
getEndpointPlugin(config, Command.getEndpointParameterInstructions()), | ||
]; | ||
}) | ||
.s("AWSSecurityTokenServiceV20110615", "AssumeRoleWithWebIdentity", {}) | ||
.n("STSClient", "AssumeRoleWithWebIdentityCommand") | ||
.f(AssumeRoleWithWebIdentityRequestFilterSensitiveLog, AssumeRoleWithWebIdentityResponseFilterSensitiveLog) | ||
.ser(se_AssumeRoleWithWebIdentityCommand) | ||
.de(de_AssumeRoleWithWebIdentityCommand) | ||
.build() { | ||
} |
import { getEndpointPlugin } from "@smithy/middleware-endpoint"; | ||
import { getSerdePlugin } from "@smithy/middleware-serde"; | ||
import { Command as $Command } from "@smithy/smithy-client"; | ||
import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; | ||
import { commonParams } from "../endpoint/EndpointParameters"; | ||
import { de_DecodeAuthorizationMessageCommand, se_DecodeAuthorizationMessageCommand } from "../protocols/Aws_query"; | ||
export { $Command }; | ||
export class DecodeAuthorizationMessageCommand extends $Command { | ||
static getEndpointParameterInstructions() { | ||
return { | ||
UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" }, | ||
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, | ||
Endpoint: { type: "builtInParams", name: "endpoint" }, | ||
Region: { type: "builtInParams", name: "region" }, | ||
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, | ||
}; | ||
} | ||
constructor(input) { | ||
super(); | ||
this.input = input; | ||
} | ||
resolveMiddleware(clientStack, configuration, options) { | ||
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); | ||
this.middlewareStack.use(getEndpointPlugin(configuration, DecodeAuthorizationMessageCommand.getEndpointParameterInstructions())); | ||
const stack = clientStack.concat(this.middlewareStack); | ||
const { logger } = configuration; | ||
const clientName = "STSClient"; | ||
const commandName = "DecodeAuthorizationMessageCommand"; | ||
const handlerExecutionContext = { | ||
logger, | ||
clientName, | ||
commandName, | ||
inputFilterSensitiveLog: (_) => _, | ||
outputFilterSensitiveLog: (_) => _, | ||
[SMITHY_CONTEXT_KEY]: { | ||
service: "AWSSecurityTokenServiceV20110615", | ||
operation: "DecodeAuthorizationMessage", | ||
}, | ||
}; | ||
const { requestHandler } = configuration; | ||
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); | ||
} | ||
serialize(input, context) { | ||
return se_DecodeAuthorizationMessageCommand(input, context); | ||
} | ||
deserialize(output, context) { | ||
return de_DecodeAuthorizationMessageCommand(output, context); | ||
} | ||
export class DecodeAuthorizationMessageCommand extends $Command | ||
.classBuilder() | ||
.ep({ | ||
...commonParams, | ||
}) | ||
.m(function (Command, cs, config, o) { | ||
return [ | ||
getSerdePlugin(config, this.serialize, this.deserialize), | ||
getEndpointPlugin(config, Command.getEndpointParameterInstructions()), | ||
]; | ||
}) | ||
.s("AWSSecurityTokenServiceV20110615", "DecodeAuthorizationMessage", {}) | ||
.n("STSClient", "DecodeAuthorizationMessageCommand") | ||
.f(void 0, void 0) | ||
.ser(se_DecodeAuthorizationMessageCommand) | ||
.de(de_DecodeAuthorizationMessageCommand) | ||
.build() { | ||
} |
import { getEndpointPlugin } from "@smithy/middleware-endpoint"; | ||
import { getSerdePlugin } from "@smithy/middleware-serde"; | ||
import { Command as $Command } from "@smithy/smithy-client"; | ||
import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; | ||
import { commonParams } from "../endpoint/EndpointParameters"; | ||
import { de_GetAccessKeyInfoCommand, se_GetAccessKeyInfoCommand } from "../protocols/Aws_query"; | ||
export { $Command }; | ||
export class GetAccessKeyInfoCommand extends $Command { | ||
static getEndpointParameterInstructions() { | ||
return { | ||
UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" }, | ||
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, | ||
Endpoint: { type: "builtInParams", name: "endpoint" }, | ||
Region: { type: "builtInParams", name: "region" }, | ||
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, | ||
}; | ||
} | ||
constructor(input) { | ||
super(); | ||
this.input = input; | ||
} | ||
resolveMiddleware(clientStack, configuration, options) { | ||
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); | ||
this.middlewareStack.use(getEndpointPlugin(configuration, GetAccessKeyInfoCommand.getEndpointParameterInstructions())); | ||
const stack = clientStack.concat(this.middlewareStack); | ||
const { logger } = configuration; | ||
const clientName = "STSClient"; | ||
const commandName = "GetAccessKeyInfoCommand"; | ||
const handlerExecutionContext = { | ||
logger, | ||
clientName, | ||
commandName, | ||
inputFilterSensitiveLog: (_) => _, | ||
outputFilterSensitiveLog: (_) => _, | ||
[SMITHY_CONTEXT_KEY]: { | ||
service: "AWSSecurityTokenServiceV20110615", | ||
operation: "GetAccessKeyInfo", | ||
}, | ||
}; | ||
const { requestHandler } = configuration; | ||
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); | ||
} | ||
serialize(input, context) { | ||
return se_GetAccessKeyInfoCommand(input, context); | ||
} | ||
deserialize(output, context) { | ||
return de_GetAccessKeyInfoCommand(output, context); | ||
} | ||
export class GetAccessKeyInfoCommand extends $Command | ||
.classBuilder() | ||
.ep({ | ||
...commonParams, | ||
}) | ||
.m(function (Command, cs, config, o) { | ||
return [ | ||
getSerdePlugin(config, this.serialize, this.deserialize), | ||
getEndpointPlugin(config, Command.getEndpointParameterInstructions()), | ||
]; | ||
}) | ||
.s("AWSSecurityTokenServiceV20110615", "GetAccessKeyInfo", {}) | ||
.n("STSClient", "GetAccessKeyInfoCommand") | ||
.f(void 0, void 0) | ||
.ser(se_GetAccessKeyInfoCommand) | ||
.de(de_GetAccessKeyInfoCommand) | ||
.build() { | ||
} |
import { getEndpointPlugin } from "@smithy/middleware-endpoint"; | ||
import { getSerdePlugin } from "@smithy/middleware-serde"; | ||
import { Command as $Command } from "@smithy/smithy-client"; | ||
import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; | ||
import { commonParams } from "../endpoint/EndpointParameters"; | ||
import { de_GetCallerIdentityCommand, se_GetCallerIdentityCommand } from "../protocols/Aws_query"; | ||
export { $Command }; | ||
export class GetCallerIdentityCommand extends $Command { | ||
static getEndpointParameterInstructions() { | ||
return { | ||
UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" }, | ||
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, | ||
Endpoint: { type: "builtInParams", name: "endpoint" }, | ||
Region: { type: "builtInParams", name: "region" }, | ||
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, | ||
}; | ||
} | ||
constructor(input) { | ||
super(); | ||
this.input = input; | ||
} | ||
resolveMiddleware(clientStack, configuration, options) { | ||
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); | ||
this.middlewareStack.use(getEndpointPlugin(configuration, GetCallerIdentityCommand.getEndpointParameterInstructions())); | ||
const stack = clientStack.concat(this.middlewareStack); | ||
const { logger } = configuration; | ||
const clientName = "STSClient"; | ||
const commandName = "GetCallerIdentityCommand"; | ||
const handlerExecutionContext = { | ||
logger, | ||
clientName, | ||
commandName, | ||
inputFilterSensitiveLog: (_) => _, | ||
outputFilterSensitiveLog: (_) => _, | ||
[SMITHY_CONTEXT_KEY]: { | ||
service: "AWSSecurityTokenServiceV20110615", | ||
operation: "GetCallerIdentity", | ||
}, | ||
}; | ||
const { requestHandler } = configuration; | ||
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); | ||
} | ||
serialize(input, context) { | ||
return se_GetCallerIdentityCommand(input, context); | ||
} | ||
deserialize(output, context) { | ||
return de_GetCallerIdentityCommand(output, context); | ||
} | ||
export class GetCallerIdentityCommand extends $Command | ||
.classBuilder() | ||
.ep({ | ||
...commonParams, | ||
}) | ||
.m(function (Command, cs, config, o) { | ||
return [ | ||
getSerdePlugin(config, this.serialize, this.deserialize), | ||
getEndpointPlugin(config, Command.getEndpointParameterInstructions()), | ||
]; | ||
}) | ||
.s("AWSSecurityTokenServiceV20110615", "GetCallerIdentity", {}) | ||
.n("STSClient", "GetCallerIdentityCommand") | ||
.f(void 0, void 0) | ||
.ser(se_GetCallerIdentityCommand) | ||
.de(de_GetCallerIdentityCommand) | ||
.build() { | ||
} |
import { getEndpointPlugin } from "@smithy/middleware-endpoint"; | ||
import { getSerdePlugin } from "@smithy/middleware-serde"; | ||
import { Command as $Command } from "@smithy/smithy-client"; | ||
import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; | ||
import { commonParams } from "../endpoint/EndpointParameters"; | ||
import { GetFederationTokenResponseFilterSensitiveLog, } from "../models/models_0"; | ||
import { de_GetFederationTokenCommand, se_GetFederationTokenCommand } from "../protocols/Aws_query"; | ||
export { $Command }; | ||
export class GetFederationTokenCommand extends $Command { | ||
static getEndpointParameterInstructions() { | ||
return { | ||
UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" }, | ||
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, | ||
Endpoint: { type: "builtInParams", name: "endpoint" }, | ||
Region: { type: "builtInParams", name: "region" }, | ||
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, | ||
}; | ||
} | ||
constructor(input) { | ||
super(); | ||
this.input = input; | ||
} | ||
resolveMiddleware(clientStack, configuration, options) { | ||
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); | ||
this.middlewareStack.use(getEndpointPlugin(configuration, GetFederationTokenCommand.getEndpointParameterInstructions())); | ||
const stack = clientStack.concat(this.middlewareStack); | ||
const { logger } = configuration; | ||
const clientName = "STSClient"; | ||
const commandName = "GetFederationTokenCommand"; | ||
const handlerExecutionContext = { | ||
logger, | ||
clientName, | ||
commandName, | ||
inputFilterSensitiveLog: (_) => _, | ||
outputFilterSensitiveLog: GetFederationTokenResponseFilterSensitiveLog, | ||
[SMITHY_CONTEXT_KEY]: { | ||
service: "AWSSecurityTokenServiceV20110615", | ||
operation: "GetFederationToken", | ||
}, | ||
}; | ||
const { requestHandler } = configuration; | ||
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); | ||
} | ||
serialize(input, context) { | ||
return se_GetFederationTokenCommand(input, context); | ||
} | ||
deserialize(output, context) { | ||
return de_GetFederationTokenCommand(output, context); | ||
} | ||
export class GetFederationTokenCommand extends $Command | ||
.classBuilder() | ||
.ep({ | ||
...commonParams, | ||
}) | ||
.m(function (Command, cs, config, o) { | ||
return [ | ||
getSerdePlugin(config, this.serialize, this.deserialize), | ||
getEndpointPlugin(config, Command.getEndpointParameterInstructions()), | ||
]; | ||
}) | ||
.s("AWSSecurityTokenServiceV20110615", "GetFederationToken", {}) | ||
.n("STSClient", "GetFederationTokenCommand") | ||
.f(void 0, GetFederationTokenResponseFilterSensitiveLog) | ||
.ser(se_GetFederationTokenCommand) | ||
.de(de_GetFederationTokenCommand) | ||
.build() { | ||
} |
import { getEndpointPlugin } from "@smithy/middleware-endpoint"; | ||
import { getSerdePlugin } from "@smithy/middleware-serde"; | ||
import { Command as $Command } from "@smithy/smithy-client"; | ||
import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; | ||
import { commonParams } from "../endpoint/EndpointParameters"; | ||
import { GetSessionTokenResponseFilterSensitiveLog, } from "../models/models_0"; | ||
import { de_GetSessionTokenCommand, se_GetSessionTokenCommand } from "../protocols/Aws_query"; | ||
export { $Command }; | ||
export class GetSessionTokenCommand extends $Command { | ||
static getEndpointParameterInstructions() { | ||
return { | ||
UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" }, | ||
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, | ||
Endpoint: { type: "builtInParams", name: "endpoint" }, | ||
Region: { type: "builtInParams", name: "region" }, | ||
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, | ||
}; | ||
} | ||
constructor(input) { | ||
super(); | ||
this.input = input; | ||
} | ||
resolveMiddleware(clientStack, configuration, options) { | ||
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); | ||
this.middlewareStack.use(getEndpointPlugin(configuration, GetSessionTokenCommand.getEndpointParameterInstructions())); | ||
const stack = clientStack.concat(this.middlewareStack); | ||
const { logger } = configuration; | ||
const clientName = "STSClient"; | ||
const commandName = "GetSessionTokenCommand"; | ||
const handlerExecutionContext = { | ||
logger, | ||
clientName, | ||
commandName, | ||
inputFilterSensitiveLog: (_) => _, | ||
outputFilterSensitiveLog: GetSessionTokenResponseFilterSensitiveLog, | ||
[SMITHY_CONTEXT_KEY]: { | ||
service: "AWSSecurityTokenServiceV20110615", | ||
operation: "GetSessionToken", | ||
}, | ||
}; | ||
const { requestHandler } = configuration; | ||
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); | ||
} | ||
serialize(input, context) { | ||
return se_GetSessionTokenCommand(input, context); | ||
} | ||
deserialize(output, context) { | ||
return de_GetSessionTokenCommand(output, context); | ||
} | ||
export class GetSessionTokenCommand extends $Command | ||
.classBuilder() | ||
.ep({ | ||
...commonParams, | ||
}) | ||
.m(function (Command, cs, config, o) { | ||
return [ | ||
getSerdePlugin(config, this.serialize, this.deserialize), | ||
getEndpointPlugin(config, Command.getEndpointParameterInstructions()), | ||
]; | ||
}) | ||
.s("AWSSecurityTokenServiceV20110615", "GetSessionToken", {}) | ||
.n("STSClient", "GetSessionTokenCommand") | ||
.f(void 0, GetSessionTokenResponseFilterSensitiveLog) | ||
.ser(se_GetSessionTokenCommand) | ||
.de(de_GetSessionTokenCommand) | ||
.build() { | ||
} |
@@ -10,1 +10,8 @@ export const resolveClientEndpointParameters = (options) => { | ||
}; | ||
export const commonParams = { | ||
UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" }, | ||
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, | ||
Endpoint: { type: "builtInParams", name: "endpoint" }, | ||
Region: { type: "builtInParams", name: "region" }, | ||
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, | ||
}; |
@@ -1,4 +0,3 @@ | ||
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; | ||
import { Command as $Command } from "@smithy/smithy-client"; | ||
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; | ||
import { MetadataBearer as __MetadataBearer } from "@smithy/types"; | ||
import { AssumeRoleRequest, AssumeRoleResponse } from "../models/models_0"; | ||
@@ -24,2 +23,6 @@ import { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient"; | ||
} | ||
declare const AssumeRoleCommand_base: { | ||
new (input: AssumeRoleCommandInput): import("@smithy/smithy-client").CommandImpl<AssumeRoleCommandInput, AssumeRoleCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>; | ||
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; | ||
}; | ||
/** | ||
@@ -253,21 +256,3 @@ * @public | ||
*/ | ||
export declare class AssumeRoleCommand extends $Command<AssumeRoleCommandInput, AssumeRoleCommandOutput, STSClientResolvedConfig> { | ||
readonly input: AssumeRoleCommandInput; | ||
static getEndpointParameterInstructions(): EndpointParameterInstructions; | ||
/** | ||
* @public | ||
*/ | ||
constructor(input: AssumeRoleCommandInput); | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: STSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AssumeRoleCommandInput, AssumeRoleCommandOutput>; | ||
/** | ||
* @internal | ||
*/ | ||
private serialize; | ||
/** | ||
* @internal | ||
*/ | ||
private deserialize; | ||
export declare class AssumeRoleCommand extends AssumeRoleCommand_base { | ||
} |
@@ -1,4 +0,3 @@ | ||
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; | ||
import { Command as $Command } from "@smithy/smithy-client"; | ||
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; | ||
import { MetadataBearer as __MetadataBearer } from "@smithy/types"; | ||
import { AssumeRoleWithSAMLRequest, AssumeRoleWithSAMLResponse } from "../models/models_0"; | ||
@@ -24,2 +23,6 @@ import { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient"; | ||
} | ||
declare const AssumeRoleWithSAMLCommand_base: { | ||
new (input: AssumeRoleWithSAMLCommandInput): import("@smithy/smithy-client").CommandImpl<AssumeRoleWithSAMLCommandInput, AssumeRoleWithSAMLCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>; | ||
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; | ||
}; | ||
/** | ||
@@ -278,21 +281,3 @@ * @public | ||
*/ | ||
export declare class AssumeRoleWithSAMLCommand extends $Command<AssumeRoleWithSAMLCommandInput, AssumeRoleWithSAMLCommandOutput, STSClientResolvedConfig> { | ||
readonly input: AssumeRoleWithSAMLCommandInput; | ||
static getEndpointParameterInstructions(): EndpointParameterInstructions; | ||
/** | ||
* @public | ||
*/ | ||
constructor(input: AssumeRoleWithSAMLCommandInput); | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: STSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AssumeRoleWithSAMLCommandInput, AssumeRoleWithSAMLCommandOutput>; | ||
/** | ||
* @internal | ||
*/ | ||
private serialize; | ||
/** | ||
* @internal | ||
*/ | ||
private deserialize; | ||
export declare class AssumeRoleWithSAMLCommand extends AssumeRoleWithSAMLCommand_base { | ||
} |
@@ -1,4 +0,3 @@ | ||
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; | ||
import { Command as $Command } from "@smithy/smithy-client"; | ||
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; | ||
import { MetadataBearer as __MetadataBearer } from "@smithy/types"; | ||
import { AssumeRoleWithWebIdentityRequest, AssumeRoleWithWebIdentityResponse } from "../models/models_0"; | ||
@@ -24,2 +23,6 @@ import { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient"; | ||
} | ||
declare const AssumeRoleWithWebIdentityCommand_base: { | ||
new (input: AssumeRoleWithWebIdentityCommandInput): import("@smithy/smithy-client").CommandImpl<AssumeRoleWithWebIdentityCommandInput, AssumeRoleWithWebIdentityCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>; | ||
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; | ||
}; | ||
/** | ||
@@ -287,21 +290,3 @@ * @public | ||
*/ | ||
export declare class AssumeRoleWithWebIdentityCommand extends $Command<AssumeRoleWithWebIdentityCommandInput, AssumeRoleWithWebIdentityCommandOutput, STSClientResolvedConfig> { | ||
readonly input: AssumeRoleWithWebIdentityCommandInput; | ||
static getEndpointParameterInstructions(): EndpointParameterInstructions; | ||
/** | ||
* @public | ||
*/ | ||
constructor(input: AssumeRoleWithWebIdentityCommandInput); | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: STSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AssumeRoleWithWebIdentityCommandInput, AssumeRoleWithWebIdentityCommandOutput>; | ||
/** | ||
* @internal | ||
*/ | ||
private serialize; | ||
/** | ||
* @internal | ||
*/ | ||
private deserialize; | ||
export declare class AssumeRoleWithWebIdentityCommand extends AssumeRoleWithWebIdentityCommand_base { | ||
} |
@@ -1,4 +0,3 @@ | ||
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; | ||
import { Command as $Command } from "@smithy/smithy-client"; | ||
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; | ||
import { MetadataBearer as __MetadataBearer } from "@smithy/types"; | ||
import { DecodeAuthorizationMessageRequest, DecodeAuthorizationMessageResponse } from "../models/models_0"; | ||
@@ -24,2 +23,6 @@ import { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient"; | ||
} | ||
declare const DecodeAuthorizationMessageCommand_base: { | ||
new (input: DecodeAuthorizationMessageCommandInput): import("@smithy/smithy-client").CommandImpl<DecodeAuthorizationMessageCommandInput, DecodeAuthorizationMessageCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>; | ||
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; | ||
}; | ||
/** | ||
@@ -111,21 +114,3 @@ * @public | ||
*/ | ||
export declare class DecodeAuthorizationMessageCommand extends $Command<DecodeAuthorizationMessageCommandInput, DecodeAuthorizationMessageCommandOutput, STSClientResolvedConfig> { | ||
readonly input: DecodeAuthorizationMessageCommandInput; | ||
static getEndpointParameterInstructions(): EndpointParameterInstructions; | ||
/** | ||
* @public | ||
*/ | ||
constructor(input: DecodeAuthorizationMessageCommandInput); | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: STSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DecodeAuthorizationMessageCommandInput, DecodeAuthorizationMessageCommandOutput>; | ||
/** | ||
* @internal | ||
*/ | ||
private serialize; | ||
/** | ||
* @internal | ||
*/ | ||
private deserialize; | ||
export declare class DecodeAuthorizationMessageCommand extends DecodeAuthorizationMessageCommand_base { | ||
} |
@@ -1,4 +0,3 @@ | ||
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; | ||
import { Command as $Command } from "@smithy/smithy-client"; | ||
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; | ||
import { MetadataBearer as __MetadataBearer } from "@smithy/types"; | ||
import { GetAccessKeyInfoRequest, GetAccessKeyInfoResponse } from "../models/models_0"; | ||
@@ -24,2 +23,6 @@ import { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient"; | ||
} | ||
declare const GetAccessKeyInfoCommand_base: { | ||
new (input: GetAccessKeyInfoCommandInput): import("@smithy/smithy-client").CommandImpl<GetAccessKeyInfoCommandInput, GetAccessKeyInfoCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>; | ||
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; | ||
}; | ||
/** | ||
@@ -71,21 +74,3 @@ * @public | ||
*/ | ||
export declare class GetAccessKeyInfoCommand extends $Command<GetAccessKeyInfoCommandInput, GetAccessKeyInfoCommandOutput, STSClientResolvedConfig> { | ||
readonly input: GetAccessKeyInfoCommandInput; | ||
static getEndpointParameterInstructions(): EndpointParameterInstructions; | ||
/** | ||
* @public | ||
*/ | ||
constructor(input: GetAccessKeyInfoCommandInput); | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: STSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetAccessKeyInfoCommandInput, GetAccessKeyInfoCommandOutput>; | ||
/** | ||
* @internal | ||
*/ | ||
private serialize; | ||
/** | ||
* @internal | ||
*/ | ||
private deserialize; | ||
export declare class GetAccessKeyInfoCommand extends GetAccessKeyInfoCommand_base { | ||
} |
@@ -1,4 +0,3 @@ | ||
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; | ||
import { Command as $Command } from "@smithy/smithy-client"; | ||
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; | ||
import { MetadataBearer as __MetadataBearer } from "@smithy/types"; | ||
import { GetCallerIdentityRequest, GetCallerIdentityResponse } from "../models/models_0"; | ||
@@ -24,2 +23,6 @@ import { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient"; | ||
} | ||
declare const GetCallerIdentityCommand_base: { | ||
new (input: GetCallerIdentityCommandInput): import("@smithy/smithy-client").CommandImpl<GetCallerIdentityCommandInput, GetCallerIdentityCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>; | ||
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; | ||
}; | ||
/** | ||
@@ -112,21 +115,3 @@ * @public | ||
*/ | ||
export declare class GetCallerIdentityCommand extends $Command<GetCallerIdentityCommandInput, GetCallerIdentityCommandOutput, STSClientResolvedConfig> { | ||
readonly input: GetCallerIdentityCommandInput; | ||
static getEndpointParameterInstructions(): EndpointParameterInstructions; | ||
/** | ||
* @public | ||
*/ | ||
constructor(input: GetCallerIdentityCommandInput); | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: STSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetCallerIdentityCommandInput, GetCallerIdentityCommandOutput>; | ||
/** | ||
* @internal | ||
*/ | ||
private serialize; | ||
/** | ||
* @internal | ||
*/ | ||
private deserialize; | ||
export declare class GetCallerIdentityCommand extends GetCallerIdentityCommand_base { | ||
} |
@@ -1,4 +0,3 @@ | ||
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; | ||
import { Command as $Command } from "@smithy/smithy-client"; | ||
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; | ||
import { MetadataBearer as __MetadataBearer } from "@smithy/types"; | ||
import { GetFederationTokenRequest, GetFederationTokenResponse } from "../models/models_0"; | ||
@@ -24,2 +23,6 @@ import { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient"; | ||
} | ||
declare const GetFederationTokenCommand_base: { | ||
new (input: GetFederationTokenCommandInput): import("@smithy/smithy-client").CommandImpl<GetFederationTokenCommandInput, GetFederationTokenCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>; | ||
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; | ||
}; | ||
/** | ||
@@ -226,21 +229,3 @@ * @public | ||
*/ | ||
export declare class GetFederationTokenCommand extends $Command<GetFederationTokenCommandInput, GetFederationTokenCommandOutput, STSClientResolvedConfig> { | ||
readonly input: GetFederationTokenCommandInput; | ||
static getEndpointParameterInstructions(): EndpointParameterInstructions; | ||
/** | ||
* @public | ||
*/ | ||
constructor(input: GetFederationTokenCommandInput); | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: STSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetFederationTokenCommandInput, GetFederationTokenCommandOutput>; | ||
/** | ||
* @internal | ||
*/ | ||
private serialize; | ||
/** | ||
* @internal | ||
*/ | ||
private deserialize; | ||
export declare class GetFederationTokenCommand extends GetFederationTokenCommand_base { | ||
} |
@@ -1,4 +0,3 @@ | ||
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; | ||
import { Command as $Command } from "@smithy/smithy-client"; | ||
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; | ||
import { MetadataBearer as __MetadataBearer } from "@smithy/types"; | ||
import { GetSessionTokenRequest, GetSessionTokenResponse } from "../models/models_0"; | ||
@@ -24,2 +23,6 @@ import { ServiceInputTypes, ServiceOutputTypes, STSClientResolvedConfig } from "../STSClient"; | ||
} | ||
declare const GetSessionTokenCommand_base: { | ||
new (input: GetSessionTokenCommandInput): import("@smithy/smithy-client").CommandImpl<GetSessionTokenCommandInput, GetSessionTokenCommandOutput, STSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>; | ||
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; | ||
}; | ||
/** | ||
@@ -150,21 +153,3 @@ * @public | ||
*/ | ||
export declare class GetSessionTokenCommand extends $Command<GetSessionTokenCommandInput, GetSessionTokenCommandOutput, STSClientResolvedConfig> { | ||
readonly input: GetSessionTokenCommandInput; | ||
static getEndpointParameterInstructions(): EndpointParameterInstructions; | ||
/** | ||
* @public | ||
*/ | ||
constructor(input: GetSessionTokenCommandInput); | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: STSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetSessionTokenCommandInput, GetSessionTokenCommandOutput>; | ||
/** | ||
* @internal | ||
*/ | ||
private serialize; | ||
/** | ||
* @internal | ||
*/ | ||
private deserialize; | ||
export declare class GetSessionTokenCommand extends GetSessionTokenCommand_base { | ||
} |
@@ -18,2 +18,24 @@ import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types"; | ||
}; | ||
export declare const commonParams: { | ||
readonly UseGlobalEndpoint: { | ||
readonly type: "builtInParams"; | ||
readonly name: "useGlobalEndpoint"; | ||
}; | ||
readonly UseFIPS: { | ||
readonly type: "builtInParams"; | ||
readonly name: "useFipsEndpoint"; | ||
}; | ||
readonly Endpoint: { | ||
readonly type: "builtInParams"; | ||
readonly name: "endpoint"; | ||
}; | ||
readonly Region: { | ||
readonly type: "builtInParams"; | ||
readonly name: "region"; | ||
}; | ||
readonly UseDualStack: { | ||
readonly type: "builtInParams"; | ||
readonly name: "useDualstackEndpoint"; | ||
}; | ||
}; | ||
export interface EndpointParameters extends __EndpointParameters { | ||
@@ -20,0 +42,0 @@ Region?: string; |
@@ -1,9 +0,3 @@ | ||
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; | ||
import { Command as $Command } from "@smithy/smithy-client"; | ||
import { | ||
Handler, | ||
HttpHandlerOptions as __HttpHandlerOptions, | ||
MetadataBearer as __MetadataBearer, | ||
MiddlewareStack, | ||
} from "@smithy/types"; | ||
import { MetadataBearer as __MetadataBearer } from "@smithy/types"; | ||
import { AssumeRoleRequest, AssumeRoleResponse } from "../models/models_0"; | ||
@@ -20,17 +14,14 @@ import { | ||
__MetadataBearer {} | ||
export declare class AssumeRoleCommand extends $Command< | ||
AssumeRoleCommandInput, | ||
AssumeRoleCommandOutput, | ||
STSClientResolvedConfig | ||
> { | ||
readonly input: AssumeRoleCommandInput; | ||
static getEndpointParameterInstructions(): EndpointParameterInstructions; | ||
constructor(input: AssumeRoleCommandInput); | ||
resolveMiddleware( | ||
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, | ||
configuration: STSClientResolvedConfig, | ||
options?: __HttpHandlerOptions | ||
): Handler<AssumeRoleCommandInput, AssumeRoleCommandOutput>; | ||
private serialize; | ||
private deserialize; | ||
} | ||
declare const AssumeRoleCommand_base: { | ||
new ( | ||
input: AssumeRoleCommandInput | ||
): import("@smithy/smithy-client").CommandImpl< | ||
AssumeRoleCommandInput, | ||
AssumeRoleCommandOutput, | ||
STSClientResolvedConfig, | ||
ServiceInputTypes, | ||
ServiceOutputTypes | ||
>; | ||
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; | ||
}; | ||
export declare class AssumeRoleCommand extends AssumeRoleCommand_base {} |
@@ -1,10 +0,4 @@ | ||
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; | ||
import { Command as $Command } from "@smithy/smithy-client"; | ||
import { MetadataBearer as __MetadataBearer } from "@smithy/types"; | ||
import { | ||
Handler, | ||
HttpHandlerOptions as __HttpHandlerOptions, | ||
MetadataBearer as __MetadataBearer, | ||
MiddlewareStack, | ||
} from "@smithy/types"; | ||
import { | ||
AssumeRoleWithSAMLRequest, | ||
@@ -24,17 +18,14 @@ AssumeRoleWithSAMLResponse, | ||
__MetadataBearer {} | ||
export declare class AssumeRoleWithSAMLCommand extends $Command< | ||
AssumeRoleWithSAMLCommandInput, | ||
AssumeRoleWithSAMLCommandOutput, | ||
STSClientResolvedConfig | ||
> { | ||
readonly input: AssumeRoleWithSAMLCommandInput; | ||
static getEndpointParameterInstructions(): EndpointParameterInstructions; | ||
constructor(input: AssumeRoleWithSAMLCommandInput); | ||
resolveMiddleware( | ||
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, | ||
configuration: STSClientResolvedConfig, | ||
options?: __HttpHandlerOptions | ||
): Handler<AssumeRoleWithSAMLCommandInput, AssumeRoleWithSAMLCommandOutput>; | ||
private serialize; | ||
private deserialize; | ||
} | ||
declare const AssumeRoleWithSAMLCommand_base: { | ||
new ( | ||
input: AssumeRoleWithSAMLCommandInput | ||
): import("@smithy/smithy-client").CommandImpl< | ||
AssumeRoleWithSAMLCommandInput, | ||
AssumeRoleWithSAMLCommandOutput, | ||
STSClientResolvedConfig, | ||
ServiceInputTypes, | ||
ServiceOutputTypes | ||
>; | ||
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; | ||
}; | ||
export declare class AssumeRoleWithSAMLCommand extends AssumeRoleWithSAMLCommand_base {} |
@@ -1,10 +0,4 @@ | ||
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; | ||
import { Command as $Command } from "@smithy/smithy-client"; | ||
import { MetadataBearer as __MetadataBearer } from "@smithy/types"; | ||
import { | ||
Handler, | ||
HttpHandlerOptions as __HttpHandlerOptions, | ||
MetadataBearer as __MetadataBearer, | ||
MiddlewareStack, | ||
} from "@smithy/types"; | ||
import { | ||
AssumeRoleWithWebIdentityRequest, | ||
@@ -24,20 +18,14 @@ AssumeRoleWithWebIdentityResponse, | ||
__MetadataBearer {} | ||
export declare class AssumeRoleWithWebIdentityCommand extends $Command< | ||
AssumeRoleWithWebIdentityCommandInput, | ||
AssumeRoleWithWebIdentityCommandOutput, | ||
STSClientResolvedConfig | ||
> { | ||
readonly input: AssumeRoleWithWebIdentityCommandInput; | ||
static getEndpointParameterInstructions(): EndpointParameterInstructions; | ||
constructor(input: AssumeRoleWithWebIdentityCommandInput); | ||
resolveMiddleware( | ||
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, | ||
configuration: STSClientResolvedConfig, | ||
options?: __HttpHandlerOptions | ||
): Handler< | ||
declare const AssumeRoleWithWebIdentityCommand_base: { | ||
new ( | ||
input: AssumeRoleWithWebIdentityCommandInput | ||
): import("@smithy/smithy-client").CommandImpl< | ||
AssumeRoleWithWebIdentityCommandInput, | ||
AssumeRoleWithWebIdentityCommandOutput | ||
AssumeRoleWithWebIdentityCommandOutput, | ||
STSClientResolvedConfig, | ||
ServiceInputTypes, | ||
ServiceOutputTypes | ||
>; | ||
private serialize; | ||
private deserialize; | ||
} | ||
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; | ||
}; | ||
export declare class AssumeRoleWithWebIdentityCommand extends AssumeRoleWithWebIdentityCommand_base {} |
@@ -1,10 +0,4 @@ | ||
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; | ||
import { Command as $Command } from "@smithy/smithy-client"; | ||
import { MetadataBearer as __MetadataBearer } from "@smithy/types"; | ||
import { | ||
Handler, | ||
HttpHandlerOptions as __HttpHandlerOptions, | ||
MetadataBearer as __MetadataBearer, | ||
MiddlewareStack, | ||
} from "@smithy/types"; | ||
import { | ||
DecodeAuthorizationMessageRequest, | ||
@@ -24,20 +18,14 @@ DecodeAuthorizationMessageResponse, | ||
__MetadataBearer {} | ||
export declare class DecodeAuthorizationMessageCommand extends $Command< | ||
DecodeAuthorizationMessageCommandInput, | ||
DecodeAuthorizationMessageCommandOutput, | ||
STSClientResolvedConfig | ||
> { | ||
readonly input: DecodeAuthorizationMessageCommandInput; | ||
static getEndpointParameterInstructions(): EndpointParameterInstructions; | ||
constructor(input: DecodeAuthorizationMessageCommandInput); | ||
resolveMiddleware( | ||
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, | ||
configuration: STSClientResolvedConfig, | ||
options?: __HttpHandlerOptions | ||
): Handler< | ||
declare const DecodeAuthorizationMessageCommand_base: { | ||
new ( | ||
input: DecodeAuthorizationMessageCommandInput | ||
): import("@smithy/smithy-client").CommandImpl< | ||
DecodeAuthorizationMessageCommandInput, | ||
DecodeAuthorizationMessageCommandOutput | ||
DecodeAuthorizationMessageCommandOutput, | ||
STSClientResolvedConfig, | ||
ServiceInputTypes, | ||
ServiceOutputTypes | ||
>; | ||
private serialize; | ||
private deserialize; | ||
} | ||
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; | ||
}; | ||
export declare class DecodeAuthorizationMessageCommand extends DecodeAuthorizationMessageCommand_base {} |
@@ -1,10 +0,4 @@ | ||
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; | ||
import { Command as $Command } from "@smithy/smithy-client"; | ||
import { MetadataBearer as __MetadataBearer } from "@smithy/types"; | ||
import { | ||
Handler, | ||
HttpHandlerOptions as __HttpHandlerOptions, | ||
MetadataBearer as __MetadataBearer, | ||
MiddlewareStack, | ||
} from "@smithy/types"; | ||
import { | ||
GetAccessKeyInfoRequest, | ||
@@ -23,17 +17,14 @@ GetAccessKeyInfoResponse, | ||
__MetadataBearer {} | ||
export declare class GetAccessKeyInfoCommand extends $Command< | ||
GetAccessKeyInfoCommandInput, | ||
GetAccessKeyInfoCommandOutput, | ||
STSClientResolvedConfig | ||
> { | ||
readonly input: GetAccessKeyInfoCommandInput; | ||
static getEndpointParameterInstructions(): EndpointParameterInstructions; | ||
constructor(input: GetAccessKeyInfoCommandInput); | ||
resolveMiddleware( | ||
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, | ||
configuration: STSClientResolvedConfig, | ||
options?: __HttpHandlerOptions | ||
): Handler<GetAccessKeyInfoCommandInput, GetAccessKeyInfoCommandOutput>; | ||
private serialize; | ||
private deserialize; | ||
} | ||
declare const GetAccessKeyInfoCommand_base: { | ||
new ( | ||
input: GetAccessKeyInfoCommandInput | ||
): import("@smithy/smithy-client").CommandImpl< | ||
GetAccessKeyInfoCommandInput, | ||
GetAccessKeyInfoCommandOutput, | ||
STSClientResolvedConfig, | ||
ServiceInputTypes, | ||
ServiceOutputTypes | ||
>; | ||
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; | ||
}; | ||
export declare class GetAccessKeyInfoCommand extends GetAccessKeyInfoCommand_base {} |
@@ -1,10 +0,4 @@ | ||
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; | ||
import { Command as $Command } from "@smithy/smithy-client"; | ||
import { MetadataBearer as __MetadataBearer } from "@smithy/types"; | ||
import { | ||
Handler, | ||
HttpHandlerOptions as __HttpHandlerOptions, | ||
MetadataBearer as __MetadataBearer, | ||
MiddlewareStack, | ||
} from "@smithy/types"; | ||
import { | ||
GetCallerIdentityRequest, | ||
@@ -24,17 +18,14 @@ GetCallerIdentityResponse, | ||
__MetadataBearer {} | ||
export declare class GetCallerIdentityCommand extends $Command< | ||
GetCallerIdentityCommandInput, | ||
GetCallerIdentityCommandOutput, | ||
STSClientResolvedConfig | ||
> { | ||
readonly input: GetCallerIdentityCommandInput; | ||
static getEndpointParameterInstructions(): EndpointParameterInstructions; | ||
constructor(input: GetCallerIdentityCommandInput); | ||
resolveMiddleware( | ||
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, | ||
configuration: STSClientResolvedConfig, | ||
options?: __HttpHandlerOptions | ||
): Handler<GetCallerIdentityCommandInput, GetCallerIdentityCommandOutput>; | ||
private serialize; | ||
private deserialize; | ||
} | ||
declare const GetCallerIdentityCommand_base: { | ||
new ( | ||
input: GetCallerIdentityCommandInput | ||
): import("@smithy/smithy-client").CommandImpl< | ||
GetCallerIdentityCommandInput, | ||
GetCallerIdentityCommandOutput, | ||
STSClientResolvedConfig, | ||
ServiceInputTypes, | ||
ServiceOutputTypes | ||
>; | ||
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; | ||
}; | ||
export declare class GetCallerIdentityCommand extends GetCallerIdentityCommand_base {} |
@@ -1,10 +0,4 @@ | ||
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; | ||
import { Command as $Command } from "@smithy/smithy-client"; | ||
import { MetadataBearer as __MetadataBearer } from "@smithy/types"; | ||
import { | ||
Handler, | ||
HttpHandlerOptions as __HttpHandlerOptions, | ||
MetadataBearer as __MetadataBearer, | ||
MiddlewareStack, | ||
} from "@smithy/types"; | ||
import { | ||
GetFederationTokenRequest, | ||
@@ -24,17 +18,14 @@ GetFederationTokenResponse, | ||
__MetadataBearer {} | ||
export declare class GetFederationTokenCommand extends $Command< | ||
GetFederationTokenCommandInput, | ||
GetFederationTokenCommandOutput, | ||
STSClientResolvedConfig | ||
> { | ||
readonly input: GetFederationTokenCommandInput; | ||
static getEndpointParameterInstructions(): EndpointParameterInstructions; | ||
constructor(input: GetFederationTokenCommandInput); | ||
resolveMiddleware( | ||
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, | ||
configuration: STSClientResolvedConfig, | ||
options?: __HttpHandlerOptions | ||
): Handler<GetFederationTokenCommandInput, GetFederationTokenCommandOutput>; | ||
private serialize; | ||
private deserialize; | ||
} | ||
declare const GetFederationTokenCommand_base: { | ||
new ( | ||
input: GetFederationTokenCommandInput | ||
): import("@smithy/smithy-client").CommandImpl< | ||
GetFederationTokenCommandInput, | ||
GetFederationTokenCommandOutput, | ||
STSClientResolvedConfig, | ||
ServiceInputTypes, | ||
ServiceOutputTypes | ||
>; | ||
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; | ||
}; | ||
export declare class GetFederationTokenCommand extends GetFederationTokenCommand_base {} |
@@ -1,10 +0,4 @@ | ||
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; | ||
import { Command as $Command } from "@smithy/smithy-client"; | ||
import { MetadataBearer as __MetadataBearer } from "@smithy/types"; | ||
import { | ||
Handler, | ||
HttpHandlerOptions as __HttpHandlerOptions, | ||
MetadataBearer as __MetadataBearer, | ||
MiddlewareStack, | ||
} from "@smithy/types"; | ||
import { | ||
GetSessionTokenRequest, | ||
@@ -23,17 +17,14 @@ GetSessionTokenResponse, | ||
__MetadataBearer {} | ||
export declare class GetSessionTokenCommand extends $Command< | ||
GetSessionTokenCommandInput, | ||
GetSessionTokenCommandOutput, | ||
STSClientResolvedConfig | ||
> { | ||
readonly input: GetSessionTokenCommandInput; | ||
static getEndpointParameterInstructions(): EndpointParameterInstructions; | ||
constructor(input: GetSessionTokenCommandInput); | ||
resolveMiddleware( | ||
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, | ||
configuration: STSClientResolvedConfig, | ||
options?: __HttpHandlerOptions | ||
): Handler<GetSessionTokenCommandInput, GetSessionTokenCommandOutput>; | ||
private serialize; | ||
private deserialize; | ||
} | ||
declare const GetSessionTokenCommand_base: { | ||
new ( | ||
input: GetSessionTokenCommandInput | ||
): import("@smithy/smithy-client").CommandImpl< | ||
GetSessionTokenCommandInput, | ||
GetSessionTokenCommandOutput, | ||
STSClientResolvedConfig, | ||
ServiceInputTypes, | ||
ServiceOutputTypes | ||
>; | ||
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; | ||
}; | ||
export declare class GetSessionTokenCommand extends GetSessionTokenCommand_base {} |
@@ -29,2 +29,24 @@ import { | ||
}; | ||
export declare const commonParams: { | ||
readonly UseGlobalEndpoint: { | ||
readonly type: "builtInParams"; | ||
readonly name: "useGlobalEndpoint"; | ||
}; | ||
readonly UseFIPS: { | ||
readonly type: "builtInParams"; | ||
readonly name: "useFipsEndpoint"; | ||
}; | ||
readonly Endpoint: { | ||
readonly type: "builtInParams"; | ||
readonly name: "endpoint"; | ||
}; | ||
readonly Region: { | ||
readonly type: "builtInParams"; | ||
readonly name: "region"; | ||
}; | ||
readonly UseDualStack: { | ||
readonly type: "builtInParams"; | ||
readonly name: "useDualstackEndpoint"; | ||
}; | ||
}; | ||
export interface EndpointParameters extends __EndpointParameters { | ||
@@ -31,0 +53,0 @@ Region?: string; |
{ | ||
"name": "@aws-sdk/client-sts", | ||
"description": "AWS SDK for JavaScript Sts Client for Node.js, Browser and React Native", | ||
"version": "3.478.0", | ||
"version": "3.481.0", | ||
"scripts": { | ||
@@ -25,4 +25,4 @@ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'", | ||
"@aws-crypto/sha256-js": "3.0.0", | ||
"@aws-sdk/core": "3.477.0", | ||
"@aws-sdk/credential-provider-node": "3.478.0", | ||
"@aws-sdk/core": "3.481.0", | ||
"@aws-sdk/credential-provider-node": "3.481.0", | ||
"@aws-sdk/middleware-host-header": "3.468.0", | ||
@@ -38,3 +38,3 @@ "@aws-sdk/middleware-logger": "3.468.0", | ||
"@smithy/config-resolver": "^2.0.21", | ||
"@smithy/core": "^1.2.0", | ||
"@smithy/core": "^1.2.1", | ||
"@smithy/fetch-http-handler": "^2.3.1", | ||
@@ -45,3 +45,3 @@ "@smithy/hash-node": "^2.0.17", | ||
"@smithy/middleware-endpoint": "^2.2.3", | ||
"@smithy/middleware-retry": "^2.0.24", | ||
"@smithy/middleware-retry": "^2.0.25", | ||
"@smithy/middleware-serde": "^2.0.15", | ||
@@ -52,3 +52,3 @@ "@smithy/middleware-stack": "^2.0.9", | ||
"@smithy/protocol-http": "^3.0.11", | ||
"@smithy/smithy-client": "^2.1.18", | ||
"@smithy/smithy-client": "^2.2.0", | ||
"@smithy/types": "^2.7.0", | ||
@@ -59,4 +59,4 @@ "@smithy/url-parser": "^2.0.15", | ||
"@smithy/util-body-length-node": "^2.1.0", | ||
"@smithy/util-defaults-mode-browser": "^2.0.22", | ||
"@smithy/util-defaults-mode-node": "^2.0.29", | ||
"@smithy/util-defaults-mode-browser": "^2.0.23", | ||
"@smithy/util-defaults-mode-node": "^2.0.30", | ||
"@smithy/util-endpoints": "^1.0.7", | ||
@@ -63,0 +63,0 @@ "@smithy/util-middleware": "^2.0.8", |
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
453955
8978
+ Added@aws-sdk/client-sso@3.481.0(transitive)
+ Added@aws-sdk/core@3.481.0(transitive)
+ Added@aws-sdk/credential-provider-ini@3.481.0(transitive)
+ Added@aws-sdk/credential-provider-node@3.481.0(transitive)
+ Added@aws-sdk/credential-provider-sso@3.481.0(transitive)
+ Added@aws-sdk/token-providers@3.481.0(transitive)
- Removed@aws-sdk/client-sso@3.478.0(transitive)
- Removed@aws-sdk/core@3.477.0(transitive)
- Removed@aws-sdk/credential-provider-ini@3.478.0(transitive)
- Removed@aws-sdk/credential-provider-node@3.478.0(transitive)
- Removed@aws-sdk/credential-provider-sso@3.478.0(transitive)
- Removed@aws-sdk/token-providers@3.478.0(transitive)
Updated@aws-sdk/core@3.481.0
Updated@smithy/core@^1.2.1
Updated@smithy/smithy-client@^2.2.0