aws-sdk-securityhub 1.95.0 → 1.96.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -36,6 +36,7 @@ module Aws::SecurityHub
36
36
  AdminAccounts = Shapes::ListShape.new(name: 'AdminAccounts')
37
37
  AdminStatus = Shapes::StringShape.new(name: 'AdminStatus')
38
38
  AdminsMaxResults = Shapes::IntegerShape.new(name: 'AdminsMaxResults')
39
+ AlphaNumericNonEmptyString = Shapes::StringShape.new(name: 'AlphaNumericNonEmptyString')
39
40
  ArnList = Shapes::ListShape.new(name: 'ArnList')
40
41
  AssociatedStandard = Shapes::StructureShape.new(name: 'AssociatedStandard')
41
42
  AssociatedStandardsList = Shapes::ListShape.new(name: 'AssociatedStandardsList')
@@ -716,6 +717,7 @@ module Aws::SecurityHub
716
717
  BatchUpdateStandardsControlAssociationsRequest = Shapes::StructureShape.new(name: 'BatchUpdateStandardsControlAssociationsRequest')
717
718
  BatchUpdateStandardsControlAssociationsResponse = Shapes::StructureShape.new(name: 'BatchUpdateStandardsControlAssociationsResponse')
718
719
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
720
+ BooleanConfigurationOptions = Shapes::StructureShape.new(name: 'BooleanConfigurationOptions')
719
721
  BooleanFilter = Shapes::StructureShape.new(name: 'BooleanFilter')
720
722
  BooleanFilterList = Shapes::ListShape.new(name: 'BooleanFilterList')
721
723
  CategoryList = Shapes::ListShape.new(name: 'CategoryList')
@@ -730,6 +732,7 @@ module Aws::SecurityHub
730
732
  CodeVulnerabilitiesFilePath = Shapes::StructureShape.new(name: 'CodeVulnerabilitiesFilePath')
731
733
  Compliance = Shapes::StructureShape.new(name: 'Compliance')
732
734
  ComplianceStatus = Shapes::StringShape.new(name: 'ComplianceStatus')
735
+ ConfigurationOptions = Shapes::UnionShape.new(name: 'ConfigurationOptions')
733
736
  ContainerDetails = Shapes::StructureShape.new(name: 'ContainerDetails')
734
737
  ControlFindingGenerator = Shapes::StringShape.new(name: 'ControlFindingGenerator')
735
738
  ControlStatus = Shapes::StringShape.new(name: 'ControlStatus')
@@ -748,6 +751,7 @@ module Aws::SecurityHub
748
751
  CustomDataIdentifiersDetections = Shapes::StructureShape.new(name: 'CustomDataIdentifiersDetections')
749
752
  CustomDataIdentifiersDetectionsList = Shapes::ListShape.new(name: 'CustomDataIdentifiersDetectionsList')
750
753
  CustomDataIdentifiersResult = Shapes::StructureShape.new(name: 'CustomDataIdentifiersResult')
754
+ CustomizableProperties = Shapes::ListShape.new(name: 'CustomizableProperties')
751
755
  Cvss = Shapes::StructureShape.new(name: 'Cvss')
752
756
  CvssList = Shapes::ListShape.new(name: 'CvssList')
753
757
  DataClassificationDetails = Shapes::StructureShape.new(name: 'DataClassificationDetails')
@@ -793,12 +797,15 @@ module Aws::SecurityHub
793
797
  DisassociateMembersResponse = Shapes::StructureShape.new(name: 'DisassociateMembersResponse')
794
798
  DnsRequestAction = Shapes::StructureShape.new(name: 'DnsRequestAction')
795
799
  Double = Shapes::FloatShape.new(name: 'Double')
800
+ DoubleConfigurationOptions = Shapes::StructureShape.new(name: 'DoubleConfigurationOptions')
796
801
  EnableImportFindingsForProductRequest = Shapes::StructureShape.new(name: 'EnableImportFindingsForProductRequest')
797
802
  EnableImportFindingsForProductResponse = Shapes::StructureShape.new(name: 'EnableImportFindingsForProductResponse')
798
803
  EnableOrganizationAdminAccountRequest = Shapes::StructureShape.new(name: 'EnableOrganizationAdminAccountRequest')
799
804
  EnableOrganizationAdminAccountResponse = Shapes::StructureShape.new(name: 'EnableOrganizationAdminAccountResponse')
800
805
  EnableSecurityHubRequest = Shapes::StructureShape.new(name: 'EnableSecurityHubRequest')
801
806
  EnableSecurityHubResponse = Shapes::StructureShape.new(name: 'EnableSecurityHubResponse')
807
+ EnumConfigurationOptions = Shapes::StructureShape.new(name: 'EnumConfigurationOptions')
808
+ EnumListConfigurationOptions = Shapes::StructureShape.new(name: 'EnumListConfigurationOptions')
802
809
  FieldMap = Shapes::MapShape.new(name: 'FieldMap')
803
810
  FilePathList = Shapes::ListShape.new(name: 'FilePathList')
804
811
  FilePaths = Shapes::StructureShape.new(name: 'FilePaths')
@@ -841,6 +848,8 @@ module Aws::SecurityHub
841
848
  GetMasterAccountResponse = Shapes::StructureShape.new(name: 'GetMasterAccountResponse')
842
849
  GetMembersRequest = Shapes::StructureShape.new(name: 'GetMembersRequest')
843
850
  GetMembersResponse = Shapes::StructureShape.new(name: 'GetMembersResponse')
851
+ GetSecurityControlDefinitionRequest = Shapes::StructureShape.new(name: 'GetSecurityControlDefinitionRequest')
852
+ GetSecurityControlDefinitionResponse = Shapes::StructureShape.new(name: 'GetSecurityControlDefinitionResponse')
844
853
  IcmpTypeCode = Shapes::StructureShape.new(name: 'IcmpTypeCode')
845
854
  ImportFindingsError = Shapes::StructureShape.new(name: 'ImportFindingsError')
846
855
  ImportFindingsErrorList = Shapes::ListShape.new(name: 'ImportFindingsErrorList')
@@ -850,7 +859,9 @@ module Aws::SecurityHub
850
859
  InsightResultValueList = Shapes::ListShape.new(name: 'InsightResultValueList')
851
860
  InsightResults = Shapes::StructureShape.new(name: 'InsightResults')
852
861
  Integer = Shapes::IntegerShape.new(name: 'Integer')
862
+ IntegerConfigurationOptions = Shapes::StructureShape.new(name: 'IntegerConfigurationOptions')
853
863
  IntegerList = Shapes::ListShape.new(name: 'IntegerList')
864
+ IntegerListConfigurationOptions = Shapes::StructureShape.new(name: 'IntegerListConfigurationOptions')
854
865
  IntegrationType = Shapes::StringShape.new(name: 'IntegrationType')
855
866
  IntegrationTypeList = Shapes::ListShape.new(name: 'IntegrationTypeList')
856
867
  InternalException = Shapes::StructureShape.new(name: 'InternalException')
@@ -915,6 +926,12 @@ module Aws::SecurityHub
915
926
  Occurrences = Shapes::StructureShape.new(name: 'Occurrences')
916
927
  Page = Shapes::StructureShape.new(name: 'Page')
917
928
  Pages = Shapes::ListShape.new(name: 'Pages')
929
+ ParameterConfiguration = Shapes::StructureShape.new(name: 'ParameterConfiguration')
930
+ ParameterDefinition = Shapes::StructureShape.new(name: 'ParameterDefinition')
931
+ ParameterDefinitions = Shapes::MapShape.new(name: 'ParameterDefinitions')
932
+ ParameterValue = Shapes::UnionShape.new(name: 'ParameterValue')
933
+ ParameterValueType = Shapes::StringShape.new(name: 'ParameterValueType')
934
+ Parameters = Shapes::MapShape.new(name: 'Parameters')
918
935
  Partition = Shapes::StringShape.new(name: 'Partition')
919
936
  PatchSummary = Shapes::StructureShape.new(name: 'PatchSummary')
920
937
  PortProbeAction = Shapes::StructureShape.new(name: 'PortProbeAction')
@@ -945,6 +962,7 @@ module Aws::SecurityHub
945
962
  ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
946
963
  ResourceConflictException = Shapes::StructureShape.new(name: 'ResourceConflictException')
947
964
  ResourceDetails = Shapes::StructureShape.new(name: 'ResourceDetails')
965
+ ResourceInUseException = Shapes::StructureShape.new(name: 'ResourceInUseException')
948
966
  ResourceList = Shapes::ListShape.new(name: 'ResourceList')
949
967
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
950
968
  Result = Shapes::StructureShape.new(name: 'Result')
@@ -986,6 +1004,9 @@ module Aws::SecurityHub
986
1004
  SecurityControl = Shapes::StructureShape.new(name: 'SecurityControl')
987
1005
  SecurityControlDefinition = Shapes::StructureShape.new(name: 'SecurityControlDefinition')
988
1006
  SecurityControlDefinitions = Shapes::ListShape.new(name: 'SecurityControlDefinitions')
1007
+ SecurityControlParameter = Shapes::StructureShape.new(name: 'SecurityControlParameter')
1008
+ SecurityControlParametersList = Shapes::ListShape.new(name: 'SecurityControlParametersList')
1009
+ SecurityControlProperty = Shapes::StringShape.new(name: 'SecurityControlProperty')
989
1010
  SecurityControls = Shapes::ListShape.new(name: 'SecurityControls')
990
1011
  SecurityGroups = Shapes::ListShape.new(name: 'SecurityGroups')
991
1012
  SensitiveDataDetections = Shapes::StructureShape.new(name: 'SensitiveDataDetections')
@@ -1031,10 +1052,12 @@ module Aws::SecurityHub
1031
1052
  StatusReason = Shapes::StructureShape.new(name: 'StatusReason')
1032
1053
  StatusReasonCode = Shapes::StringShape.new(name: 'StatusReasonCode')
1033
1054
  StatusReasonsList = Shapes::ListShape.new(name: 'StatusReasonsList')
1055
+ StringConfigurationOptions = Shapes::StructureShape.new(name: 'StringConfigurationOptions')
1034
1056
  StringFilter = Shapes::StructureShape.new(name: 'StringFilter')
1035
1057
  StringFilterComparison = Shapes::StringShape.new(name: 'StringFilterComparison')
1036
1058
  StringFilterList = Shapes::ListShape.new(name: 'StringFilterList')
1037
1059
  StringList = Shapes::ListShape.new(name: 'StringList')
1060
+ StringListConfigurationOptions = Shapes::StructureShape.new(name: 'StringListConfigurationOptions')
1038
1061
  TagKey = Shapes::StringShape.new(name: 'TagKey')
1039
1062
  TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
1040
1063
  TagMap = Shapes::MapShape.new(name: 'TagMap')
@@ -1072,10 +1095,13 @@ module Aws::SecurityHub
1072
1095
  UpdateInsightResponse = Shapes::StructureShape.new(name: 'UpdateInsightResponse')
1073
1096
  UpdateOrganizationConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateOrganizationConfigurationRequest')
1074
1097
  UpdateOrganizationConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateOrganizationConfigurationResponse')
1098
+ UpdateSecurityControlRequest = Shapes::StructureShape.new(name: 'UpdateSecurityControlRequest')
1099
+ UpdateSecurityControlResponse = Shapes::StructureShape.new(name: 'UpdateSecurityControlResponse')
1075
1100
  UpdateSecurityHubConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateSecurityHubConfigurationRequest')
1076
1101
  UpdateSecurityHubConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateSecurityHubConfigurationResponse')
1077
1102
  UpdateStandardsControlRequest = Shapes::StructureShape.new(name: 'UpdateStandardsControlRequest')
1078
1103
  UpdateStandardsControlResponse = Shapes::StructureShape.new(name: 'UpdateStandardsControlResponse')
1104
+ UpdateStatus = Shapes::StringShape.new(name: 'UpdateStatus')
1079
1105
  VerificationState = Shapes::StringShape.new(name: 'VerificationState')
1080
1106
  VolumeMount = Shapes::StructureShape.new(name: 'VolumeMount')
1081
1107
  VolumeMountList = Shapes::ListShape.new(name: 'VolumeMountList')
@@ -4614,6 +4640,10 @@ module Aws::SecurityHub
4614
4640
  AwsSecurityFindingFilters.add_member(:sample, Shapes::ShapeRef.new(shape: BooleanFilterList, location_name: "Sample"))
4615
4641
  AwsSecurityFindingFilters.add_member(:compliance_security_control_id, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "ComplianceSecurityControlId"))
4616
4642
  AwsSecurityFindingFilters.add_member(:compliance_associated_standards_id, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "ComplianceAssociatedStandardsId"))
4643
+ AwsSecurityFindingFilters.add_member(:vulnerabilities_exploit_available, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "VulnerabilitiesExploitAvailable"))
4644
+ AwsSecurityFindingFilters.add_member(:vulnerabilities_fix_available, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "VulnerabilitiesFixAvailable"))
4645
+ AwsSecurityFindingFilters.add_member(:compliance_security_control_parameters_name, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "ComplianceSecurityControlParametersName"))
4646
+ AwsSecurityFindingFilters.add_member(:compliance_security_control_parameters_value, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "ComplianceSecurityControlParametersValue"))
4617
4647
  AwsSecurityFindingFilters.struct_class = Types::AwsSecurityFindingFilters
4618
4648
 
4619
4649
  AwsSecurityFindingIdentifier.add_member(:id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "Id"))
@@ -4998,6 +5028,9 @@ module Aws::SecurityHub
4998
5028
  BatchUpdateStandardsControlAssociationsResponse.add_member(:unprocessed_association_updates, Shapes::ShapeRef.new(shape: UnprocessedStandardsControlAssociationUpdates, location_name: "UnprocessedAssociationUpdates"))
4999
5029
  BatchUpdateStandardsControlAssociationsResponse.struct_class = Types::BatchUpdateStandardsControlAssociationsResponse
5000
5030
 
5031
+ BooleanConfigurationOptions.add_member(:default_value, Shapes::ShapeRef.new(shape: Boolean, location_name: "DefaultValue"))
5032
+ BooleanConfigurationOptions.struct_class = Types::BooleanConfigurationOptions
5033
+
5001
5034
  BooleanFilter.add_member(:value, Shapes::ShapeRef.new(shape: Boolean, location_name: "Value"))
5002
5035
  BooleanFilter.struct_class = Types::BooleanFilter
5003
5036
 
@@ -5051,8 +5084,29 @@ module Aws::SecurityHub
5051
5084
  Compliance.add_member(:status_reasons, Shapes::ShapeRef.new(shape: StatusReasonsList, location_name: "StatusReasons"))
5052
5085
  Compliance.add_member(:security_control_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "SecurityControlId"))
5053
5086
  Compliance.add_member(:associated_standards, Shapes::ShapeRef.new(shape: AssociatedStandardsList, location_name: "AssociatedStandards"))
5087
+ Compliance.add_member(:security_control_parameters, Shapes::ShapeRef.new(shape: SecurityControlParametersList, location_name: "SecurityControlParameters"))
5054
5088
  Compliance.struct_class = Types::Compliance
5055
5089
 
5090
+ ConfigurationOptions.add_member(:integer, Shapes::ShapeRef.new(shape: IntegerConfigurationOptions, location_name: "Integer"))
5091
+ ConfigurationOptions.add_member(:integer_list, Shapes::ShapeRef.new(shape: IntegerListConfigurationOptions, location_name: "IntegerList"))
5092
+ ConfigurationOptions.add_member(:double, Shapes::ShapeRef.new(shape: DoubleConfigurationOptions, location_name: "Double"))
5093
+ ConfigurationOptions.add_member(:string, Shapes::ShapeRef.new(shape: StringConfigurationOptions, location_name: "String"))
5094
+ ConfigurationOptions.add_member(:string_list, Shapes::ShapeRef.new(shape: StringListConfigurationOptions, location_name: "StringList"))
5095
+ ConfigurationOptions.add_member(:boolean, Shapes::ShapeRef.new(shape: BooleanConfigurationOptions, location_name: "Boolean"))
5096
+ ConfigurationOptions.add_member(:enum, Shapes::ShapeRef.new(shape: EnumConfigurationOptions, location_name: "Enum"))
5097
+ ConfigurationOptions.add_member(:enum_list, Shapes::ShapeRef.new(shape: EnumListConfigurationOptions, location_name: "EnumList"))
5098
+ ConfigurationOptions.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
5099
+ ConfigurationOptions.add_member_subclass(:integer, Types::ConfigurationOptions::Integer)
5100
+ ConfigurationOptions.add_member_subclass(:integer_list, Types::ConfigurationOptions::IntegerList)
5101
+ ConfigurationOptions.add_member_subclass(:double, Types::ConfigurationOptions::Double)
5102
+ ConfigurationOptions.add_member_subclass(:string, Types::ConfigurationOptions::String)
5103
+ ConfigurationOptions.add_member_subclass(:string_list, Types::ConfigurationOptions::StringList)
5104
+ ConfigurationOptions.add_member_subclass(:boolean, Types::ConfigurationOptions::Boolean)
5105
+ ConfigurationOptions.add_member_subclass(:enum, Types::ConfigurationOptions::Enum)
5106
+ ConfigurationOptions.add_member_subclass(:enum_list, Types::ConfigurationOptions::EnumList)
5107
+ ConfigurationOptions.add_member_subclass(:unknown, Types::ConfigurationOptions::Unknown)
5108
+ ConfigurationOptions.struct_class = Types::ConfigurationOptions
5109
+
5056
5110
  ContainerDetails.add_member(:container_runtime, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "ContainerRuntime"))
5057
5111
  ContainerDetails.add_member(:name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Name"))
5058
5112
  ContainerDetails.add_member(:image_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "ImageId"))
@@ -5123,6 +5177,8 @@ module Aws::SecurityHub
5123
5177
  CustomDataIdentifiersResult.add_member(:total_count, Shapes::ShapeRef.new(shape: Long, location_name: "TotalCount"))
5124
5178
  CustomDataIdentifiersResult.struct_class = Types::CustomDataIdentifiersResult
5125
5179
 
5180
+ CustomizableProperties.member = Shapes::ShapeRef.new(shape: SecurityControlProperty)
5181
+
5126
5182
  Cvss.add_member(:version, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Version"))
5127
5183
  Cvss.add_member(:base_score, Shapes::ShapeRef.new(shape: Double, location_name: "BaseScore"))
5128
5184
  Cvss.add_member(:base_vector, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "BaseVector"))
@@ -5265,6 +5321,11 @@ module Aws::SecurityHub
5265
5321
  DnsRequestAction.add_member(:blocked, Shapes::ShapeRef.new(shape: Boolean, location_name: "Blocked"))
5266
5322
  DnsRequestAction.struct_class = Types::DnsRequestAction
5267
5323
 
5324
+ DoubleConfigurationOptions.add_member(:default_value, Shapes::ShapeRef.new(shape: Double, location_name: "DefaultValue"))
5325
+ DoubleConfigurationOptions.add_member(:min, Shapes::ShapeRef.new(shape: Double, location_name: "Min"))
5326
+ DoubleConfigurationOptions.add_member(:max, Shapes::ShapeRef.new(shape: Double, location_name: "Max"))
5327
+ DoubleConfigurationOptions.struct_class = Types::DoubleConfigurationOptions
5328
+
5268
5329
  EnableImportFindingsForProductRequest.add_member(:product_arn, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "ProductArn"))
5269
5330
  EnableImportFindingsForProductRequest.struct_class = Types::EnableImportFindingsForProductRequest
5270
5331
 
@@ -5283,6 +5344,15 @@ module Aws::SecurityHub
5283
5344
 
5284
5345
  EnableSecurityHubResponse.struct_class = Types::EnableSecurityHubResponse
5285
5346
 
5347
+ EnumConfigurationOptions.add_member(:default_value, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "DefaultValue"))
5348
+ EnumConfigurationOptions.add_member(:allowed_values, Shapes::ShapeRef.new(shape: StringList, location_name: "AllowedValues"))
5349
+ EnumConfigurationOptions.struct_class = Types::EnumConfigurationOptions
5350
+
5351
+ EnumListConfigurationOptions.add_member(:default_value, Shapes::ShapeRef.new(shape: StringList, location_name: "DefaultValue"))
5352
+ EnumListConfigurationOptions.add_member(:max_items, Shapes::ShapeRef.new(shape: Integer, location_name: "MaxItems"))
5353
+ EnumListConfigurationOptions.add_member(:allowed_values, Shapes::ShapeRef.new(shape: StringList, location_name: "AllowedValues"))
5354
+ EnumListConfigurationOptions.struct_class = Types::EnumListConfigurationOptions
5355
+
5286
5356
  FieldMap.key = Shapes::ShapeRef.new(shape: NonEmptyString)
5287
5357
  FieldMap.value = Shapes::ShapeRef.new(shape: NonEmptyString)
5288
5358
 
@@ -5440,6 +5510,12 @@ module Aws::SecurityHub
5440
5510
  GetMembersResponse.add_member(:unprocessed_accounts, Shapes::ShapeRef.new(shape: ResultList, location_name: "UnprocessedAccounts"))
5441
5511
  GetMembersResponse.struct_class = Types::GetMembersResponse
5442
5512
 
5513
+ GetSecurityControlDefinitionRequest.add_member(:security_control_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "querystring", location_name: "SecurityControlId"))
5514
+ GetSecurityControlDefinitionRequest.struct_class = Types::GetSecurityControlDefinitionRequest
5515
+
5516
+ GetSecurityControlDefinitionResponse.add_member(:security_control_definition, Shapes::ShapeRef.new(shape: SecurityControlDefinition, required: true, location_name: "SecurityControlDefinition"))
5517
+ GetSecurityControlDefinitionResponse.struct_class = Types::GetSecurityControlDefinitionResponse
5518
+
5443
5519
  IcmpTypeCode.add_member(:code, Shapes::ShapeRef.new(shape: Integer, location_name: "Code"))
5444
5520
  IcmpTypeCode.add_member(:type, Shapes::ShapeRef.new(shape: Integer, location_name: "Type"))
5445
5521
  IcmpTypeCode.struct_class = Types::IcmpTypeCode
@@ -5470,8 +5546,19 @@ module Aws::SecurityHub
5470
5546
  InsightResults.add_member(:result_values, Shapes::ShapeRef.new(shape: InsightResultValueList, required: true, location_name: "ResultValues"))
5471
5547
  InsightResults.struct_class = Types::InsightResults
5472
5548
 
5549
+ IntegerConfigurationOptions.add_member(:default_value, Shapes::ShapeRef.new(shape: Integer, location_name: "DefaultValue"))
5550
+ IntegerConfigurationOptions.add_member(:min, Shapes::ShapeRef.new(shape: Integer, location_name: "Min"))
5551
+ IntegerConfigurationOptions.add_member(:max, Shapes::ShapeRef.new(shape: Integer, location_name: "Max"))
5552
+ IntegerConfigurationOptions.struct_class = Types::IntegerConfigurationOptions
5553
+
5473
5554
  IntegerList.member = Shapes::ShapeRef.new(shape: Integer)
5474
5555
 
5556
+ IntegerListConfigurationOptions.add_member(:default_value, Shapes::ShapeRef.new(shape: IntegerList, location_name: "DefaultValue"))
5557
+ IntegerListConfigurationOptions.add_member(:min, Shapes::ShapeRef.new(shape: Integer, location_name: "Min"))
5558
+ IntegerListConfigurationOptions.add_member(:max, Shapes::ShapeRef.new(shape: Integer, location_name: "Max"))
5559
+ IntegerListConfigurationOptions.add_member(:max_items, Shapes::ShapeRef.new(shape: Integer, location_name: "MaxItems"))
5560
+ IntegerListConfigurationOptions.struct_class = Types::IntegerListConfigurationOptions
5561
+
5475
5562
  IntegrationTypeList.member = Shapes::ShapeRef.new(shape: IntegrationType)
5476
5563
 
5477
5564
  InternalException.add_member(:message, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Message"))
@@ -5683,6 +5770,8 @@ module Aws::SecurityHub
5683
5770
  NumberFilter.add_member(:gte, Shapes::ShapeRef.new(shape: Double, location_name: "Gte"))
5684
5771
  NumberFilter.add_member(:lte, Shapes::ShapeRef.new(shape: Double, location_name: "Lte"))
5685
5772
  NumberFilter.add_member(:eq, Shapes::ShapeRef.new(shape: Double, location_name: "Eq"))
5773
+ NumberFilter.add_member(:gt, Shapes::ShapeRef.new(shape: Double, location_name: "Gt"))
5774
+ NumberFilter.add_member(:lt, Shapes::ShapeRef.new(shape: Double, location_name: "Lt"))
5686
5775
  NumberFilter.struct_class = Types::NumberFilter
5687
5776
 
5688
5777
  NumberFilterList.member = Shapes::ShapeRef.new(shape: NumberFilter)
@@ -5701,6 +5790,40 @@ module Aws::SecurityHub
5701
5790
 
5702
5791
  Pages.member = Shapes::ShapeRef.new(shape: Page)
5703
5792
 
5793
+ ParameterConfiguration.add_member(:value_type, Shapes::ShapeRef.new(shape: ParameterValueType, required: true, location_name: "ValueType"))
5794
+ ParameterConfiguration.add_member(:value, Shapes::ShapeRef.new(shape: ParameterValue, location_name: "Value"))
5795
+ ParameterConfiguration.struct_class = Types::ParameterConfiguration
5796
+
5797
+ ParameterDefinition.add_member(:description, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "Description"))
5798
+ ParameterDefinition.add_member(:configuration_options, Shapes::ShapeRef.new(shape: ConfigurationOptions, required: true, location_name: "ConfigurationOptions"))
5799
+ ParameterDefinition.struct_class = Types::ParameterDefinition
5800
+
5801
+ ParameterDefinitions.key = Shapes::ShapeRef.new(shape: NonEmptyString)
5802
+ ParameterDefinitions.value = Shapes::ShapeRef.new(shape: ParameterDefinition)
5803
+
5804
+ ParameterValue.add_member(:integer, Shapes::ShapeRef.new(shape: Integer, location_name: "Integer"))
5805
+ ParameterValue.add_member(:integer_list, Shapes::ShapeRef.new(shape: IntegerList, location_name: "IntegerList"))
5806
+ ParameterValue.add_member(:double, Shapes::ShapeRef.new(shape: Double, location_name: "Double"))
5807
+ ParameterValue.add_member(:string, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "String"))
5808
+ ParameterValue.add_member(:string_list, Shapes::ShapeRef.new(shape: StringList, location_name: "StringList"))
5809
+ ParameterValue.add_member(:boolean, Shapes::ShapeRef.new(shape: Boolean, location_name: "Boolean"))
5810
+ ParameterValue.add_member(:enum, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Enum"))
5811
+ ParameterValue.add_member(:enum_list, Shapes::ShapeRef.new(shape: StringList, location_name: "EnumList"))
5812
+ ParameterValue.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
5813
+ ParameterValue.add_member_subclass(:integer, Types::ParameterValue::Integer)
5814
+ ParameterValue.add_member_subclass(:integer_list, Types::ParameterValue::IntegerList)
5815
+ ParameterValue.add_member_subclass(:double, Types::ParameterValue::Double)
5816
+ ParameterValue.add_member_subclass(:string, Types::ParameterValue::String)
5817
+ ParameterValue.add_member_subclass(:string_list, Types::ParameterValue::StringList)
5818
+ ParameterValue.add_member_subclass(:boolean, Types::ParameterValue::Boolean)
5819
+ ParameterValue.add_member_subclass(:enum, Types::ParameterValue::Enum)
5820
+ ParameterValue.add_member_subclass(:enum_list, Types::ParameterValue::EnumList)
5821
+ ParameterValue.add_member_subclass(:unknown, Types::ParameterValue::Unknown)
5822
+ ParameterValue.struct_class = Types::ParameterValue
5823
+
5824
+ Parameters.key = Shapes::ShapeRef.new(shape: NonEmptyString)
5825
+ Parameters.value = Shapes::ShapeRef.new(shape: ParameterConfiguration)
5826
+
5704
5827
  PatchSummary.add_member(:id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "Id"))
5705
5828
  PatchSummary.add_member(:installed_count, Shapes::ShapeRef.new(shape: Integer, location_name: "InstalledCount"))
5706
5829
  PatchSummary.add_member(:missing_count, Shapes::ShapeRef.new(shape: Integer, location_name: "MissingCount"))
@@ -5904,6 +6027,10 @@ module Aws::SecurityHub
5904
6027
  ResourceDetails.add_member(:aws_msk_cluster, Shapes::ShapeRef.new(shape: AwsMskClusterDetails, location_name: "AwsMskCluster"))
5905
6028
  ResourceDetails.struct_class = Types::ResourceDetails
5906
6029
 
6030
+ ResourceInUseException.add_member(:message, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Message"))
6031
+ ResourceInUseException.add_member(:code, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Code"))
6032
+ ResourceInUseException.struct_class = Types::ResourceInUseException
6033
+
5907
6034
  ResourceList.member = Shapes::ShapeRef.new(shape: Resource)
5908
6035
 
5909
6036
  ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Message"))
@@ -6049,6 +6176,9 @@ module Aws::SecurityHub
6049
6176
  SecurityControl.add_member(:remediation_url, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "RemediationUrl"))
6050
6177
  SecurityControl.add_member(:severity_rating, Shapes::ShapeRef.new(shape: SeverityRating, required: true, location_name: "SeverityRating"))
6051
6178
  SecurityControl.add_member(:security_control_status, Shapes::ShapeRef.new(shape: ControlStatus, required: true, location_name: "SecurityControlStatus"))
6179
+ SecurityControl.add_member(:update_status, Shapes::ShapeRef.new(shape: UpdateStatus, location_name: "UpdateStatus"))
6180
+ SecurityControl.add_member(:parameters, Shapes::ShapeRef.new(shape: Parameters, location_name: "Parameters"))
6181
+ SecurityControl.add_member(:last_update_reason, Shapes::ShapeRef.new(shape: AlphaNumericNonEmptyString, location_name: "LastUpdateReason"))
6052
6182
  SecurityControl.struct_class = Types::SecurityControl
6053
6183
 
6054
6184
  SecurityControlDefinition.add_member(:security_control_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "SecurityControlId"))
@@ -6057,10 +6187,18 @@ module Aws::SecurityHub
6057
6187
  SecurityControlDefinition.add_member(:remediation_url, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "RemediationUrl"))
6058
6188
  SecurityControlDefinition.add_member(:severity_rating, Shapes::ShapeRef.new(shape: SeverityRating, required: true, location_name: "SeverityRating"))
6059
6189
  SecurityControlDefinition.add_member(:current_region_availability, Shapes::ShapeRef.new(shape: RegionAvailabilityStatus, required: true, location_name: "CurrentRegionAvailability"))
6190
+ SecurityControlDefinition.add_member(:customizable_properties, Shapes::ShapeRef.new(shape: CustomizableProperties, location_name: "CustomizableProperties"))
6191
+ SecurityControlDefinition.add_member(:parameter_definitions, Shapes::ShapeRef.new(shape: ParameterDefinitions, location_name: "ParameterDefinitions"))
6060
6192
  SecurityControlDefinition.struct_class = Types::SecurityControlDefinition
6061
6193
 
6062
6194
  SecurityControlDefinitions.member = Shapes::ShapeRef.new(shape: SecurityControlDefinition)
6063
6195
 
6196
+ SecurityControlParameter.add_member(:name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Name"))
6197
+ SecurityControlParameter.add_member(:value, Shapes::ShapeRef.new(shape: TypeList, location_name: "Value"))
6198
+ SecurityControlParameter.struct_class = Types::SecurityControlParameter
6199
+
6200
+ SecurityControlParametersList.member = Shapes::ShapeRef.new(shape: SecurityControlParameter)
6201
+
6064
6202
  SecurityControls.member = Shapes::ShapeRef.new(shape: SecurityControl)
6065
6203
 
6066
6204
  SecurityGroups.member = Shapes::ShapeRef.new(shape: NonEmptyString)
@@ -6221,6 +6359,11 @@ module Aws::SecurityHub
6221
6359
 
6222
6360
  StatusReasonsList.member = Shapes::ShapeRef.new(shape: StatusReason)
6223
6361
 
6362
+ StringConfigurationOptions.add_member(:default_value, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "DefaultValue"))
6363
+ StringConfigurationOptions.add_member(:re_2_expression, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Re2Expression"))
6364
+ StringConfigurationOptions.add_member(:expression_description, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "ExpressionDescription"))
6365
+ StringConfigurationOptions.struct_class = Types::StringConfigurationOptions
6366
+
6224
6367
  StringFilter.add_member(:value, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Value"))
6225
6368
  StringFilter.add_member(:comparison, Shapes::ShapeRef.new(shape: StringFilterComparison, location_name: "Comparison"))
6226
6369
  StringFilter.struct_class = Types::StringFilter
@@ -6229,6 +6372,12 @@ module Aws::SecurityHub
6229
6372
 
6230
6373
  StringList.member = Shapes::ShapeRef.new(shape: NonEmptyString)
6231
6374
 
6375
+ StringListConfigurationOptions.add_member(:default_value, Shapes::ShapeRef.new(shape: StringList, location_name: "DefaultValue"))
6376
+ StringListConfigurationOptions.add_member(:re_2_expression, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Re2Expression"))
6377
+ StringListConfigurationOptions.add_member(:max_items, Shapes::ShapeRef.new(shape: Integer, location_name: "MaxItems"))
6378
+ StringListConfigurationOptions.add_member(:expression_description, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "ExpressionDescription"))
6379
+ StringListConfigurationOptions.struct_class = Types::StringListConfigurationOptions
6380
+
6232
6381
  TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
6233
6382
 
6234
6383
  TagMap.key = Shapes::ShapeRef.new(shape: TagKey)
@@ -6345,6 +6494,13 @@ module Aws::SecurityHub
6345
6494
 
6346
6495
  UpdateOrganizationConfigurationResponse.struct_class = Types::UpdateOrganizationConfigurationResponse
6347
6496
 
6497
+ UpdateSecurityControlRequest.add_member(:security_control_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "SecurityControlId"))
6498
+ UpdateSecurityControlRequest.add_member(:parameters, Shapes::ShapeRef.new(shape: Parameters, required: true, location_name: "Parameters"))
6499
+ UpdateSecurityControlRequest.add_member(:last_update_reason, Shapes::ShapeRef.new(shape: AlphaNumericNonEmptyString, location_name: "LastUpdateReason"))
6500
+ UpdateSecurityControlRequest.struct_class = Types::UpdateSecurityControlRequest
6501
+
6502
+ UpdateSecurityControlResponse.struct_class = Types::UpdateSecurityControlResponse
6503
+
6348
6504
  UpdateSecurityHubConfigurationRequest.add_member(:auto_enable_controls, Shapes::ShapeRef.new(shape: Boolean, location_name: "AutoEnableControls"))
6349
6505
  UpdateSecurityHubConfigurationRequest.add_member(:control_finding_generator, Shapes::ShapeRef.new(shape: ControlFindingGenerator, location_name: "ControlFindingGenerator"))
6350
6506
  UpdateSecurityHubConfigurationRequest.struct_class = Types::UpdateSecurityHubConfigurationRequest
@@ -7098,6 +7254,19 @@ module Aws::SecurityHub
7098
7254
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
7099
7255
  end)
7100
7256
 
7257
+ api.add_operation(:get_security_control_definition, Seahorse::Model::Operation.new.tap do |o|
7258
+ o.name = "GetSecurityControlDefinition"
7259
+ o.http_method = "GET"
7260
+ o.http_request_uri = "/securityControl/definition"
7261
+ o.input = Shapes::ShapeRef.new(shape: GetSecurityControlDefinitionRequest)
7262
+ o.output = Shapes::ShapeRef.new(shape: GetSecurityControlDefinitionResponse)
7263
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
7264
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
7265
+ o.errors << Shapes::ShapeRef.new(shape: InvalidAccessException)
7266
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
7267
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
7268
+ end)
7269
+
7101
7270
  api.add_operation(:invite_members, Seahorse::Model::Operation.new.tap do |o|
7102
7271
  o.name = "InviteMembers"
7103
7272
  o.http_method = "POST"
@@ -7348,6 +7517,20 @@ module Aws::SecurityHub
7348
7517
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
7349
7518
  end)
7350
7519
 
7520
+ api.add_operation(:update_security_control, Seahorse::Model::Operation.new.tap do |o|
7521
+ o.name = "UpdateSecurityControl"
7522
+ o.http_method = "PATCH"
7523
+ o.http_request_uri = "/securityControl/update"
7524
+ o.input = Shapes::ShapeRef.new(shape: UpdateSecurityControlRequest)
7525
+ o.output = Shapes::ShapeRef.new(shape: UpdateSecurityControlResponse)
7526
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
7527
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
7528
+ o.errors << Shapes::ShapeRef.new(shape: InvalidAccessException)
7529
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
7530
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
7531
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
7532
+ end)
7533
+
7351
7534
  api.add_operation(:update_security_hub_configuration, Seahorse::Model::Operation.new.tap do |o|
7352
7535
  o.name = "UpdateSecurityHubConfiguration"
7353
7536
  o.http_method = "PATCH"
@@ -32,7 +32,7 @@ module Aws::SecurityHub
32
32
  raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
33
  end
34
34
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
+ if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
36
36
  return Aws::Endpoints::Endpoint.new(url: "https://securityhub-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
37
  end
38
38
  raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
@@ -684,6 +684,20 @@ module Aws::SecurityHub
684
684
  end
685
685
  end
686
686
 
687
+ class GetSecurityControlDefinition
688
+ def self.build(context)
689
+ unless context.config.regional_endpoint
690
+ endpoint = context.config.endpoint.to_s
691
+ end
692
+ Aws::SecurityHub::EndpointParameters.new(
693
+ region: context.config.region,
694
+ use_dual_stack: context.config.use_dualstack_endpoint,
695
+ use_fips: context.config.use_fips_endpoint,
696
+ endpoint: endpoint,
697
+ )
698
+ end
699
+ end
700
+
687
701
  class InviteMembers
688
702
  def self.build(context)
689
703
  unless context.config.regional_endpoint
@@ -922,6 +936,20 @@ module Aws::SecurityHub
922
936
  end
923
937
  end
924
938
 
939
+ class UpdateSecurityControl
940
+ def self.build(context)
941
+ unless context.config.regional_endpoint
942
+ endpoint = context.config.endpoint.to_s
943
+ end
944
+ Aws::SecurityHub::EndpointParameters.new(
945
+ region: context.config.region,
946
+ use_dual_stack: context.config.use_dualstack_endpoint,
947
+ use_fips: context.config.use_fips_endpoint,
948
+ endpoint: endpoint,
949
+ )
950
+ end
951
+ end
952
+
925
953
  class UpdateSecurityHubConfiguration
926
954
  def self.build(context)
927
955
  unless context.config.regional_endpoint
@@ -33,6 +33,7 @@ module Aws::SecurityHub
33
33
  # * {InvalidInputException}
34
34
  # * {LimitExceededException}
35
35
  # * {ResourceConflictException}
36
+ # * {ResourceInUseException}
36
37
  # * {ResourceNotFoundException}
37
38
  #
38
39
  # Additionally, error classes are dynamically generated for service errors based on the error code
@@ -161,6 +162,26 @@ module Aws::SecurityHub
161
162
  end
162
163
  end
163
164
 
165
+ class ResourceInUseException < ServiceError
166
+
167
+ # @param [Seahorse::Client::RequestContext] context
168
+ # @param [String] message
169
+ # @param [Aws::SecurityHub::Types::ResourceInUseException] data
170
+ def initialize(context, message, data = Aws::EmptyStructure.new)
171
+ super(context, message, data)
172
+ end
173
+
174
+ # @return [String]
175
+ def message
176
+ @message || @data[:message]
177
+ end
178
+
179
+ # @return [String]
180
+ def code
181
+ @code || @data[:code]
182
+ end
183
+ end
184
+
164
185
  class ResourceNotFoundException < ServiceError
165
186
 
166
187
  # @param [Seahorse::Client::RequestContext] context
@@ -152,6 +152,8 @@ module Aws::SecurityHub
152
152
  Aws::SecurityHub::Endpoints::GetMasterAccount.build(context)
153
153
  when :get_members
154
154
  Aws::SecurityHub::Endpoints::GetMembers.build(context)
155
+ when :get_security_control_definition
156
+ Aws::SecurityHub::Endpoints::GetSecurityControlDefinition.build(context)
155
157
  when :invite_members
156
158
  Aws::SecurityHub::Endpoints::InviteMembers.build(context)
157
159
  when :list_automation_rules
@@ -186,6 +188,8 @@ module Aws::SecurityHub
186
188
  Aws::SecurityHub::Endpoints::UpdateInsight.build(context)
187
189
  when :update_organization_configuration
188
190
  Aws::SecurityHub::Endpoints::UpdateOrganizationConfiguration.build(context)
191
+ when :update_security_control
192
+ Aws::SecurityHub::Endpoints::UpdateSecurityControl.build(context)
189
193
  when :update_security_hub_configuration
190
194
  Aws::SecurityHub::Endpoints::UpdateSecurityHubConfiguration.build(context)
191
195
  when :update_standards_control