aws-sdk-guardduty 1.124.0 → 1.126.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2e88f63b95cd94ba31e6c385f3866793cff6d1adf6f4f3e339bdd460c4ffd586
4
- data.tar.gz: 00c5eab26a73dd7ca589d1e1c347df5cb0d7f7d11e71b48ef90836c6abd48f61
3
+ metadata.gz: c2de1930cb20315ea9de4dc107d4d93ada5b8eacb82fe675bcce9d41d77e7f82
4
+ data.tar.gz: 7cddc8e78af4405a0727520367a40927b14c061858fd6b71d24705167e9fd507
5
5
  SHA512:
6
- metadata.gz: bcec004592b4d2758a2ec9ce2242489914ca6268c2057ef3739142a9ad134eacaa27967773056a351ea53cd9da5ba426c8d1f18c4b19e823f90b32b85813f29d
7
- data.tar.gz: c6c83a98c87e63fa6c0eaf590508d061d6ba4e532a3587ddd0850a8ba509646efa1fb33e2daa2f63ee2c072023e9e98260adadc9815003552fa7722e555fc703
6
+ metadata.gz: d9cad03ba08e92645290954a0e49437982a4d7a2a893adf1250bdd0d771a80c661d250663cce1fe992336fbee295664a98c89190e6d40c3fa7255467c31121d9
7
+ data.tar.gz: 38ae0adf71560d3156fdbe52a00db8d3e15d5f60598cfb34db9d48998cb682be4205b954529d72841beed945b2272976fb7fbc943d9acd68f5c9d8a772c46673
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.126.0 (2025-08-21)
5
+ ------------------
6
+
7
+ * Feature - Remove Pattern trait from email field
8
+
9
+ 1.125.0 (2025-08-14)
10
+ ------------------
11
+
12
+ * Feature - Added support for entity lists.
13
+
4
14
  1.124.0 (2025-08-07)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.124.0
1
+ 1.126.0
@@ -1351,6 +1351,85 @@ module Aws::GuardDuty
1351
1351
  req.send_request(options)
1352
1352
  end
1353
1353
 
1354
+ # Creates a new threat entity set. In a threat entity set, you can
1355
+ # provide known malicious IP addresses and domains for your Amazon Web
1356
+ # Services environment. GuardDuty generates findings based on the
1357
+ # entries in the threat entity sets. Only users of the administrator
1358
+ # account can manage entity sets, which automatically apply to member
1359
+ # accounts.
1360
+ #
1361
+ # @option params [required, String] :detector_id
1362
+ # The unique ID of the detector of the GuardDuty account for which you
1363
+ # want to create a threat entity set.
1364
+ #
1365
+ # To find the `detectorId` in the current Region, see the Settings page
1366
+ # in the GuardDuty console, or run the [ListDetectors][1] API.
1367
+ #
1368
+ #
1369
+ #
1370
+ # [1]: https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html
1371
+ #
1372
+ # @option params [required, String] :name
1373
+ # A user-friendly name to identify the threat entity set.
1374
+ #
1375
+ # The name of your list can include lowercase letters, uppercase
1376
+ # letters, numbers, dash (-), and underscore (\_).
1377
+ #
1378
+ # @option params [required, String] :format
1379
+ # The format of the file that contains the threat entity set.
1380
+ #
1381
+ # @option params [required, String] :location
1382
+ # The URI of the file that contains the threat entity set.
1383
+ #
1384
+ # @option params [String] :expected_bucket_owner
1385
+ # The Amazon Web Services account ID that owns the Amazon S3 bucket
1386
+ # specified in the **location** parameter.
1387
+ #
1388
+ # @option params [required, Boolean] :activate
1389
+ # A boolean value that indicates whether GuardDuty should start using
1390
+ # the uploaded threat entity set to generate findings.
1391
+ #
1392
+ # @option params [String] :client_token
1393
+ # The idempotency token for the create request.
1394
+ #
1395
+ # **A suitable default value is auto-generated.** You should normally
1396
+ # not need to pass this option.**
1397
+ #
1398
+ # @option params [Hash<String,String>] :tags
1399
+ # The tags to be added to a new threat entity set resource.
1400
+ #
1401
+ # @return [Types::CreateThreatEntitySetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1402
+ #
1403
+ # * {Types::CreateThreatEntitySetResponse#threat_entity_set_id #threat_entity_set_id} => String
1404
+ #
1405
+ # @example Request syntax with placeholder values
1406
+ #
1407
+ # resp = client.create_threat_entity_set({
1408
+ # detector_id: "DetectorId", # required
1409
+ # name: "Name", # required
1410
+ # format: "TXT", # required, accepts TXT, STIX, OTX_CSV, ALIEN_VAULT, PROOF_POINT, FIRE_EYE
1411
+ # location: "Location", # required
1412
+ # expected_bucket_owner: "ExpectedBucketOwner",
1413
+ # activate: false, # required
1414
+ # client_token: "ClientToken",
1415
+ # tags: {
1416
+ # "TagKey" => "TagValue",
1417
+ # },
1418
+ # })
1419
+ #
1420
+ # @example Response structure
1421
+ #
1422
+ # resp.threat_entity_set_id #=> String
1423
+ #
1424
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateThreatEntitySet AWS API Documentation
1425
+ #
1426
+ # @overload create_threat_entity_set(params = {})
1427
+ # @param [Hash] params ({})
1428
+ def create_threat_entity_set(params = {}, options = {})
1429
+ req = build_request(:create_threat_entity_set, params)
1430
+ req.send_request(options)
1431
+ end
1432
+
1354
1433
  # Creates a new ThreatIntelSet. ThreatIntelSets consist of known
1355
1434
  # malicious IP addresses. GuardDuty generates findings based on
1356
1435
  # ThreatIntelSets. Only users of the administrator account can use this
@@ -1358,7 +1437,7 @@ module Aws::GuardDuty
1358
1437
  #
1359
1438
  # @option params [required, String] :detector_id
1360
1439
  # The unique ID of the detector of the GuardDuty account for which you
1361
- # want to create a `ThreatIntelSet`.
1440
+ # want to create a `threatIntelSet`.
1362
1441
  #
1363
1442
  # To find the `detectorId` in the current Region, see the Settings page
1364
1443
  # in the GuardDuty console, or run the [ListDetectors][1] API.
@@ -1427,6 +1506,88 @@ module Aws::GuardDuty
1427
1506
  req.send_request(options)
1428
1507
  end
1429
1508
 
1509
+ # Creates a new trusted entity set. In the trusted entity set, you can
1510
+ # provide IP addresses and domains that you believe are secure for
1511
+ # communication in your Amazon Web Services environment. GuardDuty will
1512
+ # not generate findings for the entries that are specified in a trusted
1513
+ # entity set. At any given time, you can have only one trusted entity
1514
+ # set.
1515
+ #
1516
+ # Only users of the administrator account can manage the entity sets,
1517
+ # which automatically apply to member accounts.
1518
+ #
1519
+ # @option params [required, String] :detector_id
1520
+ # The unique ID of the detector of the GuardDuty account for which you
1521
+ # want to create a trusted entity set.
1522
+ #
1523
+ # To find the `detectorId` in the current Region, see the Settings page
1524
+ # in the GuardDuty console, or run the [ListDetectors][1] API.
1525
+ #
1526
+ #
1527
+ #
1528
+ # [1]: https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html
1529
+ #
1530
+ # @option params [required, String] :name
1531
+ # A user-friendly name to identify the trusted entity set.
1532
+ #
1533
+ # The name of your list can include lowercase letters, uppercase
1534
+ # letters, numbers, dash (-), and underscore (\_).
1535
+ #
1536
+ # @option params [required, String] :format
1537
+ # The format of the file that contains the trusted entity set.
1538
+ #
1539
+ # @option params [required, String] :location
1540
+ # The URI of the file that contains the trusted entity set.
1541
+ #
1542
+ # @option params [String] :expected_bucket_owner
1543
+ # The Amazon Web Services account ID that owns the Amazon S3 bucket
1544
+ # specified in the **location** parameter.
1545
+ #
1546
+ # @option params [required, Boolean] :activate
1547
+ # A boolean value that indicates whether GuardDuty is to start using the
1548
+ # uploaded trusted entity set.
1549
+ #
1550
+ # @option params [String] :client_token
1551
+ # The idempotency token for the create request.
1552
+ #
1553
+ # **A suitable default value is auto-generated.** You should normally
1554
+ # not need to pass this option.**
1555
+ #
1556
+ # @option params [Hash<String,String>] :tags
1557
+ # The tags to be added to a new trusted entity set resource.
1558
+ #
1559
+ # @return [Types::CreateTrustedEntitySetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1560
+ #
1561
+ # * {Types::CreateTrustedEntitySetResponse#trusted_entity_set_id #trusted_entity_set_id} => String
1562
+ #
1563
+ # @example Request syntax with placeholder values
1564
+ #
1565
+ # resp = client.create_trusted_entity_set({
1566
+ # detector_id: "DetectorId", # required
1567
+ # name: "Name", # required
1568
+ # format: "TXT", # required, accepts TXT, STIX, OTX_CSV, ALIEN_VAULT, PROOF_POINT, FIRE_EYE
1569
+ # location: "Location", # required
1570
+ # expected_bucket_owner: "ExpectedBucketOwner",
1571
+ # activate: false, # required
1572
+ # client_token: "ClientToken",
1573
+ # tags: {
1574
+ # "TagKey" => "TagValue",
1575
+ # },
1576
+ # })
1577
+ #
1578
+ # @example Response structure
1579
+ #
1580
+ # resp.trusted_entity_set_id #=> String
1581
+ #
1582
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateTrustedEntitySet AWS API Documentation
1583
+ #
1584
+ # @overload create_trusted_entity_set(params = {})
1585
+ # @param [Hash] params ({})
1586
+ def create_trusted_entity_set(params = {}, options = {})
1587
+ req = build_request(:create_trusted_entity_set, params)
1588
+ req.send_request(options)
1589
+ end
1590
+
1430
1591
  # Declines invitations sent to the current member account by Amazon Web
1431
1592
  # Services accounts specified by their account IDs.
1432
1593
  #
@@ -1696,6 +1857,42 @@ module Aws::GuardDuty
1696
1857
  req.send_request(options)
1697
1858
  end
1698
1859
 
1860
+ # Deletes the threat entity set that is associated with the specified
1861
+ # `threatEntitySetId`.
1862
+ #
1863
+ # @option params [required, String] :detector_id
1864
+ # The unique ID of the detector associated with the threat entity set
1865
+ # resource.
1866
+ #
1867
+ # To find the `detectorId` in the current Region, see the Settings page
1868
+ # in the GuardDuty console, or run the [ListDetectors][1] API.
1869
+ #
1870
+ #
1871
+ #
1872
+ # [1]: https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html
1873
+ #
1874
+ # @option params [required, String] :threat_entity_set_id
1875
+ # The unique ID that helps GuardDuty identify which threat entity set
1876
+ # needs to be deleted.
1877
+ #
1878
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1879
+ #
1880
+ # @example Request syntax with placeholder values
1881
+ #
1882
+ # resp = client.delete_threat_entity_set({
1883
+ # detector_id: "DetectorId", # required
1884
+ # threat_entity_set_id: "String", # required
1885
+ # })
1886
+ #
1887
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteThreatEntitySet AWS API Documentation
1888
+ #
1889
+ # @overload delete_threat_entity_set(params = {})
1890
+ # @param [Hash] params ({})
1891
+ def delete_threat_entity_set(params = {}, options = {})
1892
+ req = build_request(:delete_threat_entity_set, params)
1893
+ req.send_request(options)
1894
+ end
1895
+
1699
1896
  # Deletes the ThreatIntelSet specified by the ThreatIntelSet ID.
1700
1897
  #
1701
1898
  # @option params [required, String] :detector_id
@@ -1730,6 +1927,42 @@ module Aws::GuardDuty
1730
1927
  req.send_request(options)
1731
1928
  end
1732
1929
 
1930
+ # Deletes the trusted entity set that is associated with the specified
1931
+ # `trustedEntitySetId`.
1932
+ #
1933
+ # @option params [required, String] :detector_id
1934
+ # The unique ID of the detector associated with the trusted entity set
1935
+ # resource.
1936
+ #
1937
+ # To find the `detectorId` in the current Region, see the Settings page
1938
+ # in the GuardDuty console, or run the [ListDetectors][1] API.
1939
+ #
1940
+ #
1941
+ #
1942
+ # [1]: https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html
1943
+ #
1944
+ # @option params [required, String] :trusted_entity_set_id
1945
+ # The unique ID that helps GuardDuty identify which trusted entity set
1946
+ # needs to be deleted.
1947
+ #
1948
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1949
+ #
1950
+ # @example Request syntax with placeholder values
1951
+ #
1952
+ # resp = client.delete_trusted_entity_set({
1953
+ # detector_id: "DetectorId", # required
1954
+ # trusted_entity_set_id: "String", # required
1955
+ # })
1956
+ #
1957
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteTrustedEntitySet AWS API Documentation
1958
+ #
1959
+ # @overload delete_trusted_entity_set(params = {})
1960
+ # @param [Hash] params ({})
1961
+ def delete_trusted_entity_set(params = {}, options = {})
1962
+ req = build_request(:delete_trusted_entity_set, params)
1963
+ req.send_request(options)
1964
+ end
1965
+
1733
1966
  # Returns a list of malware scans. Each member account can view the
1734
1967
  # malware scans for their own accounts. An administrator can view the
1735
1968
  # malware scans for all the member accounts.
@@ -3618,6 +3851,64 @@ module Aws::GuardDuty
3618
3851
  req.send_request(options)
3619
3852
  end
3620
3853
 
3854
+ # Retrieves the threat entity set associated with the specified
3855
+ # `threatEntitySetId`.
3856
+ #
3857
+ # @option params [required, String] :detector_id
3858
+ # The unique ID of the detector associated with the threat entity set
3859
+ # resource.
3860
+ #
3861
+ # To find the `detectorId` in the current Region, see the Settings page
3862
+ # in the GuardDuty console, or run the [ListDetectors][1] API.
3863
+ #
3864
+ #
3865
+ #
3866
+ # [1]: https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html
3867
+ #
3868
+ # @option params [required, String] :threat_entity_set_id
3869
+ # The unique ID that helps GuardDuty identify the threat entity set.
3870
+ #
3871
+ # @return [Types::GetThreatEntitySetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3872
+ #
3873
+ # * {Types::GetThreatEntitySetResponse#name #name} => String
3874
+ # * {Types::GetThreatEntitySetResponse#format #format} => String
3875
+ # * {Types::GetThreatEntitySetResponse#location #location} => String
3876
+ # * {Types::GetThreatEntitySetResponse#expected_bucket_owner #expected_bucket_owner} => String
3877
+ # * {Types::GetThreatEntitySetResponse#status #status} => String
3878
+ # * {Types::GetThreatEntitySetResponse#tags #tags} => Hash&lt;String,String&gt;
3879
+ # * {Types::GetThreatEntitySetResponse#created_at #created_at} => Time
3880
+ # * {Types::GetThreatEntitySetResponse#updated_at #updated_at} => Time
3881
+ # * {Types::GetThreatEntitySetResponse#error_details #error_details} => String
3882
+ #
3883
+ # @example Request syntax with placeholder values
3884
+ #
3885
+ # resp = client.get_threat_entity_set({
3886
+ # detector_id: "DetectorId", # required
3887
+ # threat_entity_set_id: "String", # required
3888
+ # })
3889
+ #
3890
+ # @example Response structure
3891
+ #
3892
+ # resp.name #=> String
3893
+ # resp.format #=> String, one of "TXT", "STIX", "OTX_CSV", "ALIEN_VAULT", "PROOF_POINT", "FIRE_EYE"
3894
+ # resp.location #=> String
3895
+ # resp.expected_bucket_owner #=> String
3896
+ # resp.status #=> String, one of "INACTIVE", "ACTIVATING", "ACTIVE", "DEACTIVATING", "ERROR", "DELETE_PENDING", "DELETED"
3897
+ # resp.tags #=> Hash
3898
+ # resp.tags["TagKey"] #=> String
3899
+ # resp.created_at #=> Time
3900
+ # resp.updated_at #=> Time
3901
+ # resp.error_details #=> String
3902
+ #
3903
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetThreatEntitySet AWS API Documentation
3904
+ #
3905
+ # @overload get_threat_entity_set(params = {})
3906
+ # @param [Hash] params ({})
3907
+ def get_threat_entity_set(params = {}, options = {})
3908
+ req = build_request(:get_threat_entity_set, params)
3909
+ req.send_request(options)
3910
+ end
3911
+
3621
3912
  # Retrieves the ThreatIntelSet that is specified by the ThreatIntelSet
3622
3913
  # ID.
3623
3914
  #
@@ -3670,6 +3961,57 @@ module Aws::GuardDuty
3670
3961
  req.send_request(options)
3671
3962
  end
3672
3963
 
3964
+ # Retrieves the trusted entity set associated with the specified
3965
+ # `trustedEntitySetId`.
3966
+ #
3967
+ # @option params [required, String] :detector_id
3968
+ # The unique ID of the GuardDuty detector associated with this trusted
3969
+ # entity set.
3970
+ #
3971
+ # @option params [required, String] :trusted_entity_set_id
3972
+ # The unique ID that helps GuardDuty identify the trusted entity set.
3973
+ #
3974
+ # @return [Types::GetTrustedEntitySetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3975
+ #
3976
+ # * {Types::GetTrustedEntitySetResponse#name #name} => String
3977
+ # * {Types::GetTrustedEntitySetResponse#format #format} => String
3978
+ # * {Types::GetTrustedEntitySetResponse#location #location} => String
3979
+ # * {Types::GetTrustedEntitySetResponse#expected_bucket_owner #expected_bucket_owner} => String
3980
+ # * {Types::GetTrustedEntitySetResponse#status #status} => String
3981
+ # * {Types::GetTrustedEntitySetResponse#tags #tags} => Hash&lt;String,String&gt;
3982
+ # * {Types::GetTrustedEntitySetResponse#created_at #created_at} => Time
3983
+ # * {Types::GetTrustedEntitySetResponse#updated_at #updated_at} => Time
3984
+ # * {Types::GetTrustedEntitySetResponse#error_details #error_details} => String
3985
+ #
3986
+ # @example Request syntax with placeholder values
3987
+ #
3988
+ # resp = client.get_trusted_entity_set({
3989
+ # detector_id: "DetectorId", # required
3990
+ # trusted_entity_set_id: "String", # required
3991
+ # })
3992
+ #
3993
+ # @example Response structure
3994
+ #
3995
+ # resp.name #=> String
3996
+ # resp.format #=> String, one of "TXT", "STIX", "OTX_CSV", "ALIEN_VAULT", "PROOF_POINT", "FIRE_EYE"
3997
+ # resp.location #=> String
3998
+ # resp.expected_bucket_owner #=> String
3999
+ # resp.status #=> String, one of "INACTIVE", "ACTIVATING", "ACTIVE", "DEACTIVATING", "ERROR", "DELETE_PENDING", "DELETED"
4000
+ # resp.tags #=> Hash
4001
+ # resp.tags["TagKey"] #=> String
4002
+ # resp.created_at #=> Time
4003
+ # resp.updated_at #=> Time
4004
+ # resp.error_details #=> String
4005
+ #
4006
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetTrustedEntitySet AWS API Documentation
4007
+ #
4008
+ # @overload get_trusted_entity_set(params = {})
4009
+ # @param [Hash] params ({})
4010
+ def get_trusted_entity_set(params = {}, options = {})
4011
+ req = build_request(:get_trusted_entity_set, params)
4012
+ req.send_request(options)
4013
+ end
4014
+
3673
4015
  # Lists Amazon GuardDuty usage statistics over the last 30 days for the
3674
4016
  # specified detector ID. For newly enabled detectors or data sources,
3675
4017
  # the cost returned will include only the usage so far under 30 days.
@@ -4616,6 +4958,63 @@ module Aws::GuardDuty
4616
4958
  req.send_request(options)
4617
4959
  end
4618
4960
 
4961
+ # Lists the threat entity sets associated with the specified GuardDuty
4962
+ # detector ID. If you use this operation from a member account, the
4963
+ # threat entity sets that are returned as a response, belong to the
4964
+ # administrator account.
4965
+ #
4966
+ # @option params [required, String] :detector_id
4967
+ # The unique ID of the GuardDuty detector that is associated with this
4968
+ # threat entity set.
4969
+ #
4970
+ # To find the `detectorId` in the current Region, see the Settings page
4971
+ # in the GuardDuty console, or run the [ListDetectors][1] API.
4972
+ #
4973
+ #
4974
+ #
4975
+ # [1]: https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html
4976
+ #
4977
+ # @option params [Integer] :max_results
4978
+ # You can use this parameter to indicate the maximum number of items you
4979
+ # want in the response. The default value is 50.
4980
+ #
4981
+ # @option params [String] :next_token
4982
+ # You can use this parameter when paginating results. Set the value of
4983
+ # this parameter to null on your first call to the list action. For
4984
+ # subsequent calls to the action, fill nextToken in the request with the
4985
+ # value of NextToken from the previous response to continue listing
4986
+ # data.
4987
+ #
4988
+ # @return [Types::ListThreatEntitySetsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4989
+ #
4990
+ # * {Types::ListThreatEntitySetsResponse#threat_entity_set_ids #threat_entity_set_ids} => Array&lt;String&gt;
4991
+ # * {Types::ListThreatEntitySetsResponse#next_token #next_token} => String
4992
+ #
4993
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
4994
+ #
4995
+ # @example Request syntax with placeholder values
4996
+ #
4997
+ # resp = client.list_threat_entity_sets({
4998
+ # detector_id: "DetectorId", # required
4999
+ # max_results: 1,
5000
+ # next_token: "String",
5001
+ # })
5002
+ #
5003
+ # @example Response structure
5004
+ #
5005
+ # resp.threat_entity_set_ids #=> Array
5006
+ # resp.threat_entity_set_ids[0] #=> String
5007
+ # resp.next_token #=> String
5008
+ #
5009
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListThreatEntitySets AWS API Documentation
5010
+ #
5011
+ # @overload list_threat_entity_sets(params = {})
5012
+ # @param [Hash] params ({})
5013
+ def list_threat_entity_sets(params = {}, options = {})
5014
+ req = build_request(:list_threat_entity_sets, params)
5015
+ req.send_request(options)
5016
+ end
5017
+
4619
5018
  # Lists the ThreatIntelSets of the GuardDuty service specified by the
4620
5019
  # detector ID. If you use this operation from a member account, the
4621
5020
  # ThreatIntelSets associated with the administrator account are
@@ -4674,6 +5073,63 @@ module Aws::GuardDuty
4674
5073
  req.send_request(options)
4675
5074
  end
4676
5075
 
5076
+ # Lists the trusted entity sets associated with the specified GuardDuty
5077
+ # detector ID. If you use this operation from a member account, the
5078
+ # trusted entity sets that are returned as a response, belong to the
5079
+ # administrator account.
5080
+ #
5081
+ # @option params [required, String] :detector_id
5082
+ # The unique ID of the GuardDuty detector that is associated with this
5083
+ # threat entity set.
5084
+ #
5085
+ # To find the `detectorId` in the current Region, see the Settings page
5086
+ # in the GuardDuty console, or run the [ListDetectors][1] API.
5087
+ #
5088
+ #
5089
+ #
5090
+ # [1]: https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html
5091
+ #
5092
+ # @option params [Integer] :max_results
5093
+ # You can use this parameter to indicate the maximum number of items you
5094
+ # want in the response. The default value is 50.
5095
+ #
5096
+ # @option params [String] :next_token
5097
+ # You can use this parameter when paginating results. Set the value of
5098
+ # this parameter to null on your first call to the list action. For
5099
+ # subsequent calls to the action, fill nextToken in the request with the
5100
+ # value of NextToken from the previous response to continue listing
5101
+ # data.
5102
+ #
5103
+ # @return [Types::ListTrustedEntitySetsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5104
+ #
5105
+ # * {Types::ListTrustedEntitySetsResponse#trusted_entity_set_ids #trusted_entity_set_ids} => Array&lt;String&gt;
5106
+ # * {Types::ListTrustedEntitySetsResponse#next_token #next_token} => String
5107
+ #
5108
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
5109
+ #
5110
+ # @example Request syntax with placeholder values
5111
+ #
5112
+ # resp = client.list_trusted_entity_sets({
5113
+ # detector_id: "DetectorId", # required
5114
+ # max_results: 1,
5115
+ # next_token: "String",
5116
+ # })
5117
+ #
5118
+ # @example Response structure
5119
+ #
5120
+ # resp.trusted_entity_set_ids #=> Array
5121
+ # resp.trusted_entity_set_ids[0] #=> String
5122
+ # resp.next_token #=> String
5123
+ #
5124
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListTrustedEntitySets AWS API Documentation
5125
+ #
5126
+ # @overload list_trusted_entity_sets(params = {})
5127
+ # @param [Hash] params ({})
5128
+ def list_trusted_entity_sets(params = {}, options = {})
5129
+ req = build_request(:list_trusted_entity_sets, params)
5130
+ req.send_request(options)
5131
+ end
5132
+
4677
5133
  # Initiates the malware scan. Invoking this API will automatically
4678
5134
  # create the [Service-linked role][1] in the corresponding account.
4679
5135
  #
@@ -5543,6 +5999,65 @@ module Aws::GuardDuty
5543
5999
  req.send_request(options)
5544
6000
  end
5545
6001
 
6002
+ # Updates the threat entity set associated with the specified
6003
+ # `threatEntitySetId`.
6004
+ #
6005
+ # @option params [required, String] :detector_id
6006
+ # The unique ID of the GuardDuty detector associated with the threat
6007
+ # entity set that you want to update.
6008
+ #
6009
+ # To find the `detectorId` in the current Region, see the Settings page
6010
+ # in the GuardDuty console, or run the [ListDetectors][1] API.
6011
+ #
6012
+ #
6013
+ #
6014
+ # [1]: https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html
6015
+ #
6016
+ # @option params [required, String] :threat_entity_set_id
6017
+ # The ID returned by GuardDuty after updating the threat entity set
6018
+ # resource.
6019
+ #
6020
+ # @option params [String] :name
6021
+ # A user-friendly name to identify the trusted entity set.
6022
+ #
6023
+ # The name of your list can include lowercase letters, uppercase
6024
+ # letters, numbers, dash (-), and underscore (\_).
6025
+ #
6026
+ # @option params [String] :location
6027
+ # The URI of the file that contains the trusted entity set.
6028
+ #
6029
+ # @option params [String] :expected_bucket_owner
6030
+ # The Amazon Web Services account ID that owns the Amazon S3 bucket
6031
+ # specified in the **location** parameter.
6032
+ #
6033
+ # @option params [Boolean] :activate
6034
+ # A boolean value that indicates whether GuardDuty is to start using
6035
+ # this updated threat entity set. After you update an entity set, you
6036
+ # will need to activate it again. It might take up to 15 minutes for the
6037
+ # updated entity set to be effective.
6038
+ #
6039
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
6040
+ #
6041
+ # @example Request syntax with placeholder values
6042
+ #
6043
+ # resp = client.update_threat_entity_set({
6044
+ # detector_id: "DetectorId", # required
6045
+ # threat_entity_set_id: "String", # required
6046
+ # name: "Name",
6047
+ # location: "Location",
6048
+ # expected_bucket_owner: "ExpectedBucketOwner",
6049
+ # activate: false,
6050
+ # })
6051
+ #
6052
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateThreatEntitySet AWS API Documentation
6053
+ #
6054
+ # @overload update_threat_entity_set(params = {})
6055
+ # @param [Hash] params ({})
6056
+ def update_threat_entity_set(params = {}, options = {})
6057
+ req = build_request(:update_threat_entity_set, params)
6058
+ req.send_request(options)
6059
+ end
6060
+
5546
6061
  # Updates the ThreatIntelSet specified by the ThreatIntelSet ID.
5547
6062
  #
5548
6063
  # @option params [required, String] :detector_id
@@ -5597,6 +6112,65 @@ module Aws::GuardDuty
5597
6112
  req.send_request(options)
5598
6113
  end
5599
6114
 
6115
+ # Updates the trusted entity set associated with the specified
6116
+ # `trustedEntitySetId`.
6117
+ #
6118
+ # @option params [required, String] :detector_id
6119
+ # The unique ID of the GuardDuty detector associated with the threat
6120
+ # entity set that you want to update.
6121
+ #
6122
+ # To find the `detectorId` in the current Region, see the Settings page
6123
+ # in the GuardDuty console, or run the [ListDetectors][1] API.
6124
+ #
6125
+ #
6126
+ #
6127
+ # [1]: https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html
6128
+ #
6129
+ # @option params [required, String] :trusted_entity_set_id
6130
+ # The ID returned by GuardDuty after updating the trusted entity set
6131
+ # resource.
6132
+ #
6133
+ # @option params [String] :name
6134
+ # A user-friendly name to identify the trusted entity set.
6135
+ #
6136
+ # The name of your list can include lowercase letters, uppercase
6137
+ # letters, numbers, dash (-), and underscore (\_).
6138
+ #
6139
+ # @option params [String] :location
6140
+ # The URI of the file that contains the trusted entity set.
6141
+ #
6142
+ # @option params [String] :expected_bucket_owner
6143
+ # The Amazon Web Services account ID that owns the Amazon S3 bucket
6144
+ # specified in the **location** parameter.
6145
+ #
6146
+ # @option params [Boolean] :activate
6147
+ # A boolean value that indicates whether GuardDuty is to start using
6148
+ # this updated trusted entity set. After you update an entity set, you
6149
+ # will need to activate it again. It might take up to 15 minutes for the
6150
+ # updated entity set to be effective.
6151
+ #
6152
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
6153
+ #
6154
+ # @example Request syntax with placeholder values
6155
+ #
6156
+ # resp = client.update_trusted_entity_set({
6157
+ # detector_id: "DetectorId", # required
6158
+ # trusted_entity_set_id: "String", # required
6159
+ # name: "Name",
6160
+ # location: "Location",
6161
+ # expected_bucket_owner: "ExpectedBucketOwner",
6162
+ # activate: false,
6163
+ # })
6164
+ #
6165
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateTrustedEntitySet AWS API Documentation
6166
+ #
6167
+ # @overload update_trusted_entity_set(params = {})
6168
+ # @param [Hash] params ({})
6169
+ def update_trusted_entity_set(params = {}, options = {})
6170
+ req = build_request(:update_trusted_entity_set, params)
6171
+ req.send_request(options)
6172
+ end
6173
+
5600
6174
  # @!endgroup
5601
6175
 
5602
6176
  # @param params ({})
@@ -5615,7 +6189,7 @@ module Aws::GuardDuty
5615
6189
  tracer: tracer
5616
6190
  )
5617
6191
  context[:gem_name] = 'aws-sdk-guardduty'
5618
- context[:gem_version] = '1.124.0'
6192
+ context[:gem_version] = '1.126.0'
5619
6193
  Seahorse::Client::Request.new(handlers, context)
5620
6194
  end
5621
6195