@aws-sdk/client-sso 3.36.1 → 3.40.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/CHANGELOG.md CHANGED
@@ -3,6 +3,48 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.40.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.39.0...v3.40.0) (2021-11-05)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** populate variants in endpoints hashes ([#2974](https://github.com/aws/aws-sdk-js-v3/issues/2974)) ([0dd68ef](https://github.com/aws/aws-sdk-js-v3/commit/0dd68ef8b04ea0e96e43b05a9a10221e433fdf86))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.39.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.38.0...v3.39.0) (2021-10-29)
18
+
19
+ **Note:** Version bump only for package @aws-sdk/client-sso
20
+
21
+
22
+
23
+
24
+
25
+ # [3.38.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.37.0...v3.38.0) (2021-10-22)
26
+
27
+
28
+ ### Features
29
+
30
+ * **client-documentation-generator:** rename package ([#2916](https://github.com/aws/aws-sdk-js-v3/issues/2916)) ([1a80bfd](https://github.com/aws/aws-sdk-js-v3/commit/1a80bfd2dfc583001ddb4a21b6432eaaad699aa7))
31
+ * **clients:** export folder from index.ts ([#2912](https://github.com/aws/aws-sdk-js-v3/issues/2912)) ([183b46d](https://github.com/aws/aws-sdk-js-v3/commit/183b46dde7f5613128038bf1c076f3c0b693203b))
32
+
33
+
34
+
35
+
36
+
37
+ # [3.37.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.1...v3.37.0) (2021-10-15)
38
+
39
+
40
+ ### Features
41
+
42
+ * **clients:** update clients as of 10/15/2021 ([#2902](https://github.com/aws/aws-sdk-js-v3/issues/2902)) ([2730b54](https://github.com/aws/aws-sdk-js-v3/commit/2730b5424377944a5a2ad5e1ad7d3ca4135dae1c))
43
+
44
+
45
+
46
+
47
+
6
48
  ## [3.36.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.0...v3.36.1) (2021-10-12)
7
49
 
8
50
 
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./GetRoleCredentialsCommand"), exports);
5
+ tslib_1.__exportStar(require("./ListAccountRolesCommand"), exports);
6
+ tslib_1.__exportStar(require("./ListAccountsCommand"), exports);
7
+ tslib_1.__exportStar(require("./LogoutCommand"), exports);
@@ -3,40 +3,148 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.defaultRegionInfoProvider = void 0;
4
4
  const config_resolver_1 = require("@aws-sdk/config-resolver");
5
5
  const regionHash = {
6
+ "ap-northeast-1": {
7
+ variants: [
8
+ {
9
+ hostname: "portal.sso.ap-northeast-1.amazonaws.com",
10
+ tags: [],
11
+ },
12
+ ],
13
+ signingRegion: "ap-northeast-1",
14
+ },
15
+ "ap-northeast-2": {
16
+ variants: [
17
+ {
18
+ hostname: "portal.sso.ap-northeast-2.amazonaws.com",
19
+ tags: [],
20
+ },
21
+ ],
22
+ signingRegion: "ap-northeast-2",
23
+ },
24
+ "ap-south-1": {
25
+ variants: [
26
+ {
27
+ hostname: "portal.sso.ap-south-1.amazonaws.com",
28
+ tags: [],
29
+ },
30
+ ],
31
+ signingRegion: "ap-south-1",
32
+ },
6
33
  "ap-southeast-1": {
7
- hostname: "portal.sso.ap-southeast-1.amazonaws.com",
34
+ variants: [
35
+ {
36
+ hostname: "portal.sso.ap-southeast-1.amazonaws.com",
37
+ tags: [],
38
+ },
39
+ ],
8
40
  signingRegion: "ap-southeast-1",
9
41
  },
10
42
  "ap-southeast-2": {
11
- hostname: "portal.sso.ap-southeast-2.amazonaws.com",
43
+ variants: [
44
+ {
45
+ hostname: "portal.sso.ap-southeast-2.amazonaws.com",
46
+ tags: [],
47
+ },
48
+ ],
12
49
  signingRegion: "ap-southeast-2",
13
50
  },
14
51
  "ca-central-1": {
15
- hostname: "portal.sso.ca-central-1.amazonaws.com",
52
+ variants: [
53
+ {
54
+ hostname: "portal.sso.ca-central-1.amazonaws.com",
55
+ tags: [],
56
+ },
57
+ ],
16
58
  signingRegion: "ca-central-1",
17
59
  },
18
60
  "eu-central-1": {
19
- hostname: "portal.sso.eu-central-1.amazonaws.com",
61
+ variants: [
62
+ {
63
+ hostname: "portal.sso.eu-central-1.amazonaws.com",
64
+ tags: [],
65
+ },
66
+ ],
20
67
  signingRegion: "eu-central-1",
21
68
  },
69
+ "eu-north-1": {
70
+ variants: [
71
+ {
72
+ hostname: "portal.sso.eu-north-1.amazonaws.com",
73
+ tags: [],
74
+ },
75
+ ],
76
+ signingRegion: "eu-north-1",
77
+ },
22
78
  "eu-west-1": {
23
- hostname: "portal.sso.eu-west-1.amazonaws.com",
79
+ variants: [
80
+ {
81
+ hostname: "portal.sso.eu-west-1.amazonaws.com",
82
+ tags: [],
83
+ },
84
+ ],
24
85
  signingRegion: "eu-west-1",
25
86
  },
26
87
  "eu-west-2": {
27
- hostname: "portal.sso.eu-west-2.amazonaws.com",
88
+ variants: [
89
+ {
90
+ hostname: "portal.sso.eu-west-2.amazonaws.com",
91
+ tags: [],
92
+ },
93
+ ],
28
94
  signingRegion: "eu-west-2",
29
95
  },
96
+ "eu-west-3": {
97
+ variants: [
98
+ {
99
+ hostname: "portal.sso.eu-west-3.amazonaws.com",
100
+ tags: [],
101
+ },
102
+ ],
103
+ signingRegion: "eu-west-3",
104
+ },
105
+ "sa-east-1": {
106
+ variants: [
107
+ {
108
+ hostname: "portal.sso.sa-east-1.amazonaws.com",
109
+ tags: [],
110
+ },
111
+ ],
112
+ signingRegion: "sa-east-1",
113
+ },
30
114
  "us-east-1": {
31
- hostname: "portal.sso.us-east-1.amazonaws.com",
115
+ variants: [
116
+ {
117
+ hostname: "portal.sso.us-east-1.amazonaws.com",
118
+ tags: [],
119
+ },
120
+ ],
32
121
  signingRegion: "us-east-1",
33
122
  },
34
123
  "us-east-2": {
35
- hostname: "portal.sso.us-east-2.amazonaws.com",
124
+ variants: [
125
+ {
126
+ hostname: "portal.sso.us-east-2.amazonaws.com",
127
+ tags: [],
128
+ },
129
+ ],
36
130
  signingRegion: "us-east-2",
37
131
  },
132
+ "us-gov-west-1": {
133
+ variants: [
134
+ {
135
+ hostname: "portal.sso.us-gov-west-1.amazonaws.com",
136
+ tags: [],
137
+ },
138
+ ],
139
+ signingRegion: "us-gov-west-1",
140
+ },
38
141
  "us-west-2": {
39
- hostname: "portal.sso.us-west-2.amazonaws.com",
142
+ variants: [
143
+ {
144
+ hostname: "portal.sso.us-west-2.amazonaws.com",
145
+ tags: [],
146
+ },
147
+ ],
40
148
  signingRegion: "us-west-2",
41
149
  },
42
150
  };
@@ -65,23 +173,89 @@ const partitionHash = {
65
173
  "us-west-1",
66
174
  "us-west-2",
67
175
  ],
68
- hostname: "portal.sso.{region}.amazonaws.com",
176
+ regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
177
+ variants: [
178
+ {
179
+ hostname: "portal.sso.{region}.amazonaws.com",
180
+ tags: [],
181
+ },
182
+ {
183
+ hostname: "portal.sso-fips.{region}.amazonaws.com",
184
+ tags: ["fips"],
185
+ },
186
+ {
187
+ hostname: "portal.sso-fips.{region}.api.aws",
188
+ tags: ["dualstack", "fips"],
189
+ },
190
+ {
191
+ hostname: "portal.sso.{region}.api.aws",
192
+ tags: ["dualstack"],
193
+ },
194
+ ],
69
195
  },
70
196
  "aws-cn": {
71
197
  regions: ["cn-north-1", "cn-northwest-1"],
72
- hostname: "portal.sso.{region}.amazonaws.com.cn",
198
+ regionRegex: "^cn\\-\\w+\\-\\d+$",
199
+ variants: [
200
+ {
201
+ hostname: "portal.sso.{region}.amazonaws.com.cn",
202
+ tags: [],
203
+ },
204
+ {
205
+ hostname: "portal.sso-fips.{region}.amazonaws.com.cn",
206
+ tags: ["fips"],
207
+ },
208
+ {
209
+ hostname: "portal.sso-fips.{region}.api.amazonwebservices.com.cn",
210
+ tags: ["dualstack", "fips"],
211
+ },
212
+ {
213
+ hostname: "portal.sso.{region}.api.amazonwebservices.com.cn",
214
+ tags: ["dualstack"],
215
+ },
216
+ ],
73
217
  },
74
218
  "aws-iso": {
75
- regions: ["us-iso-east-1"],
76
- hostname: "portal.sso.{region}.c2s.ic.gov",
219
+ regions: ["us-iso-east-1", "us-iso-west-1"],
220
+ regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
221
+ variants: [
222
+ {
223
+ hostname: "portal.sso.{region}.c2s.ic.gov",
224
+ tags: [],
225
+ },
226
+ ],
77
227
  },
78
228
  "aws-iso-b": {
79
229
  regions: ["us-isob-east-1"],
80
- hostname: "portal.sso.{region}.sc2s.sgov.gov",
230
+ regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
231
+ variants: [
232
+ {
233
+ hostname: "portal.sso.{region}.sc2s.sgov.gov",
234
+ tags: [],
235
+ },
236
+ ],
81
237
  },
82
238
  "aws-us-gov": {
83
239
  regions: ["us-gov-east-1", "us-gov-west-1"],
84
- hostname: "portal.sso.{region}.amazonaws.com",
240
+ regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
241
+ variants: [
242
+ {
243
+ hostname: "portal.sso.{region}.amazonaws.com",
244
+ tags: [],
245
+ },
246
+ {
247
+ hostname: "portal.sso-fips.{region}.amazonaws.com",
248
+ tags: ["fips"],
249
+ },
250
+ {
251
+ hostname: "portal.sso-fips.{region}.api.aws",
252
+ tags: ["dualstack", "fips"],
253
+ },
254
+ {
255
+ hostname: "portal.sso.{region}.api.aws",
256
+ tags: ["dualstack"],
257
+ },
258
+ ],
85
259
  },
86
260
  };
87
261
  const defaultRegionInfoProvider = async (region, options) => config_resolver_1.getRegionInfo(region, {
package/dist-cjs/index.js CHANGED
@@ -1,13 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./SSOClient"), exports);
5
4
  tslib_1.__exportStar(require("./SSO"), exports);
6
- tslib_1.__exportStar(require("./commands/GetRoleCredentialsCommand"), exports);
7
- tslib_1.__exportStar(require("./commands/ListAccountRolesCommand"), exports);
8
- tslib_1.__exportStar(require("./pagination/ListAccountRolesPaginator"), exports);
9
- tslib_1.__exportStar(require("./commands/ListAccountsCommand"), exports);
10
- tslib_1.__exportStar(require("./pagination/ListAccountsPaginator"), exports);
11
- tslib_1.__exportStar(require("./commands/LogoutCommand"), exports);
12
- tslib_1.__exportStar(require("./pagination/Interfaces"), exports);
13
- tslib_1.__exportStar(require("./models/index"), exports);
5
+ tslib_1.__exportStar(require("./SSOClient"), exports);
6
+ tslib_1.__exportStar(require("./commands"), exports);
7
+ tslib_1.__exportStar(require("./models"), exports);
8
+ tslib_1.__exportStar(require("./pagination"), exports);
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./Interfaces"), exports);
5
+ tslib_1.__exportStar(require("./ListAccountRolesPaginator"), exports);
6
+ tslib_1.__exportStar(require("./ListAccountsPaginator"), exports);
@@ -4,6 +4,7 @@ exports.getRuntimeConfig = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const package_json_1 = tslib_1.__importDefault(require("../package.json"));
6
6
  const sha256_browser_1 = require("@aws-crypto/sha256-browser");
7
+ const config_resolver_1 = require("@aws-sdk/config-resolver");
7
8
  const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
8
9
  const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
9
10
  const middleware_retry_1 = require("@aws-sdk/middleware-retry");
@@ -13,7 +14,7 @@ const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
13
14
  const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
14
15
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
15
16
  const getRuntimeConfig = (config) => {
16
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
17
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
17
18
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
18
19
  return {
19
20
  ...clientSharedValues,
@@ -29,8 +30,10 @@ const getRuntimeConfig = (config) => {
29
30
  retryMode: (_h = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _h !== void 0 ? _h : (() => Promise.resolve(middleware_retry_1.DEFAULT_RETRY_MODE)),
30
31
  sha256: (_j = config === null || config === void 0 ? void 0 : config.sha256) !== null && _j !== void 0 ? _j : sha256_browser_1.Sha256,
31
32
  streamCollector: (_k = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _k !== void 0 ? _k : fetch_http_handler_1.streamCollector,
32
- utf8Decoder: (_l = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _l !== void 0 ? _l : util_utf8_browser_1.fromUtf8,
33
- utf8Encoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _m !== void 0 ? _m : util_utf8_browser_1.toUtf8,
33
+ useDualstackEndpoint: (_l = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _l !== void 0 ? _l : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
34
+ useFipsEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _m !== void 0 ? _m : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_FIPS_ENDPOINT)),
35
+ utf8Decoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _o !== void 0 ? _o : util_utf8_browser_1.fromUtf8,
36
+ utf8Encoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _p !== void 0 ? _p : util_utf8_browser_1.toUtf8,
34
37
  };
35
38
  };
36
39
  exports.getRuntimeConfig = getRuntimeConfig;
@@ -15,7 +15,7 @@ const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
15
15
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
16
16
  const smithy_client_1 = require("@aws-sdk/smithy-client");
17
17
  const getRuntimeConfig = (config) => {
18
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
18
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
19
19
  smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
20
20
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
21
21
  return {
@@ -32,8 +32,10 @@ const getRuntimeConfig = (config) => {
32
32
  retryMode: (_h = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _h !== void 0 ? _h : node_config_provider_1.loadConfig(middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS),
33
33
  sha256: (_j = config === null || config === void 0 ? void 0 : config.sha256) !== null && _j !== void 0 ? _j : hash_node_1.Hash.bind(null, "sha256"),
34
34
  streamCollector: (_k = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _k !== void 0 ? _k : node_http_handler_1.streamCollector,
35
- utf8Decoder: (_l = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _l !== void 0 ? _l : util_utf8_node_1.fromUtf8,
36
- utf8Encoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _m !== void 0 ? _m : util_utf8_node_1.toUtf8,
35
+ useDualstackEndpoint: (_l = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _l !== void 0 ? _l : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
36
+ useFipsEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _m !== void 0 ? _m : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
37
+ utf8Decoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _o !== void 0 ? _o : util_utf8_node_1.fromUtf8,
38
+ utf8Encoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _p !== void 0 ? _p : util_utf8_node_1.toUtf8,
37
39
  };
38
40
  };
39
41
  exports.getRuntimeConfig = getRuntimeConfig;
@@ -0,0 +1,4 @@
1
+ export * from "./GetRoleCredentialsCommand";
2
+ export * from "./ListAccountRolesCommand";
3
+ export * from "./ListAccountsCommand";
4
+ export * from "./LogoutCommand";
@@ -1,40 +1,148 @@
1
1
  import { __assign, __awaiter, __generator } from "tslib";
2
2
  import { getRegionInfo } from "@aws-sdk/config-resolver";
3
3
  var regionHash = {
4
+ "ap-northeast-1": {
5
+ variants: [
6
+ {
7
+ hostname: "portal.sso.ap-northeast-1.amazonaws.com",
8
+ tags: [],
9
+ },
10
+ ],
11
+ signingRegion: "ap-northeast-1",
12
+ },
13
+ "ap-northeast-2": {
14
+ variants: [
15
+ {
16
+ hostname: "portal.sso.ap-northeast-2.amazonaws.com",
17
+ tags: [],
18
+ },
19
+ ],
20
+ signingRegion: "ap-northeast-2",
21
+ },
22
+ "ap-south-1": {
23
+ variants: [
24
+ {
25
+ hostname: "portal.sso.ap-south-1.amazonaws.com",
26
+ tags: [],
27
+ },
28
+ ],
29
+ signingRegion: "ap-south-1",
30
+ },
4
31
  "ap-southeast-1": {
5
- hostname: "portal.sso.ap-southeast-1.amazonaws.com",
32
+ variants: [
33
+ {
34
+ hostname: "portal.sso.ap-southeast-1.amazonaws.com",
35
+ tags: [],
36
+ },
37
+ ],
6
38
  signingRegion: "ap-southeast-1",
7
39
  },
8
40
  "ap-southeast-2": {
9
- hostname: "portal.sso.ap-southeast-2.amazonaws.com",
41
+ variants: [
42
+ {
43
+ hostname: "portal.sso.ap-southeast-2.amazonaws.com",
44
+ tags: [],
45
+ },
46
+ ],
10
47
  signingRegion: "ap-southeast-2",
11
48
  },
12
49
  "ca-central-1": {
13
- hostname: "portal.sso.ca-central-1.amazonaws.com",
50
+ variants: [
51
+ {
52
+ hostname: "portal.sso.ca-central-1.amazonaws.com",
53
+ tags: [],
54
+ },
55
+ ],
14
56
  signingRegion: "ca-central-1",
15
57
  },
16
58
  "eu-central-1": {
17
- hostname: "portal.sso.eu-central-1.amazonaws.com",
59
+ variants: [
60
+ {
61
+ hostname: "portal.sso.eu-central-1.amazonaws.com",
62
+ tags: [],
63
+ },
64
+ ],
18
65
  signingRegion: "eu-central-1",
19
66
  },
67
+ "eu-north-1": {
68
+ variants: [
69
+ {
70
+ hostname: "portal.sso.eu-north-1.amazonaws.com",
71
+ tags: [],
72
+ },
73
+ ],
74
+ signingRegion: "eu-north-1",
75
+ },
20
76
  "eu-west-1": {
21
- hostname: "portal.sso.eu-west-1.amazonaws.com",
77
+ variants: [
78
+ {
79
+ hostname: "portal.sso.eu-west-1.amazonaws.com",
80
+ tags: [],
81
+ },
82
+ ],
22
83
  signingRegion: "eu-west-1",
23
84
  },
24
85
  "eu-west-2": {
25
- hostname: "portal.sso.eu-west-2.amazonaws.com",
86
+ variants: [
87
+ {
88
+ hostname: "portal.sso.eu-west-2.amazonaws.com",
89
+ tags: [],
90
+ },
91
+ ],
26
92
  signingRegion: "eu-west-2",
27
93
  },
94
+ "eu-west-3": {
95
+ variants: [
96
+ {
97
+ hostname: "portal.sso.eu-west-3.amazonaws.com",
98
+ tags: [],
99
+ },
100
+ ],
101
+ signingRegion: "eu-west-3",
102
+ },
103
+ "sa-east-1": {
104
+ variants: [
105
+ {
106
+ hostname: "portal.sso.sa-east-1.amazonaws.com",
107
+ tags: [],
108
+ },
109
+ ],
110
+ signingRegion: "sa-east-1",
111
+ },
28
112
  "us-east-1": {
29
- hostname: "portal.sso.us-east-1.amazonaws.com",
113
+ variants: [
114
+ {
115
+ hostname: "portal.sso.us-east-1.amazonaws.com",
116
+ tags: [],
117
+ },
118
+ ],
30
119
  signingRegion: "us-east-1",
31
120
  },
32
121
  "us-east-2": {
33
- hostname: "portal.sso.us-east-2.amazonaws.com",
122
+ variants: [
123
+ {
124
+ hostname: "portal.sso.us-east-2.amazonaws.com",
125
+ tags: [],
126
+ },
127
+ ],
34
128
  signingRegion: "us-east-2",
35
129
  },
130
+ "us-gov-west-1": {
131
+ variants: [
132
+ {
133
+ hostname: "portal.sso.us-gov-west-1.amazonaws.com",
134
+ tags: [],
135
+ },
136
+ ],
137
+ signingRegion: "us-gov-west-1",
138
+ },
36
139
  "us-west-2": {
37
- hostname: "portal.sso.us-west-2.amazonaws.com",
140
+ variants: [
141
+ {
142
+ hostname: "portal.sso.us-west-2.amazonaws.com",
143
+ tags: [],
144
+ },
145
+ ],
38
146
  signingRegion: "us-west-2",
39
147
  },
40
148
  };
@@ -63,23 +171,89 @@ var partitionHash = {
63
171
  "us-west-1",
64
172
  "us-west-2",
65
173
  ],
66
- hostname: "portal.sso.{region}.amazonaws.com",
174
+ regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
175
+ variants: [
176
+ {
177
+ hostname: "portal.sso.{region}.amazonaws.com",
178
+ tags: [],
179
+ },
180
+ {
181
+ hostname: "portal.sso-fips.{region}.amazonaws.com",
182
+ tags: ["fips"],
183
+ },
184
+ {
185
+ hostname: "portal.sso-fips.{region}.api.aws",
186
+ tags: ["dualstack", "fips"],
187
+ },
188
+ {
189
+ hostname: "portal.sso.{region}.api.aws",
190
+ tags: ["dualstack"],
191
+ },
192
+ ],
67
193
  },
68
194
  "aws-cn": {
69
195
  regions: ["cn-north-1", "cn-northwest-1"],
70
- hostname: "portal.sso.{region}.amazonaws.com.cn",
196
+ regionRegex: "^cn\\-\\w+\\-\\d+$",
197
+ variants: [
198
+ {
199
+ hostname: "portal.sso.{region}.amazonaws.com.cn",
200
+ tags: [],
201
+ },
202
+ {
203
+ hostname: "portal.sso-fips.{region}.amazonaws.com.cn",
204
+ tags: ["fips"],
205
+ },
206
+ {
207
+ hostname: "portal.sso-fips.{region}.api.amazonwebservices.com.cn",
208
+ tags: ["dualstack", "fips"],
209
+ },
210
+ {
211
+ hostname: "portal.sso.{region}.api.amazonwebservices.com.cn",
212
+ tags: ["dualstack"],
213
+ },
214
+ ],
71
215
  },
72
216
  "aws-iso": {
73
- regions: ["us-iso-east-1"],
74
- hostname: "portal.sso.{region}.c2s.ic.gov",
217
+ regions: ["us-iso-east-1", "us-iso-west-1"],
218
+ regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
219
+ variants: [
220
+ {
221
+ hostname: "portal.sso.{region}.c2s.ic.gov",
222
+ tags: [],
223
+ },
224
+ ],
75
225
  },
76
226
  "aws-iso-b": {
77
227
  regions: ["us-isob-east-1"],
78
- hostname: "portal.sso.{region}.sc2s.sgov.gov",
228
+ regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
229
+ variants: [
230
+ {
231
+ hostname: "portal.sso.{region}.sc2s.sgov.gov",
232
+ tags: [],
233
+ },
234
+ ],
79
235
  },
80
236
  "aws-us-gov": {
81
237
  regions: ["us-gov-east-1", "us-gov-west-1"],
82
- hostname: "portal.sso.{region}.amazonaws.com",
238
+ regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
239
+ variants: [
240
+ {
241
+ hostname: "portal.sso.{region}.amazonaws.com",
242
+ tags: [],
243
+ },
244
+ {
245
+ hostname: "portal.sso-fips.{region}.amazonaws.com",
246
+ tags: ["fips"],
247
+ },
248
+ {
249
+ hostname: "portal.sso-fips.{region}.api.aws",
250
+ tags: ["dualstack", "fips"],
251
+ },
252
+ {
253
+ hostname: "portal.sso.{region}.api.aws",
254
+ tags: ["dualstack"],
255
+ },
256
+ ],
83
257
  },
84
258
  };
85
259
  export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
package/dist-es/index.js CHANGED
@@ -1,10 +1,5 @@
1
- export * from "./SSOClient";
2
1
  export * from "./SSO";
3
- export * from "./commands/GetRoleCredentialsCommand";
4
- export * from "./commands/ListAccountRolesCommand";
5
- export * from "./pagination/ListAccountRolesPaginator";
6
- export * from "./commands/ListAccountsCommand";
7
- export * from "./pagination/ListAccountsPaginator";
8
- export * from "./commands/LogoutCommand";
9
- export * from "./pagination/Interfaces";
10
- export * from "./models/index";
2
+ export * from "./SSOClient";
3
+ export * from "./commands";
4
+ export * from "./models";
5
+ export * from "./pagination";
@@ -0,0 +1,3 @@
1
+ export * from "./Interfaces";
2
+ export * from "./ListAccountRolesPaginator";
3
+ export * from "./ListAccountsPaginator";
@@ -1,6 +1,7 @@
1
1
  import { __assign } from "tslib";
2
2
  import packageInfo from "../package.json";
3
3
  import { Sha256 } from "@aws-crypto/sha256-browser";
4
+ import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
4
5
  import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
5
6
  import { invalidProvider } from "@aws-sdk/invalid-dependency";
6
7
  import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
@@ -10,7 +11,7 @@ import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
10
11
  import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
11
12
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
12
13
  export var getRuntimeConfig = function (config) {
13
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
14
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
14
15
  var clientSharedValues = getSharedRuntimeConfig(config);
15
- return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, defaultUserAgentProvider: (_d = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _d !== void 0 ? _d : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_e = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _e !== void 0 ? _e : DEFAULT_MAX_ATTEMPTS, region: (_f = config === null || config === void 0 ? void 0 : config.region) !== null && _f !== void 0 ? _f : invalidProvider("Region is missing"), requestHandler: (_g = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _g !== void 0 ? _g : new FetchHttpHandler(), retryMode: (_h = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _h !== void 0 ? _h : (function () { return Promise.resolve(DEFAULT_RETRY_MODE); }), sha256: (_j = config === null || config === void 0 ? void 0 : config.sha256) !== null && _j !== void 0 ? _j : Sha256, streamCollector: (_k = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _k !== void 0 ? _k : streamCollector, utf8Decoder: (_l = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _l !== void 0 ? _l : fromUtf8, utf8Encoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _m !== void 0 ? _m : toUtf8 });
16
+ return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, defaultUserAgentProvider: (_d = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _d !== void 0 ? _d : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_e = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _e !== void 0 ? _e : DEFAULT_MAX_ATTEMPTS, region: (_f = config === null || config === void 0 ? void 0 : config.region) !== null && _f !== void 0 ? _f : invalidProvider("Region is missing"), requestHandler: (_g = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _g !== void 0 ? _g : new FetchHttpHandler(), retryMode: (_h = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _h !== void 0 ? _h : (function () { return Promise.resolve(DEFAULT_RETRY_MODE); }), sha256: (_j = config === null || config === void 0 ? void 0 : config.sha256) !== null && _j !== void 0 ? _j : Sha256, streamCollector: (_k = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _k !== void 0 ? _k : streamCollector, useDualstackEndpoint: (_l = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _l !== void 0 ? _l : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _m !== void 0 ? _m : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), utf8Decoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _o !== void 0 ? _o : fromUtf8, utf8Encoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _p !== void 0 ? _p : toUtf8 });
16
17
  };
@@ -1,6 +1,6 @@
1
1
  import { __assign } from "tslib";
2
2
  import packageInfo from "../package.json";
3
- import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS } from "@aws-sdk/config-resolver";
3
+ import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
4
4
  import { Hash } from "@aws-sdk/hash-node";
5
5
  import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
6
6
  import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
@@ -12,8 +12,8 @@ import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
12
12
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
13
13
  import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
14
14
  export var getRuntimeConfig = function (config) {
15
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
15
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
16
16
  emitWarningIfUnsupportedVersion(process.version);
17
17
  var clientSharedValues = getSharedRuntimeConfig(config);
18
- return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, defaultUserAgentProvider: (_d = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _d !== void 0 ? _d : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_e = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _e !== void 0 ? _e : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_f = config === null || config === void 0 ? void 0 : config.region) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_g = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _g !== void 0 ? _g : new NodeHttpHandler(), retryMode: (_h = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _h !== void 0 ? _h : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_j = config === null || config === void 0 ? void 0 : config.sha256) !== null && _j !== void 0 ? _j : Hash.bind(null, "sha256"), streamCollector: (_k = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _k !== void 0 ? _k : streamCollector, utf8Decoder: (_l = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _l !== void 0 ? _l : fromUtf8, utf8Encoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _m !== void 0 ? _m : toUtf8 });
18
+ return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, defaultUserAgentProvider: (_d = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _d !== void 0 ? _d : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_e = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _e !== void 0 ? _e : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_f = config === null || config === void 0 ? void 0 : config.region) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_g = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _g !== void 0 ? _g : new NodeHttpHandler(), retryMode: (_h = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _h !== void 0 ? _h : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_j = config === null || config === void 0 ? void 0 : config.sha256) !== null && _j !== void 0 ? _j : Hash.bind(null, "sha256"), streamCollector: (_k = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _k !== void 0 ? _k : streamCollector, useDualstackEndpoint: (_l = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _l !== void 0 ? _l : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _o !== void 0 ? _o : fromUtf8, utf8Encoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _p !== void 0 ? _p : toUtf8 });
19
19
  };
@@ -79,6 +79,14 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
79
79
  * Optional logger for logging debug/info/warn/error.
80
80
  */
81
81
  logger?: __Logger;
82
+ /**
83
+ * Enables IPv6/IPv4 dualstack endpoint.
84
+ */
85
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
86
+ /**
87
+ * Enables FIPS compatible endpoints.
88
+ */
89
+ useFipsEndpoint?: boolean | __Provider<boolean>;
82
90
  /**
83
91
  * Unique service identifier.
84
92
  * @internal
@@ -0,0 +1,4 @@
1
+ export * from "./GetRoleCredentialsCommand";
2
+ export * from "./ListAccountRolesCommand";
3
+ export * from "./ListAccountsCommand";
4
+ export * from "./LogoutCommand";
@@ -1,10 +1,5 @@
1
- export * from "./SSOClient";
2
1
  export * from "./SSO";
3
- export * from "./commands/GetRoleCredentialsCommand";
4
- export * from "./commands/ListAccountRolesCommand";
5
- export * from "./pagination/ListAccountRolesPaginator";
6
- export * from "./commands/ListAccountsCommand";
7
- export * from "./pagination/ListAccountsPaginator";
8
- export * from "./commands/LogoutCommand";
9
- export * from "./pagination/Interfaces";
10
- export * from "./models/index";
2
+ export * from "./SSOClient";
3
+ export * from "./commands";
4
+ export * from "./models";
5
+ export * from "./pagination";
@@ -0,0 +1,3 @@
1
+ export * from "./Interfaces";
2
+ export * from "./ListAccountRolesPaginator";
3
+ export * from "./ListAccountsPaginator";
@@ -15,6 +15,8 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
15
15
  retryMode: string | import("@aws-sdk/types").Provider<string>;
16
16
  sha256: import("@aws-sdk/types").HashConstructor;
17
17
  streamCollector: import("@aws-sdk/types").StreamCollector;
18
+ useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
19
+ useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
18
20
  utf8Decoder: import("@aws-sdk/types").Decoder;
19
21
  utf8Encoder: import("@aws-sdk/types").Encoder;
20
22
  apiVersion: string;
@@ -15,6 +15,8 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
15
15
  retryMode: string | import("@aws-sdk/types").Provider<string>;
16
16
  sha256: import("@aws-sdk/types").HashConstructor;
17
17
  streamCollector: import("@aws-sdk/types").StreamCollector;
18
+ useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
19
+ useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
18
20
  utf8Decoder: import("@aws-sdk/types").Decoder;
19
21
  utf8Encoder: import("@aws-sdk/types").Encoder;
20
22
  apiVersion: string;
@@ -18,6 +18,8 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
18
18
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
19
19
  retryMode: string | import("@aws-sdk/types").Provider<string>;
20
20
  logger: import("@aws-sdk/types").Logger;
21
+ useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
22
+ useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
21
23
  serviceId: string;
22
24
  region: string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Provider<any>;
23
25
  regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
@@ -41,6 +41,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
41
41
 
42
42
  logger?: __Logger;
43
43
 
44
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
45
+
46
+ useFipsEndpoint?: boolean | __Provider<boolean>;
47
+
44
48
  serviceId?: string;
45
49
 
46
50
  region?: string | __Provider<string>;
@@ -0,0 +1,4 @@
1
+ export * from "./GetRoleCredentialsCommand";
2
+ export * from "./ListAccountRolesCommand";
3
+ export * from "./ListAccountsCommand";
4
+ export * from "./LogoutCommand";
@@ -1,10 +1,5 @@
1
- export * from "./SSOClient";
2
1
  export * from "./SSO";
3
- export * from "./commands/GetRoleCredentialsCommand";
4
- export * from "./commands/ListAccountRolesCommand";
5
- export * from "./pagination/ListAccountRolesPaginator";
6
- export * from "./commands/ListAccountsCommand";
7
- export * from "./pagination/ListAccountsPaginator";
8
- export * from "./commands/LogoutCommand";
9
- export * from "./pagination/Interfaces";
10
- export * from "./models/index";
2
+ export * from "./SSOClient";
3
+ export * from "./commands";
4
+ export * from "./models";
5
+ export * from "./pagination";
@@ -0,0 +1,3 @@
1
+ export * from "./Interfaces";
2
+ export * from "./ListAccountRolesPaginator";
3
+ export * from "./ListAccountsPaginator";
@@ -13,6 +13,8 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
13
13
  retryMode: string | import("@aws-sdk/types").Provider<string>;
14
14
  sha256: import("@aws-sdk/types").HashConstructor;
15
15
  streamCollector: import("@aws-sdk/types").StreamCollector;
16
+ useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
17
+ useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
16
18
  utf8Decoder: import("@aws-sdk/types").Decoder;
17
19
  utf8Encoder: import("@aws-sdk/types").Encoder;
18
20
  apiVersion: string;
@@ -13,6 +13,8 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
13
13
  retryMode: string | import("@aws-sdk/types").Provider<string>;
14
14
  sha256: import("@aws-sdk/types").HashConstructor;
15
15
  streamCollector: import("@aws-sdk/types").StreamCollector;
16
+ useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
17
+ useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
16
18
  utf8Decoder: import("@aws-sdk/types").Decoder;
17
19
  utf8Encoder: import("@aws-sdk/types").Encoder;
18
20
  apiVersion: string;
@@ -16,6 +16,8 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
16
16
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
17
17
  retryMode: string | import("@aws-sdk/types").Provider<string>;
18
18
  logger: import("@aws-sdk/types").Logger;
19
+ useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
20
+ useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
19
21
  serviceId: string;
20
22
  region: string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Provider<any>;
21
23
  regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
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.36.1",
4
+ "version": "3.40.0",
5
5
  "scripts": {
6
6
  "build": "yarn build:cjs && yarn build:es && yarn build:types",
7
7
  "build:cjs": "tsc -p tsconfig.json",
@@ -19,37 +19,37 @@
19
19
  "module": "./dist-es/index.js",
20
20
  "sideEffects": false,
21
21
  "dependencies": {
22
- "@aws-crypto/sha256-browser": "^1.0.0",
23
- "@aws-crypto/sha256-js": "^1.0.0",
24
- "@aws-sdk/config-resolver": "3.36.0",
25
- "@aws-sdk/fetch-http-handler": "3.36.0",
26
- "@aws-sdk/hash-node": "3.36.0",
27
- "@aws-sdk/invalid-dependency": "3.36.0",
28
- "@aws-sdk/middleware-content-length": "3.36.0",
29
- "@aws-sdk/middleware-host-header": "3.36.0",
30
- "@aws-sdk/middleware-logger": "3.36.0",
31
- "@aws-sdk/middleware-retry": "3.36.0",
32
- "@aws-sdk/middleware-serde": "3.36.0",
33
- "@aws-sdk/middleware-stack": "3.36.0",
34
- "@aws-sdk/middleware-user-agent": "3.36.0",
35
- "@aws-sdk/node-config-provider": "3.36.0",
36
- "@aws-sdk/node-http-handler": "3.36.0",
37
- "@aws-sdk/protocol-http": "3.36.0",
38
- "@aws-sdk/smithy-client": "3.36.0",
39
- "@aws-sdk/types": "3.36.0",
40
- "@aws-sdk/url-parser": "3.36.0",
41
- "@aws-sdk/util-base64-browser": "3.36.0",
42
- "@aws-sdk/util-base64-node": "3.36.0",
43
- "@aws-sdk/util-body-length-browser": "3.36.0",
44
- "@aws-sdk/util-body-length-node": "3.36.0",
45
- "@aws-sdk/util-user-agent-browser": "3.36.0",
46
- "@aws-sdk/util-user-agent-node": "3.36.0",
47
- "@aws-sdk/util-utf8-browser": "3.36.0",
48
- "@aws-sdk/util-utf8-node": "3.36.0",
22
+ "@aws-crypto/sha256-browser": "2.0.0",
23
+ "@aws-crypto/sha256-js": "2.0.0",
24
+ "@aws-sdk/config-resolver": "3.40.0",
25
+ "@aws-sdk/fetch-http-handler": "3.40.0",
26
+ "@aws-sdk/hash-node": "3.40.0",
27
+ "@aws-sdk/invalid-dependency": "3.40.0",
28
+ "@aws-sdk/middleware-content-length": "3.40.0",
29
+ "@aws-sdk/middleware-host-header": "3.40.0",
30
+ "@aws-sdk/middleware-logger": "3.40.0",
31
+ "@aws-sdk/middleware-retry": "3.40.0",
32
+ "@aws-sdk/middleware-serde": "3.40.0",
33
+ "@aws-sdk/middleware-stack": "3.40.0",
34
+ "@aws-sdk/middleware-user-agent": "3.40.0",
35
+ "@aws-sdk/node-config-provider": "3.40.0",
36
+ "@aws-sdk/node-http-handler": "3.40.0",
37
+ "@aws-sdk/protocol-http": "3.40.0",
38
+ "@aws-sdk/smithy-client": "3.40.0",
39
+ "@aws-sdk/types": "3.40.0",
40
+ "@aws-sdk/url-parser": "3.40.0",
41
+ "@aws-sdk/util-base64-browser": "3.37.0",
42
+ "@aws-sdk/util-base64-node": "3.37.0",
43
+ "@aws-sdk/util-body-length-browser": "3.37.0",
44
+ "@aws-sdk/util-body-length-node": "3.37.0",
45
+ "@aws-sdk/util-user-agent-browser": "3.40.0",
46
+ "@aws-sdk/util-user-agent-node": "3.40.0",
47
+ "@aws-sdk/util-utf8-browser": "3.37.0",
48
+ "@aws-sdk/util-utf8-node": "3.37.0",
49
49
  "tslib": "^2.3.0"
50
50
  },
51
51
  "devDependencies": {
52
- "@aws-sdk/client-documentation-generator": "3.36.0",
52
+ "@aws-sdk/service-client-documentation-generator": "3.38.0",
53
53
  "@types/node": "^12.7.5",
54
54
  "downlevel-dts": "0.7.0",
55
55
  "jest": "^26.1.0",