@aws-sdk/client-sso 3.490.0 → 3.496.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,12 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SSOServiceException = exports.__ServiceException = void 0;
4
- const smithy_client_1 = require("@smithy/smithy-client");
5
- Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
- class SSOServiceException extends smithy_client_1.ServiceException {
7
- constructor(options) {
8
- super(options);
9
- Object.setPrototypeOf(this, SSOServiceException.prototype);
10
- }
11
- }
12
- exports.SSOServiceException = SSOServiceException;
1
+ module.exports = require("../index.js");
@@ -1,4 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./models_0"), exports);
1
+ module.exports = require("../index.js");
@@ -1,88 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.LogoutRequestFilterSensitiveLog = exports.ListAccountsRequestFilterSensitiveLog = exports.ListAccountRolesRequestFilterSensitiveLog = exports.GetRoleCredentialsResponseFilterSensitiveLog = exports.RoleCredentialsFilterSensitiveLog = exports.GetRoleCredentialsRequestFilterSensitiveLog = exports.UnauthorizedException = exports.TooManyRequestsException = exports.ResourceNotFoundException = exports.InvalidRequestException = void 0;
4
- const smithy_client_1 = require("@smithy/smithy-client");
5
- const SSOServiceException_1 = require("./SSOServiceException");
6
- class InvalidRequestException extends SSOServiceException_1.SSOServiceException {
7
- constructor(opts) {
8
- super({
9
- name: "InvalidRequestException",
10
- $fault: "client",
11
- ...opts,
12
- });
13
- this.name = "InvalidRequestException";
14
- this.$fault = "client";
15
- Object.setPrototypeOf(this, InvalidRequestException.prototype);
16
- }
17
- }
18
- exports.InvalidRequestException = InvalidRequestException;
19
- class ResourceNotFoundException extends SSOServiceException_1.SSOServiceException {
20
- constructor(opts) {
21
- super({
22
- name: "ResourceNotFoundException",
23
- $fault: "client",
24
- ...opts,
25
- });
26
- this.name = "ResourceNotFoundException";
27
- this.$fault = "client";
28
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
29
- }
30
- }
31
- exports.ResourceNotFoundException = ResourceNotFoundException;
32
- class TooManyRequestsException extends SSOServiceException_1.SSOServiceException {
33
- constructor(opts) {
34
- super({
35
- name: "TooManyRequestsException",
36
- $fault: "client",
37
- ...opts,
38
- });
39
- this.name = "TooManyRequestsException";
40
- this.$fault = "client";
41
- Object.setPrototypeOf(this, TooManyRequestsException.prototype);
42
- }
43
- }
44
- exports.TooManyRequestsException = TooManyRequestsException;
45
- class UnauthorizedException extends SSOServiceException_1.SSOServiceException {
46
- constructor(opts) {
47
- super({
48
- name: "UnauthorizedException",
49
- $fault: "client",
50
- ...opts,
51
- });
52
- this.name = "UnauthorizedException";
53
- this.$fault = "client";
54
- Object.setPrototypeOf(this, UnauthorizedException.prototype);
55
- }
56
- }
57
- exports.UnauthorizedException = UnauthorizedException;
58
- const GetRoleCredentialsRequestFilterSensitiveLog = (obj) => ({
59
- ...obj,
60
- ...(obj.accessToken && { accessToken: smithy_client_1.SENSITIVE_STRING }),
61
- });
62
- exports.GetRoleCredentialsRequestFilterSensitiveLog = GetRoleCredentialsRequestFilterSensitiveLog;
63
- const RoleCredentialsFilterSensitiveLog = (obj) => ({
64
- ...obj,
65
- ...(obj.secretAccessKey && { secretAccessKey: smithy_client_1.SENSITIVE_STRING }),
66
- ...(obj.sessionToken && { sessionToken: smithy_client_1.SENSITIVE_STRING }),
67
- });
68
- exports.RoleCredentialsFilterSensitiveLog = RoleCredentialsFilterSensitiveLog;
69
- const GetRoleCredentialsResponseFilterSensitiveLog = (obj) => ({
70
- ...obj,
71
- ...(obj.roleCredentials && { roleCredentials: (0, exports.RoleCredentialsFilterSensitiveLog)(obj.roleCredentials) }),
72
- });
73
- exports.GetRoleCredentialsResponseFilterSensitiveLog = GetRoleCredentialsResponseFilterSensitiveLog;
74
- const ListAccountRolesRequestFilterSensitiveLog = (obj) => ({
75
- ...obj,
76
- ...(obj.accessToken && { accessToken: smithy_client_1.SENSITIVE_STRING }),
77
- });
78
- exports.ListAccountRolesRequestFilterSensitiveLog = ListAccountRolesRequestFilterSensitiveLog;
79
- const ListAccountsRequestFilterSensitiveLog = (obj) => ({
80
- ...obj,
81
- ...(obj.accessToken && { accessToken: smithy_client_1.SENSITIVE_STRING }),
82
- });
83
- exports.ListAccountsRequestFilterSensitiveLog = ListAccountsRequestFilterSensitiveLog;
84
- const LogoutRequestFilterSensitiveLog = (obj) => ({
85
- ...obj,
86
- ...(obj.accessToken && { accessToken: smithy_client_1.SENSITIVE_STRING }),
87
- });
88
- exports.LogoutRequestFilterSensitiveLog = LogoutRequestFilterSensitiveLog;
1
+ module.exports = require("../index.js");
@@ -1,2 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListAccountRoles = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListAccountRolesCommand_1 = require("../commands/ListAccountRolesCommand");
6
- const SSOClient_1 = require("../SSOClient");
7
- exports.paginateListAccountRoles = (0, core_1.createPaginator)(SSOClient_1.SSOClient, ListAccountRolesCommand_1.ListAccountRolesCommand, "nextToken", "nextToken", "maxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListAccounts = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListAccountsCommand_1 = require("../commands/ListAccountsCommand");
6
- const SSOClient_1 = require("../SSOClient");
7
- exports.paginateListAccounts = (0, core_1.createPaginator)(SSOClient_1.SSOClient, ListAccountsCommand_1.ListAccountsCommand, "nextToken", "nextToken", "maxResults");
1
+ module.exports = require("../index.js");
@@ -1,6 +1 @@
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);
1
+ module.exports = require("../index.js");
@@ -1,346 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.de_LogoutCommand = exports.de_ListAccountsCommand = exports.de_ListAccountRolesCommand = exports.de_GetRoleCredentialsCommand = exports.se_LogoutCommand = exports.se_ListAccountsCommand = exports.se_ListAccountRolesCommand = exports.se_GetRoleCredentialsCommand = void 0;
4
- const core_1 = require("@smithy/core");
5
- const smithy_client_1 = require("@smithy/smithy-client");
6
- const models_0_1 = require("../models/models_0");
7
- const SSOServiceException_1 = require("../models/SSOServiceException");
8
- const se_GetRoleCredentialsCommand = async (input, context) => {
9
- const b = (0, core_1.requestBuilder)(input, context);
10
- const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
11
- [_xasbt]: input[_aT],
12
- });
13
- b.bp("/federation/credentials");
14
- const query = (0, smithy_client_1.map)({
15
- [_rn]: [, (0, smithy_client_1.expectNonNull)(input[_rN], `roleName`)],
16
- [_ai]: [, (0, smithy_client_1.expectNonNull)(input[_aI], `accountId`)],
17
- });
18
- let body;
19
- b.m("GET").h(headers).q(query).b(body);
20
- return b.build();
21
- };
22
- exports.se_GetRoleCredentialsCommand = se_GetRoleCredentialsCommand;
23
- const se_ListAccountRolesCommand = async (input, context) => {
24
- const b = (0, core_1.requestBuilder)(input, context);
25
- const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
26
- [_xasbt]: input[_aT],
27
- });
28
- b.bp("/assignment/roles");
29
- const query = (0, smithy_client_1.map)({
30
- [_nt]: [, input[_nT]],
31
- [_mr]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
32
- [_ai]: [, (0, smithy_client_1.expectNonNull)(input[_aI], `accountId`)],
33
- });
34
- let body;
35
- b.m("GET").h(headers).q(query).b(body);
36
- return b.build();
37
- };
38
- exports.se_ListAccountRolesCommand = se_ListAccountRolesCommand;
39
- const se_ListAccountsCommand = async (input, context) => {
40
- const b = (0, core_1.requestBuilder)(input, context);
41
- const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
42
- [_xasbt]: input[_aT],
43
- });
44
- b.bp("/assignment/accounts");
45
- const query = (0, smithy_client_1.map)({
46
- [_nt]: [, input[_nT]],
47
- [_mr]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
48
- });
49
- let body;
50
- b.m("GET").h(headers).q(query).b(body);
51
- return b.build();
52
- };
53
- exports.se_ListAccountsCommand = se_ListAccountsCommand;
54
- const se_LogoutCommand = async (input, context) => {
55
- const b = (0, core_1.requestBuilder)(input, context);
56
- const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
57
- [_xasbt]: input[_aT],
58
- });
59
- b.bp("/logout");
60
- let body;
61
- b.m("POST").h(headers).b(body);
62
- return b.build();
63
- };
64
- exports.se_LogoutCommand = se_LogoutCommand;
65
- const de_GetRoleCredentialsCommand = async (output, context) => {
66
- if (output.statusCode !== 200 && output.statusCode >= 300) {
67
- return de_GetRoleCredentialsCommandError(output, context);
68
- }
69
- const contents = (0, smithy_client_1.map)({
70
- $metadata: deserializeMetadata(output),
71
- });
72
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
73
- const doc = (0, smithy_client_1.take)(data, {
74
- roleCredentials: smithy_client_1._json,
75
- });
76
- Object.assign(contents, doc);
77
- return contents;
78
- };
79
- exports.de_GetRoleCredentialsCommand = de_GetRoleCredentialsCommand;
80
- const de_GetRoleCredentialsCommandError = async (output, context) => {
81
- const parsedOutput = {
82
- ...output,
83
- body: await parseErrorBody(output.body, context),
84
- };
85
- const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
86
- switch (errorCode) {
87
- case "InvalidRequestException":
88
- case "com.amazonaws.sso#InvalidRequestException":
89
- throw await de_InvalidRequestExceptionRes(parsedOutput, context);
90
- case "ResourceNotFoundException":
91
- case "com.amazonaws.sso#ResourceNotFoundException":
92
- throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
93
- case "TooManyRequestsException":
94
- case "com.amazonaws.sso#TooManyRequestsException":
95
- throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
96
- case "UnauthorizedException":
97
- case "com.amazonaws.sso#UnauthorizedException":
98
- throw await de_UnauthorizedExceptionRes(parsedOutput, context);
99
- default:
100
- const parsedBody = parsedOutput.body;
101
- return throwDefaultError({
102
- output,
103
- parsedBody,
104
- errorCode,
105
- });
106
- }
107
- };
108
- const de_ListAccountRolesCommand = async (output, context) => {
109
- if (output.statusCode !== 200 && output.statusCode >= 300) {
110
- return de_ListAccountRolesCommandError(output, context);
111
- }
112
- const contents = (0, smithy_client_1.map)({
113
- $metadata: deserializeMetadata(output),
114
- });
115
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
116
- const doc = (0, smithy_client_1.take)(data, {
117
- nextToken: smithy_client_1.expectString,
118
- roleList: smithy_client_1._json,
119
- });
120
- Object.assign(contents, doc);
121
- return contents;
122
- };
123
- exports.de_ListAccountRolesCommand = de_ListAccountRolesCommand;
124
- const de_ListAccountRolesCommandError = async (output, context) => {
125
- const parsedOutput = {
126
- ...output,
127
- body: await parseErrorBody(output.body, context),
128
- };
129
- const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
130
- switch (errorCode) {
131
- case "InvalidRequestException":
132
- case "com.amazonaws.sso#InvalidRequestException":
133
- throw await de_InvalidRequestExceptionRes(parsedOutput, context);
134
- case "ResourceNotFoundException":
135
- case "com.amazonaws.sso#ResourceNotFoundException":
136
- throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
137
- case "TooManyRequestsException":
138
- case "com.amazonaws.sso#TooManyRequestsException":
139
- throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
140
- case "UnauthorizedException":
141
- case "com.amazonaws.sso#UnauthorizedException":
142
- throw await de_UnauthorizedExceptionRes(parsedOutput, context);
143
- default:
144
- const parsedBody = parsedOutput.body;
145
- return throwDefaultError({
146
- output,
147
- parsedBody,
148
- errorCode,
149
- });
150
- }
151
- };
152
- const de_ListAccountsCommand = async (output, context) => {
153
- if (output.statusCode !== 200 && output.statusCode >= 300) {
154
- return de_ListAccountsCommandError(output, context);
155
- }
156
- const contents = (0, smithy_client_1.map)({
157
- $metadata: deserializeMetadata(output),
158
- });
159
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
160
- const doc = (0, smithy_client_1.take)(data, {
161
- accountList: smithy_client_1._json,
162
- nextToken: smithy_client_1.expectString,
163
- });
164
- Object.assign(contents, doc);
165
- return contents;
166
- };
167
- exports.de_ListAccountsCommand = de_ListAccountsCommand;
168
- const de_ListAccountsCommandError = async (output, context) => {
169
- const parsedOutput = {
170
- ...output,
171
- body: await parseErrorBody(output.body, context),
172
- };
173
- const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
174
- switch (errorCode) {
175
- case "InvalidRequestException":
176
- case "com.amazonaws.sso#InvalidRequestException":
177
- throw await de_InvalidRequestExceptionRes(parsedOutput, context);
178
- case "ResourceNotFoundException":
179
- case "com.amazonaws.sso#ResourceNotFoundException":
180
- throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
181
- case "TooManyRequestsException":
182
- case "com.amazonaws.sso#TooManyRequestsException":
183
- throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
184
- case "UnauthorizedException":
185
- case "com.amazonaws.sso#UnauthorizedException":
186
- throw await de_UnauthorizedExceptionRes(parsedOutput, context);
187
- default:
188
- const parsedBody = parsedOutput.body;
189
- return throwDefaultError({
190
- output,
191
- parsedBody,
192
- errorCode,
193
- });
194
- }
195
- };
196
- const de_LogoutCommand = async (output, context) => {
197
- if (output.statusCode !== 200 && output.statusCode >= 300) {
198
- return de_LogoutCommandError(output, context);
199
- }
200
- const contents = (0, smithy_client_1.map)({
201
- $metadata: deserializeMetadata(output),
202
- });
203
- await (0, smithy_client_1.collectBody)(output.body, context);
204
- return contents;
205
- };
206
- exports.de_LogoutCommand = de_LogoutCommand;
207
- const de_LogoutCommandError = async (output, context) => {
208
- const parsedOutput = {
209
- ...output,
210
- body: await parseErrorBody(output.body, context),
211
- };
212
- const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
213
- switch (errorCode) {
214
- case "InvalidRequestException":
215
- case "com.amazonaws.sso#InvalidRequestException":
216
- throw await de_InvalidRequestExceptionRes(parsedOutput, context);
217
- case "TooManyRequestsException":
218
- case "com.amazonaws.sso#TooManyRequestsException":
219
- throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
220
- case "UnauthorizedException":
221
- case "com.amazonaws.sso#UnauthorizedException":
222
- throw await de_UnauthorizedExceptionRes(parsedOutput, context);
223
- default:
224
- const parsedBody = parsedOutput.body;
225
- return throwDefaultError({
226
- output,
227
- parsedBody,
228
- errorCode,
229
- });
230
- }
231
- };
232
- const throwDefaultError = (0, smithy_client_1.withBaseException)(SSOServiceException_1.SSOServiceException);
233
- const de_InvalidRequestExceptionRes = async (parsedOutput, context) => {
234
- const contents = (0, smithy_client_1.map)({});
235
- const data = parsedOutput.body;
236
- const doc = (0, smithy_client_1.take)(data, {
237
- message: smithy_client_1.expectString,
238
- });
239
- Object.assign(contents, doc);
240
- const exception = new models_0_1.InvalidRequestException({
241
- $metadata: deserializeMetadata(parsedOutput),
242
- ...contents,
243
- });
244
- return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
245
- };
246
- const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
247
- const contents = (0, smithy_client_1.map)({});
248
- const data = parsedOutput.body;
249
- const doc = (0, smithy_client_1.take)(data, {
250
- message: smithy_client_1.expectString,
251
- });
252
- Object.assign(contents, doc);
253
- const exception = new models_0_1.ResourceNotFoundException({
254
- $metadata: deserializeMetadata(parsedOutput),
255
- ...contents,
256
- });
257
- return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
258
- };
259
- const de_TooManyRequestsExceptionRes = async (parsedOutput, context) => {
260
- const contents = (0, smithy_client_1.map)({});
261
- const data = parsedOutput.body;
262
- const doc = (0, smithy_client_1.take)(data, {
263
- message: smithy_client_1.expectString,
264
- });
265
- Object.assign(contents, doc);
266
- const exception = new models_0_1.TooManyRequestsException({
267
- $metadata: deserializeMetadata(parsedOutput),
268
- ...contents,
269
- });
270
- return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
271
- };
272
- const de_UnauthorizedExceptionRes = async (parsedOutput, context) => {
273
- const contents = (0, smithy_client_1.map)({});
274
- const data = parsedOutput.body;
275
- const doc = (0, smithy_client_1.take)(data, {
276
- message: smithy_client_1.expectString,
277
- });
278
- Object.assign(contents, doc);
279
- const exception = new models_0_1.UnauthorizedException({
280
- $metadata: deserializeMetadata(parsedOutput),
281
- ...contents,
282
- });
283
- return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
284
- };
285
- const deserializeMetadata = (output) => ({
286
- httpStatusCode: output.statusCode,
287
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
288
- extendedRequestId: output.headers["x-amz-id-2"],
289
- cfId: output.headers["x-amz-cf-id"],
290
- });
291
- const collectBodyString = (streamBody, context) => (0, smithy_client_1.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body));
292
- const isSerializableHeaderValue = (value) => value !== undefined &&
293
- value !== null &&
294
- value !== "" &&
295
- (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
296
- (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
297
- const _aI = "accountId";
298
- const _aT = "accessToken";
299
- const _ai = "account_id";
300
- const _mR = "maxResults";
301
- const _mr = "max_result";
302
- const _nT = "nextToken";
303
- const _nt = "next_token";
304
- const _rN = "roleName";
305
- const _rn = "role_name";
306
- const _xasbt = "x-amz-sso_bearer_token";
307
- const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
308
- if (encoded.length) {
309
- return JSON.parse(encoded);
310
- }
311
- return {};
312
- });
313
- const parseErrorBody = async (errorBody, context) => {
314
- const value = await parseBody(errorBody, context);
315
- value.message = value.message ?? value.Message;
316
- return value;
317
- };
318
- const loadRestJsonErrorCode = (output, data) => {
319
- const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
320
- const sanitizeErrorCode = (rawValue) => {
321
- let cleanValue = rawValue;
322
- if (typeof cleanValue === "number") {
323
- cleanValue = cleanValue.toString();
324
- }
325
- if (cleanValue.indexOf(",") >= 0) {
326
- cleanValue = cleanValue.split(",")[0];
327
- }
328
- if (cleanValue.indexOf(":") >= 0) {
329
- cleanValue = cleanValue.split(":")[0];
330
- }
331
- if (cleanValue.indexOf("#") >= 0) {
332
- cleanValue = cleanValue.split("#")[1];
333
- }
334
- return cleanValue;
335
- };
336
- const headerKey = findKey(output.headers, "x-amzn-errortype");
337
- if (headerKey !== undefined) {
338
- return sanitizeErrorCode(output.headers[headerKey]);
339
- }
340
- if (data.code !== undefined) {
341
- return sanitizeErrorCode(data.code);
342
- }
343
- if (data["__type"] !== undefined) {
344
- return sanitizeErrorCode(data["__type"]);
345
- }
346
- };
1
+ module.exports = require("../index.js");
@@ -1,22 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.resolveRuntimeExtensions = void 0;
4
- const region_config_resolver_1 = require("@aws-sdk/region-config-resolver");
5
- const protocol_http_1 = require("@smithy/protocol-http");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- const asPartial = (t) => t;
8
- const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
9
- const extensionConfiguration = {
10
- ...asPartial((0, region_config_resolver_1.getAwsRegionExtensionConfiguration)(runtimeConfig)),
11
- ...asPartial((0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig)),
12
- ...asPartial((0, protocol_http_1.getHttpHandlerExtensionConfiguration)(runtimeConfig)),
13
- };
14
- extensions.forEach((extension) => extension.configure(extensionConfiguration));
15
- return {
16
- ...runtimeConfig,
17
- ...(0, region_config_resolver_1.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
18
- ...(0, smithy_client_1.resolveDefaultRuntimeConfig)(extensionConfiguration),
19
- ...(0, protocol_http_1.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
20
- };
21
- };
22
- exports.resolveRuntimeExtensions = resolveRuntimeExtensions;
1
+ module.exports = require("./index.js");
package/package.json CHANGED
@@ -1,10 +1,10 @@
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.490.0",
4
+ "version": "3.496.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
- "build:cjs": "tsc -p tsconfig.cjs.json",
7
+ "build:cjs": "node ../../scripts/compilation/inline client-sso",
8
8
  "build:es": "tsc -p tsconfig.es.json",
9
9
  "build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
10
10
  "build:types": "tsc -p tsconfig.types.json",
@@ -20,44 +20,44 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/core": "3.490.0",
24
- "@aws-sdk/middleware-host-header": "3.489.0",
25
- "@aws-sdk/middleware-logger": "3.489.0",
26
- "@aws-sdk/middleware-recursion-detection": "3.489.0",
27
- "@aws-sdk/middleware-user-agent": "3.489.0",
28
- "@aws-sdk/region-config-resolver": "3.489.0",
29
- "@aws-sdk/types": "3.489.0",
30
- "@aws-sdk/util-endpoints": "3.489.0",
31
- "@aws-sdk/util-user-agent-browser": "3.489.0",
32
- "@aws-sdk/util-user-agent-node": "3.489.0",
33
- "@smithy/config-resolver": "^2.0.23",
34
- "@smithy/core": "^1.2.2",
35
- "@smithy/fetch-http-handler": "^2.3.2",
36
- "@smithy/hash-node": "^2.0.18",
37
- "@smithy/invalid-dependency": "^2.0.16",
38
- "@smithy/middleware-content-length": "^2.0.18",
39
- "@smithy/middleware-endpoint": "^2.3.0",
40
- "@smithy/middleware-retry": "^2.0.26",
41
- "@smithy/middleware-serde": "^2.0.16",
42
- "@smithy/middleware-stack": "^2.0.10",
43
- "@smithy/node-config-provider": "^2.1.9",
44
- "@smithy/node-http-handler": "^2.2.2",
45
- "@smithy/protocol-http": "^3.0.12",
46
- "@smithy/smithy-client": "^2.2.1",
47
- "@smithy/types": "^2.8.0",
48
- "@smithy/url-parser": "^2.0.16",
49
- "@smithy/util-base64": "^2.0.1",
50
- "@smithy/util-body-length-browser": "^2.0.1",
51
- "@smithy/util-body-length-node": "^2.1.0",
52
- "@smithy/util-defaults-mode-browser": "^2.0.24",
53
- "@smithy/util-defaults-mode-node": "^2.0.32",
54
- "@smithy/util-endpoints": "^1.0.8",
55
- "@smithy/util-retry": "^2.0.9",
56
- "@smithy/util-utf8": "^2.0.2",
23
+ "@aws-sdk/core": "3.496.0",
24
+ "@aws-sdk/middleware-host-header": "3.496.0",
25
+ "@aws-sdk/middleware-logger": "3.496.0",
26
+ "@aws-sdk/middleware-recursion-detection": "3.496.0",
27
+ "@aws-sdk/middleware-user-agent": "3.496.0",
28
+ "@aws-sdk/region-config-resolver": "3.496.0",
29
+ "@aws-sdk/types": "3.496.0",
30
+ "@aws-sdk/util-endpoints": "3.496.0",
31
+ "@aws-sdk/util-user-agent-browser": "3.496.0",
32
+ "@aws-sdk/util-user-agent-node": "3.496.0",
33
+ "@smithy/config-resolver": "^2.1.1",
34
+ "@smithy/core": "^1.3.1",
35
+ "@smithy/fetch-http-handler": "^2.4.1",
36
+ "@smithy/hash-node": "^2.1.1",
37
+ "@smithy/invalid-dependency": "^2.1.1",
38
+ "@smithy/middleware-content-length": "^2.1.1",
39
+ "@smithy/middleware-endpoint": "^2.4.1",
40
+ "@smithy/middleware-retry": "^2.1.1",
41
+ "@smithy/middleware-serde": "^2.1.1",
42
+ "@smithy/middleware-stack": "^2.1.1",
43
+ "@smithy/node-config-provider": "^2.2.1",
44
+ "@smithy/node-http-handler": "^2.3.1",
45
+ "@smithy/protocol-http": "^3.1.1",
46
+ "@smithy/smithy-client": "^2.3.1",
47
+ "@smithy/types": "^2.9.1",
48
+ "@smithy/url-parser": "^2.1.1",
49
+ "@smithy/util-base64": "^2.1.1",
50
+ "@smithy/util-body-length-browser": "^2.1.1",
51
+ "@smithy/util-body-length-node": "^2.2.1",
52
+ "@smithy/util-defaults-mode-browser": "^2.1.1",
53
+ "@smithy/util-defaults-mode-node": "^2.1.1",
54
+ "@smithy/util-endpoints": "^1.1.1",
55
+ "@smithy/util-retry": "^2.1.1",
56
+ "@smithy/util-utf8": "^2.1.1",
57
57
  "tslib": "^2.5.0"
58
58
  },
59
59
  "devDependencies": {
60
- "@smithy/service-client-documentation-generator": "^2.0.0",
60
+ "@smithy/service-client-documentation-generator": "^2.1.1",
61
61
  "@tsconfig/node14": "1.0.3",
62
62
  "@types/node": "^14.14.31",
63
63
  "concurrently": "7.0.0",