@aws-sdk/client-sso-oidc 3.309.0 → 3.315.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/dist-cjs/protocols/Aws_restJson1.js +125 -172
- package/dist-es/protocols/Aws_restJson1.js +111 -158
- package/package.json +32 -32
|
@@ -12,16 +12,16 @@ const se_CreateTokenCommand = async (input, context) => {
|
|
|
12
12
|
};
|
|
13
13
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/token";
|
|
14
14
|
let body;
|
|
15
|
-
body = JSON.stringify({
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
});
|
|
15
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
16
|
+
clientId: [],
|
|
17
|
+
clientSecret: [],
|
|
18
|
+
code: [],
|
|
19
|
+
deviceCode: [],
|
|
20
|
+
grantType: [],
|
|
21
|
+
redirectUri: [],
|
|
22
|
+
refreshToken: [],
|
|
23
|
+
scope: (_) => (0, smithy_client_1._json)(_),
|
|
24
|
+
}));
|
|
25
25
|
return new protocol_http_1.HttpRequest({
|
|
26
26
|
protocol,
|
|
27
27
|
hostname,
|
|
@@ -40,11 +40,11 @@ const se_RegisterClientCommand = async (input, context) => {
|
|
|
40
40
|
};
|
|
41
41
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/client/register";
|
|
42
42
|
let body;
|
|
43
|
-
body = JSON.stringify({
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
});
|
|
43
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
44
|
+
clientName: [],
|
|
45
|
+
clientType: [],
|
|
46
|
+
scopes: (_) => (0, smithy_client_1._json)(_),
|
|
47
|
+
}));
|
|
48
48
|
return new protocol_http_1.HttpRequest({
|
|
49
49
|
protocol,
|
|
50
50
|
hostname,
|
|
@@ -63,11 +63,11 @@ const se_StartDeviceAuthorizationCommand = async (input, context) => {
|
|
|
63
63
|
};
|
|
64
64
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/device_authorization";
|
|
65
65
|
let body;
|
|
66
|
-
body = JSON.stringify({
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
});
|
|
66
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
67
|
+
clientId: [],
|
|
68
|
+
clientSecret: [],
|
|
69
|
+
startUrl: [],
|
|
70
|
+
}));
|
|
71
71
|
return new protocol_http_1.HttpRequest({
|
|
72
72
|
protocol,
|
|
73
73
|
hostname,
|
|
@@ -83,25 +83,18 @@ const de_CreateTokenCommand = async (output, context) => {
|
|
|
83
83
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
84
84
|
return de_CreateTokenCommandError(output, context);
|
|
85
85
|
}
|
|
86
|
-
const contents = map({
|
|
86
|
+
const contents = (0, smithy_client_1.map)({
|
|
87
87
|
$metadata: deserializeMetadata(output),
|
|
88
88
|
});
|
|
89
89
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
}
|
|
99
|
-
if (data.refreshToken != null) {
|
|
100
|
-
contents.refreshToken = (0, smithy_client_1.expectString)(data.refreshToken);
|
|
101
|
-
}
|
|
102
|
-
if (data.tokenType != null) {
|
|
103
|
-
contents.tokenType = (0, smithy_client_1.expectString)(data.tokenType);
|
|
104
|
-
}
|
|
90
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
91
|
+
accessToken: smithy_client_1.expectString,
|
|
92
|
+
expiresIn: smithy_client_1.expectInt32,
|
|
93
|
+
idToken: smithy_client_1.expectString,
|
|
94
|
+
refreshToken: smithy_client_1.expectString,
|
|
95
|
+
tokenType: smithy_client_1.expectString,
|
|
96
|
+
});
|
|
97
|
+
Object.assign(contents, doc);
|
|
105
98
|
return contents;
|
|
106
99
|
};
|
|
107
100
|
exports.de_CreateTokenCommand = de_CreateTokenCommand;
|
|
@@ -147,10 +140,9 @@ const de_CreateTokenCommandError = async (output, context) => {
|
|
|
147
140
|
throw await de_UnsupportedGrantTypeExceptionRes(parsedOutput, context);
|
|
148
141
|
default:
|
|
149
142
|
const parsedBody = parsedOutput.body;
|
|
150
|
-
|
|
143
|
+
return throwDefaultError({
|
|
151
144
|
output,
|
|
152
145
|
parsedBody,
|
|
153
|
-
exceptionCtor: SSOOIDCServiceException_1.SSOOIDCServiceException,
|
|
154
146
|
errorCode,
|
|
155
147
|
});
|
|
156
148
|
}
|
|
@@ -159,28 +151,19 @@ const de_RegisterClientCommand = async (output, context) => {
|
|
|
159
151
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
160
152
|
return de_RegisterClientCommandError(output, context);
|
|
161
153
|
}
|
|
162
|
-
const contents = map({
|
|
154
|
+
const contents = (0, smithy_client_1.map)({
|
|
163
155
|
$metadata: deserializeMetadata(output),
|
|
164
156
|
});
|
|
165
157
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
if (data.clientSecret != null) {
|
|
176
|
-
contents.clientSecret = (0, smithy_client_1.expectString)(data.clientSecret);
|
|
177
|
-
}
|
|
178
|
-
if (data.clientSecretExpiresAt != null) {
|
|
179
|
-
contents.clientSecretExpiresAt = (0, smithy_client_1.expectLong)(data.clientSecretExpiresAt);
|
|
180
|
-
}
|
|
181
|
-
if (data.tokenEndpoint != null) {
|
|
182
|
-
contents.tokenEndpoint = (0, smithy_client_1.expectString)(data.tokenEndpoint);
|
|
183
|
-
}
|
|
158
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
159
|
+
authorizationEndpoint: smithy_client_1.expectString,
|
|
160
|
+
clientId: smithy_client_1.expectString,
|
|
161
|
+
clientIdIssuedAt: smithy_client_1.expectLong,
|
|
162
|
+
clientSecret: smithy_client_1.expectString,
|
|
163
|
+
clientSecretExpiresAt: smithy_client_1.expectLong,
|
|
164
|
+
tokenEndpoint: smithy_client_1.expectString,
|
|
165
|
+
});
|
|
166
|
+
Object.assign(contents, doc);
|
|
184
167
|
return contents;
|
|
185
168
|
};
|
|
186
169
|
exports.de_RegisterClientCommand = de_RegisterClientCommand;
|
|
@@ -205,10 +188,9 @@ const de_RegisterClientCommandError = async (output, context) => {
|
|
|
205
188
|
throw await de_InvalidScopeExceptionRes(parsedOutput, context);
|
|
206
189
|
default:
|
|
207
190
|
const parsedBody = parsedOutput.body;
|
|
208
|
-
|
|
191
|
+
return throwDefaultError({
|
|
209
192
|
output,
|
|
210
193
|
parsedBody,
|
|
211
|
-
exceptionCtor: SSOOIDCServiceException_1.SSOOIDCServiceException,
|
|
212
194
|
errorCode,
|
|
213
195
|
});
|
|
214
196
|
}
|
|
@@ -217,28 +199,19 @@ const de_StartDeviceAuthorizationCommand = async (output, context) => {
|
|
|
217
199
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
218
200
|
return de_StartDeviceAuthorizationCommandError(output, context);
|
|
219
201
|
}
|
|
220
|
-
const contents = map({
|
|
202
|
+
const contents = (0, smithy_client_1.map)({
|
|
221
203
|
$metadata: deserializeMetadata(output),
|
|
222
204
|
});
|
|
223
205
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
if (data.userCode != null) {
|
|
234
|
-
contents.userCode = (0, smithy_client_1.expectString)(data.userCode);
|
|
235
|
-
}
|
|
236
|
-
if (data.verificationUri != null) {
|
|
237
|
-
contents.verificationUri = (0, smithy_client_1.expectString)(data.verificationUri);
|
|
238
|
-
}
|
|
239
|
-
if (data.verificationUriComplete != null) {
|
|
240
|
-
contents.verificationUriComplete = (0, smithy_client_1.expectString)(data.verificationUriComplete);
|
|
241
|
-
}
|
|
206
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
207
|
+
deviceCode: smithy_client_1.expectString,
|
|
208
|
+
expiresIn: smithy_client_1.expectInt32,
|
|
209
|
+
interval: smithy_client_1.expectInt32,
|
|
210
|
+
userCode: smithy_client_1.expectString,
|
|
211
|
+
verificationUri: smithy_client_1.expectString,
|
|
212
|
+
verificationUriComplete: smithy_client_1.expectString,
|
|
213
|
+
});
|
|
214
|
+
Object.assign(contents, doc);
|
|
242
215
|
return contents;
|
|
243
216
|
};
|
|
244
217
|
exports.de_StartDeviceAuthorizationCommand = de_StartDeviceAuthorizationCommand;
|
|
@@ -266,24 +239,22 @@ const de_StartDeviceAuthorizationCommandError = async (output, context) => {
|
|
|
266
239
|
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
267
240
|
default:
|
|
268
241
|
const parsedBody = parsedOutput.body;
|
|
269
|
-
|
|
242
|
+
return throwDefaultError({
|
|
270
243
|
output,
|
|
271
244
|
parsedBody,
|
|
272
|
-
exceptionCtor: SSOOIDCServiceException_1.SSOOIDCServiceException,
|
|
273
245
|
errorCode,
|
|
274
246
|
});
|
|
275
247
|
}
|
|
276
248
|
};
|
|
277
|
-
const
|
|
249
|
+
const throwDefaultError = (0, smithy_client_1.withBaseException)(SSOOIDCServiceException_1.SSOOIDCServiceException);
|
|
278
250
|
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
279
|
-
const contents = map({});
|
|
251
|
+
const contents = (0, smithy_client_1.map)({});
|
|
280
252
|
const data = parsedOutput.body;
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
}
|
|
253
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
254
|
+
error: smithy_client_1.expectString,
|
|
255
|
+
error_description: smithy_client_1.expectString,
|
|
256
|
+
});
|
|
257
|
+
Object.assign(contents, doc);
|
|
287
258
|
const exception = new models_0_1.AccessDeniedException({
|
|
288
259
|
$metadata: deserializeMetadata(parsedOutput),
|
|
289
260
|
...contents,
|
|
@@ -291,14 +262,13 @@ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
|
291
262
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
292
263
|
};
|
|
293
264
|
const de_AuthorizationPendingExceptionRes = async (parsedOutput, context) => {
|
|
294
|
-
const contents = map({});
|
|
265
|
+
const contents = (0, smithy_client_1.map)({});
|
|
295
266
|
const data = parsedOutput.body;
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
}
|
|
267
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
268
|
+
error: smithy_client_1.expectString,
|
|
269
|
+
error_description: smithy_client_1.expectString,
|
|
270
|
+
});
|
|
271
|
+
Object.assign(contents, doc);
|
|
302
272
|
const exception = new models_0_1.AuthorizationPendingException({
|
|
303
273
|
$metadata: deserializeMetadata(parsedOutput),
|
|
304
274
|
...contents,
|
|
@@ -306,14 +276,13 @@ const de_AuthorizationPendingExceptionRes = async (parsedOutput, context) => {
|
|
|
306
276
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
307
277
|
};
|
|
308
278
|
const de_ExpiredTokenExceptionRes = async (parsedOutput, context) => {
|
|
309
|
-
const contents = map({});
|
|
279
|
+
const contents = (0, smithy_client_1.map)({});
|
|
310
280
|
const data = parsedOutput.body;
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
}
|
|
281
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
282
|
+
error: smithy_client_1.expectString,
|
|
283
|
+
error_description: smithy_client_1.expectString,
|
|
284
|
+
});
|
|
285
|
+
Object.assign(contents, doc);
|
|
317
286
|
const exception = new models_0_1.ExpiredTokenException({
|
|
318
287
|
$metadata: deserializeMetadata(parsedOutput),
|
|
319
288
|
...contents,
|
|
@@ -321,14 +290,13 @@ const de_ExpiredTokenExceptionRes = async (parsedOutput, context) => {
|
|
|
321
290
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
322
291
|
};
|
|
323
292
|
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
324
|
-
const contents = map({});
|
|
293
|
+
const contents = (0, smithy_client_1.map)({});
|
|
325
294
|
const data = parsedOutput.body;
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
}
|
|
295
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
296
|
+
error: smithy_client_1.expectString,
|
|
297
|
+
error_description: smithy_client_1.expectString,
|
|
298
|
+
});
|
|
299
|
+
Object.assign(contents, doc);
|
|
332
300
|
const exception = new models_0_1.InternalServerException({
|
|
333
301
|
$metadata: deserializeMetadata(parsedOutput),
|
|
334
302
|
...contents,
|
|
@@ -336,14 +304,13 @@ const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
|
336
304
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
337
305
|
};
|
|
338
306
|
const de_InvalidClientExceptionRes = async (parsedOutput, context) => {
|
|
339
|
-
const contents = map({});
|
|
307
|
+
const contents = (0, smithy_client_1.map)({});
|
|
340
308
|
const data = parsedOutput.body;
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
}
|
|
309
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
310
|
+
error: smithy_client_1.expectString,
|
|
311
|
+
error_description: smithy_client_1.expectString,
|
|
312
|
+
});
|
|
313
|
+
Object.assign(contents, doc);
|
|
347
314
|
const exception = new models_0_1.InvalidClientException({
|
|
348
315
|
$metadata: deserializeMetadata(parsedOutput),
|
|
349
316
|
...contents,
|
|
@@ -351,14 +318,13 @@ const de_InvalidClientExceptionRes = async (parsedOutput, context) => {
|
|
|
351
318
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
352
319
|
};
|
|
353
320
|
const de_InvalidClientMetadataExceptionRes = async (parsedOutput, context) => {
|
|
354
|
-
const contents = map({});
|
|
321
|
+
const contents = (0, smithy_client_1.map)({});
|
|
355
322
|
const data = parsedOutput.body;
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
}
|
|
323
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
324
|
+
error: smithy_client_1.expectString,
|
|
325
|
+
error_description: smithy_client_1.expectString,
|
|
326
|
+
});
|
|
327
|
+
Object.assign(contents, doc);
|
|
362
328
|
const exception = new models_0_1.InvalidClientMetadataException({
|
|
363
329
|
$metadata: deserializeMetadata(parsedOutput),
|
|
364
330
|
...contents,
|
|
@@ -366,14 +332,13 @@ const de_InvalidClientMetadataExceptionRes = async (parsedOutput, context) => {
|
|
|
366
332
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
367
333
|
};
|
|
368
334
|
const de_InvalidGrantExceptionRes = async (parsedOutput, context) => {
|
|
369
|
-
const contents = map({});
|
|
335
|
+
const contents = (0, smithy_client_1.map)({});
|
|
370
336
|
const data = parsedOutput.body;
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
}
|
|
337
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
338
|
+
error: smithy_client_1.expectString,
|
|
339
|
+
error_description: smithy_client_1.expectString,
|
|
340
|
+
});
|
|
341
|
+
Object.assign(contents, doc);
|
|
377
342
|
const exception = new models_0_1.InvalidGrantException({
|
|
378
343
|
$metadata: deserializeMetadata(parsedOutput),
|
|
379
344
|
...contents,
|
|
@@ -381,14 +346,13 @@ const de_InvalidGrantExceptionRes = async (parsedOutput, context) => {
|
|
|
381
346
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
382
347
|
};
|
|
383
348
|
const de_InvalidRequestExceptionRes = async (parsedOutput, context) => {
|
|
384
|
-
const contents = map({});
|
|
349
|
+
const contents = (0, smithy_client_1.map)({});
|
|
385
350
|
const data = parsedOutput.body;
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
}
|
|
351
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
352
|
+
error: smithy_client_1.expectString,
|
|
353
|
+
error_description: smithy_client_1.expectString,
|
|
354
|
+
});
|
|
355
|
+
Object.assign(contents, doc);
|
|
392
356
|
const exception = new models_0_1.InvalidRequestException({
|
|
393
357
|
$metadata: deserializeMetadata(parsedOutput),
|
|
394
358
|
...contents,
|
|
@@ -396,14 +360,13 @@ const de_InvalidRequestExceptionRes = async (parsedOutput, context) => {
|
|
|
396
360
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
397
361
|
};
|
|
398
362
|
const de_InvalidScopeExceptionRes = async (parsedOutput, context) => {
|
|
399
|
-
const contents = map({});
|
|
363
|
+
const contents = (0, smithy_client_1.map)({});
|
|
400
364
|
const data = parsedOutput.body;
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
}
|
|
365
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
366
|
+
error: smithy_client_1.expectString,
|
|
367
|
+
error_description: smithy_client_1.expectString,
|
|
368
|
+
});
|
|
369
|
+
Object.assign(contents, doc);
|
|
407
370
|
const exception = new models_0_1.InvalidScopeException({
|
|
408
371
|
$metadata: deserializeMetadata(parsedOutput),
|
|
409
372
|
...contents,
|
|
@@ -411,14 +374,13 @@ const de_InvalidScopeExceptionRes = async (parsedOutput, context) => {
|
|
|
411
374
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
412
375
|
};
|
|
413
376
|
const de_SlowDownExceptionRes = async (parsedOutput, context) => {
|
|
414
|
-
const contents = map({});
|
|
377
|
+
const contents = (0, smithy_client_1.map)({});
|
|
415
378
|
const data = parsedOutput.body;
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
}
|
|
379
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
380
|
+
error: smithy_client_1.expectString,
|
|
381
|
+
error_description: smithy_client_1.expectString,
|
|
382
|
+
});
|
|
383
|
+
Object.assign(contents, doc);
|
|
422
384
|
const exception = new models_0_1.SlowDownException({
|
|
423
385
|
$metadata: deserializeMetadata(parsedOutput),
|
|
424
386
|
...contents,
|
|
@@ -426,14 +388,13 @@ const de_SlowDownExceptionRes = async (parsedOutput, context) => {
|
|
|
426
388
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
427
389
|
};
|
|
428
390
|
const de_UnauthorizedClientExceptionRes = async (parsedOutput, context) => {
|
|
429
|
-
const contents = map({});
|
|
391
|
+
const contents = (0, smithy_client_1.map)({});
|
|
430
392
|
const data = parsedOutput.body;
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
}
|
|
393
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
394
|
+
error: smithy_client_1.expectString,
|
|
395
|
+
error_description: smithy_client_1.expectString,
|
|
396
|
+
});
|
|
397
|
+
Object.assign(contents, doc);
|
|
437
398
|
const exception = new models_0_1.UnauthorizedClientException({
|
|
438
399
|
$metadata: deserializeMetadata(parsedOutput),
|
|
439
400
|
...contents,
|
|
@@ -441,27 +402,19 @@ const de_UnauthorizedClientExceptionRes = async (parsedOutput, context) => {
|
|
|
441
402
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
442
403
|
};
|
|
443
404
|
const de_UnsupportedGrantTypeExceptionRes = async (parsedOutput, context) => {
|
|
444
|
-
const contents = map({});
|
|
405
|
+
const contents = (0, smithy_client_1.map)({});
|
|
445
406
|
const data = parsedOutput.body;
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
}
|
|
407
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
408
|
+
error: smithy_client_1.expectString,
|
|
409
|
+
error_description: smithy_client_1.expectString,
|
|
410
|
+
});
|
|
411
|
+
Object.assign(contents, doc);
|
|
452
412
|
const exception = new models_0_1.UnsupportedGrantTypeException({
|
|
453
413
|
$metadata: deserializeMetadata(parsedOutput),
|
|
454
414
|
...contents,
|
|
455
415
|
});
|
|
456
416
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
457
417
|
};
|
|
458
|
-
const se_Scopes = (input, context) => {
|
|
459
|
-
return input
|
|
460
|
-
.filter((e) => e != null)
|
|
461
|
-
.map((entry) => {
|
|
462
|
-
return entry;
|
|
463
|
-
});
|
|
464
|
-
};
|
|
465
418
|
const deserializeMetadata = (output) => ({
|
|
466
419
|
httpStatusCode: output.statusCode,
|
|
467
420
|
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
2
|
-
import { decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, map
|
|
2
|
+
import { _json, decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, map, take, withBaseException, } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { AccessDeniedException, AuthorizationPendingException, ExpiredTokenException, InternalServerException, InvalidClientException, InvalidClientMetadataException, InvalidGrantException, InvalidRequestException, InvalidScopeException, SlowDownException, UnauthorizedClientException, UnsupportedGrantTypeException, } from "../models/models_0";
|
|
4
4
|
import { SSOOIDCServiceException as __BaseException } from "../models/SSOOIDCServiceException";
|
|
5
5
|
export const se_CreateTokenCommand = async (input, context) => {
|
|
@@ -9,16 +9,16 @@ export const se_CreateTokenCommand = async (input, context) => {
|
|
|
9
9
|
};
|
|
10
10
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/token";
|
|
11
11
|
let body;
|
|
12
|
-
body = JSON.stringify({
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
});
|
|
12
|
+
body = JSON.stringify(take(input, {
|
|
13
|
+
clientId: [],
|
|
14
|
+
clientSecret: [],
|
|
15
|
+
code: [],
|
|
16
|
+
deviceCode: [],
|
|
17
|
+
grantType: [],
|
|
18
|
+
redirectUri: [],
|
|
19
|
+
refreshToken: [],
|
|
20
|
+
scope: (_) => _json(_),
|
|
21
|
+
}));
|
|
22
22
|
return new __HttpRequest({
|
|
23
23
|
protocol,
|
|
24
24
|
hostname,
|
|
@@ -36,11 +36,11 @@ export const se_RegisterClientCommand = async (input, context) => {
|
|
|
36
36
|
};
|
|
37
37
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/client/register";
|
|
38
38
|
let body;
|
|
39
|
-
body = JSON.stringify({
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
});
|
|
39
|
+
body = JSON.stringify(take(input, {
|
|
40
|
+
clientName: [],
|
|
41
|
+
clientType: [],
|
|
42
|
+
scopes: (_) => _json(_),
|
|
43
|
+
}));
|
|
44
44
|
return new __HttpRequest({
|
|
45
45
|
protocol,
|
|
46
46
|
hostname,
|
|
@@ -58,11 +58,11 @@ export const se_StartDeviceAuthorizationCommand = async (input, context) => {
|
|
|
58
58
|
};
|
|
59
59
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/device_authorization";
|
|
60
60
|
let body;
|
|
61
|
-
body = JSON.stringify({
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
});
|
|
61
|
+
body = JSON.stringify(take(input, {
|
|
62
|
+
clientId: [],
|
|
63
|
+
clientSecret: [],
|
|
64
|
+
startUrl: [],
|
|
65
|
+
}));
|
|
66
66
|
return new __HttpRequest({
|
|
67
67
|
protocol,
|
|
68
68
|
hostname,
|
|
@@ -81,21 +81,14 @@ export const de_CreateTokenCommand = async (output, context) => {
|
|
|
81
81
|
$metadata: deserializeMetadata(output),
|
|
82
82
|
});
|
|
83
83
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
}
|
|
93
|
-
if (data.refreshToken != null) {
|
|
94
|
-
contents.refreshToken = __expectString(data.refreshToken);
|
|
95
|
-
}
|
|
96
|
-
if (data.tokenType != null) {
|
|
97
|
-
contents.tokenType = __expectString(data.tokenType);
|
|
98
|
-
}
|
|
84
|
+
const doc = take(data, {
|
|
85
|
+
accessToken: __expectString,
|
|
86
|
+
expiresIn: __expectInt32,
|
|
87
|
+
idToken: __expectString,
|
|
88
|
+
refreshToken: __expectString,
|
|
89
|
+
tokenType: __expectString,
|
|
90
|
+
});
|
|
91
|
+
Object.assign(contents, doc);
|
|
99
92
|
return contents;
|
|
100
93
|
};
|
|
101
94
|
const de_CreateTokenCommandError = async (output, context) => {
|
|
@@ -140,10 +133,9 @@ const de_CreateTokenCommandError = async (output, context) => {
|
|
|
140
133
|
throw await de_UnsupportedGrantTypeExceptionRes(parsedOutput, context);
|
|
141
134
|
default:
|
|
142
135
|
const parsedBody = parsedOutput.body;
|
|
143
|
-
throwDefaultError({
|
|
136
|
+
return throwDefaultError({
|
|
144
137
|
output,
|
|
145
138
|
parsedBody,
|
|
146
|
-
exceptionCtor: __BaseException,
|
|
147
139
|
errorCode,
|
|
148
140
|
});
|
|
149
141
|
}
|
|
@@ -156,24 +148,15 @@ export const de_RegisterClientCommand = async (output, context) => {
|
|
|
156
148
|
$metadata: deserializeMetadata(output),
|
|
157
149
|
});
|
|
158
150
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
if (data.clientSecret != null) {
|
|
169
|
-
contents.clientSecret = __expectString(data.clientSecret);
|
|
170
|
-
}
|
|
171
|
-
if (data.clientSecretExpiresAt != null) {
|
|
172
|
-
contents.clientSecretExpiresAt = __expectLong(data.clientSecretExpiresAt);
|
|
173
|
-
}
|
|
174
|
-
if (data.tokenEndpoint != null) {
|
|
175
|
-
contents.tokenEndpoint = __expectString(data.tokenEndpoint);
|
|
176
|
-
}
|
|
151
|
+
const doc = take(data, {
|
|
152
|
+
authorizationEndpoint: __expectString,
|
|
153
|
+
clientId: __expectString,
|
|
154
|
+
clientIdIssuedAt: __expectLong,
|
|
155
|
+
clientSecret: __expectString,
|
|
156
|
+
clientSecretExpiresAt: __expectLong,
|
|
157
|
+
tokenEndpoint: __expectString,
|
|
158
|
+
});
|
|
159
|
+
Object.assign(contents, doc);
|
|
177
160
|
return contents;
|
|
178
161
|
};
|
|
179
162
|
const de_RegisterClientCommandError = async (output, context) => {
|
|
@@ -197,10 +180,9 @@ const de_RegisterClientCommandError = async (output, context) => {
|
|
|
197
180
|
throw await de_InvalidScopeExceptionRes(parsedOutput, context);
|
|
198
181
|
default:
|
|
199
182
|
const parsedBody = parsedOutput.body;
|
|
200
|
-
throwDefaultError({
|
|
183
|
+
return throwDefaultError({
|
|
201
184
|
output,
|
|
202
185
|
parsedBody,
|
|
203
|
-
exceptionCtor: __BaseException,
|
|
204
186
|
errorCode,
|
|
205
187
|
});
|
|
206
188
|
}
|
|
@@ -213,24 +195,15 @@ export const de_StartDeviceAuthorizationCommand = async (output, context) => {
|
|
|
213
195
|
$metadata: deserializeMetadata(output),
|
|
214
196
|
});
|
|
215
197
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
if (data.userCode != null) {
|
|
226
|
-
contents.userCode = __expectString(data.userCode);
|
|
227
|
-
}
|
|
228
|
-
if (data.verificationUri != null) {
|
|
229
|
-
contents.verificationUri = __expectString(data.verificationUri);
|
|
230
|
-
}
|
|
231
|
-
if (data.verificationUriComplete != null) {
|
|
232
|
-
contents.verificationUriComplete = __expectString(data.verificationUriComplete);
|
|
233
|
-
}
|
|
198
|
+
const doc = take(data, {
|
|
199
|
+
deviceCode: __expectString,
|
|
200
|
+
expiresIn: __expectInt32,
|
|
201
|
+
interval: __expectInt32,
|
|
202
|
+
userCode: __expectString,
|
|
203
|
+
verificationUri: __expectString,
|
|
204
|
+
verificationUriComplete: __expectString,
|
|
205
|
+
});
|
|
206
|
+
Object.assign(contents, doc);
|
|
234
207
|
return contents;
|
|
235
208
|
};
|
|
236
209
|
const de_StartDeviceAuthorizationCommandError = async (output, context) => {
|
|
@@ -257,24 +230,22 @@ const de_StartDeviceAuthorizationCommandError = async (output, context) => {
|
|
|
257
230
|
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
258
231
|
default:
|
|
259
232
|
const parsedBody = parsedOutput.body;
|
|
260
|
-
throwDefaultError({
|
|
233
|
+
return throwDefaultError({
|
|
261
234
|
output,
|
|
262
235
|
parsedBody,
|
|
263
|
-
exceptionCtor: __BaseException,
|
|
264
236
|
errorCode,
|
|
265
237
|
});
|
|
266
238
|
}
|
|
267
239
|
};
|
|
268
|
-
const
|
|
240
|
+
const throwDefaultError = withBaseException(__BaseException);
|
|
269
241
|
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
270
242
|
const contents = map({});
|
|
271
243
|
const data = parsedOutput.body;
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
}
|
|
244
|
+
const doc = take(data, {
|
|
245
|
+
error: __expectString,
|
|
246
|
+
error_description: __expectString,
|
|
247
|
+
});
|
|
248
|
+
Object.assign(contents, doc);
|
|
278
249
|
const exception = new AccessDeniedException({
|
|
279
250
|
$metadata: deserializeMetadata(parsedOutput),
|
|
280
251
|
...contents,
|
|
@@ -284,12 +255,11 @@ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
|
284
255
|
const de_AuthorizationPendingExceptionRes = async (parsedOutput, context) => {
|
|
285
256
|
const contents = map({});
|
|
286
257
|
const data = parsedOutput.body;
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
}
|
|
258
|
+
const doc = take(data, {
|
|
259
|
+
error: __expectString,
|
|
260
|
+
error_description: __expectString,
|
|
261
|
+
});
|
|
262
|
+
Object.assign(contents, doc);
|
|
293
263
|
const exception = new AuthorizationPendingException({
|
|
294
264
|
$metadata: deserializeMetadata(parsedOutput),
|
|
295
265
|
...contents,
|
|
@@ -299,12 +269,11 @@ const de_AuthorizationPendingExceptionRes = async (parsedOutput, context) => {
|
|
|
299
269
|
const de_ExpiredTokenExceptionRes = async (parsedOutput, context) => {
|
|
300
270
|
const contents = map({});
|
|
301
271
|
const data = parsedOutput.body;
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
}
|
|
272
|
+
const doc = take(data, {
|
|
273
|
+
error: __expectString,
|
|
274
|
+
error_description: __expectString,
|
|
275
|
+
});
|
|
276
|
+
Object.assign(contents, doc);
|
|
308
277
|
const exception = new ExpiredTokenException({
|
|
309
278
|
$metadata: deserializeMetadata(parsedOutput),
|
|
310
279
|
...contents,
|
|
@@ -314,12 +283,11 @@ const de_ExpiredTokenExceptionRes = async (parsedOutput, context) => {
|
|
|
314
283
|
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
315
284
|
const contents = map({});
|
|
316
285
|
const data = parsedOutput.body;
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
}
|
|
286
|
+
const doc = take(data, {
|
|
287
|
+
error: __expectString,
|
|
288
|
+
error_description: __expectString,
|
|
289
|
+
});
|
|
290
|
+
Object.assign(contents, doc);
|
|
323
291
|
const exception = new InternalServerException({
|
|
324
292
|
$metadata: deserializeMetadata(parsedOutput),
|
|
325
293
|
...contents,
|
|
@@ -329,12 +297,11 @@ const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
|
329
297
|
const de_InvalidClientExceptionRes = async (parsedOutput, context) => {
|
|
330
298
|
const contents = map({});
|
|
331
299
|
const data = parsedOutput.body;
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
}
|
|
300
|
+
const doc = take(data, {
|
|
301
|
+
error: __expectString,
|
|
302
|
+
error_description: __expectString,
|
|
303
|
+
});
|
|
304
|
+
Object.assign(contents, doc);
|
|
338
305
|
const exception = new InvalidClientException({
|
|
339
306
|
$metadata: deserializeMetadata(parsedOutput),
|
|
340
307
|
...contents,
|
|
@@ -344,12 +311,11 @@ const de_InvalidClientExceptionRes = async (parsedOutput, context) => {
|
|
|
344
311
|
const de_InvalidClientMetadataExceptionRes = async (parsedOutput, context) => {
|
|
345
312
|
const contents = map({});
|
|
346
313
|
const data = parsedOutput.body;
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
}
|
|
314
|
+
const doc = take(data, {
|
|
315
|
+
error: __expectString,
|
|
316
|
+
error_description: __expectString,
|
|
317
|
+
});
|
|
318
|
+
Object.assign(contents, doc);
|
|
353
319
|
const exception = new InvalidClientMetadataException({
|
|
354
320
|
$metadata: deserializeMetadata(parsedOutput),
|
|
355
321
|
...contents,
|
|
@@ -359,12 +325,11 @@ const de_InvalidClientMetadataExceptionRes = async (parsedOutput, context) => {
|
|
|
359
325
|
const de_InvalidGrantExceptionRes = async (parsedOutput, context) => {
|
|
360
326
|
const contents = map({});
|
|
361
327
|
const data = parsedOutput.body;
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
}
|
|
328
|
+
const doc = take(data, {
|
|
329
|
+
error: __expectString,
|
|
330
|
+
error_description: __expectString,
|
|
331
|
+
});
|
|
332
|
+
Object.assign(contents, doc);
|
|
368
333
|
const exception = new InvalidGrantException({
|
|
369
334
|
$metadata: deserializeMetadata(parsedOutput),
|
|
370
335
|
...contents,
|
|
@@ -374,12 +339,11 @@ const de_InvalidGrantExceptionRes = async (parsedOutput, context) => {
|
|
|
374
339
|
const de_InvalidRequestExceptionRes = async (parsedOutput, context) => {
|
|
375
340
|
const contents = map({});
|
|
376
341
|
const data = parsedOutput.body;
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
}
|
|
342
|
+
const doc = take(data, {
|
|
343
|
+
error: __expectString,
|
|
344
|
+
error_description: __expectString,
|
|
345
|
+
});
|
|
346
|
+
Object.assign(contents, doc);
|
|
383
347
|
const exception = new InvalidRequestException({
|
|
384
348
|
$metadata: deserializeMetadata(parsedOutput),
|
|
385
349
|
...contents,
|
|
@@ -389,12 +353,11 @@ const de_InvalidRequestExceptionRes = async (parsedOutput, context) => {
|
|
|
389
353
|
const de_InvalidScopeExceptionRes = async (parsedOutput, context) => {
|
|
390
354
|
const contents = map({});
|
|
391
355
|
const data = parsedOutput.body;
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
}
|
|
356
|
+
const doc = take(data, {
|
|
357
|
+
error: __expectString,
|
|
358
|
+
error_description: __expectString,
|
|
359
|
+
});
|
|
360
|
+
Object.assign(contents, doc);
|
|
398
361
|
const exception = new InvalidScopeException({
|
|
399
362
|
$metadata: deserializeMetadata(parsedOutput),
|
|
400
363
|
...contents,
|
|
@@ -404,12 +367,11 @@ const de_InvalidScopeExceptionRes = async (parsedOutput, context) => {
|
|
|
404
367
|
const de_SlowDownExceptionRes = async (parsedOutput, context) => {
|
|
405
368
|
const contents = map({});
|
|
406
369
|
const data = parsedOutput.body;
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
}
|
|
370
|
+
const doc = take(data, {
|
|
371
|
+
error: __expectString,
|
|
372
|
+
error_description: __expectString,
|
|
373
|
+
});
|
|
374
|
+
Object.assign(contents, doc);
|
|
413
375
|
const exception = new SlowDownException({
|
|
414
376
|
$metadata: deserializeMetadata(parsedOutput),
|
|
415
377
|
...contents,
|
|
@@ -419,12 +381,11 @@ const de_SlowDownExceptionRes = async (parsedOutput, context) => {
|
|
|
419
381
|
const de_UnauthorizedClientExceptionRes = async (parsedOutput, context) => {
|
|
420
382
|
const contents = map({});
|
|
421
383
|
const data = parsedOutput.body;
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
}
|
|
384
|
+
const doc = take(data, {
|
|
385
|
+
error: __expectString,
|
|
386
|
+
error_description: __expectString,
|
|
387
|
+
});
|
|
388
|
+
Object.assign(contents, doc);
|
|
428
389
|
const exception = new UnauthorizedClientException({
|
|
429
390
|
$metadata: deserializeMetadata(parsedOutput),
|
|
430
391
|
...contents,
|
|
@@ -434,25 +395,17 @@ const de_UnauthorizedClientExceptionRes = async (parsedOutput, context) => {
|
|
|
434
395
|
const de_UnsupportedGrantTypeExceptionRes = async (parsedOutput, context) => {
|
|
435
396
|
const contents = map({});
|
|
436
397
|
const data = parsedOutput.body;
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
}
|
|
398
|
+
const doc = take(data, {
|
|
399
|
+
error: __expectString,
|
|
400
|
+
error_description: __expectString,
|
|
401
|
+
});
|
|
402
|
+
Object.assign(contents, doc);
|
|
443
403
|
const exception = new UnsupportedGrantTypeException({
|
|
444
404
|
$metadata: deserializeMetadata(parsedOutput),
|
|
445
405
|
...contents,
|
|
446
406
|
});
|
|
447
407
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
448
408
|
};
|
|
449
|
-
const se_Scopes = (input, context) => {
|
|
450
|
-
return input
|
|
451
|
-
.filter((e) => e != null)
|
|
452
|
-
.map((entry) => {
|
|
453
|
-
return entry;
|
|
454
|
-
});
|
|
455
|
-
};
|
|
456
409
|
const deserializeMetadata = (output) => ({
|
|
457
410
|
httpStatusCode: output.statusCode,
|
|
458
411
|
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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.
|
|
4
|
+
"version": "3.315.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,39 +21,39 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/config-resolver": "3.
|
|
25
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
26
|
-
"@aws-sdk/hash-node": "3.
|
|
27
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
28
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
29
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
30
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
31
|
-
"@aws-sdk/middleware-logger": "3.
|
|
32
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
33
|
-
"@aws-sdk/middleware-retry": "3.
|
|
34
|
-
"@aws-sdk/middleware-serde": "3.
|
|
35
|
-
"@aws-sdk/middleware-stack": "3.
|
|
36
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
37
|
-
"@aws-sdk/node-config-provider": "3.
|
|
38
|
-
"@aws-sdk/node-http-handler": "3.
|
|
39
|
-
"@aws-sdk/protocol-http": "3.
|
|
40
|
-
"@aws-sdk/smithy-client": "3.
|
|
41
|
-
"@aws-sdk/types": "3.
|
|
42
|
-
"@aws-sdk/url-parser": "3.
|
|
43
|
-
"@aws-sdk/util-base64": "3.
|
|
44
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
45
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
47
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
48
|
-
"@aws-sdk/util-endpoints": "3.
|
|
49
|
-
"@aws-sdk/util-retry": "3.
|
|
50
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
51
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
52
|
-
"@aws-sdk/util-utf8": "3.
|
|
24
|
+
"@aws-sdk/config-resolver": "3.310.0",
|
|
25
|
+
"@aws-sdk/fetch-http-handler": "3.310.0",
|
|
26
|
+
"@aws-sdk/hash-node": "3.310.0",
|
|
27
|
+
"@aws-sdk/invalid-dependency": "3.310.0",
|
|
28
|
+
"@aws-sdk/middleware-content-length": "3.310.0",
|
|
29
|
+
"@aws-sdk/middleware-endpoint": "3.310.0",
|
|
30
|
+
"@aws-sdk/middleware-host-header": "3.310.0",
|
|
31
|
+
"@aws-sdk/middleware-logger": "3.310.0",
|
|
32
|
+
"@aws-sdk/middleware-recursion-detection": "3.310.0",
|
|
33
|
+
"@aws-sdk/middleware-retry": "3.310.0",
|
|
34
|
+
"@aws-sdk/middleware-serde": "3.310.0",
|
|
35
|
+
"@aws-sdk/middleware-stack": "3.310.0",
|
|
36
|
+
"@aws-sdk/middleware-user-agent": "3.310.0",
|
|
37
|
+
"@aws-sdk/node-config-provider": "3.310.0",
|
|
38
|
+
"@aws-sdk/node-http-handler": "3.310.0",
|
|
39
|
+
"@aws-sdk/protocol-http": "3.310.0",
|
|
40
|
+
"@aws-sdk/smithy-client": "3.315.0",
|
|
41
|
+
"@aws-sdk/types": "3.310.0",
|
|
42
|
+
"@aws-sdk/url-parser": "3.310.0",
|
|
43
|
+
"@aws-sdk/util-base64": "3.310.0",
|
|
44
|
+
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
45
|
+
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-browser": "3.315.0",
|
|
47
|
+
"@aws-sdk/util-defaults-mode-node": "3.315.0",
|
|
48
|
+
"@aws-sdk/util-endpoints": "3.310.0",
|
|
49
|
+
"@aws-sdk/util-retry": "3.310.0",
|
|
50
|
+
"@aws-sdk/util-user-agent-browser": "3.310.0",
|
|
51
|
+
"@aws-sdk/util-user-agent-node": "3.310.0",
|
|
52
|
+
"@aws-sdk/util-utf8": "3.310.0",
|
|
53
53
|
"tslib": "^2.5.0"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
56
|
+
"@aws-sdk/service-client-documentation-generator": "3.310.0",
|
|
57
57
|
"@tsconfig/node14": "1.0.3",
|
|
58
58
|
"@types/node": "^14.14.31",
|
|
59
59
|
"concurrently": "7.0.0",
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
}
|
|
74
74
|
},
|
|
75
75
|
"files": [
|
|
76
|
-
"dist
|
|
76
|
+
"dist-*/**"
|
|
77
77
|
],
|
|
78
78
|
"author": {
|
|
79
79
|
"name": "AWS SDK for JavaScript Team",
|