@aws-sdk/client-macie2 3.54.0 → 3.56.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 +24 -0
- package/dist-cjs/Macie2Client.js +13 -13
- package/dist-cjs/commands/AcceptInvitationCommand.js +3 -3
- package/dist-cjs/commands/BatchGetCustomDataIdentifiersCommand.js +3 -3
- package/dist-cjs/commands/CreateClassificationJobCommand.js +3 -3
- package/dist-cjs/commands/CreateCustomDataIdentifierCommand.js +3 -3
- package/dist-cjs/commands/CreateFindingsFilterCommand.js +3 -3
- package/dist-cjs/commands/CreateInvitationsCommand.js +3 -3
- package/dist-cjs/commands/CreateMemberCommand.js +3 -3
- package/dist-cjs/commands/CreateSampleFindingsCommand.js +3 -3
- package/dist-cjs/commands/DeclineInvitationsCommand.js +3 -3
- package/dist-cjs/commands/DeleteCustomDataIdentifierCommand.js +3 -3
- package/dist-cjs/commands/DeleteFindingsFilterCommand.js +3 -3
- package/dist-cjs/commands/DeleteInvitationsCommand.js +3 -3
- package/dist-cjs/commands/DeleteMemberCommand.js +3 -3
- package/dist-cjs/commands/DescribeBucketsCommand.js +3 -3
- package/dist-cjs/commands/DescribeClassificationJobCommand.js +3 -3
- package/dist-cjs/commands/DescribeOrganizationConfigurationCommand.js +3 -3
- package/dist-cjs/commands/DisableMacieCommand.js +3 -3
- package/dist-cjs/commands/DisableOrganizationAdminAccountCommand.js +3 -3
- package/dist-cjs/commands/DisassociateFromAdministratorAccountCommand.js +3 -3
- package/dist-cjs/commands/DisassociateFromMasterAccountCommand.js +3 -3
- package/dist-cjs/commands/DisassociateMemberCommand.js +3 -3
- package/dist-cjs/commands/EnableMacieCommand.js +3 -3
- package/dist-cjs/commands/EnableOrganizationAdminAccountCommand.js +3 -3
- package/dist-cjs/commands/GetAdministratorAccountCommand.js +3 -3
- package/dist-cjs/commands/GetBucketStatisticsCommand.js +3 -3
- package/dist-cjs/commands/GetClassificationExportConfigurationCommand.js +3 -3
- package/dist-cjs/commands/GetCustomDataIdentifierCommand.js +3 -3
- package/dist-cjs/commands/GetFindingStatisticsCommand.js +3 -3
- package/dist-cjs/commands/GetFindingsCommand.js +3 -3
- package/dist-cjs/commands/GetFindingsFilterCommand.js +3 -3
- package/dist-cjs/commands/GetFindingsPublicationConfigurationCommand.js +3 -3
- package/dist-cjs/commands/GetInvitationsCountCommand.js +3 -3
- package/dist-cjs/commands/GetMacieSessionCommand.js +3 -3
- package/dist-cjs/commands/GetMasterAccountCommand.js +3 -3
- package/dist-cjs/commands/GetMemberCommand.js +3 -3
- package/dist-cjs/commands/GetUsageStatisticsCommand.js +3 -3
- package/dist-cjs/commands/GetUsageTotalsCommand.js +3 -3
- package/dist-cjs/commands/ListClassificationJobsCommand.js +3 -3
- package/dist-cjs/commands/ListCustomDataIdentifiersCommand.js +3 -3
- package/dist-cjs/commands/ListFindingsCommand.js +3 -3
- package/dist-cjs/commands/ListFindingsFiltersCommand.js +3 -3
- package/dist-cjs/commands/ListInvitationsCommand.js +3 -3
- package/dist-cjs/commands/ListManagedDataIdentifiersCommand.js +3 -3
- package/dist-cjs/commands/ListMembersCommand.js +3 -3
- package/dist-cjs/commands/ListOrganizationAdminAccountsCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/PutClassificationExportConfigurationCommand.js +3 -3
- package/dist-cjs/commands/PutFindingsPublicationConfigurationCommand.js +3 -3
- package/dist-cjs/commands/SearchResourcesCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/TestCustomDataIdentifierCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateClassificationJobCommand.js +3 -3
- package/dist-cjs/commands/UpdateFindingsFilterCommand.js +3 -3
- package/dist-cjs/commands/UpdateMacieSessionCommand.js +3 -3
- package/dist-cjs/commands/UpdateMemberSessionCommand.js +3 -3
- package/dist-cjs/commands/UpdateOrganizationConfigurationCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_restJson1.js +456 -456
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-es/Macie2.js +57 -57
- package/dist-es/pagination/DescribeBucketsPaginator.js +4 -4
- package/dist-es/pagination/GetUsageStatisticsPaginator.js +4 -4
- package/dist-es/pagination/ListClassificationJobsPaginator.js +4 -4
- package/dist-es/pagination/ListCustomDataIdentifiersPaginator.js +4 -4
- package/dist-es/pagination/ListFindingsFiltersPaginator.js +4 -4
- package/dist-es/pagination/ListFindingsPaginator.js +4 -4
- package/dist-es/pagination/ListInvitationsPaginator.js +4 -4
- package/dist-es/pagination/ListMembersPaginator.js +4 -4
- package/dist-es/pagination/ListOrganizationAdminAccountsPaginator.js +4 -4
- package/dist-es/pagination/SearchResourcesPaginator.js +4 -4
- package/dist-es/protocols/Aws_restJson1.js +57 -57
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
- package/package.json +34 -34
|
@@ -14,7 +14,7 @@ export var serializeAws_restJson1AcceptInvitationCommand = function (input, cont
|
|
|
14
14
|
headers = {
|
|
15
15
|
"content-type": "application/json",
|
|
16
16
|
};
|
|
17
|
-
resolvedPath = ""
|
|
17
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/invitations/accept";
|
|
18
18
|
body = JSON.stringify(__assign(__assign(__assign({}, (input.administratorAccountId !== undefined &&
|
|
19
19
|
input.administratorAccountId !== null && { administratorAccountId: input.administratorAccountId })), (input.invitationId !== undefined && input.invitationId !== null && { invitationId: input.invitationId })), (input.masterAccount !== undefined && input.masterAccount !== null && { masterAccount: input.masterAccount })));
|
|
20
20
|
return [2, new __HttpRequest({
|
|
@@ -39,7 +39,7 @@ export var serializeAws_restJson1BatchGetCustomDataIdentifiersCommand = function
|
|
|
39
39
|
headers = {
|
|
40
40
|
"content-type": "application/json",
|
|
41
41
|
};
|
|
42
|
-
resolvedPath = ""
|
|
42
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/custom-data-identifiers/get";
|
|
43
43
|
body = JSON.stringify(__assign({}, (input.ids !== undefined &&
|
|
44
44
|
input.ids !== null && { ids: serializeAws_restJson1__listOf__string(input.ids, context) })));
|
|
45
45
|
return [2, new __HttpRequest({
|
|
@@ -65,7 +65,7 @@ export var serializeAws_restJson1CreateClassificationJobCommand = function (inpu
|
|
|
65
65
|
headers = {
|
|
66
66
|
"content-type": "application/json",
|
|
67
67
|
};
|
|
68
|
-
resolvedPath = ""
|
|
68
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/jobs";
|
|
69
69
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({ clientToken: (_c = input.clientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }, (input.customDataIdentifierIds !== undefined &&
|
|
70
70
|
input.customDataIdentifierIds !== null && {
|
|
71
71
|
customDataIdentifierIds: serializeAws_restJson1__listOf__string(input.customDataIdentifierIds, context),
|
|
@@ -106,7 +106,7 @@ export var serializeAws_restJson1CreateCustomDataIdentifierCommand = function (i
|
|
|
106
106
|
headers = {
|
|
107
107
|
"content-type": "application/json",
|
|
108
108
|
};
|
|
109
|
-
resolvedPath = ""
|
|
109
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/custom-data-identifiers";
|
|
110
110
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({ clientToken: (_c = input.clientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }, (input.description !== undefined && input.description !== null && { description: input.description })), (input.ignoreWords !== undefined &&
|
|
111
111
|
input.ignoreWords !== null && {
|
|
112
112
|
ignoreWords: serializeAws_restJson1__listOf__string(input.ignoreWords, context),
|
|
@@ -139,7 +139,7 @@ export var serializeAws_restJson1CreateFindingsFilterCommand = function (input,
|
|
|
139
139
|
headers = {
|
|
140
140
|
"content-type": "application/json",
|
|
141
141
|
};
|
|
142
|
-
resolvedPath = ""
|
|
142
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/findingsfilters";
|
|
143
143
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.action !== undefined && input.action !== null && { action: input.action })), { clientToken: (_c = input.clientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }), (input.description !== undefined && input.description !== null && { description: input.description })), (input.findingCriteria !== undefined &&
|
|
144
144
|
input.findingCriteria !== null && {
|
|
145
145
|
findingCriteria: serializeAws_restJson1FindingCriteria(input.findingCriteria, context),
|
|
@@ -166,7 +166,7 @@ export var serializeAws_restJson1CreateInvitationsCommand = function (input, con
|
|
|
166
166
|
headers = {
|
|
167
167
|
"content-type": "application/json",
|
|
168
168
|
};
|
|
169
|
-
resolvedPath = ""
|
|
169
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/invitations";
|
|
170
170
|
body = JSON.stringify(__assign(__assign(__assign({}, (input.accountIds !== undefined &&
|
|
171
171
|
input.accountIds !== null && { accountIds: serializeAws_restJson1__listOf__string(input.accountIds, context) })), (input.disableEmailNotification !== undefined &&
|
|
172
172
|
input.disableEmailNotification !== null && { disableEmailNotification: input.disableEmailNotification })), (input.message !== undefined && input.message !== null && { message: input.message })));
|
|
@@ -192,7 +192,7 @@ export var serializeAws_restJson1CreateMemberCommand = function (input, context)
|
|
|
192
192
|
headers = {
|
|
193
193
|
"content-type": "application/json",
|
|
194
194
|
};
|
|
195
|
-
resolvedPath = ""
|
|
195
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/members";
|
|
196
196
|
body = JSON.stringify(__assign(__assign({}, (input.account !== undefined &&
|
|
197
197
|
input.account !== null && { account: serializeAws_restJson1AccountDetail(input.account, context) })), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_restJson1TagMap(input.tags, context) })));
|
|
198
198
|
return [2, new __HttpRequest({
|
|
@@ -217,7 +217,7 @@ export var serializeAws_restJson1CreateSampleFindingsCommand = function (input,
|
|
|
217
217
|
headers = {
|
|
218
218
|
"content-type": "application/json",
|
|
219
219
|
};
|
|
220
|
-
resolvedPath = ""
|
|
220
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/findings/sample";
|
|
221
221
|
body = JSON.stringify(__assign({}, (input.findingTypes !== undefined &&
|
|
222
222
|
input.findingTypes !== null && {
|
|
223
223
|
findingTypes: serializeAws_restJson1__listOfFindingType(input.findingTypes, context),
|
|
@@ -244,7 +244,7 @@ export var serializeAws_restJson1DeclineInvitationsCommand = function (input, co
|
|
|
244
244
|
headers = {
|
|
245
245
|
"content-type": "application/json",
|
|
246
246
|
};
|
|
247
|
-
resolvedPath = ""
|
|
247
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/invitations/decline";
|
|
248
248
|
body = JSON.stringify(__assign({}, (input.accountIds !== undefined &&
|
|
249
249
|
input.accountIds !== null && { accountIds: serializeAws_restJson1__listOf__string(input.accountIds, context) })));
|
|
250
250
|
return [2, new __HttpRequest({
|
|
@@ -267,7 +267,7 @@ export var serializeAws_restJson1DeleteCustomDataIdentifierCommand = function (i
|
|
|
267
267
|
case 1:
|
|
268
268
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
269
269
|
headers = {};
|
|
270
|
-
resolvedPath = ""
|
|
270
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/custom-data-identifiers/{id}";
|
|
271
271
|
if (input.id !== undefined) {
|
|
272
272
|
labelValue = input.id;
|
|
273
273
|
if (labelValue.length <= 0) {
|
|
@@ -298,7 +298,7 @@ export var serializeAws_restJson1DeleteFindingsFilterCommand = function (input,
|
|
|
298
298
|
case 1:
|
|
299
299
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
300
300
|
headers = {};
|
|
301
|
-
resolvedPath = ""
|
|
301
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/findingsfilters/{id}";
|
|
302
302
|
if (input.id !== undefined) {
|
|
303
303
|
labelValue = input.id;
|
|
304
304
|
if (labelValue.length <= 0) {
|
|
@@ -331,7 +331,7 @@ export var serializeAws_restJson1DeleteInvitationsCommand = function (input, con
|
|
|
331
331
|
headers = {
|
|
332
332
|
"content-type": "application/json",
|
|
333
333
|
};
|
|
334
|
-
resolvedPath = ""
|
|
334
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/invitations/delete";
|
|
335
335
|
body = JSON.stringify(__assign({}, (input.accountIds !== undefined &&
|
|
336
336
|
input.accountIds !== null && { accountIds: serializeAws_restJson1__listOf__string(input.accountIds, context) })));
|
|
337
337
|
return [2, new __HttpRequest({
|
|
@@ -354,7 +354,7 @@ export var serializeAws_restJson1DeleteMemberCommand = function (input, context)
|
|
|
354
354
|
case 1:
|
|
355
355
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
356
356
|
headers = {};
|
|
357
|
-
resolvedPath = ""
|
|
357
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/members/{id}";
|
|
358
358
|
if (input.id !== undefined) {
|
|
359
359
|
labelValue = input.id;
|
|
360
360
|
if (labelValue.length <= 0) {
|
|
@@ -387,7 +387,7 @@ export var serializeAws_restJson1DescribeBucketsCommand = function (input, conte
|
|
|
387
387
|
headers = {
|
|
388
388
|
"content-type": "application/json",
|
|
389
389
|
};
|
|
390
|
-
resolvedPath = ""
|
|
390
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/datasources/s3";
|
|
391
391
|
body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.criteria !== undefined &&
|
|
392
392
|
input.criteria !== null && { criteria: serializeAws_restJson1BucketCriteria(input.criteria, context) })), (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken })), (input.sortCriteria !== undefined &&
|
|
393
393
|
input.sortCriteria !== null && {
|
|
@@ -413,7 +413,7 @@ export var serializeAws_restJson1DescribeClassificationJobCommand = function (in
|
|
|
413
413
|
case 1:
|
|
414
414
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
415
415
|
headers = {};
|
|
416
|
-
resolvedPath = ""
|
|
416
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/jobs/{jobId}";
|
|
417
417
|
if (input.jobId !== undefined) {
|
|
418
418
|
labelValue = input.jobId;
|
|
419
419
|
if (labelValue.length <= 0) {
|
|
@@ -446,7 +446,7 @@ export var serializeAws_restJson1DescribeOrganizationConfigurationCommand = func
|
|
|
446
446
|
headers = {
|
|
447
447
|
"content-type": "application/json",
|
|
448
448
|
};
|
|
449
|
-
resolvedPath = ""
|
|
449
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/admin/configuration";
|
|
450
450
|
body = "";
|
|
451
451
|
return [2, new __HttpRequest({
|
|
452
452
|
protocol: protocol,
|
|
@@ -470,7 +470,7 @@ export var serializeAws_restJson1DisableMacieCommand = function (input, context)
|
|
|
470
470
|
headers = {
|
|
471
471
|
"content-type": "application/json",
|
|
472
472
|
};
|
|
473
|
-
resolvedPath = ""
|
|
473
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/macie";
|
|
474
474
|
body = "";
|
|
475
475
|
return [2, new __HttpRequest({
|
|
476
476
|
protocol: protocol,
|
|
@@ -492,7 +492,7 @@ export var serializeAws_restJson1DisableOrganizationAdminAccountCommand = functi
|
|
|
492
492
|
case 1:
|
|
493
493
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
494
494
|
headers = {};
|
|
495
|
-
resolvedPath = ""
|
|
495
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/admin";
|
|
496
496
|
query = __assign({}, (input.adminAccountId !== undefined && { adminAccountId: input.adminAccountId }));
|
|
497
497
|
return [2, new __HttpRequest({
|
|
498
498
|
protocol: protocol,
|
|
@@ -517,7 +517,7 @@ export var serializeAws_restJson1DisassociateFromAdministratorAccountCommand = f
|
|
|
517
517
|
headers = {
|
|
518
518
|
"content-type": "application/json",
|
|
519
519
|
};
|
|
520
|
-
resolvedPath = ""
|
|
520
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/administrator/disassociate";
|
|
521
521
|
body = "";
|
|
522
522
|
return [2, new __HttpRequest({
|
|
523
523
|
protocol: protocol,
|
|
@@ -541,7 +541,7 @@ export var serializeAws_restJson1DisassociateFromMasterAccountCommand = function
|
|
|
541
541
|
headers = {
|
|
542
542
|
"content-type": "application/json",
|
|
543
543
|
};
|
|
544
|
-
resolvedPath = ""
|
|
544
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/master/disassociate";
|
|
545
545
|
body = "";
|
|
546
546
|
return [2, new __HttpRequest({
|
|
547
547
|
protocol: protocol,
|
|
@@ -563,7 +563,7 @@ export var serializeAws_restJson1DisassociateMemberCommand = function (input, co
|
|
|
563
563
|
case 1:
|
|
564
564
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
565
565
|
headers = {};
|
|
566
|
-
resolvedPath = ""
|
|
566
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/members/disassociate/{id}";
|
|
567
567
|
if (input.id !== undefined) {
|
|
568
568
|
labelValue = input.id;
|
|
569
569
|
if (labelValue.length <= 0) {
|
|
@@ -597,7 +597,7 @@ export var serializeAws_restJson1EnableMacieCommand = function (input, context)
|
|
|
597
597
|
headers = {
|
|
598
598
|
"content-type": "application/json",
|
|
599
599
|
};
|
|
600
|
-
resolvedPath = ""
|
|
600
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/macie";
|
|
601
601
|
body = JSON.stringify(__assign(__assign({ clientToken: (_c = input.clientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }, (input.findingPublishingFrequency !== undefined &&
|
|
602
602
|
input.findingPublishingFrequency !== null && { findingPublishingFrequency: input.findingPublishingFrequency })), (input.status !== undefined && input.status !== null && { status: input.status })));
|
|
603
603
|
return [2, new __HttpRequest({
|
|
@@ -623,7 +623,7 @@ export var serializeAws_restJson1EnableOrganizationAdminAccountCommand = functio
|
|
|
623
623
|
headers = {
|
|
624
624
|
"content-type": "application/json",
|
|
625
625
|
};
|
|
626
|
-
resolvedPath = ""
|
|
626
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/admin";
|
|
627
627
|
body = JSON.stringify(__assign(__assign({}, (input.adminAccountId !== undefined &&
|
|
628
628
|
input.adminAccountId !== null && { adminAccountId: input.adminAccountId })), { clientToken: (_c = input.clientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }));
|
|
629
629
|
return [2, new __HttpRequest({
|
|
@@ -648,7 +648,7 @@ export var serializeAws_restJson1GetAdministratorAccountCommand = function (inpu
|
|
|
648
648
|
headers = {
|
|
649
649
|
"content-type": "application/json",
|
|
650
650
|
};
|
|
651
|
-
resolvedPath = ""
|
|
651
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/administrator";
|
|
652
652
|
body = "";
|
|
653
653
|
return [2, new __HttpRequest({
|
|
654
654
|
protocol: protocol,
|
|
@@ -672,7 +672,7 @@ export var serializeAws_restJson1GetBucketStatisticsCommand = function (input, c
|
|
|
672
672
|
headers = {
|
|
673
673
|
"content-type": "application/json",
|
|
674
674
|
};
|
|
675
|
-
resolvedPath = ""
|
|
675
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/datasources/s3/statistics";
|
|
676
676
|
body = JSON.stringify(__assign({}, (input.accountId !== undefined && input.accountId !== null && { accountId: input.accountId })));
|
|
677
677
|
return [2, new __HttpRequest({
|
|
678
678
|
protocol: protocol,
|
|
@@ -696,7 +696,7 @@ export var serializeAws_restJson1GetClassificationExportConfigurationCommand = f
|
|
|
696
696
|
headers = {
|
|
697
697
|
"content-type": "application/json",
|
|
698
698
|
};
|
|
699
|
-
resolvedPath = ""
|
|
699
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/classification-export-configuration";
|
|
700
700
|
body = "";
|
|
701
701
|
return [2, new __HttpRequest({
|
|
702
702
|
protocol: protocol,
|
|
@@ -718,7 +718,7 @@ export var serializeAws_restJson1GetCustomDataIdentifierCommand = function (inpu
|
|
|
718
718
|
case 1:
|
|
719
719
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
720
720
|
headers = {};
|
|
721
|
-
resolvedPath = ""
|
|
721
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/custom-data-identifiers/{id}";
|
|
722
722
|
if (input.id !== undefined) {
|
|
723
723
|
labelValue = input.id;
|
|
724
724
|
if (labelValue.length <= 0) {
|
|
@@ -751,7 +751,7 @@ export var serializeAws_restJson1GetFindingsCommand = function (input, context)
|
|
|
751
751
|
headers = {
|
|
752
752
|
"content-type": "application/json",
|
|
753
753
|
};
|
|
754
|
-
resolvedPath = ""
|
|
754
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/findings/describe";
|
|
755
755
|
body = JSON.stringify(__assign(__assign({}, (input.findingIds !== undefined &&
|
|
756
756
|
input.findingIds !== null && { findingIds: serializeAws_restJson1__listOf__string(input.findingIds, context) })), (input.sortCriteria !== undefined &&
|
|
757
757
|
input.sortCriteria !== null && { sortCriteria: serializeAws_restJson1SortCriteria(input.sortCriteria, context) })));
|
|
@@ -775,7 +775,7 @@ export var serializeAws_restJson1GetFindingsFilterCommand = function (input, con
|
|
|
775
775
|
case 1:
|
|
776
776
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
777
777
|
headers = {};
|
|
778
|
-
resolvedPath = ""
|
|
778
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/findingsfilters/{id}";
|
|
779
779
|
if (input.id !== undefined) {
|
|
780
780
|
labelValue = input.id;
|
|
781
781
|
if (labelValue.length <= 0) {
|
|
@@ -808,7 +808,7 @@ export var serializeAws_restJson1GetFindingsPublicationConfigurationCommand = fu
|
|
|
808
808
|
headers = {
|
|
809
809
|
"content-type": "application/json",
|
|
810
810
|
};
|
|
811
|
-
resolvedPath = ""
|
|
811
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/findings-publication-configuration";
|
|
812
812
|
body = "";
|
|
813
813
|
return [2, new __HttpRequest({
|
|
814
814
|
protocol: protocol,
|
|
@@ -832,7 +832,7 @@ export var serializeAws_restJson1GetFindingStatisticsCommand = function (input,
|
|
|
832
832
|
headers = {
|
|
833
833
|
"content-type": "application/json",
|
|
834
834
|
};
|
|
835
|
-
resolvedPath = ""
|
|
835
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/findings/statistics";
|
|
836
836
|
body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.findingCriteria !== undefined &&
|
|
837
837
|
input.findingCriteria !== null && {
|
|
838
838
|
findingCriteria: serializeAws_restJson1FindingCriteria(input.findingCriteria, context),
|
|
@@ -862,7 +862,7 @@ export var serializeAws_restJson1GetInvitationsCountCommand = function (input, c
|
|
|
862
862
|
headers = {
|
|
863
863
|
"content-type": "application/json",
|
|
864
864
|
};
|
|
865
|
-
resolvedPath = ""
|
|
865
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/invitations/count";
|
|
866
866
|
body = "";
|
|
867
867
|
return [2, new __HttpRequest({
|
|
868
868
|
protocol: protocol,
|
|
@@ -886,7 +886,7 @@ export var serializeAws_restJson1GetMacieSessionCommand = function (input, conte
|
|
|
886
886
|
headers = {
|
|
887
887
|
"content-type": "application/json",
|
|
888
888
|
};
|
|
889
|
-
resolvedPath = ""
|
|
889
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/macie";
|
|
890
890
|
body = "";
|
|
891
891
|
return [2, new __HttpRequest({
|
|
892
892
|
protocol: protocol,
|
|
@@ -910,7 +910,7 @@ export var serializeAws_restJson1GetMasterAccountCommand = function (input, cont
|
|
|
910
910
|
headers = {
|
|
911
911
|
"content-type": "application/json",
|
|
912
912
|
};
|
|
913
|
-
resolvedPath = ""
|
|
913
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/master";
|
|
914
914
|
body = "";
|
|
915
915
|
return [2, new __HttpRequest({
|
|
916
916
|
protocol: protocol,
|
|
@@ -932,7 +932,7 @@ export var serializeAws_restJson1GetMemberCommand = function (input, context) {
|
|
|
932
932
|
case 1:
|
|
933
933
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
934
934
|
headers = {};
|
|
935
|
-
resolvedPath = ""
|
|
935
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/members/{id}";
|
|
936
936
|
if (input.id !== undefined) {
|
|
937
937
|
labelValue = input.id;
|
|
938
938
|
if (labelValue.length <= 0) {
|
|
@@ -965,7 +965,7 @@ export var serializeAws_restJson1GetUsageStatisticsCommand = function (input, co
|
|
|
965
965
|
headers = {
|
|
966
966
|
"content-type": "application/json",
|
|
967
967
|
};
|
|
968
|
-
resolvedPath = ""
|
|
968
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/usage/statistics";
|
|
969
969
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.filterBy !== undefined &&
|
|
970
970
|
input.filterBy !== null && {
|
|
971
971
|
filterBy: serializeAws_restJson1__listOfUsageStatisticsFilter(input.filterBy, context),
|
|
@@ -991,7 +991,7 @@ export var serializeAws_restJson1GetUsageTotalsCommand = function (input, contex
|
|
|
991
991
|
case 1:
|
|
992
992
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
993
993
|
headers = {};
|
|
994
|
-
resolvedPath = ""
|
|
994
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/usage";
|
|
995
995
|
query = __assign({}, (input.timeRange !== undefined && { timeRange: input.timeRange }));
|
|
996
996
|
return [2, new __HttpRequest({
|
|
997
997
|
protocol: protocol,
|
|
@@ -1016,7 +1016,7 @@ export var serializeAws_restJson1ListClassificationJobsCommand = function (input
|
|
|
1016
1016
|
headers = {
|
|
1017
1017
|
"content-type": "application/json",
|
|
1018
1018
|
};
|
|
1019
|
-
resolvedPath = ""
|
|
1019
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/jobs/list";
|
|
1020
1020
|
body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.filterCriteria !== undefined &&
|
|
1021
1021
|
input.filterCriteria !== null && {
|
|
1022
1022
|
filterCriteria: serializeAws_restJson1ListJobsFilterCriteria(input.filterCriteria, context),
|
|
@@ -1046,7 +1046,7 @@ export var serializeAws_restJson1ListCustomDataIdentifiersCommand = function (in
|
|
|
1046
1046
|
headers = {
|
|
1047
1047
|
"content-type": "application/json",
|
|
1048
1048
|
};
|
|
1049
|
-
resolvedPath = ""
|
|
1049
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/custom-data-identifiers/list";
|
|
1050
1050
|
body = JSON.stringify(__assign(__assign({}, (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken })));
|
|
1051
1051
|
return [2, new __HttpRequest({
|
|
1052
1052
|
protocol: protocol,
|
|
@@ -1070,7 +1070,7 @@ export var serializeAws_restJson1ListFindingsCommand = function (input, context)
|
|
|
1070
1070
|
headers = {
|
|
1071
1071
|
"content-type": "application/json",
|
|
1072
1072
|
};
|
|
1073
|
-
resolvedPath = ""
|
|
1073
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/findings";
|
|
1074
1074
|
body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.findingCriteria !== undefined &&
|
|
1075
1075
|
input.findingCriteria !== null && {
|
|
1076
1076
|
findingCriteria: serializeAws_restJson1FindingCriteria(input.findingCriteria, context),
|
|
@@ -1096,7 +1096,7 @@ export var serializeAws_restJson1ListFindingsFiltersCommand = function (input, c
|
|
|
1096
1096
|
case 1:
|
|
1097
1097
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1098
1098
|
headers = {};
|
|
1099
|
-
resolvedPath = ""
|
|
1099
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/findingsfilters";
|
|
1100
1100
|
query = __assign(__assign({}, (input.maxResults !== undefined && { maxResults: input.maxResults.toString() })), (input.nextToken !== undefined && { nextToken: input.nextToken }));
|
|
1101
1101
|
return [2, new __HttpRequest({
|
|
1102
1102
|
protocol: protocol,
|
|
@@ -1119,7 +1119,7 @@ export var serializeAws_restJson1ListInvitationsCommand = function (input, conte
|
|
|
1119
1119
|
case 1:
|
|
1120
1120
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1121
1121
|
headers = {};
|
|
1122
|
-
resolvedPath = ""
|
|
1122
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/invitations";
|
|
1123
1123
|
query = __assign(__assign({}, (input.maxResults !== undefined && { maxResults: input.maxResults.toString() })), (input.nextToken !== undefined && { nextToken: input.nextToken }));
|
|
1124
1124
|
return [2, new __HttpRequest({
|
|
1125
1125
|
protocol: protocol,
|
|
@@ -1144,7 +1144,7 @@ export var serializeAws_restJson1ListManagedDataIdentifiersCommand = function (i
|
|
|
1144
1144
|
headers = {
|
|
1145
1145
|
"content-type": "application/json",
|
|
1146
1146
|
};
|
|
1147
|
-
resolvedPath = ""
|
|
1147
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/managed-data-identifiers/list";
|
|
1148
1148
|
body = JSON.stringify(__assign({}, (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken })));
|
|
1149
1149
|
return [2, new __HttpRequest({
|
|
1150
1150
|
protocol: protocol,
|
|
@@ -1166,7 +1166,7 @@ export var serializeAws_restJson1ListMembersCommand = function (input, context)
|
|
|
1166
1166
|
case 1:
|
|
1167
1167
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1168
1168
|
headers = {};
|
|
1169
|
-
resolvedPath = ""
|
|
1169
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/members";
|
|
1170
1170
|
query = __assign(__assign(__assign({}, (input.maxResults !== undefined && { maxResults: input.maxResults.toString() })), (input.nextToken !== undefined && { nextToken: input.nextToken })), (input.onlyAssociated !== undefined && { onlyAssociated: input.onlyAssociated }));
|
|
1171
1171
|
return [2, new __HttpRequest({
|
|
1172
1172
|
protocol: protocol,
|
|
@@ -1189,7 +1189,7 @@ export var serializeAws_restJson1ListOrganizationAdminAccountsCommand = function
|
|
|
1189
1189
|
case 1:
|
|
1190
1190
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1191
1191
|
headers = {};
|
|
1192
|
-
resolvedPath = ""
|
|
1192
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/admin";
|
|
1193
1193
|
query = __assign(__assign({}, (input.maxResults !== undefined && { maxResults: input.maxResults.toString() })), (input.nextToken !== undefined && { nextToken: input.nextToken }));
|
|
1194
1194
|
return [2, new __HttpRequest({
|
|
1195
1195
|
protocol: protocol,
|
|
@@ -1212,7 +1212,7 @@ export var serializeAws_restJson1ListTagsForResourceCommand = function (input, c
|
|
|
1212
1212
|
case 1:
|
|
1213
1213
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1214
1214
|
headers = {};
|
|
1215
|
-
resolvedPath = ""
|
|
1215
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{resourceArn}";
|
|
1216
1216
|
if (input.resourceArn !== undefined) {
|
|
1217
1217
|
labelValue = input.resourceArn;
|
|
1218
1218
|
if (labelValue.length <= 0) {
|
|
@@ -1245,7 +1245,7 @@ export var serializeAws_restJson1PutClassificationExportConfigurationCommand = f
|
|
|
1245
1245
|
headers = {
|
|
1246
1246
|
"content-type": "application/json",
|
|
1247
1247
|
};
|
|
1248
|
-
resolvedPath = ""
|
|
1248
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/classification-export-configuration";
|
|
1249
1249
|
body = JSON.stringify(__assign({}, (input.configuration !== undefined &&
|
|
1250
1250
|
input.configuration !== null && {
|
|
1251
1251
|
configuration: serializeAws_restJson1ClassificationExportConfiguration(input.configuration, context),
|
|
@@ -1273,7 +1273,7 @@ export var serializeAws_restJson1PutFindingsPublicationConfigurationCommand = fu
|
|
|
1273
1273
|
headers = {
|
|
1274
1274
|
"content-type": "application/json",
|
|
1275
1275
|
};
|
|
1276
|
-
resolvedPath = ""
|
|
1276
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/findings-publication-configuration";
|
|
1277
1277
|
body = JSON.stringify(__assign({ clientToken: (_c = input.clientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }, (input.securityHubConfiguration !== undefined &&
|
|
1278
1278
|
input.securityHubConfiguration !== null && {
|
|
1279
1279
|
securityHubConfiguration: serializeAws_restJson1SecurityHubConfiguration(input.securityHubConfiguration, context),
|
|
@@ -1300,7 +1300,7 @@ export var serializeAws_restJson1SearchResourcesCommand = function (input, conte
|
|
|
1300
1300
|
headers = {
|
|
1301
1301
|
"content-type": "application/json",
|
|
1302
1302
|
};
|
|
1303
|
-
resolvedPath = ""
|
|
1303
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/datasources/search-resources";
|
|
1304
1304
|
body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.bucketCriteria !== undefined &&
|
|
1305
1305
|
input.bucketCriteria !== null && {
|
|
1306
1306
|
bucketCriteria: serializeAws_restJson1SearchResourcesBucketCriteria(input.bucketCriteria, context),
|
|
@@ -1330,7 +1330,7 @@ export var serializeAws_restJson1TagResourceCommand = function (input, context)
|
|
|
1330
1330
|
headers = {
|
|
1331
1331
|
"content-type": "application/json",
|
|
1332
1332
|
};
|
|
1333
|
-
resolvedPath = ""
|
|
1333
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{resourceArn}";
|
|
1334
1334
|
if (input.resourceArn !== undefined) {
|
|
1335
1335
|
labelValue = input.resourceArn;
|
|
1336
1336
|
if (labelValue.length <= 0) {
|
|
@@ -1364,7 +1364,7 @@ export var serializeAws_restJson1TestCustomDataIdentifierCommand = function (inp
|
|
|
1364
1364
|
headers = {
|
|
1365
1365
|
"content-type": "application/json",
|
|
1366
1366
|
};
|
|
1367
|
-
resolvedPath = ""
|
|
1367
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/custom-data-identifiers/test";
|
|
1368
1368
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.ignoreWords !== undefined &&
|
|
1369
1369
|
input.ignoreWords !== null && {
|
|
1370
1370
|
ignoreWords: serializeAws_restJson1__listOf__string(input.ignoreWords, context),
|
|
@@ -1391,7 +1391,7 @@ export var serializeAws_restJson1UntagResourceCommand = function (input, context
|
|
|
1391
1391
|
case 1:
|
|
1392
1392
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1393
1393
|
headers = {};
|
|
1394
|
-
resolvedPath = ""
|
|
1394
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{resourceArn}";
|
|
1395
1395
|
if (input.resourceArn !== undefined) {
|
|
1396
1396
|
labelValue = input.resourceArn;
|
|
1397
1397
|
if (labelValue.length <= 0) {
|
|
@@ -1426,7 +1426,7 @@ export var serializeAws_restJson1UpdateClassificationJobCommand = function (inpu
|
|
|
1426
1426
|
headers = {
|
|
1427
1427
|
"content-type": "application/json",
|
|
1428
1428
|
};
|
|
1429
|
-
resolvedPath = ""
|
|
1429
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/jobs/{jobId}";
|
|
1430
1430
|
if (input.jobId !== undefined) {
|
|
1431
1431
|
labelValue = input.jobId;
|
|
1432
1432
|
if (labelValue.length <= 0) {
|
|
@@ -1461,7 +1461,7 @@ export var serializeAws_restJson1UpdateFindingsFilterCommand = function (input,
|
|
|
1461
1461
|
headers = {
|
|
1462
1462
|
"content-type": "application/json",
|
|
1463
1463
|
};
|
|
1464
|
-
resolvedPath = ""
|
|
1464
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/findingsfilters/{id}";
|
|
1465
1465
|
if (input.id !== undefined) {
|
|
1466
1466
|
labelValue = input.id;
|
|
1467
1467
|
if (labelValue.length <= 0) {
|
|
@@ -1498,7 +1498,7 @@ export var serializeAws_restJson1UpdateMacieSessionCommand = function (input, co
|
|
|
1498
1498
|
headers = {
|
|
1499
1499
|
"content-type": "application/json",
|
|
1500
1500
|
};
|
|
1501
|
-
resolvedPath = ""
|
|
1501
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/macie";
|
|
1502
1502
|
body = JSON.stringify(__assign(__assign({}, (input.findingPublishingFrequency !== undefined &&
|
|
1503
1503
|
input.findingPublishingFrequency !== null && { findingPublishingFrequency: input.findingPublishingFrequency })), (input.status !== undefined && input.status !== null && { status: input.status })));
|
|
1504
1504
|
return [2, new __HttpRequest({
|
|
@@ -1523,7 +1523,7 @@ export var serializeAws_restJson1UpdateMemberSessionCommand = function (input, c
|
|
|
1523
1523
|
headers = {
|
|
1524
1524
|
"content-type": "application/json",
|
|
1525
1525
|
};
|
|
1526
|
-
resolvedPath = ""
|
|
1526
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/macie/members/{id}";
|
|
1527
1527
|
if (input.id !== undefined) {
|
|
1528
1528
|
labelValue = input.id;
|
|
1529
1529
|
if (labelValue.length <= 0) {
|
|
@@ -1557,7 +1557,7 @@ export var serializeAws_restJson1UpdateOrganizationConfigurationCommand = functi
|
|
|
1557
1557
|
headers = {
|
|
1558
1558
|
"content-type": "application/json",
|
|
1559
1559
|
};
|
|
1560
|
-
resolvedPath = ""
|
|
1560
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/admin/configuration";
|
|
1561
1561
|
body = JSON.stringify(__assign({}, (input.autoEnable !== undefined && input.autoEnable !== null && { autoEnable: input.autoEnable })));
|
|
1562
1562
|
return [2, new __HttpRequest({
|
|
1563
1563
|
protocol: protocol,
|
|
@@ -21,11 +21,11 @@ export declare const getRuntimeConfig: (config: Macie2ClientConfig) => {
|
|
|
21
21
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
22
22
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
23
23
|
serviceId: string;
|
|
24
|
-
region: string | import("@aws-sdk/types").Provider<
|
|
24
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
25
25
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
26
26
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
27
27
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
28
|
-
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode
|
|
28
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
|
|
29
29
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
30
30
|
tls?: boolean | undefined;
|
|
31
31
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
@@ -19,11 +19,11 @@ export declare const getRuntimeConfig: (config: Macie2ClientConfig) => {
|
|
|
19
19
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
20
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
21
21
|
serviceId: string;
|
|
22
|
-
region: string | import("@aws-sdk/types").Provider<
|
|
22
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
23
23
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
24
24
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
25
25
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
26
|
-
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode
|
|
26
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
|
|
27
27
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
28
28
|
tls?: boolean | undefined;
|
|
29
29
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|