@aws-sdk/client-groundstation 3.310.0 → 3.315.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +14 -6
- package/dist-cjs/protocols/Aws_restJson1.js +498 -1283
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +13 -5
- package/dist-es/protocols/Aws_restJson1.js +456 -1241
- package/dist-types/GroundStation.d.ts +12 -3
- package/dist-types/commands/CreateDataflowEndpointGroupCommand.d.ts +4 -0
- package/dist-types/commands/GetAgentConfigurationCommand.d.ts +4 -1
- package/dist-types/commands/RegisterAgentCommand.d.ts +8 -2
- package/dist-types/commands/UpdateAgentStatusCommand.d.ts +4 -1
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +53 -22
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +23 -9
- package/package.json +6 -6
|
@@ -30,11 +30,11 @@ const se_CreateConfigCommand = async (input, context) => {
|
|
|
30
30
|
};
|
|
31
31
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/config";
|
|
32
32
|
let body;
|
|
33
|
-
body = JSON.stringify({
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
});
|
|
33
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
34
|
+
configData: (_) => se_ConfigTypeData(_, context),
|
|
35
|
+
name: [],
|
|
36
|
+
tags: (_) => (0, smithy_client_1._json)(_),
|
|
37
|
+
}));
|
|
38
38
|
return new protocol_http_1.HttpRequest({
|
|
39
39
|
protocol,
|
|
40
40
|
hostname,
|
|
@@ -53,16 +53,12 @@ const se_CreateDataflowEndpointGroupCommand = async (input, context) => {
|
|
|
53
53
|
};
|
|
54
54
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/dataflowEndpointGroup";
|
|
55
55
|
let body;
|
|
56
|
-
body = JSON.stringify({
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
}),
|
|
63
|
-
...(input.endpointDetails != null && { endpointDetails: se_EndpointDetailsList(input.endpointDetails, context) }),
|
|
64
|
-
...(input.tags != null && { tags: se_TagsMap(input.tags, context) }),
|
|
65
|
-
});
|
|
56
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
57
|
+
contactPostPassDurationSeconds: [],
|
|
58
|
+
contactPrePassDurationSeconds: [],
|
|
59
|
+
endpointDetails: (_) => (0, smithy_client_1._json)(_),
|
|
60
|
+
tags: (_) => (0, smithy_client_1._json)(_),
|
|
61
|
+
}));
|
|
66
62
|
return new protocol_http_1.HttpRequest({
|
|
67
63
|
protocol,
|
|
68
64
|
hostname,
|
|
@@ -81,16 +77,16 @@ const se_CreateEphemerisCommand = async (input, context) => {
|
|
|
81
77
|
};
|
|
82
78
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/ephemeris";
|
|
83
79
|
let body;
|
|
84
|
-
body = JSON.stringify({
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
});
|
|
80
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
81
|
+
enabled: [],
|
|
82
|
+
ephemeris: (_) => se_EphemerisData(_, context),
|
|
83
|
+
expirationTime: (_) => Math.round(_.getTime() / 1000),
|
|
84
|
+
kmsKeyArn: [],
|
|
85
|
+
name: [],
|
|
86
|
+
priority: [],
|
|
87
|
+
satelliteId: [],
|
|
88
|
+
tags: (_) => (0, smithy_client_1._json)(_),
|
|
89
|
+
}));
|
|
94
90
|
return new protocol_http_1.HttpRequest({
|
|
95
91
|
protocol,
|
|
96
92
|
hostname,
|
|
@@ -109,23 +105,17 @@ const se_CreateMissionProfileCommand = async (input, context) => {
|
|
|
109
105
|
};
|
|
110
106
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/missionprofile";
|
|
111
107
|
let body;
|
|
112
|
-
body = JSON.stringify({
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
...(input.name != null && { name: input.name }),
|
|
124
|
-
...(input.streamsKmsKey != null && { streamsKmsKey: se_KmsKey(input.streamsKmsKey, context) }),
|
|
125
|
-
...(input.streamsKmsRole != null && { streamsKmsRole: input.streamsKmsRole }),
|
|
126
|
-
...(input.tags != null && { tags: se_TagsMap(input.tags, context) }),
|
|
127
|
-
...(input.trackingConfigArn != null && { trackingConfigArn: input.trackingConfigArn }),
|
|
128
|
-
});
|
|
108
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
109
|
+
contactPostPassDurationSeconds: [],
|
|
110
|
+
contactPrePassDurationSeconds: [],
|
|
111
|
+
dataflowEdges: (_) => (0, smithy_client_1._json)(_),
|
|
112
|
+
minimumViableContactDurationSeconds: [],
|
|
113
|
+
name: [],
|
|
114
|
+
streamsKmsKey: (_) => (0, smithy_client_1._json)(_),
|
|
115
|
+
streamsKmsRole: [],
|
|
116
|
+
tags: (_) => (0, smithy_client_1._json)(_),
|
|
117
|
+
trackingConfigArn: [],
|
|
118
|
+
}));
|
|
129
119
|
return new protocol_http_1.HttpRequest({
|
|
130
120
|
protocol,
|
|
131
121
|
hostname,
|
|
@@ -301,10 +291,10 @@ const se_GetMinuteUsageCommand = async (input, context) => {
|
|
|
301
291
|
};
|
|
302
292
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/minute-usage";
|
|
303
293
|
let body;
|
|
304
|
-
body = JSON.stringify({
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
});
|
|
294
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
295
|
+
month: [],
|
|
296
|
+
year: [],
|
|
297
|
+
}));
|
|
308
298
|
return new protocol_http_1.HttpRequest({
|
|
309
299
|
protocol,
|
|
310
300
|
hostname,
|
|
@@ -354,7 +344,7 @@ const se_ListConfigsCommand = async (input, context) => {
|
|
|
354
344
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
355
345
|
const headers = {};
|
|
356
346
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/config";
|
|
357
|
-
const query = map({
|
|
347
|
+
const query = (0, smithy_client_1.map)({
|
|
358
348
|
maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
|
|
359
349
|
nextToken: [, input.nextToken],
|
|
360
350
|
});
|
|
@@ -378,16 +368,16 @@ const se_ListContactsCommand = async (input, context) => {
|
|
|
378
368
|
};
|
|
379
369
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/contacts";
|
|
380
370
|
let body;
|
|
381
|
-
body = JSON.stringify({
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
});
|
|
371
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
372
|
+
endTime: (_) => Math.round(_.getTime() / 1000),
|
|
373
|
+
groundStation: [],
|
|
374
|
+
maxResults: [],
|
|
375
|
+
missionProfileArn: [],
|
|
376
|
+
nextToken: [],
|
|
377
|
+
satelliteArn: [],
|
|
378
|
+
startTime: (_) => Math.round(_.getTime() / 1000),
|
|
379
|
+
statusList: (_) => (0, smithy_client_1._json)(_),
|
|
380
|
+
}));
|
|
391
381
|
return new protocol_http_1.HttpRequest({
|
|
392
382
|
protocol,
|
|
393
383
|
hostname,
|
|
@@ -403,7 +393,7 @@ const se_ListDataflowEndpointGroupsCommand = async (input, context) => {
|
|
|
403
393
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
404
394
|
const headers = {};
|
|
405
395
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/dataflowEndpointGroup";
|
|
406
|
-
const query = map({
|
|
396
|
+
const query = (0, smithy_client_1.map)({
|
|
407
397
|
maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
|
|
408
398
|
nextToken: [, input.nextToken],
|
|
409
399
|
});
|
|
@@ -426,17 +416,17 @@ const se_ListEphemeridesCommand = async (input, context) => {
|
|
|
426
416
|
"content-type": "application/json",
|
|
427
417
|
};
|
|
428
418
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/ephemerides";
|
|
429
|
-
const query = map({
|
|
419
|
+
const query = (0, smithy_client_1.map)({
|
|
430
420
|
maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
|
|
431
421
|
nextToken: [, input.nextToken],
|
|
432
422
|
});
|
|
433
423
|
let body;
|
|
434
|
-
body = JSON.stringify({
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
});
|
|
424
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
425
|
+
endTime: (_) => Math.round(_.getTime() / 1000),
|
|
426
|
+
satelliteId: [],
|
|
427
|
+
startTime: (_) => Math.round(_.getTime() / 1000),
|
|
428
|
+
statusList: (_) => (0, smithy_client_1._json)(_),
|
|
429
|
+
}));
|
|
440
430
|
return new protocol_http_1.HttpRequest({
|
|
441
431
|
protocol,
|
|
442
432
|
hostname,
|
|
@@ -453,7 +443,7 @@ const se_ListGroundStationsCommand = async (input, context) => {
|
|
|
453
443
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
454
444
|
const headers = {};
|
|
455
445
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/groundstation";
|
|
456
|
-
const query = map({
|
|
446
|
+
const query = (0, smithy_client_1.map)({
|
|
457
447
|
satelliteId: [, input.satelliteId],
|
|
458
448
|
maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
|
|
459
449
|
nextToken: [, input.nextToken],
|
|
@@ -475,7 +465,7 @@ const se_ListMissionProfilesCommand = async (input, context) => {
|
|
|
475
465
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
476
466
|
const headers = {};
|
|
477
467
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/missionprofile";
|
|
478
|
-
const query = map({
|
|
468
|
+
const query = (0, smithy_client_1.map)({
|
|
479
469
|
maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
|
|
480
470
|
nextToken: [, input.nextToken],
|
|
481
471
|
});
|
|
@@ -496,7 +486,7 @@ const se_ListSatellitesCommand = async (input, context) => {
|
|
|
496
486
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
497
487
|
const headers = {};
|
|
498
488
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/satellite";
|
|
499
|
-
const query = map({
|
|
489
|
+
const query = (0, smithy_client_1.map)({
|
|
500
490
|
maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
|
|
501
491
|
nextToken: [, input.nextToken],
|
|
502
492
|
});
|
|
@@ -537,10 +527,10 @@ const se_RegisterAgentCommand = async (input, context) => {
|
|
|
537
527
|
};
|
|
538
528
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/agent";
|
|
539
529
|
let body;
|
|
540
|
-
body = JSON.stringify({
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
});
|
|
530
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
531
|
+
agentDetails: (_) => (0, smithy_client_1._json)(_),
|
|
532
|
+
discoveryData: (_) => (0, smithy_client_1._json)(_),
|
|
533
|
+
}));
|
|
544
534
|
return new protocol_http_1.HttpRequest({
|
|
545
535
|
protocol,
|
|
546
536
|
hostname,
|
|
@@ -559,14 +549,14 @@ const se_ReserveContactCommand = async (input, context) => {
|
|
|
559
549
|
};
|
|
560
550
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/contact";
|
|
561
551
|
let body;
|
|
562
|
-
body = JSON.stringify({
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
});
|
|
552
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
553
|
+
endTime: (_) => Math.round(_.getTime() / 1000),
|
|
554
|
+
groundStation: [],
|
|
555
|
+
missionProfileArn: [],
|
|
556
|
+
satelliteArn: [],
|
|
557
|
+
startTime: (_) => Math.round(_.getTime() / 1000),
|
|
558
|
+
tags: (_) => (0, smithy_client_1._json)(_),
|
|
559
|
+
}));
|
|
570
560
|
return new protocol_http_1.HttpRequest({
|
|
571
561
|
protocol,
|
|
572
562
|
hostname,
|
|
@@ -586,9 +576,9 @@ const se_TagResourceCommand = async (input, context) => {
|
|
|
586
576
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
|
|
587
577
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
588
578
|
let body;
|
|
589
|
-
body = JSON.stringify({
|
|
590
|
-
|
|
591
|
-
});
|
|
579
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
580
|
+
tags: (_) => (0, smithy_client_1._json)(_),
|
|
581
|
+
}));
|
|
592
582
|
return new protocol_http_1.HttpRequest({
|
|
593
583
|
protocol,
|
|
594
584
|
hostname,
|
|
@@ -605,7 +595,7 @@ const se_UntagResourceCommand = async (input, context) => {
|
|
|
605
595
|
const headers = {};
|
|
606
596
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
|
|
607
597
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
608
|
-
const query = map({
|
|
598
|
+
const query = (0, smithy_client_1.map)({
|
|
609
599
|
tagKeys: [
|
|
610
600
|
(0, smithy_client_1.expectNonNull)(input.tagKeys, `tagKeys`) != null,
|
|
611
601
|
() => (input.tagKeys || []).map((_entry) => _entry),
|
|
@@ -632,13 +622,11 @@ const se_UpdateAgentStatusCommand = async (input, context) => {
|
|
|
632
622
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/agent/{agentId}";
|
|
633
623
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "agentId", () => input.agentId, "{agentId}", false);
|
|
634
624
|
let body;
|
|
635
|
-
body = JSON.stringify({
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
...(input.taskId != null && { taskId: input.taskId }),
|
|
641
|
-
});
|
|
625
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
626
|
+
aggregateStatus: (_) => (0, smithy_client_1._json)(_),
|
|
627
|
+
componentStatuses: (_) => (0, smithy_client_1._json)(_),
|
|
628
|
+
taskId: [],
|
|
629
|
+
}));
|
|
642
630
|
return new protocol_http_1.HttpRequest({
|
|
643
631
|
protocol,
|
|
644
632
|
hostname,
|
|
@@ -659,10 +647,10 @@ const se_UpdateConfigCommand = async (input, context) => {
|
|
|
659
647
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "configId", () => input.configId, "{configId}", false);
|
|
660
648
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "configType", () => input.configType, "{configType}", false);
|
|
661
649
|
let body;
|
|
662
|
-
body = JSON.stringify({
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
});
|
|
650
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
651
|
+
configData: (_) => se_ConfigTypeData(_, context),
|
|
652
|
+
name: [],
|
|
653
|
+
}));
|
|
666
654
|
return new protocol_http_1.HttpRequest({
|
|
667
655
|
protocol,
|
|
668
656
|
hostname,
|
|
@@ -682,11 +670,11 @@ const se_UpdateEphemerisCommand = async (input, context) => {
|
|
|
682
670
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/ephemeris/{ephemerisId}";
|
|
683
671
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ephemerisId", () => input.ephemerisId, "{ephemerisId}", false);
|
|
684
672
|
let body;
|
|
685
|
-
body = JSON.stringify({
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
});
|
|
673
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
674
|
+
enabled: [],
|
|
675
|
+
name: [],
|
|
676
|
+
priority: [],
|
|
677
|
+
}));
|
|
690
678
|
return new protocol_http_1.HttpRequest({
|
|
691
679
|
protocol,
|
|
692
680
|
hostname,
|
|
@@ -706,22 +694,16 @@ const se_UpdateMissionProfileCommand = async (input, context) => {
|
|
|
706
694
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/missionprofile/{missionProfileId}";
|
|
707
695
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "missionProfileId", () => input.missionProfileId, "{missionProfileId}", false);
|
|
708
696
|
let body;
|
|
709
|
-
body = JSON.stringify({
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
}),
|
|
720
|
-
...(input.name != null && { name: input.name }),
|
|
721
|
-
...(input.streamsKmsKey != null && { streamsKmsKey: se_KmsKey(input.streamsKmsKey, context) }),
|
|
722
|
-
...(input.streamsKmsRole != null && { streamsKmsRole: input.streamsKmsRole }),
|
|
723
|
-
...(input.trackingConfigArn != null && { trackingConfigArn: input.trackingConfigArn }),
|
|
724
|
-
});
|
|
697
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
698
|
+
contactPostPassDurationSeconds: [],
|
|
699
|
+
contactPrePassDurationSeconds: [],
|
|
700
|
+
dataflowEdges: (_) => (0, smithy_client_1._json)(_),
|
|
701
|
+
minimumViableContactDurationSeconds: [],
|
|
702
|
+
name: [],
|
|
703
|
+
streamsKmsKey: (_) => (0, smithy_client_1._json)(_),
|
|
704
|
+
streamsKmsRole: [],
|
|
705
|
+
trackingConfigArn: [],
|
|
706
|
+
}));
|
|
725
707
|
return new protocol_http_1.HttpRequest({
|
|
726
708
|
protocol,
|
|
727
709
|
hostname,
|
|
@@ -737,13 +719,14 @@ const de_CancelContactCommand = async (output, context) => {
|
|
|
737
719
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
738
720
|
return de_CancelContactCommandError(output, context);
|
|
739
721
|
}
|
|
740
|
-
const contents = map({
|
|
722
|
+
const contents = (0, smithy_client_1.map)({
|
|
741
723
|
$metadata: deserializeMetadata(output),
|
|
742
724
|
});
|
|
743
725
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
}
|
|
726
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
727
|
+
contactId: smithy_client_1.expectString,
|
|
728
|
+
});
|
|
729
|
+
Object.assign(contents, doc);
|
|
747
730
|
return contents;
|
|
748
731
|
};
|
|
749
732
|
exports.de_CancelContactCommand = de_CancelContactCommand;
|
|
@@ -765,10 +748,9 @@ const de_CancelContactCommandError = async (output, context) => {
|
|
|
765
748
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
766
749
|
default:
|
|
767
750
|
const parsedBody = parsedOutput.body;
|
|
768
|
-
|
|
751
|
+
return throwDefaultError({
|
|
769
752
|
output,
|
|
770
753
|
parsedBody,
|
|
771
|
-
exceptionCtor: GroundStationServiceException_1.GroundStationServiceException,
|
|
772
754
|
errorCode,
|
|
773
755
|
});
|
|
774
756
|
}
|
|
@@ -777,19 +759,16 @@ const de_CreateConfigCommand = async (output, context) => {
|
|
|
777
759
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
778
760
|
return de_CreateConfigCommandError(output, context);
|
|
779
761
|
}
|
|
780
|
-
const contents = map({
|
|
762
|
+
const contents = (0, smithy_client_1.map)({
|
|
781
763
|
$metadata: deserializeMetadata(output),
|
|
782
764
|
});
|
|
783
765
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
if (data.configType != null) {
|
|
791
|
-
contents.configType = (0, smithy_client_1.expectString)(data.configType);
|
|
792
|
-
}
|
|
766
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
767
|
+
configArn: smithy_client_1.expectString,
|
|
768
|
+
configId: smithy_client_1.expectString,
|
|
769
|
+
configType: smithy_client_1.expectString,
|
|
770
|
+
});
|
|
771
|
+
Object.assign(contents, doc);
|
|
793
772
|
return contents;
|
|
794
773
|
};
|
|
795
774
|
exports.de_CreateConfigCommand = de_CreateConfigCommand;
|
|
@@ -814,10 +793,9 @@ const de_CreateConfigCommandError = async (output, context) => {
|
|
|
814
793
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
815
794
|
default:
|
|
816
795
|
const parsedBody = parsedOutput.body;
|
|
817
|
-
|
|
796
|
+
return throwDefaultError({
|
|
818
797
|
output,
|
|
819
798
|
parsedBody,
|
|
820
|
-
exceptionCtor: GroundStationServiceException_1.GroundStationServiceException,
|
|
821
799
|
errorCode,
|
|
822
800
|
});
|
|
823
801
|
}
|
|
@@ -826,13 +804,14 @@ const de_CreateDataflowEndpointGroupCommand = async (output, context) => {
|
|
|
826
804
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
827
805
|
return de_CreateDataflowEndpointGroupCommandError(output, context);
|
|
828
806
|
}
|
|
829
|
-
const contents = map({
|
|
807
|
+
const contents = (0, smithy_client_1.map)({
|
|
830
808
|
$metadata: deserializeMetadata(output),
|
|
831
809
|
});
|
|
832
810
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
}
|
|
811
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
812
|
+
dataflowEndpointGroupId: smithy_client_1.expectString,
|
|
813
|
+
});
|
|
814
|
+
Object.assign(contents, doc);
|
|
836
815
|
return contents;
|
|
837
816
|
};
|
|
838
817
|
exports.de_CreateDataflowEndpointGroupCommand = de_CreateDataflowEndpointGroupCommand;
|
|
@@ -854,10 +833,9 @@ const de_CreateDataflowEndpointGroupCommandError = async (output, context) => {
|
|
|
854
833
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
855
834
|
default:
|
|
856
835
|
const parsedBody = parsedOutput.body;
|
|
857
|
-
|
|
836
|
+
return throwDefaultError({
|
|
858
837
|
output,
|
|
859
838
|
parsedBody,
|
|
860
|
-
exceptionCtor: GroundStationServiceException_1.GroundStationServiceException,
|
|
861
839
|
errorCode,
|
|
862
840
|
});
|
|
863
841
|
}
|
|
@@ -866,13 +844,14 @@ const de_CreateEphemerisCommand = async (output, context) => {
|
|
|
866
844
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
867
845
|
return de_CreateEphemerisCommandError(output, context);
|
|
868
846
|
}
|
|
869
|
-
const contents = map({
|
|
847
|
+
const contents = (0, smithy_client_1.map)({
|
|
870
848
|
$metadata: deserializeMetadata(output),
|
|
871
849
|
});
|
|
872
850
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
}
|
|
851
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
852
|
+
ephemerisId: smithy_client_1.expectString,
|
|
853
|
+
});
|
|
854
|
+
Object.assign(contents, doc);
|
|
876
855
|
return contents;
|
|
877
856
|
};
|
|
878
857
|
exports.de_CreateEphemerisCommand = de_CreateEphemerisCommand;
|
|
@@ -894,10 +873,9 @@ const de_CreateEphemerisCommandError = async (output, context) => {
|
|
|
894
873
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
895
874
|
default:
|
|
896
875
|
const parsedBody = parsedOutput.body;
|
|
897
|
-
|
|
876
|
+
return throwDefaultError({
|
|
898
877
|
output,
|
|
899
878
|
parsedBody,
|
|
900
|
-
exceptionCtor: GroundStationServiceException_1.GroundStationServiceException,
|
|
901
879
|
errorCode,
|
|
902
880
|
});
|
|
903
881
|
}
|
|
@@ -906,13 +884,14 @@ const de_CreateMissionProfileCommand = async (output, context) => {
|
|
|
906
884
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
907
885
|
return de_CreateMissionProfileCommandError(output, context);
|
|
908
886
|
}
|
|
909
|
-
const contents = map({
|
|
887
|
+
const contents = (0, smithy_client_1.map)({
|
|
910
888
|
$metadata: deserializeMetadata(output),
|
|
911
889
|
});
|
|
912
890
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
}
|
|
891
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
892
|
+
missionProfileId: smithy_client_1.expectString,
|
|
893
|
+
});
|
|
894
|
+
Object.assign(contents, doc);
|
|
916
895
|
return contents;
|
|
917
896
|
};
|
|
918
897
|
exports.de_CreateMissionProfileCommand = de_CreateMissionProfileCommand;
|
|
@@ -934,10 +913,9 @@ const de_CreateMissionProfileCommandError = async (output, context) => {
|
|
|
934
913
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
935
914
|
default:
|
|
936
915
|
const parsedBody = parsedOutput.body;
|
|
937
|
-
|
|
916
|
+
return throwDefaultError({
|
|
938
917
|
output,
|
|
939
918
|
parsedBody,
|
|
940
|
-
exceptionCtor: GroundStationServiceException_1.GroundStationServiceException,
|
|
941
919
|
errorCode,
|
|
942
920
|
});
|
|
943
921
|
}
|
|
@@ -946,19 +924,16 @@ const de_DeleteConfigCommand = async (output, context) => {
|
|
|
946
924
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
947
925
|
return de_DeleteConfigCommandError(output, context);
|
|
948
926
|
}
|
|
949
|
-
const contents = map({
|
|
927
|
+
const contents = (0, smithy_client_1.map)({
|
|
950
928
|
$metadata: deserializeMetadata(output),
|
|
951
929
|
});
|
|
952
930
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
if (data.configType != null) {
|
|
960
|
-
contents.configType = (0, smithy_client_1.expectString)(data.configType);
|
|
961
|
-
}
|
|
931
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
932
|
+
configArn: smithy_client_1.expectString,
|
|
933
|
+
configId: smithy_client_1.expectString,
|
|
934
|
+
configType: smithy_client_1.expectString,
|
|
935
|
+
});
|
|
936
|
+
Object.assign(contents, doc);
|
|
962
937
|
return contents;
|
|
963
938
|
};
|
|
964
939
|
exports.de_DeleteConfigCommand = de_DeleteConfigCommand;
|
|
@@ -980,10 +955,9 @@ const de_DeleteConfigCommandError = async (output, context) => {
|
|
|
980
955
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
981
956
|
default:
|
|
982
957
|
const parsedBody = parsedOutput.body;
|
|
983
|
-
|
|
958
|
+
return throwDefaultError({
|
|
984
959
|
output,
|
|
985
960
|
parsedBody,
|
|
986
|
-
exceptionCtor: GroundStationServiceException_1.GroundStationServiceException,
|
|
987
961
|
errorCode,
|
|
988
962
|
});
|
|
989
963
|
}
|
|
@@ -992,13 +966,14 @@ const de_DeleteDataflowEndpointGroupCommand = async (output, context) => {
|
|
|
992
966
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
993
967
|
return de_DeleteDataflowEndpointGroupCommandError(output, context);
|
|
994
968
|
}
|
|
995
|
-
const contents = map({
|
|
969
|
+
const contents = (0, smithy_client_1.map)({
|
|
996
970
|
$metadata: deserializeMetadata(output),
|
|
997
971
|
});
|
|
998
972
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
}
|
|
973
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
974
|
+
dataflowEndpointGroupId: smithy_client_1.expectString,
|
|
975
|
+
});
|
|
976
|
+
Object.assign(contents, doc);
|
|
1002
977
|
return contents;
|
|
1003
978
|
};
|
|
1004
979
|
exports.de_DeleteDataflowEndpointGroupCommand = de_DeleteDataflowEndpointGroupCommand;
|
|
@@ -1020,10 +995,9 @@ const de_DeleteDataflowEndpointGroupCommandError = async (output, context) => {
|
|
|
1020
995
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1021
996
|
default:
|
|
1022
997
|
const parsedBody = parsedOutput.body;
|
|
1023
|
-
|
|
998
|
+
return throwDefaultError({
|
|
1024
999
|
output,
|
|
1025
1000
|
parsedBody,
|
|
1026
|
-
exceptionCtor: GroundStationServiceException_1.GroundStationServiceException,
|
|
1027
1001
|
errorCode,
|
|
1028
1002
|
});
|
|
1029
1003
|
}
|
|
@@ -1032,13 +1006,14 @@ const de_DeleteEphemerisCommand = async (output, context) => {
|
|
|
1032
1006
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1033
1007
|
return de_DeleteEphemerisCommandError(output, context);
|
|
1034
1008
|
}
|
|
1035
|
-
const contents = map({
|
|
1009
|
+
const contents = (0, smithy_client_1.map)({
|
|
1036
1010
|
$metadata: deserializeMetadata(output),
|
|
1037
1011
|
});
|
|
1038
1012
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
}
|
|
1013
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1014
|
+
ephemerisId: smithy_client_1.expectString,
|
|
1015
|
+
});
|
|
1016
|
+
Object.assign(contents, doc);
|
|
1042
1017
|
return contents;
|
|
1043
1018
|
};
|
|
1044
1019
|
exports.de_DeleteEphemerisCommand = de_DeleteEphemerisCommand;
|
|
@@ -1060,10 +1035,9 @@ const de_DeleteEphemerisCommandError = async (output, context) => {
|
|
|
1060
1035
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1061
1036
|
default:
|
|
1062
1037
|
const parsedBody = parsedOutput.body;
|
|
1063
|
-
|
|
1038
|
+
return throwDefaultError({
|
|
1064
1039
|
output,
|
|
1065
1040
|
parsedBody,
|
|
1066
|
-
exceptionCtor: GroundStationServiceException_1.GroundStationServiceException,
|
|
1067
1041
|
errorCode,
|
|
1068
1042
|
});
|
|
1069
1043
|
}
|
|
@@ -1072,13 +1046,14 @@ const de_DeleteMissionProfileCommand = async (output, context) => {
|
|
|
1072
1046
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1073
1047
|
return de_DeleteMissionProfileCommandError(output, context);
|
|
1074
1048
|
}
|
|
1075
|
-
const contents = map({
|
|
1049
|
+
const contents = (0, smithy_client_1.map)({
|
|
1076
1050
|
$metadata: deserializeMetadata(output),
|
|
1077
1051
|
});
|
|
1078
1052
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
}
|
|
1053
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1054
|
+
missionProfileId: smithy_client_1.expectString,
|
|
1055
|
+
});
|
|
1056
|
+
Object.assign(contents, doc);
|
|
1082
1057
|
return contents;
|
|
1083
1058
|
};
|
|
1084
1059
|
exports.de_DeleteMissionProfileCommand = de_DeleteMissionProfileCommand;
|
|
@@ -1100,10 +1075,9 @@ const de_DeleteMissionProfileCommandError = async (output, context) => {
|
|
|
1100
1075
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1101
1076
|
default:
|
|
1102
1077
|
const parsedBody = parsedOutput.body;
|
|
1103
|
-
|
|
1078
|
+
return throwDefaultError({
|
|
1104
1079
|
output,
|
|
1105
1080
|
parsedBody,
|
|
1106
|
-
exceptionCtor: GroundStationServiceException_1.GroundStationServiceException,
|
|
1107
1081
|
errorCode,
|
|
1108
1082
|
});
|
|
1109
1083
|
}
|
|
@@ -1112,52 +1086,27 @@ const de_DescribeContactCommand = async (output, context) => {
|
|
|
1112
1086
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1113
1087
|
return de_DescribeContactCommandError(output, context);
|
|
1114
1088
|
}
|
|
1115
|
-
const contents = map({
|
|
1089
|
+
const contents = (0, smithy_client_1.map)({
|
|
1116
1090
|
$metadata: deserializeMetadata(output),
|
|
1117
1091
|
});
|
|
1118
1092
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
}
|
|
1137
|
-
if (data.maximumElevation != null) {
|
|
1138
|
-
contents.maximumElevation = de_Elevation(data.maximumElevation, context);
|
|
1139
|
-
}
|
|
1140
|
-
if (data.missionProfileArn != null) {
|
|
1141
|
-
contents.missionProfileArn = (0, smithy_client_1.expectString)(data.missionProfileArn);
|
|
1142
|
-
}
|
|
1143
|
-
if (data.postPassEndTime != null) {
|
|
1144
|
-
contents.postPassEndTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.postPassEndTime)));
|
|
1145
|
-
}
|
|
1146
|
-
if (data.prePassStartTime != null) {
|
|
1147
|
-
contents.prePassStartTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.prePassStartTime)));
|
|
1148
|
-
}
|
|
1149
|
-
if (data.region != null) {
|
|
1150
|
-
contents.region = (0, smithy_client_1.expectString)(data.region);
|
|
1151
|
-
}
|
|
1152
|
-
if (data.satelliteArn != null) {
|
|
1153
|
-
contents.satelliteArn = (0, smithy_client_1.expectString)(data.satelliteArn);
|
|
1154
|
-
}
|
|
1155
|
-
if (data.startTime != null) {
|
|
1156
|
-
contents.startTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.startTime)));
|
|
1157
|
-
}
|
|
1158
|
-
if (data.tags != null) {
|
|
1159
|
-
contents.tags = de_TagsMap(data.tags, context);
|
|
1160
|
-
}
|
|
1093
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1094
|
+
contactId: smithy_client_1.expectString,
|
|
1095
|
+
contactStatus: smithy_client_1.expectString,
|
|
1096
|
+
dataflowList: smithy_client_1._json,
|
|
1097
|
+
endTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1098
|
+
errorMessage: smithy_client_1.expectString,
|
|
1099
|
+
groundStation: smithy_client_1.expectString,
|
|
1100
|
+
maximumElevation: (_) => de_Elevation(_, context),
|
|
1101
|
+
missionProfileArn: smithy_client_1.expectString,
|
|
1102
|
+
postPassEndTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1103
|
+
prePassStartTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1104
|
+
region: smithy_client_1.expectString,
|
|
1105
|
+
satelliteArn: smithy_client_1.expectString,
|
|
1106
|
+
startTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1107
|
+
tags: smithy_client_1._json,
|
|
1108
|
+
});
|
|
1109
|
+
Object.assign(contents, doc);
|
|
1161
1110
|
return contents;
|
|
1162
1111
|
};
|
|
1163
1112
|
exports.de_DescribeContactCommand = de_DescribeContactCommand;
|
|
@@ -1179,10 +1128,9 @@ const de_DescribeContactCommandError = async (output, context) => {
|
|
|
1179
1128
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1180
1129
|
default:
|
|
1181
1130
|
const parsedBody = parsedOutput.body;
|
|
1182
|
-
|
|
1131
|
+
return throwDefaultError({
|
|
1183
1132
|
output,
|
|
1184
1133
|
parsedBody,
|
|
1185
|
-
exceptionCtor: GroundStationServiceException_1.GroundStationServiceException,
|
|
1186
1134
|
errorCode,
|
|
1187
1135
|
});
|
|
1188
1136
|
}
|
|
@@ -1191,40 +1139,23 @@ const de_DescribeEphemerisCommand = async (output, context) => {
|
|
|
1191
1139
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1192
1140
|
return de_DescribeEphemerisCommandError(output, context);
|
|
1193
1141
|
}
|
|
1194
|
-
const contents = map({
|
|
1142
|
+
const contents = (0, smithy_client_1.map)({
|
|
1195
1143
|
$metadata: deserializeMetadata(output),
|
|
1196
1144
|
});
|
|
1197
1145
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
}
|
|
1210
|
-
|
|
1211
|
-
contents.name = (0, smithy_client_1.expectString)(data.name);
|
|
1212
|
-
}
|
|
1213
|
-
if (data.priority != null) {
|
|
1214
|
-
contents.priority = (0, smithy_client_1.expectInt32)(data.priority);
|
|
1215
|
-
}
|
|
1216
|
-
if (data.satelliteId != null) {
|
|
1217
|
-
contents.satelliteId = (0, smithy_client_1.expectString)(data.satelliteId);
|
|
1218
|
-
}
|
|
1219
|
-
if (data.status != null) {
|
|
1220
|
-
contents.status = (0, smithy_client_1.expectString)(data.status);
|
|
1221
|
-
}
|
|
1222
|
-
if (data.suppliedData != null) {
|
|
1223
|
-
contents.suppliedData = de_EphemerisTypeDescription((0, smithy_client_1.expectUnion)(data.suppliedData), context);
|
|
1224
|
-
}
|
|
1225
|
-
if (data.tags != null) {
|
|
1226
|
-
contents.tags = de_TagsMap(data.tags, context);
|
|
1227
|
-
}
|
|
1146
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1147
|
+
creationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1148
|
+
enabled: smithy_client_1.expectBoolean,
|
|
1149
|
+
ephemerisId: smithy_client_1.expectString,
|
|
1150
|
+
invalidReason: smithy_client_1.expectString,
|
|
1151
|
+
name: smithy_client_1.expectString,
|
|
1152
|
+
priority: smithy_client_1.expectInt32,
|
|
1153
|
+
satelliteId: smithy_client_1.expectString,
|
|
1154
|
+
status: smithy_client_1.expectString,
|
|
1155
|
+
suppliedData: (_) => (0, smithy_client_1._json)((0, smithy_client_1.expectUnion)(_)),
|
|
1156
|
+
tags: smithy_client_1._json,
|
|
1157
|
+
});
|
|
1158
|
+
Object.assign(contents, doc);
|
|
1228
1159
|
return contents;
|
|
1229
1160
|
};
|
|
1230
1161
|
exports.de_DescribeEphemerisCommand = de_DescribeEphemerisCommand;
|
|
@@ -1246,10 +1177,9 @@ const de_DescribeEphemerisCommandError = async (output, context) => {
|
|
|
1246
1177
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1247
1178
|
default:
|
|
1248
1179
|
const parsedBody = parsedOutput.body;
|
|
1249
|
-
|
|
1180
|
+
return throwDefaultError({
|
|
1250
1181
|
output,
|
|
1251
1182
|
parsedBody,
|
|
1252
|
-
exceptionCtor: GroundStationServiceException_1.GroundStationServiceException,
|
|
1253
1183
|
errorCode,
|
|
1254
1184
|
});
|
|
1255
1185
|
}
|
|
@@ -1258,16 +1188,15 @@ const de_GetAgentConfigurationCommand = async (output, context) => {
|
|
|
1258
1188
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1259
1189
|
return de_GetAgentConfigurationCommandError(output, context);
|
|
1260
1190
|
}
|
|
1261
|
-
const contents = map({
|
|
1191
|
+
const contents = (0, smithy_client_1.map)({
|
|
1262
1192
|
$metadata: deserializeMetadata(output),
|
|
1263
1193
|
});
|
|
1264
1194
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
}
|
|
1195
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1196
|
+
agentId: smithy_client_1.expectString,
|
|
1197
|
+
taskingDocument: smithy_client_1.expectString,
|
|
1198
|
+
});
|
|
1199
|
+
Object.assign(contents, doc);
|
|
1271
1200
|
return contents;
|
|
1272
1201
|
};
|
|
1273
1202
|
exports.de_GetAgentConfigurationCommand = de_GetAgentConfigurationCommand;
|
|
@@ -1289,10 +1218,9 @@ const de_GetAgentConfigurationCommandError = async (output, context) => {
|
|
|
1289
1218
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1290
1219
|
default:
|
|
1291
1220
|
const parsedBody = parsedOutput.body;
|
|
1292
|
-
|
|
1221
|
+
return throwDefaultError({
|
|
1293
1222
|
output,
|
|
1294
1223
|
parsedBody,
|
|
1295
|
-
exceptionCtor: GroundStationServiceException_1.GroundStationServiceException,
|
|
1296
1224
|
errorCode,
|
|
1297
1225
|
});
|
|
1298
1226
|
}
|
|
@@ -1301,28 +1229,19 @@ const de_GetConfigCommand = async (output, context) => {
|
|
|
1301
1229
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1302
1230
|
return de_GetConfigCommandError(output, context);
|
|
1303
1231
|
}
|
|
1304
|
-
const contents = map({
|
|
1232
|
+
const contents = (0, smithy_client_1.map)({
|
|
1305
1233
|
$metadata: deserializeMetadata(output),
|
|
1306
1234
|
});
|
|
1307
1235
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
if (data.configType != null) {
|
|
1318
|
-
contents.configType = (0, smithy_client_1.expectString)(data.configType);
|
|
1319
|
-
}
|
|
1320
|
-
if (data.name != null) {
|
|
1321
|
-
contents.name = (0, smithy_client_1.expectString)(data.name);
|
|
1322
|
-
}
|
|
1323
|
-
if (data.tags != null) {
|
|
1324
|
-
contents.tags = de_TagsMap(data.tags, context);
|
|
1325
|
-
}
|
|
1236
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1237
|
+
configArn: smithy_client_1.expectString,
|
|
1238
|
+
configData: (_) => de_ConfigTypeData((0, smithy_client_1.expectUnion)(_), context),
|
|
1239
|
+
configId: smithy_client_1.expectString,
|
|
1240
|
+
configType: smithy_client_1.expectString,
|
|
1241
|
+
name: smithy_client_1.expectString,
|
|
1242
|
+
tags: smithy_client_1._json,
|
|
1243
|
+
});
|
|
1244
|
+
Object.assign(contents, doc);
|
|
1326
1245
|
return contents;
|
|
1327
1246
|
};
|
|
1328
1247
|
exports.de_GetConfigCommand = de_GetConfigCommand;
|
|
@@ -1344,10 +1263,9 @@ const de_GetConfigCommandError = async (output, context) => {
|
|
|
1344
1263
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1345
1264
|
default:
|
|
1346
1265
|
const parsedBody = parsedOutput.body;
|
|
1347
|
-
|
|
1266
|
+
return throwDefaultError({
|
|
1348
1267
|
output,
|
|
1349
1268
|
parsedBody,
|
|
1350
|
-
exceptionCtor: GroundStationServiceException_1.GroundStationServiceException,
|
|
1351
1269
|
errorCode,
|
|
1352
1270
|
});
|
|
1353
1271
|
}
|
|
@@ -1356,28 +1274,19 @@ const de_GetDataflowEndpointGroupCommand = async (output, context) => {
|
|
|
1356
1274
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1357
1275
|
return de_GetDataflowEndpointGroupCommandError(output, context);
|
|
1358
1276
|
}
|
|
1359
|
-
const contents = map({
|
|
1277
|
+
const contents = (0, smithy_client_1.map)({
|
|
1360
1278
|
$metadata: deserializeMetadata(output),
|
|
1361
1279
|
});
|
|
1362
1280
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
if (data.dataflowEndpointGroupId != null) {
|
|
1373
|
-
contents.dataflowEndpointGroupId = (0, smithy_client_1.expectString)(data.dataflowEndpointGroupId);
|
|
1374
|
-
}
|
|
1375
|
-
if (data.endpointsDetails != null) {
|
|
1376
|
-
contents.endpointsDetails = de_EndpointDetailsList(data.endpointsDetails, context);
|
|
1377
|
-
}
|
|
1378
|
-
if (data.tags != null) {
|
|
1379
|
-
contents.tags = de_TagsMap(data.tags, context);
|
|
1380
|
-
}
|
|
1281
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1282
|
+
contactPostPassDurationSeconds: smithy_client_1.expectInt32,
|
|
1283
|
+
contactPrePassDurationSeconds: smithy_client_1.expectInt32,
|
|
1284
|
+
dataflowEndpointGroupArn: smithy_client_1.expectString,
|
|
1285
|
+
dataflowEndpointGroupId: smithy_client_1.expectString,
|
|
1286
|
+
endpointsDetails: smithy_client_1._json,
|
|
1287
|
+
tags: smithy_client_1._json,
|
|
1288
|
+
});
|
|
1289
|
+
Object.assign(contents, doc);
|
|
1381
1290
|
return contents;
|
|
1382
1291
|
};
|
|
1383
1292
|
exports.de_GetDataflowEndpointGroupCommand = de_GetDataflowEndpointGroupCommand;
|
|
@@ -1399,10 +1308,9 @@ const de_GetDataflowEndpointGroupCommandError = async (output, context) => {
|
|
|
1399
1308
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1400
1309
|
default:
|
|
1401
1310
|
const parsedBody = parsedOutput.body;
|
|
1402
|
-
|
|
1311
|
+
return throwDefaultError({
|
|
1403
1312
|
output,
|
|
1404
1313
|
parsedBody,
|
|
1405
|
-
exceptionCtor: GroundStationServiceException_1.GroundStationServiceException,
|
|
1406
1314
|
errorCode,
|
|
1407
1315
|
});
|
|
1408
1316
|
}
|
|
@@ -1411,25 +1319,18 @@ const de_GetMinuteUsageCommand = async (output, context) => {
|
|
|
1411
1319
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1412
1320
|
return de_GetMinuteUsageCommandError(output, context);
|
|
1413
1321
|
}
|
|
1414
|
-
const contents = map({
|
|
1322
|
+
const contents = (0, smithy_client_1.map)({
|
|
1415
1323
|
$metadata: deserializeMetadata(output),
|
|
1416
1324
|
});
|
|
1417
1325
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
}
|
|
1427
|
-
if (data.totalScheduledMinutes != null) {
|
|
1428
|
-
contents.totalScheduledMinutes = (0, smithy_client_1.expectInt32)(data.totalScheduledMinutes);
|
|
1429
|
-
}
|
|
1430
|
-
if (data.upcomingMinutesScheduled != null) {
|
|
1431
|
-
contents.upcomingMinutesScheduled = (0, smithy_client_1.expectInt32)(data.upcomingMinutesScheduled);
|
|
1432
|
-
}
|
|
1326
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1327
|
+
estimatedMinutesRemaining: smithy_client_1.expectInt32,
|
|
1328
|
+
isReservedMinutesCustomer: smithy_client_1.expectBoolean,
|
|
1329
|
+
totalReservedMinuteAllocation: smithy_client_1.expectInt32,
|
|
1330
|
+
totalScheduledMinutes: smithy_client_1.expectInt32,
|
|
1331
|
+
upcomingMinutesScheduled: smithy_client_1.expectInt32,
|
|
1332
|
+
});
|
|
1333
|
+
Object.assign(contents, doc);
|
|
1433
1334
|
return contents;
|
|
1434
1335
|
};
|
|
1435
1336
|
exports.de_GetMinuteUsageCommand = de_GetMinuteUsageCommand;
|
|
@@ -1451,10 +1352,9 @@ const de_GetMinuteUsageCommandError = async (output, context) => {
|
|
|
1451
1352
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1452
1353
|
default:
|
|
1453
1354
|
const parsedBody = parsedOutput.body;
|
|
1454
|
-
|
|
1355
|
+
return throwDefaultError({
|
|
1455
1356
|
output,
|
|
1456
1357
|
parsedBody,
|
|
1457
|
-
exceptionCtor: GroundStationServiceException_1.GroundStationServiceException,
|
|
1458
1358
|
errorCode,
|
|
1459
1359
|
});
|
|
1460
1360
|
}
|
|
@@ -1463,46 +1363,25 @@ const de_GetMissionProfileCommand = async (output, context) => {
|
|
|
1463
1363
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1464
1364
|
return de_GetMissionProfileCommandError(output, context);
|
|
1465
1365
|
}
|
|
1466
|
-
const contents = map({
|
|
1366
|
+
const contents = (0, smithy_client_1.map)({
|
|
1467
1367
|
$metadata: deserializeMetadata(output),
|
|
1468
1368
|
});
|
|
1469
1369
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
if (data.missionProfileId != null) {
|
|
1486
|
-
contents.missionProfileId = (0, smithy_client_1.expectString)(data.missionProfileId);
|
|
1487
|
-
}
|
|
1488
|
-
if (data.name != null) {
|
|
1489
|
-
contents.name = (0, smithy_client_1.expectString)(data.name);
|
|
1490
|
-
}
|
|
1491
|
-
if (data.region != null) {
|
|
1492
|
-
contents.region = (0, smithy_client_1.expectString)(data.region);
|
|
1493
|
-
}
|
|
1494
|
-
if (data.streamsKmsKey != null) {
|
|
1495
|
-
contents.streamsKmsKey = de_KmsKey((0, smithy_client_1.expectUnion)(data.streamsKmsKey), context);
|
|
1496
|
-
}
|
|
1497
|
-
if (data.streamsKmsRole != null) {
|
|
1498
|
-
contents.streamsKmsRole = (0, smithy_client_1.expectString)(data.streamsKmsRole);
|
|
1499
|
-
}
|
|
1500
|
-
if (data.tags != null) {
|
|
1501
|
-
contents.tags = de_TagsMap(data.tags, context);
|
|
1502
|
-
}
|
|
1503
|
-
if (data.trackingConfigArn != null) {
|
|
1504
|
-
contents.trackingConfigArn = (0, smithy_client_1.expectString)(data.trackingConfigArn);
|
|
1505
|
-
}
|
|
1370
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1371
|
+
contactPostPassDurationSeconds: smithy_client_1.expectInt32,
|
|
1372
|
+
contactPrePassDurationSeconds: smithy_client_1.expectInt32,
|
|
1373
|
+
dataflowEdges: smithy_client_1._json,
|
|
1374
|
+
minimumViableContactDurationSeconds: smithy_client_1.expectInt32,
|
|
1375
|
+
missionProfileArn: smithy_client_1.expectString,
|
|
1376
|
+
missionProfileId: smithy_client_1.expectString,
|
|
1377
|
+
name: smithy_client_1.expectString,
|
|
1378
|
+
region: smithy_client_1.expectString,
|
|
1379
|
+
streamsKmsKey: (_) => (0, smithy_client_1._json)((0, smithy_client_1.expectUnion)(_)),
|
|
1380
|
+
streamsKmsRole: smithy_client_1.expectString,
|
|
1381
|
+
tags: smithy_client_1._json,
|
|
1382
|
+
trackingConfigArn: smithy_client_1.expectString,
|
|
1383
|
+
});
|
|
1384
|
+
Object.assign(contents, doc);
|
|
1506
1385
|
return contents;
|
|
1507
1386
|
};
|
|
1508
1387
|
exports.de_GetMissionProfileCommand = de_GetMissionProfileCommand;
|
|
@@ -1524,10 +1403,9 @@ const de_GetMissionProfileCommandError = async (output, context) => {
|
|
|
1524
1403
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1525
1404
|
default:
|
|
1526
1405
|
const parsedBody = parsedOutput.body;
|
|
1527
|
-
|
|
1406
|
+
return throwDefaultError({
|
|
1528
1407
|
output,
|
|
1529
1408
|
parsedBody,
|
|
1530
|
-
exceptionCtor: GroundStationServiceException_1.GroundStationServiceException,
|
|
1531
1409
|
errorCode,
|
|
1532
1410
|
});
|
|
1533
1411
|
}
|
|
@@ -1536,25 +1414,18 @@ const de_GetSatelliteCommand = async (output, context) => {
|
|
|
1536
1414
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1537
1415
|
return de_GetSatelliteCommandError(output, context);
|
|
1538
1416
|
}
|
|
1539
|
-
const contents = map({
|
|
1417
|
+
const contents = (0, smithy_client_1.map)({
|
|
1540
1418
|
$metadata: deserializeMetadata(output),
|
|
1541
1419
|
});
|
|
1542
1420
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
}
|
|
1552
|
-
if (data.satelliteArn != null) {
|
|
1553
|
-
contents.satelliteArn = (0, smithy_client_1.expectString)(data.satelliteArn);
|
|
1554
|
-
}
|
|
1555
|
-
if (data.satelliteId != null) {
|
|
1556
|
-
contents.satelliteId = (0, smithy_client_1.expectString)(data.satelliteId);
|
|
1557
|
-
}
|
|
1421
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1422
|
+
currentEphemeris: (_) => de_EphemerisMetaData(_, context),
|
|
1423
|
+
groundStations: smithy_client_1._json,
|
|
1424
|
+
noradSatelliteID: smithy_client_1.expectInt32,
|
|
1425
|
+
satelliteArn: smithy_client_1.expectString,
|
|
1426
|
+
satelliteId: smithy_client_1.expectString,
|
|
1427
|
+
});
|
|
1428
|
+
Object.assign(contents, doc);
|
|
1558
1429
|
return contents;
|
|
1559
1430
|
};
|
|
1560
1431
|
exports.de_GetSatelliteCommand = de_GetSatelliteCommand;
|
|
@@ -1576,10 +1447,9 @@ const de_GetSatelliteCommandError = async (output, context) => {
|
|
|
1576
1447
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1577
1448
|
default:
|
|
1578
1449
|
const parsedBody = parsedOutput.body;
|
|
1579
|
-
|
|
1450
|
+
return throwDefaultError({
|
|
1580
1451
|
output,
|
|
1581
1452
|
parsedBody,
|
|
1582
|
-
exceptionCtor: GroundStationServiceException_1.GroundStationServiceException,
|
|
1583
1453
|
errorCode,
|
|
1584
1454
|
});
|
|
1585
1455
|
}
|
|
@@ -1588,16 +1458,15 @@ const de_ListConfigsCommand = async (output, context) => {
|
|
|
1588
1458
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1589
1459
|
return de_ListConfigsCommandError(output, context);
|
|
1590
1460
|
}
|
|
1591
|
-
const contents = map({
|
|
1461
|
+
const contents = (0, smithy_client_1.map)({
|
|
1592
1462
|
$metadata: deserializeMetadata(output),
|
|
1593
1463
|
});
|
|
1594
1464
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
}
|
|
1465
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1466
|
+
configList: smithy_client_1._json,
|
|
1467
|
+
nextToken: smithy_client_1.expectString,
|
|
1468
|
+
});
|
|
1469
|
+
Object.assign(contents, doc);
|
|
1601
1470
|
return contents;
|
|
1602
1471
|
};
|
|
1603
1472
|
exports.de_ListConfigsCommand = de_ListConfigsCommand;
|
|
@@ -1619,10 +1488,9 @@ const de_ListConfigsCommandError = async (output, context) => {
|
|
|
1619
1488
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1620
1489
|
default:
|
|
1621
1490
|
const parsedBody = parsedOutput.body;
|
|
1622
|
-
|
|
1491
|
+
return throwDefaultError({
|
|
1623
1492
|
output,
|
|
1624
1493
|
parsedBody,
|
|
1625
|
-
exceptionCtor: GroundStationServiceException_1.GroundStationServiceException,
|
|
1626
1494
|
errorCode,
|
|
1627
1495
|
});
|
|
1628
1496
|
}
|
|
@@ -1631,16 +1499,15 @@ const de_ListContactsCommand = async (output, context) => {
|
|
|
1631
1499
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1632
1500
|
return de_ListContactsCommandError(output, context);
|
|
1633
1501
|
}
|
|
1634
|
-
const contents = map({
|
|
1502
|
+
const contents = (0, smithy_client_1.map)({
|
|
1635
1503
|
$metadata: deserializeMetadata(output),
|
|
1636
1504
|
});
|
|
1637
1505
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
}
|
|
1506
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1507
|
+
contactList: (_) => de_ContactList(_, context),
|
|
1508
|
+
nextToken: smithy_client_1.expectString,
|
|
1509
|
+
});
|
|
1510
|
+
Object.assign(contents, doc);
|
|
1644
1511
|
return contents;
|
|
1645
1512
|
};
|
|
1646
1513
|
exports.de_ListContactsCommand = de_ListContactsCommand;
|
|
@@ -1662,10 +1529,9 @@ const de_ListContactsCommandError = async (output, context) => {
|
|
|
1662
1529
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1663
1530
|
default:
|
|
1664
1531
|
const parsedBody = parsedOutput.body;
|
|
1665
|
-
|
|
1532
|
+
return throwDefaultError({
|
|
1666
1533
|
output,
|
|
1667
1534
|
parsedBody,
|
|
1668
|
-
exceptionCtor: GroundStationServiceException_1.GroundStationServiceException,
|
|
1669
1535
|
errorCode,
|
|
1670
1536
|
});
|
|
1671
1537
|
}
|
|
@@ -1674,16 +1540,15 @@ const de_ListDataflowEndpointGroupsCommand = async (output, context) => {
|
|
|
1674
1540
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1675
1541
|
return de_ListDataflowEndpointGroupsCommandError(output, context);
|
|
1676
1542
|
}
|
|
1677
|
-
const contents = map({
|
|
1543
|
+
const contents = (0, smithy_client_1.map)({
|
|
1678
1544
|
$metadata: deserializeMetadata(output),
|
|
1679
1545
|
});
|
|
1680
1546
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
}
|
|
1547
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1548
|
+
dataflowEndpointGroupList: smithy_client_1._json,
|
|
1549
|
+
nextToken: smithy_client_1.expectString,
|
|
1550
|
+
});
|
|
1551
|
+
Object.assign(contents, doc);
|
|
1687
1552
|
return contents;
|
|
1688
1553
|
};
|
|
1689
1554
|
exports.de_ListDataflowEndpointGroupsCommand = de_ListDataflowEndpointGroupsCommand;
|
|
@@ -1705,10 +1570,9 @@ const de_ListDataflowEndpointGroupsCommandError = async (output, context) => {
|
|
|
1705
1570
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1706
1571
|
default:
|
|
1707
1572
|
const parsedBody = parsedOutput.body;
|
|
1708
|
-
|
|
1573
|
+
return throwDefaultError({
|
|
1709
1574
|
output,
|
|
1710
1575
|
parsedBody,
|
|
1711
|
-
exceptionCtor: GroundStationServiceException_1.GroundStationServiceException,
|
|
1712
1576
|
errorCode,
|
|
1713
1577
|
});
|
|
1714
1578
|
}
|
|
@@ -1717,16 +1581,15 @@ const de_ListEphemeridesCommand = async (output, context) => {
|
|
|
1717
1581
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1718
1582
|
return de_ListEphemeridesCommandError(output, context);
|
|
1719
1583
|
}
|
|
1720
|
-
const contents = map({
|
|
1584
|
+
const contents = (0, smithy_client_1.map)({
|
|
1721
1585
|
$metadata: deserializeMetadata(output),
|
|
1722
1586
|
});
|
|
1723
1587
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
}
|
|
1588
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1589
|
+
ephemerides: (_) => de_EphemeridesList(_, context),
|
|
1590
|
+
nextToken: smithy_client_1.expectString,
|
|
1591
|
+
});
|
|
1592
|
+
Object.assign(contents, doc);
|
|
1730
1593
|
return contents;
|
|
1731
1594
|
};
|
|
1732
1595
|
exports.de_ListEphemeridesCommand = de_ListEphemeridesCommand;
|
|
@@ -1748,10 +1611,9 @@ const de_ListEphemeridesCommandError = async (output, context) => {
|
|
|
1748
1611
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1749
1612
|
default:
|
|
1750
1613
|
const parsedBody = parsedOutput.body;
|
|
1751
|
-
|
|
1614
|
+
return throwDefaultError({
|
|
1752
1615
|
output,
|
|
1753
1616
|
parsedBody,
|
|
1754
|
-
exceptionCtor: GroundStationServiceException_1.GroundStationServiceException,
|
|
1755
1617
|
errorCode,
|
|
1756
1618
|
});
|
|
1757
1619
|
}
|
|
@@ -1760,16 +1622,15 @@ const de_ListGroundStationsCommand = async (output, context) => {
|
|
|
1760
1622
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1761
1623
|
return de_ListGroundStationsCommandError(output, context);
|
|
1762
1624
|
}
|
|
1763
|
-
const contents = map({
|
|
1625
|
+
const contents = (0, smithy_client_1.map)({
|
|
1764
1626
|
$metadata: deserializeMetadata(output),
|
|
1765
1627
|
});
|
|
1766
1628
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
}
|
|
1629
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1630
|
+
groundStationList: smithy_client_1._json,
|
|
1631
|
+
nextToken: smithy_client_1.expectString,
|
|
1632
|
+
});
|
|
1633
|
+
Object.assign(contents, doc);
|
|
1773
1634
|
return contents;
|
|
1774
1635
|
};
|
|
1775
1636
|
exports.de_ListGroundStationsCommand = de_ListGroundStationsCommand;
|
|
@@ -1791,10 +1652,9 @@ const de_ListGroundStationsCommandError = async (output, context) => {
|
|
|
1791
1652
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1792
1653
|
default:
|
|
1793
1654
|
const parsedBody = parsedOutput.body;
|
|
1794
|
-
|
|
1655
|
+
return throwDefaultError({
|
|
1795
1656
|
output,
|
|
1796
1657
|
parsedBody,
|
|
1797
|
-
exceptionCtor: GroundStationServiceException_1.GroundStationServiceException,
|
|
1798
1658
|
errorCode,
|
|
1799
1659
|
});
|
|
1800
1660
|
}
|
|
@@ -1803,16 +1663,15 @@ const de_ListMissionProfilesCommand = async (output, context) => {
|
|
|
1803
1663
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1804
1664
|
return de_ListMissionProfilesCommandError(output, context);
|
|
1805
1665
|
}
|
|
1806
|
-
const contents = map({
|
|
1666
|
+
const contents = (0, smithy_client_1.map)({
|
|
1807
1667
|
$metadata: deserializeMetadata(output),
|
|
1808
1668
|
});
|
|
1809
1669
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
}
|
|
1670
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1671
|
+
missionProfileList: smithy_client_1._json,
|
|
1672
|
+
nextToken: smithy_client_1.expectString,
|
|
1673
|
+
});
|
|
1674
|
+
Object.assign(contents, doc);
|
|
1816
1675
|
return contents;
|
|
1817
1676
|
};
|
|
1818
1677
|
exports.de_ListMissionProfilesCommand = de_ListMissionProfilesCommand;
|
|
@@ -1834,10 +1693,9 @@ const de_ListMissionProfilesCommandError = async (output, context) => {
|
|
|
1834
1693
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1835
1694
|
default:
|
|
1836
1695
|
const parsedBody = parsedOutput.body;
|
|
1837
|
-
|
|
1696
|
+
return throwDefaultError({
|
|
1838
1697
|
output,
|
|
1839
1698
|
parsedBody,
|
|
1840
|
-
exceptionCtor: GroundStationServiceException_1.GroundStationServiceException,
|
|
1841
1699
|
errorCode,
|
|
1842
1700
|
});
|
|
1843
1701
|
}
|
|
@@ -1846,16 +1704,15 @@ const de_ListSatellitesCommand = async (output, context) => {
|
|
|
1846
1704
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1847
1705
|
return de_ListSatellitesCommandError(output, context);
|
|
1848
1706
|
}
|
|
1849
|
-
const contents = map({
|
|
1707
|
+
const contents = (0, smithy_client_1.map)({
|
|
1850
1708
|
$metadata: deserializeMetadata(output),
|
|
1851
1709
|
});
|
|
1852
1710
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
}
|
|
1711
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1712
|
+
nextToken: smithy_client_1.expectString,
|
|
1713
|
+
satellites: (_) => de_SatelliteList(_, context),
|
|
1714
|
+
});
|
|
1715
|
+
Object.assign(contents, doc);
|
|
1859
1716
|
return contents;
|
|
1860
1717
|
};
|
|
1861
1718
|
exports.de_ListSatellitesCommand = de_ListSatellitesCommand;
|
|
@@ -1877,10 +1734,9 @@ const de_ListSatellitesCommandError = async (output, context) => {
|
|
|
1877
1734
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1878
1735
|
default:
|
|
1879
1736
|
const parsedBody = parsedOutput.body;
|
|
1880
|
-
|
|
1737
|
+
return throwDefaultError({
|
|
1881
1738
|
output,
|
|
1882
1739
|
parsedBody,
|
|
1883
|
-
exceptionCtor: GroundStationServiceException_1.GroundStationServiceException,
|
|
1884
1740
|
errorCode,
|
|
1885
1741
|
});
|
|
1886
1742
|
}
|
|
@@ -1889,13 +1745,14 @@ const de_ListTagsForResourceCommand = async (output, context) => {
|
|
|
1889
1745
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1890
1746
|
return de_ListTagsForResourceCommandError(output, context);
|
|
1891
1747
|
}
|
|
1892
|
-
const contents = map({
|
|
1748
|
+
const contents = (0, smithy_client_1.map)({
|
|
1893
1749
|
$metadata: deserializeMetadata(output),
|
|
1894
1750
|
});
|
|
1895
1751
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
}
|
|
1752
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1753
|
+
tags: smithy_client_1._json,
|
|
1754
|
+
});
|
|
1755
|
+
Object.assign(contents, doc);
|
|
1899
1756
|
return contents;
|
|
1900
1757
|
};
|
|
1901
1758
|
exports.de_ListTagsForResourceCommand = de_ListTagsForResourceCommand;
|
|
@@ -1917,10 +1774,9 @@ const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
|
1917
1774
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1918
1775
|
default:
|
|
1919
1776
|
const parsedBody = parsedOutput.body;
|
|
1920
|
-
|
|
1777
|
+
return throwDefaultError({
|
|
1921
1778
|
output,
|
|
1922
1779
|
parsedBody,
|
|
1923
|
-
exceptionCtor: GroundStationServiceException_1.GroundStationServiceException,
|
|
1924
1780
|
errorCode,
|
|
1925
1781
|
});
|
|
1926
1782
|
}
|
|
@@ -1929,13 +1785,14 @@ const de_RegisterAgentCommand = async (output, context) => {
|
|
|
1929
1785
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1930
1786
|
return de_RegisterAgentCommandError(output, context);
|
|
1931
1787
|
}
|
|
1932
|
-
const contents = map({
|
|
1788
|
+
const contents = (0, smithy_client_1.map)({
|
|
1933
1789
|
$metadata: deserializeMetadata(output),
|
|
1934
1790
|
});
|
|
1935
1791
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
}
|
|
1792
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1793
|
+
agentId: smithy_client_1.expectString,
|
|
1794
|
+
});
|
|
1795
|
+
Object.assign(contents, doc);
|
|
1939
1796
|
return contents;
|
|
1940
1797
|
};
|
|
1941
1798
|
exports.de_RegisterAgentCommand = de_RegisterAgentCommand;
|
|
@@ -1957,10 +1814,9 @@ const de_RegisterAgentCommandError = async (output, context) => {
|
|
|
1957
1814
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1958
1815
|
default:
|
|
1959
1816
|
const parsedBody = parsedOutput.body;
|
|
1960
|
-
|
|
1817
|
+
return throwDefaultError({
|
|
1961
1818
|
output,
|
|
1962
1819
|
parsedBody,
|
|
1963
|
-
exceptionCtor: GroundStationServiceException_1.GroundStationServiceException,
|
|
1964
1820
|
errorCode,
|
|
1965
1821
|
});
|
|
1966
1822
|
}
|
|
@@ -1969,13 +1825,14 @@ const de_ReserveContactCommand = async (output, context) => {
|
|
|
1969
1825
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1970
1826
|
return de_ReserveContactCommandError(output, context);
|
|
1971
1827
|
}
|
|
1972
|
-
const contents = map({
|
|
1828
|
+
const contents = (0, smithy_client_1.map)({
|
|
1973
1829
|
$metadata: deserializeMetadata(output),
|
|
1974
1830
|
});
|
|
1975
1831
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
}
|
|
1832
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1833
|
+
contactId: smithy_client_1.expectString,
|
|
1834
|
+
});
|
|
1835
|
+
Object.assign(contents, doc);
|
|
1979
1836
|
return contents;
|
|
1980
1837
|
};
|
|
1981
1838
|
exports.de_ReserveContactCommand = de_ReserveContactCommand;
|
|
@@ -1997,10 +1854,9 @@ const de_ReserveContactCommandError = async (output, context) => {
|
|
|
1997
1854
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1998
1855
|
default:
|
|
1999
1856
|
const parsedBody = parsedOutput.body;
|
|
2000
|
-
|
|
1857
|
+
return throwDefaultError({
|
|
2001
1858
|
output,
|
|
2002
1859
|
parsedBody,
|
|
2003
|
-
exceptionCtor: GroundStationServiceException_1.GroundStationServiceException,
|
|
2004
1860
|
errorCode,
|
|
2005
1861
|
});
|
|
2006
1862
|
}
|
|
@@ -2009,7 +1865,7 @@ const de_TagResourceCommand = async (output, context) => {
|
|
|
2009
1865
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2010
1866
|
return de_TagResourceCommandError(output, context);
|
|
2011
1867
|
}
|
|
2012
|
-
const contents = map({
|
|
1868
|
+
const contents = (0, smithy_client_1.map)({
|
|
2013
1869
|
$metadata: deserializeMetadata(output),
|
|
2014
1870
|
});
|
|
2015
1871
|
await collectBody(output.body, context);
|
|
@@ -2034,10 +1890,9 @@ const de_TagResourceCommandError = async (output, context) => {
|
|
|
2034
1890
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2035
1891
|
default:
|
|
2036
1892
|
const parsedBody = parsedOutput.body;
|
|
2037
|
-
|
|
1893
|
+
return throwDefaultError({
|
|
2038
1894
|
output,
|
|
2039
1895
|
parsedBody,
|
|
2040
|
-
exceptionCtor: GroundStationServiceException_1.GroundStationServiceException,
|
|
2041
1896
|
errorCode,
|
|
2042
1897
|
});
|
|
2043
1898
|
}
|
|
@@ -2046,7 +1901,7 @@ const de_UntagResourceCommand = async (output, context) => {
|
|
|
2046
1901
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2047
1902
|
return de_UntagResourceCommandError(output, context);
|
|
2048
1903
|
}
|
|
2049
|
-
const contents = map({
|
|
1904
|
+
const contents = (0, smithy_client_1.map)({
|
|
2050
1905
|
$metadata: deserializeMetadata(output),
|
|
2051
1906
|
});
|
|
2052
1907
|
await collectBody(output.body, context);
|
|
@@ -2071,10 +1926,9 @@ const de_UntagResourceCommandError = async (output, context) => {
|
|
|
2071
1926
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2072
1927
|
default:
|
|
2073
1928
|
const parsedBody = parsedOutput.body;
|
|
2074
|
-
|
|
1929
|
+
return throwDefaultError({
|
|
2075
1930
|
output,
|
|
2076
1931
|
parsedBody,
|
|
2077
|
-
exceptionCtor: GroundStationServiceException_1.GroundStationServiceException,
|
|
2078
1932
|
errorCode,
|
|
2079
1933
|
});
|
|
2080
1934
|
}
|
|
@@ -2083,13 +1937,14 @@ const de_UpdateAgentStatusCommand = async (output, context) => {
|
|
|
2083
1937
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2084
1938
|
return de_UpdateAgentStatusCommandError(output, context);
|
|
2085
1939
|
}
|
|
2086
|
-
const contents = map({
|
|
1940
|
+
const contents = (0, smithy_client_1.map)({
|
|
2087
1941
|
$metadata: deserializeMetadata(output),
|
|
2088
1942
|
});
|
|
2089
1943
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
}
|
|
1944
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1945
|
+
agentId: smithy_client_1.expectString,
|
|
1946
|
+
});
|
|
1947
|
+
Object.assign(contents, doc);
|
|
2093
1948
|
return contents;
|
|
2094
1949
|
};
|
|
2095
1950
|
exports.de_UpdateAgentStatusCommand = de_UpdateAgentStatusCommand;
|
|
@@ -2111,10 +1966,9 @@ const de_UpdateAgentStatusCommandError = async (output, context) => {
|
|
|
2111
1966
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2112
1967
|
default:
|
|
2113
1968
|
const parsedBody = parsedOutput.body;
|
|
2114
|
-
|
|
1969
|
+
return throwDefaultError({
|
|
2115
1970
|
output,
|
|
2116
1971
|
parsedBody,
|
|
2117
|
-
exceptionCtor: GroundStationServiceException_1.GroundStationServiceException,
|
|
2118
1972
|
errorCode,
|
|
2119
1973
|
});
|
|
2120
1974
|
}
|
|
@@ -2123,19 +1977,16 @@ const de_UpdateConfigCommand = async (output, context) => {
|
|
|
2123
1977
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2124
1978
|
return de_UpdateConfigCommandError(output, context);
|
|
2125
1979
|
}
|
|
2126
|
-
const contents = map({
|
|
1980
|
+
const contents = (0, smithy_client_1.map)({
|
|
2127
1981
|
$metadata: deserializeMetadata(output),
|
|
2128
1982
|
});
|
|
2129
1983
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
if (data.configType != null) {
|
|
2137
|
-
contents.configType = (0, smithy_client_1.expectString)(data.configType);
|
|
2138
|
-
}
|
|
1984
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1985
|
+
configArn: smithy_client_1.expectString,
|
|
1986
|
+
configId: smithy_client_1.expectString,
|
|
1987
|
+
configType: smithy_client_1.expectString,
|
|
1988
|
+
});
|
|
1989
|
+
Object.assign(contents, doc);
|
|
2139
1990
|
return contents;
|
|
2140
1991
|
};
|
|
2141
1992
|
exports.de_UpdateConfigCommand = de_UpdateConfigCommand;
|
|
@@ -2157,10 +2008,9 @@ const de_UpdateConfigCommandError = async (output, context) => {
|
|
|
2157
2008
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2158
2009
|
default:
|
|
2159
2010
|
const parsedBody = parsedOutput.body;
|
|
2160
|
-
|
|
2011
|
+
return throwDefaultError({
|
|
2161
2012
|
output,
|
|
2162
2013
|
parsedBody,
|
|
2163
|
-
exceptionCtor: GroundStationServiceException_1.GroundStationServiceException,
|
|
2164
2014
|
errorCode,
|
|
2165
2015
|
});
|
|
2166
2016
|
}
|
|
@@ -2169,13 +2019,14 @@ const de_UpdateEphemerisCommand = async (output, context) => {
|
|
|
2169
2019
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2170
2020
|
return de_UpdateEphemerisCommandError(output, context);
|
|
2171
2021
|
}
|
|
2172
|
-
const contents = map({
|
|
2022
|
+
const contents = (0, smithy_client_1.map)({
|
|
2173
2023
|
$metadata: deserializeMetadata(output),
|
|
2174
2024
|
});
|
|
2175
2025
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
}
|
|
2026
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
2027
|
+
ephemerisId: smithy_client_1.expectString,
|
|
2028
|
+
});
|
|
2029
|
+
Object.assign(contents, doc);
|
|
2179
2030
|
return contents;
|
|
2180
2031
|
};
|
|
2181
2032
|
exports.de_UpdateEphemerisCommand = de_UpdateEphemerisCommand;
|
|
@@ -2197,10 +2048,9 @@ const de_UpdateEphemerisCommandError = async (output, context) => {
|
|
|
2197
2048
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2198
2049
|
default:
|
|
2199
2050
|
const parsedBody = parsedOutput.body;
|
|
2200
|
-
|
|
2051
|
+
return throwDefaultError({
|
|
2201
2052
|
output,
|
|
2202
2053
|
parsedBody,
|
|
2203
|
-
exceptionCtor: GroundStationServiceException_1.GroundStationServiceException,
|
|
2204
2054
|
errorCode,
|
|
2205
2055
|
});
|
|
2206
2056
|
}
|
|
@@ -2209,13 +2059,14 @@ const de_UpdateMissionProfileCommand = async (output, context) => {
|
|
|
2209
2059
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2210
2060
|
return de_UpdateMissionProfileCommandError(output, context);
|
|
2211
2061
|
}
|
|
2212
|
-
const contents = map({
|
|
2062
|
+
const contents = (0, smithy_client_1.map)({
|
|
2213
2063
|
$metadata: deserializeMetadata(output),
|
|
2214
2064
|
});
|
|
2215
2065
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2216
|
-
|
|
2217
|
-
|
|
2218
|
-
}
|
|
2066
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
2067
|
+
missionProfileId: smithy_client_1.expectString,
|
|
2068
|
+
});
|
|
2069
|
+
Object.assign(contents, doc);
|
|
2219
2070
|
return contents;
|
|
2220
2071
|
};
|
|
2221
2072
|
exports.de_UpdateMissionProfileCommand = de_UpdateMissionProfileCommand;
|
|
@@ -2237,24 +2088,22 @@ const de_UpdateMissionProfileCommandError = async (output, context) => {
|
|
|
2237
2088
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2238
2089
|
default:
|
|
2239
2090
|
const parsedBody = parsedOutput.body;
|
|
2240
|
-
|
|
2091
|
+
return throwDefaultError({
|
|
2241
2092
|
output,
|
|
2242
2093
|
parsedBody,
|
|
2243
|
-
exceptionCtor: GroundStationServiceException_1.GroundStationServiceException,
|
|
2244
2094
|
errorCode,
|
|
2245
2095
|
});
|
|
2246
2096
|
}
|
|
2247
2097
|
};
|
|
2248
|
-
const
|
|
2098
|
+
const throwDefaultError = (0, smithy_client_1.withBaseException)(GroundStationServiceException_1.GroundStationServiceException);
|
|
2249
2099
|
const de_DependencyExceptionRes = async (parsedOutput, context) => {
|
|
2250
|
-
const contents = map({});
|
|
2100
|
+
const contents = (0, smithy_client_1.map)({});
|
|
2251
2101
|
const data = parsedOutput.body;
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
}
|
|
2102
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
2103
|
+
message: smithy_client_1.expectString,
|
|
2104
|
+
parameterName: smithy_client_1.expectString,
|
|
2105
|
+
});
|
|
2106
|
+
Object.assign(contents, doc);
|
|
2258
2107
|
const exception = new models_0_1.DependencyException({
|
|
2259
2108
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2260
2109
|
...contents,
|
|
@@ -2262,14 +2111,13 @@ const de_DependencyExceptionRes = async (parsedOutput, context) => {
|
|
|
2262
2111
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
2263
2112
|
};
|
|
2264
2113
|
const de_InvalidParameterExceptionRes = async (parsedOutput, context) => {
|
|
2265
|
-
const contents = map({});
|
|
2114
|
+
const contents = (0, smithy_client_1.map)({});
|
|
2266
2115
|
const data = parsedOutput.body;
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
}
|
|
2116
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
2117
|
+
message: smithy_client_1.expectString,
|
|
2118
|
+
parameterName: smithy_client_1.expectString,
|
|
2119
|
+
});
|
|
2120
|
+
Object.assign(contents, doc);
|
|
2273
2121
|
const exception = new models_0_1.InvalidParameterException({
|
|
2274
2122
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2275
2123
|
...contents,
|
|
@@ -2277,14 +2125,13 @@ const de_InvalidParameterExceptionRes = async (parsedOutput, context) => {
|
|
|
2277
2125
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
2278
2126
|
};
|
|
2279
2127
|
const de_ResourceLimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
2280
|
-
const contents = map({});
|
|
2128
|
+
const contents = (0, smithy_client_1.map)({});
|
|
2281
2129
|
const data = parsedOutput.body;
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
}
|
|
2130
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
2131
|
+
message: smithy_client_1.expectString,
|
|
2132
|
+
parameterName: smithy_client_1.expectString,
|
|
2133
|
+
});
|
|
2134
|
+
Object.assign(contents, doc);
|
|
2288
2135
|
const exception = new models_0_1.ResourceLimitExceededException({
|
|
2289
2136
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2290
2137
|
...contents,
|
|
@@ -2292,102 +2139,35 @@ const de_ResourceLimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
|
2292
2139
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
2293
2140
|
};
|
|
2294
2141
|
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
2295
|
-
const contents = map({});
|
|
2142
|
+
const contents = (0, smithy_client_1.map)({});
|
|
2296
2143
|
const data = parsedOutput.body;
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
}
|
|
2144
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
2145
|
+
message: smithy_client_1.expectString,
|
|
2146
|
+
});
|
|
2147
|
+
Object.assign(contents, doc);
|
|
2300
2148
|
const exception = new models_0_1.ResourceNotFoundException({
|
|
2301
2149
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2302
2150
|
...contents,
|
|
2303
2151
|
});
|
|
2304
2152
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
2305
2153
|
};
|
|
2306
|
-
const se_AgentDetails = (input, context) => {
|
|
2307
|
-
return {
|
|
2308
|
-
...(input.agentVersion != null && { agentVersion: input.agentVersion }),
|
|
2309
|
-
...(input.componentVersions != null && {
|
|
2310
|
-
componentVersions: se_ComponentVersionList(input.componentVersions, context),
|
|
2311
|
-
}),
|
|
2312
|
-
...(input.instanceId != null && { instanceId: input.instanceId }),
|
|
2313
|
-
...(input.instanceType != null && { instanceType: input.instanceType }),
|
|
2314
|
-
...(input.reservedCpuCores != null && {
|
|
2315
|
-
reservedCpuCores: se_ReservedCpuCoresList(input.reservedCpuCores, context),
|
|
2316
|
-
}),
|
|
2317
|
-
};
|
|
2318
|
-
};
|
|
2319
|
-
const se_AggregateStatus = (input, context) => {
|
|
2320
|
-
return {
|
|
2321
|
-
...(input.signatureMap != null && { signatureMap: se_SignatureMap(input.signatureMap, context) }),
|
|
2322
|
-
...(input.status != null && { status: input.status }),
|
|
2323
|
-
};
|
|
2324
|
-
};
|
|
2325
2154
|
const se_AntennaDownlinkConfig = (input, context) => {
|
|
2326
|
-
return {
|
|
2327
|
-
|
|
2328
|
-
};
|
|
2155
|
+
return (0, smithy_client_1.take)(input, {
|
|
2156
|
+
spectrumConfig: (_) => se_SpectrumConfig(_, context),
|
|
2157
|
+
});
|
|
2329
2158
|
};
|
|
2330
2159
|
const se_AntennaDownlinkDemodDecodeConfig = (input, context) => {
|
|
2331
|
-
return {
|
|
2332
|
-
|
|
2333
|
-
|
|
2334
|
-
|
|
2335
|
-
}),
|
|
2336
|
-
...(input.spectrumConfig != null && { spectrumConfig: se_SpectrumConfig(input.spectrumConfig, context) }),
|
|
2337
|
-
};
|
|
2338
|
-
};
|
|
2339
|
-
const se_AntennaUplinkConfig = (input, context) => {
|
|
2340
|
-
return {
|
|
2341
|
-
...(input.spectrumConfig != null && { spectrumConfig: se_UplinkSpectrumConfig(input.spectrumConfig, context) }),
|
|
2342
|
-
...(input.targetEirp != null && { targetEirp: se_Eirp(input.targetEirp, context) }),
|
|
2343
|
-
...(input.transmitDisabled != null && { transmitDisabled: input.transmitDisabled }),
|
|
2344
|
-
};
|
|
2345
|
-
};
|
|
2346
|
-
const se_AwsGroundStationAgentEndpoint = (input, context) => {
|
|
2347
|
-
return {
|
|
2348
|
-
...(input.agentStatus != null && { agentStatus: input.agentStatus }),
|
|
2349
|
-
...(input.auditResults != null && { auditResults: input.auditResults }),
|
|
2350
|
-
...(input.egressAddress != null && { egressAddress: se_ConnectionDetails(input.egressAddress, context) }),
|
|
2351
|
-
...(input.ingressAddress != null && { ingressAddress: se_RangedConnectionDetails(input.ingressAddress, context) }),
|
|
2352
|
-
...(input.name != null && { name: input.name }),
|
|
2353
|
-
};
|
|
2354
|
-
};
|
|
2355
|
-
const se_CapabilityArnList = (input, context) => {
|
|
2356
|
-
return input
|
|
2357
|
-
.filter((e) => e != null)
|
|
2358
|
-
.map((entry) => {
|
|
2359
|
-
return entry;
|
|
2360
|
-
});
|
|
2361
|
-
};
|
|
2362
|
-
const se_ComponentStatusData = (input, context) => {
|
|
2363
|
-
return {
|
|
2364
|
-
...(input.bytesReceived != null && { bytesReceived: input.bytesReceived }),
|
|
2365
|
-
...(input.bytesSent != null && { bytesSent: input.bytesSent }),
|
|
2366
|
-
...(input.capabilityArn != null && { capabilityArn: input.capabilityArn }),
|
|
2367
|
-
...(input.componentType != null && { componentType: input.componentType }),
|
|
2368
|
-
...(input.dataflowId != null && { dataflowId: input.dataflowId }),
|
|
2369
|
-
...(input.packetsDropped != null && { packetsDropped: input.packetsDropped }),
|
|
2370
|
-
...(input.status != null && { status: input.status }),
|
|
2371
|
-
};
|
|
2372
|
-
};
|
|
2373
|
-
const se_ComponentStatusList = (input, context) => {
|
|
2374
|
-
return input
|
|
2375
|
-
.filter((e) => e != null)
|
|
2376
|
-
.map((entry) => {
|
|
2377
|
-
return se_ComponentStatusData(entry, context);
|
|
2160
|
+
return (0, smithy_client_1.take)(input, {
|
|
2161
|
+
decodeConfig: smithy_client_1._json,
|
|
2162
|
+
demodulationConfig: smithy_client_1._json,
|
|
2163
|
+
spectrumConfig: (_) => se_SpectrumConfig(_, context),
|
|
2378
2164
|
});
|
|
2379
2165
|
};
|
|
2380
|
-
const
|
|
2381
|
-
return {
|
|
2382
|
-
|
|
2383
|
-
|
|
2384
|
-
|
|
2385
|
-
};
|
|
2386
|
-
const se_ComponentVersionList = (input, context) => {
|
|
2387
|
-
return input
|
|
2388
|
-
.filter((e) => e != null)
|
|
2389
|
-
.map((entry) => {
|
|
2390
|
-
return se_ComponentVersion(entry, context);
|
|
2166
|
+
const se_AntennaUplinkConfig = (input, context) => {
|
|
2167
|
+
return (0, smithy_client_1.take)(input, {
|
|
2168
|
+
spectrumConfig: (_) => se_UplinkSpectrumConfig(_, context),
|
|
2169
|
+
targetEirp: (_) => se_Eirp(_, context),
|
|
2170
|
+
transmitDisabled: [],
|
|
2391
2171
|
});
|
|
2392
2172
|
};
|
|
2393
2173
|
const se_ConfigTypeData = (input, context) => {
|
|
@@ -2397,246 +2177,57 @@ const se_ConfigTypeData = (input, context) => {
|
|
|
2397
2177
|
antennaDownlinkDemodDecodeConfig: se_AntennaDownlinkDemodDecodeConfig(value, context),
|
|
2398
2178
|
}),
|
|
2399
2179
|
antennaUplinkConfig: (value) => ({ antennaUplinkConfig: se_AntennaUplinkConfig(value, context) }),
|
|
2400
|
-
dataflowEndpointConfig: (value) => ({ dataflowEndpointConfig:
|
|
2401
|
-
s3RecordingConfig: (value) => ({ s3RecordingConfig:
|
|
2402
|
-
trackingConfig: (value) => ({ trackingConfig:
|
|
2403
|
-
uplinkEchoConfig: (value) => ({ uplinkEchoConfig:
|
|
2180
|
+
dataflowEndpointConfig: (value) => ({ dataflowEndpointConfig: (0, smithy_client_1._json)(value) }),
|
|
2181
|
+
s3RecordingConfig: (value) => ({ s3RecordingConfig: (0, smithy_client_1._json)(value) }),
|
|
2182
|
+
trackingConfig: (value) => ({ trackingConfig: (0, smithy_client_1._json)(value) }),
|
|
2183
|
+
uplinkEchoConfig: (value) => ({ uplinkEchoConfig: (0, smithy_client_1._json)(value) }),
|
|
2404
2184
|
_: (name, value) => ({ name: value }),
|
|
2405
2185
|
});
|
|
2406
2186
|
};
|
|
2407
|
-
const se_ConnectionDetails = (input, context) => {
|
|
2408
|
-
return {
|
|
2409
|
-
...(input.mtu != null && { mtu: input.mtu }),
|
|
2410
|
-
...(input.socketAddress != null && { socketAddress: se_SocketAddress(input.socketAddress, context) }),
|
|
2411
|
-
};
|
|
2412
|
-
};
|
|
2413
|
-
const se_DataflowEdge = (input, context) => {
|
|
2414
|
-
return input
|
|
2415
|
-
.filter((e) => e != null)
|
|
2416
|
-
.map((entry) => {
|
|
2417
|
-
return entry;
|
|
2418
|
-
});
|
|
2419
|
-
};
|
|
2420
|
-
const se_DataflowEdgeList = (input, context) => {
|
|
2421
|
-
return input
|
|
2422
|
-
.filter((e) => e != null)
|
|
2423
|
-
.map((entry) => {
|
|
2424
|
-
return se_DataflowEdge(entry, context);
|
|
2425
|
-
});
|
|
2426
|
-
};
|
|
2427
|
-
const se_DataflowEndpoint = (input, context) => {
|
|
2428
|
-
return {
|
|
2429
|
-
...(input.address != null && { address: se_SocketAddress(input.address, context) }),
|
|
2430
|
-
...(input.mtu != null && { mtu: input.mtu }),
|
|
2431
|
-
...(input.name != null && { name: input.name }),
|
|
2432
|
-
...(input.status != null && { status: input.status }),
|
|
2433
|
-
};
|
|
2434
|
-
};
|
|
2435
|
-
const se_DataflowEndpointConfig = (input, context) => {
|
|
2436
|
-
return {
|
|
2437
|
-
...(input.dataflowEndpointName != null && { dataflowEndpointName: input.dataflowEndpointName }),
|
|
2438
|
-
...(input.dataflowEndpointRegion != null && { dataflowEndpointRegion: input.dataflowEndpointRegion }),
|
|
2439
|
-
};
|
|
2440
|
-
};
|
|
2441
|
-
const se_DecodeConfig = (input, context) => {
|
|
2442
|
-
return {
|
|
2443
|
-
...(input.unvalidatedJSON != null && { unvalidatedJSON: input.unvalidatedJSON }),
|
|
2444
|
-
};
|
|
2445
|
-
};
|
|
2446
|
-
const se_DemodulationConfig = (input, context) => {
|
|
2447
|
-
return {
|
|
2448
|
-
...(input.unvalidatedJSON != null && { unvalidatedJSON: input.unvalidatedJSON }),
|
|
2449
|
-
};
|
|
2450
|
-
};
|
|
2451
|
-
const se_DiscoveryData = (input, context) => {
|
|
2452
|
-
return {
|
|
2453
|
-
...(input.capabilityArns != null && { capabilityArns: se_CapabilityArnList(input.capabilityArns, context) }),
|
|
2454
|
-
...(input.privateIpAddresses != null && {
|
|
2455
|
-
privateIpAddresses: se_IpAddressList(input.privateIpAddresses, context),
|
|
2456
|
-
}),
|
|
2457
|
-
...(input.publicIpAddresses != null && { publicIpAddresses: se_IpAddressList(input.publicIpAddresses, context) }),
|
|
2458
|
-
};
|
|
2459
|
-
};
|
|
2460
2187
|
const se_Eirp = (input, context) => {
|
|
2461
|
-
return {
|
|
2462
|
-
|
|
2463
|
-
|
|
2464
|
-
};
|
|
2465
|
-
};
|
|
2466
|
-
const se_EndpointDetails = (input, context) => {
|
|
2467
|
-
return {
|
|
2468
|
-
...(input.awsGroundStationAgentEndpoint != null && {
|
|
2469
|
-
awsGroundStationAgentEndpoint: se_AwsGroundStationAgentEndpoint(input.awsGroundStationAgentEndpoint, context),
|
|
2470
|
-
}),
|
|
2471
|
-
...(input.endpoint != null && { endpoint: se_DataflowEndpoint(input.endpoint, context) }),
|
|
2472
|
-
...(input.securityDetails != null && { securityDetails: se_SecurityDetails(input.securityDetails, context) }),
|
|
2473
|
-
};
|
|
2474
|
-
};
|
|
2475
|
-
const se_EndpointDetailsList = (input, context) => {
|
|
2476
|
-
return input
|
|
2477
|
-
.filter((e) => e != null)
|
|
2478
|
-
.map((entry) => {
|
|
2479
|
-
return se_EndpointDetails(entry, context);
|
|
2188
|
+
return (0, smithy_client_1.take)(input, {
|
|
2189
|
+
units: [],
|
|
2190
|
+
value: smithy_client_1.serializeFloat,
|
|
2480
2191
|
});
|
|
2481
2192
|
};
|
|
2482
2193
|
const se_EphemerisData = (input, context) => {
|
|
2483
2194
|
return models_0_1.EphemerisData.visit(input, {
|
|
2484
|
-
oem: (value) => ({ oem:
|
|
2195
|
+
oem: (value) => ({ oem: (0, smithy_client_1._json)(value) }),
|
|
2485
2196
|
tle: (value) => ({ tle: se_TLEEphemeris(value, context) }),
|
|
2486
2197
|
_: (name, value) => ({ name: value }),
|
|
2487
2198
|
});
|
|
2488
2199
|
};
|
|
2489
|
-
const se_EphemerisStatusList = (input, context) => {
|
|
2490
|
-
return input
|
|
2491
|
-
.filter((e) => e != null)
|
|
2492
|
-
.map((entry) => {
|
|
2493
|
-
return entry;
|
|
2494
|
-
});
|
|
2495
|
-
};
|
|
2496
2200
|
const se_Frequency = (input, context) => {
|
|
2497
|
-
return {
|
|
2498
|
-
|
|
2499
|
-
|
|
2500
|
-
};
|
|
2501
|
-
};
|
|
2502
|
-
const se_FrequencyBandwidth = (input, context) => {
|
|
2503
|
-
return {
|
|
2504
|
-
...(input.units != null && { units: input.units }),
|
|
2505
|
-
...(input.value != null && { value: (0, smithy_client_1.serializeFloat)(input.value) }),
|
|
2506
|
-
};
|
|
2507
|
-
};
|
|
2508
|
-
const se_IntegerRange = (input, context) => {
|
|
2509
|
-
return {
|
|
2510
|
-
...(input.maximum != null && { maximum: input.maximum }),
|
|
2511
|
-
...(input.minimum != null && { minimum: input.minimum }),
|
|
2512
|
-
};
|
|
2513
|
-
};
|
|
2514
|
-
const se_IpAddressList = (input, context) => {
|
|
2515
|
-
return input
|
|
2516
|
-
.filter((e) => e != null)
|
|
2517
|
-
.map((entry) => {
|
|
2518
|
-
return entry;
|
|
2519
|
-
});
|
|
2520
|
-
};
|
|
2521
|
-
const se_KmsKey = (input, context) => {
|
|
2522
|
-
return models_0_1.KmsKey.visit(input, {
|
|
2523
|
-
kmsAliasArn: (value) => ({ kmsAliasArn: value }),
|
|
2524
|
-
kmsKeyArn: (value) => ({ kmsKeyArn: value }),
|
|
2525
|
-
_: (name, value) => ({ name: value }),
|
|
2526
|
-
});
|
|
2527
|
-
};
|
|
2528
|
-
const se_OEMEphemeris = (input, context) => {
|
|
2529
|
-
return {
|
|
2530
|
-
...(input.oemData != null && { oemData: input.oemData }),
|
|
2531
|
-
...(input.s3Object != null && { s3Object: se_S3Object(input.s3Object, context) }),
|
|
2532
|
-
};
|
|
2533
|
-
};
|
|
2534
|
-
const se_RangedConnectionDetails = (input, context) => {
|
|
2535
|
-
return {
|
|
2536
|
-
...(input.mtu != null && { mtu: input.mtu }),
|
|
2537
|
-
...(input.socketAddress != null && { socketAddress: se_RangedSocketAddress(input.socketAddress, context) }),
|
|
2538
|
-
};
|
|
2539
|
-
};
|
|
2540
|
-
const se_RangedSocketAddress = (input, context) => {
|
|
2541
|
-
return {
|
|
2542
|
-
...(input.name != null && { name: input.name }),
|
|
2543
|
-
...(input.portRange != null && { portRange: se_IntegerRange(input.portRange, context) }),
|
|
2544
|
-
};
|
|
2545
|
-
};
|
|
2546
|
-
const se_ReservedCpuCoresList = (input, context) => {
|
|
2547
|
-
return input
|
|
2548
|
-
.filter((e) => e != null)
|
|
2549
|
-
.map((entry) => {
|
|
2550
|
-
return entry;
|
|
2201
|
+
return (0, smithy_client_1.take)(input, {
|
|
2202
|
+
units: [],
|
|
2203
|
+
value: smithy_client_1.serializeFloat,
|
|
2551
2204
|
});
|
|
2552
2205
|
};
|
|
2553
|
-
const
|
|
2554
|
-
return {
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
...(input.version != null && { version: input.version }),
|
|
2558
|
-
};
|
|
2559
|
-
};
|
|
2560
|
-
const se_S3RecordingConfig = (input, context) => {
|
|
2561
|
-
return {
|
|
2562
|
-
...(input.bucketArn != null && { bucketArn: input.bucketArn }),
|
|
2563
|
-
...(input.prefix != null && { prefix: input.prefix }),
|
|
2564
|
-
...(input.roleArn != null && { roleArn: input.roleArn }),
|
|
2565
|
-
};
|
|
2566
|
-
};
|
|
2567
|
-
const se_SecurityDetails = (input, context) => {
|
|
2568
|
-
return {
|
|
2569
|
-
...(input.roleArn != null && { roleArn: input.roleArn }),
|
|
2570
|
-
...(input.securityGroupIds != null && {
|
|
2571
|
-
securityGroupIds: se_SecurityGroupIdList(input.securityGroupIds, context),
|
|
2572
|
-
}),
|
|
2573
|
-
...(input.subnetIds != null && { subnetIds: se_SubnetList(input.subnetIds, context) }),
|
|
2574
|
-
};
|
|
2575
|
-
};
|
|
2576
|
-
const se_SecurityGroupIdList = (input, context) => {
|
|
2577
|
-
return input
|
|
2578
|
-
.filter((e) => e != null)
|
|
2579
|
-
.map((entry) => {
|
|
2580
|
-
return entry;
|
|
2206
|
+
const se_FrequencyBandwidth = (input, context) => {
|
|
2207
|
+
return (0, smithy_client_1.take)(input, {
|
|
2208
|
+
units: [],
|
|
2209
|
+
value: smithy_client_1.serializeFloat,
|
|
2581
2210
|
});
|
|
2582
2211
|
};
|
|
2583
|
-
const se_SignatureMap = (input, context) => {
|
|
2584
|
-
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
2585
|
-
if (value === null) {
|
|
2586
|
-
return acc;
|
|
2587
|
-
}
|
|
2588
|
-
acc[key] = value;
|
|
2589
|
-
return acc;
|
|
2590
|
-
}, {});
|
|
2591
|
-
};
|
|
2592
|
-
const se_SocketAddress = (input, context) => {
|
|
2593
|
-
return {
|
|
2594
|
-
...(input.name != null && { name: input.name }),
|
|
2595
|
-
...(input.port != null && { port: input.port }),
|
|
2596
|
-
};
|
|
2597
|
-
};
|
|
2598
2212
|
const se_SpectrumConfig = (input, context) => {
|
|
2599
|
-
return {
|
|
2600
|
-
|
|
2601
|
-
|
|
2602
|
-
|
|
2603
|
-
};
|
|
2604
|
-
};
|
|
2605
|
-
const se_StatusList = (input, context) => {
|
|
2606
|
-
return input
|
|
2607
|
-
.filter((e) => e != null)
|
|
2608
|
-
.map((entry) => {
|
|
2609
|
-
return entry;
|
|
2213
|
+
return (0, smithy_client_1.take)(input, {
|
|
2214
|
+
bandwidth: (_) => se_FrequencyBandwidth(_, context),
|
|
2215
|
+
centerFrequency: (_) => se_Frequency(_, context),
|
|
2216
|
+
polarization: [],
|
|
2610
2217
|
});
|
|
2611
2218
|
};
|
|
2612
|
-
const se_SubnetList = (input, context) => {
|
|
2613
|
-
return input
|
|
2614
|
-
.filter((e) => e != null)
|
|
2615
|
-
.map((entry) => {
|
|
2616
|
-
return entry;
|
|
2617
|
-
});
|
|
2618
|
-
};
|
|
2619
|
-
const se_TagsMap = (input, context) => {
|
|
2620
|
-
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
2621
|
-
if (value === null) {
|
|
2622
|
-
return acc;
|
|
2623
|
-
}
|
|
2624
|
-
acc[key] = value;
|
|
2625
|
-
return acc;
|
|
2626
|
-
}, {});
|
|
2627
|
-
};
|
|
2628
2219
|
const se_TimeRange = (input, context) => {
|
|
2629
|
-
return {
|
|
2630
|
-
|
|
2631
|
-
|
|
2632
|
-
};
|
|
2220
|
+
return (0, smithy_client_1.take)(input, {
|
|
2221
|
+
endTime: (_) => Math.round(_.getTime() / 1000),
|
|
2222
|
+
startTime: (_) => Math.round(_.getTime() / 1000),
|
|
2223
|
+
});
|
|
2633
2224
|
};
|
|
2634
2225
|
const se_TLEData = (input, context) => {
|
|
2635
|
-
return {
|
|
2636
|
-
|
|
2637
|
-
|
|
2638
|
-
|
|
2639
|
-
};
|
|
2226
|
+
return (0, smithy_client_1.take)(input, {
|
|
2227
|
+
tleLine1: [],
|
|
2228
|
+
tleLine2: [],
|
|
2229
|
+
validTimeRange: (_) => se_TimeRange(_, context),
|
|
2230
|
+
});
|
|
2640
2231
|
};
|
|
2641
2232
|
const se_TLEDataList = (input, context) => {
|
|
2642
2233
|
return input
|
|
@@ -2646,104 +2237,35 @@ const se_TLEDataList = (input, context) => {
|
|
|
2646
2237
|
});
|
|
2647
2238
|
};
|
|
2648
2239
|
const se_TLEEphemeris = (input, context) => {
|
|
2649
|
-
return {
|
|
2650
|
-
|
|
2651
|
-
|
|
2652
|
-
};
|
|
2653
|
-
};
|
|
2654
|
-
const se_TrackingConfig = (input, context) => {
|
|
2655
|
-
return {
|
|
2656
|
-
...(input.autotrack != null && { autotrack: input.autotrack }),
|
|
2657
|
-
};
|
|
2658
|
-
};
|
|
2659
|
-
const se_UplinkEchoConfig = (input, context) => {
|
|
2660
|
-
return {
|
|
2661
|
-
...(input.antennaUplinkConfigArn != null && { antennaUplinkConfigArn: input.antennaUplinkConfigArn }),
|
|
2662
|
-
...(input.enabled != null && { enabled: input.enabled }),
|
|
2663
|
-
};
|
|
2240
|
+
return (0, smithy_client_1.take)(input, {
|
|
2241
|
+
s3Object: smithy_client_1._json,
|
|
2242
|
+
tleData: (_) => se_TLEDataList(_, context),
|
|
2243
|
+
});
|
|
2664
2244
|
};
|
|
2665
2245
|
const se_UplinkSpectrumConfig = (input, context) => {
|
|
2666
|
-
return {
|
|
2667
|
-
|
|
2668
|
-
|
|
2669
|
-
};
|
|
2670
|
-
};
|
|
2671
|
-
const se_VersionStringList = (input, context) => {
|
|
2672
|
-
return input
|
|
2673
|
-
.filter((e) => e != null)
|
|
2674
|
-
.map((entry) => {
|
|
2675
|
-
return entry;
|
|
2246
|
+
return (0, smithy_client_1.take)(input, {
|
|
2247
|
+
centerFrequency: (_) => se_Frequency(_, context),
|
|
2248
|
+
polarization: [],
|
|
2676
2249
|
});
|
|
2677
2250
|
};
|
|
2678
|
-
const de_AntennaDemodDecodeDetails = (output, context) => {
|
|
2679
|
-
return {
|
|
2680
|
-
outputNode: (0, smithy_client_1.expectString)(output.outputNode),
|
|
2681
|
-
};
|
|
2682
|
-
};
|
|
2683
2251
|
const de_AntennaDownlinkConfig = (output, context) => {
|
|
2684
|
-
return {
|
|
2685
|
-
spectrumConfig:
|
|
2686
|
-
};
|
|
2252
|
+
return (0, smithy_client_1.take)(output, {
|
|
2253
|
+
spectrumConfig: (_) => de_SpectrumConfig(_, context),
|
|
2254
|
+
});
|
|
2687
2255
|
};
|
|
2688
2256
|
const de_AntennaDownlinkDemodDecodeConfig = (output, context) => {
|
|
2689
|
-
return {
|
|
2690
|
-
decodeConfig:
|
|
2691
|
-
demodulationConfig:
|
|
2692
|
-
spectrumConfig:
|
|
2693
|
-
};
|
|
2257
|
+
return (0, smithy_client_1.take)(output, {
|
|
2258
|
+
decodeConfig: smithy_client_1._json,
|
|
2259
|
+
demodulationConfig: smithy_client_1._json,
|
|
2260
|
+
spectrumConfig: (_) => de_SpectrumConfig(_, context),
|
|
2261
|
+
});
|
|
2694
2262
|
};
|
|
2695
2263
|
const de_AntennaUplinkConfig = (output, context) => {
|
|
2696
|
-
return {
|
|
2697
|
-
spectrumConfig:
|
|
2698
|
-
targetEirp:
|
|
2699
|
-
transmitDisabled:
|
|
2700
|
-
};
|
|
2701
|
-
};
|
|
2702
|
-
const de_AwsGroundStationAgentEndpoint = (output, context) => {
|
|
2703
|
-
return {
|
|
2704
|
-
agentStatus: (0, smithy_client_1.expectString)(output.agentStatus),
|
|
2705
|
-
auditResults: (0, smithy_client_1.expectString)(output.auditResults),
|
|
2706
|
-
egressAddress: output.egressAddress != null ? de_ConnectionDetails(output.egressAddress, context) : undefined,
|
|
2707
|
-
ingressAddress: output.ingressAddress != null ? de_RangedConnectionDetails(output.ingressAddress, context) : undefined,
|
|
2708
|
-
name: (0, smithy_client_1.expectString)(output.name),
|
|
2709
|
-
};
|
|
2710
|
-
};
|
|
2711
|
-
const de_ConfigDetails = (output, context) => {
|
|
2712
|
-
if (output.antennaDemodDecodeDetails != null) {
|
|
2713
|
-
return {
|
|
2714
|
-
antennaDemodDecodeDetails: de_AntennaDemodDecodeDetails(output.antennaDemodDecodeDetails, context),
|
|
2715
|
-
};
|
|
2716
|
-
}
|
|
2717
|
-
if (output.endpointDetails != null) {
|
|
2718
|
-
return {
|
|
2719
|
-
endpointDetails: de_EndpointDetails(output.endpointDetails, context),
|
|
2720
|
-
};
|
|
2721
|
-
}
|
|
2722
|
-
if (output.s3RecordingDetails != null) {
|
|
2723
|
-
return {
|
|
2724
|
-
s3RecordingDetails: de_S3RecordingDetails(output.s3RecordingDetails, context),
|
|
2725
|
-
};
|
|
2726
|
-
}
|
|
2727
|
-
return { $unknown: Object.entries(output)[0] };
|
|
2728
|
-
};
|
|
2729
|
-
const de_ConfigList = (output, context) => {
|
|
2730
|
-
const retVal = (output || [])
|
|
2731
|
-
.filter((e) => e != null)
|
|
2732
|
-
.map((entry) => {
|
|
2733
|
-
if (entry === null) {
|
|
2734
|
-
return null;
|
|
2735
|
-
}
|
|
2736
|
-
return de_ConfigListItem(entry, context);
|
|
2264
|
+
return (0, smithy_client_1.take)(output, {
|
|
2265
|
+
spectrumConfig: (_) => de_UplinkSpectrumConfig(_, context),
|
|
2266
|
+
targetEirp: (_) => de_Eirp(_, context),
|
|
2267
|
+
transmitDisabled: smithy_client_1.expectBoolean,
|
|
2737
2268
|
});
|
|
2738
|
-
return retVal;
|
|
2739
|
-
};
|
|
2740
|
-
const de_ConfigListItem = (output, context) => {
|
|
2741
|
-
return {
|
|
2742
|
-
configArn: (0, smithy_client_1.expectString)(output.configArn),
|
|
2743
|
-
configId: (0, smithy_client_1.expectString)(output.configId),
|
|
2744
|
-
configType: (0, smithy_client_1.expectString)(output.configType),
|
|
2745
|
-
name: (0, smithy_client_1.expectString)(output.name),
|
|
2746
|
-
};
|
|
2747
2269
|
};
|
|
2748
2270
|
const de_ConfigTypeData = (output, context) => {
|
|
2749
2271
|
if (output.antennaDownlinkConfig != null) {
|
|
@@ -2763,438 +2285,131 @@ const de_ConfigTypeData = (output, context) => {
|
|
|
2763
2285
|
}
|
|
2764
2286
|
if (output.dataflowEndpointConfig != null) {
|
|
2765
2287
|
return {
|
|
2766
|
-
dataflowEndpointConfig:
|
|
2288
|
+
dataflowEndpointConfig: (0, smithy_client_1._json)(output.dataflowEndpointConfig),
|
|
2767
2289
|
};
|
|
2768
2290
|
}
|
|
2769
2291
|
if (output.s3RecordingConfig != null) {
|
|
2770
2292
|
return {
|
|
2771
|
-
s3RecordingConfig:
|
|
2293
|
+
s3RecordingConfig: (0, smithy_client_1._json)(output.s3RecordingConfig),
|
|
2772
2294
|
};
|
|
2773
2295
|
}
|
|
2774
2296
|
if (output.trackingConfig != null) {
|
|
2775
2297
|
return {
|
|
2776
|
-
trackingConfig:
|
|
2298
|
+
trackingConfig: (0, smithy_client_1._json)(output.trackingConfig),
|
|
2777
2299
|
};
|
|
2778
2300
|
}
|
|
2779
2301
|
if (output.uplinkEchoConfig != null) {
|
|
2780
2302
|
return {
|
|
2781
|
-
uplinkEchoConfig:
|
|
2303
|
+
uplinkEchoConfig: (0, smithy_client_1._json)(output.uplinkEchoConfig),
|
|
2782
2304
|
};
|
|
2783
2305
|
}
|
|
2784
2306
|
return { $unknown: Object.entries(output)[0] };
|
|
2785
2307
|
};
|
|
2786
|
-
const de_ConnectionDetails = (output, context) => {
|
|
2787
|
-
return {
|
|
2788
|
-
mtu: (0, smithy_client_1.expectInt32)(output.mtu),
|
|
2789
|
-
socketAddress: output.socketAddress != null ? de_SocketAddress(output.socketAddress, context) : undefined,
|
|
2790
|
-
};
|
|
2791
|
-
};
|
|
2792
2308
|
const de_ContactData = (output, context) => {
|
|
2793
|
-
return {
|
|
2794
|
-
contactId:
|
|
2795
|
-
contactStatus:
|
|
2796
|
-
endTime:
|
|
2797
|
-
errorMessage:
|
|
2798
|
-
groundStation:
|
|
2799
|
-
maximumElevation:
|
|
2800
|
-
missionProfileArn:
|
|
2801
|
-
postPassEndTime:
|
|
2802
|
-
|
|
2803
|
-
|
|
2804
|
-
|
|
2805
|
-
|
|
2806
|
-
|
|
2807
|
-
|
|
2808
|
-
satelliteArn: (0, smithy_client_1.expectString)(output.satelliteArn),
|
|
2809
|
-
startTime: output.startTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.startTime))) : undefined,
|
|
2810
|
-
tags: output.tags != null ? de_TagsMap(output.tags, context) : undefined,
|
|
2811
|
-
};
|
|
2309
|
+
return (0, smithy_client_1.take)(output, {
|
|
2310
|
+
contactId: smithy_client_1.expectString,
|
|
2311
|
+
contactStatus: smithy_client_1.expectString,
|
|
2312
|
+
endTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2313
|
+
errorMessage: smithy_client_1.expectString,
|
|
2314
|
+
groundStation: smithy_client_1.expectString,
|
|
2315
|
+
maximumElevation: (_) => de_Elevation(_, context),
|
|
2316
|
+
missionProfileArn: smithy_client_1.expectString,
|
|
2317
|
+
postPassEndTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2318
|
+
prePassStartTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2319
|
+
region: smithy_client_1.expectString,
|
|
2320
|
+
satelliteArn: smithy_client_1.expectString,
|
|
2321
|
+
startTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2322
|
+
tags: smithy_client_1._json,
|
|
2323
|
+
});
|
|
2812
2324
|
};
|
|
2813
2325
|
const de_ContactList = (output, context) => {
|
|
2814
2326
|
const retVal = (output || [])
|
|
2815
2327
|
.filter((e) => e != null)
|
|
2816
2328
|
.map((entry) => {
|
|
2817
|
-
if (entry === null) {
|
|
2818
|
-
return null;
|
|
2819
|
-
}
|
|
2820
2329
|
return de_ContactData(entry, context);
|
|
2821
2330
|
});
|
|
2822
2331
|
return retVal;
|
|
2823
2332
|
};
|
|
2824
|
-
const de_DataflowDetail = (output, context) => {
|
|
2825
|
-
return {
|
|
2826
|
-
destination: output.destination != null ? de_Destination(output.destination, context) : undefined,
|
|
2827
|
-
errorMessage: (0, smithy_client_1.expectString)(output.errorMessage),
|
|
2828
|
-
source: output.source != null ? de_Source(output.source, context) : undefined,
|
|
2829
|
-
};
|
|
2830
|
-
};
|
|
2831
|
-
const de_DataflowEdge = (output, context) => {
|
|
2832
|
-
const retVal = (output || [])
|
|
2833
|
-
.filter((e) => e != null)
|
|
2834
|
-
.map((entry) => {
|
|
2835
|
-
if (entry === null) {
|
|
2836
|
-
return null;
|
|
2837
|
-
}
|
|
2838
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
2839
|
-
});
|
|
2840
|
-
return retVal;
|
|
2841
|
-
};
|
|
2842
|
-
const de_DataflowEdgeList = (output, context) => {
|
|
2843
|
-
const retVal = (output || [])
|
|
2844
|
-
.filter((e) => e != null)
|
|
2845
|
-
.map((entry) => {
|
|
2846
|
-
if (entry === null) {
|
|
2847
|
-
return null;
|
|
2848
|
-
}
|
|
2849
|
-
return de_DataflowEdge(entry, context);
|
|
2850
|
-
});
|
|
2851
|
-
return retVal;
|
|
2852
|
-
};
|
|
2853
|
-
const de_DataflowEndpoint = (output, context) => {
|
|
2854
|
-
return {
|
|
2855
|
-
address: output.address != null ? de_SocketAddress(output.address, context) : undefined,
|
|
2856
|
-
mtu: (0, smithy_client_1.expectInt32)(output.mtu),
|
|
2857
|
-
name: (0, smithy_client_1.expectString)(output.name),
|
|
2858
|
-
status: (0, smithy_client_1.expectString)(output.status),
|
|
2859
|
-
};
|
|
2860
|
-
};
|
|
2861
|
-
const de_DataflowEndpointConfig = (output, context) => {
|
|
2862
|
-
return {
|
|
2863
|
-
dataflowEndpointName: (0, smithy_client_1.expectString)(output.dataflowEndpointName),
|
|
2864
|
-
dataflowEndpointRegion: (0, smithy_client_1.expectString)(output.dataflowEndpointRegion),
|
|
2865
|
-
};
|
|
2866
|
-
};
|
|
2867
|
-
const de_DataflowEndpointGroupList = (output, context) => {
|
|
2868
|
-
const retVal = (output || [])
|
|
2869
|
-
.filter((e) => e != null)
|
|
2870
|
-
.map((entry) => {
|
|
2871
|
-
if (entry === null) {
|
|
2872
|
-
return null;
|
|
2873
|
-
}
|
|
2874
|
-
return de_DataflowEndpointListItem(entry, context);
|
|
2875
|
-
});
|
|
2876
|
-
return retVal;
|
|
2877
|
-
};
|
|
2878
|
-
const de_DataflowEndpointListItem = (output, context) => {
|
|
2879
|
-
return {
|
|
2880
|
-
dataflowEndpointGroupArn: (0, smithy_client_1.expectString)(output.dataflowEndpointGroupArn),
|
|
2881
|
-
dataflowEndpointGroupId: (0, smithy_client_1.expectString)(output.dataflowEndpointGroupId),
|
|
2882
|
-
};
|
|
2883
|
-
};
|
|
2884
|
-
const de_DataflowList = (output, context) => {
|
|
2885
|
-
const retVal = (output || [])
|
|
2886
|
-
.filter((e) => e != null)
|
|
2887
|
-
.map((entry) => {
|
|
2888
|
-
if (entry === null) {
|
|
2889
|
-
return null;
|
|
2890
|
-
}
|
|
2891
|
-
return de_DataflowDetail(entry, context);
|
|
2892
|
-
});
|
|
2893
|
-
return retVal;
|
|
2894
|
-
};
|
|
2895
|
-
const de_DecodeConfig = (output, context) => {
|
|
2896
|
-
return {
|
|
2897
|
-
unvalidatedJSON: (0, smithy_client_1.expectString)(output.unvalidatedJSON),
|
|
2898
|
-
};
|
|
2899
|
-
};
|
|
2900
|
-
const de_DemodulationConfig = (output, context) => {
|
|
2901
|
-
return {
|
|
2902
|
-
unvalidatedJSON: (0, smithy_client_1.expectString)(output.unvalidatedJSON),
|
|
2903
|
-
};
|
|
2904
|
-
};
|
|
2905
|
-
const de_Destination = (output, context) => {
|
|
2906
|
-
return {
|
|
2907
|
-
configDetails: output.configDetails != null ? de_ConfigDetails((0, smithy_client_1.expectUnion)(output.configDetails), context) : undefined,
|
|
2908
|
-
configId: (0, smithy_client_1.expectString)(output.configId),
|
|
2909
|
-
configType: (0, smithy_client_1.expectString)(output.configType),
|
|
2910
|
-
dataflowDestinationRegion: (0, smithy_client_1.expectString)(output.dataflowDestinationRegion),
|
|
2911
|
-
};
|
|
2912
|
-
};
|
|
2913
2333
|
const de_Eirp = (output, context) => {
|
|
2914
|
-
return {
|
|
2915
|
-
units:
|
|
2916
|
-
value:
|
|
2917
|
-
};
|
|
2334
|
+
return (0, smithy_client_1.take)(output, {
|
|
2335
|
+
units: smithy_client_1.expectString,
|
|
2336
|
+
value: smithy_client_1.limitedParseDouble,
|
|
2337
|
+
});
|
|
2918
2338
|
};
|
|
2919
2339
|
const de_Elevation = (output, context) => {
|
|
2920
|
-
return {
|
|
2921
|
-
unit:
|
|
2922
|
-
value:
|
|
2923
|
-
};
|
|
2924
|
-
};
|
|
2925
|
-
const de_EndpointDetails = (output, context) => {
|
|
2926
|
-
return {
|
|
2927
|
-
awsGroundStationAgentEndpoint: output.awsGroundStationAgentEndpoint != null
|
|
2928
|
-
? de_AwsGroundStationAgentEndpoint(output.awsGroundStationAgentEndpoint, context)
|
|
2929
|
-
: undefined,
|
|
2930
|
-
endpoint: output.endpoint != null ? de_DataflowEndpoint(output.endpoint, context) : undefined,
|
|
2931
|
-
securityDetails: output.securityDetails != null ? de_SecurityDetails(output.securityDetails, context) : undefined,
|
|
2932
|
-
};
|
|
2933
|
-
};
|
|
2934
|
-
const de_EndpointDetailsList = (output, context) => {
|
|
2935
|
-
const retVal = (output || [])
|
|
2936
|
-
.filter((e) => e != null)
|
|
2937
|
-
.map((entry) => {
|
|
2938
|
-
if (entry === null) {
|
|
2939
|
-
return null;
|
|
2940
|
-
}
|
|
2941
|
-
return de_EndpointDetails(entry, context);
|
|
2340
|
+
return (0, smithy_client_1.take)(output, {
|
|
2341
|
+
unit: smithy_client_1.expectString,
|
|
2342
|
+
value: smithy_client_1.limitedParseDouble,
|
|
2942
2343
|
});
|
|
2943
|
-
return retVal;
|
|
2944
2344
|
};
|
|
2945
2345
|
const de_EphemeridesList = (output, context) => {
|
|
2946
2346
|
const retVal = (output || [])
|
|
2947
2347
|
.filter((e) => e != null)
|
|
2948
2348
|
.map((entry) => {
|
|
2949
|
-
if (entry === null) {
|
|
2950
|
-
return null;
|
|
2951
|
-
}
|
|
2952
2349
|
return de_EphemerisItem(entry, context);
|
|
2953
2350
|
});
|
|
2954
2351
|
return retVal;
|
|
2955
2352
|
};
|
|
2956
|
-
const de_EphemerisDescription = (output, context) => {
|
|
2957
|
-
return {
|
|
2958
|
-
ephemerisData: (0, smithy_client_1.expectString)(output.ephemerisData),
|
|
2959
|
-
sourceS3Object: output.sourceS3Object != null ? de_S3Object(output.sourceS3Object, context) : undefined,
|
|
2960
|
-
};
|
|
2961
|
-
};
|
|
2962
2353
|
const de_EphemerisItem = (output, context) => {
|
|
2963
|
-
return {
|
|
2964
|
-
creationTime:
|
|
2965
|
-
|
|
2966
|
-
|
|
2967
|
-
|
|
2968
|
-
|
|
2969
|
-
|
|
2970
|
-
|
|
2971
|
-
|
|
2972
|
-
status: (0, smithy_client_1.expectString)(output.status),
|
|
2973
|
-
};
|
|
2354
|
+
return (0, smithy_client_1.take)(output, {
|
|
2355
|
+
creationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2356
|
+
enabled: smithy_client_1.expectBoolean,
|
|
2357
|
+
ephemerisId: smithy_client_1.expectString,
|
|
2358
|
+
name: smithy_client_1.expectString,
|
|
2359
|
+
priority: smithy_client_1.expectInt32,
|
|
2360
|
+
sourceS3Object: smithy_client_1._json,
|
|
2361
|
+
status: smithy_client_1.expectString,
|
|
2362
|
+
});
|
|
2974
2363
|
};
|
|
2975
2364
|
const de_EphemerisMetaData = (output, context) => {
|
|
2976
|
-
return {
|
|
2977
|
-
ephemerisId:
|
|
2978
|
-
epoch:
|
|
2979
|
-
name:
|
|
2980
|
-
source:
|
|
2981
|
-
};
|
|
2982
|
-
};
|
|
2983
|
-
const de_EphemerisTypeDescription = (output, context) => {
|
|
2984
|
-
if (output.oem != null) {
|
|
2985
|
-
return {
|
|
2986
|
-
oem: de_EphemerisDescription(output.oem, context),
|
|
2987
|
-
};
|
|
2988
|
-
}
|
|
2989
|
-
if (output.tle != null) {
|
|
2990
|
-
return {
|
|
2991
|
-
tle: de_EphemerisDescription(output.tle, context),
|
|
2992
|
-
};
|
|
2993
|
-
}
|
|
2994
|
-
return { $unknown: Object.entries(output)[0] };
|
|
2995
|
-
};
|
|
2996
|
-
const de_Frequency = (output, context) => {
|
|
2997
|
-
return {
|
|
2998
|
-
units: (0, smithy_client_1.expectString)(output.units),
|
|
2999
|
-
value: (0, smithy_client_1.limitedParseDouble)(output.value),
|
|
3000
|
-
};
|
|
3001
|
-
};
|
|
3002
|
-
const de_FrequencyBandwidth = (output, context) => {
|
|
3003
|
-
return {
|
|
3004
|
-
units: (0, smithy_client_1.expectString)(output.units),
|
|
3005
|
-
value: (0, smithy_client_1.limitedParseDouble)(output.value),
|
|
3006
|
-
};
|
|
3007
|
-
};
|
|
3008
|
-
const de_GroundStationData = (output, context) => {
|
|
3009
|
-
return {
|
|
3010
|
-
groundStationId: (0, smithy_client_1.expectString)(output.groundStationId),
|
|
3011
|
-
groundStationName: (0, smithy_client_1.expectString)(output.groundStationName),
|
|
3012
|
-
region: (0, smithy_client_1.expectString)(output.region),
|
|
3013
|
-
};
|
|
3014
|
-
};
|
|
3015
|
-
const de_GroundStationIdList = (output, context) => {
|
|
3016
|
-
const retVal = (output || [])
|
|
3017
|
-
.filter((e) => e != null)
|
|
3018
|
-
.map((entry) => {
|
|
3019
|
-
if (entry === null) {
|
|
3020
|
-
return null;
|
|
3021
|
-
}
|
|
3022
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
2365
|
+
return (0, smithy_client_1.take)(output, {
|
|
2366
|
+
ephemerisId: smithy_client_1.expectString,
|
|
2367
|
+
epoch: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2368
|
+
name: smithy_client_1.expectString,
|
|
2369
|
+
source: smithy_client_1.expectString,
|
|
3023
2370
|
});
|
|
3024
|
-
return retVal;
|
|
3025
2371
|
};
|
|
3026
|
-
const
|
|
3027
|
-
|
|
3028
|
-
.
|
|
3029
|
-
.
|
|
3030
|
-
if (entry === null) {
|
|
3031
|
-
return null;
|
|
3032
|
-
}
|
|
3033
|
-
return de_GroundStationData(entry, context);
|
|
2372
|
+
const de_Frequency = (output, context) => {
|
|
2373
|
+
return (0, smithy_client_1.take)(output, {
|
|
2374
|
+
units: smithy_client_1.expectString,
|
|
2375
|
+
value: smithy_client_1.limitedParseDouble,
|
|
3034
2376
|
});
|
|
3035
|
-
return retVal;
|
|
3036
2377
|
};
|
|
3037
|
-
const
|
|
3038
|
-
return {
|
|
3039
|
-
|
|
3040
|
-
|
|
3041
|
-
};
|
|
3042
|
-
};
|
|
3043
|
-
const de_KmsKey = (output, context) => {
|
|
3044
|
-
if ((0, smithy_client_1.expectString)(output.kmsAliasArn) !== undefined) {
|
|
3045
|
-
return { kmsAliasArn: (0, smithy_client_1.expectString)(output.kmsAliasArn) };
|
|
3046
|
-
}
|
|
3047
|
-
if ((0, smithy_client_1.expectString)(output.kmsKeyArn) !== undefined) {
|
|
3048
|
-
return { kmsKeyArn: (0, smithy_client_1.expectString)(output.kmsKeyArn) };
|
|
3049
|
-
}
|
|
3050
|
-
return { $unknown: Object.entries(output)[0] };
|
|
3051
|
-
};
|
|
3052
|
-
const de_MissionProfileList = (output, context) => {
|
|
3053
|
-
const retVal = (output || [])
|
|
3054
|
-
.filter((e) => e != null)
|
|
3055
|
-
.map((entry) => {
|
|
3056
|
-
if (entry === null) {
|
|
3057
|
-
return null;
|
|
3058
|
-
}
|
|
3059
|
-
return de_MissionProfileListItem(entry, context);
|
|
2378
|
+
const de_FrequencyBandwidth = (output, context) => {
|
|
2379
|
+
return (0, smithy_client_1.take)(output, {
|
|
2380
|
+
units: smithy_client_1.expectString,
|
|
2381
|
+
value: smithy_client_1.limitedParseDouble,
|
|
3060
2382
|
});
|
|
3061
|
-
return retVal;
|
|
3062
|
-
};
|
|
3063
|
-
const de_MissionProfileListItem = (output, context) => {
|
|
3064
|
-
return {
|
|
3065
|
-
missionProfileArn: (0, smithy_client_1.expectString)(output.missionProfileArn),
|
|
3066
|
-
missionProfileId: (0, smithy_client_1.expectString)(output.missionProfileId),
|
|
3067
|
-
name: (0, smithy_client_1.expectString)(output.name),
|
|
3068
|
-
region: (0, smithy_client_1.expectString)(output.region),
|
|
3069
|
-
};
|
|
3070
|
-
};
|
|
3071
|
-
const de_RangedConnectionDetails = (output, context) => {
|
|
3072
|
-
return {
|
|
3073
|
-
mtu: (0, smithy_client_1.expectInt32)(output.mtu),
|
|
3074
|
-
socketAddress: output.socketAddress != null ? de_RangedSocketAddress(output.socketAddress, context) : undefined,
|
|
3075
|
-
};
|
|
3076
|
-
};
|
|
3077
|
-
const de_RangedSocketAddress = (output, context) => {
|
|
3078
|
-
return {
|
|
3079
|
-
name: (0, smithy_client_1.expectString)(output.name),
|
|
3080
|
-
portRange: output.portRange != null ? de_IntegerRange(output.portRange, context) : undefined,
|
|
3081
|
-
};
|
|
3082
|
-
};
|
|
3083
|
-
const de_S3Object = (output, context) => {
|
|
3084
|
-
return {
|
|
3085
|
-
bucket: (0, smithy_client_1.expectString)(output.bucket),
|
|
3086
|
-
key: (0, smithy_client_1.expectString)(output.key),
|
|
3087
|
-
version: (0, smithy_client_1.expectString)(output.version),
|
|
3088
|
-
};
|
|
3089
|
-
};
|
|
3090
|
-
const de_S3RecordingConfig = (output, context) => {
|
|
3091
|
-
return {
|
|
3092
|
-
bucketArn: (0, smithy_client_1.expectString)(output.bucketArn),
|
|
3093
|
-
prefix: (0, smithy_client_1.expectString)(output.prefix),
|
|
3094
|
-
roleArn: (0, smithy_client_1.expectString)(output.roleArn),
|
|
3095
|
-
};
|
|
3096
|
-
};
|
|
3097
|
-
const de_S3RecordingDetails = (output, context) => {
|
|
3098
|
-
return {
|
|
3099
|
-
bucketArn: (0, smithy_client_1.expectString)(output.bucketArn),
|
|
3100
|
-
keyTemplate: (0, smithy_client_1.expectString)(output.keyTemplate),
|
|
3101
|
-
};
|
|
3102
2383
|
};
|
|
3103
2384
|
const de_SatelliteList = (output, context) => {
|
|
3104
2385
|
const retVal = (output || [])
|
|
3105
2386
|
.filter((e) => e != null)
|
|
3106
2387
|
.map((entry) => {
|
|
3107
|
-
if (entry === null) {
|
|
3108
|
-
return null;
|
|
3109
|
-
}
|
|
3110
2388
|
return de_SatelliteListItem(entry, context);
|
|
3111
2389
|
});
|
|
3112
2390
|
return retVal;
|
|
3113
2391
|
};
|
|
3114
2392
|
const de_SatelliteListItem = (output, context) => {
|
|
3115
|
-
return {
|
|
3116
|
-
currentEphemeris:
|
|
3117
|
-
groundStations:
|
|
3118
|
-
noradSatelliteID:
|
|
3119
|
-
satelliteArn:
|
|
3120
|
-
satelliteId:
|
|
3121
|
-
};
|
|
3122
|
-
};
|
|
3123
|
-
const de_SecurityDetails = (output, context) => {
|
|
3124
|
-
return {
|
|
3125
|
-
roleArn: (0, smithy_client_1.expectString)(output.roleArn),
|
|
3126
|
-
securityGroupIds: output.securityGroupIds != null ? de_SecurityGroupIdList(output.securityGroupIds, context) : undefined,
|
|
3127
|
-
subnetIds: output.subnetIds != null ? de_SubnetList(output.subnetIds, context) : undefined,
|
|
3128
|
-
};
|
|
3129
|
-
};
|
|
3130
|
-
const de_SecurityGroupIdList = (output, context) => {
|
|
3131
|
-
const retVal = (output || [])
|
|
3132
|
-
.filter((e) => e != null)
|
|
3133
|
-
.map((entry) => {
|
|
3134
|
-
if (entry === null) {
|
|
3135
|
-
return null;
|
|
3136
|
-
}
|
|
3137
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
2393
|
+
return (0, smithy_client_1.take)(output, {
|
|
2394
|
+
currentEphemeris: (_) => de_EphemerisMetaData(_, context),
|
|
2395
|
+
groundStations: smithy_client_1._json,
|
|
2396
|
+
noradSatelliteID: smithy_client_1.expectInt32,
|
|
2397
|
+
satelliteArn: smithy_client_1.expectString,
|
|
2398
|
+
satelliteId: smithy_client_1.expectString,
|
|
3138
2399
|
});
|
|
3139
|
-
return retVal;
|
|
3140
|
-
};
|
|
3141
|
-
const de_SocketAddress = (output, context) => {
|
|
3142
|
-
return {
|
|
3143
|
-
name: (0, smithy_client_1.expectString)(output.name),
|
|
3144
|
-
port: (0, smithy_client_1.expectInt32)(output.port),
|
|
3145
|
-
};
|
|
3146
|
-
};
|
|
3147
|
-
const de_Source = (output, context) => {
|
|
3148
|
-
return {
|
|
3149
|
-
configDetails: output.configDetails != null ? de_ConfigDetails((0, smithy_client_1.expectUnion)(output.configDetails), context) : undefined,
|
|
3150
|
-
configId: (0, smithy_client_1.expectString)(output.configId),
|
|
3151
|
-
configType: (0, smithy_client_1.expectString)(output.configType),
|
|
3152
|
-
dataflowSourceRegion: (0, smithy_client_1.expectString)(output.dataflowSourceRegion),
|
|
3153
|
-
};
|
|
3154
2400
|
};
|
|
3155
2401
|
const de_SpectrumConfig = (output, context) => {
|
|
3156
|
-
return {
|
|
3157
|
-
bandwidth:
|
|
3158
|
-
centerFrequency:
|
|
3159
|
-
polarization:
|
|
3160
|
-
};
|
|
3161
|
-
};
|
|
3162
|
-
const de_SubnetList = (output, context) => {
|
|
3163
|
-
const retVal = (output || [])
|
|
3164
|
-
.filter((e) => e != null)
|
|
3165
|
-
.map((entry) => {
|
|
3166
|
-
if (entry === null) {
|
|
3167
|
-
return null;
|
|
3168
|
-
}
|
|
3169
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
2402
|
+
return (0, smithy_client_1.take)(output, {
|
|
2403
|
+
bandwidth: (_) => de_FrequencyBandwidth(_, context),
|
|
2404
|
+
centerFrequency: (_) => de_Frequency(_, context),
|
|
2405
|
+
polarization: smithy_client_1.expectString,
|
|
3170
2406
|
});
|
|
3171
|
-
return retVal;
|
|
3172
|
-
};
|
|
3173
|
-
const de_TagsMap = (output, context) => {
|
|
3174
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
3175
|
-
if (value === null) {
|
|
3176
|
-
return acc;
|
|
3177
|
-
}
|
|
3178
|
-
acc[key] = (0, smithy_client_1.expectString)(value);
|
|
3179
|
-
return acc;
|
|
3180
|
-
}, {});
|
|
3181
|
-
};
|
|
3182
|
-
const de_TrackingConfig = (output, context) => {
|
|
3183
|
-
return {
|
|
3184
|
-
autotrack: (0, smithy_client_1.expectString)(output.autotrack),
|
|
3185
|
-
};
|
|
3186
|
-
};
|
|
3187
|
-
const de_UplinkEchoConfig = (output, context) => {
|
|
3188
|
-
return {
|
|
3189
|
-
antennaUplinkConfigArn: (0, smithy_client_1.expectString)(output.antennaUplinkConfigArn),
|
|
3190
|
-
enabled: (0, smithy_client_1.expectBoolean)(output.enabled),
|
|
3191
|
-
};
|
|
3192
2407
|
};
|
|
3193
2408
|
const de_UplinkSpectrumConfig = (output, context) => {
|
|
3194
|
-
return {
|
|
3195
|
-
centerFrequency:
|
|
3196
|
-
polarization:
|
|
3197
|
-
};
|
|
2409
|
+
return (0, smithy_client_1.take)(output, {
|
|
2410
|
+
centerFrequency: (_) => de_Frequency(_, context),
|
|
2411
|
+
polarization: smithy_client_1.expectString,
|
|
2412
|
+
});
|
|
3198
2413
|
};
|
|
3199
2414
|
const deserializeMetadata = (output) => ({
|
|
3200
2415
|
httpStatusCode: output.statusCode,
|