@aws-sdk/client-groundstation 3.474.0 → 3.477.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/protocols/Aws_restJson1.js +174 -410
- package/dist-es/protocols/Aws_restJson1.js +175 -411
- package/package.json +5 -4
|
@@ -1,52 +1,38 @@
|
|
|
1
1
|
import { awsExpectUnion as __expectUnion } from "@aws-sdk/core";
|
|
2
|
-
import {
|
|
3
|
-
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, map, parseEpochTimestamp as __parseEpochTimestamp,
|
|
2
|
+
import { requestBuilder as rb } from "@smithy/core";
|
|
3
|
+
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, map, parseEpochTimestamp as __parseEpochTimestamp, serializeFloat as __serializeFloat, take, withBaseException, } from "@smithy/smithy-client";
|
|
4
4
|
import { GroundStationServiceException as __BaseException } from "../models/GroundStationServiceException";
|
|
5
5
|
import { ConfigTypeData, DependencyException, EphemerisData, InvalidParameterException, ResourceLimitExceededException, ResourceNotFoundException, } from "../models/models_0";
|
|
6
6
|
export const se_CancelContactCommand = async (input, context) => {
|
|
7
|
-
const
|
|
7
|
+
const b = rb(input, context);
|
|
8
8
|
const headers = {};
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
b.bp("/contact/{contactId}");
|
|
10
|
+
b.p("contactId", () => input.contactId, "{contactId}", false);
|
|
11
11
|
let body;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
hostname,
|
|
15
|
-
port,
|
|
16
|
-
method: "DELETE",
|
|
17
|
-
headers,
|
|
18
|
-
path: resolvedPath,
|
|
19
|
-
body,
|
|
20
|
-
});
|
|
12
|
+
b.m("DELETE").h(headers).b(body);
|
|
13
|
+
return b.build();
|
|
21
14
|
};
|
|
22
15
|
export const se_CreateConfigCommand = async (input, context) => {
|
|
23
|
-
const
|
|
16
|
+
const b = rb(input, context);
|
|
24
17
|
const headers = {
|
|
25
18
|
"content-type": "application/json",
|
|
26
19
|
};
|
|
27
|
-
|
|
20
|
+
b.bp("/config");
|
|
28
21
|
let body;
|
|
29
22
|
body = JSON.stringify(take(input, {
|
|
30
23
|
configData: (_) => se_ConfigTypeData(_, context),
|
|
31
24
|
name: [],
|
|
32
25
|
tags: (_) => _json(_),
|
|
33
26
|
}));
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
hostname,
|
|
37
|
-
port,
|
|
38
|
-
method: "POST",
|
|
39
|
-
headers,
|
|
40
|
-
path: resolvedPath,
|
|
41
|
-
body,
|
|
42
|
-
});
|
|
27
|
+
b.m("POST").h(headers).b(body);
|
|
28
|
+
return b.build();
|
|
43
29
|
};
|
|
44
30
|
export const se_CreateDataflowEndpointGroupCommand = async (input, context) => {
|
|
45
|
-
const
|
|
31
|
+
const b = rb(input, context);
|
|
46
32
|
const headers = {
|
|
47
33
|
"content-type": "application/json",
|
|
48
34
|
};
|
|
49
|
-
|
|
35
|
+
b.bp("/dataflowEndpointGroup");
|
|
50
36
|
let body;
|
|
51
37
|
body = JSON.stringify(take(input, {
|
|
52
38
|
contactPostPassDurationSeconds: [],
|
|
@@ -54,22 +40,15 @@ export const se_CreateDataflowEndpointGroupCommand = async (input, context) => {
|
|
|
54
40
|
endpointDetails: (_) => _json(_),
|
|
55
41
|
tags: (_) => _json(_),
|
|
56
42
|
}));
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
hostname,
|
|
60
|
-
port,
|
|
61
|
-
method: "POST",
|
|
62
|
-
headers,
|
|
63
|
-
path: resolvedPath,
|
|
64
|
-
body,
|
|
65
|
-
});
|
|
43
|
+
b.m("POST").h(headers).b(body);
|
|
44
|
+
return b.build();
|
|
66
45
|
};
|
|
67
46
|
export const se_CreateEphemerisCommand = async (input, context) => {
|
|
68
|
-
const
|
|
47
|
+
const b = rb(input, context);
|
|
69
48
|
const headers = {
|
|
70
49
|
"content-type": "application/json",
|
|
71
50
|
};
|
|
72
|
-
|
|
51
|
+
b.bp("/ephemeris");
|
|
73
52
|
let body;
|
|
74
53
|
body = JSON.stringify(take(input, {
|
|
75
54
|
enabled: [],
|
|
@@ -81,22 +60,15 @@ export const se_CreateEphemerisCommand = async (input, context) => {
|
|
|
81
60
|
satelliteId: [],
|
|
82
61
|
tags: (_) => _json(_),
|
|
83
62
|
}));
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
hostname,
|
|
87
|
-
port,
|
|
88
|
-
method: "POST",
|
|
89
|
-
headers,
|
|
90
|
-
path: resolvedPath,
|
|
91
|
-
body,
|
|
92
|
-
});
|
|
63
|
+
b.m("POST").h(headers).b(body);
|
|
64
|
+
return b.build();
|
|
93
65
|
};
|
|
94
66
|
export const se_CreateMissionProfileCommand = async (input, context) => {
|
|
95
|
-
const
|
|
67
|
+
const b = rb(input, context);
|
|
96
68
|
const headers = {
|
|
97
69
|
"content-type": "application/json",
|
|
98
70
|
};
|
|
99
|
-
|
|
71
|
+
b.bp("/missionprofile");
|
|
100
72
|
let body;
|
|
101
73
|
body = JSON.stringify(take(input, {
|
|
102
74
|
contactPostPassDurationSeconds: [],
|
|
@@ -109,243 +81,142 @@ export const se_CreateMissionProfileCommand = async (input, context) => {
|
|
|
109
81
|
tags: (_) => _json(_),
|
|
110
82
|
trackingConfigArn: [],
|
|
111
83
|
}));
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
hostname,
|
|
115
|
-
port,
|
|
116
|
-
method: "POST",
|
|
117
|
-
headers,
|
|
118
|
-
path: resolvedPath,
|
|
119
|
-
body,
|
|
120
|
-
});
|
|
84
|
+
b.m("POST").h(headers).b(body);
|
|
85
|
+
return b.build();
|
|
121
86
|
};
|
|
122
87
|
export const se_DeleteConfigCommand = async (input, context) => {
|
|
123
|
-
const
|
|
88
|
+
const b = rb(input, context);
|
|
124
89
|
const headers = {};
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
90
|
+
b.bp("/config/{configType}/{configId}");
|
|
91
|
+
b.p("configId", () => input.configId, "{configId}", false);
|
|
92
|
+
b.p("configType", () => input.configType, "{configType}", false);
|
|
128
93
|
let body;
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
hostname,
|
|
132
|
-
port,
|
|
133
|
-
method: "DELETE",
|
|
134
|
-
headers,
|
|
135
|
-
path: resolvedPath,
|
|
136
|
-
body,
|
|
137
|
-
});
|
|
94
|
+
b.m("DELETE").h(headers).b(body);
|
|
95
|
+
return b.build();
|
|
138
96
|
};
|
|
139
97
|
export const se_DeleteDataflowEndpointGroupCommand = async (input, context) => {
|
|
140
|
-
const
|
|
98
|
+
const b = rb(input, context);
|
|
141
99
|
const headers = {};
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "dataflowEndpointGroupId", () => input.dataflowEndpointGroupId, "{dataflowEndpointGroupId}", false);
|
|
100
|
+
b.bp("/dataflowEndpointGroup/{dataflowEndpointGroupId}");
|
|
101
|
+
b.p("dataflowEndpointGroupId", () => input.dataflowEndpointGroupId, "{dataflowEndpointGroupId}", false);
|
|
145
102
|
let body;
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
hostname,
|
|
149
|
-
port,
|
|
150
|
-
method: "DELETE",
|
|
151
|
-
headers,
|
|
152
|
-
path: resolvedPath,
|
|
153
|
-
body,
|
|
154
|
-
});
|
|
103
|
+
b.m("DELETE").h(headers).b(body);
|
|
104
|
+
return b.build();
|
|
155
105
|
};
|
|
156
106
|
export const se_DeleteEphemerisCommand = async (input, context) => {
|
|
157
|
-
const
|
|
107
|
+
const b = rb(input, context);
|
|
158
108
|
const headers = {};
|
|
159
|
-
|
|
160
|
-
|
|
109
|
+
b.bp("/ephemeris/{ephemerisId}");
|
|
110
|
+
b.p("ephemerisId", () => input.ephemerisId, "{ephemerisId}", false);
|
|
161
111
|
let body;
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
hostname,
|
|
165
|
-
port,
|
|
166
|
-
method: "DELETE",
|
|
167
|
-
headers,
|
|
168
|
-
path: resolvedPath,
|
|
169
|
-
body,
|
|
170
|
-
});
|
|
112
|
+
b.m("DELETE").h(headers).b(body);
|
|
113
|
+
return b.build();
|
|
171
114
|
};
|
|
172
115
|
export const se_DeleteMissionProfileCommand = async (input, context) => {
|
|
173
|
-
const
|
|
116
|
+
const b = rb(input, context);
|
|
174
117
|
const headers = {};
|
|
175
|
-
|
|
176
|
-
|
|
118
|
+
b.bp("/missionprofile/{missionProfileId}");
|
|
119
|
+
b.p("missionProfileId", () => input.missionProfileId, "{missionProfileId}", false);
|
|
177
120
|
let body;
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
hostname,
|
|
181
|
-
port,
|
|
182
|
-
method: "DELETE",
|
|
183
|
-
headers,
|
|
184
|
-
path: resolvedPath,
|
|
185
|
-
body,
|
|
186
|
-
});
|
|
121
|
+
b.m("DELETE").h(headers).b(body);
|
|
122
|
+
return b.build();
|
|
187
123
|
};
|
|
188
124
|
export const se_DescribeContactCommand = async (input, context) => {
|
|
189
|
-
const
|
|
125
|
+
const b = rb(input, context);
|
|
190
126
|
const headers = {};
|
|
191
|
-
|
|
192
|
-
|
|
127
|
+
b.bp("/contact/{contactId}");
|
|
128
|
+
b.p("contactId", () => input.contactId, "{contactId}", false);
|
|
193
129
|
let body;
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
hostname,
|
|
197
|
-
port,
|
|
198
|
-
method: "GET",
|
|
199
|
-
headers,
|
|
200
|
-
path: resolvedPath,
|
|
201
|
-
body,
|
|
202
|
-
});
|
|
130
|
+
b.m("GET").h(headers).b(body);
|
|
131
|
+
return b.build();
|
|
203
132
|
};
|
|
204
133
|
export const se_DescribeEphemerisCommand = async (input, context) => {
|
|
205
|
-
const
|
|
134
|
+
const b = rb(input, context);
|
|
206
135
|
const headers = {};
|
|
207
|
-
|
|
208
|
-
|
|
136
|
+
b.bp("/ephemeris/{ephemerisId}");
|
|
137
|
+
b.p("ephemerisId", () => input.ephemerisId, "{ephemerisId}", false);
|
|
209
138
|
let body;
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
hostname,
|
|
213
|
-
port,
|
|
214
|
-
method: "GET",
|
|
215
|
-
headers,
|
|
216
|
-
path: resolvedPath,
|
|
217
|
-
body,
|
|
218
|
-
});
|
|
139
|
+
b.m("GET").h(headers).b(body);
|
|
140
|
+
return b.build();
|
|
219
141
|
};
|
|
220
142
|
export const se_GetAgentConfigurationCommand = async (input, context) => {
|
|
221
|
-
const
|
|
143
|
+
const b = rb(input, context);
|
|
222
144
|
const headers = {};
|
|
223
|
-
|
|
224
|
-
|
|
145
|
+
b.bp("/agent/{agentId}/configuration");
|
|
146
|
+
b.p("agentId", () => input.agentId, "{agentId}", false);
|
|
225
147
|
let body;
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
hostname,
|
|
229
|
-
port,
|
|
230
|
-
method: "GET",
|
|
231
|
-
headers,
|
|
232
|
-
path: resolvedPath,
|
|
233
|
-
body,
|
|
234
|
-
});
|
|
148
|
+
b.m("GET").h(headers).b(body);
|
|
149
|
+
return b.build();
|
|
235
150
|
};
|
|
236
151
|
export const se_GetConfigCommand = async (input, context) => {
|
|
237
|
-
const
|
|
152
|
+
const b = rb(input, context);
|
|
238
153
|
const headers = {};
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
154
|
+
b.bp("/config/{configType}/{configId}");
|
|
155
|
+
b.p("configId", () => input.configId, "{configId}", false);
|
|
156
|
+
b.p("configType", () => input.configType, "{configType}", false);
|
|
242
157
|
let body;
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
hostname,
|
|
246
|
-
port,
|
|
247
|
-
method: "GET",
|
|
248
|
-
headers,
|
|
249
|
-
path: resolvedPath,
|
|
250
|
-
body,
|
|
251
|
-
});
|
|
158
|
+
b.m("GET").h(headers).b(body);
|
|
159
|
+
return b.build();
|
|
252
160
|
};
|
|
253
161
|
export const se_GetDataflowEndpointGroupCommand = async (input, context) => {
|
|
254
|
-
const
|
|
162
|
+
const b = rb(input, context);
|
|
255
163
|
const headers = {};
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "dataflowEndpointGroupId", () => input.dataflowEndpointGroupId, "{dataflowEndpointGroupId}", false);
|
|
164
|
+
b.bp("/dataflowEndpointGroup/{dataflowEndpointGroupId}");
|
|
165
|
+
b.p("dataflowEndpointGroupId", () => input.dataflowEndpointGroupId, "{dataflowEndpointGroupId}", false);
|
|
259
166
|
let body;
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
hostname,
|
|
263
|
-
port,
|
|
264
|
-
method: "GET",
|
|
265
|
-
headers,
|
|
266
|
-
path: resolvedPath,
|
|
267
|
-
body,
|
|
268
|
-
});
|
|
167
|
+
b.m("GET").h(headers).b(body);
|
|
168
|
+
return b.build();
|
|
269
169
|
};
|
|
270
170
|
export const se_GetMinuteUsageCommand = async (input, context) => {
|
|
271
|
-
const
|
|
171
|
+
const b = rb(input, context);
|
|
272
172
|
const headers = {
|
|
273
173
|
"content-type": "application/json",
|
|
274
174
|
};
|
|
275
|
-
|
|
175
|
+
b.bp("/minute-usage");
|
|
276
176
|
let body;
|
|
277
177
|
body = JSON.stringify(take(input, {
|
|
278
178
|
month: [],
|
|
279
179
|
year: [],
|
|
280
180
|
}));
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
hostname,
|
|
284
|
-
port,
|
|
285
|
-
method: "POST",
|
|
286
|
-
headers,
|
|
287
|
-
path: resolvedPath,
|
|
288
|
-
body,
|
|
289
|
-
});
|
|
181
|
+
b.m("POST").h(headers).b(body);
|
|
182
|
+
return b.build();
|
|
290
183
|
};
|
|
291
184
|
export const se_GetMissionProfileCommand = async (input, context) => {
|
|
292
|
-
const
|
|
185
|
+
const b = rb(input, context);
|
|
293
186
|
const headers = {};
|
|
294
|
-
|
|
295
|
-
|
|
187
|
+
b.bp("/missionprofile/{missionProfileId}");
|
|
188
|
+
b.p("missionProfileId", () => input.missionProfileId, "{missionProfileId}", false);
|
|
296
189
|
let body;
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
hostname,
|
|
300
|
-
port,
|
|
301
|
-
method: "GET",
|
|
302
|
-
headers,
|
|
303
|
-
path: resolvedPath,
|
|
304
|
-
body,
|
|
305
|
-
});
|
|
190
|
+
b.m("GET").h(headers).b(body);
|
|
191
|
+
return b.build();
|
|
306
192
|
};
|
|
307
193
|
export const se_GetSatelliteCommand = async (input, context) => {
|
|
308
|
-
const
|
|
194
|
+
const b = rb(input, context);
|
|
309
195
|
const headers = {};
|
|
310
|
-
|
|
311
|
-
|
|
196
|
+
b.bp("/satellite/{satelliteId}");
|
|
197
|
+
b.p("satelliteId", () => input.satelliteId, "{satelliteId}", false);
|
|
312
198
|
let body;
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
hostname,
|
|
316
|
-
port,
|
|
317
|
-
method: "GET",
|
|
318
|
-
headers,
|
|
319
|
-
path: resolvedPath,
|
|
320
|
-
body,
|
|
321
|
-
});
|
|
199
|
+
b.m("GET").h(headers).b(body);
|
|
200
|
+
return b.build();
|
|
322
201
|
};
|
|
323
202
|
export const se_ListConfigsCommand = async (input, context) => {
|
|
324
|
-
const
|
|
203
|
+
const b = rb(input, context);
|
|
325
204
|
const headers = {};
|
|
326
|
-
|
|
205
|
+
b.bp("/config");
|
|
327
206
|
const query = map({
|
|
328
|
-
|
|
329
|
-
|
|
207
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
208
|
+
[_nT]: [, input[_nT]],
|
|
330
209
|
});
|
|
331
210
|
let body;
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
hostname,
|
|
335
|
-
port,
|
|
336
|
-
method: "GET",
|
|
337
|
-
headers,
|
|
338
|
-
path: resolvedPath,
|
|
339
|
-
query,
|
|
340
|
-
body,
|
|
341
|
-
});
|
|
211
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
212
|
+
return b.build();
|
|
342
213
|
};
|
|
343
214
|
export const se_ListContactsCommand = async (input, context) => {
|
|
344
|
-
const
|
|
215
|
+
const b = rb(input, context);
|
|
345
216
|
const headers = {
|
|
346
217
|
"content-type": "application/json",
|
|
347
218
|
};
|
|
348
|
-
|
|
219
|
+
b.bp("/contacts");
|
|
349
220
|
let body;
|
|
350
221
|
body = JSON.stringify(take(input, {
|
|
351
222
|
endTime: (_) => Math.round(_.getTime() / 1000),
|
|
@@ -357,45 +228,30 @@ export const se_ListContactsCommand = async (input, context) => {
|
|
|
357
228
|
startTime: (_) => Math.round(_.getTime() / 1000),
|
|
358
229
|
statusList: (_) => _json(_),
|
|
359
230
|
}));
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
hostname,
|
|
363
|
-
port,
|
|
364
|
-
method: "POST",
|
|
365
|
-
headers,
|
|
366
|
-
path: resolvedPath,
|
|
367
|
-
body,
|
|
368
|
-
});
|
|
231
|
+
b.m("POST").h(headers).b(body);
|
|
232
|
+
return b.build();
|
|
369
233
|
};
|
|
370
234
|
export const se_ListDataflowEndpointGroupsCommand = async (input, context) => {
|
|
371
|
-
const
|
|
235
|
+
const b = rb(input, context);
|
|
372
236
|
const headers = {};
|
|
373
|
-
|
|
237
|
+
b.bp("/dataflowEndpointGroup");
|
|
374
238
|
const query = map({
|
|
375
|
-
|
|
376
|
-
|
|
239
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
240
|
+
[_nT]: [, input[_nT]],
|
|
377
241
|
});
|
|
378
242
|
let body;
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
hostname,
|
|
382
|
-
port,
|
|
383
|
-
method: "GET",
|
|
384
|
-
headers,
|
|
385
|
-
path: resolvedPath,
|
|
386
|
-
query,
|
|
387
|
-
body,
|
|
388
|
-
});
|
|
243
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
244
|
+
return b.build();
|
|
389
245
|
};
|
|
390
246
|
export const se_ListEphemeridesCommand = async (input, context) => {
|
|
391
|
-
const
|
|
247
|
+
const b = rb(input, context);
|
|
392
248
|
const headers = {
|
|
393
249
|
"content-type": "application/json",
|
|
394
250
|
};
|
|
395
|
-
|
|
251
|
+
b.bp("/ephemerides");
|
|
396
252
|
const query = map({
|
|
397
|
-
|
|
398
|
-
|
|
253
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
254
|
+
[_nT]: [, input[_nT]],
|
|
399
255
|
});
|
|
400
256
|
let body;
|
|
401
257
|
body = JSON.stringify(take(input, {
|
|
@@ -404,121 +260,75 @@ export const se_ListEphemeridesCommand = async (input, context) => {
|
|
|
404
260
|
startTime: (_) => Math.round(_.getTime() / 1000),
|
|
405
261
|
statusList: (_) => _json(_),
|
|
406
262
|
}));
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
hostname,
|
|
410
|
-
port,
|
|
411
|
-
method: "POST",
|
|
412
|
-
headers,
|
|
413
|
-
path: resolvedPath,
|
|
414
|
-
query,
|
|
415
|
-
body,
|
|
416
|
-
});
|
|
263
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
264
|
+
return b.build();
|
|
417
265
|
};
|
|
418
266
|
export const se_ListGroundStationsCommand = async (input, context) => {
|
|
419
|
-
const
|
|
267
|
+
const b = rb(input, context);
|
|
420
268
|
const headers = {};
|
|
421
|
-
|
|
269
|
+
b.bp("/groundstation");
|
|
422
270
|
const query = map({
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
271
|
+
[_sI]: [, input[_sI]],
|
|
272
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
273
|
+
[_nT]: [, input[_nT]],
|
|
426
274
|
});
|
|
427
275
|
let body;
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
hostname,
|
|
431
|
-
port,
|
|
432
|
-
method: "GET",
|
|
433
|
-
headers,
|
|
434
|
-
path: resolvedPath,
|
|
435
|
-
query,
|
|
436
|
-
body,
|
|
437
|
-
});
|
|
276
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
277
|
+
return b.build();
|
|
438
278
|
};
|
|
439
279
|
export const se_ListMissionProfilesCommand = async (input, context) => {
|
|
440
|
-
const
|
|
280
|
+
const b = rb(input, context);
|
|
441
281
|
const headers = {};
|
|
442
|
-
|
|
282
|
+
b.bp("/missionprofile");
|
|
443
283
|
const query = map({
|
|
444
|
-
|
|
445
|
-
|
|
284
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
285
|
+
[_nT]: [, input[_nT]],
|
|
446
286
|
});
|
|
447
287
|
let body;
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
hostname,
|
|
451
|
-
port,
|
|
452
|
-
method: "GET",
|
|
453
|
-
headers,
|
|
454
|
-
path: resolvedPath,
|
|
455
|
-
query,
|
|
456
|
-
body,
|
|
457
|
-
});
|
|
288
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
289
|
+
return b.build();
|
|
458
290
|
};
|
|
459
291
|
export const se_ListSatellitesCommand = async (input, context) => {
|
|
460
|
-
const
|
|
292
|
+
const b = rb(input, context);
|
|
461
293
|
const headers = {};
|
|
462
|
-
|
|
294
|
+
b.bp("/satellite");
|
|
463
295
|
const query = map({
|
|
464
|
-
|
|
465
|
-
|
|
296
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
297
|
+
[_nT]: [, input[_nT]],
|
|
466
298
|
});
|
|
467
299
|
let body;
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
hostname,
|
|
471
|
-
port,
|
|
472
|
-
method: "GET",
|
|
473
|
-
headers,
|
|
474
|
-
path: resolvedPath,
|
|
475
|
-
query,
|
|
476
|
-
body,
|
|
477
|
-
});
|
|
300
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
301
|
+
return b.build();
|
|
478
302
|
};
|
|
479
303
|
export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
480
|
-
const
|
|
304
|
+
const b = rb(input, context);
|
|
481
305
|
const headers = {};
|
|
482
|
-
|
|
483
|
-
|
|
306
|
+
b.bp("/tags/{resourceArn}");
|
|
307
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
484
308
|
let body;
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
hostname,
|
|
488
|
-
port,
|
|
489
|
-
method: "GET",
|
|
490
|
-
headers,
|
|
491
|
-
path: resolvedPath,
|
|
492
|
-
body,
|
|
493
|
-
});
|
|
309
|
+
b.m("GET").h(headers).b(body);
|
|
310
|
+
return b.build();
|
|
494
311
|
};
|
|
495
312
|
export const se_RegisterAgentCommand = async (input, context) => {
|
|
496
|
-
const
|
|
313
|
+
const b = rb(input, context);
|
|
497
314
|
const headers = {
|
|
498
315
|
"content-type": "application/json",
|
|
499
316
|
};
|
|
500
|
-
|
|
317
|
+
b.bp("/agent");
|
|
501
318
|
let body;
|
|
502
319
|
body = JSON.stringify(take(input, {
|
|
503
320
|
agentDetails: (_) => _json(_),
|
|
504
321
|
discoveryData: (_) => _json(_),
|
|
505
322
|
}));
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
hostname,
|
|
509
|
-
port,
|
|
510
|
-
method: "POST",
|
|
511
|
-
headers,
|
|
512
|
-
path: resolvedPath,
|
|
513
|
-
body,
|
|
514
|
-
});
|
|
323
|
+
b.m("POST").h(headers).b(body);
|
|
324
|
+
return b.build();
|
|
515
325
|
};
|
|
516
326
|
export const se_ReserveContactCommand = async (input, context) => {
|
|
517
|
-
const
|
|
327
|
+
const b = rb(input, context);
|
|
518
328
|
const headers = {
|
|
519
329
|
"content-type": "application/json",
|
|
520
330
|
};
|
|
521
|
-
|
|
331
|
+
b.bp("/contact");
|
|
522
332
|
let body;
|
|
523
333
|
body = JSON.stringify(take(input, {
|
|
524
334
|
endTime: (_) => Math.round(_.getTime() / 1000),
|
|
@@ -528,136 +338,93 @@ export const se_ReserveContactCommand = async (input, context) => {
|
|
|
528
338
|
startTime: (_) => Math.round(_.getTime() / 1000),
|
|
529
339
|
tags: (_) => _json(_),
|
|
530
340
|
}));
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
hostname,
|
|
534
|
-
port,
|
|
535
|
-
method: "POST",
|
|
536
|
-
headers,
|
|
537
|
-
path: resolvedPath,
|
|
538
|
-
body,
|
|
539
|
-
});
|
|
341
|
+
b.m("POST").h(headers).b(body);
|
|
342
|
+
return b.build();
|
|
540
343
|
};
|
|
541
344
|
export const se_TagResourceCommand = async (input, context) => {
|
|
542
|
-
const
|
|
345
|
+
const b = rb(input, context);
|
|
543
346
|
const headers = {
|
|
544
347
|
"content-type": "application/json",
|
|
545
348
|
};
|
|
546
|
-
|
|
547
|
-
|
|
349
|
+
b.bp("/tags/{resourceArn}");
|
|
350
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
548
351
|
let body;
|
|
549
352
|
body = JSON.stringify(take(input, {
|
|
550
353
|
tags: (_) => _json(_),
|
|
551
354
|
}));
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
hostname,
|
|
555
|
-
port,
|
|
556
|
-
method: "POST",
|
|
557
|
-
headers,
|
|
558
|
-
path: resolvedPath,
|
|
559
|
-
body,
|
|
560
|
-
});
|
|
355
|
+
b.m("POST").h(headers).b(body);
|
|
356
|
+
return b.build();
|
|
561
357
|
};
|
|
562
358
|
export const se_UntagResourceCommand = async (input, context) => {
|
|
563
|
-
const
|
|
359
|
+
const b = rb(input, context);
|
|
564
360
|
const headers = {};
|
|
565
|
-
|
|
566
|
-
|
|
361
|
+
b.bp("/tags/{resourceArn}");
|
|
362
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
567
363
|
const query = map({
|
|
568
|
-
|
|
364
|
+
[_tK]: [
|
|
569
365
|
__expectNonNull(input.tagKeys, `tagKeys`) != null,
|
|
570
|
-
() => (input
|
|
366
|
+
() => (input[_tK] || []).map((_entry) => _entry),
|
|
571
367
|
],
|
|
572
368
|
});
|
|
573
369
|
let body;
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
hostname,
|
|
577
|
-
port,
|
|
578
|
-
method: "DELETE",
|
|
579
|
-
headers,
|
|
580
|
-
path: resolvedPath,
|
|
581
|
-
query,
|
|
582
|
-
body,
|
|
583
|
-
});
|
|
370
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
371
|
+
return b.build();
|
|
584
372
|
};
|
|
585
373
|
export const se_UpdateAgentStatusCommand = async (input, context) => {
|
|
586
|
-
const
|
|
374
|
+
const b = rb(input, context);
|
|
587
375
|
const headers = {
|
|
588
376
|
"content-type": "application/json",
|
|
589
377
|
};
|
|
590
|
-
|
|
591
|
-
|
|
378
|
+
b.bp("/agent/{agentId}");
|
|
379
|
+
b.p("agentId", () => input.agentId, "{agentId}", false);
|
|
592
380
|
let body;
|
|
593
381
|
body = JSON.stringify(take(input, {
|
|
594
382
|
aggregateStatus: (_) => _json(_),
|
|
595
383
|
componentStatuses: (_) => _json(_),
|
|
596
384
|
taskId: [],
|
|
597
385
|
}));
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
hostname,
|
|
601
|
-
port,
|
|
602
|
-
method: "PUT",
|
|
603
|
-
headers,
|
|
604
|
-
path: resolvedPath,
|
|
605
|
-
body,
|
|
606
|
-
});
|
|
386
|
+
b.m("PUT").h(headers).b(body);
|
|
387
|
+
return b.build();
|
|
607
388
|
};
|
|
608
389
|
export const se_UpdateConfigCommand = async (input, context) => {
|
|
609
|
-
const
|
|
390
|
+
const b = rb(input, context);
|
|
610
391
|
const headers = {
|
|
611
392
|
"content-type": "application/json",
|
|
612
393
|
};
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
394
|
+
b.bp("/config/{configType}/{configId}");
|
|
395
|
+
b.p("configId", () => input.configId, "{configId}", false);
|
|
396
|
+
b.p("configType", () => input.configType, "{configType}", false);
|
|
616
397
|
let body;
|
|
617
398
|
body = JSON.stringify(take(input, {
|
|
618
399
|
configData: (_) => se_ConfigTypeData(_, context),
|
|
619
400
|
name: [],
|
|
620
401
|
}));
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
hostname,
|
|
624
|
-
port,
|
|
625
|
-
method: "PUT",
|
|
626
|
-
headers,
|
|
627
|
-
path: resolvedPath,
|
|
628
|
-
body,
|
|
629
|
-
});
|
|
402
|
+
b.m("PUT").h(headers).b(body);
|
|
403
|
+
return b.build();
|
|
630
404
|
};
|
|
631
405
|
export const se_UpdateEphemerisCommand = async (input, context) => {
|
|
632
|
-
const
|
|
406
|
+
const b = rb(input, context);
|
|
633
407
|
const headers = {
|
|
634
408
|
"content-type": "application/json",
|
|
635
409
|
};
|
|
636
|
-
|
|
637
|
-
|
|
410
|
+
b.bp("/ephemeris/{ephemerisId}");
|
|
411
|
+
b.p("ephemerisId", () => input.ephemerisId, "{ephemerisId}", false);
|
|
638
412
|
let body;
|
|
639
413
|
body = JSON.stringify(take(input, {
|
|
640
414
|
enabled: [],
|
|
641
415
|
name: [],
|
|
642
416
|
priority: [],
|
|
643
417
|
}));
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
hostname,
|
|
647
|
-
port,
|
|
648
|
-
method: "PUT",
|
|
649
|
-
headers,
|
|
650
|
-
path: resolvedPath,
|
|
651
|
-
body,
|
|
652
|
-
});
|
|
418
|
+
b.m("PUT").h(headers).b(body);
|
|
419
|
+
return b.build();
|
|
653
420
|
};
|
|
654
421
|
export const se_UpdateMissionProfileCommand = async (input, context) => {
|
|
655
|
-
const
|
|
422
|
+
const b = rb(input, context);
|
|
656
423
|
const headers = {
|
|
657
424
|
"content-type": "application/json",
|
|
658
425
|
};
|
|
659
|
-
|
|
660
|
-
|
|
426
|
+
b.bp("/missionprofile/{missionProfileId}");
|
|
427
|
+
b.p("missionProfileId", () => input.missionProfileId, "{missionProfileId}", false);
|
|
661
428
|
let body;
|
|
662
429
|
body = JSON.stringify(take(input, {
|
|
663
430
|
contactPostPassDurationSeconds: [],
|
|
@@ -669,15 +436,8 @@ export const se_UpdateMissionProfileCommand = async (input, context) => {
|
|
|
669
436
|
streamsKmsRole: [],
|
|
670
437
|
trackingConfigArn: [],
|
|
671
438
|
}));
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
hostname,
|
|
675
|
-
port,
|
|
676
|
-
method: "PUT",
|
|
677
|
-
headers,
|
|
678
|
-
path: resolvedPath,
|
|
679
|
-
body,
|
|
680
|
-
});
|
|
439
|
+
b.m("PUT").h(headers).b(body);
|
|
440
|
+
return b.build();
|
|
681
441
|
};
|
|
682
442
|
export const de_CancelContactCommand = async (output, context) => {
|
|
683
443
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
@@ -2354,6 +2114,10 @@ const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
|
2354
2114
|
value !== "" &&
|
|
2355
2115
|
(!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
|
|
2356
2116
|
(!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
|
|
2117
|
+
const _mR = "maxResults";
|
|
2118
|
+
const _nT = "nextToken";
|
|
2119
|
+
const _sI = "satelliteId";
|
|
2120
|
+
const _tK = "tagKeys";
|
|
2357
2121
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
2358
2122
|
if (encoded.length) {
|
|
2359
2123
|
return JSON.parse(encoded);
|