aws-sdk-securityhub 1.38.0 → 1.43.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +228 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-securityhub.rb +3 -3
- data/lib/aws-sdk-securityhub/client.rb +601 -70
- data/lib/aws-sdk-securityhub/client_api.rb +202 -7
- data/lib/aws-sdk-securityhub/errors.rb +1 -1
- data/lib/aws-sdk-securityhub/resource.rb +1 -1
- data/lib/aws-sdk-securityhub/types.rb +2004 -101
- metadata +11 -8
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -13,6 +13,8 @@ module Aws::SecurityHub
|
|
13
13
|
|
14
14
|
include Seahorse::Model
|
15
15
|
|
16
|
+
AcceptAdministratorInvitationRequest = Shapes::StructureShape.new(name: 'AcceptAdministratorInvitationRequest')
|
17
|
+
AcceptAdministratorInvitationResponse = Shapes::StructureShape.new(name: 'AcceptAdministratorInvitationResponse')
|
16
18
|
AcceptInvitationRequest = Shapes::StructureShape.new(name: 'AcceptInvitationRequest')
|
17
19
|
AcceptInvitationResponse = Shapes::StructureShape.new(name: 'AcceptInvitationResponse')
|
18
20
|
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
@@ -241,6 +243,7 @@ module Aws::SecurityHub
|
|
241
243
|
AwsRedshiftClusterRestoreStatus = Shapes::StructureShape.new(name: 'AwsRedshiftClusterRestoreStatus')
|
242
244
|
AwsRedshiftClusterVpcSecurityGroup = Shapes::StructureShape.new(name: 'AwsRedshiftClusterVpcSecurityGroup')
|
243
245
|
AwsRedshiftClusterVpcSecurityGroups = Shapes::ListShape.new(name: 'AwsRedshiftClusterVpcSecurityGroups')
|
246
|
+
AwsS3AccountPublicAccessBlockDetails = Shapes::StructureShape.new(name: 'AwsS3AccountPublicAccessBlockDetails')
|
244
247
|
AwsS3BucketDetails = Shapes::StructureShape.new(name: 'AwsS3BucketDetails')
|
245
248
|
AwsS3BucketServerSideEncryptionByDefault = Shapes::StructureShape.new(name: 'AwsS3BucketServerSideEncryptionByDefault')
|
246
249
|
AwsS3BucketServerSideEncryptionConfiguration = Shapes::StructureShape.new(name: 'AwsS3BucketServerSideEncryptionConfiguration')
|
@@ -269,6 +272,7 @@ module Aws::SecurityHub
|
|
269
272
|
BatchEnableStandardsRequest = Shapes::StructureShape.new(name: 'BatchEnableStandardsRequest')
|
270
273
|
BatchEnableStandardsResponse = Shapes::StructureShape.new(name: 'BatchEnableStandardsResponse')
|
271
274
|
BatchImportFindingsRequest = Shapes::StructureShape.new(name: 'BatchImportFindingsRequest')
|
275
|
+
BatchImportFindingsRequestFindingList = Shapes::ListShape.new(name: 'BatchImportFindingsRequestFindingList')
|
272
276
|
BatchImportFindingsResponse = Shapes::StructureShape.new(name: 'BatchImportFindingsResponse')
|
273
277
|
BatchUpdateFindingsRequest = Shapes::StructureShape.new(name: 'BatchUpdateFindingsRequest')
|
274
278
|
BatchUpdateFindingsResponse = Shapes::StructureShape.new(name: 'BatchUpdateFindingsResponse')
|
@@ -276,9 +280,13 @@ module Aws::SecurityHub
|
|
276
280
|
BatchUpdateFindingsUnprocessedFindingsList = Shapes::ListShape.new(name: 'BatchUpdateFindingsUnprocessedFindingsList')
|
277
281
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
278
282
|
CategoryList = Shapes::ListShape.new(name: 'CategoryList')
|
283
|
+
Cell = Shapes::StructureShape.new(name: 'Cell')
|
284
|
+
Cells = Shapes::ListShape.new(name: 'Cells')
|
279
285
|
CidrBlockAssociation = Shapes::StructureShape.new(name: 'CidrBlockAssociation')
|
280
286
|
CidrBlockAssociationList = Shapes::ListShape.new(name: 'CidrBlockAssociationList')
|
281
287
|
City = Shapes::StructureShape.new(name: 'City')
|
288
|
+
ClassificationResult = Shapes::StructureShape.new(name: 'ClassificationResult')
|
289
|
+
ClassificationStatus = Shapes::StructureShape.new(name: 'ClassificationStatus')
|
282
290
|
Compliance = Shapes::StructureShape.new(name: 'Compliance')
|
283
291
|
ComplianceStatus = Shapes::StringShape.new(name: 'ComplianceStatus')
|
284
292
|
ContainerDetails = Shapes::StructureShape.new(name: 'ContainerDetails')
|
@@ -291,8 +299,12 @@ module Aws::SecurityHub
|
|
291
299
|
CreateMembersRequest = Shapes::StructureShape.new(name: 'CreateMembersRequest')
|
292
300
|
CreateMembersResponse = Shapes::StructureShape.new(name: 'CreateMembersResponse')
|
293
301
|
CrossAccountMaxResults = Shapes::IntegerShape.new(name: 'CrossAccountMaxResults')
|
302
|
+
CustomDataIdentifiersDetections = Shapes::StructureShape.new(name: 'CustomDataIdentifiersDetections')
|
303
|
+
CustomDataIdentifiersDetectionsList = Shapes::ListShape.new(name: 'CustomDataIdentifiersDetectionsList')
|
304
|
+
CustomDataIdentifiersResult = Shapes::StructureShape.new(name: 'CustomDataIdentifiersResult')
|
294
305
|
Cvss = Shapes::StructureShape.new(name: 'Cvss')
|
295
306
|
CvssList = Shapes::ListShape.new(name: 'CvssList')
|
307
|
+
DataClassificationDetails = Shapes::StructureShape.new(name: 'DataClassificationDetails')
|
296
308
|
DateFilter = Shapes::StructureShape.new(name: 'DateFilter')
|
297
309
|
DateFilterList = Shapes::ListShape.new(name: 'DateFilterList')
|
298
310
|
DateRange = Shapes::StructureShape.new(name: 'DateRange')
|
@@ -325,6 +337,8 @@ module Aws::SecurityHub
|
|
325
337
|
DisableOrganizationAdminAccountResponse = Shapes::StructureShape.new(name: 'DisableOrganizationAdminAccountResponse')
|
326
338
|
DisableSecurityHubRequest = Shapes::StructureShape.new(name: 'DisableSecurityHubRequest')
|
327
339
|
DisableSecurityHubResponse = Shapes::StructureShape.new(name: 'DisableSecurityHubResponse')
|
340
|
+
DisassociateFromAdministratorAccountRequest = Shapes::StructureShape.new(name: 'DisassociateFromAdministratorAccountRequest')
|
341
|
+
DisassociateFromAdministratorAccountResponse = Shapes::StructureShape.new(name: 'DisassociateFromAdministratorAccountResponse')
|
328
342
|
DisassociateFromMasterAccountRequest = Shapes::StructureShape.new(name: 'DisassociateFromMasterAccountRequest')
|
329
343
|
DisassociateFromMasterAccountResponse = Shapes::StructureShape.new(name: 'DisassociateFromMasterAccountResponse')
|
330
344
|
DisassociateMembersRequest = Shapes::StructureShape.new(name: 'DisassociateMembersRequest')
|
@@ -338,7 +352,11 @@ module Aws::SecurityHub
|
|
338
352
|
EnableSecurityHubRequest = Shapes::StructureShape.new(name: 'EnableSecurityHubRequest')
|
339
353
|
EnableSecurityHubResponse = Shapes::StructureShape.new(name: 'EnableSecurityHubResponse')
|
340
354
|
FieldMap = Shapes::MapShape.new(name: 'FieldMap')
|
355
|
+
FindingProviderFields = Shapes::StructureShape.new(name: 'FindingProviderFields')
|
356
|
+
FindingProviderSeverity = Shapes::StructureShape.new(name: 'FindingProviderSeverity')
|
341
357
|
GeoLocation = Shapes::StructureShape.new(name: 'GeoLocation')
|
358
|
+
GetAdministratorAccountRequest = Shapes::StructureShape.new(name: 'GetAdministratorAccountRequest')
|
359
|
+
GetAdministratorAccountResponse = Shapes::StructureShape.new(name: 'GetAdministratorAccountResponse')
|
342
360
|
GetEnabledStandardsRequest = Shapes::StructureShape.new(name: 'GetEnabledStandardsRequest')
|
343
361
|
GetEnabledStandardsResponse = Shapes::StructureShape.new(name: 'GetEnabledStandardsResponse')
|
344
362
|
GetFindingsRequest = Shapes::StructureShape.new(name: 'GetFindingsRequest')
|
@@ -414,6 +432,9 @@ module Aws::SecurityHub
|
|
414
432
|
NoteUpdate = Shapes::StructureShape.new(name: 'NoteUpdate')
|
415
433
|
NumberFilter = Shapes::StructureShape.new(name: 'NumberFilter')
|
416
434
|
NumberFilterList = Shapes::ListShape.new(name: 'NumberFilterList')
|
435
|
+
Occurrences = Shapes::StructureShape.new(name: 'Occurrences')
|
436
|
+
Page = Shapes::StructureShape.new(name: 'Page')
|
437
|
+
Pages = Shapes::ListShape.new(name: 'Pages')
|
417
438
|
Partition = Shapes::StringShape.new(name: 'Partition')
|
418
439
|
PatchSummary = Shapes::StructureShape.new(name: 'PatchSummary')
|
419
440
|
PortProbeAction = Shapes::StructureShape.new(name: 'PortProbeAction')
|
@@ -425,9 +446,13 @@ module Aws::SecurityHub
|
|
425
446
|
Product = Shapes::StructureShape.new(name: 'Product')
|
426
447
|
ProductSubscriptionArnList = Shapes::ListShape.new(name: 'ProductSubscriptionArnList')
|
427
448
|
ProductsList = Shapes::ListShape.new(name: 'ProductsList')
|
449
|
+
Range = Shapes::StructureShape.new(name: 'Range')
|
450
|
+
Ranges = Shapes::ListShape.new(name: 'Ranges')
|
428
451
|
RatioScale = Shapes::IntegerShape.new(name: 'RatioScale')
|
429
452
|
Recommendation = Shapes::StructureShape.new(name: 'Recommendation')
|
453
|
+
Record = Shapes::StructureShape.new(name: 'Record')
|
430
454
|
RecordState = Shapes::StringShape.new(name: 'RecordState')
|
455
|
+
Records = Shapes::ListShape.new(name: 'Records')
|
431
456
|
RelatedFinding = Shapes::StructureShape.new(name: 'RelatedFinding')
|
432
457
|
RelatedFindingList = Shapes::ListShape.new(name: 'RelatedFindingList')
|
433
458
|
RelatedRequirementsList = Shapes::ListShape.new(name: 'RelatedRequirementsList')
|
@@ -441,6 +466,10 @@ module Aws::SecurityHub
|
|
441
466
|
Result = Shapes::StructureShape.new(name: 'Result')
|
442
467
|
ResultList = Shapes::ListShape.new(name: 'ResultList')
|
443
468
|
SecurityGroups = Shapes::ListShape.new(name: 'SecurityGroups')
|
469
|
+
SensitiveDataDetections = Shapes::StructureShape.new(name: 'SensitiveDataDetections')
|
470
|
+
SensitiveDataDetectionsList = Shapes::ListShape.new(name: 'SensitiveDataDetectionsList')
|
471
|
+
SensitiveDataResult = Shapes::StructureShape.new(name: 'SensitiveDataResult')
|
472
|
+
SensitiveDataResultList = Shapes::ListShape.new(name: 'SensitiveDataResultList')
|
444
473
|
Severity = Shapes::StructureShape.new(name: 'Severity')
|
445
474
|
SeverityLabel = Shapes::StringShape.new(name: 'SeverityLabel')
|
446
475
|
SeverityRating = Shapes::StringShape.new(name: 'SeverityRating')
|
@@ -507,6 +536,12 @@ module Aws::SecurityHub
|
|
507
536
|
WorkflowStatus = Shapes::StringShape.new(name: 'WorkflowStatus')
|
508
537
|
WorkflowUpdate = Shapes::StructureShape.new(name: 'WorkflowUpdate')
|
509
538
|
|
539
|
+
AcceptAdministratorInvitationRequest.add_member(:administrator_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "AdministratorId"))
|
540
|
+
AcceptAdministratorInvitationRequest.add_member(:invitation_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "InvitationId"))
|
541
|
+
AcceptAdministratorInvitationRequest.struct_class = Types::AcceptAdministratorInvitationRequest
|
542
|
+
|
543
|
+
AcceptAdministratorInvitationResponse.struct_class = Types::AcceptAdministratorInvitationResponse
|
544
|
+
|
510
545
|
AcceptInvitationRequest.add_member(:master_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "MasterId"))
|
511
546
|
AcceptInvitationRequest.add_member(:invitation_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "InvitationId"))
|
512
547
|
AcceptInvitationRequest.struct_class = Types::AcceptInvitationRequest
|
@@ -1800,10 +1835,17 @@ module Aws::SecurityHub
|
|
1800
1835
|
|
1801
1836
|
AwsRedshiftClusterVpcSecurityGroups.member = Shapes::ShapeRef.new(shape: AwsRedshiftClusterVpcSecurityGroup)
|
1802
1837
|
|
1838
|
+
AwsS3AccountPublicAccessBlockDetails.add_member(:block_public_acls, Shapes::ShapeRef.new(shape: Boolean, location_name: "BlockPublicAcls"))
|
1839
|
+
AwsS3AccountPublicAccessBlockDetails.add_member(:block_public_policy, Shapes::ShapeRef.new(shape: Boolean, location_name: "BlockPublicPolicy"))
|
1840
|
+
AwsS3AccountPublicAccessBlockDetails.add_member(:ignore_public_acls, Shapes::ShapeRef.new(shape: Boolean, location_name: "IgnorePublicAcls"))
|
1841
|
+
AwsS3AccountPublicAccessBlockDetails.add_member(:restrict_public_buckets, Shapes::ShapeRef.new(shape: Boolean, location_name: "RestrictPublicBuckets"))
|
1842
|
+
AwsS3AccountPublicAccessBlockDetails.struct_class = Types::AwsS3AccountPublicAccessBlockDetails
|
1843
|
+
|
1803
1844
|
AwsS3BucketDetails.add_member(:owner_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "OwnerId"))
|
1804
1845
|
AwsS3BucketDetails.add_member(:owner_name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "OwnerName"))
|
1805
1846
|
AwsS3BucketDetails.add_member(:created_at, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "CreatedAt"))
|
1806
1847
|
AwsS3BucketDetails.add_member(:server_side_encryption_configuration, Shapes::ShapeRef.new(shape: AwsS3BucketServerSideEncryptionConfiguration, location_name: "ServerSideEncryptionConfiguration"))
|
1848
|
+
AwsS3BucketDetails.add_member(:public_access_block_configuration, Shapes::ShapeRef.new(shape: AwsS3AccountPublicAccessBlockDetails, location_name: "PublicAccessBlockConfiguration"))
|
1807
1849
|
AwsS3BucketDetails.struct_class = Types::AwsS3BucketDetails
|
1808
1850
|
|
1809
1851
|
AwsS3BucketServerSideEncryptionByDefault.add_member(:sse_algorithm, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "SSEAlgorithm"))
|
@@ -1844,12 +1886,12 @@ module Aws::SecurityHub
|
|
1844
1886
|
AwsSecurityFinding.add_member(:product_arn, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "ProductArn"))
|
1845
1887
|
AwsSecurityFinding.add_member(:generator_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "GeneratorId"))
|
1846
1888
|
AwsSecurityFinding.add_member(:aws_account_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "AwsAccountId"))
|
1847
|
-
AwsSecurityFinding.add_member(:types, Shapes::ShapeRef.new(shape: TypeList,
|
1889
|
+
AwsSecurityFinding.add_member(:types, Shapes::ShapeRef.new(shape: TypeList, location_name: "Types"))
|
1848
1890
|
AwsSecurityFinding.add_member(:first_observed_at, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "FirstObservedAt"))
|
1849
1891
|
AwsSecurityFinding.add_member(:last_observed_at, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "LastObservedAt"))
|
1850
1892
|
AwsSecurityFinding.add_member(:created_at, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "CreatedAt"))
|
1851
1893
|
AwsSecurityFinding.add_member(:updated_at, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "UpdatedAt"))
|
1852
|
-
AwsSecurityFinding.add_member(:severity, Shapes::ShapeRef.new(shape: Severity,
|
1894
|
+
AwsSecurityFinding.add_member(:severity, Shapes::ShapeRef.new(shape: Severity, location_name: "Severity"))
|
1853
1895
|
AwsSecurityFinding.add_member(:confidence, Shapes::ShapeRef.new(shape: Integer, location_name: "Confidence"))
|
1854
1896
|
AwsSecurityFinding.add_member(:criticality, Shapes::ShapeRef.new(shape: Integer, location_name: "Criticality"))
|
1855
1897
|
AwsSecurityFinding.add_member(:title, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "Title"))
|
@@ -1874,6 +1916,7 @@ module Aws::SecurityHub
|
|
1874
1916
|
AwsSecurityFinding.add_member(:vulnerabilities, Shapes::ShapeRef.new(shape: VulnerabilityList, location_name: "Vulnerabilities"))
|
1875
1917
|
AwsSecurityFinding.add_member(:patch_summary, Shapes::ShapeRef.new(shape: PatchSummary, location_name: "PatchSummary"))
|
1876
1918
|
AwsSecurityFinding.add_member(:action, Shapes::ShapeRef.new(shape: Action, location_name: "Action"))
|
1919
|
+
AwsSecurityFinding.add_member(:finding_provider_fields, Shapes::ShapeRef.new(shape: FindingProviderFields, location_name: "FindingProviderFields"))
|
1877
1920
|
AwsSecurityFinding.struct_class = Types::AwsSecurityFinding
|
1878
1921
|
|
1879
1922
|
AwsSecurityFindingFilters.add_member(:product_arn, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "ProductArn"))
|
@@ -1885,8 +1928,8 @@ module Aws::SecurityHub
|
|
1885
1928
|
AwsSecurityFindingFilters.add_member(:last_observed_at, Shapes::ShapeRef.new(shape: DateFilterList, location_name: "LastObservedAt"))
|
1886
1929
|
AwsSecurityFindingFilters.add_member(:created_at, Shapes::ShapeRef.new(shape: DateFilterList, location_name: "CreatedAt"))
|
1887
1930
|
AwsSecurityFindingFilters.add_member(:updated_at, Shapes::ShapeRef.new(shape: DateFilterList, location_name: "UpdatedAt"))
|
1888
|
-
AwsSecurityFindingFilters.add_member(:severity_product, Shapes::ShapeRef.new(shape: NumberFilterList, location_name: "SeverityProduct"))
|
1889
|
-
AwsSecurityFindingFilters.add_member(:severity_normalized, Shapes::ShapeRef.new(shape: NumberFilterList, location_name: "SeverityNormalized"))
|
1931
|
+
AwsSecurityFindingFilters.add_member(:severity_product, Shapes::ShapeRef.new(shape: NumberFilterList, deprecated: true, location_name: "SeverityProduct", metadata: {"deprecatedMessage"=>"This filter is deprecated, use FindingProviiltersSeverityOriginal instead."}))
|
1932
|
+
AwsSecurityFindingFilters.add_member(:severity_normalized, Shapes::ShapeRef.new(shape: NumberFilterList, deprecated: true, location_name: "SeverityNormalized", metadata: {"deprecatedMessage"=>"This filter is deprecated, use SeverityLabel or FindingProviderFieldsSeverityLabel instead."}))
|
1890
1933
|
AwsSecurityFindingFilters.add_member(:severity_label, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "SeverityLabel"))
|
1891
1934
|
AwsSecurityFindingFilters.add_member(:confidence, Shapes::ShapeRef.new(shape: NumberFilterList, location_name: "Confidence"))
|
1892
1935
|
AwsSecurityFindingFilters.add_member(:criticality, Shapes::ShapeRef.new(shape: NumberFilterList, location_name: "Criticality"))
|
@@ -1960,6 +2003,13 @@ module Aws::SecurityHub
|
|
1960
2003
|
AwsSecurityFindingFilters.add_member(:note_updated_at, Shapes::ShapeRef.new(shape: DateFilterList, location_name: "NoteUpdatedAt"))
|
1961
2004
|
AwsSecurityFindingFilters.add_member(:note_updated_by, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "NoteUpdatedBy"))
|
1962
2005
|
AwsSecurityFindingFilters.add_member(:keyword, Shapes::ShapeRef.new(shape: KeywordFilterList, location_name: "Keyword"))
|
2006
|
+
AwsSecurityFindingFilters.add_member(:finding_provider_fields_confidence, Shapes::ShapeRef.new(shape: NumberFilterList, location_name: "FindingProviderFieldsConfidence"))
|
2007
|
+
AwsSecurityFindingFilters.add_member(:finding_provider_fields_criticality, Shapes::ShapeRef.new(shape: NumberFilterList, location_name: "FindingProviderFieldsCriticality"))
|
2008
|
+
AwsSecurityFindingFilters.add_member(:finding_provider_fields_related_findings_id, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "FindingProviderFieldsRelatedFindingsId"))
|
2009
|
+
AwsSecurityFindingFilters.add_member(:finding_provider_fields_related_findings_product_arn, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "FindingProviderFieldsRelatedFindingsProductArn"))
|
2010
|
+
AwsSecurityFindingFilters.add_member(:finding_provider_fields_severity_label, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "FindingProviderFieldsSeverityLabel"))
|
2011
|
+
AwsSecurityFindingFilters.add_member(:finding_provider_fields_severity_original, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "FindingProviderFieldsSeverityOriginal"))
|
2012
|
+
AwsSecurityFindingFilters.add_member(:finding_provider_fields_types, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "FindingProviderFieldsTypes"))
|
1963
2013
|
AwsSecurityFindingFilters.struct_class = Types::AwsSecurityFindingFilters
|
1964
2014
|
|
1965
2015
|
AwsSecurityFindingIdentifier.add_member(:id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "Id"))
|
@@ -2042,9 +2092,11 @@ module Aws::SecurityHub
|
|
2042
2092
|
BatchEnableStandardsResponse.add_member(:standards_subscriptions, Shapes::ShapeRef.new(shape: StandardsSubscriptions, location_name: "StandardsSubscriptions"))
|
2043
2093
|
BatchEnableStandardsResponse.struct_class = Types::BatchEnableStandardsResponse
|
2044
2094
|
|
2045
|
-
BatchImportFindingsRequest.add_member(:findings, Shapes::ShapeRef.new(shape:
|
2095
|
+
BatchImportFindingsRequest.add_member(:findings, Shapes::ShapeRef.new(shape: BatchImportFindingsRequestFindingList, required: true, location_name: "Findings"))
|
2046
2096
|
BatchImportFindingsRequest.struct_class = Types::BatchImportFindingsRequest
|
2047
2097
|
|
2098
|
+
BatchImportFindingsRequestFindingList.member = Shapes::ShapeRef.new(shape: AwsSecurityFinding)
|
2099
|
+
|
2048
2100
|
BatchImportFindingsResponse.add_member(:failed_count, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "FailedCount"))
|
2049
2101
|
BatchImportFindingsResponse.add_member(:success_count, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "SuccessCount"))
|
2050
2102
|
BatchImportFindingsResponse.add_member(:failed_findings, Shapes::ShapeRef.new(shape: ImportFindingsErrorList, location_name: "FailedFindings"))
|
@@ -2075,6 +2127,14 @@ module Aws::SecurityHub
|
|
2075
2127
|
|
2076
2128
|
CategoryList.member = Shapes::ShapeRef.new(shape: NonEmptyString)
|
2077
2129
|
|
2130
|
+
Cell.add_member(:column, Shapes::ShapeRef.new(shape: Long, location_name: "Column"))
|
2131
|
+
Cell.add_member(:row, Shapes::ShapeRef.new(shape: Long, location_name: "Row"))
|
2132
|
+
Cell.add_member(:column_name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "ColumnName"))
|
2133
|
+
Cell.add_member(:cell_reference, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "CellReference"))
|
2134
|
+
Cell.struct_class = Types::Cell
|
2135
|
+
|
2136
|
+
Cells.member = Shapes::ShapeRef.new(shape: Cell)
|
2137
|
+
|
2078
2138
|
CidrBlockAssociation.add_member(:association_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "AssociationId"))
|
2079
2139
|
CidrBlockAssociation.add_member(:cidr_block, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "CidrBlock"))
|
2080
2140
|
CidrBlockAssociation.add_member(:cidr_block_state, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "CidrBlockState"))
|
@@ -2085,6 +2145,18 @@ module Aws::SecurityHub
|
|
2085
2145
|
City.add_member(:city_name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "CityName"))
|
2086
2146
|
City.struct_class = Types::City
|
2087
2147
|
|
2148
|
+
ClassificationResult.add_member(:mime_type, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "MimeType"))
|
2149
|
+
ClassificationResult.add_member(:size_classified, Shapes::ShapeRef.new(shape: Long, location_name: "SizeClassified"))
|
2150
|
+
ClassificationResult.add_member(:additional_occurrences, Shapes::ShapeRef.new(shape: Boolean, location_name: "AdditionalOccurrences"))
|
2151
|
+
ClassificationResult.add_member(:status, Shapes::ShapeRef.new(shape: ClassificationStatus, location_name: "Status"))
|
2152
|
+
ClassificationResult.add_member(:sensitive_data, Shapes::ShapeRef.new(shape: SensitiveDataResultList, location_name: "SensitiveData"))
|
2153
|
+
ClassificationResult.add_member(:custom_data_identifiers, Shapes::ShapeRef.new(shape: CustomDataIdentifiersResult, location_name: "CustomDataIdentifiers"))
|
2154
|
+
ClassificationResult.struct_class = Types::ClassificationResult
|
2155
|
+
|
2156
|
+
ClassificationStatus.add_member(:code, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Code"))
|
2157
|
+
ClassificationStatus.add_member(:reason, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Reason"))
|
2158
|
+
ClassificationStatus.struct_class = Types::ClassificationStatus
|
2159
|
+
|
2088
2160
|
Compliance.add_member(:status, Shapes::ShapeRef.new(shape: ComplianceStatus, location_name: "Status"))
|
2089
2161
|
Compliance.add_member(:related_requirements, Shapes::ShapeRef.new(shape: RelatedRequirementsList, location_name: "RelatedRequirements"))
|
2090
2162
|
Compliance.add_member(:status_reasons, Shapes::ShapeRef.new(shape: StatusReasonsList, location_name: "StatusReasons"))
|
@@ -2122,6 +2194,18 @@ module Aws::SecurityHub
|
|
2122
2194
|
CreateMembersResponse.add_member(:unprocessed_accounts, Shapes::ShapeRef.new(shape: ResultList, location_name: "UnprocessedAccounts"))
|
2123
2195
|
CreateMembersResponse.struct_class = Types::CreateMembersResponse
|
2124
2196
|
|
2197
|
+
CustomDataIdentifiersDetections.add_member(:count, Shapes::ShapeRef.new(shape: Long, location_name: "Count"))
|
2198
|
+
CustomDataIdentifiersDetections.add_member(:arn, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Arn"))
|
2199
|
+
CustomDataIdentifiersDetections.add_member(:name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Name"))
|
2200
|
+
CustomDataIdentifiersDetections.add_member(:occurrences, Shapes::ShapeRef.new(shape: Occurrences, location_name: "Occurrences"))
|
2201
|
+
CustomDataIdentifiersDetections.struct_class = Types::CustomDataIdentifiersDetections
|
2202
|
+
|
2203
|
+
CustomDataIdentifiersDetectionsList.member = Shapes::ShapeRef.new(shape: CustomDataIdentifiersDetections)
|
2204
|
+
|
2205
|
+
CustomDataIdentifiersResult.add_member(:detections, Shapes::ShapeRef.new(shape: CustomDataIdentifiersDetectionsList, location_name: "Detections"))
|
2206
|
+
CustomDataIdentifiersResult.add_member(:total_count, Shapes::ShapeRef.new(shape: Long, location_name: "TotalCount"))
|
2207
|
+
CustomDataIdentifiersResult.struct_class = Types::CustomDataIdentifiersResult
|
2208
|
+
|
2125
2209
|
Cvss.add_member(:version, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Version"))
|
2126
2210
|
Cvss.add_member(:base_score, Shapes::ShapeRef.new(shape: Double, location_name: "BaseScore"))
|
2127
2211
|
Cvss.add_member(:base_vector, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "BaseVector"))
|
@@ -2129,6 +2213,10 @@ module Aws::SecurityHub
|
|
2129
2213
|
|
2130
2214
|
CvssList.member = Shapes::ShapeRef.new(shape: Cvss)
|
2131
2215
|
|
2216
|
+
DataClassificationDetails.add_member(:detailed_results_location, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "DetailedResultsLocation"))
|
2217
|
+
DataClassificationDetails.add_member(:result, Shapes::ShapeRef.new(shape: ClassificationResult, location_name: "Result"))
|
2218
|
+
DataClassificationDetails.struct_class = Types::DataClassificationDetails
|
2219
|
+
|
2132
2220
|
DateFilter.add_member(:start, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Start"))
|
2133
2221
|
DateFilter.add_member(:end, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "End"))
|
2134
2222
|
DateFilter.add_member(:date_range, Shapes::ShapeRef.new(shape: DateRange, location_name: "DateRange"))
|
@@ -2195,6 +2283,7 @@ module Aws::SecurityHub
|
|
2195
2283
|
|
2196
2284
|
DescribeProductsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "NextToken"))
|
2197
2285
|
DescribeProductsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "MaxResults"))
|
2286
|
+
DescribeProductsRequest.add_member(:product_arn, Shapes::ShapeRef.new(shape: NonEmptyString, location: "querystring", location_name: "ProductArn"))
|
2198
2287
|
DescribeProductsRequest.struct_class = Types::DescribeProductsRequest
|
2199
2288
|
|
2200
2289
|
DescribeProductsResponse.add_member(:products, Shapes::ShapeRef.new(shape: ProductsList, required: true, location_name: "Products"))
|
@@ -2232,6 +2321,10 @@ module Aws::SecurityHub
|
|
2232
2321
|
|
2233
2322
|
DisableSecurityHubResponse.struct_class = Types::DisableSecurityHubResponse
|
2234
2323
|
|
2324
|
+
DisassociateFromAdministratorAccountRequest.struct_class = Types::DisassociateFromAdministratorAccountRequest
|
2325
|
+
|
2326
|
+
DisassociateFromAdministratorAccountResponse.struct_class = Types::DisassociateFromAdministratorAccountResponse
|
2327
|
+
|
2235
2328
|
DisassociateFromMasterAccountRequest.struct_class = Types::DisassociateFromMasterAccountRequest
|
2236
2329
|
|
2237
2330
|
DisassociateFromMasterAccountResponse.struct_class = Types::DisassociateFromMasterAccountResponse
|
@@ -2266,10 +2359,26 @@ module Aws::SecurityHub
|
|
2266
2359
|
FieldMap.key = Shapes::ShapeRef.new(shape: NonEmptyString)
|
2267
2360
|
FieldMap.value = Shapes::ShapeRef.new(shape: NonEmptyString)
|
2268
2361
|
|
2362
|
+
FindingProviderFields.add_member(:confidence, Shapes::ShapeRef.new(shape: RatioScale, location_name: "Confidence"))
|
2363
|
+
FindingProviderFields.add_member(:criticality, Shapes::ShapeRef.new(shape: RatioScale, location_name: "Criticality"))
|
2364
|
+
FindingProviderFields.add_member(:related_findings, Shapes::ShapeRef.new(shape: RelatedFindingList, location_name: "RelatedFindings"))
|
2365
|
+
FindingProviderFields.add_member(:severity, Shapes::ShapeRef.new(shape: FindingProviderSeverity, location_name: "Severity"))
|
2366
|
+
FindingProviderFields.add_member(:types, Shapes::ShapeRef.new(shape: TypeList, location_name: "Types"))
|
2367
|
+
FindingProviderFields.struct_class = Types::FindingProviderFields
|
2368
|
+
|
2369
|
+
FindingProviderSeverity.add_member(:label, Shapes::ShapeRef.new(shape: SeverityLabel, location_name: "Label"))
|
2370
|
+
FindingProviderSeverity.add_member(:original, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Original"))
|
2371
|
+
FindingProviderSeverity.struct_class = Types::FindingProviderSeverity
|
2372
|
+
|
2269
2373
|
GeoLocation.add_member(:lon, Shapes::ShapeRef.new(shape: Double, location_name: "Lon"))
|
2270
2374
|
GeoLocation.add_member(:lat, Shapes::ShapeRef.new(shape: Double, location_name: "Lat"))
|
2271
2375
|
GeoLocation.struct_class = Types::GeoLocation
|
2272
2376
|
|
2377
|
+
GetAdministratorAccountRequest.struct_class = Types::GetAdministratorAccountRequest
|
2378
|
+
|
2379
|
+
GetAdministratorAccountResponse.add_member(:administrator, Shapes::ShapeRef.new(shape: Invitation, location_name: "Administrator"))
|
2380
|
+
GetAdministratorAccountResponse.struct_class = Types::GetAdministratorAccountResponse
|
2381
|
+
|
2273
2382
|
GetEnabledStandardsRequest.add_member(:standards_subscription_arns, Shapes::ShapeRef.new(shape: StandardsSubscriptionArns, location_name: "StandardsSubscriptionArns"))
|
2274
2383
|
GetEnabledStandardsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
2275
2384
|
GetEnabledStandardsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
@@ -2462,7 +2571,8 @@ module Aws::SecurityHub
|
|
2462
2571
|
|
2463
2572
|
Member.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "AccountId"))
|
2464
2573
|
Member.add_member(:email, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Email"))
|
2465
|
-
Member.add_member(:master_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "MasterId"))
|
2574
|
+
Member.add_member(:master_id, Shapes::ShapeRef.new(shape: NonEmptyString, deprecated: true, location_name: "MasterId", metadata: {"deprecatedMessage"=>"This field is deprecated, use AdministratorId instead."}))
|
2575
|
+
Member.add_member(:administrator_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "AdministratorId"))
|
2466
2576
|
Member.add_member(:member_status, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "MemberStatus"))
|
2467
2577
|
Member.add_member(:invited_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "InvitedAt"))
|
2468
2578
|
Member.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdatedAt"))
|
@@ -2527,6 +2637,20 @@ module Aws::SecurityHub
|
|
2527
2637
|
|
2528
2638
|
NumberFilterList.member = Shapes::ShapeRef.new(shape: NumberFilter)
|
2529
2639
|
|
2640
|
+
Occurrences.add_member(:line_ranges, Shapes::ShapeRef.new(shape: Ranges, location_name: "LineRanges"))
|
2641
|
+
Occurrences.add_member(:offset_ranges, Shapes::ShapeRef.new(shape: Ranges, location_name: "OffsetRanges"))
|
2642
|
+
Occurrences.add_member(:pages, Shapes::ShapeRef.new(shape: Pages, location_name: "Pages"))
|
2643
|
+
Occurrences.add_member(:records, Shapes::ShapeRef.new(shape: Records, location_name: "Records"))
|
2644
|
+
Occurrences.add_member(:cells, Shapes::ShapeRef.new(shape: Cells, location_name: "Cells"))
|
2645
|
+
Occurrences.struct_class = Types::Occurrences
|
2646
|
+
|
2647
|
+
Page.add_member(:page_number, Shapes::ShapeRef.new(shape: Long, location_name: "PageNumber"))
|
2648
|
+
Page.add_member(:line_range, Shapes::ShapeRef.new(shape: Range, location_name: "LineRange"))
|
2649
|
+
Page.add_member(:offset_range, Shapes::ShapeRef.new(shape: Range, location_name: "OffsetRange"))
|
2650
|
+
Page.struct_class = Types::Page
|
2651
|
+
|
2652
|
+
Pages.member = Shapes::ShapeRef.new(shape: Page)
|
2653
|
+
|
2530
2654
|
PatchSummary.add_member(:id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "Id"))
|
2531
2655
|
PatchSummary.add_member(:installed_count, Shapes::ShapeRef.new(shape: Integer, location_name: "InstalledCount"))
|
2532
2656
|
PatchSummary.add_member(:missing_count, Shapes::ShapeRef.new(shape: Integer, location_name: "MissingCount"))
|
@@ -2580,10 +2704,23 @@ module Aws::SecurityHub
|
|
2580
2704
|
|
2581
2705
|
ProductsList.member = Shapes::ShapeRef.new(shape: Product)
|
2582
2706
|
|
2707
|
+
Range.add_member(:start, Shapes::ShapeRef.new(shape: Long, location_name: "Start"))
|
2708
|
+
Range.add_member(:end, Shapes::ShapeRef.new(shape: Long, location_name: "End"))
|
2709
|
+
Range.add_member(:start_column, Shapes::ShapeRef.new(shape: Long, location_name: "StartColumn"))
|
2710
|
+
Range.struct_class = Types::Range
|
2711
|
+
|
2712
|
+
Ranges.member = Shapes::ShapeRef.new(shape: Range)
|
2713
|
+
|
2583
2714
|
Recommendation.add_member(:text, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Text"))
|
2584
2715
|
Recommendation.add_member(:url, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Url"))
|
2585
2716
|
Recommendation.struct_class = Types::Recommendation
|
2586
2717
|
|
2718
|
+
Record.add_member(:json_path, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "JsonPath"))
|
2719
|
+
Record.add_member(:record_index, Shapes::ShapeRef.new(shape: Long, location_name: "RecordIndex"))
|
2720
|
+
Record.struct_class = Types::Record
|
2721
|
+
|
2722
|
+
Records.member = Shapes::ShapeRef.new(shape: Record)
|
2723
|
+
|
2587
2724
|
RelatedFinding.add_member(:product_arn, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "ProductArn"))
|
2588
2725
|
RelatedFinding.add_member(:id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "Id"))
|
2589
2726
|
RelatedFinding.struct_class = Types::RelatedFinding
|
@@ -2601,6 +2738,7 @@ module Aws::SecurityHub
|
|
2601
2738
|
Resource.add_member(:region, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Region"))
|
2602
2739
|
Resource.add_member(:resource_role, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "ResourceRole"))
|
2603
2740
|
Resource.add_member(:tags, Shapes::ShapeRef.new(shape: FieldMap, location_name: "Tags"))
|
2741
|
+
Resource.add_member(:data_classification, Shapes::ShapeRef.new(shape: DataClassificationDetails, location_name: "DataClassification"))
|
2604
2742
|
Resource.add_member(:details, Shapes::ShapeRef.new(shape: ResourceDetails, location_name: "Details"))
|
2605
2743
|
Resource.struct_class = Types::Resource
|
2606
2744
|
|
@@ -2620,6 +2758,7 @@ module Aws::SecurityHub
|
|
2620
2758
|
ResourceDetails.add_member(:aws_elbv_2_load_balancer, Shapes::ShapeRef.new(shape: AwsElbv2LoadBalancerDetails, location_name: "AwsElbv2LoadBalancer"))
|
2621
2759
|
ResourceDetails.add_member(:aws_elasticsearch_domain, Shapes::ShapeRef.new(shape: AwsElasticsearchDomainDetails, location_name: "AwsElasticsearchDomain"))
|
2622
2760
|
ResourceDetails.add_member(:aws_s3_bucket, Shapes::ShapeRef.new(shape: AwsS3BucketDetails, location_name: "AwsS3Bucket"))
|
2761
|
+
ResourceDetails.add_member(:aws_s3_account_public_access_block, Shapes::ShapeRef.new(shape: AwsS3AccountPublicAccessBlockDetails, location_name: "AwsS3AccountPublicAccessBlock"))
|
2623
2762
|
ResourceDetails.add_member(:aws_s3_object, Shapes::ShapeRef.new(shape: AwsS3ObjectDetails, location_name: "AwsS3Object"))
|
2624
2763
|
ResourceDetails.add_member(:aws_secrets_manager_secret, Shapes::ShapeRef.new(shape: AwsSecretsManagerSecretDetails, location_name: "AwsSecretsManagerSecret"))
|
2625
2764
|
ResourceDetails.add_member(:aws_iam_access_key, Shapes::ShapeRef.new(shape: AwsIamAccessKeyDetails, location_name: "AwsIamAccessKey"))
|
@@ -2665,6 +2804,20 @@ module Aws::SecurityHub
|
|
2665
2804
|
|
2666
2805
|
SecurityGroups.member = Shapes::ShapeRef.new(shape: NonEmptyString)
|
2667
2806
|
|
2807
|
+
SensitiveDataDetections.add_member(:count, Shapes::ShapeRef.new(shape: Long, location_name: "Count"))
|
2808
|
+
SensitiveDataDetections.add_member(:type, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Type"))
|
2809
|
+
SensitiveDataDetections.add_member(:occurrences, Shapes::ShapeRef.new(shape: Occurrences, location_name: "Occurrences"))
|
2810
|
+
SensitiveDataDetections.struct_class = Types::SensitiveDataDetections
|
2811
|
+
|
2812
|
+
SensitiveDataDetectionsList.member = Shapes::ShapeRef.new(shape: SensitiveDataDetections)
|
2813
|
+
|
2814
|
+
SensitiveDataResult.add_member(:category, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Category"))
|
2815
|
+
SensitiveDataResult.add_member(:detections, Shapes::ShapeRef.new(shape: SensitiveDataDetectionsList, location_name: "Detections"))
|
2816
|
+
SensitiveDataResult.add_member(:total_count, Shapes::ShapeRef.new(shape: Long, location_name: "TotalCount"))
|
2817
|
+
SensitiveDataResult.struct_class = Types::SensitiveDataResult
|
2818
|
+
|
2819
|
+
SensitiveDataResultList.member = Shapes::ShapeRef.new(shape: SensitiveDataResult)
|
2820
|
+
|
2668
2821
|
Severity.add_member(:product, Shapes::ShapeRef.new(shape: Double, location_name: "Product"))
|
2669
2822
|
Severity.add_member(:label, Shapes::ShapeRef.new(shape: SeverityLabel, location_name: "Label"))
|
2670
2823
|
Severity.add_member(:normalized, Shapes::ShapeRef.new(shape: Integer, location_name: "Normalized"))
|
@@ -2866,10 +3019,24 @@ module Aws::SecurityHub
|
|
2866
3019
|
"uid" => "securityhub-2018-10-26",
|
2867
3020
|
}
|
2868
3021
|
|
3022
|
+
api.add_operation(:accept_administrator_invitation, Seahorse::Model::Operation.new.tap do |o|
|
3023
|
+
o.name = "AcceptAdministratorInvitation"
|
3024
|
+
o.http_method = "POST"
|
3025
|
+
o.http_request_uri = "/administrator"
|
3026
|
+
o.input = Shapes::ShapeRef.new(shape: AcceptAdministratorInvitationRequest)
|
3027
|
+
o.output = Shapes::ShapeRef.new(shape: AcceptAdministratorInvitationResponse)
|
3028
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
3029
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
3030
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
3031
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
3032
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAccessException)
|
3033
|
+
end)
|
3034
|
+
|
2869
3035
|
api.add_operation(:accept_invitation, Seahorse::Model::Operation.new.tap do |o|
|
2870
3036
|
o.name = "AcceptInvitation"
|
2871
3037
|
o.http_method = "POST"
|
2872
3038
|
o.http_request_uri = "/master"
|
3039
|
+
o.deprecated = true
|
2873
3040
|
o.input = Shapes::ShapeRef.new(shape: AcceptInvitationRequest)
|
2874
3041
|
o.output = Shapes::ShapeRef.new(shape: AcceptInvitationResponse)
|
2875
3042
|
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
@@ -3162,10 +3329,24 @@ module Aws::SecurityHub
|
|
3162
3329
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
3163
3330
|
end)
|
3164
3331
|
|
3332
|
+
api.add_operation(:disassociate_from_administrator_account, Seahorse::Model::Operation.new.tap do |o|
|
3333
|
+
o.name = "DisassociateFromAdministratorAccount"
|
3334
|
+
o.http_method = "POST"
|
3335
|
+
o.http_request_uri = "/administrator/disassociate"
|
3336
|
+
o.input = Shapes::ShapeRef.new(shape: DisassociateFromAdministratorAccountRequest)
|
3337
|
+
o.output = Shapes::ShapeRef.new(shape: DisassociateFromAdministratorAccountResponse)
|
3338
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
3339
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
3340
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAccessException)
|
3341
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
3342
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
3343
|
+
end)
|
3344
|
+
|
3165
3345
|
api.add_operation(:disassociate_from_master_account, Seahorse::Model::Operation.new.tap do |o|
|
3166
3346
|
o.name = "DisassociateFromMasterAccount"
|
3167
3347
|
o.http_method = "POST"
|
3168
3348
|
o.http_request_uri = "/master/disassociate"
|
3349
|
+
o.deprecated = true
|
3169
3350
|
o.input = Shapes::ShapeRef.new(shape: DisassociateFromMasterAccountRequest)
|
3170
3351
|
o.output = Shapes::ShapeRef.new(shape: DisassociateFromMasterAccountResponse)
|
3171
3352
|
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
@@ -3226,6 +3407,19 @@ module Aws::SecurityHub
|
|
3226
3407
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
3227
3408
|
end)
|
3228
3409
|
|
3410
|
+
api.add_operation(:get_administrator_account, Seahorse::Model::Operation.new.tap do |o|
|
3411
|
+
o.name = "GetAdministratorAccount"
|
3412
|
+
o.http_method = "GET"
|
3413
|
+
o.http_request_uri = "/administrator"
|
3414
|
+
o.input = Shapes::ShapeRef.new(shape: GetAdministratorAccountRequest)
|
3415
|
+
o.output = Shapes::ShapeRef.new(shape: GetAdministratorAccountResponse)
|
3416
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
3417
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
3418
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAccessException)
|
3419
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
3420
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
3421
|
+
end)
|
3422
|
+
|
3229
3423
|
api.add_operation(:get_enabled_standards, Seahorse::Model::Operation.new.tap do |o|
|
3230
3424
|
o.name = "GetEnabledStandards"
|
3231
3425
|
o.http_method = "POST"
|
@@ -3310,6 +3504,7 @@ module Aws::SecurityHub
|
|
3310
3504
|
o.name = "GetMasterAccount"
|
3311
3505
|
o.http_method = "GET"
|
3312
3506
|
o.http_request_uri = "/master"
|
3507
|
+
o.deprecated = true
|
3313
3508
|
o.input = Shapes::ShapeRef.new(shape: GetMasterAccountRequest)
|
3314
3509
|
o.output = Shapes::ShapeRef.new(shape: GetMasterAccountResponse)
|
3315
3510
|
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|