@aws-sdk/client-sso-oidc 3.39.0 → 3.46.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,56 @@
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.46.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.45.0...v3.46.0) (2022-01-07)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **clients:** update clean:dist script to delete dist-* folder ([#3155](https://github.com/aws/aws-sdk-js-v3/issues/3155)) ([cdb1709](https://github.com/aws/aws-sdk-js-v3/commit/cdb17090f82d1fc8755811c82cbed5976ec7e60b))
12
+
13
+
14
+ ### Features
15
+
16
+ * **clients:** extend typedoc.json from root ([#3136](https://github.com/aws/aws-sdk-js-v3/issues/3136)) ([f6a3ef5](https://github.com/aws/aws-sdk-js-v3/commit/f6a3ef541ae2d92872d09d8cab6727911287ebb2))
17
+ * end support for Node.js 10.x ([#3122](https://github.com/aws/aws-sdk-js-v3/issues/3122)) ([7acf18a](https://github.com/aws/aws-sdk-js-v3/commit/7acf18abd3fb1cc461f809110cdb0d7968c2070e))
18
+
19
+
20
+
21
+
22
+
23
+ # [3.45.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.44.0...v3.45.0) (2021-12-23)
24
+
25
+
26
+ ### Features
27
+
28
+ * **clients:** update clients as of 2021/12/23 ([#3110](https://github.com/aws/aws-sdk-js-v3/issues/3110)) ([5d638e1](https://github.com/aws/aws-sdk-js-v3/commit/5d638e188ce64fa80fe36b8cba79ba63b80b50b7))
29
+
30
+
31
+
32
+
33
+
34
+ # [3.41.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.40.1...v3.41.0) (2021-11-11)
35
+
36
+
37
+ ### Features
38
+
39
+ * **clients:** update clients as of 2021/11/11 ([#3015](https://github.com/aws/aws-sdk-js-v3/issues/3015)) ([3d82c4e](https://github.com/aws/aws-sdk-js-v3/commit/3d82c4e3c4d174533f46ce35495cf5cffabdb35a))
40
+
41
+
42
+
43
+
44
+
45
+ # [3.40.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.39.0...v3.40.0) (2021-11-05)
46
+
47
+
48
+ ### Features
49
+
50
+ * **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))
51
+
52
+
53
+
54
+
55
+
6
56
  # [3.39.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.38.0...v3.39.0) (2021-10-29)
7
57
 
8
58
  **Note:** Version bump only for package @aws-sdk/client-sso-oidc
@@ -4,67 +4,147 @@ exports.defaultRegionInfoProvider = void 0;
4
4
  const config_resolver_1 = require("@aws-sdk/config-resolver");
5
5
  const regionHash = {
6
6
  "ap-northeast-1": {
7
- hostname: "oidc.ap-northeast-1.amazonaws.com",
7
+ variants: [
8
+ {
9
+ hostname: "oidc.ap-northeast-1.amazonaws.com",
10
+ tags: [],
11
+ },
12
+ ],
8
13
  signingRegion: "ap-northeast-1",
9
14
  },
10
15
  "ap-northeast-2": {
11
- hostname: "oidc.ap-northeast-2.amazonaws.com",
16
+ variants: [
17
+ {
18
+ hostname: "oidc.ap-northeast-2.amazonaws.com",
19
+ tags: [],
20
+ },
21
+ ],
12
22
  signingRegion: "ap-northeast-2",
13
23
  },
14
24
  "ap-south-1": {
15
- hostname: "oidc.ap-south-1.amazonaws.com",
25
+ variants: [
26
+ {
27
+ hostname: "oidc.ap-south-1.amazonaws.com",
28
+ tags: [],
29
+ },
30
+ ],
16
31
  signingRegion: "ap-south-1",
17
32
  },
18
33
  "ap-southeast-1": {
19
- hostname: "oidc.ap-southeast-1.amazonaws.com",
34
+ variants: [
35
+ {
36
+ hostname: "oidc.ap-southeast-1.amazonaws.com",
37
+ tags: [],
38
+ },
39
+ ],
20
40
  signingRegion: "ap-southeast-1",
21
41
  },
22
42
  "ap-southeast-2": {
23
- hostname: "oidc.ap-southeast-2.amazonaws.com",
43
+ variants: [
44
+ {
45
+ hostname: "oidc.ap-southeast-2.amazonaws.com",
46
+ tags: [],
47
+ },
48
+ ],
24
49
  signingRegion: "ap-southeast-2",
25
50
  },
26
51
  "ca-central-1": {
27
- hostname: "oidc.ca-central-1.amazonaws.com",
52
+ variants: [
53
+ {
54
+ hostname: "oidc.ca-central-1.amazonaws.com",
55
+ tags: [],
56
+ },
57
+ ],
28
58
  signingRegion: "ca-central-1",
29
59
  },
30
60
  "eu-central-1": {
31
- hostname: "oidc.eu-central-1.amazonaws.com",
61
+ variants: [
62
+ {
63
+ hostname: "oidc.eu-central-1.amazonaws.com",
64
+ tags: [],
65
+ },
66
+ ],
32
67
  signingRegion: "eu-central-1",
33
68
  },
34
69
  "eu-north-1": {
35
- hostname: "oidc.eu-north-1.amazonaws.com",
70
+ variants: [
71
+ {
72
+ hostname: "oidc.eu-north-1.amazonaws.com",
73
+ tags: [],
74
+ },
75
+ ],
36
76
  signingRegion: "eu-north-1",
37
77
  },
38
78
  "eu-west-1": {
39
- hostname: "oidc.eu-west-1.amazonaws.com",
79
+ variants: [
80
+ {
81
+ hostname: "oidc.eu-west-1.amazonaws.com",
82
+ tags: [],
83
+ },
84
+ ],
40
85
  signingRegion: "eu-west-1",
41
86
  },
42
87
  "eu-west-2": {
43
- hostname: "oidc.eu-west-2.amazonaws.com",
88
+ variants: [
89
+ {
90
+ hostname: "oidc.eu-west-2.amazonaws.com",
91
+ tags: [],
92
+ },
93
+ ],
44
94
  signingRegion: "eu-west-2",
45
95
  },
46
96
  "eu-west-3": {
47
- hostname: "oidc.eu-west-3.amazonaws.com",
97
+ variants: [
98
+ {
99
+ hostname: "oidc.eu-west-3.amazonaws.com",
100
+ tags: [],
101
+ },
102
+ ],
48
103
  signingRegion: "eu-west-3",
49
104
  },
50
105
  "sa-east-1": {
51
- hostname: "oidc.sa-east-1.amazonaws.com",
106
+ variants: [
107
+ {
108
+ hostname: "oidc.sa-east-1.amazonaws.com",
109
+ tags: [],
110
+ },
111
+ ],
52
112
  signingRegion: "sa-east-1",
53
113
  },
54
114
  "us-east-1": {
55
- hostname: "oidc.us-east-1.amazonaws.com",
115
+ variants: [
116
+ {
117
+ hostname: "oidc.us-east-1.amazonaws.com",
118
+ tags: [],
119
+ },
120
+ ],
56
121
  signingRegion: "us-east-1",
57
122
  },
58
123
  "us-east-2": {
59
- hostname: "oidc.us-east-2.amazonaws.com",
124
+ variants: [
125
+ {
126
+ hostname: "oidc.us-east-2.amazonaws.com",
127
+ tags: [],
128
+ },
129
+ ],
60
130
  signingRegion: "us-east-2",
61
131
  },
62
132
  "us-gov-west-1": {
63
- hostname: "oidc.us-gov-west-1.amazonaws.com",
133
+ variants: [
134
+ {
135
+ hostname: "oidc.us-gov-west-1.amazonaws.com",
136
+ tags: [],
137
+ },
138
+ ],
64
139
  signingRegion: "us-gov-west-1",
65
140
  },
66
141
  "us-west-2": {
67
- hostname: "oidc.us-west-2.amazonaws.com",
142
+ variants: [
143
+ {
144
+ hostname: "oidc.us-west-2.amazonaws.com",
145
+ tags: [],
146
+ },
147
+ ],
68
148
  signingRegion: "us-west-2",
69
149
  },
70
150
  };
@@ -79,6 +159,7 @@ const partitionHash = {
79
159
  "ap-south-1",
80
160
  "ap-southeast-1",
81
161
  "ap-southeast-2",
162
+ "ap-southeast-3",
82
163
  "ca-central-1",
83
164
  "eu-central-1",
84
165
  "eu-north-1",
@@ -94,27 +175,96 @@ const partitionHash = {
94
175
  "us-west-2",
95
176
  ],
96
177
  regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
97
- hostname: "oidc.{region}.amazonaws.com",
178
+ variants: [
179
+ {
180
+ hostname: "oidc.{region}.amazonaws.com",
181
+ tags: [],
182
+ },
183
+ {
184
+ hostname: "oidc-fips.{region}.amazonaws.com",
185
+ tags: ["fips"],
186
+ },
187
+ {
188
+ hostname: "oidc-fips.{region}.api.aws",
189
+ tags: ["dualstack", "fips"],
190
+ },
191
+ {
192
+ hostname: "oidc.{region}.api.aws",
193
+ tags: ["dualstack"],
194
+ },
195
+ ],
98
196
  },
99
197
  "aws-cn": {
100
198
  regions: ["cn-north-1", "cn-northwest-1"],
101
199
  regionRegex: "^cn\\-\\w+\\-\\d+$",
102
- hostname: "oidc.{region}.amazonaws.com.cn",
200
+ variants: [
201
+ {
202
+ hostname: "oidc.{region}.amazonaws.com.cn",
203
+ tags: [],
204
+ },
205
+ {
206
+ hostname: "oidc-fips.{region}.amazonaws.com.cn",
207
+ tags: ["fips"],
208
+ },
209
+ {
210
+ hostname: "oidc-fips.{region}.api.amazonwebservices.com.cn",
211
+ tags: ["dualstack", "fips"],
212
+ },
213
+ {
214
+ hostname: "oidc.{region}.api.amazonwebservices.com.cn",
215
+ tags: ["dualstack"],
216
+ },
217
+ ],
103
218
  },
104
219
  "aws-iso": {
105
220
  regions: ["us-iso-east-1", "us-iso-west-1"],
106
221
  regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
107
- hostname: "oidc.{region}.c2s.ic.gov",
222
+ variants: [
223
+ {
224
+ hostname: "oidc.{region}.c2s.ic.gov",
225
+ tags: [],
226
+ },
227
+ {
228
+ hostname: "oidc-fips.{region}.c2s.ic.gov",
229
+ tags: ["fips"],
230
+ },
231
+ ],
108
232
  },
109
233
  "aws-iso-b": {
110
234
  regions: ["us-isob-east-1"],
111
235
  regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
112
- hostname: "oidc.{region}.sc2s.sgov.gov",
236
+ variants: [
237
+ {
238
+ hostname: "oidc.{region}.sc2s.sgov.gov",
239
+ tags: [],
240
+ },
241
+ {
242
+ hostname: "oidc-fips.{region}.sc2s.sgov.gov",
243
+ tags: ["fips"],
244
+ },
245
+ ],
113
246
  },
114
247
  "aws-us-gov": {
115
248
  regions: ["us-gov-east-1", "us-gov-west-1"],
116
249
  regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
117
- hostname: "oidc.{region}.amazonaws.com",
250
+ variants: [
251
+ {
252
+ hostname: "oidc.{region}.amazonaws.com",
253
+ tags: [],
254
+ },
255
+ {
256
+ hostname: "oidc-fips.{region}.amazonaws.com",
257
+ tags: ["fips"],
258
+ },
259
+ {
260
+ hostname: "oidc-fips.{region}.api.aws",
261
+ tags: ["dualstack", "fips"],
262
+ },
263
+ {
264
+ hostname: "oidc.{region}.api.aws",
265
+ tags: ["dualstack"],
266
+ },
267
+ ],
118
268
  },
119
269
  };
120
270
  const defaultRegionInfoProvider = async (region, options) => config_resolver_1.getRegionInfo(region, {
@@ -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;
@@ -13,10 +13,8 @@ const util_body_length_node_1 = require("@aws-sdk/util-body-length-node");
13
13
  const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
14
14
  const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
15
15
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
16
- const smithy_client_1 = require("@aws-sdk/smithy-client");
17
16
  const getRuntimeConfig = (config) => {
18
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
19
- smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
17
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
20
18
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
21
19
  return {
22
20
  ...clientSharedValues,
@@ -32,8 +30,10 @@ const getRuntimeConfig = (config) => {
32
30
  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
31
  sha256: (_j = config === null || config === void 0 ? void 0 : config.sha256) !== null && _j !== void 0 ? _j : hash_node_1.Hash.bind(null, "sha256"),
34
32
  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,
33
+ 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),
34
+ 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),
35
+ utf8Decoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _o !== void 0 ? _o : util_utf8_node_1.fromUtf8,
36
+ utf8Encoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _p !== void 0 ? _p : util_utf8_node_1.toUtf8,
37
37
  };
38
38
  };
39
39
  exports.getRuntimeConfig = getRuntimeConfig;
@@ -2,67 +2,147 @@ import { __assign, __awaiter, __generator } from "tslib";
2
2
  import { getRegionInfo } from "@aws-sdk/config-resolver";
3
3
  var regionHash = {
4
4
  "ap-northeast-1": {
5
- hostname: "oidc.ap-northeast-1.amazonaws.com",
5
+ variants: [
6
+ {
7
+ hostname: "oidc.ap-northeast-1.amazonaws.com",
8
+ tags: [],
9
+ },
10
+ ],
6
11
  signingRegion: "ap-northeast-1",
7
12
  },
8
13
  "ap-northeast-2": {
9
- hostname: "oidc.ap-northeast-2.amazonaws.com",
14
+ variants: [
15
+ {
16
+ hostname: "oidc.ap-northeast-2.amazonaws.com",
17
+ tags: [],
18
+ },
19
+ ],
10
20
  signingRegion: "ap-northeast-2",
11
21
  },
12
22
  "ap-south-1": {
13
- hostname: "oidc.ap-south-1.amazonaws.com",
23
+ variants: [
24
+ {
25
+ hostname: "oidc.ap-south-1.amazonaws.com",
26
+ tags: [],
27
+ },
28
+ ],
14
29
  signingRegion: "ap-south-1",
15
30
  },
16
31
  "ap-southeast-1": {
17
- hostname: "oidc.ap-southeast-1.amazonaws.com",
32
+ variants: [
33
+ {
34
+ hostname: "oidc.ap-southeast-1.amazonaws.com",
35
+ tags: [],
36
+ },
37
+ ],
18
38
  signingRegion: "ap-southeast-1",
19
39
  },
20
40
  "ap-southeast-2": {
21
- hostname: "oidc.ap-southeast-2.amazonaws.com",
41
+ variants: [
42
+ {
43
+ hostname: "oidc.ap-southeast-2.amazonaws.com",
44
+ tags: [],
45
+ },
46
+ ],
22
47
  signingRegion: "ap-southeast-2",
23
48
  },
24
49
  "ca-central-1": {
25
- hostname: "oidc.ca-central-1.amazonaws.com",
50
+ variants: [
51
+ {
52
+ hostname: "oidc.ca-central-1.amazonaws.com",
53
+ tags: [],
54
+ },
55
+ ],
26
56
  signingRegion: "ca-central-1",
27
57
  },
28
58
  "eu-central-1": {
29
- hostname: "oidc.eu-central-1.amazonaws.com",
59
+ variants: [
60
+ {
61
+ hostname: "oidc.eu-central-1.amazonaws.com",
62
+ tags: [],
63
+ },
64
+ ],
30
65
  signingRegion: "eu-central-1",
31
66
  },
32
67
  "eu-north-1": {
33
- hostname: "oidc.eu-north-1.amazonaws.com",
68
+ variants: [
69
+ {
70
+ hostname: "oidc.eu-north-1.amazonaws.com",
71
+ tags: [],
72
+ },
73
+ ],
34
74
  signingRegion: "eu-north-1",
35
75
  },
36
76
  "eu-west-1": {
37
- hostname: "oidc.eu-west-1.amazonaws.com",
77
+ variants: [
78
+ {
79
+ hostname: "oidc.eu-west-1.amazonaws.com",
80
+ tags: [],
81
+ },
82
+ ],
38
83
  signingRegion: "eu-west-1",
39
84
  },
40
85
  "eu-west-2": {
41
- hostname: "oidc.eu-west-2.amazonaws.com",
86
+ variants: [
87
+ {
88
+ hostname: "oidc.eu-west-2.amazonaws.com",
89
+ tags: [],
90
+ },
91
+ ],
42
92
  signingRegion: "eu-west-2",
43
93
  },
44
94
  "eu-west-3": {
45
- hostname: "oidc.eu-west-3.amazonaws.com",
95
+ variants: [
96
+ {
97
+ hostname: "oidc.eu-west-3.amazonaws.com",
98
+ tags: [],
99
+ },
100
+ ],
46
101
  signingRegion: "eu-west-3",
47
102
  },
48
103
  "sa-east-1": {
49
- hostname: "oidc.sa-east-1.amazonaws.com",
104
+ variants: [
105
+ {
106
+ hostname: "oidc.sa-east-1.amazonaws.com",
107
+ tags: [],
108
+ },
109
+ ],
50
110
  signingRegion: "sa-east-1",
51
111
  },
52
112
  "us-east-1": {
53
- hostname: "oidc.us-east-1.amazonaws.com",
113
+ variants: [
114
+ {
115
+ hostname: "oidc.us-east-1.amazonaws.com",
116
+ tags: [],
117
+ },
118
+ ],
54
119
  signingRegion: "us-east-1",
55
120
  },
56
121
  "us-east-2": {
57
- hostname: "oidc.us-east-2.amazonaws.com",
122
+ variants: [
123
+ {
124
+ hostname: "oidc.us-east-2.amazonaws.com",
125
+ tags: [],
126
+ },
127
+ ],
58
128
  signingRegion: "us-east-2",
59
129
  },
60
130
  "us-gov-west-1": {
61
- hostname: "oidc.us-gov-west-1.amazonaws.com",
131
+ variants: [
132
+ {
133
+ hostname: "oidc.us-gov-west-1.amazonaws.com",
134
+ tags: [],
135
+ },
136
+ ],
62
137
  signingRegion: "us-gov-west-1",
63
138
  },
64
139
  "us-west-2": {
65
- hostname: "oidc.us-west-2.amazonaws.com",
140
+ variants: [
141
+ {
142
+ hostname: "oidc.us-west-2.amazonaws.com",
143
+ tags: [],
144
+ },
145
+ ],
66
146
  signingRegion: "us-west-2",
67
147
  },
68
148
  };
@@ -77,6 +157,7 @@ var partitionHash = {
77
157
  "ap-south-1",
78
158
  "ap-southeast-1",
79
159
  "ap-southeast-2",
160
+ "ap-southeast-3",
80
161
  "ca-central-1",
81
162
  "eu-central-1",
82
163
  "eu-north-1",
@@ -92,27 +173,96 @@ var partitionHash = {
92
173
  "us-west-2",
93
174
  ],
94
175
  regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
95
- hostname: "oidc.{region}.amazonaws.com",
176
+ variants: [
177
+ {
178
+ hostname: "oidc.{region}.amazonaws.com",
179
+ tags: [],
180
+ },
181
+ {
182
+ hostname: "oidc-fips.{region}.amazonaws.com",
183
+ tags: ["fips"],
184
+ },
185
+ {
186
+ hostname: "oidc-fips.{region}.api.aws",
187
+ tags: ["dualstack", "fips"],
188
+ },
189
+ {
190
+ hostname: "oidc.{region}.api.aws",
191
+ tags: ["dualstack"],
192
+ },
193
+ ],
96
194
  },
97
195
  "aws-cn": {
98
196
  regions: ["cn-north-1", "cn-northwest-1"],
99
197
  regionRegex: "^cn\\-\\w+\\-\\d+$",
100
- hostname: "oidc.{region}.amazonaws.com.cn",
198
+ variants: [
199
+ {
200
+ hostname: "oidc.{region}.amazonaws.com.cn",
201
+ tags: [],
202
+ },
203
+ {
204
+ hostname: "oidc-fips.{region}.amazonaws.com.cn",
205
+ tags: ["fips"],
206
+ },
207
+ {
208
+ hostname: "oidc-fips.{region}.api.amazonwebservices.com.cn",
209
+ tags: ["dualstack", "fips"],
210
+ },
211
+ {
212
+ hostname: "oidc.{region}.api.amazonwebservices.com.cn",
213
+ tags: ["dualstack"],
214
+ },
215
+ ],
101
216
  },
102
217
  "aws-iso": {
103
218
  regions: ["us-iso-east-1", "us-iso-west-1"],
104
219
  regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
105
- hostname: "oidc.{region}.c2s.ic.gov",
220
+ variants: [
221
+ {
222
+ hostname: "oidc.{region}.c2s.ic.gov",
223
+ tags: [],
224
+ },
225
+ {
226
+ hostname: "oidc-fips.{region}.c2s.ic.gov",
227
+ tags: ["fips"],
228
+ },
229
+ ],
106
230
  },
107
231
  "aws-iso-b": {
108
232
  regions: ["us-isob-east-1"],
109
233
  regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
110
- hostname: "oidc.{region}.sc2s.sgov.gov",
234
+ variants: [
235
+ {
236
+ hostname: "oidc.{region}.sc2s.sgov.gov",
237
+ tags: [],
238
+ },
239
+ {
240
+ hostname: "oidc-fips.{region}.sc2s.sgov.gov",
241
+ tags: ["fips"],
242
+ },
243
+ ],
111
244
  },
112
245
  "aws-us-gov": {
113
246
  regions: ["us-gov-east-1", "us-gov-west-1"],
114
247
  regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
115
- hostname: "oidc.{region}.amazonaws.com",
248
+ variants: [
249
+ {
250
+ hostname: "oidc.{region}.amazonaws.com",
251
+ tags: [],
252
+ },
253
+ {
254
+ hostname: "oidc-fips.{region}.amazonaws.com",
255
+ tags: ["fips"],
256
+ },
257
+ {
258
+ hostname: "oidc-fips.{region}.api.aws",
259
+ tags: ["dualstack", "fips"],
260
+ },
261
+ {
262
+ hostname: "oidc.{region}.api.aws",
263
+ tags: ["dualstack"],
264
+ },
265
+ ],
116
266
  },
117
267
  };
118
268
  export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
@@ -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";
@@ -10,10 +10,8 @@ import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
10
10
  import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
11
11
  import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
12
12
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
13
- import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
14
13
  export var getRuntimeConfig = function (config) {
15
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
16
- emitWarningIfUnsupportedVersion(process.version);
14
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
17
15
  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 });
16
+ 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
17
  };
@@ -78,6 +78,14 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
78
78
  * Optional logger for logging debug/info/warn/error.
79
79
  */
80
80
  logger?: __Logger;
81
+ /**
82
+ * Enables IPv6/IPv4 dualstack endpoint.
83
+ */
84
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
85
+ /**
86
+ * Enables FIPS compatible endpoints.
87
+ */
88
+ useFipsEndpoint?: boolean | __Provider<boolean>;
81
89
  /**
82
90
  * Unique service identifier.
83
91
  * @internal
@@ -22,7 +22,7 @@ export interface CreateTokenCommandOutput extends CreateTokenResponse, __Metadat
22
22
  *
23
23
  * @see {@link CreateTokenCommandInput} for command's `input` shape.
24
24
  * @see {@link CreateTokenCommandOutput} for command's `response` shape.
25
- * @see {@link SSOOIDCClientResolvedConfig | config} for command's `input` shape.
25
+ * @see {@link SSOOIDCClientResolvedConfig | config} for SSOOIDCClient's `config` shape.
26
26
  *
27
27
  */
28
28
  export declare class CreateTokenCommand extends $Command<CreateTokenCommandInput, CreateTokenCommandOutput, SSOOIDCClientResolvedConfig> {
@@ -21,7 +21,7 @@ export interface RegisterClientCommandOutput extends RegisterClientResponse, __M
21
21
  *
22
22
  * @see {@link RegisterClientCommandInput} for command's `input` shape.
23
23
  * @see {@link RegisterClientCommandOutput} for command's `response` shape.
24
- * @see {@link SSOOIDCClientResolvedConfig | config} for command's `input` shape.
24
+ * @see {@link SSOOIDCClientResolvedConfig | config} for SSOOIDCClient's `config` shape.
25
25
  *
26
26
  */
27
27
  export declare class RegisterClientCommand extends $Command<RegisterClientCommandInput, RegisterClientCommandOutput, SSOOIDCClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface StartDeviceAuthorizationCommandOutput extends StartDeviceAuthor
20
20
  *
21
21
  * @see {@link StartDeviceAuthorizationCommandInput} for command's `input` shape.
22
22
  * @see {@link StartDeviceAuthorizationCommandOutput} for command's `response` shape.
23
- * @see {@link SSOOIDCClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link SSOOIDCClientResolvedConfig | config} for SSOOIDCClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class StartDeviceAuthorizationCommand extends $Command<StartDeviceAuthorizationCommandInput, StartDeviceAuthorizationCommandOutput, SSOOIDCClientResolvedConfig> {
@@ -15,6 +15,8 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
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: SSOOIDCClientConfig) => {
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: SSOOIDCClientConfig) => {
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;
@@ -40,6 +40,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
40
40
 
41
41
  logger?: __Logger;
42
42
 
43
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
44
+
45
+ useFipsEndpoint?: boolean | __Provider<boolean>;
46
+
43
47
  serviceId?: string;
44
48
 
45
49
  region?: string | __Provider<string>;
@@ -13,6 +13,8 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
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: SSOOIDCClientConfig) => {
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: SSOOIDCClientConfig) => {
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,18 +1,17 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sso-oidc",
3
3
  "description": "AWS SDK for JavaScript Sso Oidc Client for Node.js, Browser and React Native",
4
- "version": "3.39.0",
4
+ "version": "3.46.0",
5
5
  "scripts": {
6
6
  "build": "yarn build:cjs && yarn build:es && yarn build:types",
7
7
  "build:cjs": "tsc -p tsconfig.json",
8
- "build:docs": "yarn clean:docs && typedoc ./",
8
+ "build:docs": "typedoc",
9
9
  "build:es": "tsc -p tsconfig.es.json",
10
10
  "build:types": "tsc -p tsconfig.types.json",
11
+ "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
11
12
  "clean": "yarn clean:dist && yarn clean:docs",
12
- "clean:dist": "rimraf ./dist",
13
- "clean:docs": "rimraf ./docs",
14
- "downlevel-dts": "downlevel-dts dist-types dist-types/ts3.4",
15
- "test": "exit 0"
13
+ "clean:dist": "rimraf ./dist-*",
14
+ "clean:docs": "rimraf ./docs"
16
15
  },
17
16
  "main": "./dist-cjs/index.js",
18
17
  "types": "./dist-types/index.d.ts",
@@ -21,45 +20,39 @@
21
20
  "dependencies": {
22
21
  "@aws-crypto/sha256-browser": "2.0.0",
23
22
  "@aws-crypto/sha256-js": "2.0.0",
24
- "@aws-sdk/config-resolver": "3.39.0",
25
- "@aws-sdk/fetch-http-handler": "3.38.0",
26
- "@aws-sdk/hash-node": "3.38.0",
27
- "@aws-sdk/invalid-dependency": "3.38.0",
28
- "@aws-sdk/middleware-content-length": "3.38.0",
29
- "@aws-sdk/middleware-host-header": "3.38.0",
30
- "@aws-sdk/middleware-logger": "3.38.0",
31
- "@aws-sdk/middleware-retry": "3.39.0",
32
- "@aws-sdk/middleware-serde": "3.38.0",
33
- "@aws-sdk/middleware-stack": "3.38.0",
34
- "@aws-sdk/middleware-user-agent": "3.38.0",
35
- "@aws-sdk/node-config-provider": "3.39.0",
36
- "@aws-sdk/node-http-handler": "3.38.0",
37
- "@aws-sdk/protocol-http": "3.38.0",
38
- "@aws-sdk/smithy-client": "3.38.0",
39
- "@aws-sdk/types": "3.38.0",
40
- "@aws-sdk/url-parser": "3.38.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.38.0",
46
- "@aws-sdk/util-user-agent-node": "3.39.0",
47
- "@aws-sdk/util-utf8-browser": "3.37.0",
48
- "@aws-sdk/util-utf8-node": "3.37.0",
23
+ "@aws-sdk/config-resolver": "3.46.0",
24
+ "@aws-sdk/fetch-http-handler": "3.46.0",
25
+ "@aws-sdk/hash-node": "3.46.0",
26
+ "@aws-sdk/invalid-dependency": "3.46.0",
27
+ "@aws-sdk/middleware-content-length": "3.46.0",
28
+ "@aws-sdk/middleware-host-header": "3.46.0",
29
+ "@aws-sdk/middleware-logger": "3.46.0",
30
+ "@aws-sdk/middleware-retry": "3.46.0",
31
+ "@aws-sdk/middleware-serde": "3.46.0",
32
+ "@aws-sdk/middleware-stack": "3.46.0",
33
+ "@aws-sdk/middleware-user-agent": "3.46.0",
34
+ "@aws-sdk/node-config-provider": "3.46.0",
35
+ "@aws-sdk/node-http-handler": "3.46.0",
36
+ "@aws-sdk/protocol-http": "3.46.0",
37
+ "@aws-sdk/smithy-client": "3.46.0",
38
+ "@aws-sdk/types": "3.46.0",
39
+ "@aws-sdk/url-parser": "3.46.0",
40
+ "@aws-sdk/util-base64-browser": "3.46.0",
41
+ "@aws-sdk/util-base64-node": "3.46.0",
42
+ "@aws-sdk/util-body-length-browser": "3.46.0",
43
+ "@aws-sdk/util-body-length-node": "3.46.0",
44
+ "@aws-sdk/util-user-agent-browser": "3.46.0",
45
+ "@aws-sdk/util-user-agent-node": "3.46.0",
46
+ "@aws-sdk/util-utf8-browser": "3.46.0",
47
+ "@aws-sdk/util-utf8-node": "3.46.0",
49
48
  "tslib": "^2.3.0"
50
49
  },
51
50
  "devDependencies": {
52
- "@aws-sdk/service-client-documentation-generator": "3.38.0",
53
- "@types/node": "^12.7.5",
54
- "downlevel-dts": "0.7.0",
55
- "jest": "^26.1.0",
56
- "rimraf": "^3.0.0",
57
- "ts-jest": "^26.4.1",
58
- "typedoc": "^0.19.2",
59
- "typescript": "~4.3.5"
51
+ "@aws-sdk/service-client-documentation-generator": "3.46.0",
52
+ "@types/node": "^12.7.5"
60
53
  },
61
54
  "engines": {
62
- "node": ">=10.0.0"
55
+ "node": ">=12.0.0"
63
56
  },
64
57
  "typesVersions": {
65
58
  "<4.0": {