aws-sdk-guardduty 1.24.0 → 1.25.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
  SHA1:
3
- metadata.gz: 3c4b00278a29b4b30f16c3f353d2692d7ff17ddd
4
- data.tar.gz: d2dc7f71d3614182cf8fb210233c29b3c1b420e2
3
+ metadata.gz: d58dc0c704cd34c7e1ba86434e529a2eb75ba0ce
4
+ data.tar.gz: efa12c09278f3ac980795d69644cb4a9a0d20ace
5
5
  SHA512:
6
- metadata.gz: ffe3f7f0aa37a76f5a18dfe056b83a6e3415e0959a8a4ed074accec958827f9edff0cde346670b02c423f5fbccb49c8b4f98c4a4680ea3d5e1c4597649e1de1d
7
- data.tar.gz: cd5b9a79e4998b11e31d8ba6f5258e776355f0aaae59f409e448947f718090d083206234c68d31d02c0116c51ad33b88e755fc2a14fc43da53ddff415bfefadd
6
+ metadata.gz: 330bc809106b13c91c4dc479a22a52f51712cb95c05907feece42829440f01b2847a8899cc5a5ea0080aef1d18979e078e6a65071b7f783b89fe57faa76e3a6f
7
+ data.tar.gz: 6ce9e6c06c76b722f08610771a06d1cf61396a6ecbf75aa0efebee4742c43703f15139c4862ae65e24cea9d5cfec3c4506b8493a7fa210f3e88260524b7af725
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-guardduty/customizations'
42
42
  # @service
43
43
  module Aws::GuardDuty
44
44
 
45
- GEM_VERSION = '1.24.0'
45
+ GEM_VERSION = '1.25.0'
46
46
 
47
47
  end
@@ -450,9 +450,11 @@ module Aws::GuardDuty
450
450
  req.send_request(options)
451
451
  end
452
452
 
453
- # Creates a new IPSet - a list of trusted IP addresses that have been
454
- # whitelisted for secure communication with AWS infrastructure and
455
- # applications.
453
+ # Creates a new IPSet, called Trusted IP list in the consoler user
454
+ # interface. An IPSet is a list IP addresses trusted for secure
455
+ # communication with AWS infrastructure and applications. GuardDuty does
456
+ # not generate findings for IP addresses included in IPSets. Only users
457
+ # from the master account can use this operation.
456
458
  #
457
459
  # @option params [required, String] :detector_id
458
460
  # The unique ID of the detector of the GuardDuty account for which you
@@ -557,15 +559,65 @@ module Aws::GuardDuty
557
559
  req.send_request(options)
558
560
  end
559
561
 
562
+ # Creates a publishing destination to send findings to. The resource to
563
+ # send findings to must exist before you use this operation.
564
+ #
565
+ # @option params [required, String] :detector_id
566
+ # The ID of the GuardDuty detector associated with the publishing
567
+ # destination.
568
+ #
569
+ # @option params [required, String] :destination_type
570
+ # The type of resource for the publishing destination. Currently only S3
571
+ # is supported.
572
+ #
573
+ # @option params [required, Types::DestinationProperties] :destination_properties
574
+ # Properties of the publishing destination, including the ARNs for the
575
+ # destination and the KMS key used for encryption.
576
+ #
577
+ # @option params [String] :client_token
578
+ # The idempotency token for the request.
579
+ #
580
+ # **A suitable default value is auto-generated.** You should normally
581
+ # not need to pass this option.**
582
+ #
583
+ # @return [Types::CreatePublishingDestinationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
584
+ #
585
+ # * {Types::CreatePublishingDestinationResponse#destination_id #destination_id} => String
586
+ #
587
+ # @example Request syntax with placeholder values
588
+ #
589
+ # resp = client.create_publishing_destination({
590
+ # detector_id: "DetectorId", # required
591
+ # destination_type: "S3", # required, accepts S3
592
+ # destination_properties: { # required
593
+ # destination_arn: "String",
594
+ # kms_key_arn: "String",
595
+ # },
596
+ # client_token: "ClientToken",
597
+ # })
598
+ #
599
+ # @example Response structure
600
+ #
601
+ # resp.destination_id #=> String
602
+ #
603
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreatePublishingDestination AWS API Documentation
604
+ #
605
+ # @overload create_publishing_destination(params = {})
606
+ # @param [Hash] params ({})
607
+ def create_publishing_destination(params = {}, options = {})
608
+ req = build_request(:create_publishing_destination, params)
609
+ req.send_request(options)
610
+ end
611
+
560
612
  # Generates example findings of types specified by the list of finding
561
- # types. If 'NULL' is specified for findingTypes, the API generates
613
+ # types. If 'NULL' is specified for `findingTypes`, the API generates
562
614
  # example findings of all supported finding types.
563
615
  #
564
616
  # @option params [required, String] :detector_id
565
617
  # The ID of the detector to create sample findings for.
566
618
  #
567
619
  # @option params [Array<String>] :finding_types
568
- # Types of sample findings that you want to generate.
620
+ # Types of sample findings to generate.
569
621
  #
570
622
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
571
623
  #
@@ -587,7 +639,8 @@ module Aws::GuardDuty
587
639
 
588
640
  # Create a new ThreatIntelSet. ThreatIntelSets consist of known
589
641
  # malicious IP addresses. GuardDuty generates findings based on
590
- # ThreatIntelSets.
642
+ # ThreatIntelSets. Only users of the master account can use this
643
+ # operation.
591
644
  #
592
645
  # @option params [required, String] :detector_id
593
646
  # The unique ID of the detector of the GuardDuty account for which you
@@ -729,13 +782,14 @@ module Aws::GuardDuty
729
782
  req.send_request(options)
730
783
  end
731
784
 
732
- # Deletes the IPSet specified by the IPSet ID.
785
+ # Deletes the IPSet specified by the `ipSetId`. IPSets are called
786
+ # Trusted IP lists in the console user interface.
733
787
  #
734
788
  # @option params [required, String] :detector_id
735
- # The unique ID of the detector the ipSet is associated with.
789
+ # The unique ID of the detector associated with the IPSet.
736
790
  #
737
791
  # @option params [required, String] :ip_set_id
738
- # The unique ID of the ipSet you want to delete.
792
+ # The unique ID of the IPSet to delete.
739
793
  #
740
794
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
741
795
  #
@@ -824,6 +878,33 @@ module Aws::GuardDuty
824
878
  req.send_request(options)
825
879
  end
826
880
 
881
+ # Deletes the publishing definition with the specified `destinationId`.
882
+ #
883
+ # @option params [required, String] :detector_id
884
+ # The unique ID of the detector associated with the publishing
885
+ # destination to delete.
886
+ #
887
+ # @option params [required, String] :destination_id
888
+ # The ID of the publishing destination to delete.
889
+ #
890
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
891
+ #
892
+ # @example Request syntax with placeholder values
893
+ #
894
+ # resp = client.delete_publishing_destination({
895
+ # detector_id: "DetectorId", # required
896
+ # destination_id: "String", # required
897
+ # })
898
+ #
899
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeletePublishingDestination AWS API Documentation
900
+ #
901
+ # @overload delete_publishing_destination(params = {})
902
+ # @param [Hash] params ({})
903
+ def delete_publishing_destination(params = {}, options = {})
904
+ req = build_request(:delete_publishing_destination, params)
905
+ req.send_request(options)
906
+ end
907
+
827
908
  # Deletes ThreatIntelSet specified by the ThreatIntelSet ID.
828
909
  #
829
910
  # @option params [required, String] :detector_id
@@ -850,6 +931,49 @@ module Aws::GuardDuty
850
931
  req.send_request(options)
851
932
  end
852
933
 
934
+ # Returns information about the publishing destination specified by the
935
+ # provided `destinationId`.
936
+ #
937
+ # @option params [required, String] :detector_id
938
+ # The unique ID of the detector associated with the publishing
939
+ # destination to retrieve.
940
+ #
941
+ # @option params [required, String] :destination_id
942
+ # The ID of the publishing destination to retrieve.
943
+ #
944
+ # @return [Types::DescribePublishingDestinationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
945
+ #
946
+ # * {Types::DescribePublishingDestinationResponse#destination_id #destination_id} => String
947
+ # * {Types::DescribePublishingDestinationResponse#destination_type #destination_type} => String
948
+ # * {Types::DescribePublishingDestinationResponse#status #status} => String
949
+ # * {Types::DescribePublishingDestinationResponse#publishing_failure_start_timestamp #publishing_failure_start_timestamp} => Integer
950
+ # * {Types::DescribePublishingDestinationResponse#destination_properties #destination_properties} => Types::DestinationProperties
951
+ #
952
+ # @example Request syntax with placeholder values
953
+ #
954
+ # resp = client.describe_publishing_destination({
955
+ # detector_id: "DetectorId", # required
956
+ # destination_id: "String", # required
957
+ # })
958
+ #
959
+ # @example Response structure
960
+ #
961
+ # resp.destination_id #=> String
962
+ # resp.destination_type #=> String, one of "S3"
963
+ # resp.status #=> String, one of "PENDING_VERIFICATION", "PUBLISHING", "UNABLE_TO_PUBLISH_FIX_DESTINATION_PROPERTY", "STOPPED"
964
+ # resp.publishing_failure_start_timestamp #=> Integer
965
+ # resp.destination_properties.destination_arn #=> String
966
+ # resp.destination_properties.kms_key_arn #=> String
967
+ #
968
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DescribePublishingDestination AWS API Documentation
969
+ #
970
+ # @overload describe_publishing_destination(params = {})
971
+ # @param [Hash] params ({})
972
+ def describe_publishing_destination(params = {}, options = {})
973
+ req = build_request(:describe_publishing_destination, params)
974
+ req.send_request(options)
975
+ end
976
+
853
977
  # Disassociates the current GuardDuty member account from its master
854
978
  # account.
855
979
  #
@@ -1213,13 +1337,13 @@ module Aws::GuardDuty
1213
1337
  req.send_request(options)
1214
1338
  end
1215
1339
 
1216
- # Retrieves the IPSet specified by the IPSet ID.
1340
+ # Retrieves the IPSet specified by the `ipSetId`.
1217
1341
  #
1218
1342
  # @option params [required, String] :detector_id
1219
1343
  # The unique ID of the detector the ipSet is associated with.
1220
1344
  #
1221
1345
  # @option params [required, String] :ip_set_id
1222
- # The unique ID of the ipSet you want to get.
1346
+ # The unique ID of the IPSet to retrieve.
1223
1347
  #
1224
1348
  # @return [Types::GetIPSetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1225
1349
  #
@@ -1539,7 +1663,113 @@ module Aws::GuardDuty
1539
1663
  # findings you want to list.
1540
1664
  #
1541
1665
  # @option params [Types::FindingCriteria] :finding_criteria
1542
- # Represents the criteria used for querying findings.
1666
+ # Represents the criteria used for querying findings. Valid values
1667
+ # include:
1668
+ #
1669
+ # * JSON field name
1670
+ #
1671
+ # * accountId
1672
+ #
1673
+ # * region
1674
+ #
1675
+ # * confidence
1676
+ #
1677
+ # * id
1678
+ #
1679
+ # * resource.accessKeyDetails.accessKeyId
1680
+ #
1681
+ # * resource.accessKeyDetails.principalId
1682
+ #
1683
+ # * resource.accessKeyDetails.userName
1684
+ #
1685
+ # * resource.accessKeyDetails.userType
1686
+ #
1687
+ # * resource.instanceDetails.iamInstanceProfile.id
1688
+ #
1689
+ # * resource.instanceDetails.imageId
1690
+ #
1691
+ # * resource.instanceDetails.instanceId
1692
+ #
1693
+ # * resource.instanceDetails.networkInterfaces.ipv6Addresses
1694
+ #
1695
+ # * resource.instanceDetails.networkInterfaces.privateIpAddresses.privateIpAddress
1696
+ #
1697
+ # * resource.instanceDetails.networkInterfaces.publicDnsName
1698
+ #
1699
+ # * resource.instanceDetails.networkInterfaces.publicIp
1700
+ #
1701
+ # * resource.instanceDetails.networkInterfaces.securityGroups.groupId
1702
+ #
1703
+ # * resource.instanceDetails.networkInterfaces.securityGroups.groupName
1704
+ #
1705
+ # * resource.instanceDetails.networkInterfaces.subnetId
1706
+ #
1707
+ # * resource.instanceDetails.networkInterfaces.vpcId
1708
+ #
1709
+ # * resource.instanceDetails.tags.key
1710
+ #
1711
+ # * resource.instanceDetails.tags.value
1712
+ #
1713
+ # * resource.resourceType
1714
+ #
1715
+ # * service.action.actionType
1716
+ #
1717
+ # * service.action.awsApiCallAction.api
1718
+ #
1719
+ # * service.action.awsApiCallAction.callerType
1720
+ #
1721
+ # * service.action.awsApiCallAction.remoteIpDetails.city.cityName
1722
+ #
1723
+ # * service.action.awsApiCallAction.remoteIpDetails.country.countryName
1724
+ #
1725
+ # * service.action.awsApiCallAction.remoteIpDetails.ipAddressV4
1726
+ #
1727
+ # * service.action.awsApiCallAction.remoteIpDetails.organization.asn
1728
+ #
1729
+ # * service.action.awsApiCallAction.remoteIpDetails.organization.asnOrg
1730
+ #
1731
+ # * service.action.awsApiCallAction.serviceName
1732
+ #
1733
+ # * service.action.dnsRequestAction.domain
1734
+ #
1735
+ # * service.action.networkConnectionAction.blocked
1736
+ #
1737
+ # * service.action.networkConnectionAction.connectionDirection
1738
+ #
1739
+ # * service.action.networkConnectionAction.localPortDetails.port
1740
+ #
1741
+ # * service.action.networkConnectionAction.protocol
1742
+ #
1743
+ # * service.action.networkConnectionAction.remoteIpDetails.city.cityName
1744
+ #
1745
+ # * service.action.networkConnectionAction.remoteIpDetails.country.countryName
1746
+ #
1747
+ # * service.action.networkConnectionAction.remoteIpDetails.ipAddressV4
1748
+ #
1749
+ # * service.action.networkConnectionAction.remoteIpDetails.organization.asn
1750
+ #
1751
+ # * service.action.networkConnectionAction.remoteIpDetails.organization.asnOrg
1752
+ #
1753
+ # * service.action.networkConnectionAction.remotePortDetails.port
1754
+ #
1755
+ # * service.additionalInfo.threatListName
1756
+ #
1757
+ # * service.archived
1758
+ #
1759
+ # When this attribute is set to 'true', only archived findings are
1760
+ # listed. When it's set to 'false', only unarchived findings are
1761
+ # listed. When this attribute is not set, all existing findings are
1762
+ # listed.
1763
+ #
1764
+ # * service.resourceRole
1765
+ #
1766
+ # * severity
1767
+ #
1768
+ # * type
1769
+ #
1770
+ # * updatedAt
1771
+ #
1772
+ # Type: Timestamp in Unix Epoch millisecond format: 1486685375000
1543
1773
  #
1544
1774
  # @option params [Types::SortCriteria] :sort_criteria
1545
1775
  # Represents the criteria used for sorting findings.
@@ -1607,7 +1837,8 @@ module Aws::GuardDuty
1607
1837
  end
1608
1838
 
1609
1839
  # Lists the IPSets of the GuardDuty service specified by the detector
1610
- # ID.
1840
+ # ID. If you use this operation from a member account, the IPSets
1841
+ # returned are the IPSets from the associated master account.
1611
1842
  #
1612
1843
  # @option params [required, String] :detector_id
1613
1844
  # The unique ID of the detector the ipSet is associated with.
@@ -1755,6 +1986,51 @@ module Aws::GuardDuty
1755
1986
  req.send_request(options)
1756
1987
  end
1757
1988
 
1989
+ # Returns a list of publishing destinations associated with the
1990
+ # specified `dectectorId`.
1991
+ #
1992
+ # @option params [required, String] :detector_id
1993
+ # The ID of the detector to retrieve publishing destinations for.
1994
+ #
1995
+ # @option params [Integer] :max_results
1996
+ # The maximum number of results to return in the response.
1997
+ #
1998
+ # @option params [String] :next_token
1999
+ # A token to use for paginating results returned in the repsonse. Set
2000
+ # the value of this parameter to null for the first request to a list
2001
+ # action. For subsequent calls, use the `NextToken` value returned from
2002
+ # the previous request to continue listing results after the first page.
2003
+ #
2004
+ # @return [Types::ListPublishingDestinationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2005
+ #
2006
+ # * {Types::ListPublishingDestinationsResponse#destinations #destinations} => Array&lt;Types::Destination&gt;
2007
+ # * {Types::ListPublishingDestinationsResponse#next_token #next_token} => String
2008
+ #
2009
+ # @example Request syntax with placeholder values
2010
+ #
2011
+ # resp = client.list_publishing_destinations({
2012
+ # detector_id: "DetectorId", # required
2013
+ # max_results: 1,
2014
+ # next_token: "String",
2015
+ # })
2016
+ #
2017
+ # @example Response structure
2018
+ #
2019
+ # resp.destinations #=> Array
2020
+ # resp.destinations[0].destination_id #=> String
2021
+ # resp.destinations[0].destination_type #=> String, one of "S3"
2022
+ # resp.destinations[0].status #=> String, one of "PENDING_VERIFICATION", "PUBLISHING", "UNABLE_TO_PUBLISH_FIX_DESTINATION_PROPERTY", "STOPPED"
2023
+ # resp.next_token #=> String
2024
+ #
2025
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListPublishingDestinations AWS API Documentation
2026
+ #
2027
+ # @overload list_publishing_destinations(params = {})
2028
+ # @param [Hash] params ({})
2029
+ def list_publishing_destinations(params = {}, options = {})
2030
+ req = build_request(:list_publishing_destinations, params)
2031
+ req.send_request(options)
2032
+ end
2033
+
1758
2034
  # Lists tags for a resource. Tagging is currently supported for
1759
2035
  # detectors, finding filters, IP sets, and Threat Intel sets, with a
1760
2036
  # limit of 50 tags per resource. When invoked, this operation returns
@@ -1788,7 +2064,8 @@ module Aws::GuardDuty
1788
2064
  end
1789
2065
 
1790
2066
  # Lists the ThreatIntelSets of the GuardDuty service specified by the
1791
- # detector ID.
2067
+ # detector ID. If you use this operation from a member account, the
2068
+ # ThreatIntelSets associated with the master account are returned.
1792
2069
  #
1793
2070
  # @option params [required, String] :detector_id
1794
2071
  # The unique ID of the detector the threatIntelSet is associated with.
@@ -1799,11 +2076,11 @@ module Aws::GuardDuty
1799
2076
  # 50.
1800
2077
  #
1801
2078
  # @option params [String] :next_token
1802
- # You can use this parameter when paginating results. Set the value of
1803
- # this parameter to null on your first call to the list action. For
1804
- # subsequent calls to the action fill nextToken in the request with the
1805
- # value of NextToken from the previous response to continue listing
1806
- # data.
2079
+ # You can use this parameter to paginate results in the response. Set
2080
+ # the value of this parameter to null on your first call to the list
2081
+ # action. For subsequent calls to the action fill nextToken in the
2082
+ # request with the value of NextToken from the previous response to
2083
+ # continue listing data.
1807
2084
  #
1808
2085
  # @return [Types::ListThreatIntelSetsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1809
2086
  #
@@ -1833,18 +2110,17 @@ module Aws::GuardDuty
1833
2110
  req.send_request(options)
1834
2111
  end
1835
2112
 
1836
- # Re-enables GuardDuty to monitor findings of the member accounts
1837
- # specified by the account IDs. A master GuardDuty account can run this
1838
- # command after disabling GuardDuty from monitoring these members'
1839
- # findings by running StopMonitoringMembers.
2113
+ # Turns on GuardDuty monitoring of the specified member accounts. Use
2114
+ # this operation to restart monitoring of accounts that you stopped
2115
+ # monitoring with the `StopMonitoringMembers` operation.
1840
2116
  #
1841
2117
  # @option params [required, String] :detector_id
1842
- # The unique ID of the detector of the GuardDuty account whom you want
1843
- # to re-enable to monitor members' findings.
2118
+ # The unique ID of the detector of the GuardDuty master account
2119
+ # associated with the member accounts to monitor.
1844
2120
  #
1845
2121
  # @option params [required, Array<String>] :account_ids
1846
- # A list of account IDs of the GuardDuty member accounts whose findings
1847
- # you want the master account to monitor.
2122
+ # A list of account IDs of the GuardDuty member accounts to start
2123
+ # monitoring.
1848
2124
  #
1849
2125
  # @return [Types::StartMonitoringMembersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1850
2126
  #
@@ -1872,10 +2148,8 @@ module Aws::GuardDuty
1872
2148
  req.send_request(options)
1873
2149
  end
1874
2150
 
1875
- # Disables GuardDuty from monitoring findings of the member accounts
1876
- # specified by the account IDs. After running this command, a master
1877
- # GuardDuty account can run StartMonitoringMembers to re-enable
1878
- # GuardDuty to monitor these members’ findings.
2151
+ # Stops GuardDuty monitoring for the specified member accounnts. Use the
2152
+ # `StartMonitoringMembers` to restart monitoring for those accounts.
1879
2153
  #
1880
2154
  # @option params [required, String] :detector_id
1881
2155
  # The unique ID of the detector of the GuardDuty account that you want
@@ -1914,7 +2188,8 @@ module Aws::GuardDuty
1914
2188
  # Adds tags to a resource.
1915
2189
  #
1916
2190
  # @option params [required, String] :resource_arn
1917
- # The Amazon Resource Name (ARN) for the given GuardDuty resource
2191
+ # The Amazon Resource Name (ARN) for the GuardDuty resource to apply a
2192
+ # tag to.
1918
2193
  #
1919
2194
  # @option params [required, Hash<String,String>] :tags
1920
2195
  # The tags to be added to a resource.
@@ -1939,15 +2214,13 @@ module Aws::GuardDuty
1939
2214
  req.send_request(options)
1940
2215
  end
1941
2216
 
1942
- # Unarchives Amazon GuardDuty findings specified by the list of finding
1943
- # IDs.
2217
+ # Unarchives GuardDuty findings specified by the `findingIds`.
1944
2218
  #
1945
2219
  # @option params [required, String] :detector_id
1946
- # The ID of the detector that specifies the GuardDuty service whose
1947
- # findings you want to unarchive.
2220
+ # The ID of the detector associated with the findings to unarchive.
1948
2221
  #
1949
2222
  # @option params [required, Array<String>] :finding_ids
1950
- # IDs of the findings that you want to unarchive.
2223
+ # IDs of the findings to unarchive.
1951
2224
  #
1952
2225
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1953
2226
  #
@@ -1970,10 +2243,10 @@ module Aws::GuardDuty
1970
2243
  # Removes tags from a resource.
1971
2244
  #
1972
2245
  # @option params [required, String] :resource_arn
1973
- # The Amazon Resource Name (ARN) for the given GuardDuty resource
2246
+ # The Amazon Resource Name (ARN) for the resource to remove tags from.
1974
2247
  #
1975
2248
  # @option params [required, Array<String>] :tag_keys
1976
- # The tag keys to remove from a resource.
2249
+ # The tag keys to remove from the resource.
1977
2250
  #
1978
2251
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1979
2252
  #
@@ -1993,18 +2266,17 @@ module Aws::GuardDuty
1993
2266
  req.send_request(options)
1994
2267
  end
1995
2268
 
1996
- # Updates an Amazon GuardDuty detector specified by the detectorId.
2269
+ # Updates the Amazon GuardDuty detector specified by the detectorId.
1997
2270
  #
1998
2271
  # @option params [required, String] :detector_id
1999
- # The unique ID of the detector that you want to update.
2272
+ # The unique ID of the detector to update.
2000
2273
  #
2001
2274
  # @option params [Boolean] :enable
2002
- # Updated boolean value for the detector that specifies whether the
2003
- # detector is enabled.
2275
+ # Specifies whether the detector is enabled or not enabled.
2004
2276
  #
2005
2277
  # @option params [String] :finding_publishing_frequency
2006
- # A enum value that specifies how frequently customer got Finding
2007
- # updates published.
2278
+ # A enum value that specifies how frequently findings are exported, such
2279
+ # as to CloudWatch Events.
2008
2280
  #
2009
2281
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2010
2282
  #
@@ -2095,17 +2367,17 @@ module Aws::GuardDuty
2095
2367
  req.send_request(options)
2096
2368
  end
2097
2369
 
2098
- # Marks specified Amazon GuardDuty findings as useful or not useful.
2370
+ # Marks the specified GuardDuty findings as useful or not useful.
2099
2371
  #
2100
2372
  # @option params [required, String] :detector_id
2101
- # The ID of the detector that specifies the GuardDuty service whose
2102
- # findings you want to mark as useful or not useful.
2373
+ # The ID of the detector associated with the findings to update feedback
2374
+ # for.
2103
2375
  #
2104
2376
  # @option params [required, Array<String>] :finding_ids
2105
2377
  # IDs of the findings that you want to mark as useful or not useful.
2106
2378
  #
2107
2379
  # @option params [required, String] :feedback
2108
- # Valid values: USEFUL \| NOT\_USEFUL
2380
+ # The feedback for the finding.
2109
2381
  #
2110
2382
  # @option params [String] :comments
2111
2383
  # Additional feedback about the GuardDuty findings.
@@ -2171,6 +2443,42 @@ module Aws::GuardDuty
2171
2443
  req.send_request(options)
2172
2444
  end
2173
2445
 
2446
+ # Updates information about the publishing destination specified by the
2447
+ # `destinationId`.
2448
+ #
2449
+ # @option params [required, String] :detector_id
2450
+ # The ID of the
2451
+ #
2452
+ # @option params [required, String] :destination_id
2453
+ # The ID of the detector associated with the publishing destinations to
2454
+ # update.
2455
+ #
2456
+ # @option params [Types::DestinationProperties] :destination_properties
2457
+ # A `DestinationProperties` object that includes the `DestinationArn`
2458
+ # and `KmsKeyArn` of the publishing destination.
2459
+ #
2460
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2461
+ #
2462
+ # @example Request syntax with placeholder values
2463
+ #
2464
+ # resp = client.update_publishing_destination({
2465
+ # detector_id: "DetectorId", # required
2466
+ # destination_id: "String", # required
2467
+ # destination_properties: {
2468
+ # destination_arn: "String",
2469
+ # kms_key_arn: "String",
2470
+ # },
2471
+ # })
2472
+ #
2473
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdatePublishingDestination AWS API Documentation
2474
+ #
2475
+ # @overload update_publishing_destination(params = {})
2476
+ # @param [Hash] params ({})
2477
+ def update_publishing_destination(params = {}, options = {})
2478
+ req = build_request(:update_publishing_destination, params)
2479
+ req.send_request(options)
2480
+ end
2481
+
2174
2482
  # Updates the ThreatIntelSet specified by ThreatIntelSet ID.
2175
2483
  #
2176
2484
  # @option params [required, String] :detector_id
@@ -2227,7 +2535,7 @@ module Aws::GuardDuty
2227
2535
  params: params,
2228
2536
  config: config)
2229
2537
  context[:gem_name] = 'aws-sdk-guardduty'
2230
- context[:gem_version] = '1.24.0'
2538
+ context[:gem_version] = '1.25.0'
2231
2539
  Seahorse::Client::Request.new(handlers, context)
2232
2540
  end
2233
2541