aws-sdk-securityhub 1.40.0 → 1.46.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 +243 -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 +764 -69
- data/lib/aws-sdk-securityhub/client_api.rb +305 -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 +2961 -132
- metadata +9 -7
@@ -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')
|
@@ -102,6 +104,11 @@ module Aws::SecurityHub
|
|
102
104
|
AwsDynamoDbTableStreamSpecification = Shapes::StructureShape.new(name: 'AwsDynamoDbTableStreamSpecification')
|
103
105
|
AwsEc2EipDetails = Shapes::StructureShape.new(name: 'AwsEc2EipDetails')
|
104
106
|
AwsEc2InstanceDetails = Shapes::StructureShape.new(name: 'AwsEc2InstanceDetails')
|
107
|
+
AwsEc2NetworkAclAssociation = Shapes::StructureShape.new(name: 'AwsEc2NetworkAclAssociation')
|
108
|
+
AwsEc2NetworkAclAssociationList = Shapes::ListShape.new(name: 'AwsEc2NetworkAclAssociationList')
|
109
|
+
AwsEc2NetworkAclDetails = Shapes::StructureShape.new(name: 'AwsEc2NetworkAclDetails')
|
110
|
+
AwsEc2NetworkAclEntry = Shapes::StructureShape.new(name: 'AwsEc2NetworkAclEntry')
|
111
|
+
AwsEc2NetworkAclEntryList = Shapes::ListShape.new(name: 'AwsEc2NetworkAclEntryList')
|
105
112
|
AwsEc2NetworkInterfaceAttachment = Shapes::StructureShape.new(name: 'AwsEc2NetworkInterfaceAttachment')
|
106
113
|
AwsEc2NetworkInterfaceDetails = Shapes::StructureShape.new(name: 'AwsEc2NetworkInterfaceDetails')
|
107
114
|
AwsEc2NetworkInterfaceIpV6AddressDetail = Shapes::StructureShape.new(name: 'AwsEc2NetworkInterfaceIpV6AddressDetail')
|
@@ -121,10 +128,17 @@ module Aws::SecurityHub
|
|
121
128
|
AwsEc2SecurityGroupPrefixListIdList = Shapes::ListShape.new(name: 'AwsEc2SecurityGroupPrefixListIdList')
|
122
129
|
AwsEc2SecurityGroupUserIdGroupPair = Shapes::StructureShape.new(name: 'AwsEc2SecurityGroupUserIdGroupPair')
|
123
130
|
AwsEc2SecurityGroupUserIdGroupPairList = Shapes::ListShape.new(name: 'AwsEc2SecurityGroupUserIdGroupPairList')
|
131
|
+
AwsEc2SubnetDetails = Shapes::StructureShape.new(name: 'AwsEc2SubnetDetails')
|
124
132
|
AwsEc2VolumeAttachment = Shapes::StructureShape.new(name: 'AwsEc2VolumeAttachment')
|
125
133
|
AwsEc2VolumeAttachmentList = Shapes::ListShape.new(name: 'AwsEc2VolumeAttachmentList')
|
126
134
|
AwsEc2VolumeDetails = Shapes::StructureShape.new(name: 'AwsEc2VolumeDetails')
|
127
135
|
AwsEc2VpcDetails = Shapes::StructureShape.new(name: 'AwsEc2VpcDetails')
|
136
|
+
AwsElasticBeanstalkEnvironmentDetails = Shapes::StructureShape.new(name: 'AwsElasticBeanstalkEnvironmentDetails')
|
137
|
+
AwsElasticBeanstalkEnvironmentEnvironmentLink = Shapes::StructureShape.new(name: 'AwsElasticBeanstalkEnvironmentEnvironmentLink')
|
138
|
+
AwsElasticBeanstalkEnvironmentEnvironmentLinks = Shapes::ListShape.new(name: 'AwsElasticBeanstalkEnvironmentEnvironmentLinks')
|
139
|
+
AwsElasticBeanstalkEnvironmentOptionSetting = Shapes::StructureShape.new(name: 'AwsElasticBeanstalkEnvironmentOptionSetting')
|
140
|
+
AwsElasticBeanstalkEnvironmentOptionSettings = Shapes::ListShape.new(name: 'AwsElasticBeanstalkEnvironmentOptionSettings')
|
141
|
+
AwsElasticBeanstalkEnvironmentTier = Shapes::StructureShape.new(name: 'AwsElasticBeanstalkEnvironmentTier')
|
128
142
|
AwsElasticsearchDomainDetails = Shapes::StructureShape.new(name: 'AwsElasticsearchDomainDetails')
|
129
143
|
AwsElasticsearchDomainDomainEndpointOptions = Shapes::StructureShape.new(name: 'AwsElasticsearchDomainDomainEndpointOptions')
|
130
144
|
AwsElasticsearchDomainEncryptionAtRestOptions = Shapes::StructureShape.new(name: 'AwsElasticsearchDomainEncryptionAtRestOptions')
|
@@ -241,6 +255,7 @@ module Aws::SecurityHub
|
|
241
255
|
AwsRedshiftClusterRestoreStatus = Shapes::StructureShape.new(name: 'AwsRedshiftClusterRestoreStatus')
|
242
256
|
AwsRedshiftClusterVpcSecurityGroup = Shapes::StructureShape.new(name: 'AwsRedshiftClusterVpcSecurityGroup')
|
243
257
|
AwsRedshiftClusterVpcSecurityGroups = Shapes::ListShape.new(name: 'AwsRedshiftClusterVpcSecurityGroups')
|
258
|
+
AwsS3AccountPublicAccessBlockDetails = Shapes::StructureShape.new(name: 'AwsS3AccountPublicAccessBlockDetails')
|
244
259
|
AwsS3BucketDetails = Shapes::StructureShape.new(name: 'AwsS3BucketDetails')
|
245
260
|
AwsS3BucketServerSideEncryptionByDefault = Shapes::StructureShape.new(name: 'AwsS3BucketServerSideEncryptionByDefault')
|
246
261
|
AwsS3BucketServerSideEncryptionConfiguration = Shapes::StructureShape.new(name: 'AwsS3BucketServerSideEncryptionConfiguration')
|
@@ -269,6 +284,7 @@ module Aws::SecurityHub
|
|
269
284
|
BatchEnableStandardsRequest = Shapes::StructureShape.new(name: 'BatchEnableStandardsRequest')
|
270
285
|
BatchEnableStandardsResponse = Shapes::StructureShape.new(name: 'BatchEnableStandardsResponse')
|
271
286
|
BatchImportFindingsRequest = Shapes::StructureShape.new(name: 'BatchImportFindingsRequest')
|
287
|
+
BatchImportFindingsRequestFindingList = Shapes::ListShape.new(name: 'BatchImportFindingsRequestFindingList')
|
272
288
|
BatchImportFindingsResponse = Shapes::StructureShape.new(name: 'BatchImportFindingsResponse')
|
273
289
|
BatchUpdateFindingsRequest = Shapes::StructureShape.new(name: 'BatchUpdateFindingsRequest')
|
274
290
|
BatchUpdateFindingsResponse = Shapes::StructureShape.new(name: 'BatchUpdateFindingsResponse')
|
@@ -276,9 +292,13 @@ module Aws::SecurityHub
|
|
276
292
|
BatchUpdateFindingsUnprocessedFindingsList = Shapes::ListShape.new(name: 'BatchUpdateFindingsUnprocessedFindingsList')
|
277
293
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
278
294
|
CategoryList = Shapes::ListShape.new(name: 'CategoryList')
|
295
|
+
Cell = Shapes::StructureShape.new(name: 'Cell')
|
296
|
+
Cells = Shapes::ListShape.new(name: 'Cells')
|
279
297
|
CidrBlockAssociation = Shapes::StructureShape.new(name: 'CidrBlockAssociation')
|
280
298
|
CidrBlockAssociationList = Shapes::ListShape.new(name: 'CidrBlockAssociationList')
|
281
299
|
City = Shapes::StructureShape.new(name: 'City')
|
300
|
+
ClassificationResult = Shapes::StructureShape.new(name: 'ClassificationResult')
|
301
|
+
ClassificationStatus = Shapes::StructureShape.new(name: 'ClassificationStatus')
|
282
302
|
Compliance = Shapes::StructureShape.new(name: 'Compliance')
|
283
303
|
ComplianceStatus = Shapes::StringShape.new(name: 'ComplianceStatus')
|
284
304
|
ContainerDetails = Shapes::StructureShape.new(name: 'ContainerDetails')
|
@@ -291,8 +311,12 @@ module Aws::SecurityHub
|
|
291
311
|
CreateMembersRequest = Shapes::StructureShape.new(name: 'CreateMembersRequest')
|
292
312
|
CreateMembersResponse = Shapes::StructureShape.new(name: 'CreateMembersResponse')
|
293
313
|
CrossAccountMaxResults = Shapes::IntegerShape.new(name: 'CrossAccountMaxResults')
|
314
|
+
CustomDataIdentifiersDetections = Shapes::StructureShape.new(name: 'CustomDataIdentifiersDetections')
|
315
|
+
CustomDataIdentifiersDetectionsList = Shapes::ListShape.new(name: 'CustomDataIdentifiersDetectionsList')
|
316
|
+
CustomDataIdentifiersResult = Shapes::StructureShape.new(name: 'CustomDataIdentifiersResult')
|
294
317
|
Cvss = Shapes::StructureShape.new(name: 'Cvss')
|
295
318
|
CvssList = Shapes::ListShape.new(name: 'CvssList')
|
319
|
+
DataClassificationDetails = Shapes::StructureShape.new(name: 'DataClassificationDetails')
|
296
320
|
DateFilter = Shapes::StructureShape.new(name: 'DateFilter')
|
297
321
|
DateFilterList = Shapes::ListShape.new(name: 'DateFilterList')
|
298
322
|
DateRange = Shapes::StructureShape.new(name: 'DateRange')
|
@@ -325,6 +349,8 @@ module Aws::SecurityHub
|
|
325
349
|
DisableOrganizationAdminAccountResponse = Shapes::StructureShape.new(name: 'DisableOrganizationAdminAccountResponse')
|
326
350
|
DisableSecurityHubRequest = Shapes::StructureShape.new(name: 'DisableSecurityHubRequest')
|
327
351
|
DisableSecurityHubResponse = Shapes::StructureShape.new(name: 'DisableSecurityHubResponse')
|
352
|
+
DisassociateFromAdministratorAccountRequest = Shapes::StructureShape.new(name: 'DisassociateFromAdministratorAccountRequest')
|
353
|
+
DisassociateFromAdministratorAccountResponse = Shapes::StructureShape.new(name: 'DisassociateFromAdministratorAccountResponse')
|
328
354
|
DisassociateFromMasterAccountRequest = Shapes::StructureShape.new(name: 'DisassociateFromMasterAccountRequest')
|
329
355
|
DisassociateFromMasterAccountResponse = Shapes::StructureShape.new(name: 'DisassociateFromMasterAccountResponse')
|
330
356
|
DisassociateMembersRequest = Shapes::StructureShape.new(name: 'DisassociateMembersRequest')
|
@@ -338,7 +364,11 @@ module Aws::SecurityHub
|
|
338
364
|
EnableSecurityHubRequest = Shapes::StructureShape.new(name: 'EnableSecurityHubRequest')
|
339
365
|
EnableSecurityHubResponse = Shapes::StructureShape.new(name: 'EnableSecurityHubResponse')
|
340
366
|
FieldMap = Shapes::MapShape.new(name: 'FieldMap')
|
367
|
+
FindingProviderFields = Shapes::StructureShape.new(name: 'FindingProviderFields')
|
368
|
+
FindingProviderSeverity = Shapes::StructureShape.new(name: 'FindingProviderSeverity')
|
341
369
|
GeoLocation = Shapes::StructureShape.new(name: 'GeoLocation')
|
370
|
+
GetAdministratorAccountRequest = Shapes::StructureShape.new(name: 'GetAdministratorAccountRequest')
|
371
|
+
GetAdministratorAccountResponse = Shapes::StructureShape.new(name: 'GetAdministratorAccountResponse')
|
342
372
|
GetEnabledStandardsRequest = Shapes::StructureShape.new(name: 'GetEnabledStandardsRequest')
|
343
373
|
GetEnabledStandardsResponse = Shapes::StructureShape.new(name: 'GetEnabledStandardsResponse')
|
344
374
|
GetFindingsRequest = Shapes::StructureShape.new(name: 'GetFindingsRequest')
|
@@ -353,6 +383,7 @@ module Aws::SecurityHub
|
|
353
383
|
GetMasterAccountResponse = Shapes::StructureShape.new(name: 'GetMasterAccountResponse')
|
354
384
|
GetMembersRequest = Shapes::StructureShape.new(name: 'GetMembersRequest')
|
355
385
|
GetMembersResponse = Shapes::StructureShape.new(name: 'GetMembersResponse')
|
386
|
+
IcmpTypeCode = Shapes::StructureShape.new(name: 'IcmpTypeCode')
|
356
387
|
ImportFindingsError = Shapes::StructureShape.new(name: 'ImportFindingsError')
|
357
388
|
ImportFindingsErrorList = Shapes::ListShape.new(name: 'ImportFindingsErrorList')
|
358
389
|
Insight = Shapes::StructureShape.new(name: 'Insight')
|
@@ -414,20 +445,28 @@ module Aws::SecurityHub
|
|
414
445
|
NoteUpdate = Shapes::StructureShape.new(name: 'NoteUpdate')
|
415
446
|
NumberFilter = Shapes::StructureShape.new(name: 'NumberFilter')
|
416
447
|
NumberFilterList = Shapes::ListShape.new(name: 'NumberFilterList')
|
448
|
+
Occurrences = Shapes::StructureShape.new(name: 'Occurrences')
|
449
|
+
Page = Shapes::StructureShape.new(name: 'Page')
|
450
|
+
Pages = Shapes::ListShape.new(name: 'Pages')
|
417
451
|
Partition = Shapes::StringShape.new(name: 'Partition')
|
418
452
|
PatchSummary = Shapes::StructureShape.new(name: 'PatchSummary')
|
419
453
|
PortProbeAction = Shapes::StructureShape.new(name: 'PortProbeAction')
|
420
454
|
PortProbeDetail = Shapes::StructureShape.new(name: 'PortProbeDetail')
|
421
455
|
PortProbeDetailList = Shapes::ListShape.new(name: 'PortProbeDetailList')
|
422
456
|
PortRange = Shapes::StructureShape.new(name: 'PortRange')
|
457
|
+
PortRangeFromTo = Shapes::StructureShape.new(name: 'PortRangeFromTo')
|
423
458
|
PortRangeList = Shapes::ListShape.new(name: 'PortRangeList')
|
424
459
|
ProcessDetails = Shapes::StructureShape.new(name: 'ProcessDetails')
|
425
460
|
Product = Shapes::StructureShape.new(name: 'Product')
|
426
461
|
ProductSubscriptionArnList = Shapes::ListShape.new(name: 'ProductSubscriptionArnList')
|
427
462
|
ProductsList = Shapes::ListShape.new(name: 'ProductsList')
|
463
|
+
Range = Shapes::StructureShape.new(name: 'Range')
|
464
|
+
Ranges = Shapes::ListShape.new(name: 'Ranges')
|
428
465
|
RatioScale = Shapes::IntegerShape.new(name: 'RatioScale')
|
429
466
|
Recommendation = Shapes::StructureShape.new(name: 'Recommendation')
|
467
|
+
Record = Shapes::StructureShape.new(name: 'Record')
|
430
468
|
RecordState = Shapes::StringShape.new(name: 'RecordState')
|
469
|
+
Records = Shapes::ListShape.new(name: 'Records')
|
431
470
|
RelatedFinding = Shapes::StructureShape.new(name: 'RelatedFinding')
|
432
471
|
RelatedFindingList = Shapes::ListShape.new(name: 'RelatedFindingList')
|
433
472
|
RelatedRequirementsList = Shapes::ListShape.new(name: 'RelatedRequirementsList')
|
@@ -441,6 +480,10 @@ module Aws::SecurityHub
|
|
441
480
|
Result = Shapes::StructureShape.new(name: 'Result')
|
442
481
|
ResultList = Shapes::ListShape.new(name: 'ResultList')
|
443
482
|
SecurityGroups = Shapes::ListShape.new(name: 'SecurityGroups')
|
483
|
+
SensitiveDataDetections = Shapes::StructureShape.new(name: 'SensitiveDataDetections')
|
484
|
+
SensitiveDataDetectionsList = Shapes::ListShape.new(name: 'SensitiveDataDetectionsList')
|
485
|
+
SensitiveDataResult = Shapes::StructureShape.new(name: 'SensitiveDataResult')
|
486
|
+
SensitiveDataResultList = Shapes::ListShape.new(name: 'SensitiveDataResultList')
|
444
487
|
Severity = Shapes::StructureShape.new(name: 'Severity')
|
445
488
|
SeverityLabel = Shapes::StringShape.new(name: 'SeverityLabel')
|
446
489
|
SeverityRating = Shapes::StringShape.new(name: 'SeverityRating')
|
@@ -507,6 +550,12 @@ module Aws::SecurityHub
|
|
507
550
|
WorkflowStatus = Shapes::StringShape.new(name: 'WorkflowStatus')
|
508
551
|
WorkflowUpdate = Shapes::StructureShape.new(name: 'WorkflowUpdate')
|
509
552
|
|
553
|
+
AcceptAdministratorInvitationRequest.add_member(:administrator_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "AdministratorId"))
|
554
|
+
AcceptAdministratorInvitationRequest.add_member(:invitation_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "InvitationId"))
|
555
|
+
AcceptAdministratorInvitationRequest.struct_class = Types::AcceptAdministratorInvitationRequest
|
556
|
+
|
557
|
+
AcceptAdministratorInvitationResponse.struct_class = Types::AcceptAdministratorInvitationResponse
|
558
|
+
|
510
559
|
AcceptInvitationRequest.add_member(:master_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "MasterId"))
|
511
560
|
AcceptInvitationRequest.add_member(:invitation_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "InvitationId"))
|
512
561
|
AcceptInvitationRequest.struct_class = Types::AcceptInvitationRequest
|
@@ -984,6 +1033,33 @@ module Aws::SecurityHub
|
|
984
1033
|
AwsEc2InstanceDetails.add_member(:launched_at, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "LaunchedAt"))
|
985
1034
|
AwsEc2InstanceDetails.struct_class = Types::AwsEc2InstanceDetails
|
986
1035
|
|
1036
|
+
AwsEc2NetworkAclAssociation.add_member(:network_acl_association_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "NetworkAclAssociationId"))
|
1037
|
+
AwsEc2NetworkAclAssociation.add_member(:network_acl_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "NetworkAclId"))
|
1038
|
+
AwsEc2NetworkAclAssociation.add_member(:subnet_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "SubnetId"))
|
1039
|
+
AwsEc2NetworkAclAssociation.struct_class = Types::AwsEc2NetworkAclAssociation
|
1040
|
+
|
1041
|
+
AwsEc2NetworkAclAssociationList.member = Shapes::ShapeRef.new(shape: AwsEc2NetworkAclAssociation)
|
1042
|
+
|
1043
|
+
AwsEc2NetworkAclDetails.add_member(:is_default, Shapes::ShapeRef.new(shape: Boolean, location_name: "IsDefault"))
|
1044
|
+
AwsEc2NetworkAclDetails.add_member(:network_acl_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "NetworkAclId"))
|
1045
|
+
AwsEc2NetworkAclDetails.add_member(:owner_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "OwnerId"))
|
1046
|
+
AwsEc2NetworkAclDetails.add_member(:vpc_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "VpcId"))
|
1047
|
+
AwsEc2NetworkAclDetails.add_member(:associations, Shapes::ShapeRef.new(shape: AwsEc2NetworkAclAssociationList, location_name: "Associations"))
|
1048
|
+
AwsEc2NetworkAclDetails.add_member(:entries, Shapes::ShapeRef.new(shape: AwsEc2NetworkAclEntryList, location_name: "Entries"))
|
1049
|
+
AwsEc2NetworkAclDetails.struct_class = Types::AwsEc2NetworkAclDetails
|
1050
|
+
|
1051
|
+
AwsEc2NetworkAclEntry.add_member(:cidr_block, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "CidrBlock"))
|
1052
|
+
AwsEc2NetworkAclEntry.add_member(:egress, Shapes::ShapeRef.new(shape: Boolean, location_name: "Egress"))
|
1053
|
+
AwsEc2NetworkAclEntry.add_member(:icmp_type_code, Shapes::ShapeRef.new(shape: IcmpTypeCode, location_name: "IcmpTypeCode"))
|
1054
|
+
AwsEc2NetworkAclEntry.add_member(:ipv_6_cidr_block, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Ipv6CidrBlock"))
|
1055
|
+
AwsEc2NetworkAclEntry.add_member(:port_range, Shapes::ShapeRef.new(shape: PortRangeFromTo, location_name: "PortRange"))
|
1056
|
+
AwsEc2NetworkAclEntry.add_member(:protocol, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Protocol"))
|
1057
|
+
AwsEc2NetworkAclEntry.add_member(:rule_action, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "RuleAction"))
|
1058
|
+
AwsEc2NetworkAclEntry.add_member(:rule_number, Shapes::ShapeRef.new(shape: Integer, location_name: "RuleNumber"))
|
1059
|
+
AwsEc2NetworkAclEntry.struct_class = Types::AwsEc2NetworkAclEntry
|
1060
|
+
|
1061
|
+
AwsEc2NetworkAclEntryList.member = Shapes::ShapeRef.new(shape: AwsEc2NetworkAclEntry)
|
1062
|
+
|
987
1063
|
AwsEc2NetworkInterfaceAttachment.add_member(:attach_time, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "AttachTime"))
|
988
1064
|
AwsEc2NetworkInterfaceAttachment.add_member(:attachment_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "AttachmentId"))
|
989
1065
|
AwsEc2NetworkInterfaceAttachment.add_member(:delete_on_termination, Shapes::ShapeRef.new(shape: Boolean, location_name: "DeleteOnTermination"))
|
@@ -1064,6 +1140,21 @@ module Aws::SecurityHub
|
|
1064
1140
|
|
1065
1141
|
AwsEc2SecurityGroupUserIdGroupPairList.member = Shapes::ShapeRef.new(shape: AwsEc2SecurityGroupUserIdGroupPair)
|
1066
1142
|
|
1143
|
+
AwsEc2SubnetDetails.add_member(:assign_ipv_6_address_on_creation, Shapes::ShapeRef.new(shape: Boolean, location_name: "AssignIpv6AddressOnCreation"))
|
1144
|
+
AwsEc2SubnetDetails.add_member(:availability_zone, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "AvailabilityZone"))
|
1145
|
+
AwsEc2SubnetDetails.add_member(:availability_zone_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "AvailabilityZoneId"))
|
1146
|
+
AwsEc2SubnetDetails.add_member(:available_ip_address_count, Shapes::ShapeRef.new(shape: Integer, location_name: "AvailableIpAddressCount"))
|
1147
|
+
AwsEc2SubnetDetails.add_member(:cidr_block, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "CidrBlock"))
|
1148
|
+
AwsEc2SubnetDetails.add_member(:default_for_az, Shapes::ShapeRef.new(shape: Boolean, location_name: "DefaultForAz"))
|
1149
|
+
AwsEc2SubnetDetails.add_member(:map_public_ip_on_launch, Shapes::ShapeRef.new(shape: Boolean, location_name: "MapPublicIpOnLaunch"))
|
1150
|
+
AwsEc2SubnetDetails.add_member(:owner_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "OwnerId"))
|
1151
|
+
AwsEc2SubnetDetails.add_member(:state, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "State"))
|
1152
|
+
AwsEc2SubnetDetails.add_member(:subnet_arn, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "SubnetArn"))
|
1153
|
+
AwsEc2SubnetDetails.add_member(:subnet_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "SubnetId"))
|
1154
|
+
AwsEc2SubnetDetails.add_member(:vpc_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "VpcId"))
|
1155
|
+
AwsEc2SubnetDetails.add_member(:ipv_6_cidr_block_association_set, Shapes::ShapeRef.new(shape: Ipv6CidrBlockAssociationList, location_name: "Ipv6CidrBlockAssociationSet"))
|
1156
|
+
AwsEc2SubnetDetails.struct_class = Types::AwsEc2SubnetDetails
|
1157
|
+
|
1067
1158
|
AwsEc2VolumeAttachment.add_member(:attach_time, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "AttachTime"))
|
1068
1159
|
AwsEc2VolumeAttachment.add_member(:delete_on_termination, Shapes::ShapeRef.new(shape: Boolean, location_name: "DeleteOnTermination"))
|
1069
1160
|
AwsEc2VolumeAttachment.add_member(:instance_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "InstanceId"))
|
@@ -1087,6 +1178,43 @@ module Aws::SecurityHub
|
|
1087
1178
|
AwsEc2VpcDetails.add_member(:state, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "State"))
|
1088
1179
|
AwsEc2VpcDetails.struct_class = Types::AwsEc2VpcDetails
|
1089
1180
|
|
1181
|
+
AwsElasticBeanstalkEnvironmentDetails.add_member(:application_name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "ApplicationName"))
|
1182
|
+
AwsElasticBeanstalkEnvironmentDetails.add_member(:cname, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Cname"))
|
1183
|
+
AwsElasticBeanstalkEnvironmentDetails.add_member(:date_created, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "DateCreated"))
|
1184
|
+
AwsElasticBeanstalkEnvironmentDetails.add_member(:date_updated, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "DateUpdated"))
|
1185
|
+
AwsElasticBeanstalkEnvironmentDetails.add_member(:description, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Description"))
|
1186
|
+
AwsElasticBeanstalkEnvironmentDetails.add_member(:endpoint_url, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "EndpointUrl"))
|
1187
|
+
AwsElasticBeanstalkEnvironmentDetails.add_member(:environment_arn, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "EnvironmentArn"))
|
1188
|
+
AwsElasticBeanstalkEnvironmentDetails.add_member(:environment_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "EnvironmentId"))
|
1189
|
+
AwsElasticBeanstalkEnvironmentDetails.add_member(:environment_links, Shapes::ShapeRef.new(shape: AwsElasticBeanstalkEnvironmentEnvironmentLinks, location_name: "EnvironmentLinks"))
|
1190
|
+
AwsElasticBeanstalkEnvironmentDetails.add_member(:environment_name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "EnvironmentName"))
|
1191
|
+
AwsElasticBeanstalkEnvironmentDetails.add_member(:option_settings, Shapes::ShapeRef.new(shape: AwsElasticBeanstalkEnvironmentOptionSettings, location_name: "OptionSettings"))
|
1192
|
+
AwsElasticBeanstalkEnvironmentDetails.add_member(:platform_arn, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "PlatformArn"))
|
1193
|
+
AwsElasticBeanstalkEnvironmentDetails.add_member(:solution_stack_name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "SolutionStackName"))
|
1194
|
+
AwsElasticBeanstalkEnvironmentDetails.add_member(:status, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Status"))
|
1195
|
+
AwsElasticBeanstalkEnvironmentDetails.add_member(:tier, Shapes::ShapeRef.new(shape: AwsElasticBeanstalkEnvironmentTier, location_name: "Tier"))
|
1196
|
+
AwsElasticBeanstalkEnvironmentDetails.add_member(:version_label, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "VersionLabel"))
|
1197
|
+
AwsElasticBeanstalkEnvironmentDetails.struct_class = Types::AwsElasticBeanstalkEnvironmentDetails
|
1198
|
+
|
1199
|
+
AwsElasticBeanstalkEnvironmentEnvironmentLink.add_member(:environment_name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "EnvironmentName"))
|
1200
|
+
AwsElasticBeanstalkEnvironmentEnvironmentLink.add_member(:link_name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "LinkName"))
|
1201
|
+
AwsElasticBeanstalkEnvironmentEnvironmentLink.struct_class = Types::AwsElasticBeanstalkEnvironmentEnvironmentLink
|
1202
|
+
|
1203
|
+
AwsElasticBeanstalkEnvironmentEnvironmentLinks.member = Shapes::ShapeRef.new(shape: AwsElasticBeanstalkEnvironmentEnvironmentLink)
|
1204
|
+
|
1205
|
+
AwsElasticBeanstalkEnvironmentOptionSetting.add_member(:namespace, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Namespace"))
|
1206
|
+
AwsElasticBeanstalkEnvironmentOptionSetting.add_member(:option_name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "OptionName"))
|
1207
|
+
AwsElasticBeanstalkEnvironmentOptionSetting.add_member(:resource_name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "ResourceName"))
|
1208
|
+
AwsElasticBeanstalkEnvironmentOptionSetting.add_member(:value, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Value"))
|
1209
|
+
AwsElasticBeanstalkEnvironmentOptionSetting.struct_class = Types::AwsElasticBeanstalkEnvironmentOptionSetting
|
1210
|
+
|
1211
|
+
AwsElasticBeanstalkEnvironmentOptionSettings.member = Shapes::ShapeRef.new(shape: AwsElasticBeanstalkEnvironmentOptionSetting)
|
1212
|
+
|
1213
|
+
AwsElasticBeanstalkEnvironmentTier.add_member(:name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Name"))
|
1214
|
+
AwsElasticBeanstalkEnvironmentTier.add_member(:type, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Type"))
|
1215
|
+
AwsElasticBeanstalkEnvironmentTier.add_member(:version, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Version"))
|
1216
|
+
AwsElasticBeanstalkEnvironmentTier.struct_class = Types::AwsElasticBeanstalkEnvironmentTier
|
1217
|
+
|
1090
1218
|
AwsElasticsearchDomainDetails.add_member(:access_policies, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "AccessPolicies"))
|
1091
1219
|
AwsElasticsearchDomainDetails.add_member(:domain_endpoint_options, Shapes::ShapeRef.new(shape: AwsElasticsearchDomainDomainEndpointOptions, location_name: "DomainEndpointOptions"))
|
1092
1220
|
AwsElasticsearchDomainDetails.add_member(:domain_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "DomainId"))
|
@@ -1800,10 +1928,17 @@ module Aws::SecurityHub
|
|
1800
1928
|
|
1801
1929
|
AwsRedshiftClusterVpcSecurityGroups.member = Shapes::ShapeRef.new(shape: AwsRedshiftClusterVpcSecurityGroup)
|
1802
1930
|
|
1931
|
+
AwsS3AccountPublicAccessBlockDetails.add_member(:block_public_acls, Shapes::ShapeRef.new(shape: Boolean, location_name: "BlockPublicAcls"))
|
1932
|
+
AwsS3AccountPublicAccessBlockDetails.add_member(:block_public_policy, Shapes::ShapeRef.new(shape: Boolean, location_name: "BlockPublicPolicy"))
|
1933
|
+
AwsS3AccountPublicAccessBlockDetails.add_member(:ignore_public_acls, Shapes::ShapeRef.new(shape: Boolean, location_name: "IgnorePublicAcls"))
|
1934
|
+
AwsS3AccountPublicAccessBlockDetails.add_member(:restrict_public_buckets, Shapes::ShapeRef.new(shape: Boolean, location_name: "RestrictPublicBuckets"))
|
1935
|
+
AwsS3AccountPublicAccessBlockDetails.struct_class = Types::AwsS3AccountPublicAccessBlockDetails
|
1936
|
+
|
1803
1937
|
AwsS3BucketDetails.add_member(:owner_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "OwnerId"))
|
1804
1938
|
AwsS3BucketDetails.add_member(:owner_name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "OwnerName"))
|
1805
1939
|
AwsS3BucketDetails.add_member(:created_at, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "CreatedAt"))
|
1806
1940
|
AwsS3BucketDetails.add_member(:server_side_encryption_configuration, Shapes::ShapeRef.new(shape: AwsS3BucketServerSideEncryptionConfiguration, location_name: "ServerSideEncryptionConfiguration"))
|
1941
|
+
AwsS3BucketDetails.add_member(:public_access_block_configuration, Shapes::ShapeRef.new(shape: AwsS3AccountPublicAccessBlockDetails, location_name: "PublicAccessBlockConfiguration"))
|
1807
1942
|
AwsS3BucketDetails.struct_class = Types::AwsS3BucketDetails
|
1808
1943
|
|
1809
1944
|
AwsS3BucketServerSideEncryptionByDefault.add_member(:sse_algorithm, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "SSEAlgorithm"))
|
@@ -1844,12 +1979,12 @@ module Aws::SecurityHub
|
|
1844
1979
|
AwsSecurityFinding.add_member(:product_arn, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "ProductArn"))
|
1845
1980
|
AwsSecurityFinding.add_member(:generator_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "GeneratorId"))
|
1846
1981
|
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,
|
1982
|
+
AwsSecurityFinding.add_member(:types, Shapes::ShapeRef.new(shape: TypeList, location_name: "Types"))
|
1848
1983
|
AwsSecurityFinding.add_member(:first_observed_at, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "FirstObservedAt"))
|
1849
1984
|
AwsSecurityFinding.add_member(:last_observed_at, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "LastObservedAt"))
|
1850
1985
|
AwsSecurityFinding.add_member(:created_at, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "CreatedAt"))
|
1851
1986
|
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,
|
1987
|
+
AwsSecurityFinding.add_member(:severity, Shapes::ShapeRef.new(shape: Severity, location_name: "Severity"))
|
1853
1988
|
AwsSecurityFinding.add_member(:confidence, Shapes::ShapeRef.new(shape: Integer, location_name: "Confidence"))
|
1854
1989
|
AwsSecurityFinding.add_member(:criticality, Shapes::ShapeRef.new(shape: Integer, location_name: "Criticality"))
|
1855
1990
|
AwsSecurityFinding.add_member(:title, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "Title"))
|
@@ -1874,6 +2009,7 @@ module Aws::SecurityHub
|
|
1874
2009
|
AwsSecurityFinding.add_member(:vulnerabilities, Shapes::ShapeRef.new(shape: VulnerabilityList, location_name: "Vulnerabilities"))
|
1875
2010
|
AwsSecurityFinding.add_member(:patch_summary, Shapes::ShapeRef.new(shape: PatchSummary, location_name: "PatchSummary"))
|
1876
2011
|
AwsSecurityFinding.add_member(:action, Shapes::ShapeRef.new(shape: Action, location_name: "Action"))
|
2012
|
+
AwsSecurityFinding.add_member(:finding_provider_fields, Shapes::ShapeRef.new(shape: FindingProviderFields, location_name: "FindingProviderFields"))
|
1877
2013
|
AwsSecurityFinding.struct_class = Types::AwsSecurityFinding
|
1878
2014
|
|
1879
2015
|
AwsSecurityFindingFilters.add_member(:product_arn, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "ProductArn"))
|
@@ -1885,8 +2021,8 @@ module Aws::SecurityHub
|
|
1885
2021
|
AwsSecurityFindingFilters.add_member(:last_observed_at, Shapes::ShapeRef.new(shape: DateFilterList, location_name: "LastObservedAt"))
|
1886
2022
|
AwsSecurityFindingFilters.add_member(:created_at, Shapes::ShapeRef.new(shape: DateFilterList, location_name: "CreatedAt"))
|
1887
2023
|
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"))
|
2024
|
+
AwsSecurityFindingFilters.add_member(:severity_product, Shapes::ShapeRef.new(shape: NumberFilterList, deprecated: true, location_name: "SeverityProduct", metadata: {"deprecatedMessage"=>"This filter is deprecated, use FindingProviiltersSeverityOriginal instead."}))
|
2025
|
+
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
2026
|
AwsSecurityFindingFilters.add_member(:severity_label, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "SeverityLabel"))
|
1891
2027
|
AwsSecurityFindingFilters.add_member(:confidence, Shapes::ShapeRef.new(shape: NumberFilterList, location_name: "Confidence"))
|
1892
2028
|
AwsSecurityFindingFilters.add_member(:criticality, Shapes::ShapeRef.new(shape: NumberFilterList, location_name: "Criticality"))
|
@@ -1960,6 +2096,13 @@ module Aws::SecurityHub
|
|
1960
2096
|
AwsSecurityFindingFilters.add_member(:note_updated_at, Shapes::ShapeRef.new(shape: DateFilterList, location_name: "NoteUpdatedAt"))
|
1961
2097
|
AwsSecurityFindingFilters.add_member(:note_updated_by, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "NoteUpdatedBy"))
|
1962
2098
|
AwsSecurityFindingFilters.add_member(:keyword, Shapes::ShapeRef.new(shape: KeywordFilterList, location_name: "Keyword"))
|
2099
|
+
AwsSecurityFindingFilters.add_member(:finding_provider_fields_confidence, Shapes::ShapeRef.new(shape: NumberFilterList, location_name: "FindingProviderFieldsConfidence"))
|
2100
|
+
AwsSecurityFindingFilters.add_member(:finding_provider_fields_criticality, Shapes::ShapeRef.new(shape: NumberFilterList, location_name: "FindingProviderFieldsCriticality"))
|
2101
|
+
AwsSecurityFindingFilters.add_member(:finding_provider_fields_related_findings_id, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "FindingProviderFieldsRelatedFindingsId"))
|
2102
|
+
AwsSecurityFindingFilters.add_member(:finding_provider_fields_related_findings_product_arn, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "FindingProviderFieldsRelatedFindingsProductArn"))
|
2103
|
+
AwsSecurityFindingFilters.add_member(:finding_provider_fields_severity_label, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "FindingProviderFieldsSeverityLabel"))
|
2104
|
+
AwsSecurityFindingFilters.add_member(:finding_provider_fields_severity_original, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "FindingProviderFieldsSeverityOriginal"))
|
2105
|
+
AwsSecurityFindingFilters.add_member(:finding_provider_fields_types, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "FindingProviderFieldsTypes"))
|
1963
2106
|
AwsSecurityFindingFilters.struct_class = Types::AwsSecurityFindingFilters
|
1964
2107
|
|
1965
2108
|
AwsSecurityFindingIdentifier.add_member(:id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "Id"))
|
@@ -2042,9 +2185,11 @@ module Aws::SecurityHub
|
|
2042
2185
|
BatchEnableStandardsResponse.add_member(:standards_subscriptions, Shapes::ShapeRef.new(shape: StandardsSubscriptions, location_name: "StandardsSubscriptions"))
|
2043
2186
|
BatchEnableStandardsResponse.struct_class = Types::BatchEnableStandardsResponse
|
2044
2187
|
|
2045
|
-
BatchImportFindingsRequest.add_member(:findings, Shapes::ShapeRef.new(shape:
|
2188
|
+
BatchImportFindingsRequest.add_member(:findings, Shapes::ShapeRef.new(shape: BatchImportFindingsRequestFindingList, required: true, location_name: "Findings"))
|
2046
2189
|
BatchImportFindingsRequest.struct_class = Types::BatchImportFindingsRequest
|
2047
2190
|
|
2191
|
+
BatchImportFindingsRequestFindingList.member = Shapes::ShapeRef.new(shape: AwsSecurityFinding)
|
2192
|
+
|
2048
2193
|
BatchImportFindingsResponse.add_member(:failed_count, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "FailedCount"))
|
2049
2194
|
BatchImportFindingsResponse.add_member(:success_count, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "SuccessCount"))
|
2050
2195
|
BatchImportFindingsResponse.add_member(:failed_findings, Shapes::ShapeRef.new(shape: ImportFindingsErrorList, location_name: "FailedFindings"))
|
@@ -2075,6 +2220,14 @@ module Aws::SecurityHub
|
|
2075
2220
|
|
2076
2221
|
CategoryList.member = Shapes::ShapeRef.new(shape: NonEmptyString)
|
2077
2222
|
|
2223
|
+
Cell.add_member(:column, Shapes::ShapeRef.new(shape: Long, location_name: "Column"))
|
2224
|
+
Cell.add_member(:row, Shapes::ShapeRef.new(shape: Long, location_name: "Row"))
|
2225
|
+
Cell.add_member(:column_name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "ColumnName"))
|
2226
|
+
Cell.add_member(:cell_reference, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "CellReference"))
|
2227
|
+
Cell.struct_class = Types::Cell
|
2228
|
+
|
2229
|
+
Cells.member = Shapes::ShapeRef.new(shape: Cell)
|
2230
|
+
|
2078
2231
|
CidrBlockAssociation.add_member(:association_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "AssociationId"))
|
2079
2232
|
CidrBlockAssociation.add_member(:cidr_block, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "CidrBlock"))
|
2080
2233
|
CidrBlockAssociation.add_member(:cidr_block_state, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "CidrBlockState"))
|
@@ -2085,6 +2238,18 @@ module Aws::SecurityHub
|
|
2085
2238
|
City.add_member(:city_name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "CityName"))
|
2086
2239
|
City.struct_class = Types::City
|
2087
2240
|
|
2241
|
+
ClassificationResult.add_member(:mime_type, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "MimeType"))
|
2242
|
+
ClassificationResult.add_member(:size_classified, Shapes::ShapeRef.new(shape: Long, location_name: "SizeClassified"))
|
2243
|
+
ClassificationResult.add_member(:additional_occurrences, Shapes::ShapeRef.new(shape: Boolean, location_name: "AdditionalOccurrences"))
|
2244
|
+
ClassificationResult.add_member(:status, Shapes::ShapeRef.new(shape: ClassificationStatus, location_name: "Status"))
|
2245
|
+
ClassificationResult.add_member(:sensitive_data, Shapes::ShapeRef.new(shape: SensitiveDataResultList, location_name: "SensitiveData"))
|
2246
|
+
ClassificationResult.add_member(:custom_data_identifiers, Shapes::ShapeRef.new(shape: CustomDataIdentifiersResult, location_name: "CustomDataIdentifiers"))
|
2247
|
+
ClassificationResult.struct_class = Types::ClassificationResult
|
2248
|
+
|
2249
|
+
ClassificationStatus.add_member(:code, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Code"))
|
2250
|
+
ClassificationStatus.add_member(:reason, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Reason"))
|
2251
|
+
ClassificationStatus.struct_class = Types::ClassificationStatus
|
2252
|
+
|
2088
2253
|
Compliance.add_member(:status, Shapes::ShapeRef.new(shape: ComplianceStatus, location_name: "Status"))
|
2089
2254
|
Compliance.add_member(:related_requirements, Shapes::ShapeRef.new(shape: RelatedRequirementsList, location_name: "RelatedRequirements"))
|
2090
2255
|
Compliance.add_member(:status_reasons, Shapes::ShapeRef.new(shape: StatusReasonsList, location_name: "StatusReasons"))
|
@@ -2122,6 +2287,18 @@ module Aws::SecurityHub
|
|
2122
2287
|
CreateMembersResponse.add_member(:unprocessed_accounts, Shapes::ShapeRef.new(shape: ResultList, location_name: "UnprocessedAccounts"))
|
2123
2288
|
CreateMembersResponse.struct_class = Types::CreateMembersResponse
|
2124
2289
|
|
2290
|
+
CustomDataIdentifiersDetections.add_member(:count, Shapes::ShapeRef.new(shape: Long, location_name: "Count"))
|
2291
|
+
CustomDataIdentifiersDetections.add_member(:arn, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Arn"))
|
2292
|
+
CustomDataIdentifiersDetections.add_member(:name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Name"))
|
2293
|
+
CustomDataIdentifiersDetections.add_member(:occurrences, Shapes::ShapeRef.new(shape: Occurrences, location_name: "Occurrences"))
|
2294
|
+
CustomDataIdentifiersDetections.struct_class = Types::CustomDataIdentifiersDetections
|
2295
|
+
|
2296
|
+
CustomDataIdentifiersDetectionsList.member = Shapes::ShapeRef.new(shape: CustomDataIdentifiersDetections)
|
2297
|
+
|
2298
|
+
CustomDataIdentifiersResult.add_member(:detections, Shapes::ShapeRef.new(shape: CustomDataIdentifiersDetectionsList, location_name: "Detections"))
|
2299
|
+
CustomDataIdentifiersResult.add_member(:total_count, Shapes::ShapeRef.new(shape: Long, location_name: "TotalCount"))
|
2300
|
+
CustomDataIdentifiersResult.struct_class = Types::CustomDataIdentifiersResult
|
2301
|
+
|
2125
2302
|
Cvss.add_member(:version, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Version"))
|
2126
2303
|
Cvss.add_member(:base_score, Shapes::ShapeRef.new(shape: Double, location_name: "BaseScore"))
|
2127
2304
|
Cvss.add_member(:base_vector, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "BaseVector"))
|
@@ -2129,6 +2306,10 @@ module Aws::SecurityHub
|
|
2129
2306
|
|
2130
2307
|
CvssList.member = Shapes::ShapeRef.new(shape: Cvss)
|
2131
2308
|
|
2309
|
+
DataClassificationDetails.add_member(:detailed_results_location, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "DetailedResultsLocation"))
|
2310
|
+
DataClassificationDetails.add_member(:result, Shapes::ShapeRef.new(shape: ClassificationResult, location_name: "Result"))
|
2311
|
+
DataClassificationDetails.struct_class = Types::DataClassificationDetails
|
2312
|
+
|
2132
2313
|
DateFilter.add_member(:start, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Start"))
|
2133
2314
|
DateFilter.add_member(:end, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "End"))
|
2134
2315
|
DateFilter.add_member(:date_range, Shapes::ShapeRef.new(shape: DateRange, location_name: "DateRange"))
|
@@ -2233,6 +2414,10 @@ module Aws::SecurityHub
|
|
2233
2414
|
|
2234
2415
|
DisableSecurityHubResponse.struct_class = Types::DisableSecurityHubResponse
|
2235
2416
|
|
2417
|
+
DisassociateFromAdministratorAccountRequest.struct_class = Types::DisassociateFromAdministratorAccountRequest
|
2418
|
+
|
2419
|
+
DisassociateFromAdministratorAccountResponse.struct_class = Types::DisassociateFromAdministratorAccountResponse
|
2420
|
+
|
2236
2421
|
DisassociateFromMasterAccountRequest.struct_class = Types::DisassociateFromMasterAccountRequest
|
2237
2422
|
|
2238
2423
|
DisassociateFromMasterAccountResponse.struct_class = Types::DisassociateFromMasterAccountResponse
|
@@ -2267,10 +2452,26 @@ module Aws::SecurityHub
|
|
2267
2452
|
FieldMap.key = Shapes::ShapeRef.new(shape: NonEmptyString)
|
2268
2453
|
FieldMap.value = Shapes::ShapeRef.new(shape: NonEmptyString)
|
2269
2454
|
|
2455
|
+
FindingProviderFields.add_member(:confidence, Shapes::ShapeRef.new(shape: RatioScale, location_name: "Confidence"))
|
2456
|
+
FindingProviderFields.add_member(:criticality, Shapes::ShapeRef.new(shape: RatioScale, location_name: "Criticality"))
|
2457
|
+
FindingProviderFields.add_member(:related_findings, Shapes::ShapeRef.new(shape: RelatedFindingList, location_name: "RelatedFindings"))
|
2458
|
+
FindingProviderFields.add_member(:severity, Shapes::ShapeRef.new(shape: FindingProviderSeverity, location_name: "Severity"))
|
2459
|
+
FindingProviderFields.add_member(:types, Shapes::ShapeRef.new(shape: TypeList, location_name: "Types"))
|
2460
|
+
FindingProviderFields.struct_class = Types::FindingProviderFields
|
2461
|
+
|
2462
|
+
FindingProviderSeverity.add_member(:label, Shapes::ShapeRef.new(shape: SeverityLabel, location_name: "Label"))
|
2463
|
+
FindingProviderSeverity.add_member(:original, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Original"))
|
2464
|
+
FindingProviderSeverity.struct_class = Types::FindingProviderSeverity
|
2465
|
+
|
2270
2466
|
GeoLocation.add_member(:lon, Shapes::ShapeRef.new(shape: Double, location_name: "Lon"))
|
2271
2467
|
GeoLocation.add_member(:lat, Shapes::ShapeRef.new(shape: Double, location_name: "Lat"))
|
2272
2468
|
GeoLocation.struct_class = Types::GeoLocation
|
2273
2469
|
|
2470
|
+
GetAdministratorAccountRequest.struct_class = Types::GetAdministratorAccountRequest
|
2471
|
+
|
2472
|
+
GetAdministratorAccountResponse.add_member(:administrator, Shapes::ShapeRef.new(shape: Invitation, location_name: "Administrator"))
|
2473
|
+
GetAdministratorAccountResponse.struct_class = Types::GetAdministratorAccountResponse
|
2474
|
+
|
2274
2475
|
GetEnabledStandardsRequest.add_member(:standards_subscription_arns, Shapes::ShapeRef.new(shape: StandardsSubscriptionArns, location_name: "StandardsSubscriptionArns"))
|
2275
2476
|
GetEnabledStandardsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
2276
2477
|
GetEnabledStandardsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
@@ -2322,6 +2523,10 @@ module Aws::SecurityHub
|
|
2322
2523
|
GetMembersResponse.add_member(:unprocessed_accounts, Shapes::ShapeRef.new(shape: ResultList, location_name: "UnprocessedAccounts"))
|
2323
2524
|
GetMembersResponse.struct_class = Types::GetMembersResponse
|
2324
2525
|
|
2526
|
+
IcmpTypeCode.add_member(:code, Shapes::ShapeRef.new(shape: Integer, location_name: "Code"))
|
2527
|
+
IcmpTypeCode.add_member(:type, Shapes::ShapeRef.new(shape: Integer, location_name: "Type"))
|
2528
|
+
IcmpTypeCode.struct_class = Types::IcmpTypeCode
|
2529
|
+
|
2325
2530
|
ImportFindingsError.add_member(:id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "Id"))
|
2326
2531
|
ImportFindingsError.add_member(:error_code, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "ErrorCode"))
|
2327
2532
|
ImportFindingsError.add_member(:error_message, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "ErrorMessage"))
|
@@ -2463,7 +2668,8 @@ module Aws::SecurityHub
|
|
2463
2668
|
|
2464
2669
|
Member.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "AccountId"))
|
2465
2670
|
Member.add_member(:email, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Email"))
|
2466
|
-
Member.add_member(:master_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "MasterId"))
|
2671
|
+
Member.add_member(:master_id, Shapes::ShapeRef.new(shape: NonEmptyString, deprecated: true, location_name: "MasterId", metadata: {"deprecatedMessage"=>"This field is deprecated, use AdministratorId instead."}))
|
2672
|
+
Member.add_member(:administrator_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "AdministratorId"))
|
2467
2673
|
Member.add_member(:member_status, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "MemberStatus"))
|
2468
2674
|
Member.add_member(:invited_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "InvitedAt"))
|
2469
2675
|
Member.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdatedAt"))
|
@@ -2528,6 +2734,20 @@ module Aws::SecurityHub
|
|
2528
2734
|
|
2529
2735
|
NumberFilterList.member = Shapes::ShapeRef.new(shape: NumberFilter)
|
2530
2736
|
|
2737
|
+
Occurrences.add_member(:line_ranges, Shapes::ShapeRef.new(shape: Ranges, location_name: "LineRanges"))
|
2738
|
+
Occurrences.add_member(:offset_ranges, Shapes::ShapeRef.new(shape: Ranges, location_name: "OffsetRanges"))
|
2739
|
+
Occurrences.add_member(:pages, Shapes::ShapeRef.new(shape: Pages, location_name: "Pages"))
|
2740
|
+
Occurrences.add_member(:records, Shapes::ShapeRef.new(shape: Records, location_name: "Records"))
|
2741
|
+
Occurrences.add_member(:cells, Shapes::ShapeRef.new(shape: Cells, location_name: "Cells"))
|
2742
|
+
Occurrences.struct_class = Types::Occurrences
|
2743
|
+
|
2744
|
+
Page.add_member(:page_number, Shapes::ShapeRef.new(shape: Long, location_name: "PageNumber"))
|
2745
|
+
Page.add_member(:line_range, Shapes::ShapeRef.new(shape: Range, location_name: "LineRange"))
|
2746
|
+
Page.add_member(:offset_range, Shapes::ShapeRef.new(shape: Range, location_name: "OffsetRange"))
|
2747
|
+
Page.struct_class = Types::Page
|
2748
|
+
|
2749
|
+
Pages.member = Shapes::ShapeRef.new(shape: Page)
|
2750
|
+
|
2531
2751
|
PatchSummary.add_member(:id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "Id"))
|
2532
2752
|
PatchSummary.add_member(:installed_count, Shapes::ShapeRef.new(shape: Integer, location_name: "InstalledCount"))
|
2533
2753
|
PatchSummary.add_member(:missing_count, Shapes::ShapeRef.new(shape: Integer, location_name: "MissingCount"))
|
@@ -2556,6 +2776,10 @@ module Aws::SecurityHub
|
|
2556
2776
|
PortRange.add_member(:end, Shapes::ShapeRef.new(shape: Integer, location_name: "End"))
|
2557
2777
|
PortRange.struct_class = Types::PortRange
|
2558
2778
|
|
2779
|
+
PortRangeFromTo.add_member(:from, Shapes::ShapeRef.new(shape: Integer, location_name: "From"))
|
2780
|
+
PortRangeFromTo.add_member(:to, Shapes::ShapeRef.new(shape: Integer, location_name: "To"))
|
2781
|
+
PortRangeFromTo.struct_class = Types::PortRangeFromTo
|
2782
|
+
|
2559
2783
|
PortRangeList.member = Shapes::ShapeRef.new(shape: PortRange)
|
2560
2784
|
|
2561
2785
|
ProcessDetails.add_member(:name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Name"))
|
@@ -2581,10 +2805,23 @@ module Aws::SecurityHub
|
|
2581
2805
|
|
2582
2806
|
ProductsList.member = Shapes::ShapeRef.new(shape: Product)
|
2583
2807
|
|
2808
|
+
Range.add_member(:start, Shapes::ShapeRef.new(shape: Long, location_name: "Start"))
|
2809
|
+
Range.add_member(:end, Shapes::ShapeRef.new(shape: Long, location_name: "End"))
|
2810
|
+
Range.add_member(:start_column, Shapes::ShapeRef.new(shape: Long, location_name: "StartColumn"))
|
2811
|
+
Range.struct_class = Types::Range
|
2812
|
+
|
2813
|
+
Ranges.member = Shapes::ShapeRef.new(shape: Range)
|
2814
|
+
|
2584
2815
|
Recommendation.add_member(:text, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Text"))
|
2585
2816
|
Recommendation.add_member(:url, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Url"))
|
2586
2817
|
Recommendation.struct_class = Types::Recommendation
|
2587
2818
|
|
2819
|
+
Record.add_member(:json_path, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "JsonPath"))
|
2820
|
+
Record.add_member(:record_index, Shapes::ShapeRef.new(shape: Long, location_name: "RecordIndex"))
|
2821
|
+
Record.struct_class = Types::Record
|
2822
|
+
|
2823
|
+
Records.member = Shapes::ShapeRef.new(shape: Record)
|
2824
|
+
|
2588
2825
|
RelatedFinding.add_member(:product_arn, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "ProductArn"))
|
2589
2826
|
RelatedFinding.add_member(:id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "Id"))
|
2590
2827
|
RelatedFinding.struct_class = Types::RelatedFinding
|
@@ -2602,6 +2839,7 @@ module Aws::SecurityHub
|
|
2602
2839
|
Resource.add_member(:region, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Region"))
|
2603
2840
|
Resource.add_member(:resource_role, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "ResourceRole"))
|
2604
2841
|
Resource.add_member(:tags, Shapes::ShapeRef.new(shape: FieldMap, location_name: "Tags"))
|
2842
|
+
Resource.add_member(:data_classification, Shapes::ShapeRef.new(shape: DataClassificationDetails, location_name: "DataClassification"))
|
2605
2843
|
Resource.add_member(:details, Shapes::ShapeRef.new(shape: ResourceDetails, location_name: "Details"))
|
2606
2844
|
Resource.struct_class = Types::Resource
|
2607
2845
|
|
@@ -2618,9 +2856,13 @@ module Aws::SecurityHub
|
|
2618
2856
|
ResourceDetails.add_member(:aws_ec2_volume, Shapes::ShapeRef.new(shape: AwsEc2VolumeDetails, location_name: "AwsEc2Volume"))
|
2619
2857
|
ResourceDetails.add_member(:aws_ec2_vpc, Shapes::ShapeRef.new(shape: AwsEc2VpcDetails, location_name: "AwsEc2Vpc"))
|
2620
2858
|
ResourceDetails.add_member(:aws_ec2_eip, Shapes::ShapeRef.new(shape: AwsEc2EipDetails, location_name: "AwsEc2Eip"))
|
2859
|
+
ResourceDetails.add_member(:aws_ec2_subnet, Shapes::ShapeRef.new(shape: AwsEc2SubnetDetails, location_name: "AwsEc2Subnet"))
|
2860
|
+
ResourceDetails.add_member(:aws_ec2_network_acl, Shapes::ShapeRef.new(shape: AwsEc2NetworkAclDetails, location_name: "AwsEc2NetworkAcl"))
|
2621
2861
|
ResourceDetails.add_member(:aws_elbv_2_load_balancer, Shapes::ShapeRef.new(shape: AwsElbv2LoadBalancerDetails, location_name: "AwsElbv2LoadBalancer"))
|
2862
|
+
ResourceDetails.add_member(:aws_elastic_beanstalk_environment, Shapes::ShapeRef.new(shape: AwsElasticBeanstalkEnvironmentDetails, location_name: "AwsElasticBeanstalkEnvironment"))
|
2622
2863
|
ResourceDetails.add_member(:aws_elasticsearch_domain, Shapes::ShapeRef.new(shape: AwsElasticsearchDomainDetails, location_name: "AwsElasticsearchDomain"))
|
2623
2864
|
ResourceDetails.add_member(:aws_s3_bucket, Shapes::ShapeRef.new(shape: AwsS3BucketDetails, location_name: "AwsS3Bucket"))
|
2865
|
+
ResourceDetails.add_member(:aws_s3_account_public_access_block, Shapes::ShapeRef.new(shape: AwsS3AccountPublicAccessBlockDetails, location_name: "AwsS3AccountPublicAccessBlock"))
|
2624
2866
|
ResourceDetails.add_member(:aws_s3_object, Shapes::ShapeRef.new(shape: AwsS3ObjectDetails, location_name: "AwsS3Object"))
|
2625
2867
|
ResourceDetails.add_member(:aws_secrets_manager_secret, Shapes::ShapeRef.new(shape: AwsSecretsManagerSecretDetails, location_name: "AwsSecretsManagerSecret"))
|
2626
2868
|
ResourceDetails.add_member(:aws_iam_access_key, Shapes::ShapeRef.new(shape: AwsIamAccessKeyDetails, location_name: "AwsIamAccessKey"))
|
@@ -2666,6 +2908,20 @@ module Aws::SecurityHub
|
|
2666
2908
|
|
2667
2909
|
SecurityGroups.member = Shapes::ShapeRef.new(shape: NonEmptyString)
|
2668
2910
|
|
2911
|
+
SensitiveDataDetections.add_member(:count, Shapes::ShapeRef.new(shape: Long, location_name: "Count"))
|
2912
|
+
SensitiveDataDetections.add_member(:type, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Type"))
|
2913
|
+
SensitiveDataDetections.add_member(:occurrences, Shapes::ShapeRef.new(shape: Occurrences, location_name: "Occurrences"))
|
2914
|
+
SensitiveDataDetections.struct_class = Types::SensitiveDataDetections
|
2915
|
+
|
2916
|
+
SensitiveDataDetectionsList.member = Shapes::ShapeRef.new(shape: SensitiveDataDetections)
|
2917
|
+
|
2918
|
+
SensitiveDataResult.add_member(:category, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Category"))
|
2919
|
+
SensitiveDataResult.add_member(:detections, Shapes::ShapeRef.new(shape: SensitiveDataDetectionsList, location_name: "Detections"))
|
2920
|
+
SensitiveDataResult.add_member(:total_count, Shapes::ShapeRef.new(shape: Long, location_name: "TotalCount"))
|
2921
|
+
SensitiveDataResult.struct_class = Types::SensitiveDataResult
|
2922
|
+
|
2923
|
+
SensitiveDataResultList.member = Shapes::ShapeRef.new(shape: SensitiveDataResult)
|
2924
|
+
|
2669
2925
|
Severity.add_member(:product, Shapes::ShapeRef.new(shape: Double, location_name: "Product"))
|
2670
2926
|
Severity.add_member(:label, Shapes::ShapeRef.new(shape: SeverityLabel, location_name: "Label"))
|
2671
2927
|
Severity.add_member(:normalized, Shapes::ShapeRef.new(shape: Integer, location_name: "Normalized"))
|
@@ -2867,10 +3123,24 @@ module Aws::SecurityHub
|
|
2867
3123
|
"uid" => "securityhub-2018-10-26",
|
2868
3124
|
}
|
2869
3125
|
|
3126
|
+
api.add_operation(:accept_administrator_invitation, Seahorse::Model::Operation.new.tap do |o|
|
3127
|
+
o.name = "AcceptAdministratorInvitation"
|
3128
|
+
o.http_method = "POST"
|
3129
|
+
o.http_request_uri = "/administrator"
|
3130
|
+
o.input = Shapes::ShapeRef.new(shape: AcceptAdministratorInvitationRequest)
|
3131
|
+
o.output = Shapes::ShapeRef.new(shape: AcceptAdministratorInvitationResponse)
|
3132
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
3133
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
3134
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
3135
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
3136
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAccessException)
|
3137
|
+
end)
|
3138
|
+
|
2870
3139
|
api.add_operation(:accept_invitation, Seahorse::Model::Operation.new.tap do |o|
|
2871
3140
|
o.name = "AcceptInvitation"
|
2872
3141
|
o.http_method = "POST"
|
2873
3142
|
o.http_request_uri = "/master"
|
3143
|
+
o.deprecated = true
|
2874
3144
|
o.input = Shapes::ShapeRef.new(shape: AcceptInvitationRequest)
|
2875
3145
|
o.output = Shapes::ShapeRef.new(shape: AcceptInvitationResponse)
|
2876
3146
|
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
@@ -3163,10 +3433,24 @@ module Aws::SecurityHub
|
|
3163
3433
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
3164
3434
|
end)
|
3165
3435
|
|
3436
|
+
api.add_operation(:disassociate_from_administrator_account, Seahorse::Model::Operation.new.tap do |o|
|
3437
|
+
o.name = "DisassociateFromAdministratorAccount"
|
3438
|
+
o.http_method = "POST"
|
3439
|
+
o.http_request_uri = "/administrator/disassociate"
|
3440
|
+
o.input = Shapes::ShapeRef.new(shape: DisassociateFromAdministratorAccountRequest)
|
3441
|
+
o.output = Shapes::ShapeRef.new(shape: DisassociateFromAdministratorAccountResponse)
|
3442
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
3443
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
3444
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAccessException)
|
3445
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
3446
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
3447
|
+
end)
|
3448
|
+
|
3166
3449
|
api.add_operation(:disassociate_from_master_account, Seahorse::Model::Operation.new.tap do |o|
|
3167
3450
|
o.name = "DisassociateFromMasterAccount"
|
3168
3451
|
o.http_method = "POST"
|
3169
3452
|
o.http_request_uri = "/master/disassociate"
|
3453
|
+
o.deprecated = true
|
3170
3454
|
o.input = Shapes::ShapeRef.new(shape: DisassociateFromMasterAccountRequest)
|
3171
3455
|
o.output = Shapes::ShapeRef.new(shape: DisassociateFromMasterAccountResponse)
|
3172
3456
|
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
@@ -3227,6 +3511,19 @@ module Aws::SecurityHub
|
|
3227
3511
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
3228
3512
|
end)
|
3229
3513
|
|
3514
|
+
api.add_operation(:get_administrator_account, Seahorse::Model::Operation.new.tap do |o|
|
3515
|
+
o.name = "GetAdministratorAccount"
|
3516
|
+
o.http_method = "GET"
|
3517
|
+
o.http_request_uri = "/administrator"
|
3518
|
+
o.input = Shapes::ShapeRef.new(shape: GetAdministratorAccountRequest)
|
3519
|
+
o.output = Shapes::ShapeRef.new(shape: GetAdministratorAccountResponse)
|
3520
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
3521
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
3522
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAccessException)
|
3523
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
3524
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
3525
|
+
end)
|
3526
|
+
|
3230
3527
|
api.add_operation(:get_enabled_standards, Seahorse::Model::Operation.new.tap do |o|
|
3231
3528
|
o.name = "GetEnabledStandards"
|
3232
3529
|
o.http_method = "POST"
|
@@ -3311,6 +3608,7 @@ module Aws::SecurityHub
|
|
3311
3608
|
o.name = "GetMasterAccount"
|
3312
3609
|
o.http_method = "GET"
|
3313
3610
|
o.http_request_uri = "/master"
|
3611
|
+
o.deprecated = true
|
3314
3612
|
o.input = Shapes::ShapeRef.new(shape: GetMasterAccountRequest)
|
3315
3613
|
o.output = Shapes::ShapeRef.new(shape: GetMasterAccountResponse)
|
3316
3614
|
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|