@aws-sdk/client-sso-oidc 3.490.0 → 3.495.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,19 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SSOOIDC = void 0;
4
- const smithy_client_1 = require("@smithy/smithy-client");
5
- const CreateTokenCommand_1 = require("./commands/CreateTokenCommand");
6
- const CreateTokenWithIAMCommand_1 = require("./commands/CreateTokenWithIAMCommand");
7
- const RegisterClientCommand_1 = require("./commands/RegisterClientCommand");
8
- const StartDeviceAuthorizationCommand_1 = require("./commands/StartDeviceAuthorizationCommand");
9
- const SSOOIDCClient_1 = require("./SSOOIDCClient");
10
- const commands = {
11
- CreateTokenCommand: CreateTokenCommand_1.CreateTokenCommand,
12
- CreateTokenWithIAMCommand: CreateTokenWithIAMCommand_1.CreateTokenWithIAMCommand,
13
- RegisterClientCommand: RegisterClientCommand_1.RegisterClientCommand,
14
- StartDeviceAuthorizationCommand: StartDeviceAuthorizationCommand_1.StartDeviceAuthorizationCommand,
15
- };
16
- class SSOOIDC extends SSOOIDCClient_1.SSOOIDCClient {
17
- }
18
- exports.SSOOIDC = SSOOIDC;
19
- (0, smithy_client_1.createAggregatedClient)(commands, SSOOIDC);
1
+ module.exports = require("./index.js");
@@ -1,42 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SSOOIDCClient = exports.__Client = void 0;
4
- const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
5
- const middleware_logger_1 = require("@aws-sdk/middleware-logger");
6
- const middleware_recursion_detection_1 = require("@aws-sdk/middleware-recursion-detection");
7
- const middleware_signing_1 = require("@aws-sdk/middleware-signing");
8
- const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
9
- const config_resolver_1 = require("@smithy/config-resolver");
10
- const middleware_content_length_1 = require("@smithy/middleware-content-length");
11
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
12
- const middleware_retry_1 = require("@smithy/middleware-retry");
13
- const smithy_client_1 = require("@smithy/smithy-client");
14
- Object.defineProperty(exports, "__Client", { enumerable: true, get: function () { return smithy_client_1.Client; } });
15
- const EndpointParameters_1 = require("./endpoint/EndpointParameters");
16
- const runtimeConfig_1 = require("./runtimeConfig");
17
- const runtimeExtensions_1 = require("./runtimeExtensions");
18
- class SSOOIDCClient extends smithy_client_1.Client {
19
- constructor(...[configuration]) {
20
- const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration || {});
21
- const _config_1 = (0, EndpointParameters_1.resolveClientEndpointParameters)(_config_0);
22
- const _config_2 = (0, config_resolver_1.resolveRegionConfig)(_config_1);
23
- const _config_3 = (0, middleware_endpoint_1.resolveEndpointConfig)(_config_2);
24
- const _config_4 = (0, middleware_retry_1.resolveRetryConfig)(_config_3);
25
- const _config_5 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_4);
26
- const _config_6 = (0, middleware_signing_1.resolveAwsAuthConfig)(_config_5);
27
- const _config_7 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_6);
28
- const _config_8 = (0, runtimeExtensions_1.resolveRuntimeExtensions)(_config_7, configuration?.extensions || []);
29
- super(_config_8);
30
- this.config = _config_8;
31
- this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config));
32
- this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
33
- this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
34
- this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
35
- this.middlewareStack.use((0, middleware_recursion_detection_1.getRecursionDetectionPlugin)(this.config));
36
- this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
37
- }
38
- destroy() {
39
- super.destroy();
40
- }
41
- }
42
- exports.SSOOIDCClient = SSOOIDCClient;
1
+ module.exports = require("./index.js");
@@ -1,29 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CreateTokenCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const models_0_1 = require("../models/models_0");
10
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
11
- class CreateTokenCommand extends smithy_client_1.Command
12
- .classBuilder()
13
- .ep({
14
- ...EndpointParameters_1.commonParams,
15
- })
16
- .m(function (Command, cs, config, o) {
17
- return [
18
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
19
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
20
- ];
21
- })
22
- .s("AWSSSOOIDCService", "CreateToken", {})
23
- .n("SSOOIDCClient", "CreateTokenCommand")
24
- .f(models_0_1.CreateTokenRequestFilterSensitiveLog, models_0_1.CreateTokenResponseFilterSensitiveLog)
25
- .ser(Aws_restJson1_1.se_CreateTokenCommand)
26
- .de(Aws_restJson1_1.de_CreateTokenCommand)
27
- .build() {
28
- }
29
- exports.CreateTokenCommand = CreateTokenCommand;
1
+ module.exports = require("../index.js");
@@ -1,31 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CreateTokenWithIAMCommand = exports.$Command = void 0;
4
- const middleware_signing_1 = require("@aws-sdk/middleware-signing");
5
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
6
- const middleware_serde_1 = require("@smithy/middleware-serde");
7
- const smithy_client_1 = require("@smithy/smithy-client");
8
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
9
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
10
- const models_0_1 = require("../models/models_0");
11
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
12
- class CreateTokenWithIAMCommand extends smithy_client_1.Command
13
- .classBuilder()
14
- .ep({
15
- ...EndpointParameters_1.commonParams,
16
- })
17
- .m(function (Command, cs, config, o) {
18
- return [
19
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
20
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
21
- (0, middleware_signing_1.getAwsAuthPlugin)(config),
22
- ];
23
- })
24
- .s("AWSSSOOIDCService", "CreateTokenWithIAM", {})
25
- .n("SSOOIDCClient", "CreateTokenWithIAMCommand")
26
- .f(models_0_1.CreateTokenWithIAMRequestFilterSensitiveLog, models_0_1.CreateTokenWithIAMResponseFilterSensitiveLog)
27
- .ser(Aws_restJson1_1.se_CreateTokenWithIAMCommand)
28
- .de(Aws_restJson1_1.de_CreateTokenWithIAMCommand)
29
- .build() {
30
- }
31
- exports.CreateTokenWithIAMCommand = CreateTokenWithIAMCommand;
1
+ module.exports = require("../index.js");
@@ -1,29 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.RegisterClientCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const models_0_1 = require("../models/models_0");
10
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
11
- class RegisterClientCommand extends smithy_client_1.Command
12
- .classBuilder()
13
- .ep({
14
- ...EndpointParameters_1.commonParams,
15
- })
16
- .m(function (Command, cs, config, o) {
17
- return [
18
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
19
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
20
- ];
21
- })
22
- .s("AWSSSOOIDCService", "RegisterClient", {})
23
- .n("SSOOIDCClient", "RegisterClientCommand")
24
- .f(void 0, models_0_1.RegisterClientResponseFilterSensitiveLog)
25
- .ser(Aws_restJson1_1.se_RegisterClientCommand)
26
- .de(Aws_restJson1_1.de_RegisterClientCommand)
27
- .build() {
28
- }
29
- exports.RegisterClientCommand = RegisterClientCommand;
1
+ module.exports = require("../index.js");
@@ -1,29 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.StartDeviceAuthorizationCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const models_0_1 = require("../models/models_0");
10
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
11
- class StartDeviceAuthorizationCommand extends smithy_client_1.Command
12
- .classBuilder()
13
- .ep({
14
- ...EndpointParameters_1.commonParams,
15
- })
16
- .m(function (Command, cs, config, o) {
17
- return [
18
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
19
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
20
- ];
21
- })
22
- .s("AWSSSOOIDCService", "StartDeviceAuthorization", {})
23
- .n("SSOOIDCClient", "StartDeviceAuthorizationCommand")
24
- .f(models_0_1.StartDeviceAuthorizationRequestFilterSensitiveLog, void 0)
25
- .ser(Aws_restJson1_1.se_StartDeviceAuthorizationCommand)
26
- .de(Aws_restJson1_1.de_StartDeviceAuthorizationCommand)
27
- .build() {
28
- }
29
- exports.StartDeviceAuthorizationCommand = StartDeviceAuthorizationCommand;
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./CreateTokenCommand"), exports);
5
- tslib_1.__exportStar(require("./CreateTokenWithIAMCommand"), exports);
6
- tslib_1.__exportStar(require("./RegisterClientCommand"), exports);
7
- tslib_1.__exportStar(require("./StartDeviceAuthorizationCommand"), exports);
1
+ module.exports = require("../index.js");
@@ -1,18 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.commonParams = exports.resolveClientEndpointParameters = void 0;
4
- const resolveClientEndpointParameters = (options) => {
5
- return {
6
- ...options,
7
- useDualstackEndpoint: options.useDualstackEndpoint ?? false,
8
- useFipsEndpoint: options.useFipsEndpoint ?? false,
9
- defaultSigningName: "sso-oauth",
10
- };
11
- };
12
- exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
13
- exports.commonParams = {
14
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
- Endpoint: { type: "builtInParams", name: "endpoint" },
16
- Region: { type: "builtInParams", name: "region" },
17
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
- };
1
+ module.exports = require("../index.js");
@@ -1,2 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ module.exports = require("./index.js");