@aws-sdk/client-ssm 3.28.0 → 3.32.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.
@@ -15123,17 +15123,17 @@ const deserializeAws_json1_1Activation = (output, context) => {
15123
15123
  return {
15124
15124
  ActivationId: smithy_client_1.expectString(output.ActivationId),
15125
15125
  CreatedDate: output.CreatedDate !== undefined && output.CreatedDate !== null
15126
- ? new Date(Math.round(output.CreatedDate * 1000))
15126
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedDate)))
15127
15127
  : undefined,
15128
15128
  DefaultInstanceName: smithy_client_1.expectString(output.DefaultInstanceName),
15129
15129
  Description: smithy_client_1.expectString(output.Description),
15130
15130
  ExpirationDate: output.ExpirationDate !== undefined && output.ExpirationDate !== null
15131
- ? new Date(Math.round(output.ExpirationDate * 1000))
15131
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ExpirationDate)))
15132
15132
  : undefined,
15133
15133
  Expired: smithy_client_1.expectBoolean(output.Expired),
15134
15134
  IamRole: smithy_client_1.expectString(output.IamRole),
15135
- RegistrationLimit: smithy_client_1.expectInt(output.RegistrationLimit),
15136
- RegistrationsCount: smithy_client_1.expectInt(output.RegistrationsCount),
15135
+ RegistrationLimit: smithy_client_1.expectInt32(output.RegistrationLimit),
15136
+ RegistrationsCount: smithy_client_1.expectInt32(output.RegistrationsCount),
15137
15137
  Tags: output.Tags !== undefined && output.Tags !== null
15138
15138
  ? deserializeAws_json1_1TagList(output.Tags, context)
15139
15139
  : undefined,
@@ -15173,7 +15173,7 @@ const deserializeAws_json1_1Association = (output, context) => {
15173
15173
  DocumentVersion: smithy_client_1.expectString(output.DocumentVersion),
15174
15174
  InstanceId: smithy_client_1.expectString(output.InstanceId),
15175
15175
  LastExecutionDate: output.LastExecutionDate !== undefined && output.LastExecutionDate !== null
15176
- ? new Date(Math.round(output.LastExecutionDate * 1000))
15176
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastExecutionDate)))
15177
15177
  : undefined,
15178
15178
  Name: smithy_client_1.expectString(output.Name),
15179
15179
  Overview: output.Overview !== undefined && output.Overview !== null
@@ -15199,17 +15199,19 @@ const deserializeAws_json1_1AssociationDescription = (output, context) => {
15199
15199
  ? deserializeAws_json1_1CalendarNameOrARNList(output.CalendarNames, context)
15200
15200
  : undefined,
15201
15201
  ComplianceSeverity: smithy_client_1.expectString(output.ComplianceSeverity),
15202
- Date: output.Date !== undefined && output.Date !== null ? new Date(Math.round(output.Date * 1000)) : undefined,
15202
+ Date: output.Date !== undefined && output.Date !== null
15203
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.Date)))
15204
+ : undefined,
15203
15205
  DocumentVersion: smithy_client_1.expectString(output.DocumentVersion),
15204
15206
  InstanceId: smithy_client_1.expectString(output.InstanceId),
15205
15207
  LastExecutionDate: output.LastExecutionDate !== undefined && output.LastExecutionDate !== null
15206
- ? new Date(Math.round(output.LastExecutionDate * 1000))
15208
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastExecutionDate)))
15207
15209
  : undefined,
15208
15210
  LastSuccessfulExecutionDate: output.LastSuccessfulExecutionDate !== undefined && output.LastSuccessfulExecutionDate !== null
15209
- ? new Date(Math.round(output.LastSuccessfulExecutionDate * 1000))
15211
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastSuccessfulExecutionDate)))
15210
15212
  : undefined,
15211
15213
  LastUpdateAssociationDate: output.LastUpdateAssociationDate !== undefined && output.LastUpdateAssociationDate !== null
15212
- ? new Date(Math.round(output.LastUpdateAssociationDate * 1000))
15214
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdateAssociationDate)))
15213
15215
  : undefined,
15214
15216
  MaxConcurrency: smithy_client_1.expectString(output.MaxConcurrency),
15215
15217
  MaxErrors: smithy_client_1.expectString(output.MaxErrors),
@@ -15256,12 +15258,12 @@ const deserializeAws_json1_1AssociationExecution = (output, context) => {
15256
15258
  AssociationId: smithy_client_1.expectString(output.AssociationId),
15257
15259
  AssociationVersion: smithy_client_1.expectString(output.AssociationVersion),
15258
15260
  CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
15259
- ? new Date(Math.round(output.CreatedTime * 1000))
15261
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedTime)))
15260
15262
  : undefined,
15261
15263
  DetailedStatus: smithy_client_1.expectString(output.DetailedStatus),
15262
15264
  ExecutionId: smithy_client_1.expectString(output.ExecutionId),
15263
15265
  LastExecutionDate: output.LastExecutionDate !== undefined && output.LastExecutionDate !== null
15264
- ? new Date(Math.round(output.LastExecutionDate * 1000))
15266
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastExecutionDate)))
15265
15267
  : undefined,
15266
15268
  ResourceCountByStatus: smithy_client_1.expectString(output.ResourceCountByStatus),
15267
15269
  Status: smithy_client_1.expectString(output.Status),
@@ -15289,7 +15291,7 @@ const deserializeAws_json1_1AssociationExecutionTarget = (output, context) => {
15289
15291
  DetailedStatus: smithy_client_1.expectString(output.DetailedStatus),
15290
15292
  ExecutionId: smithy_client_1.expectString(output.ExecutionId),
15291
15293
  LastExecutionDate: output.LastExecutionDate !== undefined && output.LastExecutionDate !== null
15292
- ? new Date(Math.round(output.LastExecutionDate * 1000))
15294
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastExecutionDate)))
15293
15295
  : undefined,
15294
15296
  OutputSource: output.OutputSource !== undefined && output.OutputSource !== null
15295
15297
  ? deserializeAws_json1_1OutputSource(output.OutputSource, context)
@@ -15334,7 +15336,9 @@ const deserializeAws_json1_1AssociationOverview = (output, context) => {
15334
15336
  const deserializeAws_json1_1AssociationStatus = (output, context) => {
15335
15337
  return {
15336
15338
  AdditionalInfo: smithy_client_1.expectString(output.AdditionalInfo),
15337
- Date: output.Date !== undefined && output.Date !== null ? new Date(Math.round(output.Date * 1000)) : undefined,
15339
+ Date: output.Date !== undefined && output.Date !== null
15340
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.Date)))
15341
+ : undefined,
15338
15342
  Message: smithy_client_1.expectString(output.Message),
15339
15343
  Name: smithy_client_1.expectString(output.Name),
15340
15344
  };
@@ -15346,7 +15350,7 @@ const deserializeAws_json1_1AssociationStatusAggregatedCount = (output, context)
15346
15350
  }
15347
15351
  return {
15348
15352
  ...acc,
15349
- [key]: smithy_client_1.expectInt(value),
15353
+ [key]: smithy_client_1.expectInt32(value),
15350
15354
  };
15351
15355
  }, {});
15352
15356
  };
@@ -15361,7 +15365,7 @@ const deserializeAws_json1_1AssociationVersionInfo = (output, context) => {
15361
15365
  : undefined,
15362
15366
  ComplianceSeverity: smithy_client_1.expectString(output.ComplianceSeverity),
15363
15367
  CreatedDate: output.CreatedDate !== undefined && output.CreatedDate !== null
15364
- ? new Date(Math.round(output.CreatedDate * 1000))
15368
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedDate)))
15365
15369
  : undefined,
15366
15370
  DocumentVersion: smithy_client_1.expectString(output.DocumentVersion),
15367
15371
  MaxConcurrency: smithy_client_1.expectString(output.MaxConcurrency),
@@ -15403,7 +15407,7 @@ const deserializeAws_json1_1AttachmentContent = (output, context) => {
15403
15407
  Hash: smithy_client_1.expectString(output.Hash),
15404
15408
  HashType: smithy_client_1.expectString(output.HashType),
15405
15409
  Name: smithy_client_1.expectString(output.Name),
15406
- Size: smithy_client_1.expectInt(output.Size),
15410
+ Size: smithy_client_1.expectLong(output.Size),
15407
15411
  Url: smithy_client_1.expectString(output.Url),
15408
15412
  };
15409
15413
  };
@@ -15460,10 +15464,10 @@ const deserializeAws_json1_1AutomationExecution = (output, context) => {
15460
15464
  DocumentVersion: smithy_client_1.expectString(output.DocumentVersion),
15461
15465
  ExecutedBy: smithy_client_1.expectString(output.ExecutedBy),
15462
15466
  ExecutionEndTime: output.ExecutionEndTime !== undefined && output.ExecutionEndTime !== null
15463
- ? new Date(Math.round(output.ExecutionEndTime * 1000))
15467
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ExecutionEndTime)))
15464
15468
  : undefined,
15465
15469
  ExecutionStartTime: output.ExecutionStartTime !== undefined && output.ExecutionStartTime !== null
15466
- ? new Date(Math.round(output.ExecutionStartTime * 1000))
15470
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ExecutionStartTime)))
15467
15471
  : undefined,
15468
15472
  FailureMessage: smithy_client_1.expectString(output.FailureMessage),
15469
15473
  MaxConcurrency: smithy_client_1.expectString(output.MaxConcurrency),
@@ -15487,7 +15491,7 @@ const deserializeAws_json1_1AutomationExecution = (output, context) => {
15487
15491
  ? deserializeAws_json1_1Runbooks(output.Runbooks, context)
15488
15492
  : undefined,
15489
15493
  ScheduledTime: output.ScheduledTime !== undefined && output.ScheduledTime !== null
15490
- ? new Date(Math.round(output.ScheduledTime * 1000))
15494
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ScheduledTime)))
15491
15495
  : undefined,
15492
15496
  StepExecutions: output.StepExecutions !== undefined && output.StepExecutions !== null
15493
15497
  ? deserializeAws_json1_1StepExecutionList(output.StepExecutions, context)
@@ -15525,10 +15529,10 @@ const deserializeAws_json1_1AutomationExecutionMetadata = (output, context) => {
15525
15529
  DocumentVersion: smithy_client_1.expectString(output.DocumentVersion),
15526
15530
  ExecutedBy: smithy_client_1.expectString(output.ExecutedBy),
15527
15531
  ExecutionEndTime: output.ExecutionEndTime !== undefined && output.ExecutionEndTime !== null
15528
- ? new Date(Math.round(output.ExecutionEndTime * 1000))
15532
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ExecutionEndTime)))
15529
15533
  : undefined,
15530
15534
  ExecutionStartTime: output.ExecutionStartTime !== undefined && output.ExecutionStartTime !== null
15531
- ? new Date(Math.round(output.ExecutionStartTime * 1000))
15535
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ExecutionStartTime)))
15532
15536
  : undefined,
15533
15537
  FailureMessage: smithy_client_1.expectString(output.FailureMessage),
15534
15538
  LogFile: smithy_client_1.expectString(output.LogFile),
@@ -15547,7 +15551,7 @@ const deserializeAws_json1_1AutomationExecutionMetadata = (output, context) => {
15547
15551
  ? deserializeAws_json1_1Runbooks(output.Runbooks, context)
15548
15552
  : undefined,
15549
15553
  ScheduledTime: output.ScheduledTime !== undefined && output.ScheduledTime !== null
15550
- ? new Date(Math.round(output.ScheduledTime * 1000))
15554
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ScheduledTime)))
15551
15555
  : undefined,
15552
15556
  Target: smithy_client_1.expectString(output.Target),
15553
15557
  TargetMaps: output.TargetMaps !== undefined && output.TargetMaps !== null
@@ -15631,13 +15635,13 @@ const deserializeAws_json1_1Command = (output, context) => {
15631
15635
  : undefined,
15632
15636
  CommandId: smithy_client_1.expectString(output.CommandId),
15633
15637
  Comment: smithy_client_1.expectString(output.Comment),
15634
- CompletedCount: smithy_client_1.expectInt(output.CompletedCount),
15635
- DeliveryTimedOutCount: smithy_client_1.expectInt(output.DeliveryTimedOutCount),
15638
+ CompletedCount: smithy_client_1.expectInt32(output.CompletedCount),
15639
+ DeliveryTimedOutCount: smithy_client_1.expectInt32(output.DeliveryTimedOutCount),
15636
15640
  DocumentName: smithy_client_1.expectString(output.DocumentName),
15637
15641
  DocumentVersion: smithy_client_1.expectString(output.DocumentVersion),
15638
- ErrorCount: smithy_client_1.expectInt(output.ErrorCount),
15642
+ ErrorCount: smithy_client_1.expectInt32(output.ErrorCount),
15639
15643
  ExpiresAfter: output.ExpiresAfter !== undefined && output.ExpiresAfter !== null
15640
- ? new Date(Math.round(output.ExpiresAfter * 1000))
15644
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ExpiresAfter)))
15641
15645
  : undefined,
15642
15646
  InstanceIds: output.InstanceIds !== undefined && output.InstanceIds !== null
15643
15647
  ? deserializeAws_json1_1InstanceIdList(output.InstanceIds, context)
@@ -15654,16 +15658,16 @@ const deserializeAws_json1_1Command = (output, context) => {
15654
15658
  ? deserializeAws_json1_1Parameters(output.Parameters, context)
15655
15659
  : undefined,
15656
15660
  RequestedDateTime: output.RequestedDateTime !== undefined && output.RequestedDateTime !== null
15657
- ? new Date(Math.round(output.RequestedDateTime * 1000))
15661
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.RequestedDateTime)))
15658
15662
  : undefined,
15659
15663
  ServiceRole: smithy_client_1.expectString(output.ServiceRole),
15660
15664
  Status: smithy_client_1.expectString(output.Status),
15661
15665
  StatusDetails: smithy_client_1.expectString(output.StatusDetails),
15662
- TargetCount: smithy_client_1.expectInt(output.TargetCount),
15666
+ TargetCount: smithy_client_1.expectInt32(output.TargetCount),
15663
15667
  Targets: output.Targets !== undefined && output.Targets !== null
15664
15668
  ? deserializeAws_json1_1Targets(output.Targets, context)
15665
15669
  : undefined,
15666
- TimeoutSeconds: smithy_client_1.expectInt(output.TimeoutSeconds),
15670
+ TimeoutSeconds: smithy_client_1.expectInt32(output.TimeoutSeconds),
15667
15671
  };
15668
15672
  };
15669
15673
  const deserializeAws_json1_1CommandInvocation = (output, context) => {
@@ -15684,7 +15688,7 @@ const deserializeAws_json1_1CommandInvocation = (output, context) => {
15684
15688
  ? deserializeAws_json1_1NotificationConfig(output.NotificationConfig, context)
15685
15689
  : undefined,
15686
15690
  RequestedDateTime: output.RequestedDateTime !== undefined && output.RequestedDateTime !== null
15687
- ? new Date(Math.round(output.RequestedDateTime * 1000))
15691
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.RequestedDateTime)))
15688
15692
  : undefined,
15689
15693
  ServiceRole: smithy_client_1.expectString(output.ServiceRole),
15690
15694
  StandardErrorUrl: smithy_client_1.expectString(output.StandardErrorUrl),
@@ -15721,12 +15725,12 @@ const deserializeAws_json1_1CommandPlugin = (output, context) => {
15721
15725
  OutputS3BucketName: smithy_client_1.expectString(output.OutputS3BucketName),
15722
15726
  OutputS3KeyPrefix: smithy_client_1.expectString(output.OutputS3KeyPrefix),
15723
15727
  OutputS3Region: smithy_client_1.expectString(output.OutputS3Region),
15724
- ResponseCode: smithy_client_1.expectInt(output.ResponseCode),
15728
+ ResponseCode: smithy_client_1.expectInt32(output.ResponseCode),
15725
15729
  ResponseFinishDateTime: output.ResponseFinishDateTime !== undefined && output.ResponseFinishDateTime !== null
15726
- ? new Date(Math.round(output.ResponseFinishDateTime * 1000))
15730
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ResponseFinishDateTime)))
15727
15731
  : undefined,
15728
15732
  ResponseStartDateTime: output.ResponseStartDateTime !== undefined && output.ResponseStartDateTime !== null
15729
- ? new Date(Math.round(output.ResponseStartDateTime * 1000))
15733
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ResponseStartDateTime)))
15730
15734
  : undefined,
15731
15735
  StandardErrorUrl: smithy_client_1.expectString(output.StandardErrorUrl),
15732
15736
  StandardOutputUrl: smithy_client_1.expectString(output.StandardOutputUrl),
@@ -15748,7 +15752,7 @@ const deserializeAws_json1_1ComplianceExecutionSummary = (output, context) => {
15748
15752
  return {
15749
15753
  ExecutionId: smithy_client_1.expectString(output.ExecutionId),
15750
15754
  ExecutionTime: output.ExecutionTime !== undefined && output.ExecutionTime !== null
15751
- ? new Date(Math.round(output.ExecutionTime * 1000))
15755
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ExecutionTime)))
15752
15756
  : undefined,
15753
15757
  ExecutionType: smithy_client_1.expectString(output.ExecutionType),
15754
15758
  };
@@ -15819,7 +15823,7 @@ const deserializeAws_json1_1ComplianceTypeCountLimitExceededException = (output,
15819
15823
  };
15820
15824
  const deserializeAws_json1_1CompliantSummary = (output, context) => {
15821
15825
  return {
15822
- CompliantCount: smithy_client_1.expectInt(output.CompliantCount),
15826
+ CompliantCount: smithy_client_1.expectInt32(output.CompliantCount),
15823
15827
  SeveritySummary: output.SeveritySummary !== undefined && output.SeveritySummary !== null
15824
15828
  ? deserializeAws_json1_1SeveritySummary(output.SeveritySummary, context)
15825
15829
  : undefined,
@@ -16217,18 +16221,18 @@ const deserializeAws_json1_1DescribePatchGroupsResult = (output, context) => {
16217
16221
  };
16218
16222
  const deserializeAws_json1_1DescribePatchGroupStateResult = (output, context) => {
16219
16223
  return {
16220
- Instances: smithy_client_1.expectInt(output.Instances),
16221
- InstancesWithCriticalNonCompliantPatches: smithy_client_1.expectInt(output.InstancesWithCriticalNonCompliantPatches),
16222
- InstancesWithFailedPatches: smithy_client_1.expectInt(output.InstancesWithFailedPatches),
16223
- InstancesWithInstalledOtherPatches: smithy_client_1.expectInt(output.InstancesWithInstalledOtherPatches),
16224
- InstancesWithInstalledPatches: smithy_client_1.expectInt(output.InstancesWithInstalledPatches),
16225
- InstancesWithInstalledPendingRebootPatches: smithy_client_1.expectInt(output.InstancesWithInstalledPendingRebootPatches),
16226
- InstancesWithInstalledRejectedPatches: smithy_client_1.expectInt(output.InstancesWithInstalledRejectedPatches),
16227
- InstancesWithMissingPatches: smithy_client_1.expectInt(output.InstancesWithMissingPatches),
16228
- InstancesWithNotApplicablePatches: smithy_client_1.expectInt(output.InstancesWithNotApplicablePatches),
16229
- InstancesWithOtherNonCompliantPatches: smithy_client_1.expectInt(output.InstancesWithOtherNonCompliantPatches),
16230
- InstancesWithSecurityNonCompliantPatches: smithy_client_1.expectInt(output.InstancesWithSecurityNonCompliantPatches),
16231
- InstancesWithUnreportedNotApplicablePatches: smithy_client_1.expectInt(output.InstancesWithUnreportedNotApplicablePatches),
16224
+ Instances: smithy_client_1.expectInt32(output.Instances),
16225
+ InstancesWithCriticalNonCompliantPatches: smithy_client_1.expectInt32(output.InstancesWithCriticalNonCompliantPatches),
16226
+ InstancesWithFailedPatches: smithy_client_1.expectInt32(output.InstancesWithFailedPatches),
16227
+ InstancesWithInstalledOtherPatches: smithy_client_1.expectInt32(output.InstancesWithInstalledOtherPatches),
16228
+ InstancesWithInstalledPatches: smithy_client_1.expectInt32(output.InstancesWithInstalledPatches),
16229
+ InstancesWithInstalledPendingRebootPatches: smithy_client_1.expectInt32(output.InstancesWithInstalledPendingRebootPatches),
16230
+ InstancesWithInstalledRejectedPatches: smithy_client_1.expectInt32(output.InstancesWithInstalledRejectedPatches),
16231
+ InstancesWithMissingPatches: smithy_client_1.expectInt32(output.InstancesWithMissingPatches),
16232
+ InstancesWithNotApplicablePatches: smithy_client_1.expectInt32(output.InstancesWithNotApplicablePatches),
16233
+ InstancesWithOtherNonCompliantPatches: smithy_client_1.expectInt32(output.InstancesWithOtherNonCompliantPatches),
16234
+ InstancesWithSecurityNonCompliantPatches: smithy_client_1.expectInt32(output.InstancesWithSecurityNonCompliantPatches),
16235
+ InstancesWithUnreportedNotApplicablePatches: smithy_client_1.expectInt32(output.InstancesWithUnreportedNotApplicablePatches),
16232
16236
  };
16233
16237
  };
16234
16238
  const deserializeAws_json1_1DescribePatchPropertiesResult = (output, context) => {
@@ -16270,7 +16274,7 @@ const deserializeAws_json1_1DocumentDescription = (output, context) => {
16270
16274
  : undefined,
16271
16275
  Author: smithy_client_1.expectString(output.Author),
16272
16276
  CreatedDate: output.CreatedDate !== undefined && output.CreatedDate !== null
16273
- ? new Date(Math.round(output.CreatedDate * 1000))
16277
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedDate)))
16274
16278
  : undefined,
16275
16279
  DefaultVersion: smithy_client_1.expectString(output.DefaultVersion),
16276
16280
  Description: smithy_client_1.expectString(output.Description),
@@ -16312,7 +16316,7 @@ const deserializeAws_json1_1DocumentIdentifier = (output, context) => {
16312
16316
  return {
16313
16317
  Author: smithy_client_1.expectString(output.Author),
16314
16318
  CreatedDate: output.CreatedDate !== undefined && output.CreatedDate !== null
16315
- ? new Date(Math.round(output.CreatedDate * 1000))
16319
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedDate)))
16316
16320
  : undefined,
16317
16321
  DisplayName: smithy_client_1.expectString(output.DisplayName),
16318
16322
  DocumentFormat: smithy_client_1.expectString(output.DocumentFormat),
@@ -16428,19 +16432,19 @@ const deserializeAws_json1_1DocumentReviewerResponseSource = (output, context) =
16428
16432
  ? deserializeAws_json1_1DocumentReviewCommentList(output.Comment, context)
16429
16433
  : undefined,
16430
16434
  CreateTime: output.CreateTime !== undefined && output.CreateTime !== null
16431
- ? new Date(Math.round(output.CreateTime * 1000))
16435
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreateTime)))
16432
16436
  : undefined,
16433
16437
  ReviewStatus: smithy_client_1.expectString(output.ReviewStatus),
16434
16438
  Reviewer: smithy_client_1.expectString(output.Reviewer),
16435
16439
  UpdatedTime: output.UpdatedTime !== undefined && output.UpdatedTime !== null
16436
- ? new Date(Math.round(output.UpdatedTime * 1000))
16440
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UpdatedTime)))
16437
16441
  : undefined,
16438
16442
  };
16439
16443
  };
16440
16444
  const deserializeAws_json1_1DocumentVersionInfo = (output, context) => {
16441
16445
  return {
16442
16446
  CreatedDate: output.CreatedDate !== undefined && output.CreatedDate !== null
16443
- ? new Date(Math.round(output.CreatedDate * 1000))
16447
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedDate)))
16444
16448
  : undefined,
16445
16449
  DisplayName: smithy_client_1.expectString(output.DisplayName),
16446
16450
  DocumentFormat: smithy_client_1.expectString(output.DocumentFormat),
@@ -16567,7 +16571,7 @@ const deserializeAws_json1_1GetCommandInvocationResult = (output, context) => {
16567
16571
  ExecutionStartDateTime: smithy_client_1.expectString(output.ExecutionStartDateTime),
16568
16572
  InstanceId: smithy_client_1.expectString(output.InstanceId),
16569
16573
  PluginName: smithy_client_1.expectString(output.PluginName),
16570
- ResponseCode: smithy_client_1.expectInt(output.ResponseCode),
16574
+ ResponseCode: smithy_client_1.expectInt32(output.ResponseCode),
16571
16575
  StandardErrorContent: smithy_client_1.expectString(output.StandardErrorContent),
16572
16576
  StandardErrorUrl: smithy_client_1.expectString(output.StandardErrorUrl),
16573
16577
  StandardOutputContent: smithy_client_1.expectString(output.StandardOutputContent),
@@ -16603,7 +16607,7 @@ const deserializeAws_json1_1GetDocumentResult = (output, context) => {
16603
16607
  : undefined,
16604
16608
  Content: smithy_client_1.expectString(output.Content),
16605
16609
  CreatedDate: output.CreatedDate !== undefined && output.CreatedDate !== null
16606
- ? new Date(Math.round(output.CreatedDate * 1000))
16610
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedDate)))
16607
16611
  : undefined,
16608
16612
  DisplayName: smithy_client_1.expectString(output.DisplayName),
16609
16613
  DocumentFormat: smithy_client_1.expectString(output.DocumentFormat),
@@ -16637,9 +16641,11 @@ const deserializeAws_json1_1GetInventorySchemaResult = (output, context) => {
16637
16641
  };
16638
16642
  const deserializeAws_json1_1GetMaintenanceWindowExecutionResult = (output, context) => {
16639
16643
  return {
16640
- EndTime: output.EndTime !== undefined && output.EndTime !== null ? new Date(Math.round(output.EndTime * 1000)) : undefined,
16644
+ EndTime: output.EndTime !== undefined && output.EndTime !== null
16645
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EndTime)))
16646
+ : undefined,
16641
16647
  StartTime: output.StartTime !== undefined && output.StartTime !== null
16642
- ? new Date(Math.round(output.StartTime * 1000))
16648
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartTime)))
16643
16649
  : undefined,
16644
16650
  Status: smithy_client_1.expectString(output.Status),
16645
16651
  StatusDetails: smithy_client_1.expectString(output.StatusDetails),
@@ -16651,13 +16657,15 @@ const deserializeAws_json1_1GetMaintenanceWindowExecutionResult = (output, conte
16651
16657
  };
16652
16658
  const deserializeAws_json1_1GetMaintenanceWindowExecutionTaskInvocationResult = (output, context) => {
16653
16659
  return {
16654
- EndTime: output.EndTime !== undefined && output.EndTime !== null ? new Date(Math.round(output.EndTime * 1000)) : undefined,
16660
+ EndTime: output.EndTime !== undefined && output.EndTime !== null
16661
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EndTime)))
16662
+ : undefined,
16655
16663
  ExecutionId: smithy_client_1.expectString(output.ExecutionId),
16656
16664
  InvocationId: smithy_client_1.expectString(output.InvocationId),
16657
16665
  OwnerInformation: smithy_client_1.expectString(output.OwnerInformation),
16658
16666
  Parameters: smithy_client_1.expectString(output.Parameters),
16659
16667
  StartTime: output.StartTime !== undefined && output.StartTime !== null
16660
- ? new Date(Math.round(output.StartTime * 1000))
16668
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartTime)))
16661
16669
  : undefined,
16662
16670
  Status: smithy_client_1.expectString(output.Status),
16663
16671
  StatusDetails: smithy_client_1.expectString(output.StatusDetails),
@@ -16669,13 +16677,15 @@ const deserializeAws_json1_1GetMaintenanceWindowExecutionTaskInvocationResult =
16669
16677
  };
16670
16678
  const deserializeAws_json1_1GetMaintenanceWindowExecutionTaskResult = (output, context) => {
16671
16679
  return {
16672
- EndTime: output.EndTime !== undefined && output.EndTime !== null ? new Date(Math.round(output.EndTime * 1000)) : undefined,
16680
+ EndTime: output.EndTime !== undefined && output.EndTime !== null
16681
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EndTime)))
16682
+ : undefined,
16673
16683
  MaxConcurrency: smithy_client_1.expectString(output.MaxConcurrency),
16674
16684
  MaxErrors: smithy_client_1.expectString(output.MaxErrors),
16675
- Priority: smithy_client_1.expectInt(output.Priority),
16685
+ Priority: smithy_client_1.expectInt32(output.Priority),
16676
16686
  ServiceRole: smithy_client_1.expectString(output.ServiceRole),
16677
16687
  StartTime: output.StartTime !== undefined && output.StartTime !== null
16678
- ? new Date(Math.round(output.StartTime * 1000))
16688
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartTime)))
16679
16689
  : undefined,
16680
16690
  Status: smithy_client_1.expectString(output.Status),
16681
16691
  StatusDetails: smithy_client_1.expectString(output.StatusDetails),
@@ -16692,20 +16702,20 @@ const deserializeAws_json1_1GetMaintenanceWindowResult = (output, context) => {
16692
16702
  return {
16693
16703
  AllowUnassociatedTargets: smithy_client_1.expectBoolean(output.AllowUnassociatedTargets),
16694
16704
  CreatedDate: output.CreatedDate !== undefined && output.CreatedDate !== null
16695
- ? new Date(Math.round(output.CreatedDate * 1000))
16705
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedDate)))
16696
16706
  : undefined,
16697
- Cutoff: smithy_client_1.expectInt(output.Cutoff),
16707
+ Cutoff: smithy_client_1.expectInt32(output.Cutoff),
16698
16708
  Description: smithy_client_1.expectString(output.Description),
16699
- Duration: smithy_client_1.expectInt(output.Duration),
16709
+ Duration: smithy_client_1.expectInt32(output.Duration),
16700
16710
  Enabled: smithy_client_1.expectBoolean(output.Enabled),
16701
16711
  EndDate: smithy_client_1.expectString(output.EndDate),
16702
16712
  ModifiedDate: output.ModifiedDate !== undefined && output.ModifiedDate !== null
16703
- ? new Date(Math.round(output.ModifiedDate * 1000))
16713
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ModifiedDate)))
16704
16714
  : undefined,
16705
16715
  Name: smithy_client_1.expectString(output.Name),
16706
16716
  NextExecutionTime: smithy_client_1.expectString(output.NextExecutionTime),
16707
16717
  Schedule: smithy_client_1.expectString(output.Schedule),
16708
- ScheduleOffset: smithy_client_1.expectInt(output.ScheduleOffset),
16718
+ ScheduleOffset: smithy_client_1.expectInt32(output.ScheduleOffset),
16709
16719
  ScheduleTimezone: smithy_client_1.expectString(output.ScheduleTimezone),
16710
16720
  StartDate: smithy_client_1.expectString(output.StartDate),
16711
16721
  WindowId: smithy_client_1.expectString(output.WindowId),
@@ -16720,7 +16730,7 @@ const deserializeAws_json1_1GetMaintenanceWindowTaskResult = (output, context) =
16720
16730
  MaxConcurrency: smithy_client_1.expectString(output.MaxConcurrency),
16721
16731
  MaxErrors: smithy_client_1.expectString(output.MaxErrors),
16722
16732
  Name: smithy_client_1.expectString(output.Name),
16723
- Priority: smithy_client_1.expectInt(output.Priority),
16733
+ Priority: smithy_client_1.expectInt32(output.Priority),
16724
16734
  ServiceRoleArn: smithy_client_1.expectString(output.ServiceRoleArn),
16725
16735
  Targets: output.Targets !== undefined && output.Targets !== null
16726
16736
  ? deserializeAws_json1_1Targets(output.Targets, context)
@@ -16813,14 +16823,14 @@ const deserializeAws_json1_1GetPatchBaselineResult = (output, context) => {
16813
16823
  ApprovedPatchesEnableNonSecurity: smithy_client_1.expectBoolean(output.ApprovedPatchesEnableNonSecurity),
16814
16824
  BaselineId: smithy_client_1.expectString(output.BaselineId),
16815
16825
  CreatedDate: output.CreatedDate !== undefined && output.CreatedDate !== null
16816
- ? new Date(Math.round(output.CreatedDate * 1000))
16826
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedDate)))
16817
16827
  : undefined,
16818
16828
  Description: smithy_client_1.expectString(output.Description),
16819
16829
  GlobalFilters: output.GlobalFilters !== undefined && output.GlobalFilters !== null
16820
16830
  ? deserializeAws_json1_1PatchFilterGroup(output.GlobalFilters, context)
16821
16831
  : undefined,
16822
16832
  ModifiedDate: output.ModifiedDate !== undefined && output.ModifiedDate !== null
16823
- ? new Date(Math.round(output.ModifiedDate * 1000))
16833
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ModifiedDate)))
16824
16834
  : undefined,
16825
16835
  Name: smithy_client_1.expectString(output.Name),
16826
16836
  OperatingSystem: smithy_client_1.expectString(output.OperatingSystem),
@@ -16911,7 +16921,7 @@ const deserializeAws_json1_1InstanceAssociationStatusAggregatedCount = (output,
16911
16921
  }
16912
16922
  return {
16913
16923
  ...acc,
16914
- [key]: smithy_client_1.expectInt(value),
16924
+ [key]: smithy_client_1.expectInt32(value),
16915
16925
  };
16916
16926
  }, {});
16917
16927
  };
@@ -16924,7 +16934,7 @@ const deserializeAws_json1_1InstanceAssociationStatusInfo = (output, context) =>
16924
16934
  DocumentVersion: smithy_client_1.expectString(output.DocumentVersion),
16925
16935
  ErrorCode: smithy_client_1.expectString(output.ErrorCode),
16926
16936
  ExecutionDate: output.ExecutionDate !== undefined && output.ExecutionDate !== null
16927
- ? new Date(Math.round(output.ExecutionDate * 1000))
16937
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ExecutionDate)))
16928
16938
  : undefined,
16929
16939
  ExecutionSummary: smithy_client_1.expectString(output.ExecutionSummary),
16930
16940
  InstanceId: smithy_client_1.expectString(output.InstanceId),
@@ -16969,14 +16979,14 @@ const deserializeAws_json1_1InstanceInformation = (output, context) => {
16969
16979
  InstanceId: smithy_client_1.expectString(output.InstanceId),
16970
16980
  IsLatestVersion: smithy_client_1.expectBoolean(output.IsLatestVersion),
16971
16981
  LastAssociationExecutionDate: output.LastAssociationExecutionDate !== undefined && output.LastAssociationExecutionDate !== null
16972
- ? new Date(Math.round(output.LastAssociationExecutionDate * 1000))
16982
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastAssociationExecutionDate)))
16973
16983
  : undefined,
16974
16984
  LastPingDateTime: output.LastPingDateTime !== undefined && output.LastPingDateTime !== null
16975
- ? new Date(Math.round(output.LastPingDateTime * 1000))
16985
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastPingDateTime)))
16976
16986
  : undefined,
16977
16987
  LastSuccessfulAssociationExecutionDate: output.LastSuccessfulAssociationExecutionDate !== undefined &&
16978
16988
  output.LastSuccessfulAssociationExecutionDate !== null
16979
- ? new Date(Math.round(output.LastSuccessfulAssociationExecutionDate * 1000))
16989
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastSuccessfulAssociationExecutionDate)))
16980
16990
  : undefined,
16981
16991
  Name: smithy_client_1.expectString(output.Name),
16982
16992
  PingStatus: smithy_client_1.expectString(output.PingStatus),
@@ -16984,7 +16994,7 @@ const deserializeAws_json1_1InstanceInformation = (output, context) => {
16984
16994
  PlatformType: smithy_client_1.expectString(output.PlatformType),
16985
16995
  PlatformVersion: smithy_client_1.expectString(output.PlatformVersion),
16986
16996
  RegistrationDate: output.RegistrationDate !== undefined && output.RegistrationDate !== null
16987
- ? new Date(Math.round(output.RegistrationDate * 1000))
16997
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.RegistrationDate)))
16988
16998
  : undefined,
16989
16999
  ResourceType: smithy_client_1.expectString(output.ResourceType),
16990
17000
  };
@@ -17002,33 +17012,33 @@ const deserializeAws_json1_1InstanceInformationList = (output, context) => {
17002
17012
  const deserializeAws_json1_1InstancePatchState = (output, context) => {
17003
17013
  return {
17004
17014
  BaselineId: smithy_client_1.expectString(output.BaselineId),
17005
- CriticalNonCompliantCount: smithy_client_1.expectInt(output.CriticalNonCompliantCount),
17006
- FailedCount: smithy_client_1.expectInt(output.FailedCount),
17015
+ CriticalNonCompliantCount: smithy_client_1.expectInt32(output.CriticalNonCompliantCount),
17016
+ FailedCount: smithy_client_1.expectInt32(output.FailedCount),
17007
17017
  InstallOverrideList: smithy_client_1.expectString(output.InstallOverrideList),
17008
- InstalledCount: smithy_client_1.expectInt(output.InstalledCount),
17009
- InstalledOtherCount: smithy_client_1.expectInt(output.InstalledOtherCount),
17010
- InstalledPendingRebootCount: smithy_client_1.expectInt(output.InstalledPendingRebootCount),
17011
- InstalledRejectedCount: smithy_client_1.expectInt(output.InstalledRejectedCount),
17018
+ InstalledCount: smithy_client_1.expectInt32(output.InstalledCount),
17019
+ InstalledOtherCount: smithy_client_1.expectInt32(output.InstalledOtherCount),
17020
+ InstalledPendingRebootCount: smithy_client_1.expectInt32(output.InstalledPendingRebootCount),
17021
+ InstalledRejectedCount: smithy_client_1.expectInt32(output.InstalledRejectedCount),
17012
17022
  InstanceId: smithy_client_1.expectString(output.InstanceId),
17013
17023
  LastNoRebootInstallOperationTime: output.LastNoRebootInstallOperationTime !== undefined && output.LastNoRebootInstallOperationTime !== null
17014
- ? new Date(Math.round(output.LastNoRebootInstallOperationTime * 1000))
17024
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastNoRebootInstallOperationTime)))
17015
17025
  : undefined,
17016
- MissingCount: smithy_client_1.expectInt(output.MissingCount),
17017
- NotApplicableCount: smithy_client_1.expectInt(output.NotApplicableCount),
17026
+ MissingCount: smithy_client_1.expectInt32(output.MissingCount),
17027
+ NotApplicableCount: smithy_client_1.expectInt32(output.NotApplicableCount),
17018
17028
  Operation: smithy_client_1.expectString(output.Operation),
17019
17029
  OperationEndTime: output.OperationEndTime !== undefined && output.OperationEndTime !== null
17020
- ? new Date(Math.round(output.OperationEndTime * 1000))
17030
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.OperationEndTime)))
17021
17031
  : undefined,
17022
17032
  OperationStartTime: output.OperationStartTime !== undefined && output.OperationStartTime !== null
17023
- ? new Date(Math.round(output.OperationStartTime * 1000))
17033
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.OperationStartTime)))
17024
17034
  : undefined,
17025
- OtherNonCompliantCount: smithy_client_1.expectInt(output.OtherNonCompliantCount),
17035
+ OtherNonCompliantCount: smithy_client_1.expectInt32(output.OtherNonCompliantCount),
17026
17036
  OwnerInformation: smithy_client_1.expectString(output.OwnerInformation),
17027
17037
  PatchGroup: smithy_client_1.expectString(output.PatchGroup),
17028
17038
  RebootOption: smithy_client_1.expectString(output.RebootOption),
17029
- SecurityNonCompliantCount: smithy_client_1.expectInt(output.SecurityNonCompliantCount),
17039
+ SecurityNonCompliantCount: smithy_client_1.expectInt32(output.SecurityNonCompliantCount),
17030
17040
  SnapshotId: smithy_client_1.expectString(output.SnapshotId),
17031
- UnreportedNotApplicableCount: smithy_client_1.expectInt(output.UnreportedNotApplicableCount),
17041
+ UnreportedNotApplicableCount: smithy_client_1.expectInt32(output.UnreportedNotApplicableCount),
17032
17042
  };
17033
17043
  };
17034
17044
  const deserializeAws_json1_1InstancePatchStateList = (output, context) => {
@@ -17292,7 +17302,7 @@ const deserializeAws_json1_1InventoryDeletionStatusItem = (output, context) => {
17292
17302
  return {
17293
17303
  DeletionId: smithy_client_1.expectString(output.DeletionId),
17294
17304
  DeletionStartTime: output.DeletionStartTime !== undefined && output.DeletionStartTime !== null
17295
- ? new Date(Math.round(output.DeletionStartTime * 1000))
17305
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.DeletionStartTime)))
17296
17306
  : undefined,
17297
17307
  DeletionSummary: output.DeletionSummary !== undefined && output.DeletionSummary !== null
17298
17308
  ? deserializeAws_json1_1InventoryDeletionSummary(output.DeletionSummary, context)
@@ -17300,24 +17310,24 @@ const deserializeAws_json1_1InventoryDeletionStatusItem = (output, context) => {
17300
17310
  LastStatus: smithy_client_1.expectString(output.LastStatus),
17301
17311
  LastStatusMessage: smithy_client_1.expectString(output.LastStatusMessage),
17302
17312
  LastStatusUpdateTime: output.LastStatusUpdateTime !== undefined && output.LastStatusUpdateTime !== null
17303
- ? new Date(Math.round(output.LastStatusUpdateTime * 1000))
17313
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastStatusUpdateTime)))
17304
17314
  : undefined,
17305
17315
  TypeName: smithy_client_1.expectString(output.TypeName),
17306
17316
  };
17307
17317
  };
17308
17318
  const deserializeAws_json1_1InventoryDeletionSummary = (output, context) => {
17309
17319
  return {
17310
- RemainingCount: smithy_client_1.expectInt(output.RemainingCount),
17320
+ RemainingCount: smithy_client_1.expectInt32(output.RemainingCount),
17311
17321
  SummaryItems: output.SummaryItems !== undefined && output.SummaryItems !== null
17312
17322
  ? deserializeAws_json1_1InventoryDeletionSummaryItems(output.SummaryItems, context)
17313
17323
  : undefined,
17314
- TotalCount: smithy_client_1.expectInt(output.TotalCount),
17324
+ TotalCount: smithy_client_1.expectInt32(output.TotalCount),
17315
17325
  };
17316
17326
  };
17317
17327
  const deserializeAws_json1_1InventoryDeletionSummaryItem = (output, context) => {
17318
17328
  return {
17319
- Count: smithy_client_1.expectInt(output.Count),
17320
- RemainingCount: smithy_client_1.expectInt(output.RemainingCount),
17329
+ Count: smithy_client_1.expectInt32(output.Count),
17330
+ RemainingCount: smithy_client_1.expectInt32(output.RemainingCount),
17321
17331
  Version: smithy_client_1.expectString(output.Version),
17322
17332
  };
17323
17333
  };
@@ -17448,7 +17458,7 @@ const deserializeAws_json1_1LabelParameterVersionResult = (output, context) => {
17448
17458
  InvalidLabels: output.InvalidLabels !== undefined && output.InvalidLabels !== null
17449
17459
  ? deserializeAws_json1_1ParameterLabelList(output.InvalidLabels, context)
17450
17460
  : undefined,
17451
- ParameterVersion: smithy_client_1.expectInt(output.ParameterVersion),
17461
+ ParameterVersion: smithy_client_1.expectLong(output.ParameterVersion),
17452
17462
  };
17453
17463
  };
17454
17464
  const deserializeAws_json1_1ListAssociationsResult = (output, context) => {
@@ -17602,9 +17612,11 @@ const deserializeAws_json1_1MaintenanceWindowAutomationParameters = (output, con
17602
17612
  };
17603
17613
  const deserializeAws_json1_1MaintenanceWindowExecution = (output, context) => {
17604
17614
  return {
17605
- EndTime: output.EndTime !== undefined && output.EndTime !== null ? new Date(Math.round(output.EndTime * 1000)) : undefined,
17615
+ EndTime: output.EndTime !== undefined && output.EndTime !== null
17616
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EndTime)))
17617
+ : undefined,
17606
17618
  StartTime: output.StartTime !== undefined && output.StartTime !== null
17607
- ? new Date(Math.round(output.StartTime * 1000))
17619
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartTime)))
17608
17620
  : undefined,
17609
17621
  Status: smithy_client_1.expectString(output.Status),
17610
17622
  StatusDetails: smithy_client_1.expectString(output.StatusDetails),
@@ -17624,9 +17636,11 @@ const deserializeAws_json1_1MaintenanceWindowExecutionList = (output, context) =
17624
17636
  };
17625
17637
  const deserializeAws_json1_1MaintenanceWindowExecutionTaskIdentity = (output, context) => {
17626
17638
  return {
17627
- EndTime: output.EndTime !== undefined && output.EndTime !== null ? new Date(Math.round(output.EndTime * 1000)) : undefined,
17639
+ EndTime: output.EndTime !== undefined && output.EndTime !== null
17640
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EndTime)))
17641
+ : undefined,
17628
17642
  StartTime: output.StartTime !== undefined && output.StartTime !== null
17629
- ? new Date(Math.round(output.StartTime * 1000))
17643
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartTime)))
17630
17644
  : undefined,
17631
17645
  Status: smithy_client_1.expectString(output.Status),
17632
17646
  StatusDetails: smithy_client_1.expectString(output.StatusDetails),
@@ -17658,13 +17672,15 @@ const deserializeAws_json1_1MaintenanceWindowExecutionTaskIdList = (output, cont
17658
17672
  };
17659
17673
  const deserializeAws_json1_1MaintenanceWindowExecutionTaskInvocationIdentity = (output, context) => {
17660
17674
  return {
17661
- EndTime: output.EndTime !== undefined && output.EndTime !== null ? new Date(Math.round(output.EndTime * 1000)) : undefined,
17675
+ EndTime: output.EndTime !== undefined && output.EndTime !== null
17676
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EndTime)))
17677
+ : undefined,
17662
17678
  ExecutionId: smithy_client_1.expectString(output.ExecutionId),
17663
17679
  InvocationId: smithy_client_1.expectString(output.InvocationId),
17664
17680
  OwnerInformation: smithy_client_1.expectString(output.OwnerInformation),
17665
17681
  Parameters: smithy_client_1.expectString(output.Parameters),
17666
17682
  StartTime: output.StartTime !== undefined && output.StartTime !== null
17667
- ? new Date(Math.round(output.StartTime * 1000))
17683
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartTime)))
17668
17684
  : undefined,
17669
17685
  Status: smithy_client_1.expectString(output.Status),
17670
17686
  StatusDetails: smithy_client_1.expectString(output.StatusDetails),
@@ -17686,15 +17702,15 @@ const deserializeAws_json1_1MaintenanceWindowExecutionTaskInvocationIdentityList
17686
17702
  };
17687
17703
  const deserializeAws_json1_1MaintenanceWindowIdentity = (output, context) => {
17688
17704
  return {
17689
- Cutoff: smithy_client_1.expectInt(output.Cutoff),
17705
+ Cutoff: smithy_client_1.expectInt32(output.Cutoff),
17690
17706
  Description: smithy_client_1.expectString(output.Description),
17691
- Duration: smithy_client_1.expectInt(output.Duration),
17707
+ Duration: smithy_client_1.expectInt32(output.Duration),
17692
17708
  Enabled: smithy_client_1.expectBoolean(output.Enabled),
17693
17709
  EndDate: smithy_client_1.expectString(output.EndDate),
17694
17710
  Name: smithy_client_1.expectString(output.Name),
17695
17711
  NextExecutionTime: smithy_client_1.expectString(output.NextExecutionTime),
17696
17712
  Schedule: smithy_client_1.expectString(output.Schedule),
17697
- ScheduleOffset: smithy_client_1.expectInt(output.ScheduleOffset),
17713
+ ScheduleOffset: smithy_client_1.expectInt32(output.ScheduleOffset),
17698
17714
  ScheduleTimezone: smithy_client_1.expectString(output.ScheduleTimezone),
17699
17715
  StartDate: smithy_client_1.expectString(output.StartDate),
17700
17716
  WindowId: smithy_client_1.expectString(output.WindowId),
@@ -17741,7 +17757,7 @@ const deserializeAws_json1_1MaintenanceWindowRunCommandParameters = (output, con
17741
17757
  ? deserializeAws_json1_1Parameters(output.Parameters, context)
17742
17758
  : undefined,
17743
17759
  ServiceRoleArn: smithy_client_1.expectString(output.ServiceRoleArn),
17744
- TimeoutSeconds: smithy_client_1.expectInt(output.TimeoutSeconds),
17760
+ TimeoutSeconds: smithy_client_1.expectInt32(output.TimeoutSeconds),
17745
17761
  };
17746
17762
  };
17747
17763
  const deserializeAws_json1_1MaintenanceWindowsForTargetList = (output, context) => {
@@ -17792,7 +17808,7 @@ const deserializeAws_json1_1MaintenanceWindowTask = (output, context) => {
17792
17808
  MaxConcurrency: smithy_client_1.expectString(output.MaxConcurrency),
17793
17809
  MaxErrors: smithy_client_1.expectString(output.MaxErrors),
17794
17810
  Name: smithy_client_1.expectString(output.Name),
17795
- Priority: smithy_client_1.expectInt(output.Priority),
17811
+ Priority: smithy_client_1.expectInt32(output.Priority),
17796
17812
  ServiceRoleArn: smithy_client_1.expectString(output.ServiceRoleArn),
17797
17813
  Targets: output.Targets !== undefined && output.Targets !== null
17798
17814
  ? deserializeAws_json1_1Targets(output.Targets, context)
@@ -17896,7 +17912,7 @@ const deserializeAws_json1_1ModifyDocumentPermissionResponse = (output, context)
17896
17912
  };
17897
17913
  const deserializeAws_json1_1NonCompliantSummary = (output, context) => {
17898
17914
  return {
17899
- NonCompliantCount: smithy_client_1.expectInt(output.NonCompliantCount),
17915
+ NonCompliantCount: smithy_client_1.expectInt32(output.NonCompliantCount),
17900
17916
  SeveritySummary: output.SeveritySummary !== undefined && output.SeveritySummary !== null
17901
17917
  ? deserializeAws_json1_1SeveritySummary(output.SeveritySummary, context)
17902
17918
  : undefined,
@@ -17993,20 +18009,20 @@ const deserializeAws_json1_1OpsEntityList = (output, context) => {
17993
18009
  const deserializeAws_json1_1OpsItem = (output, context) => {
17994
18010
  return {
17995
18011
  ActualEndTime: output.ActualEndTime !== undefined && output.ActualEndTime !== null
17996
- ? new Date(Math.round(output.ActualEndTime * 1000))
18012
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ActualEndTime)))
17997
18013
  : undefined,
17998
18014
  ActualStartTime: output.ActualStartTime !== undefined && output.ActualStartTime !== null
17999
- ? new Date(Math.round(output.ActualStartTime * 1000))
18015
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ActualStartTime)))
18000
18016
  : undefined,
18001
18017
  Category: smithy_client_1.expectString(output.Category),
18002
18018
  CreatedBy: smithy_client_1.expectString(output.CreatedBy),
18003
18019
  CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
18004
- ? new Date(Math.round(output.CreatedTime * 1000))
18020
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedTime)))
18005
18021
  : undefined,
18006
18022
  Description: smithy_client_1.expectString(output.Description),
18007
18023
  LastModifiedBy: smithy_client_1.expectString(output.LastModifiedBy),
18008
18024
  LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
18009
- ? new Date(Math.round(output.LastModifiedTime * 1000))
18025
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedTime)))
18010
18026
  : undefined,
18011
18027
  Notifications: output.Notifications !== undefined && output.Notifications !== null
18012
18028
  ? deserializeAws_json1_1OpsItemNotifications(output.Notifications, context)
@@ -18017,12 +18033,12 @@ const deserializeAws_json1_1OpsItem = (output, context) => {
18017
18033
  OpsItemId: smithy_client_1.expectString(output.OpsItemId),
18018
18034
  OpsItemType: smithy_client_1.expectString(output.OpsItemType),
18019
18035
  PlannedEndTime: output.PlannedEndTime !== undefined && output.PlannedEndTime !== null
18020
- ? new Date(Math.round(output.PlannedEndTime * 1000))
18036
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.PlannedEndTime)))
18021
18037
  : undefined,
18022
18038
  PlannedStartTime: output.PlannedStartTime !== undefined && output.PlannedStartTime !== null
18023
- ? new Date(Math.round(output.PlannedStartTime * 1000))
18039
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.PlannedStartTime)))
18024
18040
  : undefined,
18025
- Priority: smithy_client_1.expectInt(output.Priority),
18041
+ Priority: smithy_client_1.expectInt32(output.Priority),
18026
18042
  RelatedOpsItems: output.RelatedOpsItems !== undefined && output.RelatedOpsItems !== null
18027
18043
  ? deserializeAws_json1_1RelatedOpsItems(output.RelatedOpsItems, context)
18028
18044
  : undefined,
@@ -18061,7 +18077,7 @@ const deserializeAws_json1_1OpsItemEventSummary = (output, context) => {
18061
18077
  ? deserializeAws_json1_1OpsItemIdentity(output.CreatedBy, context)
18062
18078
  : undefined,
18063
18079
  CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
18064
- ? new Date(Math.round(output.CreatedTime * 1000))
18080
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedTime)))
18065
18081
  : undefined,
18066
18082
  Detail: smithy_client_1.expectString(output.Detail),
18067
18083
  DetailType: smithy_client_1.expectString(output.DetailType),
@@ -18085,7 +18101,7 @@ const deserializeAws_json1_1OpsItemInvalidParameterException = (output, context)
18085
18101
  };
18086
18102
  const deserializeAws_json1_1OpsItemLimitExceededException = (output, context) => {
18087
18103
  return {
18088
- Limit: smithy_client_1.expectInt(output.Limit),
18104
+ Limit: smithy_client_1.expectInt32(output.Limit),
18089
18105
  LimitType: smithy_client_1.expectString(output.LimitType),
18090
18106
  Message: smithy_client_1.expectString(output.Message),
18091
18107
  ResourceTypes: output.ResourceTypes !== undefined && output.ResourceTypes !== null
@@ -18164,13 +18180,13 @@ const deserializeAws_json1_1OpsItemRelatedItemSummary = (output, context) => {
18164
18180
  ? deserializeAws_json1_1OpsItemIdentity(output.CreatedBy, context)
18165
18181
  : undefined,
18166
18182
  CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
18167
- ? new Date(Math.round(output.CreatedTime * 1000))
18183
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedTime)))
18168
18184
  : undefined,
18169
18185
  LastModifiedBy: output.LastModifiedBy !== undefined && output.LastModifiedBy !== null
18170
18186
  ? deserializeAws_json1_1OpsItemIdentity(output.LastModifiedBy, context)
18171
18187
  : undefined,
18172
18188
  LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
18173
- ? new Date(Math.round(output.LastModifiedTime * 1000))
18189
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedTime)))
18174
18190
  : undefined,
18175
18191
  OpsItemId: smithy_client_1.expectString(output.OpsItemId),
18176
18192
  ResourceType: smithy_client_1.expectString(output.ResourceType),
@@ -18190,19 +18206,19 @@ const deserializeAws_json1_1OpsItemSummaries = (output, context) => {
18190
18206
  const deserializeAws_json1_1OpsItemSummary = (output, context) => {
18191
18207
  return {
18192
18208
  ActualEndTime: output.ActualEndTime !== undefined && output.ActualEndTime !== null
18193
- ? new Date(Math.round(output.ActualEndTime * 1000))
18209
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ActualEndTime)))
18194
18210
  : undefined,
18195
18211
  ActualStartTime: output.ActualStartTime !== undefined && output.ActualStartTime !== null
18196
- ? new Date(Math.round(output.ActualStartTime * 1000))
18212
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ActualStartTime)))
18197
18213
  : undefined,
18198
18214
  Category: smithy_client_1.expectString(output.Category),
18199
18215
  CreatedBy: smithy_client_1.expectString(output.CreatedBy),
18200
18216
  CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
18201
- ? new Date(Math.round(output.CreatedTime * 1000))
18217
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedTime)))
18202
18218
  : undefined,
18203
18219
  LastModifiedBy: smithy_client_1.expectString(output.LastModifiedBy),
18204
18220
  LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
18205
- ? new Date(Math.round(output.LastModifiedTime * 1000))
18221
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedTime)))
18206
18222
  : undefined,
18207
18223
  OperationalData: output.OperationalData !== undefined && output.OperationalData !== null
18208
18224
  ? deserializeAws_json1_1OpsItemOperationalData(output.OperationalData, context)
@@ -18210,12 +18226,12 @@ const deserializeAws_json1_1OpsItemSummary = (output, context) => {
18210
18226
  OpsItemId: smithy_client_1.expectString(output.OpsItemId),
18211
18227
  OpsItemType: smithy_client_1.expectString(output.OpsItemType),
18212
18228
  PlannedEndTime: output.PlannedEndTime !== undefined && output.PlannedEndTime !== null
18213
- ? new Date(Math.round(output.PlannedEndTime * 1000))
18229
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.PlannedEndTime)))
18214
18230
  : undefined,
18215
18231
  PlannedStartTime: output.PlannedStartTime !== undefined && output.PlannedStartTime !== null
18216
- ? new Date(Math.round(output.PlannedStartTime * 1000))
18232
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.PlannedStartTime)))
18217
18233
  : undefined,
18218
- Priority: smithy_client_1.expectInt(output.Priority),
18234
+ Priority: smithy_client_1.expectInt32(output.Priority),
18219
18235
  Severity: smithy_client_1.expectString(output.Severity),
18220
18236
  Source: smithy_client_1.expectString(output.Source),
18221
18237
  Status: smithy_client_1.expectString(output.Status),
@@ -18225,10 +18241,10 @@ const deserializeAws_json1_1OpsItemSummary = (output, context) => {
18225
18241
  const deserializeAws_json1_1OpsMetadata = (output, context) => {
18226
18242
  return {
18227
18243
  CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
18228
- ? new Date(Math.round(output.CreationDate * 1000))
18244
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationDate)))
18229
18245
  : undefined,
18230
18246
  LastModifiedDate: output.LastModifiedDate !== undefined && output.LastModifiedDate !== null
18231
- ? new Date(Math.round(output.LastModifiedDate * 1000))
18247
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedDate)))
18232
18248
  : undefined,
18233
18249
  LastModifiedUser: smithy_client_1.expectString(output.LastModifiedUser),
18234
18250
  OpsMetadataArn: smithy_client_1.expectString(output.OpsMetadataArn),
@@ -18286,14 +18302,14 @@ const deserializeAws_json1_1Parameter = (output, context) => {
18286
18302
  ARN: smithy_client_1.expectString(output.ARN),
18287
18303
  DataType: smithy_client_1.expectString(output.DataType),
18288
18304
  LastModifiedDate: output.LastModifiedDate !== undefined && output.LastModifiedDate !== null
18289
- ? new Date(Math.round(output.LastModifiedDate * 1000))
18305
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedDate)))
18290
18306
  : undefined,
18291
18307
  Name: smithy_client_1.expectString(output.Name),
18292
18308
  Selector: smithy_client_1.expectString(output.Selector),
18293
18309
  SourceResult: smithy_client_1.expectString(output.SourceResult),
18294
18310
  Type: smithy_client_1.expectString(output.Type),
18295
18311
  Value: smithy_client_1.expectString(output.Value),
18296
- Version: smithy_client_1.expectInt(output.Version),
18312
+ Version: smithy_client_1.expectLong(output.Version),
18297
18313
  };
18298
18314
  };
18299
18315
  const deserializeAws_json1_1ParameterAlreadyExists = (output, context) => {
@@ -18311,7 +18327,7 @@ const deserializeAws_json1_1ParameterHistory = (output, context) => {
18311
18327
  ? deserializeAws_json1_1ParameterLabelList(output.Labels, context)
18312
18328
  : undefined,
18313
18329
  LastModifiedDate: output.LastModifiedDate !== undefined && output.LastModifiedDate !== null
18314
- ? new Date(Math.round(output.LastModifiedDate * 1000))
18330
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedDate)))
18315
18331
  : undefined,
18316
18332
  LastModifiedUser: smithy_client_1.expectString(output.LastModifiedUser),
18317
18333
  Name: smithy_client_1.expectString(output.Name),
@@ -18321,7 +18337,7 @@ const deserializeAws_json1_1ParameterHistory = (output, context) => {
18321
18337
  Tier: smithy_client_1.expectString(output.Tier),
18322
18338
  Type: smithy_client_1.expectString(output.Type),
18323
18339
  Value: smithy_client_1.expectString(output.Value),
18324
- Version: smithy_client_1.expectInt(output.Version),
18340
+ Version: smithy_client_1.expectLong(output.Version),
18325
18341
  };
18326
18342
  };
18327
18343
  const deserializeAws_json1_1ParameterHistoryList = (output, context) => {
@@ -18378,7 +18394,7 @@ const deserializeAws_json1_1ParameterMetadata = (output, context) => {
18378
18394
  Description: smithy_client_1.expectString(output.Description),
18379
18395
  KeyId: smithy_client_1.expectString(output.KeyId),
18380
18396
  LastModifiedDate: output.LastModifiedDate !== undefined && output.LastModifiedDate !== null
18381
- ? new Date(Math.round(output.LastModifiedDate * 1000))
18397
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedDate)))
18382
18398
  : undefined,
18383
18399
  LastModifiedUser: smithy_client_1.expectString(output.LastModifiedUser),
18384
18400
  Name: smithy_client_1.expectString(output.Name),
@@ -18387,7 +18403,7 @@ const deserializeAws_json1_1ParameterMetadata = (output, context) => {
18387
18403
  : undefined,
18388
18404
  Tier: smithy_client_1.expectString(output.Tier),
18389
18405
  Type: smithy_client_1.expectString(output.Type),
18390
- Version: smithy_client_1.expectInt(output.Version),
18406
+ Version: smithy_client_1.expectLong(output.Version),
18391
18407
  };
18392
18408
  };
18393
18409
  const deserializeAws_json1_1ParameterMetadataList = (output, context) => {
@@ -18476,7 +18492,7 @@ const deserializeAws_json1_1Patch = (output, context) => {
18476
18492
  Classification: smithy_client_1.expectString(output.Classification),
18477
18493
  ContentUrl: smithy_client_1.expectString(output.ContentUrl),
18478
18494
  Description: smithy_client_1.expectString(output.Description),
18479
- Epoch: smithy_client_1.expectInt(output.Epoch),
18495
+ Epoch: smithy_client_1.expectInt32(output.Epoch),
18480
18496
  Id: smithy_client_1.expectString(output.Id),
18481
18497
  KbNumber: smithy_client_1.expectString(output.KbNumber),
18482
18498
  Language: smithy_client_1.expectString(output.Language),
@@ -18487,7 +18503,7 @@ const deserializeAws_json1_1Patch = (output, context) => {
18487
18503
  ProductFamily: smithy_client_1.expectString(output.ProductFamily),
18488
18504
  Release: smithy_client_1.expectString(output.Release),
18489
18505
  ReleaseDate: output.ReleaseDate !== undefined && output.ReleaseDate !== null
18490
- ? new Date(Math.round(output.ReleaseDate * 1000))
18506
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ReleaseDate)))
18491
18507
  : undefined,
18492
18508
  Repository: smithy_client_1.expectString(output.Repository),
18493
18509
  Severity: smithy_client_1.expectString(output.Severity),
@@ -18540,7 +18556,7 @@ const deserializeAws_json1_1PatchComplianceData = (output, context) => {
18540
18556
  CVEIds: smithy_client_1.expectString(output.CVEIds),
18541
18557
  Classification: smithy_client_1.expectString(output.Classification),
18542
18558
  InstalledTime: output.InstalledTime !== undefined && output.InstalledTime !== null
18543
- ? new Date(Math.round(output.InstalledTime * 1000))
18559
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.InstalledTime)))
18544
18560
  : undefined,
18545
18561
  KBId: smithy_client_1.expectString(output.KBId),
18546
18562
  Severity: smithy_client_1.expectString(output.Severity),
@@ -18674,7 +18690,7 @@ const deserializeAws_json1_1PatchPropertyEntry = (output, context) => {
18674
18690
  };
18675
18691
  const deserializeAws_json1_1PatchRule = (output, context) => {
18676
18692
  return {
18677
- ApproveAfterDays: smithy_client_1.expectInt(output.ApproveAfterDays),
18693
+ ApproveAfterDays: smithy_client_1.expectInt32(output.ApproveAfterDays),
18678
18694
  ApproveUntilDate: smithy_client_1.expectString(output.ApproveUntilDate),
18679
18695
  ComplianceLevel: smithy_client_1.expectString(output.ComplianceLevel),
18680
18696
  EnableNonSecurity: smithy_client_1.expectBoolean(output.EnableNonSecurity),
@@ -18732,7 +18748,7 @@ const deserializeAws_json1_1PatchSourceProductList = (output, context) => {
18732
18748
  const deserializeAws_json1_1PatchStatus = (output, context) => {
18733
18749
  return {
18734
18750
  ApprovalDate: output.ApprovalDate !== undefined && output.ApprovalDate !== null
18735
- ? new Date(Math.round(output.ApprovalDate * 1000))
18751
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ApprovalDate)))
18736
18752
  : undefined,
18737
18753
  ComplianceLevel: smithy_client_1.expectString(output.ComplianceLevel),
18738
18754
  DeploymentStatus: smithy_client_1.expectString(output.DeploymentStatus),
@@ -18755,11 +18771,11 @@ const deserializeAws_json1_1PoliciesLimitExceededException = (output, context) =
18755
18771
  };
18756
18772
  const deserializeAws_json1_1ProgressCounters = (output, context) => {
18757
18773
  return {
18758
- CancelledSteps: smithy_client_1.expectInt(output.CancelledSteps),
18759
- FailedSteps: smithy_client_1.expectInt(output.FailedSteps),
18760
- SuccessSteps: smithy_client_1.expectInt(output.SuccessSteps),
18761
- TimedOutSteps: smithy_client_1.expectInt(output.TimedOutSteps),
18762
- TotalSteps: smithy_client_1.expectInt(output.TotalSteps),
18774
+ CancelledSteps: smithy_client_1.expectInt32(output.CancelledSteps),
18775
+ FailedSteps: smithy_client_1.expectInt32(output.FailedSteps),
18776
+ SuccessSteps: smithy_client_1.expectInt32(output.SuccessSteps),
18777
+ TimedOutSteps: smithy_client_1.expectInt32(output.TimedOutSteps),
18778
+ TotalSteps: smithy_client_1.expectInt32(output.TotalSteps),
18763
18779
  };
18764
18780
  };
18765
18781
  const deserializeAws_json1_1PutComplianceItemsResult = (output, context) => {
@@ -18773,7 +18789,7 @@ const deserializeAws_json1_1PutInventoryResult = (output, context) => {
18773
18789
  const deserializeAws_json1_1PutParameterResult = (output, context) => {
18774
18790
  return {
18775
18791
  Tier: smithy_client_1.expectString(output.Tier),
18776
- Version: smithy_client_1.expectInt(output.Version),
18792
+ Version: smithy_client_1.expectLong(output.Version),
18777
18793
  };
18778
18794
  };
18779
18795
  const deserializeAws_json1_1Regions = (output, context) => {
@@ -18905,20 +18921,20 @@ const deserializeAws_json1_1ResourceDataSyncItem = (output, context) => {
18905
18921
  return {
18906
18922
  LastStatus: smithy_client_1.expectString(output.LastStatus),
18907
18923
  LastSuccessfulSyncTime: output.LastSuccessfulSyncTime !== undefined && output.LastSuccessfulSyncTime !== null
18908
- ? new Date(Math.round(output.LastSuccessfulSyncTime * 1000))
18924
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastSuccessfulSyncTime)))
18909
18925
  : undefined,
18910
18926
  LastSyncStatusMessage: smithy_client_1.expectString(output.LastSyncStatusMessage),
18911
18927
  LastSyncTime: output.LastSyncTime !== undefined && output.LastSyncTime !== null
18912
- ? new Date(Math.round(output.LastSyncTime * 1000))
18928
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastSyncTime)))
18913
18929
  : undefined,
18914
18930
  S3Destination: output.S3Destination !== undefined && output.S3Destination !== null
18915
18931
  ? deserializeAws_json1_1ResourceDataSyncS3Destination(output.S3Destination, context)
18916
18932
  : undefined,
18917
18933
  SyncCreatedTime: output.SyncCreatedTime !== undefined && output.SyncCreatedTime !== null
18918
- ? new Date(Math.round(output.SyncCreatedTime * 1000))
18934
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.SyncCreatedTime)))
18919
18935
  : undefined,
18920
18936
  SyncLastModifiedTime: output.SyncLastModifiedTime !== undefined && output.SyncLastModifiedTime !== null
18921
- ? new Date(Math.round(output.SyncLastModifiedTime * 1000))
18937
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.SyncLastModifiedTime)))
18922
18938
  : undefined,
18923
18939
  SyncName: smithy_client_1.expectString(output.SyncName),
18924
18940
  SyncSource: output.SyncSource !== undefined && output.SyncSource !== null
@@ -19015,7 +19031,7 @@ const deserializeAws_json1_1ResumeSessionResponse = (output, context) => {
19015
19031
  const deserializeAws_json1_1ReviewInformation = (output, context) => {
19016
19032
  return {
19017
19033
  ReviewedTime: output.ReviewedTime !== undefined && output.ReviewedTime !== null
19018
- ? new Date(Math.round(output.ReviewedTime * 1000))
19034
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ReviewedTime)))
19019
19035
  : undefined,
19020
19036
  Reviewer: smithy_client_1.expectString(output.Reviewer),
19021
19037
  Status: smithy_client_1.expectString(output.Status),
@@ -19102,7 +19118,7 @@ const deserializeAws_json1_1ServiceSetting = (output, context) => {
19102
19118
  return {
19103
19119
  ARN: smithy_client_1.expectString(output.ARN),
19104
19120
  LastModifiedDate: output.LastModifiedDate !== undefined && output.LastModifiedDate !== null
19105
- ? new Date(Math.round(output.LastModifiedDate * 1000))
19121
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedDate)))
19106
19122
  : undefined,
19107
19123
  LastModifiedUser: smithy_client_1.expectString(output.LastModifiedUser),
19108
19124
  SettingId: smithy_client_1.expectString(output.SettingId),
@@ -19119,14 +19135,16 @@ const deserializeAws_json1_1Session = (output, context) => {
19119
19135
  return {
19120
19136
  Details: smithy_client_1.expectString(output.Details),
19121
19137
  DocumentName: smithy_client_1.expectString(output.DocumentName),
19122
- EndDate: output.EndDate !== undefined && output.EndDate !== null ? new Date(Math.round(output.EndDate * 1000)) : undefined,
19138
+ EndDate: output.EndDate !== undefined && output.EndDate !== null
19139
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EndDate)))
19140
+ : undefined,
19123
19141
  OutputUrl: output.OutputUrl !== undefined && output.OutputUrl !== null
19124
19142
  ? deserializeAws_json1_1SessionManagerOutputUrl(output.OutputUrl, context)
19125
19143
  : undefined,
19126
19144
  Owner: smithy_client_1.expectString(output.Owner),
19127
19145
  SessionId: smithy_client_1.expectString(output.SessionId),
19128
19146
  StartDate: output.StartDate !== undefined && output.StartDate !== null
19129
- ? new Date(Math.round(output.StartDate * 1000))
19147
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartDate)))
19130
19148
  : undefined,
19131
19149
  Status: smithy_client_1.expectString(output.Status),
19132
19150
  Target: smithy_client_1.expectString(output.Target),
@@ -19150,12 +19168,12 @@ const deserializeAws_json1_1SessionManagerOutputUrl = (output, context) => {
19150
19168
  };
19151
19169
  const deserializeAws_json1_1SeveritySummary = (output, context) => {
19152
19170
  return {
19153
- CriticalCount: smithy_client_1.expectInt(output.CriticalCount),
19154
- HighCount: smithy_client_1.expectInt(output.HighCount),
19155
- InformationalCount: smithy_client_1.expectInt(output.InformationalCount),
19156
- LowCount: smithy_client_1.expectInt(output.LowCount),
19157
- MediumCount: smithy_client_1.expectInt(output.MediumCount),
19158
- UnspecifiedCount: smithy_client_1.expectInt(output.UnspecifiedCount),
19171
+ CriticalCount: smithy_client_1.expectInt32(output.CriticalCount),
19172
+ HighCount: smithy_client_1.expectInt32(output.HighCount),
19173
+ InformationalCount: smithy_client_1.expectInt32(output.InformationalCount),
19174
+ LowCount: smithy_client_1.expectInt32(output.LowCount),
19175
+ MediumCount: smithy_client_1.expectInt32(output.MediumCount),
19176
+ UnspecifiedCount: smithy_client_1.expectInt32(output.UnspecifiedCount),
19159
19177
  };
19160
19178
  };
19161
19179
  const deserializeAws_json1_1StartAssociationsOnceResult = (output, context) => {
@@ -19185,10 +19203,10 @@ const deserializeAws_json1_1StepExecution = (output, context) => {
19185
19203
  return {
19186
19204
  Action: smithy_client_1.expectString(output.Action),
19187
19205
  ExecutionEndTime: output.ExecutionEndTime !== undefined && output.ExecutionEndTime !== null
19188
- ? new Date(Math.round(output.ExecutionEndTime * 1000))
19206
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ExecutionEndTime)))
19189
19207
  : undefined,
19190
19208
  ExecutionStartTime: output.ExecutionStartTime !== undefined && output.ExecutionStartTime !== null
19191
- ? new Date(Math.round(output.ExecutionStartTime * 1000))
19209
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ExecutionStartTime)))
19192
19210
  : undefined,
19193
19211
  FailureDetails: output.FailureDetails !== undefined && output.FailureDetails !== null
19194
19212
  ? deserializeAws_json1_1FailureDetails(output.FailureDetails, context)
@@ -19199,7 +19217,7 @@ const deserializeAws_json1_1StepExecution = (output, context) => {
19199
19217
  : undefined,
19200
19218
  IsCritical: smithy_client_1.expectBoolean(output.IsCritical),
19201
19219
  IsEnd: smithy_client_1.expectBoolean(output.IsEnd),
19202
- MaxAttempts: smithy_client_1.expectInt(output.MaxAttempts),
19220
+ MaxAttempts: smithy_client_1.expectInt32(output.MaxAttempts),
19203
19221
  NextStep: smithy_client_1.expectString(output.NextStep),
19204
19222
  OnFailure: smithy_client_1.expectString(output.OnFailure),
19205
19223
  Outputs: output.Outputs !== undefined && output.Outputs !== null
@@ -19219,7 +19237,7 @@ const deserializeAws_json1_1StepExecution = (output, context) => {
19219
19237
  Targets: output.Targets !== undefined && output.Targets !== null
19220
19238
  ? deserializeAws_json1_1Targets(output.Targets, context)
19221
19239
  : undefined,
19222
- TimeoutSeconds: smithy_client_1.expectInt(output.TimeoutSeconds),
19240
+ TimeoutSeconds: smithy_client_1.expectLong(output.TimeoutSeconds),
19223
19241
  ValidNextSteps: output.ValidNextSteps !== undefined && output.ValidNextSteps !== null
19224
19242
  ? deserializeAws_json1_1ValidNextStepList(output.ValidNextSteps, context)
19225
19243
  : undefined,
@@ -19459,14 +19477,14 @@ const deserializeAws_json1_1UpdateDocumentResult = (output, context) => {
19459
19477
  const deserializeAws_json1_1UpdateMaintenanceWindowResult = (output, context) => {
19460
19478
  return {
19461
19479
  AllowUnassociatedTargets: smithy_client_1.expectBoolean(output.AllowUnassociatedTargets),
19462
- Cutoff: smithy_client_1.expectInt(output.Cutoff),
19480
+ Cutoff: smithy_client_1.expectInt32(output.Cutoff),
19463
19481
  Description: smithy_client_1.expectString(output.Description),
19464
- Duration: smithy_client_1.expectInt(output.Duration),
19482
+ Duration: smithy_client_1.expectInt32(output.Duration),
19465
19483
  Enabled: smithy_client_1.expectBoolean(output.Enabled),
19466
19484
  EndDate: smithy_client_1.expectString(output.EndDate),
19467
19485
  Name: smithy_client_1.expectString(output.Name),
19468
19486
  Schedule: smithy_client_1.expectString(output.Schedule),
19469
- ScheduleOffset: smithy_client_1.expectInt(output.ScheduleOffset),
19487
+ ScheduleOffset: smithy_client_1.expectInt32(output.ScheduleOffset),
19470
19488
  ScheduleTimezone: smithy_client_1.expectString(output.ScheduleTimezone),
19471
19489
  StartDate: smithy_client_1.expectString(output.StartDate),
19472
19490
  WindowId: smithy_client_1.expectString(output.WindowId),
@@ -19493,7 +19511,7 @@ const deserializeAws_json1_1UpdateMaintenanceWindowTaskResult = (output, context
19493
19511
  MaxConcurrency: smithy_client_1.expectString(output.MaxConcurrency),
19494
19512
  MaxErrors: smithy_client_1.expectString(output.MaxErrors),
19495
19513
  Name: smithy_client_1.expectString(output.Name),
19496
- Priority: smithy_client_1.expectInt(output.Priority),
19514
+ Priority: smithy_client_1.expectInt32(output.Priority),
19497
19515
  ServiceRoleArn: smithy_client_1.expectString(output.ServiceRoleArn),
19498
19516
  Targets: output.Targets !== undefined && output.Targets !== null
19499
19517
  ? deserializeAws_json1_1Targets(output.Targets, context)
@@ -19532,14 +19550,14 @@ const deserializeAws_json1_1UpdatePatchBaselineResult = (output, context) => {
19532
19550
  ApprovedPatchesEnableNonSecurity: smithy_client_1.expectBoolean(output.ApprovedPatchesEnableNonSecurity),
19533
19551
  BaselineId: smithy_client_1.expectString(output.BaselineId),
19534
19552
  CreatedDate: output.CreatedDate !== undefined && output.CreatedDate !== null
19535
- ? new Date(Math.round(output.CreatedDate * 1000))
19553
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedDate)))
19536
19554
  : undefined,
19537
19555
  Description: smithy_client_1.expectString(output.Description),
19538
19556
  GlobalFilters: output.GlobalFilters !== undefined && output.GlobalFilters !== null
19539
19557
  ? deserializeAws_json1_1PatchFilterGroup(output.GlobalFilters, context)
19540
19558
  : undefined,
19541
19559
  ModifiedDate: output.ModifiedDate !== undefined && output.ModifiedDate !== null
19542
- ? new Date(Math.round(output.ModifiedDate * 1000))
19560
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ModifiedDate)))
19543
19561
  : undefined,
19544
19562
  Name: smithy_client_1.expectString(output.Name),
19545
19563
  OperatingSystem: smithy_client_1.expectString(output.OperatingSystem),