@aws-sdk/client-backup 3.126.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.
@@ -16,12 +16,9 @@ const serializeAws_restJson1CreateBackupPlanCommand = async (input, context) =>
16
16
  const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/backup/plans";
17
17
  let body;
18
18
  body = JSON.stringify({
19
- ...(input.BackupPlan !== undefined &&
20
- input.BackupPlan !== null && { BackupPlan: serializeAws_restJson1BackupPlanInput(input.BackupPlan, context) }),
21
- ...(input.BackupPlanTags !== undefined &&
22
- input.BackupPlanTags !== null && { BackupPlanTags: serializeAws_restJson1Tags(input.BackupPlanTags, context) }),
23
- ...(input.CreatorRequestId !== undefined &&
24
- input.CreatorRequestId !== null && { CreatorRequestId: input.CreatorRequestId }),
19
+ ...(input.BackupPlan != null && { BackupPlan: serializeAws_restJson1BackupPlanInput(input.BackupPlan, context) }),
20
+ ...(input.BackupPlanTags != null && { BackupPlanTags: serializeAws_restJson1Tags(input.BackupPlanTags, context) }),
21
+ ...(input.CreatorRequestId != null && { CreatorRequestId: input.CreatorRequestId }),
25
22
  });
26
23
  return new protocol_http_1.HttpRequest({
27
24
  protocol,
@@ -52,12 +49,10 @@ const serializeAws_restJson1CreateBackupSelectionCommand = async (input, context
52
49
  }
53
50
  let body;
54
51
  body = JSON.stringify({
55
- ...(input.BackupSelection !== undefined &&
56
- input.BackupSelection !== null && {
52
+ ...(input.BackupSelection != null && {
57
53
  BackupSelection: serializeAws_restJson1BackupSelection(input.BackupSelection, context),
58
54
  }),
59
- ...(input.CreatorRequestId !== undefined &&
60
- input.CreatorRequestId !== null && { CreatorRequestId: input.CreatorRequestId }),
55
+ ...(input.CreatorRequestId != null && { CreatorRequestId: input.CreatorRequestId }),
61
56
  });
62
57
  return new protocol_http_1.HttpRequest({
63
58
  protocol,
@@ -88,14 +83,11 @@ const serializeAws_restJson1CreateBackupVaultCommand = async (input, context) =>
88
83
  }
89
84
  let body;
90
85
  body = JSON.stringify({
91
- ...(input.BackupVaultTags !== undefined &&
92
- input.BackupVaultTags !== null && {
86
+ ...(input.BackupVaultTags != null && {
93
87
  BackupVaultTags: serializeAws_restJson1Tags(input.BackupVaultTags, context),
94
88
  }),
95
- ...(input.CreatorRequestId !== undefined &&
96
- input.CreatorRequestId !== null && { CreatorRequestId: input.CreatorRequestId }),
97
- ...(input.EncryptionKeyArn !== undefined &&
98
- input.EncryptionKeyArn !== null && { EncryptionKeyArn: input.EncryptionKeyArn }),
89
+ ...(input.CreatorRequestId != null && { CreatorRequestId: input.CreatorRequestId }),
90
+ ...(input.EncryptionKeyArn != null && { EncryptionKeyArn: input.EncryptionKeyArn }),
99
91
  });
100
92
  return new protocol_http_1.HttpRequest({
101
93
  protocol,
@@ -117,15 +109,14 @@ const serializeAws_restJson1CreateFrameworkCommand = async (input, context) => {
117
109
  const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/audit/frameworks";
118
110
  let body;
119
111
  body = JSON.stringify({
120
- ...(input.FrameworkControls !== undefined &&
121
- input.FrameworkControls !== null && {
112
+ ...(input.FrameworkControls != null && {
122
113
  FrameworkControls: serializeAws_restJson1FrameworkControls(input.FrameworkControls, context),
123
114
  }),
124
- ...(input.FrameworkDescription !== undefined &&
125
- input.FrameworkDescription !== null && { FrameworkDescription: input.FrameworkDescription }),
126
- ...(input.FrameworkName !== undefined && input.FrameworkName !== null && { FrameworkName: input.FrameworkName }),
127
- ...(input.FrameworkTags !== undefined &&
128
- input.FrameworkTags !== null && { FrameworkTags: serializeAws_restJson1stringMap(input.FrameworkTags, context) }),
115
+ ...(input.FrameworkDescription != null && { FrameworkDescription: input.FrameworkDescription }),
116
+ ...(input.FrameworkName != null && { FrameworkName: input.FrameworkName }),
117
+ ...(input.FrameworkTags != null && {
118
+ FrameworkTags: serializeAws_restJson1stringMap(input.FrameworkTags, context),
119
+ }),
129
120
  IdempotencyToken: (_a = input.IdempotencyToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
130
121
  });
131
122
  return new protocol_http_1.HttpRequest({
@@ -149,20 +140,15 @@ const serializeAws_restJson1CreateReportPlanCommand = async (input, context) =>
149
140
  let body;
150
141
  body = JSON.stringify({
151
142
  IdempotencyToken: (_a = input.IdempotencyToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
152
- ...(input.ReportDeliveryChannel !== undefined &&
153
- input.ReportDeliveryChannel !== null && {
143
+ ...(input.ReportDeliveryChannel != null && {
154
144
  ReportDeliveryChannel: serializeAws_restJson1ReportDeliveryChannel(input.ReportDeliveryChannel, context),
155
145
  }),
156
- ...(input.ReportPlanDescription !== undefined &&
157
- input.ReportPlanDescription !== null && { ReportPlanDescription: input.ReportPlanDescription }),
158
- ...(input.ReportPlanName !== undefined &&
159
- input.ReportPlanName !== null && { ReportPlanName: input.ReportPlanName }),
160
- ...(input.ReportPlanTags !== undefined &&
161
- input.ReportPlanTags !== null && {
146
+ ...(input.ReportPlanDescription != null && { ReportPlanDescription: input.ReportPlanDescription }),
147
+ ...(input.ReportPlanName != null && { ReportPlanName: input.ReportPlanName }),
148
+ ...(input.ReportPlanTags != null && {
162
149
  ReportPlanTags: serializeAws_restJson1stringMap(input.ReportPlanTags, context),
163
150
  }),
164
- ...(input.ReportSetting !== undefined &&
165
- input.ReportSetting !== null && {
151
+ ...(input.ReportSetting != null && {
166
152
  ReportSetting: serializeAws_restJson1ReportSetting(input.ReportSetting, context),
167
153
  }),
168
154
  });
@@ -820,8 +806,7 @@ const serializeAws_restJson1GetBackupPlanFromJSONCommand = async (input, context
820
806
  const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/backup/template/json/toPlan";
821
807
  let body;
822
808
  body = JSON.stringify({
823
- ...(input.BackupPlanTemplateJson !== undefined &&
824
- input.BackupPlanTemplateJson !== null && { BackupPlanTemplateJson: input.BackupPlanTemplateJson }),
809
+ ...(input.BackupPlanTemplateJson != null && { BackupPlanTemplateJson: input.BackupPlanTemplateJson }),
825
810
  });
826
811
  return new protocol_http_1.HttpRequest({
827
812
  protocol,
@@ -1459,7 +1444,7 @@ const serializeAws_restJson1PutBackupVaultAccessPolicyCommand = async (input, co
1459
1444
  }
1460
1445
  let body;
1461
1446
  body = JSON.stringify({
1462
- ...(input.Policy !== undefined && input.Policy !== null && { Policy: input.Policy }),
1447
+ ...(input.Policy != null && { Policy: input.Policy }),
1463
1448
  });
1464
1449
  return new protocol_http_1.HttpRequest({
1465
1450
  protocol,
@@ -1491,12 +1476,9 @@ const serializeAws_restJson1PutBackupVaultLockConfigurationCommand = async (inpu
1491
1476
  }
1492
1477
  let body;
1493
1478
  body = JSON.stringify({
1494
- ...(input.ChangeableForDays !== undefined &&
1495
- input.ChangeableForDays !== null && { ChangeableForDays: input.ChangeableForDays }),
1496
- ...(input.MaxRetentionDays !== undefined &&
1497
- input.MaxRetentionDays !== null && { MaxRetentionDays: input.MaxRetentionDays }),
1498
- ...(input.MinRetentionDays !== undefined &&
1499
- input.MinRetentionDays !== null && { MinRetentionDays: input.MinRetentionDays }),
1479
+ ...(input.ChangeableForDays != null && { ChangeableForDays: input.ChangeableForDays }),
1480
+ ...(input.MaxRetentionDays != null && { MaxRetentionDays: input.MaxRetentionDays }),
1481
+ ...(input.MinRetentionDays != null && { MinRetentionDays: input.MinRetentionDays }),
1500
1482
  });
1501
1483
  return new protocol_http_1.HttpRequest({
1502
1484
  protocol,
@@ -1528,11 +1510,10 @@ const serializeAws_restJson1PutBackupVaultNotificationsCommand = async (input, c
1528
1510
  }
1529
1511
  let body;
1530
1512
  body = JSON.stringify({
1531
- ...(input.BackupVaultEvents !== undefined &&
1532
- input.BackupVaultEvents !== null && {
1513
+ ...(input.BackupVaultEvents != null && {
1533
1514
  BackupVaultEvents: serializeAws_restJson1BackupVaultEvents(input.BackupVaultEvents, context),
1534
1515
  }),
1535
- ...(input.SNSTopicArn !== undefined && input.SNSTopicArn !== null && { SNSTopicArn: input.SNSTopicArn }),
1516
+ ...(input.SNSTopicArn != null && { SNSTopicArn: input.SNSTopicArn }),
1536
1517
  });
1537
1518
  return new protocol_http_1.HttpRequest({
1538
1519
  protocol,
@@ -1553,26 +1534,19 @@ const serializeAws_restJson1StartBackupJobCommand = async (input, context) => {
1553
1534
  const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/backup-jobs";
1554
1535
  let body;
1555
1536
  body = JSON.stringify({
1556
- ...(input.BackupOptions !== undefined &&
1557
- input.BackupOptions !== null && {
1537
+ ...(input.BackupOptions != null && {
1558
1538
  BackupOptions: serializeAws_restJson1BackupOptions(input.BackupOptions, context),
1559
1539
  }),
1560
- ...(input.BackupVaultName !== undefined &&
1561
- input.BackupVaultName !== null && { BackupVaultName: input.BackupVaultName }),
1562
- ...(input.CompleteWindowMinutes !== undefined &&
1563
- input.CompleteWindowMinutes !== null && { CompleteWindowMinutes: input.CompleteWindowMinutes }),
1564
- ...(input.IamRoleArn !== undefined && input.IamRoleArn !== null && { IamRoleArn: input.IamRoleArn }),
1565
- ...(input.IdempotencyToken !== undefined &&
1566
- input.IdempotencyToken !== null && { IdempotencyToken: input.IdempotencyToken }),
1567
- ...(input.Lifecycle !== undefined &&
1568
- input.Lifecycle !== null && { Lifecycle: serializeAws_restJson1Lifecycle(input.Lifecycle, context) }),
1569
- ...(input.RecoveryPointTags !== undefined &&
1570
- input.RecoveryPointTags !== null && {
1540
+ ...(input.BackupVaultName != null && { BackupVaultName: input.BackupVaultName }),
1541
+ ...(input.CompleteWindowMinutes != null && { CompleteWindowMinutes: input.CompleteWindowMinutes }),
1542
+ ...(input.IamRoleArn != null && { IamRoleArn: input.IamRoleArn }),
1543
+ ...(input.IdempotencyToken != null && { IdempotencyToken: input.IdempotencyToken }),
1544
+ ...(input.Lifecycle != null && { Lifecycle: serializeAws_restJson1Lifecycle(input.Lifecycle, context) }),
1545
+ ...(input.RecoveryPointTags != null && {
1571
1546
  RecoveryPointTags: serializeAws_restJson1Tags(input.RecoveryPointTags, context),
1572
1547
  }),
1573
- ...(input.ResourceArn !== undefined && input.ResourceArn !== null && { ResourceArn: input.ResourceArn }),
1574
- ...(input.StartWindowMinutes !== undefined &&
1575
- input.StartWindowMinutes !== null && { StartWindowMinutes: input.StartWindowMinutes }),
1548
+ ...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
1549
+ ...(input.StartWindowMinutes != null && { StartWindowMinutes: input.StartWindowMinutes }),
1576
1550
  });
1577
1551
  return new protocol_http_1.HttpRequest({
1578
1552
  protocol,
@@ -1593,17 +1567,12 @@ const serializeAws_restJson1StartCopyJobCommand = async (input, context) => {
1593
1567
  const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/copy-jobs";
1594
1568
  let body;
1595
1569
  body = JSON.stringify({
1596
- ...(input.DestinationBackupVaultArn !== undefined &&
1597
- input.DestinationBackupVaultArn !== null && { DestinationBackupVaultArn: input.DestinationBackupVaultArn }),
1598
- ...(input.IamRoleArn !== undefined && input.IamRoleArn !== null && { IamRoleArn: input.IamRoleArn }),
1599
- ...(input.IdempotencyToken !== undefined &&
1600
- input.IdempotencyToken !== null && { IdempotencyToken: input.IdempotencyToken }),
1601
- ...(input.Lifecycle !== undefined &&
1602
- input.Lifecycle !== null && { Lifecycle: serializeAws_restJson1Lifecycle(input.Lifecycle, context) }),
1603
- ...(input.RecoveryPointArn !== undefined &&
1604
- input.RecoveryPointArn !== null && { RecoveryPointArn: input.RecoveryPointArn }),
1605
- ...(input.SourceBackupVaultName !== undefined &&
1606
- input.SourceBackupVaultName !== null && { SourceBackupVaultName: input.SourceBackupVaultName }),
1570
+ ...(input.DestinationBackupVaultArn != null && { DestinationBackupVaultArn: input.DestinationBackupVaultArn }),
1571
+ ...(input.IamRoleArn != null && { IamRoleArn: input.IamRoleArn }),
1572
+ ...(input.IdempotencyToken != null && { IdempotencyToken: input.IdempotencyToken }),
1573
+ ...(input.Lifecycle != null && { Lifecycle: serializeAws_restJson1Lifecycle(input.Lifecycle, context) }),
1574
+ ...(input.RecoveryPointArn != null && { RecoveryPointArn: input.RecoveryPointArn }),
1575
+ ...(input.SourceBackupVaultName != null && { SourceBackupVaultName: input.SourceBackupVaultName }),
1607
1576
  });
1608
1577
  return new protocol_http_1.HttpRequest({
1609
1578
  protocol,
@@ -1656,14 +1625,11 @@ const serializeAws_restJson1StartRestoreJobCommand = async (input, context) => {
1656
1625
  const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/restore-jobs";
1657
1626
  let body;
1658
1627
  body = JSON.stringify({
1659
- ...(input.IamRoleArn !== undefined && input.IamRoleArn !== null && { IamRoleArn: input.IamRoleArn }),
1660
- ...(input.IdempotencyToken !== undefined &&
1661
- input.IdempotencyToken !== null && { IdempotencyToken: input.IdempotencyToken }),
1662
- ...(input.Metadata !== undefined &&
1663
- input.Metadata !== null && { Metadata: serializeAws_restJson1Metadata(input.Metadata, context) }),
1664
- ...(input.RecoveryPointArn !== undefined &&
1665
- input.RecoveryPointArn !== null && { RecoveryPointArn: input.RecoveryPointArn }),
1666
- ...(input.ResourceType !== undefined && input.ResourceType !== null && { ResourceType: input.ResourceType }),
1628
+ ...(input.IamRoleArn != null && { IamRoleArn: input.IamRoleArn }),
1629
+ ...(input.IdempotencyToken != null && { IdempotencyToken: input.IdempotencyToken }),
1630
+ ...(input.Metadata != null && { Metadata: serializeAws_restJson1Metadata(input.Metadata, context) }),
1631
+ ...(input.RecoveryPointArn != null && { RecoveryPointArn: input.RecoveryPointArn }),
1632
+ ...(input.ResourceType != null && { ResourceType: input.ResourceType }),
1667
1633
  });
1668
1634
  return new protocol_http_1.HttpRequest({
1669
1635
  protocol,
@@ -1720,7 +1686,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
1720
1686
  }
1721
1687
  let body;
1722
1688
  body = JSON.stringify({
1723
- ...(input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_restJson1Tags(input.Tags, context) }),
1689
+ ...(input.Tags != null && { Tags: serializeAws_restJson1Tags(input.Tags, context) }),
1724
1690
  });
1725
1691
  return new protocol_http_1.HttpRequest({
1726
1692
  protocol,
@@ -1751,8 +1717,7 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
1751
1717
  }
1752
1718
  let body;
1753
1719
  body = JSON.stringify({
1754
- ...(input.TagKeyList !== undefined &&
1755
- input.TagKeyList !== null && { TagKeyList: serializeAws_restJson1TagKeyList(input.TagKeyList, context) }),
1720
+ ...(input.TagKeyList != null && { TagKeyList: serializeAws_restJson1TagKeyList(input.TagKeyList, context) }),
1756
1721
  });
1757
1722
  return new protocol_http_1.HttpRequest({
1758
1723
  protocol,
@@ -1783,8 +1748,7 @@ const serializeAws_restJson1UpdateBackupPlanCommand = async (input, context) =>
1783
1748
  }
1784
1749
  let body;
1785
1750
  body = JSON.stringify({
1786
- ...(input.BackupPlan !== undefined &&
1787
- input.BackupPlan !== null && { BackupPlan: serializeAws_restJson1BackupPlanInput(input.BackupPlan, context) }),
1751
+ ...(input.BackupPlan != null && { BackupPlan: serializeAws_restJson1BackupPlanInput(input.BackupPlan, context) }),
1788
1752
  });
1789
1753
  return new protocol_http_1.HttpRequest({
1790
1754
  protocol,
@@ -1816,12 +1780,10 @@ const serializeAws_restJson1UpdateFrameworkCommand = async (input, context) => {
1816
1780
  }
1817
1781
  let body;
1818
1782
  body = JSON.stringify({
1819
- ...(input.FrameworkControls !== undefined &&
1820
- input.FrameworkControls !== null && {
1783
+ ...(input.FrameworkControls != null && {
1821
1784
  FrameworkControls: serializeAws_restJson1FrameworkControls(input.FrameworkControls, context),
1822
1785
  }),
1823
- ...(input.FrameworkDescription !== undefined &&
1824
- input.FrameworkDescription !== null && { FrameworkDescription: input.FrameworkDescription }),
1786
+ ...(input.FrameworkDescription != null && { FrameworkDescription: input.FrameworkDescription }),
1825
1787
  IdempotencyToken: (_a = input.IdempotencyToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
1826
1788
  });
1827
1789
  return new protocol_http_1.HttpRequest({
@@ -1843,8 +1805,7 @@ const serializeAws_restJson1UpdateGlobalSettingsCommand = async (input, context)
1843
1805
  const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/global-settings";
1844
1806
  let body;
1845
1807
  body = JSON.stringify({
1846
- ...(input.GlobalSettings !== undefined &&
1847
- input.GlobalSettings !== null && {
1808
+ ...(input.GlobalSettings != null && {
1848
1809
  GlobalSettings: serializeAws_restJson1GlobalSettings(input.GlobalSettings, context),
1849
1810
  }),
1850
1811
  });
@@ -1888,8 +1849,7 @@ const serializeAws_restJson1UpdateRecoveryPointLifecycleCommand = async (input,
1888
1849
  }
1889
1850
  let body;
1890
1851
  body = JSON.stringify({
1891
- ...(input.Lifecycle !== undefined &&
1892
- input.Lifecycle !== null && { Lifecycle: serializeAws_restJson1Lifecycle(input.Lifecycle, context) }),
1852
+ ...(input.Lifecycle != null && { Lifecycle: serializeAws_restJson1Lifecycle(input.Lifecycle, context) }),
1893
1853
  });
1894
1854
  return new protocol_http_1.HttpRequest({
1895
1855
  protocol,
@@ -1910,12 +1870,10 @@ const serializeAws_restJson1UpdateRegionSettingsCommand = async (input, context)
1910
1870
  const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/account-settings";
1911
1871
  let body;
1912
1872
  body = JSON.stringify({
1913
- ...(input.ResourceTypeManagementPreference !== undefined &&
1914
- input.ResourceTypeManagementPreference !== null && {
1873
+ ...(input.ResourceTypeManagementPreference != null && {
1915
1874
  ResourceTypeManagementPreference: serializeAws_restJson1ResourceTypeManagementPreference(input.ResourceTypeManagementPreference, context),
1916
1875
  }),
1917
- ...(input.ResourceTypeOptInPreference !== undefined &&
1918
- input.ResourceTypeOptInPreference !== null && {
1876
+ ...(input.ResourceTypeOptInPreference != null && {
1919
1877
  ResourceTypeOptInPreference: serializeAws_restJson1ResourceTypeOptInPreference(input.ResourceTypeOptInPreference, context),
1920
1878
  }),
1921
1879
  });
@@ -1950,14 +1908,11 @@ const serializeAws_restJson1UpdateReportPlanCommand = async (input, context) =>
1950
1908
  let body;
1951
1909
  body = JSON.stringify({
1952
1910
  IdempotencyToken: (_a = input.IdempotencyToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
1953
- ...(input.ReportDeliveryChannel !== undefined &&
1954
- input.ReportDeliveryChannel !== null && {
1911
+ ...(input.ReportDeliveryChannel != null && {
1955
1912
  ReportDeliveryChannel: serializeAws_restJson1ReportDeliveryChannel(input.ReportDeliveryChannel, context),
1956
1913
  }),
1957
- ...(input.ReportPlanDescription !== undefined &&
1958
- input.ReportPlanDescription !== null && { ReportPlanDescription: input.ReportPlanDescription }),
1959
- ...(input.ReportSetting !== undefined &&
1960
- input.ReportSetting !== null && {
1914
+ ...(input.ReportPlanDescription != null && { ReportPlanDescription: input.ReportPlanDescription }),
1915
+ ...(input.ReportSetting != null && {
1961
1916
  ReportSetting: serializeAws_restJson1ReportSetting(input.ReportSetting, context),
1962
1917
  }),
1963
1918
  });
@@ -5769,11 +5724,10 @@ const deserializeAws_restJson1ServiceUnavailableExceptionResponse = async (parse
5769
5724
  };
5770
5725
  const serializeAws_restJson1AdvancedBackupSetting = (input, context) => {
5771
5726
  return {
5772
- ...(input.BackupOptions !== undefined &&
5773
- input.BackupOptions !== null && {
5727
+ ...(input.BackupOptions != null && {
5774
5728
  BackupOptions: serializeAws_restJson1BackupOptions(input.BackupOptions, context),
5775
5729
  }),
5776
- ...(input.ResourceType !== undefined && input.ResourceType !== null && { ResourceType: input.ResourceType }),
5730
+ ...(input.ResourceType != null && { ResourceType: input.ResourceType }),
5777
5731
  };
5778
5732
  };
5779
5733
  const serializeAws_restJson1AdvancedBackupSettings = (input, context) => {
@@ -5799,37 +5753,26 @@ const serializeAws_restJson1BackupOptions = (input, context) => {
5799
5753
  };
5800
5754
  const serializeAws_restJson1BackupPlanInput = (input, context) => {
5801
5755
  return {
5802
- ...(input.AdvancedBackupSettings !== undefined &&
5803
- input.AdvancedBackupSettings !== null && {
5756
+ ...(input.AdvancedBackupSettings != null && {
5804
5757
  AdvancedBackupSettings: serializeAws_restJson1AdvancedBackupSettings(input.AdvancedBackupSettings, context),
5805
5758
  }),
5806
- ...(input.BackupPlanName !== undefined &&
5807
- input.BackupPlanName !== null && { BackupPlanName: input.BackupPlanName }),
5808
- ...(input.Rules !== undefined &&
5809
- input.Rules !== null && { Rules: serializeAws_restJson1BackupRulesInput(input.Rules, context) }),
5759
+ ...(input.BackupPlanName != null && { BackupPlanName: input.BackupPlanName }),
5760
+ ...(input.Rules != null && { Rules: serializeAws_restJson1BackupRulesInput(input.Rules, context) }),
5810
5761
  };
5811
5762
  };
5812
5763
  const serializeAws_restJson1BackupRuleInput = (input, context) => {
5813
5764
  return {
5814
- ...(input.CompletionWindowMinutes !== undefined &&
5815
- input.CompletionWindowMinutes !== null && { CompletionWindowMinutes: input.CompletionWindowMinutes }),
5816
- ...(input.CopyActions !== undefined &&
5817
- input.CopyActions !== null && { CopyActions: serializeAws_restJson1CopyActions(input.CopyActions, context) }),
5818
- ...(input.EnableContinuousBackup !== undefined &&
5819
- input.EnableContinuousBackup !== null && { EnableContinuousBackup: input.EnableContinuousBackup }),
5820
- ...(input.Lifecycle !== undefined &&
5821
- input.Lifecycle !== null && { Lifecycle: serializeAws_restJson1Lifecycle(input.Lifecycle, context) }),
5822
- ...(input.RecoveryPointTags !== undefined &&
5823
- input.RecoveryPointTags !== null && {
5765
+ ...(input.CompletionWindowMinutes != null && { CompletionWindowMinutes: input.CompletionWindowMinutes }),
5766
+ ...(input.CopyActions != null && { CopyActions: serializeAws_restJson1CopyActions(input.CopyActions, context) }),
5767
+ ...(input.EnableContinuousBackup != null && { EnableContinuousBackup: input.EnableContinuousBackup }),
5768
+ ...(input.Lifecycle != null && { Lifecycle: serializeAws_restJson1Lifecycle(input.Lifecycle, context) }),
5769
+ ...(input.RecoveryPointTags != null && {
5824
5770
  RecoveryPointTags: serializeAws_restJson1Tags(input.RecoveryPointTags, context),
5825
5771
  }),
5826
- ...(input.RuleName !== undefined && input.RuleName !== null && { RuleName: input.RuleName }),
5827
- ...(input.ScheduleExpression !== undefined &&
5828
- input.ScheduleExpression !== null && { ScheduleExpression: input.ScheduleExpression }),
5829
- ...(input.StartWindowMinutes !== undefined &&
5830
- input.StartWindowMinutes !== null && { StartWindowMinutes: input.StartWindowMinutes }),
5831
- ...(input.TargetBackupVaultName !== undefined &&
5832
- input.TargetBackupVaultName !== null && { TargetBackupVaultName: input.TargetBackupVaultName }),
5772
+ ...(input.RuleName != null && { RuleName: input.RuleName }),
5773
+ ...(input.ScheduleExpression != null && { ScheduleExpression: input.ScheduleExpression }),
5774
+ ...(input.StartWindowMinutes != null && { StartWindowMinutes: input.StartWindowMinutes }),
5775
+ ...(input.TargetBackupVaultName != null && { TargetBackupVaultName: input.TargetBackupVaultName }),
5833
5776
  };
5834
5777
  };
5835
5778
  const serializeAws_restJson1BackupRulesInput = (input, context) => {
@@ -5844,16 +5787,14 @@ const serializeAws_restJson1BackupRulesInput = (input, context) => {
5844
5787
  };
5845
5788
  const serializeAws_restJson1BackupSelection = (input, context) => {
5846
5789
  return {
5847
- ...(input.Conditions !== undefined &&
5848
- input.Conditions !== null && { Conditions: serializeAws_restJson1Conditions(input.Conditions, context) }),
5849
- ...(input.IamRoleArn !== undefined && input.IamRoleArn !== null && { IamRoleArn: input.IamRoleArn }),
5850
- ...(input.ListOfTags !== undefined &&
5851
- input.ListOfTags !== null && { ListOfTags: serializeAws_restJson1ListOfTags(input.ListOfTags, context) }),
5852
- ...(input.NotResources !== undefined &&
5853
- input.NotResources !== null && { NotResources: serializeAws_restJson1ResourceArns(input.NotResources, context) }),
5854
- ...(input.Resources !== undefined &&
5855
- input.Resources !== null && { Resources: serializeAws_restJson1ResourceArns(input.Resources, context) }),
5856
- ...(input.SelectionName !== undefined && input.SelectionName !== null && { SelectionName: input.SelectionName }),
5790
+ ...(input.Conditions != null && { Conditions: serializeAws_restJson1Conditions(input.Conditions, context) }),
5791
+ ...(input.IamRoleArn != null && { IamRoleArn: input.IamRoleArn }),
5792
+ ...(input.ListOfTags != null && { ListOfTags: serializeAws_restJson1ListOfTags(input.ListOfTags, context) }),
5793
+ ...(input.NotResources != null && {
5794
+ NotResources: serializeAws_restJson1ResourceArns(input.NotResources, context),
5795
+ }),
5796
+ ...(input.Resources != null && { Resources: serializeAws_restJson1ResourceArns(input.Resources, context) }),
5797
+ ...(input.SelectionName != null && { SelectionName: input.SelectionName }),
5857
5798
  };
5858
5799
  };
5859
5800
  const serializeAws_restJson1BackupVaultEvents = (input, context) => {
@@ -5878,17 +5819,15 @@ const serializeAws_restJson1ComplianceResourceIdList = (input, context) => {
5878
5819
  };
5879
5820
  const serializeAws_restJson1Condition = (input, context) => {
5880
5821
  return {
5881
- ...(input.ConditionKey !== undefined && input.ConditionKey !== null && { ConditionKey: input.ConditionKey }),
5882
- ...(input.ConditionType !== undefined && input.ConditionType !== null && { ConditionType: input.ConditionType }),
5883
- ...(input.ConditionValue !== undefined &&
5884
- input.ConditionValue !== null && { ConditionValue: input.ConditionValue }),
5822
+ ...(input.ConditionKey != null && { ConditionKey: input.ConditionKey }),
5823
+ ...(input.ConditionType != null && { ConditionType: input.ConditionType }),
5824
+ ...(input.ConditionValue != null && { ConditionValue: input.ConditionValue }),
5885
5825
  };
5886
5826
  };
5887
5827
  const serializeAws_restJson1ConditionParameter = (input, context) => {
5888
5828
  return {
5889
- ...(input.ConditionKey !== undefined && input.ConditionKey !== null && { ConditionKey: input.ConditionKey }),
5890
- ...(input.ConditionValue !== undefined &&
5891
- input.ConditionValue !== null && { ConditionValue: input.ConditionValue }),
5829
+ ...(input.ConditionKey != null && { ConditionKey: input.ConditionKey }),
5830
+ ...(input.ConditionValue != null && { ConditionValue: input.ConditionValue }),
5892
5831
  };
5893
5832
  };
5894
5833
  const serializeAws_restJson1ConditionParameters = (input, context) => {
@@ -5903,29 +5842,24 @@ const serializeAws_restJson1ConditionParameters = (input, context) => {
5903
5842
  };
5904
5843
  const serializeAws_restJson1Conditions = (input, context) => {
5905
5844
  return {
5906
- ...(input.StringEquals !== undefined &&
5907
- input.StringEquals !== null && {
5845
+ ...(input.StringEquals != null && {
5908
5846
  StringEquals: serializeAws_restJson1ConditionParameters(input.StringEquals, context),
5909
5847
  }),
5910
- ...(input.StringLike !== undefined &&
5911
- input.StringLike !== null && {
5848
+ ...(input.StringLike != null && {
5912
5849
  StringLike: serializeAws_restJson1ConditionParameters(input.StringLike, context),
5913
5850
  }),
5914
- ...(input.StringNotEquals !== undefined &&
5915
- input.StringNotEquals !== null && {
5851
+ ...(input.StringNotEquals != null && {
5916
5852
  StringNotEquals: serializeAws_restJson1ConditionParameters(input.StringNotEquals, context),
5917
5853
  }),
5918
- ...(input.StringNotLike !== undefined &&
5919
- input.StringNotLike !== null && {
5854
+ ...(input.StringNotLike != null && {
5920
5855
  StringNotLike: serializeAws_restJson1ConditionParameters(input.StringNotLike, context),
5921
5856
  }),
5922
5857
  };
5923
5858
  };
5924
5859
  const serializeAws_restJson1ControlInputParameter = (input, context) => {
5925
5860
  return {
5926
- ...(input.ParameterName !== undefined && input.ParameterName !== null && { ParameterName: input.ParameterName }),
5927
- ...(input.ParameterValue !== undefined &&
5928
- input.ParameterValue !== null && { ParameterValue: input.ParameterValue }),
5861
+ ...(input.ParameterName != null && { ParameterName: input.ParameterName }),
5862
+ ...(input.ParameterValue != null && { ParameterValue: input.ParameterValue }),
5929
5863
  };
5930
5864
  };
5931
5865
  const serializeAws_restJson1ControlInputParameters = (input, context) => {
@@ -5940,24 +5874,19 @@ const serializeAws_restJson1ControlInputParameters = (input, context) => {
5940
5874
  };
5941
5875
  const serializeAws_restJson1ControlScope = (input, context) => {
5942
5876
  return {
5943
- ...(input.ComplianceResourceIds !== undefined &&
5944
- input.ComplianceResourceIds !== null && {
5877
+ ...(input.ComplianceResourceIds != null && {
5945
5878
  ComplianceResourceIds: serializeAws_restJson1ComplianceResourceIdList(input.ComplianceResourceIds, context),
5946
5879
  }),
5947
- ...(input.ComplianceResourceTypes !== undefined &&
5948
- input.ComplianceResourceTypes !== null && {
5880
+ ...(input.ComplianceResourceTypes != null && {
5949
5881
  ComplianceResourceTypes: serializeAws_restJson1ResourceTypeList(input.ComplianceResourceTypes, context),
5950
5882
  }),
5951
- ...(input.Tags !== undefined &&
5952
- input.Tags !== null && { Tags: serializeAws_restJson1stringMap(input.Tags, context) }),
5883
+ ...(input.Tags != null && { Tags: serializeAws_restJson1stringMap(input.Tags, context) }),
5953
5884
  };
5954
5885
  };
5955
5886
  const serializeAws_restJson1CopyAction = (input, context) => {
5956
5887
  return {
5957
- ...(input.DestinationBackupVaultArn !== undefined &&
5958
- input.DestinationBackupVaultArn !== null && { DestinationBackupVaultArn: input.DestinationBackupVaultArn }),
5959
- ...(input.Lifecycle !== undefined &&
5960
- input.Lifecycle !== null && { Lifecycle: serializeAws_restJson1Lifecycle(input.Lifecycle, context) }),
5888
+ ...(input.DestinationBackupVaultArn != null && { DestinationBackupVaultArn: input.DestinationBackupVaultArn }),
5889
+ ...(input.Lifecycle != null && { Lifecycle: serializeAws_restJson1Lifecycle(input.Lifecycle, context) }),
5961
5890
  };
5962
5891
  };
5963
5892
  const serializeAws_restJson1CopyActions = (input, context) => {
@@ -5982,13 +5911,13 @@ const serializeAws_restJson1FormatList = (input, context) => {
5982
5911
  };
5983
5912
  const serializeAws_restJson1FrameworkControl = (input, context) => {
5984
5913
  return {
5985
- ...(input.ControlInputParameters !== undefined &&
5986
- input.ControlInputParameters !== null && {
5914
+ ...(input.ControlInputParameters != null && {
5987
5915
  ControlInputParameters: serializeAws_restJson1ControlInputParameters(input.ControlInputParameters, context),
5988
5916
  }),
5989
- ...(input.ControlName !== undefined && input.ControlName !== null && { ControlName: input.ControlName }),
5990
- ...(input.ControlScope !== undefined &&
5991
- input.ControlScope !== null && { ControlScope: serializeAws_restJson1ControlScope(input.ControlScope, context) }),
5917
+ ...(input.ControlName != null && { ControlName: input.ControlName }),
5918
+ ...(input.ControlScope != null && {
5919
+ ControlScope: serializeAws_restJson1ControlScope(input.ControlScope, context),
5920
+ }),
5992
5921
  };
5993
5922
  };
5994
5923
  const serializeAws_restJson1FrameworkControls = (input, context) => {
@@ -6014,10 +5943,8 @@ const serializeAws_restJson1GlobalSettings = (input, context) => {
6014
5943
  };
6015
5944
  const serializeAws_restJson1Lifecycle = (input, context) => {
6016
5945
  return {
6017
- ...(input.DeleteAfterDays !== undefined &&
6018
- input.DeleteAfterDays !== null && { DeleteAfterDays: input.DeleteAfterDays }),
6019
- ...(input.MoveToColdStorageAfterDays !== undefined &&
6020
- input.MoveToColdStorageAfterDays !== null && { MoveToColdStorageAfterDays: input.MoveToColdStorageAfterDays }),
5946
+ ...(input.DeleteAfterDays != null && { DeleteAfterDays: input.DeleteAfterDays }),
5947
+ ...(input.MoveToColdStorageAfterDays != null && { MoveToColdStorageAfterDays: input.MoveToColdStorageAfterDays }),
6021
5948
  };
6022
5949
  };
6023
5950
  const serializeAws_restJson1ListOfTags = (input, context) => {
@@ -6043,22 +5970,18 @@ const serializeAws_restJson1Metadata = (input, context) => {
6043
5970
  };
6044
5971
  const serializeAws_restJson1ReportDeliveryChannel = (input, context) => {
6045
5972
  return {
6046
- ...(input.Formats !== undefined &&
6047
- input.Formats !== null && { Formats: serializeAws_restJson1FormatList(input.Formats, context) }),
6048
- ...(input.S3BucketName !== undefined && input.S3BucketName !== null && { S3BucketName: input.S3BucketName }),
6049
- ...(input.S3KeyPrefix !== undefined && input.S3KeyPrefix !== null && { S3KeyPrefix: input.S3KeyPrefix }),
5973
+ ...(input.Formats != null && { Formats: serializeAws_restJson1FormatList(input.Formats, context) }),
5974
+ ...(input.S3BucketName != null && { S3BucketName: input.S3BucketName }),
5975
+ ...(input.S3KeyPrefix != null && { S3KeyPrefix: input.S3KeyPrefix }),
6050
5976
  };
6051
5977
  };
6052
5978
  const serializeAws_restJson1ReportSetting = (input, context) => {
6053
5979
  return {
6054
- ...(input.FrameworkArns !== undefined &&
6055
- input.FrameworkArns !== null && {
5980
+ ...(input.FrameworkArns != null && {
6056
5981
  FrameworkArns: serializeAws_restJson1stringList(input.FrameworkArns, context),
6057
5982
  }),
6058
- ...(input.NumberOfFrameworks !== undefined &&
6059
- input.NumberOfFrameworks !== null && { NumberOfFrameworks: input.NumberOfFrameworks }),
6060
- ...(input.ReportTemplate !== undefined &&
6061
- input.ReportTemplate !== null && { ReportTemplate: input.ReportTemplate }),
5983
+ ...(input.NumberOfFrameworks != null && { NumberOfFrameworks: input.NumberOfFrameworks }),
5984
+ ...(input.ReportTemplate != null && { ReportTemplate: input.ReportTemplate }),
6062
5985
  };
6063
5986
  };
6064
5987
  const serializeAws_restJson1ResourceArns = (input, context) => {
@@ -6147,9 +6070,7 @@ const serializeAws_restJson1Tags = (input, context) => {
6147
6070
  };
6148
6071
  const deserializeAws_restJson1AdvancedBackupSetting = (output, context) => {
6149
6072
  return {
6150
- BackupOptions: output.BackupOptions !== undefined && output.BackupOptions !== null
6151
- ? deserializeAws_restJson1BackupOptions(output.BackupOptions, context)
6152
- : undefined,
6073
+ BackupOptions: output.BackupOptions != null ? deserializeAws_restJson1BackupOptions(output.BackupOptions, context) : undefined,
6153
6074
  ResourceType: (0, smithy_client_1.expectString)(output.ResourceType),
6154
6075
  };
6155
6076
  };
@@ -6168,24 +6089,20 @@ const deserializeAws_restJson1BackupJob = (output, context) => {
6168
6089
  return {
6169
6090
  AccountId: (0, smithy_client_1.expectString)(output.AccountId),
6170
6091
  BackupJobId: (0, smithy_client_1.expectString)(output.BackupJobId),
6171
- BackupOptions: output.BackupOptions !== undefined && output.BackupOptions !== null
6172
- ? deserializeAws_restJson1BackupOptions(output.BackupOptions, context)
6173
- : undefined,
6092
+ BackupOptions: output.BackupOptions != null ? deserializeAws_restJson1BackupOptions(output.BackupOptions, context) : undefined,
6174
6093
  BackupSizeInBytes: (0, smithy_client_1.expectLong)(output.BackupSizeInBytes),
6175
6094
  BackupType: (0, smithy_client_1.expectString)(output.BackupType),
6176
6095
  BackupVaultArn: (0, smithy_client_1.expectString)(output.BackupVaultArn),
6177
6096
  BackupVaultName: (0, smithy_client_1.expectString)(output.BackupVaultName),
6178
6097
  BytesTransferred: (0, smithy_client_1.expectLong)(output.BytesTransferred),
6179
- CompletionDate: output.CompletionDate !== undefined && output.CompletionDate !== null
6098
+ CompletionDate: output.CompletionDate != null
6180
6099
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CompletionDate)))
6181
6100
  : undefined,
6182
- CreatedBy: output.CreatedBy !== undefined && output.CreatedBy !== null
6183
- ? deserializeAws_restJson1RecoveryPointCreator(output.CreatedBy, context)
6184
- : undefined,
6185
- CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
6101
+ CreatedBy: output.CreatedBy != null ? deserializeAws_restJson1RecoveryPointCreator(output.CreatedBy, context) : undefined,
6102
+ CreationDate: output.CreationDate != null
6186
6103
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationDate)))
6187
6104
  : undefined,
6188
- ExpectedCompletionDate: output.ExpectedCompletionDate !== undefined && output.ExpectedCompletionDate !== null
6105
+ ExpectedCompletionDate: output.ExpectedCompletionDate != null
6189
6106
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ExpectedCompletionDate)))
6190
6107
  : undefined,
6191
6108
  IamRoleArn: (0, smithy_client_1.expectString)(output.IamRoleArn),
@@ -6193,9 +6110,7 @@ const deserializeAws_restJson1BackupJob = (output, context) => {
6193
6110
  RecoveryPointArn: (0, smithy_client_1.expectString)(output.RecoveryPointArn),
6194
6111
  ResourceArn: (0, smithy_client_1.expectString)(output.ResourceArn),
6195
6112
  ResourceType: (0, smithy_client_1.expectString)(output.ResourceType),
6196
- StartBy: output.StartBy !== undefined && output.StartBy !== null
6197
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartBy)))
6198
- : undefined,
6113
+ StartBy: output.StartBy != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartBy))) : undefined,
6199
6114
  State: (0, smithy_client_1.expectString)(output.State),
6200
6115
  StatusMessage: (0, smithy_client_1.expectString)(output.StatusMessage),
6201
6116
  };
@@ -6224,13 +6139,11 @@ const deserializeAws_restJson1BackupOptions = (output, context) => {
6224
6139
  };
6225
6140
  const deserializeAws_restJson1BackupPlan = (output, context) => {
6226
6141
  return {
6227
- AdvancedBackupSettings: output.AdvancedBackupSettings !== undefined && output.AdvancedBackupSettings !== null
6142
+ AdvancedBackupSettings: output.AdvancedBackupSettings != null
6228
6143
  ? deserializeAws_restJson1AdvancedBackupSettings(output.AdvancedBackupSettings, context)
6229
6144
  : undefined,
6230
6145
  BackupPlanName: (0, smithy_client_1.expectString)(output.BackupPlanName),
6231
- Rules: output.Rules !== undefined && output.Rules !== null
6232
- ? deserializeAws_restJson1BackupRules(output.Rules, context)
6233
- : undefined,
6146
+ Rules: output.Rules != null ? deserializeAws_restJson1BackupRules(output.Rules, context) : undefined,
6234
6147
  };
6235
6148
  };
6236
6149
  const deserializeAws_restJson1BackupPlansList = (output, context) => {
@@ -6246,20 +6159,20 @@ const deserializeAws_restJson1BackupPlansList = (output, context) => {
6246
6159
  };
6247
6160
  const deserializeAws_restJson1BackupPlansListMember = (output, context) => {
6248
6161
  return {
6249
- AdvancedBackupSettings: output.AdvancedBackupSettings !== undefined && output.AdvancedBackupSettings !== null
6162
+ AdvancedBackupSettings: output.AdvancedBackupSettings != null
6250
6163
  ? deserializeAws_restJson1AdvancedBackupSettings(output.AdvancedBackupSettings, context)
6251
6164
  : undefined,
6252
6165
  BackupPlanArn: (0, smithy_client_1.expectString)(output.BackupPlanArn),
6253
6166
  BackupPlanId: (0, smithy_client_1.expectString)(output.BackupPlanId),
6254
6167
  BackupPlanName: (0, smithy_client_1.expectString)(output.BackupPlanName),
6255
- CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
6168
+ CreationDate: output.CreationDate != null
6256
6169
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationDate)))
6257
6170
  : undefined,
6258
6171
  CreatorRequestId: (0, smithy_client_1.expectString)(output.CreatorRequestId),
6259
- DeletionDate: output.DeletionDate !== undefined && output.DeletionDate !== null
6172
+ DeletionDate: output.DeletionDate != null
6260
6173
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.DeletionDate)))
6261
6174
  : undefined,
6262
- LastExecutionDate: output.LastExecutionDate !== undefined && output.LastExecutionDate !== null
6175
+ LastExecutionDate: output.LastExecutionDate != null
6263
6176
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastExecutionDate)))
6264
6177
  : undefined,
6265
6178
  VersionId: (0, smithy_client_1.expectString)(output.VersionId),
@@ -6296,16 +6209,10 @@ const deserializeAws_restJson1BackupPlanVersionsList = (output, context) => {
6296
6209
  const deserializeAws_restJson1BackupRule = (output, context) => {
6297
6210
  return {
6298
6211
  CompletionWindowMinutes: (0, smithy_client_1.expectLong)(output.CompletionWindowMinutes),
6299
- CopyActions: output.CopyActions !== undefined && output.CopyActions !== null
6300
- ? deserializeAws_restJson1CopyActions(output.CopyActions, context)
6301
- : undefined,
6212
+ CopyActions: output.CopyActions != null ? deserializeAws_restJson1CopyActions(output.CopyActions, context) : undefined,
6302
6213
  EnableContinuousBackup: (0, smithy_client_1.expectBoolean)(output.EnableContinuousBackup),
6303
- Lifecycle: output.Lifecycle !== undefined && output.Lifecycle !== null
6304
- ? deserializeAws_restJson1Lifecycle(output.Lifecycle, context)
6305
- : undefined,
6306
- RecoveryPointTags: output.RecoveryPointTags !== undefined && output.RecoveryPointTags !== null
6307
- ? deserializeAws_restJson1Tags(output.RecoveryPointTags, context)
6308
- : undefined,
6214
+ Lifecycle: output.Lifecycle != null ? deserializeAws_restJson1Lifecycle(output.Lifecycle, context) : undefined,
6215
+ RecoveryPointTags: output.RecoveryPointTags != null ? deserializeAws_restJson1Tags(output.RecoveryPointTags, context) : undefined,
6309
6216
  RuleId: (0, smithy_client_1.expectString)(output.RuleId),
6310
6217
  RuleName: (0, smithy_client_1.expectString)(output.RuleName),
6311
6218
  ScheduleExpression: (0, smithy_client_1.expectString)(output.ScheduleExpression),
@@ -6326,19 +6233,11 @@ const deserializeAws_restJson1BackupRules = (output, context) => {
6326
6233
  };
6327
6234
  const deserializeAws_restJson1BackupSelection = (output, context) => {
6328
6235
  return {
6329
- Conditions: output.Conditions !== undefined && output.Conditions !== null
6330
- ? deserializeAws_restJson1Conditions(output.Conditions, context)
6331
- : undefined,
6236
+ Conditions: output.Conditions != null ? deserializeAws_restJson1Conditions(output.Conditions, context) : undefined,
6332
6237
  IamRoleArn: (0, smithy_client_1.expectString)(output.IamRoleArn),
6333
- ListOfTags: output.ListOfTags !== undefined && output.ListOfTags !== null
6334
- ? deserializeAws_restJson1ListOfTags(output.ListOfTags, context)
6335
- : undefined,
6336
- NotResources: output.NotResources !== undefined && output.NotResources !== null
6337
- ? deserializeAws_restJson1ResourceArns(output.NotResources, context)
6338
- : undefined,
6339
- Resources: output.Resources !== undefined && output.Resources !== null
6340
- ? deserializeAws_restJson1ResourceArns(output.Resources, context)
6341
- : undefined,
6238
+ ListOfTags: output.ListOfTags != null ? deserializeAws_restJson1ListOfTags(output.ListOfTags, context) : undefined,
6239
+ NotResources: output.NotResources != null ? deserializeAws_restJson1ResourceArns(output.NotResources, context) : undefined,
6240
+ Resources: output.Resources != null ? deserializeAws_restJson1ResourceArns(output.Resources, context) : undefined,
6342
6241
  SelectionName: (0, smithy_client_1.expectString)(output.SelectionName),
6343
6242
  };
6344
6243
  };
@@ -6356,7 +6255,7 @@ const deserializeAws_restJson1BackupSelectionsList = (output, context) => {
6356
6255
  const deserializeAws_restJson1BackupSelectionsListMember = (output, context) => {
6357
6256
  return {
6358
6257
  BackupPlanId: (0, smithy_client_1.expectString)(output.BackupPlanId),
6359
- CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
6258
+ CreationDate: output.CreationDate != null
6360
6259
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationDate)))
6361
6260
  : undefined,
6362
6261
  CreatorRequestId: (0, smithy_client_1.expectString)(output.CreatorRequestId),
@@ -6391,14 +6290,12 @@ const deserializeAws_restJson1BackupVaultListMember = (output, context) => {
6391
6290
  return {
6392
6291
  BackupVaultArn: (0, smithy_client_1.expectString)(output.BackupVaultArn),
6393
6292
  BackupVaultName: (0, smithy_client_1.expectString)(output.BackupVaultName),
6394
- CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
6293
+ CreationDate: output.CreationDate != null
6395
6294
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationDate)))
6396
6295
  : undefined,
6397
6296
  CreatorRequestId: (0, smithy_client_1.expectString)(output.CreatorRequestId),
6398
6297
  EncryptionKeyArn: (0, smithy_client_1.expectString)(output.EncryptionKeyArn),
6399
- LockDate: output.LockDate !== undefined && output.LockDate !== null
6400
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LockDate)))
6401
- : undefined,
6298
+ LockDate: output.LockDate != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LockDate))) : undefined,
6402
6299
  Locked: (0, smithy_client_1.expectBoolean)(output.Locked),
6403
6300
  MaxRetentionDays: (0, smithy_client_1.expectLong)(output.MaxRetentionDays),
6404
6301
  MinRetentionDays: (0, smithy_client_1.expectLong)(output.MinRetentionDays),
@@ -6407,10 +6304,8 @@ const deserializeAws_restJson1BackupVaultListMember = (output, context) => {
6407
6304
  };
6408
6305
  const deserializeAws_restJson1CalculatedLifecycle = (output, context) => {
6409
6306
  return {
6410
- DeleteAt: output.DeleteAt !== undefined && output.DeleteAt !== null
6411
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.DeleteAt)))
6412
- : undefined,
6413
- MoveToColdStorageAt: output.MoveToColdStorageAt !== undefined && output.MoveToColdStorageAt !== null
6307
+ DeleteAt: output.DeleteAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.DeleteAt))) : undefined,
6308
+ MoveToColdStorageAt: output.MoveToColdStorageAt != null
6414
6309
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.MoveToColdStorageAt)))
6415
6310
  : undefined,
6416
6311
  };
@@ -6452,16 +6347,14 @@ const deserializeAws_restJson1ConditionParameters = (output, context) => {
6452
6347
  };
6453
6348
  const deserializeAws_restJson1Conditions = (output, context) => {
6454
6349
  return {
6455
- StringEquals: output.StringEquals !== undefined && output.StringEquals !== null
6350
+ StringEquals: output.StringEquals != null
6456
6351
  ? deserializeAws_restJson1ConditionParameters(output.StringEquals, context)
6457
6352
  : undefined,
6458
- StringLike: output.StringLike !== undefined && output.StringLike !== null
6459
- ? deserializeAws_restJson1ConditionParameters(output.StringLike, context)
6460
- : undefined,
6461
- StringNotEquals: output.StringNotEquals !== undefined && output.StringNotEquals !== null
6353
+ StringLike: output.StringLike != null ? deserializeAws_restJson1ConditionParameters(output.StringLike, context) : undefined,
6354
+ StringNotEquals: output.StringNotEquals != null
6462
6355
  ? deserializeAws_restJson1ConditionParameters(output.StringNotEquals, context)
6463
6356
  : undefined,
6464
- StringNotLike: output.StringNotLike !== undefined && output.StringNotLike !== null
6357
+ StringNotLike: output.StringNotLike != null
6465
6358
  ? deserializeAws_restJson1ConditionParameters(output.StringNotLike, context)
6466
6359
  : undefined,
6467
6360
  };
@@ -6485,23 +6378,19 @@ const deserializeAws_restJson1ControlInputParameters = (output, context) => {
6485
6378
  };
6486
6379
  const deserializeAws_restJson1ControlScope = (output, context) => {
6487
6380
  return {
6488
- ComplianceResourceIds: output.ComplianceResourceIds !== undefined && output.ComplianceResourceIds !== null
6381
+ ComplianceResourceIds: output.ComplianceResourceIds != null
6489
6382
  ? deserializeAws_restJson1ComplianceResourceIdList(output.ComplianceResourceIds, context)
6490
6383
  : undefined,
6491
- ComplianceResourceTypes: output.ComplianceResourceTypes !== undefined && output.ComplianceResourceTypes !== null
6384
+ ComplianceResourceTypes: output.ComplianceResourceTypes != null
6492
6385
  ? deserializeAws_restJson1ResourceTypeList(output.ComplianceResourceTypes, context)
6493
6386
  : undefined,
6494
- Tags: output.Tags !== undefined && output.Tags !== null
6495
- ? deserializeAws_restJson1stringMap(output.Tags, context)
6496
- : undefined,
6387
+ Tags: output.Tags != null ? deserializeAws_restJson1stringMap(output.Tags, context) : undefined,
6497
6388
  };
6498
6389
  };
6499
6390
  const deserializeAws_restJson1CopyAction = (output, context) => {
6500
6391
  return {
6501
6392
  DestinationBackupVaultArn: (0, smithy_client_1.expectString)(output.DestinationBackupVaultArn),
6502
- Lifecycle: output.Lifecycle !== undefined && output.Lifecycle !== null
6503
- ? deserializeAws_restJson1Lifecycle(output.Lifecycle, context)
6504
- : undefined,
6393
+ Lifecycle: output.Lifecycle != null ? deserializeAws_restJson1Lifecycle(output.Lifecycle, context) : undefined,
6505
6394
  };
6506
6395
  };
6507
6396
  const deserializeAws_restJson1CopyActions = (output, context) => {
@@ -6519,14 +6408,12 @@ const deserializeAws_restJson1CopyJob = (output, context) => {
6519
6408
  return {
6520
6409
  AccountId: (0, smithy_client_1.expectString)(output.AccountId),
6521
6410
  BackupSizeInBytes: (0, smithy_client_1.expectLong)(output.BackupSizeInBytes),
6522
- CompletionDate: output.CompletionDate !== undefined && output.CompletionDate !== null
6411
+ CompletionDate: output.CompletionDate != null
6523
6412
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CompletionDate)))
6524
6413
  : undefined,
6525
6414
  CopyJobId: (0, smithy_client_1.expectString)(output.CopyJobId),
6526
- CreatedBy: output.CreatedBy !== undefined && output.CreatedBy !== null
6527
- ? deserializeAws_restJson1RecoveryPointCreator(output.CreatedBy, context)
6528
- : undefined,
6529
- CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
6415
+ CreatedBy: output.CreatedBy != null ? deserializeAws_restJson1RecoveryPointCreator(output.CreatedBy, context) : undefined,
6416
+ CreationDate: output.CreationDate != null
6530
6417
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationDate)))
6531
6418
  : undefined,
6532
6419
  DestinationBackupVaultArn: (0, smithy_client_1.expectString)(output.DestinationBackupVaultArn),
@@ -6564,7 +6451,7 @@ const deserializeAws_restJson1FormatList = (output, context) => {
6564
6451
  };
6565
6452
  const deserializeAws_restJson1Framework = (output, context) => {
6566
6453
  return {
6567
- CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
6454
+ CreationTime: output.CreationTime != null
6568
6455
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
6569
6456
  : undefined,
6570
6457
  DeploymentStatus: (0, smithy_client_1.expectString)(output.DeploymentStatus),
@@ -6576,13 +6463,11 @@ const deserializeAws_restJson1Framework = (output, context) => {
6576
6463
  };
6577
6464
  const deserializeAws_restJson1FrameworkControl = (output, context) => {
6578
6465
  return {
6579
- ControlInputParameters: output.ControlInputParameters !== undefined && output.ControlInputParameters !== null
6466
+ ControlInputParameters: output.ControlInputParameters != null
6580
6467
  ? deserializeAws_restJson1ControlInputParameters(output.ControlInputParameters, context)
6581
6468
  : undefined,
6582
6469
  ControlName: (0, smithy_client_1.expectString)(output.ControlName),
6583
- ControlScope: output.ControlScope !== undefined && output.ControlScope !== null
6584
- ? deserializeAws_restJson1ControlScope(output.ControlScope, context)
6585
- : undefined,
6470
+ ControlScope: output.ControlScope != null ? deserializeAws_restJson1ControlScope(output.ControlScope, context) : undefined,
6586
6471
  };
6587
6472
  };
6588
6473
  const deserializeAws_restJson1FrameworkControls = (output, context) => {
@@ -6648,7 +6533,7 @@ const deserializeAws_restJson1Metadata = (output, context) => {
6648
6533
  };
6649
6534
  const deserializeAws_restJson1ProtectedResource = (output, context) => {
6650
6535
  return {
6651
- LastBackupTime: output.LastBackupTime !== undefined && output.LastBackupTime !== null
6536
+ LastBackupTime: output.LastBackupTime != null
6652
6537
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastBackupTime)))
6653
6538
  : undefined,
6654
6539
  ResourceArn: (0, smithy_client_1.expectString)(output.ResourceArn),
@@ -6671,27 +6556,23 @@ const deserializeAws_restJson1RecoveryPointByBackupVault = (output, context) =>
6671
6556
  BackupSizeInBytes: (0, smithy_client_1.expectLong)(output.BackupSizeInBytes),
6672
6557
  BackupVaultArn: (0, smithy_client_1.expectString)(output.BackupVaultArn),
6673
6558
  BackupVaultName: (0, smithy_client_1.expectString)(output.BackupVaultName),
6674
- CalculatedLifecycle: output.CalculatedLifecycle !== undefined && output.CalculatedLifecycle !== null
6559
+ CalculatedLifecycle: output.CalculatedLifecycle != null
6675
6560
  ? deserializeAws_restJson1CalculatedLifecycle(output.CalculatedLifecycle, context)
6676
6561
  : undefined,
6677
- CompletionDate: output.CompletionDate !== undefined && output.CompletionDate !== null
6562
+ CompletionDate: output.CompletionDate != null
6678
6563
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CompletionDate)))
6679
6564
  : undefined,
6680
- CreatedBy: output.CreatedBy !== undefined && output.CreatedBy !== null
6681
- ? deserializeAws_restJson1RecoveryPointCreator(output.CreatedBy, context)
6682
- : undefined,
6683
- CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
6565
+ CreatedBy: output.CreatedBy != null ? deserializeAws_restJson1RecoveryPointCreator(output.CreatedBy, context) : undefined,
6566
+ CreationDate: output.CreationDate != null
6684
6567
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationDate)))
6685
6568
  : undefined,
6686
6569
  EncryptionKeyArn: (0, smithy_client_1.expectString)(output.EncryptionKeyArn),
6687
6570
  IamRoleArn: (0, smithy_client_1.expectString)(output.IamRoleArn),
6688
6571
  IsEncrypted: (0, smithy_client_1.expectBoolean)(output.IsEncrypted),
6689
- LastRestoreTime: output.LastRestoreTime !== undefined && output.LastRestoreTime !== null
6572
+ LastRestoreTime: output.LastRestoreTime != null
6690
6573
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastRestoreTime)))
6691
6574
  : undefined,
6692
- Lifecycle: output.Lifecycle !== undefined && output.Lifecycle !== null
6693
- ? deserializeAws_restJson1Lifecycle(output.Lifecycle, context)
6694
- : undefined,
6575
+ Lifecycle: output.Lifecycle != null ? deserializeAws_restJson1Lifecycle(output.Lifecycle, context) : undefined,
6695
6576
  RecoveryPointArn: (0, smithy_client_1.expectString)(output.RecoveryPointArn),
6696
6577
  ResourceArn: (0, smithy_client_1.expectString)(output.ResourceArn),
6697
6578
  ResourceType: (0, smithy_client_1.expectString)(output.ResourceType),
@@ -6715,7 +6596,7 @@ const deserializeAws_restJson1RecoveryPointByResource = (output, context) => {
6715
6596
  return {
6716
6597
  BackupSizeBytes: (0, smithy_client_1.expectLong)(output.BackupSizeBytes),
6717
6598
  BackupVaultName: (0, smithy_client_1.expectString)(output.BackupVaultName),
6718
- CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
6599
+ CreationDate: output.CreationDate != null
6719
6600
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationDate)))
6720
6601
  : undefined,
6721
6602
  EncryptionKeyArn: (0, smithy_client_1.expectString)(output.EncryptionKeyArn),
@@ -6745,9 +6626,7 @@ const deserializeAws_restJson1RecoveryPointCreator = (output, context) => {
6745
6626
  };
6746
6627
  const deserializeAws_restJson1ReportDeliveryChannel = (output, context) => {
6747
6628
  return {
6748
- Formats: output.Formats !== undefined && output.Formats !== null
6749
- ? deserializeAws_restJson1FormatList(output.Formats, context)
6750
- : undefined,
6629
+ Formats: output.Formats != null ? deserializeAws_restJson1FormatList(output.Formats, context) : undefined,
6751
6630
  S3BucketName: (0, smithy_client_1.expectString)(output.S3BucketName),
6752
6631
  S3KeyPrefix: (0, smithy_client_1.expectString)(output.S3KeyPrefix),
6753
6632
  };
@@ -6755,20 +6634,18 @@ const deserializeAws_restJson1ReportDeliveryChannel = (output, context) => {
6755
6634
  const deserializeAws_restJson1ReportDestination = (output, context) => {
6756
6635
  return {
6757
6636
  S3BucketName: (0, smithy_client_1.expectString)(output.S3BucketName),
6758
- S3Keys: output.S3Keys !== undefined && output.S3Keys !== null
6759
- ? deserializeAws_restJson1stringList(output.S3Keys, context)
6760
- : undefined,
6637
+ S3Keys: output.S3Keys != null ? deserializeAws_restJson1stringList(output.S3Keys, context) : undefined,
6761
6638
  };
6762
6639
  };
6763
6640
  const deserializeAws_restJson1ReportJob = (output, context) => {
6764
6641
  return {
6765
- CompletionTime: output.CompletionTime !== undefined && output.CompletionTime !== null
6642
+ CompletionTime: output.CompletionTime != null
6766
6643
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CompletionTime)))
6767
6644
  : undefined,
6768
- CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
6645
+ CreationTime: output.CreationTime != null
6769
6646
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
6770
6647
  : undefined,
6771
- ReportDestination: output.ReportDestination !== undefined && output.ReportDestination !== null
6648
+ ReportDestination: output.ReportDestination != null
6772
6649
  ? deserializeAws_restJson1ReportDestination(output.ReportDestination, context)
6773
6650
  : undefined,
6774
6651
  ReportJobId: (0, smithy_client_1.expectString)(output.ReportJobId),
@@ -6791,25 +6668,23 @@ const deserializeAws_restJson1ReportJobList = (output, context) => {
6791
6668
  };
6792
6669
  const deserializeAws_restJson1ReportPlan = (output, context) => {
6793
6670
  return {
6794
- CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
6671
+ CreationTime: output.CreationTime != null
6795
6672
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
6796
6673
  : undefined,
6797
6674
  DeploymentStatus: (0, smithy_client_1.expectString)(output.DeploymentStatus),
6798
- LastAttemptedExecutionTime: output.LastAttemptedExecutionTime !== undefined && output.LastAttemptedExecutionTime !== null
6675
+ LastAttemptedExecutionTime: output.LastAttemptedExecutionTime != null
6799
6676
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastAttemptedExecutionTime)))
6800
6677
  : undefined,
6801
- LastSuccessfulExecutionTime: output.LastSuccessfulExecutionTime !== undefined && output.LastSuccessfulExecutionTime !== null
6678
+ LastSuccessfulExecutionTime: output.LastSuccessfulExecutionTime != null
6802
6679
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastSuccessfulExecutionTime)))
6803
6680
  : undefined,
6804
- ReportDeliveryChannel: output.ReportDeliveryChannel !== undefined && output.ReportDeliveryChannel !== null
6681
+ ReportDeliveryChannel: output.ReportDeliveryChannel != null
6805
6682
  ? deserializeAws_restJson1ReportDeliveryChannel(output.ReportDeliveryChannel, context)
6806
6683
  : undefined,
6807
6684
  ReportPlanArn: (0, smithy_client_1.expectString)(output.ReportPlanArn),
6808
6685
  ReportPlanDescription: (0, smithy_client_1.expectString)(output.ReportPlanDescription),
6809
6686
  ReportPlanName: (0, smithy_client_1.expectString)(output.ReportPlanName),
6810
- ReportSetting: output.ReportSetting !== undefined && output.ReportSetting !== null
6811
- ? deserializeAws_restJson1ReportSetting(output.ReportSetting, context)
6812
- : undefined,
6687
+ ReportSetting: output.ReportSetting != null ? deserializeAws_restJson1ReportSetting(output.ReportSetting, context) : undefined,
6813
6688
  };
6814
6689
  };
6815
6690
  const deserializeAws_restJson1ReportPlanList = (output, context) => {
@@ -6825,9 +6700,7 @@ const deserializeAws_restJson1ReportPlanList = (output, context) => {
6825
6700
  };
6826
6701
  const deserializeAws_restJson1ReportSetting = (output, context) => {
6827
6702
  return {
6828
- FrameworkArns: output.FrameworkArns !== undefined && output.FrameworkArns !== null
6829
- ? deserializeAws_restJson1stringList(output.FrameworkArns, context)
6830
- : undefined,
6703
+ FrameworkArns: output.FrameworkArns != null ? deserializeAws_restJson1stringList(output.FrameworkArns, context) : undefined,
6831
6704
  NumberOfFrameworks: (0, smithy_client_1.expectInt32)(output.NumberOfFrameworks),
6832
6705
  ReportTemplate: (0, smithy_client_1.expectString)(output.ReportTemplate),
6833
6706
  };
@@ -6902,11 +6775,11 @@ const deserializeAws_restJson1RestoreJobsListMember = (output, context) => {
6902
6775
  return {
6903
6776
  AccountId: (0, smithy_client_1.expectString)(output.AccountId),
6904
6777
  BackupSizeInBytes: (0, smithy_client_1.expectLong)(output.BackupSizeInBytes),
6905
- CompletionDate: output.CompletionDate !== undefined && output.CompletionDate !== null
6778
+ CompletionDate: output.CompletionDate != null
6906
6779
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CompletionDate)))
6907
6780
  : undefined,
6908
6781
  CreatedResourceArn: (0, smithy_client_1.expectString)(output.CreatedResourceArn),
6909
- CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
6782
+ CreationDate: output.CreationDate != null
6910
6783
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationDate)))
6911
6784
  : undefined,
6912
6785
  ExpectedCompletionTimeMinutes: (0, smithy_client_1.expectLong)(output.ExpectedCompletionTimeMinutes),