@aws-sdk/client-securityhub 3.299.0 → 3.301.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 (79) hide show
  1. package/dist-cjs/models/models_0.js +1 -6
  2. package/dist-cjs/models/models_1.js +6 -1
  3. package/dist-cjs/protocols/Aws_restJson1.js +244 -0
  4. package/dist-es/models/models_0.js +0 -5
  5. package/dist-es/models/models_1.js +5 -0
  6. package/dist-es/protocols/Aws_restJson1.js +244 -0
  7. package/dist-types/SecurityHub.d.ts +6 -4
  8. package/dist-types/commands/AcceptAdministratorInvitationCommand.d.ts +4 -0
  9. package/dist-types/commands/AcceptInvitationCommand.d.ts +4 -0
  10. package/dist-types/commands/BatchDisableStandardsCommand.d.ts +5 -0
  11. package/dist-types/commands/BatchEnableStandardsCommand.d.ts +10 -0
  12. package/dist-types/commands/BatchGetSecurityControlsCommand.d.ts +5 -0
  13. package/dist-types/commands/BatchGetStandardsControlAssociationsCommand.d.ts +8 -0
  14. package/dist-types/commands/BatchImportFindingsCommand.d.ts +3756 -0
  15. package/dist-types/commands/BatchUpdateFindingsCommand.d.ts +35 -0
  16. package/dist-types/commands/BatchUpdateStandardsControlAssociationsCommand.d.ts +10 -0
  17. package/dist-types/commands/CreateActionTargetCommand.d.ts +5 -0
  18. package/dist-types/commands/CreateFindingAggregatorCommand.d.ts +6 -0
  19. package/dist-types/commands/CreateInsightCommand.d.ts +256 -1
  20. package/dist-types/commands/CreateMembersCommand.d.ts +9 -1
  21. package/dist-types/commands/DeclineInvitationsCommand.d.ts +9 -3
  22. package/dist-types/commands/DeleteActionTargetCommand.d.ts +4 -1
  23. package/dist-types/commands/DeleteFindingAggregatorCommand.d.ts +3 -0
  24. package/dist-types/commands/DeleteInsightCommand.d.ts +3 -0
  25. package/dist-types/commands/DeleteInvitationsCommand.d.ts +8 -2
  26. package/dist-types/commands/DeleteMembersCommand.d.ts +5 -0
  27. package/dist-types/commands/DescribeActionTargetsCommand.d.ts +7 -0
  28. package/dist-types/commands/DescribeHubCommand.d.ts +3 -0
  29. package/dist-types/commands/DescribeOrganizationConfigurationCommand.d.ts +1 -0
  30. package/dist-types/commands/DescribeProductsCommand.d.ts +5 -0
  31. package/dist-types/commands/DescribeStandardsCommand.d.ts +4 -0
  32. package/dist-types/commands/DescribeStandardsControlsCommand.d.ts +5 -0
  33. package/dist-types/commands/DisableImportFindingsForProductCommand.d.ts +3 -0
  34. package/dist-types/commands/DisableOrganizationAdminAccountCommand.d.ts +3 -0
  35. package/dist-types/commands/DisableSecurityHubCommand.d.ts +1 -0
  36. package/dist-types/commands/DisassociateFromAdministratorAccountCommand.d.ts +1 -0
  37. package/dist-types/commands/DisassociateFromMasterAccountCommand.d.ts +1 -0
  38. package/dist-types/commands/DisassociateMembersCommand.d.ts +5 -0
  39. package/dist-types/commands/EnableImportFindingsForProductCommand.d.ts +3 -0
  40. package/dist-types/commands/EnableOrganizationAdminAccountCommand.d.ts +3 -0
  41. package/dist-types/commands/EnableSecurityHubCommand.d.ts +7 -0
  42. package/dist-types/commands/GetAdministratorAccountCommand.d.ts +1 -0
  43. package/dist-types/commands/GetEnabledStandardsCommand.d.ts +7 -0
  44. package/dist-types/commands/GetFindingAggregatorCommand.d.ts +3 -0
  45. package/dist-types/commands/GetFindingsCommand.d.ts +261 -0
  46. package/dist-types/commands/GetInsightResultsCommand.d.ts +3 -0
  47. package/dist-types/commands/GetInsightsCommand.d.ts +7 -0
  48. package/dist-types/commands/GetInvitationsCountCommand.d.ts +1 -0
  49. package/dist-types/commands/GetMasterAccountCommand.d.ts +1 -0
  50. package/dist-types/commands/GetMembersCommand.d.ts +5 -0
  51. package/dist-types/commands/InviteMembersCommand.d.ts +5 -0
  52. package/dist-types/commands/ListEnabledProductsForImportCommand.d.ts +4 -0
  53. package/dist-types/commands/ListFindingAggregatorsCommand.d.ts +4 -0
  54. package/dist-types/commands/ListInvitationsCommand.d.ts +4 -0
  55. package/dist-types/commands/ListMembersCommand.d.ts +5 -0
  56. package/dist-types/commands/ListOrganizationAdminAccountsCommand.d.ts +4 -0
  57. package/dist-types/commands/ListSecurityControlDefinitionsCommand.d.ts +5 -0
  58. package/dist-types/commands/ListStandardsControlAssociationsCommand.d.ts +5 -0
  59. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
  60. package/dist-types/commands/TagResourceCommand.d.ts +6 -0
  61. package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
  62. package/dist-types/commands/UpdateActionTargetCommand.d.ts +5 -0
  63. package/dist-types/commands/UpdateFindingAggregatorCommand.d.ts +7 -0
  64. package/dist-types/commands/UpdateFindingsCommand.d.ts +258 -0
  65. package/dist-types/commands/UpdateInsightCommand.d.ts +256 -0
  66. package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +4 -0
  67. package/dist-types/commands/UpdateSecurityHubConfigurationCommand.d.ts +4 -0
  68. package/dist-types/commands/UpdateStandardsControlCommand.d.ts +5 -0
  69. package/dist-types/models/models_0.d.ts +254 -129
  70. package/dist-types/models/models_1.d.ts +205 -105
  71. package/dist-types/models/models_2.d.ts +106 -5
  72. package/dist-types/ts3.4/commands/CreateInsightCommand.d.ts +1 -1
  73. package/dist-types/ts3.4/commands/CreateMembersCommand.d.ts +1 -1
  74. package/dist-types/ts3.4/commands/DeclineInvitationsCommand.d.ts +1 -1
  75. package/dist-types/ts3.4/commands/DeleteActionTargetCommand.d.ts +1 -1
  76. package/dist-types/ts3.4/models/models_0.d.ts +46 -34
  77. package/dist-types/ts3.4/models/models_1.d.ts +49 -33
  78. package/dist-types/ts3.4/models/models_2.d.ts +31 -1
  79. package/package.json +8 -8
@@ -4150,6 +4150,31 @@ const serializeAws_restJson1AssociatedStandardsList = (input, context) => {
4150
4150
  return serializeAws_restJson1AssociatedStandard(entry, context);
4151
4151
  });
4152
4152
  };
4153
+ const serializeAws_restJson1AssociationSetDetails = (input, context) => {
4154
+ return {
4155
+ ...(input.AssociationState != null && {
4156
+ AssociationState: serializeAws_restJson1AssociationStateDetails(input.AssociationState, context),
4157
+ }),
4158
+ ...(input.GatewayId != null && { GatewayId: input.GatewayId }),
4159
+ ...(input.Main != null && { Main: input.Main }),
4160
+ ...(input.RouteTableAssociationId != null && { RouteTableAssociationId: input.RouteTableAssociationId }),
4161
+ ...(input.RouteTableId != null && { RouteTableId: input.RouteTableId }),
4162
+ ...(input.SubnetId != null && { SubnetId: input.SubnetId }),
4163
+ };
4164
+ };
4165
+ const serializeAws_restJson1AssociationSetList = (input, context) => {
4166
+ return input
4167
+ .filter((e) => e != null)
4168
+ .map((entry) => {
4169
+ return serializeAws_restJson1AssociationSetDetails(entry, context);
4170
+ });
4171
+ };
4172
+ const serializeAws_restJson1AssociationStateDetails = (input, context) => {
4173
+ return {
4174
+ ...(input.State != null && { State: input.State }),
4175
+ ...(input.StatusMessage != null && { StatusMessage: input.StatusMessage }),
4176
+ };
4177
+ };
4153
4178
  const serializeAws_restJson1AvailabilityZone = (input, context) => {
4154
4179
  return {
4155
4180
  ...(input.SubnetId != null && { SubnetId: input.SubnetId }),
@@ -5400,6 +5425,9 @@ const serializeAws_restJson1AwsEc2InstanceDetails = (input, context) => {
5400
5425
  ...(input.MetadataOptions != null && {
5401
5426
  MetadataOptions: serializeAws_restJson1AwsEc2InstanceMetadataOptions(input.MetadataOptions, context),
5402
5427
  }),
5428
+ ...(input.Monitoring != null && {
5429
+ Monitoring: serializeAws_restJson1AwsEc2InstanceMonitoringDetails(input.Monitoring, context),
5430
+ }),
5403
5431
  ...(input.NetworkInterfaces != null && {
5404
5432
  NetworkInterfaces: serializeAws_restJson1AwsEc2InstanceNetworkInterfacesList(input.NetworkInterfaces, context),
5405
5433
  }),
@@ -5418,6 +5446,11 @@ const serializeAws_restJson1AwsEc2InstanceMetadataOptions = (input, context) =>
5418
5446
  ...(input.InstanceMetadataTags != null && { InstanceMetadataTags: input.InstanceMetadataTags }),
5419
5447
  };
5420
5448
  };
5449
+ const serializeAws_restJson1AwsEc2InstanceMonitoringDetails = (input, context) => {
5450
+ return {
5451
+ ...(input.State != null && { State: input.State }),
5452
+ };
5453
+ };
5421
5454
  const serializeAws_restJson1AwsEc2InstanceNetworkInterfacesDetails = (input, context) => {
5422
5455
  return {
5423
5456
  ...(input.NetworkInterfaceId != null && { NetworkInterfaceId: input.NetworkInterfaceId }),
@@ -6001,6 +6034,20 @@ const serializeAws_restJson1AwsEc2NetworkInterfaceSecurityGroupList = (input, co
6001
6034
  return serializeAws_restJson1AwsEc2NetworkInterfaceSecurityGroup(entry, context);
6002
6035
  });
6003
6036
  };
6037
+ const serializeAws_restJson1AwsEc2RouteTableDetails = (input, context) => {
6038
+ return {
6039
+ ...(input.AssociationSet != null && {
6040
+ AssociationSet: serializeAws_restJson1AssociationSetList(input.AssociationSet, context),
6041
+ }),
6042
+ ...(input.OwnerId != null && { OwnerId: input.OwnerId }),
6043
+ ...(input.PropagatingVgwSet != null && {
6044
+ PropagatingVgwSet: serializeAws_restJson1PropagatingVgwSetList(input.PropagatingVgwSet, context),
6045
+ }),
6046
+ ...(input.RouteSet != null && { RouteSet: serializeAws_restJson1RouteSetList(input.RouteSet, context) }),
6047
+ ...(input.RouteTableId != null && { RouteTableId: input.RouteTableId }),
6048
+ ...(input.VpcId != null && { VpcId: input.VpcId }),
6049
+ };
6050
+ };
6004
6051
  const serializeAws_restJson1AwsEc2SecurityGroupDetails = (input, context) => {
6005
6052
  return {
6006
6053
  ...(input.GroupId != null && { GroupId: input.GroupId }),
@@ -7217,6 +7264,7 @@ const serializeAws_restJson1AwsEksClusterLoggingDetails = (input, context) => {
7217
7264
  };
7218
7265
  const serializeAws_restJson1AwsEksClusterResourcesVpcConfigDetails = (input, context) => {
7219
7266
  return {
7267
+ ...(input.EndpointPublicAccess != null && { EndpointPublicAccess: input.EndpointPublicAccess }),
7220
7268
  ...(input.SecurityGroupIds != null && {
7221
7269
  SecurityGroupIds: serializeAws_restJson1NonEmptyStringList(input.SecurityGroupIds, context),
7222
7270
  }),
@@ -9080,6 +9128,9 @@ const serializeAws_restJson1AwsS3BucketDetails = (input, context) => {
9080
9128
  BucketWebsiteConfiguration: serializeAws_restJson1AwsS3BucketWebsiteConfiguration(input.BucketWebsiteConfiguration, context),
9081
9129
  }),
9082
9130
  ...(input.CreatedAt != null && { CreatedAt: input.CreatedAt }),
9131
+ ...(input.ObjectLockConfiguration != null && {
9132
+ ObjectLockConfiguration: serializeAws_restJson1AwsS3BucketObjectLockConfiguration(input.ObjectLockConfiguration, context),
9133
+ }),
9083
9134
  ...(input.OwnerAccountId != null && { OwnerAccountId: input.OwnerAccountId }),
9084
9135
  ...(input.OwnerId != null && { OwnerId: input.OwnerId }),
9085
9136
  ...(input.OwnerName != null && { OwnerName: input.OwnerName }),
@@ -9157,6 +9208,28 @@ const serializeAws_restJson1AwsS3BucketNotificationConfigurationS3KeyFilterRules
9157
9208
  return serializeAws_restJson1AwsS3BucketNotificationConfigurationS3KeyFilterRule(entry, context);
9158
9209
  });
9159
9210
  };
9211
+ const serializeAws_restJson1AwsS3BucketObjectLockConfiguration = (input, context) => {
9212
+ return {
9213
+ ...(input.ObjectLockEnabled != null && { ObjectLockEnabled: input.ObjectLockEnabled }),
9214
+ ...(input.Rule != null && {
9215
+ Rule: serializeAws_restJson1AwsS3BucketObjectLockConfigurationRuleDetails(input.Rule, context),
9216
+ }),
9217
+ };
9218
+ };
9219
+ const serializeAws_restJson1AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails = (input, context) => {
9220
+ return {
9221
+ ...(input.Days != null && { Days: input.Days }),
9222
+ ...(input.Mode != null && { Mode: input.Mode }),
9223
+ ...(input.Years != null && { Years: input.Years }),
9224
+ };
9225
+ };
9226
+ const serializeAws_restJson1AwsS3BucketObjectLockConfigurationRuleDetails = (input, context) => {
9227
+ return {
9228
+ ...(input.DefaultRetention != null && {
9229
+ DefaultRetention: serializeAws_restJson1AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails(input.DefaultRetention, context),
9230
+ }),
9231
+ };
9232
+ };
9160
9233
  const serializeAws_restJson1AwsS3BucketServerSideEncryptionByDefault = (input, context) => {
9161
9234
  return {
9162
9235
  ...(input.KMSMasterKeyID != null && { KMSMasterKeyID: input.KMSMasterKeyID }),
@@ -10686,6 +10759,18 @@ const serializeAws_restJson1ProcessDetails = (input, context) => {
10686
10759
  ...(input.TerminatedAt != null && { TerminatedAt: input.TerminatedAt }),
10687
10760
  };
10688
10761
  };
10762
+ const serializeAws_restJson1PropagatingVgwSetDetails = (input, context) => {
10763
+ return {
10764
+ ...(input.GatewayId != null && { GatewayId: input.GatewayId }),
10765
+ };
10766
+ };
10767
+ const serializeAws_restJson1PropagatingVgwSetList = (input, context) => {
10768
+ return input
10769
+ .filter((e) => e != null)
10770
+ .map((entry) => {
10771
+ return serializeAws_restJson1PropagatingVgwSetDetails(entry, context);
10772
+ });
10773
+ };
10689
10774
  const serializeAws_restJson1Range = (input, context) => {
10690
10775
  return {
10691
10776
  ...(input.End != null && { End: input.End }),
@@ -10823,6 +10908,9 @@ const serializeAws_restJson1ResourceDetails = (input, context) => {
10823
10908
  ...(input.AwsEc2NetworkInterface != null && {
10824
10909
  AwsEc2NetworkInterface: serializeAws_restJson1AwsEc2NetworkInterfaceDetails(input.AwsEc2NetworkInterface, context),
10825
10910
  }),
10911
+ ...(input.AwsEc2RouteTable != null && {
10912
+ AwsEc2RouteTable: serializeAws_restJson1AwsEc2RouteTableDetails(input.AwsEc2RouteTable, context),
10913
+ }),
10826
10914
  ...(input.AwsEc2SecurityGroup != null && {
10827
10915
  AwsEc2SecurityGroup: serializeAws_restJson1AwsEc2SecurityGroupDetails(input.AwsEc2SecurityGroup, context),
10828
10916
  }),
@@ -11002,6 +11090,35 @@ const serializeAws_restJson1ResourceList = (input, context) => {
11002
11090
  return serializeAws_restJson1Resource(entry, context);
11003
11091
  });
11004
11092
  };
11093
+ const serializeAws_restJson1RouteSetDetails = (input, context) => {
11094
+ return {
11095
+ ...(input.CarrierGatewayId != null && { CarrierGatewayId: input.CarrierGatewayId }),
11096
+ ...(input.CoreNetworkArn != null && { CoreNetworkArn: input.CoreNetworkArn }),
11097
+ ...(input.DestinationCidrBlock != null && { DestinationCidrBlock: input.DestinationCidrBlock }),
11098
+ ...(input.DestinationIpv6CidrBlock != null && { DestinationIpv6CidrBlock: input.DestinationIpv6CidrBlock }),
11099
+ ...(input.DestinationPrefixListId != null && { DestinationPrefixListId: input.DestinationPrefixListId }),
11100
+ ...(input.EgressOnlyInternetGatewayId != null && {
11101
+ EgressOnlyInternetGatewayId: input.EgressOnlyInternetGatewayId,
11102
+ }),
11103
+ ...(input.GatewayId != null && { GatewayId: input.GatewayId }),
11104
+ ...(input.InstanceId != null && { InstanceId: input.InstanceId }),
11105
+ ...(input.InstanceOwnerId != null && { InstanceOwnerId: input.InstanceOwnerId }),
11106
+ ...(input.LocalGatewayId != null && { LocalGatewayId: input.LocalGatewayId }),
11107
+ ...(input.NatGatewayId != null && { NatGatewayId: input.NatGatewayId }),
11108
+ ...(input.NetworkInterfaceId != null && { NetworkInterfaceId: input.NetworkInterfaceId }),
11109
+ ...(input.Origin != null && { Origin: input.Origin }),
11110
+ ...(input.State != null && { State: input.State }),
11111
+ ...(input.TransitGatewayId != null && { TransitGatewayId: input.TransitGatewayId }),
11112
+ ...(input.VpcPeeringConnectionId != null && { VpcPeeringConnectionId: input.VpcPeeringConnectionId }),
11113
+ };
11114
+ };
11115
+ const serializeAws_restJson1RouteSetList = (input, context) => {
11116
+ return input
11117
+ .filter((e) => e != null)
11118
+ .map((entry) => {
11119
+ return serializeAws_restJson1RouteSetDetails(entry, context);
11120
+ });
11121
+ };
11005
11122
  const serializeAws_restJson1RuleGroupDetails = (input, context) => {
11006
11123
  return {
11007
11124
  ...(input.RuleVariables != null && {
@@ -11730,6 +11847,35 @@ const deserializeAws_restJson1AssociatedStandardsList = (output, context) => {
11730
11847
  });
11731
11848
  return retVal;
11732
11849
  };
11850
+ const deserializeAws_restJson1AssociationSetDetails = (output, context) => {
11851
+ return {
11852
+ AssociationState: output.AssociationState != null
11853
+ ? deserializeAws_restJson1AssociationStateDetails(output.AssociationState, context)
11854
+ : undefined,
11855
+ GatewayId: __expectString(output.GatewayId),
11856
+ Main: __expectBoolean(output.Main),
11857
+ RouteTableAssociationId: __expectString(output.RouteTableAssociationId),
11858
+ RouteTableId: __expectString(output.RouteTableId),
11859
+ SubnetId: __expectString(output.SubnetId),
11860
+ };
11861
+ };
11862
+ const deserializeAws_restJson1AssociationSetList = (output, context) => {
11863
+ const retVal = (output || [])
11864
+ .filter((e) => e != null)
11865
+ .map((entry) => {
11866
+ if (entry === null) {
11867
+ return null;
11868
+ }
11869
+ return deserializeAws_restJson1AssociationSetDetails(entry, context);
11870
+ });
11871
+ return retVal;
11872
+ };
11873
+ const deserializeAws_restJson1AssociationStateDetails = (output, context) => {
11874
+ return {
11875
+ State: __expectString(output.State),
11876
+ StatusMessage: __expectString(output.StatusMessage),
11877
+ };
11878
+ };
11733
11879
  const deserializeAws_restJson1AvailabilityZone = (output, context) => {
11734
11880
  return {
11735
11881
  SubnetId: __expectString(output.SubnetId),
@@ -13052,6 +13198,9 @@ const deserializeAws_restJson1AwsEc2InstanceDetails = (output, context) => {
13052
13198
  MetadataOptions: output.MetadataOptions != null
13053
13199
  ? deserializeAws_restJson1AwsEc2InstanceMetadataOptions(output.MetadataOptions, context)
13054
13200
  : undefined,
13201
+ Monitoring: output.Monitoring != null
13202
+ ? deserializeAws_restJson1AwsEc2InstanceMonitoringDetails(output.Monitoring, context)
13203
+ : undefined,
13055
13204
  NetworkInterfaces: output.NetworkInterfaces != null
13056
13205
  ? deserializeAws_restJson1AwsEc2InstanceNetworkInterfacesList(output.NetworkInterfaces, context)
13057
13206
  : undefined,
@@ -13070,6 +13219,11 @@ const deserializeAws_restJson1AwsEc2InstanceMetadataOptions = (output, context)
13070
13219
  InstanceMetadataTags: __expectString(output.InstanceMetadataTags),
13071
13220
  };
13072
13221
  };
13222
+ const deserializeAws_restJson1AwsEc2InstanceMonitoringDetails = (output, context) => {
13223
+ return {
13224
+ State: __expectString(output.State),
13225
+ };
13226
+ };
13073
13227
  const deserializeAws_restJson1AwsEc2InstanceNetworkInterfacesDetails = (output, context) => {
13074
13228
  return {
13075
13229
  NetworkInterfaceId: __expectString(output.NetworkInterfaceId),
@@ -13693,6 +13847,20 @@ const deserializeAws_restJson1AwsEc2NetworkInterfaceSecurityGroupList = (output,
13693
13847
  });
13694
13848
  return retVal;
13695
13849
  };
13850
+ const deserializeAws_restJson1AwsEc2RouteTableDetails = (output, context) => {
13851
+ return {
13852
+ AssociationSet: output.AssociationSet != null
13853
+ ? deserializeAws_restJson1AssociationSetList(output.AssociationSet, context)
13854
+ : undefined,
13855
+ OwnerId: __expectString(output.OwnerId),
13856
+ PropagatingVgwSet: output.PropagatingVgwSet != null
13857
+ ? deserializeAws_restJson1PropagatingVgwSetList(output.PropagatingVgwSet, context)
13858
+ : undefined,
13859
+ RouteSet: output.RouteSet != null ? deserializeAws_restJson1RouteSetList(output.RouteSet, context) : undefined,
13860
+ RouteTableId: __expectString(output.RouteTableId),
13861
+ VpcId: __expectString(output.VpcId),
13862
+ };
13863
+ };
13696
13864
  const deserializeAws_restJson1AwsEc2SecurityGroupDetails = (output, context) => {
13697
13865
  return {
13698
13866
  GroupId: __expectString(output.GroupId),
@@ -15031,6 +15199,7 @@ const deserializeAws_restJson1AwsEksClusterLoggingDetails = (output, context) =>
15031
15199
  };
15032
15200
  const deserializeAws_restJson1AwsEksClusterResourcesVpcConfigDetails = (output, context) => {
15033
15201
  return {
15202
+ EndpointPublicAccess: __expectBoolean(output.EndpointPublicAccess),
15034
15203
  SecurityGroupIds: output.SecurityGroupIds != null
15035
15204
  ? deserializeAws_restJson1NonEmptyStringList(output.SecurityGroupIds, context)
15036
15205
  : undefined,
@@ -17000,6 +17169,9 @@ const deserializeAws_restJson1AwsS3BucketDetails = (output, context) => {
17000
17169
  ? deserializeAws_restJson1AwsS3BucketWebsiteConfiguration(output.BucketWebsiteConfiguration, context)
17001
17170
  : undefined,
17002
17171
  CreatedAt: __expectString(output.CreatedAt),
17172
+ ObjectLockConfiguration: output.ObjectLockConfiguration != null
17173
+ ? deserializeAws_restJson1AwsS3BucketObjectLockConfiguration(output.ObjectLockConfiguration, context)
17174
+ : undefined,
17003
17175
  OwnerAccountId: __expectString(output.OwnerAccountId),
17004
17176
  OwnerId: __expectString(output.OwnerId),
17005
17177
  OwnerName: __expectString(output.OwnerName),
@@ -17089,6 +17261,28 @@ const deserializeAws_restJson1AwsS3BucketNotificationConfigurationS3KeyFilterRul
17089
17261
  });
17090
17262
  return retVal;
17091
17263
  };
17264
+ const deserializeAws_restJson1AwsS3BucketObjectLockConfiguration = (output, context) => {
17265
+ return {
17266
+ ObjectLockEnabled: __expectString(output.ObjectLockEnabled),
17267
+ Rule: output.Rule != null
17268
+ ? deserializeAws_restJson1AwsS3BucketObjectLockConfigurationRuleDetails(output.Rule, context)
17269
+ : undefined,
17270
+ };
17271
+ };
17272
+ const deserializeAws_restJson1AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails = (output, context) => {
17273
+ return {
17274
+ Days: __expectInt32(output.Days),
17275
+ Mode: __expectString(output.Mode),
17276
+ Years: __expectInt32(output.Years),
17277
+ };
17278
+ };
17279
+ const deserializeAws_restJson1AwsS3BucketObjectLockConfigurationRuleDetails = (output, context) => {
17280
+ return {
17281
+ DefaultRetention: output.DefaultRetention != null
17282
+ ? deserializeAws_restJson1AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails(output.DefaultRetention, context)
17283
+ : undefined,
17284
+ };
17285
+ };
17092
17286
  const deserializeAws_restJson1AwsS3BucketServerSideEncryptionByDefault = (output, context) => {
17093
17287
  return {
17094
17288
  KMSMasterKeyID: __expectString(output.KMSMasterKeyID),
@@ -18897,6 +19091,22 @@ const deserializeAws_restJson1ProductSubscriptionArnList = (output, context) =>
18897
19091
  });
18898
19092
  return retVal;
18899
19093
  };
19094
+ const deserializeAws_restJson1PropagatingVgwSetDetails = (output, context) => {
19095
+ return {
19096
+ GatewayId: __expectString(output.GatewayId),
19097
+ };
19098
+ };
19099
+ const deserializeAws_restJson1PropagatingVgwSetList = (output, context) => {
19100
+ const retVal = (output || [])
19101
+ .filter((e) => e != null)
19102
+ .map((entry) => {
19103
+ if (entry === null) {
19104
+ return null;
19105
+ }
19106
+ return deserializeAws_restJson1PropagatingVgwSetDetails(entry, context);
19107
+ });
19108
+ return retVal;
19109
+ };
18900
19110
  const deserializeAws_restJson1Range = (output, context) => {
18901
19111
  return {
18902
19112
  End: __expectLong(output.End),
@@ -19050,6 +19260,9 @@ const deserializeAws_restJson1ResourceDetails = (output, context) => {
19050
19260
  AwsEc2NetworkInterface: output.AwsEc2NetworkInterface != null
19051
19261
  ? deserializeAws_restJson1AwsEc2NetworkInterfaceDetails(output.AwsEc2NetworkInterface, context)
19052
19262
  : undefined,
19263
+ AwsEc2RouteTable: output.AwsEc2RouteTable != null
19264
+ ? deserializeAws_restJson1AwsEc2RouteTableDetails(output.AwsEc2RouteTable, context)
19265
+ : undefined,
19053
19266
  AwsEc2SecurityGroup: output.AwsEc2SecurityGroup != null
19054
19267
  ? deserializeAws_restJson1AwsEc2SecurityGroupDetails(output.AwsEc2SecurityGroup, context)
19055
19268
  : undefined,
@@ -19240,6 +19453,37 @@ const deserializeAws_restJson1ResultList = (output, context) => {
19240
19453
  });
19241
19454
  return retVal;
19242
19455
  };
19456
+ const deserializeAws_restJson1RouteSetDetails = (output, context) => {
19457
+ return {
19458
+ CarrierGatewayId: __expectString(output.CarrierGatewayId),
19459
+ CoreNetworkArn: __expectString(output.CoreNetworkArn),
19460
+ DestinationCidrBlock: __expectString(output.DestinationCidrBlock),
19461
+ DestinationIpv6CidrBlock: __expectString(output.DestinationIpv6CidrBlock),
19462
+ DestinationPrefixListId: __expectString(output.DestinationPrefixListId),
19463
+ EgressOnlyInternetGatewayId: __expectString(output.EgressOnlyInternetGatewayId),
19464
+ GatewayId: __expectString(output.GatewayId),
19465
+ InstanceId: __expectString(output.InstanceId),
19466
+ InstanceOwnerId: __expectString(output.InstanceOwnerId),
19467
+ LocalGatewayId: __expectString(output.LocalGatewayId),
19468
+ NatGatewayId: __expectString(output.NatGatewayId),
19469
+ NetworkInterfaceId: __expectString(output.NetworkInterfaceId),
19470
+ Origin: __expectString(output.Origin),
19471
+ State: __expectString(output.State),
19472
+ TransitGatewayId: __expectString(output.TransitGatewayId),
19473
+ VpcPeeringConnectionId: __expectString(output.VpcPeeringConnectionId),
19474
+ };
19475
+ };
19476
+ const deserializeAws_restJson1RouteSetList = (output, context) => {
19477
+ const retVal = (output || [])
19478
+ .filter((e) => e != null)
19479
+ .map((entry) => {
19480
+ if (entry === null) {
19481
+ return null;
19482
+ }
19483
+ return deserializeAws_restJson1RouteSetDetails(entry, context);
19484
+ });
19485
+ return retVal;
19486
+ };
19243
19487
  const deserializeAws_restJson1RuleGroupDetails = (output, context) => {
19244
19488
  return {
19245
19489
  RuleVariables: output.RuleVariables != null
@@ -405,8 +405,9 @@ export declare class SecurityHub extends SecurityHubClient {
405
405
  /**
406
406
  * @public
407
407
  * <p>Declines invitations to become a member account.</p>
408
- * <p>This operation is only used by accounts that are not part of an organization.
409
- * Organization accounts do not receive invitations.</p>
408
+ * <p>A prospective member account uses this operation to decline an invitation to become a member.</p>
409
+ * <p>This operation is only called by member accounts that aren't part of an organization.
410
+ * Organization accounts don't receive invitations.</p>
410
411
  */
411
412
  declineInvitations(args: DeclineInvitationsCommandInput, options?: __HttpHandlerOptions): Promise<DeclineInvitationsCommandOutput>;
412
413
  declineInvitations(args: DeclineInvitationsCommandInput, cb: (err: any, data?: DeclineInvitationsCommandOutput) => void): void;
@@ -439,8 +440,9 @@ export declare class SecurityHub extends SecurityHubClient {
439
440
  /**
440
441
  * @public
441
442
  * <p>Deletes invitations received by the Amazon Web Services account to become a member account.</p>
442
- * <p>This operation is only used by accounts that are not part of an organization.
443
- * Organization accounts do not receive invitations.</p>
443
+ * <p>A Security Hub administrator account can use this operation to delete invitations sent to one or more member accounts.</p>
444
+ * <p>This operation is only used to delete invitations that are sent to member accounts that aren't part of an organization.
445
+ * Organization accounts don't receive invitations.</p>
444
446
  */
445
447
  deleteInvitations(args: DeleteInvitationsCommandInput, options?: __HttpHandlerOptions): Promise<DeleteInvitationsCommandOutput>;
446
448
  deleteInvitations(args: DeleteInvitationsCommandInput, cb: (err: any, data?: DeleteInvitationsCommandOutput) => void): void;
@@ -31,6 +31,10 @@ export interface AcceptAdministratorInvitationCommandOutput extends AcceptAdmini
31
31
  * import { SecurityHubClient, AcceptAdministratorInvitationCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
32
32
  * // const { SecurityHubClient, AcceptAdministratorInvitationCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
33
33
  * const client = new SecurityHubClient(config);
34
+ * const input = { // AcceptAdministratorInvitationRequest
35
+ * AdministratorId: "STRING_VALUE", // required
36
+ * InvitationId: "STRING_VALUE", // required
37
+ * };
34
38
  * const command = new AcceptAdministratorInvitationCommand(input);
35
39
  * const response = await client.send(command);
36
40
  * ```
@@ -35,6 +35,10 @@ export interface AcceptInvitationCommandOutput extends AcceptInvitationResponse,
35
35
  * import { SecurityHubClient, AcceptInvitationCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
36
36
  * // const { SecurityHubClient, AcceptInvitationCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
37
37
  * const client = new SecurityHubClient(config);
38
+ * const input = { // AcceptInvitationRequest
39
+ * MasterId: "STRING_VALUE", // required
40
+ * InvitationId: "STRING_VALUE", // required
41
+ * };
38
42
  * const command = new AcceptInvitationCommand(input);
39
43
  * const response = await client.send(command);
40
44
  * ```
@@ -29,6 +29,11 @@ export interface BatchDisableStandardsCommandOutput extends BatchDisableStandard
29
29
  * import { SecurityHubClient, BatchDisableStandardsCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
30
30
  * // const { SecurityHubClient, BatchDisableStandardsCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
31
31
  * const client = new SecurityHubClient(config);
32
+ * const input = { // BatchDisableStandardsRequest
33
+ * StandardsSubscriptionArns: [ // StandardsSubscriptionArns // required
34
+ * "STRING_VALUE",
35
+ * ],
36
+ * };
32
37
  * const command = new BatchDisableStandardsCommand(input);
33
38
  * const response = await client.send(command);
34
39
  * ```
@@ -30,6 +30,16 @@ export interface BatchEnableStandardsCommandOutput extends BatchEnableStandardsR
30
30
  * import { SecurityHubClient, BatchEnableStandardsCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
31
31
  * // const { SecurityHubClient, BatchEnableStandardsCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
32
32
  * const client = new SecurityHubClient(config);
33
+ * const input = { // BatchEnableStandardsRequest
34
+ * StandardsSubscriptionRequests: [ // StandardsSubscriptionRequests // required
35
+ * { // StandardsSubscriptionRequest
36
+ * StandardsArn: "STRING_VALUE", // required
37
+ * StandardsInput: { // StandardsInputParameterMap
38
+ * "<keys>": "STRING_VALUE",
39
+ * },
40
+ * },
41
+ * ],
42
+ * };
33
43
  * const command = new BatchEnableStandardsCommand(input);
34
44
  * const response = await client.send(command);
35
45
  * ```
@@ -28,6 +28,11 @@ export interface BatchGetSecurityControlsCommandOutput extends BatchGetSecurityC
28
28
  * import { SecurityHubClient, BatchGetSecurityControlsCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
29
29
  * // const { SecurityHubClient, BatchGetSecurityControlsCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
30
30
  * const client = new SecurityHubClient(config);
31
+ * const input = { // BatchGetSecurityControlsRequest
32
+ * SecurityControlIds: [ // StringList // required
33
+ * "STRING_VALUE",
34
+ * ],
35
+ * };
31
36
  * const command = new BatchGetSecurityControlsCommand(input);
32
37
  * const response = await client.send(command);
33
38
  * ```
@@ -28,6 +28,14 @@ export interface BatchGetStandardsControlAssociationsCommandOutput extends Batch
28
28
  * import { SecurityHubClient, BatchGetStandardsControlAssociationsCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
29
29
  * // const { SecurityHubClient, BatchGetStandardsControlAssociationsCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
30
30
  * const client = new SecurityHubClient(config);
31
+ * const input = { // BatchGetStandardsControlAssociationsRequest
32
+ * StandardsControlAssociationIds: [ // StandardsControlAssociationIds // required
33
+ * { // StandardsControlAssociationId
34
+ * SecurityControlId: "STRING_VALUE", // required
35
+ * StandardsArn: "STRING_VALUE", // required
36
+ * },
37
+ * ],
38
+ * };
31
39
  * const command = new BatchGetStandardsControlAssociationsCommand(input);
32
40
  * const response = await client.send(command);
33
41
  * ```