@aws-sdk/client-backup-gateway 3.121.0 → 3.127.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,14 @@
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.127.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.126.0...v3.127.0) (2022-07-11)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-backup-gateway
9
+
10
+
11
+
12
+
13
+
6
14
  # [3.121.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.120.0...v3.121.0) (2022-06-30)
7
15
 
8
16
 
@@ -1012,85 +1012,84 @@ const deserializeAws_json1_0ValidationExceptionResponse = async (parsedOutput, c
1012
1012
  };
1013
1013
  const serializeAws_json1_0AssociateGatewayToServerInput = (input, context) => {
1014
1014
  return {
1015
- ...(input.GatewayArn !== undefined && input.GatewayArn !== null && { GatewayArn: input.GatewayArn }),
1016
- ...(input.ServerArn !== undefined && input.ServerArn !== null && { ServerArn: input.ServerArn }),
1015
+ ...(input.GatewayArn != null && { GatewayArn: input.GatewayArn }),
1016
+ ...(input.ServerArn != null && { ServerArn: input.ServerArn }),
1017
1017
  };
1018
1018
  };
1019
1019
  const serializeAws_json1_0CreateGatewayInput = (input, context) => {
1020
1020
  return {
1021
- ...(input.ActivationKey !== undefined && input.ActivationKey !== null && { ActivationKey: input.ActivationKey }),
1022
- ...(input.GatewayDisplayName !== undefined &&
1023
- input.GatewayDisplayName !== null && { GatewayDisplayName: input.GatewayDisplayName }),
1024
- ...(input.GatewayType !== undefined && input.GatewayType !== null && { GatewayType: input.GatewayType }),
1025
- ...(input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_0Tags(input.Tags, context) }),
1021
+ ...(input.ActivationKey != null && { ActivationKey: input.ActivationKey }),
1022
+ ...(input.GatewayDisplayName != null && { GatewayDisplayName: input.GatewayDisplayName }),
1023
+ ...(input.GatewayType != null && { GatewayType: input.GatewayType }),
1024
+ ...(input.Tags != null && { Tags: serializeAws_json1_0Tags(input.Tags, context) }),
1026
1025
  };
1027
1026
  };
1028
1027
  const serializeAws_json1_0DeleteGatewayInput = (input, context) => {
1029
1028
  return {
1030
- ...(input.GatewayArn !== undefined && input.GatewayArn !== null && { GatewayArn: input.GatewayArn }),
1029
+ ...(input.GatewayArn != null && { GatewayArn: input.GatewayArn }),
1031
1030
  };
1032
1031
  };
1033
1032
  const serializeAws_json1_0DeleteHypervisorInput = (input, context) => {
1034
1033
  return {
1035
- ...(input.HypervisorArn !== undefined && input.HypervisorArn !== null && { HypervisorArn: input.HypervisorArn }),
1034
+ ...(input.HypervisorArn != null && { HypervisorArn: input.HypervisorArn }),
1036
1035
  };
1037
1036
  };
1038
1037
  const serializeAws_json1_0DisassociateGatewayFromServerInput = (input, context) => {
1039
1038
  return {
1040
- ...(input.GatewayArn !== undefined && input.GatewayArn !== null && { GatewayArn: input.GatewayArn }),
1039
+ ...(input.GatewayArn != null && { GatewayArn: input.GatewayArn }),
1041
1040
  };
1042
1041
  };
1043
1042
  const serializeAws_json1_0GetGatewayInput = (input, context) => {
1044
1043
  return {
1045
- ...(input.GatewayArn !== undefined && input.GatewayArn !== null && { GatewayArn: input.GatewayArn }),
1044
+ ...(input.GatewayArn != null && { GatewayArn: input.GatewayArn }),
1046
1045
  };
1047
1046
  };
1048
1047
  const serializeAws_json1_0ImportHypervisorConfigurationInput = (input, context) => {
1049
1048
  return {
1050
- ...(input.Host !== undefined && input.Host !== null && { Host: input.Host }),
1051
- ...(input.KmsKeyArn !== undefined && input.KmsKeyArn !== null && { KmsKeyArn: input.KmsKeyArn }),
1052
- ...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
1053
- ...(input.Password !== undefined && input.Password !== null && { Password: input.Password }),
1054
- ...(input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_0Tags(input.Tags, context) }),
1055
- ...(input.Username !== undefined && input.Username !== null && { Username: input.Username }),
1049
+ ...(input.Host != null && { Host: input.Host }),
1050
+ ...(input.KmsKeyArn != null && { KmsKeyArn: input.KmsKeyArn }),
1051
+ ...(input.Name != null && { Name: input.Name }),
1052
+ ...(input.Password != null && { Password: input.Password }),
1053
+ ...(input.Tags != null && { Tags: serializeAws_json1_0Tags(input.Tags, context) }),
1054
+ ...(input.Username != null && { Username: input.Username }),
1056
1055
  };
1057
1056
  };
1058
1057
  const serializeAws_json1_0ListGatewaysInput = (input, context) => {
1059
1058
  return {
1060
- ...(input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults }),
1061
- ...(input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }),
1059
+ ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
1060
+ ...(input.NextToken != null && { NextToken: input.NextToken }),
1062
1061
  };
1063
1062
  };
1064
1063
  const serializeAws_json1_0ListHypervisorsInput = (input, context) => {
1065
1064
  return {
1066
- ...(input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults }),
1067
- ...(input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }),
1065
+ ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
1066
+ ...(input.NextToken != null && { NextToken: input.NextToken }),
1068
1067
  };
1069
1068
  };
1070
1069
  const serializeAws_json1_0ListTagsForResourceInput = (input, context) => {
1071
1070
  return {
1072
- ...(input.ResourceArn !== undefined && input.ResourceArn !== null && { ResourceArn: input.ResourceArn }),
1071
+ ...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
1073
1072
  };
1074
1073
  };
1075
1074
  const serializeAws_json1_0ListVirtualMachinesInput = (input, context) => {
1076
1075
  return {
1077
- ...(input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults }),
1078
- ...(input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }),
1076
+ ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
1077
+ ...(input.NextToken != null && { NextToken: input.NextToken }),
1079
1078
  };
1080
1079
  };
1081
1080
  const serializeAws_json1_0PutMaintenanceStartTimeInput = (input, context) => {
1082
1081
  return {
1083
- ...(input.DayOfMonth !== undefined && input.DayOfMonth !== null && { DayOfMonth: input.DayOfMonth }),
1084
- ...(input.DayOfWeek !== undefined && input.DayOfWeek !== null && { DayOfWeek: input.DayOfWeek }),
1085
- ...(input.GatewayArn !== undefined && input.GatewayArn !== null && { GatewayArn: input.GatewayArn }),
1086
- ...(input.HourOfDay !== undefined && input.HourOfDay !== null && { HourOfDay: input.HourOfDay }),
1087
- ...(input.MinuteOfHour !== undefined && input.MinuteOfHour !== null && { MinuteOfHour: input.MinuteOfHour }),
1082
+ ...(input.DayOfMonth != null && { DayOfMonth: input.DayOfMonth }),
1083
+ ...(input.DayOfWeek != null && { DayOfWeek: input.DayOfWeek }),
1084
+ ...(input.GatewayArn != null && { GatewayArn: input.GatewayArn }),
1085
+ ...(input.HourOfDay != null && { HourOfDay: input.HourOfDay }),
1086
+ ...(input.MinuteOfHour != null && { MinuteOfHour: input.MinuteOfHour }),
1088
1087
  };
1089
1088
  };
1090
1089
  const serializeAws_json1_0Tag = (input, context) => {
1091
1090
  return {
1092
- ...(input.Key !== undefined && input.Key !== null && { Key: input.Key }),
1093
- ...(input.Value !== undefined && input.Value !== null && { Value: input.Value }),
1091
+ ...(input.Key != null && { Key: input.Key }),
1092
+ ...(input.Value != null && { Value: input.Value }),
1094
1093
  };
1095
1094
  };
1096
1095
  const serializeAws_json1_0TagKeys = (input, context) => {
@@ -1105,8 +1104,8 @@ const serializeAws_json1_0TagKeys = (input, context) => {
1105
1104
  };
1106
1105
  const serializeAws_json1_0TagResourceInput = (input, context) => {
1107
1106
  return {
1108
- ...(input.ResourceARN !== undefined && input.ResourceARN !== null && { ResourceARN: input.ResourceARN }),
1109
- ...(input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_0Tags(input.Tags, context) }),
1107
+ ...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
1108
+ ...(input.Tags != null && { Tags: serializeAws_json1_0Tags(input.Tags, context) }),
1110
1109
  };
1111
1110
  };
1112
1111
  const serializeAws_json1_0Tags = (input, context) => {
@@ -1121,38 +1120,36 @@ const serializeAws_json1_0Tags = (input, context) => {
1121
1120
  };
1122
1121
  const serializeAws_json1_0TestHypervisorConfigurationInput = (input, context) => {
1123
1122
  return {
1124
- ...(input.GatewayArn !== undefined && input.GatewayArn !== null && { GatewayArn: input.GatewayArn }),
1125
- ...(input.Host !== undefined && input.Host !== null && { Host: input.Host }),
1126
- ...(input.Password !== undefined && input.Password !== null && { Password: input.Password }),
1127
- ...(input.Username !== undefined && input.Username !== null && { Username: input.Username }),
1123
+ ...(input.GatewayArn != null && { GatewayArn: input.GatewayArn }),
1124
+ ...(input.Host != null && { Host: input.Host }),
1125
+ ...(input.Password != null && { Password: input.Password }),
1126
+ ...(input.Username != null && { Username: input.Username }),
1128
1127
  };
1129
1128
  };
1130
1129
  const serializeAws_json1_0UntagResourceInput = (input, context) => {
1131
1130
  return {
1132
- ...(input.ResourceARN !== undefined && input.ResourceARN !== null && { ResourceARN: input.ResourceARN }),
1133
- ...(input.TagKeys !== undefined &&
1134
- input.TagKeys !== null && { TagKeys: serializeAws_json1_0TagKeys(input.TagKeys, context) }),
1131
+ ...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
1132
+ ...(input.TagKeys != null && { TagKeys: serializeAws_json1_0TagKeys(input.TagKeys, context) }),
1135
1133
  };
1136
1134
  };
1137
1135
  const serializeAws_json1_0UpdateGatewayInformationInput = (input, context) => {
1138
1136
  return {
1139
- ...(input.GatewayArn !== undefined && input.GatewayArn !== null && { GatewayArn: input.GatewayArn }),
1140
- ...(input.GatewayDisplayName !== undefined &&
1141
- input.GatewayDisplayName !== null && { GatewayDisplayName: input.GatewayDisplayName }),
1137
+ ...(input.GatewayArn != null && { GatewayArn: input.GatewayArn }),
1138
+ ...(input.GatewayDisplayName != null && { GatewayDisplayName: input.GatewayDisplayName }),
1142
1139
  };
1143
1140
  };
1144
1141
  const serializeAws_json1_0UpdateGatewaySoftwareNowInput = (input, context) => {
1145
1142
  return {
1146
- ...(input.GatewayArn !== undefined && input.GatewayArn !== null && { GatewayArn: input.GatewayArn }),
1143
+ ...(input.GatewayArn != null && { GatewayArn: input.GatewayArn }),
1147
1144
  };
1148
1145
  };
1149
1146
  const serializeAws_json1_0UpdateHypervisorInput = (input, context) => {
1150
1147
  return {
1151
- ...(input.Host !== undefined && input.Host !== null && { Host: input.Host }),
1152
- ...(input.HypervisorArn !== undefined && input.HypervisorArn !== null && { HypervisorArn: input.HypervisorArn }),
1153
- ...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
1154
- ...(input.Password !== undefined && input.Password !== null && { Password: input.Password }),
1155
- ...(input.Username !== undefined && input.Username !== null && { Username: input.Username }),
1148
+ ...(input.Host != null && { Host: input.Host }),
1149
+ ...(input.HypervisorArn != null && { HypervisorArn: input.HypervisorArn }),
1150
+ ...(input.Name != null && { Name: input.Name }),
1151
+ ...(input.Password != null && { Password: input.Password }),
1152
+ ...(input.Username != null && { Username: input.Username }),
1156
1153
  };
1157
1154
  };
1158
1155
  const deserializeAws_json1_0AccessDeniedException = (output, context) => {
@@ -1198,7 +1195,7 @@ const deserializeAws_json1_0Gateway = (output, context) => {
1198
1195
  GatewayDisplayName: (0, smithy_client_1.expectString)(output.GatewayDisplayName),
1199
1196
  GatewayType: (0, smithy_client_1.expectString)(output.GatewayType),
1200
1197
  HypervisorId: (0, smithy_client_1.expectString)(output.HypervisorId),
1201
- LastSeenTime: output.LastSeenTime !== undefined && output.LastSeenTime !== null
1198
+ LastSeenTime: output.LastSeenTime != null
1202
1199
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastSeenTime)))
1203
1200
  : undefined,
1204
1201
  };
@@ -1209,10 +1206,10 @@ const deserializeAws_json1_0GatewayDetails = (output, context) => {
1209
1206
  GatewayDisplayName: (0, smithy_client_1.expectString)(output.GatewayDisplayName),
1210
1207
  GatewayType: (0, smithy_client_1.expectString)(output.GatewayType),
1211
1208
  HypervisorId: (0, smithy_client_1.expectString)(output.HypervisorId),
1212
- LastSeenTime: output.LastSeenTime !== undefined && output.LastSeenTime !== null
1209
+ LastSeenTime: output.LastSeenTime != null
1213
1210
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastSeenTime)))
1214
1211
  : undefined,
1215
- NextUpdateAvailabilityTime: output.NextUpdateAvailabilityTime !== undefined && output.NextUpdateAvailabilityTime !== null
1212
+ NextUpdateAvailabilityTime: output.NextUpdateAvailabilityTime != null
1216
1213
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.NextUpdateAvailabilityTime)))
1217
1214
  : undefined,
1218
1215
  VpcEndpoint: (0, smithy_client_1.expectString)(output.VpcEndpoint),
@@ -1231,9 +1228,7 @@ const deserializeAws_json1_0Gateways = (output, context) => {
1231
1228
  };
1232
1229
  const deserializeAws_json1_0GetGatewayOutput = (output, context) => {
1233
1230
  return {
1234
- Gateway: output.Gateway !== undefined && output.Gateway !== null
1235
- ? deserializeAws_json1_0GatewayDetails(output.Gateway, context)
1236
- : undefined,
1231
+ Gateway: output.Gateway != null ? deserializeAws_json1_0GatewayDetails(output.Gateway, context) : undefined,
1237
1232
  };
1238
1233
  };
1239
1234
  const deserializeAws_json1_0Hypervisor = (output, context) => {
@@ -1269,30 +1264,26 @@ const deserializeAws_json1_0InternalServerException = (output, context) => {
1269
1264
  };
1270
1265
  const deserializeAws_json1_0ListGatewaysOutput = (output, context) => {
1271
1266
  return {
1272
- Gateways: output.Gateways !== undefined && output.Gateways !== null
1273
- ? deserializeAws_json1_0Gateways(output.Gateways, context)
1274
- : undefined,
1267
+ Gateways: output.Gateways != null ? deserializeAws_json1_0Gateways(output.Gateways, context) : undefined,
1275
1268
  NextToken: (0, smithy_client_1.expectString)(output.NextToken),
1276
1269
  };
1277
1270
  };
1278
1271
  const deserializeAws_json1_0ListHypervisorsOutput = (output, context) => {
1279
1272
  return {
1280
- Hypervisors: output.Hypervisors !== undefined && output.Hypervisors !== null
1281
- ? deserializeAws_json1_0Hypervisors(output.Hypervisors, context)
1282
- : undefined,
1273
+ Hypervisors: output.Hypervisors != null ? deserializeAws_json1_0Hypervisors(output.Hypervisors, context) : undefined,
1283
1274
  NextToken: (0, smithy_client_1.expectString)(output.NextToken),
1284
1275
  };
1285
1276
  };
1286
1277
  const deserializeAws_json1_0ListTagsForResourceOutput = (output, context) => {
1287
1278
  return {
1288
1279
  ResourceArn: (0, smithy_client_1.expectString)(output.ResourceArn),
1289
- Tags: output.Tags !== undefined && output.Tags !== null ? deserializeAws_json1_0Tags(output.Tags, context) : undefined,
1280
+ Tags: output.Tags != null ? deserializeAws_json1_0Tags(output.Tags, context) : undefined,
1290
1281
  };
1291
1282
  };
1292
1283
  const deserializeAws_json1_0ListVirtualMachinesOutput = (output, context) => {
1293
1284
  return {
1294
1285
  NextToken: (0, smithy_client_1.expectString)(output.NextToken),
1295
- VirtualMachines: output.VirtualMachines !== undefined && output.VirtualMachines !== null
1286
+ VirtualMachines: output.VirtualMachines != null
1296
1287
  ? deserializeAws_json1_0VirtualMachines(output.VirtualMachines, context)
1297
1288
  : undefined,
1298
1289
  };
@@ -1363,7 +1354,7 @@ const deserializeAws_json1_0VirtualMachine = (output, context) => {
1363
1354
  return {
1364
1355
  HostName: (0, smithy_client_1.expectString)(output.HostName),
1365
1356
  HypervisorId: (0, smithy_client_1.expectString)(output.HypervisorId),
1366
- LastBackupDate: output.LastBackupDate !== undefined && output.LastBackupDate !== null
1357
+ LastBackupDate: output.LastBackupDate != null
1367
1358
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastBackupDate)))
1368
1359
  : undefined,
1369
1360
  Name: (0, smithy_client_1.expectString)(output.Name),
@@ -1317,44 +1317,43 @@ var deserializeAws_json1_0ValidationExceptionResponse = function (parsedOutput,
1317
1317
  });
1318
1318
  }); };
1319
1319
  var serializeAws_json1_0AssociateGatewayToServerInput = function (input, context) {
1320
- return __assign(__assign({}, (input.GatewayArn !== undefined && input.GatewayArn !== null && { GatewayArn: input.GatewayArn })), (input.ServerArn !== undefined && input.ServerArn !== null && { ServerArn: input.ServerArn }));
1320
+ return __assign(__assign({}, (input.GatewayArn != null && { GatewayArn: input.GatewayArn })), (input.ServerArn != null && { ServerArn: input.ServerArn }));
1321
1321
  };
1322
1322
  var serializeAws_json1_0CreateGatewayInput = function (input, context) {
1323
- return __assign(__assign(__assign(__assign({}, (input.ActivationKey !== undefined && input.ActivationKey !== null && { ActivationKey: input.ActivationKey })), (input.GatewayDisplayName !== undefined &&
1324
- input.GatewayDisplayName !== null && { GatewayDisplayName: input.GatewayDisplayName })), (input.GatewayType !== undefined && input.GatewayType !== null && { GatewayType: input.GatewayType })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_0Tags(input.Tags, context) }));
1323
+ return __assign(__assign(__assign(__assign({}, (input.ActivationKey != null && { ActivationKey: input.ActivationKey })), (input.GatewayDisplayName != null && { GatewayDisplayName: input.GatewayDisplayName })), (input.GatewayType != null && { GatewayType: input.GatewayType })), (input.Tags != null && { Tags: serializeAws_json1_0Tags(input.Tags, context) }));
1325
1324
  };
1326
1325
  var serializeAws_json1_0DeleteGatewayInput = function (input, context) {
1327
- return __assign({}, (input.GatewayArn !== undefined && input.GatewayArn !== null && { GatewayArn: input.GatewayArn }));
1326
+ return __assign({}, (input.GatewayArn != null && { GatewayArn: input.GatewayArn }));
1328
1327
  };
1329
1328
  var serializeAws_json1_0DeleteHypervisorInput = function (input, context) {
1330
- return __assign({}, (input.HypervisorArn !== undefined && input.HypervisorArn !== null && { HypervisorArn: input.HypervisorArn }));
1329
+ return __assign({}, (input.HypervisorArn != null && { HypervisorArn: input.HypervisorArn }));
1331
1330
  };
1332
1331
  var serializeAws_json1_0DisassociateGatewayFromServerInput = function (input, context) {
1333
- return __assign({}, (input.GatewayArn !== undefined && input.GatewayArn !== null && { GatewayArn: input.GatewayArn }));
1332
+ return __assign({}, (input.GatewayArn != null && { GatewayArn: input.GatewayArn }));
1334
1333
  };
1335
1334
  var serializeAws_json1_0GetGatewayInput = function (input, context) {
1336
- return __assign({}, (input.GatewayArn !== undefined && input.GatewayArn !== null && { GatewayArn: input.GatewayArn }));
1335
+ return __assign({}, (input.GatewayArn != null && { GatewayArn: input.GatewayArn }));
1337
1336
  };
1338
1337
  var serializeAws_json1_0ImportHypervisorConfigurationInput = function (input, context) {
1339
- return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.Host !== undefined && input.Host !== null && { Host: input.Host })), (input.KmsKeyArn !== undefined && input.KmsKeyArn !== null && { KmsKeyArn: input.KmsKeyArn })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Password !== undefined && input.Password !== null && { Password: input.Password })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_0Tags(input.Tags, context) })), (input.Username !== undefined && input.Username !== null && { Username: input.Username }));
1338
+ return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.Host != null && { Host: input.Host })), (input.KmsKeyArn != null && { KmsKeyArn: input.KmsKeyArn })), (input.Name != null && { Name: input.Name })), (input.Password != null && { Password: input.Password })), (input.Tags != null && { Tags: serializeAws_json1_0Tags(input.Tags, context) })), (input.Username != null && { Username: input.Username }));
1340
1339
  };
1341
1340
  var serializeAws_json1_0ListGatewaysInput = function (input, context) {
1342
- return __assign(__assign({}, (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }));
1341
+ return __assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
1343
1342
  };
1344
1343
  var serializeAws_json1_0ListHypervisorsInput = function (input, context) {
1345
- return __assign(__assign({}, (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }));
1344
+ return __assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
1346
1345
  };
1347
1346
  var serializeAws_json1_0ListTagsForResourceInput = function (input, context) {
1348
- return __assign({}, (input.ResourceArn !== undefined && input.ResourceArn !== null && { ResourceArn: input.ResourceArn }));
1347
+ return __assign({}, (input.ResourceArn != null && { ResourceArn: input.ResourceArn }));
1349
1348
  };
1350
1349
  var serializeAws_json1_0ListVirtualMachinesInput = function (input, context) {
1351
- return __assign(__assign({}, (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }));
1350
+ return __assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
1352
1351
  };
1353
1352
  var serializeAws_json1_0PutMaintenanceStartTimeInput = function (input, context) {
1354
- return __assign(__assign(__assign(__assign(__assign({}, (input.DayOfMonth !== undefined && input.DayOfMonth !== null && { DayOfMonth: input.DayOfMonth })), (input.DayOfWeek !== undefined && input.DayOfWeek !== null && { DayOfWeek: input.DayOfWeek })), (input.GatewayArn !== undefined && input.GatewayArn !== null && { GatewayArn: input.GatewayArn })), (input.HourOfDay !== undefined && input.HourOfDay !== null && { HourOfDay: input.HourOfDay })), (input.MinuteOfHour !== undefined && input.MinuteOfHour !== null && { MinuteOfHour: input.MinuteOfHour }));
1353
+ return __assign(__assign(__assign(__assign(__assign({}, (input.DayOfMonth != null && { DayOfMonth: input.DayOfMonth })), (input.DayOfWeek != null && { DayOfWeek: input.DayOfWeek })), (input.GatewayArn != null && { GatewayArn: input.GatewayArn })), (input.HourOfDay != null && { HourOfDay: input.HourOfDay })), (input.MinuteOfHour != null && { MinuteOfHour: input.MinuteOfHour }));
1355
1354
  };
1356
1355
  var serializeAws_json1_0Tag = function (input, context) {
1357
- return __assign(__assign({}, (input.Key !== undefined && input.Key !== null && { Key: input.Key })), (input.Value !== undefined && input.Value !== null && { Value: input.Value }));
1356
+ return __assign(__assign({}, (input.Key != null && { Key: input.Key })), (input.Value != null && { Value: input.Value }));
1358
1357
  };
1359
1358
  var serializeAws_json1_0TagKeys = function (input, context) {
1360
1359
  return input
@@ -1367,7 +1366,7 @@ var serializeAws_json1_0TagKeys = function (input, context) {
1367
1366
  });
1368
1367
  };
1369
1368
  var serializeAws_json1_0TagResourceInput = function (input, context) {
1370
- return __assign(__assign({}, (input.ResourceARN !== undefined && input.ResourceARN !== null && { ResourceARN: input.ResourceARN })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_0Tags(input.Tags, context) }));
1369
+ return __assign(__assign({}, (input.ResourceARN != null && { ResourceARN: input.ResourceARN })), (input.Tags != null && { Tags: serializeAws_json1_0Tags(input.Tags, context) }));
1371
1370
  };
1372
1371
  var serializeAws_json1_0Tags = function (input, context) {
1373
1372
  return input
@@ -1380,21 +1379,19 @@ var serializeAws_json1_0Tags = function (input, context) {
1380
1379
  });
1381
1380
  };
1382
1381
  var serializeAws_json1_0TestHypervisorConfigurationInput = function (input, context) {
1383
- return __assign(__assign(__assign(__assign({}, (input.GatewayArn !== undefined && input.GatewayArn !== null && { GatewayArn: input.GatewayArn })), (input.Host !== undefined && input.Host !== null && { Host: input.Host })), (input.Password !== undefined && input.Password !== null && { Password: input.Password })), (input.Username !== undefined && input.Username !== null && { Username: input.Username }));
1382
+ return __assign(__assign(__assign(__assign({}, (input.GatewayArn != null && { GatewayArn: input.GatewayArn })), (input.Host != null && { Host: input.Host })), (input.Password != null && { Password: input.Password })), (input.Username != null && { Username: input.Username }));
1384
1383
  };
1385
1384
  var serializeAws_json1_0UntagResourceInput = function (input, context) {
1386
- return __assign(__assign({}, (input.ResourceARN !== undefined && input.ResourceARN !== null && { ResourceARN: input.ResourceARN })), (input.TagKeys !== undefined &&
1387
- input.TagKeys !== null && { TagKeys: serializeAws_json1_0TagKeys(input.TagKeys, context) }));
1385
+ return __assign(__assign({}, (input.ResourceARN != null && { ResourceARN: input.ResourceARN })), (input.TagKeys != null && { TagKeys: serializeAws_json1_0TagKeys(input.TagKeys, context) }));
1388
1386
  };
1389
1387
  var serializeAws_json1_0UpdateGatewayInformationInput = function (input, context) {
1390
- return __assign(__assign({}, (input.GatewayArn !== undefined && input.GatewayArn !== null && { GatewayArn: input.GatewayArn })), (input.GatewayDisplayName !== undefined &&
1391
- input.GatewayDisplayName !== null && { GatewayDisplayName: input.GatewayDisplayName }));
1388
+ return __assign(__assign({}, (input.GatewayArn != null && { GatewayArn: input.GatewayArn })), (input.GatewayDisplayName != null && { GatewayDisplayName: input.GatewayDisplayName }));
1392
1389
  };
1393
1390
  var serializeAws_json1_0UpdateGatewaySoftwareNowInput = function (input, context) {
1394
- return __assign({}, (input.GatewayArn !== undefined && input.GatewayArn !== null && { GatewayArn: input.GatewayArn }));
1391
+ return __assign({}, (input.GatewayArn != null && { GatewayArn: input.GatewayArn }));
1395
1392
  };
1396
1393
  var serializeAws_json1_0UpdateHypervisorInput = function (input, context) {
1397
- return __assign(__assign(__assign(__assign(__assign({}, (input.Host !== undefined && input.Host !== null && { Host: input.Host })), (input.HypervisorArn !== undefined && input.HypervisorArn !== null && { HypervisorArn: input.HypervisorArn })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Password !== undefined && input.Password !== null && { Password: input.Password })), (input.Username !== undefined && input.Username !== null && { Username: input.Username }));
1394
+ return __assign(__assign(__assign(__assign(__assign({}, (input.Host != null && { Host: input.Host })), (input.HypervisorArn != null && { HypervisorArn: input.HypervisorArn })), (input.Name != null && { Name: input.Name })), (input.Password != null && { Password: input.Password })), (input.Username != null && { Username: input.Username }));
1398
1395
  };
1399
1396
  var deserializeAws_json1_0AccessDeniedException = function (output, context) {
1400
1397
  return {
@@ -1439,7 +1436,7 @@ var deserializeAws_json1_0Gateway = function (output, context) {
1439
1436
  GatewayDisplayName: __expectString(output.GatewayDisplayName),
1440
1437
  GatewayType: __expectString(output.GatewayType),
1441
1438
  HypervisorId: __expectString(output.HypervisorId),
1442
- LastSeenTime: output.LastSeenTime !== undefined && output.LastSeenTime !== null
1439
+ LastSeenTime: output.LastSeenTime != null
1443
1440
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastSeenTime)))
1444
1441
  : undefined,
1445
1442
  };
@@ -1450,10 +1447,10 @@ var deserializeAws_json1_0GatewayDetails = function (output, context) {
1450
1447
  GatewayDisplayName: __expectString(output.GatewayDisplayName),
1451
1448
  GatewayType: __expectString(output.GatewayType),
1452
1449
  HypervisorId: __expectString(output.HypervisorId),
1453
- LastSeenTime: output.LastSeenTime !== undefined && output.LastSeenTime !== null
1450
+ LastSeenTime: output.LastSeenTime != null
1454
1451
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastSeenTime)))
1455
1452
  : undefined,
1456
- NextUpdateAvailabilityTime: output.NextUpdateAvailabilityTime !== undefined && output.NextUpdateAvailabilityTime !== null
1453
+ NextUpdateAvailabilityTime: output.NextUpdateAvailabilityTime != null
1457
1454
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.NextUpdateAvailabilityTime)))
1458
1455
  : undefined,
1459
1456
  VpcEndpoint: __expectString(output.VpcEndpoint),
@@ -1472,9 +1469,7 @@ var deserializeAws_json1_0Gateways = function (output, context) {
1472
1469
  };
1473
1470
  var deserializeAws_json1_0GetGatewayOutput = function (output, context) {
1474
1471
  return {
1475
- Gateway: output.Gateway !== undefined && output.Gateway !== null
1476
- ? deserializeAws_json1_0GatewayDetails(output.Gateway, context)
1477
- : undefined,
1472
+ Gateway: output.Gateway != null ? deserializeAws_json1_0GatewayDetails(output.Gateway, context) : undefined,
1478
1473
  };
1479
1474
  };
1480
1475
  var deserializeAws_json1_0Hypervisor = function (output, context) {
@@ -1510,30 +1505,26 @@ var deserializeAws_json1_0InternalServerException = function (output, context) {
1510
1505
  };
1511
1506
  var deserializeAws_json1_0ListGatewaysOutput = function (output, context) {
1512
1507
  return {
1513
- Gateways: output.Gateways !== undefined && output.Gateways !== null
1514
- ? deserializeAws_json1_0Gateways(output.Gateways, context)
1515
- : undefined,
1508
+ Gateways: output.Gateways != null ? deserializeAws_json1_0Gateways(output.Gateways, context) : undefined,
1516
1509
  NextToken: __expectString(output.NextToken),
1517
1510
  };
1518
1511
  };
1519
1512
  var deserializeAws_json1_0ListHypervisorsOutput = function (output, context) {
1520
1513
  return {
1521
- Hypervisors: output.Hypervisors !== undefined && output.Hypervisors !== null
1522
- ? deserializeAws_json1_0Hypervisors(output.Hypervisors, context)
1523
- : undefined,
1514
+ Hypervisors: output.Hypervisors != null ? deserializeAws_json1_0Hypervisors(output.Hypervisors, context) : undefined,
1524
1515
  NextToken: __expectString(output.NextToken),
1525
1516
  };
1526
1517
  };
1527
1518
  var deserializeAws_json1_0ListTagsForResourceOutput = function (output, context) {
1528
1519
  return {
1529
1520
  ResourceArn: __expectString(output.ResourceArn),
1530
- Tags: output.Tags !== undefined && output.Tags !== null ? deserializeAws_json1_0Tags(output.Tags, context) : undefined,
1521
+ Tags: output.Tags != null ? deserializeAws_json1_0Tags(output.Tags, context) : undefined,
1531
1522
  };
1532
1523
  };
1533
1524
  var deserializeAws_json1_0ListVirtualMachinesOutput = function (output, context) {
1534
1525
  return {
1535
1526
  NextToken: __expectString(output.NextToken),
1536
- VirtualMachines: output.VirtualMachines !== undefined && output.VirtualMachines !== null
1527
+ VirtualMachines: output.VirtualMachines != null
1537
1528
  ? deserializeAws_json1_0VirtualMachines(output.VirtualMachines, context)
1538
1529
  : undefined,
1539
1530
  };
@@ -1604,7 +1595,7 @@ var deserializeAws_json1_0VirtualMachine = function (output, context) {
1604
1595
  return {
1605
1596
  HostName: __expectString(output.HostName),
1606
1597
  HypervisorId: __expectString(output.HypervisorId),
1607
- LastBackupDate: output.LastBackupDate !== undefined && output.LastBackupDate !== null
1598
+ LastBackupDate: output.LastBackupDate != null
1608
1599
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastBackupDate)))
1609
1600
  : undefined,
1610
1601
  Name: __expectString(output.Name),
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-backup-gateway",
3
3
  "description": "AWS SDK for JavaScript Backup Gateway Client for Node.js, Browser and React Native",
4
- "version": "3.121.0",
4
+ "version": "3.127.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.127.0",
22
+ "@aws-sdk/config-resolver": "3.127.0",
23
+ "@aws-sdk/credential-provider-node": "3.127.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.127.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.127.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"