aws-sdk-guardduty 1.123.0 → 1.125.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -112,8 +112,12 @@ module Aws::GuardDuty
112
112
  CreateS3BucketResource = Shapes::StructureShape.new(name: 'CreateS3BucketResource')
113
113
  CreateSampleFindingsRequest = Shapes::StructureShape.new(name: 'CreateSampleFindingsRequest')
114
114
  CreateSampleFindingsResponse = Shapes::StructureShape.new(name: 'CreateSampleFindingsResponse')
115
+ CreateThreatEntitySetRequest = Shapes::StructureShape.new(name: 'CreateThreatEntitySetRequest')
116
+ CreateThreatEntitySetResponse = Shapes::StructureShape.new(name: 'CreateThreatEntitySetResponse')
115
117
  CreateThreatIntelSetRequest = Shapes::StructureShape.new(name: 'CreateThreatIntelSetRequest')
116
118
  CreateThreatIntelSetResponse = Shapes::StructureShape.new(name: 'CreateThreatIntelSetResponse')
119
+ CreateTrustedEntitySetRequest = Shapes::StructureShape.new(name: 'CreateTrustedEntitySetRequest')
120
+ CreateTrustedEntitySetResponse = Shapes::StructureShape.new(name: 'CreateTrustedEntitySetResponse')
117
121
  Criterion = Shapes::MapShape.new(name: 'Criterion')
118
122
  CriterionKey = Shapes::StringShape.new(name: 'CriterionKey')
119
123
  DNSLogsConfigurationResult = Shapes::StructureShape.new(name: 'DNSLogsConfigurationResult')
@@ -141,8 +145,12 @@ module Aws::GuardDuty
141
145
  DeleteMembersResponse = Shapes::StructureShape.new(name: 'DeleteMembersResponse')
142
146
  DeletePublishingDestinationRequest = Shapes::StructureShape.new(name: 'DeletePublishingDestinationRequest')
143
147
  DeletePublishingDestinationResponse = Shapes::StructureShape.new(name: 'DeletePublishingDestinationResponse')
148
+ DeleteThreatEntitySetRequest = Shapes::StructureShape.new(name: 'DeleteThreatEntitySetRequest')
149
+ DeleteThreatEntitySetResponse = Shapes::StructureShape.new(name: 'DeleteThreatEntitySetResponse')
144
150
  DeleteThreatIntelSetRequest = Shapes::StructureShape.new(name: 'DeleteThreatIntelSetRequest')
145
151
  DeleteThreatIntelSetResponse = Shapes::StructureShape.new(name: 'DeleteThreatIntelSetResponse')
152
+ DeleteTrustedEntitySetRequest = Shapes::StructureShape.new(name: 'DeleteTrustedEntitySetRequest')
153
+ DeleteTrustedEntitySetResponse = Shapes::StructureShape.new(name: 'DeleteTrustedEntitySetResponse')
146
154
  DescribeMalwareScansRequest = Shapes::StructureShape.new(name: 'DescribeMalwareScansRequest')
147
155
  DescribeMalwareScansResponse = Shapes::StructureShape.new(name: 'DescribeMalwareScansResponse')
148
156
  DescribeOrganizationConfigurationRequest = Shapes::StructureShape.new(name: 'DescribeOrganizationConfigurationRequest')
@@ -198,6 +206,7 @@ module Aws::GuardDuty
198
206
  Eq = Shapes::ListShape.new(name: 'Eq')
199
207
  Equals = Shapes::ListShape.new(name: 'Equals')
200
208
  Evidence = Shapes::StructureShape.new(name: 'Evidence')
209
+ ExpectedBucketOwner = Shapes::StringShape.new(name: 'ExpectedBucketOwner')
201
210
  FargateDetails = Shapes::StructureShape.new(name: 'FargateDetails')
202
211
  FeatureAdditionalConfiguration = Shapes::StringShape.new(name: 'FeatureAdditionalConfiguration')
203
212
  FeatureStatus = Shapes::StringShape.new(name: 'FeatureStatus')
@@ -260,8 +269,12 @@ module Aws::GuardDuty
260
269
  GetOrganizationStatisticsResponse = Shapes::StructureShape.new(name: 'GetOrganizationStatisticsResponse')
261
270
  GetRemainingFreeTrialDaysRequest = Shapes::StructureShape.new(name: 'GetRemainingFreeTrialDaysRequest')
262
271
  GetRemainingFreeTrialDaysResponse = Shapes::StructureShape.new(name: 'GetRemainingFreeTrialDaysResponse')
272
+ GetThreatEntitySetRequest = Shapes::StructureShape.new(name: 'GetThreatEntitySetRequest')
273
+ GetThreatEntitySetResponse = Shapes::StructureShape.new(name: 'GetThreatEntitySetResponse')
263
274
  GetThreatIntelSetRequest = Shapes::StructureShape.new(name: 'GetThreatIntelSetRequest')
264
275
  GetThreatIntelSetResponse = Shapes::StructureShape.new(name: 'GetThreatIntelSetResponse')
276
+ GetTrustedEntitySetRequest = Shapes::StructureShape.new(name: 'GetTrustedEntitySetRequest')
277
+ GetTrustedEntitySetResponse = Shapes::StructureShape.new(name: 'GetTrustedEntitySetResponse')
265
278
  GetUsageStatisticsRequest = Shapes::StructureShape.new(name: 'GetUsageStatisticsRequest')
266
279
  GetUsageStatisticsResponse = Shapes::StructureShape.new(name: 'GetUsageStatisticsResponse')
267
280
  GroupByType = Shapes::StringShape.new(name: 'GroupByType')
@@ -337,8 +350,12 @@ module Aws::GuardDuty
337
350
  ListPublishingDestinationsResponse = Shapes::StructureShape.new(name: 'ListPublishingDestinationsResponse')
338
351
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
339
352
  ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
353
+ ListThreatEntitySetsRequest = Shapes::StructureShape.new(name: 'ListThreatEntitySetsRequest')
354
+ ListThreatEntitySetsResponse = Shapes::StructureShape.new(name: 'ListThreatEntitySetsResponse')
340
355
  ListThreatIntelSetsRequest = Shapes::StructureShape.new(name: 'ListThreatIntelSetsRequest')
341
356
  ListThreatIntelSetsResponse = Shapes::StructureShape.new(name: 'ListThreatIntelSetsResponse')
357
+ ListTrustedEntitySetsRequest = Shapes::StructureShape.new(name: 'ListTrustedEntitySetsRequest')
358
+ ListTrustedEntitySetsResponse = Shapes::StructureShape.new(name: 'ListTrustedEntitySetsResponse')
342
359
  LocalIpDetails = Shapes::StructureShape.new(name: 'LocalIpDetails')
343
360
  LocalPortDetails = Shapes::StructureShape.new(name: 'LocalPortDetails')
344
361
  Location = Shapes::StringShape.new(name: 'Location')
@@ -530,6 +547,9 @@ module Aws::GuardDuty
530
547
  Tags = Shapes::ListShape.new(name: 'Tags')
531
548
  Threat = Shapes::StructureShape.new(name: 'Threat')
532
549
  ThreatDetectedByName = Shapes::StructureShape.new(name: 'ThreatDetectedByName')
550
+ ThreatEntitySetFormat = Shapes::StringShape.new(name: 'ThreatEntitySetFormat')
551
+ ThreatEntitySetIds = Shapes::ListShape.new(name: 'ThreatEntitySetIds')
552
+ ThreatEntitySetStatus = Shapes::StringShape.new(name: 'ThreatEntitySetStatus')
533
553
  ThreatIntelSetFormat = Shapes::StringShape.new(name: 'ThreatIntelSetFormat')
534
554
  ThreatIntelSetIds = Shapes::ListShape.new(name: 'ThreatIntelSetIds')
535
555
  ThreatIntelSetStatus = Shapes::StringShape.new(name: 'ThreatIntelSetStatus')
@@ -541,6 +561,9 @@ module Aws::GuardDuty
541
561
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
542
562
  Total = Shapes::StructureShape.new(name: 'Total')
543
563
  TriggerDetails = Shapes::StructureShape.new(name: 'TriggerDetails')
564
+ TrustedEntitySetFormat = Shapes::StringShape.new(name: 'TrustedEntitySetFormat')
565
+ TrustedEntitySetIds = Shapes::ListShape.new(name: 'TrustedEntitySetIds')
566
+ TrustedEntitySetStatus = Shapes::StringShape.new(name: 'TrustedEntitySetStatus')
544
567
  UnarchiveFindingsRequest = Shapes::StructureShape.new(name: 'UnarchiveFindingsRequest')
545
568
  UnarchiveFindingsResponse = Shapes::StructureShape.new(name: 'UnarchiveFindingsResponse')
546
569
  UnprocessedAccount = Shapes::StructureShape.new(name: 'UnprocessedAccount')
@@ -567,8 +590,12 @@ module Aws::GuardDuty
567
590
  UpdatePublishingDestinationRequest = Shapes::StructureShape.new(name: 'UpdatePublishingDestinationRequest')
568
591
  UpdatePublishingDestinationResponse = Shapes::StructureShape.new(name: 'UpdatePublishingDestinationResponse')
569
592
  UpdateS3BucketResource = Shapes::StructureShape.new(name: 'UpdateS3BucketResource')
593
+ UpdateThreatEntitySetRequest = Shapes::StructureShape.new(name: 'UpdateThreatEntitySetRequest')
594
+ UpdateThreatEntitySetResponse = Shapes::StructureShape.new(name: 'UpdateThreatEntitySetResponse')
570
595
  UpdateThreatIntelSetRequest = Shapes::StructureShape.new(name: 'UpdateThreatIntelSetRequest')
571
596
  UpdateThreatIntelSetResponse = Shapes::StructureShape.new(name: 'UpdateThreatIntelSetResponse')
597
+ UpdateTrustedEntitySetRequest = Shapes::StructureShape.new(name: 'UpdateTrustedEntitySetRequest')
598
+ UpdateTrustedEntitySetResponse = Shapes::StructureShape.new(name: 'UpdateTrustedEntitySetResponse')
572
599
  UsageAccountResult = Shapes::StructureShape.new(name: 'UsageAccountResult')
573
600
  UsageAccountResultList = Shapes::ListShape.new(name: 'UsageAccountResultList')
574
601
  UsageCriteria = Shapes::StructureShape.new(name: 'UsageCriteria')
@@ -966,6 +993,19 @@ module Aws::GuardDuty
966
993
 
967
994
  CreateSampleFindingsResponse.struct_class = Types::CreateSampleFindingsResponse
968
995
 
996
+ CreateThreatEntitySetRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: DetectorId, required: true, location: "uri", location_name: "detectorId"))
997
+ CreateThreatEntitySetRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
998
+ CreateThreatEntitySetRequest.add_member(:format, Shapes::ShapeRef.new(shape: ThreatEntitySetFormat, required: true, location_name: "format"))
999
+ CreateThreatEntitySetRequest.add_member(:location, Shapes::ShapeRef.new(shape: Location, required: true, location_name: "location"))
1000
+ CreateThreatEntitySetRequest.add_member(:expected_bucket_owner, Shapes::ShapeRef.new(shape: ExpectedBucketOwner, location_name: "expectedBucketOwner"))
1001
+ CreateThreatEntitySetRequest.add_member(:activate, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "activate"))
1002
+ CreateThreatEntitySetRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
1003
+ CreateThreatEntitySetRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
1004
+ CreateThreatEntitySetRequest.struct_class = Types::CreateThreatEntitySetRequest
1005
+
1006
+ CreateThreatEntitySetResponse.add_member(:threat_entity_set_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "threatEntitySetId"))
1007
+ CreateThreatEntitySetResponse.struct_class = Types::CreateThreatEntitySetResponse
1008
+
969
1009
  CreateThreatIntelSetRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: DetectorId, required: true, location: "uri", location_name: "detectorId"))
970
1010
  CreateThreatIntelSetRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
971
1011
  CreateThreatIntelSetRequest.add_member(:format, Shapes::ShapeRef.new(shape: ThreatIntelSetFormat, required: true, location_name: "format"))
@@ -979,6 +1019,19 @@ module Aws::GuardDuty
979
1019
  CreateThreatIntelSetResponse.add_member(:threat_intel_set_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "threatIntelSetId"))
980
1020
  CreateThreatIntelSetResponse.struct_class = Types::CreateThreatIntelSetResponse
981
1021
 
1022
+ CreateTrustedEntitySetRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: DetectorId, required: true, location: "uri", location_name: "detectorId"))
1023
+ CreateTrustedEntitySetRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
1024
+ CreateTrustedEntitySetRequest.add_member(:format, Shapes::ShapeRef.new(shape: TrustedEntitySetFormat, required: true, location_name: "format"))
1025
+ CreateTrustedEntitySetRequest.add_member(:location, Shapes::ShapeRef.new(shape: Location, required: true, location_name: "location"))
1026
+ CreateTrustedEntitySetRequest.add_member(:expected_bucket_owner, Shapes::ShapeRef.new(shape: ExpectedBucketOwner, location_name: "expectedBucketOwner"))
1027
+ CreateTrustedEntitySetRequest.add_member(:activate, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "activate"))
1028
+ CreateTrustedEntitySetRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
1029
+ CreateTrustedEntitySetRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
1030
+ CreateTrustedEntitySetRequest.struct_class = Types::CreateTrustedEntitySetRequest
1031
+
1032
+ CreateTrustedEntitySetResponse.add_member(:trusted_entity_set_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "trustedEntitySetId"))
1033
+ CreateTrustedEntitySetResponse.struct_class = Types::CreateTrustedEntitySetResponse
1034
+
982
1035
  Criterion.key = Shapes::ShapeRef.new(shape: String)
983
1036
  Criterion.value = Shapes::ShapeRef.new(shape: Condition)
984
1037
 
@@ -1066,12 +1119,24 @@ module Aws::GuardDuty
1066
1119
 
1067
1120
  DeletePublishingDestinationResponse.struct_class = Types::DeletePublishingDestinationResponse
1068
1121
 
1122
+ DeleteThreatEntitySetRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: DetectorId, required: true, location: "uri", location_name: "detectorId"))
1123
+ DeleteThreatEntitySetRequest.add_member(:threat_entity_set_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "threatEntitySetId"))
1124
+ DeleteThreatEntitySetRequest.struct_class = Types::DeleteThreatEntitySetRequest
1125
+
1126
+ DeleteThreatEntitySetResponse.struct_class = Types::DeleteThreatEntitySetResponse
1127
+
1069
1128
  DeleteThreatIntelSetRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: DetectorId, required: true, location: "uri", location_name: "detectorId"))
1070
1129
  DeleteThreatIntelSetRequest.add_member(:threat_intel_set_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "threatIntelSetId"))
1071
1130
  DeleteThreatIntelSetRequest.struct_class = Types::DeleteThreatIntelSetRequest
1072
1131
 
1073
1132
  DeleteThreatIntelSetResponse.struct_class = Types::DeleteThreatIntelSetResponse
1074
1133
 
1134
+ DeleteTrustedEntitySetRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: DetectorId, required: true, location: "uri", location_name: "detectorId"))
1135
+ DeleteTrustedEntitySetRequest.add_member(:trusted_entity_set_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "trustedEntitySetId"))
1136
+ DeleteTrustedEntitySetRequest.struct_class = Types::DeleteTrustedEntitySetRequest
1137
+
1138
+ DeleteTrustedEntitySetResponse.struct_class = Types::DeleteTrustedEntitySetResponse
1139
+
1075
1140
  DescribeMalwareScansRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: DetectorId, required: true, location: "uri", location_name: "detectorId"))
1076
1141
  DescribeMalwareScansRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
1077
1142
  DescribeMalwareScansRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: IntegerValueWithMax, location_name: "maxResults"))
@@ -1178,6 +1243,7 @@ module Aws::GuardDuty
1178
1243
  DnsRequestAction.add_member(:protocol, Shapes::ShapeRef.new(shape: String, location_name: "protocol"))
1179
1244
  DnsRequestAction.add_member(:blocked, Shapes::ShapeRef.new(shape: Boolean, location_name: "blocked"))
1180
1245
  DnsRequestAction.add_member(:domain_with_suffix, Shapes::ShapeRef.new(shape: String, location_name: "domainWithSuffix"))
1246
+ DnsRequestAction.add_member(:vpc_owner_account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "vpcOwnerAccountId"))
1181
1247
  DnsRequestAction.struct_class = Types::DnsRequestAction
1182
1248
 
1183
1249
  DomainDetails.add_member(:domain, Shapes::ShapeRef.new(shape: String, location_name: "domain"))
@@ -1483,6 +1549,21 @@ module Aws::GuardDuty
1483
1549
  GetRemainingFreeTrialDaysResponse.add_member(:unprocessed_accounts, Shapes::ShapeRef.new(shape: UnprocessedAccounts, location_name: "unprocessedAccounts"))
1484
1550
  GetRemainingFreeTrialDaysResponse.struct_class = Types::GetRemainingFreeTrialDaysResponse
1485
1551
 
1552
+ GetThreatEntitySetRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: DetectorId, required: true, location: "uri", location_name: "detectorId"))
1553
+ GetThreatEntitySetRequest.add_member(:threat_entity_set_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "threatEntitySetId"))
1554
+ GetThreatEntitySetRequest.struct_class = Types::GetThreatEntitySetRequest
1555
+
1556
+ GetThreatEntitySetResponse.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
1557
+ GetThreatEntitySetResponse.add_member(:format, Shapes::ShapeRef.new(shape: ThreatEntitySetFormat, required: true, location_name: "format"))
1558
+ GetThreatEntitySetResponse.add_member(:location, Shapes::ShapeRef.new(shape: Location, required: true, location_name: "location"))
1559
+ GetThreatEntitySetResponse.add_member(:expected_bucket_owner, Shapes::ShapeRef.new(shape: ExpectedBucketOwner, location_name: "expectedBucketOwner"))
1560
+ GetThreatEntitySetResponse.add_member(:status, Shapes::ShapeRef.new(shape: ThreatEntitySetStatus, required: true, location_name: "status"))
1561
+ GetThreatEntitySetResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
1562
+ GetThreatEntitySetResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
1563
+ GetThreatEntitySetResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "updatedAt"))
1564
+ GetThreatEntitySetResponse.add_member(:error_details, Shapes::ShapeRef.new(shape: String, location_name: "errorDetails"))
1565
+ GetThreatEntitySetResponse.struct_class = Types::GetThreatEntitySetResponse
1566
+
1486
1567
  GetThreatIntelSetRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: DetectorId, required: true, location: "uri", location_name: "detectorId"))
1487
1568
  GetThreatIntelSetRequest.add_member(:threat_intel_set_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "threatIntelSetId"))
1488
1569
  GetThreatIntelSetRequest.struct_class = Types::GetThreatIntelSetRequest
@@ -1495,6 +1576,21 @@ module Aws::GuardDuty
1495
1576
  GetThreatIntelSetResponse.add_member(:expected_bucket_owner, Shapes::ShapeRef.new(shape: AccountId, location_name: "expectedBucketOwner"))
1496
1577
  GetThreatIntelSetResponse.struct_class = Types::GetThreatIntelSetResponse
1497
1578
 
1579
+ GetTrustedEntitySetRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: DetectorId, required: true, location: "uri", location_name: "detectorId"))
1580
+ GetTrustedEntitySetRequest.add_member(:trusted_entity_set_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "trustedEntitySetId"))
1581
+ GetTrustedEntitySetRequest.struct_class = Types::GetTrustedEntitySetRequest
1582
+
1583
+ GetTrustedEntitySetResponse.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
1584
+ GetTrustedEntitySetResponse.add_member(:format, Shapes::ShapeRef.new(shape: TrustedEntitySetFormat, required: true, location_name: "format"))
1585
+ GetTrustedEntitySetResponse.add_member(:location, Shapes::ShapeRef.new(shape: Location, required: true, location_name: "location"))
1586
+ GetTrustedEntitySetResponse.add_member(:expected_bucket_owner, Shapes::ShapeRef.new(shape: ExpectedBucketOwner, location_name: "expectedBucketOwner"))
1587
+ GetTrustedEntitySetResponse.add_member(:status, Shapes::ShapeRef.new(shape: TrustedEntitySetStatus, required: true, location_name: "status"))
1588
+ GetTrustedEntitySetResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
1589
+ GetTrustedEntitySetResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
1590
+ GetTrustedEntitySetResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "updatedAt"))
1591
+ GetTrustedEntitySetResponse.add_member(:error_details, Shapes::ShapeRef.new(shape: String, location_name: "errorDetails"))
1592
+ GetTrustedEntitySetResponse.struct_class = Types::GetTrustedEntitySetResponse
1593
+
1498
1594
  GetUsageStatisticsRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: DetectorId, required: true, location: "uri", location_name: "detectorId"))
1499
1595
  GetUsageStatisticsRequest.add_member(:usage_statistic_type, Shapes::ShapeRef.new(shape: UsageStatisticType, required: true, location_name: "usageStatisticsType"))
1500
1596
  GetUsageStatisticsRequest.add_member(:usage_criteria, Shapes::ShapeRef.new(shape: UsageCriteria, required: true, location_name: "usageCriteria"))
@@ -1786,6 +1882,15 @@ module Aws::GuardDuty
1786
1882
  ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
1787
1883
  ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
1788
1884
 
1885
+ ListThreatEntitySetsRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: DetectorId, required: true, location: "uri", location_name: "detectorId"))
1886
+ ListThreatEntitySetsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
1887
+ ListThreatEntitySetsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
1888
+ ListThreatEntitySetsRequest.struct_class = Types::ListThreatEntitySetsRequest
1889
+
1890
+ ListThreatEntitySetsResponse.add_member(:threat_entity_set_ids, Shapes::ShapeRef.new(shape: ThreatEntitySetIds, required: true, location_name: "threatEntitySetIds"))
1891
+ ListThreatEntitySetsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
1892
+ ListThreatEntitySetsResponse.struct_class = Types::ListThreatEntitySetsResponse
1893
+
1789
1894
  ListThreatIntelSetsRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: DetectorId, required: true, location: "uri", location_name: "detectorId"))
1790
1895
  ListThreatIntelSetsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
1791
1896
  ListThreatIntelSetsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
@@ -1795,6 +1900,15 @@ module Aws::GuardDuty
1795
1900
  ListThreatIntelSetsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
1796
1901
  ListThreatIntelSetsResponse.struct_class = Types::ListThreatIntelSetsResponse
1797
1902
 
1903
+ ListTrustedEntitySetsRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: DetectorId, required: true, location: "uri", location_name: "detectorId"))
1904
+ ListTrustedEntitySetsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
1905
+ ListTrustedEntitySetsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
1906
+ ListTrustedEntitySetsRequest.struct_class = Types::ListTrustedEntitySetsRequest
1907
+
1908
+ ListTrustedEntitySetsResponse.add_member(:trusted_entity_set_ids, Shapes::ShapeRef.new(shape: TrustedEntitySetIds, required: true, location_name: "trustedEntitySetIds"))
1909
+ ListTrustedEntitySetsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
1910
+ ListTrustedEntitySetsResponse.struct_class = Types::ListTrustedEntitySetsResponse
1911
+
1798
1912
  LocalIpDetails.add_member(:ip_address_v4, Shapes::ShapeRef.new(shape: SensitiveString, location_name: "ipAddressV4"))
1799
1913
  LocalIpDetails.add_member(:ip_address_v6, Shapes::ShapeRef.new(shape: SensitiveString, location_name: "ipAddressV6"))
1800
1914
  LocalIpDetails.struct_class = Types::LocalIpDetails
@@ -2486,6 +2600,8 @@ module Aws::GuardDuty
2486
2600
  ThreatDetectedByName.add_member(:threat_names, Shapes::ShapeRef.new(shape: ScanThreatNames, location_name: "threatNames"))
2487
2601
  ThreatDetectedByName.struct_class = Types::ThreatDetectedByName
2488
2602
 
2603
+ ThreatEntitySetIds.member = Shapes::ShapeRef.new(shape: String)
2604
+
2489
2605
  ThreatIntelSetIds.member = Shapes::ShapeRef.new(shape: String)
2490
2606
 
2491
2607
  ThreatIntelligenceDetail.add_member(:threat_list_name, Shapes::ShapeRef.new(shape: String, location_name: "threatListName"))
@@ -2510,6 +2626,8 @@ module Aws::GuardDuty
2510
2626
  TriggerDetails.add_member(:description, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "description"))
2511
2627
  TriggerDetails.struct_class = Types::TriggerDetails
2512
2628
 
2629
+ TrustedEntitySetIds.member = Shapes::ShapeRef.new(shape: String)
2630
+
2513
2631
  UnarchiveFindingsRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: DetectorId, required: true, location: "uri", location_name: "detectorId"))
2514
2632
  UnarchiveFindingsRequest.add_member(:finding_ids, Shapes::ShapeRef.new(shape: FindingIds, required: true, location_name: "findingIds"))
2515
2633
  UnarchiveFindingsRequest.struct_class = Types::UnarchiveFindingsRequest
@@ -2613,6 +2731,16 @@ module Aws::GuardDuty
2613
2731
  UpdateS3BucketResource.add_member(:object_prefixes, Shapes::ShapeRef.new(shape: MalwareProtectionPlanObjectPrefixesList, location_name: "objectPrefixes"))
2614
2732
  UpdateS3BucketResource.struct_class = Types::UpdateS3BucketResource
2615
2733
 
2734
+ UpdateThreatEntitySetRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: DetectorId, required: true, location: "uri", location_name: "detectorId"))
2735
+ UpdateThreatEntitySetRequest.add_member(:threat_entity_set_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "threatEntitySetId"))
2736
+ UpdateThreatEntitySetRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
2737
+ UpdateThreatEntitySetRequest.add_member(:location, Shapes::ShapeRef.new(shape: Location, location_name: "location"))
2738
+ UpdateThreatEntitySetRequest.add_member(:expected_bucket_owner, Shapes::ShapeRef.new(shape: ExpectedBucketOwner, location_name: "expectedBucketOwner"))
2739
+ UpdateThreatEntitySetRequest.add_member(:activate, Shapes::ShapeRef.new(shape: Boolean, location_name: "activate"))
2740
+ UpdateThreatEntitySetRequest.struct_class = Types::UpdateThreatEntitySetRequest
2741
+
2742
+ UpdateThreatEntitySetResponse.struct_class = Types::UpdateThreatEntitySetResponse
2743
+
2616
2744
  UpdateThreatIntelSetRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: DetectorId, required: true, location: "uri", location_name: "detectorId"))
2617
2745
  UpdateThreatIntelSetRequest.add_member(:threat_intel_set_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "threatIntelSetId"))
2618
2746
  UpdateThreatIntelSetRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
@@ -2623,6 +2751,16 @@ module Aws::GuardDuty
2623
2751
 
2624
2752
  UpdateThreatIntelSetResponse.struct_class = Types::UpdateThreatIntelSetResponse
2625
2753
 
2754
+ UpdateTrustedEntitySetRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: DetectorId, required: true, location: "uri", location_name: "detectorId"))
2755
+ UpdateTrustedEntitySetRequest.add_member(:trusted_entity_set_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "trustedEntitySetId"))
2756
+ UpdateTrustedEntitySetRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
2757
+ UpdateTrustedEntitySetRequest.add_member(:location, Shapes::ShapeRef.new(shape: Location, location_name: "location"))
2758
+ UpdateTrustedEntitySetRequest.add_member(:expected_bucket_owner, Shapes::ShapeRef.new(shape: ExpectedBucketOwner, location_name: "expectedBucketOwner"))
2759
+ UpdateTrustedEntitySetRequest.add_member(:activate, Shapes::ShapeRef.new(shape: Boolean, location_name: "activate"))
2760
+ UpdateTrustedEntitySetRequest.struct_class = Types::UpdateTrustedEntitySetRequest
2761
+
2762
+ UpdateTrustedEntitySetResponse.struct_class = Types::UpdateTrustedEntitySetResponse
2763
+
2626
2764
  UsageAccountResult.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "accountId"))
2627
2765
  UsageAccountResult.add_member(:total, Shapes::ShapeRef.new(shape: Total, location_name: "total"))
2628
2766
  UsageAccountResult.struct_class = Types::UsageAccountResult
@@ -2834,6 +2972,16 @@ module Aws::GuardDuty
2834
2972
  o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
2835
2973
  end)
2836
2974
 
2975
+ api.add_operation(:create_threat_entity_set, Seahorse::Model::Operation.new.tap do |o|
2976
+ o.name = "CreateThreatEntitySet"
2977
+ o.http_method = "POST"
2978
+ o.http_request_uri = "/detector/{detectorId}/threatentityset"
2979
+ o.input = Shapes::ShapeRef.new(shape: CreateThreatEntitySetRequest)
2980
+ o.output = Shapes::ShapeRef.new(shape: CreateThreatEntitySetResponse)
2981
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2982
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
2983
+ end)
2984
+
2837
2985
  api.add_operation(:create_threat_intel_set, Seahorse::Model::Operation.new.tap do |o|
2838
2986
  o.name = "CreateThreatIntelSet"
2839
2987
  o.http_method = "POST"
@@ -2845,6 +2993,16 @@ module Aws::GuardDuty
2845
2993
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2846
2994
  end)
2847
2995
 
2996
+ api.add_operation(:create_trusted_entity_set, Seahorse::Model::Operation.new.tap do |o|
2997
+ o.name = "CreateTrustedEntitySet"
2998
+ o.http_method = "POST"
2999
+ o.http_request_uri = "/detector/{detectorId}/trustedentityset"
3000
+ o.input = Shapes::ShapeRef.new(shape: CreateTrustedEntitySetRequest)
3001
+ o.output = Shapes::ShapeRef.new(shape: CreateTrustedEntitySetResponse)
3002
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
3003
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
3004
+ end)
3005
+
2848
3006
  api.add_operation(:decline_invitations, Seahorse::Model::Operation.new.tap do |o|
2849
3007
  o.name = "DeclineInvitations"
2850
3008
  o.http_method = "POST"
@@ -2927,6 +3085,16 @@ module Aws::GuardDuty
2927
3085
  o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
2928
3086
  end)
2929
3087
 
3088
+ api.add_operation(:delete_threat_entity_set, Seahorse::Model::Operation.new.tap do |o|
3089
+ o.name = "DeleteThreatEntitySet"
3090
+ o.http_method = "DELETE"
3091
+ o.http_request_uri = "/detector/{detectorId}/threatentityset/{threatEntitySetId}"
3092
+ o.input = Shapes::ShapeRef.new(shape: DeleteThreatEntitySetRequest)
3093
+ o.output = Shapes::ShapeRef.new(shape: DeleteThreatEntitySetResponse)
3094
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
3095
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
3096
+ end)
3097
+
2930
3098
  api.add_operation(:delete_threat_intel_set, Seahorse::Model::Operation.new.tap do |o|
2931
3099
  o.name = "DeleteThreatIntelSet"
2932
3100
  o.http_method = "DELETE"
@@ -2937,6 +3105,16 @@ module Aws::GuardDuty
2937
3105
  o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
2938
3106
  end)
2939
3107
 
3108
+ api.add_operation(:delete_trusted_entity_set, Seahorse::Model::Operation.new.tap do |o|
3109
+ o.name = "DeleteTrustedEntitySet"
3110
+ o.http_method = "DELETE"
3111
+ o.http_request_uri = "/detector/{detectorId}/trustedentityset/{trustedEntitySetId}"
3112
+ o.input = Shapes::ShapeRef.new(shape: DeleteTrustedEntitySetRequest)
3113
+ o.output = Shapes::ShapeRef.new(shape: DeleteTrustedEntitySetResponse)
3114
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
3115
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
3116
+ end)
3117
+
2940
3118
  api.add_operation(:describe_malware_scans, Seahorse::Model::Operation.new.tap do |o|
2941
3119
  o.name = "DescribeMalwareScans"
2942
3120
  o.http_method = "POST"
@@ -3183,6 +3361,16 @@ module Aws::GuardDuty
3183
3361
  o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
3184
3362
  end)
3185
3363
 
3364
+ api.add_operation(:get_threat_entity_set, Seahorse::Model::Operation.new.tap do |o|
3365
+ o.name = "GetThreatEntitySet"
3366
+ o.http_method = "GET"
3367
+ o.http_request_uri = "/detector/{detectorId}/threatentityset/{threatEntitySetId}"
3368
+ o.input = Shapes::ShapeRef.new(shape: GetThreatEntitySetRequest)
3369
+ o.output = Shapes::ShapeRef.new(shape: GetThreatEntitySetResponse)
3370
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
3371
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
3372
+ end)
3373
+
3186
3374
  api.add_operation(:get_threat_intel_set, Seahorse::Model::Operation.new.tap do |o|
3187
3375
  o.name = "GetThreatIntelSet"
3188
3376
  o.http_method = "GET"
@@ -3193,6 +3381,16 @@ module Aws::GuardDuty
3193
3381
  o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
3194
3382
  end)
3195
3383
 
3384
+ api.add_operation(:get_trusted_entity_set, Seahorse::Model::Operation.new.tap do |o|
3385
+ o.name = "GetTrustedEntitySet"
3386
+ o.http_method = "GET"
3387
+ o.http_request_uri = "/detector/{detectorId}/trustedentityset/{trustedEntitySetId}"
3388
+ o.input = Shapes::ShapeRef.new(shape: GetTrustedEntitySetRequest)
3389
+ o.output = Shapes::ShapeRef.new(shape: GetTrustedEntitySetResponse)
3390
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
3391
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
3392
+ end)
3393
+
3196
3394
  api.add_operation(:get_usage_statistics, Seahorse::Model::Operation.new.tap do |o|
3197
3395
  o.name = "GetUsageStatistics"
3198
3396
  o.http_method = "POST"
@@ -3385,6 +3583,22 @@ module Aws::GuardDuty
3385
3583
  o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
3386
3584
  end)
3387
3585
 
3586
+ api.add_operation(:list_threat_entity_sets, Seahorse::Model::Operation.new.tap do |o|
3587
+ o.name = "ListThreatEntitySets"
3588
+ o.http_method = "GET"
3589
+ o.http_request_uri = "/detector/{detectorId}/threatentityset"
3590
+ o.input = Shapes::ShapeRef.new(shape: ListThreatEntitySetsRequest)
3591
+ o.output = Shapes::ShapeRef.new(shape: ListThreatEntitySetsResponse)
3592
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
3593
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
3594
+ o[:pager] = Aws::Pager.new(
3595
+ limit_key: "max_results",
3596
+ tokens: {
3597
+ "next_token" => "next_token"
3598
+ }
3599
+ )
3600
+ end)
3601
+
3388
3602
  api.add_operation(:list_threat_intel_sets, Seahorse::Model::Operation.new.tap do |o|
3389
3603
  o.name = "ListThreatIntelSets"
3390
3604
  o.http_method = "GET"
@@ -3401,6 +3615,22 @@ module Aws::GuardDuty
3401
3615
  )
3402
3616
  end)
3403
3617
 
3618
+ api.add_operation(:list_trusted_entity_sets, Seahorse::Model::Operation.new.tap do |o|
3619
+ o.name = "ListTrustedEntitySets"
3620
+ o.http_method = "GET"
3621
+ o.http_request_uri = "/detector/{detectorId}/trustedentityset"
3622
+ o.input = Shapes::ShapeRef.new(shape: ListTrustedEntitySetsRequest)
3623
+ o.output = Shapes::ShapeRef.new(shape: ListTrustedEntitySetsResponse)
3624
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
3625
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
3626
+ o[:pager] = Aws::Pager.new(
3627
+ limit_key: "max_results",
3628
+ tokens: {
3629
+ "next_token" => "next_token"
3630
+ }
3631
+ )
3632
+ end)
3633
+
3404
3634
  api.add_operation(:start_malware_scan, Seahorse::Model::Operation.new.tap do |o|
3405
3635
  o.name = "StartMalwareScan"
3406
3636
  o.http_method = "POST"
@@ -3557,6 +3787,16 @@ module Aws::GuardDuty
3557
3787
  o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
3558
3788
  end)
3559
3789
 
3790
+ api.add_operation(:update_threat_entity_set, Seahorse::Model::Operation.new.tap do |o|
3791
+ o.name = "UpdateThreatEntitySet"
3792
+ o.http_method = "POST"
3793
+ o.http_request_uri = "/detector/{detectorId}/threatentityset/{threatEntitySetId}"
3794
+ o.input = Shapes::ShapeRef.new(shape: UpdateThreatEntitySetRequest)
3795
+ o.output = Shapes::ShapeRef.new(shape: UpdateThreatEntitySetResponse)
3796
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
3797
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
3798
+ end)
3799
+
3560
3800
  api.add_operation(:update_threat_intel_set, Seahorse::Model::Operation.new.tap do |o|
3561
3801
  o.name = "UpdateThreatIntelSet"
3562
3802
  o.http_method = "POST"
@@ -3567,6 +3807,16 @@ module Aws::GuardDuty
3567
3807
  o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
3568
3808
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3569
3809
  end)
3810
+
3811
+ api.add_operation(:update_trusted_entity_set, Seahorse::Model::Operation.new.tap do |o|
3812
+ o.name = "UpdateTrustedEntitySet"
3813
+ o.http_method = "POST"
3814
+ o.http_request_uri = "/detector/{detectorId}/trustedentityset/{trustedEntitySetId}"
3815
+ o.input = Shapes::ShapeRef.new(shape: UpdateTrustedEntitySetRequest)
3816
+ o.output = Shapes::ShapeRef.new(shape: UpdateTrustedEntitySetResponse)
3817
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
3818
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
3819
+ end)
3570
3820
  end
3571
3821
 
3572
3822
  end