@aws-sdk/client-macie2 3.200.0 → 3.201.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 +11 -0
- package/dist-cjs/endpoint/EndpointParameters.js +2 -3
- package/dist-cjs/protocols/Aws_restJson1.js +81 -93
- package/dist-cjs/runtimeConfig.browser.js +16 -16
- package/dist-cjs/runtimeConfig.js +20 -19
- package/dist-cjs/runtimeConfig.native.js +1 -2
- package/dist-cjs/runtimeConfig.shared.js +8 -11
- package/package.json +34 -34
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
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.201.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.200.0...v3.201.0) (2022-11-01)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* end support for Node.js 12.x ([#4123](https://github.com/aws/aws-sdk-js-v3/issues/4123)) ([83f913e](https://github.com/aws/aws-sdk-js-v3/commit/83f913ec2ac3878d8726c6964f585550dc5caf3e))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.200.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.199.0...v3.200.0) (2022-10-31)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @aws-sdk/client-macie2
|
|
@@ -2,11 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.resolveClientEndpointParameters = void 0;
|
|
4
4
|
const resolveClientEndpointParameters = (options) => {
|
|
5
|
-
var _a, _b;
|
|
6
5
|
return {
|
|
7
6
|
...options,
|
|
8
|
-
useDualstackEndpoint:
|
|
9
|
-
useFipsEndpoint:
|
|
7
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
8
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
10
9
|
defaultSigningName: "macie2",
|
|
11
10
|
};
|
|
12
11
|
};
|
|
@@ -13,7 +13,7 @@ const serializeAws_restJson1AcceptInvitationCommand = async (input, context) =>
|
|
|
13
13
|
const headers = {
|
|
14
14
|
"content-type": "application/json",
|
|
15
15
|
};
|
|
16
|
-
const resolvedPath = `${
|
|
16
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/invitations/accept";
|
|
17
17
|
let body;
|
|
18
18
|
body = JSON.stringify({
|
|
19
19
|
...(input.administratorAccountId != null && { administratorAccountId: input.administratorAccountId }),
|
|
@@ -36,7 +36,7 @@ const serializeAws_restJson1BatchGetCustomDataIdentifiersCommand = async (input,
|
|
|
36
36
|
const headers = {
|
|
37
37
|
"content-type": "application/json",
|
|
38
38
|
};
|
|
39
|
-
const resolvedPath = `${
|
|
39
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/custom-data-identifiers/get";
|
|
40
40
|
let body;
|
|
41
41
|
body = JSON.stringify({
|
|
42
42
|
...(input.ids != null && { ids: serializeAws_restJson1__listOf__string(input.ids, context) }),
|
|
@@ -53,15 +53,14 @@ const serializeAws_restJson1BatchGetCustomDataIdentifiersCommand = async (input,
|
|
|
53
53
|
};
|
|
54
54
|
exports.serializeAws_restJson1BatchGetCustomDataIdentifiersCommand = serializeAws_restJson1BatchGetCustomDataIdentifiersCommand;
|
|
55
55
|
const serializeAws_restJson1CreateAllowListCommand = async (input, context) => {
|
|
56
|
-
var _a;
|
|
57
56
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
58
57
|
const headers = {
|
|
59
58
|
"content-type": "application/json",
|
|
60
59
|
};
|
|
61
|
-
const resolvedPath = `${
|
|
60
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/allow-lists";
|
|
62
61
|
let body;
|
|
63
62
|
body = JSON.stringify({
|
|
64
|
-
clientToken:
|
|
63
|
+
clientToken: input.clientToken ?? (0, uuid_1.v4)(),
|
|
65
64
|
...(input.criteria != null && { criteria: serializeAws_restJson1AllowListCriteria(input.criteria, context) }),
|
|
66
65
|
...(input.description != null && { description: input.description }),
|
|
67
66
|
...(input.name != null && { name: input.name }),
|
|
@@ -79,18 +78,17 @@ const serializeAws_restJson1CreateAllowListCommand = async (input, context) => {
|
|
|
79
78
|
};
|
|
80
79
|
exports.serializeAws_restJson1CreateAllowListCommand = serializeAws_restJson1CreateAllowListCommand;
|
|
81
80
|
const serializeAws_restJson1CreateClassificationJobCommand = async (input, context) => {
|
|
82
|
-
var _a;
|
|
83
81
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
84
82
|
const headers = {
|
|
85
83
|
"content-type": "application/json",
|
|
86
84
|
};
|
|
87
|
-
const resolvedPath = `${
|
|
85
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/jobs";
|
|
88
86
|
let body;
|
|
89
87
|
body = JSON.stringify({
|
|
90
88
|
...(input.allowListIds != null && {
|
|
91
89
|
allowListIds: serializeAws_restJson1__listOf__string(input.allowListIds, context),
|
|
92
90
|
}),
|
|
93
|
-
clientToken:
|
|
91
|
+
clientToken: input.clientToken ?? (0, uuid_1.v4)(),
|
|
94
92
|
...(input.customDataIdentifierIds != null && {
|
|
95
93
|
customDataIdentifierIds: serializeAws_restJson1__listOf__string(input.customDataIdentifierIds, context),
|
|
96
94
|
}),
|
|
@@ -125,15 +123,14 @@ const serializeAws_restJson1CreateClassificationJobCommand = async (input, conte
|
|
|
125
123
|
};
|
|
126
124
|
exports.serializeAws_restJson1CreateClassificationJobCommand = serializeAws_restJson1CreateClassificationJobCommand;
|
|
127
125
|
const serializeAws_restJson1CreateCustomDataIdentifierCommand = async (input, context) => {
|
|
128
|
-
var _a;
|
|
129
126
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
130
127
|
const headers = {
|
|
131
128
|
"content-type": "application/json",
|
|
132
129
|
};
|
|
133
|
-
const resolvedPath = `${
|
|
130
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/custom-data-identifiers";
|
|
134
131
|
let body;
|
|
135
132
|
body = JSON.stringify({
|
|
136
|
-
clientToken:
|
|
133
|
+
clientToken: input.clientToken ?? (0, uuid_1.v4)(),
|
|
137
134
|
...(input.description != null && { description: input.description }),
|
|
138
135
|
...(input.ignoreWords != null && {
|
|
139
136
|
ignoreWords: serializeAws_restJson1__listOf__string(input.ignoreWords, context),
|
|
@@ -159,16 +156,15 @@ const serializeAws_restJson1CreateCustomDataIdentifierCommand = async (input, co
|
|
|
159
156
|
};
|
|
160
157
|
exports.serializeAws_restJson1CreateCustomDataIdentifierCommand = serializeAws_restJson1CreateCustomDataIdentifierCommand;
|
|
161
158
|
const serializeAws_restJson1CreateFindingsFilterCommand = async (input, context) => {
|
|
162
|
-
var _a;
|
|
163
159
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
164
160
|
const headers = {
|
|
165
161
|
"content-type": "application/json",
|
|
166
162
|
};
|
|
167
|
-
const resolvedPath = `${
|
|
163
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/findingsfilters";
|
|
168
164
|
let body;
|
|
169
165
|
body = JSON.stringify({
|
|
170
166
|
...(input.action != null && { action: input.action }),
|
|
171
|
-
clientToken:
|
|
167
|
+
clientToken: input.clientToken ?? (0, uuid_1.v4)(),
|
|
172
168
|
...(input.description != null && { description: input.description }),
|
|
173
169
|
...(input.findingCriteria != null && {
|
|
174
170
|
findingCriteria: serializeAws_restJson1FindingCriteria(input.findingCriteria, context),
|
|
@@ -193,7 +189,7 @@ const serializeAws_restJson1CreateInvitationsCommand = async (input, context) =>
|
|
|
193
189
|
const headers = {
|
|
194
190
|
"content-type": "application/json",
|
|
195
191
|
};
|
|
196
|
-
const resolvedPath = `${
|
|
192
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/invitations";
|
|
197
193
|
let body;
|
|
198
194
|
body = JSON.stringify({
|
|
199
195
|
...(input.accountIds != null && { accountIds: serializeAws_restJson1__listOf__string(input.accountIds, context) }),
|
|
@@ -216,7 +212,7 @@ const serializeAws_restJson1CreateMemberCommand = async (input, context) => {
|
|
|
216
212
|
const headers = {
|
|
217
213
|
"content-type": "application/json",
|
|
218
214
|
};
|
|
219
|
-
const resolvedPath = `${
|
|
215
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/members";
|
|
220
216
|
let body;
|
|
221
217
|
body = JSON.stringify({
|
|
222
218
|
...(input.account != null && { account: serializeAws_restJson1AccountDetail(input.account, context) }),
|
|
@@ -238,7 +234,7 @@ const serializeAws_restJson1CreateSampleFindingsCommand = async (input, context)
|
|
|
238
234
|
const headers = {
|
|
239
235
|
"content-type": "application/json",
|
|
240
236
|
};
|
|
241
|
-
const resolvedPath = `${
|
|
237
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/findings/sample";
|
|
242
238
|
let body;
|
|
243
239
|
body = JSON.stringify({
|
|
244
240
|
...(input.findingTypes != null && {
|
|
@@ -261,7 +257,7 @@ const serializeAws_restJson1DeclineInvitationsCommand = async (input, context) =
|
|
|
261
257
|
const headers = {
|
|
262
258
|
"content-type": "application/json",
|
|
263
259
|
};
|
|
264
|
-
const resolvedPath = `${
|
|
260
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/invitations/decline";
|
|
265
261
|
let body;
|
|
266
262
|
body = JSON.stringify({
|
|
267
263
|
...(input.accountIds != null && { accountIds: serializeAws_restJson1__listOf__string(input.accountIds, context) }),
|
|
@@ -280,7 +276,7 @@ exports.serializeAws_restJson1DeclineInvitationsCommand = serializeAws_restJson1
|
|
|
280
276
|
const serializeAws_restJson1DeleteAllowListCommand = async (input, context) => {
|
|
281
277
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
282
278
|
const headers = {};
|
|
283
|
-
let resolvedPath = `${
|
|
279
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/allow-lists/{id}";
|
|
284
280
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "id", () => input.id, "{id}", false);
|
|
285
281
|
const query = map({
|
|
286
282
|
ignoreJobChecks: [, input.ignoreJobChecks],
|
|
@@ -301,7 +297,7 @@ exports.serializeAws_restJson1DeleteAllowListCommand = serializeAws_restJson1Del
|
|
|
301
297
|
const serializeAws_restJson1DeleteCustomDataIdentifierCommand = async (input, context) => {
|
|
302
298
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
303
299
|
const headers = {};
|
|
304
|
-
let resolvedPath = `${
|
|
300
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/custom-data-identifiers/{id}";
|
|
305
301
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "id", () => input.id, "{id}", false);
|
|
306
302
|
let body;
|
|
307
303
|
return new protocol_http_1.HttpRequest({
|
|
@@ -318,7 +314,7 @@ exports.serializeAws_restJson1DeleteCustomDataIdentifierCommand = serializeAws_r
|
|
|
318
314
|
const serializeAws_restJson1DeleteFindingsFilterCommand = async (input, context) => {
|
|
319
315
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
320
316
|
const headers = {};
|
|
321
|
-
let resolvedPath = `${
|
|
317
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/findingsfilters/{id}";
|
|
322
318
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "id", () => input.id, "{id}", false);
|
|
323
319
|
let body;
|
|
324
320
|
return new protocol_http_1.HttpRequest({
|
|
@@ -337,7 +333,7 @@ const serializeAws_restJson1DeleteInvitationsCommand = async (input, context) =>
|
|
|
337
333
|
const headers = {
|
|
338
334
|
"content-type": "application/json",
|
|
339
335
|
};
|
|
340
|
-
const resolvedPath = `${
|
|
336
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/invitations/delete";
|
|
341
337
|
let body;
|
|
342
338
|
body = JSON.stringify({
|
|
343
339
|
...(input.accountIds != null && { accountIds: serializeAws_restJson1__listOf__string(input.accountIds, context) }),
|
|
@@ -356,7 +352,7 @@ exports.serializeAws_restJson1DeleteInvitationsCommand = serializeAws_restJson1D
|
|
|
356
352
|
const serializeAws_restJson1DeleteMemberCommand = async (input, context) => {
|
|
357
353
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
358
354
|
const headers = {};
|
|
359
|
-
let resolvedPath = `${
|
|
355
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/members/{id}";
|
|
360
356
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "id", () => input.id, "{id}", false);
|
|
361
357
|
let body;
|
|
362
358
|
return new protocol_http_1.HttpRequest({
|
|
@@ -375,7 +371,7 @@ const serializeAws_restJson1DescribeBucketsCommand = async (input, context) => {
|
|
|
375
371
|
const headers = {
|
|
376
372
|
"content-type": "application/json",
|
|
377
373
|
};
|
|
378
|
-
const resolvedPath = `${
|
|
374
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/datasources/s3";
|
|
379
375
|
let body;
|
|
380
376
|
body = JSON.stringify({
|
|
381
377
|
...(input.criteria != null && { criteria: serializeAws_restJson1BucketCriteria(input.criteria, context) }),
|
|
@@ -399,7 +395,7 @@ exports.serializeAws_restJson1DescribeBucketsCommand = serializeAws_restJson1Des
|
|
|
399
395
|
const serializeAws_restJson1DescribeClassificationJobCommand = async (input, context) => {
|
|
400
396
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
401
397
|
const headers = {};
|
|
402
|
-
let resolvedPath = `${
|
|
398
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/jobs/{jobId}";
|
|
403
399
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "jobId", () => input.jobId, "{jobId}", false);
|
|
404
400
|
let body;
|
|
405
401
|
return new protocol_http_1.HttpRequest({
|
|
@@ -418,7 +414,7 @@ const serializeAws_restJson1DescribeOrganizationConfigurationCommand = async (in
|
|
|
418
414
|
const headers = {
|
|
419
415
|
"content-type": "application/json",
|
|
420
416
|
};
|
|
421
|
-
const resolvedPath = `${
|
|
417
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/admin/configuration";
|
|
422
418
|
let body;
|
|
423
419
|
body = "";
|
|
424
420
|
return new protocol_http_1.HttpRequest({
|
|
@@ -437,7 +433,7 @@ const serializeAws_restJson1DisableMacieCommand = async (input, context) => {
|
|
|
437
433
|
const headers = {
|
|
438
434
|
"content-type": "application/json",
|
|
439
435
|
};
|
|
440
|
-
const resolvedPath = `${
|
|
436
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/macie";
|
|
441
437
|
let body;
|
|
442
438
|
body = "";
|
|
443
439
|
return new protocol_http_1.HttpRequest({
|
|
@@ -454,7 +450,7 @@ exports.serializeAws_restJson1DisableMacieCommand = serializeAws_restJson1Disabl
|
|
|
454
450
|
const serializeAws_restJson1DisableOrganizationAdminAccountCommand = async (input, context) => {
|
|
455
451
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
456
452
|
const headers = {};
|
|
457
|
-
const resolvedPath = `${
|
|
453
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/admin";
|
|
458
454
|
const query = map({
|
|
459
455
|
adminAccountId: [, input.adminAccountId],
|
|
460
456
|
});
|
|
@@ -476,7 +472,7 @@ const serializeAws_restJson1DisassociateFromAdministratorAccountCommand = async
|
|
|
476
472
|
const headers = {
|
|
477
473
|
"content-type": "application/json",
|
|
478
474
|
};
|
|
479
|
-
const resolvedPath = `${
|
|
475
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/administrator/disassociate";
|
|
480
476
|
let body;
|
|
481
477
|
body = "";
|
|
482
478
|
return new protocol_http_1.HttpRequest({
|
|
@@ -495,7 +491,7 @@ const serializeAws_restJson1DisassociateFromMasterAccountCommand = async (input,
|
|
|
495
491
|
const headers = {
|
|
496
492
|
"content-type": "application/json",
|
|
497
493
|
};
|
|
498
|
-
const resolvedPath = `${
|
|
494
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/master/disassociate";
|
|
499
495
|
let body;
|
|
500
496
|
body = "";
|
|
501
497
|
return new protocol_http_1.HttpRequest({
|
|
@@ -512,7 +508,7 @@ exports.serializeAws_restJson1DisassociateFromMasterAccountCommand = serializeAw
|
|
|
512
508
|
const serializeAws_restJson1DisassociateMemberCommand = async (input, context) => {
|
|
513
509
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
514
510
|
const headers = {};
|
|
515
|
-
let resolvedPath = `${
|
|
511
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/members/disassociate/{id}";
|
|
516
512
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "id", () => input.id, "{id}", false);
|
|
517
513
|
let body;
|
|
518
514
|
return new protocol_http_1.HttpRequest({
|
|
@@ -527,15 +523,14 @@ const serializeAws_restJson1DisassociateMemberCommand = async (input, context) =
|
|
|
527
523
|
};
|
|
528
524
|
exports.serializeAws_restJson1DisassociateMemberCommand = serializeAws_restJson1DisassociateMemberCommand;
|
|
529
525
|
const serializeAws_restJson1EnableMacieCommand = async (input, context) => {
|
|
530
|
-
var _a;
|
|
531
526
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
532
527
|
const headers = {
|
|
533
528
|
"content-type": "application/json",
|
|
534
529
|
};
|
|
535
|
-
const resolvedPath = `${
|
|
530
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/macie";
|
|
536
531
|
let body;
|
|
537
532
|
body = JSON.stringify({
|
|
538
|
-
clientToken:
|
|
533
|
+
clientToken: input.clientToken ?? (0, uuid_1.v4)(),
|
|
539
534
|
...(input.findingPublishingFrequency != null && { findingPublishingFrequency: input.findingPublishingFrequency }),
|
|
540
535
|
...(input.status != null && { status: input.status }),
|
|
541
536
|
});
|
|
@@ -551,16 +546,15 @@ const serializeAws_restJson1EnableMacieCommand = async (input, context) => {
|
|
|
551
546
|
};
|
|
552
547
|
exports.serializeAws_restJson1EnableMacieCommand = serializeAws_restJson1EnableMacieCommand;
|
|
553
548
|
const serializeAws_restJson1EnableOrganizationAdminAccountCommand = async (input, context) => {
|
|
554
|
-
var _a;
|
|
555
549
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
556
550
|
const headers = {
|
|
557
551
|
"content-type": "application/json",
|
|
558
552
|
};
|
|
559
|
-
const resolvedPath = `${
|
|
553
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/admin";
|
|
560
554
|
let body;
|
|
561
555
|
body = JSON.stringify({
|
|
562
556
|
...(input.adminAccountId != null && { adminAccountId: input.adminAccountId }),
|
|
563
|
-
clientToken:
|
|
557
|
+
clientToken: input.clientToken ?? (0, uuid_1.v4)(),
|
|
564
558
|
});
|
|
565
559
|
return new protocol_http_1.HttpRequest({
|
|
566
560
|
protocol,
|
|
@@ -578,7 +572,7 @@ const serializeAws_restJson1GetAdministratorAccountCommand = async (input, conte
|
|
|
578
572
|
const headers = {
|
|
579
573
|
"content-type": "application/json",
|
|
580
574
|
};
|
|
581
|
-
const resolvedPath = `${
|
|
575
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/administrator";
|
|
582
576
|
let body;
|
|
583
577
|
body = "";
|
|
584
578
|
return new protocol_http_1.HttpRequest({
|
|
@@ -595,7 +589,7 @@ exports.serializeAws_restJson1GetAdministratorAccountCommand = serializeAws_rest
|
|
|
595
589
|
const serializeAws_restJson1GetAllowListCommand = async (input, context) => {
|
|
596
590
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
597
591
|
const headers = {};
|
|
598
|
-
let resolvedPath = `${
|
|
592
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/allow-lists/{id}";
|
|
599
593
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "id", () => input.id, "{id}", false);
|
|
600
594
|
let body;
|
|
601
595
|
return new protocol_http_1.HttpRequest({
|
|
@@ -614,7 +608,7 @@ const serializeAws_restJson1GetBucketStatisticsCommand = async (input, context)
|
|
|
614
608
|
const headers = {
|
|
615
609
|
"content-type": "application/json",
|
|
616
610
|
};
|
|
617
|
-
const resolvedPath = `${
|
|
611
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/datasources/s3/statistics";
|
|
618
612
|
let body;
|
|
619
613
|
body = JSON.stringify({
|
|
620
614
|
...(input.accountId != null && { accountId: input.accountId }),
|
|
@@ -635,7 +629,7 @@ const serializeAws_restJson1GetClassificationExportConfigurationCommand = async
|
|
|
635
629
|
const headers = {
|
|
636
630
|
"content-type": "application/json",
|
|
637
631
|
};
|
|
638
|
-
const resolvedPath = `${
|
|
632
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/classification-export-configuration";
|
|
639
633
|
let body;
|
|
640
634
|
body = "";
|
|
641
635
|
return new protocol_http_1.HttpRequest({
|
|
@@ -652,7 +646,7 @@ exports.serializeAws_restJson1GetClassificationExportConfigurationCommand = seri
|
|
|
652
646
|
const serializeAws_restJson1GetCustomDataIdentifierCommand = async (input, context) => {
|
|
653
647
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
654
648
|
const headers = {};
|
|
655
|
-
let resolvedPath = `${
|
|
649
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/custom-data-identifiers/{id}";
|
|
656
650
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "id", () => input.id, "{id}", false);
|
|
657
651
|
let body;
|
|
658
652
|
return new protocol_http_1.HttpRequest({
|
|
@@ -671,7 +665,7 @@ const serializeAws_restJson1GetFindingsCommand = async (input, context) => {
|
|
|
671
665
|
const headers = {
|
|
672
666
|
"content-type": "application/json",
|
|
673
667
|
};
|
|
674
|
-
const resolvedPath = `${
|
|
668
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/findings/describe";
|
|
675
669
|
let body;
|
|
676
670
|
body = JSON.stringify({
|
|
677
671
|
...(input.findingIds != null && { findingIds: serializeAws_restJson1__listOf__string(input.findingIds, context) }),
|
|
@@ -693,7 +687,7 @@ exports.serializeAws_restJson1GetFindingsCommand = serializeAws_restJson1GetFind
|
|
|
693
687
|
const serializeAws_restJson1GetFindingsFilterCommand = async (input, context) => {
|
|
694
688
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
695
689
|
const headers = {};
|
|
696
|
-
let resolvedPath = `${
|
|
690
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/findingsfilters/{id}";
|
|
697
691
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "id", () => input.id, "{id}", false);
|
|
698
692
|
let body;
|
|
699
693
|
return new protocol_http_1.HttpRequest({
|
|
@@ -712,7 +706,7 @@ const serializeAws_restJson1GetFindingsPublicationConfigurationCommand = async (
|
|
|
712
706
|
const headers = {
|
|
713
707
|
"content-type": "application/json",
|
|
714
708
|
};
|
|
715
|
-
const resolvedPath = `${
|
|
709
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/findings-publication-configuration";
|
|
716
710
|
let body;
|
|
717
711
|
body = "";
|
|
718
712
|
return new protocol_http_1.HttpRequest({
|
|
@@ -731,7 +725,7 @@ const serializeAws_restJson1GetFindingStatisticsCommand = async (input, context)
|
|
|
731
725
|
const headers = {
|
|
732
726
|
"content-type": "application/json",
|
|
733
727
|
};
|
|
734
|
-
const resolvedPath = `${
|
|
728
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/findings/statistics";
|
|
735
729
|
let body;
|
|
736
730
|
body = JSON.stringify({
|
|
737
731
|
...(input.findingCriteria != null && {
|
|
@@ -759,7 +753,7 @@ const serializeAws_restJson1GetInvitationsCountCommand = async (input, context)
|
|
|
759
753
|
const headers = {
|
|
760
754
|
"content-type": "application/json",
|
|
761
755
|
};
|
|
762
|
-
const resolvedPath = `${
|
|
756
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/invitations/count";
|
|
763
757
|
let body;
|
|
764
758
|
body = "";
|
|
765
759
|
return new protocol_http_1.HttpRequest({
|
|
@@ -778,7 +772,7 @@ const serializeAws_restJson1GetMacieSessionCommand = async (input, context) => {
|
|
|
778
772
|
const headers = {
|
|
779
773
|
"content-type": "application/json",
|
|
780
774
|
};
|
|
781
|
-
const resolvedPath = `${
|
|
775
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/macie";
|
|
782
776
|
let body;
|
|
783
777
|
body = "";
|
|
784
778
|
return new protocol_http_1.HttpRequest({
|
|
@@ -797,7 +791,7 @@ const serializeAws_restJson1GetMasterAccountCommand = async (input, context) =>
|
|
|
797
791
|
const headers = {
|
|
798
792
|
"content-type": "application/json",
|
|
799
793
|
};
|
|
800
|
-
const resolvedPath = `${
|
|
794
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/master";
|
|
801
795
|
let body;
|
|
802
796
|
body = "";
|
|
803
797
|
return new protocol_http_1.HttpRequest({
|
|
@@ -814,7 +808,7 @@ exports.serializeAws_restJson1GetMasterAccountCommand = serializeAws_restJson1Ge
|
|
|
814
808
|
const serializeAws_restJson1GetMemberCommand = async (input, context) => {
|
|
815
809
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
816
810
|
const headers = {};
|
|
817
|
-
let resolvedPath = `${
|
|
811
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/members/{id}";
|
|
818
812
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "id", () => input.id, "{id}", false);
|
|
819
813
|
let body;
|
|
820
814
|
return new protocol_http_1.HttpRequest({
|
|
@@ -833,7 +827,7 @@ const serializeAws_restJson1GetRevealConfigurationCommand = async (input, contex
|
|
|
833
827
|
const headers = {
|
|
834
828
|
"content-type": "application/json",
|
|
835
829
|
};
|
|
836
|
-
const resolvedPath = `${
|
|
830
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/reveal-configuration";
|
|
837
831
|
let body;
|
|
838
832
|
body = "";
|
|
839
833
|
return new protocol_http_1.HttpRequest({
|
|
@@ -850,7 +844,7 @@ exports.serializeAws_restJson1GetRevealConfigurationCommand = serializeAws_restJ
|
|
|
850
844
|
const serializeAws_restJson1GetSensitiveDataOccurrencesCommand = async (input, context) => {
|
|
851
845
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
852
846
|
const headers = {};
|
|
853
|
-
let resolvedPath = `${
|
|
847
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/findings/{findingId}/reveal";
|
|
854
848
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "findingId", () => input.findingId, "{findingId}", false);
|
|
855
849
|
let body;
|
|
856
850
|
return new protocol_http_1.HttpRequest({
|
|
@@ -867,7 +861,7 @@ exports.serializeAws_restJson1GetSensitiveDataOccurrencesCommand = serializeAws_
|
|
|
867
861
|
const serializeAws_restJson1GetSensitiveDataOccurrencesAvailabilityCommand = async (input, context) => {
|
|
868
862
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
869
863
|
const headers = {};
|
|
870
|
-
let resolvedPath = `${
|
|
864
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/findings/{findingId}/reveal/availability";
|
|
871
865
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "findingId", () => input.findingId, "{findingId}", false);
|
|
872
866
|
let body;
|
|
873
867
|
return new protocol_http_1.HttpRequest({
|
|
@@ -886,7 +880,7 @@ const serializeAws_restJson1GetUsageStatisticsCommand = async (input, context) =
|
|
|
886
880
|
const headers = {
|
|
887
881
|
"content-type": "application/json",
|
|
888
882
|
};
|
|
889
|
-
const resolvedPath = `${
|
|
883
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/usage/statistics";
|
|
890
884
|
let body;
|
|
891
885
|
body = JSON.stringify({
|
|
892
886
|
...(input.filterBy != null && {
|
|
@@ -911,7 +905,7 @@ exports.serializeAws_restJson1GetUsageStatisticsCommand = serializeAws_restJson1
|
|
|
911
905
|
const serializeAws_restJson1GetUsageTotalsCommand = async (input, context) => {
|
|
912
906
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
913
907
|
const headers = {};
|
|
914
|
-
const resolvedPath = `${
|
|
908
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/usage";
|
|
915
909
|
const query = map({
|
|
916
910
|
timeRange: [, input.timeRange],
|
|
917
911
|
});
|
|
@@ -931,7 +925,7 @@ exports.serializeAws_restJson1GetUsageTotalsCommand = serializeAws_restJson1GetU
|
|
|
931
925
|
const serializeAws_restJson1ListAllowListsCommand = async (input, context) => {
|
|
932
926
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
933
927
|
const headers = {};
|
|
934
|
-
const resolvedPath = `${
|
|
928
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/allow-lists";
|
|
935
929
|
const query = map({
|
|
936
930
|
maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
|
|
937
931
|
nextToken: [, input.nextToken],
|
|
@@ -954,7 +948,7 @@ const serializeAws_restJson1ListClassificationJobsCommand = async (input, contex
|
|
|
954
948
|
const headers = {
|
|
955
949
|
"content-type": "application/json",
|
|
956
950
|
};
|
|
957
|
-
const resolvedPath = `${
|
|
951
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/jobs/list";
|
|
958
952
|
let body;
|
|
959
953
|
body = JSON.stringify({
|
|
960
954
|
...(input.filterCriteria != null && {
|
|
@@ -982,7 +976,7 @@ const serializeAws_restJson1ListCustomDataIdentifiersCommand = async (input, con
|
|
|
982
976
|
const headers = {
|
|
983
977
|
"content-type": "application/json",
|
|
984
978
|
};
|
|
985
|
-
const resolvedPath = `${
|
|
979
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/custom-data-identifiers/list";
|
|
986
980
|
let body;
|
|
987
981
|
body = JSON.stringify({
|
|
988
982
|
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
@@ -1004,7 +998,7 @@ const serializeAws_restJson1ListFindingsCommand = async (input, context) => {
|
|
|
1004
998
|
const headers = {
|
|
1005
999
|
"content-type": "application/json",
|
|
1006
1000
|
};
|
|
1007
|
-
const resolvedPath = `${
|
|
1001
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/findings";
|
|
1008
1002
|
let body;
|
|
1009
1003
|
body = JSON.stringify({
|
|
1010
1004
|
...(input.findingCriteria != null && {
|
|
@@ -1030,7 +1024,7 @@ exports.serializeAws_restJson1ListFindingsCommand = serializeAws_restJson1ListFi
|
|
|
1030
1024
|
const serializeAws_restJson1ListFindingsFiltersCommand = async (input, context) => {
|
|
1031
1025
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1032
1026
|
const headers = {};
|
|
1033
|
-
const resolvedPath = `${
|
|
1027
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/findingsfilters";
|
|
1034
1028
|
const query = map({
|
|
1035
1029
|
maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
|
|
1036
1030
|
nextToken: [, input.nextToken],
|
|
@@ -1051,7 +1045,7 @@ exports.serializeAws_restJson1ListFindingsFiltersCommand = serializeAws_restJson
|
|
|
1051
1045
|
const serializeAws_restJson1ListInvitationsCommand = async (input, context) => {
|
|
1052
1046
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1053
1047
|
const headers = {};
|
|
1054
|
-
const resolvedPath = `${
|
|
1048
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/invitations";
|
|
1055
1049
|
const query = map({
|
|
1056
1050
|
maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
|
|
1057
1051
|
nextToken: [, input.nextToken],
|
|
@@ -1074,7 +1068,7 @@ const serializeAws_restJson1ListManagedDataIdentifiersCommand = async (input, co
|
|
|
1074
1068
|
const headers = {
|
|
1075
1069
|
"content-type": "application/json",
|
|
1076
1070
|
};
|
|
1077
|
-
const resolvedPath = `${
|
|
1071
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/managed-data-identifiers/list";
|
|
1078
1072
|
let body;
|
|
1079
1073
|
body = JSON.stringify({
|
|
1080
1074
|
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
@@ -1093,7 +1087,7 @@ exports.serializeAws_restJson1ListManagedDataIdentifiersCommand = serializeAws_r
|
|
|
1093
1087
|
const serializeAws_restJson1ListMembersCommand = async (input, context) => {
|
|
1094
1088
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1095
1089
|
const headers = {};
|
|
1096
|
-
const resolvedPath = `${
|
|
1090
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/members";
|
|
1097
1091
|
const query = map({
|
|
1098
1092
|
maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
|
|
1099
1093
|
nextToken: [, input.nextToken],
|
|
@@ -1115,7 +1109,7 @@ exports.serializeAws_restJson1ListMembersCommand = serializeAws_restJson1ListMem
|
|
|
1115
1109
|
const serializeAws_restJson1ListOrganizationAdminAccountsCommand = async (input, context) => {
|
|
1116
1110
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1117
1111
|
const headers = {};
|
|
1118
|
-
const resolvedPath = `${
|
|
1112
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/admin";
|
|
1119
1113
|
const query = map({
|
|
1120
1114
|
maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
|
|
1121
1115
|
nextToken: [, input.nextToken],
|
|
@@ -1136,7 +1130,7 @@ exports.serializeAws_restJson1ListOrganizationAdminAccountsCommand = serializeAw
|
|
|
1136
1130
|
const serializeAws_restJson1ListTagsForResourceCommand = async (input, context) => {
|
|
1137
1131
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1138
1132
|
const headers = {};
|
|
1139
|
-
let resolvedPath = `${
|
|
1133
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
|
|
1140
1134
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
1141
1135
|
let body;
|
|
1142
1136
|
return new protocol_http_1.HttpRequest({
|
|
@@ -1155,7 +1149,7 @@ const serializeAws_restJson1PutClassificationExportConfigurationCommand = async
|
|
|
1155
1149
|
const headers = {
|
|
1156
1150
|
"content-type": "application/json",
|
|
1157
1151
|
};
|
|
1158
|
-
const resolvedPath = `${
|
|
1152
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/classification-export-configuration";
|
|
1159
1153
|
let body;
|
|
1160
1154
|
body = JSON.stringify({
|
|
1161
1155
|
...(input.configuration != null && {
|
|
@@ -1174,15 +1168,14 @@ const serializeAws_restJson1PutClassificationExportConfigurationCommand = async
|
|
|
1174
1168
|
};
|
|
1175
1169
|
exports.serializeAws_restJson1PutClassificationExportConfigurationCommand = serializeAws_restJson1PutClassificationExportConfigurationCommand;
|
|
1176
1170
|
const serializeAws_restJson1PutFindingsPublicationConfigurationCommand = async (input, context) => {
|
|
1177
|
-
var _a;
|
|
1178
1171
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1179
1172
|
const headers = {
|
|
1180
1173
|
"content-type": "application/json",
|
|
1181
1174
|
};
|
|
1182
|
-
const resolvedPath = `${
|
|
1175
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/findings-publication-configuration";
|
|
1183
1176
|
let body;
|
|
1184
1177
|
body = JSON.stringify({
|
|
1185
|
-
clientToken:
|
|
1178
|
+
clientToken: input.clientToken ?? (0, uuid_1.v4)(),
|
|
1186
1179
|
...(input.securityHubConfiguration != null && {
|
|
1187
1180
|
securityHubConfiguration: serializeAws_restJson1SecurityHubConfiguration(input.securityHubConfiguration, context),
|
|
1188
1181
|
}),
|
|
@@ -1203,7 +1196,7 @@ const serializeAws_restJson1SearchResourcesCommand = async (input, context) => {
|
|
|
1203
1196
|
const headers = {
|
|
1204
1197
|
"content-type": "application/json",
|
|
1205
1198
|
};
|
|
1206
|
-
const resolvedPath = `${
|
|
1199
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/datasources/search-resources";
|
|
1207
1200
|
let body;
|
|
1208
1201
|
body = JSON.stringify({
|
|
1209
1202
|
...(input.bucketCriteria != null && {
|
|
@@ -1231,7 +1224,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
|
|
|
1231
1224
|
const headers = {
|
|
1232
1225
|
"content-type": "application/json",
|
|
1233
1226
|
};
|
|
1234
|
-
let resolvedPath = `${
|
|
1227
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
|
|
1235
1228
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
1236
1229
|
let body;
|
|
1237
1230
|
body = JSON.stringify({
|
|
@@ -1253,7 +1246,7 @@ const serializeAws_restJson1TestCustomDataIdentifierCommand = async (input, cont
|
|
|
1253
1246
|
const headers = {
|
|
1254
1247
|
"content-type": "application/json",
|
|
1255
1248
|
};
|
|
1256
|
-
const resolvedPath = `${
|
|
1249
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/custom-data-identifiers/test";
|
|
1257
1250
|
let body;
|
|
1258
1251
|
body = JSON.stringify({
|
|
1259
1252
|
...(input.ignoreWords != null && {
|
|
@@ -1278,7 +1271,7 @@ exports.serializeAws_restJson1TestCustomDataIdentifierCommand = serializeAws_res
|
|
|
1278
1271
|
const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
|
|
1279
1272
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1280
1273
|
const headers = {};
|
|
1281
|
-
let resolvedPath = `${
|
|
1274
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
|
|
1282
1275
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
1283
1276
|
const query = map({
|
|
1284
1277
|
tagKeys: [() => input.tagKeys !== void 0, () => (input.tagKeys || []).map((_entry) => _entry)],
|
|
@@ -1301,7 +1294,7 @@ const serializeAws_restJson1UpdateAllowListCommand = async (input, context) => {
|
|
|
1301
1294
|
const headers = {
|
|
1302
1295
|
"content-type": "application/json",
|
|
1303
1296
|
};
|
|
1304
|
-
let resolvedPath = `${
|
|
1297
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/allow-lists/{id}";
|
|
1305
1298
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "id", () => input.id, "{id}", false);
|
|
1306
1299
|
let body;
|
|
1307
1300
|
body = JSON.stringify({
|
|
@@ -1325,7 +1318,7 @@ const serializeAws_restJson1UpdateClassificationJobCommand = async (input, conte
|
|
|
1325
1318
|
const headers = {
|
|
1326
1319
|
"content-type": "application/json",
|
|
1327
1320
|
};
|
|
1328
|
-
let resolvedPath = `${
|
|
1321
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/jobs/{jobId}";
|
|
1329
1322
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "jobId", () => input.jobId, "{jobId}", false);
|
|
1330
1323
|
let body;
|
|
1331
1324
|
body = JSON.stringify({
|
|
@@ -1343,17 +1336,16 @@ const serializeAws_restJson1UpdateClassificationJobCommand = async (input, conte
|
|
|
1343
1336
|
};
|
|
1344
1337
|
exports.serializeAws_restJson1UpdateClassificationJobCommand = serializeAws_restJson1UpdateClassificationJobCommand;
|
|
1345
1338
|
const serializeAws_restJson1UpdateFindingsFilterCommand = async (input, context) => {
|
|
1346
|
-
var _a;
|
|
1347
1339
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1348
1340
|
const headers = {
|
|
1349
1341
|
"content-type": "application/json",
|
|
1350
1342
|
};
|
|
1351
|
-
let resolvedPath = `${
|
|
1343
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/findingsfilters/{id}";
|
|
1352
1344
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "id", () => input.id, "{id}", false);
|
|
1353
1345
|
let body;
|
|
1354
1346
|
body = JSON.stringify({
|
|
1355
1347
|
...(input.action != null && { action: input.action }),
|
|
1356
|
-
clientToken:
|
|
1348
|
+
clientToken: input.clientToken ?? (0, uuid_1.v4)(),
|
|
1357
1349
|
...(input.description != null && { description: input.description }),
|
|
1358
1350
|
...(input.findingCriteria != null && {
|
|
1359
1351
|
findingCriteria: serializeAws_restJson1FindingCriteria(input.findingCriteria, context),
|
|
@@ -1377,7 +1369,7 @@ const serializeAws_restJson1UpdateMacieSessionCommand = async (input, context) =
|
|
|
1377
1369
|
const headers = {
|
|
1378
1370
|
"content-type": "application/json",
|
|
1379
1371
|
};
|
|
1380
|
-
const resolvedPath = `${
|
|
1372
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/macie";
|
|
1381
1373
|
let body;
|
|
1382
1374
|
body = JSON.stringify({
|
|
1383
1375
|
...(input.findingPublishingFrequency != null && { findingPublishingFrequency: input.findingPublishingFrequency }),
|
|
@@ -1399,7 +1391,7 @@ const serializeAws_restJson1UpdateMemberSessionCommand = async (input, context)
|
|
|
1399
1391
|
const headers = {
|
|
1400
1392
|
"content-type": "application/json",
|
|
1401
1393
|
};
|
|
1402
|
-
let resolvedPath = `${
|
|
1394
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/macie/members/{id}";
|
|
1403
1395
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "id", () => input.id, "{id}", false);
|
|
1404
1396
|
let body;
|
|
1405
1397
|
body = JSON.stringify({
|
|
@@ -1421,7 +1413,7 @@ const serializeAws_restJson1UpdateOrganizationConfigurationCommand = async (inpu
|
|
|
1421
1413
|
const headers = {
|
|
1422
1414
|
"content-type": "application/json",
|
|
1423
1415
|
};
|
|
1424
|
-
const resolvedPath = `${
|
|
1416
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/admin/configuration";
|
|
1425
1417
|
let body;
|
|
1426
1418
|
body = JSON.stringify({
|
|
1427
1419
|
...(input.autoEnable != null && { autoEnable: input.autoEnable }),
|
|
@@ -1442,7 +1434,7 @@ const serializeAws_restJson1UpdateRevealConfigurationCommand = async (input, con
|
|
|
1442
1434
|
const headers = {
|
|
1443
1435
|
"content-type": "application/json",
|
|
1444
1436
|
};
|
|
1445
|
-
const resolvedPath = `${
|
|
1437
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/reveal-configuration";
|
|
1446
1438
|
let body;
|
|
1447
1439
|
body = JSON.stringify({
|
|
1448
1440
|
...(input.configuration != null && {
|
|
@@ -6784,15 +6776,12 @@ const deserializeAws_restJson1WeeklySchedule = (output, context) => {
|
|
|
6784
6776
|
dayOfWeek: (0, smithy_client_1.expectString)(output.dayOfWeek),
|
|
6785
6777
|
};
|
|
6786
6778
|
};
|
|
6787
|
-
const deserializeMetadata = (output) => {
|
|
6788
|
-
|
|
6789
|
-
|
|
6790
|
-
|
|
6791
|
-
|
|
6792
|
-
|
|
6793
|
-
cfId: output.headers["x-amz-cf-id"],
|
|
6794
|
-
});
|
|
6795
|
-
};
|
|
6779
|
+
const deserializeMetadata = (output) => ({
|
|
6780
|
+
httpStatusCode: output.statusCode,
|
|
6781
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
6782
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
6783
|
+
cfId: output.headers["x-amz-cf-id"],
|
|
6784
|
+
});
|
|
6796
6785
|
const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
6797
6786
|
if (streamBody instanceof Uint8Array) {
|
|
6798
6787
|
return Promise.resolve(streamBody);
|
|
@@ -6812,9 +6801,8 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
|
|
|
6812
6801
|
return {};
|
|
6813
6802
|
});
|
|
6814
6803
|
const parseErrorBody = async (errorBody, context) => {
|
|
6815
|
-
var _a;
|
|
6816
6804
|
const value = await parseBody(errorBody, context);
|
|
6817
|
-
value.message =
|
|
6805
|
+
value.message = value.message ?? value.Message;
|
|
6818
6806
|
return value;
|
|
6819
6807
|
};
|
|
6820
6808
|
const loadRestJsonErrorCode = (output, data) => {
|
|
@@ -16,7 +16,6 @@ const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
|
16
16
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
17
17
|
const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
|
|
18
18
|
const getRuntimeConfig = (config) => {
|
|
19
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
20
19
|
const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
|
|
21
20
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
22
21
|
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
@@ -25,21 +24,22 @@ const getRuntimeConfig = (config) => {
|
|
|
25
24
|
...config,
|
|
26
25
|
runtime: "browser",
|
|
27
26
|
defaultsMode,
|
|
28
|
-
base64Decoder:
|
|
29
|
-
base64Encoder:
|
|
30
|
-
bodyLengthChecker:
|
|
31
|
-
credentialDefaultProvider:
|
|
32
|
-
defaultUserAgentProvider:
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
27
|
+
base64Decoder: config?.base64Decoder ?? util_base64_browser_1.fromBase64,
|
|
28
|
+
base64Encoder: config?.base64Encoder ?? util_base64_browser_1.toBase64,
|
|
29
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_browser_1.calculateBodyLength,
|
|
30
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
31
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
32
|
+
(0, util_user_agent_browser_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
33
|
+
maxAttempts: config?.maxAttempts ?? middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
34
|
+
region: config?.region ?? (0, invalid_dependency_1.invalidProvider)("Region is missing"),
|
|
35
|
+
requestHandler: config?.requestHandler ?? new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
|
|
36
|
+
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
|
|
37
|
+
sha256: config?.sha256 ?? sha256_browser_1.Sha256,
|
|
38
|
+
streamCollector: config?.streamCollector ?? fetch_http_handler_1.streamCollector,
|
|
39
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
40
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_FIPS_ENDPOINT)),
|
|
41
|
+
utf8Decoder: config?.utf8Decoder ?? util_utf8_browser_1.fromUtf8,
|
|
42
|
+
utf8Encoder: config?.utf8Encoder ?? util_utf8_browser_1.toUtf8,
|
|
43
43
|
};
|
|
44
44
|
};
|
|
45
45
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -19,7 +19,6 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
|
19
19
|
const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
|
|
20
20
|
const smithy_client_2 = require("@aws-sdk/smithy-client");
|
|
21
21
|
const getRuntimeConfig = (config) => {
|
|
22
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
23
22
|
(0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);
|
|
24
23
|
const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
|
|
25
24
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
@@ -29,24 +28,26 @@ const getRuntimeConfig = (config) => {
|
|
|
29
28
|
...config,
|
|
30
29
|
runtime: "node",
|
|
31
30
|
defaultsMode,
|
|
32
|
-
base64Decoder:
|
|
33
|
-
base64Encoder:
|
|
34
|
-
bodyLengthChecker:
|
|
35
|
-
credentialDefaultProvider:
|
|
36
|
-
defaultUserAgentProvider:
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
31
|
+
base64Decoder: config?.base64Decoder ?? util_base64_node_1.fromBase64,
|
|
32
|
+
base64Encoder: config?.base64Encoder ?? util_base64_node_1.toBase64,
|
|
33
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
|
|
34
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? (0, client_sts_1.decorateDefaultCredentialProvider)(credential_provider_node_1.defaultProvider),
|
|
35
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
36
|
+
(0, util_user_agent_node_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
37
|
+
maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
38
|
+
region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
39
|
+
requestHandler: config?.requestHandler ?? new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
|
|
40
|
+
retryMode: config?.retryMode ??
|
|
41
|
+
(0, node_config_provider_1.loadConfig)({
|
|
42
|
+
...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
43
|
+
default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
|
|
44
|
+
}),
|
|
45
|
+
sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"),
|
|
46
|
+
streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
|
|
47
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
48
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
49
|
+
utf8Decoder: config?.utf8Decoder ?? util_utf8_node_1.fromUtf8,
|
|
50
|
+
utf8Encoder: config?.utf8Encoder ?? util_utf8_node_1.toUtf8,
|
|
50
51
|
};
|
|
51
52
|
};
|
|
52
53
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -4,13 +4,12 @@ exports.getRuntimeConfig = void 0;
|
|
|
4
4
|
const sha256_js_1 = require("@aws-crypto/sha256-js");
|
|
5
5
|
const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
|
|
6
6
|
const getRuntimeConfig = (config) => {
|
|
7
|
-
var _a;
|
|
8
7
|
const browserDefaults = (0, runtimeConfig_browser_1.getRuntimeConfig)(config);
|
|
9
8
|
return {
|
|
10
9
|
...browserDefaults,
|
|
11
10
|
...config,
|
|
12
11
|
runtime: "react-native",
|
|
13
|
-
sha256:
|
|
12
|
+
sha256: config?.sha256 ?? sha256_js_1.Sha256,
|
|
14
13
|
};
|
|
15
14
|
};
|
|
16
15
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -3,15 +3,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const url_parser_1 = require("@aws-sdk/url-parser");
|
|
5
5
|
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
6
|
-
const getRuntimeConfig = (config) => {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
urlParser: (_e = config === null || config === void 0 ? void 0 : config.urlParser) !== null && _e !== void 0 ? _e : url_parser_1.parseUrl,
|
|
15
|
-
});
|
|
16
|
-
};
|
|
6
|
+
const getRuntimeConfig = (config) => ({
|
|
7
|
+
apiVersion: "2020-01-01",
|
|
8
|
+
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
9
|
+
endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,
|
|
10
|
+
logger: config?.logger ?? {},
|
|
11
|
+
serviceId: config?.serviceId ?? "Macie2",
|
|
12
|
+
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
13
|
+
});
|
|
17
14
|
exports.getRuntimeConfig = getRuntimeConfig;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-macie2",
|
|
3
3
|
"description": "AWS SDK for JavaScript Macie2 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.201.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",
|
|
@@ -19,46 +19,46 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
21
21
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
22
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
-
"@aws-sdk/config-resolver": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "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-signing": "3.
|
|
36
|
-
"@aws-sdk/middleware-stack": "3.
|
|
37
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
38
|
-
"@aws-sdk/node-config-provider": "3.
|
|
39
|
-
"@aws-sdk/node-http-handler": "3.
|
|
40
|
-
"@aws-sdk/protocol-http": "3.
|
|
41
|
-
"@aws-sdk/smithy-client": "3.
|
|
42
|
-
"@aws-sdk/types": "3.
|
|
43
|
-
"@aws-sdk/url-parser": "3.
|
|
22
|
+
"@aws-sdk/client-sts": "3.201.0",
|
|
23
|
+
"@aws-sdk/config-resolver": "3.201.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.201.0",
|
|
25
|
+
"@aws-sdk/fetch-http-handler": "3.201.0",
|
|
26
|
+
"@aws-sdk/hash-node": "3.201.0",
|
|
27
|
+
"@aws-sdk/invalid-dependency": "3.201.0",
|
|
28
|
+
"@aws-sdk/middleware-content-length": "3.201.0",
|
|
29
|
+
"@aws-sdk/middleware-endpoint": "3.201.0",
|
|
30
|
+
"@aws-sdk/middleware-host-header": "3.201.0",
|
|
31
|
+
"@aws-sdk/middleware-logger": "3.201.0",
|
|
32
|
+
"@aws-sdk/middleware-recursion-detection": "3.201.0",
|
|
33
|
+
"@aws-sdk/middleware-retry": "3.201.0",
|
|
34
|
+
"@aws-sdk/middleware-serde": "3.201.0",
|
|
35
|
+
"@aws-sdk/middleware-signing": "3.201.0",
|
|
36
|
+
"@aws-sdk/middleware-stack": "3.201.0",
|
|
37
|
+
"@aws-sdk/middleware-user-agent": "3.201.0",
|
|
38
|
+
"@aws-sdk/node-config-provider": "3.201.0",
|
|
39
|
+
"@aws-sdk/node-http-handler": "3.201.0",
|
|
40
|
+
"@aws-sdk/protocol-http": "3.201.0",
|
|
41
|
+
"@aws-sdk/smithy-client": "3.201.0",
|
|
42
|
+
"@aws-sdk/types": "3.201.0",
|
|
43
|
+
"@aws-sdk/url-parser": "3.201.0",
|
|
44
44
|
"@aws-sdk/util-base64-browser": "3.188.0",
|
|
45
|
-
"@aws-sdk/util-base64-node": "3.
|
|
45
|
+
"@aws-sdk/util-base64-node": "3.201.0",
|
|
46
46
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
47
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
48
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
-
"@aws-sdk/util-endpoints": "3.
|
|
51
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
52
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
47
|
+
"@aws-sdk/util-body-length-node": "3.201.0",
|
|
48
|
+
"@aws-sdk/util-defaults-mode-browser": "3.201.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.201.0",
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.201.0",
|
|
51
|
+
"@aws-sdk/util-user-agent-browser": "3.201.0",
|
|
52
|
+
"@aws-sdk/util-user-agent-node": "3.201.0",
|
|
53
53
|
"@aws-sdk/util-utf8-browser": "3.188.0",
|
|
54
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
55
|
-
"@aws-sdk/util-waiter": "3.
|
|
54
|
+
"@aws-sdk/util-utf8-node": "3.201.0",
|
|
55
|
+
"@aws-sdk/util-waiter": "3.201.0",
|
|
56
56
|
"tslib": "^2.3.1",
|
|
57
57
|
"uuid": "^8.3.2"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
60
|
"@aws-sdk/service-client-documentation-generator": "3.188.0",
|
|
61
|
-
"@tsconfig/
|
|
61
|
+
"@tsconfig/node14": "1.0.3",
|
|
62
62
|
"@types/node": "^12.7.5",
|
|
63
63
|
"@types/uuid": "^8.3.0",
|
|
64
64
|
"concurrently": "7.0.0",
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
}
|
|
74
74
|
},
|
|
75
75
|
"engines": {
|
|
76
|
-
"node": ">=
|
|
76
|
+
"node": ">=14.0.0"
|
|
77
77
|
},
|
|
78
78
|
"typesVersions": {
|
|
79
79
|
"<4.0": {
|