@aws-sdk/client-groundstation 3.121.0 → 3.130.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/CHANGELOG.md CHANGED
@@ -3,6 +3,33 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.130.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.129.0...v3.130.0) (2022-07-14)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **codegen:** fix error code parsing when it's a number ([#3371](https://github.com/aws/aws-sdk-js-v3/issues/3371)) ([c2d8522](https://github.com/aws/aws-sdk-js-v3/commit/c2d852279a3d23958521a6ceb4f4c642b0cb1848))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.128.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.127.0...v3.128.0) (2022-07-12)
18
+
19
+ **Note:** Version bump only for package @aws-sdk/client-groundstation
20
+
21
+
22
+
23
+
24
+
25
+ # [3.127.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.126.0...v3.127.0) (2022-07-11)
26
+
27
+ **Note:** Version bump only for package @aws-sdk/client-groundstation
28
+
29
+
30
+
31
+
32
+
6
33
  # [3.121.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.120.0...v3.121.0) (2022-06-30)
7
34
 
8
35
 
@@ -39,11 +39,9 @@ const serializeAws_restJson1CreateConfigCommand = async (input, context) => {
39
39
  const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/config";
40
40
  let body;
41
41
  body = JSON.stringify({
42
- ...(input.configData !== undefined &&
43
- input.configData !== null && { configData: serializeAws_restJson1ConfigTypeData(input.configData, context) }),
44
- ...(input.name !== undefined && input.name !== null && { name: input.name }),
45
- ...(input.tags !== undefined &&
46
- input.tags !== null && { tags: serializeAws_restJson1TagsMap(input.tags, context) }),
42
+ ...(input.configData != null && { configData: serializeAws_restJson1ConfigTypeData(input.configData, context) }),
43
+ ...(input.name != null && { name: input.name }),
44
+ ...(input.tags != null && { tags: serializeAws_restJson1TagsMap(input.tags, context) }),
47
45
  });
48
46
  return new protocol_http_1.HttpRequest({
49
47
  protocol,
@@ -64,12 +62,10 @@ const serializeAws_restJson1CreateDataflowEndpointGroupCommand = async (input, c
64
62
  const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/dataflowEndpointGroup";
65
63
  let body;
66
64
  body = JSON.stringify({
67
- ...(input.endpointDetails !== undefined &&
68
- input.endpointDetails !== null && {
65
+ ...(input.endpointDetails != null && {
69
66
  endpointDetails: serializeAws_restJson1EndpointDetailsList(input.endpointDetails, context),
70
67
  }),
71
- ...(input.tags !== undefined &&
72
- input.tags !== null && { tags: serializeAws_restJson1TagsMap(input.tags, context) }),
68
+ ...(input.tags != null && { tags: serializeAws_restJson1TagsMap(input.tags, context) }),
73
69
  });
74
70
  return new protocol_http_1.HttpRequest({
75
71
  protocol,
@@ -90,27 +86,21 @@ const serializeAws_restJson1CreateMissionProfileCommand = async (input, context)
90
86
  const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/missionprofile";
91
87
  let body;
92
88
  body = JSON.stringify({
93
- ...(input.contactPostPassDurationSeconds !== undefined &&
94
- input.contactPostPassDurationSeconds !== null && {
89
+ ...(input.contactPostPassDurationSeconds != null && {
95
90
  contactPostPassDurationSeconds: input.contactPostPassDurationSeconds,
96
91
  }),
97
- ...(input.contactPrePassDurationSeconds !== undefined &&
98
- input.contactPrePassDurationSeconds !== null && {
92
+ ...(input.contactPrePassDurationSeconds != null && {
99
93
  contactPrePassDurationSeconds: input.contactPrePassDurationSeconds,
100
94
  }),
101
- ...(input.dataflowEdges !== undefined &&
102
- input.dataflowEdges !== null && {
95
+ ...(input.dataflowEdges != null && {
103
96
  dataflowEdges: serializeAws_restJson1DataflowEdgeList(input.dataflowEdges, context),
104
97
  }),
105
- ...(input.minimumViableContactDurationSeconds !== undefined &&
106
- input.minimumViableContactDurationSeconds !== null && {
98
+ ...(input.minimumViableContactDurationSeconds != null && {
107
99
  minimumViableContactDurationSeconds: input.minimumViableContactDurationSeconds,
108
100
  }),
109
- ...(input.name !== undefined && input.name !== null && { name: input.name }),
110
- ...(input.tags !== undefined &&
111
- input.tags !== null && { tags: serializeAws_restJson1TagsMap(input.tags, context) }),
112
- ...(input.trackingConfigArn !== undefined &&
113
- input.trackingConfigArn !== null && { trackingConfigArn: input.trackingConfigArn }),
101
+ ...(input.name != null && { name: input.name }),
102
+ ...(input.tags != null && { tags: serializeAws_restJson1TagsMap(input.tags, context) }),
103
+ ...(input.trackingConfigArn != null && { trackingConfigArn: input.trackingConfigArn }),
114
104
  });
115
105
  return new protocol_http_1.HttpRequest({
116
106
  protocol,
@@ -309,8 +299,8 @@ const serializeAws_restJson1GetMinuteUsageCommand = async (input, context) => {
309
299
  const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/minute-usage";
310
300
  let body;
311
301
  body = JSON.stringify({
312
- ...(input.month !== undefined && input.month !== null && { month: input.month }),
313
- ...(input.year !== undefined && input.year !== null && { year: input.year }),
302
+ ...(input.month != null && { month: input.month }),
303
+ ...(input.year != null && { year: input.year }),
314
304
  });
315
305
  return new protocol_http_1.HttpRequest({
316
306
  protocol,
@@ -404,18 +394,14 @@ const serializeAws_restJson1ListContactsCommand = async (input, context) => {
404
394
  const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/contacts";
405
395
  let body;
406
396
  body = JSON.stringify({
407
- ...(input.endTime !== undefined &&
408
- input.endTime !== null && { endTime: Math.round(input.endTime.getTime() / 1000) }),
409
- ...(input.groundStation !== undefined && input.groundStation !== null && { groundStation: input.groundStation }),
410
- ...(input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults }),
411
- ...(input.missionProfileArn !== undefined &&
412
- input.missionProfileArn !== null && { missionProfileArn: input.missionProfileArn }),
413
- ...(input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken }),
414
- ...(input.satelliteArn !== undefined && input.satelliteArn !== null && { satelliteArn: input.satelliteArn }),
415
- ...(input.startTime !== undefined &&
416
- input.startTime !== null && { startTime: Math.round(input.startTime.getTime() / 1000) }),
417
- ...(input.statusList !== undefined &&
418
- input.statusList !== null && { statusList: serializeAws_restJson1StatusList(input.statusList, context) }),
397
+ ...(input.endTime != null && { endTime: Math.round(input.endTime.getTime() / 1000) }),
398
+ ...(input.groundStation != null && { groundStation: input.groundStation }),
399
+ ...(input.maxResults != null && { maxResults: input.maxResults }),
400
+ ...(input.missionProfileArn != null && { missionProfileArn: input.missionProfileArn }),
401
+ ...(input.nextToken != null && { nextToken: input.nextToken }),
402
+ ...(input.satelliteArn != null && { satelliteArn: input.satelliteArn }),
403
+ ...(input.startTime != null && { startTime: Math.round(input.startTime.getTime() / 1000) }),
404
+ ...(input.statusList != null && { statusList: serializeAws_restJson1StatusList(input.statusList, context) }),
419
405
  });
420
406
  return new protocol_http_1.HttpRequest({
421
407
  protocol,
@@ -547,16 +533,12 @@ const serializeAws_restJson1ReserveContactCommand = async (input, context) => {
547
533
  const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/contact";
548
534
  let body;
549
535
  body = JSON.stringify({
550
- ...(input.endTime !== undefined &&
551
- input.endTime !== null && { endTime: Math.round(input.endTime.getTime() / 1000) }),
552
- ...(input.groundStation !== undefined && input.groundStation !== null && { groundStation: input.groundStation }),
553
- ...(input.missionProfileArn !== undefined &&
554
- input.missionProfileArn !== null && { missionProfileArn: input.missionProfileArn }),
555
- ...(input.satelliteArn !== undefined && input.satelliteArn !== null && { satelliteArn: input.satelliteArn }),
556
- ...(input.startTime !== undefined &&
557
- input.startTime !== null && { startTime: Math.round(input.startTime.getTime() / 1000) }),
558
- ...(input.tags !== undefined &&
559
- input.tags !== null && { tags: serializeAws_restJson1TagsMap(input.tags, context) }),
536
+ ...(input.endTime != null && { endTime: Math.round(input.endTime.getTime() / 1000) }),
537
+ ...(input.groundStation != null && { groundStation: input.groundStation }),
538
+ ...(input.missionProfileArn != null && { missionProfileArn: input.missionProfileArn }),
539
+ ...(input.satelliteArn != null && { satelliteArn: input.satelliteArn }),
540
+ ...(input.startTime != null && { startTime: Math.round(input.startTime.getTime() / 1000) }),
541
+ ...(input.tags != null && { tags: serializeAws_restJson1TagsMap(input.tags, context) }),
560
542
  });
561
543
  return new protocol_http_1.HttpRequest({
562
544
  protocol,
@@ -587,8 +569,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
587
569
  }
588
570
  let body;
589
571
  body = JSON.stringify({
590
- ...(input.tags !== undefined &&
591
- input.tags !== null && { tags: serializeAws_restJson1TagsMap(input.tags, context) }),
572
+ ...(input.tags != null && { tags: serializeAws_restJson1TagsMap(input.tags, context) }),
592
573
  });
593
574
  return new protocol_http_1.HttpRequest({
594
575
  protocol,
@@ -659,9 +640,8 @@ const serializeAws_restJson1UpdateConfigCommand = async (input, context) => {
659
640
  }
660
641
  let body;
661
642
  body = JSON.stringify({
662
- ...(input.configData !== undefined &&
663
- input.configData !== null && { configData: serializeAws_restJson1ConfigTypeData(input.configData, context) }),
664
- ...(input.name !== undefined && input.name !== null && { name: input.name }),
643
+ ...(input.configData != null && { configData: serializeAws_restJson1ConfigTypeData(input.configData, context) }),
644
+ ...(input.name != null && { name: input.name }),
665
645
  });
666
646
  return new protocol_http_1.HttpRequest({
667
647
  protocol,
@@ -692,25 +672,20 @@ const serializeAws_restJson1UpdateMissionProfileCommand = async (input, context)
692
672
  }
693
673
  let body;
694
674
  body = JSON.stringify({
695
- ...(input.contactPostPassDurationSeconds !== undefined &&
696
- input.contactPostPassDurationSeconds !== null && {
675
+ ...(input.contactPostPassDurationSeconds != null && {
697
676
  contactPostPassDurationSeconds: input.contactPostPassDurationSeconds,
698
677
  }),
699
- ...(input.contactPrePassDurationSeconds !== undefined &&
700
- input.contactPrePassDurationSeconds !== null && {
678
+ ...(input.contactPrePassDurationSeconds != null && {
701
679
  contactPrePassDurationSeconds: input.contactPrePassDurationSeconds,
702
680
  }),
703
- ...(input.dataflowEdges !== undefined &&
704
- input.dataflowEdges !== null && {
681
+ ...(input.dataflowEdges != null && {
705
682
  dataflowEdges: serializeAws_restJson1DataflowEdgeList(input.dataflowEdges, context),
706
683
  }),
707
- ...(input.minimumViableContactDurationSeconds !== undefined &&
708
- input.minimumViableContactDurationSeconds !== null && {
684
+ ...(input.minimumViableContactDurationSeconds != null && {
709
685
  minimumViableContactDurationSeconds: input.minimumViableContactDurationSeconds,
710
686
  }),
711
- ...(input.name !== undefined && input.name !== null && { name: input.name }),
712
- ...(input.trackingConfigArn !== undefined &&
713
- input.trackingConfigArn !== null && { trackingConfigArn: input.trackingConfigArn }),
687
+ ...(input.name != null && { name: input.name }),
688
+ ...(input.trackingConfigArn != null && { trackingConfigArn: input.trackingConfigArn }),
714
689
  });
715
690
  return new protocol_http_1.HttpRequest({
716
691
  protocol,
@@ -2073,36 +2048,31 @@ const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedO
2073
2048
  };
2074
2049
  const serializeAws_restJson1AntennaDownlinkConfig = (input, context) => {
2075
2050
  return {
2076
- ...(input.spectrumConfig !== undefined &&
2077
- input.spectrumConfig !== null && {
2051
+ ...(input.spectrumConfig != null && {
2078
2052
  spectrumConfig: serializeAws_restJson1SpectrumConfig(input.spectrumConfig, context),
2079
2053
  }),
2080
2054
  };
2081
2055
  };
2082
2056
  const serializeAws_restJson1AntennaDownlinkDemodDecodeConfig = (input, context) => {
2083
2057
  return {
2084
- ...(input.decodeConfig !== undefined &&
2085
- input.decodeConfig !== null && { decodeConfig: serializeAws_restJson1DecodeConfig(input.decodeConfig, context) }),
2086
- ...(input.demodulationConfig !== undefined &&
2087
- input.demodulationConfig !== null && {
2058
+ ...(input.decodeConfig != null && {
2059
+ decodeConfig: serializeAws_restJson1DecodeConfig(input.decodeConfig, context),
2060
+ }),
2061
+ ...(input.demodulationConfig != null && {
2088
2062
  demodulationConfig: serializeAws_restJson1DemodulationConfig(input.demodulationConfig, context),
2089
2063
  }),
2090
- ...(input.spectrumConfig !== undefined &&
2091
- input.spectrumConfig !== null && {
2064
+ ...(input.spectrumConfig != null && {
2092
2065
  spectrumConfig: serializeAws_restJson1SpectrumConfig(input.spectrumConfig, context),
2093
2066
  }),
2094
2067
  };
2095
2068
  };
2096
2069
  const serializeAws_restJson1AntennaUplinkConfig = (input, context) => {
2097
2070
  return {
2098
- ...(input.spectrumConfig !== undefined &&
2099
- input.spectrumConfig !== null && {
2071
+ ...(input.spectrumConfig != null && {
2100
2072
  spectrumConfig: serializeAws_restJson1UplinkSpectrumConfig(input.spectrumConfig, context),
2101
2073
  }),
2102
- ...(input.targetEirp !== undefined &&
2103
- input.targetEirp !== null && { targetEirp: serializeAws_restJson1Eirp(input.targetEirp, context) }),
2104
- ...(input.transmitDisabled !== undefined &&
2105
- input.transmitDisabled !== null && { transmitDisabled: input.transmitDisabled }),
2074
+ ...(input.targetEirp != null && { targetEirp: serializeAws_restJson1Eirp(input.targetEirp, context) }),
2075
+ ...(input.transmitDisabled != null && { transmitDisabled: input.transmitDisabled }),
2106
2076
  };
2107
2077
  };
2108
2078
  const serializeAws_restJson1ConfigTypeData = (input, context) => {
@@ -2147,45 +2117,38 @@ const serializeAws_restJson1DataflowEdgeList = (input, context) => {
2147
2117
  };
2148
2118
  const serializeAws_restJson1DataflowEndpoint = (input, context) => {
2149
2119
  return {
2150
- ...(input.address !== undefined &&
2151
- input.address !== null && { address: serializeAws_restJson1SocketAddress(input.address, context) }),
2152
- ...(input.mtu !== undefined && input.mtu !== null && { mtu: input.mtu }),
2153
- ...(input.name !== undefined && input.name !== null && { name: input.name }),
2154
- ...(input.status !== undefined && input.status !== null && { status: input.status }),
2120
+ ...(input.address != null && { address: serializeAws_restJson1SocketAddress(input.address, context) }),
2121
+ ...(input.mtu != null && { mtu: input.mtu }),
2122
+ ...(input.name != null && { name: input.name }),
2123
+ ...(input.status != null && { status: input.status }),
2155
2124
  };
2156
2125
  };
2157
2126
  const serializeAws_restJson1DataflowEndpointConfig = (input, context) => {
2158
2127
  return {
2159
- ...(input.dataflowEndpointName !== undefined &&
2160
- input.dataflowEndpointName !== null && { dataflowEndpointName: input.dataflowEndpointName }),
2161
- ...(input.dataflowEndpointRegion !== undefined &&
2162
- input.dataflowEndpointRegion !== null && { dataflowEndpointRegion: input.dataflowEndpointRegion }),
2128
+ ...(input.dataflowEndpointName != null && { dataflowEndpointName: input.dataflowEndpointName }),
2129
+ ...(input.dataflowEndpointRegion != null && { dataflowEndpointRegion: input.dataflowEndpointRegion }),
2163
2130
  };
2164
2131
  };
2165
2132
  const serializeAws_restJson1DecodeConfig = (input, context) => {
2166
2133
  return {
2167
- ...(input.unvalidatedJSON !== undefined &&
2168
- input.unvalidatedJSON !== null && { unvalidatedJSON: input.unvalidatedJSON }),
2134
+ ...(input.unvalidatedJSON != null && { unvalidatedJSON: input.unvalidatedJSON }),
2169
2135
  };
2170
2136
  };
2171
2137
  const serializeAws_restJson1DemodulationConfig = (input, context) => {
2172
2138
  return {
2173
- ...(input.unvalidatedJSON !== undefined &&
2174
- input.unvalidatedJSON !== null && { unvalidatedJSON: input.unvalidatedJSON }),
2139
+ ...(input.unvalidatedJSON != null && { unvalidatedJSON: input.unvalidatedJSON }),
2175
2140
  };
2176
2141
  };
2177
2142
  const serializeAws_restJson1Eirp = (input, context) => {
2178
2143
  return {
2179
- ...(input.units !== undefined && input.units !== null && { units: input.units }),
2180
- ...(input.value !== undefined && input.value !== null && { value: (0, smithy_client_1.serializeFloat)(input.value) }),
2144
+ ...(input.units != null && { units: input.units }),
2145
+ ...(input.value != null && { value: (0, smithy_client_1.serializeFloat)(input.value) }),
2181
2146
  };
2182
2147
  };
2183
2148
  const serializeAws_restJson1EndpointDetails = (input, context) => {
2184
2149
  return {
2185
- ...(input.endpoint !== undefined &&
2186
- input.endpoint !== null && { endpoint: serializeAws_restJson1DataflowEndpoint(input.endpoint, context) }),
2187
- ...(input.securityDetails !== undefined &&
2188
- input.securityDetails !== null && {
2150
+ ...(input.endpoint != null && { endpoint: serializeAws_restJson1DataflowEndpoint(input.endpoint, context) }),
2151
+ ...(input.securityDetails != null && {
2189
2152
  securityDetails: serializeAws_restJson1SecurityDetails(input.securityDetails, context),
2190
2153
  }),
2191
2154
  };
@@ -2202,32 +2165,30 @@ const serializeAws_restJson1EndpointDetailsList = (input, context) => {
2202
2165
  };
2203
2166
  const serializeAws_restJson1Frequency = (input, context) => {
2204
2167
  return {
2205
- ...(input.units !== undefined && input.units !== null && { units: input.units }),
2206
- ...(input.value !== undefined && input.value !== null && { value: (0, smithy_client_1.serializeFloat)(input.value) }),
2168
+ ...(input.units != null && { units: input.units }),
2169
+ ...(input.value != null && { value: (0, smithy_client_1.serializeFloat)(input.value) }),
2207
2170
  };
2208
2171
  };
2209
2172
  const serializeAws_restJson1FrequencyBandwidth = (input, context) => {
2210
2173
  return {
2211
- ...(input.units !== undefined && input.units !== null && { units: input.units }),
2212
- ...(input.value !== undefined && input.value !== null && { value: (0, smithy_client_1.serializeFloat)(input.value) }),
2174
+ ...(input.units != null && { units: input.units }),
2175
+ ...(input.value != null && { value: (0, smithy_client_1.serializeFloat)(input.value) }),
2213
2176
  };
2214
2177
  };
2215
2178
  const serializeAws_restJson1S3RecordingConfig = (input, context) => {
2216
2179
  return {
2217
- ...(input.bucketArn !== undefined && input.bucketArn !== null && { bucketArn: input.bucketArn }),
2218
- ...(input.prefix !== undefined && input.prefix !== null && { prefix: input.prefix }),
2219
- ...(input.roleArn !== undefined && input.roleArn !== null && { roleArn: input.roleArn }),
2180
+ ...(input.bucketArn != null && { bucketArn: input.bucketArn }),
2181
+ ...(input.prefix != null && { prefix: input.prefix }),
2182
+ ...(input.roleArn != null && { roleArn: input.roleArn }),
2220
2183
  };
2221
2184
  };
2222
2185
  const serializeAws_restJson1SecurityDetails = (input, context) => {
2223
2186
  return {
2224
- ...(input.roleArn !== undefined && input.roleArn !== null && { roleArn: input.roleArn }),
2225
- ...(input.securityGroupIds !== undefined &&
2226
- input.securityGroupIds !== null && {
2187
+ ...(input.roleArn != null && { roleArn: input.roleArn }),
2188
+ ...(input.securityGroupIds != null && {
2227
2189
  securityGroupIds: serializeAws_restJson1SecurityGroupIdList(input.securityGroupIds, context),
2228
2190
  }),
2229
- ...(input.subnetIds !== undefined &&
2230
- input.subnetIds !== null && { subnetIds: serializeAws_restJson1SubnetList(input.subnetIds, context) }),
2191
+ ...(input.subnetIds != null && { subnetIds: serializeAws_restJson1SubnetList(input.subnetIds, context) }),
2231
2192
  };
2232
2193
  };
2233
2194
  const serializeAws_restJson1SecurityGroupIdList = (input, context) => {
@@ -2242,19 +2203,17 @@ const serializeAws_restJson1SecurityGroupIdList = (input, context) => {
2242
2203
  };
2243
2204
  const serializeAws_restJson1SocketAddress = (input, context) => {
2244
2205
  return {
2245
- ...(input.name !== undefined && input.name !== null && { name: input.name }),
2246
- ...(input.port !== undefined && input.port !== null && { port: input.port }),
2206
+ ...(input.name != null && { name: input.name }),
2207
+ ...(input.port != null && { port: input.port }),
2247
2208
  };
2248
2209
  };
2249
2210
  const serializeAws_restJson1SpectrumConfig = (input, context) => {
2250
2211
  return {
2251
- ...(input.bandwidth !== undefined &&
2252
- input.bandwidth !== null && { bandwidth: serializeAws_restJson1FrequencyBandwidth(input.bandwidth, context) }),
2253
- ...(input.centerFrequency !== undefined &&
2254
- input.centerFrequency !== null && {
2212
+ ...(input.bandwidth != null && { bandwidth: serializeAws_restJson1FrequencyBandwidth(input.bandwidth, context) }),
2213
+ ...(input.centerFrequency != null && {
2255
2214
  centerFrequency: serializeAws_restJson1Frequency(input.centerFrequency, context),
2256
2215
  }),
2257
- ...(input.polarization !== undefined && input.polarization !== null && { polarization: input.polarization }),
2216
+ ...(input.polarization != null && { polarization: input.polarization }),
2258
2217
  };
2259
2218
  };
2260
2219
  const serializeAws_restJson1StatusList = (input, context) => {
@@ -2290,23 +2249,21 @@ const serializeAws_restJson1TagsMap = (input, context) => {
2290
2249
  };
2291
2250
  const serializeAws_restJson1TrackingConfig = (input, context) => {
2292
2251
  return {
2293
- ...(input.autotrack !== undefined && input.autotrack !== null && { autotrack: input.autotrack }),
2252
+ ...(input.autotrack != null && { autotrack: input.autotrack }),
2294
2253
  };
2295
2254
  };
2296
2255
  const serializeAws_restJson1UplinkEchoConfig = (input, context) => {
2297
2256
  return {
2298
- ...(input.antennaUplinkConfigArn !== undefined &&
2299
- input.antennaUplinkConfigArn !== null && { antennaUplinkConfigArn: input.antennaUplinkConfigArn }),
2300
- ...(input.enabled !== undefined && input.enabled !== null && { enabled: input.enabled }),
2257
+ ...(input.antennaUplinkConfigArn != null && { antennaUplinkConfigArn: input.antennaUplinkConfigArn }),
2258
+ ...(input.enabled != null && { enabled: input.enabled }),
2301
2259
  };
2302
2260
  };
2303
2261
  const serializeAws_restJson1UplinkSpectrumConfig = (input, context) => {
2304
2262
  return {
2305
- ...(input.centerFrequency !== undefined &&
2306
- input.centerFrequency !== null && {
2263
+ ...(input.centerFrequency != null && {
2307
2264
  centerFrequency: serializeAws_restJson1Frequency(input.centerFrequency, context),
2308
2265
  }),
2309
- ...(input.polarization !== undefined && input.polarization !== null && { polarization: input.polarization }),
2266
+ ...(input.polarization != null && { polarization: input.polarization }),
2310
2267
  };
2311
2268
  };
2312
2269
  const deserializeAws_restJson1AntennaDemodDecodeDetails = (output, context) => {
@@ -2316,32 +2273,28 @@ const deserializeAws_restJson1AntennaDemodDecodeDetails = (output, context) => {
2316
2273
  };
2317
2274
  const deserializeAws_restJson1AntennaDownlinkConfig = (output, context) => {
2318
2275
  return {
2319
- spectrumConfig: output.spectrumConfig !== undefined && output.spectrumConfig !== null
2276
+ spectrumConfig: output.spectrumConfig != null
2320
2277
  ? deserializeAws_restJson1SpectrumConfig(output.spectrumConfig, context)
2321
2278
  : undefined,
2322
2279
  };
2323
2280
  };
2324
2281
  const deserializeAws_restJson1AntennaDownlinkDemodDecodeConfig = (output, context) => {
2325
2282
  return {
2326
- decodeConfig: output.decodeConfig !== undefined && output.decodeConfig !== null
2327
- ? deserializeAws_restJson1DecodeConfig(output.decodeConfig, context)
2328
- : undefined,
2329
- demodulationConfig: output.demodulationConfig !== undefined && output.demodulationConfig !== null
2283
+ decodeConfig: output.decodeConfig != null ? deserializeAws_restJson1DecodeConfig(output.decodeConfig, context) : undefined,
2284
+ demodulationConfig: output.demodulationConfig != null
2330
2285
  ? deserializeAws_restJson1DemodulationConfig(output.demodulationConfig, context)
2331
2286
  : undefined,
2332
- spectrumConfig: output.spectrumConfig !== undefined && output.spectrumConfig !== null
2287
+ spectrumConfig: output.spectrumConfig != null
2333
2288
  ? deserializeAws_restJson1SpectrumConfig(output.spectrumConfig, context)
2334
2289
  : undefined,
2335
2290
  };
2336
2291
  };
2337
2292
  const deserializeAws_restJson1AntennaUplinkConfig = (output, context) => {
2338
2293
  return {
2339
- spectrumConfig: output.spectrumConfig !== undefined && output.spectrumConfig !== null
2294
+ spectrumConfig: output.spectrumConfig != null
2340
2295
  ? deserializeAws_restJson1UplinkSpectrumConfig(output.spectrumConfig, context)
2341
2296
  : undefined,
2342
- targetEirp: output.targetEirp !== undefined && output.targetEirp !== null
2343
- ? deserializeAws_restJson1Eirp(output.targetEirp, context)
2344
- : undefined,
2297
+ targetEirp: output.targetEirp != null ? deserializeAws_restJson1Eirp(output.targetEirp, context) : undefined,
2345
2298
  transmitDisabled: (0, smithy_client_1.expectBoolean)(output.transmitDisabled),
2346
2299
  };
2347
2300
  };
@@ -2424,29 +2377,21 @@ const deserializeAws_restJson1ContactData = (output, context) => {
2424
2377
  return {
2425
2378
  contactId: (0, smithy_client_1.expectString)(output.contactId),
2426
2379
  contactStatus: (0, smithy_client_1.expectString)(output.contactStatus),
2427
- endTime: output.endTime !== undefined && output.endTime !== null
2428
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.endTime)))
2429
- : undefined,
2380
+ endTime: output.endTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.endTime))) : undefined,
2430
2381
  errorMessage: (0, smithy_client_1.expectString)(output.errorMessage),
2431
2382
  groundStation: (0, smithy_client_1.expectString)(output.groundStation),
2432
- maximumElevation: output.maximumElevation !== undefined && output.maximumElevation !== null
2433
- ? deserializeAws_restJson1Elevation(output.maximumElevation, context)
2434
- : undefined,
2383
+ maximumElevation: output.maximumElevation != null ? deserializeAws_restJson1Elevation(output.maximumElevation, context) : undefined,
2435
2384
  missionProfileArn: (0, smithy_client_1.expectString)(output.missionProfileArn),
2436
- postPassEndTime: output.postPassEndTime !== undefined && output.postPassEndTime !== null
2385
+ postPassEndTime: output.postPassEndTime != null
2437
2386
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.postPassEndTime)))
2438
2387
  : undefined,
2439
- prePassStartTime: output.prePassStartTime !== undefined && output.prePassStartTime !== null
2388
+ prePassStartTime: output.prePassStartTime != null
2440
2389
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.prePassStartTime)))
2441
2390
  : undefined,
2442
2391
  region: (0, smithy_client_1.expectString)(output.region),
2443
2392
  satelliteArn: (0, smithy_client_1.expectString)(output.satelliteArn),
2444
- startTime: output.startTime !== undefined && output.startTime !== null
2445
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.startTime)))
2446
- : undefined,
2447
- tags: output.tags !== undefined && output.tags !== null
2448
- ? deserializeAws_restJson1TagsMap(output.tags, context)
2449
- : undefined,
2393
+ startTime: output.startTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.startTime))) : undefined,
2394
+ tags: output.tags != null ? deserializeAws_restJson1TagsMap(output.tags, context) : undefined,
2450
2395
  };
2451
2396
  };
2452
2397
  const deserializeAws_restJson1ContactList = (output, context) => {
@@ -2462,13 +2407,9 @@ const deserializeAws_restJson1ContactList = (output, context) => {
2462
2407
  };
2463
2408
  const deserializeAws_restJson1DataflowDetail = (output, context) => {
2464
2409
  return {
2465
- destination: output.destination !== undefined && output.destination !== null
2466
- ? deserializeAws_restJson1Destination(output.destination, context)
2467
- : undefined,
2410
+ destination: output.destination != null ? deserializeAws_restJson1Destination(output.destination, context) : undefined,
2468
2411
  errorMessage: (0, smithy_client_1.expectString)(output.errorMessage),
2469
- source: output.source !== undefined && output.source !== null
2470
- ? deserializeAws_restJson1Source(output.source, context)
2471
- : undefined,
2412
+ source: output.source != null ? deserializeAws_restJson1Source(output.source, context) : undefined,
2472
2413
  };
2473
2414
  };
2474
2415
  const deserializeAws_restJson1DataflowEdge = (output, context) => {
@@ -2495,9 +2436,7 @@ const deserializeAws_restJson1DataflowEdgeList = (output, context) => {
2495
2436
  };
2496
2437
  const deserializeAws_restJson1DataflowEndpoint = (output, context) => {
2497
2438
  return {
2498
- address: output.address !== undefined && output.address !== null
2499
- ? deserializeAws_restJson1SocketAddress(output.address, context)
2500
- : undefined,
2439
+ address: output.address != null ? deserializeAws_restJson1SocketAddress(output.address, context) : undefined,
2501
2440
  mtu: (0, smithy_client_1.expectInt32)(output.mtu),
2502
2441
  name: (0, smithy_client_1.expectString)(output.name),
2503
2442
  status: (0, smithy_client_1.expectString)(output.status),
@@ -2549,7 +2488,7 @@ const deserializeAws_restJson1DemodulationConfig = (output, context) => {
2549
2488
  };
2550
2489
  const deserializeAws_restJson1Destination = (output, context) => {
2551
2490
  return {
2552
- configDetails: output.configDetails !== undefined && output.configDetails !== null
2491
+ configDetails: output.configDetails != null
2553
2492
  ? deserializeAws_restJson1ConfigDetails((0, smithy_client_1.expectUnion)(output.configDetails), context)
2554
2493
  : undefined,
2555
2494
  configId: (0, smithy_client_1.expectString)(output.configId),
@@ -2571,10 +2510,8 @@ const deserializeAws_restJson1Elevation = (output, context) => {
2571
2510
  };
2572
2511
  const deserializeAws_restJson1EndpointDetails = (output, context) => {
2573
2512
  return {
2574
- endpoint: output.endpoint !== undefined && output.endpoint !== null
2575
- ? deserializeAws_restJson1DataflowEndpoint(output.endpoint, context)
2576
- : undefined,
2577
- securityDetails: output.securityDetails !== undefined && output.securityDetails !== null
2513
+ endpoint: output.endpoint != null ? deserializeAws_restJson1DataflowEndpoint(output.endpoint, context) : undefined,
2514
+ securityDetails: output.securityDetails != null
2578
2515
  ? deserializeAws_restJson1SecurityDetails(output.securityDetails, context)
2579
2516
  : undefined,
2580
2517
  };
@@ -2676,7 +2613,7 @@ const deserializeAws_restJson1SatelliteList = (output, context) => {
2676
2613
  };
2677
2614
  const deserializeAws_restJson1SatelliteListItem = (output, context) => {
2678
2615
  return {
2679
- groundStations: output.groundStations !== undefined && output.groundStations !== null
2616
+ groundStations: output.groundStations != null
2680
2617
  ? deserializeAws_restJson1GroundStationIdList(output.groundStations, context)
2681
2618
  : undefined,
2682
2619
  noradSatelliteID: (0, smithy_client_1.expectInt32)(output.noradSatelliteID),
@@ -2687,12 +2624,10 @@ const deserializeAws_restJson1SatelliteListItem = (output, context) => {
2687
2624
  const deserializeAws_restJson1SecurityDetails = (output, context) => {
2688
2625
  return {
2689
2626
  roleArn: (0, smithy_client_1.expectString)(output.roleArn),
2690
- securityGroupIds: output.securityGroupIds !== undefined && output.securityGroupIds !== null
2627
+ securityGroupIds: output.securityGroupIds != null
2691
2628
  ? deserializeAws_restJson1SecurityGroupIdList(output.securityGroupIds, context)
2692
2629
  : undefined,
2693
- subnetIds: output.subnetIds !== undefined && output.subnetIds !== null
2694
- ? deserializeAws_restJson1SubnetList(output.subnetIds, context)
2695
- : undefined,
2630
+ subnetIds: output.subnetIds != null ? deserializeAws_restJson1SubnetList(output.subnetIds, context) : undefined,
2696
2631
  };
2697
2632
  };
2698
2633
  const deserializeAws_restJson1SecurityGroupIdList = (output, context) => {
@@ -2714,7 +2649,7 @@ const deserializeAws_restJson1SocketAddress = (output, context) => {
2714
2649
  };
2715
2650
  const deserializeAws_restJson1Source = (output, context) => {
2716
2651
  return {
2717
- configDetails: output.configDetails !== undefined && output.configDetails !== null
2652
+ configDetails: output.configDetails != null
2718
2653
  ? deserializeAws_restJson1ConfigDetails((0, smithy_client_1.expectUnion)(output.configDetails), context)
2719
2654
  : undefined,
2720
2655
  configId: (0, smithy_client_1.expectString)(output.configId),
@@ -2724,12 +2659,8 @@ const deserializeAws_restJson1Source = (output, context) => {
2724
2659
  };
2725
2660
  const deserializeAws_restJson1SpectrumConfig = (output, context) => {
2726
2661
  return {
2727
- bandwidth: output.bandwidth !== undefined && output.bandwidth !== null
2728
- ? deserializeAws_restJson1FrequencyBandwidth(output.bandwidth, context)
2729
- : undefined,
2730
- centerFrequency: output.centerFrequency !== undefined && output.centerFrequency !== null
2731
- ? deserializeAws_restJson1Frequency(output.centerFrequency, context)
2732
- : undefined,
2662
+ bandwidth: output.bandwidth != null ? deserializeAws_restJson1FrequencyBandwidth(output.bandwidth, context) : undefined,
2663
+ centerFrequency: output.centerFrequency != null ? deserializeAws_restJson1Frequency(output.centerFrequency, context) : undefined,
2733
2664
  polarization: (0, smithy_client_1.expectString)(output.polarization),
2734
2665
  };
2735
2666
  };
@@ -2768,9 +2699,7 @@ const deserializeAws_restJson1UplinkEchoConfig = (output, context) => {
2768
2699
  };
2769
2700
  const deserializeAws_restJson1UplinkSpectrumConfig = (output, context) => {
2770
2701
  return {
2771
- centerFrequency: output.centerFrequency !== undefined && output.centerFrequency !== null
2772
- ? deserializeAws_restJson1Frequency(output.centerFrequency, context)
2773
- : undefined,
2702
+ centerFrequency: output.centerFrequency != null ? deserializeAws_restJson1Frequency(output.centerFrequency, context) : undefined,
2774
2703
  polarization: (0, smithy_client_1.expectString)(output.polarization),
2775
2704
  };
2776
2705
  };
@@ -2805,6 +2734,9 @@ const loadRestJsonErrorCode = (output, data) => {
2805
2734
  const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
2806
2735
  const sanitizeErrorCode = (rawValue) => {
2807
2736
  let cleanValue = rawValue;
2737
+ if (typeof cleanValue === "number") {
2738
+ cleanValue = cleanValue.toString();
2739
+ }
2808
2740
  if (cleanValue.indexOf(":") >= 0) {
2809
2741
  cleanValue = cleanValue.split(":")[0];
2810
2742
  }
@@ -45,9 +45,7 @@ export var serializeAws_restJson1CreateConfigCommand = function (input, context)
45
45
  "content-type": "application/json",
46
46
  };
47
47
  resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/config";
48
- body = JSON.stringify(__assign(__assign(__assign({}, (input.configData !== undefined &&
49
- input.configData !== null && { configData: serializeAws_restJson1ConfigTypeData(input.configData, context) })), (input.name !== undefined && input.name !== null && { name: input.name })), (input.tags !== undefined &&
50
- input.tags !== null && { tags: serializeAws_restJson1TagsMap(input.tags, context) })));
48
+ body = JSON.stringify(__assign(__assign(__assign({}, (input.configData != null && { configData: serializeAws_restJson1ConfigTypeData(input.configData, context) })), (input.name != null && { name: input.name })), (input.tags != null && { tags: serializeAws_restJson1TagsMap(input.tags, context) })));
51
49
  return [2, new __HttpRequest({
52
50
  protocol: protocol,
53
51
  hostname: hostname,
@@ -71,11 +69,9 @@ export var serializeAws_restJson1CreateDataflowEndpointGroupCommand = function (
71
69
  "content-type": "application/json",
72
70
  };
73
71
  resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/dataflowEndpointGroup";
74
- body = JSON.stringify(__assign(__assign({}, (input.endpointDetails !== undefined &&
75
- input.endpointDetails !== null && {
72
+ body = JSON.stringify(__assign(__assign({}, (input.endpointDetails != null && {
76
73
  endpointDetails: serializeAws_restJson1EndpointDetailsList(input.endpointDetails, context),
77
- })), (input.tags !== undefined &&
78
- input.tags !== null && { tags: serializeAws_restJson1TagsMap(input.tags, context) })));
74
+ })), (input.tags != null && { tags: serializeAws_restJson1TagsMap(input.tags, context) })));
79
75
  return [2, new __HttpRequest({
80
76
  protocol: protocol,
81
77
  hostname: hostname,
@@ -99,21 +95,15 @@ export var serializeAws_restJson1CreateMissionProfileCommand = function (input,
99
95
  "content-type": "application/json",
100
96
  };
101
97
  resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/missionprofile";
102
- body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.contactPostPassDurationSeconds !== undefined &&
103
- input.contactPostPassDurationSeconds !== null && {
98
+ body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.contactPostPassDurationSeconds != null && {
104
99
  contactPostPassDurationSeconds: input.contactPostPassDurationSeconds,
105
- })), (input.contactPrePassDurationSeconds !== undefined &&
106
- input.contactPrePassDurationSeconds !== null && {
100
+ })), (input.contactPrePassDurationSeconds != null && {
107
101
  contactPrePassDurationSeconds: input.contactPrePassDurationSeconds,
108
- })), (input.dataflowEdges !== undefined &&
109
- input.dataflowEdges !== null && {
102
+ })), (input.dataflowEdges != null && {
110
103
  dataflowEdges: serializeAws_restJson1DataflowEdgeList(input.dataflowEdges, context),
111
- })), (input.minimumViableContactDurationSeconds !== undefined &&
112
- input.minimumViableContactDurationSeconds !== null && {
104
+ })), (input.minimumViableContactDurationSeconds != null && {
113
105
  minimumViableContactDurationSeconds: input.minimumViableContactDurationSeconds,
114
- })), (input.name !== undefined && input.name !== null && { name: input.name })), (input.tags !== undefined &&
115
- input.tags !== null && { tags: serializeAws_restJson1TagsMap(input.tags, context) })), (input.trackingConfigArn !== undefined &&
116
- input.trackingConfigArn !== null && { trackingConfigArn: input.trackingConfigArn })));
106
+ })), (input.name != null && { name: input.name })), (input.tags != null && { tags: serializeAws_restJson1TagsMap(input.tags, context) })), (input.trackingConfigArn != null && { trackingConfigArn: input.trackingConfigArn })));
117
107
  return [2, new __HttpRequest({
118
108
  protocol: protocol,
119
109
  hostname: hostname,
@@ -345,7 +335,7 @@ export var serializeAws_restJson1GetMinuteUsageCommand = function (input, contex
345
335
  "content-type": "application/json",
346
336
  };
347
337
  resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/minute-usage";
348
- body = JSON.stringify(__assign(__assign({}, (input.month !== undefined && input.month !== null && { month: input.month })), (input.year !== undefined && input.year !== null && { year: input.year })));
338
+ body = JSON.stringify(__assign(__assign({}, (input.month != null && { month: input.month })), (input.year != null && { year: input.year })));
349
339
  return [2, new __HttpRequest({
350
340
  protocol: protocol,
351
341
  hostname: hostname,
@@ -454,11 +444,7 @@ export var serializeAws_restJson1ListContactsCommand = function (input, context)
454
444
  "content-type": "application/json",
455
445
  };
456
446
  resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/contacts";
457
- body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.endTime !== undefined &&
458
- input.endTime !== null && { endTime: Math.round(input.endTime.getTime() / 1000) })), (input.groundStation !== undefined && input.groundStation !== null && { groundStation: input.groundStation })), (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.missionProfileArn !== undefined &&
459
- input.missionProfileArn !== null && { missionProfileArn: input.missionProfileArn })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken })), (input.satelliteArn !== undefined && input.satelliteArn !== null && { satelliteArn: input.satelliteArn })), (input.startTime !== undefined &&
460
- input.startTime !== null && { startTime: Math.round(input.startTime.getTime() / 1000) })), (input.statusList !== undefined &&
461
- input.statusList !== null && { statusList: serializeAws_restJson1StatusList(input.statusList, context) })));
447
+ body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.endTime != null && { endTime: Math.round(input.endTime.getTime() / 1000) })), (input.groundStation != null && { groundStation: input.groundStation })), (input.maxResults != null && { maxResults: input.maxResults })), (input.missionProfileArn != null && { missionProfileArn: input.missionProfileArn })), (input.nextToken != null && { nextToken: input.nextToken })), (input.satelliteArn != null && { satelliteArn: input.satelliteArn })), (input.startTime != null && { startTime: Math.round(input.startTime.getTime() / 1000) })), (input.statusList != null && { statusList: serializeAws_restJson1StatusList(input.statusList, context) })));
462
448
  return [2, new __HttpRequest({
463
449
  protocol: protocol,
464
450
  hostname: hostname,
@@ -605,11 +591,7 @@ export var serializeAws_restJson1ReserveContactCommand = function (input, contex
605
591
  "content-type": "application/json",
606
592
  };
607
593
  resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/contact";
608
- body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.endTime !== undefined &&
609
- input.endTime !== null && { endTime: Math.round(input.endTime.getTime() / 1000) })), (input.groundStation !== undefined && input.groundStation !== null && { groundStation: input.groundStation })), (input.missionProfileArn !== undefined &&
610
- input.missionProfileArn !== null && { missionProfileArn: input.missionProfileArn })), (input.satelliteArn !== undefined && input.satelliteArn !== null && { satelliteArn: input.satelliteArn })), (input.startTime !== undefined &&
611
- input.startTime !== null && { startTime: Math.round(input.startTime.getTime() / 1000) })), (input.tags !== undefined &&
612
- input.tags !== null && { tags: serializeAws_restJson1TagsMap(input.tags, context) })));
594
+ body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.endTime != null && { endTime: Math.round(input.endTime.getTime() / 1000) })), (input.groundStation != null && { groundStation: input.groundStation })), (input.missionProfileArn != null && { missionProfileArn: input.missionProfileArn })), (input.satelliteArn != null && { satelliteArn: input.satelliteArn })), (input.startTime != null && { startTime: Math.round(input.startTime.getTime() / 1000) })), (input.tags != null && { tags: serializeAws_restJson1TagsMap(input.tags, context) })));
613
595
  return [2, new __HttpRequest({
614
596
  protocol: protocol,
615
597
  hostname: hostname,
@@ -643,8 +625,7 @@ export var serializeAws_restJson1TagResourceCommand = function (input, context)
643
625
  else {
644
626
  throw new Error("No value provided for input HTTP label: resourceArn.");
645
627
  }
646
- body = JSON.stringify(__assign({}, (input.tags !== undefined &&
647
- input.tags !== null && { tags: serializeAws_restJson1TagsMap(input.tags, context) })));
628
+ body = JSON.stringify(__assign({}, (input.tags != null && { tags: serializeAws_restJson1TagsMap(input.tags, context) })));
648
629
  return [2, new __HttpRequest({
649
630
  protocol: protocol,
650
631
  hostname: hostname,
@@ -721,8 +702,7 @@ export var serializeAws_restJson1UpdateConfigCommand = function (input, context)
721
702
  else {
722
703
  throw new Error("No value provided for input HTTP label: configType.");
723
704
  }
724
- body = JSON.stringify(__assign(__assign({}, (input.configData !== undefined &&
725
- input.configData !== null && { configData: serializeAws_restJson1ConfigTypeData(input.configData, context) })), (input.name !== undefined && input.name !== null && { name: input.name })));
705
+ body = JSON.stringify(__assign(__assign({}, (input.configData != null && { configData: serializeAws_restJson1ConfigTypeData(input.configData, context) })), (input.name != null && { name: input.name })));
726
706
  return [2, new __HttpRequest({
727
707
  protocol: protocol,
728
708
  hostname: hostname,
@@ -756,20 +736,15 @@ export var serializeAws_restJson1UpdateMissionProfileCommand = function (input,
756
736
  else {
757
737
  throw new Error("No value provided for input HTTP label: missionProfileId.");
758
738
  }
759
- body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.contactPostPassDurationSeconds !== undefined &&
760
- input.contactPostPassDurationSeconds !== null && {
739
+ body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.contactPostPassDurationSeconds != null && {
761
740
  contactPostPassDurationSeconds: input.contactPostPassDurationSeconds,
762
- })), (input.contactPrePassDurationSeconds !== undefined &&
763
- input.contactPrePassDurationSeconds !== null && {
741
+ })), (input.contactPrePassDurationSeconds != null && {
764
742
  contactPrePassDurationSeconds: input.contactPrePassDurationSeconds,
765
- })), (input.dataflowEdges !== undefined &&
766
- input.dataflowEdges !== null && {
743
+ })), (input.dataflowEdges != null && {
767
744
  dataflowEdges: serializeAws_restJson1DataflowEdgeList(input.dataflowEdges, context),
768
- })), (input.minimumViableContactDurationSeconds !== undefined &&
769
- input.minimumViableContactDurationSeconds !== null && {
745
+ })), (input.minimumViableContactDurationSeconds != null && {
770
746
  minimumViableContactDurationSeconds: input.minimumViableContactDurationSeconds,
771
- })), (input.name !== undefined && input.name !== null && { name: input.name })), (input.trackingConfigArn !== undefined &&
772
- input.trackingConfigArn !== null && { trackingConfigArn: input.trackingConfigArn })));
747
+ })), (input.name != null && { name: input.name })), (input.trackingConfigArn != null && { trackingConfigArn: input.trackingConfigArn })));
773
748
  return [2, new __HttpRequest({
774
749
  protocol: protocol,
775
750
  hostname: hostname,
@@ -2653,28 +2628,23 @@ var deserializeAws_restJson1ResourceNotFoundExceptionResponse = function (parsed
2653
2628
  });
2654
2629
  }); };
2655
2630
  var serializeAws_restJson1AntennaDownlinkConfig = function (input, context) {
2656
- return __assign({}, (input.spectrumConfig !== undefined &&
2657
- input.spectrumConfig !== null && {
2631
+ return __assign({}, (input.spectrumConfig != null && {
2658
2632
  spectrumConfig: serializeAws_restJson1SpectrumConfig(input.spectrumConfig, context),
2659
2633
  }));
2660
2634
  };
2661
2635
  var serializeAws_restJson1AntennaDownlinkDemodDecodeConfig = function (input, context) {
2662
- return __assign(__assign(__assign({}, (input.decodeConfig !== undefined &&
2663
- input.decodeConfig !== null && { decodeConfig: serializeAws_restJson1DecodeConfig(input.decodeConfig, context) })), (input.demodulationConfig !== undefined &&
2664
- input.demodulationConfig !== null && {
2636
+ return __assign(__assign(__assign({}, (input.decodeConfig != null && {
2637
+ decodeConfig: serializeAws_restJson1DecodeConfig(input.decodeConfig, context),
2638
+ })), (input.demodulationConfig != null && {
2665
2639
  demodulationConfig: serializeAws_restJson1DemodulationConfig(input.demodulationConfig, context),
2666
- })), (input.spectrumConfig !== undefined &&
2667
- input.spectrumConfig !== null && {
2640
+ })), (input.spectrumConfig != null && {
2668
2641
  spectrumConfig: serializeAws_restJson1SpectrumConfig(input.spectrumConfig, context),
2669
2642
  }));
2670
2643
  };
2671
2644
  var serializeAws_restJson1AntennaUplinkConfig = function (input, context) {
2672
- return __assign(__assign(__assign({}, (input.spectrumConfig !== undefined &&
2673
- input.spectrumConfig !== null && {
2645
+ return __assign(__assign(__assign({}, (input.spectrumConfig != null && {
2674
2646
  spectrumConfig: serializeAws_restJson1UplinkSpectrumConfig(input.spectrumConfig, context),
2675
- })), (input.targetEirp !== undefined &&
2676
- input.targetEirp !== null && { targetEirp: serializeAws_restJson1Eirp(input.targetEirp, context) })), (input.transmitDisabled !== undefined &&
2677
- input.transmitDisabled !== null && { transmitDisabled: input.transmitDisabled }));
2647
+ })), (input.targetEirp != null && { targetEirp: serializeAws_restJson1Eirp(input.targetEirp, context) })), (input.transmitDisabled != null && { transmitDisabled: input.transmitDisabled }));
2678
2648
  };
2679
2649
  var serializeAws_restJson1ConfigTypeData = function (input, context) {
2680
2650
  return ConfigTypeData.visit(input, {
@@ -2717,29 +2687,22 @@ var serializeAws_restJson1DataflowEdgeList = function (input, context) {
2717
2687
  });
2718
2688
  };
2719
2689
  var serializeAws_restJson1DataflowEndpoint = function (input, context) {
2720
- return __assign(__assign(__assign(__assign({}, (input.address !== undefined &&
2721
- input.address !== null && { address: serializeAws_restJson1SocketAddress(input.address, context) })), (input.mtu !== undefined && input.mtu !== null && { mtu: input.mtu })), (input.name !== undefined && input.name !== null && { name: input.name })), (input.status !== undefined && input.status !== null && { status: input.status }));
2690
+ return __assign(__assign(__assign(__assign({}, (input.address != null && { address: serializeAws_restJson1SocketAddress(input.address, context) })), (input.mtu != null && { mtu: input.mtu })), (input.name != null && { name: input.name })), (input.status != null && { status: input.status }));
2722
2691
  };
2723
2692
  var serializeAws_restJson1DataflowEndpointConfig = function (input, context) {
2724
- return __assign(__assign({}, (input.dataflowEndpointName !== undefined &&
2725
- input.dataflowEndpointName !== null && { dataflowEndpointName: input.dataflowEndpointName })), (input.dataflowEndpointRegion !== undefined &&
2726
- input.dataflowEndpointRegion !== null && { dataflowEndpointRegion: input.dataflowEndpointRegion }));
2693
+ return __assign(__assign({}, (input.dataflowEndpointName != null && { dataflowEndpointName: input.dataflowEndpointName })), (input.dataflowEndpointRegion != null && { dataflowEndpointRegion: input.dataflowEndpointRegion }));
2727
2694
  };
2728
2695
  var serializeAws_restJson1DecodeConfig = function (input, context) {
2729
- return __assign({}, (input.unvalidatedJSON !== undefined &&
2730
- input.unvalidatedJSON !== null && { unvalidatedJSON: input.unvalidatedJSON }));
2696
+ return __assign({}, (input.unvalidatedJSON != null && { unvalidatedJSON: input.unvalidatedJSON }));
2731
2697
  };
2732
2698
  var serializeAws_restJson1DemodulationConfig = function (input, context) {
2733
- return __assign({}, (input.unvalidatedJSON !== undefined &&
2734
- input.unvalidatedJSON !== null && { unvalidatedJSON: input.unvalidatedJSON }));
2699
+ return __assign({}, (input.unvalidatedJSON != null && { unvalidatedJSON: input.unvalidatedJSON }));
2735
2700
  };
2736
2701
  var serializeAws_restJson1Eirp = function (input, context) {
2737
- return __assign(__assign({}, (input.units !== undefined && input.units !== null && { units: input.units })), (input.value !== undefined && input.value !== null && { value: __serializeFloat(input.value) }));
2702
+ return __assign(__assign({}, (input.units != null && { units: input.units })), (input.value != null && { value: __serializeFloat(input.value) }));
2738
2703
  };
2739
2704
  var serializeAws_restJson1EndpointDetails = function (input, context) {
2740
- return __assign(__assign({}, (input.endpoint !== undefined &&
2741
- input.endpoint !== null && { endpoint: serializeAws_restJson1DataflowEndpoint(input.endpoint, context) })), (input.securityDetails !== undefined &&
2742
- input.securityDetails !== null && {
2705
+ return __assign(__assign({}, (input.endpoint != null && { endpoint: serializeAws_restJson1DataflowEndpoint(input.endpoint, context) })), (input.securityDetails != null && {
2743
2706
  securityDetails: serializeAws_restJson1SecurityDetails(input.securityDetails, context),
2744
2707
  }));
2745
2708
  };
@@ -2754,20 +2717,18 @@ var serializeAws_restJson1EndpointDetailsList = function (input, context) {
2754
2717
  });
2755
2718
  };
2756
2719
  var serializeAws_restJson1Frequency = function (input, context) {
2757
- return __assign(__assign({}, (input.units !== undefined && input.units !== null && { units: input.units })), (input.value !== undefined && input.value !== null && { value: __serializeFloat(input.value) }));
2720
+ return __assign(__assign({}, (input.units != null && { units: input.units })), (input.value != null && { value: __serializeFloat(input.value) }));
2758
2721
  };
2759
2722
  var serializeAws_restJson1FrequencyBandwidth = function (input, context) {
2760
- return __assign(__assign({}, (input.units !== undefined && input.units !== null && { units: input.units })), (input.value !== undefined && input.value !== null && { value: __serializeFloat(input.value) }));
2723
+ return __assign(__assign({}, (input.units != null && { units: input.units })), (input.value != null && { value: __serializeFloat(input.value) }));
2761
2724
  };
2762
2725
  var serializeAws_restJson1S3RecordingConfig = function (input, context) {
2763
- return __assign(__assign(__assign({}, (input.bucketArn !== undefined && input.bucketArn !== null && { bucketArn: input.bucketArn })), (input.prefix !== undefined && input.prefix !== null && { prefix: input.prefix })), (input.roleArn !== undefined && input.roleArn !== null && { roleArn: input.roleArn }));
2726
+ return __assign(__assign(__assign({}, (input.bucketArn != null && { bucketArn: input.bucketArn })), (input.prefix != null && { prefix: input.prefix })), (input.roleArn != null && { roleArn: input.roleArn }));
2764
2727
  };
2765
2728
  var serializeAws_restJson1SecurityDetails = function (input, context) {
2766
- return __assign(__assign(__assign({}, (input.roleArn !== undefined && input.roleArn !== null && { roleArn: input.roleArn })), (input.securityGroupIds !== undefined &&
2767
- input.securityGroupIds !== null && {
2729
+ return __assign(__assign(__assign({}, (input.roleArn != null && { roleArn: input.roleArn })), (input.securityGroupIds != null && {
2768
2730
  securityGroupIds: serializeAws_restJson1SecurityGroupIdList(input.securityGroupIds, context),
2769
- })), (input.subnetIds !== undefined &&
2770
- input.subnetIds !== null && { subnetIds: serializeAws_restJson1SubnetList(input.subnetIds, context) }));
2731
+ })), (input.subnetIds != null && { subnetIds: serializeAws_restJson1SubnetList(input.subnetIds, context) }));
2771
2732
  };
2772
2733
  var serializeAws_restJson1SecurityGroupIdList = function (input, context) {
2773
2734
  return input
@@ -2780,14 +2741,12 @@ var serializeAws_restJson1SecurityGroupIdList = function (input, context) {
2780
2741
  });
2781
2742
  };
2782
2743
  var serializeAws_restJson1SocketAddress = function (input, context) {
2783
- return __assign(__assign({}, (input.name !== undefined && input.name !== null && { name: input.name })), (input.port !== undefined && input.port !== null && { port: input.port }));
2744
+ return __assign(__assign({}, (input.name != null && { name: input.name })), (input.port != null && { port: input.port }));
2784
2745
  };
2785
2746
  var serializeAws_restJson1SpectrumConfig = function (input, context) {
2786
- return __assign(__assign(__assign({}, (input.bandwidth !== undefined &&
2787
- input.bandwidth !== null && { bandwidth: serializeAws_restJson1FrequencyBandwidth(input.bandwidth, context) })), (input.centerFrequency !== undefined &&
2788
- input.centerFrequency !== null && {
2747
+ return __assign(__assign(__assign({}, (input.bandwidth != null && { bandwidth: serializeAws_restJson1FrequencyBandwidth(input.bandwidth, context) })), (input.centerFrequency != null && {
2789
2748
  centerFrequency: serializeAws_restJson1Frequency(input.centerFrequency, context),
2790
- })), (input.polarization !== undefined && input.polarization !== null && { polarization: input.polarization }));
2749
+ })), (input.polarization != null && { polarization: input.polarization }));
2791
2750
  };
2792
2751
  var serializeAws_restJson1StatusList = function (input, context) {
2793
2752
  return input
@@ -2820,17 +2779,15 @@ var serializeAws_restJson1TagsMap = function (input, context) {
2820
2779
  }, {});
2821
2780
  };
2822
2781
  var serializeAws_restJson1TrackingConfig = function (input, context) {
2823
- return __assign({}, (input.autotrack !== undefined && input.autotrack !== null && { autotrack: input.autotrack }));
2782
+ return __assign({}, (input.autotrack != null && { autotrack: input.autotrack }));
2824
2783
  };
2825
2784
  var serializeAws_restJson1UplinkEchoConfig = function (input, context) {
2826
- return __assign(__assign({}, (input.antennaUplinkConfigArn !== undefined &&
2827
- input.antennaUplinkConfigArn !== null && { antennaUplinkConfigArn: input.antennaUplinkConfigArn })), (input.enabled !== undefined && input.enabled !== null && { enabled: input.enabled }));
2785
+ return __assign(__assign({}, (input.antennaUplinkConfigArn != null && { antennaUplinkConfigArn: input.antennaUplinkConfigArn })), (input.enabled != null && { enabled: input.enabled }));
2828
2786
  };
2829
2787
  var serializeAws_restJson1UplinkSpectrumConfig = function (input, context) {
2830
- return __assign(__assign({}, (input.centerFrequency !== undefined &&
2831
- input.centerFrequency !== null && {
2788
+ return __assign(__assign({}, (input.centerFrequency != null && {
2832
2789
  centerFrequency: serializeAws_restJson1Frequency(input.centerFrequency, context),
2833
- })), (input.polarization !== undefined && input.polarization !== null && { polarization: input.polarization }));
2790
+ })), (input.polarization != null && { polarization: input.polarization }));
2834
2791
  };
2835
2792
  var deserializeAws_restJson1AntennaDemodDecodeDetails = function (output, context) {
2836
2793
  return {
@@ -2839,32 +2796,28 @@ var deserializeAws_restJson1AntennaDemodDecodeDetails = function (output, contex
2839
2796
  };
2840
2797
  var deserializeAws_restJson1AntennaDownlinkConfig = function (output, context) {
2841
2798
  return {
2842
- spectrumConfig: output.spectrumConfig !== undefined && output.spectrumConfig !== null
2799
+ spectrumConfig: output.spectrumConfig != null
2843
2800
  ? deserializeAws_restJson1SpectrumConfig(output.spectrumConfig, context)
2844
2801
  : undefined,
2845
2802
  };
2846
2803
  };
2847
2804
  var deserializeAws_restJson1AntennaDownlinkDemodDecodeConfig = function (output, context) {
2848
2805
  return {
2849
- decodeConfig: output.decodeConfig !== undefined && output.decodeConfig !== null
2850
- ? deserializeAws_restJson1DecodeConfig(output.decodeConfig, context)
2851
- : undefined,
2852
- demodulationConfig: output.demodulationConfig !== undefined && output.demodulationConfig !== null
2806
+ decodeConfig: output.decodeConfig != null ? deserializeAws_restJson1DecodeConfig(output.decodeConfig, context) : undefined,
2807
+ demodulationConfig: output.demodulationConfig != null
2853
2808
  ? deserializeAws_restJson1DemodulationConfig(output.demodulationConfig, context)
2854
2809
  : undefined,
2855
- spectrumConfig: output.spectrumConfig !== undefined && output.spectrumConfig !== null
2810
+ spectrumConfig: output.spectrumConfig != null
2856
2811
  ? deserializeAws_restJson1SpectrumConfig(output.spectrumConfig, context)
2857
2812
  : undefined,
2858
2813
  };
2859
2814
  };
2860
2815
  var deserializeAws_restJson1AntennaUplinkConfig = function (output, context) {
2861
2816
  return {
2862
- spectrumConfig: output.spectrumConfig !== undefined && output.spectrumConfig !== null
2817
+ spectrumConfig: output.spectrumConfig != null
2863
2818
  ? deserializeAws_restJson1UplinkSpectrumConfig(output.spectrumConfig, context)
2864
2819
  : undefined,
2865
- targetEirp: output.targetEirp !== undefined && output.targetEirp !== null
2866
- ? deserializeAws_restJson1Eirp(output.targetEirp, context)
2867
- : undefined,
2820
+ targetEirp: output.targetEirp != null ? deserializeAws_restJson1Eirp(output.targetEirp, context) : undefined,
2868
2821
  transmitDisabled: __expectBoolean(output.transmitDisabled),
2869
2822
  };
2870
2823
  };
@@ -2947,29 +2900,21 @@ var deserializeAws_restJson1ContactData = function (output, context) {
2947
2900
  return {
2948
2901
  contactId: __expectString(output.contactId),
2949
2902
  contactStatus: __expectString(output.contactStatus),
2950
- endTime: output.endTime !== undefined && output.endTime !== null
2951
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.endTime)))
2952
- : undefined,
2903
+ endTime: output.endTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.endTime))) : undefined,
2953
2904
  errorMessage: __expectString(output.errorMessage),
2954
2905
  groundStation: __expectString(output.groundStation),
2955
- maximumElevation: output.maximumElevation !== undefined && output.maximumElevation !== null
2956
- ? deserializeAws_restJson1Elevation(output.maximumElevation, context)
2957
- : undefined,
2906
+ maximumElevation: output.maximumElevation != null ? deserializeAws_restJson1Elevation(output.maximumElevation, context) : undefined,
2958
2907
  missionProfileArn: __expectString(output.missionProfileArn),
2959
- postPassEndTime: output.postPassEndTime !== undefined && output.postPassEndTime !== null
2908
+ postPassEndTime: output.postPassEndTime != null
2960
2909
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.postPassEndTime)))
2961
2910
  : undefined,
2962
- prePassStartTime: output.prePassStartTime !== undefined && output.prePassStartTime !== null
2911
+ prePassStartTime: output.prePassStartTime != null
2963
2912
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.prePassStartTime)))
2964
2913
  : undefined,
2965
2914
  region: __expectString(output.region),
2966
2915
  satelliteArn: __expectString(output.satelliteArn),
2967
- startTime: output.startTime !== undefined && output.startTime !== null
2968
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startTime)))
2969
- : undefined,
2970
- tags: output.tags !== undefined && output.tags !== null
2971
- ? deserializeAws_restJson1TagsMap(output.tags, context)
2972
- : undefined,
2916
+ startTime: output.startTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startTime))) : undefined,
2917
+ tags: output.tags != null ? deserializeAws_restJson1TagsMap(output.tags, context) : undefined,
2973
2918
  };
2974
2919
  };
2975
2920
  var deserializeAws_restJson1ContactList = function (output, context) {
@@ -2985,13 +2930,9 @@ var deserializeAws_restJson1ContactList = function (output, context) {
2985
2930
  };
2986
2931
  var deserializeAws_restJson1DataflowDetail = function (output, context) {
2987
2932
  return {
2988
- destination: output.destination !== undefined && output.destination !== null
2989
- ? deserializeAws_restJson1Destination(output.destination, context)
2990
- : undefined,
2933
+ destination: output.destination != null ? deserializeAws_restJson1Destination(output.destination, context) : undefined,
2991
2934
  errorMessage: __expectString(output.errorMessage),
2992
- source: output.source !== undefined && output.source !== null
2993
- ? deserializeAws_restJson1Source(output.source, context)
2994
- : undefined,
2935
+ source: output.source != null ? deserializeAws_restJson1Source(output.source, context) : undefined,
2995
2936
  };
2996
2937
  };
2997
2938
  var deserializeAws_restJson1DataflowEdge = function (output, context) {
@@ -3018,9 +2959,7 @@ var deserializeAws_restJson1DataflowEdgeList = function (output, context) {
3018
2959
  };
3019
2960
  var deserializeAws_restJson1DataflowEndpoint = function (output, context) {
3020
2961
  return {
3021
- address: output.address !== undefined && output.address !== null
3022
- ? deserializeAws_restJson1SocketAddress(output.address, context)
3023
- : undefined,
2962
+ address: output.address != null ? deserializeAws_restJson1SocketAddress(output.address, context) : undefined,
3024
2963
  mtu: __expectInt32(output.mtu),
3025
2964
  name: __expectString(output.name),
3026
2965
  status: __expectString(output.status),
@@ -3072,7 +3011,7 @@ var deserializeAws_restJson1DemodulationConfig = function (output, context) {
3072
3011
  };
3073
3012
  var deserializeAws_restJson1Destination = function (output, context) {
3074
3013
  return {
3075
- configDetails: output.configDetails !== undefined && output.configDetails !== null
3014
+ configDetails: output.configDetails != null
3076
3015
  ? deserializeAws_restJson1ConfigDetails(__expectUnion(output.configDetails), context)
3077
3016
  : undefined,
3078
3017
  configId: __expectString(output.configId),
@@ -3094,10 +3033,8 @@ var deserializeAws_restJson1Elevation = function (output, context) {
3094
3033
  };
3095
3034
  var deserializeAws_restJson1EndpointDetails = function (output, context) {
3096
3035
  return {
3097
- endpoint: output.endpoint !== undefined && output.endpoint !== null
3098
- ? deserializeAws_restJson1DataflowEndpoint(output.endpoint, context)
3099
- : undefined,
3100
- securityDetails: output.securityDetails !== undefined && output.securityDetails !== null
3036
+ endpoint: output.endpoint != null ? deserializeAws_restJson1DataflowEndpoint(output.endpoint, context) : undefined,
3037
+ securityDetails: output.securityDetails != null
3101
3038
  ? deserializeAws_restJson1SecurityDetails(output.securityDetails, context)
3102
3039
  : undefined,
3103
3040
  };
@@ -3199,7 +3136,7 @@ var deserializeAws_restJson1SatelliteList = function (output, context) {
3199
3136
  };
3200
3137
  var deserializeAws_restJson1SatelliteListItem = function (output, context) {
3201
3138
  return {
3202
- groundStations: output.groundStations !== undefined && output.groundStations !== null
3139
+ groundStations: output.groundStations != null
3203
3140
  ? deserializeAws_restJson1GroundStationIdList(output.groundStations, context)
3204
3141
  : undefined,
3205
3142
  noradSatelliteID: __expectInt32(output.noradSatelliteID),
@@ -3210,12 +3147,10 @@ var deserializeAws_restJson1SatelliteListItem = function (output, context) {
3210
3147
  var deserializeAws_restJson1SecurityDetails = function (output, context) {
3211
3148
  return {
3212
3149
  roleArn: __expectString(output.roleArn),
3213
- securityGroupIds: output.securityGroupIds !== undefined && output.securityGroupIds !== null
3150
+ securityGroupIds: output.securityGroupIds != null
3214
3151
  ? deserializeAws_restJson1SecurityGroupIdList(output.securityGroupIds, context)
3215
3152
  : undefined,
3216
- subnetIds: output.subnetIds !== undefined && output.subnetIds !== null
3217
- ? deserializeAws_restJson1SubnetList(output.subnetIds, context)
3218
- : undefined,
3153
+ subnetIds: output.subnetIds != null ? deserializeAws_restJson1SubnetList(output.subnetIds, context) : undefined,
3219
3154
  };
3220
3155
  };
3221
3156
  var deserializeAws_restJson1SecurityGroupIdList = function (output, context) {
@@ -3237,7 +3172,7 @@ var deserializeAws_restJson1SocketAddress = function (output, context) {
3237
3172
  };
3238
3173
  var deserializeAws_restJson1Source = function (output, context) {
3239
3174
  return {
3240
- configDetails: output.configDetails !== undefined && output.configDetails !== null
3175
+ configDetails: output.configDetails != null
3241
3176
  ? deserializeAws_restJson1ConfigDetails(__expectUnion(output.configDetails), context)
3242
3177
  : undefined,
3243
3178
  configId: __expectString(output.configId),
@@ -3247,12 +3182,8 @@ var deserializeAws_restJson1Source = function (output, context) {
3247
3182
  };
3248
3183
  var deserializeAws_restJson1SpectrumConfig = function (output, context) {
3249
3184
  return {
3250
- bandwidth: output.bandwidth !== undefined && output.bandwidth !== null
3251
- ? deserializeAws_restJson1FrequencyBandwidth(output.bandwidth, context)
3252
- : undefined,
3253
- centerFrequency: output.centerFrequency !== undefined && output.centerFrequency !== null
3254
- ? deserializeAws_restJson1Frequency(output.centerFrequency, context)
3255
- : undefined,
3185
+ bandwidth: output.bandwidth != null ? deserializeAws_restJson1FrequencyBandwidth(output.bandwidth, context) : undefined,
3186
+ centerFrequency: output.centerFrequency != null ? deserializeAws_restJson1Frequency(output.centerFrequency, context) : undefined,
3256
3187
  polarization: __expectString(output.polarization),
3257
3188
  };
3258
3189
  };
@@ -3290,9 +3221,7 @@ var deserializeAws_restJson1UplinkEchoConfig = function (output, context) {
3290
3221
  };
3291
3222
  var deserializeAws_restJson1UplinkSpectrumConfig = function (output, context) {
3292
3223
  return {
3293
- centerFrequency: output.centerFrequency !== undefined && output.centerFrequency !== null
3294
- ? deserializeAws_restJson1Frequency(output.centerFrequency, context)
3295
- : undefined,
3224
+ centerFrequency: output.centerFrequency != null ? deserializeAws_restJson1Frequency(output.centerFrequency, context) : undefined,
3296
3225
  polarization: __expectString(output.polarization),
3297
3226
  };
3298
3227
  };
@@ -3334,6 +3263,9 @@ var loadRestJsonErrorCode = function (output, data) {
3334
3263
  var findKey = function (object, key) { return Object.keys(object).find(function (k) { return k.toLowerCase() === key.toLowerCase(); }); };
3335
3264
  var sanitizeErrorCode = function (rawValue) {
3336
3265
  var cleanValue = rawValue;
3266
+ if (typeof cleanValue === "number") {
3267
+ cleanValue = cleanValue.toString();
3268
+ }
3337
3269
  if (cleanValue.indexOf(":") >= 0) {
3338
3270
  cleanValue = cleanValue.split(":")[0];
3339
3271
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-groundstation",
3
3
  "description": "AWS SDK for JavaScript Groundstation Client for Node.js, Browser and React Native",
4
- "version": "3.121.0",
4
+ "version": "3.130.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -18,35 +18,35 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.121.0",
22
- "@aws-sdk/config-resolver": "3.110.0",
23
- "@aws-sdk/credential-provider-node": "3.121.0",
24
- "@aws-sdk/fetch-http-handler": "3.110.0",
25
- "@aws-sdk/hash-node": "3.110.0",
26
- "@aws-sdk/invalid-dependency": "3.110.0",
27
- "@aws-sdk/middleware-content-length": "3.110.0",
28
- "@aws-sdk/middleware-host-header": "3.110.0",
29
- "@aws-sdk/middleware-logger": "3.110.0",
30
- "@aws-sdk/middleware-recursion-detection": "3.110.0",
31
- "@aws-sdk/middleware-retry": "3.118.1",
32
- "@aws-sdk/middleware-serde": "3.110.0",
33
- "@aws-sdk/middleware-signing": "3.110.0",
34
- "@aws-sdk/middleware-stack": "3.110.0",
35
- "@aws-sdk/middleware-user-agent": "3.110.0",
36
- "@aws-sdk/node-config-provider": "3.110.0",
37
- "@aws-sdk/node-http-handler": "3.118.1",
38
- "@aws-sdk/protocol-http": "3.110.0",
39
- "@aws-sdk/smithy-client": "3.110.0",
40
- "@aws-sdk/types": "3.110.0",
41
- "@aws-sdk/url-parser": "3.110.0",
21
+ "@aws-sdk/client-sts": "3.130.0",
22
+ "@aws-sdk/config-resolver": "3.130.0",
23
+ "@aws-sdk/credential-provider-node": "3.130.0",
24
+ "@aws-sdk/fetch-http-handler": "3.127.0",
25
+ "@aws-sdk/hash-node": "3.127.0",
26
+ "@aws-sdk/invalid-dependency": "3.127.0",
27
+ "@aws-sdk/middleware-content-length": "3.127.0",
28
+ "@aws-sdk/middleware-host-header": "3.127.0",
29
+ "@aws-sdk/middleware-logger": "3.127.0",
30
+ "@aws-sdk/middleware-recursion-detection": "3.127.0",
31
+ "@aws-sdk/middleware-retry": "3.127.0",
32
+ "@aws-sdk/middleware-serde": "3.127.0",
33
+ "@aws-sdk/middleware-signing": "3.130.0",
34
+ "@aws-sdk/middleware-stack": "3.127.0",
35
+ "@aws-sdk/middleware-user-agent": "3.127.0",
36
+ "@aws-sdk/node-config-provider": "3.127.0",
37
+ "@aws-sdk/node-http-handler": "3.127.0",
38
+ "@aws-sdk/protocol-http": "3.127.0",
39
+ "@aws-sdk/smithy-client": "3.127.0",
40
+ "@aws-sdk/types": "3.127.0",
41
+ "@aws-sdk/url-parser": "3.127.0",
42
42
  "@aws-sdk/util-base64-browser": "3.109.0",
43
43
  "@aws-sdk/util-base64-node": "3.55.0",
44
44
  "@aws-sdk/util-body-length-browser": "3.55.0",
45
45
  "@aws-sdk/util-body-length-node": "3.55.0",
46
- "@aws-sdk/util-defaults-mode-browser": "3.110.0",
47
- "@aws-sdk/util-defaults-mode-node": "3.110.0",
48
- "@aws-sdk/util-user-agent-browser": "3.110.0",
49
- "@aws-sdk/util-user-agent-node": "3.118.0",
46
+ "@aws-sdk/util-defaults-mode-browser": "3.127.0",
47
+ "@aws-sdk/util-defaults-mode-node": "3.130.0",
48
+ "@aws-sdk/util-user-agent-browser": "3.127.0",
49
+ "@aws-sdk/util-user-agent-node": "3.127.0",
50
50
  "@aws-sdk/util-utf8-browser": "3.109.0",
51
51
  "@aws-sdk/util-utf8-node": "3.109.0",
52
52
  "tslib": "^2.3.1"