aws-sdk-securityhub 1.166.0 → 1.167.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-securityhub/client.rb +696 -1
- data/lib/aws-sdk-securityhub/client_api.rb +182 -0
- data/lib/aws-sdk-securityhub/types.rb +546 -1
- data/lib/aws-sdk-securityhub.rb +1 -1
- data/sig/client.rbs +78 -0
- data/sig/types.rbs +131 -0
- metadata +1 -1
|
@@ -771,6 +771,8 @@ module Aws::SecurityHub
|
|
|
771
771
|
BooleanConfigurationOptions = Shapes::StructureShape.new(name: 'BooleanConfigurationOptions')
|
|
772
772
|
BooleanFilter = Shapes::StructureShape.new(name: 'BooleanFilter')
|
|
773
773
|
BooleanFilterList = Shapes::ListShape.new(name: 'BooleanFilterList')
|
|
774
|
+
CancelExportJobV2Request = Shapes::StructureShape.new(name: 'CancelExportJobV2Request')
|
|
775
|
+
CancelExportJobV2Response = Shapes::StructureShape.new(name: 'CancelExportJobV2Response')
|
|
774
776
|
CategoryList = Shapes::ListShape.new(name: 'CategoryList')
|
|
775
777
|
Cell = Shapes::StructureShape.new(name: 'Cell')
|
|
776
778
|
Cells = Shapes::ListShape.new(name: 'Cells')
|
|
@@ -929,6 +931,18 @@ module Aws::SecurityHub
|
|
|
929
931
|
EnablementStatus = Shapes::StringShape.new(name: 'EnablementStatus')
|
|
930
932
|
EnumConfigurationOptions = Shapes::StructureShape.new(name: 'EnumConfigurationOptions')
|
|
931
933
|
EnumListConfigurationOptions = Shapes::StructureShape.new(name: 'EnumListConfigurationOptions')
|
|
934
|
+
ExportDataType = Shapes::StringShape.new(name: 'ExportDataType')
|
|
935
|
+
ExportDestination = Shapes::UnionShape.new(name: 'ExportDestination')
|
|
936
|
+
ExportFailureCode = Shapes::StringShape.new(name: 'ExportFailureCode')
|
|
937
|
+
ExportJobId = Shapes::StringShape.new(name: 'ExportJobId')
|
|
938
|
+
ExportMaxResults = Shapes::IntegerShape.new(name: 'ExportMaxResults')
|
|
939
|
+
ExportName = Shapes::StringShape.new(name: 'ExportName')
|
|
940
|
+
ExportOutput = Shapes::UnionShape.new(name: 'ExportOutput')
|
|
941
|
+
ExportOutputSummary = Shapes::UnionShape.new(name: 'ExportOutputSummary')
|
|
942
|
+
ExportScopes = Shapes::StructureShape.new(name: 'ExportScopes')
|
|
943
|
+
ExportStatus = Shapes::StringShape.new(name: 'ExportStatus')
|
|
944
|
+
ExportSummary = Shapes::StructureShape.new(name: 'ExportSummary')
|
|
945
|
+
ExportSummaryList = Shapes::ListShape.new(name: 'ExportSummaryList')
|
|
932
946
|
ExposureFinding = Shapes::StructureShape.new(name: 'ExposureFinding')
|
|
933
947
|
ExposureFindingItemsList = Shapes::ListShape.new(name: 'ExposureFindingItemsList')
|
|
934
948
|
ExposureImpact = Shapes::StringShape.new(name: 'ExposureImpact')
|
|
@@ -953,6 +967,11 @@ module Aws::SecurityHub
|
|
|
953
967
|
FindingProviderFields = Shapes::StructureShape.new(name: 'FindingProviderFields')
|
|
954
968
|
FindingProviderSeverity = Shapes::StructureShape.new(name: 'FindingProviderSeverity')
|
|
955
969
|
FindingScopes = Shapes::StructureShape.new(name: 'FindingScopes')
|
|
970
|
+
FindingsExportFormat = Shapes::StringShape.new(name: 'FindingsExportFormat')
|
|
971
|
+
FindingsOutput = Shapes::StructureShape.new(name: 'FindingsOutput')
|
|
972
|
+
FindingsOutputSummary = Shapes::StructureShape.new(name: 'FindingsOutputSummary')
|
|
973
|
+
FindingsSelectableField = Shapes::StringShape.new(name: 'FindingsSelectableField')
|
|
974
|
+
FindingsSelectedFieldList = Shapes::ListShape.new(name: 'FindingsSelectedFieldList')
|
|
956
975
|
FindingsTrendsCompositeFilter = Shapes::StructureShape.new(name: 'FindingsTrendsCompositeFilter')
|
|
957
976
|
FindingsTrendsCompositeFilterList = Shapes::ListShape.new(name: 'FindingsTrendsCompositeFilterList')
|
|
958
977
|
FindingsTrendsFilters = Shapes::StructureShape.new(name: 'FindingsTrendsFilters')
|
|
@@ -993,6 +1012,8 @@ module Aws::SecurityHub
|
|
|
993
1012
|
GetConnectorV2Response = Shapes::StructureShape.new(name: 'GetConnectorV2Response')
|
|
994
1013
|
GetEnabledStandardsRequest = Shapes::StructureShape.new(name: 'GetEnabledStandardsRequest')
|
|
995
1014
|
GetEnabledStandardsResponse = Shapes::StructureShape.new(name: 'GetEnabledStandardsResponse')
|
|
1015
|
+
GetExportJobV2Request = Shapes::StructureShape.new(name: 'GetExportJobV2Request')
|
|
1016
|
+
GetExportJobV2Response = Shapes::StructureShape.new(name: 'GetExportJobV2Response')
|
|
996
1017
|
GetFindingAggregatorRequest = Shapes::StructureShape.new(name: 'GetFindingAggregatorRequest')
|
|
997
1018
|
GetFindingAggregatorResponse = Shapes::StructureShape.new(name: 'GetFindingAggregatorResponse')
|
|
998
1019
|
GetFindingHistoryRequest = Shapes::StructureShape.new(name: 'GetFindingHistoryRequest')
|
|
@@ -1096,6 +1117,8 @@ module Aws::SecurityHub
|
|
|
1096
1117
|
ListConnectorsV2Response = Shapes::StructureShape.new(name: 'ListConnectorsV2Response')
|
|
1097
1118
|
ListEnabledProductsForImportRequest = Shapes::StructureShape.new(name: 'ListEnabledProductsForImportRequest')
|
|
1098
1119
|
ListEnabledProductsForImportResponse = Shapes::StructureShape.new(name: 'ListEnabledProductsForImportResponse')
|
|
1120
|
+
ListExportJobsV2Request = Shapes::StructureShape.new(name: 'ListExportJobsV2Request')
|
|
1121
|
+
ListExportJobsV2Response = Shapes::StructureShape.new(name: 'ListExportJobsV2Response')
|
|
1099
1122
|
ListExposuresByRemediationV2Request = Shapes::StructureShape.new(name: 'ListExposuresByRemediationV2Request')
|
|
1100
1123
|
ListExposuresByRemediationV2Response = Shapes::StructureShape.new(name: 'ListExposuresByRemediationV2Response')
|
|
1101
1124
|
ListFindingAggregatorsRequest = Shapes::StructureShape.new(name: 'ListFindingAggregatorsRequest')
|
|
@@ -1338,6 +1361,8 @@ module Aws::SecurityHub
|
|
|
1338
1361
|
RuleOrderValueV2 = Shapes::FloatShape.new(name: 'RuleOrderValueV2')
|
|
1339
1362
|
RuleStatus = Shapes::StringShape.new(name: 'RuleStatus')
|
|
1340
1363
|
RuleStatusV2 = Shapes::StringShape.new(name: 'RuleStatusV2')
|
|
1364
|
+
S3ExportDestination = Shapes::StructureShape.new(name: 'S3ExportDestination')
|
|
1365
|
+
S3ObjectPrefix = Shapes::StringShape.new(name: 'S3ObjectPrefix')
|
|
1341
1366
|
ScopeType = Shapes::StringShape.new(name: 'ScopeType')
|
|
1342
1367
|
ScopeValueList = Shapes::ListShape.new(name: 'ScopeValueList')
|
|
1343
1368
|
SecurityControl = Shapes::StructureShape.new(name: 'SecurityControl')
|
|
@@ -1406,6 +1431,8 @@ module Aws::SecurityHub
|
|
|
1406
1431
|
StartConfigurationPolicyAssociationResponse = Shapes::StructureShape.new(name: 'StartConfigurationPolicyAssociationResponse')
|
|
1407
1432
|
StartConfigurationPolicyDisassociationRequest = Shapes::StructureShape.new(name: 'StartConfigurationPolicyDisassociationRequest')
|
|
1408
1433
|
StartConfigurationPolicyDisassociationResponse = Shapes::StructureShape.new(name: 'StartConfigurationPolicyDisassociationResponse')
|
|
1434
|
+
StartExportJobV2Request = Shapes::StructureShape.new(name: 'StartExportJobV2Request')
|
|
1435
|
+
StartExportJobV2Response = Shapes::StructureShape.new(name: 'StartExportJobV2Response')
|
|
1409
1436
|
StatelessCustomActionDefinition = Shapes::StructureShape.new(name: 'StatelessCustomActionDefinition')
|
|
1410
1437
|
StatelessCustomPublishMetricAction = Shapes::StructureShape.new(name: 'StatelessCustomPublishMetricAction')
|
|
1411
1438
|
StatelessCustomPublishMetricActionDimension = Shapes::StructureShape.new(name: 'StatelessCustomPublishMetricActionDimension')
|
|
@@ -5643,6 +5670,13 @@ module Aws::SecurityHub
|
|
|
5643
5670
|
|
|
5644
5671
|
BooleanFilterList.member = Shapes::ShapeRef.new(shape: BooleanFilter)
|
|
5645
5672
|
|
|
5673
|
+
CancelExportJobV2Request.add_member(:export_job_id, Shapes::ShapeRef.new(shape: ExportJobId, required: true, location: "uri", location_name: "ExportJobId"))
|
|
5674
|
+
CancelExportJobV2Request.struct_class = Types::CancelExportJobV2Request
|
|
5675
|
+
|
|
5676
|
+
CancelExportJobV2Response.add_member(:export_job_id, Shapes::ShapeRef.new(shape: ExportJobId, required: true, location_name: "ExportJobId"))
|
|
5677
|
+
CancelExportJobV2Response.add_member(:status, Shapes::ShapeRef.new(shape: ExportStatus, required: true, location_name: "Status"))
|
|
5678
|
+
CancelExportJobV2Response.struct_class = Types::CancelExportJobV2Response
|
|
5679
|
+
|
|
5646
5680
|
CategoryList.member = Shapes::ShapeRef.new(shape: NonEmptyString)
|
|
5647
5681
|
|
|
5648
5682
|
Cell.add_member(:column, Shapes::ShapeRef.new(shape: Long, location_name: "Column"))
|
|
@@ -6225,6 +6259,42 @@ module Aws::SecurityHub
|
|
|
6225
6259
|
EnumListConfigurationOptions.add_member(:allowed_values, Shapes::ShapeRef.new(shape: StringList, location_name: "AllowedValues"))
|
|
6226
6260
|
EnumListConfigurationOptions.struct_class = Types::EnumListConfigurationOptions
|
|
6227
6261
|
|
|
6262
|
+
ExportDestination.add_member(:s3, Shapes::ShapeRef.new(shape: S3ExportDestination, location_name: "S3"))
|
|
6263
|
+
ExportDestination.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
6264
|
+
ExportDestination.add_member_subclass(:s3, Types::ExportDestination::S3)
|
|
6265
|
+
ExportDestination.add_member_subclass(:unknown, Types::ExportDestination::Unknown)
|
|
6266
|
+
ExportDestination.struct_class = Types::ExportDestination
|
|
6267
|
+
|
|
6268
|
+
ExportOutput.add_member(:findings, Shapes::ShapeRef.new(shape: FindingsOutput, location_name: "Findings"))
|
|
6269
|
+
ExportOutput.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
6270
|
+
ExportOutput.add_member_subclass(:findings, Types::ExportOutput::Findings)
|
|
6271
|
+
ExportOutput.add_member_subclass(:unknown, Types::ExportOutput::Unknown)
|
|
6272
|
+
ExportOutput.struct_class = Types::ExportOutput
|
|
6273
|
+
|
|
6274
|
+
ExportOutputSummary.add_member(:findings, Shapes::ShapeRef.new(shape: FindingsOutputSummary, location_name: "Findings"))
|
|
6275
|
+
ExportOutputSummary.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
6276
|
+
ExportOutputSummary.add_member_subclass(:findings, Types::ExportOutputSummary::Findings)
|
|
6277
|
+
ExportOutputSummary.add_member_subclass(:unknown, Types::ExportOutputSummary::Unknown)
|
|
6278
|
+
ExportOutputSummary.struct_class = Types::ExportOutputSummary
|
|
6279
|
+
|
|
6280
|
+
ExportScopes.add_member(:aws_organizations, Shapes::ShapeRef.new(shape: AwsOrganizationScopeList, location_name: "AwsOrganizations"))
|
|
6281
|
+
ExportScopes.struct_class = Types::ExportScopes
|
|
6282
|
+
|
|
6283
|
+
ExportSummary.add_member(:export_job_id, Shapes::ShapeRef.new(shape: ExportJobId, required: true, location_name: "ExportJobId"))
|
|
6284
|
+
ExportSummary.add_member(:name, Shapes::ShapeRef.new(shape: ExportName, location_name: "Name"))
|
|
6285
|
+
ExportSummary.add_member(:status, Shapes::ShapeRef.new(shape: ExportStatus, required: true, location_name: "Status"))
|
|
6286
|
+
ExportSummary.add_member(:data_type, Shapes::ShapeRef.new(shape: ExportDataType, required: true, location_name: "DataType"))
|
|
6287
|
+
ExportSummary.add_member(:output_configuration, Shapes::ShapeRef.new(shape: ExportOutputSummary, location_name: "OutputConfiguration"))
|
|
6288
|
+
ExportSummary.add_member(:scopes, Shapes::ShapeRef.new(shape: ExportScopes, location_name: "Scopes"))
|
|
6289
|
+
ExportSummary.add_member(:destination, Shapes::ShapeRef.new(shape: ExportDestination, required: true, location_name: "Destination"))
|
|
6290
|
+
ExportSummary.add_member(:failure_code, Shapes::ShapeRef.new(shape: ExportFailureCode, location_name: "FailureCode"))
|
|
6291
|
+
ExportSummary.add_member(:failure_message, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "FailureMessage"))
|
|
6292
|
+
ExportSummary.add_member(:started_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "StartedAt"))
|
|
6293
|
+
ExportSummary.add_member(:ended_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndedAt"))
|
|
6294
|
+
ExportSummary.struct_class = Types::ExportSummary
|
|
6295
|
+
|
|
6296
|
+
ExportSummaryList.member = Shapes::ShapeRef.new(shape: ExportSummary)
|
|
6297
|
+
|
|
6228
6298
|
ExposureFinding.add_member(:metadata_uid, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "MetadataUid"))
|
|
6229
6299
|
ExposureFinding.add_member(:title, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "Title"))
|
|
6230
6300
|
ExposureFinding.add_member(:previous_severity, Shapes::ShapeRef.new(shape: ExposureSeverity, required: true, location_name: "PreviousSeverity"))
|
|
@@ -6295,6 +6365,16 @@ module Aws::SecurityHub
|
|
|
6295
6365
|
FindingScopes.add_member(:aws_organizations, Shapes::ShapeRef.new(shape: AwsOrganizationScopeList, location_name: "AwsOrganizations"))
|
|
6296
6366
|
FindingScopes.struct_class = Types::FindingScopes
|
|
6297
6367
|
|
|
6368
|
+
FindingsOutput.add_member(:format, Shapes::ShapeRef.new(shape: FindingsExportFormat, required: true, location_name: "Format"))
|
|
6369
|
+
FindingsOutput.add_member(:filters, Shapes::ShapeRef.new(shape: OcsfFindingFilters, location_name: "Filters"))
|
|
6370
|
+
FindingsOutput.add_member(:selected_fields, Shapes::ShapeRef.new(shape: FindingsSelectedFieldList, location_name: "SelectedFields"))
|
|
6371
|
+
FindingsOutput.struct_class = Types::FindingsOutput
|
|
6372
|
+
|
|
6373
|
+
FindingsOutputSummary.add_member(:format, Shapes::ShapeRef.new(shape: FindingsExportFormat, required: true, location_name: "Format"))
|
|
6374
|
+
FindingsOutputSummary.struct_class = Types::FindingsOutputSummary
|
|
6375
|
+
|
|
6376
|
+
FindingsSelectedFieldList.member = Shapes::ShapeRef.new(shape: FindingsSelectableField)
|
|
6377
|
+
|
|
6298
6378
|
FindingsTrendsCompositeFilter.add_member(:string_filters, Shapes::ShapeRef.new(shape: FindingsTrendsStringFilterList, location_name: "StringFilters"))
|
|
6299
6379
|
FindingsTrendsCompositeFilter.add_member(:nested_composite_filters, Shapes::ShapeRef.new(shape: FindingsTrendsCompositeFilterList, location_name: "NestedCompositeFilters"))
|
|
6300
6380
|
FindingsTrendsCompositeFilter.add_member(:operator, Shapes::ShapeRef.new(shape: AllowedOperators, location_name: "Operator"))
|
|
@@ -6456,6 +6536,22 @@ module Aws::SecurityHub
|
|
|
6456
6536
|
GetEnabledStandardsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
|
6457
6537
|
GetEnabledStandardsResponse.struct_class = Types::GetEnabledStandardsResponse
|
|
6458
6538
|
|
|
6539
|
+
GetExportJobV2Request.add_member(:export_job_id, Shapes::ShapeRef.new(shape: ExportJobId, required: true, location: "uri", location_name: "ExportJobId"))
|
|
6540
|
+
GetExportJobV2Request.struct_class = Types::GetExportJobV2Request
|
|
6541
|
+
|
|
6542
|
+
GetExportJobV2Response.add_member(:export_job_id, Shapes::ShapeRef.new(shape: ExportJobId, required: true, location_name: "ExportJobId"))
|
|
6543
|
+
GetExportJobV2Response.add_member(:name, Shapes::ShapeRef.new(shape: ExportName, location_name: "Name"))
|
|
6544
|
+
GetExportJobV2Response.add_member(:status, Shapes::ShapeRef.new(shape: ExportStatus, required: true, location_name: "Status"))
|
|
6545
|
+
GetExportJobV2Response.add_member(:data_type, Shapes::ShapeRef.new(shape: ExportDataType, required: true, location_name: "DataType"))
|
|
6546
|
+
GetExportJobV2Response.add_member(:output_configuration, Shapes::ShapeRef.new(shape: ExportOutput, location_name: "OutputConfiguration"))
|
|
6547
|
+
GetExportJobV2Response.add_member(:scopes, Shapes::ShapeRef.new(shape: ExportScopes, location_name: "Scopes"))
|
|
6548
|
+
GetExportJobV2Response.add_member(:destination, Shapes::ShapeRef.new(shape: ExportDestination, required: true, location_name: "Destination"))
|
|
6549
|
+
GetExportJobV2Response.add_member(:failure_code, Shapes::ShapeRef.new(shape: ExportFailureCode, location_name: "FailureCode"))
|
|
6550
|
+
GetExportJobV2Response.add_member(:failure_message, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "FailureMessage"))
|
|
6551
|
+
GetExportJobV2Response.add_member(:started_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "StartedAt"))
|
|
6552
|
+
GetExportJobV2Response.add_member(:ended_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndedAt"))
|
|
6553
|
+
GetExportJobV2Response.struct_class = Types::GetExportJobV2Response
|
|
6554
|
+
|
|
6459
6555
|
GetFindingAggregatorRequest.add_member(:finding_aggregator_arn, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "FindingAggregatorArn"))
|
|
6460
6556
|
GetFindingAggregatorRequest.struct_class = Types::GetFindingAggregatorRequest
|
|
6461
6557
|
|
|
@@ -6846,6 +6942,16 @@ module Aws::SecurityHub
|
|
|
6846
6942
|
ListEnabledProductsForImportResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
|
6847
6943
|
ListEnabledProductsForImportResponse.struct_class = Types::ListEnabledProductsForImportResponse
|
|
6848
6944
|
|
|
6945
|
+
ListExportJobsV2Request.add_member(:status, Shapes::ShapeRef.new(shape: ExportStatus, location: "querystring", location_name: "Status"))
|
|
6946
|
+
ListExportJobsV2Request.add_member(:data_type, Shapes::ShapeRef.new(shape: ExportDataType, location: "querystring", location_name: "DataType"))
|
|
6947
|
+
ListExportJobsV2Request.add_member(:max_results, Shapes::ShapeRef.new(shape: ExportMaxResults, location: "querystring", location_name: "MaxResults"))
|
|
6948
|
+
ListExportJobsV2Request.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "NextToken"))
|
|
6949
|
+
ListExportJobsV2Request.struct_class = Types::ListExportJobsV2Request
|
|
6950
|
+
|
|
6951
|
+
ListExportJobsV2Response.add_member(:items, Shapes::ShapeRef.new(shape: ExportSummaryList, required: true, location_name: "Items"))
|
|
6952
|
+
ListExportJobsV2Response.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
|
6953
|
+
ListExportJobsV2Response.struct_class = Types::ListExportJobsV2Response
|
|
6954
|
+
|
|
6849
6955
|
ListExposuresByRemediationV2Request.add_member(:target_uid, Shapes::ShapeRef.new(shape: RemediationStringUid, required: true, location_name: "TargetUid"))
|
|
6850
6956
|
ListExposuresByRemediationV2Request.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
|
6851
6957
|
ListExposuresByRemediationV2Request.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
|
@@ -7840,6 +7946,11 @@ module Aws::SecurityHub
|
|
|
7840
7946
|
RuleGroupVariablesPortSetsDetails.add_member(:definition, Shapes::ShapeRef.new(shape: NonEmptyStringList, location_name: "Definition"))
|
|
7841
7947
|
RuleGroupVariablesPortSetsDetails.struct_class = Types::RuleGroupVariablesPortSetsDetails
|
|
7842
7948
|
|
|
7949
|
+
S3ExportDestination.add_member(:bucket_arn, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "BucketArn"))
|
|
7950
|
+
S3ExportDestination.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "KmsKeyArn"))
|
|
7951
|
+
S3ExportDestination.add_member(:object_prefix, Shapes::ShapeRef.new(shape: S3ObjectPrefix, location_name: "ObjectPrefix"))
|
|
7952
|
+
S3ExportDestination.struct_class = Types::S3ExportDestination
|
|
7953
|
+
|
|
7843
7954
|
ScopeValueList.member = Shapes::ShapeRef.new(shape: NonEmptyString)
|
|
7844
7955
|
|
|
7845
7956
|
SecurityControl.add_member(:security_control_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "SecurityControlId"))
|
|
@@ -8111,6 +8222,16 @@ module Aws::SecurityHub
|
|
|
8111
8222
|
|
|
8112
8223
|
StartConfigurationPolicyDisassociationResponse.struct_class = Types::StartConfigurationPolicyDisassociationResponse
|
|
8113
8224
|
|
|
8225
|
+
StartExportJobV2Request.add_member(:name, Shapes::ShapeRef.new(shape: ExportName, location_name: "Name"))
|
|
8226
|
+
StartExportJobV2Request.add_member(:destination, Shapes::ShapeRef.new(shape: ExportDestination, required: true, location_name: "Destination"))
|
|
8227
|
+
StartExportJobV2Request.add_member(:output_configuration, Shapes::ShapeRef.new(shape: ExportOutput, required: true, location_name: "OutputConfiguration"))
|
|
8228
|
+
StartExportJobV2Request.add_member(:scopes, Shapes::ShapeRef.new(shape: ExportScopes, location_name: "Scopes"))
|
|
8229
|
+
StartExportJobV2Request.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken" => true}))
|
|
8230
|
+
StartExportJobV2Request.struct_class = Types::StartExportJobV2Request
|
|
8231
|
+
|
|
8232
|
+
StartExportJobV2Response.add_member(:export_job_id, Shapes::ShapeRef.new(shape: ExportJobId, required: true, location_name: "ExportJobId"))
|
|
8233
|
+
StartExportJobV2Response.struct_class = Types::StartExportJobV2Response
|
|
8234
|
+
|
|
8114
8235
|
StatelessCustomActionDefinition.add_member(:publish_metric_action, Shapes::ShapeRef.new(shape: StatelessCustomPublishMetricAction, location_name: "PublishMetricAction"))
|
|
8115
8236
|
StatelessCustomActionDefinition.struct_class = Types::StatelessCustomActionDefinition
|
|
8116
8237
|
|
|
@@ -8653,6 +8774,20 @@ module Aws::SecurityHub
|
|
|
8653
8774
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
8654
8775
|
end)
|
|
8655
8776
|
|
|
8777
|
+
api.add_operation(:cancel_export_job_v2, Seahorse::Model::Operation.new.tap do |o|
|
|
8778
|
+
o.name = "CancelExportJobV2"
|
|
8779
|
+
o.http_method = "POST"
|
|
8780
|
+
o.http_request_uri = "/exportjobsv2/{ExportJobId}/cancel"
|
|
8781
|
+
o.input = Shapes::ShapeRef.new(shape: CancelExportJobV2Request)
|
|
8782
|
+
o.output = Shapes::ShapeRef.new(shape: CancelExportJobV2Response)
|
|
8783
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
8784
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
8785
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
8786
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
8787
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
8788
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
8789
|
+
end)
|
|
8790
|
+
|
|
8656
8791
|
api.add_operation(:create_action_target, Seahorse::Model::Operation.new.tap do |o|
|
|
8657
8792
|
o.name = "CreateActionTarget"
|
|
8658
8793
|
o.http_method = "POST"
|
|
@@ -9382,6 +9517,19 @@ module Aws::SecurityHub
|
|
|
9382
9517
|
)
|
|
9383
9518
|
end)
|
|
9384
9519
|
|
|
9520
|
+
api.add_operation(:get_export_job_v2, Seahorse::Model::Operation.new.tap do |o|
|
|
9521
|
+
o.name = "GetExportJobV2"
|
|
9522
|
+
o.http_method = "GET"
|
|
9523
|
+
o.http_request_uri = "/exportjobsv2/{ExportJobId}"
|
|
9524
|
+
o.input = Shapes::ShapeRef.new(shape: GetExportJobV2Request)
|
|
9525
|
+
o.output = Shapes::ShapeRef.new(shape: GetExportJobV2Response)
|
|
9526
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
9527
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
9528
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
9529
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
9530
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
9531
|
+
end)
|
|
9532
|
+
|
|
9385
9533
|
api.add_operation(:get_finding_aggregator, Seahorse::Model::Operation.new.tap do |o|
|
|
9386
9534
|
o.name = "GetFindingAggregator"
|
|
9387
9535
|
o.http_method = "GET"
|
|
@@ -9809,6 +9957,24 @@ module Aws::SecurityHub
|
|
|
9809
9957
|
)
|
|
9810
9958
|
end)
|
|
9811
9959
|
|
|
9960
|
+
api.add_operation(:list_export_jobs_v2, Seahorse::Model::Operation.new.tap do |o|
|
|
9961
|
+
o.name = "ListExportJobsV2"
|
|
9962
|
+
o.http_method = "GET"
|
|
9963
|
+
o.http_request_uri = "/exportjobsv2"
|
|
9964
|
+
o.input = Shapes::ShapeRef.new(shape: ListExportJobsV2Request)
|
|
9965
|
+
o.output = Shapes::ShapeRef.new(shape: ListExportJobsV2Response)
|
|
9966
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
9967
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
9968
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
9969
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
9970
|
+
o[:pager] = Aws::Pager.new(
|
|
9971
|
+
limit_key: "max_results",
|
|
9972
|
+
tokens: {
|
|
9973
|
+
"next_token" => "next_token"
|
|
9974
|
+
}
|
|
9975
|
+
)
|
|
9976
|
+
end)
|
|
9977
|
+
|
|
9812
9978
|
api.add_operation(:list_exposures_by_remediation_v2, Seahorse::Model::Operation.new.tap do |o|
|
|
9813
9979
|
o.name = "ListExposuresByRemediationV2"
|
|
9814
9980
|
o.http_method = "POST"
|
|
@@ -10009,6 +10175,22 @@ module Aws::SecurityHub
|
|
|
10009
10175
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
10010
10176
|
end)
|
|
10011
10177
|
|
|
10178
|
+
api.add_operation(:start_export_job_v2, Seahorse::Model::Operation.new.tap do |o|
|
|
10179
|
+
o.name = "StartExportJobV2"
|
|
10180
|
+
o.http_method = "POST"
|
|
10181
|
+
o.http_request_uri = "/exportjobsv2"
|
|
10182
|
+
o.input = Shapes::ShapeRef.new(shape: StartExportJobV2Request)
|
|
10183
|
+
o.output = Shapes::ShapeRef.new(shape: StartExportJobV2Response)
|
|
10184
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
10185
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
10186
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
10187
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationalUnitNotFoundException)
|
|
10188
|
+
o.errors << Shapes::ShapeRef.new(shape: OrganizationNotFoundException)
|
|
10189
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
|
10190
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
10191
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
10192
|
+
end)
|
|
10193
|
+
|
|
10012
10194
|
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
|
10013
10195
|
o.name = "TagResource"
|
|
10014
10196
|
o.http_method = "POST"
|