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