@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.
@@ -1,6 +1,6 @@
1
1
  import { __assign, __awaiter, __generator, __read } from "tslib";
2
2
  import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
3
- import { expectBoolean as __expectBoolean, expectInt as __expectInt, expectString as __expectString, } from "@aws-sdk/smithy-client";
3
+ import { expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, } from "@aws-sdk/smithy-client";
4
4
  import { v4 as generateIdempotencyToken } from "uuid";
5
5
  export var serializeAws_json1_1AddTagsToResourceCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
6
6
  var headers, body;
@@ -15230,17 +15230,17 @@ var deserializeAws_json1_1Activation = function (output, context) {
15230
15230
  return {
15231
15231
  ActivationId: __expectString(output.ActivationId),
15232
15232
  CreatedDate: output.CreatedDate !== undefined && output.CreatedDate !== null
15233
- ? new Date(Math.round(output.CreatedDate * 1000))
15233
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedDate)))
15234
15234
  : undefined,
15235
15235
  DefaultInstanceName: __expectString(output.DefaultInstanceName),
15236
15236
  Description: __expectString(output.Description),
15237
15237
  ExpirationDate: output.ExpirationDate !== undefined && output.ExpirationDate !== null
15238
- ? new Date(Math.round(output.ExpirationDate * 1000))
15238
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ExpirationDate)))
15239
15239
  : undefined,
15240
15240
  Expired: __expectBoolean(output.Expired),
15241
15241
  IamRole: __expectString(output.IamRole),
15242
- RegistrationLimit: __expectInt(output.RegistrationLimit),
15243
- RegistrationsCount: __expectInt(output.RegistrationsCount),
15242
+ RegistrationLimit: __expectInt32(output.RegistrationLimit),
15243
+ RegistrationsCount: __expectInt32(output.RegistrationsCount),
15244
15244
  Tags: output.Tags !== undefined && output.Tags !== null
15245
15245
  ? deserializeAws_json1_1TagList(output.Tags, context)
15246
15246
  : undefined,
@@ -15280,7 +15280,7 @@ var deserializeAws_json1_1Association = function (output, context) {
15280
15280
  DocumentVersion: __expectString(output.DocumentVersion),
15281
15281
  InstanceId: __expectString(output.InstanceId),
15282
15282
  LastExecutionDate: output.LastExecutionDate !== undefined && output.LastExecutionDate !== null
15283
- ? new Date(Math.round(output.LastExecutionDate * 1000))
15283
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastExecutionDate)))
15284
15284
  : undefined,
15285
15285
  Name: __expectString(output.Name),
15286
15286
  Overview: output.Overview !== undefined && output.Overview !== null
@@ -15306,17 +15306,19 @@ var deserializeAws_json1_1AssociationDescription = function (output, context) {
15306
15306
  ? deserializeAws_json1_1CalendarNameOrARNList(output.CalendarNames, context)
15307
15307
  : undefined,
15308
15308
  ComplianceSeverity: __expectString(output.ComplianceSeverity),
15309
- Date: output.Date !== undefined && output.Date !== null ? new Date(Math.round(output.Date * 1000)) : undefined,
15309
+ Date: output.Date !== undefined && output.Date !== null
15310
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.Date)))
15311
+ : undefined,
15310
15312
  DocumentVersion: __expectString(output.DocumentVersion),
15311
15313
  InstanceId: __expectString(output.InstanceId),
15312
15314
  LastExecutionDate: output.LastExecutionDate !== undefined && output.LastExecutionDate !== null
15313
- ? new Date(Math.round(output.LastExecutionDate * 1000))
15315
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastExecutionDate)))
15314
15316
  : undefined,
15315
15317
  LastSuccessfulExecutionDate: output.LastSuccessfulExecutionDate !== undefined && output.LastSuccessfulExecutionDate !== null
15316
- ? new Date(Math.round(output.LastSuccessfulExecutionDate * 1000))
15318
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastSuccessfulExecutionDate)))
15317
15319
  : undefined,
15318
15320
  LastUpdateAssociationDate: output.LastUpdateAssociationDate !== undefined && output.LastUpdateAssociationDate !== null
15319
- ? new Date(Math.round(output.LastUpdateAssociationDate * 1000))
15321
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdateAssociationDate)))
15320
15322
  : undefined,
15321
15323
  MaxConcurrency: __expectString(output.MaxConcurrency),
15322
15324
  MaxErrors: __expectString(output.MaxErrors),
@@ -15363,12 +15365,12 @@ var deserializeAws_json1_1AssociationExecution = function (output, context) {
15363
15365
  AssociationId: __expectString(output.AssociationId),
15364
15366
  AssociationVersion: __expectString(output.AssociationVersion),
15365
15367
  CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
15366
- ? new Date(Math.round(output.CreatedTime * 1000))
15368
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
15367
15369
  : undefined,
15368
15370
  DetailedStatus: __expectString(output.DetailedStatus),
15369
15371
  ExecutionId: __expectString(output.ExecutionId),
15370
15372
  LastExecutionDate: output.LastExecutionDate !== undefined && output.LastExecutionDate !== null
15371
- ? new Date(Math.round(output.LastExecutionDate * 1000))
15373
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastExecutionDate)))
15372
15374
  : undefined,
15373
15375
  ResourceCountByStatus: __expectString(output.ResourceCountByStatus),
15374
15376
  Status: __expectString(output.Status),
@@ -15396,7 +15398,7 @@ var deserializeAws_json1_1AssociationExecutionTarget = function (output, context
15396
15398
  DetailedStatus: __expectString(output.DetailedStatus),
15397
15399
  ExecutionId: __expectString(output.ExecutionId),
15398
15400
  LastExecutionDate: output.LastExecutionDate !== undefined && output.LastExecutionDate !== null
15399
- ? new Date(Math.round(output.LastExecutionDate * 1000))
15401
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastExecutionDate)))
15400
15402
  : undefined,
15401
15403
  OutputSource: output.OutputSource !== undefined && output.OutputSource !== null
15402
15404
  ? deserializeAws_json1_1OutputSource(output.OutputSource, context)
@@ -15441,7 +15443,9 @@ var deserializeAws_json1_1AssociationOverview = function (output, context) {
15441
15443
  var deserializeAws_json1_1AssociationStatus = function (output, context) {
15442
15444
  return {
15443
15445
  AdditionalInfo: __expectString(output.AdditionalInfo),
15444
- Date: output.Date !== undefined && output.Date !== null ? new Date(Math.round(output.Date * 1000)) : undefined,
15446
+ Date: output.Date !== undefined && output.Date !== null
15447
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.Date)))
15448
+ : undefined,
15445
15449
  Message: __expectString(output.Message),
15446
15450
  Name: __expectString(output.Name),
15447
15451
  };
@@ -15453,7 +15457,7 @@ var deserializeAws_json1_1AssociationStatusAggregatedCount = function (output, c
15453
15457
  if (value === null) {
15454
15458
  return acc;
15455
15459
  }
15456
- return __assign(__assign({}, acc), (_b = {}, _b[key] = __expectInt(value), _b));
15460
+ return __assign(__assign({}, acc), (_b = {}, _b[key] = __expectInt32(value), _b));
15457
15461
  }, {});
15458
15462
  };
15459
15463
  var deserializeAws_json1_1AssociationVersionInfo = function (output, context) {
@@ -15467,7 +15471,7 @@ var deserializeAws_json1_1AssociationVersionInfo = function (output, context) {
15467
15471
  : undefined,
15468
15472
  ComplianceSeverity: __expectString(output.ComplianceSeverity),
15469
15473
  CreatedDate: output.CreatedDate !== undefined && output.CreatedDate !== null
15470
- ? new Date(Math.round(output.CreatedDate * 1000))
15474
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedDate)))
15471
15475
  : undefined,
15472
15476
  DocumentVersion: __expectString(output.DocumentVersion),
15473
15477
  MaxConcurrency: __expectString(output.MaxConcurrency),
@@ -15509,7 +15513,7 @@ var deserializeAws_json1_1AttachmentContent = function (output, context) {
15509
15513
  Hash: __expectString(output.Hash),
15510
15514
  HashType: __expectString(output.HashType),
15511
15515
  Name: __expectString(output.Name),
15512
- Size: __expectInt(output.Size),
15516
+ Size: __expectLong(output.Size),
15513
15517
  Url: __expectString(output.Url),
15514
15518
  };
15515
15519
  };
@@ -15566,10 +15570,10 @@ var deserializeAws_json1_1AutomationExecution = function (output, context) {
15566
15570
  DocumentVersion: __expectString(output.DocumentVersion),
15567
15571
  ExecutedBy: __expectString(output.ExecutedBy),
15568
15572
  ExecutionEndTime: output.ExecutionEndTime !== undefined && output.ExecutionEndTime !== null
15569
- ? new Date(Math.round(output.ExecutionEndTime * 1000))
15573
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ExecutionEndTime)))
15570
15574
  : undefined,
15571
15575
  ExecutionStartTime: output.ExecutionStartTime !== undefined && output.ExecutionStartTime !== null
15572
- ? new Date(Math.round(output.ExecutionStartTime * 1000))
15576
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ExecutionStartTime)))
15573
15577
  : undefined,
15574
15578
  FailureMessage: __expectString(output.FailureMessage),
15575
15579
  MaxConcurrency: __expectString(output.MaxConcurrency),
@@ -15593,7 +15597,7 @@ var deserializeAws_json1_1AutomationExecution = function (output, context) {
15593
15597
  ? deserializeAws_json1_1Runbooks(output.Runbooks, context)
15594
15598
  : undefined,
15595
15599
  ScheduledTime: output.ScheduledTime !== undefined && output.ScheduledTime !== null
15596
- ? new Date(Math.round(output.ScheduledTime * 1000))
15600
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ScheduledTime)))
15597
15601
  : undefined,
15598
15602
  StepExecutions: output.StepExecutions !== undefined && output.StepExecutions !== null
15599
15603
  ? deserializeAws_json1_1StepExecutionList(output.StepExecutions, context)
@@ -15631,10 +15635,10 @@ var deserializeAws_json1_1AutomationExecutionMetadata = function (output, contex
15631
15635
  DocumentVersion: __expectString(output.DocumentVersion),
15632
15636
  ExecutedBy: __expectString(output.ExecutedBy),
15633
15637
  ExecutionEndTime: output.ExecutionEndTime !== undefined && output.ExecutionEndTime !== null
15634
- ? new Date(Math.round(output.ExecutionEndTime * 1000))
15638
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ExecutionEndTime)))
15635
15639
  : undefined,
15636
15640
  ExecutionStartTime: output.ExecutionStartTime !== undefined && output.ExecutionStartTime !== null
15637
- ? new Date(Math.round(output.ExecutionStartTime * 1000))
15641
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ExecutionStartTime)))
15638
15642
  : undefined,
15639
15643
  FailureMessage: __expectString(output.FailureMessage),
15640
15644
  LogFile: __expectString(output.LogFile),
@@ -15653,7 +15657,7 @@ var deserializeAws_json1_1AutomationExecutionMetadata = function (output, contex
15653
15657
  ? deserializeAws_json1_1Runbooks(output.Runbooks, context)
15654
15658
  : undefined,
15655
15659
  ScheduledTime: output.ScheduledTime !== undefined && output.ScheduledTime !== null
15656
- ? new Date(Math.round(output.ScheduledTime * 1000))
15660
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ScheduledTime)))
15657
15661
  : undefined,
15658
15662
  Target: __expectString(output.Target),
15659
15663
  TargetMaps: output.TargetMaps !== undefined && output.TargetMaps !== null
@@ -15736,13 +15740,13 @@ var deserializeAws_json1_1Command = function (output, context) {
15736
15740
  : undefined,
15737
15741
  CommandId: __expectString(output.CommandId),
15738
15742
  Comment: __expectString(output.Comment),
15739
- CompletedCount: __expectInt(output.CompletedCount),
15740
- DeliveryTimedOutCount: __expectInt(output.DeliveryTimedOutCount),
15743
+ CompletedCount: __expectInt32(output.CompletedCount),
15744
+ DeliveryTimedOutCount: __expectInt32(output.DeliveryTimedOutCount),
15741
15745
  DocumentName: __expectString(output.DocumentName),
15742
15746
  DocumentVersion: __expectString(output.DocumentVersion),
15743
- ErrorCount: __expectInt(output.ErrorCount),
15747
+ ErrorCount: __expectInt32(output.ErrorCount),
15744
15748
  ExpiresAfter: output.ExpiresAfter !== undefined && output.ExpiresAfter !== null
15745
- ? new Date(Math.round(output.ExpiresAfter * 1000))
15749
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ExpiresAfter)))
15746
15750
  : undefined,
15747
15751
  InstanceIds: output.InstanceIds !== undefined && output.InstanceIds !== null
15748
15752
  ? deserializeAws_json1_1InstanceIdList(output.InstanceIds, context)
@@ -15759,16 +15763,16 @@ var deserializeAws_json1_1Command = function (output, context) {
15759
15763
  ? deserializeAws_json1_1Parameters(output.Parameters, context)
15760
15764
  : undefined,
15761
15765
  RequestedDateTime: output.RequestedDateTime !== undefined && output.RequestedDateTime !== null
15762
- ? new Date(Math.round(output.RequestedDateTime * 1000))
15766
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.RequestedDateTime)))
15763
15767
  : undefined,
15764
15768
  ServiceRole: __expectString(output.ServiceRole),
15765
15769
  Status: __expectString(output.Status),
15766
15770
  StatusDetails: __expectString(output.StatusDetails),
15767
- TargetCount: __expectInt(output.TargetCount),
15771
+ TargetCount: __expectInt32(output.TargetCount),
15768
15772
  Targets: output.Targets !== undefined && output.Targets !== null
15769
15773
  ? deserializeAws_json1_1Targets(output.Targets, context)
15770
15774
  : undefined,
15771
- TimeoutSeconds: __expectInt(output.TimeoutSeconds),
15775
+ TimeoutSeconds: __expectInt32(output.TimeoutSeconds),
15772
15776
  };
15773
15777
  };
15774
15778
  var deserializeAws_json1_1CommandInvocation = function (output, context) {
@@ -15789,7 +15793,7 @@ var deserializeAws_json1_1CommandInvocation = function (output, context) {
15789
15793
  ? deserializeAws_json1_1NotificationConfig(output.NotificationConfig, context)
15790
15794
  : undefined,
15791
15795
  RequestedDateTime: output.RequestedDateTime !== undefined && output.RequestedDateTime !== null
15792
- ? new Date(Math.round(output.RequestedDateTime * 1000))
15796
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.RequestedDateTime)))
15793
15797
  : undefined,
15794
15798
  ServiceRole: __expectString(output.ServiceRole),
15795
15799
  StandardErrorUrl: __expectString(output.StandardErrorUrl),
@@ -15826,12 +15830,12 @@ var deserializeAws_json1_1CommandPlugin = function (output, context) {
15826
15830
  OutputS3BucketName: __expectString(output.OutputS3BucketName),
15827
15831
  OutputS3KeyPrefix: __expectString(output.OutputS3KeyPrefix),
15828
15832
  OutputS3Region: __expectString(output.OutputS3Region),
15829
- ResponseCode: __expectInt(output.ResponseCode),
15833
+ ResponseCode: __expectInt32(output.ResponseCode),
15830
15834
  ResponseFinishDateTime: output.ResponseFinishDateTime !== undefined && output.ResponseFinishDateTime !== null
15831
- ? new Date(Math.round(output.ResponseFinishDateTime * 1000))
15835
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ResponseFinishDateTime)))
15832
15836
  : undefined,
15833
15837
  ResponseStartDateTime: output.ResponseStartDateTime !== undefined && output.ResponseStartDateTime !== null
15834
- ? new Date(Math.round(output.ResponseStartDateTime * 1000))
15838
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ResponseStartDateTime)))
15835
15839
  : undefined,
15836
15840
  StandardErrorUrl: __expectString(output.StandardErrorUrl),
15837
15841
  StandardOutputUrl: __expectString(output.StandardOutputUrl),
@@ -15853,7 +15857,7 @@ var deserializeAws_json1_1ComplianceExecutionSummary = function (output, context
15853
15857
  return {
15854
15858
  ExecutionId: __expectString(output.ExecutionId),
15855
15859
  ExecutionTime: output.ExecutionTime !== undefined && output.ExecutionTime !== null
15856
- ? new Date(Math.round(output.ExecutionTime * 1000))
15860
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ExecutionTime)))
15857
15861
  : undefined,
15858
15862
  ExecutionType: __expectString(output.ExecutionType),
15859
15863
  };
@@ -15923,7 +15927,7 @@ var deserializeAws_json1_1ComplianceTypeCountLimitExceededException = function (
15923
15927
  };
15924
15928
  var deserializeAws_json1_1CompliantSummary = function (output, context) {
15925
15929
  return {
15926
- CompliantCount: __expectInt(output.CompliantCount),
15930
+ CompliantCount: __expectInt32(output.CompliantCount),
15927
15931
  SeveritySummary: output.SeveritySummary !== undefined && output.SeveritySummary !== null
15928
15932
  ? deserializeAws_json1_1SeveritySummary(output.SeveritySummary, context)
15929
15933
  : undefined,
@@ -16321,18 +16325,18 @@ var deserializeAws_json1_1DescribePatchGroupsResult = function (output, context)
16321
16325
  };
16322
16326
  var deserializeAws_json1_1DescribePatchGroupStateResult = function (output, context) {
16323
16327
  return {
16324
- Instances: __expectInt(output.Instances),
16325
- InstancesWithCriticalNonCompliantPatches: __expectInt(output.InstancesWithCriticalNonCompliantPatches),
16326
- InstancesWithFailedPatches: __expectInt(output.InstancesWithFailedPatches),
16327
- InstancesWithInstalledOtherPatches: __expectInt(output.InstancesWithInstalledOtherPatches),
16328
- InstancesWithInstalledPatches: __expectInt(output.InstancesWithInstalledPatches),
16329
- InstancesWithInstalledPendingRebootPatches: __expectInt(output.InstancesWithInstalledPendingRebootPatches),
16330
- InstancesWithInstalledRejectedPatches: __expectInt(output.InstancesWithInstalledRejectedPatches),
16331
- InstancesWithMissingPatches: __expectInt(output.InstancesWithMissingPatches),
16332
- InstancesWithNotApplicablePatches: __expectInt(output.InstancesWithNotApplicablePatches),
16333
- InstancesWithOtherNonCompliantPatches: __expectInt(output.InstancesWithOtherNonCompliantPatches),
16334
- InstancesWithSecurityNonCompliantPatches: __expectInt(output.InstancesWithSecurityNonCompliantPatches),
16335
- InstancesWithUnreportedNotApplicablePatches: __expectInt(output.InstancesWithUnreportedNotApplicablePatches),
16328
+ Instances: __expectInt32(output.Instances),
16329
+ InstancesWithCriticalNonCompliantPatches: __expectInt32(output.InstancesWithCriticalNonCompliantPatches),
16330
+ InstancesWithFailedPatches: __expectInt32(output.InstancesWithFailedPatches),
16331
+ InstancesWithInstalledOtherPatches: __expectInt32(output.InstancesWithInstalledOtherPatches),
16332
+ InstancesWithInstalledPatches: __expectInt32(output.InstancesWithInstalledPatches),
16333
+ InstancesWithInstalledPendingRebootPatches: __expectInt32(output.InstancesWithInstalledPendingRebootPatches),
16334
+ InstancesWithInstalledRejectedPatches: __expectInt32(output.InstancesWithInstalledRejectedPatches),
16335
+ InstancesWithMissingPatches: __expectInt32(output.InstancesWithMissingPatches),
16336
+ InstancesWithNotApplicablePatches: __expectInt32(output.InstancesWithNotApplicablePatches),
16337
+ InstancesWithOtherNonCompliantPatches: __expectInt32(output.InstancesWithOtherNonCompliantPatches),
16338
+ InstancesWithSecurityNonCompliantPatches: __expectInt32(output.InstancesWithSecurityNonCompliantPatches),
16339
+ InstancesWithUnreportedNotApplicablePatches: __expectInt32(output.InstancesWithUnreportedNotApplicablePatches),
16336
16340
  };
16337
16341
  };
16338
16342
  var deserializeAws_json1_1DescribePatchPropertiesResult = function (output, context) {
@@ -16374,7 +16378,7 @@ var deserializeAws_json1_1DocumentDescription = function (output, context) {
16374
16378
  : undefined,
16375
16379
  Author: __expectString(output.Author),
16376
16380
  CreatedDate: output.CreatedDate !== undefined && output.CreatedDate !== null
16377
- ? new Date(Math.round(output.CreatedDate * 1000))
16381
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedDate)))
16378
16382
  : undefined,
16379
16383
  DefaultVersion: __expectString(output.DefaultVersion),
16380
16384
  Description: __expectString(output.Description),
@@ -16416,7 +16420,7 @@ var deserializeAws_json1_1DocumentIdentifier = function (output, context) {
16416
16420
  return {
16417
16421
  Author: __expectString(output.Author),
16418
16422
  CreatedDate: output.CreatedDate !== undefined && output.CreatedDate !== null
16419
- ? new Date(Math.round(output.CreatedDate * 1000))
16423
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedDate)))
16420
16424
  : undefined,
16421
16425
  DisplayName: __expectString(output.DisplayName),
16422
16426
  DocumentFormat: __expectString(output.DocumentFormat),
@@ -16532,19 +16536,19 @@ var deserializeAws_json1_1DocumentReviewerResponseSource = function (output, con
16532
16536
  ? deserializeAws_json1_1DocumentReviewCommentList(output.Comment, context)
16533
16537
  : undefined,
16534
16538
  CreateTime: output.CreateTime !== undefined && output.CreateTime !== null
16535
- ? new Date(Math.round(output.CreateTime * 1000))
16539
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreateTime)))
16536
16540
  : undefined,
16537
16541
  ReviewStatus: __expectString(output.ReviewStatus),
16538
16542
  Reviewer: __expectString(output.Reviewer),
16539
16543
  UpdatedTime: output.UpdatedTime !== undefined && output.UpdatedTime !== null
16540
- ? new Date(Math.round(output.UpdatedTime * 1000))
16544
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedTime)))
16541
16545
  : undefined,
16542
16546
  };
16543
16547
  };
16544
16548
  var deserializeAws_json1_1DocumentVersionInfo = function (output, context) {
16545
16549
  return {
16546
16550
  CreatedDate: output.CreatedDate !== undefined && output.CreatedDate !== null
16547
- ? new Date(Math.round(output.CreatedDate * 1000))
16551
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedDate)))
16548
16552
  : undefined,
16549
16553
  DisplayName: __expectString(output.DisplayName),
16550
16554
  DocumentFormat: __expectString(output.DocumentFormat),
@@ -16671,7 +16675,7 @@ var deserializeAws_json1_1GetCommandInvocationResult = function (output, context
16671
16675
  ExecutionStartDateTime: __expectString(output.ExecutionStartDateTime),
16672
16676
  InstanceId: __expectString(output.InstanceId),
16673
16677
  PluginName: __expectString(output.PluginName),
16674
- ResponseCode: __expectInt(output.ResponseCode),
16678
+ ResponseCode: __expectInt32(output.ResponseCode),
16675
16679
  StandardErrorContent: __expectString(output.StandardErrorContent),
16676
16680
  StandardErrorUrl: __expectString(output.StandardErrorUrl),
16677
16681
  StandardOutputContent: __expectString(output.StandardOutputContent),
@@ -16707,7 +16711,7 @@ var deserializeAws_json1_1GetDocumentResult = function (output, context) {
16707
16711
  : undefined,
16708
16712
  Content: __expectString(output.Content),
16709
16713
  CreatedDate: output.CreatedDate !== undefined && output.CreatedDate !== null
16710
- ? new Date(Math.round(output.CreatedDate * 1000))
16714
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedDate)))
16711
16715
  : undefined,
16712
16716
  DisplayName: __expectString(output.DisplayName),
16713
16717
  DocumentFormat: __expectString(output.DocumentFormat),
@@ -16741,9 +16745,11 @@ var deserializeAws_json1_1GetInventorySchemaResult = function (output, context)
16741
16745
  };
16742
16746
  var deserializeAws_json1_1GetMaintenanceWindowExecutionResult = function (output, context) {
16743
16747
  return {
16744
- EndTime: output.EndTime !== undefined && output.EndTime !== null ? new Date(Math.round(output.EndTime * 1000)) : undefined,
16748
+ EndTime: output.EndTime !== undefined && output.EndTime !== null
16749
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndTime)))
16750
+ : undefined,
16745
16751
  StartTime: output.StartTime !== undefined && output.StartTime !== null
16746
- ? new Date(Math.round(output.StartTime * 1000))
16752
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime)))
16747
16753
  : undefined,
16748
16754
  Status: __expectString(output.Status),
16749
16755
  StatusDetails: __expectString(output.StatusDetails),
@@ -16755,13 +16761,15 @@ var deserializeAws_json1_1GetMaintenanceWindowExecutionResult = function (output
16755
16761
  };
16756
16762
  var deserializeAws_json1_1GetMaintenanceWindowExecutionTaskInvocationResult = function (output, context) {
16757
16763
  return {
16758
- EndTime: output.EndTime !== undefined && output.EndTime !== null ? new Date(Math.round(output.EndTime * 1000)) : undefined,
16764
+ EndTime: output.EndTime !== undefined && output.EndTime !== null
16765
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndTime)))
16766
+ : undefined,
16759
16767
  ExecutionId: __expectString(output.ExecutionId),
16760
16768
  InvocationId: __expectString(output.InvocationId),
16761
16769
  OwnerInformation: __expectString(output.OwnerInformation),
16762
16770
  Parameters: __expectString(output.Parameters),
16763
16771
  StartTime: output.StartTime !== undefined && output.StartTime !== null
16764
- ? new Date(Math.round(output.StartTime * 1000))
16772
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime)))
16765
16773
  : undefined,
16766
16774
  Status: __expectString(output.Status),
16767
16775
  StatusDetails: __expectString(output.StatusDetails),
@@ -16773,13 +16781,15 @@ var deserializeAws_json1_1GetMaintenanceWindowExecutionTaskInvocationResult = fu
16773
16781
  };
16774
16782
  var deserializeAws_json1_1GetMaintenanceWindowExecutionTaskResult = function (output, context) {
16775
16783
  return {
16776
- EndTime: output.EndTime !== undefined && output.EndTime !== null ? new Date(Math.round(output.EndTime * 1000)) : undefined,
16784
+ EndTime: output.EndTime !== undefined && output.EndTime !== null
16785
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndTime)))
16786
+ : undefined,
16777
16787
  MaxConcurrency: __expectString(output.MaxConcurrency),
16778
16788
  MaxErrors: __expectString(output.MaxErrors),
16779
- Priority: __expectInt(output.Priority),
16789
+ Priority: __expectInt32(output.Priority),
16780
16790
  ServiceRole: __expectString(output.ServiceRole),
16781
16791
  StartTime: output.StartTime !== undefined && output.StartTime !== null
16782
- ? new Date(Math.round(output.StartTime * 1000))
16792
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime)))
16783
16793
  : undefined,
16784
16794
  Status: __expectString(output.Status),
16785
16795
  StatusDetails: __expectString(output.StatusDetails),
@@ -16796,20 +16806,20 @@ var deserializeAws_json1_1GetMaintenanceWindowResult = function (output, context
16796
16806
  return {
16797
16807
  AllowUnassociatedTargets: __expectBoolean(output.AllowUnassociatedTargets),
16798
16808
  CreatedDate: output.CreatedDate !== undefined && output.CreatedDate !== null
16799
- ? new Date(Math.round(output.CreatedDate * 1000))
16809
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedDate)))
16800
16810
  : undefined,
16801
- Cutoff: __expectInt(output.Cutoff),
16811
+ Cutoff: __expectInt32(output.Cutoff),
16802
16812
  Description: __expectString(output.Description),
16803
- Duration: __expectInt(output.Duration),
16813
+ Duration: __expectInt32(output.Duration),
16804
16814
  Enabled: __expectBoolean(output.Enabled),
16805
16815
  EndDate: __expectString(output.EndDate),
16806
16816
  ModifiedDate: output.ModifiedDate !== undefined && output.ModifiedDate !== null
16807
- ? new Date(Math.round(output.ModifiedDate * 1000))
16817
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ModifiedDate)))
16808
16818
  : undefined,
16809
16819
  Name: __expectString(output.Name),
16810
16820
  NextExecutionTime: __expectString(output.NextExecutionTime),
16811
16821
  Schedule: __expectString(output.Schedule),
16812
- ScheduleOffset: __expectInt(output.ScheduleOffset),
16822
+ ScheduleOffset: __expectInt32(output.ScheduleOffset),
16813
16823
  ScheduleTimezone: __expectString(output.ScheduleTimezone),
16814
16824
  StartDate: __expectString(output.StartDate),
16815
16825
  WindowId: __expectString(output.WindowId),
@@ -16824,7 +16834,7 @@ var deserializeAws_json1_1GetMaintenanceWindowTaskResult = function (output, con
16824
16834
  MaxConcurrency: __expectString(output.MaxConcurrency),
16825
16835
  MaxErrors: __expectString(output.MaxErrors),
16826
16836
  Name: __expectString(output.Name),
16827
- Priority: __expectInt(output.Priority),
16837
+ Priority: __expectInt32(output.Priority),
16828
16838
  ServiceRoleArn: __expectString(output.ServiceRoleArn),
16829
16839
  Targets: output.Targets !== undefined && output.Targets !== null
16830
16840
  ? deserializeAws_json1_1Targets(output.Targets, context)
@@ -16917,14 +16927,14 @@ var deserializeAws_json1_1GetPatchBaselineResult = function (output, context) {
16917
16927
  ApprovedPatchesEnableNonSecurity: __expectBoolean(output.ApprovedPatchesEnableNonSecurity),
16918
16928
  BaselineId: __expectString(output.BaselineId),
16919
16929
  CreatedDate: output.CreatedDate !== undefined && output.CreatedDate !== null
16920
- ? new Date(Math.round(output.CreatedDate * 1000))
16930
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedDate)))
16921
16931
  : undefined,
16922
16932
  Description: __expectString(output.Description),
16923
16933
  GlobalFilters: output.GlobalFilters !== undefined && output.GlobalFilters !== null
16924
16934
  ? deserializeAws_json1_1PatchFilterGroup(output.GlobalFilters, context)
16925
16935
  : undefined,
16926
16936
  ModifiedDate: output.ModifiedDate !== undefined && output.ModifiedDate !== null
16927
- ? new Date(Math.round(output.ModifiedDate * 1000))
16937
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ModifiedDate)))
16928
16938
  : undefined,
16929
16939
  Name: __expectString(output.Name),
16930
16940
  OperatingSystem: __expectString(output.OperatingSystem),
@@ -17015,7 +17025,7 @@ var deserializeAws_json1_1InstanceAssociationStatusAggregatedCount = function (o
17015
17025
  if (value === null) {
17016
17026
  return acc;
17017
17027
  }
17018
- return __assign(__assign({}, acc), (_b = {}, _b[key] = __expectInt(value), _b));
17028
+ return __assign(__assign({}, acc), (_b = {}, _b[key] = __expectInt32(value), _b));
17019
17029
  }, {});
17020
17030
  };
17021
17031
  var deserializeAws_json1_1InstanceAssociationStatusInfo = function (output, context) {
@@ -17027,7 +17037,7 @@ var deserializeAws_json1_1InstanceAssociationStatusInfo = function (output, cont
17027
17037
  DocumentVersion: __expectString(output.DocumentVersion),
17028
17038
  ErrorCode: __expectString(output.ErrorCode),
17029
17039
  ExecutionDate: output.ExecutionDate !== undefined && output.ExecutionDate !== null
17030
- ? new Date(Math.round(output.ExecutionDate * 1000))
17040
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ExecutionDate)))
17031
17041
  : undefined,
17032
17042
  ExecutionSummary: __expectString(output.ExecutionSummary),
17033
17043
  InstanceId: __expectString(output.InstanceId),
@@ -17072,14 +17082,14 @@ var deserializeAws_json1_1InstanceInformation = function (output, context) {
17072
17082
  InstanceId: __expectString(output.InstanceId),
17073
17083
  IsLatestVersion: __expectBoolean(output.IsLatestVersion),
17074
17084
  LastAssociationExecutionDate: output.LastAssociationExecutionDate !== undefined && output.LastAssociationExecutionDate !== null
17075
- ? new Date(Math.round(output.LastAssociationExecutionDate * 1000))
17085
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastAssociationExecutionDate)))
17076
17086
  : undefined,
17077
17087
  LastPingDateTime: output.LastPingDateTime !== undefined && output.LastPingDateTime !== null
17078
- ? new Date(Math.round(output.LastPingDateTime * 1000))
17088
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastPingDateTime)))
17079
17089
  : undefined,
17080
17090
  LastSuccessfulAssociationExecutionDate: output.LastSuccessfulAssociationExecutionDate !== undefined &&
17081
17091
  output.LastSuccessfulAssociationExecutionDate !== null
17082
- ? new Date(Math.round(output.LastSuccessfulAssociationExecutionDate * 1000))
17092
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastSuccessfulAssociationExecutionDate)))
17083
17093
  : undefined,
17084
17094
  Name: __expectString(output.Name),
17085
17095
  PingStatus: __expectString(output.PingStatus),
@@ -17087,7 +17097,7 @@ var deserializeAws_json1_1InstanceInformation = function (output, context) {
17087
17097
  PlatformType: __expectString(output.PlatformType),
17088
17098
  PlatformVersion: __expectString(output.PlatformVersion),
17089
17099
  RegistrationDate: output.RegistrationDate !== undefined && output.RegistrationDate !== null
17090
- ? new Date(Math.round(output.RegistrationDate * 1000))
17100
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.RegistrationDate)))
17091
17101
  : undefined,
17092
17102
  ResourceType: __expectString(output.ResourceType),
17093
17103
  };
@@ -17105,33 +17115,33 @@ var deserializeAws_json1_1InstanceInformationList = function (output, context) {
17105
17115
  var deserializeAws_json1_1InstancePatchState = function (output, context) {
17106
17116
  return {
17107
17117
  BaselineId: __expectString(output.BaselineId),
17108
- CriticalNonCompliantCount: __expectInt(output.CriticalNonCompliantCount),
17109
- FailedCount: __expectInt(output.FailedCount),
17118
+ CriticalNonCompliantCount: __expectInt32(output.CriticalNonCompliantCount),
17119
+ FailedCount: __expectInt32(output.FailedCount),
17110
17120
  InstallOverrideList: __expectString(output.InstallOverrideList),
17111
- InstalledCount: __expectInt(output.InstalledCount),
17112
- InstalledOtherCount: __expectInt(output.InstalledOtherCount),
17113
- InstalledPendingRebootCount: __expectInt(output.InstalledPendingRebootCount),
17114
- InstalledRejectedCount: __expectInt(output.InstalledRejectedCount),
17121
+ InstalledCount: __expectInt32(output.InstalledCount),
17122
+ InstalledOtherCount: __expectInt32(output.InstalledOtherCount),
17123
+ InstalledPendingRebootCount: __expectInt32(output.InstalledPendingRebootCount),
17124
+ InstalledRejectedCount: __expectInt32(output.InstalledRejectedCount),
17115
17125
  InstanceId: __expectString(output.InstanceId),
17116
17126
  LastNoRebootInstallOperationTime: output.LastNoRebootInstallOperationTime !== undefined && output.LastNoRebootInstallOperationTime !== null
17117
- ? new Date(Math.round(output.LastNoRebootInstallOperationTime * 1000))
17127
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastNoRebootInstallOperationTime)))
17118
17128
  : undefined,
17119
- MissingCount: __expectInt(output.MissingCount),
17120
- NotApplicableCount: __expectInt(output.NotApplicableCount),
17129
+ MissingCount: __expectInt32(output.MissingCount),
17130
+ NotApplicableCount: __expectInt32(output.NotApplicableCount),
17121
17131
  Operation: __expectString(output.Operation),
17122
17132
  OperationEndTime: output.OperationEndTime !== undefined && output.OperationEndTime !== null
17123
- ? new Date(Math.round(output.OperationEndTime * 1000))
17133
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.OperationEndTime)))
17124
17134
  : undefined,
17125
17135
  OperationStartTime: output.OperationStartTime !== undefined && output.OperationStartTime !== null
17126
- ? new Date(Math.round(output.OperationStartTime * 1000))
17136
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.OperationStartTime)))
17127
17137
  : undefined,
17128
- OtherNonCompliantCount: __expectInt(output.OtherNonCompliantCount),
17138
+ OtherNonCompliantCount: __expectInt32(output.OtherNonCompliantCount),
17129
17139
  OwnerInformation: __expectString(output.OwnerInformation),
17130
17140
  PatchGroup: __expectString(output.PatchGroup),
17131
17141
  RebootOption: __expectString(output.RebootOption),
17132
- SecurityNonCompliantCount: __expectInt(output.SecurityNonCompliantCount),
17142
+ SecurityNonCompliantCount: __expectInt32(output.SecurityNonCompliantCount),
17133
17143
  SnapshotId: __expectString(output.SnapshotId),
17134
- UnreportedNotApplicableCount: __expectInt(output.UnreportedNotApplicableCount),
17144
+ UnreportedNotApplicableCount: __expectInt32(output.UnreportedNotApplicableCount),
17135
17145
  };
17136
17146
  };
17137
17147
  var deserializeAws_json1_1InstancePatchStateList = function (output, context) {
@@ -17395,7 +17405,7 @@ var deserializeAws_json1_1InventoryDeletionStatusItem = function (output, contex
17395
17405
  return {
17396
17406
  DeletionId: __expectString(output.DeletionId),
17397
17407
  DeletionStartTime: output.DeletionStartTime !== undefined && output.DeletionStartTime !== null
17398
- ? new Date(Math.round(output.DeletionStartTime * 1000))
17408
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DeletionStartTime)))
17399
17409
  : undefined,
17400
17410
  DeletionSummary: output.DeletionSummary !== undefined && output.DeletionSummary !== null
17401
17411
  ? deserializeAws_json1_1InventoryDeletionSummary(output.DeletionSummary, context)
@@ -17403,24 +17413,24 @@ var deserializeAws_json1_1InventoryDeletionStatusItem = function (output, contex
17403
17413
  LastStatus: __expectString(output.LastStatus),
17404
17414
  LastStatusMessage: __expectString(output.LastStatusMessage),
17405
17415
  LastStatusUpdateTime: output.LastStatusUpdateTime !== undefined && output.LastStatusUpdateTime !== null
17406
- ? new Date(Math.round(output.LastStatusUpdateTime * 1000))
17416
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastStatusUpdateTime)))
17407
17417
  : undefined,
17408
17418
  TypeName: __expectString(output.TypeName),
17409
17419
  };
17410
17420
  };
17411
17421
  var deserializeAws_json1_1InventoryDeletionSummary = function (output, context) {
17412
17422
  return {
17413
- RemainingCount: __expectInt(output.RemainingCount),
17423
+ RemainingCount: __expectInt32(output.RemainingCount),
17414
17424
  SummaryItems: output.SummaryItems !== undefined && output.SummaryItems !== null
17415
17425
  ? deserializeAws_json1_1InventoryDeletionSummaryItems(output.SummaryItems, context)
17416
17426
  : undefined,
17417
- TotalCount: __expectInt(output.TotalCount),
17427
+ TotalCount: __expectInt32(output.TotalCount),
17418
17428
  };
17419
17429
  };
17420
17430
  var deserializeAws_json1_1InventoryDeletionSummaryItem = function (output, context) {
17421
17431
  return {
17422
- Count: __expectInt(output.Count),
17423
- RemainingCount: __expectInt(output.RemainingCount),
17432
+ Count: __expectInt32(output.Count),
17433
+ RemainingCount: __expectInt32(output.RemainingCount),
17424
17434
  Version: __expectString(output.Version),
17425
17435
  };
17426
17436
  };
@@ -17549,7 +17559,7 @@ var deserializeAws_json1_1LabelParameterVersionResult = function (output, contex
17549
17559
  InvalidLabels: output.InvalidLabels !== undefined && output.InvalidLabels !== null
17550
17560
  ? deserializeAws_json1_1ParameterLabelList(output.InvalidLabels, context)
17551
17561
  : undefined,
17552
- ParameterVersion: __expectInt(output.ParameterVersion),
17562
+ ParameterVersion: __expectLong(output.ParameterVersion),
17553
17563
  };
17554
17564
  };
17555
17565
  var deserializeAws_json1_1ListAssociationsResult = function (output, context) {
@@ -17703,9 +17713,11 @@ var deserializeAws_json1_1MaintenanceWindowAutomationParameters = function (outp
17703
17713
  };
17704
17714
  var deserializeAws_json1_1MaintenanceWindowExecution = function (output, context) {
17705
17715
  return {
17706
- EndTime: output.EndTime !== undefined && output.EndTime !== null ? new Date(Math.round(output.EndTime * 1000)) : undefined,
17716
+ EndTime: output.EndTime !== undefined && output.EndTime !== null
17717
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndTime)))
17718
+ : undefined,
17707
17719
  StartTime: output.StartTime !== undefined && output.StartTime !== null
17708
- ? new Date(Math.round(output.StartTime * 1000))
17720
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime)))
17709
17721
  : undefined,
17710
17722
  Status: __expectString(output.Status),
17711
17723
  StatusDetails: __expectString(output.StatusDetails),
@@ -17725,9 +17737,11 @@ var deserializeAws_json1_1MaintenanceWindowExecutionList = function (output, con
17725
17737
  };
17726
17738
  var deserializeAws_json1_1MaintenanceWindowExecutionTaskIdentity = function (output, context) {
17727
17739
  return {
17728
- EndTime: output.EndTime !== undefined && output.EndTime !== null ? new Date(Math.round(output.EndTime * 1000)) : undefined,
17740
+ EndTime: output.EndTime !== undefined && output.EndTime !== null
17741
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndTime)))
17742
+ : undefined,
17729
17743
  StartTime: output.StartTime !== undefined && output.StartTime !== null
17730
- ? new Date(Math.round(output.StartTime * 1000))
17744
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime)))
17731
17745
  : undefined,
17732
17746
  Status: __expectString(output.Status),
17733
17747
  StatusDetails: __expectString(output.StatusDetails),
@@ -17759,13 +17773,15 @@ var deserializeAws_json1_1MaintenanceWindowExecutionTaskIdList = function (outpu
17759
17773
  };
17760
17774
  var deserializeAws_json1_1MaintenanceWindowExecutionTaskInvocationIdentity = function (output, context) {
17761
17775
  return {
17762
- EndTime: output.EndTime !== undefined && output.EndTime !== null ? new Date(Math.round(output.EndTime * 1000)) : undefined,
17776
+ EndTime: output.EndTime !== undefined && output.EndTime !== null
17777
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndTime)))
17778
+ : undefined,
17763
17779
  ExecutionId: __expectString(output.ExecutionId),
17764
17780
  InvocationId: __expectString(output.InvocationId),
17765
17781
  OwnerInformation: __expectString(output.OwnerInformation),
17766
17782
  Parameters: __expectString(output.Parameters),
17767
17783
  StartTime: output.StartTime !== undefined && output.StartTime !== null
17768
- ? new Date(Math.round(output.StartTime * 1000))
17784
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime)))
17769
17785
  : undefined,
17770
17786
  Status: __expectString(output.Status),
17771
17787
  StatusDetails: __expectString(output.StatusDetails),
@@ -17787,15 +17803,15 @@ var deserializeAws_json1_1MaintenanceWindowExecutionTaskInvocationIdentityList =
17787
17803
  };
17788
17804
  var deserializeAws_json1_1MaintenanceWindowIdentity = function (output, context) {
17789
17805
  return {
17790
- Cutoff: __expectInt(output.Cutoff),
17806
+ Cutoff: __expectInt32(output.Cutoff),
17791
17807
  Description: __expectString(output.Description),
17792
- Duration: __expectInt(output.Duration),
17808
+ Duration: __expectInt32(output.Duration),
17793
17809
  Enabled: __expectBoolean(output.Enabled),
17794
17810
  EndDate: __expectString(output.EndDate),
17795
17811
  Name: __expectString(output.Name),
17796
17812
  NextExecutionTime: __expectString(output.NextExecutionTime),
17797
17813
  Schedule: __expectString(output.Schedule),
17798
- ScheduleOffset: __expectInt(output.ScheduleOffset),
17814
+ ScheduleOffset: __expectInt32(output.ScheduleOffset),
17799
17815
  ScheduleTimezone: __expectString(output.ScheduleTimezone),
17800
17816
  StartDate: __expectString(output.StartDate),
17801
17817
  WindowId: __expectString(output.WindowId),
@@ -17842,7 +17858,7 @@ var deserializeAws_json1_1MaintenanceWindowRunCommandParameters = function (outp
17842
17858
  ? deserializeAws_json1_1Parameters(output.Parameters, context)
17843
17859
  : undefined,
17844
17860
  ServiceRoleArn: __expectString(output.ServiceRoleArn),
17845
- TimeoutSeconds: __expectInt(output.TimeoutSeconds),
17861
+ TimeoutSeconds: __expectInt32(output.TimeoutSeconds),
17846
17862
  };
17847
17863
  };
17848
17864
  var deserializeAws_json1_1MaintenanceWindowsForTargetList = function (output, context) {
@@ -17893,7 +17909,7 @@ var deserializeAws_json1_1MaintenanceWindowTask = function (output, context) {
17893
17909
  MaxConcurrency: __expectString(output.MaxConcurrency),
17894
17910
  MaxErrors: __expectString(output.MaxErrors),
17895
17911
  Name: __expectString(output.Name),
17896
- Priority: __expectInt(output.Priority),
17912
+ Priority: __expectInt32(output.Priority),
17897
17913
  ServiceRoleArn: __expectString(output.ServiceRoleArn),
17898
17914
  Targets: output.Targets !== undefined && output.Targets !== null
17899
17915
  ? deserializeAws_json1_1Targets(output.Targets, context)
@@ -17995,7 +18011,7 @@ var deserializeAws_json1_1ModifyDocumentPermissionResponse = function (output, c
17995
18011
  };
17996
18012
  var deserializeAws_json1_1NonCompliantSummary = function (output, context) {
17997
18013
  return {
17998
- NonCompliantCount: __expectInt(output.NonCompliantCount),
18014
+ NonCompliantCount: __expectInt32(output.NonCompliantCount),
17999
18015
  SeveritySummary: output.SeveritySummary !== undefined && output.SeveritySummary !== null
18000
18016
  ? deserializeAws_json1_1SeveritySummary(output.SeveritySummary, context)
18001
18017
  : undefined,
@@ -18089,20 +18105,20 @@ var deserializeAws_json1_1OpsEntityList = function (output, context) {
18089
18105
  var deserializeAws_json1_1OpsItem = function (output, context) {
18090
18106
  return {
18091
18107
  ActualEndTime: output.ActualEndTime !== undefined && output.ActualEndTime !== null
18092
- ? new Date(Math.round(output.ActualEndTime * 1000))
18108
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ActualEndTime)))
18093
18109
  : undefined,
18094
18110
  ActualStartTime: output.ActualStartTime !== undefined && output.ActualStartTime !== null
18095
- ? new Date(Math.round(output.ActualStartTime * 1000))
18111
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ActualStartTime)))
18096
18112
  : undefined,
18097
18113
  Category: __expectString(output.Category),
18098
18114
  CreatedBy: __expectString(output.CreatedBy),
18099
18115
  CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
18100
- ? new Date(Math.round(output.CreatedTime * 1000))
18116
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
18101
18117
  : undefined,
18102
18118
  Description: __expectString(output.Description),
18103
18119
  LastModifiedBy: __expectString(output.LastModifiedBy),
18104
18120
  LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
18105
- ? new Date(Math.round(output.LastModifiedTime * 1000))
18121
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
18106
18122
  : undefined,
18107
18123
  Notifications: output.Notifications !== undefined && output.Notifications !== null
18108
18124
  ? deserializeAws_json1_1OpsItemNotifications(output.Notifications, context)
@@ -18113,12 +18129,12 @@ var deserializeAws_json1_1OpsItem = function (output, context) {
18113
18129
  OpsItemId: __expectString(output.OpsItemId),
18114
18130
  OpsItemType: __expectString(output.OpsItemType),
18115
18131
  PlannedEndTime: output.PlannedEndTime !== undefined && output.PlannedEndTime !== null
18116
- ? new Date(Math.round(output.PlannedEndTime * 1000))
18132
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.PlannedEndTime)))
18117
18133
  : undefined,
18118
18134
  PlannedStartTime: output.PlannedStartTime !== undefined && output.PlannedStartTime !== null
18119
- ? new Date(Math.round(output.PlannedStartTime * 1000))
18135
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.PlannedStartTime)))
18120
18136
  : undefined,
18121
- Priority: __expectInt(output.Priority),
18137
+ Priority: __expectInt32(output.Priority),
18122
18138
  RelatedOpsItems: output.RelatedOpsItems !== undefined && output.RelatedOpsItems !== null
18123
18139
  ? deserializeAws_json1_1RelatedOpsItems(output.RelatedOpsItems, context)
18124
18140
  : undefined,
@@ -18157,7 +18173,7 @@ var deserializeAws_json1_1OpsItemEventSummary = function (output, context) {
18157
18173
  ? deserializeAws_json1_1OpsItemIdentity(output.CreatedBy, context)
18158
18174
  : undefined,
18159
18175
  CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
18160
- ? new Date(Math.round(output.CreatedTime * 1000))
18176
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
18161
18177
  : undefined,
18162
18178
  Detail: __expectString(output.Detail),
18163
18179
  DetailType: __expectString(output.DetailType),
@@ -18181,7 +18197,7 @@ var deserializeAws_json1_1OpsItemInvalidParameterException = function (output, c
18181
18197
  };
18182
18198
  var deserializeAws_json1_1OpsItemLimitExceededException = function (output, context) {
18183
18199
  return {
18184
- Limit: __expectInt(output.Limit),
18200
+ Limit: __expectInt32(output.Limit),
18185
18201
  LimitType: __expectString(output.LimitType),
18186
18202
  Message: __expectString(output.Message),
18187
18203
  ResourceTypes: output.ResourceTypes !== undefined && output.ResourceTypes !== null
@@ -18259,13 +18275,13 @@ var deserializeAws_json1_1OpsItemRelatedItemSummary = function (output, context)
18259
18275
  ? deserializeAws_json1_1OpsItemIdentity(output.CreatedBy, context)
18260
18276
  : undefined,
18261
18277
  CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
18262
- ? new Date(Math.round(output.CreatedTime * 1000))
18278
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
18263
18279
  : undefined,
18264
18280
  LastModifiedBy: output.LastModifiedBy !== undefined && output.LastModifiedBy !== null
18265
18281
  ? deserializeAws_json1_1OpsItemIdentity(output.LastModifiedBy, context)
18266
18282
  : undefined,
18267
18283
  LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
18268
- ? new Date(Math.round(output.LastModifiedTime * 1000))
18284
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
18269
18285
  : undefined,
18270
18286
  OpsItemId: __expectString(output.OpsItemId),
18271
18287
  ResourceType: __expectString(output.ResourceType),
@@ -18285,19 +18301,19 @@ var deserializeAws_json1_1OpsItemSummaries = function (output, context) {
18285
18301
  var deserializeAws_json1_1OpsItemSummary = function (output, context) {
18286
18302
  return {
18287
18303
  ActualEndTime: output.ActualEndTime !== undefined && output.ActualEndTime !== null
18288
- ? new Date(Math.round(output.ActualEndTime * 1000))
18304
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ActualEndTime)))
18289
18305
  : undefined,
18290
18306
  ActualStartTime: output.ActualStartTime !== undefined && output.ActualStartTime !== null
18291
- ? new Date(Math.round(output.ActualStartTime * 1000))
18307
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ActualStartTime)))
18292
18308
  : undefined,
18293
18309
  Category: __expectString(output.Category),
18294
18310
  CreatedBy: __expectString(output.CreatedBy),
18295
18311
  CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
18296
- ? new Date(Math.round(output.CreatedTime * 1000))
18312
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
18297
18313
  : undefined,
18298
18314
  LastModifiedBy: __expectString(output.LastModifiedBy),
18299
18315
  LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
18300
- ? new Date(Math.round(output.LastModifiedTime * 1000))
18316
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
18301
18317
  : undefined,
18302
18318
  OperationalData: output.OperationalData !== undefined && output.OperationalData !== null
18303
18319
  ? deserializeAws_json1_1OpsItemOperationalData(output.OperationalData, context)
@@ -18305,12 +18321,12 @@ var deserializeAws_json1_1OpsItemSummary = function (output, context) {
18305
18321
  OpsItemId: __expectString(output.OpsItemId),
18306
18322
  OpsItemType: __expectString(output.OpsItemType),
18307
18323
  PlannedEndTime: output.PlannedEndTime !== undefined && output.PlannedEndTime !== null
18308
- ? new Date(Math.round(output.PlannedEndTime * 1000))
18324
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.PlannedEndTime)))
18309
18325
  : undefined,
18310
18326
  PlannedStartTime: output.PlannedStartTime !== undefined && output.PlannedStartTime !== null
18311
- ? new Date(Math.round(output.PlannedStartTime * 1000))
18327
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.PlannedStartTime)))
18312
18328
  : undefined,
18313
- Priority: __expectInt(output.Priority),
18329
+ Priority: __expectInt32(output.Priority),
18314
18330
  Severity: __expectString(output.Severity),
18315
18331
  Source: __expectString(output.Source),
18316
18332
  Status: __expectString(output.Status),
@@ -18320,10 +18336,10 @@ var deserializeAws_json1_1OpsItemSummary = function (output, context) {
18320
18336
  var deserializeAws_json1_1OpsMetadata = function (output, context) {
18321
18337
  return {
18322
18338
  CreationDate: output.CreationDate !== undefined && output.CreationDate !== null
18323
- ? new Date(Math.round(output.CreationDate * 1000))
18339
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationDate)))
18324
18340
  : undefined,
18325
18341
  LastModifiedDate: output.LastModifiedDate !== undefined && output.LastModifiedDate !== null
18326
- ? new Date(Math.round(output.LastModifiedDate * 1000))
18342
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedDate)))
18327
18343
  : undefined,
18328
18344
  LastModifiedUser: __expectString(output.LastModifiedUser),
18329
18345
  OpsMetadataArn: __expectString(output.OpsMetadataArn),
@@ -18381,14 +18397,14 @@ var deserializeAws_json1_1Parameter = function (output, context) {
18381
18397
  ARN: __expectString(output.ARN),
18382
18398
  DataType: __expectString(output.DataType),
18383
18399
  LastModifiedDate: output.LastModifiedDate !== undefined && output.LastModifiedDate !== null
18384
- ? new Date(Math.round(output.LastModifiedDate * 1000))
18400
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedDate)))
18385
18401
  : undefined,
18386
18402
  Name: __expectString(output.Name),
18387
18403
  Selector: __expectString(output.Selector),
18388
18404
  SourceResult: __expectString(output.SourceResult),
18389
18405
  Type: __expectString(output.Type),
18390
18406
  Value: __expectString(output.Value),
18391
- Version: __expectInt(output.Version),
18407
+ Version: __expectLong(output.Version),
18392
18408
  };
18393
18409
  };
18394
18410
  var deserializeAws_json1_1ParameterAlreadyExists = function (output, context) {
@@ -18406,7 +18422,7 @@ var deserializeAws_json1_1ParameterHistory = function (output, context) {
18406
18422
  ? deserializeAws_json1_1ParameterLabelList(output.Labels, context)
18407
18423
  : undefined,
18408
18424
  LastModifiedDate: output.LastModifiedDate !== undefined && output.LastModifiedDate !== null
18409
- ? new Date(Math.round(output.LastModifiedDate * 1000))
18425
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedDate)))
18410
18426
  : undefined,
18411
18427
  LastModifiedUser: __expectString(output.LastModifiedUser),
18412
18428
  Name: __expectString(output.Name),
@@ -18416,7 +18432,7 @@ var deserializeAws_json1_1ParameterHistory = function (output, context) {
18416
18432
  Tier: __expectString(output.Tier),
18417
18433
  Type: __expectString(output.Type),
18418
18434
  Value: __expectString(output.Value),
18419
- Version: __expectInt(output.Version),
18435
+ Version: __expectLong(output.Version),
18420
18436
  };
18421
18437
  };
18422
18438
  var deserializeAws_json1_1ParameterHistoryList = function (output, context) {
@@ -18473,7 +18489,7 @@ var deserializeAws_json1_1ParameterMetadata = function (output, context) {
18473
18489
  Description: __expectString(output.Description),
18474
18490
  KeyId: __expectString(output.KeyId),
18475
18491
  LastModifiedDate: output.LastModifiedDate !== undefined && output.LastModifiedDate !== null
18476
- ? new Date(Math.round(output.LastModifiedDate * 1000))
18492
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedDate)))
18477
18493
  : undefined,
18478
18494
  LastModifiedUser: __expectString(output.LastModifiedUser),
18479
18495
  Name: __expectString(output.Name),
@@ -18482,7 +18498,7 @@ var deserializeAws_json1_1ParameterMetadata = function (output, context) {
18482
18498
  : undefined,
18483
18499
  Tier: __expectString(output.Tier),
18484
18500
  Type: __expectString(output.Type),
18485
- Version: __expectInt(output.Version),
18501
+ Version: __expectLong(output.Version),
18486
18502
  };
18487
18503
  };
18488
18504
  var deserializeAws_json1_1ParameterMetadataList = function (output, context) {
@@ -18570,7 +18586,7 @@ var deserializeAws_json1_1Patch = function (output, context) {
18570
18586
  Classification: __expectString(output.Classification),
18571
18587
  ContentUrl: __expectString(output.ContentUrl),
18572
18588
  Description: __expectString(output.Description),
18573
- Epoch: __expectInt(output.Epoch),
18589
+ Epoch: __expectInt32(output.Epoch),
18574
18590
  Id: __expectString(output.Id),
18575
18591
  KbNumber: __expectString(output.KbNumber),
18576
18592
  Language: __expectString(output.Language),
@@ -18581,7 +18597,7 @@ var deserializeAws_json1_1Patch = function (output, context) {
18581
18597
  ProductFamily: __expectString(output.ProductFamily),
18582
18598
  Release: __expectString(output.Release),
18583
18599
  ReleaseDate: output.ReleaseDate !== undefined && output.ReleaseDate !== null
18584
- ? new Date(Math.round(output.ReleaseDate * 1000))
18600
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ReleaseDate)))
18585
18601
  : undefined,
18586
18602
  Repository: __expectString(output.Repository),
18587
18603
  Severity: __expectString(output.Severity),
@@ -18634,7 +18650,7 @@ var deserializeAws_json1_1PatchComplianceData = function (output, context) {
18634
18650
  CVEIds: __expectString(output.CVEIds),
18635
18651
  Classification: __expectString(output.Classification),
18636
18652
  InstalledTime: output.InstalledTime !== undefined && output.InstalledTime !== null
18637
- ? new Date(Math.round(output.InstalledTime * 1000))
18653
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.InstalledTime)))
18638
18654
  : undefined,
18639
18655
  KBId: __expectString(output.KBId),
18640
18656
  Severity: __expectString(output.Severity),
@@ -18767,7 +18783,7 @@ var deserializeAws_json1_1PatchPropertyEntry = function (output, context) {
18767
18783
  };
18768
18784
  var deserializeAws_json1_1PatchRule = function (output, context) {
18769
18785
  return {
18770
- ApproveAfterDays: __expectInt(output.ApproveAfterDays),
18786
+ ApproveAfterDays: __expectInt32(output.ApproveAfterDays),
18771
18787
  ApproveUntilDate: __expectString(output.ApproveUntilDate),
18772
18788
  ComplianceLevel: __expectString(output.ComplianceLevel),
18773
18789
  EnableNonSecurity: __expectBoolean(output.EnableNonSecurity),
@@ -18825,7 +18841,7 @@ var deserializeAws_json1_1PatchSourceProductList = function (output, context) {
18825
18841
  var deserializeAws_json1_1PatchStatus = function (output, context) {
18826
18842
  return {
18827
18843
  ApprovalDate: output.ApprovalDate !== undefined && output.ApprovalDate !== null
18828
- ? new Date(Math.round(output.ApprovalDate * 1000))
18844
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ApprovalDate)))
18829
18845
  : undefined,
18830
18846
  ComplianceLevel: __expectString(output.ComplianceLevel),
18831
18847
  DeploymentStatus: __expectString(output.DeploymentStatus),
@@ -18848,11 +18864,11 @@ var deserializeAws_json1_1PoliciesLimitExceededException = function (output, con
18848
18864
  };
18849
18865
  var deserializeAws_json1_1ProgressCounters = function (output, context) {
18850
18866
  return {
18851
- CancelledSteps: __expectInt(output.CancelledSteps),
18852
- FailedSteps: __expectInt(output.FailedSteps),
18853
- SuccessSteps: __expectInt(output.SuccessSteps),
18854
- TimedOutSteps: __expectInt(output.TimedOutSteps),
18855
- TotalSteps: __expectInt(output.TotalSteps),
18867
+ CancelledSteps: __expectInt32(output.CancelledSteps),
18868
+ FailedSteps: __expectInt32(output.FailedSteps),
18869
+ SuccessSteps: __expectInt32(output.SuccessSteps),
18870
+ TimedOutSteps: __expectInt32(output.TimedOutSteps),
18871
+ TotalSteps: __expectInt32(output.TotalSteps),
18856
18872
  };
18857
18873
  };
18858
18874
  var deserializeAws_json1_1PutComplianceItemsResult = function (output, context) {
@@ -18866,7 +18882,7 @@ var deserializeAws_json1_1PutInventoryResult = function (output, context) {
18866
18882
  var deserializeAws_json1_1PutParameterResult = function (output, context) {
18867
18883
  return {
18868
18884
  Tier: __expectString(output.Tier),
18869
- Version: __expectInt(output.Version),
18885
+ Version: __expectLong(output.Version),
18870
18886
  };
18871
18887
  };
18872
18888
  var deserializeAws_json1_1Regions = function (output, context) {
@@ -18998,20 +19014,20 @@ var deserializeAws_json1_1ResourceDataSyncItem = function (output, context) {
18998
19014
  return {
18999
19015
  LastStatus: __expectString(output.LastStatus),
19000
19016
  LastSuccessfulSyncTime: output.LastSuccessfulSyncTime !== undefined && output.LastSuccessfulSyncTime !== null
19001
- ? new Date(Math.round(output.LastSuccessfulSyncTime * 1000))
19017
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastSuccessfulSyncTime)))
19002
19018
  : undefined,
19003
19019
  LastSyncStatusMessage: __expectString(output.LastSyncStatusMessage),
19004
19020
  LastSyncTime: output.LastSyncTime !== undefined && output.LastSyncTime !== null
19005
- ? new Date(Math.round(output.LastSyncTime * 1000))
19021
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastSyncTime)))
19006
19022
  : undefined,
19007
19023
  S3Destination: output.S3Destination !== undefined && output.S3Destination !== null
19008
19024
  ? deserializeAws_json1_1ResourceDataSyncS3Destination(output.S3Destination, context)
19009
19025
  : undefined,
19010
19026
  SyncCreatedTime: output.SyncCreatedTime !== undefined && output.SyncCreatedTime !== null
19011
- ? new Date(Math.round(output.SyncCreatedTime * 1000))
19027
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.SyncCreatedTime)))
19012
19028
  : undefined,
19013
19029
  SyncLastModifiedTime: output.SyncLastModifiedTime !== undefined && output.SyncLastModifiedTime !== null
19014
- ? new Date(Math.round(output.SyncLastModifiedTime * 1000))
19030
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.SyncLastModifiedTime)))
19015
19031
  : undefined,
19016
19032
  SyncName: __expectString(output.SyncName),
19017
19033
  SyncSource: output.SyncSource !== undefined && output.SyncSource !== null
@@ -19108,7 +19124,7 @@ var deserializeAws_json1_1ResumeSessionResponse = function (output, context) {
19108
19124
  var deserializeAws_json1_1ReviewInformation = function (output, context) {
19109
19125
  return {
19110
19126
  ReviewedTime: output.ReviewedTime !== undefined && output.ReviewedTime !== null
19111
- ? new Date(Math.round(output.ReviewedTime * 1000))
19127
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ReviewedTime)))
19112
19128
  : undefined,
19113
19129
  Reviewer: __expectString(output.Reviewer),
19114
19130
  Status: __expectString(output.Status),
@@ -19195,7 +19211,7 @@ var deserializeAws_json1_1ServiceSetting = function (output, context) {
19195
19211
  return {
19196
19212
  ARN: __expectString(output.ARN),
19197
19213
  LastModifiedDate: output.LastModifiedDate !== undefined && output.LastModifiedDate !== null
19198
- ? new Date(Math.round(output.LastModifiedDate * 1000))
19214
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedDate)))
19199
19215
  : undefined,
19200
19216
  LastModifiedUser: __expectString(output.LastModifiedUser),
19201
19217
  SettingId: __expectString(output.SettingId),
@@ -19212,14 +19228,16 @@ var deserializeAws_json1_1Session = function (output, context) {
19212
19228
  return {
19213
19229
  Details: __expectString(output.Details),
19214
19230
  DocumentName: __expectString(output.DocumentName),
19215
- EndDate: output.EndDate !== undefined && output.EndDate !== null ? new Date(Math.round(output.EndDate * 1000)) : undefined,
19231
+ EndDate: output.EndDate !== undefined && output.EndDate !== null
19232
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndDate)))
19233
+ : undefined,
19216
19234
  OutputUrl: output.OutputUrl !== undefined && output.OutputUrl !== null
19217
19235
  ? deserializeAws_json1_1SessionManagerOutputUrl(output.OutputUrl, context)
19218
19236
  : undefined,
19219
19237
  Owner: __expectString(output.Owner),
19220
19238
  SessionId: __expectString(output.SessionId),
19221
19239
  StartDate: output.StartDate !== undefined && output.StartDate !== null
19222
- ? new Date(Math.round(output.StartDate * 1000))
19240
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartDate)))
19223
19241
  : undefined,
19224
19242
  Status: __expectString(output.Status),
19225
19243
  Target: __expectString(output.Target),
@@ -19243,12 +19261,12 @@ var deserializeAws_json1_1SessionManagerOutputUrl = function (output, context) {
19243
19261
  };
19244
19262
  var deserializeAws_json1_1SeveritySummary = function (output, context) {
19245
19263
  return {
19246
- CriticalCount: __expectInt(output.CriticalCount),
19247
- HighCount: __expectInt(output.HighCount),
19248
- InformationalCount: __expectInt(output.InformationalCount),
19249
- LowCount: __expectInt(output.LowCount),
19250
- MediumCount: __expectInt(output.MediumCount),
19251
- UnspecifiedCount: __expectInt(output.UnspecifiedCount),
19264
+ CriticalCount: __expectInt32(output.CriticalCount),
19265
+ HighCount: __expectInt32(output.HighCount),
19266
+ InformationalCount: __expectInt32(output.InformationalCount),
19267
+ LowCount: __expectInt32(output.LowCount),
19268
+ MediumCount: __expectInt32(output.MediumCount),
19269
+ UnspecifiedCount: __expectInt32(output.UnspecifiedCount),
19252
19270
  };
19253
19271
  };
19254
19272
  var deserializeAws_json1_1StartAssociationsOnceResult = function (output, context) {
@@ -19278,10 +19296,10 @@ var deserializeAws_json1_1StepExecution = function (output, context) {
19278
19296
  return {
19279
19297
  Action: __expectString(output.Action),
19280
19298
  ExecutionEndTime: output.ExecutionEndTime !== undefined && output.ExecutionEndTime !== null
19281
- ? new Date(Math.round(output.ExecutionEndTime * 1000))
19299
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ExecutionEndTime)))
19282
19300
  : undefined,
19283
19301
  ExecutionStartTime: output.ExecutionStartTime !== undefined && output.ExecutionStartTime !== null
19284
- ? new Date(Math.round(output.ExecutionStartTime * 1000))
19302
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ExecutionStartTime)))
19285
19303
  : undefined,
19286
19304
  FailureDetails: output.FailureDetails !== undefined && output.FailureDetails !== null
19287
19305
  ? deserializeAws_json1_1FailureDetails(output.FailureDetails, context)
@@ -19292,7 +19310,7 @@ var deserializeAws_json1_1StepExecution = function (output, context) {
19292
19310
  : undefined,
19293
19311
  IsCritical: __expectBoolean(output.IsCritical),
19294
19312
  IsEnd: __expectBoolean(output.IsEnd),
19295
- MaxAttempts: __expectInt(output.MaxAttempts),
19313
+ MaxAttempts: __expectInt32(output.MaxAttempts),
19296
19314
  NextStep: __expectString(output.NextStep),
19297
19315
  OnFailure: __expectString(output.OnFailure),
19298
19316
  Outputs: output.Outputs !== undefined && output.Outputs !== null
@@ -19312,7 +19330,7 @@ var deserializeAws_json1_1StepExecution = function (output, context) {
19312
19330
  Targets: output.Targets !== undefined && output.Targets !== null
19313
19331
  ? deserializeAws_json1_1Targets(output.Targets, context)
19314
19332
  : undefined,
19315
- TimeoutSeconds: __expectInt(output.TimeoutSeconds),
19333
+ TimeoutSeconds: __expectLong(output.TimeoutSeconds),
19316
19334
  ValidNextSteps: output.ValidNextSteps !== undefined && output.ValidNextSteps !== null
19317
19335
  ? deserializeAws_json1_1ValidNextStepList(output.ValidNextSteps, context)
19318
19336
  : undefined,
@@ -19551,14 +19569,14 @@ var deserializeAws_json1_1UpdateDocumentResult = function (output, context) {
19551
19569
  var deserializeAws_json1_1UpdateMaintenanceWindowResult = function (output, context) {
19552
19570
  return {
19553
19571
  AllowUnassociatedTargets: __expectBoolean(output.AllowUnassociatedTargets),
19554
- Cutoff: __expectInt(output.Cutoff),
19572
+ Cutoff: __expectInt32(output.Cutoff),
19555
19573
  Description: __expectString(output.Description),
19556
- Duration: __expectInt(output.Duration),
19574
+ Duration: __expectInt32(output.Duration),
19557
19575
  Enabled: __expectBoolean(output.Enabled),
19558
19576
  EndDate: __expectString(output.EndDate),
19559
19577
  Name: __expectString(output.Name),
19560
19578
  Schedule: __expectString(output.Schedule),
19561
- ScheduleOffset: __expectInt(output.ScheduleOffset),
19579
+ ScheduleOffset: __expectInt32(output.ScheduleOffset),
19562
19580
  ScheduleTimezone: __expectString(output.ScheduleTimezone),
19563
19581
  StartDate: __expectString(output.StartDate),
19564
19582
  WindowId: __expectString(output.WindowId),
@@ -19585,7 +19603,7 @@ var deserializeAws_json1_1UpdateMaintenanceWindowTaskResult = function (output,
19585
19603
  MaxConcurrency: __expectString(output.MaxConcurrency),
19586
19604
  MaxErrors: __expectString(output.MaxErrors),
19587
19605
  Name: __expectString(output.Name),
19588
- Priority: __expectInt(output.Priority),
19606
+ Priority: __expectInt32(output.Priority),
19589
19607
  ServiceRoleArn: __expectString(output.ServiceRoleArn),
19590
19608
  Targets: output.Targets !== undefined && output.Targets !== null
19591
19609
  ? deserializeAws_json1_1Targets(output.Targets, context)
@@ -19624,14 +19642,14 @@ var deserializeAws_json1_1UpdatePatchBaselineResult = function (output, context)
19624
19642
  ApprovedPatchesEnableNonSecurity: __expectBoolean(output.ApprovedPatchesEnableNonSecurity),
19625
19643
  BaselineId: __expectString(output.BaselineId),
19626
19644
  CreatedDate: output.CreatedDate !== undefined && output.CreatedDate !== null
19627
- ? new Date(Math.round(output.CreatedDate * 1000))
19645
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedDate)))
19628
19646
  : undefined,
19629
19647
  Description: __expectString(output.Description),
19630
19648
  GlobalFilters: output.GlobalFilters !== undefined && output.GlobalFilters !== null
19631
19649
  ? deserializeAws_json1_1PatchFilterGroup(output.GlobalFilters, context)
19632
19650
  : undefined,
19633
19651
  ModifiedDate: output.ModifiedDate !== undefined && output.ModifiedDate !== null
19634
- ? new Date(Math.round(output.ModifiedDate * 1000))
19652
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ModifiedDate)))
19635
19653
  : undefined,
19636
19654
  Name: __expectString(output.Name),
19637
19655
  OperatingSystem: __expectString(output.OperatingSystem),