@aws-sdk/client-guardduty 3.54.1 → 3.55.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 +8 -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
|
@@ -19,7 +19,7 @@ const serializeAws_restJson1AcceptInvitationCommand = async (input, context) =>
|
|
|
19
19
|
if (labelValue.length <= 0) {
|
|
20
20
|
throw new Error("Empty value provided for input HTTP label: DetectorId.");
|
|
21
21
|
}
|
|
22
|
-
resolvedPath = resolvedPath.replace("{DetectorId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
22
|
+
resolvedPath = resolvedPath.replace("{DetectorId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
23
23
|
}
|
|
24
24
|
else {
|
|
25
25
|
throw new Error("No value provided for input HTTP label: DetectorId.");
|
|
@@ -51,7 +51,7 @@ const serializeAws_restJson1ArchiveFindingsCommand = async (input, context) => {
|
|
|
51
51
|
if (labelValue.length <= 0) {
|
|
52
52
|
throw new Error("Empty value provided for input HTTP label: DetectorId.");
|
|
53
53
|
}
|
|
54
|
-
resolvedPath = resolvedPath.replace("{DetectorId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
54
|
+
resolvedPath = resolvedPath.replace("{DetectorId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
55
55
|
}
|
|
56
56
|
else {
|
|
57
57
|
throw new Error("No value provided for input HTTP label: DetectorId.");
|
|
@@ -81,7 +81,7 @@ const serializeAws_restJson1CreateDetectorCommand = async (input, context) => {
|
|
|
81
81
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/detector";
|
|
82
82
|
let body;
|
|
83
83
|
body = JSON.stringify({
|
|
84
|
-
clientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
84
|
+
clientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
85
85
|
...(input.DataSources !== undefined &&
|
|
86
86
|
input.DataSources !== null && {
|
|
87
87
|
dataSources: serializeAws_restJson1DataSourceConfigurations(input.DataSources, context),
|
|
@@ -114,7 +114,7 @@ const serializeAws_restJson1CreateFilterCommand = async (input, context) => {
|
|
|
114
114
|
if (labelValue.length <= 0) {
|
|
115
115
|
throw new Error("Empty value provided for input HTTP label: DetectorId.");
|
|
116
116
|
}
|
|
117
|
-
resolvedPath = resolvedPath.replace("{DetectorId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
117
|
+
resolvedPath = resolvedPath.replace("{DetectorId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
118
118
|
}
|
|
119
119
|
else {
|
|
120
120
|
throw new Error("No value provided for input HTTP label: DetectorId.");
|
|
@@ -122,7 +122,7 @@ const serializeAws_restJson1CreateFilterCommand = async (input, context) => {
|
|
|
122
122
|
let body;
|
|
123
123
|
body = JSON.stringify({
|
|
124
124
|
...(input.Action !== undefined && input.Action !== null && { action: input.Action }),
|
|
125
|
-
clientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
125
|
+
clientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
126
126
|
...(input.Description !== undefined && input.Description !== null && { description: input.Description }),
|
|
127
127
|
...(input.FindingCriteria !== undefined &&
|
|
128
128
|
input.FindingCriteria !== null && {
|
|
@@ -155,7 +155,7 @@ const serializeAws_restJson1CreateIPSetCommand = async (input, context) => {
|
|
|
155
155
|
if (labelValue.length <= 0) {
|
|
156
156
|
throw new Error("Empty value provided for input HTTP label: DetectorId.");
|
|
157
157
|
}
|
|
158
|
-
resolvedPath = resolvedPath.replace("{DetectorId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
158
|
+
resolvedPath = resolvedPath.replace("{DetectorId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
159
159
|
}
|
|
160
160
|
else {
|
|
161
161
|
throw new Error("No value provided for input HTTP label: DetectorId.");
|
|
@@ -163,7 +163,7 @@ const serializeAws_restJson1CreateIPSetCommand = async (input, context) => {
|
|
|
163
163
|
let body;
|
|
164
164
|
body = JSON.stringify({
|
|
165
165
|
...(input.Activate !== undefined && input.Activate !== null && { activate: input.Activate }),
|
|
166
|
-
clientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
166
|
+
clientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
167
167
|
...(input.Format !== undefined && input.Format !== null && { format: input.Format }),
|
|
168
168
|
...(input.Location !== undefined && input.Location !== null && { location: input.Location }),
|
|
169
169
|
...(input.Name !== undefined && input.Name !== null && { name: input.Name }),
|
|
@@ -191,7 +191,7 @@ const serializeAws_restJson1CreateMembersCommand = async (input, context) => {
|
|
|
191
191
|
if (labelValue.length <= 0) {
|
|
192
192
|
throw new Error("Empty value provided for input HTTP label: DetectorId.");
|
|
193
193
|
}
|
|
194
|
-
resolvedPath = resolvedPath.replace("{DetectorId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
194
|
+
resolvedPath = resolvedPath.replace("{DetectorId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
195
195
|
}
|
|
196
196
|
else {
|
|
197
197
|
throw new Error("No value provided for input HTTP label: DetectorId.");
|
|
@@ -227,14 +227,14 @@ const serializeAws_restJson1CreatePublishingDestinationCommand = async (input, c
|
|
|
227
227
|
if (labelValue.length <= 0) {
|
|
228
228
|
throw new Error("Empty value provided for input HTTP label: DetectorId.");
|
|
229
229
|
}
|
|
230
|
-
resolvedPath = resolvedPath.replace("{DetectorId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
230
|
+
resolvedPath = resolvedPath.replace("{DetectorId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
231
231
|
}
|
|
232
232
|
else {
|
|
233
233
|
throw new Error("No value provided for input HTTP label: DetectorId.");
|
|
234
234
|
}
|
|
235
235
|
let body;
|
|
236
236
|
body = JSON.stringify({
|
|
237
|
-
clientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
237
|
+
clientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
238
238
|
...(input.DestinationProperties !== undefined &&
|
|
239
239
|
input.DestinationProperties !== null && {
|
|
240
240
|
destinationProperties: serializeAws_restJson1DestinationProperties(input.DestinationProperties, context),
|
|
@@ -264,7 +264,7 @@ const serializeAws_restJson1CreateSampleFindingsCommand = async (input, context)
|
|
|
264
264
|
if (labelValue.length <= 0) {
|
|
265
265
|
throw new Error("Empty value provided for input HTTP label: DetectorId.");
|
|
266
266
|
}
|
|
267
|
-
resolvedPath = resolvedPath.replace("{DetectorId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
267
|
+
resolvedPath = resolvedPath.replace("{DetectorId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
268
268
|
}
|
|
269
269
|
else {
|
|
270
270
|
throw new Error("No value provided for input HTTP label: DetectorId.");
|
|
@@ -297,7 +297,7 @@ const serializeAws_restJson1CreateThreatIntelSetCommand = async (input, context)
|
|
|
297
297
|
if (labelValue.length <= 0) {
|
|
298
298
|
throw new Error("Empty value provided for input HTTP label: DetectorId.");
|
|
299
299
|
}
|
|
300
|
-
resolvedPath = resolvedPath.replace("{DetectorId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
300
|
+
resolvedPath = resolvedPath.replace("{DetectorId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
301
301
|
}
|
|
302
302
|
else {
|
|
303
303
|
throw new Error("No value provided for input HTTP label: DetectorId.");
|
|
@@ -305,7 +305,7 @@ const serializeAws_restJson1CreateThreatIntelSetCommand = async (input, context)
|
|
|
305
305
|
let body;
|
|
306
306
|
body = JSON.stringify({
|
|
307
307
|
...(input.Activate !== undefined && input.Activate !== null && { activate: input.Activate }),
|
|
308
|
-
clientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
308
|
+
clientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
309
309
|
...(input.Format !== undefined && input.Format !== null && { format: input.Format }),
|
|
310
310
|
...(input.Location !== undefined && input.Location !== null && { location: input.Location }),
|
|
311
311
|
...(input.Name !== undefined && input.Name !== null && { name: input.Name }),
|
|
@@ -353,7 +353,7 @@ const serializeAws_restJson1DeleteDetectorCommand = async (input, context) => {
|
|
|
353
353
|
if (labelValue.length <= 0) {
|
|
354
354
|
throw new Error("Empty value provided for input HTTP label: DetectorId.");
|
|
355
355
|
}
|
|
356
|
-
resolvedPath = resolvedPath.replace("{DetectorId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
356
|
+
resolvedPath = resolvedPath.replace("{DetectorId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
357
357
|
}
|
|
358
358
|
else {
|
|
359
359
|
throw new Error("No value provided for input HTTP label: DetectorId.");
|
|
@@ -380,7 +380,7 @@ const serializeAws_restJson1DeleteFilterCommand = async (input, context) => {
|
|
|
380
380
|
if (labelValue.length <= 0) {
|
|
381
381
|
throw new Error("Empty value provided for input HTTP label: DetectorId.");
|
|
382
382
|
}
|
|
383
|
-
resolvedPath = resolvedPath.replace("{DetectorId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
383
|
+
resolvedPath = resolvedPath.replace("{DetectorId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
384
384
|
}
|
|
385
385
|
else {
|
|
386
386
|
throw new Error("No value provided for input HTTP label: DetectorId.");
|
|
@@ -390,7 +390,7 @@ const serializeAws_restJson1DeleteFilterCommand = async (input, context) => {
|
|
|
390
390
|
if (labelValue.length <= 0) {
|
|
391
391
|
throw new Error("Empty value provided for input HTTP label: FilterName.");
|
|
392
392
|
}
|
|
393
|
-
resolvedPath = resolvedPath.replace("{FilterName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
393
|
+
resolvedPath = resolvedPath.replace("{FilterName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
394
394
|
}
|
|
395
395
|
else {
|
|
396
396
|
throw new Error("No value provided for input HTTP label: FilterName.");
|
|
@@ -438,7 +438,7 @@ const serializeAws_restJson1DeleteIPSetCommand = async (input, context) => {
|
|
|
438
438
|
if (labelValue.length <= 0) {
|
|
439
439
|
throw new Error("Empty value provided for input HTTP label: DetectorId.");
|
|
440
440
|
}
|
|
441
|
-
resolvedPath = resolvedPath.replace("{DetectorId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
441
|
+
resolvedPath = resolvedPath.replace("{DetectorId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
442
442
|
}
|
|
443
443
|
else {
|
|
444
444
|
throw new Error("No value provided for input HTTP label: DetectorId.");
|
|
@@ -448,7 +448,7 @@ const serializeAws_restJson1DeleteIPSetCommand = async (input, context) => {
|
|
|
448
448
|
if (labelValue.length <= 0) {
|
|
449
449
|
throw new Error("Empty value provided for input HTTP label: IpSetId.");
|
|
450
450
|
}
|
|
451
|
-
resolvedPath = resolvedPath.replace("{IpSetId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
451
|
+
resolvedPath = resolvedPath.replace("{IpSetId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
452
452
|
}
|
|
453
453
|
else {
|
|
454
454
|
throw new Error("No value provided for input HTTP label: IpSetId.");
|
|
@@ -476,7 +476,7 @@ const serializeAws_restJson1DeleteMembersCommand = async (input, context) => {
|
|
|
476
476
|
if (labelValue.length <= 0) {
|
|
477
477
|
throw new Error("Empty value provided for input HTTP label: DetectorId.");
|
|
478
478
|
}
|
|
479
|
-
resolvedPath = resolvedPath.replace("{DetectorId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
479
|
+
resolvedPath = resolvedPath.replace("{DetectorId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
480
480
|
}
|
|
481
481
|
else {
|
|
482
482
|
throw new Error("No value provided for input HTTP label: DetectorId.");
|
|
@@ -507,7 +507,7 @@ const serializeAws_restJson1DeletePublishingDestinationCommand = async (input, c
|
|
|
507
507
|
if (labelValue.length <= 0) {
|
|
508
508
|
throw new Error("Empty value provided for input HTTP label: DetectorId.");
|
|
509
509
|
}
|
|
510
|
-
resolvedPath = resolvedPath.replace("{DetectorId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
510
|
+
resolvedPath = resolvedPath.replace("{DetectorId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
511
511
|
}
|
|
512
512
|
else {
|
|
513
513
|
throw new Error("No value provided for input HTTP label: DetectorId.");
|
|
@@ -517,7 +517,7 @@ const serializeAws_restJson1DeletePublishingDestinationCommand = async (input, c
|
|
|
517
517
|
if (labelValue.length <= 0) {
|
|
518
518
|
throw new Error("Empty value provided for input HTTP label: DestinationId.");
|
|
519
519
|
}
|
|
520
|
-
resolvedPath = resolvedPath.replace("{DestinationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
520
|
+
resolvedPath = resolvedPath.replace("{DestinationId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
521
521
|
}
|
|
522
522
|
else {
|
|
523
523
|
throw new Error("No value provided for input HTTP label: DestinationId.");
|
|
@@ -544,7 +544,7 @@ const serializeAws_restJson1DeleteThreatIntelSetCommand = async (input, context)
|
|
|
544
544
|
if (labelValue.length <= 0) {
|
|
545
545
|
throw new Error("Empty value provided for input HTTP label: DetectorId.");
|
|
546
546
|
}
|
|
547
|
-
resolvedPath = resolvedPath.replace("{DetectorId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
547
|
+
resolvedPath = resolvedPath.replace("{DetectorId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
548
548
|
}
|
|
549
549
|
else {
|
|
550
550
|
throw new Error("No value provided for input HTTP label: DetectorId.");
|
|
@@ -554,7 +554,7 @@ const serializeAws_restJson1DeleteThreatIntelSetCommand = async (input, context)
|
|
|
554
554
|
if (labelValue.length <= 0) {
|
|
555
555
|
throw new Error("Empty value provided for input HTTP label: ThreatIntelSetId.");
|
|
556
556
|
}
|
|
557
|
-
resolvedPath = resolvedPath.replace("{ThreatIntelSetId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
557
|
+
resolvedPath = resolvedPath.replace("{ThreatIntelSetId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
558
558
|
}
|
|
559
559
|
else {
|
|
560
560
|
throw new Error("No value provided for input HTTP label: ThreatIntelSetId.");
|
|
@@ -580,7 +580,7 @@ const serializeAws_restJson1DescribeOrganizationConfigurationCommand = async (in
|
|
|
580
580
|
if (labelValue.length <= 0) {
|
|
581
581
|
throw new Error("Empty value provided for input HTTP label: DetectorId.");
|
|
582
582
|
}
|
|
583
|
-
resolvedPath = resolvedPath.replace("{DetectorId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
583
|
+
resolvedPath = resolvedPath.replace("{DetectorId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
584
584
|
}
|
|
585
585
|
else {
|
|
586
586
|
throw new Error("No value provided for input HTTP label: DetectorId.");
|
|
@@ -607,7 +607,7 @@ const serializeAws_restJson1DescribePublishingDestinationCommand = async (input,
|
|
|
607
607
|
if (labelValue.length <= 0) {
|
|
608
608
|
throw new Error("Empty value provided for input HTTP label: DetectorId.");
|
|
609
609
|
}
|
|
610
|
-
resolvedPath = resolvedPath.replace("{DetectorId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
610
|
+
resolvedPath = resolvedPath.replace("{DetectorId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
611
611
|
}
|
|
612
612
|
else {
|
|
613
613
|
throw new Error("No value provided for input HTTP label: DetectorId.");
|
|
@@ -617,7 +617,7 @@ const serializeAws_restJson1DescribePublishingDestinationCommand = async (input,
|
|
|
617
617
|
if (labelValue.length <= 0) {
|
|
618
618
|
throw new Error("Empty value provided for input HTTP label: DestinationId.");
|
|
619
619
|
}
|
|
620
|
-
resolvedPath = resolvedPath.replace("{DestinationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
620
|
+
resolvedPath = resolvedPath.replace("{DestinationId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
621
621
|
}
|
|
622
622
|
else {
|
|
623
623
|
throw new Error("No value provided for input HTTP label: DestinationId.");
|
|
@@ -666,7 +666,7 @@ const serializeAws_restJson1DisassociateFromMasterAccountCommand = async (input,
|
|
|
666
666
|
if (labelValue.length <= 0) {
|
|
667
667
|
throw new Error("Empty value provided for input HTTP label: DetectorId.");
|
|
668
668
|
}
|
|
669
|
-
resolvedPath = resolvedPath.replace("{DetectorId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
669
|
+
resolvedPath = resolvedPath.replace("{DetectorId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
670
670
|
}
|
|
671
671
|
else {
|
|
672
672
|
throw new Error("No value provided for input HTTP label: DetectorId.");
|
|
@@ -695,7 +695,7 @@ const serializeAws_restJson1DisassociateMembersCommand = async (input, context)
|
|
|
695
695
|
if (labelValue.length <= 0) {
|
|
696
696
|
throw new Error("Empty value provided for input HTTP label: DetectorId.");
|
|
697
697
|
}
|
|
698
|
-
resolvedPath = resolvedPath.replace("{DetectorId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
698
|
+
resolvedPath = resolvedPath.replace("{DetectorId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
699
699
|
}
|
|
700
700
|
else {
|
|
701
701
|
throw new Error("No value provided for input HTTP label: DetectorId.");
|
|
@@ -747,7 +747,7 @@ const serializeAws_restJson1GetDetectorCommand = async (input, context) => {
|
|
|
747
747
|
if (labelValue.length <= 0) {
|
|
748
748
|
throw new Error("Empty value provided for input HTTP label: DetectorId.");
|
|
749
749
|
}
|
|
750
|
-
resolvedPath = resolvedPath.replace("{DetectorId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
750
|
+
resolvedPath = resolvedPath.replace("{DetectorId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
751
751
|
}
|
|
752
752
|
else {
|
|
753
753
|
throw new Error("No value provided for input HTTP label: DetectorId.");
|
|
@@ -774,7 +774,7 @@ const serializeAws_restJson1GetFilterCommand = async (input, context) => {
|
|
|
774
774
|
if (labelValue.length <= 0) {
|
|
775
775
|
throw new Error("Empty value provided for input HTTP label: DetectorId.");
|
|
776
776
|
}
|
|
777
|
-
resolvedPath = resolvedPath.replace("{DetectorId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
777
|
+
resolvedPath = resolvedPath.replace("{DetectorId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
778
778
|
}
|
|
779
779
|
else {
|
|
780
780
|
throw new Error("No value provided for input HTTP label: DetectorId.");
|
|
@@ -784,7 +784,7 @@ const serializeAws_restJson1GetFilterCommand = async (input, context) => {
|
|
|
784
784
|
if (labelValue.length <= 0) {
|
|
785
785
|
throw new Error("Empty value provided for input HTTP label: FilterName.");
|
|
786
786
|
}
|
|
787
|
-
resolvedPath = resolvedPath.replace("{FilterName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
787
|
+
resolvedPath = resolvedPath.replace("{FilterName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
788
788
|
}
|
|
789
789
|
else {
|
|
790
790
|
throw new Error("No value provided for input HTTP label: FilterName.");
|
|
@@ -812,7 +812,7 @@ const serializeAws_restJson1GetFindingsCommand = async (input, context) => {
|
|
|
812
812
|
if (labelValue.length <= 0) {
|
|
813
813
|
throw new Error("Empty value provided for input HTTP label: DetectorId.");
|
|
814
814
|
}
|
|
815
|
-
resolvedPath = resolvedPath.replace("{DetectorId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
815
|
+
resolvedPath = resolvedPath.replace("{DetectorId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
816
816
|
}
|
|
817
817
|
else {
|
|
818
818
|
throw new Error("No value provided for input HTTP label: DetectorId.");
|
|
@@ -847,7 +847,7 @@ const serializeAws_restJson1GetFindingsStatisticsCommand = async (input, context
|
|
|
847
847
|
if (labelValue.length <= 0) {
|
|
848
848
|
throw new Error("Empty value provided for input HTTP label: DetectorId.");
|
|
849
849
|
}
|
|
850
|
-
resolvedPath = resolvedPath.replace("{DetectorId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
850
|
+
resolvedPath = resolvedPath.replace("{DetectorId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
851
851
|
}
|
|
852
852
|
else {
|
|
853
853
|
throw new Error("No value provided for input HTTP label: DetectorId.");
|
|
@@ -902,7 +902,7 @@ const serializeAws_restJson1GetIPSetCommand = async (input, context) => {
|
|
|
902
902
|
if (labelValue.length <= 0) {
|
|
903
903
|
throw new Error("Empty value provided for input HTTP label: DetectorId.");
|
|
904
904
|
}
|
|
905
|
-
resolvedPath = resolvedPath.replace("{DetectorId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
905
|
+
resolvedPath = resolvedPath.replace("{DetectorId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
906
906
|
}
|
|
907
907
|
else {
|
|
908
908
|
throw new Error("No value provided for input HTTP label: DetectorId.");
|
|
@@ -912,7 +912,7 @@ const serializeAws_restJson1GetIPSetCommand = async (input, context) => {
|
|
|
912
912
|
if (labelValue.length <= 0) {
|
|
913
913
|
throw new Error("Empty value provided for input HTTP label: IpSetId.");
|
|
914
914
|
}
|
|
915
|
-
resolvedPath = resolvedPath.replace("{IpSetId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
915
|
+
resolvedPath = resolvedPath.replace("{IpSetId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
916
916
|
}
|
|
917
917
|
else {
|
|
918
918
|
throw new Error("No value provided for input HTTP label: IpSetId.");
|
|
@@ -938,7 +938,7 @@ const serializeAws_restJson1GetMasterAccountCommand = async (input, context) =>
|
|
|
938
938
|
if (labelValue.length <= 0) {
|
|
939
939
|
throw new Error("Empty value provided for input HTTP label: DetectorId.");
|
|
940
940
|
}
|
|
941
|
-
resolvedPath = resolvedPath.replace("{DetectorId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
941
|
+
resolvedPath = resolvedPath.replace("{DetectorId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
942
942
|
}
|
|
943
943
|
else {
|
|
944
944
|
throw new Error("No value provided for input HTTP label: DetectorId.");
|
|
@@ -967,7 +967,7 @@ const serializeAws_restJson1GetMemberDetectorsCommand = async (input, context) =
|
|
|
967
967
|
if (labelValue.length <= 0) {
|
|
968
968
|
throw new Error("Empty value provided for input HTTP label: DetectorId.");
|
|
969
969
|
}
|
|
970
|
-
resolvedPath = resolvedPath.replace("{DetectorId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
970
|
+
resolvedPath = resolvedPath.replace("{DetectorId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
971
971
|
}
|
|
972
972
|
else {
|
|
973
973
|
throw new Error("No value provided for input HTTP label: DetectorId.");
|
|
@@ -999,7 +999,7 @@ const serializeAws_restJson1GetMembersCommand = async (input, context) => {
|
|
|
999
999
|
if (labelValue.length <= 0) {
|
|
1000
1000
|
throw new Error("Empty value provided for input HTTP label: DetectorId.");
|
|
1001
1001
|
}
|
|
1002
|
-
resolvedPath = resolvedPath.replace("{DetectorId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1002
|
+
resolvedPath = resolvedPath.replace("{DetectorId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1003
1003
|
}
|
|
1004
1004
|
else {
|
|
1005
1005
|
throw new Error("No value provided for input HTTP label: DetectorId.");
|
|
@@ -1030,7 +1030,7 @@ const serializeAws_restJson1GetThreatIntelSetCommand = async (input, context) =>
|
|
|
1030
1030
|
if (labelValue.length <= 0) {
|
|
1031
1031
|
throw new Error("Empty value provided for input HTTP label: DetectorId.");
|
|
1032
1032
|
}
|
|
1033
|
-
resolvedPath = resolvedPath.replace("{DetectorId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1033
|
+
resolvedPath = resolvedPath.replace("{DetectorId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1034
1034
|
}
|
|
1035
1035
|
else {
|
|
1036
1036
|
throw new Error("No value provided for input HTTP label: DetectorId.");
|
|
@@ -1040,7 +1040,7 @@ const serializeAws_restJson1GetThreatIntelSetCommand = async (input, context) =>
|
|
|
1040
1040
|
if (labelValue.length <= 0) {
|
|
1041
1041
|
throw new Error("Empty value provided for input HTTP label: ThreatIntelSetId.");
|
|
1042
1042
|
}
|
|
1043
|
-
resolvedPath = resolvedPath.replace("{ThreatIntelSetId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1043
|
+
resolvedPath = resolvedPath.replace("{ThreatIntelSetId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1044
1044
|
}
|
|
1045
1045
|
else {
|
|
1046
1046
|
throw new Error("No value provided for input HTTP label: ThreatIntelSetId.");
|
|
@@ -1068,7 +1068,7 @@ const serializeAws_restJson1GetUsageStatisticsCommand = async (input, context) =
|
|
|
1068
1068
|
if (labelValue.length <= 0) {
|
|
1069
1069
|
throw new Error("Empty value provided for input HTTP label: DetectorId.");
|
|
1070
1070
|
}
|
|
1071
|
-
resolvedPath = resolvedPath.replace("{DetectorId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1071
|
+
resolvedPath = resolvedPath.replace("{DetectorId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1072
1072
|
}
|
|
1073
1073
|
else {
|
|
1074
1074
|
throw new Error("No value provided for input HTTP label: DetectorId.");
|
|
@@ -1107,7 +1107,7 @@ const serializeAws_restJson1InviteMembersCommand = async (input, context) => {
|
|
|
1107
1107
|
if (labelValue.length <= 0) {
|
|
1108
1108
|
throw new Error("Empty value provided for input HTTP label: DetectorId.");
|
|
1109
1109
|
}
|
|
1110
|
-
resolvedPath = resolvedPath.replace("{DetectorId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1110
|
+
resolvedPath = resolvedPath.replace("{DetectorId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1111
1111
|
}
|
|
1112
1112
|
else {
|
|
1113
1113
|
throw new Error("No value provided for input HTTP label: DetectorId.");
|
|
@@ -1161,7 +1161,7 @@ const serializeAws_restJson1ListFiltersCommand = async (input, context) => {
|
|
|
1161
1161
|
if (labelValue.length <= 0) {
|
|
1162
1162
|
throw new Error("Empty value provided for input HTTP label: DetectorId.");
|
|
1163
1163
|
}
|
|
1164
|
-
resolvedPath = resolvedPath.replace("{DetectorId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1164
|
+
resolvedPath = resolvedPath.replace("{DetectorId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1165
1165
|
}
|
|
1166
1166
|
else {
|
|
1167
1167
|
throw new Error("No value provided for input HTTP label: DetectorId.");
|
|
@@ -1194,7 +1194,7 @@ const serializeAws_restJson1ListFindingsCommand = async (input, context) => {
|
|
|
1194
1194
|
if (labelValue.length <= 0) {
|
|
1195
1195
|
throw new Error("Empty value provided for input HTTP label: DetectorId.");
|
|
1196
1196
|
}
|
|
1197
|
-
resolvedPath = resolvedPath.replace("{DetectorId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1197
|
+
resolvedPath = resolvedPath.replace("{DetectorId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1198
1198
|
}
|
|
1199
1199
|
else {
|
|
1200
1200
|
throw new Error("No value provided for input HTTP label: DetectorId.");
|
|
@@ -1251,7 +1251,7 @@ const serializeAws_restJson1ListIPSetsCommand = async (input, context) => {
|
|
|
1251
1251
|
if (labelValue.length <= 0) {
|
|
1252
1252
|
throw new Error("Empty value provided for input HTTP label: DetectorId.");
|
|
1253
1253
|
}
|
|
1254
|
-
resolvedPath = resolvedPath.replace("{DetectorId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1254
|
+
resolvedPath = resolvedPath.replace("{DetectorId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1255
1255
|
}
|
|
1256
1256
|
else {
|
|
1257
1257
|
throw new Error("No value provided for input HTTP label: DetectorId.");
|
|
@@ -1282,7 +1282,7 @@ const serializeAws_restJson1ListMembersCommand = async (input, context) => {
|
|
|
1282
1282
|
if (labelValue.length <= 0) {
|
|
1283
1283
|
throw new Error("Empty value provided for input HTTP label: DetectorId.");
|
|
1284
1284
|
}
|
|
1285
|
-
resolvedPath = resolvedPath.replace("{DetectorId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1285
|
+
resolvedPath = resolvedPath.replace("{DetectorId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1286
1286
|
}
|
|
1287
1287
|
else {
|
|
1288
1288
|
throw new Error("No value provided for input HTTP label: DetectorId.");
|
|
@@ -1336,7 +1336,7 @@ const serializeAws_restJson1ListPublishingDestinationsCommand = async (input, co
|
|
|
1336
1336
|
if (labelValue.length <= 0) {
|
|
1337
1337
|
throw new Error("Empty value provided for input HTTP label: DetectorId.");
|
|
1338
1338
|
}
|
|
1339
|
-
resolvedPath = resolvedPath.replace("{DetectorId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1339
|
+
resolvedPath = resolvedPath.replace("{DetectorId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1340
1340
|
}
|
|
1341
1341
|
else {
|
|
1342
1342
|
throw new Error("No value provided for input HTTP label: DetectorId.");
|
|
@@ -1367,7 +1367,7 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
|
|
|
1367
1367
|
if (labelValue.length <= 0) {
|
|
1368
1368
|
throw new Error("Empty value provided for input HTTP label: ResourceArn.");
|
|
1369
1369
|
}
|
|
1370
|
-
resolvedPath = resolvedPath.replace("{ResourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1370
|
+
resolvedPath = resolvedPath.replace("{ResourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1371
1371
|
}
|
|
1372
1372
|
else {
|
|
1373
1373
|
throw new Error("No value provided for input HTTP label: ResourceArn.");
|
|
@@ -1393,7 +1393,7 @@ const serializeAws_restJson1ListThreatIntelSetsCommand = async (input, context)
|
|
|
1393
1393
|
if (labelValue.length <= 0) {
|
|
1394
1394
|
throw new Error("Empty value provided for input HTTP label: DetectorId.");
|
|
1395
1395
|
}
|
|
1396
|
-
resolvedPath = resolvedPath.replace("{DetectorId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1396
|
+
resolvedPath = resolvedPath.replace("{DetectorId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1397
1397
|
}
|
|
1398
1398
|
else {
|
|
1399
1399
|
throw new Error("No value provided for input HTTP label: DetectorId.");
|
|
@@ -1426,7 +1426,7 @@ const serializeAws_restJson1StartMonitoringMembersCommand = async (input, contex
|
|
|
1426
1426
|
if (labelValue.length <= 0) {
|
|
1427
1427
|
throw new Error("Empty value provided for input HTTP label: DetectorId.");
|
|
1428
1428
|
}
|
|
1429
|
-
resolvedPath = resolvedPath.replace("{DetectorId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1429
|
+
resolvedPath = resolvedPath.replace("{DetectorId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1430
1430
|
}
|
|
1431
1431
|
else {
|
|
1432
1432
|
throw new Error("No value provided for input HTTP label: DetectorId.");
|
|
@@ -1458,7 +1458,7 @@ const serializeAws_restJson1StopMonitoringMembersCommand = async (input, context
|
|
|
1458
1458
|
if (labelValue.length <= 0) {
|
|
1459
1459
|
throw new Error("Empty value provided for input HTTP label: DetectorId.");
|
|
1460
1460
|
}
|
|
1461
|
-
resolvedPath = resolvedPath.replace("{DetectorId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1461
|
+
resolvedPath = resolvedPath.replace("{DetectorId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1462
1462
|
}
|
|
1463
1463
|
else {
|
|
1464
1464
|
throw new Error("No value provided for input HTTP label: DetectorId.");
|
|
@@ -1490,7 +1490,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
|
|
|
1490
1490
|
if (labelValue.length <= 0) {
|
|
1491
1491
|
throw new Error("Empty value provided for input HTTP label: ResourceArn.");
|
|
1492
1492
|
}
|
|
1493
|
-
resolvedPath = resolvedPath.replace("{ResourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1493
|
+
resolvedPath = resolvedPath.replace("{ResourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1494
1494
|
}
|
|
1495
1495
|
else {
|
|
1496
1496
|
throw new Error("No value provided for input HTTP label: ResourceArn.");
|
|
@@ -1521,7 +1521,7 @@ const serializeAws_restJson1UnarchiveFindingsCommand = async (input, context) =>
|
|
|
1521
1521
|
if (labelValue.length <= 0) {
|
|
1522
1522
|
throw new Error("Empty value provided for input HTTP label: DetectorId.");
|
|
1523
1523
|
}
|
|
1524
|
-
resolvedPath = resolvedPath.replace("{DetectorId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1524
|
+
resolvedPath = resolvedPath.replace("{DetectorId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1525
1525
|
}
|
|
1526
1526
|
else {
|
|
1527
1527
|
throw new Error("No value provided for input HTTP label: DetectorId.");
|
|
@@ -1551,7 +1551,7 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
|
|
|
1551
1551
|
if (labelValue.length <= 0) {
|
|
1552
1552
|
throw new Error("Empty value provided for input HTTP label: ResourceArn.");
|
|
1553
1553
|
}
|
|
1554
|
-
resolvedPath = resolvedPath.replace("{ResourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1554
|
+
resolvedPath = resolvedPath.replace("{ResourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1555
1555
|
}
|
|
1556
1556
|
else {
|
|
1557
1557
|
throw new Error("No value provided for input HTTP label: ResourceArn.");
|
|
@@ -1583,7 +1583,7 @@ const serializeAws_restJson1UpdateDetectorCommand = async (input, context) => {
|
|
|
1583
1583
|
if (labelValue.length <= 0) {
|
|
1584
1584
|
throw new Error("Empty value provided for input HTTP label: DetectorId.");
|
|
1585
1585
|
}
|
|
1586
|
-
resolvedPath = resolvedPath.replace("{DetectorId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1586
|
+
resolvedPath = resolvedPath.replace("{DetectorId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1587
1587
|
}
|
|
1588
1588
|
else {
|
|
1589
1589
|
throw new Error("No value provided for input HTTP label: DetectorId.");
|
|
@@ -1621,7 +1621,7 @@ const serializeAws_restJson1UpdateFilterCommand = async (input, context) => {
|
|
|
1621
1621
|
if (labelValue.length <= 0) {
|
|
1622
1622
|
throw new Error("Empty value provided for input HTTP label: DetectorId.");
|
|
1623
1623
|
}
|
|
1624
|
-
resolvedPath = resolvedPath.replace("{DetectorId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1624
|
+
resolvedPath = resolvedPath.replace("{DetectorId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1625
1625
|
}
|
|
1626
1626
|
else {
|
|
1627
1627
|
throw new Error("No value provided for input HTTP label: DetectorId.");
|
|
@@ -1631,7 +1631,7 @@ const serializeAws_restJson1UpdateFilterCommand = async (input, context) => {
|
|
|
1631
1631
|
if (labelValue.length <= 0) {
|
|
1632
1632
|
throw new Error("Empty value provided for input HTTP label: FilterName.");
|
|
1633
1633
|
}
|
|
1634
|
-
resolvedPath = resolvedPath.replace("{FilterName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1634
|
+
resolvedPath = resolvedPath.replace("{FilterName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1635
1635
|
}
|
|
1636
1636
|
else {
|
|
1637
1637
|
throw new Error("No value provided for input HTTP label: FilterName.");
|
|
@@ -1668,7 +1668,7 @@ const serializeAws_restJson1UpdateFindingsFeedbackCommand = async (input, contex
|
|
|
1668
1668
|
if (labelValue.length <= 0) {
|
|
1669
1669
|
throw new Error("Empty value provided for input HTTP label: DetectorId.");
|
|
1670
1670
|
}
|
|
1671
|
-
resolvedPath = resolvedPath.replace("{DetectorId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1671
|
+
resolvedPath = resolvedPath.replace("{DetectorId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1672
1672
|
}
|
|
1673
1673
|
else {
|
|
1674
1674
|
throw new Error("No value provided for input HTTP label: DetectorId.");
|
|
@@ -1702,7 +1702,7 @@ const serializeAws_restJson1UpdateIPSetCommand = async (input, context) => {
|
|
|
1702
1702
|
if (labelValue.length <= 0) {
|
|
1703
1703
|
throw new Error("Empty value provided for input HTTP label: DetectorId.");
|
|
1704
1704
|
}
|
|
1705
|
-
resolvedPath = resolvedPath.replace("{DetectorId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1705
|
+
resolvedPath = resolvedPath.replace("{DetectorId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1706
1706
|
}
|
|
1707
1707
|
else {
|
|
1708
1708
|
throw new Error("No value provided for input HTTP label: DetectorId.");
|
|
@@ -1712,7 +1712,7 @@ const serializeAws_restJson1UpdateIPSetCommand = async (input, context) => {
|
|
|
1712
1712
|
if (labelValue.length <= 0) {
|
|
1713
1713
|
throw new Error("Empty value provided for input HTTP label: IpSetId.");
|
|
1714
1714
|
}
|
|
1715
|
-
resolvedPath = resolvedPath.replace("{IpSetId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1715
|
+
resolvedPath = resolvedPath.replace("{IpSetId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1716
1716
|
}
|
|
1717
1717
|
else {
|
|
1718
1718
|
throw new Error("No value provided for input HTTP label: IpSetId.");
|
|
@@ -1746,7 +1746,7 @@ const serializeAws_restJson1UpdateMemberDetectorsCommand = async (input, context
|
|
|
1746
1746
|
if (labelValue.length <= 0) {
|
|
1747
1747
|
throw new Error("Empty value provided for input HTTP label: DetectorId.");
|
|
1748
1748
|
}
|
|
1749
|
-
resolvedPath = resolvedPath.replace("{DetectorId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1749
|
+
resolvedPath = resolvedPath.replace("{DetectorId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1750
1750
|
}
|
|
1751
1751
|
else {
|
|
1752
1752
|
throw new Error("No value provided for input HTTP label: DetectorId.");
|
|
@@ -1782,7 +1782,7 @@ const serializeAws_restJson1UpdateOrganizationConfigurationCommand = async (inpu
|
|
|
1782
1782
|
if (labelValue.length <= 0) {
|
|
1783
1783
|
throw new Error("Empty value provided for input HTTP label: DetectorId.");
|
|
1784
1784
|
}
|
|
1785
|
-
resolvedPath = resolvedPath.replace("{DetectorId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1785
|
+
resolvedPath = resolvedPath.replace("{DetectorId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1786
1786
|
}
|
|
1787
1787
|
else {
|
|
1788
1788
|
throw new Error("No value provided for input HTTP label: DetectorId.");
|
|
@@ -1818,7 +1818,7 @@ const serializeAws_restJson1UpdatePublishingDestinationCommand = async (input, c
|
|
|
1818
1818
|
if (labelValue.length <= 0) {
|
|
1819
1819
|
throw new Error("Empty value provided for input HTTP label: DetectorId.");
|
|
1820
1820
|
}
|
|
1821
|
-
resolvedPath = resolvedPath.replace("{DetectorId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1821
|
+
resolvedPath = resolvedPath.replace("{DetectorId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1822
1822
|
}
|
|
1823
1823
|
else {
|
|
1824
1824
|
throw new Error("No value provided for input HTTP label: DetectorId.");
|
|
@@ -1828,7 +1828,7 @@ const serializeAws_restJson1UpdatePublishingDestinationCommand = async (input, c
|
|
|
1828
1828
|
if (labelValue.length <= 0) {
|
|
1829
1829
|
throw new Error("Empty value provided for input HTTP label: DestinationId.");
|
|
1830
1830
|
}
|
|
1831
|
-
resolvedPath = resolvedPath.replace("{DestinationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1831
|
+
resolvedPath = resolvedPath.replace("{DestinationId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1832
1832
|
}
|
|
1833
1833
|
else {
|
|
1834
1834
|
throw new Error("No value provided for input HTTP label: DestinationId.");
|
|
@@ -1863,7 +1863,7 @@ const serializeAws_restJson1UpdateThreatIntelSetCommand = async (input, context)
|
|
|
1863
1863
|
if (labelValue.length <= 0) {
|
|
1864
1864
|
throw new Error("Empty value provided for input HTTP label: DetectorId.");
|
|
1865
1865
|
}
|
|
1866
|
-
resolvedPath = resolvedPath.replace("{DetectorId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1866
|
+
resolvedPath = resolvedPath.replace("{DetectorId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1867
1867
|
}
|
|
1868
1868
|
else {
|
|
1869
1869
|
throw new Error("No value provided for input HTTP label: DetectorId.");
|
|
@@ -1873,7 +1873,7 @@ const serializeAws_restJson1UpdateThreatIntelSetCommand = async (input, context)
|
|
|
1873
1873
|
if (labelValue.length <= 0) {
|
|
1874
1874
|
throw new Error("Empty value provided for input HTTP label: ThreatIntelSetId.");
|
|
1875
1875
|
}
|
|
1876
|
-
resolvedPath = resolvedPath.replace("{ThreatIntelSetId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1876
|
+
resolvedPath = resolvedPath.replace("{ThreatIntelSetId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1877
1877
|
}
|
|
1878
1878
|
else {
|
|
1879
1879
|
throw new Error("No value provided for input HTTP label: ThreatIntelSetId.");
|
|
@@ -1928,7 +1928,7 @@ const deserializeAws_restJson1AcceptInvitationCommandError = async (output, cont
|
|
|
1928
1928
|
$fault: "client",
|
|
1929
1929
|
$metadata: deserializeMetadata(output),
|
|
1930
1930
|
});
|
|
1931
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1931
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1932
1932
|
}
|
|
1933
1933
|
};
|
|
1934
1934
|
const deserializeAws_restJson1ArchiveFindingsCommand = async (output, context) => {
|
|
@@ -1964,7 +1964,7 @@ const deserializeAws_restJson1ArchiveFindingsCommandError = async (output, conte
|
|
|
1964
1964
|
$fault: "client",
|
|
1965
1965
|
$metadata: deserializeMetadata(output),
|
|
1966
1966
|
});
|
|
1967
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1967
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1968
1968
|
}
|
|
1969
1969
|
};
|
|
1970
1970
|
const deserializeAws_restJson1CreateDetectorCommand = async (output, context) => {
|
|
@@ -1975,9 +1975,9 @@ const deserializeAws_restJson1CreateDetectorCommand = async (output, context) =>
|
|
|
1975
1975
|
$metadata: deserializeMetadata(output),
|
|
1976
1976
|
DetectorId: undefined,
|
|
1977
1977
|
};
|
|
1978
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1978
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1979
1979
|
if (data.detectorId !== undefined && data.detectorId !== null) {
|
|
1980
|
-
contents.DetectorId = smithy_client_1.expectString(data.detectorId);
|
|
1980
|
+
contents.DetectorId = (0, smithy_client_1.expectString)(data.detectorId);
|
|
1981
1981
|
}
|
|
1982
1982
|
return Promise.resolve(contents);
|
|
1983
1983
|
};
|
|
@@ -2004,7 +2004,7 @@ const deserializeAws_restJson1CreateDetectorCommandError = async (output, contex
|
|
|
2004
2004
|
$fault: "client",
|
|
2005
2005
|
$metadata: deserializeMetadata(output),
|
|
2006
2006
|
});
|
|
2007
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2007
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2008
2008
|
}
|
|
2009
2009
|
};
|
|
2010
2010
|
const deserializeAws_restJson1CreateFilterCommand = async (output, context) => {
|
|
@@ -2015,9 +2015,9 @@ const deserializeAws_restJson1CreateFilterCommand = async (output, context) => {
|
|
|
2015
2015
|
$metadata: deserializeMetadata(output),
|
|
2016
2016
|
Name: undefined,
|
|
2017
2017
|
};
|
|
2018
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2018
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2019
2019
|
if (data.name !== undefined && data.name !== null) {
|
|
2020
|
-
contents.Name = smithy_client_1.expectString(data.name);
|
|
2020
|
+
contents.Name = (0, smithy_client_1.expectString)(data.name);
|
|
2021
2021
|
}
|
|
2022
2022
|
return Promise.resolve(contents);
|
|
2023
2023
|
};
|
|
@@ -2044,7 +2044,7 @@ const deserializeAws_restJson1CreateFilterCommandError = async (output, context)
|
|
|
2044
2044
|
$fault: "client",
|
|
2045
2045
|
$metadata: deserializeMetadata(output),
|
|
2046
2046
|
});
|
|
2047
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2047
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2048
2048
|
}
|
|
2049
2049
|
};
|
|
2050
2050
|
const deserializeAws_restJson1CreateIPSetCommand = async (output, context) => {
|
|
@@ -2055,9 +2055,9 @@ const deserializeAws_restJson1CreateIPSetCommand = async (output, context) => {
|
|
|
2055
2055
|
$metadata: deserializeMetadata(output),
|
|
2056
2056
|
IpSetId: undefined,
|
|
2057
2057
|
};
|
|
2058
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2058
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2059
2059
|
if (data.ipSetId !== undefined && data.ipSetId !== null) {
|
|
2060
|
-
contents.IpSetId = smithy_client_1.expectString(data.ipSetId);
|
|
2060
|
+
contents.IpSetId = (0, smithy_client_1.expectString)(data.ipSetId);
|
|
2061
2061
|
}
|
|
2062
2062
|
return Promise.resolve(contents);
|
|
2063
2063
|
};
|
|
@@ -2084,7 +2084,7 @@ const deserializeAws_restJson1CreateIPSetCommandError = async (output, context)
|
|
|
2084
2084
|
$fault: "client",
|
|
2085
2085
|
$metadata: deserializeMetadata(output),
|
|
2086
2086
|
});
|
|
2087
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2087
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2088
2088
|
}
|
|
2089
2089
|
};
|
|
2090
2090
|
const deserializeAws_restJson1CreateMembersCommand = async (output, context) => {
|
|
@@ -2095,7 +2095,7 @@ const deserializeAws_restJson1CreateMembersCommand = async (output, context) =>
|
|
|
2095
2095
|
$metadata: deserializeMetadata(output),
|
|
2096
2096
|
UnprocessedAccounts: undefined,
|
|
2097
2097
|
};
|
|
2098
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2098
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2099
2099
|
if (data.unprocessedAccounts !== undefined && data.unprocessedAccounts !== null) {
|
|
2100
2100
|
contents.UnprocessedAccounts = deserializeAws_restJson1UnprocessedAccounts(data.unprocessedAccounts, context);
|
|
2101
2101
|
}
|
|
@@ -2124,7 +2124,7 @@ const deserializeAws_restJson1CreateMembersCommandError = async (output, context
|
|
|
2124
2124
|
$fault: "client",
|
|
2125
2125
|
$metadata: deserializeMetadata(output),
|
|
2126
2126
|
});
|
|
2127
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2127
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2128
2128
|
}
|
|
2129
2129
|
};
|
|
2130
2130
|
const deserializeAws_restJson1CreatePublishingDestinationCommand = async (output, context) => {
|
|
@@ -2135,9 +2135,9 @@ const deserializeAws_restJson1CreatePublishingDestinationCommand = async (output
|
|
|
2135
2135
|
$metadata: deserializeMetadata(output),
|
|
2136
2136
|
DestinationId: undefined,
|
|
2137
2137
|
};
|
|
2138
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2138
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2139
2139
|
if (data.destinationId !== undefined && data.destinationId !== null) {
|
|
2140
|
-
contents.DestinationId = smithy_client_1.expectString(data.destinationId);
|
|
2140
|
+
contents.DestinationId = (0, smithy_client_1.expectString)(data.destinationId);
|
|
2141
2141
|
}
|
|
2142
2142
|
return Promise.resolve(contents);
|
|
2143
2143
|
};
|
|
@@ -2164,7 +2164,7 @@ const deserializeAws_restJson1CreatePublishingDestinationCommandError = async (o
|
|
|
2164
2164
|
$fault: "client",
|
|
2165
2165
|
$metadata: deserializeMetadata(output),
|
|
2166
2166
|
});
|
|
2167
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2167
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2168
2168
|
}
|
|
2169
2169
|
};
|
|
2170
2170
|
const deserializeAws_restJson1CreateSampleFindingsCommand = async (output, context) => {
|
|
@@ -2200,7 +2200,7 @@ const deserializeAws_restJson1CreateSampleFindingsCommandError = async (output,
|
|
|
2200
2200
|
$fault: "client",
|
|
2201
2201
|
$metadata: deserializeMetadata(output),
|
|
2202
2202
|
});
|
|
2203
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2203
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2204
2204
|
}
|
|
2205
2205
|
};
|
|
2206
2206
|
const deserializeAws_restJson1CreateThreatIntelSetCommand = async (output, context) => {
|
|
@@ -2211,9 +2211,9 @@ const deserializeAws_restJson1CreateThreatIntelSetCommand = async (output, conte
|
|
|
2211
2211
|
$metadata: deserializeMetadata(output),
|
|
2212
2212
|
ThreatIntelSetId: undefined,
|
|
2213
2213
|
};
|
|
2214
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2214
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2215
2215
|
if (data.threatIntelSetId !== undefined && data.threatIntelSetId !== null) {
|
|
2216
|
-
contents.ThreatIntelSetId = smithy_client_1.expectString(data.threatIntelSetId);
|
|
2216
|
+
contents.ThreatIntelSetId = (0, smithy_client_1.expectString)(data.threatIntelSetId);
|
|
2217
2217
|
}
|
|
2218
2218
|
return Promise.resolve(contents);
|
|
2219
2219
|
};
|
|
@@ -2240,7 +2240,7 @@ const deserializeAws_restJson1CreateThreatIntelSetCommandError = async (output,
|
|
|
2240
2240
|
$fault: "client",
|
|
2241
2241
|
$metadata: deserializeMetadata(output),
|
|
2242
2242
|
});
|
|
2243
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2243
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2244
2244
|
}
|
|
2245
2245
|
};
|
|
2246
2246
|
const deserializeAws_restJson1DeclineInvitationsCommand = async (output, context) => {
|
|
@@ -2251,7 +2251,7 @@ const deserializeAws_restJson1DeclineInvitationsCommand = async (output, context
|
|
|
2251
2251
|
$metadata: deserializeMetadata(output),
|
|
2252
2252
|
UnprocessedAccounts: undefined,
|
|
2253
2253
|
};
|
|
2254
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2254
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2255
2255
|
if (data.unprocessedAccounts !== undefined && data.unprocessedAccounts !== null) {
|
|
2256
2256
|
contents.UnprocessedAccounts = deserializeAws_restJson1UnprocessedAccounts(data.unprocessedAccounts, context);
|
|
2257
2257
|
}
|
|
@@ -2280,7 +2280,7 @@ const deserializeAws_restJson1DeclineInvitationsCommandError = async (output, co
|
|
|
2280
2280
|
$fault: "client",
|
|
2281
2281
|
$metadata: deserializeMetadata(output),
|
|
2282
2282
|
});
|
|
2283
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2283
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2284
2284
|
}
|
|
2285
2285
|
};
|
|
2286
2286
|
const deserializeAws_restJson1DeleteDetectorCommand = async (output, context) => {
|
|
@@ -2316,7 +2316,7 @@ const deserializeAws_restJson1DeleteDetectorCommandError = async (output, contex
|
|
|
2316
2316
|
$fault: "client",
|
|
2317
2317
|
$metadata: deserializeMetadata(output),
|
|
2318
2318
|
});
|
|
2319
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2319
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2320
2320
|
}
|
|
2321
2321
|
};
|
|
2322
2322
|
const deserializeAws_restJson1DeleteFilterCommand = async (output, context) => {
|
|
@@ -2352,7 +2352,7 @@ const deserializeAws_restJson1DeleteFilterCommandError = async (output, context)
|
|
|
2352
2352
|
$fault: "client",
|
|
2353
2353
|
$metadata: deserializeMetadata(output),
|
|
2354
2354
|
});
|
|
2355
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2355
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2356
2356
|
}
|
|
2357
2357
|
};
|
|
2358
2358
|
const deserializeAws_restJson1DeleteInvitationsCommand = async (output, context) => {
|
|
@@ -2363,7 +2363,7 @@ const deserializeAws_restJson1DeleteInvitationsCommand = async (output, context)
|
|
|
2363
2363
|
$metadata: deserializeMetadata(output),
|
|
2364
2364
|
UnprocessedAccounts: undefined,
|
|
2365
2365
|
};
|
|
2366
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2366
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2367
2367
|
if (data.unprocessedAccounts !== undefined && data.unprocessedAccounts !== null) {
|
|
2368
2368
|
contents.UnprocessedAccounts = deserializeAws_restJson1UnprocessedAccounts(data.unprocessedAccounts, context);
|
|
2369
2369
|
}
|
|
@@ -2392,7 +2392,7 @@ const deserializeAws_restJson1DeleteInvitationsCommandError = async (output, con
|
|
|
2392
2392
|
$fault: "client",
|
|
2393
2393
|
$metadata: deserializeMetadata(output),
|
|
2394
2394
|
});
|
|
2395
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2395
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2396
2396
|
}
|
|
2397
2397
|
};
|
|
2398
2398
|
const deserializeAws_restJson1DeleteIPSetCommand = async (output, context) => {
|
|
@@ -2428,7 +2428,7 @@ const deserializeAws_restJson1DeleteIPSetCommandError = async (output, context)
|
|
|
2428
2428
|
$fault: "client",
|
|
2429
2429
|
$metadata: deserializeMetadata(output),
|
|
2430
2430
|
});
|
|
2431
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2431
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2432
2432
|
}
|
|
2433
2433
|
};
|
|
2434
2434
|
const deserializeAws_restJson1DeleteMembersCommand = async (output, context) => {
|
|
@@ -2439,7 +2439,7 @@ const deserializeAws_restJson1DeleteMembersCommand = async (output, context) =>
|
|
|
2439
2439
|
$metadata: deserializeMetadata(output),
|
|
2440
2440
|
UnprocessedAccounts: undefined,
|
|
2441
2441
|
};
|
|
2442
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2442
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2443
2443
|
if (data.unprocessedAccounts !== undefined && data.unprocessedAccounts !== null) {
|
|
2444
2444
|
contents.UnprocessedAccounts = deserializeAws_restJson1UnprocessedAccounts(data.unprocessedAccounts, context);
|
|
2445
2445
|
}
|
|
@@ -2468,7 +2468,7 @@ const deserializeAws_restJson1DeleteMembersCommandError = async (output, context
|
|
|
2468
2468
|
$fault: "client",
|
|
2469
2469
|
$metadata: deserializeMetadata(output),
|
|
2470
2470
|
});
|
|
2471
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2471
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2472
2472
|
}
|
|
2473
2473
|
};
|
|
2474
2474
|
const deserializeAws_restJson1DeletePublishingDestinationCommand = async (output, context) => {
|
|
@@ -2504,7 +2504,7 @@ const deserializeAws_restJson1DeletePublishingDestinationCommandError = async (o
|
|
|
2504
2504
|
$fault: "client",
|
|
2505
2505
|
$metadata: deserializeMetadata(output),
|
|
2506
2506
|
});
|
|
2507
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2507
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2508
2508
|
}
|
|
2509
2509
|
};
|
|
2510
2510
|
const deserializeAws_restJson1DeleteThreatIntelSetCommand = async (output, context) => {
|
|
@@ -2540,7 +2540,7 @@ const deserializeAws_restJson1DeleteThreatIntelSetCommandError = async (output,
|
|
|
2540
2540
|
$fault: "client",
|
|
2541
2541
|
$metadata: deserializeMetadata(output),
|
|
2542
2542
|
});
|
|
2543
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2543
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2544
2544
|
}
|
|
2545
2545
|
};
|
|
2546
2546
|
const deserializeAws_restJson1DescribeOrganizationConfigurationCommand = async (output, context) => {
|
|
@@ -2553,15 +2553,15 @@ const deserializeAws_restJson1DescribeOrganizationConfigurationCommand = async (
|
|
|
2553
2553
|
DataSources: undefined,
|
|
2554
2554
|
MemberAccountLimitReached: undefined,
|
|
2555
2555
|
};
|
|
2556
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2556
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2557
2557
|
if (data.autoEnable !== undefined && data.autoEnable !== null) {
|
|
2558
|
-
contents.AutoEnable = smithy_client_1.expectBoolean(data.autoEnable);
|
|
2558
|
+
contents.AutoEnable = (0, smithy_client_1.expectBoolean)(data.autoEnable);
|
|
2559
2559
|
}
|
|
2560
2560
|
if (data.dataSources !== undefined && data.dataSources !== null) {
|
|
2561
2561
|
contents.DataSources = deserializeAws_restJson1OrganizationDataSourceConfigurationsResult(data.dataSources, context);
|
|
2562
2562
|
}
|
|
2563
2563
|
if (data.memberAccountLimitReached !== undefined && data.memberAccountLimitReached !== null) {
|
|
2564
|
-
contents.MemberAccountLimitReached = smithy_client_1.expectBoolean(data.memberAccountLimitReached);
|
|
2564
|
+
contents.MemberAccountLimitReached = (0, smithy_client_1.expectBoolean)(data.memberAccountLimitReached);
|
|
2565
2565
|
}
|
|
2566
2566
|
return Promise.resolve(contents);
|
|
2567
2567
|
};
|
|
@@ -2588,7 +2588,7 @@ const deserializeAws_restJson1DescribeOrganizationConfigurationCommandError = as
|
|
|
2588
2588
|
$fault: "client",
|
|
2589
2589
|
$metadata: deserializeMetadata(output),
|
|
2590
2590
|
});
|
|
2591
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2591
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2592
2592
|
}
|
|
2593
2593
|
};
|
|
2594
2594
|
const deserializeAws_restJson1DescribePublishingDestinationCommand = async (output, context) => {
|
|
@@ -2603,21 +2603,21 @@ const deserializeAws_restJson1DescribePublishingDestinationCommand = async (outp
|
|
|
2603
2603
|
PublishingFailureStartTimestamp: undefined,
|
|
2604
2604
|
Status: undefined,
|
|
2605
2605
|
};
|
|
2606
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2606
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2607
2607
|
if (data.destinationId !== undefined && data.destinationId !== null) {
|
|
2608
|
-
contents.DestinationId = smithy_client_1.expectString(data.destinationId);
|
|
2608
|
+
contents.DestinationId = (0, smithy_client_1.expectString)(data.destinationId);
|
|
2609
2609
|
}
|
|
2610
2610
|
if (data.destinationProperties !== undefined && data.destinationProperties !== null) {
|
|
2611
2611
|
contents.DestinationProperties = deserializeAws_restJson1DestinationProperties(data.destinationProperties, context);
|
|
2612
2612
|
}
|
|
2613
2613
|
if (data.destinationType !== undefined && data.destinationType !== null) {
|
|
2614
|
-
contents.DestinationType = smithy_client_1.expectString(data.destinationType);
|
|
2614
|
+
contents.DestinationType = (0, smithy_client_1.expectString)(data.destinationType);
|
|
2615
2615
|
}
|
|
2616
2616
|
if (data.publishingFailureStartTimestamp !== undefined && data.publishingFailureStartTimestamp !== null) {
|
|
2617
|
-
contents.PublishingFailureStartTimestamp = smithy_client_1.expectLong(data.publishingFailureStartTimestamp);
|
|
2617
|
+
contents.PublishingFailureStartTimestamp = (0, smithy_client_1.expectLong)(data.publishingFailureStartTimestamp);
|
|
2618
2618
|
}
|
|
2619
2619
|
if (data.status !== undefined && data.status !== null) {
|
|
2620
|
-
contents.Status = smithy_client_1.expectString(data.status);
|
|
2620
|
+
contents.Status = (0, smithy_client_1.expectString)(data.status);
|
|
2621
2621
|
}
|
|
2622
2622
|
return Promise.resolve(contents);
|
|
2623
2623
|
};
|
|
@@ -2644,7 +2644,7 @@ const deserializeAws_restJson1DescribePublishingDestinationCommandError = async
|
|
|
2644
2644
|
$fault: "client",
|
|
2645
2645
|
$metadata: deserializeMetadata(output),
|
|
2646
2646
|
});
|
|
2647
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2647
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2648
2648
|
}
|
|
2649
2649
|
};
|
|
2650
2650
|
const deserializeAws_restJson1DisableOrganizationAdminAccountCommand = async (output, context) => {
|
|
@@ -2680,7 +2680,7 @@ const deserializeAws_restJson1DisableOrganizationAdminAccountCommandError = asyn
|
|
|
2680
2680
|
$fault: "client",
|
|
2681
2681
|
$metadata: deserializeMetadata(output),
|
|
2682
2682
|
});
|
|
2683
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2683
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2684
2684
|
}
|
|
2685
2685
|
};
|
|
2686
2686
|
const deserializeAws_restJson1DisassociateFromMasterAccountCommand = async (output, context) => {
|
|
@@ -2716,7 +2716,7 @@ const deserializeAws_restJson1DisassociateFromMasterAccountCommandError = async
|
|
|
2716
2716
|
$fault: "client",
|
|
2717
2717
|
$metadata: deserializeMetadata(output),
|
|
2718
2718
|
});
|
|
2719
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2719
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2720
2720
|
}
|
|
2721
2721
|
};
|
|
2722
2722
|
const deserializeAws_restJson1DisassociateMembersCommand = async (output, context) => {
|
|
@@ -2727,7 +2727,7 @@ const deserializeAws_restJson1DisassociateMembersCommand = async (output, contex
|
|
|
2727
2727
|
$metadata: deserializeMetadata(output),
|
|
2728
2728
|
UnprocessedAccounts: undefined,
|
|
2729
2729
|
};
|
|
2730
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2730
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2731
2731
|
if (data.unprocessedAccounts !== undefined && data.unprocessedAccounts !== null) {
|
|
2732
2732
|
contents.UnprocessedAccounts = deserializeAws_restJson1UnprocessedAccounts(data.unprocessedAccounts, context);
|
|
2733
2733
|
}
|
|
@@ -2756,7 +2756,7 @@ const deserializeAws_restJson1DisassociateMembersCommandError = async (output, c
|
|
|
2756
2756
|
$fault: "client",
|
|
2757
2757
|
$metadata: deserializeMetadata(output),
|
|
2758
2758
|
});
|
|
2759
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2759
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2760
2760
|
}
|
|
2761
2761
|
};
|
|
2762
2762
|
const deserializeAws_restJson1EnableOrganizationAdminAccountCommand = async (output, context) => {
|
|
@@ -2792,7 +2792,7 @@ const deserializeAws_restJson1EnableOrganizationAdminAccountCommandError = async
|
|
|
2792
2792
|
$fault: "client",
|
|
2793
2793
|
$metadata: deserializeMetadata(output),
|
|
2794
2794
|
});
|
|
2795
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2795
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2796
2796
|
}
|
|
2797
2797
|
};
|
|
2798
2798
|
const deserializeAws_restJson1GetDetectorCommand = async (output, context) => {
|
|
@@ -2809,27 +2809,27 @@ const deserializeAws_restJson1GetDetectorCommand = async (output, context) => {
|
|
|
2809
2809
|
Tags: undefined,
|
|
2810
2810
|
UpdatedAt: undefined,
|
|
2811
2811
|
};
|
|
2812
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2812
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2813
2813
|
if (data.createdAt !== undefined && data.createdAt !== null) {
|
|
2814
|
-
contents.CreatedAt = smithy_client_1.expectString(data.createdAt);
|
|
2814
|
+
contents.CreatedAt = (0, smithy_client_1.expectString)(data.createdAt);
|
|
2815
2815
|
}
|
|
2816
2816
|
if (data.dataSources !== undefined && data.dataSources !== null) {
|
|
2817
2817
|
contents.DataSources = deserializeAws_restJson1DataSourceConfigurationsResult(data.dataSources, context);
|
|
2818
2818
|
}
|
|
2819
2819
|
if (data.findingPublishingFrequency !== undefined && data.findingPublishingFrequency !== null) {
|
|
2820
|
-
contents.FindingPublishingFrequency = smithy_client_1.expectString(data.findingPublishingFrequency);
|
|
2820
|
+
contents.FindingPublishingFrequency = (0, smithy_client_1.expectString)(data.findingPublishingFrequency);
|
|
2821
2821
|
}
|
|
2822
2822
|
if (data.serviceRole !== undefined && data.serviceRole !== null) {
|
|
2823
|
-
contents.ServiceRole = smithy_client_1.expectString(data.serviceRole);
|
|
2823
|
+
contents.ServiceRole = (0, smithy_client_1.expectString)(data.serviceRole);
|
|
2824
2824
|
}
|
|
2825
2825
|
if (data.status !== undefined && data.status !== null) {
|
|
2826
|
-
contents.Status = smithy_client_1.expectString(data.status);
|
|
2826
|
+
contents.Status = (0, smithy_client_1.expectString)(data.status);
|
|
2827
2827
|
}
|
|
2828
2828
|
if (data.tags !== undefined && data.tags !== null) {
|
|
2829
2829
|
contents.Tags = deserializeAws_restJson1TagMap(data.tags, context);
|
|
2830
2830
|
}
|
|
2831
2831
|
if (data.updatedAt !== undefined && data.updatedAt !== null) {
|
|
2832
|
-
contents.UpdatedAt = smithy_client_1.expectString(data.updatedAt);
|
|
2832
|
+
contents.UpdatedAt = (0, smithy_client_1.expectString)(data.updatedAt);
|
|
2833
2833
|
}
|
|
2834
2834
|
return Promise.resolve(contents);
|
|
2835
2835
|
};
|
|
@@ -2856,7 +2856,7 @@ const deserializeAws_restJson1GetDetectorCommandError = async (output, context)
|
|
|
2856
2856
|
$fault: "client",
|
|
2857
2857
|
$metadata: deserializeMetadata(output),
|
|
2858
2858
|
});
|
|
2859
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2859
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2860
2860
|
}
|
|
2861
2861
|
};
|
|
2862
2862
|
const deserializeAws_restJson1GetFilterCommand = async (output, context) => {
|
|
@@ -2872,21 +2872,21 @@ const deserializeAws_restJson1GetFilterCommand = async (output, context) => {
|
|
|
2872
2872
|
Rank: undefined,
|
|
2873
2873
|
Tags: undefined,
|
|
2874
2874
|
};
|
|
2875
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2875
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2876
2876
|
if (data.action !== undefined && data.action !== null) {
|
|
2877
|
-
contents.Action = smithy_client_1.expectString(data.action);
|
|
2877
|
+
contents.Action = (0, smithy_client_1.expectString)(data.action);
|
|
2878
2878
|
}
|
|
2879
2879
|
if (data.description !== undefined && data.description !== null) {
|
|
2880
|
-
contents.Description = smithy_client_1.expectString(data.description);
|
|
2880
|
+
contents.Description = (0, smithy_client_1.expectString)(data.description);
|
|
2881
2881
|
}
|
|
2882
2882
|
if (data.findingCriteria !== undefined && data.findingCriteria !== null) {
|
|
2883
2883
|
contents.FindingCriteria = deserializeAws_restJson1FindingCriteria(data.findingCriteria, context);
|
|
2884
2884
|
}
|
|
2885
2885
|
if (data.name !== undefined && data.name !== null) {
|
|
2886
|
-
contents.Name = smithy_client_1.expectString(data.name);
|
|
2886
|
+
contents.Name = (0, smithy_client_1.expectString)(data.name);
|
|
2887
2887
|
}
|
|
2888
2888
|
if (data.rank !== undefined && data.rank !== null) {
|
|
2889
|
-
contents.Rank = smithy_client_1.expectInt32(data.rank);
|
|
2889
|
+
contents.Rank = (0, smithy_client_1.expectInt32)(data.rank);
|
|
2890
2890
|
}
|
|
2891
2891
|
if (data.tags !== undefined && data.tags !== null) {
|
|
2892
2892
|
contents.Tags = deserializeAws_restJson1TagMap(data.tags, context);
|
|
@@ -2916,7 +2916,7 @@ const deserializeAws_restJson1GetFilterCommandError = async (output, context) =>
|
|
|
2916
2916
|
$fault: "client",
|
|
2917
2917
|
$metadata: deserializeMetadata(output),
|
|
2918
2918
|
});
|
|
2919
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2919
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2920
2920
|
}
|
|
2921
2921
|
};
|
|
2922
2922
|
const deserializeAws_restJson1GetFindingsCommand = async (output, context) => {
|
|
@@ -2927,7 +2927,7 @@ const deserializeAws_restJson1GetFindingsCommand = async (output, context) => {
|
|
|
2927
2927
|
$metadata: deserializeMetadata(output),
|
|
2928
2928
|
Findings: undefined,
|
|
2929
2929
|
};
|
|
2930
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2930
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2931
2931
|
if (data.findings !== undefined && data.findings !== null) {
|
|
2932
2932
|
contents.Findings = deserializeAws_restJson1Findings(data.findings, context);
|
|
2933
2933
|
}
|
|
@@ -2956,7 +2956,7 @@ const deserializeAws_restJson1GetFindingsCommandError = async (output, context)
|
|
|
2956
2956
|
$fault: "client",
|
|
2957
2957
|
$metadata: deserializeMetadata(output),
|
|
2958
2958
|
});
|
|
2959
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2959
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2960
2960
|
}
|
|
2961
2961
|
};
|
|
2962
2962
|
const deserializeAws_restJson1GetFindingsStatisticsCommand = async (output, context) => {
|
|
@@ -2967,7 +2967,7 @@ const deserializeAws_restJson1GetFindingsStatisticsCommand = async (output, cont
|
|
|
2967
2967
|
$metadata: deserializeMetadata(output),
|
|
2968
2968
|
FindingStatistics: undefined,
|
|
2969
2969
|
};
|
|
2970
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2970
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2971
2971
|
if (data.findingStatistics !== undefined && data.findingStatistics !== null) {
|
|
2972
2972
|
contents.FindingStatistics = deserializeAws_restJson1FindingStatistics(data.findingStatistics, context);
|
|
2973
2973
|
}
|
|
@@ -2996,7 +2996,7 @@ const deserializeAws_restJson1GetFindingsStatisticsCommandError = async (output,
|
|
|
2996
2996
|
$fault: "client",
|
|
2997
2997
|
$metadata: deserializeMetadata(output),
|
|
2998
2998
|
});
|
|
2999
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2999
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3000
3000
|
}
|
|
3001
3001
|
};
|
|
3002
3002
|
const deserializeAws_restJson1GetInvitationsCountCommand = async (output, context) => {
|
|
@@ -3007,9 +3007,9 @@ const deserializeAws_restJson1GetInvitationsCountCommand = async (output, contex
|
|
|
3007
3007
|
$metadata: deserializeMetadata(output),
|
|
3008
3008
|
InvitationsCount: undefined,
|
|
3009
3009
|
};
|
|
3010
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3010
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3011
3011
|
if (data.invitationsCount !== undefined && data.invitationsCount !== null) {
|
|
3012
|
-
contents.InvitationsCount = smithy_client_1.expectInt32(data.invitationsCount);
|
|
3012
|
+
contents.InvitationsCount = (0, smithy_client_1.expectInt32)(data.invitationsCount);
|
|
3013
3013
|
}
|
|
3014
3014
|
return Promise.resolve(contents);
|
|
3015
3015
|
};
|
|
@@ -3036,7 +3036,7 @@ const deserializeAws_restJson1GetInvitationsCountCommandError = async (output, c
|
|
|
3036
3036
|
$fault: "client",
|
|
3037
3037
|
$metadata: deserializeMetadata(output),
|
|
3038
3038
|
});
|
|
3039
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3039
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3040
3040
|
}
|
|
3041
3041
|
};
|
|
3042
3042
|
const deserializeAws_restJson1GetIPSetCommand = async (output, context) => {
|
|
@@ -3051,18 +3051,18 @@ const deserializeAws_restJson1GetIPSetCommand = async (output, context) => {
|
|
|
3051
3051
|
Status: undefined,
|
|
3052
3052
|
Tags: undefined,
|
|
3053
3053
|
};
|
|
3054
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3054
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3055
3055
|
if (data.format !== undefined && data.format !== null) {
|
|
3056
|
-
contents.Format = smithy_client_1.expectString(data.format);
|
|
3056
|
+
contents.Format = (0, smithy_client_1.expectString)(data.format);
|
|
3057
3057
|
}
|
|
3058
3058
|
if (data.location !== undefined && data.location !== null) {
|
|
3059
|
-
contents.Location = smithy_client_1.expectString(data.location);
|
|
3059
|
+
contents.Location = (0, smithy_client_1.expectString)(data.location);
|
|
3060
3060
|
}
|
|
3061
3061
|
if (data.name !== undefined && data.name !== null) {
|
|
3062
|
-
contents.Name = smithy_client_1.expectString(data.name);
|
|
3062
|
+
contents.Name = (0, smithy_client_1.expectString)(data.name);
|
|
3063
3063
|
}
|
|
3064
3064
|
if (data.status !== undefined && data.status !== null) {
|
|
3065
|
-
contents.Status = smithy_client_1.expectString(data.status);
|
|
3065
|
+
contents.Status = (0, smithy_client_1.expectString)(data.status);
|
|
3066
3066
|
}
|
|
3067
3067
|
if (data.tags !== undefined && data.tags !== null) {
|
|
3068
3068
|
contents.Tags = deserializeAws_restJson1TagMap(data.tags, context);
|
|
@@ -3092,7 +3092,7 @@ const deserializeAws_restJson1GetIPSetCommandError = async (output, context) =>
|
|
|
3092
3092
|
$fault: "client",
|
|
3093
3093
|
$metadata: deserializeMetadata(output),
|
|
3094
3094
|
});
|
|
3095
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3095
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3096
3096
|
}
|
|
3097
3097
|
};
|
|
3098
3098
|
const deserializeAws_restJson1GetMasterAccountCommand = async (output, context) => {
|
|
@@ -3103,7 +3103,7 @@ const deserializeAws_restJson1GetMasterAccountCommand = async (output, context)
|
|
|
3103
3103
|
$metadata: deserializeMetadata(output),
|
|
3104
3104
|
Master: undefined,
|
|
3105
3105
|
};
|
|
3106
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3106
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3107
3107
|
if (data.master !== undefined && data.master !== null) {
|
|
3108
3108
|
contents.Master = deserializeAws_restJson1Master(data.master, context);
|
|
3109
3109
|
}
|
|
@@ -3132,7 +3132,7 @@ const deserializeAws_restJson1GetMasterAccountCommandError = async (output, cont
|
|
|
3132
3132
|
$fault: "client",
|
|
3133
3133
|
$metadata: deserializeMetadata(output),
|
|
3134
3134
|
});
|
|
3135
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3135
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3136
3136
|
}
|
|
3137
3137
|
};
|
|
3138
3138
|
const deserializeAws_restJson1GetMemberDetectorsCommand = async (output, context) => {
|
|
@@ -3144,7 +3144,7 @@ const deserializeAws_restJson1GetMemberDetectorsCommand = async (output, context
|
|
|
3144
3144
|
MemberDataSourceConfigurations: undefined,
|
|
3145
3145
|
UnprocessedAccounts: undefined,
|
|
3146
3146
|
};
|
|
3147
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3147
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3148
3148
|
if (data.members !== undefined && data.members !== null) {
|
|
3149
3149
|
contents.MemberDataSourceConfigurations = deserializeAws_restJson1MemberDataSourceConfigurations(data.members, context);
|
|
3150
3150
|
}
|
|
@@ -3176,7 +3176,7 @@ const deserializeAws_restJson1GetMemberDetectorsCommandError = async (output, co
|
|
|
3176
3176
|
$fault: "client",
|
|
3177
3177
|
$metadata: deserializeMetadata(output),
|
|
3178
3178
|
});
|
|
3179
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3179
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3180
3180
|
}
|
|
3181
3181
|
};
|
|
3182
3182
|
const deserializeAws_restJson1GetMembersCommand = async (output, context) => {
|
|
@@ -3188,7 +3188,7 @@ const deserializeAws_restJson1GetMembersCommand = async (output, context) => {
|
|
|
3188
3188
|
Members: undefined,
|
|
3189
3189
|
UnprocessedAccounts: undefined,
|
|
3190
3190
|
};
|
|
3191
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3191
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3192
3192
|
if (data.members !== undefined && data.members !== null) {
|
|
3193
3193
|
contents.Members = deserializeAws_restJson1Members(data.members, context);
|
|
3194
3194
|
}
|
|
@@ -3220,7 +3220,7 @@ const deserializeAws_restJson1GetMembersCommandError = async (output, context) =
|
|
|
3220
3220
|
$fault: "client",
|
|
3221
3221
|
$metadata: deserializeMetadata(output),
|
|
3222
3222
|
});
|
|
3223
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3223
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3224
3224
|
}
|
|
3225
3225
|
};
|
|
3226
3226
|
const deserializeAws_restJson1GetThreatIntelSetCommand = async (output, context) => {
|
|
@@ -3235,18 +3235,18 @@ const deserializeAws_restJson1GetThreatIntelSetCommand = async (output, context)
|
|
|
3235
3235
|
Status: undefined,
|
|
3236
3236
|
Tags: undefined,
|
|
3237
3237
|
};
|
|
3238
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3238
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3239
3239
|
if (data.format !== undefined && data.format !== null) {
|
|
3240
|
-
contents.Format = smithy_client_1.expectString(data.format);
|
|
3240
|
+
contents.Format = (0, smithy_client_1.expectString)(data.format);
|
|
3241
3241
|
}
|
|
3242
3242
|
if (data.location !== undefined && data.location !== null) {
|
|
3243
|
-
contents.Location = smithy_client_1.expectString(data.location);
|
|
3243
|
+
contents.Location = (0, smithy_client_1.expectString)(data.location);
|
|
3244
3244
|
}
|
|
3245
3245
|
if (data.name !== undefined && data.name !== null) {
|
|
3246
|
-
contents.Name = smithy_client_1.expectString(data.name);
|
|
3246
|
+
contents.Name = (0, smithy_client_1.expectString)(data.name);
|
|
3247
3247
|
}
|
|
3248
3248
|
if (data.status !== undefined && data.status !== null) {
|
|
3249
|
-
contents.Status = smithy_client_1.expectString(data.status);
|
|
3249
|
+
contents.Status = (0, smithy_client_1.expectString)(data.status);
|
|
3250
3250
|
}
|
|
3251
3251
|
if (data.tags !== undefined && data.tags !== null) {
|
|
3252
3252
|
contents.Tags = deserializeAws_restJson1TagMap(data.tags, context);
|
|
@@ -3276,7 +3276,7 @@ const deserializeAws_restJson1GetThreatIntelSetCommandError = async (output, con
|
|
|
3276
3276
|
$fault: "client",
|
|
3277
3277
|
$metadata: deserializeMetadata(output),
|
|
3278
3278
|
});
|
|
3279
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3279
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3280
3280
|
}
|
|
3281
3281
|
};
|
|
3282
3282
|
const deserializeAws_restJson1GetUsageStatisticsCommand = async (output, context) => {
|
|
@@ -3288,9 +3288,9 @@ const deserializeAws_restJson1GetUsageStatisticsCommand = async (output, context
|
|
|
3288
3288
|
NextToken: undefined,
|
|
3289
3289
|
UsageStatistics: undefined,
|
|
3290
3290
|
};
|
|
3291
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3291
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3292
3292
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
3293
|
-
contents.NextToken = smithy_client_1.expectString(data.nextToken);
|
|
3293
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
3294
3294
|
}
|
|
3295
3295
|
if (data.usageStatistics !== undefined && data.usageStatistics !== null) {
|
|
3296
3296
|
contents.UsageStatistics = deserializeAws_restJson1UsageStatistics(data.usageStatistics, context);
|
|
@@ -3320,7 +3320,7 @@ const deserializeAws_restJson1GetUsageStatisticsCommandError = async (output, co
|
|
|
3320
3320
|
$fault: "client",
|
|
3321
3321
|
$metadata: deserializeMetadata(output),
|
|
3322
3322
|
});
|
|
3323
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3323
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3324
3324
|
}
|
|
3325
3325
|
};
|
|
3326
3326
|
const deserializeAws_restJson1InviteMembersCommand = async (output, context) => {
|
|
@@ -3331,7 +3331,7 @@ const deserializeAws_restJson1InviteMembersCommand = async (output, context) =>
|
|
|
3331
3331
|
$metadata: deserializeMetadata(output),
|
|
3332
3332
|
UnprocessedAccounts: undefined,
|
|
3333
3333
|
};
|
|
3334
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3334
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3335
3335
|
if (data.unprocessedAccounts !== undefined && data.unprocessedAccounts !== null) {
|
|
3336
3336
|
contents.UnprocessedAccounts = deserializeAws_restJson1UnprocessedAccounts(data.unprocessedAccounts, context);
|
|
3337
3337
|
}
|
|
@@ -3360,7 +3360,7 @@ const deserializeAws_restJson1InviteMembersCommandError = async (output, context
|
|
|
3360
3360
|
$fault: "client",
|
|
3361
3361
|
$metadata: deserializeMetadata(output),
|
|
3362
3362
|
});
|
|
3363
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3363
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3364
3364
|
}
|
|
3365
3365
|
};
|
|
3366
3366
|
const deserializeAws_restJson1ListDetectorsCommand = async (output, context) => {
|
|
@@ -3372,12 +3372,12 @@ const deserializeAws_restJson1ListDetectorsCommand = async (output, context) =>
|
|
|
3372
3372
|
DetectorIds: undefined,
|
|
3373
3373
|
NextToken: undefined,
|
|
3374
3374
|
};
|
|
3375
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3375
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3376
3376
|
if (data.detectorIds !== undefined && data.detectorIds !== null) {
|
|
3377
3377
|
contents.DetectorIds = deserializeAws_restJson1DetectorIds(data.detectorIds, context);
|
|
3378
3378
|
}
|
|
3379
3379
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
3380
|
-
contents.NextToken = smithy_client_1.expectString(data.nextToken);
|
|
3380
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
3381
3381
|
}
|
|
3382
3382
|
return Promise.resolve(contents);
|
|
3383
3383
|
};
|
|
@@ -3404,7 +3404,7 @@ const deserializeAws_restJson1ListDetectorsCommandError = async (output, context
|
|
|
3404
3404
|
$fault: "client",
|
|
3405
3405
|
$metadata: deserializeMetadata(output),
|
|
3406
3406
|
});
|
|
3407
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3407
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3408
3408
|
}
|
|
3409
3409
|
};
|
|
3410
3410
|
const deserializeAws_restJson1ListFiltersCommand = async (output, context) => {
|
|
@@ -3416,12 +3416,12 @@ const deserializeAws_restJson1ListFiltersCommand = async (output, context) => {
|
|
|
3416
3416
|
FilterNames: undefined,
|
|
3417
3417
|
NextToken: undefined,
|
|
3418
3418
|
};
|
|
3419
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3419
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3420
3420
|
if (data.filterNames !== undefined && data.filterNames !== null) {
|
|
3421
3421
|
contents.FilterNames = deserializeAws_restJson1FilterNames(data.filterNames, context);
|
|
3422
3422
|
}
|
|
3423
3423
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
3424
|
-
contents.NextToken = smithy_client_1.expectString(data.nextToken);
|
|
3424
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
3425
3425
|
}
|
|
3426
3426
|
return Promise.resolve(contents);
|
|
3427
3427
|
};
|
|
@@ -3448,7 +3448,7 @@ const deserializeAws_restJson1ListFiltersCommandError = async (output, context)
|
|
|
3448
3448
|
$fault: "client",
|
|
3449
3449
|
$metadata: deserializeMetadata(output),
|
|
3450
3450
|
});
|
|
3451
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3451
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3452
3452
|
}
|
|
3453
3453
|
};
|
|
3454
3454
|
const deserializeAws_restJson1ListFindingsCommand = async (output, context) => {
|
|
@@ -3460,12 +3460,12 @@ const deserializeAws_restJson1ListFindingsCommand = async (output, context) => {
|
|
|
3460
3460
|
FindingIds: undefined,
|
|
3461
3461
|
NextToken: undefined,
|
|
3462
3462
|
};
|
|
3463
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3463
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3464
3464
|
if (data.findingIds !== undefined && data.findingIds !== null) {
|
|
3465
3465
|
contents.FindingIds = deserializeAws_restJson1FindingIds(data.findingIds, context);
|
|
3466
3466
|
}
|
|
3467
3467
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
3468
|
-
contents.NextToken = smithy_client_1.expectString(data.nextToken);
|
|
3468
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
3469
3469
|
}
|
|
3470
3470
|
return Promise.resolve(contents);
|
|
3471
3471
|
};
|
|
@@ -3492,7 +3492,7 @@ const deserializeAws_restJson1ListFindingsCommandError = async (output, context)
|
|
|
3492
3492
|
$fault: "client",
|
|
3493
3493
|
$metadata: deserializeMetadata(output),
|
|
3494
3494
|
});
|
|
3495
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3495
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3496
3496
|
}
|
|
3497
3497
|
};
|
|
3498
3498
|
const deserializeAws_restJson1ListInvitationsCommand = async (output, context) => {
|
|
@@ -3504,12 +3504,12 @@ const deserializeAws_restJson1ListInvitationsCommand = async (output, context) =
|
|
|
3504
3504
|
Invitations: undefined,
|
|
3505
3505
|
NextToken: undefined,
|
|
3506
3506
|
};
|
|
3507
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3507
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3508
3508
|
if (data.invitations !== undefined && data.invitations !== null) {
|
|
3509
3509
|
contents.Invitations = deserializeAws_restJson1Invitations(data.invitations, context);
|
|
3510
3510
|
}
|
|
3511
3511
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
3512
|
-
contents.NextToken = smithy_client_1.expectString(data.nextToken);
|
|
3512
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
3513
3513
|
}
|
|
3514
3514
|
return Promise.resolve(contents);
|
|
3515
3515
|
};
|
|
@@ -3536,7 +3536,7 @@ const deserializeAws_restJson1ListInvitationsCommandError = async (output, conte
|
|
|
3536
3536
|
$fault: "client",
|
|
3537
3537
|
$metadata: deserializeMetadata(output),
|
|
3538
3538
|
});
|
|
3539
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3539
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3540
3540
|
}
|
|
3541
3541
|
};
|
|
3542
3542
|
const deserializeAws_restJson1ListIPSetsCommand = async (output, context) => {
|
|
@@ -3548,12 +3548,12 @@ const deserializeAws_restJson1ListIPSetsCommand = async (output, context) => {
|
|
|
3548
3548
|
IpSetIds: undefined,
|
|
3549
3549
|
NextToken: undefined,
|
|
3550
3550
|
};
|
|
3551
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3551
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3552
3552
|
if (data.ipSetIds !== undefined && data.ipSetIds !== null) {
|
|
3553
3553
|
contents.IpSetIds = deserializeAws_restJson1IpSetIds(data.ipSetIds, context);
|
|
3554
3554
|
}
|
|
3555
3555
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
3556
|
-
contents.NextToken = smithy_client_1.expectString(data.nextToken);
|
|
3556
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
3557
3557
|
}
|
|
3558
3558
|
return Promise.resolve(contents);
|
|
3559
3559
|
};
|
|
@@ -3580,7 +3580,7 @@ const deserializeAws_restJson1ListIPSetsCommandError = async (output, context) =
|
|
|
3580
3580
|
$fault: "client",
|
|
3581
3581
|
$metadata: deserializeMetadata(output),
|
|
3582
3582
|
});
|
|
3583
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3583
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3584
3584
|
}
|
|
3585
3585
|
};
|
|
3586
3586
|
const deserializeAws_restJson1ListMembersCommand = async (output, context) => {
|
|
@@ -3592,12 +3592,12 @@ const deserializeAws_restJson1ListMembersCommand = async (output, context) => {
|
|
|
3592
3592
|
Members: undefined,
|
|
3593
3593
|
NextToken: undefined,
|
|
3594
3594
|
};
|
|
3595
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3595
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3596
3596
|
if (data.members !== undefined && data.members !== null) {
|
|
3597
3597
|
contents.Members = deserializeAws_restJson1Members(data.members, context);
|
|
3598
3598
|
}
|
|
3599
3599
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
3600
|
-
contents.NextToken = smithy_client_1.expectString(data.nextToken);
|
|
3600
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
3601
3601
|
}
|
|
3602
3602
|
return Promise.resolve(contents);
|
|
3603
3603
|
};
|
|
@@ -3624,7 +3624,7 @@ const deserializeAws_restJson1ListMembersCommandError = async (output, context)
|
|
|
3624
3624
|
$fault: "client",
|
|
3625
3625
|
$metadata: deserializeMetadata(output),
|
|
3626
3626
|
});
|
|
3627
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3627
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3628
3628
|
}
|
|
3629
3629
|
};
|
|
3630
3630
|
const deserializeAws_restJson1ListOrganizationAdminAccountsCommand = async (output, context) => {
|
|
@@ -3636,12 +3636,12 @@ const deserializeAws_restJson1ListOrganizationAdminAccountsCommand = async (outp
|
|
|
3636
3636
|
AdminAccounts: undefined,
|
|
3637
3637
|
NextToken: undefined,
|
|
3638
3638
|
};
|
|
3639
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3639
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3640
3640
|
if (data.adminAccounts !== undefined && data.adminAccounts !== null) {
|
|
3641
3641
|
contents.AdminAccounts = deserializeAws_restJson1AdminAccounts(data.adminAccounts, context);
|
|
3642
3642
|
}
|
|
3643
3643
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
3644
|
-
contents.NextToken = smithy_client_1.expectString(data.nextToken);
|
|
3644
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
3645
3645
|
}
|
|
3646
3646
|
return Promise.resolve(contents);
|
|
3647
3647
|
};
|
|
@@ -3668,7 +3668,7 @@ const deserializeAws_restJson1ListOrganizationAdminAccountsCommandError = async
|
|
|
3668
3668
|
$fault: "client",
|
|
3669
3669
|
$metadata: deserializeMetadata(output),
|
|
3670
3670
|
});
|
|
3671
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3671
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3672
3672
|
}
|
|
3673
3673
|
};
|
|
3674
3674
|
const deserializeAws_restJson1ListPublishingDestinationsCommand = async (output, context) => {
|
|
@@ -3680,12 +3680,12 @@ const deserializeAws_restJson1ListPublishingDestinationsCommand = async (output,
|
|
|
3680
3680
|
Destinations: undefined,
|
|
3681
3681
|
NextToken: undefined,
|
|
3682
3682
|
};
|
|
3683
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3683
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3684
3684
|
if (data.destinations !== undefined && data.destinations !== null) {
|
|
3685
3685
|
contents.Destinations = deserializeAws_restJson1Destinations(data.destinations, context);
|
|
3686
3686
|
}
|
|
3687
3687
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
3688
|
-
contents.NextToken = smithy_client_1.expectString(data.nextToken);
|
|
3688
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
3689
3689
|
}
|
|
3690
3690
|
return Promise.resolve(contents);
|
|
3691
3691
|
};
|
|
@@ -3712,7 +3712,7 @@ const deserializeAws_restJson1ListPublishingDestinationsCommandError = async (ou
|
|
|
3712
3712
|
$fault: "client",
|
|
3713
3713
|
$metadata: deserializeMetadata(output),
|
|
3714
3714
|
});
|
|
3715
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3715
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3716
3716
|
}
|
|
3717
3717
|
};
|
|
3718
3718
|
const deserializeAws_restJson1ListTagsForResourceCommand = async (output, context) => {
|
|
@@ -3723,7 +3723,7 @@ const deserializeAws_restJson1ListTagsForResourceCommand = async (output, contex
|
|
|
3723
3723
|
$metadata: deserializeMetadata(output),
|
|
3724
3724
|
Tags: undefined,
|
|
3725
3725
|
};
|
|
3726
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3726
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3727
3727
|
if (data.tags !== undefined && data.tags !== null) {
|
|
3728
3728
|
contents.Tags = deserializeAws_restJson1TagMap(data.tags, context);
|
|
3729
3729
|
}
|
|
@@ -3752,7 +3752,7 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
|
|
|
3752
3752
|
$fault: "client",
|
|
3753
3753
|
$metadata: deserializeMetadata(output),
|
|
3754
3754
|
});
|
|
3755
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3755
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3756
3756
|
}
|
|
3757
3757
|
};
|
|
3758
3758
|
const deserializeAws_restJson1ListThreatIntelSetsCommand = async (output, context) => {
|
|
@@ -3764,9 +3764,9 @@ const deserializeAws_restJson1ListThreatIntelSetsCommand = async (output, contex
|
|
|
3764
3764
|
NextToken: undefined,
|
|
3765
3765
|
ThreatIntelSetIds: undefined,
|
|
3766
3766
|
};
|
|
3767
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3767
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3768
3768
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
3769
|
-
contents.NextToken = smithy_client_1.expectString(data.nextToken);
|
|
3769
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
3770
3770
|
}
|
|
3771
3771
|
if (data.threatIntelSetIds !== undefined && data.threatIntelSetIds !== null) {
|
|
3772
3772
|
contents.ThreatIntelSetIds = deserializeAws_restJson1ThreatIntelSetIds(data.threatIntelSetIds, context);
|
|
@@ -3796,7 +3796,7 @@ const deserializeAws_restJson1ListThreatIntelSetsCommandError = async (output, c
|
|
|
3796
3796
|
$fault: "client",
|
|
3797
3797
|
$metadata: deserializeMetadata(output),
|
|
3798
3798
|
});
|
|
3799
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3799
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3800
3800
|
}
|
|
3801
3801
|
};
|
|
3802
3802
|
const deserializeAws_restJson1StartMonitoringMembersCommand = async (output, context) => {
|
|
@@ -3807,7 +3807,7 @@ const deserializeAws_restJson1StartMonitoringMembersCommand = async (output, con
|
|
|
3807
3807
|
$metadata: deserializeMetadata(output),
|
|
3808
3808
|
UnprocessedAccounts: undefined,
|
|
3809
3809
|
};
|
|
3810
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3810
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3811
3811
|
if (data.unprocessedAccounts !== undefined && data.unprocessedAccounts !== null) {
|
|
3812
3812
|
contents.UnprocessedAccounts = deserializeAws_restJson1UnprocessedAccounts(data.unprocessedAccounts, context);
|
|
3813
3813
|
}
|
|
@@ -3836,7 +3836,7 @@ const deserializeAws_restJson1StartMonitoringMembersCommandError = async (output
|
|
|
3836
3836
|
$fault: "client",
|
|
3837
3837
|
$metadata: deserializeMetadata(output),
|
|
3838
3838
|
});
|
|
3839
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3839
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3840
3840
|
}
|
|
3841
3841
|
};
|
|
3842
3842
|
const deserializeAws_restJson1StopMonitoringMembersCommand = async (output, context) => {
|
|
@@ -3847,7 +3847,7 @@ const deserializeAws_restJson1StopMonitoringMembersCommand = async (output, cont
|
|
|
3847
3847
|
$metadata: deserializeMetadata(output),
|
|
3848
3848
|
UnprocessedAccounts: undefined,
|
|
3849
3849
|
};
|
|
3850
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3850
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3851
3851
|
if (data.unprocessedAccounts !== undefined && data.unprocessedAccounts !== null) {
|
|
3852
3852
|
contents.UnprocessedAccounts = deserializeAws_restJson1UnprocessedAccounts(data.unprocessedAccounts, context);
|
|
3853
3853
|
}
|
|
@@ -3876,7 +3876,7 @@ const deserializeAws_restJson1StopMonitoringMembersCommandError = async (output,
|
|
|
3876
3876
|
$fault: "client",
|
|
3877
3877
|
$metadata: deserializeMetadata(output),
|
|
3878
3878
|
});
|
|
3879
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3879
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3880
3880
|
}
|
|
3881
3881
|
};
|
|
3882
3882
|
const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
|
|
@@ -3912,7 +3912,7 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
|
|
|
3912
3912
|
$fault: "client",
|
|
3913
3913
|
$metadata: deserializeMetadata(output),
|
|
3914
3914
|
});
|
|
3915
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3915
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3916
3916
|
}
|
|
3917
3917
|
};
|
|
3918
3918
|
const deserializeAws_restJson1UnarchiveFindingsCommand = async (output, context) => {
|
|
@@ -3948,7 +3948,7 @@ const deserializeAws_restJson1UnarchiveFindingsCommandError = async (output, con
|
|
|
3948
3948
|
$fault: "client",
|
|
3949
3949
|
$metadata: deserializeMetadata(output),
|
|
3950
3950
|
});
|
|
3951
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3951
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3952
3952
|
}
|
|
3953
3953
|
};
|
|
3954
3954
|
const deserializeAws_restJson1UntagResourceCommand = async (output, context) => {
|
|
@@ -3984,7 +3984,7 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
|
|
|
3984
3984
|
$fault: "client",
|
|
3985
3985
|
$metadata: deserializeMetadata(output),
|
|
3986
3986
|
});
|
|
3987
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3987
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3988
3988
|
}
|
|
3989
3989
|
};
|
|
3990
3990
|
const deserializeAws_restJson1UpdateDetectorCommand = async (output, context) => {
|
|
@@ -4020,7 +4020,7 @@ const deserializeAws_restJson1UpdateDetectorCommandError = async (output, contex
|
|
|
4020
4020
|
$fault: "client",
|
|
4021
4021
|
$metadata: deserializeMetadata(output),
|
|
4022
4022
|
});
|
|
4023
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4023
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4024
4024
|
}
|
|
4025
4025
|
};
|
|
4026
4026
|
const deserializeAws_restJson1UpdateFilterCommand = async (output, context) => {
|
|
@@ -4031,9 +4031,9 @@ const deserializeAws_restJson1UpdateFilterCommand = async (output, context) => {
|
|
|
4031
4031
|
$metadata: deserializeMetadata(output),
|
|
4032
4032
|
Name: undefined,
|
|
4033
4033
|
};
|
|
4034
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4034
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4035
4035
|
if (data.name !== undefined && data.name !== null) {
|
|
4036
|
-
contents.Name = smithy_client_1.expectString(data.name);
|
|
4036
|
+
contents.Name = (0, smithy_client_1.expectString)(data.name);
|
|
4037
4037
|
}
|
|
4038
4038
|
return Promise.resolve(contents);
|
|
4039
4039
|
};
|
|
@@ -4060,7 +4060,7 @@ const deserializeAws_restJson1UpdateFilterCommandError = async (output, context)
|
|
|
4060
4060
|
$fault: "client",
|
|
4061
4061
|
$metadata: deserializeMetadata(output),
|
|
4062
4062
|
});
|
|
4063
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4063
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4064
4064
|
}
|
|
4065
4065
|
};
|
|
4066
4066
|
const deserializeAws_restJson1UpdateFindingsFeedbackCommand = async (output, context) => {
|
|
@@ -4096,7 +4096,7 @@ const deserializeAws_restJson1UpdateFindingsFeedbackCommandError = async (output
|
|
|
4096
4096
|
$fault: "client",
|
|
4097
4097
|
$metadata: deserializeMetadata(output),
|
|
4098
4098
|
});
|
|
4099
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4099
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4100
4100
|
}
|
|
4101
4101
|
};
|
|
4102
4102
|
const deserializeAws_restJson1UpdateIPSetCommand = async (output, context) => {
|
|
@@ -4132,7 +4132,7 @@ const deserializeAws_restJson1UpdateIPSetCommandError = async (output, context)
|
|
|
4132
4132
|
$fault: "client",
|
|
4133
4133
|
$metadata: deserializeMetadata(output),
|
|
4134
4134
|
});
|
|
4135
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4135
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4136
4136
|
}
|
|
4137
4137
|
};
|
|
4138
4138
|
const deserializeAws_restJson1UpdateMemberDetectorsCommand = async (output, context) => {
|
|
@@ -4143,7 +4143,7 @@ const deserializeAws_restJson1UpdateMemberDetectorsCommand = async (output, cont
|
|
|
4143
4143
|
$metadata: deserializeMetadata(output),
|
|
4144
4144
|
UnprocessedAccounts: undefined,
|
|
4145
4145
|
};
|
|
4146
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4146
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4147
4147
|
if (data.unprocessedAccounts !== undefined && data.unprocessedAccounts !== null) {
|
|
4148
4148
|
contents.UnprocessedAccounts = deserializeAws_restJson1UnprocessedAccounts(data.unprocessedAccounts, context);
|
|
4149
4149
|
}
|
|
@@ -4172,7 +4172,7 @@ const deserializeAws_restJson1UpdateMemberDetectorsCommandError = async (output,
|
|
|
4172
4172
|
$fault: "client",
|
|
4173
4173
|
$metadata: deserializeMetadata(output),
|
|
4174
4174
|
});
|
|
4175
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4175
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4176
4176
|
}
|
|
4177
4177
|
};
|
|
4178
4178
|
const deserializeAws_restJson1UpdateOrganizationConfigurationCommand = async (output, context) => {
|
|
@@ -4208,7 +4208,7 @@ const deserializeAws_restJson1UpdateOrganizationConfigurationCommandError = asyn
|
|
|
4208
4208
|
$fault: "client",
|
|
4209
4209
|
$metadata: deserializeMetadata(output),
|
|
4210
4210
|
});
|
|
4211
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4211
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4212
4212
|
}
|
|
4213
4213
|
};
|
|
4214
4214
|
const deserializeAws_restJson1UpdatePublishingDestinationCommand = async (output, context) => {
|
|
@@ -4244,7 +4244,7 @@ const deserializeAws_restJson1UpdatePublishingDestinationCommandError = async (o
|
|
|
4244
4244
|
$fault: "client",
|
|
4245
4245
|
$metadata: deserializeMetadata(output),
|
|
4246
4246
|
});
|
|
4247
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4247
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4248
4248
|
}
|
|
4249
4249
|
};
|
|
4250
4250
|
const deserializeAws_restJson1UpdateThreatIntelSetCommand = async (output, context) => {
|
|
@@ -4280,38 +4280,38 @@ const deserializeAws_restJson1UpdateThreatIntelSetCommandError = async (output,
|
|
|
4280
4280
|
$fault: "client",
|
|
4281
4281
|
$metadata: deserializeMetadata(output),
|
|
4282
4282
|
});
|
|
4283
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4283
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4284
4284
|
}
|
|
4285
4285
|
};
|
|
4286
4286
|
const deserializeAws_restJson1BadRequestExceptionResponse = async (parsedOutput, context) => {
|
|
4287
4287
|
const contents = {};
|
|
4288
4288
|
const data = parsedOutput.body;
|
|
4289
4289
|
if (data.message !== undefined && data.message !== null) {
|
|
4290
|
-
contents.Message = smithy_client_1.expectString(data.message);
|
|
4290
|
+
contents.Message = (0, smithy_client_1.expectString)(data.message);
|
|
4291
4291
|
}
|
|
4292
4292
|
if (data.__type !== undefined && data.__type !== null) {
|
|
4293
|
-
contents.Type = smithy_client_1.expectString(data.__type);
|
|
4293
|
+
contents.Type = (0, smithy_client_1.expectString)(data.__type);
|
|
4294
4294
|
}
|
|
4295
4295
|
const exception = new models_0_1.BadRequestException({
|
|
4296
4296
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4297
4297
|
...contents,
|
|
4298
4298
|
});
|
|
4299
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
4299
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
4300
4300
|
};
|
|
4301
4301
|
const deserializeAws_restJson1InternalServerErrorExceptionResponse = async (parsedOutput, context) => {
|
|
4302
4302
|
const contents = {};
|
|
4303
4303
|
const data = parsedOutput.body;
|
|
4304
4304
|
if (data.message !== undefined && data.message !== null) {
|
|
4305
|
-
contents.Message = smithy_client_1.expectString(data.message);
|
|
4305
|
+
contents.Message = (0, smithy_client_1.expectString)(data.message);
|
|
4306
4306
|
}
|
|
4307
4307
|
if (data.__type !== undefined && data.__type !== null) {
|
|
4308
|
-
contents.Type = smithy_client_1.expectString(data.__type);
|
|
4308
|
+
contents.Type = (0, smithy_client_1.expectString)(data.__type);
|
|
4309
4309
|
}
|
|
4310
4310
|
const exception = new models_0_1.InternalServerErrorException({
|
|
4311
4311
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4312
4312
|
...contents,
|
|
4313
4313
|
});
|
|
4314
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
4314
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
4315
4315
|
};
|
|
4316
4316
|
const serializeAws_restJson1AccountDetail = (input, context) => {
|
|
4317
4317
|
return {
|
|
@@ -4560,16 +4560,16 @@ const serializeAws_restJson1UsageCriteria = (input, context) => {
|
|
|
4560
4560
|
};
|
|
4561
4561
|
const deserializeAws_restJson1AccessControlList = (output, context) => {
|
|
4562
4562
|
return {
|
|
4563
|
-
AllowsPublicReadAccess: smithy_client_1.expectBoolean(output.allowsPublicReadAccess),
|
|
4564
|
-
AllowsPublicWriteAccess: smithy_client_1.expectBoolean(output.allowsPublicWriteAccess),
|
|
4563
|
+
AllowsPublicReadAccess: (0, smithy_client_1.expectBoolean)(output.allowsPublicReadAccess),
|
|
4564
|
+
AllowsPublicWriteAccess: (0, smithy_client_1.expectBoolean)(output.allowsPublicWriteAccess),
|
|
4565
4565
|
};
|
|
4566
4566
|
};
|
|
4567
4567
|
const deserializeAws_restJson1AccessKeyDetails = (output, context) => {
|
|
4568
4568
|
return {
|
|
4569
|
-
AccessKeyId: smithy_client_1.expectString(output.accessKeyId),
|
|
4570
|
-
PrincipalId: smithy_client_1.expectString(output.principalId),
|
|
4571
|
-
UserName: smithy_client_1.expectString(output.userName),
|
|
4572
|
-
UserType: smithy_client_1.expectString(output.userType),
|
|
4569
|
+
AccessKeyId: (0, smithy_client_1.expectString)(output.accessKeyId),
|
|
4570
|
+
PrincipalId: (0, smithy_client_1.expectString)(output.principalId),
|
|
4571
|
+
UserName: (0, smithy_client_1.expectString)(output.userName),
|
|
4572
|
+
UserType: (0, smithy_client_1.expectString)(output.userType),
|
|
4573
4573
|
};
|
|
4574
4574
|
};
|
|
4575
4575
|
const deserializeAws_restJson1AccountLevelPermissions = (output, context) => {
|
|
@@ -4581,7 +4581,7 @@ const deserializeAws_restJson1AccountLevelPermissions = (output, context) => {
|
|
|
4581
4581
|
};
|
|
4582
4582
|
const deserializeAws_restJson1Action = (output, context) => {
|
|
4583
4583
|
return {
|
|
4584
|
-
ActionType: smithy_client_1.expectString(output.actionType),
|
|
4584
|
+
ActionType: (0, smithy_client_1.expectString)(output.actionType),
|
|
4585
4585
|
AwsApiCallAction: output.awsApiCallAction !== undefined && output.awsApiCallAction !== null
|
|
4586
4586
|
? deserializeAws_restJson1AwsApiCallAction(output.awsApiCallAction, context)
|
|
4587
4587
|
: undefined,
|
|
@@ -4601,8 +4601,8 @@ const deserializeAws_restJson1Action = (output, context) => {
|
|
|
4601
4601
|
};
|
|
4602
4602
|
const deserializeAws_restJson1AdminAccount = (output, context) => {
|
|
4603
4603
|
return {
|
|
4604
|
-
AdminAccountId: smithy_client_1.expectString(output.adminAccountId),
|
|
4605
|
-
AdminStatus: smithy_client_1.expectString(output.adminStatus),
|
|
4604
|
+
AdminAccountId: (0, smithy_client_1.expectString)(output.adminAccountId),
|
|
4605
|
+
AdminStatus: (0, smithy_client_1.expectString)(output.adminStatus),
|
|
4606
4606
|
};
|
|
4607
4607
|
};
|
|
4608
4608
|
const deserializeAws_restJson1AdminAccounts = (output, context) => {
|
|
@@ -4618,28 +4618,28 @@ const deserializeAws_restJson1AdminAccounts = (output, context) => {
|
|
|
4618
4618
|
};
|
|
4619
4619
|
const deserializeAws_restJson1AwsApiCallAction = (output, context) => {
|
|
4620
4620
|
return {
|
|
4621
|
-
Api: smithy_client_1.expectString(output.api),
|
|
4622
|
-
CallerType: smithy_client_1.expectString(output.callerType),
|
|
4621
|
+
Api: (0, smithy_client_1.expectString)(output.api),
|
|
4622
|
+
CallerType: (0, smithy_client_1.expectString)(output.callerType),
|
|
4623
4623
|
DomainDetails: output.domainDetails !== undefined && output.domainDetails !== null
|
|
4624
4624
|
? deserializeAws_restJson1DomainDetails(output.domainDetails, context)
|
|
4625
4625
|
: undefined,
|
|
4626
|
-
ErrorCode: smithy_client_1.expectString(output.errorCode),
|
|
4626
|
+
ErrorCode: (0, smithy_client_1.expectString)(output.errorCode),
|
|
4627
4627
|
RemoteAccountDetails: output.remoteAccountDetails !== undefined && output.remoteAccountDetails !== null
|
|
4628
4628
|
? deserializeAws_restJson1RemoteAccountDetails(output.remoteAccountDetails, context)
|
|
4629
4629
|
: undefined,
|
|
4630
4630
|
RemoteIpDetails: output.remoteIpDetails !== undefined && output.remoteIpDetails !== null
|
|
4631
4631
|
? deserializeAws_restJson1RemoteIpDetails(output.remoteIpDetails, context)
|
|
4632
4632
|
: undefined,
|
|
4633
|
-
ServiceName: smithy_client_1.expectString(output.serviceName),
|
|
4634
|
-
UserAgent: smithy_client_1.expectString(output.userAgent),
|
|
4633
|
+
ServiceName: (0, smithy_client_1.expectString)(output.serviceName),
|
|
4634
|
+
UserAgent: (0, smithy_client_1.expectString)(output.userAgent),
|
|
4635
4635
|
};
|
|
4636
4636
|
};
|
|
4637
4637
|
const deserializeAws_restJson1BlockPublicAccess = (output, context) => {
|
|
4638
4638
|
return {
|
|
4639
|
-
BlockPublicAcls: smithy_client_1.expectBoolean(output.blockPublicAcls),
|
|
4640
|
-
BlockPublicPolicy: smithy_client_1.expectBoolean(output.blockPublicPolicy),
|
|
4641
|
-
IgnorePublicAcls: smithy_client_1.expectBoolean(output.ignorePublicAcls),
|
|
4642
|
-
RestrictPublicBuckets: smithy_client_1.expectBoolean(output.restrictPublicBuckets),
|
|
4639
|
+
BlockPublicAcls: (0, smithy_client_1.expectBoolean)(output.blockPublicAcls),
|
|
4640
|
+
BlockPublicPolicy: (0, smithy_client_1.expectBoolean)(output.blockPublicPolicy),
|
|
4641
|
+
IgnorePublicAcls: (0, smithy_client_1.expectBoolean)(output.ignorePublicAcls),
|
|
4642
|
+
RestrictPublicBuckets: (0, smithy_client_1.expectBoolean)(output.restrictPublicBuckets),
|
|
4643
4643
|
};
|
|
4644
4644
|
};
|
|
4645
4645
|
const deserializeAws_restJson1BucketLevelPermissions = (output, context) => {
|
|
@@ -4657,18 +4657,18 @@ const deserializeAws_restJson1BucketLevelPermissions = (output, context) => {
|
|
|
4657
4657
|
};
|
|
4658
4658
|
const deserializeAws_restJson1BucketPolicy = (output, context) => {
|
|
4659
4659
|
return {
|
|
4660
|
-
AllowsPublicReadAccess: smithy_client_1.expectBoolean(output.allowsPublicReadAccess),
|
|
4661
|
-
AllowsPublicWriteAccess: smithy_client_1.expectBoolean(output.allowsPublicWriteAccess),
|
|
4660
|
+
AllowsPublicReadAccess: (0, smithy_client_1.expectBoolean)(output.allowsPublicReadAccess),
|
|
4661
|
+
AllowsPublicWriteAccess: (0, smithy_client_1.expectBoolean)(output.allowsPublicWriteAccess),
|
|
4662
4662
|
};
|
|
4663
4663
|
};
|
|
4664
4664
|
const deserializeAws_restJson1City = (output, context) => {
|
|
4665
4665
|
return {
|
|
4666
|
-
CityName: smithy_client_1.expectString(output.cityName),
|
|
4666
|
+
CityName: (0, smithy_client_1.expectString)(output.cityName),
|
|
4667
4667
|
};
|
|
4668
4668
|
};
|
|
4669
4669
|
const deserializeAws_restJson1CloudTrailConfigurationResult = (output, context) => {
|
|
4670
4670
|
return {
|
|
4671
|
-
Status: smithy_client_1.expectString(output.status),
|
|
4671
|
+
Status: (0, smithy_client_1.expectString)(output.status),
|
|
4672
4672
|
};
|
|
4673
4673
|
};
|
|
4674
4674
|
const deserializeAws_restJson1Condition = (output, context) => {
|
|
@@ -4677,14 +4677,14 @@ const deserializeAws_restJson1Condition = (output, context) => {
|
|
|
4677
4677
|
Equals: output.equals !== undefined && output.equals !== null
|
|
4678
4678
|
? deserializeAws_restJson1Equals(output.equals, context)
|
|
4679
4679
|
: undefined,
|
|
4680
|
-
GreaterThan: smithy_client_1.expectLong(output.greaterThan),
|
|
4681
|
-
GreaterThanOrEqual: smithy_client_1.expectLong(output.greaterThanOrEqual),
|
|
4682
|
-
Gt: smithy_client_1.expectInt32(output.gt),
|
|
4683
|
-
Gte: smithy_client_1.expectInt32(output.gte),
|
|
4684
|
-
LessThan: smithy_client_1.expectLong(output.lessThan),
|
|
4685
|
-
LessThanOrEqual: smithy_client_1.expectLong(output.lessThanOrEqual),
|
|
4686
|
-
Lt: smithy_client_1.expectInt32(output.lt),
|
|
4687
|
-
Lte: smithy_client_1.expectInt32(output.lte),
|
|
4680
|
+
GreaterThan: (0, smithy_client_1.expectLong)(output.greaterThan),
|
|
4681
|
+
GreaterThanOrEqual: (0, smithy_client_1.expectLong)(output.greaterThanOrEqual),
|
|
4682
|
+
Gt: (0, smithy_client_1.expectInt32)(output.gt),
|
|
4683
|
+
Gte: (0, smithy_client_1.expectInt32)(output.gte),
|
|
4684
|
+
LessThan: (0, smithy_client_1.expectLong)(output.lessThan),
|
|
4685
|
+
LessThanOrEqual: (0, smithy_client_1.expectLong)(output.lessThanOrEqual),
|
|
4686
|
+
Lt: (0, smithy_client_1.expectInt32)(output.lt),
|
|
4687
|
+
Lte: (0, smithy_client_1.expectInt32)(output.lte),
|
|
4688
4688
|
Neq: output.neq !== undefined && output.neq !== null ? deserializeAws_restJson1Neq(output.neq, context) : undefined,
|
|
4689
4689
|
NotEquals: output.notEquals !== undefined && output.notEquals !== null
|
|
4690
4690
|
? deserializeAws_restJson1NotEquals(output.notEquals, context)
|
|
@@ -4693,11 +4693,11 @@ const deserializeAws_restJson1Condition = (output, context) => {
|
|
|
4693
4693
|
};
|
|
4694
4694
|
const deserializeAws_restJson1Container = (output, context) => {
|
|
4695
4695
|
return {
|
|
4696
|
-
ContainerRuntime: smithy_client_1.expectString(output.containerRuntime),
|
|
4697
|
-
Id: smithy_client_1.expectString(output.id),
|
|
4698
|
-
Image: smithy_client_1.expectString(output.image),
|
|
4699
|
-
ImagePrefix: smithy_client_1.expectString(output.imagePrefix),
|
|
4700
|
-
Name: smithy_client_1.expectString(output.name),
|
|
4696
|
+
ContainerRuntime: (0, smithy_client_1.expectString)(output.containerRuntime),
|
|
4697
|
+
Id: (0, smithy_client_1.expectString)(output.id),
|
|
4698
|
+
Image: (0, smithy_client_1.expectString)(output.image),
|
|
4699
|
+
ImagePrefix: (0, smithy_client_1.expectString)(output.imagePrefix),
|
|
4700
|
+
Name: (0, smithy_client_1.expectString)(output.name),
|
|
4701
4701
|
SecurityContext: output.securityContext !== undefined && output.securityContext !== null
|
|
4702
4702
|
? deserializeAws_restJson1SecurityContext(output.securityContext, context)
|
|
4703
4703
|
: undefined,
|
|
@@ -4724,14 +4724,14 @@ const deserializeAws_restJson1CountBySeverity = (output, context) => {
|
|
|
4724
4724
|
}
|
|
4725
4725
|
return {
|
|
4726
4726
|
...acc,
|
|
4727
|
-
[key]: smithy_client_1.expectInt32(value),
|
|
4727
|
+
[key]: (0, smithy_client_1.expectInt32)(value),
|
|
4728
4728
|
};
|
|
4729
4729
|
}, {});
|
|
4730
4730
|
};
|
|
4731
4731
|
const deserializeAws_restJson1Country = (output, context) => {
|
|
4732
4732
|
return {
|
|
4733
|
-
CountryCode: smithy_client_1.expectString(output.countryCode),
|
|
4734
|
-
CountryName: smithy_client_1.expectString(output.countryName),
|
|
4733
|
+
CountryCode: (0, smithy_client_1.expectString)(output.countryCode),
|
|
4734
|
+
CountryName: (0, smithy_client_1.expectString)(output.countryName),
|
|
4735
4735
|
};
|
|
4736
4736
|
};
|
|
4737
4737
|
const deserializeAws_restJson1Criterion = (output, context) => {
|
|
@@ -4766,21 +4766,21 @@ const deserializeAws_restJson1DataSourceConfigurationsResult = (output, context)
|
|
|
4766
4766
|
};
|
|
4767
4767
|
const deserializeAws_restJson1DefaultServerSideEncryption = (output, context) => {
|
|
4768
4768
|
return {
|
|
4769
|
-
EncryptionType: smithy_client_1.expectString(output.encryptionType),
|
|
4770
|
-
KmsMasterKeyArn: smithy_client_1.expectString(output.kmsMasterKeyArn),
|
|
4769
|
+
EncryptionType: (0, smithy_client_1.expectString)(output.encryptionType),
|
|
4770
|
+
KmsMasterKeyArn: (0, smithy_client_1.expectString)(output.kmsMasterKeyArn),
|
|
4771
4771
|
};
|
|
4772
4772
|
};
|
|
4773
4773
|
const deserializeAws_restJson1Destination = (output, context) => {
|
|
4774
4774
|
return {
|
|
4775
|
-
DestinationId: smithy_client_1.expectString(output.destinationId),
|
|
4776
|
-
DestinationType: smithy_client_1.expectString(output.destinationType),
|
|
4777
|
-
Status: smithy_client_1.expectString(output.status),
|
|
4775
|
+
DestinationId: (0, smithy_client_1.expectString)(output.destinationId),
|
|
4776
|
+
DestinationType: (0, smithy_client_1.expectString)(output.destinationType),
|
|
4777
|
+
Status: (0, smithy_client_1.expectString)(output.status),
|
|
4778
4778
|
};
|
|
4779
4779
|
};
|
|
4780
4780
|
const deserializeAws_restJson1DestinationProperties = (output, context) => {
|
|
4781
4781
|
return {
|
|
4782
|
-
DestinationArn: smithy_client_1.expectString(output.destinationArn),
|
|
4783
|
-
KmsKeyArn: smithy_client_1.expectString(output.kmsKeyArn),
|
|
4782
|
+
DestinationArn: (0, smithy_client_1.expectString)(output.destinationArn),
|
|
4783
|
+
KmsKeyArn: (0, smithy_client_1.expectString)(output.kmsKeyArn),
|
|
4784
4784
|
};
|
|
4785
4785
|
};
|
|
4786
4786
|
const deserializeAws_restJson1Destinations = (output, context) => {
|
|
@@ -4801,37 +4801,37 @@ const deserializeAws_restJson1DetectorIds = (output, context) => {
|
|
|
4801
4801
|
if (entry === null) {
|
|
4802
4802
|
return null;
|
|
4803
4803
|
}
|
|
4804
|
-
return smithy_client_1.expectString(entry);
|
|
4804
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
4805
4805
|
});
|
|
4806
4806
|
return retVal;
|
|
4807
4807
|
};
|
|
4808
4808
|
const deserializeAws_restJson1DNSLogsConfigurationResult = (output, context) => {
|
|
4809
4809
|
return {
|
|
4810
|
-
Status: smithy_client_1.expectString(output.status),
|
|
4810
|
+
Status: (0, smithy_client_1.expectString)(output.status),
|
|
4811
4811
|
};
|
|
4812
4812
|
};
|
|
4813
4813
|
const deserializeAws_restJson1DnsRequestAction = (output, context) => {
|
|
4814
4814
|
return {
|
|
4815
|
-
Domain: smithy_client_1.expectString(output.domain),
|
|
4815
|
+
Domain: (0, smithy_client_1.expectString)(output.domain),
|
|
4816
4816
|
};
|
|
4817
4817
|
};
|
|
4818
4818
|
const deserializeAws_restJson1DomainDetails = (output, context) => {
|
|
4819
4819
|
return {
|
|
4820
|
-
Domain: smithy_client_1.expectString(output.domain),
|
|
4820
|
+
Domain: (0, smithy_client_1.expectString)(output.domain),
|
|
4821
4821
|
};
|
|
4822
4822
|
};
|
|
4823
4823
|
const deserializeAws_restJson1EksClusterDetails = (output, context) => {
|
|
4824
4824
|
return {
|
|
4825
|
-
Arn: smithy_client_1.expectString(output.arn),
|
|
4825
|
+
Arn: (0, smithy_client_1.expectString)(output.arn),
|
|
4826
4826
|
CreatedAt: output.createdAt !== undefined && output.createdAt !== null
|
|
4827
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt)))
|
|
4827
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
|
|
4828
4828
|
: undefined,
|
|
4829
|
-
Name: smithy_client_1.expectString(output.name),
|
|
4830
|
-
Status: smithy_client_1.expectString(output.status),
|
|
4829
|
+
Name: (0, smithy_client_1.expectString)(output.name),
|
|
4830
|
+
Status: (0, smithy_client_1.expectString)(output.status),
|
|
4831
4831
|
Tags: output.tags !== undefined && output.tags !== null
|
|
4832
4832
|
? deserializeAws_restJson1Tags(output.tags, context)
|
|
4833
4833
|
: undefined,
|
|
4834
|
-
VpcId: smithy_client_1.expectString(output.vpcId),
|
|
4834
|
+
VpcId: (0, smithy_client_1.expectString)(output.vpcId),
|
|
4835
4835
|
};
|
|
4836
4836
|
};
|
|
4837
4837
|
const deserializeAws_restJson1Eq = (output, context) => {
|
|
@@ -4841,7 +4841,7 @@ const deserializeAws_restJson1Eq = (output, context) => {
|
|
|
4841
4841
|
if (entry === null) {
|
|
4842
4842
|
return null;
|
|
4843
4843
|
}
|
|
4844
|
-
return smithy_client_1.expectString(entry);
|
|
4844
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
4845
4845
|
});
|
|
4846
4846
|
return retVal;
|
|
4847
4847
|
};
|
|
@@ -4852,7 +4852,7 @@ const deserializeAws_restJson1Equals = (output, context) => {
|
|
|
4852
4852
|
if (entry === null) {
|
|
4853
4853
|
return null;
|
|
4854
4854
|
}
|
|
4855
|
-
return smithy_client_1.expectString(entry);
|
|
4855
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
4856
4856
|
});
|
|
4857
4857
|
return retVal;
|
|
4858
4858
|
};
|
|
@@ -4870,31 +4870,31 @@ const deserializeAws_restJson1FilterNames = (output, context) => {
|
|
|
4870
4870
|
if (entry === null) {
|
|
4871
4871
|
return null;
|
|
4872
4872
|
}
|
|
4873
|
-
return smithy_client_1.expectString(entry);
|
|
4873
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
4874
4874
|
});
|
|
4875
4875
|
return retVal;
|
|
4876
4876
|
};
|
|
4877
4877
|
const deserializeAws_restJson1Finding = (output, context) => {
|
|
4878
4878
|
return {
|
|
4879
|
-
AccountId: smithy_client_1.expectString(output.accountId),
|
|
4880
|
-
Arn: smithy_client_1.expectString(output.arn),
|
|
4881
|
-
Confidence: smithy_client_1.limitedParseDouble(output.confidence),
|
|
4882
|
-
CreatedAt: smithy_client_1.expectString(output.createdAt),
|
|
4883
|
-
Description: smithy_client_1.expectString(output.description),
|
|
4884
|
-
Id: smithy_client_1.expectString(output.id),
|
|
4885
|
-
Partition: smithy_client_1.expectString(output.partition),
|
|
4886
|
-
Region: smithy_client_1.expectString(output.region),
|
|
4879
|
+
AccountId: (0, smithy_client_1.expectString)(output.accountId),
|
|
4880
|
+
Arn: (0, smithy_client_1.expectString)(output.arn),
|
|
4881
|
+
Confidence: (0, smithy_client_1.limitedParseDouble)(output.confidence),
|
|
4882
|
+
CreatedAt: (0, smithy_client_1.expectString)(output.createdAt),
|
|
4883
|
+
Description: (0, smithy_client_1.expectString)(output.description),
|
|
4884
|
+
Id: (0, smithy_client_1.expectString)(output.id),
|
|
4885
|
+
Partition: (0, smithy_client_1.expectString)(output.partition),
|
|
4886
|
+
Region: (0, smithy_client_1.expectString)(output.region),
|
|
4887
4887
|
Resource: output.resource !== undefined && output.resource !== null
|
|
4888
4888
|
? deserializeAws_restJson1Resource(output.resource, context)
|
|
4889
4889
|
: undefined,
|
|
4890
|
-
SchemaVersion: smithy_client_1.expectString(output.schemaVersion),
|
|
4890
|
+
SchemaVersion: (0, smithy_client_1.expectString)(output.schemaVersion),
|
|
4891
4891
|
Service: output.service !== undefined && output.service !== null
|
|
4892
4892
|
? deserializeAws_restJson1Service(output.service, context)
|
|
4893
4893
|
: undefined,
|
|
4894
|
-
Severity: smithy_client_1.limitedParseDouble(output.severity),
|
|
4895
|
-
Title: smithy_client_1.expectString(output.title),
|
|
4896
|
-
Type: smithy_client_1.expectString(output.type),
|
|
4897
|
-
UpdatedAt: smithy_client_1.expectString(output.updatedAt),
|
|
4894
|
+
Severity: (0, smithy_client_1.limitedParseDouble)(output.severity),
|
|
4895
|
+
Title: (0, smithy_client_1.expectString)(output.title),
|
|
4896
|
+
Type: (0, smithy_client_1.expectString)(output.type),
|
|
4897
|
+
UpdatedAt: (0, smithy_client_1.expectString)(output.updatedAt),
|
|
4898
4898
|
};
|
|
4899
4899
|
};
|
|
4900
4900
|
const deserializeAws_restJson1FindingCriteria = (output, context) => {
|
|
@@ -4911,7 +4911,7 @@ const deserializeAws_restJson1FindingIds = (output, context) => {
|
|
|
4911
4911
|
if (entry === null) {
|
|
4912
4912
|
return null;
|
|
4913
4913
|
}
|
|
4914
|
-
return smithy_client_1.expectString(entry);
|
|
4914
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
4915
4915
|
});
|
|
4916
4916
|
return retVal;
|
|
4917
4917
|
};
|
|
@@ -4935,13 +4935,13 @@ const deserializeAws_restJson1FindingStatistics = (output, context) => {
|
|
|
4935
4935
|
};
|
|
4936
4936
|
const deserializeAws_restJson1FlowLogsConfigurationResult = (output, context) => {
|
|
4937
4937
|
return {
|
|
4938
|
-
Status: smithy_client_1.expectString(output.status),
|
|
4938
|
+
Status: (0, smithy_client_1.expectString)(output.status),
|
|
4939
4939
|
};
|
|
4940
4940
|
};
|
|
4941
4941
|
const deserializeAws_restJson1GeoLocation = (output, context) => {
|
|
4942
4942
|
return {
|
|
4943
|
-
Lat: smithy_client_1.limitedParseDouble(output.lat),
|
|
4944
|
-
Lon: smithy_client_1.limitedParseDouble(output.lon),
|
|
4943
|
+
Lat: (0, smithy_client_1.limitedParseDouble)(output.lat),
|
|
4944
|
+
Lon: (0, smithy_client_1.limitedParseDouble)(output.lon),
|
|
4945
4945
|
};
|
|
4946
4946
|
};
|
|
4947
4947
|
const deserializeAws_restJson1Groups = (output, context) => {
|
|
@@ -4951,38 +4951,38 @@ const deserializeAws_restJson1Groups = (output, context) => {
|
|
|
4951
4951
|
if (entry === null) {
|
|
4952
4952
|
return null;
|
|
4953
4953
|
}
|
|
4954
|
-
return smithy_client_1.expectString(entry);
|
|
4954
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
4955
4955
|
});
|
|
4956
4956
|
return retVal;
|
|
4957
4957
|
};
|
|
4958
4958
|
const deserializeAws_restJson1HostPath = (output, context) => {
|
|
4959
4959
|
return {
|
|
4960
|
-
Path: smithy_client_1.expectString(output.path),
|
|
4960
|
+
Path: (0, smithy_client_1.expectString)(output.path),
|
|
4961
4961
|
};
|
|
4962
4962
|
};
|
|
4963
4963
|
const deserializeAws_restJson1IamInstanceProfile = (output, context) => {
|
|
4964
4964
|
return {
|
|
4965
|
-
Arn: smithy_client_1.expectString(output.arn),
|
|
4966
|
-
Id: smithy_client_1.expectString(output.id),
|
|
4965
|
+
Arn: (0, smithy_client_1.expectString)(output.arn),
|
|
4966
|
+
Id: (0, smithy_client_1.expectString)(output.id),
|
|
4967
4967
|
};
|
|
4968
4968
|
};
|
|
4969
4969
|
const deserializeAws_restJson1InstanceDetails = (output, context) => {
|
|
4970
4970
|
return {
|
|
4971
|
-
AvailabilityZone: smithy_client_1.expectString(output.availabilityZone),
|
|
4971
|
+
AvailabilityZone: (0, smithy_client_1.expectString)(output.availabilityZone),
|
|
4972
4972
|
IamInstanceProfile: output.iamInstanceProfile !== undefined && output.iamInstanceProfile !== null
|
|
4973
4973
|
? deserializeAws_restJson1IamInstanceProfile(output.iamInstanceProfile, context)
|
|
4974
4974
|
: undefined,
|
|
4975
|
-
ImageDescription: smithy_client_1.expectString(output.imageDescription),
|
|
4976
|
-
ImageId: smithy_client_1.expectString(output.imageId),
|
|
4977
|
-
InstanceId: smithy_client_1.expectString(output.instanceId),
|
|
4978
|
-
InstanceState: smithy_client_1.expectString(output.instanceState),
|
|
4979
|
-
InstanceType: smithy_client_1.expectString(output.instanceType),
|
|
4980
|
-
LaunchTime: smithy_client_1.expectString(output.launchTime),
|
|
4975
|
+
ImageDescription: (0, smithy_client_1.expectString)(output.imageDescription),
|
|
4976
|
+
ImageId: (0, smithy_client_1.expectString)(output.imageId),
|
|
4977
|
+
InstanceId: (0, smithy_client_1.expectString)(output.instanceId),
|
|
4978
|
+
InstanceState: (0, smithy_client_1.expectString)(output.instanceState),
|
|
4979
|
+
InstanceType: (0, smithy_client_1.expectString)(output.instanceType),
|
|
4980
|
+
LaunchTime: (0, smithy_client_1.expectString)(output.launchTime),
|
|
4981
4981
|
NetworkInterfaces: output.networkInterfaces !== undefined && output.networkInterfaces !== null
|
|
4982
4982
|
? deserializeAws_restJson1NetworkInterfaces(output.networkInterfaces, context)
|
|
4983
4983
|
: undefined,
|
|
4984
|
-
OutpostArn: smithy_client_1.expectString(output.outpostArn),
|
|
4985
|
-
Platform: smithy_client_1.expectString(output.platform),
|
|
4984
|
+
OutpostArn: (0, smithy_client_1.expectString)(output.outpostArn),
|
|
4985
|
+
Platform: (0, smithy_client_1.expectString)(output.platform),
|
|
4986
4986
|
ProductCodes: output.productCodes !== undefined && output.productCodes !== null
|
|
4987
4987
|
? deserializeAws_restJson1ProductCodes(output.productCodes, context)
|
|
4988
4988
|
: undefined,
|
|
@@ -4993,10 +4993,10 @@ const deserializeAws_restJson1InstanceDetails = (output, context) => {
|
|
|
4993
4993
|
};
|
|
4994
4994
|
const deserializeAws_restJson1Invitation = (output, context) => {
|
|
4995
4995
|
return {
|
|
4996
|
-
AccountId: smithy_client_1.expectString(output.accountId),
|
|
4997
|
-
InvitationId: smithy_client_1.expectString(output.invitationId),
|
|
4998
|
-
InvitedAt: smithy_client_1.expectString(output.invitedAt),
|
|
4999
|
-
RelationshipStatus: smithy_client_1.expectString(output.relationshipStatus),
|
|
4996
|
+
AccountId: (0, smithy_client_1.expectString)(output.accountId),
|
|
4997
|
+
InvitationId: (0, smithy_client_1.expectString)(output.invitationId),
|
|
4998
|
+
InvitedAt: (0, smithy_client_1.expectString)(output.invitedAt),
|
|
4999
|
+
RelationshipStatus: (0, smithy_client_1.expectString)(output.relationshipStatus),
|
|
5000
5000
|
};
|
|
5001
5001
|
};
|
|
5002
5002
|
const deserializeAws_restJson1Invitations = (output, context) => {
|
|
@@ -5017,7 +5017,7 @@ const deserializeAws_restJson1IpSetIds = (output, context) => {
|
|
|
5017
5017
|
if (entry === null) {
|
|
5018
5018
|
return null;
|
|
5019
5019
|
}
|
|
5020
|
-
return smithy_client_1.expectString(entry);
|
|
5020
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
5021
5021
|
});
|
|
5022
5022
|
return retVal;
|
|
5023
5023
|
};
|
|
@@ -5028,28 +5028,28 @@ const deserializeAws_restJson1Ipv6Addresses = (output, context) => {
|
|
|
5028
5028
|
if (entry === null) {
|
|
5029
5029
|
return null;
|
|
5030
5030
|
}
|
|
5031
|
-
return smithy_client_1.expectString(entry);
|
|
5031
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
5032
5032
|
});
|
|
5033
5033
|
return retVal;
|
|
5034
5034
|
};
|
|
5035
5035
|
const deserializeAws_restJson1KubernetesApiCallAction = (output, context) => {
|
|
5036
5036
|
return {
|
|
5037
|
-
Parameters: smithy_client_1.expectString(output.parameters),
|
|
5037
|
+
Parameters: (0, smithy_client_1.expectString)(output.parameters),
|
|
5038
5038
|
RemoteIpDetails: output.remoteIpDetails !== undefined && output.remoteIpDetails !== null
|
|
5039
5039
|
? deserializeAws_restJson1RemoteIpDetails(output.remoteIpDetails, context)
|
|
5040
5040
|
: undefined,
|
|
5041
|
-
RequestUri: smithy_client_1.expectString(output.requestUri),
|
|
5041
|
+
RequestUri: (0, smithy_client_1.expectString)(output.requestUri),
|
|
5042
5042
|
SourceIps: output.sourceIps !== undefined && output.sourceIps !== null
|
|
5043
5043
|
? deserializeAws_restJson1SourceIps(output.sourceIps, context)
|
|
5044
5044
|
: undefined,
|
|
5045
|
-
StatusCode: smithy_client_1.expectInt32(output.statusCode),
|
|
5046
|
-
UserAgent: smithy_client_1.expectString(output.userAgent),
|
|
5047
|
-
Verb: smithy_client_1.expectString(output.verb),
|
|
5045
|
+
StatusCode: (0, smithy_client_1.expectInt32)(output.statusCode),
|
|
5046
|
+
UserAgent: (0, smithy_client_1.expectString)(output.userAgent),
|
|
5047
|
+
Verb: (0, smithy_client_1.expectString)(output.verb),
|
|
5048
5048
|
};
|
|
5049
5049
|
};
|
|
5050
5050
|
const deserializeAws_restJson1KubernetesAuditLogsConfigurationResult = (output, context) => {
|
|
5051
5051
|
return {
|
|
5052
|
-
Status: smithy_client_1.expectString(output.status),
|
|
5052
|
+
Status: (0, smithy_client_1.expectString)(output.status),
|
|
5053
5053
|
};
|
|
5054
5054
|
};
|
|
5055
5055
|
const deserializeAws_restJson1KubernetesConfigurationResult = (output, context) => {
|
|
@@ -5074,8 +5074,8 @@ const deserializeAws_restJson1KubernetesUserDetails = (output, context) => {
|
|
|
5074
5074
|
Groups: output.groups !== undefined && output.groups !== null
|
|
5075
5075
|
? deserializeAws_restJson1Groups(output.groups, context)
|
|
5076
5076
|
: undefined,
|
|
5077
|
-
Uid: smithy_client_1.expectString(output.uid),
|
|
5078
|
-
Username: smithy_client_1.expectString(output.username),
|
|
5077
|
+
Uid: (0, smithy_client_1.expectString)(output.uid),
|
|
5078
|
+
Username: (0, smithy_client_1.expectString)(output.username),
|
|
5079
5079
|
};
|
|
5080
5080
|
};
|
|
5081
5081
|
const deserializeAws_restJson1KubernetesWorkloadDetails = (output, context) => {
|
|
@@ -5083,11 +5083,11 @@ const deserializeAws_restJson1KubernetesWorkloadDetails = (output, context) => {
|
|
|
5083
5083
|
Containers: output.containers !== undefined && output.containers !== null
|
|
5084
5084
|
? deserializeAws_restJson1Containers(output.containers, context)
|
|
5085
5085
|
: undefined,
|
|
5086
|
-
HostNetwork: smithy_client_1.expectBoolean(output.hostNetwork),
|
|
5087
|
-
Name: smithy_client_1.expectString(output.name),
|
|
5088
|
-
Namespace: smithy_client_1.expectString(output.namespace),
|
|
5089
|
-
Type: smithy_client_1.expectString(output.type),
|
|
5090
|
-
Uid: smithy_client_1.expectString(output.uid),
|
|
5086
|
+
HostNetwork: (0, smithy_client_1.expectBoolean)(output.hostNetwork),
|
|
5087
|
+
Name: (0, smithy_client_1.expectString)(output.name),
|
|
5088
|
+
Namespace: (0, smithy_client_1.expectString)(output.namespace),
|
|
5089
|
+
Type: (0, smithy_client_1.expectString)(output.type),
|
|
5090
|
+
Uid: (0, smithy_client_1.expectString)(output.uid),
|
|
5091
5091
|
Volumes: output.volumes !== undefined && output.volumes !== null
|
|
5092
5092
|
? deserializeAws_restJson1Volumes(output.volumes, context)
|
|
5093
5093
|
: undefined,
|
|
@@ -5095,37 +5095,37 @@ const deserializeAws_restJson1KubernetesWorkloadDetails = (output, context) => {
|
|
|
5095
5095
|
};
|
|
5096
5096
|
const deserializeAws_restJson1LocalIpDetails = (output, context) => {
|
|
5097
5097
|
return {
|
|
5098
|
-
IpAddressV4: smithy_client_1.expectString(output.ipAddressV4),
|
|
5098
|
+
IpAddressV4: (0, smithy_client_1.expectString)(output.ipAddressV4),
|
|
5099
5099
|
};
|
|
5100
5100
|
};
|
|
5101
5101
|
const deserializeAws_restJson1LocalPortDetails = (output, context) => {
|
|
5102
5102
|
return {
|
|
5103
|
-
Port: smithy_client_1.expectInt32(output.port),
|
|
5104
|
-
PortName: smithy_client_1.expectString(output.portName),
|
|
5103
|
+
Port: (0, smithy_client_1.expectInt32)(output.port),
|
|
5104
|
+
PortName: (0, smithy_client_1.expectString)(output.portName),
|
|
5105
5105
|
};
|
|
5106
5106
|
};
|
|
5107
5107
|
const deserializeAws_restJson1Master = (output, context) => {
|
|
5108
5108
|
return {
|
|
5109
|
-
AccountId: smithy_client_1.expectString(output.accountId),
|
|
5110
|
-
InvitationId: smithy_client_1.expectString(output.invitationId),
|
|
5111
|
-
InvitedAt: smithy_client_1.expectString(output.invitedAt),
|
|
5112
|
-
RelationshipStatus: smithy_client_1.expectString(output.relationshipStatus),
|
|
5109
|
+
AccountId: (0, smithy_client_1.expectString)(output.accountId),
|
|
5110
|
+
InvitationId: (0, smithy_client_1.expectString)(output.invitationId),
|
|
5111
|
+
InvitedAt: (0, smithy_client_1.expectString)(output.invitedAt),
|
|
5112
|
+
RelationshipStatus: (0, smithy_client_1.expectString)(output.relationshipStatus),
|
|
5113
5113
|
};
|
|
5114
5114
|
};
|
|
5115
5115
|
const deserializeAws_restJson1Member = (output, context) => {
|
|
5116
5116
|
return {
|
|
5117
|
-
AccountId: smithy_client_1.expectString(output.accountId),
|
|
5118
|
-
DetectorId: smithy_client_1.expectString(output.detectorId),
|
|
5119
|
-
Email: smithy_client_1.expectString(output.email),
|
|
5120
|
-
InvitedAt: smithy_client_1.expectString(output.invitedAt),
|
|
5121
|
-
MasterId: smithy_client_1.expectString(output.masterId),
|
|
5122
|
-
RelationshipStatus: smithy_client_1.expectString(output.relationshipStatus),
|
|
5123
|
-
UpdatedAt: smithy_client_1.expectString(output.updatedAt),
|
|
5117
|
+
AccountId: (0, smithy_client_1.expectString)(output.accountId),
|
|
5118
|
+
DetectorId: (0, smithy_client_1.expectString)(output.detectorId),
|
|
5119
|
+
Email: (0, smithy_client_1.expectString)(output.email),
|
|
5120
|
+
InvitedAt: (0, smithy_client_1.expectString)(output.invitedAt),
|
|
5121
|
+
MasterId: (0, smithy_client_1.expectString)(output.masterId),
|
|
5122
|
+
RelationshipStatus: (0, smithy_client_1.expectString)(output.relationshipStatus),
|
|
5123
|
+
UpdatedAt: (0, smithy_client_1.expectString)(output.updatedAt),
|
|
5124
5124
|
};
|
|
5125
5125
|
};
|
|
5126
5126
|
const deserializeAws_restJson1MemberDataSourceConfiguration = (output, context) => {
|
|
5127
5127
|
return {
|
|
5128
|
-
AccountId: smithy_client_1.expectString(output.accountId),
|
|
5128
|
+
AccountId: (0, smithy_client_1.expectString)(output.accountId),
|
|
5129
5129
|
DataSources: output.dataSources !== undefined && output.dataSources !== null
|
|
5130
5130
|
? deserializeAws_restJson1DataSourceConfigurationsResult(output.dataSources, context)
|
|
5131
5131
|
: undefined,
|
|
@@ -5160,21 +5160,21 @@ const deserializeAws_restJson1Neq = (output, context) => {
|
|
|
5160
5160
|
if (entry === null) {
|
|
5161
5161
|
return null;
|
|
5162
5162
|
}
|
|
5163
|
-
return smithy_client_1.expectString(entry);
|
|
5163
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
5164
5164
|
});
|
|
5165
5165
|
return retVal;
|
|
5166
5166
|
};
|
|
5167
5167
|
const deserializeAws_restJson1NetworkConnectionAction = (output, context) => {
|
|
5168
5168
|
return {
|
|
5169
|
-
Blocked: smithy_client_1.expectBoolean(output.blocked),
|
|
5170
|
-
ConnectionDirection: smithy_client_1.expectString(output.connectionDirection),
|
|
5169
|
+
Blocked: (0, smithy_client_1.expectBoolean)(output.blocked),
|
|
5170
|
+
ConnectionDirection: (0, smithy_client_1.expectString)(output.connectionDirection),
|
|
5171
5171
|
LocalIpDetails: output.localIpDetails !== undefined && output.localIpDetails !== null
|
|
5172
5172
|
? deserializeAws_restJson1LocalIpDetails(output.localIpDetails, context)
|
|
5173
5173
|
: undefined,
|
|
5174
5174
|
LocalPortDetails: output.localPortDetails !== undefined && output.localPortDetails !== null
|
|
5175
5175
|
? deserializeAws_restJson1LocalPortDetails(output.localPortDetails, context)
|
|
5176
5176
|
: undefined,
|
|
5177
|
-
Protocol: smithy_client_1.expectString(output.protocol),
|
|
5177
|
+
Protocol: (0, smithy_client_1.expectString)(output.protocol),
|
|
5178
5178
|
RemoteIpDetails: output.remoteIpDetails !== undefined && output.remoteIpDetails !== null
|
|
5179
5179
|
? deserializeAws_restJson1RemoteIpDetails(output.remoteIpDetails, context)
|
|
5180
5180
|
: undefined,
|
|
@@ -5188,19 +5188,19 @@ const deserializeAws_restJson1NetworkInterface = (output, context) => {
|
|
|
5188
5188
|
Ipv6Addresses: output.ipv6Addresses !== undefined && output.ipv6Addresses !== null
|
|
5189
5189
|
? deserializeAws_restJson1Ipv6Addresses(output.ipv6Addresses, context)
|
|
5190
5190
|
: undefined,
|
|
5191
|
-
NetworkInterfaceId: smithy_client_1.expectString(output.networkInterfaceId),
|
|
5192
|
-
PrivateDnsName: smithy_client_1.expectString(output.privateDnsName),
|
|
5193
|
-
PrivateIpAddress: smithy_client_1.expectString(output.privateIpAddress),
|
|
5191
|
+
NetworkInterfaceId: (0, smithy_client_1.expectString)(output.networkInterfaceId),
|
|
5192
|
+
PrivateDnsName: (0, smithy_client_1.expectString)(output.privateDnsName),
|
|
5193
|
+
PrivateIpAddress: (0, smithy_client_1.expectString)(output.privateIpAddress),
|
|
5194
5194
|
PrivateIpAddresses: output.privateIpAddresses !== undefined && output.privateIpAddresses !== null
|
|
5195
5195
|
? deserializeAws_restJson1PrivateIpAddresses(output.privateIpAddresses, context)
|
|
5196
5196
|
: undefined,
|
|
5197
|
-
PublicDnsName: smithy_client_1.expectString(output.publicDnsName),
|
|
5198
|
-
PublicIp: smithy_client_1.expectString(output.publicIp),
|
|
5197
|
+
PublicDnsName: (0, smithy_client_1.expectString)(output.publicDnsName),
|
|
5198
|
+
PublicIp: (0, smithy_client_1.expectString)(output.publicIp),
|
|
5199
5199
|
SecurityGroups: output.securityGroups !== undefined && output.securityGroups !== null
|
|
5200
5200
|
? deserializeAws_restJson1SecurityGroups(output.securityGroups, context)
|
|
5201
5201
|
: undefined,
|
|
5202
|
-
SubnetId: smithy_client_1.expectString(output.subnetId),
|
|
5203
|
-
VpcId: smithy_client_1.expectString(output.vpcId),
|
|
5202
|
+
SubnetId: (0, smithy_client_1.expectString)(output.subnetId),
|
|
5203
|
+
VpcId: (0, smithy_client_1.expectString)(output.vpcId),
|
|
5204
5204
|
};
|
|
5205
5205
|
};
|
|
5206
5206
|
const deserializeAws_restJson1NetworkInterfaces = (output, context) => {
|
|
@@ -5221,16 +5221,16 @@ const deserializeAws_restJson1NotEquals = (output, context) => {
|
|
|
5221
5221
|
if (entry === null) {
|
|
5222
5222
|
return null;
|
|
5223
5223
|
}
|
|
5224
|
-
return smithy_client_1.expectString(entry);
|
|
5224
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
5225
5225
|
});
|
|
5226
5226
|
return retVal;
|
|
5227
5227
|
};
|
|
5228
5228
|
const deserializeAws_restJson1Organization = (output, context) => {
|
|
5229
5229
|
return {
|
|
5230
|
-
Asn: smithy_client_1.expectString(output.asn),
|
|
5231
|
-
AsnOrg: smithy_client_1.expectString(output.asnOrg),
|
|
5232
|
-
Isp: smithy_client_1.expectString(output.isp),
|
|
5233
|
-
Org: smithy_client_1.expectString(output.org),
|
|
5230
|
+
Asn: (0, smithy_client_1.expectString)(output.asn),
|
|
5231
|
+
AsnOrg: (0, smithy_client_1.expectString)(output.asnOrg),
|
|
5232
|
+
Isp: (0, smithy_client_1.expectString)(output.isp),
|
|
5233
|
+
Org: (0, smithy_client_1.expectString)(output.org),
|
|
5234
5234
|
};
|
|
5235
5235
|
};
|
|
5236
5236
|
const deserializeAws_restJson1OrganizationDataSourceConfigurationsResult = (output, context) => {
|
|
@@ -5245,7 +5245,7 @@ const deserializeAws_restJson1OrganizationDataSourceConfigurationsResult = (outp
|
|
|
5245
5245
|
};
|
|
5246
5246
|
const deserializeAws_restJson1OrganizationKubernetesAuditLogsConfigurationResult = (output, context) => {
|
|
5247
5247
|
return {
|
|
5248
|
-
AutoEnable: smithy_client_1.expectBoolean(output.autoEnable),
|
|
5248
|
+
AutoEnable: (0, smithy_client_1.expectBoolean)(output.autoEnable),
|
|
5249
5249
|
};
|
|
5250
5250
|
};
|
|
5251
5251
|
const deserializeAws_restJson1OrganizationKubernetesConfigurationResult = (output, context) => {
|
|
@@ -5257,12 +5257,12 @@ const deserializeAws_restJson1OrganizationKubernetesConfigurationResult = (outpu
|
|
|
5257
5257
|
};
|
|
5258
5258
|
const deserializeAws_restJson1OrganizationS3LogsConfigurationResult = (output, context) => {
|
|
5259
5259
|
return {
|
|
5260
|
-
AutoEnable: smithy_client_1.expectBoolean(output.autoEnable),
|
|
5260
|
+
AutoEnable: (0, smithy_client_1.expectBoolean)(output.autoEnable),
|
|
5261
5261
|
};
|
|
5262
5262
|
};
|
|
5263
5263
|
const deserializeAws_restJson1Owner = (output, context) => {
|
|
5264
5264
|
return {
|
|
5265
|
-
Id: smithy_client_1.expectString(output.id),
|
|
5265
|
+
Id: (0, smithy_client_1.expectString)(output.id),
|
|
5266
5266
|
};
|
|
5267
5267
|
};
|
|
5268
5268
|
const deserializeAws_restJson1PermissionConfiguration = (output, context) => {
|
|
@@ -5277,7 +5277,7 @@ const deserializeAws_restJson1PermissionConfiguration = (output, context) => {
|
|
|
5277
5277
|
};
|
|
5278
5278
|
const deserializeAws_restJson1PortProbeAction = (output, context) => {
|
|
5279
5279
|
return {
|
|
5280
|
-
Blocked: smithy_client_1.expectBoolean(output.blocked),
|
|
5280
|
+
Blocked: (0, smithy_client_1.expectBoolean)(output.blocked),
|
|
5281
5281
|
PortProbeDetails: output.portProbeDetails !== undefined && output.portProbeDetails !== null
|
|
5282
5282
|
? deserializeAws_restJson1PortProbeDetails(output.portProbeDetails, context)
|
|
5283
5283
|
: undefined,
|
|
@@ -5309,8 +5309,8 @@ const deserializeAws_restJson1PortProbeDetails = (output, context) => {
|
|
|
5309
5309
|
};
|
|
5310
5310
|
const deserializeAws_restJson1PrivateIpAddressDetails = (output, context) => {
|
|
5311
5311
|
return {
|
|
5312
|
-
PrivateDnsName: smithy_client_1.expectString(output.privateDnsName),
|
|
5313
|
-
PrivateIpAddress: smithy_client_1.expectString(output.privateIpAddress),
|
|
5312
|
+
PrivateDnsName: (0, smithy_client_1.expectString)(output.privateDnsName),
|
|
5313
|
+
PrivateIpAddress: (0, smithy_client_1.expectString)(output.privateIpAddress),
|
|
5314
5314
|
};
|
|
5315
5315
|
};
|
|
5316
5316
|
const deserializeAws_restJson1PrivateIpAddresses = (output, context) => {
|
|
@@ -5326,8 +5326,8 @@ const deserializeAws_restJson1PrivateIpAddresses = (output, context) => {
|
|
|
5326
5326
|
};
|
|
5327
5327
|
const deserializeAws_restJson1ProductCode = (output, context) => {
|
|
5328
5328
|
return {
|
|
5329
|
-
Code: smithy_client_1.expectString(output.code),
|
|
5330
|
-
ProductType: smithy_client_1.expectString(output.productType),
|
|
5329
|
+
Code: (0, smithy_client_1.expectString)(output.code),
|
|
5330
|
+
ProductType: (0, smithy_client_1.expectString)(output.productType),
|
|
5331
5331
|
};
|
|
5332
5332
|
};
|
|
5333
5333
|
const deserializeAws_restJson1ProductCodes = (output, context) => {
|
|
@@ -5343,7 +5343,7 @@ const deserializeAws_restJson1ProductCodes = (output, context) => {
|
|
|
5343
5343
|
};
|
|
5344
5344
|
const deserializeAws_restJson1PublicAccess = (output, context) => {
|
|
5345
5345
|
return {
|
|
5346
|
-
EffectivePermission: smithy_client_1.expectString(output.effectivePermission),
|
|
5346
|
+
EffectivePermission: (0, smithy_client_1.expectString)(output.effectivePermission),
|
|
5347
5347
|
PermissionConfiguration: output.permissionConfiguration !== undefined && output.permissionConfiguration !== null
|
|
5348
5348
|
? deserializeAws_restJson1PermissionConfiguration(output.permissionConfiguration, context)
|
|
5349
5349
|
: undefined,
|
|
@@ -5351,8 +5351,8 @@ const deserializeAws_restJson1PublicAccess = (output, context) => {
|
|
|
5351
5351
|
};
|
|
5352
5352
|
const deserializeAws_restJson1RemoteAccountDetails = (output, context) => {
|
|
5353
5353
|
return {
|
|
5354
|
-
AccountId: smithy_client_1.expectString(output.accountId),
|
|
5355
|
-
Affiliated: smithy_client_1.expectBoolean(output.affiliated),
|
|
5354
|
+
AccountId: (0, smithy_client_1.expectString)(output.accountId),
|
|
5355
|
+
Affiliated: (0, smithy_client_1.expectBoolean)(output.affiliated),
|
|
5356
5356
|
};
|
|
5357
5357
|
};
|
|
5358
5358
|
const deserializeAws_restJson1RemoteIpDetails = (output, context) => {
|
|
@@ -5366,7 +5366,7 @@ const deserializeAws_restJson1RemoteIpDetails = (output, context) => {
|
|
|
5366
5366
|
GeoLocation: output.geoLocation !== undefined && output.geoLocation !== null
|
|
5367
5367
|
? deserializeAws_restJson1GeoLocation(output.geoLocation, context)
|
|
5368
5368
|
: undefined,
|
|
5369
|
-
IpAddressV4: smithy_client_1.expectString(output.ipAddressV4),
|
|
5369
|
+
IpAddressV4: (0, smithy_client_1.expectString)(output.ipAddressV4),
|
|
5370
5370
|
Organization: output.organization !== undefined && output.organization !== null
|
|
5371
5371
|
? deserializeAws_restJson1Organization(output.organization, context)
|
|
5372
5372
|
: undefined,
|
|
@@ -5374,8 +5374,8 @@ const deserializeAws_restJson1RemoteIpDetails = (output, context) => {
|
|
|
5374
5374
|
};
|
|
5375
5375
|
const deserializeAws_restJson1RemotePortDetails = (output, context) => {
|
|
5376
5376
|
return {
|
|
5377
|
-
Port: smithy_client_1.expectInt32(output.port),
|
|
5378
|
-
PortName: smithy_client_1.expectString(output.portName),
|
|
5377
|
+
Port: (0, smithy_client_1.expectInt32)(output.port),
|
|
5378
|
+
PortName: (0, smithy_client_1.expectString)(output.portName),
|
|
5379
5379
|
};
|
|
5380
5380
|
};
|
|
5381
5381
|
const deserializeAws_restJson1Resource = (output, context) => {
|
|
@@ -5392,7 +5392,7 @@ const deserializeAws_restJson1Resource = (output, context) => {
|
|
|
5392
5392
|
KubernetesDetails: output.kubernetesDetails !== undefined && output.kubernetesDetails !== null
|
|
5393
5393
|
? deserializeAws_restJson1KubernetesDetails(output.kubernetesDetails, context)
|
|
5394
5394
|
: undefined,
|
|
5395
|
-
ResourceType: smithy_client_1.expectString(output.resourceType),
|
|
5395
|
+
ResourceType: (0, smithy_client_1.expectString)(output.resourceType),
|
|
5396
5396
|
S3BucketDetails: output.s3BucketDetails !== undefined && output.s3BucketDetails !== null
|
|
5397
5397
|
? deserializeAws_restJson1S3BucketDetails(output.s3BucketDetails, context)
|
|
5398
5398
|
: undefined,
|
|
@@ -5400,14 +5400,14 @@ const deserializeAws_restJson1Resource = (output, context) => {
|
|
|
5400
5400
|
};
|
|
5401
5401
|
const deserializeAws_restJson1S3BucketDetail = (output, context) => {
|
|
5402
5402
|
return {
|
|
5403
|
-
Arn: smithy_client_1.expectString(output.arn),
|
|
5403
|
+
Arn: (0, smithy_client_1.expectString)(output.arn),
|
|
5404
5404
|
CreatedAt: output.createdAt !== undefined && output.createdAt !== null
|
|
5405
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt)))
|
|
5405
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
|
|
5406
5406
|
: undefined,
|
|
5407
5407
|
DefaultServerSideEncryption: output.defaultServerSideEncryption !== undefined && output.defaultServerSideEncryption !== null
|
|
5408
5408
|
? deserializeAws_restJson1DefaultServerSideEncryption(output.defaultServerSideEncryption, context)
|
|
5409
5409
|
: undefined,
|
|
5410
|
-
Name: smithy_client_1.expectString(output.name),
|
|
5410
|
+
Name: (0, smithy_client_1.expectString)(output.name),
|
|
5411
5411
|
Owner: output.owner !== undefined && output.owner !== null
|
|
5412
5412
|
? deserializeAws_restJson1Owner(output.owner, context)
|
|
5413
5413
|
: undefined,
|
|
@@ -5417,7 +5417,7 @@ const deserializeAws_restJson1S3BucketDetail = (output, context) => {
|
|
|
5417
5417
|
Tags: output.tags !== undefined && output.tags !== null
|
|
5418
5418
|
? deserializeAws_restJson1Tags(output.tags, context)
|
|
5419
5419
|
: undefined,
|
|
5420
|
-
Type: smithy_client_1.expectString(output.type),
|
|
5420
|
+
Type: (0, smithy_client_1.expectString)(output.type),
|
|
5421
5421
|
};
|
|
5422
5422
|
};
|
|
5423
5423
|
const deserializeAws_restJson1S3BucketDetails = (output, context) => {
|
|
@@ -5433,18 +5433,18 @@ const deserializeAws_restJson1S3BucketDetails = (output, context) => {
|
|
|
5433
5433
|
};
|
|
5434
5434
|
const deserializeAws_restJson1S3LogsConfigurationResult = (output, context) => {
|
|
5435
5435
|
return {
|
|
5436
|
-
Status: smithy_client_1.expectString(output.status),
|
|
5436
|
+
Status: (0, smithy_client_1.expectString)(output.status),
|
|
5437
5437
|
};
|
|
5438
5438
|
};
|
|
5439
5439
|
const deserializeAws_restJson1SecurityContext = (output, context) => {
|
|
5440
5440
|
return {
|
|
5441
|
-
Privileged: smithy_client_1.expectBoolean(output.privileged),
|
|
5441
|
+
Privileged: (0, smithy_client_1.expectBoolean)(output.privileged),
|
|
5442
5442
|
};
|
|
5443
5443
|
};
|
|
5444
5444
|
const deserializeAws_restJson1SecurityGroup = (output, context) => {
|
|
5445
5445
|
return {
|
|
5446
|
-
GroupId: smithy_client_1.expectString(output.groupId),
|
|
5447
|
-
GroupName: smithy_client_1.expectString(output.groupName),
|
|
5446
|
+
GroupId: (0, smithy_client_1.expectString)(output.groupId),
|
|
5447
|
+
GroupName: (0, smithy_client_1.expectString)(output.groupName),
|
|
5448
5448
|
};
|
|
5449
5449
|
};
|
|
5450
5450
|
const deserializeAws_restJson1SecurityGroups = (output, context) => {
|
|
@@ -5463,17 +5463,17 @@ const deserializeAws_restJson1Service = (output, context) => {
|
|
|
5463
5463
|
Action: output.action !== undefined && output.action !== null
|
|
5464
5464
|
? deserializeAws_restJson1Action(output.action, context)
|
|
5465
5465
|
: undefined,
|
|
5466
|
-
Archived: smithy_client_1.expectBoolean(output.archived),
|
|
5467
|
-
Count: smithy_client_1.expectInt32(output.count),
|
|
5468
|
-
DetectorId: smithy_client_1.expectString(output.detectorId),
|
|
5469
|
-
EventFirstSeen: smithy_client_1.expectString(output.eventFirstSeen),
|
|
5470
|
-
EventLastSeen: smithy_client_1.expectString(output.eventLastSeen),
|
|
5466
|
+
Archived: (0, smithy_client_1.expectBoolean)(output.archived),
|
|
5467
|
+
Count: (0, smithy_client_1.expectInt32)(output.count),
|
|
5468
|
+
DetectorId: (0, smithy_client_1.expectString)(output.detectorId),
|
|
5469
|
+
EventFirstSeen: (0, smithy_client_1.expectString)(output.eventFirstSeen),
|
|
5470
|
+
EventLastSeen: (0, smithy_client_1.expectString)(output.eventLastSeen),
|
|
5471
5471
|
Evidence: output.evidence !== undefined && output.evidence !== null
|
|
5472
5472
|
? deserializeAws_restJson1Evidence(output.evidence, context)
|
|
5473
5473
|
: undefined,
|
|
5474
|
-
ResourceRole: smithy_client_1.expectString(output.resourceRole),
|
|
5475
|
-
ServiceName: smithy_client_1.expectString(output.serviceName),
|
|
5476
|
-
UserFeedback: smithy_client_1.expectString(output.userFeedback),
|
|
5474
|
+
ResourceRole: (0, smithy_client_1.expectString)(output.resourceRole),
|
|
5475
|
+
ServiceName: (0, smithy_client_1.expectString)(output.serviceName),
|
|
5476
|
+
UserFeedback: (0, smithy_client_1.expectString)(output.userFeedback),
|
|
5477
5477
|
};
|
|
5478
5478
|
};
|
|
5479
5479
|
const deserializeAws_restJson1SourceIps = (output, context) => {
|
|
@@ -5483,14 +5483,14 @@ const deserializeAws_restJson1SourceIps = (output, context) => {
|
|
|
5483
5483
|
if (entry === null) {
|
|
5484
5484
|
return null;
|
|
5485
5485
|
}
|
|
5486
|
-
return smithy_client_1.expectString(entry);
|
|
5486
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
5487
5487
|
});
|
|
5488
5488
|
return retVal;
|
|
5489
5489
|
};
|
|
5490
5490
|
const deserializeAws_restJson1Tag = (output, context) => {
|
|
5491
5491
|
return {
|
|
5492
|
-
Key: smithy_client_1.expectString(output.key),
|
|
5493
|
-
Value: smithy_client_1.expectString(output.value),
|
|
5492
|
+
Key: (0, smithy_client_1.expectString)(output.key),
|
|
5493
|
+
Value: (0, smithy_client_1.expectString)(output.value),
|
|
5494
5494
|
};
|
|
5495
5495
|
};
|
|
5496
5496
|
const deserializeAws_restJson1TagMap = (output, context) => {
|
|
@@ -5500,7 +5500,7 @@ const deserializeAws_restJson1TagMap = (output, context) => {
|
|
|
5500
5500
|
}
|
|
5501
5501
|
return {
|
|
5502
5502
|
...acc,
|
|
5503
|
-
[key]: smithy_client_1.expectString(value),
|
|
5503
|
+
[key]: (0, smithy_client_1.expectString)(value),
|
|
5504
5504
|
};
|
|
5505
5505
|
}, {});
|
|
5506
5506
|
};
|
|
@@ -5517,7 +5517,7 @@ const deserializeAws_restJson1Tags = (output, context) => {
|
|
|
5517
5517
|
};
|
|
5518
5518
|
const deserializeAws_restJson1ThreatIntelligenceDetail = (output, context) => {
|
|
5519
5519
|
return {
|
|
5520
|
-
ThreatListName: smithy_client_1.expectString(output.threatListName),
|
|
5520
|
+
ThreatListName: (0, smithy_client_1.expectString)(output.threatListName),
|
|
5521
5521
|
ThreatNames: output.threatNames !== undefined && output.threatNames !== null
|
|
5522
5522
|
? deserializeAws_restJson1ThreatNames(output.threatNames, context)
|
|
5523
5523
|
: undefined,
|
|
@@ -5541,7 +5541,7 @@ const deserializeAws_restJson1ThreatIntelSetIds = (output, context) => {
|
|
|
5541
5541
|
if (entry === null) {
|
|
5542
5542
|
return null;
|
|
5543
5543
|
}
|
|
5544
|
-
return smithy_client_1.expectString(entry);
|
|
5544
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
5545
5545
|
});
|
|
5546
5546
|
return retVal;
|
|
5547
5547
|
};
|
|
@@ -5552,20 +5552,20 @@ const deserializeAws_restJson1ThreatNames = (output, context) => {
|
|
|
5552
5552
|
if (entry === null) {
|
|
5553
5553
|
return null;
|
|
5554
5554
|
}
|
|
5555
|
-
return smithy_client_1.expectString(entry);
|
|
5555
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
5556
5556
|
});
|
|
5557
5557
|
return retVal;
|
|
5558
5558
|
};
|
|
5559
5559
|
const deserializeAws_restJson1Total = (output, context) => {
|
|
5560
5560
|
return {
|
|
5561
|
-
Amount: smithy_client_1.expectString(output.amount),
|
|
5562
|
-
Unit: smithy_client_1.expectString(output.unit),
|
|
5561
|
+
Amount: (0, smithy_client_1.expectString)(output.amount),
|
|
5562
|
+
Unit: (0, smithy_client_1.expectString)(output.unit),
|
|
5563
5563
|
};
|
|
5564
5564
|
};
|
|
5565
5565
|
const deserializeAws_restJson1UnprocessedAccount = (output, context) => {
|
|
5566
5566
|
return {
|
|
5567
|
-
AccountId: smithy_client_1.expectString(output.accountId),
|
|
5568
|
-
Result: smithy_client_1.expectString(output.result),
|
|
5567
|
+
AccountId: (0, smithy_client_1.expectString)(output.accountId),
|
|
5568
|
+
Result: (0, smithy_client_1.expectString)(output.result),
|
|
5569
5569
|
};
|
|
5570
5570
|
};
|
|
5571
5571
|
const deserializeAws_restJson1UnprocessedAccounts = (output, context) => {
|
|
@@ -5581,7 +5581,7 @@ const deserializeAws_restJson1UnprocessedAccounts = (output, context) => {
|
|
|
5581
5581
|
};
|
|
5582
5582
|
const deserializeAws_restJson1UsageAccountResult = (output, context) => {
|
|
5583
5583
|
return {
|
|
5584
|
-
AccountId: smithy_client_1.expectString(output.accountId),
|
|
5584
|
+
AccountId: (0, smithy_client_1.expectString)(output.accountId),
|
|
5585
5585
|
Total: output.total !== undefined && output.total !== null
|
|
5586
5586
|
? deserializeAws_restJson1Total(output.total, context)
|
|
5587
5587
|
: undefined,
|
|
@@ -5600,7 +5600,7 @@ const deserializeAws_restJson1UsageAccountResultList = (output, context) => {
|
|
|
5600
5600
|
};
|
|
5601
5601
|
const deserializeAws_restJson1UsageDataSourceResult = (output, context) => {
|
|
5602
5602
|
return {
|
|
5603
|
-
DataSource: smithy_client_1.expectString(output.dataSource),
|
|
5603
|
+
DataSource: (0, smithy_client_1.expectString)(output.dataSource),
|
|
5604
5604
|
Total: output.total !== undefined && output.total !== null
|
|
5605
5605
|
? deserializeAws_restJson1Total(output.total, context)
|
|
5606
5606
|
: undefined,
|
|
@@ -5619,7 +5619,7 @@ const deserializeAws_restJson1UsageDataSourceResultList = (output, context) => {
|
|
|
5619
5619
|
};
|
|
5620
5620
|
const deserializeAws_restJson1UsageResourceResult = (output, context) => {
|
|
5621
5621
|
return {
|
|
5622
|
-
Resource: smithy_client_1.expectString(output.resource),
|
|
5622
|
+
Resource: (0, smithy_client_1.expectString)(output.resource),
|
|
5623
5623
|
Total: output.total !== undefined && output.total !== null
|
|
5624
5624
|
? deserializeAws_restJson1Total(output.total, context)
|
|
5625
5625
|
: undefined,
|
|
@@ -5657,13 +5657,13 @@ const deserializeAws_restJson1Volume = (output, context) => {
|
|
|
5657
5657
|
HostPath: output.hostPath !== undefined && output.hostPath !== null
|
|
5658
5658
|
? deserializeAws_restJson1HostPath(output.hostPath, context)
|
|
5659
5659
|
: undefined,
|
|
5660
|
-
Name: smithy_client_1.expectString(output.name),
|
|
5660
|
+
Name: (0, smithy_client_1.expectString)(output.name),
|
|
5661
5661
|
};
|
|
5662
5662
|
};
|
|
5663
5663
|
const deserializeAws_restJson1VolumeMount = (output, context) => {
|
|
5664
5664
|
return {
|
|
5665
|
-
MountPath: smithy_client_1.expectString(output.mountPath),
|
|
5666
|
-
Name: smithy_client_1.expectString(output.name),
|
|
5665
|
+
MountPath: (0, smithy_client_1.expectString)(output.mountPath),
|
|
5666
|
+
Name: (0, smithy_client_1.expectString)(output.name),
|
|
5667
5667
|
};
|
|
5668
5668
|
};
|
|
5669
5669
|
const deserializeAws_restJson1VolumeMounts = (output, context) => {
|