@aws-sdk/client-guardduty 3.54.1 → 3.58.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/GuardDutyClient.js +13 -13
- package/dist-cjs/commands/AcceptInvitationCommand.js +3 -3
- package/dist-cjs/commands/ArchiveFindingsCommand.js +3 -3
- package/dist-cjs/commands/CreateDetectorCommand.js +3 -3
- package/dist-cjs/commands/CreateFilterCommand.js +3 -3
- package/dist-cjs/commands/CreateIPSetCommand.js +3 -3
- package/dist-cjs/commands/CreateMembersCommand.js +3 -3
- package/dist-cjs/commands/CreatePublishingDestinationCommand.js +3 -3
- package/dist-cjs/commands/CreateSampleFindingsCommand.js +3 -3
- package/dist-cjs/commands/CreateThreatIntelSetCommand.js +3 -3
- package/dist-cjs/commands/DeclineInvitationsCommand.js +3 -3
- package/dist-cjs/commands/DeleteDetectorCommand.js +3 -3
- package/dist-cjs/commands/DeleteFilterCommand.js +3 -3
- package/dist-cjs/commands/DeleteIPSetCommand.js +3 -3
- package/dist-cjs/commands/DeleteInvitationsCommand.js +3 -3
- package/dist-cjs/commands/DeleteMembersCommand.js +3 -3
- package/dist-cjs/commands/DeletePublishingDestinationCommand.js +3 -3
- package/dist-cjs/commands/DeleteThreatIntelSetCommand.js +3 -3
- package/dist-cjs/commands/DescribeOrganizationConfigurationCommand.js +3 -3
- package/dist-cjs/commands/DescribePublishingDestinationCommand.js +3 -3
- package/dist-cjs/commands/DisableOrganizationAdminAccountCommand.js +3 -3
- package/dist-cjs/commands/DisassociateFromMasterAccountCommand.js +3 -3
- package/dist-cjs/commands/DisassociateMembersCommand.js +3 -3
- package/dist-cjs/commands/EnableOrganizationAdminAccountCommand.js +3 -3
- package/dist-cjs/commands/GetDetectorCommand.js +3 -3
- package/dist-cjs/commands/GetFilterCommand.js +3 -3
- package/dist-cjs/commands/GetFindingsCommand.js +3 -3
- package/dist-cjs/commands/GetFindingsStatisticsCommand.js +3 -3
- package/dist-cjs/commands/GetIPSetCommand.js +3 -3
- package/dist-cjs/commands/GetInvitationsCountCommand.js +3 -3
- package/dist-cjs/commands/GetMasterAccountCommand.js +3 -3
- package/dist-cjs/commands/GetMemberDetectorsCommand.js +3 -3
- package/dist-cjs/commands/GetMembersCommand.js +3 -3
- package/dist-cjs/commands/GetThreatIntelSetCommand.js +3 -3
- package/dist-cjs/commands/GetUsageStatisticsCommand.js +3 -3
- package/dist-cjs/commands/InviteMembersCommand.js +3 -3
- package/dist-cjs/commands/ListDetectorsCommand.js +3 -3
- package/dist-cjs/commands/ListFiltersCommand.js +3 -3
- package/dist-cjs/commands/ListFindingsCommand.js +3 -3
- package/dist-cjs/commands/ListIPSetsCommand.js +3 -3
- package/dist-cjs/commands/ListInvitationsCommand.js +3 -3
- package/dist-cjs/commands/ListMembersCommand.js +3 -3
- package/dist-cjs/commands/ListOrganizationAdminAccountsCommand.js +3 -3
- package/dist-cjs/commands/ListPublishingDestinationsCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/ListThreatIntelSetsCommand.js +3 -3
- package/dist-cjs/commands/StartMonitoringMembersCommand.js +3 -3
- package/dist-cjs/commands/StopMonitoringMembersCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UnarchiveFindingsCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateDetectorCommand.js +3 -3
- package/dist-cjs/commands/UpdateFilterCommand.js +3 -3
- package/dist-cjs/commands/UpdateFindingsFeedbackCommand.js +3 -3
- package/dist-cjs/commands/UpdateIPSetCommand.js +3 -3
- package/dist-cjs/commands/UpdateMemberDetectorsCommand.js +3 -3
- package/dist-cjs/commands/UpdateOrganizationConfigurationCommand.js +3 -3
- package/dist-cjs/commands/UpdatePublishingDestinationCommand.js +3 -3
- package/dist-cjs/commands/UpdateThreatIntelSetCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_restJson1.js +393 -393
- 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/GuardDuty.js +58 -58
- package/dist-es/pagination/GetUsageStatisticsPaginator.js +4 -4
- package/dist-es/pagination/ListDetectorsPaginator.js +4 -4
- package/dist-es/pagination/ListFiltersPaginator.js +4 -4
- package/dist-es/pagination/ListFindingsPaginator.js +4 -4
- package/dist-es/pagination/ListIPSetsPaginator.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/ListPublishingDestinationsPaginator.js +4 -4
- package/dist-es/pagination/ListThreatIntelSetsPaginator.js +4 -4
- package/dist-es/protocols/Aws_restJson1.js +58 -58
- 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 || "") + "/detector/{DetectorId}/master";
|
|
18
18
|
if (input.DetectorId !== undefined) {
|
|
19
19
|
labelValue = input.DetectorId;
|
|
20
20
|
if (labelValue.length <= 0) {
|
|
@@ -48,7 +48,7 @@ export var serializeAws_restJson1ArchiveFindingsCommand = function (input, conte
|
|
|
48
48
|
headers = {
|
|
49
49
|
"content-type": "application/json",
|
|
50
50
|
};
|
|
51
|
-
resolvedPath = ""
|
|
51
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/detector/{DetectorId}/findings/archive";
|
|
52
52
|
if (input.DetectorId !== undefined) {
|
|
53
53
|
labelValue = input.DetectorId;
|
|
54
54
|
if (labelValue.length <= 0) {
|
|
@@ -84,7 +84,7 @@ export var serializeAws_restJson1CreateDetectorCommand = function (input, contex
|
|
|
84
84
|
headers = {
|
|
85
85
|
"content-type": "application/json",
|
|
86
86
|
};
|
|
87
|
-
resolvedPath = ""
|
|
87
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/detector";
|
|
88
88
|
body = JSON.stringify(__assign(__assign(__assign(__assign({ clientToken: (_c = input.ClientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }, (input.DataSources !== undefined &&
|
|
89
89
|
input.DataSources !== null && {
|
|
90
90
|
dataSources: serializeAws_restJson1DataSourceConfigurations(input.DataSources, context),
|
|
@@ -113,7 +113,7 @@ export var serializeAws_restJson1CreateFilterCommand = function (input, context)
|
|
|
113
113
|
headers = {
|
|
114
114
|
"content-type": "application/json",
|
|
115
115
|
};
|
|
116
|
-
resolvedPath = ""
|
|
116
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/detector/{DetectorId}/filter";
|
|
117
117
|
if (input.DetectorId !== undefined) {
|
|
118
118
|
labelValue = input.DetectorId;
|
|
119
119
|
if (labelValue.length <= 0) {
|
|
@@ -151,7 +151,7 @@ export var serializeAws_restJson1CreateIPSetCommand = function (input, context)
|
|
|
151
151
|
headers = {
|
|
152
152
|
"content-type": "application/json",
|
|
153
153
|
};
|
|
154
|
-
resolvedPath = ""
|
|
154
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/detector/{DetectorId}/ipset";
|
|
155
155
|
if (input.DetectorId !== undefined) {
|
|
156
156
|
labelValue = input.DetectorId;
|
|
157
157
|
if (labelValue.length <= 0) {
|
|
@@ -185,7 +185,7 @@ export var serializeAws_restJson1CreateMembersCommand = function (input, context
|
|
|
185
185
|
headers = {
|
|
186
186
|
"content-type": "application/json",
|
|
187
187
|
};
|
|
188
|
-
resolvedPath = ""
|
|
188
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/detector/{DetectorId}/member";
|
|
189
189
|
if (input.DetectorId !== undefined) {
|
|
190
190
|
labelValue = input.DetectorId;
|
|
191
191
|
if (labelValue.length <= 0) {
|
|
@@ -223,7 +223,7 @@ export var serializeAws_restJson1CreatePublishingDestinationCommand = function (
|
|
|
223
223
|
headers = {
|
|
224
224
|
"content-type": "application/json",
|
|
225
225
|
};
|
|
226
|
-
resolvedPath = ""
|
|
226
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
227
227
|
"/detector/{DetectorId}/publishingDestination";
|
|
228
228
|
if (input.DetectorId !== undefined) {
|
|
229
229
|
labelValue = input.DetectorId;
|
|
@@ -262,7 +262,7 @@ export var serializeAws_restJson1CreateSampleFindingsCommand = function (input,
|
|
|
262
262
|
headers = {
|
|
263
263
|
"content-type": "application/json",
|
|
264
264
|
};
|
|
265
|
-
resolvedPath = ""
|
|
265
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/detector/{DetectorId}/findings/create";
|
|
266
266
|
if (input.DetectorId !== undefined) {
|
|
267
267
|
labelValue = input.DetectorId;
|
|
268
268
|
if (labelValue.length <= 0) {
|
|
@@ -298,7 +298,7 @@ export var serializeAws_restJson1CreateThreatIntelSetCommand = function (input,
|
|
|
298
298
|
headers = {
|
|
299
299
|
"content-type": "application/json",
|
|
300
300
|
};
|
|
301
|
-
resolvedPath = ""
|
|
301
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/detector/{DetectorId}/threatintelset";
|
|
302
302
|
if (input.DetectorId !== undefined) {
|
|
303
303
|
labelValue = input.DetectorId;
|
|
304
304
|
if (labelValue.length <= 0) {
|
|
@@ -332,7 +332,7 @@ export var serializeAws_restJson1DeclineInvitationsCommand = function (input, co
|
|
|
332
332
|
headers = {
|
|
333
333
|
"content-type": "application/json",
|
|
334
334
|
};
|
|
335
|
-
resolvedPath = ""
|
|
335
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/invitation/decline";
|
|
336
336
|
body = JSON.stringify(__assign({}, (input.AccountIds !== undefined &&
|
|
337
337
|
input.AccountIds !== null && { accountIds: serializeAws_restJson1AccountIds(input.AccountIds, context) })));
|
|
338
338
|
return [2, new __HttpRequest({
|
|
@@ -355,7 +355,7 @@ export var serializeAws_restJson1DeleteDetectorCommand = function (input, contex
|
|
|
355
355
|
case 1:
|
|
356
356
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
357
357
|
headers = {};
|
|
358
|
-
resolvedPath = ""
|
|
358
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/detector/{DetectorId}";
|
|
359
359
|
if (input.DetectorId !== undefined) {
|
|
360
360
|
labelValue = input.DetectorId;
|
|
361
361
|
if (labelValue.length <= 0) {
|
|
@@ -386,7 +386,7 @@ export var serializeAws_restJson1DeleteFilterCommand = function (input, context)
|
|
|
386
386
|
case 1:
|
|
387
387
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
388
388
|
headers = {};
|
|
389
|
-
resolvedPath = ""
|
|
389
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
390
390
|
"/detector/{DetectorId}/filter/{FilterName}";
|
|
391
391
|
if (input.DetectorId !== undefined) {
|
|
392
392
|
labelValue = input.DetectorId;
|
|
@@ -430,7 +430,7 @@ export var serializeAws_restJson1DeleteInvitationsCommand = function (input, con
|
|
|
430
430
|
headers = {
|
|
431
431
|
"content-type": "application/json",
|
|
432
432
|
};
|
|
433
|
-
resolvedPath = ""
|
|
433
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/invitation/delete";
|
|
434
434
|
body = JSON.stringify(__assign({}, (input.AccountIds !== undefined &&
|
|
435
435
|
input.AccountIds !== null && { accountIds: serializeAws_restJson1AccountIds(input.AccountIds, context) })));
|
|
436
436
|
return [2, new __HttpRequest({
|
|
@@ -453,7 +453,7 @@ export var serializeAws_restJson1DeleteIPSetCommand = function (input, context)
|
|
|
453
453
|
case 1:
|
|
454
454
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
455
455
|
headers = {};
|
|
456
|
-
resolvedPath = ""
|
|
456
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/detector/{DetectorId}/ipset/{IpSetId}";
|
|
457
457
|
if (input.DetectorId !== undefined) {
|
|
458
458
|
labelValue = input.DetectorId;
|
|
459
459
|
if (labelValue.length <= 0) {
|
|
@@ -496,7 +496,7 @@ export var serializeAws_restJson1DeleteMembersCommand = function (input, context
|
|
|
496
496
|
headers = {
|
|
497
497
|
"content-type": "application/json",
|
|
498
498
|
};
|
|
499
|
-
resolvedPath = ""
|
|
499
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/detector/{DetectorId}/member/delete";
|
|
500
500
|
if (input.DetectorId !== undefined) {
|
|
501
501
|
labelValue = input.DetectorId;
|
|
502
502
|
if (labelValue.length <= 0) {
|
|
@@ -529,7 +529,7 @@ export var serializeAws_restJson1DeletePublishingDestinationCommand = function (
|
|
|
529
529
|
case 1:
|
|
530
530
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
531
531
|
headers = {};
|
|
532
|
-
resolvedPath = ""
|
|
532
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
533
533
|
"/detector/{DetectorId}/publishingDestination/{DestinationId}";
|
|
534
534
|
if (input.DetectorId !== undefined) {
|
|
535
535
|
labelValue = input.DetectorId;
|
|
@@ -571,7 +571,7 @@ export var serializeAws_restJson1DeleteThreatIntelSetCommand = function (input,
|
|
|
571
571
|
case 1:
|
|
572
572
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
573
573
|
headers = {};
|
|
574
|
-
resolvedPath = ""
|
|
574
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
575
575
|
"/detector/{DetectorId}/threatintelset/{ThreatIntelSetId}";
|
|
576
576
|
if (input.DetectorId !== undefined) {
|
|
577
577
|
labelValue = input.DetectorId;
|
|
@@ -613,7 +613,7 @@ export var serializeAws_restJson1DescribeOrganizationConfigurationCommand = func
|
|
|
613
613
|
case 1:
|
|
614
614
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
615
615
|
headers = {};
|
|
616
|
-
resolvedPath = ""
|
|
616
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/detector/{DetectorId}/admin";
|
|
617
617
|
if (input.DetectorId !== undefined) {
|
|
618
618
|
labelValue = input.DetectorId;
|
|
619
619
|
if (labelValue.length <= 0) {
|
|
@@ -644,7 +644,7 @@ export var serializeAws_restJson1DescribePublishingDestinationCommand = function
|
|
|
644
644
|
case 1:
|
|
645
645
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
646
646
|
headers = {};
|
|
647
|
-
resolvedPath = ""
|
|
647
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
648
648
|
"/detector/{DetectorId}/publishingDestination/{DestinationId}";
|
|
649
649
|
if (input.DetectorId !== undefined) {
|
|
650
650
|
labelValue = input.DetectorId;
|
|
@@ -688,7 +688,7 @@ export var serializeAws_restJson1DisableOrganizationAdminAccountCommand = functi
|
|
|
688
688
|
headers = {
|
|
689
689
|
"content-type": "application/json",
|
|
690
690
|
};
|
|
691
|
-
resolvedPath = ""
|
|
691
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/admin/disable";
|
|
692
692
|
body = JSON.stringify(__assign({}, (input.AdminAccountId !== undefined &&
|
|
693
693
|
input.AdminAccountId !== null && { adminAccountId: input.AdminAccountId })));
|
|
694
694
|
return [2, new __HttpRequest({
|
|
@@ -711,7 +711,7 @@ export var serializeAws_restJson1DisassociateFromMasterAccountCommand = function
|
|
|
711
711
|
case 1:
|
|
712
712
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
713
713
|
headers = {};
|
|
714
|
-
resolvedPath = ""
|
|
714
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
715
715
|
"/detector/{DetectorId}/master/disassociate";
|
|
716
716
|
if (input.DetectorId !== undefined) {
|
|
717
717
|
labelValue = input.DetectorId;
|
|
@@ -745,7 +745,7 @@ export var serializeAws_restJson1DisassociateMembersCommand = function (input, c
|
|
|
745
745
|
headers = {
|
|
746
746
|
"content-type": "application/json",
|
|
747
747
|
};
|
|
748
|
-
resolvedPath = ""
|
|
748
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
749
749
|
"/detector/{DetectorId}/member/disassociate";
|
|
750
750
|
if (input.DetectorId !== undefined) {
|
|
751
751
|
labelValue = input.DetectorId;
|
|
@@ -781,7 +781,7 @@ export var serializeAws_restJson1EnableOrganizationAdminAccountCommand = functio
|
|
|
781
781
|
headers = {
|
|
782
782
|
"content-type": "application/json",
|
|
783
783
|
};
|
|
784
|
-
resolvedPath = ""
|
|
784
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/admin/enable";
|
|
785
785
|
body = JSON.stringify(__assign({}, (input.AdminAccountId !== undefined &&
|
|
786
786
|
input.AdminAccountId !== null && { adminAccountId: input.AdminAccountId })));
|
|
787
787
|
return [2, new __HttpRequest({
|
|
@@ -804,7 +804,7 @@ export var serializeAws_restJson1GetDetectorCommand = function (input, context)
|
|
|
804
804
|
case 1:
|
|
805
805
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
806
806
|
headers = {};
|
|
807
|
-
resolvedPath = ""
|
|
807
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/detector/{DetectorId}";
|
|
808
808
|
if (input.DetectorId !== undefined) {
|
|
809
809
|
labelValue = input.DetectorId;
|
|
810
810
|
if (labelValue.length <= 0) {
|
|
@@ -835,7 +835,7 @@ export var serializeAws_restJson1GetFilterCommand = function (input, context) {
|
|
|
835
835
|
case 1:
|
|
836
836
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
837
837
|
headers = {};
|
|
838
|
-
resolvedPath = ""
|
|
838
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
839
839
|
"/detector/{DetectorId}/filter/{FilterName}";
|
|
840
840
|
if (input.DetectorId !== undefined) {
|
|
841
841
|
labelValue = input.DetectorId;
|
|
@@ -879,7 +879,7 @@ export var serializeAws_restJson1GetFindingsCommand = function (input, context)
|
|
|
879
879
|
headers = {
|
|
880
880
|
"content-type": "application/json",
|
|
881
881
|
};
|
|
882
|
-
resolvedPath = ""
|
|
882
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/detector/{DetectorId}/findings/get";
|
|
883
883
|
if (input.DetectorId !== undefined) {
|
|
884
884
|
labelValue = input.DetectorId;
|
|
885
885
|
if (labelValue.length <= 0) {
|
|
@@ -915,7 +915,7 @@ export var serializeAws_restJson1GetFindingsStatisticsCommand = function (input,
|
|
|
915
915
|
headers = {
|
|
916
916
|
"content-type": "application/json",
|
|
917
917
|
};
|
|
918
|
-
resolvedPath = ""
|
|
918
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
919
919
|
"/detector/{DetectorId}/findings/statistics";
|
|
920
920
|
if (input.DetectorId !== undefined) {
|
|
921
921
|
labelValue = input.DetectorId;
|
|
@@ -956,7 +956,7 @@ export var serializeAws_restJson1GetInvitationsCountCommand = function (input, c
|
|
|
956
956
|
headers = {
|
|
957
957
|
"content-type": "application/json",
|
|
958
958
|
};
|
|
959
|
-
resolvedPath = ""
|
|
959
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/invitation/count";
|
|
960
960
|
body = "";
|
|
961
961
|
return [2, new __HttpRequest({
|
|
962
962
|
protocol: protocol,
|
|
@@ -978,7 +978,7 @@ export var serializeAws_restJson1GetIPSetCommand = function (input, context) { r
|
|
|
978
978
|
case 1:
|
|
979
979
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
980
980
|
headers = {};
|
|
981
|
-
resolvedPath = ""
|
|
981
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/detector/{DetectorId}/ipset/{IpSetId}";
|
|
982
982
|
if (input.DetectorId !== undefined) {
|
|
983
983
|
labelValue = input.DetectorId;
|
|
984
984
|
if (labelValue.length <= 0) {
|
|
@@ -1019,7 +1019,7 @@ export var serializeAws_restJson1GetMasterAccountCommand = function (input, cont
|
|
|
1019
1019
|
case 1:
|
|
1020
1020
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1021
1021
|
headers = {};
|
|
1022
|
-
resolvedPath = ""
|
|
1022
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/detector/{DetectorId}/master";
|
|
1023
1023
|
if (input.DetectorId !== undefined) {
|
|
1024
1024
|
labelValue = input.DetectorId;
|
|
1025
1025
|
if (labelValue.length <= 0) {
|
|
@@ -1052,7 +1052,7 @@ export var serializeAws_restJson1GetMemberDetectorsCommand = function (input, co
|
|
|
1052
1052
|
headers = {
|
|
1053
1053
|
"content-type": "application/json",
|
|
1054
1054
|
};
|
|
1055
|
-
resolvedPath = ""
|
|
1055
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1056
1056
|
"/detector/{DetectorId}/member/detector/get";
|
|
1057
1057
|
if (input.DetectorId !== undefined) {
|
|
1058
1058
|
labelValue = input.DetectorId;
|
|
@@ -1088,7 +1088,7 @@ export var serializeAws_restJson1GetMembersCommand = function (input, context) {
|
|
|
1088
1088
|
headers = {
|
|
1089
1089
|
"content-type": "application/json",
|
|
1090
1090
|
};
|
|
1091
|
-
resolvedPath = ""
|
|
1091
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/detector/{DetectorId}/member/get";
|
|
1092
1092
|
if (input.DetectorId !== undefined) {
|
|
1093
1093
|
labelValue = input.DetectorId;
|
|
1094
1094
|
if (labelValue.length <= 0) {
|
|
@@ -1121,7 +1121,7 @@ export var serializeAws_restJson1GetThreatIntelSetCommand = function (input, con
|
|
|
1121
1121
|
case 1:
|
|
1122
1122
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1123
1123
|
headers = {};
|
|
1124
|
-
resolvedPath = ""
|
|
1124
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1125
1125
|
"/detector/{DetectorId}/threatintelset/{ThreatIntelSetId}";
|
|
1126
1126
|
if (input.DetectorId !== undefined) {
|
|
1127
1127
|
labelValue = input.DetectorId;
|
|
@@ -1165,7 +1165,7 @@ export var serializeAws_restJson1GetUsageStatisticsCommand = function (input, co
|
|
|
1165
1165
|
headers = {
|
|
1166
1166
|
"content-type": "application/json",
|
|
1167
1167
|
};
|
|
1168
|
-
resolvedPath = ""
|
|
1168
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/detector/{DetectorId}/usage/statistics";
|
|
1169
1169
|
if (input.DetectorId !== undefined) {
|
|
1170
1170
|
labelValue = input.DetectorId;
|
|
1171
1171
|
if (labelValue.length <= 0) {
|
|
@@ -1203,7 +1203,7 @@ export var serializeAws_restJson1InviteMembersCommand = function (input, context
|
|
|
1203
1203
|
headers = {
|
|
1204
1204
|
"content-type": "application/json",
|
|
1205
1205
|
};
|
|
1206
|
-
resolvedPath = ""
|
|
1206
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/detector/{DetectorId}/member/invite";
|
|
1207
1207
|
if (input.DetectorId !== undefined) {
|
|
1208
1208
|
labelValue = input.DetectorId;
|
|
1209
1209
|
if (labelValue.length <= 0) {
|
|
@@ -1237,7 +1237,7 @@ export var serializeAws_restJson1ListDetectorsCommand = function (input, context
|
|
|
1237
1237
|
case 1:
|
|
1238
1238
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1239
1239
|
headers = {};
|
|
1240
|
-
resolvedPath = ""
|
|
1240
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/detector";
|
|
1241
1241
|
query = __assign(__assign({}, (input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() })), (input.NextToken !== undefined && { nextToken: input.NextToken }));
|
|
1242
1242
|
return [2, new __HttpRequest({
|
|
1243
1243
|
protocol: protocol,
|
|
@@ -1260,7 +1260,7 @@ export var serializeAws_restJson1ListFiltersCommand = function (input, context)
|
|
|
1260
1260
|
case 1:
|
|
1261
1261
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1262
1262
|
headers = {};
|
|
1263
|
-
resolvedPath = ""
|
|
1263
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/detector/{DetectorId}/filter";
|
|
1264
1264
|
if (input.DetectorId !== undefined) {
|
|
1265
1265
|
labelValue = input.DetectorId;
|
|
1266
1266
|
if (labelValue.length <= 0) {
|
|
@@ -1295,7 +1295,7 @@ export var serializeAws_restJson1ListFindingsCommand = function (input, context)
|
|
|
1295
1295
|
headers = {
|
|
1296
1296
|
"content-type": "application/json",
|
|
1297
1297
|
};
|
|
1298
|
-
resolvedPath = ""
|
|
1298
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/detector/{DetectorId}/findings";
|
|
1299
1299
|
if (input.DetectorId !== undefined) {
|
|
1300
1300
|
labelValue = input.DetectorId;
|
|
1301
1301
|
if (labelValue.length <= 0) {
|
|
@@ -1331,7 +1331,7 @@ export var serializeAws_restJson1ListInvitationsCommand = function (input, conte
|
|
|
1331
1331
|
case 1:
|
|
1332
1332
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1333
1333
|
headers = {};
|
|
1334
|
-
resolvedPath = ""
|
|
1334
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/invitation";
|
|
1335
1335
|
query = __assign(__assign({}, (input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() })), (input.NextToken !== undefined && { nextToken: input.NextToken }));
|
|
1336
1336
|
return [2, new __HttpRequest({
|
|
1337
1337
|
protocol: protocol,
|
|
@@ -1354,7 +1354,7 @@ export var serializeAws_restJson1ListIPSetsCommand = function (input, context) {
|
|
|
1354
1354
|
case 1:
|
|
1355
1355
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1356
1356
|
headers = {};
|
|
1357
|
-
resolvedPath = ""
|
|
1357
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/detector/{DetectorId}/ipset";
|
|
1358
1358
|
if (input.DetectorId !== undefined) {
|
|
1359
1359
|
labelValue = input.DetectorId;
|
|
1360
1360
|
if (labelValue.length <= 0) {
|
|
@@ -1387,7 +1387,7 @@ export var serializeAws_restJson1ListMembersCommand = function (input, context)
|
|
|
1387
1387
|
case 1:
|
|
1388
1388
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1389
1389
|
headers = {};
|
|
1390
|
-
resolvedPath = ""
|
|
1390
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/detector/{DetectorId}/member";
|
|
1391
1391
|
if (input.DetectorId !== undefined) {
|
|
1392
1392
|
labelValue = input.DetectorId;
|
|
1393
1393
|
if (labelValue.length <= 0) {
|
|
@@ -1420,7 +1420,7 @@ export var serializeAws_restJson1ListOrganizationAdminAccountsCommand = function
|
|
|
1420
1420
|
case 1:
|
|
1421
1421
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1422
1422
|
headers = {};
|
|
1423
|
-
resolvedPath = ""
|
|
1423
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/admin";
|
|
1424
1424
|
query = __assign(__assign({}, (input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() })), (input.NextToken !== undefined && { nextToken: input.NextToken }));
|
|
1425
1425
|
return [2, new __HttpRequest({
|
|
1426
1426
|
protocol: protocol,
|
|
@@ -1443,7 +1443,7 @@ export var serializeAws_restJson1ListPublishingDestinationsCommand = function (i
|
|
|
1443
1443
|
case 1:
|
|
1444
1444
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1445
1445
|
headers = {};
|
|
1446
|
-
resolvedPath = ""
|
|
1446
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1447
1447
|
"/detector/{DetectorId}/publishingDestination";
|
|
1448
1448
|
if (input.DetectorId !== undefined) {
|
|
1449
1449
|
labelValue = input.DetectorId;
|
|
@@ -1477,7 +1477,7 @@ export var serializeAws_restJson1ListTagsForResourceCommand = function (input, c
|
|
|
1477
1477
|
case 1:
|
|
1478
1478
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1479
1479
|
headers = {};
|
|
1480
|
-
resolvedPath = ""
|
|
1480
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{ResourceArn}";
|
|
1481
1481
|
if (input.ResourceArn !== undefined) {
|
|
1482
1482
|
labelValue = input.ResourceArn;
|
|
1483
1483
|
if (labelValue.length <= 0) {
|
|
@@ -1508,7 +1508,7 @@ export var serializeAws_restJson1ListThreatIntelSetsCommand = function (input, c
|
|
|
1508
1508
|
case 1:
|
|
1509
1509
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1510
1510
|
headers = {};
|
|
1511
|
-
resolvedPath = ""
|
|
1511
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/detector/{DetectorId}/threatintelset";
|
|
1512
1512
|
if (input.DetectorId !== undefined) {
|
|
1513
1513
|
labelValue = input.DetectorId;
|
|
1514
1514
|
if (labelValue.length <= 0) {
|
|
@@ -1543,7 +1543,7 @@ export var serializeAws_restJson1StartMonitoringMembersCommand = function (input
|
|
|
1543
1543
|
headers = {
|
|
1544
1544
|
"content-type": "application/json",
|
|
1545
1545
|
};
|
|
1546
|
-
resolvedPath = ""
|
|
1546
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/detector/{DetectorId}/member/start";
|
|
1547
1547
|
if (input.DetectorId !== undefined) {
|
|
1548
1548
|
labelValue = input.DetectorId;
|
|
1549
1549
|
if (labelValue.length <= 0) {
|
|
@@ -1578,7 +1578,7 @@ export var serializeAws_restJson1StopMonitoringMembersCommand = function (input,
|
|
|
1578
1578
|
headers = {
|
|
1579
1579
|
"content-type": "application/json",
|
|
1580
1580
|
};
|
|
1581
|
-
resolvedPath = ""
|
|
1581
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/detector/{DetectorId}/member/stop";
|
|
1582
1582
|
if (input.DetectorId !== undefined) {
|
|
1583
1583
|
labelValue = input.DetectorId;
|
|
1584
1584
|
if (labelValue.length <= 0) {
|
|
@@ -1613,7 +1613,7 @@ export var serializeAws_restJson1TagResourceCommand = function (input, context)
|
|
|
1613
1613
|
headers = {
|
|
1614
1614
|
"content-type": "application/json",
|
|
1615
1615
|
};
|
|
1616
|
-
resolvedPath = ""
|
|
1616
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{ResourceArn}";
|
|
1617
1617
|
if (input.ResourceArn !== undefined) {
|
|
1618
1618
|
labelValue = input.ResourceArn;
|
|
1619
1619
|
if (labelValue.length <= 0) {
|
|
@@ -1647,7 +1647,7 @@ export var serializeAws_restJson1UnarchiveFindingsCommand = function (input, con
|
|
|
1647
1647
|
headers = {
|
|
1648
1648
|
"content-type": "application/json",
|
|
1649
1649
|
};
|
|
1650
|
-
resolvedPath = ""
|
|
1650
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/detector/{DetectorId}/findings/unarchive";
|
|
1651
1651
|
if (input.DetectorId !== undefined) {
|
|
1652
1652
|
labelValue = input.DetectorId;
|
|
1653
1653
|
if (labelValue.length <= 0) {
|
|
@@ -1680,7 +1680,7 @@ export var serializeAws_restJson1UntagResourceCommand = function (input, context
|
|
|
1680
1680
|
case 1:
|
|
1681
1681
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1682
1682
|
headers = {};
|
|
1683
|
-
resolvedPath = ""
|
|
1683
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{ResourceArn}";
|
|
1684
1684
|
if (input.ResourceArn !== undefined) {
|
|
1685
1685
|
labelValue = input.ResourceArn;
|
|
1686
1686
|
if (labelValue.length <= 0) {
|
|
@@ -1715,7 +1715,7 @@ export var serializeAws_restJson1UpdateDetectorCommand = function (input, contex
|
|
|
1715
1715
|
headers = {
|
|
1716
1716
|
"content-type": "application/json",
|
|
1717
1717
|
};
|
|
1718
|
-
resolvedPath = ""
|
|
1718
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/detector/{DetectorId}";
|
|
1719
1719
|
if (input.DetectorId !== undefined) {
|
|
1720
1720
|
labelValue = input.DetectorId;
|
|
1721
1721
|
if (labelValue.length <= 0) {
|
|
@@ -1753,7 +1753,7 @@ export var serializeAws_restJson1UpdateFilterCommand = function (input, context)
|
|
|
1753
1753
|
headers = {
|
|
1754
1754
|
"content-type": "application/json",
|
|
1755
1755
|
};
|
|
1756
|
-
resolvedPath = ""
|
|
1756
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1757
1757
|
"/detector/{DetectorId}/filter/{FilterName}";
|
|
1758
1758
|
if (input.DetectorId !== undefined) {
|
|
1759
1759
|
labelValue = input.DetectorId;
|
|
@@ -1801,7 +1801,7 @@ export var serializeAws_restJson1UpdateFindingsFeedbackCommand = function (input
|
|
|
1801
1801
|
headers = {
|
|
1802
1802
|
"content-type": "application/json",
|
|
1803
1803
|
};
|
|
1804
|
-
resolvedPath = ""
|
|
1804
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/detector/{DetectorId}/findings/feedback";
|
|
1805
1805
|
if (input.DetectorId !== undefined) {
|
|
1806
1806
|
labelValue = input.DetectorId;
|
|
1807
1807
|
if (labelValue.length <= 0) {
|
|
@@ -1836,7 +1836,7 @@ export var serializeAws_restJson1UpdateIPSetCommand = function (input, context)
|
|
|
1836
1836
|
headers = {
|
|
1837
1837
|
"content-type": "application/json",
|
|
1838
1838
|
};
|
|
1839
|
-
resolvedPath = ""
|
|
1839
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/detector/{DetectorId}/ipset/{IpSetId}";
|
|
1840
1840
|
if (input.DetectorId !== undefined) {
|
|
1841
1841
|
labelValue = input.DetectorId;
|
|
1842
1842
|
if (labelValue.length <= 0) {
|
|
@@ -1880,7 +1880,7 @@ export var serializeAws_restJson1UpdateMemberDetectorsCommand = function (input,
|
|
|
1880
1880
|
headers = {
|
|
1881
1881
|
"content-type": "application/json",
|
|
1882
1882
|
};
|
|
1883
|
-
resolvedPath = ""
|
|
1883
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1884
1884
|
"/detector/{DetectorId}/member/detector/update";
|
|
1885
1885
|
if (input.DetectorId !== undefined) {
|
|
1886
1886
|
labelValue = input.DetectorId;
|
|
@@ -1919,7 +1919,7 @@ export var serializeAws_restJson1UpdateOrganizationConfigurationCommand = functi
|
|
|
1919
1919
|
headers = {
|
|
1920
1920
|
"content-type": "application/json",
|
|
1921
1921
|
};
|
|
1922
|
-
resolvedPath = ""
|
|
1922
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/detector/{DetectorId}/admin";
|
|
1923
1923
|
if (input.DetectorId !== undefined) {
|
|
1924
1924
|
labelValue = input.DetectorId;
|
|
1925
1925
|
if (labelValue.length <= 0) {
|
|
@@ -1956,7 +1956,7 @@ export var serializeAws_restJson1UpdatePublishingDestinationCommand = function (
|
|
|
1956
1956
|
headers = {
|
|
1957
1957
|
"content-type": "application/json",
|
|
1958
1958
|
};
|
|
1959
|
-
resolvedPath = ""
|
|
1959
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1960
1960
|
"/detector/{DetectorId}/publishingDestination/{DestinationId}";
|
|
1961
1961
|
if (input.DetectorId !== undefined) {
|
|
1962
1962
|
labelValue = input.DetectorId;
|
|
@@ -2004,7 +2004,7 @@ export var serializeAws_restJson1UpdateThreatIntelSetCommand = function (input,
|
|
|
2004
2004
|
headers = {
|
|
2005
2005
|
"content-type": "application/json",
|
|
2006
2006
|
};
|
|
2007
|
-
resolvedPath = ""
|
|
2007
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
2008
2008
|
"/detector/{DetectorId}/threatintelset/{ThreatIntelSetId}";
|
|
2009
2009
|
if (input.DetectorId !== undefined) {
|
|
2010
2010
|
labelValue = input.DetectorId;
|
|
@@ -21,11 +21,11 @@ export declare const getRuntimeConfig: (config: GuardDutyClientConfig) => {
|
|
|
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: GuardDutyClientConfig) => {
|
|
|
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;
|