@aws-sdk/client-groundstation 3.928.0 → 3.929.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/index.js +1590 -1734
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/GroundStationClient.js +2 -0
- package/dist-es/commands/CancelContactCommand.js +3 -9
- package/dist-es/commands/CreateConfigCommand.js +3 -9
- package/dist-es/commands/CreateDataflowEndpointGroupCommand.js +3 -9
- package/dist-es/commands/CreateDataflowEndpointGroupV2Command.js +3 -9
- package/dist-es/commands/CreateEphemerisCommand.js +3 -9
- package/dist-es/commands/CreateMissionProfileCommand.js +3 -9
- package/dist-es/commands/DeleteConfigCommand.js +3 -9
- package/dist-es/commands/DeleteDataflowEndpointGroupCommand.js +3 -9
- package/dist-es/commands/DeleteEphemerisCommand.js +3 -9
- package/dist-es/commands/DeleteMissionProfileCommand.js +3 -9
- package/dist-es/commands/DescribeContactCommand.js +3 -9
- package/dist-es/commands/DescribeEphemerisCommand.js +3 -9
- package/dist-es/commands/GetAgentConfigurationCommand.js +3 -9
- package/dist-es/commands/GetAgentTaskResponseUrlCommand.js +3 -9
- package/dist-es/commands/GetConfigCommand.js +3 -9
- package/dist-es/commands/GetDataflowEndpointGroupCommand.js +3 -9
- package/dist-es/commands/GetMinuteUsageCommand.js +3 -9
- package/dist-es/commands/GetMissionProfileCommand.js +3 -9
- package/dist-es/commands/GetSatelliteCommand.js +3 -9
- package/dist-es/commands/ListConfigsCommand.js +3 -9
- package/dist-es/commands/ListContactsCommand.js +3 -9
- package/dist-es/commands/ListDataflowEndpointGroupsCommand.js +3 -9
- package/dist-es/commands/ListEphemeridesCommand.js +3 -9
- package/dist-es/commands/ListGroundStationsCommand.js +3 -9
- package/dist-es/commands/ListMissionProfilesCommand.js +3 -9
- package/dist-es/commands/ListSatellitesCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/RegisterAgentCommand.js +3 -9
- package/dist-es/commands/ReserveContactCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateAgentStatusCommand.js +3 -9
- package/dist-es/commands/UpdateConfigCommand.js +3 -9
- package/dist-es/commands/UpdateEphemerisCommand.js +3 -9
- package/dist-es/commands/UpdateMissionProfileCommand.js +3 -9
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +1520 -0
- package/dist-types/GroundStationClient.d.ts +10 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +212 -0
- package/dist-types/ts3.4/GroundStationClient.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +217 -0
- package/package.json +2 -2
- package/dist-es/protocols/Aws_restJson1.js +0 -1476
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -317
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -425
|
@@ -1,1476 +0,0 @@
|
|
|
1
|
-
import { awsExpectUnion as __expectUnion, loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody, } from "@aws-sdk/core";
|
|
2
|
-
import { requestBuilder as rb } from "@smithy/core";
|
|
3
|
-
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, map, parseEpochTimestamp as __parseEpochTimestamp, serializeDateTime as __serializeDateTime, serializeFloat as __serializeFloat, take, withBaseException, } from "@smithy/smithy-client";
|
|
4
|
-
import { GroundStationServiceException as __BaseException } from "../models/GroundStationServiceException";
|
|
5
|
-
import { AzElSegmentsData, ConfigTypeData, DependencyException, EphemerisData, InvalidParameterException, ResourceInUseException, ResourceLimitExceededException, ResourceNotFoundException, ServiceQuotaExceededException, } from "../models/models_0";
|
|
6
|
-
export const se_CancelContactCommand = async (input, context) => {
|
|
7
|
-
const b = rb(input, context);
|
|
8
|
-
const headers = {};
|
|
9
|
-
b.bp("/contact/{contactId}");
|
|
10
|
-
b.p("contactId", () => input.contactId, "{contactId}", false);
|
|
11
|
-
let body;
|
|
12
|
-
b.m("DELETE").h(headers).b(body);
|
|
13
|
-
return b.build();
|
|
14
|
-
};
|
|
15
|
-
export const se_CreateConfigCommand = async (input, context) => {
|
|
16
|
-
const b = rb(input, context);
|
|
17
|
-
const headers = {
|
|
18
|
-
"content-type": "application/json",
|
|
19
|
-
};
|
|
20
|
-
b.bp("/config");
|
|
21
|
-
let body;
|
|
22
|
-
body = JSON.stringify(take(input, {
|
|
23
|
-
configData: (_) => se_ConfigTypeData(_, context),
|
|
24
|
-
name: [],
|
|
25
|
-
tags: (_) => _json(_),
|
|
26
|
-
}));
|
|
27
|
-
b.m("POST").h(headers).b(body);
|
|
28
|
-
return b.build();
|
|
29
|
-
};
|
|
30
|
-
export const se_CreateDataflowEndpointGroupCommand = async (input, context) => {
|
|
31
|
-
const b = rb(input, context);
|
|
32
|
-
const headers = {
|
|
33
|
-
"content-type": "application/json",
|
|
34
|
-
};
|
|
35
|
-
b.bp("/dataflowEndpointGroup");
|
|
36
|
-
let body;
|
|
37
|
-
body = JSON.stringify(take(input, {
|
|
38
|
-
contactPostPassDurationSeconds: [],
|
|
39
|
-
contactPrePassDurationSeconds: [],
|
|
40
|
-
endpointDetails: (_) => _json(_),
|
|
41
|
-
tags: (_) => _json(_),
|
|
42
|
-
}));
|
|
43
|
-
b.m("POST").h(headers).b(body);
|
|
44
|
-
return b.build();
|
|
45
|
-
};
|
|
46
|
-
export const se_CreateDataflowEndpointGroupV2Command = async (input, context) => {
|
|
47
|
-
const b = rb(input, context);
|
|
48
|
-
const headers = {
|
|
49
|
-
"content-type": "application/json",
|
|
50
|
-
};
|
|
51
|
-
b.bp("/dataflowEndpointGroupV2");
|
|
52
|
-
let body;
|
|
53
|
-
body = JSON.stringify(take(input, {
|
|
54
|
-
contactPostPassDurationSeconds: [],
|
|
55
|
-
contactPrePassDurationSeconds: [],
|
|
56
|
-
endpoints: (_) => _json(_),
|
|
57
|
-
tags: (_) => _json(_),
|
|
58
|
-
}));
|
|
59
|
-
b.m("POST").h(headers).b(body);
|
|
60
|
-
return b.build();
|
|
61
|
-
};
|
|
62
|
-
export const se_CreateEphemerisCommand = async (input, context) => {
|
|
63
|
-
const b = rb(input, context);
|
|
64
|
-
const headers = {
|
|
65
|
-
"content-type": "application/json",
|
|
66
|
-
};
|
|
67
|
-
b.bp("/ephemeris");
|
|
68
|
-
let body;
|
|
69
|
-
body = JSON.stringify(take(input, {
|
|
70
|
-
enabled: [],
|
|
71
|
-
ephemeris: (_) => se_EphemerisData(_, context),
|
|
72
|
-
expirationTime: (_) => _.getTime() / 1_000,
|
|
73
|
-
kmsKeyArn: [],
|
|
74
|
-
name: [],
|
|
75
|
-
priority: [],
|
|
76
|
-
satelliteId: [],
|
|
77
|
-
tags: (_) => _json(_),
|
|
78
|
-
}));
|
|
79
|
-
b.m("POST").h(headers).b(body);
|
|
80
|
-
return b.build();
|
|
81
|
-
};
|
|
82
|
-
export const se_CreateMissionProfileCommand = async (input, context) => {
|
|
83
|
-
const b = rb(input, context);
|
|
84
|
-
const headers = {
|
|
85
|
-
"content-type": "application/json",
|
|
86
|
-
};
|
|
87
|
-
b.bp("/missionprofile");
|
|
88
|
-
let body;
|
|
89
|
-
body = JSON.stringify(take(input, {
|
|
90
|
-
contactPostPassDurationSeconds: [],
|
|
91
|
-
contactPrePassDurationSeconds: [],
|
|
92
|
-
dataflowEdges: (_) => _json(_),
|
|
93
|
-
minimumViableContactDurationSeconds: [],
|
|
94
|
-
name: [],
|
|
95
|
-
streamsKmsKey: (_) => _json(_),
|
|
96
|
-
streamsKmsRole: [],
|
|
97
|
-
tags: (_) => _json(_),
|
|
98
|
-
trackingConfigArn: [],
|
|
99
|
-
}));
|
|
100
|
-
b.m("POST").h(headers).b(body);
|
|
101
|
-
return b.build();
|
|
102
|
-
};
|
|
103
|
-
export const se_DeleteConfigCommand = async (input, context) => {
|
|
104
|
-
const b = rb(input, context);
|
|
105
|
-
const headers = {};
|
|
106
|
-
b.bp("/config/{configType}/{configId}");
|
|
107
|
-
b.p("configId", () => input.configId, "{configId}", false);
|
|
108
|
-
b.p("configType", () => input.configType, "{configType}", false);
|
|
109
|
-
let body;
|
|
110
|
-
b.m("DELETE").h(headers).b(body);
|
|
111
|
-
return b.build();
|
|
112
|
-
};
|
|
113
|
-
export const se_DeleteDataflowEndpointGroupCommand = async (input, context) => {
|
|
114
|
-
const b = rb(input, context);
|
|
115
|
-
const headers = {};
|
|
116
|
-
b.bp("/dataflowEndpointGroup/{dataflowEndpointGroupId}");
|
|
117
|
-
b.p("dataflowEndpointGroupId", () => input.dataflowEndpointGroupId, "{dataflowEndpointGroupId}", false);
|
|
118
|
-
let body;
|
|
119
|
-
b.m("DELETE").h(headers).b(body);
|
|
120
|
-
return b.build();
|
|
121
|
-
};
|
|
122
|
-
export const se_DeleteEphemerisCommand = async (input, context) => {
|
|
123
|
-
const b = rb(input, context);
|
|
124
|
-
const headers = {};
|
|
125
|
-
b.bp("/ephemeris/{ephemerisId}");
|
|
126
|
-
b.p("ephemerisId", () => input.ephemerisId, "{ephemerisId}", false);
|
|
127
|
-
let body;
|
|
128
|
-
b.m("DELETE").h(headers).b(body);
|
|
129
|
-
return b.build();
|
|
130
|
-
};
|
|
131
|
-
export const se_DeleteMissionProfileCommand = async (input, context) => {
|
|
132
|
-
const b = rb(input, context);
|
|
133
|
-
const headers = {};
|
|
134
|
-
b.bp("/missionprofile/{missionProfileId}");
|
|
135
|
-
b.p("missionProfileId", () => input.missionProfileId, "{missionProfileId}", false);
|
|
136
|
-
let body;
|
|
137
|
-
b.m("DELETE").h(headers).b(body);
|
|
138
|
-
return b.build();
|
|
139
|
-
};
|
|
140
|
-
export const se_DescribeContactCommand = async (input, context) => {
|
|
141
|
-
const b = rb(input, context);
|
|
142
|
-
const headers = {};
|
|
143
|
-
b.bp("/contact/{contactId}");
|
|
144
|
-
b.p("contactId", () => input.contactId, "{contactId}", false);
|
|
145
|
-
let body;
|
|
146
|
-
b.m("GET").h(headers).b(body);
|
|
147
|
-
return b.build();
|
|
148
|
-
};
|
|
149
|
-
export const se_DescribeEphemerisCommand = async (input, context) => {
|
|
150
|
-
const b = rb(input, context);
|
|
151
|
-
const headers = {};
|
|
152
|
-
b.bp("/ephemeris/{ephemerisId}");
|
|
153
|
-
b.p("ephemerisId", () => input.ephemerisId, "{ephemerisId}", false);
|
|
154
|
-
let body;
|
|
155
|
-
b.m("GET").h(headers).b(body);
|
|
156
|
-
return b.build();
|
|
157
|
-
};
|
|
158
|
-
export const se_GetAgentConfigurationCommand = async (input, context) => {
|
|
159
|
-
const b = rb(input, context);
|
|
160
|
-
const headers = {};
|
|
161
|
-
b.bp("/agent/{agentId}/configuration");
|
|
162
|
-
b.p("agentId", () => input.agentId, "{agentId}", false);
|
|
163
|
-
let body;
|
|
164
|
-
b.m("GET").h(headers).b(body);
|
|
165
|
-
return b.build();
|
|
166
|
-
};
|
|
167
|
-
export const se_GetAgentTaskResponseUrlCommand = async (input, context) => {
|
|
168
|
-
const b = rb(input, context);
|
|
169
|
-
const headers = {};
|
|
170
|
-
b.bp("/agentResponseUrl/{agentId}/{taskId}");
|
|
171
|
-
b.p("agentId", () => input.agentId, "{agentId}", false);
|
|
172
|
-
b.p("taskId", () => input.taskId, "{taskId}", false);
|
|
173
|
-
let body;
|
|
174
|
-
b.m("GET").h(headers).b(body);
|
|
175
|
-
return b.build();
|
|
176
|
-
};
|
|
177
|
-
export const se_GetConfigCommand = async (input, context) => {
|
|
178
|
-
const b = rb(input, context);
|
|
179
|
-
const headers = {};
|
|
180
|
-
b.bp("/config/{configType}/{configId}");
|
|
181
|
-
b.p("configId", () => input.configId, "{configId}", false);
|
|
182
|
-
b.p("configType", () => input.configType, "{configType}", false);
|
|
183
|
-
let body;
|
|
184
|
-
b.m("GET").h(headers).b(body);
|
|
185
|
-
return b.build();
|
|
186
|
-
};
|
|
187
|
-
export const se_GetDataflowEndpointGroupCommand = async (input, context) => {
|
|
188
|
-
const b = rb(input, context);
|
|
189
|
-
const headers = {};
|
|
190
|
-
b.bp("/dataflowEndpointGroup/{dataflowEndpointGroupId}");
|
|
191
|
-
b.p("dataflowEndpointGroupId", () => input.dataflowEndpointGroupId, "{dataflowEndpointGroupId}", false);
|
|
192
|
-
let body;
|
|
193
|
-
b.m("GET").h(headers).b(body);
|
|
194
|
-
return b.build();
|
|
195
|
-
};
|
|
196
|
-
export const se_GetMinuteUsageCommand = async (input, context) => {
|
|
197
|
-
const b = rb(input, context);
|
|
198
|
-
const headers = {
|
|
199
|
-
"content-type": "application/json",
|
|
200
|
-
};
|
|
201
|
-
b.bp("/minute-usage");
|
|
202
|
-
let body;
|
|
203
|
-
body = JSON.stringify(take(input, {
|
|
204
|
-
month: [],
|
|
205
|
-
year: [],
|
|
206
|
-
}));
|
|
207
|
-
b.m("POST").h(headers).b(body);
|
|
208
|
-
return b.build();
|
|
209
|
-
};
|
|
210
|
-
export const se_GetMissionProfileCommand = async (input, context) => {
|
|
211
|
-
const b = rb(input, context);
|
|
212
|
-
const headers = {};
|
|
213
|
-
b.bp("/missionprofile/{missionProfileId}");
|
|
214
|
-
b.p("missionProfileId", () => input.missionProfileId, "{missionProfileId}", false);
|
|
215
|
-
let body;
|
|
216
|
-
b.m("GET").h(headers).b(body);
|
|
217
|
-
return b.build();
|
|
218
|
-
};
|
|
219
|
-
export const se_GetSatelliteCommand = async (input, context) => {
|
|
220
|
-
const b = rb(input, context);
|
|
221
|
-
const headers = {};
|
|
222
|
-
b.bp("/satellite/{satelliteId}");
|
|
223
|
-
b.p("satelliteId", () => input.satelliteId, "{satelliteId}", false);
|
|
224
|
-
let body;
|
|
225
|
-
b.m("GET").h(headers).b(body);
|
|
226
|
-
return b.build();
|
|
227
|
-
};
|
|
228
|
-
export const se_ListConfigsCommand = async (input, context) => {
|
|
229
|
-
const b = rb(input, context);
|
|
230
|
-
const headers = {};
|
|
231
|
-
b.bp("/config");
|
|
232
|
-
const query = map({
|
|
233
|
-
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
234
|
-
[_nT]: [, input[_nT]],
|
|
235
|
-
});
|
|
236
|
-
let body;
|
|
237
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
238
|
-
return b.build();
|
|
239
|
-
};
|
|
240
|
-
export const se_ListContactsCommand = async (input, context) => {
|
|
241
|
-
const b = rb(input, context);
|
|
242
|
-
const headers = {
|
|
243
|
-
"content-type": "application/json",
|
|
244
|
-
};
|
|
245
|
-
b.bp("/contacts");
|
|
246
|
-
let body;
|
|
247
|
-
body = JSON.stringify(take(input, {
|
|
248
|
-
endTime: (_) => _.getTime() / 1_000,
|
|
249
|
-
ephemeris: (_) => _json(_),
|
|
250
|
-
groundStation: [],
|
|
251
|
-
maxResults: [],
|
|
252
|
-
missionProfileArn: [],
|
|
253
|
-
nextToken: [],
|
|
254
|
-
satelliteArn: [],
|
|
255
|
-
startTime: (_) => _.getTime() / 1_000,
|
|
256
|
-
statusList: (_) => _json(_),
|
|
257
|
-
}));
|
|
258
|
-
b.m("POST").h(headers).b(body);
|
|
259
|
-
return b.build();
|
|
260
|
-
};
|
|
261
|
-
export const se_ListDataflowEndpointGroupsCommand = async (input, context) => {
|
|
262
|
-
const b = rb(input, context);
|
|
263
|
-
const headers = {};
|
|
264
|
-
b.bp("/dataflowEndpointGroup");
|
|
265
|
-
const query = map({
|
|
266
|
-
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
267
|
-
[_nT]: [, input[_nT]],
|
|
268
|
-
});
|
|
269
|
-
let body;
|
|
270
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
271
|
-
return b.build();
|
|
272
|
-
};
|
|
273
|
-
export const se_ListEphemeridesCommand = async (input, context) => {
|
|
274
|
-
const b = rb(input, context);
|
|
275
|
-
const headers = {
|
|
276
|
-
"content-type": "application/json",
|
|
277
|
-
};
|
|
278
|
-
b.bp("/ephemerides");
|
|
279
|
-
const query = map({
|
|
280
|
-
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
281
|
-
[_nT]: [, input[_nT]],
|
|
282
|
-
});
|
|
283
|
-
let body;
|
|
284
|
-
body = JSON.stringify(take(input, {
|
|
285
|
-
endTime: (_) => _.getTime() / 1_000,
|
|
286
|
-
ephemerisType: [],
|
|
287
|
-
satelliteId: [],
|
|
288
|
-
startTime: (_) => _.getTime() / 1_000,
|
|
289
|
-
statusList: (_) => _json(_),
|
|
290
|
-
}));
|
|
291
|
-
b.m("POST").h(headers).q(query).b(body);
|
|
292
|
-
return b.build();
|
|
293
|
-
};
|
|
294
|
-
export const se_ListGroundStationsCommand = async (input, context) => {
|
|
295
|
-
const b = rb(input, context);
|
|
296
|
-
const headers = {};
|
|
297
|
-
b.bp("/groundstation");
|
|
298
|
-
const query = map({
|
|
299
|
-
[_sI]: [, input[_sI]],
|
|
300
|
-
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
301
|
-
[_nT]: [, input[_nT]],
|
|
302
|
-
});
|
|
303
|
-
let body;
|
|
304
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
305
|
-
return b.build();
|
|
306
|
-
};
|
|
307
|
-
export const se_ListMissionProfilesCommand = async (input, context) => {
|
|
308
|
-
const b = rb(input, context);
|
|
309
|
-
const headers = {};
|
|
310
|
-
b.bp("/missionprofile");
|
|
311
|
-
const query = map({
|
|
312
|
-
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
313
|
-
[_nT]: [, input[_nT]],
|
|
314
|
-
});
|
|
315
|
-
let body;
|
|
316
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
317
|
-
return b.build();
|
|
318
|
-
};
|
|
319
|
-
export const se_ListSatellitesCommand = async (input, context) => {
|
|
320
|
-
const b = rb(input, context);
|
|
321
|
-
const headers = {};
|
|
322
|
-
b.bp("/satellite");
|
|
323
|
-
const query = map({
|
|
324
|
-
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
325
|
-
[_nT]: [, input[_nT]],
|
|
326
|
-
});
|
|
327
|
-
let body;
|
|
328
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
329
|
-
return b.build();
|
|
330
|
-
};
|
|
331
|
-
export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
332
|
-
const b = rb(input, context);
|
|
333
|
-
const headers = {};
|
|
334
|
-
b.bp("/tags/{resourceArn}");
|
|
335
|
-
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
336
|
-
let body;
|
|
337
|
-
b.m("GET").h(headers).b(body);
|
|
338
|
-
return b.build();
|
|
339
|
-
};
|
|
340
|
-
export const se_RegisterAgentCommand = async (input, context) => {
|
|
341
|
-
const b = rb(input, context);
|
|
342
|
-
const headers = {
|
|
343
|
-
"content-type": "application/json",
|
|
344
|
-
};
|
|
345
|
-
b.bp("/agent");
|
|
346
|
-
let body;
|
|
347
|
-
body = JSON.stringify(take(input, {
|
|
348
|
-
agentDetails: (_) => _json(_),
|
|
349
|
-
discoveryData: (_) => _json(_),
|
|
350
|
-
tags: (_) => _json(_),
|
|
351
|
-
}));
|
|
352
|
-
b.m("POST").h(headers).b(body);
|
|
353
|
-
return b.build();
|
|
354
|
-
};
|
|
355
|
-
export const se_ReserveContactCommand = async (input, context) => {
|
|
356
|
-
const b = rb(input, context);
|
|
357
|
-
const headers = {
|
|
358
|
-
"content-type": "application/json",
|
|
359
|
-
};
|
|
360
|
-
b.bp("/contact");
|
|
361
|
-
let body;
|
|
362
|
-
body = JSON.stringify(take(input, {
|
|
363
|
-
endTime: (_) => _.getTime() / 1_000,
|
|
364
|
-
groundStation: [],
|
|
365
|
-
missionProfileArn: [],
|
|
366
|
-
satelliteArn: [],
|
|
367
|
-
startTime: (_) => _.getTime() / 1_000,
|
|
368
|
-
tags: (_) => _json(_),
|
|
369
|
-
trackingOverrides: (_) => _json(_),
|
|
370
|
-
}));
|
|
371
|
-
b.m("POST").h(headers).b(body);
|
|
372
|
-
return b.build();
|
|
373
|
-
};
|
|
374
|
-
export const se_TagResourceCommand = async (input, context) => {
|
|
375
|
-
const b = rb(input, context);
|
|
376
|
-
const headers = {
|
|
377
|
-
"content-type": "application/json",
|
|
378
|
-
};
|
|
379
|
-
b.bp("/tags/{resourceArn}");
|
|
380
|
-
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
381
|
-
let body;
|
|
382
|
-
body = JSON.stringify(take(input, {
|
|
383
|
-
tags: (_) => _json(_),
|
|
384
|
-
}));
|
|
385
|
-
b.m("POST").h(headers).b(body);
|
|
386
|
-
return b.build();
|
|
387
|
-
};
|
|
388
|
-
export const se_UntagResourceCommand = async (input, context) => {
|
|
389
|
-
const b = rb(input, context);
|
|
390
|
-
const headers = {};
|
|
391
|
-
b.bp("/tags/{resourceArn}");
|
|
392
|
-
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
393
|
-
const query = map({
|
|
394
|
-
[_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []],
|
|
395
|
-
});
|
|
396
|
-
let body;
|
|
397
|
-
b.m("DELETE").h(headers).q(query).b(body);
|
|
398
|
-
return b.build();
|
|
399
|
-
};
|
|
400
|
-
export const se_UpdateAgentStatusCommand = async (input, context) => {
|
|
401
|
-
const b = rb(input, context);
|
|
402
|
-
const headers = {
|
|
403
|
-
"content-type": "application/json",
|
|
404
|
-
};
|
|
405
|
-
b.bp("/agent/{agentId}");
|
|
406
|
-
b.p("agentId", () => input.agentId, "{agentId}", false);
|
|
407
|
-
let body;
|
|
408
|
-
body = JSON.stringify(take(input, {
|
|
409
|
-
aggregateStatus: (_) => _json(_),
|
|
410
|
-
componentStatuses: (_) => _json(_),
|
|
411
|
-
taskId: [],
|
|
412
|
-
}));
|
|
413
|
-
b.m("PUT").h(headers).b(body);
|
|
414
|
-
return b.build();
|
|
415
|
-
};
|
|
416
|
-
export const se_UpdateConfigCommand = async (input, context) => {
|
|
417
|
-
const b = rb(input, context);
|
|
418
|
-
const headers = {
|
|
419
|
-
"content-type": "application/json",
|
|
420
|
-
};
|
|
421
|
-
b.bp("/config/{configType}/{configId}");
|
|
422
|
-
b.p("configId", () => input.configId, "{configId}", false);
|
|
423
|
-
b.p("configType", () => input.configType, "{configType}", false);
|
|
424
|
-
let body;
|
|
425
|
-
body = JSON.stringify(take(input, {
|
|
426
|
-
configData: (_) => se_ConfigTypeData(_, context),
|
|
427
|
-
name: [],
|
|
428
|
-
}));
|
|
429
|
-
b.m("PUT").h(headers).b(body);
|
|
430
|
-
return b.build();
|
|
431
|
-
};
|
|
432
|
-
export const se_UpdateEphemerisCommand = async (input, context) => {
|
|
433
|
-
const b = rb(input, context);
|
|
434
|
-
const headers = {
|
|
435
|
-
"content-type": "application/json",
|
|
436
|
-
};
|
|
437
|
-
b.bp("/ephemeris/{ephemerisId}");
|
|
438
|
-
b.p("ephemerisId", () => input.ephemerisId, "{ephemerisId}", false);
|
|
439
|
-
let body;
|
|
440
|
-
body = JSON.stringify(take(input, {
|
|
441
|
-
enabled: [],
|
|
442
|
-
name: [],
|
|
443
|
-
priority: [],
|
|
444
|
-
}));
|
|
445
|
-
b.m("PUT").h(headers).b(body);
|
|
446
|
-
return b.build();
|
|
447
|
-
};
|
|
448
|
-
export const se_UpdateMissionProfileCommand = async (input, context) => {
|
|
449
|
-
const b = rb(input, context);
|
|
450
|
-
const headers = {
|
|
451
|
-
"content-type": "application/json",
|
|
452
|
-
};
|
|
453
|
-
b.bp("/missionprofile/{missionProfileId}");
|
|
454
|
-
b.p("missionProfileId", () => input.missionProfileId, "{missionProfileId}", false);
|
|
455
|
-
let body;
|
|
456
|
-
body = JSON.stringify(take(input, {
|
|
457
|
-
contactPostPassDurationSeconds: [],
|
|
458
|
-
contactPrePassDurationSeconds: [],
|
|
459
|
-
dataflowEdges: (_) => _json(_),
|
|
460
|
-
minimumViableContactDurationSeconds: [],
|
|
461
|
-
name: [],
|
|
462
|
-
streamsKmsKey: (_) => _json(_),
|
|
463
|
-
streamsKmsRole: [],
|
|
464
|
-
trackingConfigArn: [],
|
|
465
|
-
}));
|
|
466
|
-
b.m("PUT").h(headers).b(body);
|
|
467
|
-
return b.build();
|
|
468
|
-
};
|
|
469
|
-
export const de_CancelContactCommand = async (output, context) => {
|
|
470
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
471
|
-
return de_CommandError(output, context);
|
|
472
|
-
}
|
|
473
|
-
const contents = map({
|
|
474
|
-
$metadata: deserializeMetadata(output),
|
|
475
|
-
});
|
|
476
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
477
|
-
const doc = take(data, {
|
|
478
|
-
contactId: __expectString,
|
|
479
|
-
});
|
|
480
|
-
Object.assign(contents, doc);
|
|
481
|
-
return contents;
|
|
482
|
-
};
|
|
483
|
-
export const de_CreateConfigCommand = async (output, context) => {
|
|
484
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
485
|
-
return de_CommandError(output, context);
|
|
486
|
-
}
|
|
487
|
-
const contents = map({
|
|
488
|
-
$metadata: deserializeMetadata(output),
|
|
489
|
-
});
|
|
490
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
491
|
-
const doc = take(data, {
|
|
492
|
-
configArn: __expectString,
|
|
493
|
-
configId: __expectString,
|
|
494
|
-
configType: __expectString,
|
|
495
|
-
});
|
|
496
|
-
Object.assign(contents, doc);
|
|
497
|
-
return contents;
|
|
498
|
-
};
|
|
499
|
-
export const de_CreateDataflowEndpointGroupCommand = async (output, context) => {
|
|
500
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
501
|
-
return de_CommandError(output, context);
|
|
502
|
-
}
|
|
503
|
-
const contents = map({
|
|
504
|
-
$metadata: deserializeMetadata(output),
|
|
505
|
-
});
|
|
506
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
507
|
-
const doc = take(data, {
|
|
508
|
-
dataflowEndpointGroupId: __expectString,
|
|
509
|
-
});
|
|
510
|
-
Object.assign(contents, doc);
|
|
511
|
-
return contents;
|
|
512
|
-
};
|
|
513
|
-
export const de_CreateDataflowEndpointGroupV2Command = async (output, context) => {
|
|
514
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
515
|
-
return de_CommandError(output, context);
|
|
516
|
-
}
|
|
517
|
-
const contents = map({
|
|
518
|
-
$metadata: deserializeMetadata(output),
|
|
519
|
-
});
|
|
520
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
521
|
-
const doc = take(data, {
|
|
522
|
-
dataflowEndpointGroupId: __expectString,
|
|
523
|
-
});
|
|
524
|
-
Object.assign(contents, doc);
|
|
525
|
-
return contents;
|
|
526
|
-
};
|
|
527
|
-
export const de_CreateEphemerisCommand = async (output, context) => {
|
|
528
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
529
|
-
return de_CommandError(output, context);
|
|
530
|
-
}
|
|
531
|
-
const contents = map({
|
|
532
|
-
$metadata: deserializeMetadata(output),
|
|
533
|
-
});
|
|
534
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
535
|
-
const doc = take(data, {
|
|
536
|
-
ephemerisId: __expectString,
|
|
537
|
-
});
|
|
538
|
-
Object.assign(contents, doc);
|
|
539
|
-
return contents;
|
|
540
|
-
};
|
|
541
|
-
export const de_CreateMissionProfileCommand = async (output, context) => {
|
|
542
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
543
|
-
return de_CommandError(output, context);
|
|
544
|
-
}
|
|
545
|
-
const contents = map({
|
|
546
|
-
$metadata: deserializeMetadata(output),
|
|
547
|
-
});
|
|
548
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
549
|
-
const doc = take(data, {
|
|
550
|
-
missionProfileId: __expectString,
|
|
551
|
-
});
|
|
552
|
-
Object.assign(contents, doc);
|
|
553
|
-
return contents;
|
|
554
|
-
};
|
|
555
|
-
export const de_DeleteConfigCommand = async (output, context) => {
|
|
556
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
557
|
-
return de_CommandError(output, context);
|
|
558
|
-
}
|
|
559
|
-
const contents = map({
|
|
560
|
-
$metadata: deserializeMetadata(output),
|
|
561
|
-
});
|
|
562
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
563
|
-
const doc = take(data, {
|
|
564
|
-
configArn: __expectString,
|
|
565
|
-
configId: __expectString,
|
|
566
|
-
configType: __expectString,
|
|
567
|
-
});
|
|
568
|
-
Object.assign(contents, doc);
|
|
569
|
-
return contents;
|
|
570
|
-
};
|
|
571
|
-
export const de_DeleteDataflowEndpointGroupCommand = async (output, context) => {
|
|
572
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
573
|
-
return de_CommandError(output, context);
|
|
574
|
-
}
|
|
575
|
-
const contents = map({
|
|
576
|
-
$metadata: deserializeMetadata(output),
|
|
577
|
-
});
|
|
578
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
579
|
-
const doc = take(data, {
|
|
580
|
-
dataflowEndpointGroupId: __expectString,
|
|
581
|
-
});
|
|
582
|
-
Object.assign(contents, doc);
|
|
583
|
-
return contents;
|
|
584
|
-
};
|
|
585
|
-
export const de_DeleteEphemerisCommand = async (output, context) => {
|
|
586
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
587
|
-
return de_CommandError(output, context);
|
|
588
|
-
}
|
|
589
|
-
const contents = map({
|
|
590
|
-
$metadata: deserializeMetadata(output),
|
|
591
|
-
});
|
|
592
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
593
|
-
const doc = take(data, {
|
|
594
|
-
ephemerisId: __expectString,
|
|
595
|
-
});
|
|
596
|
-
Object.assign(contents, doc);
|
|
597
|
-
return contents;
|
|
598
|
-
};
|
|
599
|
-
export const de_DeleteMissionProfileCommand = async (output, context) => {
|
|
600
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
601
|
-
return de_CommandError(output, context);
|
|
602
|
-
}
|
|
603
|
-
const contents = map({
|
|
604
|
-
$metadata: deserializeMetadata(output),
|
|
605
|
-
});
|
|
606
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
607
|
-
const doc = take(data, {
|
|
608
|
-
missionProfileId: __expectString,
|
|
609
|
-
});
|
|
610
|
-
Object.assign(contents, doc);
|
|
611
|
-
return contents;
|
|
612
|
-
};
|
|
613
|
-
export const de_DescribeContactCommand = async (output, context) => {
|
|
614
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
615
|
-
return de_CommandError(output, context);
|
|
616
|
-
}
|
|
617
|
-
const contents = map({
|
|
618
|
-
$metadata: deserializeMetadata(output),
|
|
619
|
-
});
|
|
620
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
621
|
-
const doc = take(data, {
|
|
622
|
-
contactId: __expectString,
|
|
623
|
-
contactStatus: __expectString,
|
|
624
|
-
dataflowList: (_) => de_DataflowList(_, context),
|
|
625
|
-
endTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
626
|
-
ephemeris: _json,
|
|
627
|
-
errorMessage: __expectString,
|
|
628
|
-
groundStation: __expectString,
|
|
629
|
-
maximumElevation: (_) => de_Elevation(_, context),
|
|
630
|
-
missionProfileArn: __expectString,
|
|
631
|
-
postPassEndTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
632
|
-
prePassStartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
633
|
-
region: __expectString,
|
|
634
|
-
satelliteArn: __expectString,
|
|
635
|
-
startTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
636
|
-
tags: _json,
|
|
637
|
-
trackingOverrides: _json,
|
|
638
|
-
visibilityEndTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
639
|
-
visibilityStartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
640
|
-
});
|
|
641
|
-
Object.assign(contents, doc);
|
|
642
|
-
return contents;
|
|
643
|
-
};
|
|
644
|
-
export const de_DescribeEphemerisCommand = async (output, context) => {
|
|
645
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
646
|
-
return de_CommandError(output, context);
|
|
647
|
-
}
|
|
648
|
-
const contents = map({
|
|
649
|
-
$metadata: deserializeMetadata(output),
|
|
650
|
-
});
|
|
651
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
652
|
-
const doc = take(data, {
|
|
653
|
-
creationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
654
|
-
enabled: __expectBoolean,
|
|
655
|
-
ephemerisId: __expectString,
|
|
656
|
-
errorReasons: _json,
|
|
657
|
-
invalidReason: __expectString,
|
|
658
|
-
name: __expectString,
|
|
659
|
-
priority: __expectInt32,
|
|
660
|
-
satelliteId: __expectString,
|
|
661
|
-
status: __expectString,
|
|
662
|
-
suppliedData: (_) => _json(__expectUnion(_)),
|
|
663
|
-
tags: _json,
|
|
664
|
-
});
|
|
665
|
-
Object.assign(contents, doc);
|
|
666
|
-
return contents;
|
|
667
|
-
};
|
|
668
|
-
export const de_GetAgentConfigurationCommand = async (output, context) => {
|
|
669
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
670
|
-
return de_CommandError(output, context);
|
|
671
|
-
}
|
|
672
|
-
const contents = map({
|
|
673
|
-
$metadata: deserializeMetadata(output),
|
|
674
|
-
});
|
|
675
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
676
|
-
const doc = take(data, {
|
|
677
|
-
agentId: __expectString,
|
|
678
|
-
taskingDocument: __expectString,
|
|
679
|
-
});
|
|
680
|
-
Object.assign(contents, doc);
|
|
681
|
-
return contents;
|
|
682
|
-
};
|
|
683
|
-
export const de_GetAgentTaskResponseUrlCommand = async (output, context) => {
|
|
684
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
685
|
-
return de_CommandError(output, context);
|
|
686
|
-
}
|
|
687
|
-
const contents = map({
|
|
688
|
-
$metadata: deserializeMetadata(output),
|
|
689
|
-
});
|
|
690
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
691
|
-
const doc = take(data, {
|
|
692
|
-
agentId: __expectString,
|
|
693
|
-
presignedLogUrl: __expectString,
|
|
694
|
-
taskId: __expectString,
|
|
695
|
-
});
|
|
696
|
-
Object.assign(contents, doc);
|
|
697
|
-
return contents;
|
|
698
|
-
};
|
|
699
|
-
export const de_GetConfigCommand = async (output, context) => {
|
|
700
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
701
|
-
return de_CommandError(output, context);
|
|
702
|
-
}
|
|
703
|
-
const contents = map({
|
|
704
|
-
$metadata: deserializeMetadata(output),
|
|
705
|
-
});
|
|
706
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
707
|
-
const doc = take(data, {
|
|
708
|
-
configArn: __expectString,
|
|
709
|
-
configData: (_) => de_ConfigTypeData(__expectUnion(_), context),
|
|
710
|
-
configId: __expectString,
|
|
711
|
-
configType: __expectString,
|
|
712
|
-
name: __expectString,
|
|
713
|
-
tags: _json,
|
|
714
|
-
});
|
|
715
|
-
Object.assign(contents, doc);
|
|
716
|
-
return contents;
|
|
717
|
-
};
|
|
718
|
-
export const de_GetDataflowEndpointGroupCommand = async (output, context) => {
|
|
719
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
720
|
-
return de_CommandError(output, context);
|
|
721
|
-
}
|
|
722
|
-
const contents = map({
|
|
723
|
-
$metadata: deserializeMetadata(output),
|
|
724
|
-
});
|
|
725
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
726
|
-
const doc = take(data, {
|
|
727
|
-
contactPostPassDurationSeconds: __expectInt32,
|
|
728
|
-
contactPrePassDurationSeconds: __expectInt32,
|
|
729
|
-
dataflowEndpointGroupArn: __expectString,
|
|
730
|
-
dataflowEndpointGroupId: __expectString,
|
|
731
|
-
endpointsDetails: _json,
|
|
732
|
-
tags: _json,
|
|
733
|
-
});
|
|
734
|
-
Object.assign(contents, doc);
|
|
735
|
-
return contents;
|
|
736
|
-
};
|
|
737
|
-
export const de_GetMinuteUsageCommand = async (output, context) => {
|
|
738
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
739
|
-
return de_CommandError(output, context);
|
|
740
|
-
}
|
|
741
|
-
const contents = map({
|
|
742
|
-
$metadata: deserializeMetadata(output),
|
|
743
|
-
});
|
|
744
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
745
|
-
const doc = take(data, {
|
|
746
|
-
estimatedMinutesRemaining: __expectInt32,
|
|
747
|
-
isReservedMinutesCustomer: __expectBoolean,
|
|
748
|
-
totalReservedMinuteAllocation: __expectInt32,
|
|
749
|
-
totalScheduledMinutes: __expectInt32,
|
|
750
|
-
upcomingMinutesScheduled: __expectInt32,
|
|
751
|
-
});
|
|
752
|
-
Object.assign(contents, doc);
|
|
753
|
-
return contents;
|
|
754
|
-
};
|
|
755
|
-
export const de_GetMissionProfileCommand = async (output, context) => {
|
|
756
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
757
|
-
return de_CommandError(output, context);
|
|
758
|
-
}
|
|
759
|
-
const contents = map({
|
|
760
|
-
$metadata: deserializeMetadata(output),
|
|
761
|
-
});
|
|
762
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
763
|
-
const doc = take(data, {
|
|
764
|
-
contactPostPassDurationSeconds: __expectInt32,
|
|
765
|
-
contactPrePassDurationSeconds: __expectInt32,
|
|
766
|
-
dataflowEdges: _json,
|
|
767
|
-
minimumViableContactDurationSeconds: __expectInt32,
|
|
768
|
-
missionProfileArn: __expectString,
|
|
769
|
-
missionProfileId: __expectString,
|
|
770
|
-
name: __expectString,
|
|
771
|
-
region: __expectString,
|
|
772
|
-
streamsKmsKey: (_) => _json(__expectUnion(_)),
|
|
773
|
-
streamsKmsRole: __expectString,
|
|
774
|
-
tags: _json,
|
|
775
|
-
trackingConfigArn: __expectString,
|
|
776
|
-
});
|
|
777
|
-
Object.assign(contents, doc);
|
|
778
|
-
return contents;
|
|
779
|
-
};
|
|
780
|
-
export const de_GetSatelliteCommand = async (output, context) => {
|
|
781
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
782
|
-
return de_CommandError(output, context);
|
|
783
|
-
}
|
|
784
|
-
const contents = map({
|
|
785
|
-
$metadata: deserializeMetadata(output),
|
|
786
|
-
});
|
|
787
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
788
|
-
const doc = take(data, {
|
|
789
|
-
currentEphemeris: (_) => de_EphemerisMetaData(_, context),
|
|
790
|
-
groundStations: _json,
|
|
791
|
-
noradSatelliteID: __expectInt32,
|
|
792
|
-
satelliteArn: __expectString,
|
|
793
|
-
satelliteId: __expectString,
|
|
794
|
-
});
|
|
795
|
-
Object.assign(contents, doc);
|
|
796
|
-
return contents;
|
|
797
|
-
};
|
|
798
|
-
export const de_ListConfigsCommand = async (output, context) => {
|
|
799
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
800
|
-
return de_CommandError(output, context);
|
|
801
|
-
}
|
|
802
|
-
const contents = map({
|
|
803
|
-
$metadata: deserializeMetadata(output),
|
|
804
|
-
});
|
|
805
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
806
|
-
const doc = take(data, {
|
|
807
|
-
configList: _json,
|
|
808
|
-
nextToken: __expectString,
|
|
809
|
-
});
|
|
810
|
-
Object.assign(contents, doc);
|
|
811
|
-
return contents;
|
|
812
|
-
};
|
|
813
|
-
export const de_ListContactsCommand = async (output, context) => {
|
|
814
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
815
|
-
return de_CommandError(output, context);
|
|
816
|
-
}
|
|
817
|
-
const contents = map({
|
|
818
|
-
$metadata: deserializeMetadata(output),
|
|
819
|
-
});
|
|
820
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
821
|
-
const doc = take(data, {
|
|
822
|
-
contactList: (_) => de_ContactList(_, context),
|
|
823
|
-
nextToken: __expectString,
|
|
824
|
-
});
|
|
825
|
-
Object.assign(contents, doc);
|
|
826
|
-
return contents;
|
|
827
|
-
};
|
|
828
|
-
export const de_ListDataflowEndpointGroupsCommand = async (output, context) => {
|
|
829
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
830
|
-
return de_CommandError(output, context);
|
|
831
|
-
}
|
|
832
|
-
const contents = map({
|
|
833
|
-
$metadata: deserializeMetadata(output),
|
|
834
|
-
});
|
|
835
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
836
|
-
const doc = take(data, {
|
|
837
|
-
dataflowEndpointGroupList: _json,
|
|
838
|
-
nextToken: __expectString,
|
|
839
|
-
});
|
|
840
|
-
Object.assign(contents, doc);
|
|
841
|
-
return contents;
|
|
842
|
-
};
|
|
843
|
-
export const de_ListEphemeridesCommand = async (output, context) => {
|
|
844
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
845
|
-
return de_CommandError(output, context);
|
|
846
|
-
}
|
|
847
|
-
const contents = map({
|
|
848
|
-
$metadata: deserializeMetadata(output),
|
|
849
|
-
});
|
|
850
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
851
|
-
const doc = take(data, {
|
|
852
|
-
ephemerides: (_) => de_EphemeridesList(_, context),
|
|
853
|
-
nextToken: __expectString,
|
|
854
|
-
});
|
|
855
|
-
Object.assign(contents, doc);
|
|
856
|
-
return contents;
|
|
857
|
-
};
|
|
858
|
-
export const de_ListGroundStationsCommand = async (output, context) => {
|
|
859
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
860
|
-
return de_CommandError(output, context);
|
|
861
|
-
}
|
|
862
|
-
const contents = map({
|
|
863
|
-
$metadata: deserializeMetadata(output),
|
|
864
|
-
});
|
|
865
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
866
|
-
const doc = take(data, {
|
|
867
|
-
groundStationList: _json,
|
|
868
|
-
nextToken: __expectString,
|
|
869
|
-
});
|
|
870
|
-
Object.assign(contents, doc);
|
|
871
|
-
return contents;
|
|
872
|
-
};
|
|
873
|
-
export const de_ListMissionProfilesCommand = async (output, context) => {
|
|
874
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
875
|
-
return de_CommandError(output, context);
|
|
876
|
-
}
|
|
877
|
-
const contents = map({
|
|
878
|
-
$metadata: deserializeMetadata(output),
|
|
879
|
-
});
|
|
880
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
881
|
-
const doc = take(data, {
|
|
882
|
-
missionProfileList: _json,
|
|
883
|
-
nextToken: __expectString,
|
|
884
|
-
});
|
|
885
|
-
Object.assign(contents, doc);
|
|
886
|
-
return contents;
|
|
887
|
-
};
|
|
888
|
-
export const de_ListSatellitesCommand = async (output, context) => {
|
|
889
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
890
|
-
return de_CommandError(output, context);
|
|
891
|
-
}
|
|
892
|
-
const contents = map({
|
|
893
|
-
$metadata: deserializeMetadata(output),
|
|
894
|
-
});
|
|
895
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
896
|
-
const doc = take(data, {
|
|
897
|
-
nextToken: __expectString,
|
|
898
|
-
satellites: (_) => de_SatelliteList(_, context),
|
|
899
|
-
});
|
|
900
|
-
Object.assign(contents, doc);
|
|
901
|
-
return contents;
|
|
902
|
-
};
|
|
903
|
-
export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
904
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
905
|
-
return de_CommandError(output, context);
|
|
906
|
-
}
|
|
907
|
-
const contents = map({
|
|
908
|
-
$metadata: deserializeMetadata(output),
|
|
909
|
-
});
|
|
910
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
911
|
-
const doc = take(data, {
|
|
912
|
-
tags: _json,
|
|
913
|
-
});
|
|
914
|
-
Object.assign(contents, doc);
|
|
915
|
-
return contents;
|
|
916
|
-
};
|
|
917
|
-
export const de_RegisterAgentCommand = async (output, context) => {
|
|
918
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
919
|
-
return de_CommandError(output, context);
|
|
920
|
-
}
|
|
921
|
-
const contents = map({
|
|
922
|
-
$metadata: deserializeMetadata(output),
|
|
923
|
-
});
|
|
924
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
925
|
-
const doc = take(data, {
|
|
926
|
-
agentId: __expectString,
|
|
927
|
-
});
|
|
928
|
-
Object.assign(contents, doc);
|
|
929
|
-
return contents;
|
|
930
|
-
};
|
|
931
|
-
export const de_ReserveContactCommand = async (output, context) => {
|
|
932
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
933
|
-
return de_CommandError(output, context);
|
|
934
|
-
}
|
|
935
|
-
const contents = map({
|
|
936
|
-
$metadata: deserializeMetadata(output),
|
|
937
|
-
});
|
|
938
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
939
|
-
const doc = take(data, {
|
|
940
|
-
contactId: __expectString,
|
|
941
|
-
});
|
|
942
|
-
Object.assign(contents, doc);
|
|
943
|
-
return contents;
|
|
944
|
-
};
|
|
945
|
-
export const de_TagResourceCommand = async (output, context) => {
|
|
946
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
947
|
-
return de_CommandError(output, context);
|
|
948
|
-
}
|
|
949
|
-
const contents = map({
|
|
950
|
-
$metadata: deserializeMetadata(output),
|
|
951
|
-
});
|
|
952
|
-
await collectBody(output.body, context);
|
|
953
|
-
return contents;
|
|
954
|
-
};
|
|
955
|
-
export const de_UntagResourceCommand = async (output, context) => {
|
|
956
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
957
|
-
return de_CommandError(output, context);
|
|
958
|
-
}
|
|
959
|
-
const contents = map({
|
|
960
|
-
$metadata: deserializeMetadata(output),
|
|
961
|
-
});
|
|
962
|
-
await collectBody(output.body, context);
|
|
963
|
-
return contents;
|
|
964
|
-
};
|
|
965
|
-
export const de_UpdateAgentStatusCommand = async (output, context) => {
|
|
966
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
967
|
-
return de_CommandError(output, context);
|
|
968
|
-
}
|
|
969
|
-
const contents = map({
|
|
970
|
-
$metadata: deserializeMetadata(output),
|
|
971
|
-
});
|
|
972
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
973
|
-
const doc = take(data, {
|
|
974
|
-
agentId: __expectString,
|
|
975
|
-
});
|
|
976
|
-
Object.assign(contents, doc);
|
|
977
|
-
return contents;
|
|
978
|
-
};
|
|
979
|
-
export const de_UpdateConfigCommand = async (output, context) => {
|
|
980
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
981
|
-
return de_CommandError(output, context);
|
|
982
|
-
}
|
|
983
|
-
const contents = map({
|
|
984
|
-
$metadata: deserializeMetadata(output),
|
|
985
|
-
});
|
|
986
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
987
|
-
const doc = take(data, {
|
|
988
|
-
configArn: __expectString,
|
|
989
|
-
configId: __expectString,
|
|
990
|
-
configType: __expectString,
|
|
991
|
-
});
|
|
992
|
-
Object.assign(contents, doc);
|
|
993
|
-
return contents;
|
|
994
|
-
};
|
|
995
|
-
export const de_UpdateEphemerisCommand = async (output, context) => {
|
|
996
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
997
|
-
return de_CommandError(output, context);
|
|
998
|
-
}
|
|
999
|
-
const contents = map({
|
|
1000
|
-
$metadata: deserializeMetadata(output),
|
|
1001
|
-
});
|
|
1002
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1003
|
-
const doc = take(data, {
|
|
1004
|
-
ephemerisId: __expectString,
|
|
1005
|
-
});
|
|
1006
|
-
Object.assign(contents, doc);
|
|
1007
|
-
return contents;
|
|
1008
|
-
};
|
|
1009
|
-
export const de_UpdateMissionProfileCommand = async (output, context) => {
|
|
1010
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1011
|
-
return de_CommandError(output, context);
|
|
1012
|
-
}
|
|
1013
|
-
const contents = map({
|
|
1014
|
-
$metadata: deserializeMetadata(output),
|
|
1015
|
-
});
|
|
1016
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1017
|
-
const doc = take(data, {
|
|
1018
|
-
missionProfileId: __expectString,
|
|
1019
|
-
});
|
|
1020
|
-
Object.assign(contents, doc);
|
|
1021
|
-
return contents;
|
|
1022
|
-
};
|
|
1023
|
-
const de_CommandError = async (output, context) => {
|
|
1024
|
-
const parsedOutput = {
|
|
1025
|
-
...output,
|
|
1026
|
-
body: await parseErrorBody(output.body, context),
|
|
1027
|
-
};
|
|
1028
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1029
|
-
switch (errorCode) {
|
|
1030
|
-
case "DependencyException":
|
|
1031
|
-
case "com.amazonaws.groundstation#DependencyException":
|
|
1032
|
-
throw await de_DependencyExceptionRes(parsedOutput, context);
|
|
1033
|
-
case "InvalidParameterException":
|
|
1034
|
-
case "com.amazonaws.groundstation#InvalidParameterException":
|
|
1035
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1036
|
-
case "ResourceNotFoundException":
|
|
1037
|
-
case "com.amazonaws.groundstation#ResourceNotFoundException":
|
|
1038
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1039
|
-
case "ResourceLimitExceededException":
|
|
1040
|
-
case "com.amazonaws.groundstation#ResourceLimitExceededException":
|
|
1041
|
-
throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
|
|
1042
|
-
case "ServiceQuotaExceededException":
|
|
1043
|
-
case "com.amazonaws.groundstation#ServiceQuotaExceededException":
|
|
1044
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1045
|
-
case "ResourceInUseException":
|
|
1046
|
-
case "com.amazonaws.groundstation#ResourceInUseException":
|
|
1047
|
-
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
1048
|
-
default:
|
|
1049
|
-
const parsedBody = parsedOutput.body;
|
|
1050
|
-
return throwDefaultError({
|
|
1051
|
-
output,
|
|
1052
|
-
parsedBody,
|
|
1053
|
-
errorCode,
|
|
1054
|
-
});
|
|
1055
|
-
}
|
|
1056
|
-
};
|
|
1057
|
-
const throwDefaultError = withBaseException(__BaseException);
|
|
1058
|
-
const de_DependencyExceptionRes = async (parsedOutput, context) => {
|
|
1059
|
-
const contents = map({});
|
|
1060
|
-
const data = parsedOutput.body;
|
|
1061
|
-
const doc = take(data, {
|
|
1062
|
-
message: __expectString,
|
|
1063
|
-
parameterName: __expectString,
|
|
1064
|
-
});
|
|
1065
|
-
Object.assign(contents, doc);
|
|
1066
|
-
const exception = new DependencyException({
|
|
1067
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1068
|
-
...contents,
|
|
1069
|
-
});
|
|
1070
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1071
|
-
};
|
|
1072
|
-
const de_InvalidParameterExceptionRes = async (parsedOutput, context) => {
|
|
1073
|
-
const contents = map({});
|
|
1074
|
-
const data = parsedOutput.body;
|
|
1075
|
-
const doc = take(data, {
|
|
1076
|
-
message: __expectString,
|
|
1077
|
-
parameterName: __expectString,
|
|
1078
|
-
});
|
|
1079
|
-
Object.assign(contents, doc);
|
|
1080
|
-
const exception = new InvalidParameterException({
|
|
1081
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1082
|
-
...contents,
|
|
1083
|
-
});
|
|
1084
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1085
|
-
};
|
|
1086
|
-
const de_ResourceInUseExceptionRes = async (parsedOutput, context) => {
|
|
1087
|
-
const contents = map({});
|
|
1088
|
-
const data = parsedOutput.body;
|
|
1089
|
-
const doc = take(data, {
|
|
1090
|
-
message: __expectString,
|
|
1091
|
-
});
|
|
1092
|
-
Object.assign(contents, doc);
|
|
1093
|
-
const exception = new ResourceInUseException({
|
|
1094
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1095
|
-
...contents,
|
|
1096
|
-
});
|
|
1097
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1098
|
-
};
|
|
1099
|
-
const de_ResourceLimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
1100
|
-
const contents = map({});
|
|
1101
|
-
const data = parsedOutput.body;
|
|
1102
|
-
const doc = take(data, {
|
|
1103
|
-
message: __expectString,
|
|
1104
|
-
parameterName: __expectString,
|
|
1105
|
-
});
|
|
1106
|
-
Object.assign(contents, doc);
|
|
1107
|
-
const exception = new ResourceLimitExceededException({
|
|
1108
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1109
|
-
...contents,
|
|
1110
|
-
});
|
|
1111
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1112
|
-
};
|
|
1113
|
-
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1114
|
-
const contents = map({});
|
|
1115
|
-
const data = parsedOutput.body;
|
|
1116
|
-
const doc = take(data, {
|
|
1117
|
-
message: __expectString,
|
|
1118
|
-
});
|
|
1119
|
-
Object.assign(contents, doc);
|
|
1120
|
-
const exception = new ResourceNotFoundException({
|
|
1121
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1122
|
-
...contents,
|
|
1123
|
-
});
|
|
1124
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1125
|
-
};
|
|
1126
|
-
const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
1127
|
-
const contents = map({});
|
|
1128
|
-
const data = parsedOutput.body;
|
|
1129
|
-
const doc = take(data, {
|
|
1130
|
-
message: __expectString,
|
|
1131
|
-
parameterName: __expectString,
|
|
1132
|
-
});
|
|
1133
|
-
Object.assign(contents, doc);
|
|
1134
|
-
const exception = new ServiceQuotaExceededException({
|
|
1135
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1136
|
-
...contents,
|
|
1137
|
-
});
|
|
1138
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1139
|
-
};
|
|
1140
|
-
const se_AntennaDownlinkConfig = (input, context) => {
|
|
1141
|
-
return take(input, {
|
|
1142
|
-
spectrumConfig: (_) => se_SpectrumConfig(_, context),
|
|
1143
|
-
});
|
|
1144
|
-
};
|
|
1145
|
-
const se_AntennaDownlinkDemodDecodeConfig = (input, context) => {
|
|
1146
|
-
return take(input, {
|
|
1147
|
-
decodeConfig: _json,
|
|
1148
|
-
demodulationConfig: _json,
|
|
1149
|
-
spectrumConfig: (_) => se_SpectrumConfig(_, context),
|
|
1150
|
-
});
|
|
1151
|
-
};
|
|
1152
|
-
const se_AntennaUplinkConfig = (input, context) => {
|
|
1153
|
-
return take(input, {
|
|
1154
|
-
spectrumConfig: (_) => se_UplinkSpectrumConfig(_, context),
|
|
1155
|
-
targetEirp: (_) => se_Eirp(_, context),
|
|
1156
|
-
transmitDisabled: [],
|
|
1157
|
-
});
|
|
1158
|
-
};
|
|
1159
|
-
const se_AzElEphemeris = (input, context) => {
|
|
1160
|
-
return take(input, {
|
|
1161
|
-
data: (_) => se_AzElSegmentsData(_, context),
|
|
1162
|
-
groundStation: [],
|
|
1163
|
-
});
|
|
1164
|
-
};
|
|
1165
|
-
const se_AzElSegment = (input, context) => {
|
|
1166
|
-
return take(input, {
|
|
1167
|
-
azElList: (_) => se_TimeAzElList(_, context),
|
|
1168
|
-
referenceEpoch: __serializeDateTime,
|
|
1169
|
-
validTimeRange: (_) => se_ISO8601TimeRange(_, context),
|
|
1170
|
-
});
|
|
1171
|
-
};
|
|
1172
|
-
const se_AzElSegmentList = (input, context) => {
|
|
1173
|
-
return input
|
|
1174
|
-
.filter((e) => e != null)
|
|
1175
|
-
.map((entry) => {
|
|
1176
|
-
return se_AzElSegment(entry, context);
|
|
1177
|
-
});
|
|
1178
|
-
};
|
|
1179
|
-
const se_AzElSegments = (input, context) => {
|
|
1180
|
-
return take(input, {
|
|
1181
|
-
angleUnit: [],
|
|
1182
|
-
azElSegmentList: (_) => se_AzElSegmentList(_, context),
|
|
1183
|
-
});
|
|
1184
|
-
};
|
|
1185
|
-
const se_AzElSegmentsData = (input, context) => {
|
|
1186
|
-
return AzElSegmentsData.visit(input, {
|
|
1187
|
-
azElData: (value) => ({ azElData: se_AzElSegments(value, context) }),
|
|
1188
|
-
s3Object: (value) => ({ s3Object: _json(value) }),
|
|
1189
|
-
_: (name, value) => ({ [name]: value }),
|
|
1190
|
-
});
|
|
1191
|
-
};
|
|
1192
|
-
const se_ConfigTypeData = (input, context) => {
|
|
1193
|
-
return ConfigTypeData.visit(input, {
|
|
1194
|
-
antennaDownlinkConfig: (value) => ({ antennaDownlinkConfig: se_AntennaDownlinkConfig(value, context) }),
|
|
1195
|
-
antennaDownlinkDemodDecodeConfig: (value) => ({
|
|
1196
|
-
antennaDownlinkDemodDecodeConfig: se_AntennaDownlinkDemodDecodeConfig(value, context),
|
|
1197
|
-
}),
|
|
1198
|
-
antennaUplinkConfig: (value) => ({ antennaUplinkConfig: se_AntennaUplinkConfig(value, context) }),
|
|
1199
|
-
dataflowEndpointConfig: (value) => ({ dataflowEndpointConfig: _json(value) }),
|
|
1200
|
-
s3RecordingConfig: (value) => ({ s3RecordingConfig: _json(value) }),
|
|
1201
|
-
trackingConfig: (value) => ({ trackingConfig: _json(value) }),
|
|
1202
|
-
uplinkEchoConfig: (value) => ({ uplinkEchoConfig: _json(value) }),
|
|
1203
|
-
_: (name, value) => ({ [name]: value }),
|
|
1204
|
-
});
|
|
1205
|
-
};
|
|
1206
|
-
const se_Eirp = (input, context) => {
|
|
1207
|
-
return take(input, {
|
|
1208
|
-
units: [],
|
|
1209
|
-
value: __serializeFloat,
|
|
1210
|
-
});
|
|
1211
|
-
};
|
|
1212
|
-
const se_EphemerisData = (input, context) => {
|
|
1213
|
-
return EphemerisData.visit(input, {
|
|
1214
|
-
azEl: (value) => ({ azEl: se_AzElEphemeris(value, context) }),
|
|
1215
|
-
oem: (value) => ({ oem: _json(value) }),
|
|
1216
|
-
tle: (value) => ({ tle: se_TLEEphemeris(value, context) }),
|
|
1217
|
-
_: (name, value) => ({ [name]: value }),
|
|
1218
|
-
});
|
|
1219
|
-
};
|
|
1220
|
-
const se_Frequency = (input, context) => {
|
|
1221
|
-
return take(input, {
|
|
1222
|
-
units: [],
|
|
1223
|
-
value: __serializeFloat,
|
|
1224
|
-
});
|
|
1225
|
-
};
|
|
1226
|
-
const se_FrequencyBandwidth = (input, context) => {
|
|
1227
|
-
return take(input, {
|
|
1228
|
-
units: [],
|
|
1229
|
-
value: __serializeFloat,
|
|
1230
|
-
});
|
|
1231
|
-
};
|
|
1232
|
-
const se_ISO8601TimeRange = (input, context) => {
|
|
1233
|
-
return take(input, {
|
|
1234
|
-
endTime: __serializeDateTime,
|
|
1235
|
-
startTime: __serializeDateTime,
|
|
1236
|
-
});
|
|
1237
|
-
};
|
|
1238
|
-
const se_SpectrumConfig = (input, context) => {
|
|
1239
|
-
return take(input, {
|
|
1240
|
-
bandwidth: (_) => se_FrequencyBandwidth(_, context),
|
|
1241
|
-
centerFrequency: (_) => se_Frequency(_, context),
|
|
1242
|
-
polarization: [],
|
|
1243
|
-
});
|
|
1244
|
-
};
|
|
1245
|
-
const se_TimeAzEl = (input, context) => {
|
|
1246
|
-
return take(input, {
|
|
1247
|
-
az: __serializeFloat,
|
|
1248
|
-
dt: __serializeFloat,
|
|
1249
|
-
el: __serializeFloat,
|
|
1250
|
-
});
|
|
1251
|
-
};
|
|
1252
|
-
const se_TimeAzElList = (input, context) => {
|
|
1253
|
-
return input
|
|
1254
|
-
.filter((e) => e != null)
|
|
1255
|
-
.map((entry) => {
|
|
1256
|
-
return se_TimeAzEl(entry, context);
|
|
1257
|
-
});
|
|
1258
|
-
};
|
|
1259
|
-
const se_TimeRange = (input, context) => {
|
|
1260
|
-
return take(input, {
|
|
1261
|
-
endTime: (_) => _.getTime() / 1_000,
|
|
1262
|
-
startTime: (_) => _.getTime() / 1_000,
|
|
1263
|
-
});
|
|
1264
|
-
};
|
|
1265
|
-
const se_TLEData = (input, context) => {
|
|
1266
|
-
return take(input, {
|
|
1267
|
-
tleLine1: [],
|
|
1268
|
-
tleLine2: [],
|
|
1269
|
-
validTimeRange: (_) => se_TimeRange(_, context),
|
|
1270
|
-
});
|
|
1271
|
-
};
|
|
1272
|
-
const se_TLEDataList = (input, context) => {
|
|
1273
|
-
return input
|
|
1274
|
-
.filter((e) => e != null)
|
|
1275
|
-
.map((entry) => {
|
|
1276
|
-
return se_TLEData(entry, context);
|
|
1277
|
-
});
|
|
1278
|
-
};
|
|
1279
|
-
const se_TLEEphemeris = (input, context) => {
|
|
1280
|
-
return take(input, {
|
|
1281
|
-
s3Object: _json,
|
|
1282
|
-
tleData: (_) => se_TLEDataList(_, context),
|
|
1283
|
-
});
|
|
1284
|
-
};
|
|
1285
|
-
const se_UplinkSpectrumConfig = (input, context) => {
|
|
1286
|
-
return take(input, {
|
|
1287
|
-
centerFrequency: (_) => se_Frequency(_, context),
|
|
1288
|
-
polarization: [],
|
|
1289
|
-
});
|
|
1290
|
-
};
|
|
1291
|
-
const de_AntennaDownlinkConfig = (output, context) => {
|
|
1292
|
-
return take(output, {
|
|
1293
|
-
spectrumConfig: (_) => de_SpectrumConfig(_, context),
|
|
1294
|
-
});
|
|
1295
|
-
};
|
|
1296
|
-
const de_AntennaDownlinkDemodDecodeConfig = (output, context) => {
|
|
1297
|
-
return take(output, {
|
|
1298
|
-
decodeConfig: _json,
|
|
1299
|
-
demodulationConfig: _json,
|
|
1300
|
-
spectrumConfig: (_) => de_SpectrumConfig(_, context),
|
|
1301
|
-
});
|
|
1302
|
-
};
|
|
1303
|
-
const de_AntennaUplinkConfig = (output, context) => {
|
|
1304
|
-
return take(output, {
|
|
1305
|
-
spectrumConfig: (_) => de_UplinkSpectrumConfig(_, context),
|
|
1306
|
-
targetEirp: (_) => de_Eirp(_, context),
|
|
1307
|
-
transmitDisabled: __expectBoolean,
|
|
1308
|
-
});
|
|
1309
|
-
};
|
|
1310
|
-
const de_ConfigTypeData = (output, context) => {
|
|
1311
|
-
if (output.antennaDownlinkConfig != null) {
|
|
1312
|
-
return {
|
|
1313
|
-
antennaDownlinkConfig: de_AntennaDownlinkConfig(output.antennaDownlinkConfig, context),
|
|
1314
|
-
};
|
|
1315
|
-
}
|
|
1316
|
-
if (output.antennaDownlinkDemodDecodeConfig != null) {
|
|
1317
|
-
return {
|
|
1318
|
-
antennaDownlinkDemodDecodeConfig: de_AntennaDownlinkDemodDecodeConfig(output.antennaDownlinkDemodDecodeConfig, context),
|
|
1319
|
-
};
|
|
1320
|
-
}
|
|
1321
|
-
if (output.antennaUplinkConfig != null) {
|
|
1322
|
-
return {
|
|
1323
|
-
antennaUplinkConfig: de_AntennaUplinkConfig(output.antennaUplinkConfig, context),
|
|
1324
|
-
};
|
|
1325
|
-
}
|
|
1326
|
-
if (output.dataflowEndpointConfig != null) {
|
|
1327
|
-
return {
|
|
1328
|
-
dataflowEndpointConfig: _json(output.dataflowEndpointConfig),
|
|
1329
|
-
};
|
|
1330
|
-
}
|
|
1331
|
-
if (output.s3RecordingConfig != null) {
|
|
1332
|
-
return {
|
|
1333
|
-
s3RecordingConfig: _json(output.s3RecordingConfig),
|
|
1334
|
-
};
|
|
1335
|
-
}
|
|
1336
|
-
if (output.trackingConfig != null) {
|
|
1337
|
-
return {
|
|
1338
|
-
trackingConfig: _json(output.trackingConfig),
|
|
1339
|
-
};
|
|
1340
|
-
}
|
|
1341
|
-
if (output.uplinkEchoConfig != null) {
|
|
1342
|
-
return {
|
|
1343
|
-
uplinkEchoConfig: _json(output.uplinkEchoConfig),
|
|
1344
|
-
};
|
|
1345
|
-
}
|
|
1346
|
-
return { $unknown: Object.entries(output)[0] };
|
|
1347
|
-
};
|
|
1348
|
-
const de_ContactData = (output, context) => {
|
|
1349
|
-
return take(output, {
|
|
1350
|
-
contactId: __expectString,
|
|
1351
|
-
contactStatus: __expectString,
|
|
1352
|
-
endTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1353
|
-
ephemeris: _json,
|
|
1354
|
-
errorMessage: __expectString,
|
|
1355
|
-
groundStation: __expectString,
|
|
1356
|
-
maximumElevation: (_) => de_Elevation(_, context),
|
|
1357
|
-
missionProfileArn: __expectString,
|
|
1358
|
-
postPassEndTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1359
|
-
prePassStartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1360
|
-
region: __expectString,
|
|
1361
|
-
satelliteArn: __expectString,
|
|
1362
|
-
startTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1363
|
-
tags: _json,
|
|
1364
|
-
visibilityEndTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1365
|
-
visibilityStartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1366
|
-
});
|
|
1367
|
-
};
|
|
1368
|
-
const de_ContactList = (output, context) => {
|
|
1369
|
-
const retVal = (output || [])
|
|
1370
|
-
.filter((e) => e != null)
|
|
1371
|
-
.map((entry) => {
|
|
1372
|
-
return de_ContactData(entry, context);
|
|
1373
|
-
});
|
|
1374
|
-
return retVal;
|
|
1375
|
-
};
|
|
1376
|
-
const de_DataflowList = (output, context) => {
|
|
1377
|
-
const retVal = (output || [])
|
|
1378
|
-
.filter((e) => e != null)
|
|
1379
|
-
.map((entry) => {
|
|
1380
|
-
return _json(entry);
|
|
1381
|
-
});
|
|
1382
|
-
return retVal;
|
|
1383
|
-
};
|
|
1384
|
-
const de_Eirp = (output, context) => {
|
|
1385
|
-
return take(output, {
|
|
1386
|
-
units: __expectString,
|
|
1387
|
-
value: __limitedParseDouble,
|
|
1388
|
-
});
|
|
1389
|
-
};
|
|
1390
|
-
const de_Elevation = (output, context) => {
|
|
1391
|
-
return take(output, {
|
|
1392
|
-
unit: __expectString,
|
|
1393
|
-
value: __limitedParseDouble,
|
|
1394
|
-
});
|
|
1395
|
-
};
|
|
1396
|
-
const de_EphemeridesList = (output, context) => {
|
|
1397
|
-
const retVal = (output || [])
|
|
1398
|
-
.filter((e) => e != null)
|
|
1399
|
-
.map((entry) => {
|
|
1400
|
-
return de_EphemerisItem(entry, context);
|
|
1401
|
-
});
|
|
1402
|
-
return retVal;
|
|
1403
|
-
};
|
|
1404
|
-
const de_EphemerisItem = (output, context) => {
|
|
1405
|
-
return take(output, {
|
|
1406
|
-
creationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1407
|
-
enabled: __expectBoolean,
|
|
1408
|
-
ephemerisId: __expectString,
|
|
1409
|
-
ephemerisType: __expectString,
|
|
1410
|
-
name: __expectString,
|
|
1411
|
-
priority: __expectInt32,
|
|
1412
|
-
sourceS3Object: _json,
|
|
1413
|
-
status: __expectString,
|
|
1414
|
-
});
|
|
1415
|
-
};
|
|
1416
|
-
const de_EphemerisMetaData = (output, context) => {
|
|
1417
|
-
return take(output, {
|
|
1418
|
-
ephemerisId: __expectString,
|
|
1419
|
-
epoch: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1420
|
-
name: __expectString,
|
|
1421
|
-
source: __expectString,
|
|
1422
|
-
});
|
|
1423
|
-
};
|
|
1424
|
-
const de_Frequency = (output, context) => {
|
|
1425
|
-
return take(output, {
|
|
1426
|
-
units: __expectString,
|
|
1427
|
-
value: __limitedParseDouble,
|
|
1428
|
-
});
|
|
1429
|
-
};
|
|
1430
|
-
const de_FrequencyBandwidth = (output, context) => {
|
|
1431
|
-
return take(output, {
|
|
1432
|
-
units: __expectString,
|
|
1433
|
-
value: __limitedParseDouble,
|
|
1434
|
-
});
|
|
1435
|
-
};
|
|
1436
|
-
const de_SatelliteList = (output, context) => {
|
|
1437
|
-
const retVal = (output || [])
|
|
1438
|
-
.filter((e) => e != null)
|
|
1439
|
-
.map((entry) => {
|
|
1440
|
-
return de_SatelliteListItem(entry, context);
|
|
1441
|
-
});
|
|
1442
|
-
return retVal;
|
|
1443
|
-
};
|
|
1444
|
-
const de_SatelliteListItem = (output, context) => {
|
|
1445
|
-
return take(output, {
|
|
1446
|
-
currentEphemeris: (_) => de_EphemerisMetaData(_, context),
|
|
1447
|
-
groundStations: _json,
|
|
1448
|
-
noradSatelliteID: __expectInt32,
|
|
1449
|
-
satelliteArn: __expectString,
|
|
1450
|
-
satelliteId: __expectString,
|
|
1451
|
-
});
|
|
1452
|
-
};
|
|
1453
|
-
const de_SpectrumConfig = (output, context) => {
|
|
1454
|
-
return take(output, {
|
|
1455
|
-
bandwidth: (_) => de_FrequencyBandwidth(_, context),
|
|
1456
|
-
centerFrequency: (_) => de_Frequency(_, context),
|
|
1457
|
-
polarization: __expectString,
|
|
1458
|
-
});
|
|
1459
|
-
};
|
|
1460
|
-
const de_UplinkSpectrumConfig = (output, context) => {
|
|
1461
|
-
return take(output, {
|
|
1462
|
-
centerFrequency: (_) => de_Frequency(_, context),
|
|
1463
|
-
polarization: __expectString,
|
|
1464
|
-
});
|
|
1465
|
-
};
|
|
1466
|
-
const deserializeMetadata = (output) => ({
|
|
1467
|
-
httpStatusCode: output.statusCode,
|
|
1468
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
1469
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1470
|
-
cfId: output.headers["x-amz-cf-id"],
|
|
1471
|
-
});
|
|
1472
|
-
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
1473
|
-
const _mR = "maxResults";
|
|
1474
|
-
const _nT = "nextToken";
|
|
1475
|
-
const _sI = "satelliteId";
|
|
1476
|
-
const _tK = "tagKeys";
|