@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.
@@ -954,8 +954,12 @@ import {
954
954
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
955
955
  import {
956
956
  expectBoolean as __expectBoolean,
957
- expectInt as __expectInt,
957
+ expectInt32 as __expectInt32,
958
+ expectLong as __expectLong,
959
+ expectNonNull as __expectNonNull,
960
+ expectNumber as __expectNumber,
958
961
  expectString as __expectString,
962
+ parseEpochTimestamp as __parseEpochTimestamp,
959
963
  } from "@aws-sdk/smithy-client";
960
964
  import {
961
965
  Endpoint as __Endpoint,
@@ -18681,18 +18685,18 @@ const deserializeAws_json1_1Activation = (output: any, context: __SerdeContext):
18681
18685
  ActivationId: __expectString(output.ActivationId),
18682
18686
  CreatedDate:
18683
18687
  output.CreatedDate !== undefined && output.CreatedDate !== null
18684
- ? new Date(Math.round(output.CreatedDate * 1000))
18688
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedDate)))
18685
18689
  : undefined,
18686
18690
  DefaultInstanceName: __expectString(output.DefaultInstanceName),
18687
18691
  Description: __expectString(output.Description),
18688
18692
  ExpirationDate:
18689
18693
  output.ExpirationDate !== undefined && output.ExpirationDate !== null
18690
- ? new Date(Math.round(output.ExpirationDate * 1000))
18694
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ExpirationDate)))
18691
18695
  : undefined,
18692
18696
  Expired: __expectBoolean(output.Expired),
18693
18697
  IamRole: __expectString(output.IamRole),
18694
- RegistrationLimit: __expectInt(output.RegistrationLimit),
18695
- RegistrationsCount: __expectInt(output.RegistrationsCount),
18698
+ RegistrationLimit: __expectInt32(output.RegistrationLimit),
18699
+ RegistrationsCount: __expectInt32(output.RegistrationsCount),
18696
18700
  Tags:
18697
18701
  output.Tags !== undefined && output.Tags !== null
18698
18702
  ? deserializeAws_json1_1TagList(output.Tags, context)
@@ -18746,7 +18750,7 @@ const deserializeAws_json1_1Association = (output: any, context: __SerdeContext)
18746
18750
  InstanceId: __expectString(output.InstanceId),
18747
18751
  LastExecutionDate:
18748
18752
  output.LastExecutionDate !== undefined && output.LastExecutionDate !== null
18749
- ? new Date(Math.round(output.LastExecutionDate * 1000))
18753
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastExecutionDate)))
18750
18754
  : undefined,
18751
18755
  Name: __expectString(output.Name),
18752
18756
  Overview:
@@ -18780,20 +18784,23 @@ const deserializeAws_json1_1AssociationDescription = (output: any, context: __Se
18780
18784
  ? deserializeAws_json1_1CalendarNameOrARNList(output.CalendarNames, context)
18781
18785
  : undefined,
18782
18786
  ComplianceSeverity: __expectString(output.ComplianceSeverity),
18783
- Date: output.Date !== undefined && output.Date !== null ? new Date(Math.round(output.Date * 1000)) : undefined,
18787
+ Date:
18788
+ output.Date !== undefined && output.Date !== null
18789
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.Date)))
18790
+ : undefined,
18784
18791
  DocumentVersion: __expectString(output.DocumentVersion),
18785
18792
  InstanceId: __expectString(output.InstanceId),
18786
18793
  LastExecutionDate:
18787
18794
  output.LastExecutionDate !== undefined && output.LastExecutionDate !== null
18788
- ? new Date(Math.round(output.LastExecutionDate * 1000))
18795
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastExecutionDate)))
18789
18796
  : undefined,
18790
18797
  LastSuccessfulExecutionDate:
18791
18798
  output.LastSuccessfulExecutionDate !== undefined && output.LastSuccessfulExecutionDate !== null
18792
- ? new Date(Math.round(output.LastSuccessfulExecutionDate * 1000))
18799
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastSuccessfulExecutionDate)))
18793
18800
  : undefined,
18794
18801
  LastUpdateAssociationDate:
18795
18802
  output.LastUpdateAssociationDate !== undefined && output.LastUpdateAssociationDate !== null
18796
- ? new Date(Math.round(output.LastUpdateAssociationDate * 1000))
18803
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdateAssociationDate)))
18797
18804
  : undefined,
18798
18805
  MaxConcurrency: __expectString(output.MaxConcurrency),
18799
18806
  MaxErrors: __expectString(output.MaxErrors),
@@ -18856,13 +18863,13 @@ const deserializeAws_json1_1AssociationExecution = (output: any, context: __Serd
18856
18863
  AssociationVersion: __expectString(output.AssociationVersion),
18857
18864
  CreatedTime:
18858
18865
  output.CreatedTime !== undefined && output.CreatedTime !== null
18859
- ? new Date(Math.round(output.CreatedTime * 1000))
18866
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
18860
18867
  : undefined,
18861
18868
  DetailedStatus: __expectString(output.DetailedStatus),
18862
18869
  ExecutionId: __expectString(output.ExecutionId),
18863
18870
  LastExecutionDate:
18864
18871
  output.LastExecutionDate !== undefined && output.LastExecutionDate !== null
18865
- ? new Date(Math.round(output.LastExecutionDate * 1000))
18872
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastExecutionDate)))
18866
18873
  : undefined,
18867
18874
  ResourceCountByStatus: __expectString(output.ResourceCountByStatus),
18868
18875
  Status: __expectString(output.Status),
@@ -18903,7 +18910,7 @@ const deserializeAws_json1_1AssociationExecutionTarget = (
18903
18910
  ExecutionId: __expectString(output.ExecutionId),
18904
18911
  LastExecutionDate:
18905
18912
  output.LastExecutionDate !== undefined && output.LastExecutionDate !== null
18906
- ? new Date(Math.round(output.LastExecutionDate * 1000))
18913
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastExecutionDate)))
18907
18914
  : undefined,
18908
18915
  OutputSource:
18909
18916
  output.OutputSource !== undefined && output.OutputSource !== null
@@ -18961,7 +18968,10 @@ const deserializeAws_json1_1AssociationOverview = (output: any, context: __Serde
18961
18968
  const deserializeAws_json1_1AssociationStatus = (output: any, context: __SerdeContext): AssociationStatus => {
18962
18969
  return {
18963
18970
  AdditionalInfo: __expectString(output.AdditionalInfo),
18964
- Date: output.Date !== undefined && output.Date !== null ? new Date(Math.round(output.Date * 1000)) : undefined,
18971
+ Date:
18972
+ output.Date !== undefined && output.Date !== null
18973
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.Date)))
18974
+ : undefined,
18965
18975
  Message: __expectString(output.Message),
18966
18976
  Name: __expectString(output.Name),
18967
18977
  } as any;
@@ -18977,7 +18987,7 @@ const deserializeAws_json1_1AssociationStatusAggregatedCount = (
18977
18987
  }
18978
18988
  return {
18979
18989
  ...acc,
18980
- [key]: __expectInt(value) as any,
18990
+ [key]: __expectInt32(value) as any,
18981
18991
  };
18982
18992
  }, {});
18983
18993
  };
@@ -18995,7 +19005,7 @@ const deserializeAws_json1_1AssociationVersionInfo = (output: any, context: __Se
18995
19005
  ComplianceSeverity: __expectString(output.ComplianceSeverity),
18996
19006
  CreatedDate:
18997
19007
  output.CreatedDate !== undefined && output.CreatedDate !== null
18998
- ? new Date(Math.round(output.CreatedDate * 1000))
19008
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedDate)))
18999
19009
  : undefined,
19000
19010
  DocumentVersion: __expectString(output.DocumentVersion),
19001
19011
  MaxConcurrency: __expectString(output.MaxConcurrency),
@@ -19050,7 +19060,7 @@ const deserializeAws_json1_1AttachmentContent = (output: any, context: __SerdeCo
19050
19060
  Hash: __expectString(output.Hash),
19051
19061
  HashType: __expectString(output.HashType),
19052
19062
  Name: __expectString(output.Name),
19053
- Size: __expectInt(output.Size),
19063
+ Size: __expectLong(output.Size),
19054
19064
  Url: __expectString(output.Url),
19055
19065
  } as any;
19056
19066
  };
@@ -19127,11 +19137,11 @@ const deserializeAws_json1_1AutomationExecution = (output: any, context: __Serde
19127
19137
  ExecutedBy: __expectString(output.ExecutedBy),
19128
19138
  ExecutionEndTime:
19129
19139
  output.ExecutionEndTime !== undefined && output.ExecutionEndTime !== null
19130
- ? new Date(Math.round(output.ExecutionEndTime * 1000))
19140
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ExecutionEndTime)))
19131
19141
  : undefined,
19132
19142
  ExecutionStartTime:
19133
19143
  output.ExecutionStartTime !== undefined && output.ExecutionStartTime !== null
19134
- ? new Date(Math.round(output.ExecutionStartTime * 1000))
19144
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ExecutionStartTime)))
19135
19145
  : undefined,
19136
19146
  FailureMessage: __expectString(output.FailureMessage),
19137
19147
  MaxConcurrency: __expectString(output.MaxConcurrency),
@@ -19161,7 +19171,7 @@ const deserializeAws_json1_1AutomationExecution = (output: any, context: __Serde
19161
19171
  : undefined,
19162
19172
  ScheduledTime:
19163
19173
  output.ScheduledTime !== undefined && output.ScheduledTime !== null
19164
- ? new Date(Math.round(output.ScheduledTime * 1000))
19174
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ScheduledTime)))
19165
19175
  : undefined,
19166
19176
  StepExecutions:
19167
19177
  output.StepExecutions !== undefined && output.StepExecutions !== null
@@ -19212,11 +19222,11 @@ const deserializeAws_json1_1AutomationExecutionMetadata = (
19212
19222
  ExecutedBy: __expectString(output.ExecutedBy),
19213
19223
  ExecutionEndTime:
19214
19224
  output.ExecutionEndTime !== undefined && output.ExecutionEndTime !== null
19215
- ? new Date(Math.round(output.ExecutionEndTime * 1000))
19225
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ExecutionEndTime)))
19216
19226
  : undefined,
19217
19227
  ExecutionStartTime:
19218
19228
  output.ExecutionStartTime !== undefined && output.ExecutionStartTime !== null
19219
- ? new Date(Math.round(output.ExecutionStartTime * 1000))
19229
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ExecutionStartTime)))
19220
19230
  : undefined,
19221
19231
  FailureMessage: __expectString(output.FailureMessage),
19222
19232
  LogFile: __expectString(output.LogFile),
@@ -19239,7 +19249,7 @@ const deserializeAws_json1_1AutomationExecutionMetadata = (
19239
19249
  : undefined,
19240
19250
  ScheduledTime:
19241
19251
  output.ScheduledTime !== undefined && output.ScheduledTime !== null
19242
- ? new Date(Math.round(output.ScheduledTime * 1000))
19252
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ScheduledTime)))
19243
19253
  : undefined,
19244
19254
  Target: __expectString(output.Target),
19245
19255
  TargetMaps:
@@ -19351,14 +19361,14 @@ const deserializeAws_json1_1Command = (output: any, context: __SerdeContext): Co
19351
19361
  : undefined,
19352
19362
  CommandId: __expectString(output.CommandId),
19353
19363
  Comment: __expectString(output.Comment),
19354
- CompletedCount: __expectInt(output.CompletedCount),
19355
- DeliveryTimedOutCount: __expectInt(output.DeliveryTimedOutCount),
19364
+ CompletedCount: __expectInt32(output.CompletedCount),
19365
+ DeliveryTimedOutCount: __expectInt32(output.DeliveryTimedOutCount),
19356
19366
  DocumentName: __expectString(output.DocumentName),
19357
19367
  DocumentVersion: __expectString(output.DocumentVersion),
19358
- ErrorCount: __expectInt(output.ErrorCount),
19368
+ ErrorCount: __expectInt32(output.ErrorCount),
19359
19369
  ExpiresAfter:
19360
19370
  output.ExpiresAfter !== undefined && output.ExpiresAfter !== null
19361
- ? new Date(Math.round(output.ExpiresAfter * 1000))
19371
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ExpiresAfter)))
19362
19372
  : undefined,
19363
19373
  InstanceIds:
19364
19374
  output.InstanceIds !== undefined && output.InstanceIds !== null
@@ -19379,17 +19389,17 @@ const deserializeAws_json1_1Command = (output: any, context: __SerdeContext): Co
19379
19389
  : undefined,
19380
19390
  RequestedDateTime:
19381
19391
  output.RequestedDateTime !== undefined && output.RequestedDateTime !== null
19382
- ? new Date(Math.round(output.RequestedDateTime * 1000))
19392
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.RequestedDateTime)))
19383
19393
  : undefined,
19384
19394
  ServiceRole: __expectString(output.ServiceRole),
19385
19395
  Status: __expectString(output.Status),
19386
19396
  StatusDetails: __expectString(output.StatusDetails),
19387
- TargetCount: __expectInt(output.TargetCount),
19397
+ TargetCount: __expectInt32(output.TargetCount),
19388
19398
  Targets:
19389
19399
  output.Targets !== undefined && output.Targets !== null
19390
19400
  ? deserializeAws_json1_1Targets(output.Targets, context)
19391
19401
  : undefined,
19392
- TimeoutSeconds: __expectInt(output.TimeoutSeconds),
19402
+ TimeoutSeconds: __expectInt32(output.TimeoutSeconds),
19393
19403
  } as any;
19394
19404
  };
19395
19405
 
@@ -19415,7 +19425,7 @@ const deserializeAws_json1_1CommandInvocation = (output: any, context: __SerdeCo
19415
19425
  : undefined,
19416
19426
  RequestedDateTime:
19417
19427
  output.RequestedDateTime !== undefined && output.RequestedDateTime !== null
19418
- ? new Date(Math.round(output.RequestedDateTime * 1000))
19428
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.RequestedDateTime)))
19419
19429
  : undefined,
19420
19430
  ServiceRole: __expectString(output.ServiceRole),
19421
19431
  StandardErrorUrl: __expectString(output.StandardErrorUrl),
@@ -19455,14 +19465,14 @@ const deserializeAws_json1_1CommandPlugin = (output: any, context: __SerdeContex
19455
19465
  OutputS3BucketName: __expectString(output.OutputS3BucketName),
19456
19466
  OutputS3KeyPrefix: __expectString(output.OutputS3KeyPrefix),
19457
19467
  OutputS3Region: __expectString(output.OutputS3Region),
19458
- ResponseCode: __expectInt(output.ResponseCode),
19468
+ ResponseCode: __expectInt32(output.ResponseCode),
19459
19469
  ResponseFinishDateTime:
19460
19470
  output.ResponseFinishDateTime !== undefined && output.ResponseFinishDateTime !== null
19461
- ? new Date(Math.round(output.ResponseFinishDateTime * 1000))
19471
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ResponseFinishDateTime)))
19462
19472
  : undefined,
19463
19473
  ResponseStartDateTime:
19464
19474
  output.ResponseStartDateTime !== undefined && output.ResponseStartDateTime !== null
19465
- ? new Date(Math.round(output.ResponseStartDateTime * 1000))
19475
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ResponseStartDateTime)))
19466
19476
  : undefined,
19467
19477
  StandardErrorUrl: __expectString(output.StandardErrorUrl),
19468
19478
  StandardOutputUrl: __expectString(output.StandardOutputUrl),
@@ -19490,7 +19500,7 @@ const deserializeAws_json1_1ComplianceExecutionSummary = (
19490
19500
  ExecutionId: __expectString(output.ExecutionId),
19491
19501
  ExecutionTime:
19492
19502
  output.ExecutionTime !== undefined && output.ExecutionTime !== null
19493
- ? new Date(Math.round(output.ExecutionTime * 1000))
19503
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ExecutionTime)))
19494
19504
  : undefined,
19495
19505
  ExecutionType: __expectString(output.ExecutionType),
19496
19506
  } as any;
@@ -19581,7 +19591,7 @@ const deserializeAws_json1_1ComplianceTypeCountLimitExceededException = (
19581
19591
 
19582
19592
  const deserializeAws_json1_1CompliantSummary = (output: any, context: __SerdeContext): CompliantSummary => {
19583
19593
  return {
19584
- CompliantCount: __expectInt(output.CompliantCount),
19594
+ CompliantCount: __expectInt32(output.CompliantCount),
19585
19595
  SeveritySummary:
19586
19596
  output.SeveritySummary !== undefined && output.SeveritySummary !== null
19587
19597
  ? deserializeAws_json1_1SeveritySummary(output.SeveritySummary, context)
@@ -20221,18 +20231,18 @@ const deserializeAws_json1_1DescribePatchGroupStateResult = (
20221
20231
  context: __SerdeContext
20222
20232
  ): DescribePatchGroupStateResult => {
20223
20233
  return {
20224
- Instances: __expectInt(output.Instances),
20225
- InstancesWithCriticalNonCompliantPatches: __expectInt(output.InstancesWithCriticalNonCompliantPatches),
20226
- InstancesWithFailedPatches: __expectInt(output.InstancesWithFailedPatches),
20227
- InstancesWithInstalledOtherPatches: __expectInt(output.InstancesWithInstalledOtherPatches),
20228
- InstancesWithInstalledPatches: __expectInt(output.InstancesWithInstalledPatches),
20229
- InstancesWithInstalledPendingRebootPatches: __expectInt(output.InstancesWithInstalledPendingRebootPatches),
20230
- InstancesWithInstalledRejectedPatches: __expectInt(output.InstancesWithInstalledRejectedPatches),
20231
- InstancesWithMissingPatches: __expectInt(output.InstancesWithMissingPatches),
20232
- InstancesWithNotApplicablePatches: __expectInt(output.InstancesWithNotApplicablePatches),
20233
- InstancesWithOtherNonCompliantPatches: __expectInt(output.InstancesWithOtherNonCompliantPatches),
20234
- InstancesWithSecurityNonCompliantPatches: __expectInt(output.InstancesWithSecurityNonCompliantPatches),
20235
- InstancesWithUnreportedNotApplicablePatches: __expectInt(output.InstancesWithUnreportedNotApplicablePatches),
20234
+ Instances: __expectInt32(output.Instances),
20235
+ InstancesWithCriticalNonCompliantPatches: __expectInt32(output.InstancesWithCriticalNonCompliantPatches),
20236
+ InstancesWithFailedPatches: __expectInt32(output.InstancesWithFailedPatches),
20237
+ InstancesWithInstalledOtherPatches: __expectInt32(output.InstancesWithInstalledOtherPatches),
20238
+ InstancesWithInstalledPatches: __expectInt32(output.InstancesWithInstalledPatches),
20239
+ InstancesWithInstalledPendingRebootPatches: __expectInt32(output.InstancesWithInstalledPendingRebootPatches),
20240
+ InstancesWithInstalledRejectedPatches: __expectInt32(output.InstancesWithInstalledRejectedPatches),
20241
+ InstancesWithMissingPatches: __expectInt32(output.InstancesWithMissingPatches),
20242
+ InstancesWithNotApplicablePatches: __expectInt32(output.InstancesWithNotApplicablePatches),
20243
+ InstancesWithOtherNonCompliantPatches: __expectInt32(output.InstancesWithOtherNonCompliantPatches),
20244
+ InstancesWithSecurityNonCompliantPatches: __expectInt32(output.InstancesWithSecurityNonCompliantPatches),
20245
+ InstancesWithUnreportedNotApplicablePatches: __expectInt32(output.InstancesWithUnreportedNotApplicablePatches),
20236
20246
  } as any;
20237
20247
  };
20238
20248
 
@@ -20296,7 +20306,7 @@ const deserializeAws_json1_1DocumentDescription = (output: any, context: __Serde
20296
20306
  Author: __expectString(output.Author),
20297
20307
  CreatedDate:
20298
20308
  output.CreatedDate !== undefined && output.CreatedDate !== null
20299
- ? new Date(Math.round(output.CreatedDate * 1000))
20309
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedDate)))
20300
20310
  : undefined,
20301
20311
  DefaultVersion: __expectString(output.DefaultVersion),
20302
20312
  Description: __expectString(output.Description),
@@ -20345,7 +20355,7 @@ const deserializeAws_json1_1DocumentIdentifier = (output: any, context: __SerdeC
20345
20355
  Author: __expectString(output.Author),
20346
20356
  CreatedDate:
20347
20357
  output.CreatedDate !== undefined && output.CreatedDate !== null
20348
- ? new Date(Math.round(output.CreatedDate * 1000))
20358
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedDate)))
20349
20359
  : undefined,
20350
20360
  DisplayName: __expectString(output.DisplayName),
20351
20361
  DocumentFormat: __expectString(output.DocumentFormat),
@@ -20497,13 +20507,13 @@ const deserializeAws_json1_1DocumentReviewerResponseSource = (
20497
20507
  : undefined,
20498
20508
  CreateTime:
20499
20509
  output.CreateTime !== undefined && output.CreateTime !== null
20500
- ? new Date(Math.round(output.CreateTime * 1000))
20510
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreateTime)))
20501
20511
  : undefined,
20502
20512
  ReviewStatus: __expectString(output.ReviewStatus),
20503
20513
  Reviewer: __expectString(output.Reviewer),
20504
20514
  UpdatedTime:
20505
20515
  output.UpdatedTime !== undefined && output.UpdatedTime !== null
20506
- ? new Date(Math.round(output.UpdatedTime * 1000))
20516
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedTime)))
20507
20517
  : undefined,
20508
20518
  } as any;
20509
20519
  };
@@ -20512,7 +20522,7 @@ const deserializeAws_json1_1DocumentVersionInfo = (output: any, context: __Serde
20512
20522
  return {
20513
20523
  CreatedDate:
20514
20524
  output.CreatedDate !== undefined && output.CreatedDate !== null
20515
- ? new Date(Math.round(output.CreatedDate * 1000))
20525
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedDate)))
20516
20526
  : undefined,
20517
20527
  DisplayName: __expectString(output.DisplayName),
20518
20528
  DocumentFormat: __expectString(output.DocumentFormat),
@@ -20687,7 +20697,7 @@ const deserializeAws_json1_1GetCommandInvocationResult = (
20687
20697
  ExecutionStartDateTime: __expectString(output.ExecutionStartDateTime),
20688
20698
  InstanceId: __expectString(output.InstanceId),
20689
20699
  PluginName: __expectString(output.PluginName),
20690
- ResponseCode: __expectInt(output.ResponseCode),
20700
+ ResponseCode: __expectInt32(output.ResponseCode),
20691
20701
  StandardErrorContent: __expectString(output.StandardErrorContent),
20692
20702
  StandardErrorUrl: __expectString(output.StandardErrorUrl),
20693
20703
  StandardOutputContent: __expectString(output.StandardOutputContent),
@@ -20738,7 +20748,7 @@ const deserializeAws_json1_1GetDocumentResult = (output: any, context: __SerdeCo
20738
20748
  Content: __expectString(output.Content),
20739
20749
  CreatedDate:
20740
20750
  output.CreatedDate !== undefined && output.CreatedDate !== null
20741
- ? new Date(Math.round(output.CreatedDate * 1000))
20751
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedDate)))
20742
20752
  : undefined,
20743
20753
  DisplayName: __expectString(output.DisplayName),
20744
20754
  DocumentFormat: __expectString(output.DocumentFormat),
@@ -20785,10 +20795,12 @@ const deserializeAws_json1_1GetMaintenanceWindowExecutionResult = (
20785
20795
  ): GetMaintenanceWindowExecutionResult => {
20786
20796
  return {
20787
20797
  EndTime:
20788
- output.EndTime !== undefined && output.EndTime !== null ? new Date(Math.round(output.EndTime * 1000)) : undefined,
20798
+ output.EndTime !== undefined && output.EndTime !== null
20799
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndTime)))
20800
+ : undefined,
20789
20801
  StartTime:
20790
20802
  output.StartTime !== undefined && output.StartTime !== null
20791
- ? new Date(Math.round(output.StartTime * 1000))
20803
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime)))
20792
20804
  : undefined,
20793
20805
  Status: __expectString(output.Status),
20794
20806
  StatusDetails: __expectString(output.StatusDetails),
@@ -20806,14 +20818,16 @@ const deserializeAws_json1_1GetMaintenanceWindowExecutionTaskInvocationResult =
20806
20818
  ): GetMaintenanceWindowExecutionTaskInvocationResult => {
20807
20819
  return {
20808
20820
  EndTime:
20809
- output.EndTime !== undefined && output.EndTime !== null ? new Date(Math.round(output.EndTime * 1000)) : undefined,
20821
+ output.EndTime !== undefined && output.EndTime !== null
20822
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndTime)))
20823
+ : undefined,
20810
20824
  ExecutionId: __expectString(output.ExecutionId),
20811
20825
  InvocationId: __expectString(output.InvocationId),
20812
20826
  OwnerInformation: __expectString(output.OwnerInformation),
20813
20827
  Parameters: __expectString(output.Parameters),
20814
20828
  StartTime:
20815
20829
  output.StartTime !== undefined && output.StartTime !== null
20816
- ? new Date(Math.round(output.StartTime * 1000))
20830
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime)))
20817
20831
  : undefined,
20818
20832
  Status: __expectString(output.Status),
20819
20833
  StatusDetails: __expectString(output.StatusDetails),
@@ -20830,14 +20844,16 @@ const deserializeAws_json1_1GetMaintenanceWindowExecutionTaskResult = (
20830
20844
  ): GetMaintenanceWindowExecutionTaskResult => {
20831
20845
  return {
20832
20846
  EndTime:
20833
- output.EndTime !== undefined && output.EndTime !== null ? new Date(Math.round(output.EndTime * 1000)) : undefined,
20847
+ output.EndTime !== undefined && output.EndTime !== null
20848
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndTime)))
20849
+ : undefined,
20834
20850
  MaxConcurrency: __expectString(output.MaxConcurrency),
20835
20851
  MaxErrors: __expectString(output.MaxErrors),
20836
- Priority: __expectInt(output.Priority),
20852
+ Priority: __expectInt32(output.Priority),
20837
20853
  ServiceRole: __expectString(output.ServiceRole),
20838
20854
  StartTime:
20839
20855
  output.StartTime !== undefined && output.StartTime !== null
20840
- ? new Date(Math.round(output.StartTime * 1000))
20856
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime)))
20841
20857
  : undefined,
20842
20858
  Status: __expectString(output.Status),
20843
20859
  StatusDetails: __expectString(output.StatusDetails),
@@ -20860,21 +20876,21 @@ const deserializeAws_json1_1GetMaintenanceWindowResult = (
20860
20876
  AllowUnassociatedTargets: __expectBoolean(output.AllowUnassociatedTargets),
20861
20877
  CreatedDate:
20862
20878
  output.CreatedDate !== undefined && output.CreatedDate !== null
20863
- ? new Date(Math.round(output.CreatedDate * 1000))
20879
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedDate)))
20864
20880
  : undefined,
20865
- Cutoff: __expectInt(output.Cutoff),
20881
+ Cutoff: __expectInt32(output.Cutoff),
20866
20882
  Description: __expectString(output.Description),
20867
- Duration: __expectInt(output.Duration),
20883
+ Duration: __expectInt32(output.Duration),
20868
20884
  Enabled: __expectBoolean(output.Enabled),
20869
20885
  EndDate: __expectString(output.EndDate),
20870
20886
  ModifiedDate:
20871
20887
  output.ModifiedDate !== undefined && output.ModifiedDate !== null
20872
- ? new Date(Math.round(output.ModifiedDate * 1000))
20888
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ModifiedDate)))
20873
20889
  : undefined,
20874
20890
  Name: __expectString(output.Name),
20875
20891
  NextExecutionTime: __expectString(output.NextExecutionTime),
20876
20892
  Schedule: __expectString(output.Schedule),
20877
- ScheduleOffset: __expectInt(output.ScheduleOffset),
20893
+ ScheduleOffset: __expectInt32(output.ScheduleOffset),
20878
20894
  ScheduleTimezone: __expectString(output.ScheduleTimezone),
20879
20895
  StartDate: __expectString(output.StartDate),
20880
20896
  WindowId: __expectString(output.WindowId),
@@ -20894,7 +20910,7 @@ const deserializeAws_json1_1GetMaintenanceWindowTaskResult = (
20894
20910
  MaxConcurrency: __expectString(output.MaxConcurrency),
20895
20911
  MaxErrors: __expectString(output.MaxErrors),
20896
20912
  Name: __expectString(output.Name),
20897
- Priority: __expectInt(output.Priority),
20913
+ Priority: __expectInt32(output.Priority),
20898
20914
  ServiceRoleArn: __expectString(output.ServiceRoleArn),
20899
20915
  Targets:
20900
20916
  output.Targets !== undefined && output.Targets !== null
@@ -21019,7 +21035,7 @@ const deserializeAws_json1_1GetPatchBaselineResult = (output: any, context: __Se
21019
21035
  BaselineId: __expectString(output.BaselineId),
21020
21036
  CreatedDate:
21021
21037
  output.CreatedDate !== undefined && output.CreatedDate !== null
21022
- ? new Date(Math.round(output.CreatedDate * 1000))
21038
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedDate)))
21023
21039
  : undefined,
21024
21040
  Description: __expectString(output.Description),
21025
21041
  GlobalFilters:
@@ -21028,7 +21044,7 @@ const deserializeAws_json1_1GetPatchBaselineResult = (output: any, context: __Se
21028
21044
  : undefined,
21029
21045
  ModifiedDate:
21030
21046
  output.ModifiedDate !== undefined && output.ModifiedDate !== null
21031
- ? new Date(Math.round(output.ModifiedDate * 1000))
21047
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ModifiedDate)))
21032
21048
  : undefined,
21033
21049
  Name: __expectString(output.Name),
21034
21050
  OperatingSystem: __expectString(output.OperatingSystem),
@@ -21167,7 +21183,7 @@ const deserializeAws_json1_1InstanceAssociationStatusAggregatedCount = (
21167
21183
  }
21168
21184
  return {
21169
21185
  ...acc,
21170
- [key]: __expectInt(value) as any,
21186
+ [key]: __expectInt32(value) as any,
21171
21187
  };
21172
21188
  }, {});
21173
21189
  };
@@ -21185,7 +21201,7 @@ const deserializeAws_json1_1InstanceAssociationStatusInfo = (
21185
21201
  ErrorCode: __expectString(output.ErrorCode),
21186
21202
  ExecutionDate:
21187
21203
  output.ExecutionDate !== undefined && output.ExecutionDate !== null
21188
- ? new Date(Math.round(output.ExecutionDate * 1000))
21204
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ExecutionDate)))
21189
21205
  : undefined,
21190
21206
  ExecutionSummary: __expectString(output.ExecutionSummary),
21191
21207
  InstanceId: __expectString(output.InstanceId),
@@ -21239,16 +21255,16 @@ const deserializeAws_json1_1InstanceInformation = (output: any, context: __Serde
21239
21255
  IsLatestVersion: __expectBoolean(output.IsLatestVersion),
21240
21256
  LastAssociationExecutionDate:
21241
21257
  output.LastAssociationExecutionDate !== undefined && output.LastAssociationExecutionDate !== null
21242
- ? new Date(Math.round(output.LastAssociationExecutionDate * 1000))
21258
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastAssociationExecutionDate)))
21243
21259
  : undefined,
21244
21260
  LastPingDateTime:
21245
21261
  output.LastPingDateTime !== undefined && output.LastPingDateTime !== null
21246
- ? new Date(Math.round(output.LastPingDateTime * 1000))
21262
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastPingDateTime)))
21247
21263
  : undefined,
21248
21264
  LastSuccessfulAssociationExecutionDate:
21249
21265
  output.LastSuccessfulAssociationExecutionDate !== undefined &&
21250
21266
  output.LastSuccessfulAssociationExecutionDate !== null
21251
- ? new Date(Math.round(output.LastSuccessfulAssociationExecutionDate * 1000))
21267
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastSuccessfulAssociationExecutionDate)))
21252
21268
  : undefined,
21253
21269
  Name: __expectString(output.Name),
21254
21270
  PingStatus: __expectString(output.PingStatus),
@@ -21257,7 +21273,7 @@ const deserializeAws_json1_1InstanceInformation = (output: any, context: __Serde
21257
21273
  PlatformVersion: __expectString(output.PlatformVersion),
21258
21274
  RegistrationDate:
21259
21275
  output.RegistrationDate !== undefined && output.RegistrationDate !== null
21260
- ? new Date(Math.round(output.RegistrationDate * 1000))
21276
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.RegistrationDate)))
21261
21277
  : undefined,
21262
21278
  ResourceType: __expectString(output.ResourceType),
21263
21279
  } as any;
@@ -21277,36 +21293,36 @@ const deserializeAws_json1_1InstanceInformationList = (output: any, context: __S
21277
21293
  const deserializeAws_json1_1InstancePatchState = (output: any, context: __SerdeContext): InstancePatchState => {
21278
21294
  return {
21279
21295
  BaselineId: __expectString(output.BaselineId),
21280
- CriticalNonCompliantCount: __expectInt(output.CriticalNonCompliantCount),
21281
- FailedCount: __expectInt(output.FailedCount),
21296
+ CriticalNonCompliantCount: __expectInt32(output.CriticalNonCompliantCount),
21297
+ FailedCount: __expectInt32(output.FailedCount),
21282
21298
  InstallOverrideList: __expectString(output.InstallOverrideList),
21283
- InstalledCount: __expectInt(output.InstalledCount),
21284
- InstalledOtherCount: __expectInt(output.InstalledOtherCount),
21285
- InstalledPendingRebootCount: __expectInt(output.InstalledPendingRebootCount),
21286
- InstalledRejectedCount: __expectInt(output.InstalledRejectedCount),
21299
+ InstalledCount: __expectInt32(output.InstalledCount),
21300
+ InstalledOtherCount: __expectInt32(output.InstalledOtherCount),
21301
+ InstalledPendingRebootCount: __expectInt32(output.InstalledPendingRebootCount),
21302
+ InstalledRejectedCount: __expectInt32(output.InstalledRejectedCount),
21287
21303
  InstanceId: __expectString(output.InstanceId),
21288
21304
  LastNoRebootInstallOperationTime:
21289
21305
  output.LastNoRebootInstallOperationTime !== undefined && output.LastNoRebootInstallOperationTime !== null
21290
- ? new Date(Math.round(output.LastNoRebootInstallOperationTime * 1000))
21306
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastNoRebootInstallOperationTime)))
21291
21307
  : undefined,
21292
- MissingCount: __expectInt(output.MissingCount),
21293
- NotApplicableCount: __expectInt(output.NotApplicableCount),
21308
+ MissingCount: __expectInt32(output.MissingCount),
21309
+ NotApplicableCount: __expectInt32(output.NotApplicableCount),
21294
21310
  Operation: __expectString(output.Operation),
21295
21311
  OperationEndTime:
21296
21312
  output.OperationEndTime !== undefined && output.OperationEndTime !== null
21297
- ? new Date(Math.round(output.OperationEndTime * 1000))
21313
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.OperationEndTime)))
21298
21314
  : undefined,
21299
21315
  OperationStartTime:
21300
21316
  output.OperationStartTime !== undefined && output.OperationStartTime !== null
21301
- ? new Date(Math.round(output.OperationStartTime * 1000))
21317
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.OperationStartTime)))
21302
21318
  : undefined,
21303
- OtherNonCompliantCount: __expectInt(output.OtherNonCompliantCount),
21319
+ OtherNonCompliantCount: __expectInt32(output.OtherNonCompliantCount),
21304
21320
  OwnerInformation: __expectString(output.OwnerInformation),
21305
21321
  PatchGroup: __expectString(output.PatchGroup),
21306
21322
  RebootOption: __expectString(output.RebootOption),
21307
- SecurityNonCompliantCount: __expectInt(output.SecurityNonCompliantCount),
21323
+ SecurityNonCompliantCount: __expectInt32(output.SecurityNonCompliantCount),
21308
21324
  SnapshotId: __expectString(output.SnapshotId),
21309
- UnreportedNotApplicableCount: __expectInt(output.UnreportedNotApplicableCount),
21325
+ UnreportedNotApplicableCount: __expectInt32(output.UnreportedNotApplicableCount),
21310
21326
  } as any;
21311
21327
  };
21312
21328
 
@@ -21689,7 +21705,7 @@ const deserializeAws_json1_1InventoryDeletionStatusItem = (
21689
21705
  DeletionId: __expectString(output.DeletionId),
21690
21706
  DeletionStartTime:
21691
21707
  output.DeletionStartTime !== undefined && output.DeletionStartTime !== null
21692
- ? new Date(Math.round(output.DeletionStartTime * 1000))
21708
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DeletionStartTime)))
21693
21709
  : undefined,
21694
21710
  DeletionSummary:
21695
21711
  output.DeletionSummary !== undefined && output.DeletionSummary !== null
@@ -21699,7 +21715,7 @@ const deserializeAws_json1_1InventoryDeletionStatusItem = (
21699
21715
  LastStatusMessage: __expectString(output.LastStatusMessage),
21700
21716
  LastStatusUpdateTime:
21701
21717
  output.LastStatusUpdateTime !== undefined && output.LastStatusUpdateTime !== null
21702
- ? new Date(Math.round(output.LastStatusUpdateTime * 1000))
21718
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastStatusUpdateTime)))
21703
21719
  : undefined,
21704
21720
  TypeName: __expectString(output.TypeName),
21705
21721
  } as any;
@@ -21710,12 +21726,12 @@ const deserializeAws_json1_1InventoryDeletionSummary = (
21710
21726
  context: __SerdeContext
21711
21727
  ): InventoryDeletionSummary => {
21712
21728
  return {
21713
- RemainingCount: __expectInt(output.RemainingCount),
21729
+ RemainingCount: __expectInt32(output.RemainingCount),
21714
21730
  SummaryItems:
21715
21731
  output.SummaryItems !== undefined && output.SummaryItems !== null
21716
21732
  ? deserializeAws_json1_1InventoryDeletionSummaryItems(output.SummaryItems, context)
21717
21733
  : undefined,
21718
- TotalCount: __expectInt(output.TotalCount),
21734
+ TotalCount: __expectInt32(output.TotalCount),
21719
21735
  } as any;
21720
21736
  };
21721
21737
 
@@ -21724,8 +21740,8 @@ const deserializeAws_json1_1InventoryDeletionSummaryItem = (
21724
21740
  context: __SerdeContext
21725
21741
  ): InventoryDeletionSummaryItem => {
21726
21742
  return {
21727
- Count: __expectInt(output.Count),
21728
- RemainingCount: __expectInt(output.RemainingCount),
21743
+ Count: __expectInt32(output.Count),
21744
+ RemainingCount: __expectInt32(output.RemainingCount),
21729
21745
  Version: __expectString(output.Version),
21730
21746
  } as any;
21731
21747
  };
@@ -21902,7 +21918,7 @@ const deserializeAws_json1_1LabelParameterVersionResult = (
21902
21918
  output.InvalidLabels !== undefined && output.InvalidLabels !== null
21903
21919
  ? deserializeAws_json1_1ParameterLabelList(output.InvalidLabels, context)
21904
21920
  : undefined,
21905
- ParameterVersion: __expectInt(output.ParameterVersion),
21921
+ ParameterVersion: __expectLong(output.ParameterVersion),
21906
21922
  } as any;
21907
21923
  };
21908
21924
 
@@ -22135,10 +22151,12 @@ const deserializeAws_json1_1MaintenanceWindowExecution = (
22135
22151
  ): MaintenanceWindowExecution => {
22136
22152
  return {
22137
22153
  EndTime:
22138
- output.EndTime !== undefined && output.EndTime !== null ? new Date(Math.round(output.EndTime * 1000)) : undefined,
22154
+ output.EndTime !== undefined && output.EndTime !== null
22155
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndTime)))
22156
+ : undefined,
22139
22157
  StartTime:
22140
22158
  output.StartTime !== undefined && output.StartTime !== null
22141
- ? new Date(Math.round(output.StartTime * 1000))
22159
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime)))
22142
22160
  : undefined,
22143
22161
  Status: __expectString(output.Status),
22144
22162
  StatusDetails: __expectString(output.StatusDetails),
@@ -22167,10 +22185,12 @@ const deserializeAws_json1_1MaintenanceWindowExecutionTaskIdentity = (
22167
22185
  ): MaintenanceWindowExecutionTaskIdentity => {
22168
22186
  return {
22169
22187
  EndTime:
22170
- output.EndTime !== undefined && output.EndTime !== null ? new Date(Math.round(output.EndTime * 1000)) : undefined,
22188
+ output.EndTime !== undefined && output.EndTime !== null
22189
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndTime)))
22190
+ : undefined,
22171
22191
  StartTime:
22172
22192
  output.StartTime !== undefined && output.StartTime !== null
22173
- ? new Date(Math.round(output.StartTime * 1000))
22193
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime)))
22174
22194
  : undefined,
22175
22195
  Status: __expectString(output.Status),
22176
22196
  StatusDetails: __expectString(output.StatusDetails),
@@ -22212,14 +22232,16 @@ const deserializeAws_json1_1MaintenanceWindowExecutionTaskInvocationIdentity = (
22212
22232
  ): MaintenanceWindowExecutionTaskInvocationIdentity => {
22213
22233
  return {
22214
22234
  EndTime:
22215
- output.EndTime !== undefined && output.EndTime !== null ? new Date(Math.round(output.EndTime * 1000)) : undefined,
22235
+ output.EndTime !== undefined && output.EndTime !== null
22236
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndTime)))
22237
+ : undefined,
22216
22238
  ExecutionId: __expectString(output.ExecutionId),
22217
22239
  InvocationId: __expectString(output.InvocationId),
22218
22240
  OwnerInformation: __expectString(output.OwnerInformation),
22219
22241
  Parameters: __expectString(output.Parameters),
22220
22242
  StartTime:
22221
22243
  output.StartTime !== undefined && output.StartTime !== null
22222
- ? new Date(Math.round(output.StartTime * 1000))
22244
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime)))
22223
22245
  : undefined,
22224
22246
  Status: __expectString(output.Status),
22225
22247
  StatusDetails: __expectString(output.StatusDetails),
@@ -22249,15 +22271,15 @@ const deserializeAws_json1_1MaintenanceWindowIdentity = (
22249
22271
  context: __SerdeContext
22250
22272
  ): MaintenanceWindowIdentity => {
22251
22273
  return {
22252
- Cutoff: __expectInt(output.Cutoff),
22274
+ Cutoff: __expectInt32(output.Cutoff),
22253
22275
  Description: __expectString(output.Description),
22254
- Duration: __expectInt(output.Duration),
22276
+ Duration: __expectInt32(output.Duration),
22255
22277
  Enabled: __expectBoolean(output.Enabled),
22256
22278
  EndDate: __expectString(output.EndDate),
22257
22279
  Name: __expectString(output.Name),
22258
22280
  NextExecutionTime: __expectString(output.NextExecutionTime),
22259
22281
  Schedule: __expectString(output.Schedule),
22260
- ScheduleOffset: __expectInt(output.ScheduleOffset),
22282
+ ScheduleOffset: __expectInt32(output.ScheduleOffset),
22261
22283
  ScheduleTimezone: __expectString(output.ScheduleTimezone),
22262
22284
  StartDate: __expectString(output.StartDate),
22263
22285
  WindowId: __expectString(output.WindowId),
@@ -22324,7 +22346,7 @@ const deserializeAws_json1_1MaintenanceWindowRunCommandParameters = (
22324
22346
  ? deserializeAws_json1_1Parameters(output.Parameters, context)
22325
22347
  : undefined,
22326
22348
  ServiceRoleArn: __expectString(output.ServiceRoleArn),
22327
- TimeoutSeconds: __expectInt(output.TimeoutSeconds),
22349
+ TimeoutSeconds: __expectInt32(output.TimeoutSeconds),
22328
22350
  } as any;
22329
22351
  };
22330
22352
 
@@ -22394,7 +22416,7 @@ const deserializeAws_json1_1MaintenanceWindowTask = (output: any, context: __Ser
22394
22416
  MaxConcurrency: __expectString(output.MaxConcurrency),
22395
22417
  MaxErrors: __expectString(output.MaxErrors),
22396
22418
  Name: __expectString(output.Name),
22397
- Priority: __expectInt(output.Priority),
22419
+ Priority: __expectInt32(output.Priority),
22398
22420
  ServiceRoleArn: __expectString(output.ServiceRoleArn),
22399
22421
  Targets:
22400
22422
  output.Targets !== undefined && output.Targets !== null
@@ -22543,7 +22565,7 @@ const deserializeAws_json1_1ModifyDocumentPermissionResponse = (
22543
22565
 
22544
22566
  const deserializeAws_json1_1NonCompliantSummary = (output: any, context: __SerdeContext): NonCompliantSummary => {
22545
22567
  return {
22546
- NonCompliantCount: __expectInt(output.NonCompliantCount),
22568
+ NonCompliantCount: __expectInt32(output.NonCompliantCount),
22547
22569
  SeveritySummary:
22548
22570
  output.SeveritySummary !== undefined && output.SeveritySummary !== null
22549
22571
  ? deserializeAws_json1_1SeveritySummary(output.SeveritySummary, context)
@@ -22664,23 +22686,23 @@ const deserializeAws_json1_1OpsItem = (output: any, context: __SerdeContext): Op
22664
22686
  return {
22665
22687
  ActualEndTime:
22666
22688
  output.ActualEndTime !== undefined && output.ActualEndTime !== null
22667
- ? new Date(Math.round(output.ActualEndTime * 1000))
22689
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ActualEndTime)))
22668
22690
  : undefined,
22669
22691
  ActualStartTime:
22670
22692
  output.ActualStartTime !== undefined && output.ActualStartTime !== null
22671
- ? new Date(Math.round(output.ActualStartTime * 1000))
22693
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ActualStartTime)))
22672
22694
  : undefined,
22673
22695
  Category: __expectString(output.Category),
22674
22696
  CreatedBy: __expectString(output.CreatedBy),
22675
22697
  CreatedTime:
22676
22698
  output.CreatedTime !== undefined && output.CreatedTime !== null
22677
- ? new Date(Math.round(output.CreatedTime * 1000))
22699
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
22678
22700
  : undefined,
22679
22701
  Description: __expectString(output.Description),
22680
22702
  LastModifiedBy: __expectString(output.LastModifiedBy),
22681
22703
  LastModifiedTime:
22682
22704
  output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
22683
- ? new Date(Math.round(output.LastModifiedTime * 1000))
22705
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
22684
22706
  : undefined,
22685
22707
  Notifications:
22686
22708
  output.Notifications !== undefined && output.Notifications !== null
@@ -22694,13 +22716,13 @@ const deserializeAws_json1_1OpsItem = (output: any, context: __SerdeContext): Op
22694
22716
  OpsItemType: __expectString(output.OpsItemType),
22695
22717
  PlannedEndTime:
22696
22718
  output.PlannedEndTime !== undefined && output.PlannedEndTime !== null
22697
- ? new Date(Math.round(output.PlannedEndTime * 1000))
22719
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.PlannedEndTime)))
22698
22720
  : undefined,
22699
22721
  PlannedStartTime:
22700
22722
  output.PlannedStartTime !== undefined && output.PlannedStartTime !== null
22701
- ? new Date(Math.round(output.PlannedStartTime * 1000))
22723
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.PlannedStartTime)))
22702
22724
  : undefined,
22703
- Priority: __expectInt(output.Priority),
22725
+ Priority: __expectInt32(output.Priority),
22704
22726
  RelatedOpsItems:
22705
22727
  output.RelatedOpsItems !== undefined && output.RelatedOpsItems !== null
22706
22728
  ? deserializeAws_json1_1RelatedOpsItems(output.RelatedOpsItems, context)
@@ -22749,7 +22771,7 @@ const deserializeAws_json1_1OpsItemEventSummary = (output: any, context: __Serde
22749
22771
  : undefined,
22750
22772
  CreatedTime:
22751
22773
  output.CreatedTime !== undefined && output.CreatedTime !== null
22752
- ? new Date(Math.round(output.CreatedTime * 1000))
22774
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
22753
22775
  : undefined,
22754
22776
  Detail: __expectString(output.Detail),
22755
22777
  DetailType: __expectString(output.DetailType),
@@ -22783,7 +22805,7 @@ const deserializeAws_json1_1OpsItemLimitExceededException = (
22783
22805
  context: __SerdeContext
22784
22806
  ): OpsItemLimitExceededException => {
22785
22807
  return {
22786
- Limit: __expectInt(output.Limit),
22808
+ Limit: __expectInt32(output.Limit),
22787
22809
  LimitType: __expectString(output.LimitType),
22788
22810
  Message: __expectString(output.Message),
22789
22811
  ResourceTypes:
@@ -22892,7 +22914,7 @@ const deserializeAws_json1_1OpsItemRelatedItemSummary = (
22892
22914
  : undefined,
22893
22915
  CreatedTime:
22894
22916
  output.CreatedTime !== undefined && output.CreatedTime !== null
22895
- ? new Date(Math.round(output.CreatedTime * 1000))
22917
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
22896
22918
  : undefined,
22897
22919
  LastModifiedBy:
22898
22920
  output.LastModifiedBy !== undefined && output.LastModifiedBy !== null
@@ -22900,7 +22922,7 @@ const deserializeAws_json1_1OpsItemRelatedItemSummary = (
22900
22922
  : undefined,
22901
22923
  LastModifiedTime:
22902
22924
  output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
22903
- ? new Date(Math.round(output.LastModifiedTime * 1000))
22925
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
22904
22926
  : undefined,
22905
22927
  OpsItemId: __expectString(output.OpsItemId),
22906
22928
  ResourceType: __expectString(output.ResourceType),
@@ -22923,22 +22945,22 @@ const deserializeAws_json1_1OpsItemSummary = (output: any, context: __SerdeConte
22923
22945
  return {
22924
22946
  ActualEndTime:
22925
22947
  output.ActualEndTime !== undefined && output.ActualEndTime !== null
22926
- ? new Date(Math.round(output.ActualEndTime * 1000))
22948
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ActualEndTime)))
22927
22949
  : undefined,
22928
22950
  ActualStartTime:
22929
22951
  output.ActualStartTime !== undefined && output.ActualStartTime !== null
22930
- ? new Date(Math.round(output.ActualStartTime * 1000))
22952
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ActualStartTime)))
22931
22953
  : undefined,
22932
22954
  Category: __expectString(output.Category),
22933
22955
  CreatedBy: __expectString(output.CreatedBy),
22934
22956
  CreatedTime:
22935
22957
  output.CreatedTime !== undefined && output.CreatedTime !== null
22936
- ? new Date(Math.round(output.CreatedTime * 1000))
22958
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
22937
22959
  : undefined,
22938
22960
  LastModifiedBy: __expectString(output.LastModifiedBy),
22939
22961
  LastModifiedTime:
22940
22962
  output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
22941
- ? new Date(Math.round(output.LastModifiedTime * 1000))
22963
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
22942
22964
  : undefined,
22943
22965
  OperationalData:
22944
22966
  output.OperationalData !== undefined && output.OperationalData !== null
@@ -22948,13 +22970,13 @@ const deserializeAws_json1_1OpsItemSummary = (output: any, context: __SerdeConte
22948
22970
  OpsItemType: __expectString(output.OpsItemType),
22949
22971
  PlannedEndTime:
22950
22972
  output.PlannedEndTime !== undefined && output.PlannedEndTime !== null
22951
- ? new Date(Math.round(output.PlannedEndTime * 1000))
22973
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.PlannedEndTime)))
22952
22974
  : undefined,
22953
22975
  PlannedStartTime:
22954
22976
  output.PlannedStartTime !== undefined && output.PlannedStartTime !== null
22955
- ? new Date(Math.round(output.PlannedStartTime * 1000))
22977
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.PlannedStartTime)))
22956
22978
  : undefined,
22957
- Priority: __expectInt(output.Priority),
22979
+ Priority: __expectInt32(output.Priority),
22958
22980
  Severity: __expectString(output.Severity),
22959
22981
  Source: __expectString(output.Source),
22960
22982
  Status: __expectString(output.Status),
@@ -22966,11 +22988,11 @@ const deserializeAws_json1_1OpsMetadata = (output: any, context: __SerdeContext)
22966
22988
  return {
22967
22989
  CreationDate:
22968
22990
  output.CreationDate !== undefined && output.CreationDate !== null
22969
- ? new Date(Math.round(output.CreationDate * 1000))
22991
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationDate)))
22970
22992
  : undefined,
22971
22993
  LastModifiedDate:
22972
22994
  output.LastModifiedDate !== undefined && output.LastModifiedDate !== null
22973
- ? new Date(Math.round(output.LastModifiedDate * 1000))
22995
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedDate)))
22974
22996
  : undefined,
22975
22997
  LastModifiedUser: __expectString(output.LastModifiedUser),
22976
22998
  OpsMetadataArn: __expectString(output.OpsMetadataArn),
@@ -23056,14 +23078,14 @@ const deserializeAws_json1_1Parameter = (output: any, context: __SerdeContext):
23056
23078
  DataType: __expectString(output.DataType),
23057
23079
  LastModifiedDate:
23058
23080
  output.LastModifiedDate !== undefined && output.LastModifiedDate !== null
23059
- ? new Date(Math.round(output.LastModifiedDate * 1000))
23081
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedDate)))
23060
23082
  : undefined,
23061
23083
  Name: __expectString(output.Name),
23062
23084
  Selector: __expectString(output.Selector),
23063
23085
  SourceResult: __expectString(output.SourceResult),
23064
23086
  Type: __expectString(output.Type),
23065
23087
  Value: __expectString(output.Value),
23066
- Version: __expectInt(output.Version),
23088
+ Version: __expectLong(output.Version),
23067
23089
  } as any;
23068
23090
  };
23069
23091
 
@@ -23085,7 +23107,7 @@ const deserializeAws_json1_1ParameterHistory = (output: any, context: __SerdeCon
23085
23107
  : undefined,
23086
23108
  LastModifiedDate:
23087
23109
  output.LastModifiedDate !== undefined && output.LastModifiedDate !== null
23088
- ? new Date(Math.round(output.LastModifiedDate * 1000))
23110
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedDate)))
23089
23111
  : undefined,
23090
23112
  LastModifiedUser: __expectString(output.LastModifiedUser),
23091
23113
  Name: __expectString(output.Name),
@@ -23096,7 +23118,7 @@ const deserializeAws_json1_1ParameterHistory = (output: any, context: __SerdeCon
23096
23118
  Tier: __expectString(output.Tier),
23097
23119
  Type: __expectString(output.Type),
23098
23120
  Value: __expectString(output.Value),
23099
- Version: __expectInt(output.Version),
23121
+ Version: __expectLong(output.Version),
23100
23122
  } as any;
23101
23123
  };
23102
23124
 
@@ -23164,7 +23186,7 @@ const deserializeAws_json1_1ParameterMetadata = (output: any, context: __SerdeCo
23164
23186
  KeyId: __expectString(output.KeyId),
23165
23187
  LastModifiedDate:
23166
23188
  output.LastModifiedDate !== undefined && output.LastModifiedDate !== null
23167
- ? new Date(Math.round(output.LastModifiedDate * 1000))
23189
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedDate)))
23168
23190
  : undefined,
23169
23191
  LastModifiedUser: __expectString(output.LastModifiedUser),
23170
23192
  Name: __expectString(output.Name),
@@ -23174,7 +23196,7 @@ const deserializeAws_json1_1ParameterMetadata = (output: any, context: __SerdeCo
23174
23196
  : undefined,
23175
23197
  Tier: __expectString(output.Tier),
23176
23198
  Type: __expectString(output.Type),
23177
- Version: __expectInt(output.Version),
23199
+ Version: __expectLong(output.Version),
23178
23200
  } as any;
23179
23201
  };
23180
23202
 
@@ -23285,7 +23307,7 @@ const deserializeAws_json1_1Patch = (output: any, context: __SerdeContext): Patc
23285
23307
  Classification: __expectString(output.Classification),
23286
23308
  ContentUrl: __expectString(output.ContentUrl),
23287
23309
  Description: __expectString(output.Description),
23288
- Epoch: __expectInt(output.Epoch),
23310
+ Epoch: __expectInt32(output.Epoch),
23289
23311
  Id: __expectString(output.Id),
23290
23312
  KbNumber: __expectString(output.KbNumber),
23291
23313
  Language: __expectString(output.Language),
@@ -23297,7 +23319,7 @@ const deserializeAws_json1_1Patch = (output: any, context: __SerdeContext): Patc
23297
23319
  Release: __expectString(output.Release),
23298
23320
  ReleaseDate:
23299
23321
  output.ReleaseDate !== undefined && output.ReleaseDate !== null
23300
- ? new Date(Math.round(output.ReleaseDate * 1000))
23322
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ReleaseDate)))
23301
23323
  : undefined,
23302
23324
  Repository: __expectString(output.Repository),
23303
23325
  Severity: __expectString(output.Severity),
@@ -23359,7 +23381,7 @@ const deserializeAws_json1_1PatchComplianceData = (output: any, context: __Serde
23359
23381
  Classification: __expectString(output.Classification),
23360
23382
  InstalledTime:
23361
23383
  output.InstalledTime !== undefined && output.InstalledTime !== null
23362
- ? new Date(Math.round(output.InstalledTime * 1000))
23384
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.InstalledTime)))
23363
23385
  : undefined,
23364
23386
  KBId: __expectString(output.KBId),
23365
23387
  Severity: __expectString(output.Severity),
@@ -23519,7 +23541,7 @@ const deserializeAws_json1_1PatchPropertyEntry = (output: any, context: __SerdeC
23519
23541
 
23520
23542
  const deserializeAws_json1_1PatchRule = (output: any, context: __SerdeContext): PatchRule => {
23521
23543
  return {
23522
- ApproveAfterDays: __expectInt(output.ApproveAfterDays),
23544
+ ApproveAfterDays: __expectInt32(output.ApproveAfterDays),
23523
23545
  ApproveUntilDate: __expectString(output.ApproveUntilDate),
23524
23546
  ComplianceLevel: __expectString(output.ComplianceLevel),
23525
23547
  EnableNonSecurity: __expectBoolean(output.EnableNonSecurity),
@@ -23587,7 +23609,7 @@ const deserializeAws_json1_1PatchStatus = (output: any, context: __SerdeContext)
23587
23609
  return {
23588
23610
  ApprovalDate:
23589
23611
  output.ApprovalDate !== undefined && output.ApprovalDate !== null
23590
- ? new Date(Math.round(output.ApprovalDate * 1000))
23612
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ApprovalDate)))
23591
23613
  : undefined,
23592
23614
  ComplianceLevel: __expectString(output.ComplianceLevel),
23593
23615
  DeploymentStatus: __expectString(output.DeploymentStatus),
@@ -23616,11 +23638,11 @@ const deserializeAws_json1_1PoliciesLimitExceededException = (
23616
23638
 
23617
23639
  const deserializeAws_json1_1ProgressCounters = (output: any, context: __SerdeContext): ProgressCounters => {
23618
23640
  return {
23619
- CancelledSteps: __expectInt(output.CancelledSteps),
23620
- FailedSteps: __expectInt(output.FailedSteps),
23621
- SuccessSteps: __expectInt(output.SuccessSteps),
23622
- TimedOutSteps: __expectInt(output.TimedOutSteps),
23623
- TotalSteps: __expectInt(output.TotalSteps),
23641
+ CancelledSteps: __expectInt32(output.CancelledSteps),
23642
+ FailedSteps: __expectInt32(output.FailedSteps),
23643
+ SuccessSteps: __expectInt32(output.SuccessSteps),
23644
+ TimedOutSteps: __expectInt32(output.TimedOutSteps),
23645
+ TotalSteps: __expectInt32(output.TotalSteps),
23624
23646
  } as any;
23625
23647
  };
23626
23648
 
@@ -23640,7 +23662,7 @@ const deserializeAws_json1_1PutInventoryResult = (output: any, context: __SerdeC
23640
23662
  const deserializeAws_json1_1PutParameterResult = (output: any, context: __SerdeContext): PutParameterResult => {
23641
23663
  return {
23642
23664
  Tier: __expectString(output.Tier),
23643
- Version: __expectInt(output.Version),
23665
+ Version: __expectLong(output.Version),
23644
23666
  } as any;
23645
23667
  };
23646
23668
 
@@ -23840,12 +23862,12 @@ const deserializeAws_json1_1ResourceDataSyncItem = (output: any, context: __Serd
23840
23862
  LastStatus: __expectString(output.LastStatus),
23841
23863
  LastSuccessfulSyncTime:
23842
23864
  output.LastSuccessfulSyncTime !== undefined && output.LastSuccessfulSyncTime !== null
23843
- ? new Date(Math.round(output.LastSuccessfulSyncTime * 1000))
23865
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastSuccessfulSyncTime)))
23844
23866
  : undefined,
23845
23867
  LastSyncStatusMessage: __expectString(output.LastSyncStatusMessage),
23846
23868
  LastSyncTime:
23847
23869
  output.LastSyncTime !== undefined && output.LastSyncTime !== null
23848
- ? new Date(Math.round(output.LastSyncTime * 1000))
23870
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastSyncTime)))
23849
23871
  : undefined,
23850
23872
  S3Destination:
23851
23873
  output.S3Destination !== undefined && output.S3Destination !== null
@@ -23853,11 +23875,11 @@ const deserializeAws_json1_1ResourceDataSyncItem = (output: any, context: __Serd
23853
23875
  : undefined,
23854
23876
  SyncCreatedTime:
23855
23877
  output.SyncCreatedTime !== undefined && output.SyncCreatedTime !== null
23856
- ? new Date(Math.round(output.SyncCreatedTime * 1000))
23878
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.SyncCreatedTime)))
23857
23879
  : undefined,
23858
23880
  SyncLastModifiedTime:
23859
23881
  output.SyncLastModifiedTime !== undefined && output.SyncLastModifiedTime !== null
23860
- ? new Date(Math.round(output.SyncLastModifiedTime * 1000))
23882
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.SyncLastModifiedTime)))
23861
23883
  : undefined,
23862
23884
  SyncName: __expectString(output.SyncName),
23863
23885
  SyncSource:
@@ -23991,7 +24013,7 @@ const deserializeAws_json1_1ReviewInformation = (output: any, context: __SerdeCo
23991
24013
  return {
23992
24014
  ReviewedTime:
23993
24015
  output.ReviewedTime !== undefined && output.ReviewedTime !== null
23994
- ? new Date(Math.round(output.ReviewedTime * 1000))
24016
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ReviewedTime)))
23995
24017
  : undefined,
23996
24018
  Reviewer: __expectString(output.Reviewer),
23997
24019
  Status: __expectString(output.Status),
@@ -24102,7 +24124,7 @@ const deserializeAws_json1_1ServiceSetting = (output: any, context: __SerdeConte
24102
24124
  ARN: __expectString(output.ARN),
24103
24125
  LastModifiedDate:
24104
24126
  output.LastModifiedDate !== undefined && output.LastModifiedDate !== null
24105
- ? new Date(Math.round(output.LastModifiedDate * 1000))
24127
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedDate)))
24106
24128
  : undefined,
24107
24129
  LastModifiedUser: __expectString(output.LastModifiedUser),
24108
24130
  SettingId: __expectString(output.SettingId),
@@ -24122,7 +24144,9 @@ const deserializeAws_json1_1Session = (output: any, context: __SerdeContext): Se
24122
24144
  Details: __expectString(output.Details),
24123
24145
  DocumentName: __expectString(output.DocumentName),
24124
24146
  EndDate:
24125
- output.EndDate !== undefined && output.EndDate !== null ? new Date(Math.round(output.EndDate * 1000)) : undefined,
24147
+ output.EndDate !== undefined && output.EndDate !== null
24148
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndDate)))
24149
+ : undefined,
24126
24150
  OutputUrl:
24127
24151
  output.OutputUrl !== undefined && output.OutputUrl !== null
24128
24152
  ? deserializeAws_json1_1SessionManagerOutputUrl(output.OutputUrl, context)
@@ -24131,7 +24155,7 @@ const deserializeAws_json1_1Session = (output: any, context: __SerdeContext): Se
24131
24155
  SessionId: __expectString(output.SessionId),
24132
24156
  StartDate:
24133
24157
  output.StartDate !== undefined && output.StartDate !== null
24134
- ? new Date(Math.round(output.StartDate * 1000))
24158
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartDate)))
24135
24159
  : undefined,
24136
24160
  Status: __expectString(output.Status),
24137
24161
  Target: __expectString(output.Target),
@@ -24161,12 +24185,12 @@ const deserializeAws_json1_1SessionManagerOutputUrl = (
24161
24185
 
24162
24186
  const deserializeAws_json1_1SeveritySummary = (output: any, context: __SerdeContext): SeveritySummary => {
24163
24187
  return {
24164
- CriticalCount: __expectInt(output.CriticalCount),
24165
- HighCount: __expectInt(output.HighCount),
24166
- InformationalCount: __expectInt(output.InformationalCount),
24167
- LowCount: __expectInt(output.LowCount),
24168
- MediumCount: __expectInt(output.MediumCount),
24169
- UnspecifiedCount: __expectInt(output.UnspecifiedCount),
24188
+ CriticalCount: __expectInt32(output.CriticalCount),
24189
+ HighCount: __expectInt32(output.HighCount),
24190
+ InformationalCount: __expectInt32(output.InformationalCount),
24191
+ LowCount: __expectInt32(output.LowCount),
24192
+ MediumCount: __expectInt32(output.MediumCount),
24193
+ UnspecifiedCount: __expectInt32(output.UnspecifiedCount),
24170
24194
  } as any;
24171
24195
  };
24172
24196
 
@@ -24212,11 +24236,11 @@ const deserializeAws_json1_1StepExecution = (output: any, context: __SerdeContex
24212
24236
  Action: __expectString(output.Action),
24213
24237
  ExecutionEndTime:
24214
24238
  output.ExecutionEndTime !== undefined && output.ExecutionEndTime !== null
24215
- ? new Date(Math.round(output.ExecutionEndTime * 1000))
24239
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ExecutionEndTime)))
24216
24240
  : undefined,
24217
24241
  ExecutionStartTime:
24218
24242
  output.ExecutionStartTime !== undefined && output.ExecutionStartTime !== null
24219
- ? new Date(Math.round(output.ExecutionStartTime * 1000))
24243
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ExecutionStartTime)))
24220
24244
  : undefined,
24221
24245
  FailureDetails:
24222
24246
  output.FailureDetails !== undefined && output.FailureDetails !== null
@@ -24229,7 +24253,7 @@ const deserializeAws_json1_1StepExecution = (output: any, context: __SerdeContex
24229
24253
  : undefined,
24230
24254
  IsCritical: __expectBoolean(output.IsCritical),
24231
24255
  IsEnd: __expectBoolean(output.IsEnd),
24232
- MaxAttempts: __expectInt(output.MaxAttempts),
24256
+ MaxAttempts: __expectInt32(output.MaxAttempts),
24233
24257
  NextStep: __expectString(output.NextStep),
24234
24258
  OnFailure: __expectString(output.OnFailure),
24235
24259
  Outputs:
@@ -24253,7 +24277,7 @@ const deserializeAws_json1_1StepExecution = (output: any, context: __SerdeContex
24253
24277
  output.Targets !== undefined && output.Targets !== null
24254
24278
  ? deserializeAws_json1_1Targets(output.Targets, context)
24255
24279
  : undefined,
24256
- TimeoutSeconds: __expectInt(output.TimeoutSeconds),
24280
+ TimeoutSeconds: __expectLong(output.TimeoutSeconds),
24257
24281
  ValidNextSteps:
24258
24282
  output.ValidNextSteps !== undefined && output.ValidNextSteps !== null
24259
24283
  ? deserializeAws_json1_1ValidNextStepList(output.ValidNextSteps, context)
@@ -24588,14 +24612,14 @@ const deserializeAws_json1_1UpdateMaintenanceWindowResult = (
24588
24612
  ): UpdateMaintenanceWindowResult => {
24589
24613
  return {
24590
24614
  AllowUnassociatedTargets: __expectBoolean(output.AllowUnassociatedTargets),
24591
- Cutoff: __expectInt(output.Cutoff),
24615
+ Cutoff: __expectInt32(output.Cutoff),
24592
24616
  Description: __expectString(output.Description),
24593
- Duration: __expectInt(output.Duration),
24617
+ Duration: __expectInt32(output.Duration),
24594
24618
  Enabled: __expectBoolean(output.Enabled),
24595
24619
  EndDate: __expectString(output.EndDate),
24596
24620
  Name: __expectString(output.Name),
24597
24621
  Schedule: __expectString(output.Schedule),
24598
- ScheduleOffset: __expectInt(output.ScheduleOffset),
24622
+ ScheduleOffset: __expectInt32(output.ScheduleOffset),
24599
24623
  ScheduleTimezone: __expectString(output.ScheduleTimezone),
24600
24624
  StartDate: __expectString(output.StartDate),
24601
24625
  WindowId: __expectString(output.WindowId),
@@ -24632,7 +24656,7 @@ const deserializeAws_json1_1UpdateMaintenanceWindowTaskResult = (
24632
24656
  MaxConcurrency: __expectString(output.MaxConcurrency),
24633
24657
  MaxErrors: __expectString(output.MaxErrors),
24634
24658
  Name: __expectString(output.Name),
24635
- Priority: __expectInt(output.Priority),
24659
+ Priority: __expectInt32(output.Priority),
24636
24660
  ServiceRoleArn: __expectString(output.ServiceRoleArn),
24637
24661
  Targets:
24638
24662
  output.Targets !== undefined && output.Targets !== null
@@ -24690,7 +24714,7 @@ const deserializeAws_json1_1UpdatePatchBaselineResult = (
24690
24714
  BaselineId: __expectString(output.BaselineId),
24691
24715
  CreatedDate:
24692
24716
  output.CreatedDate !== undefined && output.CreatedDate !== null
24693
- ? new Date(Math.round(output.CreatedDate * 1000))
24717
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedDate)))
24694
24718
  : undefined,
24695
24719
  Description: __expectString(output.Description),
24696
24720
  GlobalFilters:
@@ -24699,7 +24723,7 @@ const deserializeAws_json1_1UpdatePatchBaselineResult = (
24699
24723
  : undefined,
24700
24724
  ModifiedDate:
24701
24725
  output.ModifiedDate !== undefined && output.ModifiedDate !== null
24702
- ? new Date(Math.round(output.ModifiedDate * 1000))
24726
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ModifiedDate)))
24703
24727
  : undefined,
24704
24728
  Name: __expectString(output.Name),
24705
24729
  OperatingSystem: __expectString(output.OperatingSystem),