@aws-sdk/client-securityhub 3.154.0 → 3.155.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.
Files changed (44) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/commands/InviteMembersCommand.js +2 -1
  3. package/dist-cjs/commands/ListEnabledProductsForImportCommand.js +3 -3
  4. package/dist-cjs/commands/ListFindingAggregatorsCommand.js +3 -3
  5. package/dist-cjs/commands/ListInvitationsCommand.js +3 -3
  6. package/dist-cjs/commands/ListMembersCommand.js +3 -3
  7. package/dist-cjs/commands/ListOrganizationAdminAccountsCommand.js +3 -3
  8. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  9. package/dist-cjs/models/models_0.js +53 -53
  10. package/dist-cjs/models/models_1.js +60 -58
  11. package/dist-cjs/models/models_2.js +53 -1
  12. package/dist-cjs/protocols/Aws_restJson1.js +330 -0
  13. package/dist-es/commands/InviteMembersCommand.js +2 -1
  14. package/dist-es/commands/ListEnabledProductsForImportCommand.js +1 -1
  15. package/dist-es/commands/ListFindingAggregatorsCommand.js +1 -1
  16. package/dist-es/commands/ListInvitationsCommand.js +1 -1
  17. package/dist-es/commands/ListMembersCommand.js +1 -1
  18. package/dist-es/commands/ListOrganizationAdminAccountsCommand.js +1 -1
  19. package/dist-es/commands/ListTagsForResourceCommand.js +1 -1
  20. package/dist-es/models/models_0.js +12 -12
  21. package/dist-es/models/models_1.js +18 -13
  22. package/dist-es/models/models_2.js +13 -0
  23. package/dist-es/protocols/Aws_restJson1.js +259 -3
  24. package/dist-types/commands/InviteMembersCommand.d.ts +2 -1
  25. package/dist-types/commands/ListEnabledProductsForImportCommand.d.ts +1 -1
  26. package/dist-types/commands/ListFindingAggregatorsCommand.d.ts +1 -1
  27. package/dist-types/commands/ListInvitationsCommand.d.ts +1 -1
  28. package/dist-types/commands/ListMembersCommand.d.ts +1 -1
  29. package/dist-types/commands/ListOrganizationAdminAccountsCommand.d.ts +1 -1
  30. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  31. package/dist-types/models/models_0.d.ts +1272 -257
  32. package/dist-types/models/models_1.d.ts +663 -233
  33. package/dist-types/models/models_2.d.ts +199 -2
  34. package/dist-types/ts3.4/commands/InviteMembersCommand.d.ts +2 -1
  35. package/dist-types/ts3.4/commands/ListEnabledProductsForImportCommand.d.ts +1 -1
  36. package/dist-types/ts3.4/commands/ListFindingAggregatorsCommand.d.ts +1 -1
  37. package/dist-types/ts3.4/commands/ListInvitationsCommand.d.ts +1 -1
  38. package/dist-types/ts3.4/commands/ListMembersCommand.d.ts +1 -1
  39. package/dist-types/ts3.4/commands/ListOrganizationAdminAccountsCommand.d.ts +1 -1
  40. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
  41. package/dist-types/ts3.4/models/models_0.d.ts +172 -114
  42. package/dist-types/ts3.4/models/models_1.d.ts +132 -101
  43. package/dist-types/ts3.4/models/models_2.d.ts +102 -2
  44. package/package.json +1 -1
@@ -5631,6 +5631,85 @@ var serializeAws_restJson1AwsAutoScalingLaunchConfigurationInstanceMonitoringDet
5631
5631
  var serializeAws_restJson1AwsAutoScalingLaunchConfigurationMetadataOptions = function (input, context) {
5632
5632
  return __assign(__assign(__assign({}, (input.HttpEndpoint != null && { HttpEndpoint: input.HttpEndpoint })), (input.HttpPutResponseHopLimit != null && { HttpPutResponseHopLimit: input.HttpPutResponseHopLimit })), (input.HttpTokens != null && { HttpTokens: input.HttpTokens }));
5633
5633
  };
5634
+ var serializeAws_restJson1AwsBackupBackupPlanAdvancedBackupSettingsDetails = function (input, context) {
5635
+ return __assign(__assign({}, (input.BackupOptions != null && { BackupOptions: serializeAws_restJson1FieldMap(input.BackupOptions, context) })), (input.ResourceType != null && { ResourceType: input.ResourceType }));
5636
+ };
5637
+ var serializeAws_restJson1AwsBackupBackupPlanAdvancedBackupSettingsList = function (input, context) {
5638
+ return input
5639
+ .filter(function (e) { return e != null; })
5640
+ .map(function (entry) {
5641
+ return serializeAws_restJson1AwsBackupBackupPlanAdvancedBackupSettingsDetails(entry, context);
5642
+ });
5643
+ };
5644
+ var serializeAws_restJson1AwsBackupBackupPlanBackupPlanDetails = function (input, context) {
5645
+ return __assign(__assign(__assign({}, (input.AdvancedBackupSettings != null && {
5646
+ AdvancedBackupSettings: serializeAws_restJson1AwsBackupBackupPlanAdvancedBackupSettingsList(input.AdvancedBackupSettings, context),
5647
+ })), (input.BackupPlanName != null && { BackupPlanName: input.BackupPlanName })), (input.BackupPlanRule != null && {
5648
+ BackupPlanRule: serializeAws_restJson1AwsBackupBackupPlanRuleList(input.BackupPlanRule, context),
5649
+ }));
5650
+ };
5651
+ var serializeAws_restJson1AwsBackupBackupPlanDetails = function (input, context) {
5652
+ return __assign(__assign(__assign(__assign({}, (input.BackupPlan != null && {
5653
+ BackupPlan: serializeAws_restJson1AwsBackupBackupPlanBackupPlanDetails(input.BackupPlan, context),
5654
+ })), (input.BackupPlanArn != null && { BackupPlanArn: input.BackupPlanArn })), (input.BackupPlanId != null && { BackupPlanId: input.BackupPlanId })), (input.VersionId != null && { VersionId: input.VersionId }));
5655
+ };
5656
+ var serializeAws_restJson1AwsBackupBackupPlanLifecycleDetails = function (input, context) {
5657
+ return __assign(__assign({}, (input.DeleteAfterDays != null && { DeleteAfterDays: input.DeleteAfterDays })), (input.MoveToColdStorageAfterDays != null && { MoveToColdStorageAfterDays: input.MoveToColdStorageAfterDays }));
5658
+ };
5659
+ var serializeAws_restJson1AwsBackupBackupPlanRuleCopyActionsDetails = function (input, context) {
5660
+ return __assign(__assign({}, (input.DestinationBackupVaultArn != null && { DestinationBackupVaultArn: input.DestinationBackupVaultArn })), (input.Lifecycle != null && {
5661
+ Lifecycle: serializeAws_restJson1AwsBackupBackupPlanLifecycleDetails(input.Lifecycle, context),
5662
+ }));
5663
+ };
5664
+ var serializeAws_restJson1AwsBackupBackupPlanRuleCopyActionsList = function (input, context) {
5665
+ return input
5666
+ .filter(function (e) { return e != null; })
5667
+ .map(function (entry) {
5668
+ return serializeAws_restJson1AwsBackupBackupPlanRuleCopyActionsDetails(entry, context);
5669
+ });
5670
+ };
5671
+ var serializeAws_restJson1AwsBackupBackupPlanRuleDetails = function (input, context) {
5672
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CompletionWindowMinutes != null && { CompletionWindowMinutes: input.CompletionWindowMinutes })), (input.CopyActions != null && {
5673
+ CopyActions: serializeAws_restJson1AwsBackupBackupPlanRuleCopyActionsList(input.CopyActions, context),
5674
+ })), (input.EnableContinuousBackup != null && { EnableContinuousBackup: input.EnableContinuousBackup })), (input.Lifecycle != null && {
5675
+ Lifecycle: serializeAws_restJson1AwsBackupBackupPlanLifecycleDetails(input.Lifecycle, context),
5676
+ })), (input.RuleId != null && { RuleId: input.RuleId })), (input.RuleName != null && { RuleName: input.RuleName })), (input.ScheduleExpression != null && { ScheduleExpression: input.ScheduleExpression })), (input.StartWindowMinutes != null && { StartWindowMinutes: input.StartWindowMinutes })), (input.TargetBackupVault != null && { TargetBackupVault: input.TargetBackupVault }));
5677
+ };
5678
+ var serializeAws_restJson1AwsBackupBackupPlanRuleList = function (input, context) {
5679
+ return input
5680
+ .filter(function (e) { return e != null; })
5681
+ .map(function (entry) {
5682
+ return serializeAws_restJson1AwsBackupBackupPlanRuleDetails(entry, context);
5683
+ });
5684
+ };
5685
+ var serializeAws_restJson1AwsBackupBackupVaultDetails = function (input, context) {
5686
+ return __assign(__assign(__assign(__assign(__assign({}, (input.AccessPolicy != null && { AccessPolicy: input.AccessPolicy })), (input.BackupVaultArn != null && { BackupVaultArn: input.BackupVaultArn })), (input.BackupVaultName != null && { BackupVaultName: input.BackupVaultName })), (input.EncryptionKeyArn != null && { EncryptionKeyArn: input.EncryptionKeyArn })), (input.Notifications != null && {
5687
+ Notifications: serializeAws_restJson1AwsBackupBackupVaultNotificationsDetails(input.Notifications, context),
5688
+ }));
5689
+ };
5690
+ var serializeAws_restJson1AwsBackupBackupVaultNotificationsDetails = function (input, context) {
5691
+ return __assign(__assign({}, (input.BackupVaultEvents != null && {
5692
+ BackupVaultEvents: serializeAws_restJson1NonEmptyStringList(input.BackupVaultEvents, context),
5693
+ })), (input.SnsTopicArn != null && { SnsTopicArn: input.SnsTopicArn }));
5694
+ };
5695
+ var serializeAws_restJson1AwsBackupRecoveryPointCalculatedLifecycleDetails = function (input, context) {
5696
+ return __assign(__assign({}, (input.DeleteAt != null && { DeleteAt: input.DeleteAt })), (input.MoveToColdStorageAt != null && { MoveToColdStorageAt: input.MoveToColdStorageAt }));
5697
+ };
5698
+ var serializeAws_restJson1AwsBackupRecoveryPointCreatedByDetails = function (input, context) {
5699
+ return __assign(__assign(__assign(__assign({}, (input.BackupPlanArn != null && { BackupPlanArn: input.BackupPlanArn })), (input.BackupPlanId != null && { BackupPlanId: input.BackupPlanId })), (input.BackupPlanVersion != null && { BackupPlanVersion: input.BackupPlanVersion })), (input.BackupRuleId != null && { BackupRuleId: input.BackupRuleId }));
5700
+ };
5701
+ var serializeAws_restJson1AwsBackupRecoveryPointDetails = function (input, context) {
5702
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.BackupSizeInBytes != null && { BackupSizeInBytes: input.BackupSizeInBytes })), (input.BackupVaultArn != null && { BackupVaultArn: input.BackupVaultArn })), (input.BackupVaultName != null && { BackupVaultName: input.BackupVaultName })), (input.CalculatedLifecycle != null && {
5703
+ CalculatedLifecycle: serializeAws_restJson1AwsBackupRecoveryPointCalculatedLifecycleDetails(input.CalculatedLifecycle, context),
5704
+ })), (input.CompletionDate != null && { CompletionDate: input.CompletionDate })), (input.CreatedBy != null && {
5705
+ CreatedBy: serializeAws_restJson1AwsBackupRecoveryPointCreatedByDetails(input.CreatedBy, context),
5706
+ })), (input.CreationDate != null && { CreationDate: input.CreationDate })), (input.EncryptionKeyArn != null && { EncryptionKeyArn: input.EncryptionKeyArn })), (input.IamRoleArn != null && { IamRoleArn: input.IamRoleArn })), (input.IsEncrypted != null && { IsEncrypted: input.IsEncrypted })), (input.LastRestoreTime != null && { LastRestoreTime: input.LastRestoreTime })), (input.Lifecycle != null && {
5707
+ Lifecycle: serializeAws_restJson1AwsBackupRecoveryPointLifecycleDetails(input.Lifecycle, context),
5708
+ })), (input.RecoveryPointArn != null && { RecoveryPointArn: input.RecoveryPointArn })), (input.ResourceArn != null && { ResourceArn: input.ResourceArn })), (input.ResourceType != null && { ResourceType: input.ResourceType })), (input.SourceBackupVaultArn != null && { SourceBackupVaultArn: input.SourceBackupVaultArn })), (input.Status != null && { Status: input.Status })), (input.StatusMessage != null && { StatusMessage: input.StatusMessage })), (input.StorageClass != null && { StorageClass: input.StorageClass }));
5709
+ };
5710
+ var serializeAws_restJson1AwsBackupRecoveryPointLifecycleDetails = function (input, context) {
5711
+ return __assign(__assign({}, (input.DeleteAfterDays != null && { DeleteAfterDays: input.DeleteAfterDays })), (input.MoveToColdStorageAfterDays != null && { MoveToColdStorageAfterDays: input.MoveToColdStorageAfterDays }));
5712
+ };
5634
5713
  var serializeAws_restJson1AwsCertificateManagerCertificateDetails = function (input, context) {
5635
5714
  return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CertificateAuthorityArn != null && { CertificateAuthorityArn: input.CertificateAuthorityArn })), (input.CreatedAt != null && { CreatedAt: input.CreatedAt })), (input.DomainName != null && { DomainName: input.DomainName })), (input.DomainValidationOptions != null && {
5636
5715
  DomainValidationOptions: serializeAws_restJson1AwsCertificateManagerCertificateDomainValidationOptions(input.DomainValidationOptions, context),
@@ -8822,7 +8901,7 @@ var serializeAws_restJson1Resource = function (input, context) {
8822
8901
  })), (input.Details != null && { Details: serializeAws_restJson1ResourceDetails(input.Details, context) })), (input.Id != null && { Id: input.Id })), (input.Partition != null && { Partition: input.Partition })), (input.Region != null && { Region: input.Region })), (input.ResourceRole != null && { ResourceRole: input.ResourceRole })), (input.Tags != null && { Tags: serializeAws_restJson1FieldMap(input.Tags, context) })), (input.Type != null && { Type: input.Type }));
8823
8902
  };
8824
8903
  var serializeAws_restJson1ResourceDetails = function (input, context) {
8825
- return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AwsApiGatewayRestApi != null && {
8904
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AwsApiGatewayRestApi != null && {
8826
8905
  AwsApiGatewayRestApi: serializeAws_restJson1AwsApiGatewayRestApiDetails(input.AwsApiGatewayRestApi, context),
8827
8906
  })), (input.AwsApiGatewayStage != null && {
8828
8907
  AwsApiGatewayStage: serializeAws_restJson1AwsApiGatewayStageDetails(input.AwsApiGatewayStage, context),
@@ -8834,6 +8913,12 @@ var serializeAws_restJson1ResourceDetails = function (input, context) {
8834
8913
  AwsAutoScalingAutoScalingGroup: serializeAws_restJson1AwsAutoScalingAutoScalingGroupDetails(input.AwsAutoScalingAutoScalingGroup, context),
8835
8914
  })), (input.AwsAutoScalingLaunchConfiguration != null && {
8836
8915
  AwsAutoScalingLaunchConfiguration: serializeAws_restJson1AwsAutoScalingLaunchConfigurationDetails(input.AwsAutoScalingLaunchConfiguration, context),
8916
+ })), (input.AwsBackupBackupPlan != null && {
8917
+ AwsBackupBackupPlan: serializeAws_restJson1AwsBackupBackupPlanDetails(input.AwsBackupBackupPlan, context),
8918
+ })), (input.AwsBackupBackupVault != null && {
8919
+ AwsBackupBackupVault: serializeAws_restJson1AwsBackupBackupVaultDetails(input.AwsBackupBackupVault, context),
8920
+ })), (input.AwsBackupRecoveryPoint != null && {
8921
+ AwsBackupRecoveryPoint: serializeAws_restJson1AwsBackupRecoveryPointDetails(input.AwsBackupRecoveryPoint, context),
8837
8922
  })), (input.AwsCertificateManagerCertificate != null && {
8838
8923
  AwsCertificateManagerCertificate: serializeAws_restJson1AwsCertificateManagerCertificateDetails(input.AwsCertificateManagerCertificate, context),
8839
8924
  })), (input.AwsCloudFormationStack != null && {
@@ -9183,7 +9268,7 @@ var serializeAws_restJson1SeverityUpdate = function (input, context) {
9183
9268
  return __assign(__assign(__assign({}, (input.Label != null && { Label: input.Label })), (input.Normalized != null && { Normalized: input.Normalized })), (input.Product != null && { Product: __serializeFloat(input.Product) }));
9184
9269
  };
9185
9270
  var serializeAws_restJson1SoftwarePackage = function (input, context) {
9186
- return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Architecture != null && { Architecture: input.Architecture })), (input.Epoch != null && { Epoch: input.Epoch })), (input.FilePath != null && { FilePath: input.FilePath })), (input.Name != null && { Name: input.Name })), (input.PackageManager != null && { PackageManager: input.PackageManager })), (input.Release != null && { Release: input.Release })), (input.Version != null && { Version: input.Version }));
9271
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Architecture != null && { Architecture: input.Architecture })), (input.Epoch != null && { Epoch: input.Epoch })), (input.FilePath != null && { FilePath: input.FilePath })), (input.FixedInVersion != null && { FixedInVersion: input.FixedInVersion })), (input.Name != null && { Name: input.Name })), (input.PackageManager != null && { PackageManager: input.PackageManager })), (input.Release != null && { Release: input.Release })), (input.Remediation != null && { Remediation: input.Remediation })), (input.Version != null && { Version: input.Version }));
9187
9272
  };
9188
9273
  var serializeAws_restJson1SoftwarePackageList = function (input, context) {
9189
9274
  return input
@@ -9355,7 +9440,7 @@ var serializeAws_restJson1VpcInfoPeeringOptionsDetails = function (input, contex
9355
9440
  }));
9356
9441
  };
9357
9442
  var serializeAws_restJson1Vulnerability = function (input, context) {
9358
- return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.Cvss != null && { Cvss: serializeAws_restJson1CvssList(input.Cvss, context) })), (input.Id != null && { Id: input.Id })), (input.ReferenceUrls != null && {
9443
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Cvss != null && { Cvss: serializeAws_restJson1CvssList(input.Cvss, context) })), (input.FixAvailable != null && { FixAvailable: input.FixAvailable })), (input.Id != null && { Id: input.Id })), (input.ReferenceUrls != null && {
9359
9444
  ReferenceUrls: serializeAws_restJson1StringList(input.ReferenceUrls, context),
9360
9445
  })), (input.RelatedVulnerabilities != null && {
9361
9446
  RelatedVulnerabilities: serializeAws_restJson1StringList(input.RelatedVulnerabilities, context),
@@ -9845,6 +9930,165 @@ var deserializeAws_restJson1AwsAutoScalingLaunchConfigurationMetadataOptions = f
9845
9930
  HttpTokens: __expectString(output.HttpTokens),
9846
9931
  };
9847
9932
  };
9933
+ var deserializeAws_restJson1AwsBackupBackupPlanAdvancedBackupSettingsDetails = function (output, context) {
9934
+ return {
9935
+ BackupOptions: output.BackupOptions != null ? deserializeAws_restJson1FieldMap(output.BackupOptions, context) : undefined,
9936
+ ResourceType: __expectString(output.ResourceType),
9937
+ };
9938
+ };
9939
+ var deserializeAws_restJson1AwsBackupBackupPlanAdvancedBackupSettingsList = function (output, context) {
9940
+ var retVal = (output || [])
9941
+ .filter(function (e) { return e != null; })
9942
+ .map(function (entry) {
9943
+ if (entry === null) {
9944
+ return null;
9945
+ }
9946
+ return deserializeAws_restJson1AwsBackupBackupPlanAdvancedBackupSettingsDetails(entry, context);
9947
+ });
9948
+ return retVal;
9949
+ };
9950
+ var deserializeAws_restJson1AwsBackupBackupPlanBackupPlanDetails = function (output, context) {
9951
+ return {
9952
+ AdvancedBackupSettings: output.AdvancedBackupSettings != null
9953
+ ? deserializeAws_restJson1AwsBackupBackupPlanAdvancedBackupSettingsList(output.AdvancedBackupSettings, context)
9954
+ : undefined,
9955
+ BackupPlanName: __expectString(output.BackupPlanName),
9956
+ BackupPlanRule: output.BackupPlanRule != null
9957
+ ? deserializeAws_restJson1AwsBackupBackupPlanRuleList(output.BackupPlanRule, context)
9958
+ : undefined,
9959
+ };
9960
+ };
9961
+ var deserializeAws_restJson1AwsBackupBackupPlanDetails = function (output, context) {
9962
+ return {
9963
+ BackupPlan: output.BackupPlan != null
9964
+ ? deserializeAws_restJson1AwsBackupBackupPlanBackupPlanDetails(output.BackupPlan, context)
9965
+ : undefined,
9966
+ BackupPlanArn: __expectString(output.BackupPlanArn),
9967
+ BackupPlanId: __expectString(output.BackupPlanId),
9968
+ VersionId: __expectString(output.VersionId),
9969
+ };
9970
+ };
9971
+ var deserializeAws_restJson1AwsBackupBackupPlanLifecycleDetails = function (output, context) {
9972
+ return {
9973
+ DeleteAfterDays: __expectLong(output.DeleteAfterDays),
9974
+ MoveToColdStorageAfterDays: __expectLong(output.MoveToColdStorageAfterDays),
9975
+ };
9976
+ };
9977
+ var deserializeAws_restJson1AwsBackupBackupPlanRuleCopyActionsDetails = function (output, context) {
9978
+ return {
9979
+ DestinationBackupVaultArn: __expectString(output.DestinationBackupVaultArn),
9980
+ Lifecycle: output.Lifecycle != null
9981
+ ? deserializeAws_restJson1AwsBackupBackupPlanLifecycleDetails(output.Lifecycle, context)
9982
+ : undefined,
9983
+ };
9984
+ };
9985
+ var deserializeAws_restJson1AwsBackupBackupPlanRuleCopyActionsList = function (output, context) {
9986
+ var retVal = (output || [])
9987
+ .filter(function (e) { return e != null; })
9988
+ .map(function (entry) {
9989
+ if (entry === null) {
9990
+ return null;
9991
+ }
9992
+ return deserializeAws_restJson1AwsBackupBackupPlanRuleCopyActionsDetails(entry, context);
9993
+ });
9994
+ return retVal;
9995
+ };
9996
+ var deserializeAws_restJson1AwsBackupBackupPlanRuleDetails = function (output, context) {
9997
+ return {
9998
+ CompletionWindowMinutes: __expectLong(output.CompletionWindowMinutes),
9999
+ CopyActions: output.CopyActions != null
10000
+ ? deserializeAws_restJson1AwsBackupBackupPlanRuleCopyActionsList(output.CopyActions, context)
10001
+ : undefined,
10002
+ EnableContinuousBackup: __expectBoolean(output.EnableContinuousBackup),
10003
+ Lifecycle: output.Lifecycle != null
10004
+ ? deserializeAws_restJson1AwsBackupBackupPlanLifecycleDetails(output.Lifecycle, context)
10005
+ : undefined,
10006
+ RuleId: __expectString(output.RuleId),
10007
+ RuleName: __expectString(output.RuleName),
10008
+ ScheduleExpression: __expectString(output.ScheduleExpression),
10009
+ StartWindowMinutes: __expectLong(output.StartWindowMinutes),
10010
+ TargetBackupVault: __expectString(output.TargetBackupVault),
10011
+ };
10012
+ };
10013
+ var deserializeAws_restJson1AwsBackupBackupPlanRuleList = function (output, context) {
10014
+ var retVal = (output || [])
10015
+ .filter(function (e) { return e != null; })
10016
+ .map(function (entry) {
10017
+ if (entry === null) {
10018
+ return null;
10019
+ }
10020
+ return deserializeAws_restJson1AwsBackupBackupPlanRuleDetails(entry, context);
10021
+ });
10022
+ return retVal;
10023
+ };
10024
+ var deserializeAws_restJson1AwsBackupBackupVaultDetails = function (output, context) {
10025
+ return {
10026
+ AccessPolicy: __expectString(output.AccessPolicy),
10027
+ BackupVaultArn: __expectString(output.BackupVaultArn),
10028
+ BackupVaultName: __expectString(output.BackupVaultName),
10029
+ EncryptionKeyArn: __expectString(output.EncryptionKeyArn),
10030
+ Notifications: output.Notifications != null
10031
+ ? deserializeAws_restJson1AwsBackupBackupVaultNotificationsDetails(output.Notifications, context)
10032
+ : undefined,
10033
+ };
10034
+ };
10035
+ var deserializeAws_restJson1AwsBackupBackupVaultNotificationsDetails = function (output, context) {
10036
+ return {
10037
+ BackupVaultEvents: output.BackupVaultEvents != null
10038
+ ? deserializeAws_restJson1NonEmptyStringList(output.BackupVaultEvents, context)
10039
+ : undefined,
10040
+ SnsTopicArn: __expectString(output.SnsTopicArn),
10041
+ };
10042
+ };
10043
+ var deserializeAws_restJson1AwsBackupRecoveryPointCalculatedLifecycleDetails = function (output, context) {
10044
+ return {
10045
+ DeleteAt: __expectString(output.DeleteAt),
10046
+ MoveToColdStorageAt: __expectString(output.MoveToColdStorageAt),
10047
+ };
10048
+ };
10049
+ var deserializeAws_restJson1AwsBackupRecoveryPointCreatedByDetails = function (output, context) {
10050
+ return {
10051
+ BackupPlanArn: __expectString(output.BackupPlanArn),
10052
+ BackupPlanId: __expectString(output.BackupPlanId),
10053
+ BackupPlanVersion: __expectString(output.BackupPlanVersion),
10054
+ BackupRuleId: __expectString(output.BackupRuleId),
10055
+ };
10056
+ };
10057
+ var deserializeAws_restJson1AwsBackupRecoveryPointDetails = function (output, context) {
10058
+ return {
10059
+ BackupSizeInBytes: __expectLong(output.BackupSizeInBytes),
10060
+ BackupVaultArn: __expectString(output.BackupVaultArn),
10061
+ BackupVaultName: __expectString(output.BackupVaultName),
10062
+ CalculatedLifecycle: output.CalculatedLifecycle != null
10063
+ ? deserializeAws_restJson1AwsBackupRecoveryPointCalculatedLifecycleDetails(output.CalculatedLifecycle, context)
10064
+ : undefined,
10065
+ CompletionDate: __expectString(output.CompletionDate),
10066
+ CreatedBy: output.CreatedBy != null
10067
+ ? deserializeAws_restJson1AwsBackupRecoveryPointCreatedByDetails(output.CreatedBy, context)
10068
+ : undefined,
10069
+ CreationDate: __expectString(output.CreationDate),
10070
+ EncryptionKeyArn: __expectString(output.EncryptionKeyArn),
10071
+ IamRoleArn: __expectString(output.IamRoleArn),
10072
+ IsEncrypted: __expectBoolean(output.IsEncrypted),
10073
+ LastRestoreTime: __expectString(output.LastRestoreTime),
10074
+ Lifecycle: output.Lifecycle != null
10075
+ ? deserializeAws_restJson1AwsBackupRecoveryPointLifecycleDetails(output.Lifecycle, context)
10076
+ : undefined,
10077
+ RecoveryPointArn: __expectString(output.RecoveryPointArn),
10078
+ ResourceArn: __expectString(output.ResourceArn),
10079
+ ResourceType: __expectString(output.ResourceType),
10080
+ SourceBackupVaultArn: __expectString(output.SourceBackupVaultArn),
10081
+ Status: __expectString(output.Status),
10082
+ StatusMessage: __expectString(output.StatusMessage),
10083
+ StorageClass: __expectString(output.StorageClass),
10084
+ };
10085
+ };
10086
+ var deserializeAws_restJson1AwsBackupRecoveryPointLifecycleDetails = function (output, context) {
10087
+ return {
10088
+ DeleteAfterDays: __expectLong(output.DeleteAfterDays),
10089
+ MoveToColdStorageAfterDays: __expectLong(output.MoveToColdStorageAfterDays),
10090
+ };
10091
+ };
9848
10092
  var deserializeAws_restJson1AwsCertificateManagerCertificateDetails = function (output, context) {
9849
10093
  return {
9850
10094
  CertificateAuthorityArn: __expectString(output.CertificateAuthorityArn),
@@ -15935,6 +16179,15 @@ var deserializeAws_restJson1ResourceDetails = function (output, context) {
15935
16179
  AwsAutoScalingLaunchConfiguration: output.AwsAutoScalingLaunchConfiguration != null
15936
16180
  ? deserializeAws_restJson1AwsAutoScalingLaunchConfigurationDetails(output.AwsAutoScalingLaunchConfiguration, context)
15937
16181
  : undefined,
16182
+ AwsBackupBackupPlan: output.AwsBackupBackupPlan != null
16183
+ ? deserializeAws_restJson1AwsBackupBackupPlanDetails(output.AwsBackupBackupPlan, context)
16184
+ : undefined,
16185
+ AwsBackupBackupVault: output.AwsBackupBackupVault != null
16186
+ ? deserializeAws_restJson1AwsBackupBackupVaultDetails(output.AwsBackupBackupVault, context)
16187
+ : undefined,
16188
+ AwsBackupRecoveryPoint: output.AwsBackupRecoveryPoint != null
16189
+ ? deserializeAws_restJson1AwsBackupRecoveryPointDetails(output.AwsBackupRecoveryPoint, context)
16190
+ : undefined,
15938
16191
  AwsCertificateManagerCertificate: output.AwsCertificateManagerCertificate != null
15939
16192
  ? deserializeAws_restJson1AwsCertificateManagerCertificateDetails(output.AwsCertificateManagerCertificate, context)
15940
16193
  : undefined,
@@ -16492,9 +16745,11 @@ var deserializeAws_restJson1SoftwarePackage = function (output, context) {
16492
16745
  Architecture: __expectString(output.Architecture),
16493
16746
  Epoch: __expectString(output.Epoch),
16494
16747
  FilePath: __expectString(output.FilePath),
16748
+ FixedInVersion: __expectString(output.FixedInVersion),
16495
16749
  Name: __expectString(output.Name),
16496
16750
  PackageManager: __expectString(output.PackageManager),
16497
16751
  Release: __expectString(output.Release),
16752
+ Remediation: __expectString(output.Remediation),
16498
16753
  Version: __expectString(output.Version),
16499
16754
  };
16500
16755
  };
@@ -16791,6 +17046,7 @@ var deserializeAws_restJson1VpcInfoPeeringOptionsDetails = function (output, con
16791
17046
  var deserializeAws_restJson1Vulnerability = function (output, context) {
16792
17047
  return {
16793
17048
  Cvss: output.Cvss != null ? deserializeAws_restJson1CvssList(output.Cvss, context) : undefined,
17049
+ FixAvailable: __expectString(output.FixAvailable),
16794
17050
  Id: __expectString(output.Id),
16795
17051
  ReferenceUrls: output.ReferenceUrls != null ? deserializeAws_restJson1StringList(output.ReferenceUrls, context) : undefined,
16796
17052
  RelatedVulnerabilities: output.RelatedVulnerabilities != null
@@ -1,6 +1,7 @@
1
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
2
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
- import { InviteMembersRequest, InviteMembersResponse } from "../models/models_1";
3
+ import { InviteMembersRequest } from "../models/models_1";
4
+ import { InviteMembersResponse } from "../models/models_2";
4
5
  import { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
5
6
  export interface InviteMembersCommandInput extends InviteMembersRequest {
6
7
  }
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
2
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
- import { ListEnabledProductsForImportRequest, ListEnabledProductsForImportResponse } from "../models/models_1";
3
+ import { ListEnabledProductsForImportRequest, ListEnabledProductsForImportResponse } from "../models/models_2";
4
4
  import { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
5
5
  export interface ListEnabledProductsForImportCommandInput extends ListEnabledProductsForImportRequest {
6
6
  }
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
2
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
- import { ListFindingAggregatorsRequest, ListFindingAggregatorsResponse } from "../models/models_1";
3
+ import { ListFindingAggregatorsRequest, ListFindingAggregatorsResponse } from "../models/models_2";
4
4
  import { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
5
5
  export interface ListFindingAggregatorsCommandInput extends ListFindingAggregatorsRequest {
6
6
  }
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
2
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
- import { ListInvitationsRequest, ListInvitationsResponse } from "../models/models_1";
3
+ import { ListInvitationsRequest, ListInvitationsResponse } from "../models/models_2";
4
4
  import { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
5
5
  export interface ListInvitationsCommandInput extends ListInvitationsRequest {
6
6
  }
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
2
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
- import { ListMembersRequest, ListMembersResponse } from "../models/models_1";
3
+ import { ListMembersRequest, ListMembersResponse } from "../models/models_2";
4
4
  import { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
5
5
  export interface ListMembersCommandInput extends ListMembersRequest {
6
6
  }
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
2
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
- import { ListOrganizationAdminAccountsRequest, ListOrganizationAdminAccountsResponse } from "../models/models_1";
3
+ import { ListOrganizationAdminAccountsRequest, ListOrganizationAdminAccountsResponse } from "../models/models_2";
4
4
  import { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
5
5
  export interface ListOrganizationAdminAccountsCommandInput extends ListOrganizationAdminAccountsRequest {
6
6
  }
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
2
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
- import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_1";
3
+ import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_2";
4
4
  import { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
5
5
  export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {
6
6
  }