@aws-sdk/client-sso 3.408.0 → 3.410.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -3
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/runtimeExtensions.js +3 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/runtimeExtensions.js +3 -0
- package/dist-types/SSO.d.ts +0 -3
- package/dist-types/SSOClient.d.ts +0 -3
- package/dist-types/commands/LogoutCommand.d.ts +0 -2
- package/dist-types/extensionConfiguration.d.ts +2 -1
- package/dist-types/index.d.ts +0 -3
- package/dist-types/runtimeConfig.browser.d.ts +4 -1
- package/dist-types/runtimeConfig.d.ts +4 -1
- package/dist-types/runtimeConfig.native.d.ts +4 -1
- package/dist-types/runtimeExtensions.d.ts +1 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +3 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +8 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +8 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +8 -1
- package/dist-types/ts3.4/runtimeExtensions.d.ts +1 -1
- package/package.json +25 -25
package/README.md
CHANGED
|
@@ -9,16 +9,13 @@ AWS SDK for JavaScript SSO Client for Node.js, Browser and React Native.
|
|
|
9
9
|
<p>AWS IAM Identity Center (successor to AWS Single Sign-On) Portal is a web service that makes it easy for you to assign user access to
|
|
10
10
|
IAM Identity Center resources such as the AWS access portal. Users can get AWS account applications and roles
|
|
11
11
|
assigned to them and get federated into the application.</p>
|
|
12
|
-
|
|
13
12
|
<note>
|
|
14
13
|
<p>Although AWS Single Sign-On was renamed, the <code>sso</code> and
|
|
15
14
|
<code>identitystore</code> API namespaces will continue to retain their original name for
|
|
16
15
|
backward compatibility purposes. For more information, see <a href="https://docs.aws.amazon.com/singlesignon/latest/userguide/what-is.html#renamed">IAM Identity Center rename</a>.</p>
|
|
17
16
|
</note>
|
|
18
|
-
|
|
19
17
|
<p>This reference guide describes the IAM Identity Center Portal operations that you can call
|
|
20
18
|
programatically and includes detailed information on data types and errors.</p>
|
|
21
|
-
|
|
22
19
|
<note>
|
|
23
20
|
<p>AWS provides SDKs that consist of libraries and sample code for various programming
|
|
24
21
|
languages and platforms, such as Java, Ruby, .Net, iOS, or Android. The SDKs provide a
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
|
-
const
|
|
5
|
-
const a = "
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
4
|
+
const q = "required", r = "fn", s = "argv", t = "ref";
|
|
5
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }, { conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ endpoint: { url: "https://portal.sso-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://portal.sso-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ endpoint: { url: "https://portal.sso.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://portal.sso.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.resolveRuntimeExtensions = void 0;
|
|
4
|
+
const protocol_http_1 = require("@smithy/protocol-http");
|
|
4
5
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
6
|
const asPartial = (t) => t;
|
|
6
7
|
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
7
8
|
const extensionConfiguration = {
|
|
8
9
|
...asPartial((0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig)),
|
|
10
|
+
...asPartial((0, protocol_http_1.getHttpHandlerExtensionConfiguration)(runtimeConfig)),
|
|
9
11
|
};
|
|
10
12
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
11
13
|
return {
|
|
12
14
|
...runtimeConfig,
|
|
13
15
|
...(0, smithy_client_1.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
16
|
+
...(0, protocol_http_1.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
|
|
14
17
|
};
|
|
15
18
|
};
|
|
16
19
|
exports.resolveRuntimeExtensions = resolveRuntimeExtensions;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
2
|
-
const a = "
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
1
|
+
const q = "required", r = "fn", s = "argv", t = "ref";
|
|
2
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }, { conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ endpoint: { url: "https://portal.sso-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://portal.sso-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ endpoint: { url: "https://portal.sso.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://portal.sso.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -1,12 +1,15 @@
|
|
|
1
|
+
import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http";
|
|
1
2
|
import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
|
|
2
3
|
const asPartial = (t) => t;
|
|
3
4
|
export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
4
5
|
const extensionConfiguration = {
|
|
5
6
|
...asPartial(getDefaultExtensionConfiguration(runtimeConfig)),
|
|
7
|
+
...asPartial(getHttpHandlerExtensionConfiguration(runtimeConfig)),
|
|
6
8
|
};
|
|
7
9
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
8
10
|
return {
|
|
9
11
|
...runtimeConfig,
|
|
10
12
|
...resolveDefaultRuntimeConfig(extensionConfiguration),
|
|
13
|
+
...resolveHttpHandlerRuntimeConfig(extensionConfiguration),
|
|
11
14
|
};
|
|
12
15
|
};
|
package/dist-types/SSO.d.ts
CHANGED
|
@@ -35,16 +35,13 @@ export interface SSO {
|
|
|
35
35
|
* <p>AWS IAM Identity Center (successor to AWS Single Sign-On) Portal is a web service that makes it easy for you to assign user access to
|
|
36
36
|
* IAM Identity Center resources such as the AWS access portal. Users can get AWS account applications and roles
|
|
37
37
|
* assigned to them and get federated into the application.</p>
|
|
38
|
-
*
|
|
39
38
|
* <note>
|
|
40
39
|
* <p>Although AWS Single Sign-On was renamed, the <code>sso</code> and
|
|
41
40
|
* <code>identitystore</code> API namespaces will continue to retain their original name for
|
|
42
41
|
* backward compatibility purposes. For more information, see <a href="https://docs.aws.amazon.com/singlesignon/latest/userguide/what-is.html#renamed">IAM Identity Center rename</a>.</p>
|
|
43
42
|
* </note>
|
|
44
|
-
*
|
|
45
43
|
* <p>This reference guide describes the IAM Identity Center Portal operations that you can call
|
|
46
44
|
* programatically and includes detailed information on data types and errors.</p>
|
|
47
|
-
*
|
|
48
45
|
* <note>
|
|
49
46
|
* <p>AWS provides SDKs that consist of libraries and sample code for various programming
|
|
50
47
|
* languages and platforms, such as Java, Ruby, .Net, iOS, or Android. The SDKs provide a
|
|
@@ -150,16 +150,13 @@ export interface SSOClientResolvedConfig extends SSOClientResolvedConfigType {
|
|
|
150
150
|
* <p>AWS IAM Identity Center (successor to AWS Single Sign-On) Portal is a web service that makes it easy for you to assign user access to
|
|
151
151
|
* IAM Identity Center resources such as the AWS access portal. Users can get AWS account applications and roles
|
|
152
152
|
* assigned to them and get federated into the application.</p>
|
|
153
|
-
*
|
|
154
153
|
* <note>
|
|
155
154
|
* <p>Although AWS Single Sign-On was renamed, the <code>sso</code> and
|
|
156
155
|
* <code>identitystore</code> API namespaces will continue to retain their original name for
|
|
157
156
|
* backward compatibility purposes. For more information, see <a href="https://docs.aws.amazon.com/singlesignon/latest/userguide/what-is.html#renamed">IAM Identity Center rename</a>.</p>
|
|
158
157
|
* </note>
|
|
159
|
-
*
|
|
160
158
|
* <p>This reference guide describes the IAM Identity Center Portal operations that you can call
|
|
161
159
|
* programatically and includes detailed information on data types and errors.</p>
|
|
162
|
-
*
|
|
163
160
|
* <note>
|
|
164
161
|
* <p>AWS provides SDKs that consist of libraries and sample code for various programming
|
|
165
162
|
* languages and platforms, such as Java, Ruby, .Net, iOS, or Android. The SDKs provide a
|
|
@@ -26,13 +26,11 @@ export interface LogoutCommandOutput extends __MetadataBearer {
|
|
|
26
26
|
* <p>Removes the locally stored SSO tokens from the client-side cache and sends an API call to
|
|
27
27
|
* the IAM Identity Center service to invalidate the corresponding server-side IAM Identity Center sign in
|
|
28
28
|
* session.</p>
|
|
29
|
-
*
|
|
30
29
|
* <note>
|
|
31
30
|
* <p>If a user uses IAM Identity Center to access the AWS CLI, the user’s IAM Identity Center sign in session is
|
|
32
31
|
* used to obtain an IAM session, as specified in the corresponding IAM Identity Center permission set.
|
|
33
32
|
* More specifically, IAM Identity Center assumes an IAM role in the target account on behalf of the user,
|
|
34
33
|
* and the corresponding temporary AWS credentials are returned to the client.</p>
|
|
35
|
-
*
|
|
36
34
|
* <p>After user logout, any existing IAM role sessions that were created by using IAM Identity Center
|
|
37
35
|
* permission sets continue based on the duration configured in the permission set.
|
|
38
36
|
* For more information, see <a href="https://docs.aws.amazon.com/singlesignon/latest/userguide/authconcept.html">User
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
1
2
|
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
2
3
|
/**
|
|
3
4
|
* @internal
|
|
4
5
|
*/
|
|
5
|
-
export interface SSOExtensionConfiguration extends DefaultExtensionConfiguration {
|
|
6
|
+
export interface SSOExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration {
|
|
6
7
|
}
|
package/dist-types/index.d.ts
CHANGED
|
@@ -2,16 +2,13 @@
|
|
|
2
2
|
* <p>AWS IAM Identity Center (successor to AWS Single Sign-On) Portal is a web service that makes it easy for you to assign user access to
|
|
3
3
|
* IAM Identity Center resources such as the AWS access portal. Users can get AWS account applications and roles
|
|
4
4
|
* assigned to them and get federated into the application.</p>
|
|
5
|
-
*
|
|
6
5
|
* <note>
|
|
7
6
|
* <p>Although AWS Single Sign-On was renamed, the <code>sso</code> and
|
|
8
7
|
* <code>identitystore</code> API namespaces will continue to retain their original name for
|
|
9
8
|
* backward compatibility purposes. For more information, see <a href="https://docs.aws.amazon.com/singlesignon/latest/userguide/what-is.html#renamed">IAM Identity Center rename</a>.</p>
|
|
10
9
|
* </note>
|
|
11
|
-
*
|
|
12
10
|
* <p>This reference guide describes the IAM Identity Center Portal operations that you can call
|
|
13
11
|
* programatically and includes detailed information on data types and errors.</p>
|
|
14
|
-
*
|
|
15
12
|
* <note>
|
|
16
13
|
* <p>AWS provides SDKs that consist of libraries and sample code for various programming
|
|
17
14
|
* languages and platforms, such as Java, Ruby, .Net, iOS, or Android. The SDKs provide a
|
|
@@ -10,7 +10,10 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
|
|
|
10
10
|
defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
|
|
11
11
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
12
12
|
region: string | import("@smithy/types").Provider<any>;
|
|
13
|
-
requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/protocol-http").
|
|
13
|
+
requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
|
|
14
|
+
updateHttpClientConfig(key: never, value: never): void;
|
|
15
|
+
httpHandlerConfigs(): {};
|
|
16
|
+
}) | RequestHandler;
|
|
14
17
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
15
18
|
sha256: import("@smithy/types").HashConstructor;
|
|
16
19
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -10,7 +10,10 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
|
|
|
10
10
|
defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
|
|
11
11
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
12
12
|
region: string | import("@smithy/types").Provider<string>;
|
|
13
|
-
requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/protocol-http").
|
|
13
|
+
requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
|
|
14
|
+
updateHttpClientConfig(key: never, value: never): void;
|
|
15
|
+
httpHandlerConfigs(): {};
|
|
16
|
+
}) | RequestHandler;
|
|
14
17
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
15
18
|
sha256: import("@smithy/types").HashConstructor;
|
|
16
19
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -5,7 +5,10 @@ import { SSOClientConfig } from "./SSOClient";
|
|
|
5
5
|
export declare const getRuntimeConfig: (config: SSOClientConfig) => {
|
|
6
6
|
runtime: string;
|
|
7
7
|
sha256: import("@smithy/types").HashConstructor;
|
|
8
|
-
requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/protocol-http").
|
|
8
|
+
requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
|
|
9
|
+
updateHttpClientConfig(key: never, value: never): void;
|
|
10
|
+
httpHandlerConfigs(): {};
|
|
11
|
+
}) | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
9
12
|
apiVersion: string;
|
|
10
13
|
urlParser: import("@smithy/types").UrlParser;
|
|
11
14
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
@@ -3,7 +3,7 @@ import { SSOExtensionConfiguration } from "./extensionConfiguration";
|
|
|
3
3
|
* @public
|
|
4
4
|
*/
|
|
5
5
|
export interface RuntimeExtension {
|
|
6
|
-
configure(
|
|
6
|
+
configure(extensionConfiguration: SSOExtensionConfiguration): void;
|
|
7
7
|
}
|
|
8
8
|
/**
|
|
9
9
|
* @public
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
1
2
|
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
2
3
|
export interface SSOExtensionConfiguration
|
|
3
|
-
extends
|
|
4
|
+
extends HttpHandlerExtensionConfiguration,
|
|
5
|
+
DefaultExtensionConfiguration {}
|
|
@@ -17,7 +17,14 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
|
|
|
17
17
|
any,
|
|
18
18
|
import("@smithy/types").HttpHandlerOptions
|
|
19
19
|
> &
|
|
20
|
-
import("@smithy/
|
|
20
|
+
import("@smithy/types").RequestHandler<
|
|
21
|
+
import("@smithy/protocol-http").HttpRequest,
|
|
22
|
+
import("@smithy/protocol-http").HttpResponse,
|
|
23
|
+
import("@smithy/types").HttpHandlerOptions
|
|
24
|
+
> & {
|
|
25
|
+
updateHttpClientConfig(key: never, value: never): void;
|
|
26
|
+
httpHandlerConfigs(): {};
|
|
27
|
+
})
|
|
21
28
|
| RequestHandler;
|
|
22
29
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
23
30
|
sha256: import("@smithy/types").HashConstructor;
|
|
@@ -17,7 +17,14 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
|
|
|
17
17
|
any,
|
|
18
18
|
import("@smithy/types").HttpHandlerOptions
|
|
19
19
|
> &
|
|
20
|
-
import("@smithy/
|
|
20
|
+
import("@smithy/types").RequestHandler<
|
|
21
|
+
import("@smithy/protocol-http").HttpRequest,
|
|
22
|
+
import("@smithy/protocol-http").HttpResponse,
|
|
23
|
+
import("@smithy/types").HttpHandlerOptions
|
|
24
|
+
> & {
|
|
25
|
+
updateHttpClientConfig(key: never, value: never): void;
|
|
26
|
+
httpHandlerConfigs(): {};
|
|
27
|
+
})
|
|
21
28
|
| RequestHandler;
|
|
22
29
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
23
30
|
sha256: import("@smithy/types").HashConstructor;
|
|
@@ -8,7 +8,14 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
|
|
|
8
8
|
any,
|
|
9
9
|
import("@smithy/types").HttpHandlerOptions
|
|
10
10
|
> &
|
|
11
|
-
import("@smithy/
|
|
11
|
+
import("@smithy/types").RequestHandler<
|
|
12
|
+
import("@smithy/protocol-http").HttpRequest,
|
|
13
|
+
import("@smithy/protocol-http").HttpResponse,
|
|
14
|
+
import("@smithy/types").HttpHandlerOptions
|
|
15
|
+
> & {
|
|
16
|
+
updateHttpClientConfig(key: never, value: never): void;
|
|
17
|
+
httpHandlerConfigs(): {};
|
|
18
|
+
})
|
|
12
19
|
| import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
13
20
|
apiVersion: string;
|
|
14
21
|
urlParser: import("@smithy/types").UrlParser;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SSOExtensionConfiguration } from "./extensionConfiguration";
|
|
2
2
|
export interface RuntimeExtension {
|
|
3
|
-
configure(
|
|
3
|
+
configure(extensionConfiguration: SSOExtensionConfiguration): void;
|
|
4
4
|
}
|
|
5
5
|
export interface RuntimeExtensionsConfig {
|
|
6
6
|
extensions: RuntimeExtension[];
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sso",
|
|
3
3
|
"description": "AWS SDK for JavaScript Sso Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.410.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,34 +21,34 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
25
|
-
"@aws-sdk/middleware-logger": "3.
|
|
26
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
27
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
-
"@aws-sdk/types": "3.
|
|
29
|
-
"@aws-sdk/util-endpoints": "3.
|
|
30
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
31
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
32
|
-
"@smithy/config-resolver": "^2.0.
|
|
33
|
-
"@smithy/fetch-http-handler": "^2.
|
|
34
|
-
"@smithy/hash-node": "^2.0.
|
|
35
|
-
"@smithy/invalid-dependency": "^2.0.
|
|
36
|
-
"@smithy/middleware-content-length": "^2.0.
|
|
37
|
-
"@smithy/middleware-endpoint": "^2.0.
|
|
38
|
-
"@smithy/middleware-retry": "^2.0.
|
|
39
|
-
"@smithy/middleware-serde": "^2.0.
|
|
24
|
+
"@aws-sdk/middleware-host-header": "3.410.0",
|
|
25
|
+
"@aws-sdk/middleware-logger": "3.410.0",
|
|
26
|
+
"@aws-sdk/middleware-recursion-detection": "3.410.0",
|
|
27
|
+
"@aws-sdk/middleware-user-agent": "3.410.0",
|
|
28
|
+
"@aws-sdk/types": "3.410.0",
|
|
29
|
+
"@aws-sdk/util-endpoints": "3.410.0",
|
|
30
|
+
"@aws-sdk/util-user-agent-browser": "3.410.0",
|
|
31
|
+
"@aws-sdk/util-user-agent-node": "3.410.0",
|
|
32
|
+
"@smithy/config-resolver": "^2.0.7",
|
|
33
|
+
"@smithy/fetch-http-handler": "^2.1.2",
|
|
34
|
+
"@smithy/hash-node": "^2.0.6",
|
|
35
|
+
"@smithy/invalid-dependency": "^2.0.6",
|
|
36
|
+
"@smithy/middleware-content-length": "^2.0.8",
|
|
37
|
+
"@smithy/middleware-endpoint": "^2.0.6",
|
|
38
|
+
"@smithy/middleware-retry": "^2.0.9",
|
|
39
|
+
"@smithy/middleware-serde": "^2.0.6",
|
|
40
40
|
"@smithy/middleware-stack": "^2.0.0",
|
|
41
|
-
"@smithy/node-config-provider": "^2.0.
|
|
42
|
-
"@smithy/node-http-handler": "^2.
|
|
43
|
-
"@smithy/protocol-http": "^
|
|
44
|
-
"@smithy/smithy-client": "^2.
|
|
45
|
-
"@smithy/types": "^2.
|
|
46
|
-
"@smithy/url-parser": "^2.0.
|
|
41
|
+
"@smithy/node-config-provider": "^2.0.9",
|
|
42
|
+
"@smithy/node-http-handler": "^2.1.2",
|
|
43
|
+
"@smithy/protocol-http": "^3.0.2",
|
|
44
|
+
"@smithy/smithy-client": "^2.1.3",
|
|
45
|
+
"@smithy/types": "^2.3.0",
|
|
46
|
+
"@smithy/url-parser": "^2.0.6",
|
|
47
47
|
"@smithy/util-base64": "^2.0.0",
|
|
48
48
|
"@smithy/util-body-length-browser": "^2.0.0",
|
|
49
49
|
"@smithy/util-body-length-node": "^2.1.0",
|
|
50
|
-
"@smithy/util-defaults-mode-browser": "^2.0.
|
|
51
|
-
"@smithy/util-defaults-mode-node": "^2.0.
|
|
50
|
+
"@smithy/util-defaults-mode-browser": "^2.0.7",
|
|
51
|
+
"@smithy/util-defaults-mode-node": "^2.0.9",
|
|
52
52
|
"@smithy/util-retry": "^2.0.0",
|
|
53
53
|
"@smithy/util-utf8": "^2.0.0",
|
|
54
54
|
"tslib": "^2.5.0"
|