@aws-sdk/client-groundstation 3.306.0 → 3.309.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/commands/CancelContactCommand.js +2 -2
- package/dist-cjs/commands/CreateConfigCommand.js +2 -2
- package/dist-cjs/commands/CreateDataflowEndpointGroupCommand.js +2 -2
- package/dist-cjs/commands/CreateEphemerisCommand.js +2 -2
- package/dist-cjs/commands/CreateMissionProfileCommand.js +2 -2
- package/dist-cjs/commands/DeleteConfigCommand.js +2 -2
- package/dist-cjs/commands/DeleteDataflowEndpointGroupCommand.js +2 -2
- package/dist-cjs/commands/DeleteEphemerisCommand.js +2 -2
- package/dist-cjs/commands/DeleteMissionProfileCommand.js +2 -2
- package/dist-cjs/commands/DescribeContactCommand.js +2 -2
- package/dist-cjs/commands/DescribeEphemerisCommand.js +2 -2
- package/dist-cjs/commands/GetAgentConfigurationCommand.js +2 -2
- package/dist-cjs/commands/GetConfigCommand.js +2 -2
- package/dist-cjs/commands/GetDataflowEndpointGroupCommand.js +2 -2
- package/dist-cjs/commands/GetMinuteUsageCommand.js +2 -2
- package/dist-cjs/commands/GetMissionProfileCommand.js +2 -2
- package/dist-cjs/commands/GetSatelliteCommand.js +2 -2
- package/dist-cjs/commands/ListConfigsCommand.js +2 -2
- package/dist-cjs/commands/ListContactsCommand.js +2 -2
- package/dist-cjs/commands/ListDataflowEndpointGroupsCommand.js +2 -2
- package/dist-cjs/commands/ListEphemeridesCommand.js +2 -2
- package/dist-cjs/commands/ListGroundStationsCommand.js +2 -2
- package/dist-cjs/commands/ListMissionProfilesCommand.js +2 -2
- package/dist-cjs/commands/ListSatellitesCommand.js +2 -2
- package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-cjs/commands/RegisterAgentCommand.js +2 -2
- package/dist-cjs/commands/ReserveContactCommand.js +2 -2
- package/dist-cjs/commands/TagResourceCommand.js +2 -2
- package/dist-cjs/commands/UntagResourceCommand.js +2 -2
- package/dist-cjs/commands/UpdateAgentStatusCommand.js +2 -2
- package/dist-cjs/commands/UpdateConfigCommand.js +2 -2
- package/dist-cjs/commands/UpdateEphemerisCommand.js +2 -2
- package/dist-cjs/commands/UpdateMissionProfileCommand.js +2 -2
- package/dist-cjs/protocols/Aws_restJson1.js +553 -629
- package/dist-es/commands/CancelContactCommand.js +3 -3
- package/dist-es/commands/CreateConfigCommand.js +3 -3
- package/dist-es/commands/CreateDataflowEndpointGroupCommand.js +3 -3
- package/dist-es/commands/CreateEphemerisCommand.js +3 -3
- package/dist-es/commands/CreateMissionProfileCommand.js +3 -3
- package/dist-es/commands/DeleteConfigCommand.js +3 -3
- package/dist-es/commands/DeleteDataflowEndpointGroupCommand.js +3 -3
- package/dist-es/commands/DeleteEphemerisCommand.js +3 -3
- package/dist-es/commands/DeleteMissionProfileCommand.js +3 -3
- package/dist-es/commands/DescribeContactCommand.js +3 -3
- package/dist-es/commands/DescribeEphemerisCommand.js +3 -3
- package/dist-es/commands/GetAgentConfigurationCommand.js +3 -3
- package/dist-es/commands/GetConfigCommand.js +3 -3
- package/dist-es/commands/GetDataflowEndpointGroupCommand.js +3 -3
- package/dist-es/commands/GetMinuteUsageCommand.js +3 -3
- package/dist-es/commands/GetMissionProfileCommand.js +3 -3
- package/dist-es/commands/GetSatelliteCommand.js +3 -3
- package/dist-es/commands/ListConfigsCommand.js +3 -3
- package/dist-es/commands/ListContactsCommand.js +3 -3
- package/dist-es/commands/ListDataflowEndpointGroupsCommand.js +3 -3
- package/dist-es/commands/ListEphemeridesCommand.js +3 -3
- package/dist-es/commands/ListGroundStationsCommand.js +3 -3
- package/dist-es/commands/ListMissionProfilesCommand.js +3 -3
- package/dist-es/commands/ListSatellitesCommand.js +3 -3
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-es/commands/RegisterAgentCommand.js +3 -3
- package/dist-es/commands/ReserveContactCommand.js +3 -3
- package/dist-es/commands/TagResourceCommand.js +3 -3
- package/dist-es/commands/UntagResourceCommand.js +3 -3
- package/dist-es/commands/UpdateAgentStatusCommand.js +3 -3
- package/dist-es/commands/UpdateConfigCommand.js +3 -3
- package/dist-es/commands/UpdateEphemerisCommand.js +3 -3
- package/dist-es/commands/UpdateMissionProfileCommand.js +3 -3
- package/dist-es/protocols/Aws_restJson1.js +485 -561
- package/dist-types/protocols/Aws_restJson1.d.ts +264 -66
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +66 -66
- package/package.json +6 -6
|
@@ -2,7 +2,7 @@ import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
|
2
2
|
import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, expectUnion as __expectUnion, limitedParseDouble as __limitedParseDouble, map as __map, parseEpochTimestamp as __parseEpochTimestamp, resolvedPath as __resolvedPath, serializeFloat as __serializeFloat, throwDefaultError, } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { GroundStationServiceException as __BaseException } from "../models/GroundStationServiceException";
|
|
4
4
|
import { ConfigTypeData, DependencyException, EphemerisData, InvalidParameterException, KmsKey, ResourceLimitExceededException, ResourceNotFoundException, } from "../models/models_0";
|
|
5
|
-
export const
|
|
5
|
+
export const se_CancelContactCommand = async (input, context) => {
|
|
6
6
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
7
7
|
const headers = {};
|
|
8
8
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/contact/{contactId}";
|
|
@@ -18,7 +18,7 @@ export const serializeAws_restJson1CancelContactCommand = async (input, context)
|
|
|
18
18
|
body,
|
|
19
19
|
});
|
|
20
20
|
};
|
|
21
|
-
export const
|
|
21
|
+
export const se_CreateConfigCommand = async (input, context) => {
|
|
22
22
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
23
23
|
const headers = {
|
|
24
24
|
"content-type": "application/json",
|
|
@@ -26,9 +26,9 @@ export const serializeAws_restJson1CreateConfigCommand = async (input, context)
|
|
|
26
26
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/config";
|
|
27
27
|
let body;
|
|
28
28
|
body = JSON.stringify({
|
|
29
|
-
...(input.configData != null && { configData:
|
|
29
|
+
...(input.configData != null && { configData: se_ConfigTypeData(input.configData, context) }),
|
|
30
30
|
...(input.name != null && { name: input.name }),
|
|
31
|
-
...(input.tags != null && { tags:
|
|
31
|
+
...(input.tags != null && { tags: se_TagsMap(input.tags, context) }),
|
|
32
32
|
});
|
|
33
33
|
return new __HttpRequest({
|
|
34
34
|
protocol,
|
|
@@ -40,7 +40,7 @@ export const serializeAws_restJson1CreateConfigCommand = async (input, context)
|
|
|
40
40
|
body,
|
|
41
41
|
});
|
|
42
42
|
};
|
|
43
|
-
export const
|
|
43
|
+
export const se_CreateDataflowEndpointGroupCommand = async (input, context) => {
|
|
44
44
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
45
45
|
const headers = {
|
|
46
46
|
"content-type": "application/json",
|
|
@@ -54,10 +54,8 @@ export const serializeAws_restJson1CreateDataflowEndpointGroupCommand = async (i
|
|
|
54
54
|
...(input.contactPrePassDurationSeconds != null && {
|
|
55
55
|
contactPrePassDurationSeconds: input.contactPrePassDurationSeconds,
|
|
56
56
|
}),
|
|
57
|
-
...(input.endpointDetails != null && {
|
|
58
|
-
|
|
59
|
-
}),
|
|
60
|
-
...(input.tags != null && { tags: serializeAws_restJson1TagsMap(input.tags, context) }),
|
|
57
|
+
...(input.endpointDetails != null && { endpointDetails: se_EndpointDetailsList(input.endpointDetails, context) }),
|
|
58
|
+
...(input.tags != null && { tags: se_TagsMap(input.tags, context) }),
|
|
61
59
|
});
|
|
62
60
|
return new __HttpRequest({
|
|
63
61
|
protocol,
|
|
@@ -69,7 +67,7 @@ export const serializeAws_restJson1CreateDataflowEndpointGroupCommand = async (i
|
|
|
69
67
|
body,
|
|
70
68
|
});
|
|
71
69
|
};
|
|
72
|
-
export const
|
|
70
|
+
export const se_CreateEphemerisCommand = async (input, context) => {
|
|
73
71
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
74
72
|
const headers = {
|
|
75
73
|
"content-type": "application/json",
|
|
@@ -78,13 +76,13 @@ export const serializeAws_restJson1CreateEphemerisCommand = async (input, contex
|
|
|
78
76
|
let body;
|
|
79
77
|
body = JSON.stringify({
|
|
80
78
|
...(input.enabled != null && { enabled: input.enabled }),
|
|
81
|
-
...(input.ephemeris != null && { ephemeris:
|
|
79
|
+
...(input.ephemeris != null && { ephemeris: se_EphemerisData(input.ephemeris, context) }),
|
|
82
80
|
...(input.expirationTime != null && { expirationTime: Math.round(input.expirationTime.getTime() / 1000) }),
|
|
83
81
|
...(input.kmsKeyArn != null && { kmsKeyArn: input.kmsKeyArn }),
|
|
84
82
|
...(input.name != null && { name: input.name }),
|
|
85
83
|
...(input.priority != null && { priority: input.priority }),
|
|
86
84
|
...(input.satelliteId != null && { satelliteId: input.satelliteId }),
|
|
87
|
-
...(input.tags != null && { tags:
|
|
85
|
+
...(input.tags != null && { tags: se_TagsMap(input.tags, context) }),
|
|
88
86
|
});
|
|
89
87
|
return new __HttpRequest({
|
|
90
88
|
protocol,
|
|
@@ -96,7 +94,7 @@ export const serializeAws_restJson1CreateEphemerisCommand = async (input, contex
|
|
|
96
94
|
body,
|
|
97
95
|
});
|
|
98
96
|
};
|
|
99
|
-
export const
|
|
97
|
+
export const se_CreateMissionProfileCommand = async (input, context) => {
|
|
100
98
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
101
99
|
const headers = {
|
|
102
100
|
"content-type": "application/json",
|
|
@@ -110,16 +108,14 @@ export const serializeAws_restJson1CreateMissionProfileCommand = async (input, c
|
|
|
110
108
|
...(input.contactPrePassDurationSeconds != null && {
|
|
111
109
|
contactPrePassDurationSeconds: input.contactPrePassDurationSeconds,
|
|
112
110
|
}),
|
|
113
|
-
...(input.dataflowEdges != null && {
|
|
114
|
-
dataflowEdges: serializeAws_restJson1DataflowEdgeList(input.dataflowEdges, context),
|
|
115
|
-
}),
|
|
111
|
+
...(input.dataflowEdges != null && { dataflowEdges: se_DataflowEdgeList(input.dataflowEdges, context) }),
|
|
116
112
|
...(input.minimumViableContactDurationSeconds != null && {
|
|
117
113
|
minimumViableContactDurationSeconds: input.minimumViableContactDurationSeconds,
|
|
118
114
|
}),
|
|
119
115
|
...(input.name != null && { name: input.name }),
|
|
120
|
-
...(input.streamsKmsKey != null && { streamsKmsKey:
|
|
116
|
+
...(input.streamsKmsKey != null && { streamsKmsKey: se_KmsKey(input.streamsKmsKey, context) }),
|
|
121
117
|
...(input.streamsKmsRole != null && { streamsKmsRole: input.streamsKmsRole }),
|
|
122
|
-
...(input.tags != null && { tags:
|
|
118
|
+
...(input.tags != null && { tags: se_TagsMap(input.tags, context) }),
|
|
123
119
|
...(input.trackingConfigArn != null && { trackingConfigArn: input.trackingConfigArn }),
|
|
124
120
|
});
|
|
125
121
|
return new __HttpRequest({
|
|
@@ -132,7 +128,7 @@ export const serializeAws_restJson1CreateMissionProfileCommand = async (input, c
|
|
|
132
128
|
body,
|
|
133
129
|
});
|
|
134
130
|
};
|
|
135
|
-
export const
|
|
131
|
+
export const se_DeleteConfigCommand = async (input, context) => {
|
|
136
132
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
137
133
|
const headers = {};
|
|
138
134
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/config/{configType}/{configId}";
|
|
@@ -149,7 +145,7 @@ export const serializeAws_restJson1DeleteConfigCommand = async (input, context)
|
|
|
149
145
|
body,
|
|
150
146
|
});
|
|
151
147
|
};
|
|
152
|
-
export const
|
|
148
|
+
export const se_DeleteDataflowEndpointGroupCommand = async (input, context) => {
|
|
153
149
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
154
150
|
const headers = {};
|
|
155
151
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
@@ -166,7 +162,7 @@ export const serializeAws_restJson1DeleteDataflowEndpointGroupCommand = async (i
|
|
|
166
162
|
body,
|
|
167
163
|
});
|
|
168
164
|
};
|
|
169
|
-
export const
|
|
165
|
+
export const se_DeleteEphemerisCommand = async (input, context) => {
|
|
170
166
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
171
167
|
const headers = {};
|
|
172
168
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/ephemeris/{ephemerisId}";
|
|
@@ -182,7 +178,7 @@ export const serializeAws_restJson1DeleteEphemerisCommand = async (input, contex
|
|
|
182
178
|
body,
|
|
183
179
|
});
|
|
184
180
|
};
|
|
185
|
-
export const
|
|
181
|
+
export const se_DeleteMissionProfileCommand = async (input, context) => {
|
|
186
182
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
187
183
|
const headers = {};
|
|
188
184
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/missionprofile/{missionProfileId}";
|
|
@@ -198,7 +194,7 @@ export const serializeAws_restJson1DeleteMissionProfileCommand = async (input, c
|
|
|
198
194
|
body,
|
|
199
195
|
});
|
|
200
196
|
};
|
|
201
|
-
export const
|
|
197
|
+
export const se_DescribeContactCommand = async (input, context) => {
|
|
202
198
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
203
199
|
const headers = {};
|
|
204
200
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/contact/{contactId}";
|
|
@@ -214,7 +210,7 @@ export const serializeAws_restJson1DescribeContactCommand = async (input, contex
|
|
|
214
210
|
body,
|
|
215
211
|
});
|
|
216
212
|
};
|
|
217
|
-
export const
|
|
213
|
+
export const se_DescribeEphemerisCommand = async (input, context) => {
|
|
218
214
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
219
215
|
const headers = {};
|
|
220
216
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/ephemeris/{ephemerisId}";
|
|
@@ -230,7 +226,7 @@ export const serializeAws_restJson1DescribeEphemerisCommand = async (input, cont
|
|
|
230
226
|
body,
|
|
231
227
|
});
|
|
232
228
|
};
|
|
233
|
-
export const
|
|
229
|
+
export const se_GetAgentConfigurationCommand = async (input, context) => {
|
|
234
230
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
235
231
|
const headers = {};
|
|
236
232
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/agent/{agentId}/configuration";
|
|
@@ -246,7 +242,7 @@ export const serializeAws_restJson1GetAgentConfigurationCommand = async (input,
|
|
|
246
242
|
body,
|
|
247
243
|
});
|
|
248
244
|
};
|
|
249
|
-
export const
|
|
245
|
+
export const se_GetConfigCommand = async (input, context) => {
|
|
250
246
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
251
247
|
const headers = {};
|
|
252
248
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/config/{configType}/{configId}";
|
|
@@ -263,7 +259,7 @@ export const serializeAws_restJson1GetConfigCommand = async (input, context) =>
|
|
|
263
259
|
body,
|
|
264
260
|
});
|
|
265
261
|
};
|
|
266
|
-
export const
|
|
262
|
+
export const se_GetDataflowEndpointGroupCommand = async (input, context) => {
|
|
267
263
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
268
264
|
const headers = {};
|
|
269
265
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
@@ -280,7 +276,7 @@ export const serializeAws_restJson1GetDataflowEndpointGroupCommand = async (inpu
|
|
|
280
276
|
body,
|
|
281
277
|
});
|
|
282
278
|
};
|
|
283
|
-
export const
|
|
279
|
+
export const se_GetMinuteUsageCommand = async (input, context) => {
|
|
284
280
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
285
281
|
const headers = {
|
|
286
282
|
"content-type": "application/json",
|
|
@@ -301,7 +297,7 @@ export const serializeAws_restJson1GetMinuteUsageCommand = async (input, context
|
|
|
301
297
|
body,
|
|
302
298
|
});
|
|
303
299
|
};
|
|
304
|
-
export const
|
|
300
|
+
export const se_GetMissionProfileCommand = async (input, context) => {
|
|
305
301
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
306
302
|
const headers = {};
|
|
307
303
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/missionprofile/{missionProfileId}";
|
|
@@ -317,7 +313,7 @@ export const serializeAws_restJson1GetMissionProfileCommand = async (input, cont
|
|
|
317
313
|
body,
|
|
318
314
|
});
|
|
319
315
|
};
|
|
320
|
-
export const
|
|
316
|
+
export const se_GetSatelliteCommand = async (input, context) => {
|
|
321
317
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
322
318
|
const headers = {};
|
|
323
319
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/satellite/{satelliteId}";
|
|
@@ -333,7 +329,7 @@ export const serializeAws_restJson1GetSatelliteCommand = async (input, context)
|
|
|
333
329
|
body,
|
|
334
330
|
});
|
|
335
331
|
};
|
|
336
|
-
export const
|
|
332
|
+
export const se_ListConfigsCommand = async (input, context) => {
|
|
337
333
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
338
334
|
const headers = {};
|
|
339
335
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/config";
|
|
@@ -353,7 +349,7 @@ export const serializeAws_restJson1ListConfigsCommand = async (input, context) =
|
|
|
353
349
|
body,
|
|
354
350
|
});
|
|
355
351
|
};
|
|
356
|
-
export const
|
|
352
|
+
export const se_ListContactsCommand = async (input, context) => {
|
|
357
353
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
358
354
|
const headers = {
|
|
359
355
|
"content-type": "application/json",
|
|
@@ -368,7 +364,7 @@ export const serializeAws_restJson1ListContactsCommand = async (input, context)
|
|
|
368
364
|
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
369
365
|
...(input.satelliteArn != null && { satelliteArn: input.satelliteArn }),
|
|
370
366
|
...(input.startTime != null && { startTime: Math.round(input.startTime.getTime() / 1000) }),
|
|
371
|
-
...(input.statusList != null && { statusList:
|
|
367
|
+
...(input.statusList != null && { statusList: se_StatusList(input.statusList, context) }),
|
|
372
368
|
});
|
|
373
369
|
return new __HttpRequest({
|
|
374
370
|
protocol,
|
|
@@ -380,7 +376,7 @@ export const serializeAws_restJson1ListContactsCommand = async (input, context)
|
|
|
380
376
|
body,
|
|
381
377
|
});
|
|
382
378
|
};
|
|
383
|
-
export const
|
|
379
|
+
export const se_ListDataflowEndpointGroupsCommand = async (input, context) => {
|
|
384
380
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
385
381
|
const headers = {};
|
|
386
382
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/dataflowEndpointGroup";
|
|
@@ -400,7 +396,7 @@ export const serializeAws_restJson1ListDataflowEndpointGroupsCommand = async (in
|
|
|
400
396
|
body,
|
|
401
397
|
});
|
|
402
398
|
};
|
|
403
|
-
export const
|
|
399
|
+
export const se_ListEphemeridesCommand = async (input, context) => {
|
|
404
400
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
405
401
|
const headers = {
|
|
406
402
|
"content-type": "application/json",
|
|
@@ -415,9 +411,7 @@ export const serializeAws_restJson1ListEphemeridesCommand = async (input, contex
|
|
|
415
411
|
...(input.endTime != null && { endTime: Math.round(input.endTime.getTime() / 1000) }),
|
|
416
412
|
...(input.satelliteId != null && { satelliteId: input.satelliteId }),
|
|
417
413
|
...(input.startTime != null && { startTime: Math.round(input.startTime.getTime() / 1000) }),
|
|
418
|
-
...(input.statusList != null && {
|
|
419
|
-
statusList: serializeAws_restJson1EphemerisStatusList(input.statusList, context),
|
|
420
|
-
}),
|
|
414
|
+
...(input.statusList != null && { statusList: se_EphemerisStatusList(input.statusList, context) }),
|
|
421
415
|
});
|
|
422
416
|
return new __HttpRequest({
|
|
423
417
|
protocol,
|
|
@@ -430,7 +424,7 @@ export const serializeAws_restJson1ListEphemeridesCommand = async (input, contex
|
|
|
430
424
|
body,
|
|
431
425
|
});
|
|
432
426
|
};
|
|
433
|
-
export const
|
|
427
|
+
export const se_ListGroundStationsCommand = async (input, context) => {
|
|
434
428
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
435
429
|
const headers = {};
|
|
436
430
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/groundstation";
|
|
@@ -451,7 +445,7 @@ export const serializeAws_restJson1ListGroundStationsCommand = async (input, con
|
|
|
451
445
|
body,
|
|
452
446
|
});
|
|
453
447
|
};
|
|
454
|
-
export const
|
|
448
|
+
export const se_ListMissionProfilesCommand = async (input, context) => {
|
|
455
449
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
456
450
|
const headers = {};
|
|
457
451
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/missionprofile";
|
|
@@ -471,7 +465,7 @@ export const serializeAws_restJson1ListMissionProfilesCommand = async (input, co
|
|
|
471
465
|
body,
|
|
472
466
|
});
|
|
473
467
|
};
|
|
474
|
-
export const
|
|
468
|
+
export const se_ListSatellitesCommand = async (input, context) => {
|
|
475
469
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
476
470
|
const headers = {};
|
|
477
471
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/satellite";
|
|
@@ -491,7 +485,7 @@ export const serializeAws_restJson1ListSatellitesCommand = async (input, context
|
|
|
491
485
|
body,
|
|
492
486
|
});
|
|
493
487
|
};
|
|
494
|
-
export const
|
|
488
|
+
export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
495
489
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
496
490
|
const headers = {};
|
|
497
491
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
|
|
@@ -507,7 +501,7 @@ export const serializeAws_restJson1ListTagsForResourceCommand = async (input, co
|
|
|
507
501
|
body,
|
|
508
502
|
});
|
|
509
503
|
};
|
|
510
|
-
export const
|
|
504
|
+
export const se_RegisterAgentCommand = async (input, context) => {
|
|
511
505
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
512
506
|
const headers = {
|
|
513
507
|
"content-type": "application/json",
|
|
@@ -515,12 +509,8 @@ export const serializeAws_restJson1RegisterAgentCommand = async (input, context)
|
|
|
515
509
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/agent";
|
|
516
510
|
let body;
|
|
517
511
|
body = JSON.stringify({
|
|
518
|
-
...(input.agentDetails != null && {
|
|
519
|
-
|
|
520
|
-
}),
|
|
521
|
-
...(input.discoveryData != null && {
|
|
522
|
-
discoveryData: serializeAws_restJson1DiscoveryData(input.discoveryData, context),
|
|
523
|
-
}),
|
|
512
|
+
...(input.agentDetails != null && { agentDetails: se_AgentDetails(input.agentDetails, context) }),
|
|
513
|
+
...(input.discoveryData != null && { discoveryData: se_DiscoveryData(input.discoveryData, context) }),
|
|
524
514
|
});
|
|
525
515
|
return new __HttpRequest({
|
|
526
516
|
protocol,
|
|
@@ -532,7 +522,7 @@ export const serializeAws_restJson1RegisterAgentCommand = async (input, context)
|
|
|
532
522
|
body,
|
|
533
523
|
});
|
|
534
524
|
};
|
|
535
|
-
export const
|
|
525
|
+
export const se_ReserveContactCommand = async (input, context) => {
|
|
536
526
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
537
527
|
const headers = {
|
|
538
528
|
"content-type": "application/json",
|
|
@@ -545,7 +535,7 @@ export const serializeAws_restJson1ReserveContactCommand = async (input, context
|
|
|
545
535
|
...(input.missionProfileArn != null && { missionProfileArn: input.missionProfileArn }),
|
|
546
536
|
...(input.satelliteArn != null && { satelliteArn: input.satelliteArn }),
|
|
547
537
|
...(input.startTime != null && { startTime: Math.round(input.startTime.getTime() / 1000) }),
|
|
548
|
-
...(input.tags != null && { tags:
|
|
538
|
+
...(input.tags != null && { tags: se_TagsMap(input.tags, context) }),
|
|
549
539
|
});
|
|
550
540
|
return new __HttpRequest({
|
|
551
541
|
protocol,
|
|
@@ -557,7 +547,7 @@ export const serializeAws_restJson1ReserveContactCommand = async (input, context
|
|
|
557
547
|
body,
|
|
558
548
|
});
|
|
559
549
|
};
|
|
560
|
-
export const
|
|
550
|
+
export const se_TagResourceCommand = async (input, context) => {
|
|
561
551
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
562
552
|
const headers = {
|
|
563
553
|
"content-type": "application/json",
|
|
@@ -566,7 +556,7 @@ export const serializeAws_restJson1TagResourceCommand = async (input, context) =
|
|
|
566
556
|
resolvedPath = __resolvedPath(resolvedPath, input, "resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
567
557
|
let body;
|
|
568
558
|
body = JSON.stringify({
|
|
569
|
-
...(input.tags != null && { tags:
|
|
559
|
+
...(input.tags != null && { tags: se_TagsMap(input.tags, context) }),
|
|
570
560
|
});
|
|
571
561
|
return new __HttpRequest({
|
|
572
562
|
protocol,
|
|
@@ -578,7 +568,7 @@ export const serializeAws_restJson1TagResourceCommand = async (input, context) =
|
|
|
578
568
|
body,
|
|
579
569
|
});
|
|
580
570
|
};
|
|
581
|
-
export const
|
|
571
|
+
export const se_UntagResourceCommand = async (input, context) => {
|
|
582
572
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
583
573
|
const headers = {};
|
|
584
574
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
|
|
@@ -601,7 +591,7 @@ export const serializeAws_restJson1UntagResourceCommand = async (input, context)
|
|
|
601
591
|
body,
|
|
602
592
|
});
|
|
603
593
|
};
|
|
604
|
-
export const
|
|
594
|
+
export const se_UpdateAgentStatusCommand = async (input, context) => {
|
|
605
595
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
606
596
|
const headers = {
|
|
607
597
|
"content-type": "application/json",
|
|
@@ -610,11 +600,9 @@ export const serializeAws_restJson1UpdateAgentStatusCommand = async (input, cont
|
|
|
610
600
|
resolvedPath = __resolvedPath(resolvedPath, input, "agentId", () => input.agentId, "{agentId}", false);
|
|
611
601
|
let body;
|
|
612
602
|
body = JSON.stringify({
|
|
613
|
-
...(input.aggregateStatus != null && {
|
|
614
|
-
aggregateStatus: serializeAws_restJson1AggregateStatus(input.aggregateStatus, context),
|
|
615
|
-
}),
|
|
603
|
+
...(input.aggregateStatus != null && { aggregateStatus: se_AggregateStatus(input.aggregateStatus, context) }),
|
|
616
604
|
...(input.componentStatuses != null && {
|
|
617
|
-
componentStatuses:
|
|
605
|
+
componentStatuses: se_ComponentStatusList(input.componentStatuses, context),
|
|
618
606
|
}),
|
|
619
607
|
...(input.taskId != null && { taskId: input.taskId }),
|
|
620
608
|
});
|
|
@@ -628,7 +616,7 @@ export const serializeAws_restJson1UpdateAgentStatusCommand = async (input, cont
|
|
|
628
616
|
body,
|
|
629
617
|
});
|
|
630
618
|
};
|
|
631
|
-
export const
|
|
619
|
+
export const se_UpdateConfigCommand = async (input, context) => {
|
|
632
620
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
633
621
|
const headers = {
|
|
634
622
|
"content-type": "application/json",
|
|
@@ -638,7 +626,7 @@ export const serializeAws_restJson1UpdateConfigCommand = async (input, context)
|
|
|
638
626
|
resolvedPath = __resolvedPath(resolvedPath, input, "configType", () => input.configType, "{configType}", false);
|
|
639
627
|
let body;
|
|
640
628
|
body = JSON.stringify({
|
|
641
|
-
...(input.configData != null && { configData:
|
|
629
|
+
...(input.configData != null && { configData: se_ConfigTypeData(input.configData, context) }),
|
|
642
630
|
...(input.name != null && { name: input.name }),
|
|
643
631
|
});
|
|
644
632
|
return new __HttpRequest({
|
|
@@ -651,7 +639,7 @@ export const serializeAws_restJson1UpdateConfigCommand = async (input, context)
|
|
|
651
639
|
body,
|
|
652
640
|
});
|
|
653
641
|
};
|
|
654
|
-
export const
|
|
642
|
+
export const se_UpdateEphemerisCommand = async (input, context) => {
|
|
655
643
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
656
644
|
const headers = {
|
|
657
645
|
"content-type": "application/json",
|
|
@@ -674,7 +662,7 @@ export const serializeAws_restJson1UpdateEphemerisCommand = async (input, contex
|
|
|
674
662
|
body,
|
|
675
663
|
});
|
|
676
664
|
};
|
|
677
|
-
export const
|
|
665
|
+
export const se_UpdateMissionProfileCommand = async (input, context) => {
|
|
678
666
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
679
667
|
const headers = {
|
|
680
668
|
"content-type": "application/json",
|
|
@@ -689,14 +677,12 @@ export const serializeAws_restJson1UpdateMissionProfileCommand = async (input, c
|
|
|
689
677
|
...(input.contactPrePassDurationSeconds != null && {
|
|
690
678
|
contactPrePassDurationSeconds: input.contactPrePassDurationSeconds,
|
|
691
679
|
}),
|
|
692
|
-
...(input.dataflowEdges != null && {
|
|
693
|
-
dataflowEdges: serializeAws_restJson1DataflowEdgeList(input.dataflowEdges, context),
|
|
694
|
-
}),
|
|
680
|
+
...(input.dataflowEdges != null && { dataflowEdges: se_DataflowEdgeList(input.dataflowEdges, context) }),
|
|
695
681
|
...(input.minimumViableContactDurationSeconds != null && {
|
|
696
682
|
minimumViableContactDurationSeconds: input.minimumViableContactDurationSeconds,
|
|
697
683
|
}),
|
|
698
684
|
...(input.name != null && { name: input.name }),
|
|
699
|
-
...(input.streamsKmsKey != null && { streamsKmsKey:
|
|
685
|
+
...(input.streamsKmsKey != null && { streamsKmsKey: se_KmsKey(input.streamsKmsKey, context) }),
|
|
700
686
|
...(input.streamsKmsRole != null && { streamsKmsRole: input.streamsKmsRole }),
|
|
701
687
|
...(input.trackingConfigArn != null && { trackingConfigArn: input.trackingConfigArn }),
|
|
702
688
|
});
|
|
@@ -710,9 +696,9 @@ export const serializeAws_restJson1UpdateMissionProfileCommand = async (input, c
|
|
|
710
696
|
body,
|
|
711
697
|
});
|
|
712
698
|
};
|
|
713
|
-
export const
|
|
699
|
+
export const de_CancelContactCommand = async (output, context) => {
|
|
714
700
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
715
|
-
return
|
|
701
|
+
return de_CancelContactCommandError(output, context);
|
|
716
702
|
}
|
|
717
703
|
const contents = map({
|
|
718
704
|
$metadata: deserializeMetadata(output),
|
|
@@ -723,7 +709,7 @@ export const deserializeAws_restJson1CancelContactCommand = async (output, conte
|
|
|
723
709
|
}
|
|
724
710
|
return contents;
|
|
725
711
|
};
|
|
726
|
-
const
|
|
712
|
+
const de_CancelContactCommandError = async (output, context) => {
|
|
727
713
|
const parsedOutput = {
|
|
728
714
|
...output,
|
|
729
715
|
body: await parseErrorBody(output.body, context),
|
|
@@ -732,13 +718,13 @@ const deserializeAws_restJson1CancelContactCommandError = async (output, context
|
|
|
732
718
|
switch (errorCode) {
|
|
733
719
|
case "DependencyException":
|
|
734
720
|
case "com.amazonaws.groundstation#DependencyException":
|
|
735
|
-
throw await
|
|
721
|
+
throw await de_DependencyExceptionRes(parsedOutput, context);
|
|
736
722
|
case "InvalidParameterException":
|
|
737
723
|
case "com.amazonaws.groundstation#InvalidParameterException":
|
|
738
|
-
throw await
|
|
724
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
739
725
|
case "ResourceNotFoundException":
|
|
740
726
|
case "com.amazonaws.groundstation#ResourceNotFoundException":
|
|
741
|
-
throw await
|
|
727
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
742
728
|
default:
|
|
743
729
|
const parsedBody = parsedOutput.body;
|
|
744
730
|
throwDefaultError({
|
|
@@ -749,9 +735,9 @@ const deserializeAws_restJson1CancelContactCommandError = async (output, context
|
|
|
749
735
|
});
|
|
750
736
|
}
|
|
751
737
|
};
|
|
752
|
-
export const
|
|
738
|
+
export const de_CreateConfigCommand = async (output, context) => {
|
|
753
739
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
754
|
-
return
|
|
740
|
+
return de_CreateConfigCommandError(output, context);
|
|
755
741
|
}
|
|
756
742
|
const contents = map({
|
|
757
743
|
$metadata: deserializeMetadata(output),
|
|
@@ -768,7 +754,7 @@ export const deserializeAws_restJson1CreateConfigCommand = async (output, contex
|
|
|
768
754
|
}
|
|
769
755
|
return contents;
|
|
770
756
|
};
|
|
771
|
-
const
|
|
757
|
+
const de_CreateConfigCommandError = async (output, context) => {
|
|
772
758
|
const parsedOutput = {
|
|
773
759
|
...output,
|
|
774
760
|
body: await parseErrorBody(output.body, context),
|
|
@@ -777,16 +763,16 @@ const deserializeAws_restJson1CreateConfigCommandError = async (output, context)
|
|
|
777
763
|
switch (errorCode) {
|
|
778
764
|
case "DependencyException":
|
|
779
765
|
case "com.amazonaws.groundstation#DependencyException":
|
|
780
|
-
throw await
|
|
766
|
+
throw await de_DependencyExceptionRes(parsedOutput, context);
|
|
781
767
|
case "InvalidParameterException":
|
|
782
768
|
case "com.amazonaws.groundstation#InvalidParameterException":
|
|
783
|
-
throw await
|
|
769
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
784
770
|
case "ResourceLimitExceededException":
|
|
785
771
|
case "com.amazonaws.groundstation#ResourceLimitExceededException":
|
|
786
|
-
throw await
|
|
772
|
+
throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
|
|
787
773
|
case "ResourceNotFoundException":
|
|
788
774
|
case "com.amazonaws.groundstation#ResourceNotFoundException":
|
|
789
|
-
throw await
|
|
775
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
790
776
|
default:
|
|
791
777
|
const parsedBody = parsedOutput.body;
|
|
792
778
|
throwDefaultError({
|
|
@@ -797,9 +783,9 @@ const deserializeAws_restJson1CreateConfigCommandError = async (output, context)
|
|
|
797
783
|
});
|
|
798
784
|
}
|
|
799
785
|
};
|
|
800
|
-
export const
|
|
786
|
+
export const de_CreateDataflowEndpointGroupCommand = async (output, context) => {
|
|
801
787
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
802
|
-
return
|
|
788
|
+
return de_CreateDataflowEndpointGroupCommandError(output, context);
|
|
803
789
|
}
|
|
804
790
|
const contents = map({
|
|
805
791
|
$metadata: deserializeMetadata(output),
|
|
@@ -810,7 +796,7 @@ export const deserializeAws_restJson1CreateDataflowEndpointGroupCommand = async
|
|
|
810
796
|
}
|
|
811
797
|
return contents;
|
|
812
798
|
};
|
|
813
|
-
const
|
|
799
|
+
const de_CreateDataflowEndpointGroupCommandError = async (output, context) => {
|
|
814
800
|
const parsedOutput = {
|
|
815
801
|
...output,
|
|
816
802
|
body: await parseErrorBody(output.body, context),
|
|
@@ -819,13 +805,13 @@ const deserializeAws_restJson1CreateDataflowEndpointGroupCommandError = async (o
|
|
|
819
805
|
switch (errorCode) {
|
|
820
806
|
case "DependencyException":
|
|
821
807
|
case "com.amazonaws.groundstation#DependencyException":
|
|
822
|
-
throw await
|
|
808
|
+
throw await de_DependencyExceptionRes(parsedOutput, context);
|
|
823
809
|
case "InvalidParameterException":
|
|
824
810
|
case "com.amazonaws.groundstation#InvalidParameterException":
|
|
825
|
-
throw await
|
|
811
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
826
812
|
case "ResourceNotFoundException":
|
|
827
813
|
case "com.amazonaws.groundstation#ResourceNotFoundException":
|
|
828
|
-
throw await
|
|
814
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
829
815
|
default:
|
|
830
816
|
const parsedBody = parsedOutput.body;
|
|
831
817
|
throwDefaultError({
|
|
@@ -836,9 +822,9 @@ const deserializeAws_restJson1CreateDataflowEndpointGroupCommandError = async (o
|
|
|
836
822
|
});
|
|
837
823
|
}
|
|
838
824
|
};
|
|
839
|
-
export const
|
|
825
|
+
export const de_CreateEphemerisCommand = async (output, context) => {
|
|
840
826
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
841
|
-
return
|
|
827
|
+
return de_CreateEphemerisCommandError(output, context);
|
|
842
828
|
}
|
|
843
829
|
const contents = map({
|
|
844
830
|
$metadata: deserializeMetadata(output),
|
|
@@ -849,7 +835,7 @@ export const deserializeAws_restJson1CreateEphemerisCommand = async (output, con
|
|
|
849
835
|
}
|
|
850
836
|
return contents;
|
|
851
837
|
};
|
|
852
|
-
const
|
|
838
|
+
const de_CreateEphemerisCommandError = async (output, context) => {
|
|
853
839
|
const parsedOutput = {
|
|
854
840
|
...output,
|
|
855
841
|
body: await parseErrorBody(output.body, context),
|
|
@@ -858,13 +844,13 @@ const deserializeAws_restJson1CreateEphemerisCommandError = async (output, conte
|
|
|
858
844
|
switch (errorCode) {
|
|
859
845
|
case "DependencyException":
|
|
860
846
|
case "com.amazonaws.groundstation#DependencyException":
|
|
861
|
-
throw await
|
|
847
|
+
throw await de_DependencyExceptionRes(parsedOutput, context);
|
|
862
848
|
case "InvalidParameterException":
|
|
863
849
|
case "com.amazonaws.groundstation#InvalidParameterException":
|
|
864
|
-
throw await
|
|
850
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
865
851
|
case "ResourceNotFoundException":
|
|
866
852
|
case "com.amazonaws.groundstation#ResourceNotFoundException":
|
|
867
|
-
throw await
|
|
853
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
868
854
|
default:
|
|
869
855
|
const parsedBody = parsedOutput.body;
|
|
870
856
|
throwDefaultError({
|
|
@@ -875,9 +861,9 @@ const deserializeAws_restJson1CreateEphemerisCommandError = async (output, conte
|
|
|
875
861
|
});
|
|
876
862
|
}
|
|
877
863
|
};
|
|
878
|
-
export const
|
|
864
|
+
export const de_CreateMissionProfileCommand = async (output, context) => {
|
|
879
865
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
880
|
-
return
|
|
866
|
+
return de_CreateMissionProfileCommandError(output, context);
|
|
881
867
|
}
|
|
882
868
|
const contents = map({
|
|
883
869
|
$metadata: deserializeMetadata(output),
|
|
@@ -888,7 +874,7 @@ export const deserializeAws_restJson1CreateMissionProfileCommand = async (output
|
|
|
888
874
|
}
|
|
889
875
|
return contents;
|
|
890
876
|
};
|
|
891
|
-
const
|
|
877
|
+
const de_CreateMissionProfileCommandError = async (output, context) => {
|
|
892
878
|
const parsedOutput = {
|
|
893
879
|
...output,
|
|
894
880
|
body: await parseErrorBody(output.body, context),
|
|
@@ -897,13 +883,13 @@ const deserializeAws_restJson1CreateMissionProfileCommandError = async (output,
|
|
|
897
883
|
switch (errorCode) {
|
|
898
884
|
case "DependencyException":
|
|
899
885
|
case "com.amazonaws.groundstation#DependencyException":
|
|
900
|
-
throw await
|
|
886
|
+
throw await de_DependencyExceptionRes(parsedOutput, context);
|
|
901
887
|
case "InvalidParameterException":
|
|
902
888
|
case "com.amazonaws.groundstation#InvalidParameterException":
|
|
903
|
-
throw await
|
|
889
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
904
890
|
case "ResourceNotFoundException":
|
|
905
891
|
case "com.amazonaws.groundstation#ResourceNotFoundException":
|
|
906
|
-
throw await
|
|
892
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
907
893
|
default:
|
|
908
894
|
const parsedBody = parsedOutput.body;
|
|
909
895
|
throwDefaultError({
|
|
@@ -914,9 +900,9 @@ const deserializeAws_restJson1CreateMissionProfileCommandError = async (output,
|
|
|
914
900
|
});
|
|
915
901
|
}
|
|
916
902
|
};
|
|
917
|
-
export const
|
|
903
|
+
export const de_DeleteConfigCommand = async (output, context) => {
|
|
918
904
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
919
|
-
return
|
|
905
|
+
return de_DeleteConfigCommandError(output, context);
|
|
920
906
|
}
|
|
921
907
|
const contents = map({
|
|
922
908
|
$metadata: deserializeMetadata(output),
|
|
@@ -933,7 +919,7 @@ export const deserializeAws_restJson1DeleteConfigCommand = async (output, contex
|
|
|
933
919
|
}
|
|
934
920
|
return contents;
|
|
935
921
|
};
|
|
936
|
-
const
|
|
922
|
+
const de_DeleteConfigCommandError = async (output, context) => {
|
|
937
923
|
const parsedOutput = {
|
|
938
924
|
...output,
|
|
939
925
|
body: await parseErrorBody(output.body, context),
|
|
@@ -942,13 +928,13 @@ const deserializeAws_restJson1DeleteConfigCommandError = async (output, context)
|
|
|
942
928
|
switch (errorCode) {
|
|
943
929
|
case "DependencyException":
|
|
944
930
|
case "com.amazonaws.groundstation#DependencyException":
|
|
945
|
-
throw await
|
|
931
|
+
throw await de_DependencyExceptionRes(parsedOutput, context);
|
|
946
932
|
case "InvalidParameterException":
|
|
947
933
|
case "com.amazonaws.groundstation#InvalidParameterException":
|
|
948
|
-
throw await
|
|
934
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
949
935
|
case "ResourceNotFoundException":
|
|
950
936
|
case "com.amazonaws.groundstation#ResourceNotFoundException":
|
|
951
|
-
throw await
|
|
937
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
952
938
|
default:
|
|
953
939
|
const parsedBody = parsedOutput.body;
|
|
954
940
|
throwDefaultError({
|
|
@@ -959,9 +945,9 @@ const deserializeAws_restJson1DeleteConfigCommandError = async (output, context)
|
|
|
959
945
|
});
|
|
960
946
|
}
|
|
961
947
|
};
|
|
962
|
-
export const
|
|
948
|
+
export const de_DeleteDataflowEndpointGroupCommand = async (output, context) => {
|
|
963
949
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
964
|
-
return
|
|
950
|
+
return de_DeleteDataflowEndpointGroupCommandError(output, context);
|
|
965
951
|
}
|
|
966
952
|
const contents = map({
|
|
967
953
|
$metadata: deserializeMetadata(output),
|
|
@@ -972,7 +958,7 @@ export const deserializeAws_restJson1DeleteDataflowEndpointGroupCommand = async
|
|
|
972
958
|
}
|
|
973
959
|
return contents;
|
|
974
960
|
};
|
|
975
|
-
const
|
|
961
|
+
const de_DeleteDataflowEndpointGroupCommandError = async (output, context) => {
|
|
976
962
|
const parsedOutput = {
|
|
977
963
|
...output,
|
|
978
964
|
body: await parseErrorBody(output.body, context),
|
|
@@ -981,13 +967,13 @@ const deserializeAws_restJson1DeleteDataflowEndpointGroupCommandError = async (o
|
|
|
981
967
|
switch (errorCode) {
|
|
982
968
|
case "DependencyException":
|
|
983
969
|
case "com.amazonaws.groundstation#DependencyException":
|
|
984
|
-
throw await
|
|
970
|
+
throw await de_DependencyExceptionRes(parsedOutput, context);
|
|
985
971
|
case "InvalidParameterException":
|
|
986
972
|
case "com.amazonaws.groundstation#InvalidParameterException":
|
|
987
|
-
throw await
|
|
973
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
988
974
|
case "ResourceNotFoundException":
|
|
989
975
|
case "com.amazonaws.groundstation#ResourceNotFoundException":
|
|
990
|
-
throw await
|
|
976
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
991
977
|
default:
|
|
992
978
|
const parsedBody = parsedOutput.body;
|
|
993
979
|
throwDefaultError({
|
|
@@ -998,9 +984,9 @@ const deserializeAws_restJson1DeleteDataflowEndpointGroupCommandError = async (o
|
|
|
998
984
|
});
|
|
999
985
|
}
|
|
1000
986
|
};
|
|
1001
|
-
export const
|
|
987
|
+
export const de_DeleteEphemerisCommand = async (output, context) => {
|
|
1002
988
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1003
|
-
return
|
|
989
|
+
return de_DeleteEphemerisCommandError(output, context);
|
|
1004
990
|
}
|
|
1005
991
|
const contents = map({
|
|
1006
992
|
$metadata: deserializeMetadata(output),
|
|
@@ -1011,7 +997,7 @@ export const deserializeAws_restJson1DeleteEphemerisCommand = async (output, con
|
|
|
1011
997
|
}
|
|
1012
998
|
return contents;
|
|
1013
999
|
};
|
|
1014
|
-
const
|
|
1000
|
+
const de_DeleteEphemerisCommandError = async (output, context) => {
|
|
1015
1001
|
const parsedOutput = {
|
|
1016
1002
|
...output,
|
|
1017
1003
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1020,13 +1006,13 @@ const deserializeAws_restJson1DeleteEphemerisCommandError = async (output, conte
|
|
|
1020
1006
|
switch (errorCode) {
|
|
1021
1007
|
case "DependencyException":
|
|
1022
1008
|
case "com.amazonaws.groundstation#DependencyException":
|
|
1023
|
-
throw await
|
|
1009
|
+
throw await de_DependencyExceptionRes(parsedOutput, context);
|
|
1024
1010
|
case "InvalidParameterException":
|
|
1025
1011
|
case "com.amazonaws.groundstation#InvalidParameterException":
|
|
1026
|
-
throw await
|
|
1012
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1027
1013
|
case "ResourceNotFoundException":
|
|
1028
1014
|
case "com.amazonaws.groundstation#ResourceNotFoundException":
|
|
1029
|
-
throw await
|
|
1015
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1030
1016
|
default:
|
|
1031
1017
|
const parsedBody = parsedOutput.body;
|
|
1032
1018
|
throwDefaultError({
|
|
@@ -1037,9 +1023,9 @@ const deserializeAws_restJson1DeleteEphemerisCommandError = async (output, conte
|
|
|
1037
1023
|
});
|
|
1038
1024
|
}
|
|
1039
1025
|
};
|
|
1040
|
-
export const
|
|
1026
|
+
export const de_DeleteMissionProfileCommand = async (output, context) => {
|
|
1041
1027
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1042
|
-
return
|
|
1028
|
+
return de_DeleteMissionProfileCommandError(output, context);
|
|
1043
1029
|
}
|
|
1044
1030
|
const contents = map({
|
|
1045
1031
|
$metadata: deserializeMetadata(output),
|
|
@@ -1050,7 +1036,7 @@ export const deserializeAws_restJson1DeleteMissionProfileCommand = async (output
|
|
|
1050
1036
|
}
|
|
1051
1037
|
return contents;
|
|
1052
1038
|
};
|
|
1053
|
-
const
|
|
1039
|
+
const de_DeleteMissionProfileCommandError = async (output, context) => {
|
|
1054
1040
|
const parsedOutput = {
|
|
1055
1041
|
...output,
|
|
1056
1042
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1059,13 +1045,13 @@ const deserializeAws_restJson1DeleteMissionProfileCommandError = async (output,
|
|
|
1059
1045
|
switch (errorCode) {
|
|
1060
1046
|
case "DependencyException":
|
|
1061
1047
|
case "com.amazonaws.groundstation#DependencyException":
|
|
1062
|
-
throw await
|
|
1048
|
+
throw await de_DependencyExceptionRes(parsedOutput, context);
|
|
1063
1049
|
case "InvalidParameterException":
|
|
1064
1050
|
case "com.amazonaws.groundstation#InvalidParameterException":
|
|
1065
|
-
throw await
|
|
1051
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1066
1052
|
case "ResourceNotFoundException":
|
|
1067
1053
|
case "com.amazonaws.groundstation#ResourceNotFoundException":
|
|
1068
|
-
throw await
|
|
1054
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1069
1055
|
default:
|
|
1070
1056
|
const parsedBody = parsedOutput.body;
|
|
1071
1057
|
throwDefaultError({
|
|
@@ -1076,9 +1062,9 @@ const deserializeAws_restJson1DeleteMissionProfileCommandError = async (output,
|
|
|
1076
1062
|
});
|
|
1077
1063
|
}
|
|
1078
1064
|
};
|
|
1079
|
-
export const
|
|
1065
|
+
export const de_DescribeContactCommand = async (output, context) => {
|
|
1080
1066
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1081
|
-
return
|
|
1067
|
+
return de_DescribeContactCommandError(output, context);
|
|
1082
1068
|
}
|
|
1083
1069
|
const contents = map({
|
|
1084
1070
|
$metadata: deserializeMetadata(output),
|
|
@@ -1091,7 +1077,7 @@ export const deserializeAws_restJson1DescribeContactCommand = async (output, con
|
|
|
1091
1077
|
contents.contactStatus = __expectString(data.contactStatus);
|
|
1092
1078
|
}
|
|
1093
1079
|
if (data.dataflowList != null) {
|
|
1094
|
-
contents.dataflowList =
|
|
1080
|
+
contents.dataflowList = de_DataflowList(data.dataflowList, context);
|
|
1095
1081
|
}
|
|
1096
1082
|
if (data.endTime != null) {
|
|
1097
1083
|
contents.endTime = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.endTime)));
|
|
@@ -1103,7 +1089,7 @@ export const deserializeAws_restJson1DescribeContactCommand = async (output, con
|
|
|
1103
1089
|
contents.groundStation = __expectString(data.groundStation);
|
|
1104
1090
|
}
|
|
1105
1091
|
if (data.maximumElevation != null) {
|
|
1106
|
-
contents.maximumElevation =
|
|
1092
|
+
contents.maximumElevation = de_Elevation(data.maximumElevation, context);
|
|
1107
1093
|
}
|
|
1108
1094
|
if (data.missionProfileArn != null) {
|
|
1109
1095
|
contents.missionProfileArn = __expectString(data.missionProfileArn);
|
|
@@ -1124,11 +1110,11 @@ export const deserializeAws_restJson1DescribeContactCommand = async (output, con
|
|
|
1124
1110
|
contents.startTime = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.startTime)));
|
|
1125
1111
|
}
|
|
1126
1112
|
if (data.tags != null) {
|
|
1127
|
-
contents.tags =
|
|
1113
|
+
contents.tags = de_TagsMap(data.tags, context);
|
|
1128
1114
|
}
|
|
1129
1115
|
return contents;
|
|
1130
1116
|
};
|
|
1131
|
-
const
|
|
1117
|
+
const de_DescribeContactCommandError = async (output, context) => {
|
|
1132
1118
|
const parsedOutput = {
|
|
1133
1119
|
...output,
|
|
1134
1120
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1137,13 +1123,13 @@ const deserializeAws_restJson1DescribeContactCommandError = async (output, conte
|
|
|
1137
1123
|
switch (errorCode) {
|
|
1138
1124
|
case "DependencyException":
|
|
1139
1125
|
case "com.amazonaws.groundstation#DependencyException":
|
|
1140
|
-
throw await
|
|
1126
|
+
throw await de_DependencyExceptionRes(parsedOutput, context);
|
|
1141
1127
|
case "InvalidParameterException":
|
|
1142
1128
|
case "com.amazonaws.groundstation#InvalidParameterException":
|
|
1143
|
-
throw await
|
|
1129
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1144
1130
|
case "ResourceNotFoundException":
|
|
1145
1131
|
case "com.amazonaws.groundstation#ResourceNotFoundException":
|
|
1146
|
-
throw await
|
|
1132
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1147
1133
|
default:
|
|
1148
1134
|
const parsedBody = parsedOutput.body;
|
|
1149
1135
|
throwDefaultError({
|
|
@@ -1154,9 +1140,9 @@ const deserializeAws_restJson1DescribeContactCommandError = async (output, conte
|
|
|
1154
1140
|
});
|
|
1155
1141
|
}
|
|
1156
1142
|
};
|
|
1157
|
-
export const
|
|
1143
|
+
export const de_DescribeEphemerisCommand = async (output, context) => {
|
|
1158
1144
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1159
|
-
return
|
|
1145
|
+
return de_DescribeEphemerisCommandError(output, context);
|
|
1160
1146
|
}
|
|
1161
1147
|
const contents = map({
|
|
1162
1148
|
$metadata: deserializeMetadata(output),
|
|
@@ -1187,14 +1173,14 @@ export const deserializeAws_restJson1DescribeEphemerisCommand = async (output, c
|
|
|
1187
1173
|
contents.status = __expectString(data.status);
|
|
1188
1174
|
}
|
|
1189
1175
|
if (data.suppliedData != null) {
|
|
1190
|
-
contents.suppliedData =
|
|
1176
|
+
contents.suppliedData = de_EphemerisTypeDescription(__expectUnion(data.suppliedData), context);
|
|
1191
1177
|
}
|
|
1192
1178
|
if (data.tags != null) {
|
|
1193
|
-
contents.tags =
|
|
1179
|
+
contents.tags = de_TagsMap(data.tags, context);
|
|
1194
1180
|
}
|
|
1195
1181
|
return contents;
|
|
1196
1182
|
};
|
|
1197
|
-
const
|
|
1183
|
+
const de_DescribeEphemerisCommandError = async (output, context) => {
|
|
1198
1184
|
const parsedOutput = {
|
|
1199
1185
|
...output,
|
|
1200
1186
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1203,13 +1189,13 @@ const deserializeAws_restJson1DescribeEphemerisCommandError = async (output, con
|
|
|
1203
1189
|
switch (errorCode) {
|
|
1204
1190
|
case "DependencyException":
|
|
1205
1191
|
case "com.amazonaws.groundstation#DependencyException":
|
|
1206
|
-
throw await
|
|
1192
|
+
throw await de_DependencyExceptionRes(parsedOutput, context);
|
|
1207
1193
|
case "InvalidParameterException":
|
|
1208
1194
|
case "com.amazonaws.groundstation#InvalidParameterException":
|
|
1209
|
-
throw await
|
|
1195
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1210
1196
|
case "ResourceNotFoundException":
|
|
1211
1197
|
case "com.amazonaws.groundstation#ResourceNotFoundException":
|
|
1212
|
-
throw await
|
|
1198
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1213
1199
|
default:
|
|
1214
1200
|
const parsedBody = parsedOutput.body;
|
|
1215
1201
|
throwDefaultError({
|
|
@@ -1220,9 +1206,9 @@ const deserializeAws_restJson1DescribeEphemerisCommandError = async (output, con
|
|
|
1220
1206
|
});
|
|
1221
1207
|
}
|
|
1222
1208
|
};
|
|
1223
|
-
export const
|
|
1209
|
+
export const de_GetAgentConfigurationCommand = async (output, context) => {
|
|
1224
1210
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1225
|
-
return
|
|
1211
|
+
return de_GetAgentConfigurationCommandError(output, context);
|
|
1226
1212
|
}
|
|
1227
1213
|
const contents = map({
|
|
1228
1214
|
$metadata: deserializeMetadata(output),
|
|
@@ -1236,7 +1222,7 @@ export const deserializeAws_restJson1GetAgentConfigurationCommand = async (outpu
|
|
|
1236
1222
|
}
|
|
1237
1223
|
return contents;
|
|
1238
1224
|
};
|
|
1239
|
-
const
|
|
1225
|
+
const de_GetAgentConfigurationCommandError = async (output, context) => {
|
|
1240
1226
|
const parsedOutput = {
|
|
1241
1227
|
...output,
|
|
1242
1228
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1245,13 +1231,13 @@ const deserializeAws_restJson1GetAgentConfigurationCommandError = async (output,
|
|
|
1245
1231
|
switch (errorCode) {
|
|
1246
1232
|
case "DependencyException":
|
|
1247
1233
|
case "com.amazonaws.groundstation#DependencyException":
|
|
1248
|
-
throw await
|
|
1234
|
+
throw await de_DependencyExceptionRes(parsedOutput, context);
|
|
1249
1235
|
case "InvalidParameterException":
|
|
1250
1236
|
case "com.amazonaws.groundstation#InvalidParameterException":
|
|
1251
|
-
throw await
|
|
1237
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1252
1238
|
case "ResourceNotFoundException":
|
|
1253
1239
|
case "com.amazonaws.groundstation#ResourceNotFoundException":
|
|
1254
|
-
throw await
|
|
1240
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1255
1241
|
default:
|
|
1256
1242
|
const parsedBody = parsedOutput.body;
|
|
1257
1243
|
throwDefaultError({
|
|
@@ -1262,9 +1248,9 @@ const deserializeAws_restJson1GetAgentConfigurationCommandError = async (output,
|
|
|
1262
1248
|
});
|
|
1263
1249
|
}
|
|
1264
1250
|
};
|
|
1265
|
-
export const
|
|
1251
|
+
export const de_GetConfigCommand = async (output, context) => {
|
|
1266
1252
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1267
|
-
return
|
|
1253
|
+
return de_GetConfigCommandError(output, context);
|
|
1268
1254
|
}
|
|
1269
1255
|
const contents = map({
|
|
1270
1256
|
$metadata: deserializeMetadata(output),
|
|
@@ -1274,7 +1260,7 @@ export const deserializeAws_restJson1GetConfigCommand = async (output, context)
|
|
|
1274
1260
|
contents.configArn = __expectString(data.configArn);
|
|
1275
1261
|
}
|
|
1276
1262
|
if (data.configData != null) {
|
|
1277
|
-
contents.configData =
|
|
1263
|
+
contents.configData = de_ConfigTypeData(__expectUnion(data.configData), context);
|
|
1278
1264
|
}
|
|
1279
1265
|
if (data.configId != null) {
|
|
1280
1266
|
contents.configId = __expectString(data.configId);
|
|
@@ -1286,11 +1272,11 @@ export const deserializeAws_restJson1GetConfigCommand = async (output, context)
|
|
|
1286
1272
|
contents.name = __expectString(data.name);
|
|
1287
1273
|
}
|
|
1288
1274
|
if (data.tags != null) {
|
|
1289
|
-
contents.tags =
|
|
1275
|
+
contents.tags = de_TagsMap(data.tags, context);
|
|
1290
1276
|
}
|
|
1291
1277
|
return contents;
|
|
1292
1278
|
};
|
|
1293
|
-
const
|
|
1279
|
+
const de_GetConfigCommandError = async (output, context) => {
|
|
1294
1280
|
const parsedOutput = {
|
|
1295
1281
|
...output,
|
|
1296
1282
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1299,13 +1285,13 @@ const deserializeAws_restJson1GetConfigCommandError = async (output, context) =>
|
|
|
1299
1285
|
switch (errorCode) {
|
|
1300
1286
|
case "DependencyException":
|
|
1301
1287
|
case "com.amazonaws.groundstation#DependencyException":
|
|
1302
|
-
throw await
|
|
1288
|
+
throw await de_DependencyExceptionRes(parsedOutput, context);
|
|
1303
1289
|
case "InvalidParameterException":
|
|
1304
1290
|
case "com.amazonaws.groundstation#InvalidParameterException":
|
|
1305
|
-
throw await
|
|
1291
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1306
1292
|
case "ResourceNotFoundException":
|
|
1307
1293
|
case "com.amazonaws.groundstation#ResourceNotFoundException":
|
|
1308
|
-
throw await
|
|
1294
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1309
1295
|
default:
|
|
1310
1296
|
const parsedBody = parsedOutput.body;
|
|
1311
1297
|
throwDefaultError({
|
|
@@ -1316,9 +1302,9 @@ const deserializeAws_restJson1GetConfigCommandError = async (output, context) =>
|
|
|
1316
1302
|
});
|
|
1317
1303
|
}
|
|
1318
1304
|
};
|
|
1319
|
-
export const
|
|
1305
|
+
export const de_GetDataflowEndpointGroupCommand = async (output, context) => {
|
|
1320
1306
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1321
|
-
return
|
|
1307
|
+
return de_GetDataflowEndpointGroupCommandError(output, context);
|
|
1322
1308
|
}
|
|
1323
1309
|
const contents = map({
|
|
1324
1310
|
$metadata: deserializeMetadata(output),
|
|
@@ -1337,14 +1323,14 @@ export const deserializeAws_restJson1GetDataflowEndpointGroupCommand = async (ou
|
|
|
1337
1323
|
contents.dataflowEndpointGroupId = __expectString(data.dataflowEndpointGroupId);
|
|
1338
1324
|
}
|
|
1339
1325
|
if (data.endpointsDetails != null) {
|
|
1340
|
-
contents.endpointsDetails =
|
|
1326
|
+
contents.endpointsDetails = de_EndpointDetailsList(data.endpointsDetails, context);
|
|
1341
1327
|
}
|
|
1342
1328
|
if (data.tags != null) {
|
|
1343
|
-
contents.tags =
|
|
1329
|
+
contents.tags = de_TagsMap(data.tags, context);
|
|
1344
1330
|
}
|
|
1345
1331
|
return contents;
|
|
1346
1332
|
};
|
|
1347
|
-
const
|
|
1333
|
+
const de_GetDataflowEndpointGroupCommandError = async (output, context) => {
|
|
1348
1334
|
const parsedOutput = {
|
|
1349
1335
|
...output,
|
|
1350
1336
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1353,13 +1339,13 @@ const deserializeAws_restJson1GetDataflowEndpointGroupCommandError = async (outp
|
|
|
1353
1339
|
switch (errorCode) {
|
|
1354
1340
|
case "DependencyException":
|
|
1355
1341
|
case "com.amazonaws.groundstation#DependencyException":
|
|
1356
|
-
throw await
|
|
1342
|
+
throw await de_DependencyExceptionRes(parsedOutput, context);
|
|
1357
1343
|
case "InvalidParameterException":
|
|
1358
1344
|
case "com.amazonaws.groundstation#InvalidParameterException":
|
|
1359
|
-
throw await
|
|
1345
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1360
1346
|
case "ResourceNotFoundException":
|
|
1361
1347
|
case "com.amazonaws.groundstation#ResourceNotFoundException":
|
|
1362
|
-
throw await
|
|
1348
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1363
1349
|
default:
|
|
1364
1350
|
const parsedBody = parsedOutput.body;
|
|
1365
1351
|
throwDefaultError({
|
|
@@ -1370,9 +1356,9 @@ const deserializeAws_restJson1GetDataflowEndpointGroupCommandError = async (outp
|
|
|
1370
1356
|
});
|
|
1371
1357
|
}
|
|
1372
1358
|
};
|
|
1373
|
-
export const
|
|
1359
|
+
export const de_GetMinuteUsageCommand = async (output, context) => {
|
|
1374
1360
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1375
|
-
return
|
|
1361
|
+
return de_GetMinuteUsageCommandError(output, context);
|
|
1376
1362
|
}
|
|
1377
1363
|
const contents = map({
|
|
1378
1364
|
$metadata: deserializeMetadata(output),
|
|
@@ -1395,7 +1381,7 @@ export const deserializeAws_restJson1GetMinuteUsageCommand = async (output, cont
|
|
|
1395
1381
|
}
|
|
1396
1382
|
return contents;
|
|
1397
1383
|
};
|
|
1398
|
-
const
|
|
1384
|
+
const de_GetMinuteUsageCommandError = async (output, context) => {
|
|
1399
1385
|
const parsedOutput = {
|
|
1400
1386
|
...output,
|
|
1401
1387
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1404,13 +1390,13 @@ const deserializeAws_restJson1GetMinuteUsageCommandError = async (output, contex
|
|
|
1404
1390
|
switch (errorCode) {
|
|
1405
1391
|
case "DependencyException":
|
|
1406
1392
|
case "com.amazonaws.groundstation#DependencyException":
|
|
1407
|
-
throw await
|
|
1393
|
+
throw await de_DependencyExceptionRes(parsedOutput, context);
|
|
1408
1394
|
case "InvalidParameterException":
|
|
1409
1395
|
case "com.amazonaws.groundstation#InvalidParameterException":
|
|
1410
|
-
throw await
|
|
1396
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1411
1397
|
case "ResourceNotFoundException":
|
|
1412
1398
|
case "com.amazonaws.groundstation#ResourceNotFoundException":
|
|
1413
|
-
throw await
|
|
1399
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1414
1400
|
default:
|
|
1415
1401
|
const parsedBody = parsedOutput.body;
|
|
1416
1402
|
throwDefaultError({
|
|
@@ -1421,9 +1407,9 @@ const deserializeAws_restJson1GetMinuteUsageCommandError = async (output, contex
|
|
|
1421
1407
|
});
|
|
1422
1408
|
}
|
|
1423
1409
|
};
|
|
1424
|
-
export const
|
|
1410
|
+
export const de_GetMissionProfileCommand = async (output, context) => {
|
|
1425
1411
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1426
|
-
return
|
|
1412
|
+
return de_GetMissionProfileCommandError(output, context);
|
|
1427
1413
|
}
|
|
1428
1414
|
const contents = map({
|
|
1429
1415
|
$metadata: deserializeMetadata(output),
|
|
@@ -1436,7 +1422,7 @@ export const deserializeAws_restJson1GetMissionProfileCommand = async (output, c
|
|
|
1436
1422
|
contents.contactPrePassDurationSeconds = __expectInt32(data.contactPrePassDurationSeconds);
|
|
1437
1423
|
}
|
|
1438
1424
|
if (data.dataflowEdges != null) {
|
|
1439
|
-
contents.dataflowEdges =
|
|
1425
|
+
contents.dataflowEdges = de_DataflowEdgeList(data.dataflowEdges, context);
|
|
1440
1426
|
}
|
|
1441
1427
|
if (data.minimumViableContactDurationSeconds != null) {
|
|
1442
1428
|
contents.minimumViableContactDurationSeconds = __expectInt32(data.minimumViableContactDurationSeconds);
|
|
@@ -1454,20 +1440,20 @@ export const deserializeAws_restJson1GetMissionProfileCommand = async (output, c
|
|
|
1454
1440
|
contents.region = __expectString(data.region);
|
|
1455
1441
|
}
|
|
1456
1442
|
if (data.streamsKmsKey != null) {
|
|
1457
|
-
contents.streamsKmsKey =
|
|
1443
|
+
contents.streamsKmsKey = de_KmsKey(__expectUnion(data.streamsKmsKey), context);
|
|
1458
1444
|
}
|
|
1459
1445
|
if (data.streamsKmsRole != null) {
|
|
1460
1446
|
contents.streamsKmsRole = __expectString(data.streamsKmsRole);
|
|
1461
1447
|
}
|
|
1462
1448
|
if (data.tags != null) {
|
|
1463
|
-
contents.tags =
|
|
1449
|
+
contents.tags = de_TagsMap(data.tags, context);
|
|
1464
1450
|
}
|
|
1465
1451
|
if (data.trackingConfigArn != null) {
|
|
1466
1452
|
contents.trackingConfigArn = __expectString(data.trackingConfigArn);
|
|
1467
1453
|
}
|
|
1468
1454
|
return contents;
|
|
1469
1455
|
};
|
|
1470
|
-
const
|
|
1456
|
+
const de_GetMissionProfileCommandError = async (output, context) => {
|
|
1471
1457
|
const parsedOutput = {
|
|
1472
1458
|
...output,
|
|
1473
1459
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1476,13 +1462,13 @@ const deserializeAws_restJson1GetMissionProfileCommandError = async (output, con
|
|
|
1476
1462
|
switch (errorCode) {
|
|
1477
1463
|
case "DependencyException":
|
|
1478
1464
|
case "com.amazonaws.groundstation#DependencyException":
|
|
1479
|
-
throw await
|
|
1465
|
+
throw await de_DependencyExceptionRes(parsedOutput, context);
|
|
1480
1466
|
case "InvalidParameterException":
|
|
1481
1467
|
case "com.amazonaws.groundstation#InvalidParameterException":
|
|
1482
|
-
throw await
|
|
1468
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1483
1469
|
case "ResourceNotFoundException":
|
|
1484
1470
|
case "com.amazonaws.groundstation#ResourceNotFoundException":
|
|
1485
|
-
throw await
|
|
1471
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1486
1472
|
default:
|
|
1487
1473
|
const parsedBody = parsedOutput.body;
|
|
1488
1474
|
throwDefaultError({
|
|
@@ -1493,19 +1479,19 @@ const deserializeAws_restJson1GetMissionProfileCommandError = async (output, con
|
|
|
1493
1479
|
});
|
|
1494
1480
|
}
|
|
1495
1481
|
};
|
|
1496
|
-
export const
|
|
1482
|
+
export const de_GetSatelliteCommand = async (output, context) => {
|
|
1497
1483
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1498
|
-
return
|
|
1484
|
+
return de_GetSatelliteCommandError(output, context);
|
|
1499
1485
|
}
|
|
1500
1486
|
const contents = map({
|
|
1501
1487
|
$metadata: deserializeMetadata(output),
|
|
1502
1488
|
});
|
|
1503
1489
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1504
1490
|
if (data.currentEphemeris != null) {
|
|
1505
|
-
contents.currentEphemeris =
|
|
1491
|
+
contents.currentEphemeris = de_EphemerisMetaData(data.currentEphemeris, context);
|
|
1506
1492
|
}
|
|
1507
1493
|
if (data.groundStations != null) {
|
|
1508
|
-
contents.groundStations =
|
|
1494
|
+
contents.groundStations = de_GroundStationIdList(data.groundStations, context);
|
|
1509
1495
|
}
|
|
1510
1496
|
if (data.noradSatelliteID != null) {
|
|
1511
1497
|
contents.noradSatelliteID = __expectInt32(data.noradSatelliteID);
|
|
@@ -1518,7 +1504,7 @@ export const deserializeAws_restJson1GetSatelliteCommand = async (output, contex
|
|
|
1518
1504
|
}
|
|
1519
1505
|
return contents;
|
|
1520
1506
|
};
|
|
1521
|
-
const
|
|
1507
|
+
const de_GetSatelliteCommandError = async (output, context) => {
|
|
1522
1508
|
const parsedOutput = {
|
|
1523
1509
|
...output,
|
|
1524
1510
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1527,13 +1513,13 @@ const deserializeAws_restJson1GetSatelliteCommandError = async (output, context)
|
|
|
1527
1513
|
switch (errorCode) {
|
|
1528
1514
|
case "DependencyException":
|
|
1529
1515
|
case "com.amazonaws.groundstation#DependencyException":
|
|
1530
|
-
throw await
|
|
1516
|
+
throw await de_DependencyExceptionRes(parsedOutput, context);
|
|
1531
1517
|
case "InvalidParameterException":
|
|
1532
1518
|
case "com.amazonaws.groundstation#InvalidParameterException":
|
|
1533
|
-
throw await
|
|
1519
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1534
1520
|
case "ResourceNotFoundException":
|
|
1535
1521
|
case "com.amazonaws.groundstation#ResourceNotFoundException":
|
|
1536
|
-
throw await
|
|
1522
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1537
1523
|
default:
|
|
1538
1524
|
const parsedBody = parsedOutput.body;
|
|
1539
1525
|
throwDefaultError({
|
|
@@ -1544,23 +1530,23 @@ const deserializeAws_restJson1GetSatelliteCommandError = async (output, context)
|
|
|
1544
1530
|
});
|
|
1545
1531
|
}
|
|
1546
1532
|
};
|
|
1547
|
-
export const
|
|
1533
|
+
export const de_ListConfigsCommand = async (output, context) => {
|
|
1548
1534
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1549
|
-
return
|
|
1535
|
+
return de_ListConfigsCommandError(output, context);
|
|
1550
1536
|
}
|
|
1551
1537
|
const contents = map({
|
|
1552
1538
|
$metadata: deserializeMetadata(output),
|
|
1553
1539
|
});
|
|
1554
1540
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1555
1541
|
if (data.configList != null) {
|
|
1556
|
-
contents.configList =
|
|
1542
|
+
contents.configList = de_ConfigList(data.configList, context);
|
|
1557
1543
|
}
|
|
1558
1544
|
if (data.nextToken != null) {
|
|
1559
1545
|
contents.nextToken = __expectString(data.nextToken);
|
|
1560
1546
|
}
|
|
1561
1547
|
return contents;
|
|
1562
1548
|
};
|
|
1563
|
-
const
|
|
1549
|
+
const de_ListConfigsCommandError = async (output, context) => {
|
|
1564
1550
|
const parsedOutput = {
|
|
1565
1551
|
...output,
|
|
1566
1552
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1569,13 +1555,13 @@ const deserializeAws_restJson1ListConfigsCommandError = async (output, context)
|
|
|
1569
1555
|
switch (errorCode) {
|
|
1570
1556
|
case "DependencyException":
|
|
1571
1557
|
case "com.amazonaws.groundstation#DependencyException":
|
|
1572
|
-
throw await
|
|
1558
|
+
throw await de_DependencyExceptionRes(parsedOutput, context);
|
|
1573
1559
|
case "InvalidParameterException":
|
|
1574
1560
|
case "com.amazonaws.groundstation#InvalidParameterException":
|
|
1575
|
-
throw await
|
|
1561
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1576
1562
|
case "ResourceNotFoundException":
|
|
1577
1563
|
case "com.amazonaws.groundstation#ResourceNotFoundException":
|
|
1578
|
-
throw await
|
|
1564
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1579
1565
|
default:
|
|
1580
1566
|
const parsedBody = parsedOutput.body;
|
|
1581
1567
|
throwDefaultError({
|
|
@@ -1586,23 +1572,23 @@ const deserializeAws_restJson1ListConfigsCommandError = async (output, context)
|
|
|
1586
1572
|
});
|
|
1587
1573
|
}
|
|
1588
1574
|
};
|
|
1589
|
-
export const
|
|
1575
|
+
export const de_ListContactsCommand = async (output, context) => {
|
|
1590
1576
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1591
|
-
return
|
|
1577
|
+
return de_ListContactsCommandError(output, context);
|
|
1592
1578
|
}
|
|
1593
1579
|
const contents = map({
|
|
1594
1580
|
$metadata: deserializeMetadata(output),
|
|
1595
1581
|
});
|
|
1596
1582
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1597
1583
|
if (data.contactList != null) {
|
|
1598
|
-
contents.contactList =
|
|
1584
|
+
contents.contactList = de_ContactList(data.contactList, context);
|
|
1599
1585
|
}
|
|
1600
1586
|
if (data.nextToken != null) {
|
|
1601
1587
|
contents.nextToken = __expectString(data.nextToken);
|
|
1602
1588
|
}
|
|
1603
1589
|
return contents;
|
|
1604
1590
|
};
|
|
1605
|
-
const
|
|
1591
|
+
const de_ListContactsCommandError = async (output, context) => {
|
|
1606
1592
|
const parsedOutput = {
|
|
1607
1593
|
...output,
|
|
1608
1594
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1611,13 +1597,13 @@ const deserializeAws_restJson1ListContactsCommandError = async (output, context)
|
|
|
1611
1597
|
switch (errorCode) {
|
|
1612
1598
|
case "DependencyException":
|
|
1613
1599
|
case "com.amazonaws.groundstation#DependencyException":
|
|
1614
|
-
throw await
|
|
1600
|
+
throw await de_DependencyExceptionRes(parsedOutput, context);
|
|
1615
1601
|
case "InvalidParameterException":
|
|
1616
1602
|
case "com.amazonaws.groundstation#InvalidParameterException":
|
|
1617
|
-
throw await
|
|
1603
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1618
1604
|
case "ResourceNotFoundException":
|
|
1619
1605
|
case "com.amazonaws.groundstation#ResourceNotFoundException":
|
|
1620
|
-
throw await
|
|
1606
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1621
1607
|
default:
|
|
1622
1608
|
const parsedBody = parsedOutput.body;
|
|
1623
1609
|
throwDefaultError({
|
|
@@ -1628,23 +1614,23 @@ const deserializeAws_restJson1ListContactsCommandError = async (output, context)
|
|
|
1628
1614
|
});
|
|
1629
1615
|
}
|
|
1630
1616
|
};
|
|
1631
|
-
export const
|
|
1617
|
+
export const de_ListDataflowEndpointGroupsCommand = async (output, context) => {
|
|
1632
1618
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1633
|
-
return
|
|
1619
|
+
return de_ListDataflowEndpointGroupsCommandError(output, context);
|
|
1634
1620
|
}
|
|
1635
1621
|
const contents = map({
|
|
1636
1622
|
$metadata: deserializeMetadata(output),
|
|
1637
1623
|
});
|
|
1638
1624
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1639
1625
|
if (data.dataflowEndpointGroupList != null) {
|
|
1640
|
-
contents.dataflowEndpointGroupList =
|
|
1626
|
+
contents.dataflowEndpointGroupList = de_DataflowEndpointGroupList(data.dataflowEndpointGroupList, context);
|
|
1641
1627
|
}
|
|
1642
1628
|
if (data.nextToken != null) {
|
|
1643
1629
|
contents.nextToken = __expectString(data.nextToken);
|
|
1644
1630
|
}
|
|
1645
1631
|
return contents;
|
|
1646
1632
|
};
|
|
1647
|
-
const
|
|
1633
|
+
const de_ListDataflowEndpointGroupsCommandError = async (output, context) => {
|
|
1648
1634
|
const parsedOutput = {
|
|
1649
1635
|
...output,
|
|
1650
1636
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1653,13 +1639,13 @@ const deserializeAws_restJson1ListDataflowEndpointGroupsCommandError = async (ou
|
|
|
1653
1639
|
switch (errorCode) {
|
|
1654
1640
|
case "DependencyException":
|
|
1655
1641
|
case "com.amazonaws.groundstation#DependencyException":
|
|
1656
|
-
throw await
|
|
1642
|
+
throw await de_DependencyExceptionRes(parsedOutput, context);
|
|
1657
1643
|
case "InvalidParameterException":
|
|
1658
1644
|
case "com.amazonaws.groundstation#InvalidParameterException":
|
|
1659
|
-
throw await
|
|
1645
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1660
1646
|
case "ResourceNotFoundException":
|
|
1661
1647
|
case "com.amazonaws.groundstation#ResourceNotFoundException":
|
|
1662
|
-
throw await
|
|
1648
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1663
1649
|
default:
|
|
1664
1650
|
const parsedBody = parsedOutput.body;
|
|
1665
1651
|
throwDefaultError({
|
|
@@ -1670,23 +1656,23 @@ const deserializeAws_restJson1ListDataflowEndpointGroupsCommandError = async (ou
|
|
|
1670
1656
|
});
|
|
1671
1657
|
}
|
|
1672
1658
|
};
|
|
1673
|
-
export const
|
|
1659
|
+
export const de_ListEphemeridesCommand = async (output, context) => {
|
|
1674
1660
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1675
|
-
return
|
|
1661
|
+
return de_ListEphemeridesCommandError(output, context);
|
|
1676
1662
|
}
|
|
1677
1663
|
const contents = map({
|
|
1678
1664
|
$metadata: deserializeMetadata(output),
|
|
1679
1665
|
});
|
|
1680
1666
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1681
1667
|
if (data.ephemerides != null) {
|
|
1682
|
-
contents.ephemerides =
|
|
1668
|
+
contents.ephemerides = de_EphemeridesList(data.ephemerides, context);
|
|
1683
1669
|
}
|
|
1684
1670
|
if (data.nextToken != null) {
|
|
1685
1671
|
contents.nextToken = __expectString(data.nextToken);
|
|
1686
1672
|
}
|
|
1687
1673
|
return contents;
|
|
1688
1674
|
};
|
|
1689
|
-
const
|
|
1675
|
+
const de_ListEphemeridesCommandError = async (output, context) => {
|
|
1690
1676
|
const parsedOutput = {
|
|
1691
1677
|
...output,
|
|
1692
1678
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1695,13 +1681,13 @@ const deserializeAws_restJson1ListEphemeridesCommandError = async (output, conte
|
|
|
1695
1681
|
switch (errorCode) {
|
|
1696
1682
|
case "DependencyException":
|
|
1697
1683
|
case "com.amazonaws.groundstation#DependencyException":
|
|
1698
|
-
throw await
|
|
1684
|
+
throw await de_DependencyExceptionRes(parsedOutput, context);
|
|
1699
1685
|
case "InvalidParameterException":
|
|
1700
1686
|
case "com.amazonaws.groundstation#InvalidParameterException":
|
|
1701
|
-
throw await
|
|
1687
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1702
1688
|
case "ResourceNotFoundException":
|
|
1703
1689
|
case "com.amazonaws.groundstation#ResourceNotFoundException":
|
|
1704
|
-
throw await
|
|
1690
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1705
1691
|
default:
|
|
1706
1692
|
const parsedBody = parsedOutput.body;
|
|
1707
1693
|
throwDefaultError({
|
|
@@ -1712,23 +1698,23 @@ const deserializeAws_restJson1ListEphemeridesCommandError = async (output, conte
|
|
|
1712
1698
|
});
|
|
1713
1699
|
}
|
|
1714
1700
|
};
|
|
1715
|
-
export const
|
|
1701
|
+
export const de_ListGroundStationsCommand = async (output, context) => {
|
|
1716
1702
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1717
|
-
return
|
|
1703
|
+
return de_ListGroundStationsCommandError(output, context);
|
|
1718
1704
|
}
|
|
1719
1705
|
const contents = map({
|
|
1720
1706
|
$metadata: deserializeMetadata(output),
|
|
1721
1707
|
});
|
|
1722
1708
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1723
1709
|
if (data.groundStationList != null) {
|
|
1724
|
-
contents.groundStationList =
|
|
1710
|
+
contents.groundStationList = de_GroundStationList(data.groundStationList, context);
|
|
1725
1711
|
}
|
|
1726
1712
|
if (data.nextToken != null) {
|
|
1727
1713
|
contents.nextToken = __expectString(data.nextToken);
|
|
1728
1714
|
}
|
|
1729
1715
|
return contents;
|
|
1730
1716
|
};
|
|
1731
|
-
const
|
|
1717
|
+
const de_ListGroundStationsCommandError = async (output, context) => {
|
|
1732
1718
|
const parsedOutput = {
|
|
1733
1719
|
...output,
|
|
1734
1720
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1737,13 +1723,13 @@ const deserializeAws_restJson1ListGroundStationsCommandError = async (output, co
|
|
|
1737
1723
|
switch (errorCode) {
|
|
1738
1724
|
case "DependencyException":
|
|
1739
1725
|
case "com.amazonaws.groundstation#DependencyException":
|
|
1740
|
-
throw await
|
|
1726
|
+
throw await de_DependencyExceptionRes(parsedOutput, context);
|
|
1741
1727
|
case "InvalidParameterException":
|
|
1742
1728
|
case "com.amazonaws.groundstation#InvalidParameterException":
|
|
1743
|
-
throw await
|
|
1729
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1744
1730
|
case "ResourceNotFoundException":
|
|
1745
1731
|
case "com.amazonaws.groundstation#ResourceNotFoundException":
|
|
1746
|
-
throw await
|
|
1732
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1747
1733
|
default:
|
|
1748
1734
|
const parsedBody = parsedOutput.body;
|
|
1749
1735
|
throwDefaultError({
|
|
@@ -1754,23 +1740,23 @@ const deserializeAws_restJson1ListGroundStationsCommandError = async (output, co
|
|
|
1754
1740
|
});
|
|
1755
1741
|
}
|
|
1756
1742
|
};
|
|
1757
|
-
export const
|
|
1743
|
+
export const de_ListMissionProfilesCommand = async (output, context) => {
|
|
1758
1744
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1759
|
-
return
|
|
1745
|
+
return de_ListMissionProfilesCommandError(output, context);
|
|
1760
1746
|
}
|
|
1761
1747
|
const contents = map({
|
|
1762
1748
|
$metadata: deserializeMetadata(output),
|
|
1763
1749
|
});
|
|
1764
1750
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1765
1751
|
if (data.missionProfileList != null) {
|
|
1766
|
-
contents.missionProfileList =
|
|
1752
|
+
contents.missionProfileList = de_MissionProfileList(data.missionProfileList, context);
|
|
1767
1753
|
}
|
|
1768
1754
|
if (data.nextToken != null) {
|
|
1769
1755
|
contents.nextToken = __expectString(data.nextToken);
|
|
1770
1756
|
}
|
|
1771
1757
|
return contents;
|
|
1772
1758
|
};
|
|
1773
|
-
const
|
|
1759
|
+
const de_ListMissionProfilesCommandError = async (output, context) => {
|
|
1774
1760
|
const parsedOutput = {
|
|
1775
1761
|
...output,
|
|
1776
1762
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1779,13 +1765,13 @@ const deserializeAws_restJson1ListMissionProfilesCommandError = async (output, c
|
|
|
1779
1765
|
switch (errorCode) {
|
|
1780
1766
|
case "DependencyException":
|
|
1781
1767
|
case "com.amazonaws.groundstation#DependencyException":
|
|
1782
|
-
throw await
|
|
1768
|
+
throw await de_DependencyExceptionRes(parsedOutput, context);
|
|
1783
1769
|
case "InvalidParameterException":
|
|
1784
1770
|
case "com.amazonaws.groundstation#InvalidParameterException":
|
|
1785
|
-
throw await
|
|
1771
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1786
1772
|
case "ResourceNotFoundException":
|
|
1787
1773
|
case "com.amazonaws.groundstation#ResourceNotFoundException":
|
|
1788
|
-
throw await
|
|
1774
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1789
1775
|
default:
|
|
1790
1776
|
const parsedBody = parsedOutput.body;
|
|
1791
1777
|
throwDefaultError({
|
|
@@ -1796,9 +1782,9 @@ const deserializeAws_restJson1ListMissionProfilesCommandError = async (output, c
|
|
|
1796
1782
|
});
|
|
1797
1783
|
}
|
|
1798
1784
|
};
|
|
1799
|
-
export const
|
|
1785
|
+
export const de_ListSatellitesCommand = async (output, context) => {
|
|
1800
1786
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1801
|
-
return
|
|
1787
|
+
return de_ListSatellitesCommandError(output, context);
|
|
1802
1788
|
}
|
|
1803
1789
|
const contents = map({
|
|
1804
1790
|
$metadata: deserializeMetadata(output),
|
|
@@ -1808,11 +1794,11 @@ export const deserializeAws_restJson1ListSatellitesCommand = async (output, cont
|
|
|
1808
1794
|
contents.nextToken = __expectString(data.nextToken);
|
|
1809
1795
|
}
|
|
1810
1796
|
if (data.satellites != null) {
|
|
1811
|
-
contents.satellites =
|
|
1797
|
+
contents.satellites = de_SatelliteList(data.satellites, context);
|
|
1812
1798
|
}
|
|
1813
1799
|
return contents;
|
|
1814
1800
|
};
|
|
1815
|
-
const
|
|
1801
|
+
const de_ListSatellitesCommandError = async (output, context) => {
|
|
1816
1802
|
const parsedOutput = {
|
|
1817
1803
|
...output,
|
|
1818
1804
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1821,13 +1807,13 @@ const deserializeAws_restJson1ListSatellitesCommandError = async (output, contex
|
|
|
1821
1807
|
switch (errorCode) {
|
|
1822
1808
|
case "DependencyException":
|
|
1823
1809
|
case "com.amazonaws.groundstation#DependencyException":
|
|
1824
|
-
throw await
|
|
1810
|
+
throw await de_DependencyExceptionRes(parsedOutput, context);
|
|
1825
1811
|
case "InvalidParameterException":
|
|
1826
1812
|
case "com.amazonaws.groundstation#InvalidParameterException":
|
|
1827
|
-
throw await
|
|
1813
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1828
1814
|
case "ResourceNotFoundException":
|
|
1829
1815
|
case "com.amazonaws.groundstation#ResourceNotFoundException":
|
|
1830
|
-
throw await
|
|
1816
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1831
1817
|
default:
|
|
1832
1818
|
const parsedBody = parsedOutput.body;
|
|
1833
1819
|
throwDefaultError({
|
|
@@ -1838,20 +1824,20 @@ const deserializeAws_restJson1ListSatellitesCommandError = async (output, contex
|
|
|
1838
1824
|
});
|
|
1839
1825
|
}
|
|
1840
1826
|
};
|
|
1841
|
-
export const
|
|
1827
|
+
export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
1842
1828
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1843
|
-
return
|
|
1829
|
+
return de_ListTagsForResourceCommandError(output, context);
|
|
1844
1830
|
}
|
|
1845
1831
|
const contents = map({
|
|
1846
1832
|
$metadata: deserializeMetadata(output),
|
|
1847
1833
|
});
|
|
1848
1834
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1849
1835
|
if (data.tags != null) {
|
|
1850
|
-
contents.tags =
|
|
1836
|
+
contents.tags = de_TagsMap(data.tags, context);
|
|
1851
1837
|
}
|
|
1852
1838
|
return contents;
|
|
1853
1839
|
};
|
|
1854
|
-
const
|
|
1840
|
+
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
1855
1841
|
const parsedOutput = {
|
|
1856
1842
|
...output,
|
|
1857
1843
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1860,13 +1846,13 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
|
|
|
1860
1846
|
switch (errorCode) {
|
|
1861
1847
|
case "DependencyException":
|
|
1862
1848
|
case "com.amazonaws.groundstation#DependencyException":
|
|
1863
|
-
throw await
|
|
1849
|
+
throw await de_DependencyExceptionRes(parsedOutput, context);
|
|
1864
1850
|
case "InvalidParameterException":
|
|
1865
1851
|
case "com.amazonaws.groundstation#InvalidParameterException":
|
|
1866
|
-
throw await
|
|
1852
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1867
1853
|
case "ResourceNotFoundException":
|
|
1868
1854
|
case "com.amazonaws.groundstation#ResourceNotFoundException":
|
|
1869
|
-
throw await
|
|
1855
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1870
1856
|
default:
|
|
1871
1857
|
const parsedBody = parsedOutput.body;
|
|
1872
1858
|
throwDefaultError({
|
|
@@ -1877,9 +1863,9 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
|
|
|
1877
1863
|
});
|
|
1878
1864
|
}
|
|
1879
1865
|
};
|
|
1880
|
-
export const
|
|
1866
|
+
export const de_RegisterAgentCommand = async (output, context) => {
|
|
1881
1867
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1882
|
-
return
|
|
1868
|
+
return de_RegisterAgentCommandError(output, context);
|
|
1883
1869
|
}
|
|
1884
1870
|
const contents = map({
|
|
1885
1871
|
$metadata: deserializeMetadata(output),
|
|
@@ -1890,7 +1876,7 @@ export const deserializeAws_restJson1RegisterAgentCommand = async (output, conte
|
|
|
1890
1876
|
}
|
|
1891
1877
|
return contents;
|
|
1892
1878
|
};
|
|
1893
|
-
const
|
|
1879
|
+
const de_RegisterAgentCommandError = async (output, context) => {
|
|
1894
1880
|
const parsedOutput = {
|
|
1895
1881
|
...output,
|
|
1896
1882
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1899,13 +1885,13 @@ const deserializeAws_restJson1RegisterAgentCommandError = async (output, context
|
|
|
1899
1885
|
switch (errorCode) {
|
|
1900
1886
|
case "DependencyException":
|
|
1901
1887
|
case "com.amazonaws.groundstation#DependencyException":
|
|
1902
|
-
throw await
|
|
1888
|
+
throw await de_DependencyExceptionRes(parsedOutput, context);
|
|
1903
1889
|
case "InvalidParameterException":
|
|
1904
1890
|
case "com.amazonaws.groundstation#InvalidParameterException":
|
|
1905
|
-
throw await
|
|
1891
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1906
1892
|
case "ResourceNotFoundException":
|
|
1907
1893
|
case "com.amazonaws.groundstation#ResourceNotFoundException":
|
|
1908
|
-
throw await
|
|
1894
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1909
1895
|
default:
|
|
1910
1896
|
const parsedBody = parsedOutput.body;
|
|
1911
1897
|
throwDefaultError({
|
|
@@ -1916,9 +1902,9 @@ const deserializeAws_restJson1RegisterAgentCommandError = async (output, context
|
|
|
1916
1902
|
});
|
|
1917
1903
|
}
|
|
1918
1904
|
};
|
|
1919
|
-
export const
|
|
1905
|
+
export const de_ReserveContactCommand = async (output, context) => {
|
|
1920
1906
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1921
|
-
return
|
|
1907
|
+
return de_ReserveContactCommandError(output, context);
|
|
1922
1908
|
}
|
|
1923
1909
|
const contents = map({
|
|
1924
1910
|
$metadata: deserializeMetadata(output),
|
|
@@ -1929,7 +1915,7 @@ export const deserializeAws_restJson1ReserveContactCommand = async (output, cont
|
|
|
1929
1915
|
}
|
|
1930
1916
|
return contents;
|
|
1931
1917
|
};
|
|
1932
|
-
const
|
|
1918
|
+
const de_ReserveContactCommandError = async (output, context) => {
|
|
1933
1919
|
const parsedOutput = {
|
|
1934
1920
|
...output,
|
|
1935
1921
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1938,13 +1924,13 @@ const deserializeAws_restJson1ReserveContactCommandError = async (output, contex
|
|
|
1938
1924
|
switch (errorCode) {
|
|
1939
1925
|
case "DependencyException":
|
|
1940
1926
|
case "com.amazonaws.groundstation#DependencyException":
|
|
1941
|
-
throw await
|
|
1927
|
+
throw await de_DependencyExceptionRes(parsedOutput, context);
|
|
1942
1928
|
case "InvalidParameterException":
|
|
1943
1929
|
case "com.amazonaws.groundstation#InvalidParameterException":
|
|
1944
|
-
throw await
|
|
1930
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1945
1931
|
case "ResourceNotFoundException":
|
|
1946
1932
|
case "com.amazonaws.groundstation#ResourceNotFoundException":
|
|
1947
|
-
throw await
|
|
1933
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1948
1934
|
default:
|
|
1949
1935
|
const parsedBody = parsedOutput.body;
|
|
1950
1936
|
throwDefaultError({
|
|
@@ -1955,9 +1941,9 @@ const deserializeAws_restJson1ReserveContactCommandError = async (output, contex
|
|
|
1955
1941
|
});
|
|
1956
1942
|
}
|
|
1957
1943
|
};
|
|
1958
|
-
export const
|
|
1944
|
+
export const de_TagResourceCommand = async (output, context) => {
|
|
1959
1945
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1960
|
-
return
|
|
1946
|
+
return de_TagResourceCommandError(output, context);
|
|
1961
1947
|
}
|
|
1962
1948
|
const contents = map({
|
|
1963
1949
|
$metadata: deserializeMetadata(output),
|
|
@@ -1965,7 +1951,7 @@ export const deserializeAws_restJson1TagResourceCommand = async (output, context
|
|
|
1965
1951
|
await collectBody(output.body, context);
|
|
1966
1952
|
return contents;
|
|
1967
1953
|
};
|
|
1968
|
-
const
|
|
1954
|
+
const de_TagResourceCommandError = async (output, context) => {
|
|
1969
1955
|
const parsedOutput = {
|
|
1970
1956
|
...output,
|
|
1971
1957
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1974,13 +1960,13 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
|
|
|
1974
1960
|
switch (errorCode) {
|
|
1975
1961
|
case "DependencyException":
|
|
1976
1962
|
case "com.amazonaws.groundstation#DependencyException":
|
|
1977
|
-
throw await
|
|
1963
|
+
throw await de_DependencyExceptionRes(parsedOutput, context);
|
|
1978
1964
|
case "InvalidParameterException":
|
|
1979
1965
|
case "com.amazonaws.groundstation#InvalidParameterException":
|
|
1980
|
-
throw await
|
|
1966
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1981
1967
|
case "ResourceNotFoundException":
|
|
1982
1968
|
case "com.amazonaws.groundstation#ResourceNotFoundException":
|
|
1983
|
-
throw await
|
|
1969
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1984
1970
|
default:
|
|
1985
1971
|
const parsedBody = parsedOutput.body;
|
|
1986
1972
|
throwDefaultError({
|
|
@@ -1991,9 +1977,9 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
|
|
|
1991
1977
|
});
|
|
1992
1978
|
}
|
|
1993
1979
|
};
|
|
1994
|
-
export const
|
|
1980
|
+
export const de_UntagResourceCommand = async (output, context) => {
|
|
1995
1981
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1996
|
-
return
|
|
1982
|
+
return de_UntagResourceCommandError(output, context);
|
|
1997
1983
|
}
|
|
1998
1984
|
const contents = map({
|
|
1999
1985
|
$metadata: deserializeMetadata(output),
|
|
@@ -2001,7 +1987,7 @@ export const deserializeAws_restJson1UntagResourceCommand = async (output, conte
|
|
|
2001
1987
|
await collectBody(output.body, context);
|
|
2002
1988
|
return contents;
|
|
2003
1989
|
};
|
|
2004
|
-
const
|
|
1990
|
+
const de_UntagResourceCommandError = async (output, context) => {
|
|
2005
1991
|
const parsedOutput = {
|
|
2006
1992
|
...output,
|
|
2007
1993
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2010,13 +1996,13 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
|
|
|
2010
1996
|
switch (errorCode) {
|
|
2011
1997
|
case "DependencyException":
|
|
2012
1998
|
case "com.amazonaws.groundstation#DependencyException":
|
|
2013
|
-
throw await
|
|
1999
|
+
throw await de_DependencyExceptionRes(parsedOutput, context);
|
|
2014
2000
|
case "InvalidParameterException":
|
|
2015
2001
|
case "com.amazonaws.groundstation#InvalidParameterException":
|
|
2016
|
-
throw await
|
|
2002
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
2017
2003
|
case "ResourceNotFoundException":
|
|
2018
2004
|
case "com.amazonaws.groundstation#ResourceNotFoundException":
|
|
2019
|
-
throw await
|
|
2005
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2020
2006
|
default:
|
|
2021
2007
|
const parsedBody = parsedOutput.body;
|
|
2022
2008
|
throwDefaultError({
|
|
@@ -2027,9 +2013,9 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
|
|
|
2027
2013
|
});
|
|
2028
2014
|
}
|
|
2029
2015
|
};
|
|
2030
|
-
export const
|
|
2016
|
+
export const de_UpdateAgentStatusCommand = async (output, context) => {
|
|
2031
2017
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2032
|
-
return
|
|
2018
|
+
return de_UpdateAgentStatusCommandError(output, context);
|
|
2033
2019
|
}
|
|
2034
2020
|
const contents = map({
|
|
2035
2021
|
$metadata: deserializeMetadata(output),
|
|
@@ -2040,7 +2026,7 @@ export const deserializeAws_restJson1UpdateAgentStatusCommand = async (output, c
|
|
|
2040
2026
|
}
|
|
2041
2027
|
return contents;
|
|
2042
2028
|
};
|
|
2043
|
-
const
|
|
2029
|
+
const de_UpdateAgentStatusCommandError = async (output, context) => {
|
|
2044
2030
|
const parsedOutput = {
|
|
2045
2031
|
...output,
|
|
2046
2032
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2049,13 +2035,13 @@ const deserializeAws_restJson1UpdateAgentStatusCommandError = async (output, con
|
|
|
2049
2035
|
switch (errorCode) {
|
|
2050
2036
|
case "DependencyException":
|
|
2051
2037
|
case "com.amazonaws.groundstation#DependencyException":
|
|
2052
|
-
throw await
|
|
2038
|
+
throw await de_DependencyExceptionRes(parsedOutput, context);
|
|
2053
2039
|
case "InvalidParameterException":
|
|
2054
2040
|
case "com.amazonaws.groundstation#InvalidParameterException":
|
|
2055
|
-
throw await
|
|
2041
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
2056
2042
|
case "ResourceNotFoundException":
|
|
2057
2043
|
case "com.amazonaws.groundstation#ResourceNotFoundException":
|
|
2058
|
-
throw await
|
|
2044
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2059
2045
|
default:
|
|
2060
2046
|
const parsedBody = parsedOutput.body;
|
|
2061
2047
|
throwDefaultError({
|
|
@@ -2066,9 +2052,9 @@ const deserializeAws_restJson1UpdateAgentStatusCommandError = async (output, con
|
|
|
2066
2052
|
});
|
|
2067
2053
|
}
|
|
2068
2054
|
};
|
|
2069
|
-
export const
|
|
2055
|
+
export const de_UpdateConfigCommand = async (output, context) => {
|
|
2070
2056
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2071
|
-
return
|
|
2057
|
+
return de_UpdateConfigCommandError(output, context);
|
|
2072
2058
|
}
|
|
2073
2059
|
const contents = map({
|
|
2074
2060
|
$metadata: deserializeMetadata(output),
|
|
@@ -2085,7 +2071,7 @@ export const deserializeAws_restJson1UpdateConfigCommand = async (output, contex
|
|
|
2085
2071
|
}
|
|
2086
2072
|
return contents;
|
|
2087
2073
|
};
|
|
2088
|
-
const
|
|
2074
|
+
const de_UpdateConfigCommandError = async (output, context) => {
|
|
2089
2075
|
const parsedOutput = {
|
|
2090
2076
|
...output,
|
|
2091
2077
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2094,13 +2080,13 @@ const deserializeAws_restJson1UpdateConfigCommandError = async (output, context)
|
|
|
2094
2080
|
switch (errorCode) {
|
|
2095
2081
|
case "DependencyException":
|
|
2096
2082
|
case "com.amazonaws.groundstation#DependencyException":
|
|
2097
|
-
throw await
|
|
2083
|
+
throw await de_DependencyExceptionRes(parsedOutput, context);
|
|
2098
2084
|
case "InvalidParameterException":
|
|
2099
2085
|
case "com.amazonaws.groundstation#InvalidParameterException":
|
|
2100
|
-
throw await
|
|
2086
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
2101
2087
|
case "ResourceNotFoundException":
|
|
2102
2088
|
case "com.amazonaws.groundstation#ResourceNotFoundException":
|
|
2103
|
-
throw await
|
|
2089
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2104
2090
|
default:
|
|
2105
2091
|
const parsedBody = parsedOutput.body;
|
|
2106
2092
|
throwDefaultError({
|
|
@@ -2111,9 +2097,9 @@ const deserializeAws_restJson1UpdateConfigCommandError = async (output, context)
|
|
|
2111
2097
|
});
|
|
2112
2098
|
}
|
|
2113
2099
|
};
|
|
2114
|
-
export const
|
|
2100
|
+
export const de_UpdateEphemerisCommand = async (output, context) => {
|
|
2115
2101
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2116
|
-
return
|
|
2102
|
+
return de_UpdateEphemerisCommandError(output, context);
|
|
2117
2103
|
}
|
|
2118
2104
|
const contents = map({
|
|
2119
2105
|
$metadata: deserializeMetadata(output),
|
|
@@ -2124,7 +2110,7 @@ export const deserializeAws_restJson1UpdateEphemerisCommand = async (output, con
|
|
|
2124
2110
|
}
|
|
2125
2111
|
return contents;
|
|
2126
2112
|
};
|
|
2127
|
-
const
|
|
2113
|
+
const de_UpdateEphemerisCommandError = async (output, context) => {
|
|
2128
2114
|
const parsedOutput = {
|
|
2129
2115
|
...output,
|
|
2130
2116
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2133,13 +2119,13 @@ const deserializeAws_restJson1UpdateEphemerisCommandError = async (output, conte
|
|
|
2133
2119
|
switch (errorCode) {
|
|
2134
2120
|
case "DependencyException":
|
|
2135
2121
|
case "com.amazonaws.groundstation#DependencyException":
|
|
2136
|
-
throw await
|
|
2122
|
+
throw await de_DependencyExceptionRes(parsedOutput, context);
|
|
2137
2123
|
case "InvalidParameterException":
|
|
2138
2124
|
case "com.amazonaws.groundstation#InvalidParameterException":
|
|
2139
|
-
throw await
|
|
2125
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
2140
2126
|
case "ResourceNotFoundException":
|
|
2141
2127
|
case "com.amazonaws.groundstation#ResourceNotFoundException":
|
|
2142
|
-
throw await
|
|
2128
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2143
2129
|
default:
|
|
2144
2130
|
const parsedBody = parsedOutput.body;
|
|
2145
2131
|
throwDefaultError({
|
|
@@ -2150,9 +2136,9 @@ const deserializeAws_restJson1UpdateEphemerisCommandError = async (output, conte
|
|
|
2150
2136
|
});
|
|
2151
2137
|
}
|
|
2152
2138
|
};
|
|
2153
|
-
export const
|
|
2139
|
+
export const de_UpdateMissionProfileCommand = async (output, context) => {
|
|
2154
2140
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2155
|
-
return
|
|
2141
|
+
return de_UpdateMissionProfileCommandError(output, context);
|
|
2156
2142
|
}
|
|
2157
2143
|
const contents = map({
|
|
2158
2144
|
$metadata: deserializeMetadata(output),
|
|
@@ -2163,7 +2149,7 @@ export const deserializeAws_restJson1UpdateMissionProfileCommand = async (output
|
|
|
2163
2149
|
}
|
|
2164
2150
|
return contents;
|
|
2165
2151
|
};
|
|
2166
|
-
const
|
|
2152
|
+
const de_UpdateMissionProfileCommandError = async (output, context) => {
|
|
2167
2153
|
const parsedOutput = {
|
|
2168
2154
|
...output,
|
|
2169
2155
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2172,13 +2158,13 @@ const deserializeAws_restJson1UpdateMissionProfileCommandError = async (output,
|
|
|
2172
2158
|
switch (errorCode) {
|
|
2173
2159
|
case "DependencyException":
|
|
2174
2160
|
case "com.amazonaws.groundstation#DependencyException":
|
|
2175
|
-
throw await
|
|
2161
|
+
throw await de_DependencyExceptionRes(parsedOutput, context);
|
|
2176
2162
|
case "InvalidParameterException":
|
|
2177
2163
|
case "com.amazonaws.groundstation#InvalidParameterException":
|
|
2178
|
-
throw await
|
|
2164
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
2179
2165
|
case "ResourceNotFoundException":
|
|
2180
2166
|
case "com.amazonaws.groundstation#ResourceNotFoundException":
|
|
2181
|
-
throw await
|
|
2167
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2182
2168
|
default:
|
|
2183
2169
|
const parsedBody = parsedOutput.body;
|
|
2184
2170
|
throwDefaultError({
|
|
@@ -2190,7 +2176,7 @@ const deserializeAws_restJson1UpdateMissionProfileCommandError = async (output,
|
|
|
2190
2176
|
}
|
|
2191
2177
|
};
|
|
2192
2178
|
const map = __map;
|
|
2193
|
-
const
|
|
2179
|
+
const de_DependencyExceptionRes = async (parsedOutput, context) => {
|
|
2194
2180
|
const contents = map({});
|
|
2195
2181
|
const data = parsedOutput.body;
|
|
2196
2182
|
if (data.message != null) {
|
|
@@ -2205,7 +2191,7 @@ const deserializeAws_restJson1DependencyExceptionResponse = async (parsedOutput,
|
|
|
2205
2191
|
});
|
|
2206
2192
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
2207
2193
|
};
|
|
2208
|
-
const
|
|
2194
|
+
const de_InvalidParameterExceptionRes = async (parsedOutput, context) => {
|
|
2209
2195
|
const contents = map({});
|
|
2210
2196
|
const data = parsedOutput.body;
|
|
2211
2197
|
if (data.message != null) {
|
|
@@ -2220,7 +2206,7 @@ const deserializeAws_restJson1InvalidParameterExceptionResponse = async (parsedO
|
|
|
2220
2206
|
});
|
|
2221
2207
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
2222
2208
|
};
|
|
2223
|
-
const
|
|
2209
|
+
const de_ResourceLimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
2224
2210
|
const contents = map({});
|
|
2225
2211
|
const data = parsedOutput.body;
|
|
2226
2212
|
if (data.message != null) {
|
|
@@ -2235,7 +2221,7 @@ const deserializeAws_restJson1ResourceLimitExceededExceptionResponse = async (pa
|
|
|
2235
2221
|
});
|
|
2236
2222
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
2237
2223
|
};
|
|
2238
|
-
const
|
|
2224
|
+
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
2239
2225
|
const contents = map({});
|
|
2240
2226
|
const data = parsedOutput.body;
|
|
2241
2227
|
if (data.message != null) {
|
|
@@ -2247,77 +2233,63 @@ const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedO
|
|
|
2247
2233
|
});
|
|
2248
2234
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
2249
2235
|
};
|
|
2250
|
-
const
|
|
2236
|
+
const se_AgentDetails = (input, context) => {
|
|
2251
2237
|
return {
|
|
2252
2238
|
...(input.agentVersion != null && { agentVersion: input.agentVersion }),
|
|
2253
2239
|
...(input.componentVersions != null && {
|
|
2254
|
-
componentVersions:
|
|
2240
|
+
componentVersions: se_ComponentVersionList(input.componentVersions, context),
|
|
2255
2241
|
}),
|
|
2256
2242
|
...(input.instanceId != null && { instanceId: input.instanceId }),
|
|
2257
2243
|
...(input.instanceType != null && { instanceType: input.instanceType }),
|
|
2258
2244
|
...(input.reservedCpuCores != null && {
|
|
2259
|
-
reservedCpuCores:
|
|
2245
|
+
reservedCpuCores: se_ReservedCpuCoresList(input.reservedCpuCores, context),
|
|
2260
2246
|
}),
|
|
2261
2247
|
};
|
|
2262
2248
|
};
|
|
2263
|
-
const
|
|
2249
|
+
const se_AggregateStatus = (input, context) => {
|
|
2264
2250
|
return {
|
|
2265
|
-
...(input.signatureMap != null && {
|
|
2266
|
-
signatureMap: serializeAws_restJson1SignatureMap(input.signatureMap, context),
|
|
2267
|
-
}),
|
|
2251
|
+
...(input.signatureMap != null && { signatureMap: se_SignatureMap(input.signatureMap, context) }),
|
|
2268
2252
|
...(input.status != null && { status: input.status }),
|
|
2269
2253
|
};
|
|
2270
2254
|
};
|
|
2271
|
-
const
|
|
2255
|
+
const se_AntennaDownlinkConfig = (input, context) => {
|
|
2272
2256
|
return {
|
|
2273
|
-
...(input.spectrumConfig != null && {
|
|
2274
|
-
spectrumConfig: serializeAws_restJson1SpectrumConfig(input.spectrumConfig, context),
|
|
2275
|
-
}),
|
|
2257
|
+
...(input.spectrumConfig != null && { spectrumConfig: se_SpectrumConfig(input.spectrumConfig, context) }),
|
|
2276
2258
|
};
|
|
2277
2259
|
};
|
|
2278
|
-
const
|
|
2260
|
+
const se_AntennaDownlinkDemodDecodeConfig = (input, context) => {
|
|
2279
2261
|
return {
|
|
2280
|
-
...(input.decodeConfig != null && {
|
|
2281
|
-
decodeConfig: serializeAws_restJson1DecodeConfig(input.decodeConfig, context),
|
|
2282
|
-
}),
|
|
2262
|
+
...(input.decodeConfig != null && { decodeConfig: se_DecodeConfig(input.decodeConfig, context) }),
|
|
2283
2263
|
...(input.demodulationConfig != null && {
|
|
2284
|
-
demodulationConfig:
|
|
2285
|
-
}),
|
|
2286
|
-
...(input.spectrumConfig != null && {
|
|
2287
|
-
spectrumConfig: serializeAws_restJson1SpectrumConfig(input.spectrumConfig, context),
|
|
2264
|
+
demodulationConfig: se_DemodulationConfig(input.demodulationConfig, context),
|
|
2288
2265
|
}),
|
|
2266
|
+
...(input.spectrumConfig != null && { spectrumConfig: se_SpectrumConfig(input.spectrumConfig, context) }),
|
|
2289
2267
|
};
|
|
2290
2268
|
};
|
|
2291
|
-
const
|
|
2269
|
+
const se_AntennaUplinkConfig = (input, context) => {
|
|
2292
2270
|
return {
|
|
2293
|
-
...(input.spectrumConfig != null && {
|
|
2294
|
-
|
|
2295
|
-
}),
|
|
2296
|
-
...(input.targetEirp != null && { targetEirp: serializeAws_restJson1Eirp(input.targetEirp, context) }),
|
|
2271
|
+
...(input.spectrumConfig != null && { spectrumConfig: se_UplinkSpectrumConfig(input.spectrumConfig, context) }),
|
|
2272
|
+
...(input.targetEirp != null && { targetEirp: se_Eirp(input.targetEirp, context) }),
|
|
2297
2273
|
...(input.transmitDisabled != null && { transmitDisabled: input.transmitDisabled }),
|
|
2298
2274
|
};
|
|
2299
2275
|
};
|
|
2300
|
-
const
|
|
2276
|
+
const se_AwsGroundStationAgentEndpoint = (input, context) => {
|
|
2301
2277
|
return {
|
|
2302
2278
|
...(input.agentStatus != null && { agentStatus: input.agentStatus }),
|
|
2303
2279
|
...(input.auditResults != null && { auditResults: input.auditResults }),
|
|
2304
|
-
...(input.egressAddress != null && {
|
|
2305
|
-
|
|
2306
|
-
}),
|
|
2307
|
-
...(input.ingressAddress != null && {
|
|
2308
|
-
ingressAddress: serializeAws_restJson1RangedConnectionDetails(input.ingressAddress, context),
|
|
2309
|
-
}),
|
|
2280
|
+
...(input.egressAddress != null && { egressAddress: se_ConnectionDetails(input.egressAddress, context) }),
|
|
2281
|
+
...(input.ingressAddress != null && { ingressAddress: se_RangedConnectionDetails(input.ingressAddress, context) }),
|
|
2310
2282
|
...(input.name != null && { name: input.name }),
|
|
2311
2283
|
};
|
|
2312
2284
|
};
|
|
2313
|
-
const
|
|
2285
|
+
const se_CapabilityArnList = (input, context) => {
|
|
2314
2286
|
return input
|
|
2315
2287
|
.filter((e) => e != null)
|
|
2316
2288
|
.map((entry) => {
|
|
2317
2289
|
return entry;
|
|
2318
2290
|
});
|
|
2319
2291
|
};
|
|
2320
|
-
const
|
|
2292
|
+
const se_ComponentStatusData = (input, context) => {
|
|
2321
2293
|
return {
|
|
2322
2294
|
...(input.bytesReceived != null && { bytesReceived: input.bytesReceived }),
|
|
2323
2295
|
...(input.bytesSent != null && { bytesSent: input.bytesSent }),
|
|
@@ -2328,233 +2300,217 @@ const serializeAws_restJson1ComponentStatusData = (input, context) => {
|
|
|
2328
2300
|
...(input.status != null && { status: input.status }),
|
|
2329
2301
|
};
|
|
2330
2302
|
};
|
|
2331
|
-
const
|
|
2303
|
+
const se_ComponentStatusList = (input, context) => {
|
|
2332
2304
|
return input
|
|
2333
2305
|
.filter((e) => e != null)
|
|
2334
2306
|
.map((entry) => {
|
|
2335
|
-
return
|
|
2307
|
+
return se_ComponentStatusData(entry, context);
|
|
2336
2308
|
});
|
|
2337
2309
|
};
|
|
2338
|
-
const
|
|
2310
|
+
const se_ComponentVersion = (input, context) => {
|
|
2339
2311
|
return {
|
|
2340
2312
|
...(input.componentType != null && { componentType: input.componentType }),
|
|
2341
|
-
...(input.versions != null && { versions:
|
|
2313
|
+
...(input.versions != null && { versions: se_VersionStringList(input.versions, context) }),
|
|
2342
2314
|
};
|
|
2343
2315
|
};
|
|
2344
|
-
const
|
|
2316
|
+
const se_ComponentVersionList = (input, context) => {
|
|
2345
2317
|
return input
|
|
2346
2318
|
.filter((e) => e != null)
|
|
2347
2319
|
.map((entry) => {
|
|
2348
|
-
return
|
|
2320
|
+
return se_ComponentVersion(entry, context);
|
|
2349
2321
|
});
|
|
2350
2322
|
};
|
|
2351
|
-
const
|
|
2323
|
+
const se_ConfigTypeData = (input, context) => {
|
|
2352
2324
|
return ConfigTypeData.visit(input, {
|
|
2353
|
-
antennaDownlinkConfig: (value) => ({
|
|
2354
|
-
antennaDownlinkConfig: serializeAws_restJson1AntennaDownlinkConfig(value, context),
|
|
2355
|
-
}),
|
|
2325
|
+
antennaDownlinkConfig: (value) => ({ antennaDownlinkConfig: se_AntennaDownlinkConfig(value, context) }),
|
|
2356
2326
|
antennaDownlinkDemodDecodeConfig: (value) => ({
|
|
2357
|
-
antennaDownlinkDemodDecodeConfig:
|
|
2327
|
+
antennaDownlinkDemodDecodeConfig: se_AntennaDownlinkDemodDecodeConfig(value, context),
|
|
2358
2328
|
}),
|
|
2359
|
-
antennaUplinkConfig: (value) => ({
|
|
2360
|
-
|
|
2361
|
-
}),
|
|
2362
|
-
|
|
2363
|
-
|
|
2364
|
-
}),
|
|
2365
|
-
s3RecordingConfig: (value) => ({ s3RecordingConfig: serializeAws_restJson1S3RecordingConfig(value, context) }),
|
|
2366
|
-
trackingConfig: (value) => ({ trackingConfig: serializeAws_restJson1TrackingConfig(value, context) }),
|
|
2367
|
-
uplinkEchoConfig: (value) => ({ uplinkEchoConfig: serializeAws_restJson1UplinkEchoConfig(value, context) }),
|
|
2329
|
+
antennaUplinkConfig: (value) => ({ antennaUplinkConfig: se_AntennaUplinkConfig(value, context) }),
|
|
2330
|
+
dataflowEndpointConfig: (value) => ({ dataflowEndpointConfig: se_DataflowEndpointConfig(value, context) }),
|
|
2331
|
+
s3RecordingConfig: (value) => ({ s3RecordingConfig: se_S3RecordingConfig(value, context) }),
|
|
2332
|
+
trackingConfig: (value) => ({ trackingConfig: se_TrackingConfig(value, context) }),
|
|
2333
|
+
uplinkEchoConfig: (value) => ({ uplinkEchoConfig: se_UplinkEchoConfig(value, context) }),
|
|
2368
2334
|
_: (name, value) => ({ name: value }),
|
|
2369
2335
|
});
|
|
2370
2336
|
};
|
|
2371
|
-
const
|
|
2337
|
+
const se_ConnectionDetails = (input, context) => {
|
|
2372
2338
|
return {
|
|
2373
2339
|
...(input.mtu != null && { mtu: input.mtu }),
|
|
2374
|
-
...(input.socketAddress != null && {
|
|
2375
|
-
socketAddress: serializeAws_restJson1SocketAddress(input.socketAddress, context),
|
|
2376
|
-
}),
|
|
2340
|
+
...(input.socketAddress != null && { socketAddress: se_SocketAddress(input.socketAddress, context) }),
|
|
2377
2341
|
};
|
|
2378
2342
|
};
|
|
2379
|
-
const
|
|
2343
|
+
const se_DataflowEdge = (input, context) => {
|
|
2380
2344
|
return input
|
|
2381
2345
|
.filter((e) => e != null)
|
|
2382
2346
|
.map((entry) => {
|
|
2383
2347
|
return entry;
|
|
2384
2348
|
});
|
|
2385
2349
|
};
|
|
2386
|
-
const
|
|
2350
|
+
const se_DataflowEdgeList = (input, context) => {
|
|
2387
2351
|
return input
|
|
2388
2352
|
.filter((e) => e != null)
|
|
2389
2353
|
.map((entry) => {
|
|
2390
|
-
return
|
|
2354
|
+
return se_DataflowEdge(entry, context);
|
|
2391
2355
|
});
|
|
2392
2356
|
};
|
|
2393
|
-
const
|
|
2357
|
+
const se_DataflowEndpoint = (input, context) => {
|
|
2394
2358
|
return {
|
|
2395
|
-
...(input.address != null && { address:
|
|
2359
|
+
...(input.address != null && { address: se_SocketAddress(input.address, context) }),
|
|
2396
2360
|
...(input.mtu != null && { mtu: input.mtu }),
|
|
2397
2361
|
...(input.name != null && { name: input.name }),
|
|
2398
2362
|
...(input.status != null && { status: input.status }),
|
|
2399
2363
|
};
|
|
2400
2364
|
};
|
|
2401
|
-
const
|
|
2365
|
+
const se_DataflowEndpointConfig = (input, context) => {
|
|
2402
2366
|
return {
|
|
2403
2367
|
...(input.dataflowEndpointName != null && { dataflowEndpointName: input.dataflowEndpointName }),
|
|
2404
2368
|
...(input.dataflowEndpointRegion != null && { dataflowEndpointRegion: input.dataflowEndpointRegion }),
|
|
2405
2369
|
};
|
|
2406
2370
|
};
|
|
2407
|
-
const
|
|
2371
|
+
const se_DecodeConfig = (input, context) => {
|
|
2408
2372
|
return {
|
|
2409
2373
|
...(input.unvalidatedJSON != null && { unvalidatedJSON: input.unvalidatedJSON }),
|
|
2410
2374
|
};
|
|
2411
2375
|
};
|
|
2412
|
-
const
|
|
2376
|
+
const se_DemodulationConfig = (input, context) => {
|
|
2413
2377
|
return {
|
|
2414
2378
|
...(input.unvalidatedJSON != null && { unvalidatedJSON: input.unvalidatedJSON }),
|
|
2415
2379
|
};
|
|
2416
2380
|
};
|
|
2417
|
-
const
|
|
2381
|
+
const se_DiscoveryData = (input, context) => {
|
|
2418
2382
|
return {
|
|
2419
|
-
...(input.capabilityArns != null && {
|
|
2420
|
-
capabilityArns: serializeAws_restJson1CapabilityArnList(input.capabilityArns, context),
|
|
2421
|
-
}),
|
|
2383
|
+
...(input.capabilityArns != null && { capabilityArns: se_CapabilityArnList(input.capabilityArns, context) }),
|
|
2422
2384
|
...(input.privateIpAddresses != null && {
|
|
2423
|
-
privateIpAddresses:
|
|
2424
|
-
}),
|
|
2425
|
-
...(input.publicIpAddresses != null && {
|
|
2426
|
-
publicIpAddresses: serializeAws_restJson1IpAddressList(input.publicIpAddresses, context),
|
|
2385
|
+
privateIpAddresses: se_IpAddressList(input.privateIpAddresses, context),
|
|
2427
2386
|
}),
|
|
2387
|
+
...(input.publicIpAddresses != null && { publicIpAddresses: se_IpAddressList(input.publicIpAddresses, context) }),
|
|
2428
2388
|
};
|
|
2429
2389
|
};
|
|
2430
|
-
const
|
|
2390
|
+
const se_Eirp = (input, context) => {
|
|
2431
2391
|
return {
|
|
2432
2392
|
...(input.units != null && { units: input.units }),
|
|
2433
2393
|
...(input.value != null && { value: __serializeFloat(input.value) }),
|
|
2434
2394
|
};
|
|
2435
2395
|
};
|
|
2436
|
-
const
|
|
2396
|
+
const se_EndpointDetails = (input, context) => {
|
|
2437
2397
|
return {
|
|
2438
2398
|
...(input.awsGroundStationAgentEndpoint != null && {
|
|
2439
|
-
awsGroundStationAgentEndpoint:
|
|
2440
|
-
}),
|
|
2441
|
-
...(input.endpoint != null && { endpoint: serializeAws_restJson1DataflowEndpoint(input.endpoint, context) }),
|
|
2442
|
-
...(input.securityDetails != null && {
|
|
2443
|
-
securityDetails: serializeAws_restJson1SecurityDetails(input.securityDetails, context),
|
|
2399
|
+
awsGroundStationAgentEndpoint: se_AwsGroundStationAgentEndpoint(input.awsGroundStationAgentEndpoint, context),
|
|
2444
2400
|
}),
|
|
2401
|
+
...(input.endpoint != null && { endpoint: se_DataflowEndpoint(input.endpoint, context) }),
|
|
2402
|
+
...(input.securityDetails != null && { securityDetails: se_SecurityDetails(input.securityDetails, context) }),
|
|
2445
2403
|
};
|
|
2446
2404
|
};
|
|
2447
|
-
const
|
|
2405
|
+
const se_EndpointDetailsList = (input, context) => {
|
|
2448
2406
|
return input
|
|
2449
2407
|
.filter((e) => e != null)
|
|
2450
2408
|
.map((entry) => {
|
|
2451
|
-
return
|
|
2409
|
+
return se_EndpointDetails(entry, context);
|
|
2452
2410
|
});
|
|
2453
2411
|
};
|
|
2454
|
-
const
|
|
2412
|
+
const se_EphemerisData = (input, context) => {
|
|
2455
2413
|
return EphemerisData.visit(input, {
|
|
2456
|
-
oem: (value) => ({ oem:
|
|
2457
|
-
tle: (value) => ({ tle:
|
|
2414
|
+
oem: (value) => ({ oem: se_OEMEphemeris(value, context) }),
|
|
2415
|
+
tle: (value) => ({ tle: se_TLEEphemeris(value, context) }),
|
|
2458
2416
|
_: (name, value) => ({ name: value }),
|
|
2459
2417
|
});
|
|
2460
2418
|
};
|
|
2461
|
-
const
|
|
2419
|
+
const se_EphemerisStatusList = (input, context) => {
|
|
2462
2420
|
return input
|
|
2463
2421
|
.filter((e) => e != null)
|
|
2464
2422
|
.map((entry) => {
|
|
2465
2423
|
return entry;
|
|
2466
2424
|
});
|
|
2467
2425
|
};
|
|
2468
|
-
const
|
|
2426
|
+
const se_Frequency = (input, context) => {
|
|
2469
2427
|
return {
|
|
2470
2428
|
...(input.units != null && { units: input.units }),
|
|
2471
2429
|
...(input.value != null && { value: __serializeFloat(input.value) }),
|
|
2472
2430
|
};
|
|
2473
2431
|
};
|
|
2474
|
-
const
|
|
2432
|
+
const se_FrequencyBandwidth = (input, context) => {
|
|
2475
2433
|
return {
|
|
2476
2434
|
...(input.units != null && { units: input.units }),
|
|
2477
2435
|
...(input.value != null && { value: __serializeFloat(input.value) }),
|
|
2478
2436
|
};
|
|
2479
2437
|
};
|
|
2480
|
-
const
|
|
2438
|
+
const se_IntegerRange = (input, context) => {
|
|
2481
2439
|
return {
|
|
2482
2440
|
...(input.maximum != null && { maximum: input.maximum }),
|
|
2483
2441
|
...(input.minimum != null && { minimum: input.minimum }),
|
|
2484
2442
|
};
|
|
2485
2443
|
};
|
|
2486
|
-
const
|
|
2444
|
+
const se_IpAddressList = (input, context) => {
|
|
2487
2445
|
return input
|
|
2488
2446
|
.filter((e) => e != null)
|
|
2489
2447
|
.map((entry) => {
|
|
2490
2448
|
return entry;
|
|
2491
2449
|
});
|
|
2492
2450
|
};
|
|
2493
|
-
const
|
|
2451
|
+
const se_KmsKey = (input, context) => {
|
|
2494
2452
|
return KmsKey.visit(input, {
|
|
2495
2453
|
kmsAliasArn: (value) => ({ kmsAliasArn: value }),
|
|
2496
2454
|
kmsKeyArn: (value) => ({ kmsKeyArn: value }),
|
|
2497
2455
|
_: (name, value) => ({ name: value }),
|
|
2498
2456
|
});
|
|
2499
2457
|
};
|
|
2500
|
-
const
|
|
2458
|
+
const se_OEMEphemeris = (input, context) => {
|
|
2501
2459
|
return {
|
|
2502
2460
|
...(input.oemData != null && { oemData: input.oemData }),
|
|
2503
|
-
...(input.s3Object != null && { s3Object:
|
|
2461
|
+
...(input.s3Object != null && { s3Object: se_S3Object(input.s3Object, context) }),
|
|
2504
2462
|
};
|
|
2505
2463
|
};
|
|
2506
|
-
const
|
|
2464
|
+
const se_RangedConnectionDetails = (input, context) => {
|
|
2507
2465
|
return {
|
|
2508
2466
|
...(input.mtu != null && { mtu: input.mtu }),
|
|
2509
|
-
...(input.socketAddress != null && {
|
|
2510
|
-
socketAddress: serializeAws_restJson1RangedSocketAddress(input.socketAddress, context),
|
|
2511
|
-
}),
|
|
2467
|
+
...(input.socketAddress != null && { socketAddress: se_RangedSocketAddress(input.socketAddress, context) }),
|
|
2512
2468
|
};
|
|
2513
2469
|
};
|
|
2514
|
-
const
|
|
2470
|
+
const se_RangedSocketAddress = (input, context) => {
|
|
2515
2471
|
return {
|
|
2516
2472
|
...(input.name != null && { name: input.name }),
|
|
2517
|
-
...(input.portRange != null && { portRange:
|
|
2473
|
+
...(input.portRange != null && { portRange: se_IntegerRange(input.portRange, context) }),
|
|
2518
2474
|
};
|
|
2519
2475
|
};
|
|
2520
|
-
const
|
|
2476
|
+
const se_ReservedCpuCoresList = (input, context) => {
|
|
2521
2477
|
return input
|
|
2522
2478
|
.filter((e) => e != null)
|
|
2523
2479
|
.map((entry) => {
|
|
2524
2480
|
return entry;
|
|
2525
2481
|
});
|
|
2526
2482
|
};
|
|
2527
|
-
const
|
|
2483
|
+
const se_S3Object = (input, context) => {
|
|
2528
2484
|
return {
|
|
2529
2485
|
...(input.bucket != null && { bucket: input.bucket }),
|
|
2530
2486
|
...(input.key != null && { key: input.key }),
|
|
2531
2487
|
...(input.version != null && { version: input.version }),
|
|
2532
2488
|
};
|
|
2533
2489
|
};
|
|
2534
|
-
const
|
|
2490
|
+
const se_S3RecordingConfig = (input, context) => {
|
|
2535
2491
|
return {
|
|
2536
2492
|
...(input.bucketArn != null && { bucketArn: input.bucketArn }),
|
|
2537
2493
|
...(input.prefix != null && { prefix: input.prefix }),
|
|
2538
2494
|
...(input.roleArn != null && { roleArn: input.roleArn }),
|
|
2539
2495
|
};
|
|
2540
2496
|
};
|
|
2541
|
-
const
|
|
2497
|
+
const se_SecurityDetails = (input, context) => {
|
|
2542
2498
|
return {
|
|
2543
2499
|
...(input.roleArn != null && { roleArn: input.roleArn }),
|
|
2544
2500
|
...(input.securityGroupIds != null && {
|
|
2545
|
-
securityGroupIds:
|
|
2501
|
+
securityGroupIds: se_SecurityGroupIdList(input.securityGroupIds, context),
|
|
2546
2502
|
}),
|
|
2547
|
-
...(input.subnetIds != null && { subnetIds:
|
|
2503
|
+
...(input.subnetIds != null && { subnetIds: se_SubnetList(input.subnetIds, context) }),
|
|
2548
2504
|
};
|
|
2549
2505
|
};
|
|
2550
|
-
const
|
|
2506
|
+
const se_SecurityGroupIdList = (input, context) => {
|
|
2551
2507
|
return input
|
|
2552
2508
|
.filter((e) => e != null)
|
|
2553
2509
|
.map((entry) => {
|
|
2554
2510
|
return entry;
|
|
2555
2511
|
});
|
|
2556
2512
|
};
|
|
2557
|
-
const
|
|
2513
|
+
const se_SignatureMap = (input, context) => {
|
|
2558
2514
|
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
2559
2515
|
if (value === null) {
|
|
2560
2516
|
return acc;
|
|
@@ -2563,36 +2519,34 @@ const serializeAws_restJson1SignatureMap = (input, context) => {
|
|
|
2563
2519
|
return acc;
|
|
2564
2520
|
}, {});
|
|
2565
2521
|
};
|
|
2566
|
-
const
|
|
2522
|
+
const se_SocketAddress = (input, context) => {
|
|
2567
2523
|
return {
|
|
2568
2524
|
...(input.name != null && { name: input.name }),
|
|
2569
2525
|
...(input.port != null && { port: input.port }),
|
|
2570
2526
|
};
|
|
2571
2527
|
};
|
|
2572
|
-
const
|
|
2528
|
+
const se_SpectrumConfig = (input, context) => {
|
|
2573
2529
|
return {
|
|
2574
|
-
...(input.bandwidth != null && { bandwidth:
|
|
2575
|
-
...(input.centerFrequency != null && {
|
|
2576
|
-
centerFrequency: serializeAws_restJson1Frequency(input.centerFrequency, context),
|
|
2577
|
-
}),
|
|
2530
|
+
...(input.bandwidth != null && { bandwidth: se_FrequencyBandwidth(input.bandwidth, context) }),
|
|
2531
|
+
...(input.centerFrequency != null && { centerFrequency: se_Frequency(input.centerFrequency, context) }),
|
|
2578
2532
|
...(input.polarization != null && { polarization: input.polarization }),
|
|
2579
2533
|
};
|
|
2580
2534
|
};
|
|
2581
|
-
const
|
|
2535
|
+
const se_StatusList = (input, context) => {
|
|
2582
2536
|
return input
|
|
2583
2537
|
.filter((e) => e != null)
|
|
2584
2538
|
.map((entry) => {
|
|
2585
2539
|
return entry;
|
|
2586
2540
|
});
|
|
2587
2541
|
};
|
|
2588
|
-
const
|
|
2542
|
+
const se_SubnetList = (input, context) => {
|
|
2589
2543
|
return input
|
|
2590
2544
|
.filter((e) => e != null)
|
|
2591
2545
|
.map((entry) => {
|
|
2592
2546
|
return entry;
|
|
2593
2547
|
});
|
|
2594
2548
|
};
|
|
2595
|
-
const
|
|
2549
|
+
const se_TagsMap = (input, context) => {
|
|
2596
2550
|
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
2597
2551
|
if (value === null) {
|
|
2598
2552
|
return acc;
|
|
@@ -2601,135 +2555,119 @@ const serializeAws_restJson1TagsMap = (input, context) => {
|
|
|
2601
2555
|
return acc;
|
|
2602
2556
|
}, {});
|
|
2603
2557
|
};
|
|
2604
|
-
const
|
|
2558
|
+
const se_TimeRange = (input, context) => {
|
|
2605
2559
|
return {
|
|
2606
2560
|
...(input.endTime != null && { endTime: Math.round(input.endTime.getTime() / 1000) }),
|
|
2607
2561
|
...(input.startTime != null && { startTime: Math.round(input.startTime.getTime() / 1000) }),
|
|
2608
2562
|
};
|
|
2609
2563
|
};
|
|
2610
|
-
const
|
|
2564
|
+
const se_TLEData = (input, context) => {
|
|
2611
2565
|
return {
|
|
2612
2566
|
...(input.tleLine1 != null && { tleLine1: input.tleLine1 }),
|
|
2613
2567
|
...(input.tleLine2 != null && { tleLine2: input.tleLine2 }),
|
|
2614
|
-
...(input.validTimeRange != null && {
|
|
2615
|
-
validTimeRange: serializeAws_restJson1TimeRange(input.validTimeRange, context),
|
|
2616
|
-
}),
|
|
2568
|
+
...(input.validTimeRange != null && { validTimeRange: se_TimeRange(input.validTimeRange, context) }),
|
|
2617
2569
|
};
|
|
2618
2570
|
};
|
|
2619
|
-
const
|
|
2571
|
+
const se_TLEDataList = (input, context) => {
|
|
2620
2572
|
return input
|
|
2621
2573
|
.filter((e) => e != null)
|
|
2622
2574
|
.map((entry) => {
|
|
2623
|
-
return
|
|
2575
|
+
return se_TLEData(entry, context);
|
|
2624
2576
|
});
|
|
2625
2577
|
};
|
|
2626
|
-
const
|
|
2578
|
+
const se_TLEEphemeris = (input, context) => {
|
|
2627
2579
|
return {
|
|
2628
|
-
...(input.s3Object != null && { s3Object:
|
|
2629
|
-
...(input.tleData != null && { tleData:
|
|
2580
|
+
...(input.s3Object != null && { s3Object: se_S3Object(input.s3Object, context) }),
|
|
2581
|
+
...(input.tleData != null && { tleData: se_TLEDataList(input.tleData, context) }),
|
|
2630
2582
|
};
|
|
2631
2583
|
};
|
|
2632
|
-
const
|
|
2584
|
+
const se_TrackingConfig = (input, context) => {
|
|
2633
2585
|
return {
|
|
2634
2586
|
...(input.autotrack != null && { autotrack: input.autotrack }),
|
|
2635
2587
|
};
|
|
2636
2588
|
};
|
|
2637
|
-
const
|
|
2589
|
+
const se_UplinkEchoConfig = (input, context) => {
|
|
2638
2590
|
return {
|
|
2639
2591
|
...(input.antennaUplinkConfigArn != null && { antennaUplinkConfigArn: input.antennaUplinkConfigArn }),
|
|
2640
2592
|
...(input.enabled != null && { enabled: input.enabled }),
|
|
2641
2593
|
};
|
|
2642
2594
|
};
|
|
2643
|
-
const
|
|
2595
|
+
const se_UplinkSpectrumConfig = (input, context) => {
|
|
2644
2596
|
return {
|
|
2645
|
-
...(input.centerFrequency != null && {
|
|
2646
|
-
centerFrequency: serializeAws_restJson1Frequency(input.centerFrequency, context),
|
|
2647
|
-
}),
|
|
2597
|
+
...(input.centerFrequency != null && { centerFrequency: se_Frequency(input.centerFrequency, context) }),
|
|
2648
2598
|
...(input.polarization != null && { polarization: input.polarization }),
|
|
2649
2599
|
};
|
|
2650
2600
|
};
|
|
2651
|
-
const
|
|
2601
|
+
const se_VersionStringList = (input, context) => {
|
|
2652
2602
|
return input
|
|
2653
2603
|
.filter((e) => e != null)
|
|
2654
2604
|
.map((entry) => {
|
|
2655
2605
|
return entry;
|
|
2656
2606
|
});
|
|
2657
2607
|
};
|
|
2658
|
-
const
|
|
2608
|
+
const de_AntennaDemodDecodeDetails = (output, context) => {
|
|
2659
2609
|
return {
|
|
2660
2610
|
outputNode: __expectString(output.outputNode),
|
|
2661
2611
|
};
|
|
2662
2612
|
};
|
|
2663
|
-
const
|
|
2613
|
+
const de_AntennaDownlinkConfig = (output, context) => {
|
|
2664
2614
|
return {
|
|
2665
|
-
spectrumConfig: output.spectrumConfig != null
|
|
2666
|
-
? deserializeAws_restJson1SpectrumConfig(output.spectrumConfig, context)
|
|
2667
|
-
: undefined,
|
|
2615
|
+
spectrumConfig: output.spectrumConfig != null ? de_SpectrumConfig(output.spectrumConfig, context) : undefined,
|
|
2668
2616
|
};
|
|
2669
2617
|
};
|
|
2670
|
-
const
|
|
2618
|
+
const de_AntennaDownlinkDemodDecodeConfig = (output, context) => {
|
|
2671
2619
|
return {
|
|
2672
|
-
decodeConfig: output.decodeConfig != null ?
|
|
2673
|
-
demodulationConfig: output.demodulationConfig != null
|
|
2674
|
-
|
|
2675
|
-
: undefined,
|
|
2676
|
-
spectrumConfig: output.spectrumConfig != null
|
|
2677
|
-
? deserializeAws_restJson1SpectrumConfig(output.spectrumConfig, context)
|
|
2678
|
-
: undefined,
|
|
2620
|
+
decodeConfig: output.decodeConfig != null ? de_DecodeConfig(output.decodeConfig, context) : undefined,
|
|
2621
|
+
demodulationConfig: output.demodulationConfig != null ? de_DemodulationConfig(output.demodulationConfig, context) : undefined,
|
|
2622
|
+
spectrumConfig: output.spectrumConfig != null ? de_SpectrumConfig(output.spectrumConfig, context) : undefined,
|
|
2679
2623
|
};
|
|
2680
2624
|
};
|
|
2681
|
-
const
|
|
2625
|
+
const de_AntennaUplinkConfig = (output, context) => {
|
|
2682
2626
|
return {
|
|
2683
|
-
spectrumConfig: output.spectrumConfig != null
|
|
2684
|
-
|
|
2685
|
-
: undefined,
|
|
2686
|
-
targetEirp: output.targetEirp != null ? deserializeAws_restJson1Eirp(output.targetEirp, context) : undefined,
|
|
2627
|
+
spectrumConfig: output.spectrumConfig != null ? de_UplinkSpectrumConfig(output.spectrumConfig, context) : undefined,
|
|
2628
|
+
targetEirp: output.targetEirp != null ? de_Eirp(output.targetEirp, context) : undefined,
|
|
2687
2629
|
transmitDisabled: __expectBoolean(output.transmitDisabled),
|
|
2688
2630
|
};
|
|
2689
2631
|
};
|
|
2690
|
-
const
|
|
2632
|
+
const de_AwsGroundStationAgentEndpoint = (output, context) => {
|
|
2691
2633
|
return {
|
|
2692
2634
|
agentStatus: __expectString(output.agentStatus),
|
|
2693
2635
|
auditResults: __expectString(output.auditResults),
|
|
2694
|
-
egressAddress: output.egressAddress != null
|
|
2695
|
-
|
|
2696
|
-
: undefined,
|
|
2697
|
-
ingressAddress: output.ingressAddress != null
|
|
2698
|
-
? deserializeAws_restJson1RangedConnectionDetails(output.ingressAddress, context)
|
|
2699
|
-
: undefined,
|
|
2636
|
+
egressAddress: output.egressAddress != null ? de_ConnectionDetails(output.egressAddress, context) : undefined,
|
|
2637
|
+
ingressAddress: output.ingressAddress != null ? de_RangedConnectionDetails(output.ingressAddress, context) : undefined,
|
|
2700
2638
|
name: __expectString(output.name),
|
|
2701
2639
|
};
|
|
2702
2640
|
};
|
|
2703
|
-
const
|
|
2641
|
+
const de_ConfigDetails = (output, context) => {
|
|
2704
2642
|
if (output.antennaDemodDecodeDetails != null) {
|
|
2705
2643
|
return {
|
|
2706
|
-
antennaDemodDecodeDetails:
|
|
2644
|
+
antennaDemodDecodeDetails: de_AntennaDemodDecodeDetails(output.antennaDemodDecodeDetails, context),
|
|
2707
2645
|
};
|
|
2708
2646
|
}
|
|
2709
2647
|
if (output.endpointDetails != null) {
|
|
2710
2648
|
return {
|
|
2711
|
-
endpointDetails:
|
|
2649
|
+
endpointDetails: de_EndpointDetails(output.endpointDetails, context),
|
|
2712
2650
|
};
|
|
2713
2651
|
}
|
|
2714
2652
|
if (output.s3RecordingDetails != null) {
|
|
2715
2653
|
return {
|
|
2716
|
-
s3RecordingDetails:
|
|
2654
|
+
s3RecordingDetails: de_S3RecordingDetails(output.s3RecordingDetails, context),
|
|
2717
2655
|
};
|
|
2718
2656
|
}
|
|
2719
2657
|
return { $unknown: Object.entries(output)[0] };
|
|
2720
2658
|
};
|
|
2721
|
-
const
|
|
2659
|
+
const de_ConfigList = (output, context) => {
|
|
2722
2660
|
const retVal = (output || [])
|
|
2723
2661
|
.filter((e) => e != null)
|
|
2724
2662
|
.map((entry) => {
|
|
2725
2663
|
if (entry === null) {
|
|
2726
2664
|
return null;
|
|
2727
2665
|
}
|
|
2728
|
-
return
|
|
2666
|
+
return de_ConfigListItem(entry, context);
|
|
2729
2667
|
});
|
|
2730
2668
|
return retVal;
|
|
2731
2669
|
};
|
|
2732
|
-
const
|
|
2670
|
+
const de_ConfigListItem = (output, context) => {
|
|
2733
2671
|
return {
|
|
2734
2672
|
configArn: __expectString(output.configArn),
|
|
2735
2673
|
configId: __expectString(output.configId),
|
|
@@ -2737,58 +2675,58 @@ const deserializeAws_restJson1ConfigListItem = (output, context) => {
|
|
|
2737
2675
|
name: __expectString(output.name),
|
|
2738
2676
|
};
|
|
2739
2677
|
};
|
|
2740
|
-
const
|
|
2678
|
+
const de_ConfigTypeData = (output, context) => {
|
|
2741
2679
|
if (output.antennaDownlinkConfig != null) {
|
|
2742
2680
|
return {
|
|
2743
|
-
antennaDownlinkConfig:
|
|
2681
|
+
antennaDownlinkConfig: de_AntennaDownlinkConfig(output.antennaDownlinkConfig, context),
|
|
2744
2682
|
};
|
|
2745
2683
|
}
|
|
2746
2684
|
if (output.antennaDownlinkDemodDecodeConfig != null) {
|
|
2747
2685
|
return {
|
|
2748
|
-
antennaDownlinkDemodDecodeConfig:
|
|
2686
|
+
antennaDownlinkDemodDecodeConfig: de_AntennaDownlinkDemodDecodeConfig(output.antennaDownlinkDemodDecodeConfig, context),
|
|
2749
2687
|
};
|
|
2750
2688
|
}
|
|
2751
2689
|
if (output.antennaUplinkConfig != null) {
|
|
2752
2690
|
return {
|
|
2753
|
-
antennaUplinkConfig:
|
|
2691
|
+
antennaUplinkConfig: de_AntennaUplinkConfig(output.antennaUplinkConfig, context),
|
|
2754
2692
|
};
|
|
2755
2693
|
}
|
|
2756
2694
|
if (output.dataflowEndpointConfig != null) {
|
|
2757
2695
|
return {
|
|
2758
|
-
dataflowEndpointConfig:
|
|
2696
|
+
dataflowEndpointConfig: de_DataflowEndpointConfig(output.dataflowEndpointConfig, context),
|
|
2759
2697
|
};
|
|
2760
2698
|
}
|
|
2761
2699
|
if (output.s3RecordingConfig != null) {
|
|
2762
2700
|
return {
|
|
2763
|
-
s3RecordingConfig:
|
|
2701
|
+
s3RecordingConfig: de_S3RecordingConfig(output.s3RecordingConfig, context),
|
|
2764
2702
|
};
|
|
2765
2703
|
}
|
|
2766
2704
|
if (output.trackingConfig != null) {
|
|
2767
2705
|
return {
|
|
2768
|
-
trackingConfig:
|
|
2706
|
+
trackingConfig: de_TrackingConfig(output.trackingConfig, context),
|
|
2769
2707
|
};
|
|
2770
2708
|
}
|
|
2771
2709
|
if (output.uplinkEchoConfig != null) {
|
|
2772
2710
|
return {
|
|
2773
|
-
uplinkEchoConfig:
|
|
2711
|
+
uplinkEchoConfig: de_UplinkEchoConfig(output.uplinkEchoConfig, context),
|
|
2774
2712
|
};
|
|
2775
2713
|
}
|
|
2776
2714
|
return { $unknown: Object.entries(output)[0] };
|
|
2777
2715
|
};
|
|
2778
|
-
const
|
|
2716
|
+
const de_ConnectionDetails = (output, context) => {
|
|
2779
2717
|
return {
|
|
2780
2718
|
mtu: __expectInt32(output.mtu),
|
|
2781
|
-
socketAddress: output.socketAddress != null ?
|
|
2719
|
+
socketAddress: output.socketAddress != null ? de_SocketAddress(output.socketAddress, context) : undefined,
|
|
2782
2720
|
};
|
|
2783
2721
|
};
|
|
2784
|
-
const
|
|
2722
|
+
const de_ContactData = (output, context) => {
|
|
2785
2723
|
return {
|
|
2786
2724
|
contactId: __expectString(output.contactId),
|
|
2787
2725
|
contactStatus: __expectString(output.contactStatus),
|
|
2788
2726
|
endTime: output.endTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.endTime))) : undefined,
|
|
2789
2727
|
errorMessage: __expectString(output.errorMessage),
|
|
2790
2728
|
groundStation: __expectString(output.groundStation),
|
|
2791
|
-
maximumElevation: output.maximumElevation != null ?
|
|
2729
|
+
maximumElevation: output.maximumElevation != null ? de_Elevation(output.maximumElevation, context) : undefined,
|
|
2792
2730
|
missionProfileArn: __expectString(output.missionProfileArn),
|
|
2793
2731
|
postPassEndTime: output.postPassEndTime != null
|
|
2794
2732
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.postPassEndTime)))
|
|
@@ -2799,28 +2737,28 @@ const deserializeAws_restJson1ContactData = (output, context) => {
|
|
|
2799
2737
|
region: __expectString(output.region),
|
|
2800
2738
|
satelliteArn: __expectString(output.satelliteArn),
|
|
2801
2739
|
startTime: output.startTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startTime))) : undefined,
|
|
2802
|
-
tags: output.tags != null ?
|
|
2740
|
+
tags: output.tags != null ? de_TagsMap(output.tags, context) : undefined,
|
|
2803
2741
|
};
|
|
2804
2742
|
};
|
|
2805
|
-
const
|
|
2743
|
+
const de_ContactList = (output, context) => {
|
|
2806
2744
|
const retVal = (output || [])
|
|
2807
2745
|
.filter((e) => e != null)
|
|
2808
2746
|
.map((entry) => {
|
|
2809
2747
|
if (entry === null) {
|
|
2810
2748
|
return null;
|
|
2811
2749
|
}
|
|
2812
|
-
return
|
|
2750
|
+
return de_ContactData(entry, context);
|
|
2813
2751
|
});
|
|
2814
2752
|
return retVal;
|
|
2815
2753
|
};
|
|
2816
|
-
const
|
|
2754
|
+
const de_DataflowDetail = (output, context) => {
|
|
2817
2755
|
return {
|
|
2818
|
-
destination: output.destination != null ?
|
|
2756
|
+
destination: output.destination != null ? de_Destination(output.destination, context) : undefined,
|
|
2819
2757
|
errorMessage: __expectString(output.errorMessage),
|
|
2820
|
-
source: output.source != null ?
|
|
2758
|
+
source: output.source != null ? de_Source(output.source, context) : undefined,
|
|
2821
2759
|
};
|
|
2822
2760
|
};
|
|
2823
|
-
const
|
|
2761
|
+
const de_DataflowEdge = (output, context) => {
|
|
2824
2762
|
const retVal = (output || [])
|
|
2825
2763
|
.filter((e) => e != null)
|
|
2826
2764
|
.map((entry) => {
|
|
@@ -2831,131 +2769,127 @@ const deserializeAws_restJson1DataflowEdge = (output, context) => {
|
|
|
2831
2769
|
});
|
|
2832
2770
|
return retVal;
|
|
2833
2771
|
};
|
|
2834
|
-
const
|
|
2772
|
+
const de_DataflowEdgeList = (output, context) => {
|
|
2835
2773
|
const retVal = (output || [])
|
|
2836
2774
|
.filter((e) => e != null)
|
|
2837
2775
|
.map((entry) => {
|
|
2838
2776
|
if (entry === null) {
|
|
2839
2777
|
return null;
|
|
2840
2778
|
}
|
|
2841
|
-
return
|
|
2779
|
+
return de_DataflowEdge(entry, context);
|
|
2842
2780
|
});
|
|
2843
2781
|
return retVal;
|
|
2844
2782
|
};
|
|
2845
|
-
const
|
|
2783
|
+
const de_DataflowEndpoint = (output, context) => {
|
|
2846
2784
|
return {
|
|
2847
|
-
address: output.address != null ?
|
|
2785
|
+
address: output.address != null ? de_SocketAddress(output.address, context) : undefined,
|
|
2848
2786
|
mtu: __expectInt32(output.mtu),
|
|
2849
2787
|
name: __expectString(output.name),
|
|
2850
2788
|
status: __expectString(output.status),
|
|
2851
2789
|
};
|
|
2852
2790
|
};
|
|
2853
|
-
const
|
|
2791
|
+
const de_DataflowEndpointConfig = (output, context) => {
|
|
2854
2792
|
return {
|
|
2855
2793
|
dataflowEndpointName: __expectString(output.dataflowEndpointName),
|
|
2856
2794
|
dataflowEndpointRegion: __expectString(output.dataflowEndpointRegion),
|
|
2857
2795
|
};
|
|
2858
2796
|
};
|
|
2859
|
-
const
|
|
2797
|
+
const de_DataflowEndpointGroupList = (output, context) => {
|
|
2860
2798
|
const retVal = (output || [])
|
|
2861
2799
|
.filter((e) => e != null)
|
|
2862
2800
|
.map((entry) => {
|
|
2863
2801
|
if (entry === null) {
|
|
2864
2802
|
return null;
|
|
2865
2803
|
}
|
|
2866
|
-
return
|
|
2804
|
+
return de_DataflowEndpointListItem(entry, context);
|
|
2867
2805
|
});
|
|
2868
2806
|
return retVal;
|
|
2869
2807
|
};
|
|
2870
|
-
const
|
|
2808
|
+
const de_DataflowEndpointListItem = (output, context) => {
|
|
2871
2809
|
return {
|
|
2872
2810
|
dataflowEndpointGroupArn: __expectString(output.dataflowEndpointGroupArn),
|
|
2873
2811
|
dataflowEndpointGroupId: __expectString(output.dataflowEndpointGroupId),
|
|
2874
2812
|
};
|
|
2875
2813
|
};
|
|
2876
|
-
const
|
|
2814
|
+
const de_DataflowList = (output, context) => {
|
|
2877
2815
|
const retVal = (output || [])
|
|
2878
2816
|
.filter((e) => e != null)
|
|
2879
2817
|
.map((entry) => {
|
|
2880
2818
|
if (entry === null) {
|
|
2881
2819
|
return null;
|
|
2882
2820
|
}
|
|
2883
|
-
return
|
|
2821
|
+
return de_DataflowDetail(entry, context);
|
|
2884
2822
|
});
|
|
2885
2823
|
return retVal;
|
|
2886
2824
|
};
|
|
2887
|
-
const
|
|
2825
|
+
const de_DecodeConfig = (output, context) => {
|
|
2888
2826
|
return {
|
|
2889
2827
|
unvalidatedJSON: __expectString(output.unvalidatedJSON),
|
|
2890
2828
|
};
|
|
2891
2829
|
};
|
|
2892
|
-
const
|
|
2830
|
+
const de_DemodulationConfig = (output, context) => {
|
|
2893
2831
|
return {
|
|
2894
2832
|
unvalidatedJSON: __expectString(output.unvalidatedJSON),
|
|
2895
2833
|
};
|
|
2896
2834
|
};
|
|
2897
|
-
const
|
|
2835
|
+
const de_Destination = (output, context) => {
|
|
2898
2836
|
return {
|
|
2899
|
-
configDetails: output.configDetails != null
|
|
2900
|
-
? deserializeAws_restJson1ConfigDetails(__expectUnion(output.configDetails), context)
|
|
2901
|
-
: undefined,
|
|
2837
|
+
configDetails: output.configDetails != null ? de_ConfigDetails(__expectUnion(output.configDetails), context) : undefined,
|
|
2902
2838
|
configId: __expectString(output.configId),
|
|
2903
2839
|
configType: __expectString(output.configType),
|
|
2904
2840
|
dataflowDestinationRegion: __expectString(output.dataflowDestinationRegion),
|
|
2905
2841
|
};
|
|
2906
2842
|
};
|
|
2907
|
-
const
|
|
2843
|
+
const de_Eirp = (output, context) => {
|
|
2908
2844
|
return {
|
|
2909
2845
|
units: __expectString(output.units),
|
|
2910
2846
|
value: __limitedParseDouble(output.value),
|
|
2911
2847
|
};
|
|
2912
2848
|
};
|
|
2913
|
-
const
|
|
2849
|
+
const de_Elevation = (output, context) => {
|
|
2914
2850
|
return {
|
|
2915
2851
|
unit: __expectString(output.unit),
|
|
2916
2852
|
value: __limitedParseDouble(output.value),
|
|
2917
2853
|
};
|
|
2918
2854
|
};
|
|
2919
|
-
const
|
|
2855
|
+
const de_EndpointDetails = (output, context) => {
|
|
2920
2856
|
return {
|
|
2921
2857
|
awsGroundStationAgentEndpoint: output.awsGroundStationAgentEndpoint != null
|
|
2922
|
-
?
|
|
2923
|
-
: undefined,
|
|
2924
|
-
endpoint: output.endpoint != null ? deserializeAws_restJson1DataflowEndpoint(output.endpoint, context) : undefined,
|
|
2925
|
-
securityDetails: output.securityDetails != null
|
|
2926
|
-
? deserializeAws_restJson1SecurityDetails(output.securityDetails, context)
|
|
2858
|
+
? de_AwsGroundStationAgentEndpoint(output.awsGroundStationAgentEndpoint, context)
|
|
2927
2859
|
: undefined,
|
|
2860
|
+
endpoint: output.endpoint != null ? de_DataflowEndpoint(output.endpoint, context) : undefined,
|
|
2861
|
+
securityDetails: output.securityDetails != null ? de_SecurityDetails(output.securityDetails, context) : undefined,
|
|
2928
2862
|
};
|
|
2929
2863
|
};
|
|
2930
|
-
const
|
|
2864
|
+
const de_EndpointDetailsList = (output, context) => {
|
|
2931
2865
|
const retVal = (output || [])
|
|
2932
2866
|
.filter((e) => e != null)
|
|
2933
2867
|
.map((entry) => {
|
|
2934
2868
|
if (entry === null) {
|
|
2935
2869
|
return null;
|
|
2936
2870
|
}
|
|
2937
|
-
return
|
|
2871
|
+
return de_EndpointDetails(entry, context);
|
|
2938
2872
|
});
|
|
2939
2873
|
return retVal;
|
|
2940
2874
|
};
|
|
2941
|
-
const
|
|
2875
|
+
const de_EphemeridesList = (output, context) => {
|
|
2942
2876
|
const retVal = (output || [])
|
|
2943
2877
|
.filter((e) => e != null)
|
|
2944
2878
|
.map((entry) => {
|
|
2945
2879
|
if (entry === null) {
|
|
2946
2880
|
return null;
|
|
2947
2881
|
}
|
|
2948
|
-
return
|
|
2882
|
+
return de_EphemerisItem(entry, context);
|
|
2949
2883
|
});
|
|
2950
2884
|
return retVal;
|
|
2951
2885
|
};
|
|
2952
|
-
const
|
|
2886
|
+
const de_EphemerisDescription = (output, context) => {
|
|
2953
2887
|
return {
|
|
2954
2888
|
ephemerisData: __expectString(output.ephemerisData),
|
|
2955
|
-
sourceS3Object: output.sourceS3Object != null ?
|
|
2889
|
+
sourceS3Object: output.sourceS3Object != null ? de_S3Object(output.sourceS3Object, context) : undefined,
|
|
2956
2890
|
};
|
|
2957
2891
|
};
|
|
2958
|
-
const
|
|
2892
|
+
const de_EphemerisItem = (output, context) => {
|
|
2959
2893
|
return {
|
|
2960
2894
|
creationTime: output.creationTime != null
|
|
2961
2895
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationTime)))
|
|
@@ -2964,11 +2898,11 @@ const deserializeAws_restJson1EphemerisItem = (output, context) => {
|
|
|
2964
2898
|
ephemerisId: __expectString(output.ephemerisId),
|
|
2965
2899
|
name: __expectString(output.name),
|
|
2966
2900
|
priority: __expectInt32(output.priority),
|
|
2967
|
-
sourceS3Object: output.sourceS3Object != null ?
|
|
2901
|
+
sourceS3Object: output.sourceS3Object != null ? de_S3Object(output.sourceS3Object, context) : undefined,
|
|
2968
2902
|
status: __expectString(output.status),
|
|
2969
2903
|
};
|
|
2970
2904
|
};
|
|
2971
|
-
const
|
|
2905
|
+
const de_EphemerisMetaData = (output, context) => {
|
|
2972
2906
|
return {
|
|
2973
2907
|
ephemerisId: __expectString(output.ephemerisId),
|
|
2974
2908
|
epoch: output.epoch != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.epoch))) : undefined,
|
|
@@ -2976,39 +2910,39 @@ const deserializeAws_restJson1EphemerisMetaData = (output, context) => {
|
|
|
2976
2910
|
source: __expectString(output.source),
|
|
2977
2911
|
};
|
|
2978
2912
|
};
|
|
2979
|
-
const
|
|
2913
|
+
const de_EphemerisTypeDescription = (output, context) => {
|
|
2980
2914
|
if (output.oem != null) {
|
|
2981
2915
|
return {
|
|
2982
|
-
oem:
|
|
2916
|
+
oem: de_EphemerisDescription(output.oem, context),
|
|
2983
2917
|
};
|
|
2984
2918
|
}
|
|
2985
2919
|
if (output.tle != null) {
|
|
2986
2920
|
return {
|
|
2987
|
-
tle:
|
|
2921
|
+
tle: de_EphemerisDescription(output.tle, context),
|
|
2988
2922
|
};
|
|
2989
2923
|
}
|
|
2990
2924
|
return { $unknown: Object.entries(output)[0] };
|
|
2991
2925
|
};
|
|
2992
|
-
const
|
|
2926
|
+
const de_Frequency = (output, context) => {
|
|
2993
2927
|
return {
|
|
2994
2928
|
units: __expectString(output.units),
|
|
2995
2929
|
value: __limitedParseDouble(output.value),
|
|
2996
2930
|
};
|
|
2997
2931
|
};
|
|
2998
|
-
const
|
|
2932
|
+
const de_FrequencyBandwidth = (output, context) => {
|
|
2999
2933
|
return {
|
|
3000
2934
|
units: __expectString(output.units),
|
|
3001
2935
|
value: __limitedParseDouble(output.value),
|
|
3002
2936
|
};
|
|
3003
2937
|
};
|
|
3004
|
-
const
|
|
2938
|
+
const de_GroundStationData = (output, context) => {
|
|
3005
2939
|
return {
|
|
3006
2940
|
groundStationId: __expectString(output.groundStationId),
|
|
3007
2941
|
groundStationName: __expectString(output.groundStationName),
|
|
3008
2942
|
region: __expectString(output.region),
|
|
3009
2943
|
};
|
|
3010
2944
|
};
|
|
3011
|
-
const
|
|
2945
|
+
const de_GroundStationIdList = (output, context) => {
|
|
3012
2946
|
const retVal = (output || [])
|
|
3013
2947
|
.filter((e) => e != null)
|
|
3014
2948
|
.map((entry) => {
|
|
@@ -3019,24 +2953,24 @@ const deserializeAws_restJson1GroundStationIdList = (output, context) => {
|
|
|
3019
2953
|
});
|
|
3020
2954
|
return retVal;
|
|
3021
2955
|
};
|
|
3022
|
-
const
|
|
2956
|
+
const de_GroundStationList = (output, context) => {
|
|
3023
2957
|
const retVal = (output || [])
|
|
3024
2958
|
.filter((e) => e != null)
|
|
3025
2959
|
.map((entry) => {
|
|
3026
2960
|
if (entry === null) {
|
|
3027
2961
|
return null;
|
|
3028
2962
|
}
|
|
3029
|
-
return
|
|
2963
|
+
return de_GroundStationData(entry, context);
|
|
3030
2964
|
});
|
|
3031
2965
|
return retVal;
|
|
3032
2966
|
};
|
|
3033
|
-
const
|
|
2967
|
+
const de_IntegerRange = (output, context) => {
|
|
3034
2968
|
return {
|
|
3035
2969
|
maximum: __expectInt32(output.maximum),
|
|
3036
2970
|
minimum: __expectInt32(output.minimum),
|
|
3037
2971
|
};
|
|
3038
2972
|
};
|
|
3039
|
-
const
|
|
2973
|
+
const de_KmsKey = (output, context) => {
|
|
3040
2974
|
if (__expectString(output.kmsAliasArn) !== undefined) {
|
|
3041
2975
|
return { kmsAliasArn: __expectString(output.kmsAliasArn) };
|
|
3042
2976
|
}
|
|
@@ -3045,18 +2979,18 @@ const deserializeAws_restJson1KmsKey = (output, context) => {
|
|
|
3045
2979
|
}
|
|
3046
2980
|
return { $unknown: Object.entries(output)[0] };
|
|
3047
2981
|
};
|
|
3048
|
-
const
|
|
2982
|
+
const de_MissionProfileList = (output, context) => {
|
|
3049
2983
|
const retVal = (output || [])
|
|
3050
2984
|
.filter((e) => e != null)
|
|
3051
2985
|
.map((entry) => {
|
|
3052
2986
|
if (entry === null) {
|
|
3053
2987
|
return null;
|
|
3054
2988
|
}
|
|
3055
|
-
return
|
|
2989
|
+
return de_MissionProfileListItem(entry, context);
|
|
3056
2990
|
});
|
|
3057
2991
|
return retVal;
|
|
3058
2992
|
};
|
|
3059
|
-
const
|
|
2993
|
+
const de_MissionProfileListItem = (output, context) => {
|
|
3060
2994
|
return {
|
|
3061
2995
|
missionProfileArn: __expectString(output.missionProfileArn),
|
|
3062
2996
|
missionProfileId: __expectString(output.missionProfileId),
|
|
@@ -3064,74 +2998,66 @@ const deserializeAws_restJson1MissionProfileListItem = (output, context) => {
|
|
|
3064
2998
|
region: __expectString(output.region),
|
|
3065
2999
|
};
|
|
3066
3000
|
};
|
|
3067
|
-
const
|
|
3001
|
+
const de_RangedConnectionDetails = (output, context) => {
|
|
3068
3002
|
return {
|
|
3069
3003
|
mtu: __expectInt32(output.mtu),
|
|
3070
|
-
socketAddress: output.socketAddress != null
|
|
3071
|
-
? deserializeAws_restJson1RangedSocketAddress(output.socketAddress, context)
|
|
3072
|
-
: undefined,
|
|
3004
|
+
socketAddress: output.socketAddress != null ? de_RangedSocketAddress(output.socketAddress, context) : undefined,
|
|
3073
3005
|
};
|
|
3074
3006
|
};
|
|
3075
|
-
const
|
|
3007
|
+
const de_RangedSocketAddress = (output, context) => {
|
|
3076
3008
|
return {
|
|
3077
3009
|
name: __expectString(output.name),
|
|
3078
|
-
portRange: output.portRange != null ?
|
|
3010
|
+
portRange: output.portRange != null ? de_IntegerRange(output.portRange, context) : undefined,
|
|
3079
3011
|
};
|
|
3080
3012
|
};
|
|
3081
|
-
const
|
|
3013
|
+
const de_S3Object = (output, context) => {
|
|
3082
3014
|
return {
|
|
3083
3015
|
bucket: __expectString(output.bucket),
|
|
3084
3016
|
key: __expectString(output.key),
|
|
3085
3017
|
version: __expectString(output.version),
|
|
3086
3018
|
};
|
|
3087
3019
|
};
|
|
3088
|
-
const
|
|
3020
|
+
const de_S3RecordingConfig = (output, context) => {
|
|
3089
3021
|
return {
|
|
3090
3022
|
bucketArn: __expectString(output.bucketArn),
|
|
3091
3023
|
prefix: __expectString(output.prefix),
|
|
3092
3024
|
roleArn: __expectString(output.roleArn),
|
|
3093
3025
|
};
|
|
3094
3026
|
};
|
|
3095
|
-
const
|
|
3027
|
+
const de_S3RecordingDetails = (output, context) => {
|
|
3096
3028
|
return {
|
|
3097
3029
|
bucketArn: __expectString(output.bucketArn),
|
|
3098
3030
|
keyTemplate: __expectString(output.keyTemplate),
|
|
3099
3031
|
};
|
|
3100
3032
|
};
|
|
3101
|
-
const
|
|
3033
|
+
const de_SatelliteList = (output, context) => {
|
|
3102
3034
|
const retVal = (output || [])
|
|
3103
3035
|
.filter((e) => e != null)
|
|
3104
3036
|
.map((entry) => {
|
|
3105
3037
|
if (entry === null) {
|
|
3106
3038
|
return null;
|
|
3107
3039
|
}
|
|
3108
|
-
return
|
|
3040
|
+
return de_SatelliteListItem(entry, context);
|
|
3109
3041
|
});
|
|
3110
3042
|
return retVal;
|
|
3111
3043
|
};
|
|
3112
|
-
const
|
|
3044
|
+
const de_SatelliteListItem = (output, context) => {
|
|
3113
3045
|
return {
|
|
3114
|
-
currentEphemeris: output.currentEphemeris != null
|
|
3115
|
-
|
|
3116
|
-
: undefined,
|
|
3117
|
-
groundStations: output.groundStations != null
|
|
3118
|
-
? deserializeAws_restJson1GroundStationIdList(output.groundStations, context)
|
|
3119
|
-
: undefined,
|
|
3046
|
+
currentEphemeris: output.currentEphemeris != null ? de_EphemerisMetaData(output.currentEphemeris, context) : undefined,
|
|
3047
|
+
groundStations: output.groundStations != null ? de_GroundStationIdList(output.groundStations, context) : undefined,
|
|
3120
3048
|
noradSatelliteID: __expectInt32(output.noradSatelliteID),
|
|
3121
3049
|
satelliteArn: __expectString(output.satelliteArn),
|
|
3122
3050
|
satelliteId: __expectString(output.satelliteId),
|
|
3123
3051
|
};
|
|
3124
3052
|
};
|
|
3125
|
-
const
|
|
3053
|
+
const de_SecurityDetails = (output, context) => {
|
|
3126
3054
|
return {
|
|
3127
3055
|
roleArn: __expectString(output.roleArn),
|
|
3128
|
-
securityGroupIds: output.securityGroupIds != null
|
|
3129
|
-
|
|
3130
|
-
: undefined,
|
|
3131
|
-
subnetIds: output.subnetIds != null ? deserializeAws_restJson1SubnetList(output.subnetIds, context) : undefined,
|
|
3056
|
+
securityGroupIds: output.securityGroupIds != null ? de_SecurityGroupIdList(output.securityGroupIds, context) : undefined,
|
|
3057
|
+
subnetIds: output.subnetIds != null ? de_SubnetList(output.subnetIds, context) : undefined,
|
|
3132
3058
|
};
|
|
3133
3059
|
};
|
|
3134
|
-
const
|
|
3060
|
+
const de_SecurityGroupIdList = (output, context) => {
|
|
3135
3061
|
const retVal = (output || [])
|
|
3136
3062
|
.filter((e) => e != null)
|
|
3137
3063
|
.map((entry) => {
|
|
@@ -3142,30 +3068,28 @@ const deserializeAws_restJson1SecurityGroupIdList = (output, context) => {
|
|
|
3142
3068
|
});
|
|
3143
3069
|
return retVal;
|
|
3144
3070
|
};
|
|
3145
|
-
const
|
|
3071
|
+
const de_SocketAddress = (output, context) => {
|
|
3146
3072
|
return {
|
|
3147
3073
|
name: __expectString(output.name),
|
|
3148
3074
|
port: __expectInt32(output.port),
|
|
3149
3075
|
};
|
|
3150
3076
|
};
|
|
3151
|
-
const
|
|
3077
|
+
const de_Source = (output, context) => {
|
|
3152
3078
|
return {
|
|
3153
|
-
configDetails: output.configDetails != null
|
|
3154
|
-
? deserializeAws_restJson1ConfigDetails(__expectUnion(output.configDetails), context)
|
|
3155
|
-
: undefined,
|
|
3079
|
+
configDetails: output.configDetails != null ? de_ConfigDetails(__expectUnion(output.configDetails), context) : undefined,
|
|
3156
3080
|
configId: __expectString(output.configId),
|
|
3157
3081
|
configType: __expectString(output.configType),
|
|
3158
3082
|
dataflowSourceRegion: __expectString(output.dataflowSourceRegion),
|
|
3159
3083
|
};
|
|
3160
3084
|
};
|
|
3161
|
-
const
|
|
3085
|
+
const de_SpectrumConfig = (output, context) => {
|
|
3162
3086
|
return {
|
|
3163
|
-
bandwidth: output.bandwidth != null ?
|
|
3164
|
-
centerFrequency: output.centerFrequency != null ?
|
|
3087
|
+
bandwidth: output.bandwidth != null ? de_FrequencyBandwidth(output.bandwidth, context) : undefined,
|
|
3088
|
+
centerFrequency: output.centerFrequency != null ? de_Frequency(output.centerFrequency, context) : undefined,
|
|
3165
3089
|
polarization: __expectString(output.polarization),
|
|
3166
3090
|
};
|
|
3167
3091
|
};
|
|
3168
|
-
const
|
|
3092
|
+
const de_SubnetList = (output, context) => {
|
|
3169
3093
|
const retVal = (output || [])
|
|
3170
3094
|
.filter((e) => e != null)
|
|
3171
3095
|
.map((entry) => {
|
|
@@ -3176,7 +3100,7 @@ const deserializeAws_restJson1SubnetList = (output, context) => {
|
|
|
3176
3100
|
});
|
|
3177
3101
|
return retVal;
|
|
3178
3102
|
};
|
|
3179
|
-
const
|
|
3103
|
+
const de_TagsMap = (output, context) => {
|
|
3180
3104
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
3181
3105
|
if (value === null) {
|
|
3182
3106
|
return acc;
|
|
@@ -3185,20 +3109,20 @@ const deserializeAws_restJson1TagsMap = (output, context) => {
|
|
|
3185
3109
|
return acc;
|
|
3186
3110
|
}, {});
|
|
3187
3111
|
};
|
|
3188
|
-
const
|
|
3112
|
+
const de_TrackingConfig = (output, context) => {
|
|
3189
3113
|
return {
|
|
3190
3114
|
autotrack: __expectString(output.autotrack),
|
|
3191
3115
|
};
|
|
3192
3116
|
};
|
|
3193
|
-
const
|
|
3117
|
+
const de_UplinkEchoConfig = (output, context) => {
|
|
3194
3118
|
return {
|
|
3195
3119
|
antennaUplinkConfigArn: __expectString(output.antennaUplinkConfigArn),
|
|
3196
3120
|
enabled: __expectBoolean(output.enabled),
|
|
3197
3121
|
};
|
|
3198
3122
|
};
|
|
3199
|
-
const
|
|
3123
|
+
const de_UplinkSpectrumConfig = (output, context) => {
|
|
3200
3124
|
return {
|
|
3201
|
-
centerFrequency: output.centerFrequency != null ?
|
|
3125
|
+
centerFrequency: output.centerFrequency != null ? de_Frequency(output.centerFrequency, context) : undefined,
|
|
3202
3126
|
polarization: __expectString(output.polarization),
|
|
3203
3127
|
};
|
|
3204
3128
|
};
|