aws-sdk-guardduty 1.28.0 → 1.29.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
- SHA1:
3
- metadata.gz: e63b07187d4ca208153ec1e3d515d8b5c803a795
4
- data.tar.gz: 80c537a335b6247b682b1c374c787ee033bd4e4d
2
+ SHA256:
3
+ metadata.gz: e50a00bf3ee6568ffc0654eaeba519affc475906ba44d67817c53298777b658d
4
+ data.tar.gz: fbe871c56e346e900d6099a2201a85d21dde18716e3ee58a4686d29a9f078381
5
5
  SHA512:
6
- metadata.gz: c0f0e3554b07fc4d836b19e22f392e5aa84cdd4cd0e833b536879bf4d67f93326ed090d342841dd1d109642918f9348bd78fcf60a668f8929382ef6816615078
7
- data.tar.gz: 3a1b5fbe468bbfe46ddf5a535771bbb8763981defbe47f0c70fa0e1f152a589c680e4eb58b2638b90abd7a5d0d6580de93b9e977e164dbae7944a7b52f3443b9
6
+ metadata.gz: d4bb8466dda1c15980880c94c39240667d76cabbee3a888f4abed52d5f9be9ea958ea4ed66ab28652215c313f0c7507d18b5fd3006517c9e78b47ae833df717e
7
+ data.tar.gz: 95511ae59595be9f20ad233e8643e4114cf79a4908c7aaab4870e186e9f764f6942eb5d6354d1878ac2232149e37503638909ffbaa6fd09238d9dd6598b37313
@@ -45,6 +45,6 @@ require_relative 'aws-sdk-guardduty/customizations'
45
45
  # @service
46
46
  module Aws::GuardDuty
47
47
 
48
- GEM_VERSION = '1.28.0'
48
+ GEM_VERSION = '1.29.0'
49
49
 
50
50
  end
@@ -32,11 +32,11 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:guardduty)
32
32
  module Aws::GuardDuty
33
33
  # An API client for GuardDuty. To construct a client, you need to configure a `:region` and `:credentials`.
34
34
  #
35
- # client = Aws::GuardDuty::Client.new(
36
- # region: region_name,
37
- # credentials: credentials,
38
- # # ...
39
- # )
35
+ # client = Aws::GuardDuty::Client.new(
36
+ # region: region_name,
37
+ # credentials: credentials,
38
+ # # ...
39
+ # )
40
40
  #
41
41
  # For details on configuring region and credentials see
42
42
  # the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
@@ -229,15 +229,19 @@ module Aws::GuardDuty
229
229
  #
230
230
  # @option options [String] :retry_mode ("legacy")
231
231
  # Specifies which retry algorithm to use. Values are:
232
- # * `legacy` - The pre-existing retry behavior. This is default value if
233
- # no retry mode is provided.
234
- # * `standard` - A standardized set of retry rules across the AWS SDKs.
235
- # This includes support for retry quotas, which limit the number of
236
- # unsuccessful retries a client can make.
237
- # * `adaptive` - An experimental retry mode that includes all the
238
- # functionality of `standard` mode along with automatic client side
239
- # throttling. This is a provisional mode that may change behavior
240
- # in the future.
232
+ #
233
+ # * `legacy` - The pre-existing retry behavior. This is default value if
234
+ # no retry mode is provided.
235
+ #
236
+ # * `standard` - A standardized set of retry rules across the AWS SDKs.
237
+ # This includes support for retry quotas, which limit the number of
238
+ # unsuccessful retries a client can make.
239
+ #
240
+ # * `adaptive` - An experimental retry mode that includes all the
241
+ # functionality of `standard` mode along with automatic client side
242
+ # throttling. This is a provisional mode that may change behavior
243
+ # in the future.
244
+ #
241
245
  #
242
246
  # @option options [String] :secret_access_key
243
247
  #
@@ -265,8 +269,7 @@ module Aws::GuardDuty
265
269
  #
266
270
  # @option options [Integer] :http_read_timeout (60) The default
267
271
  # number of seconds to wait for response data. This value can
268
- # safely be set
269
- # per-request on the session yielded by {#session_for}.
272
+ # safely be set per-request on the session.
270
273
  #
271
274
  # @option options [Float] :http_idle_timeout (5) The number of
272
275
  # seconds a connection is allowed to sit idle before it is
@@ -278,7 +281,7 @@ module Aws::GuardDuty
278
281
  # request body. This option has no effect unless the request has
279
282
  # "Expect" header set to "100-continue". Defaults to `nil` which
280
283
  # disables this behaviour. This value can safely be set per
281
- # request on the session yielded by {#session_for}.
284
+ # request on the session.
282
285
  #
283
286
  # @option options [Boolean] :http_wire_trace (false) When `true`,
284
287
  # HTTP debug output will be sent to the `:logger`.
@@ -315,7 +318,7 @@ module Aws::GuardDuty
315
318
  # you're accepting.
316
319
  #
317
320
  # @option params [required, String] :invitation_id
318
- # This value is used to validate the master account to the member
321
+ # The value that is used to validate the master account to the member
319
322
  # account.
320
323
  #
321
324
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
@@ -337,9 +340,10 @@ module Aws::GuardDuty
337
340
  req.send_request(options)
338
341
  end
339
342
 
340
- # Archives GuardDuty findings specified by the list of finding IDs.
343
+ # Archives GuardDuty findings that are specified by the list of finding
344
+ # IDs.
341
345
  #
342
- # <note markdown="1"> Only the master account can archive findings. Member accounts do not
346
+ # <note markdown="1"> Only the master account can archive findings. Member accounts don't
343
347
  # have permission to archive findings from their accounts.
344
348
  #
345
349
  # </note>
@@ -349,7 +353,7 @@ module Aws::GuardDuty
349
353
  # findings you want to archive.
350
354
  #
351
355
  # @option params [required, Array<String>] :finding_ids
352
- # IDs of the findings that you want to archive.
356
+ # The IDs of the findings that you want to archive.
353
357
  #
354
358
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
355
359
  #
@@ -371,11 +375,11 @@ module Aws::GuardDuty
371
375
 
372
376
  # Creates a single Amazon GuardDuty detector. A detector is a resource
373
377
  # that represents the GuardDuty service. To start using GuardDuty, you
374
- # must create a detector in each region that you enable the service. You
375
- # can have only one detector per account per region.
378
+ # must create a detector in each Region where you enable the service.
379
+ # You can have only one detector per account per Region.
376
380
  #
377
381
  # @option params [required, Boolean] :enable
378
- # A boolean value that specifies whether the detector is to be enabled.
382
+ # A Boolean value that specifies whether the detector is to be enabled.
379
383
  #
380
384
  # @option params [String] :client_token
381
385
  # The idempotency token for the create request.
@@ -384,8 +388,8 @@ module Aws::GuardDuty
384
388
  # not need to pass this option.**
385
389
  #
386
390
  # @option params [String] :finding_publishing_frequency
387
- # A enum value that specifies how frequently customer got Finding
388
- # updates published.
391
+ # An enum value that specifies how frequently updated findings are
392
+ # exported.
389
393
  #
390
394
  # @option params [Hash<String,String>] :tags
391
395
  # The tags to be added to a new detector resource.
@@ -421,8 +425,8 @@ module Aws::GuardDuty
421
425
  # Creates a filter using the specified finding criteria.
422
426
  #
423
427
  # @option params [required, String] :detector_id
424
- # The unique ID of the detector of the GuardDuty account for which you
425
- # want to create a filter.
428
+ # The unique ID of the detector of the GuardDuty account that you want
429
+ # to create a filter for.
426
430
  #
427
431
  # @option params [required, String] :name
428
432
  # The name of the filter.
@@ -443,6 +447,115 @@ module Aws::GuardDuty
443
447
  # Represents the criteria to be used in the filter for querying
444
448
  # findings.
445
449
  #
450
+ # You can only use the following attributes to query findings:
451
+ #
452
+ # * accountId
453
+ #
454
+ # * region
455
+ #
456
+ # * confidence
457
+ #
458
+ # * id
459
+ #
460
+ # * resource.accessKeyDetails.accessKeyId
461
+ #
462
+ # * resource.accessKeyDetails.principalId
463
+ #
464
+ # * resource.accessKeyDetails.userName
465
+ #
466
+ # * resource.accessKeyDetails.userType
467
+ #
468
+ # * resource.instanceDetails.iamInstanceProfile.id
469
+ #
470
+ # * resource.instanceDetails.imageId
471
+ #
472
+ # * resource.instanceDetails.instanceId
473
+ #
474
+ # * resource.instanceDetails.outpostArn
475
+ #
476
+ # * resource.instanceDetails.networkInterfaces.ipv6Addresses
477
+ #
478
+ # * resource.instanceDetails.networkInterfaces.privateIpAddresses.privateIpAddress
479
+ #
480
+ # * resource.instanceDetails.networkInterfaces.publicDnsName
481
+ #
482
+ # * resource.instanceDetails.networkInterfaces.publicIp
483
+ #
484
+ # * resource.instanceDetails.networkInterfaces.securityGroups.groupId
485
+ #
486
+ # * resource.instanceDetails.networkInterfaces.securityGroups.groupName
487
+ #
488
+ # * resource.instanceDetails.networkInterfaces.subnetId
489
+ #
490
+ # * resource.instanceDetails.networkInterfaces.vpcId
491
+ #
492
+ # * resource.instanceDetails.tags.key
493
+ #
494
+ # * resource.instanceDetails.tags.value
495
+ #
496
+ # * resource.resourceType
497
+ #
498
+ # * service.action.actionType
499
+ #
500
+ # * service.action.awsApiCallAction.api
501
+ #
502
+ # * service.action.awsApiCallAction.callerType
503
+ #
504
+ # * service.action.awsApiCallAction.remoteIpDetails.city.cityName
505
+ #
506
+ # * service.action.awsApiCallAction.remoteIpDetails.country.countryName
507
+ #
508
+ # * service.action.awsApiCallAction.remoteIpDetails.ipAddressV4
509
+ #
510
+ # * service.action.awsApiCallAction.remoteIpDetails.organization.asn
511
+ #
512
+ # * service.action.awsApiCallAction.remoteIpDetails.organization.asnOrg
513
+ #
514
+ # * service.action.awsApiCallAction.serviceName
515
+ #
516
+ # * service.action.dnsRequestAction.domain
517
+ #
518
+ # * service.action.networkConnectionAction.blocked
519
+ #
520
+ # * service.action.networkConnectionAction.connectionDirection
521
+ #
522
+ # * service.action.networkConnectionAction.localPortDetails.port
523
+ #
524
+ # * service.action.networkConnectionAction.protocol
525
+ #
526
+ # * service.action.networkConnectionAction.remoteIpDetails.city.cityName
527
+ #
528
+ # * service.action.networkConnectionAction.remoteIpDetails.country.countryName
529
+ #
530
+ # * service.action.networkConnectionAction.remoteIpDetails.ipAddressV4
531
+ #
532
+ # * service.action.networkConnectionAction.remoteIpDetails.organization.asn
533
+ #
534
+ # * service.action.networkConnectionAction.remoteIpDetails.organization.asnOrg
535
+ #
536
+ # * service.action.networkConnectionAction.remotePortDetails.port
537
+ #
538
+ # * service.additionalInfo.threatListName
539
+ #
540
+ # * service.archived
541
+ #
542
+ # When this attribute is set to TRUE, only archived findings are
543
+ # listed. When it's set to FALSE, only unarchived findings are
544
+ # listed. When this attribute is not set, all existing findings are
545
+ # listed.
546
+ #
547
+ # * service.resourceRole
548
+ #
549
+ # * severity
550
+ #
551
+ # * type
552
+ #
553
+ # * updatedAt
554
+ #
555
+ # Type: ISO 8601 string format: YYYY-MM-DDTHH:MM:SS.SSSZ or
556
+ # YYYY-MM-DDTHH:MM:SSZ depending on whether the value contains
557
+ # milliseconds.
558
+ #
446
559
  # @option params [String] :client_token
447
560
  # The idempotency token for the create request.
448
561
  #
@@ -501,30 +614,32 @@ module Aws::GuardDuty
501
614
  req.send_request(options)
502
615
  end
503
616
 
504
- # Creates a new IPSet, called Trusted IP list in the consoler user
505
- # interface. An IPSet is a list IP addresses trusted for secure
506
- # communication with AWS infrastructure and applications. GuardDuty does
507
- # not generate findings for IP addresses included in IPSets. Only users
508
- # from the master account can use this operation.
617
+ # Creates a new IPSet, which is called a trusted IP list in the console
618
+ # user interface. An IPSet is a list of IP addresses that are trusted
619
+ # for secure communication with AWS infrastructure and applications.
620
+ # GuardDuty doesn't generate findings for IP addresses that are
621
+ # included in IPSets. Only users from the master account can use this
622
+ # operation.
509
623
  #
510
624
  # @option params [required, String] :detector_id
511
- # The unique ID of the detector of the GuardDuty account for which you
512
- # want to create an IPSet.
625
+ # The unique ID of the detector of the GuardDuty account that you want
626
+ # to create an IPSet for.
513
627
  #
514
628
  # @option params [required, String] :name
515
- # The user friendly name to identify the IPSet. This name is displayed
516
- # in all findings that are triggered by activity that involves IP
517
- # addresses included in this IPSet.
629
+ # The user-friendly name to identify the IPSet.
630
+ #
631
+ # Allowed characters are alphanumerics, spaces, hyphens (-), and
632
+ # underscores (\_).
518
633
  #
519
634
  # @option params [required, String] :format
520
635
  # The format of the file that contains the IPSet.
521
636
  #
522
637
  # @option params [required, String] :location
523
- # The URI of the file that contains the IPSet. For example
524
- # (https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key)
638
+ # The URI of the file that contains the IPSet. For example:
639
+ # https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key.
525
640
  #
526
641
  # @option params [required, Boolean] :activate
527
- # A boolean value that indicates whether GuardDuty is to start using the
642
+ # A Boolean value that indicates whether GuardDuty is to start using the
528
643
  # uploaded IPSet.
529
644
  #
530
645
  # @option params [String] :client_token
@@ -572,8 +687,8 @@ module Aws::GuardDuty
572
687
  # members to manage GuardDuty in their accounts.
573
688
  #
574
689
  # @option params [required, String] :detector_id
575
- # The unique ID of the detector of the GuardDuty account with which you
576
- # want to associate member accounts.
690
+ # The unique ID of the detector of the GuardDuty account that you want
691
+ # to associate member accounts with.
577
692
  #
578
693
  # @option params [required, Array<Types::AccountDetail>] :account_details
579
694
  # A list of account ID and email address pairs of the accounts that you
@@ -610,20 +725,20 @@ module Aws::GuardDuty
610
725
  req.send_request(options)
611
726
  end
612
727
 
613
- # Creates a publishing destination to send findings to. The resource to
614
- # send findings to must exist before you use this operation.
728
+ # Creates a publishing destination to export findings to. The resource
729
+ # to export findings to must exist before you use this operation.
615
730
  #
616
731
  # @option params [required, String] :detector_id
617
732
  # The ID of the GuardDuty detector associated with the publishing
618
733
  # destination.
619
734
  #
620
735
  # @option params [required, String] :destination_type
621
- # The type of resource for the publishing destination. Currently only S3
622
- # is supported.
736
+ # The type of resource for the publishing destination. Currently only
737
+ # Amazon S3 buckets are supported.
623
738
  #
624
739
  # @option params [required, Types::DestinationProperties] :destination_properties
625
- # Properties of the publishing destination, including the ARNs for the
626
- # destination and the KMS key used for encryption.
740
+ # The properties of the publishing destination, including the ARNs for
741
+ # the destination and the KMS key used for encryption.
627
742
  #
628
743
  # @option params [String] :client_token
629
744
  # The idempotency token for the request.
@@ -668,7 +783,7 @@ module Aws::GuardDuty
668
783
  # The ID of the detector to create sample findings for.
669
784
  #
670
785
  # @option params [Array<String>] :finding_types
671
- # Types of sample findings to generate.
786
+ # The types of sample findings to generate.
672
787
  #
673
788
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
674
789
  #
@@ -688,17 +803,17 @@ module Aws::GuardDuty
688
803
  req.send_request(options)
689
804
  end
690
805
 
691
- # Create a new ThreatIntelSet. ThreatIntelSets consist of known
806
+ # Creates a new ThreatIntelSet. ThreatIntelSets consist of known
692
807
  # malicious IP addresses. GuardDuty generates findings based on
693
808
  # ThreatIntelSets. Only users of the master account can use this
694
809
  # operation.
695
810
  #
696
811
  # @option params [required, String] :detector_id
697
- # The unique ID of the detector of the GuardDuty account for which you
698
- # want to create a threatIntelSet.
812
+ # The unique ID of the detector of the GuardDuty account that you want
813
+ # to create a threatIntelSet for.
699
814
  #
700
815
  # @option params [required, String] :name
701
- # A user-friendly ThreatIntelSet name that is displayed in all finding
816
+ # A user-friendly ThreatIntelSet name displayed in all findings that are
702
817
  # generated by activity that involves IP addresses included in this
703
818
  # ThreatIntelSet.
704
819
  #
@@ -706,11 +821,11 @@ module Aws::GuardDuty
706
821
  # The format of the file that contains the ThreatIntelSet.
707
822
  #
708
823
  # @option params [required, String] :location
709
- # The URI of the file that contains the ThreatIntelSet. For example
710
- # (https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key).
824
+ # The URI of the file that contains the ThreatIntelSet. For example:
825
+ # https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key.
711
826
  #
712
827
  # @option params [required, Boolean] :activate
713
- # A boolean value that indicates whether GuardDuty is to start using the
828
+ # A Boolean value that indicates whether GuardDuty is to start using the
714
829
  # uploaded ThreatIntelSet.
715
830
  #
716
831
  # @option params [String] :client_token
@@ -720,7 +835,7 @@ module Aws::GuardDuty
720
835
  # not need to pass this option.**
721
836
  #
722
837
  # @option params [Hash<String,String>] :tags
723
- # The tags to be added to a new Threat List resource.
838
+ # The tags to be added to a new threat list resource.
724
839
  #
725
840
  # @return [Types::CreateThreatIntelSetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
726
841
  #
@@ -753,8 +868,8 @@ module Aws::GuardDuty
753
868
  req.send_request(options)
754
869
  end
755
870
 
756
- # Declines invitations sent to the current member account by AWS account
757
- # specified by their account IDs.
871
+ # Declines invitations sent to the current member account by AWS
872
+ # accounts specified by their account IDs.
758
873
  #
759
874
  # @option params [required, Array<String>] :account_ids
760
875
  # A list of account IDs of the AWS accounts that sent invitations to the
@@ -785,7 +900,8 @@ module Aws::GuardDuty
785
900
  req.send_request(options)
786
901
  end
787
902
 
788
- # Deletes a Amazon GuardDuty detector specified by the detector ID.
903
+ # Deletes an Amazon GuardDuty detector that is specified by the detector
904
+ # ID.
789
905
  #
790
906
  # @option params [required, String] :detector_id
791
907
  # The unique ID of the detector that you want to delete.
@@ -810,10 +926,10 @@ module Aws::GuardDuty
810
926
  # Deletes the filter specified by the filter name.
811
927
  #
812
928
  # @option params [required, String] :detector_id
813
- # The unique ID of the detector the filter is associated with.
929
+ # The unique ID of the detector that the filter is associated with.
814
930
  #
815
931
  # @option params [required, String] :filter_name
816
- # The name of the filter you want to delete.
932
+ # The name of the filter that you want to delete.
817
933
  #
818
934
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
819
935
  #
@@ -834,7 +950,7 @@ module Aws::GuardDuty
834
950
  end
835
951
 
836
952
  # Deletes the IPSet specified by the `ipSetId`. IPSets are called
837
- # Trusted IP lists in the console user interface.
953
+ # trusted IP lists in the console user interface.
838
954
  #
839
955
  # @option params [required, String] :detector_id
840
956
  # The unique ID of the detector associated with the IPSet.
@@ -956,13 +1072,14 @@ module Aws::GuardDuty
956
1072
  req.send_request(options)
957
1073
  end
958
1074
 
959
- # Deletes ThreatIntelSet specified by the ThreatIntelSet ID.
1075
+ # Deletes the ThreatIntelSet specified by the ThreatIntelSet ID.
960
1076
  #
961
1077
  # @option params [required, String] :detector_id
962
- # The unique ID of the detector the threatIntelSet is associated with.
1078
+ # The unique ID of the detector that the threatIntelSet is associated
1079
+ # with.
963
1080
  #
964
1081
  # @option params [required, String] :threat_intel_set_id
965
- # The unique ID of the threatIntelSet you want to delete.
1082
+ # The unique ID of the threatIntelSet that you want to delete.
966
1083
  #
967
1084
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
968
1085
  #
@@ -982,6 +1099,38 @@ module Aws::GuardDuty
982
1099
  req.send_request(options)
983
1100
  end
984
1101
 
1102
+ # Returns information about the account selected as the delegated
1103
+ # administrator for GuardDuty.
1104
+ #
1105
+ # @option params [required, String] :detector_id
1106
+ # The ID of the detector to retrieve information about the delegated
1107
+ # administrator from.
1108
+ #
1109
+ # @return [Types::DescribeOrganizationConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1110
+ #
1111
+ # * {Types::DescribeOrganizationConfigurationResponse#auto_enable #auto_enable} => Boolean
1112
+ # * {Types::DescribeOrganizationConfigurationResponse#member_account_limit_reached #member_account_limit_reached} => Boolean
1113
+ #
1114
+ # @example Request syntax with placeholder values
1115
+ #
1116
+ # resp = client.describe_organization_configuration({
1117
+ # detector_id: "DetectorId", # required
1118
+ # })
1119
+ #
1120
+ # @example Response structure
1121
+ #
1122
+ # resp.auto_enable #=> Boolean
1123
+ # resp.member_account_limit_reached #=> Boolean
1124
+ #
1125
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DescribeOrganizationConfiguration AWS API Documentation
1126
+ #
1127
+ # @overload describe_organization_configuration(params = {})
1128
+ # @param [Hash] params ({})
1129
+ def describe_organization_configuration(params = {}, options = {})
1130
+ req = build_request(:describe_organization_configuration, params)
1131
+ req.send_request(options)
1132
+ end
1133
+
985
1134
  # Returns information about the publishing destination specified by the
986
1135
  # provided `destinationId`.
987
1136
  #
@@ -1025,6 +1174,30 @@ module Aws::GuardDuty
1025
1174
  req.send_request(options)
1026
1175
  end
1027
1176
 
1177
+ # Disables GuardDuty administrator permissions for an AWS account within
1178
+ # the Organization.
1179
+ #
1180
+ # @option params [required, String] :admin_account_id
1181
+ # The AWS Account ID for the Organizations account to be disabled as a
1182
+ # GuardDuty delegated administrator.
1183
+ #
1184
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1185
+ #
1186
+ # @example Request syntax with placeholder values
1187
+ #
1188
+ # resp = client.disable_organization_admin_account({
1189
+ # admin_account_id: "String", # required
1190
+ # })
1191
+ #
1192
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DisableOrganizationAdminAccount AWS API Documentation
1193
+ #
1194
+ # @overload disable_organization_admin_account(params = {})
1195
+ # @param [Hash] params ({})
1196
+ def disable_organization_admin_account(params = {}, options = {})
1197
+ req = build_request(:disable_organization_admin_account, params)
1198
+ req.send_request(options)
1199
+ end
1200
+
1028
1201
  # Disassociates the current GuardDuty member account from its master
1029
1202
  # account.
1030
1203
  #
@@ -1053,11 +1226,11 @@ module Aws::GuardDuty
1053
1226
  #
1054
1227
  # @option params [required, String] :detector_id
1055
1228
  # The unique ID of the detector of the GuardDuty account whose members
1056
- # you want to disassociate from master.
1229
+ # you want to disassociate from the master account.
1057
1230
  #
1058
1231
  # @option params [required, Array<String>] :account_ids
1059
1232
  # A list of account IDs of the GuardDuty member accounts that you want
1060
- # to disassociate from master.
1233
+ # to disassociate from the master account.
1061
1234
  #
1062
1235
  # @return [Types::DisassociateMembersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1063
1236
  #
@@ -1085,6 +1258,30 @@ module Aws::GuardDuty
1085
1258
  req.send_request(options)
1086
1259
  end
1087
1260
 
1261
+ # Enables GuardDuty administrator permissions for an AWS account within
1262
+ # the organization.
1263
+ #
1264
+ # @option params [required, String] :admin_account_id
1265
+ # The AWS Account ID for the Organizations account to be enabled as a
1266
+ # GuardDuty delegated administrator.
1267
+ #
1268
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1269
+ #
1270
+ # @example Request syntax with placeholder values
1271
+ #
1272
+ # resp = client.enable_organization_admin_account({
1273
+ # admin_account_id: "String", # required
1274
+ # })
1275
+ #
1276
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/EnableOrganizationAdminAccount AWS API Documentation
1277
+ #
1278
+ # @overload enable_organization_admin_account(params = {})
1279
+ # @param [Hash] params ({})
1280
+ def enable_organization_admin_account(params = {}, options = {})
1281
+ req = build_request(:enable_organization_admin_account, params)
1282
+ req.send_request(options)
1283
+ end
1284
+
1088
1285
  # Retrieves an Amazon GuardDuty detector specified by the detectorId.
1089
1286
  #
1090
1287
  # @option params [required, String] :detector_id
@@ -1127,7 +1324,7 @@ module Aws::GuardDuty
1127
1324
  # Returns the details of the filter specified by the filter name.
1128
1325
  #
1129
1326
  # @option params [required, String] :detector_id
1130
- # The unique ID of the detector the filter is associated with.
1327
+ # The unique ID of the detector that the filter is associated with.
1131
1328
  #
1132
1329
  # @option params [required, String] :filter_name
1133
1330
  # The name of the filter you want to get.
@@ -1190,7 +1387,7 @@ module Aws::GuardDuty
1190
1387
  # findings you want to retrieve.
1191
1388
  #
1192
1389
  # @option params [required, Array<String>] :finding_ids
1193
- # IDs of the findings that you want to retrieve.
1390
+ # The IDs of the findings that you want to retrieve.
1194
1391
  #
1195
1392
  # @option params [Types::SortCriteria] :sort_criteria
1196
1393
  # Represents the criteria used for sorting findings.
@@ -1335,18 +1532,18 @@ module Aws::GuardDuty
1335
1532
  req.send_request(options)
1336
1533
  end
1337
1534
 
1338
- # Lists Amazon GuardDuty findings' statistics for the specified
1339
- # detector ID.
1535
+ # Lists Amazon GuardDuty findings statistics for the specified detector
1536
+ # ID.
1340
1537
  #
1341
1538
  # @option params [required, String] :detector_id
1342
1539
  # The ID of the detector that specifies the GuardDuty service whose
1343
1540
  # findings' statistics you want to retrieve.
1344
1541
  #
1345
1542
  # @option params [required, Array<String>] :finding_statistic_types
1346
- # Types of finding statistics to retrieve.
1543
+ # The types of finding statistics to retrieve.
1347
1544
  #
1348
1545
  # @option params [Types::FindingCriteria] :finding_criteria
1349
- # Represents the criteria used for querying findings.
1546
+ # Represents the criteria that is used for querying findings.
1350
1547
  #
1351
1548
  # @return [Types::GetFindingsStatisticsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1352
1549
  #
@@ -1394,7 +1591,7 @@ module Aws::GuardDuty
1394
1591
  # Retrieves the IPSet specified by the `ipSetId`.
1395
1592
  #
1396
1593
  # @option params [required, String] :detector_id
1397
- # The unique ID of the detector the ipSet is associated with.
1594
+ # The unique ID of the detector that the IPSet is associated with.
1398
1595
  #
1399
1596
  # @option params [required, String] :ip_set_id
1400
1597
  # The unique ID of the IPSet to retrieve.
@@ -1535,10 +1732,11 @@ module Aws::GuardDuty
1535
1732
  # ID.
1536
1733
  #
1537
1734
  # @option params [required, String] :detector_id
1538
- # The unique ID of the detector the threatIntelSet is associated with.
1735
+ # The unique ID of the detector that the threatIntelSet is associated
1736
+ # with.
1539
1737
  #
1540
1738
  # @option params [required, String] :threat_intel_set_id
1541
- # The unique ID of the threatIntelSet you want to get.
1739
+ # The unique ID of the threatIntelSet that you want to get.
1542
1740
  #
1543
1741
  # @return [Types::GetThreatIntelSetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1544
1742
  #
@@ -1574,20 +1772,20 @@ module Aws::GuardDuty
1574
1772
  end
1575
1773
 
1576
1774
  # Invites other AWS accounts (created as members of the current AWS
1577
- # account by CreateMembers) to enable GuardDuty and allow the current
1775
+ # account by CreateMembers) to enable GuardDuty, and allow the current
1578
1776
  # AWS account to view and manage these accounts' GuardDuty findings on
1579
1777
  # their behalf as the master account.
1580
1778
  #
1581
1779
  # @option params [required, String] :detector_id
1582
- # The unique ID of the detector of the GuardDuty account with which you
1583
- # want to invite members.
1780
+ # The unique ID of the detector of the GuardDuty account that you want
1781
+ # to invite members with.
1584
1782
  #
1585
1783
  # @option params [required, Array<String>] :account_ids
1586
1784
  # A list of account IDs of the accounts that you want to invite to
1587
1785
  # GuardDuty as members.
1588
1786
  #
1589
1787
  # @option params [Boolean] :disable_email_notification
1590
- # A boolean value that specifies whether you want to disable email
1788
+ # A Boolean value that specifies whether you want to disable email
1591
1789
  # notification to the accounts that you’re inviting to GuardDuty as
1592
1790
  # members.
1593
1791
  #
@@ -1627,14 +1825,14 @@ module Aws::GuardDuty
1627
1825
  # resources.
1628
1826
  #
1629
1827
  # @option params [Integer] :max_results
1630
- # You can use this parameter to indicate the maximum number of items you
1631
- # want in the response. The default value is 50. The maximum value is
1632
- # 50.
1828
+ # You can use this parameter to indicate the maximum number of items
1829
+ # that you want in the response. The default value is 50. The maximum
1830
+ # value is 50.
1633
1831
  #
1634
1832
  # @option params [String] :next_token
1635
1833
  # You can use this parameter when paginating results. Set the value of
1636
1834
  # this parameter to null on your first call to the list action. For
1637
- # subsequent calls to the action fill nextToken in the request with the
1835
+ # subsequent calls to the action, fill nextToken in the request with the
1638
1836
  # value of NextToken from the previous response to continue listing
1639
1837
  # data.
1640
1838
  #
@@ -1643,6 +1841,8 @@ module Aws::GuardDuty
1643
1841
  # * {Types::ListDetectorsResponse#detector_ids #detector_ids} => Array&lt;String&gt;
1644
1842
  # * {Types::ListDetectorsResponse#next_token #next_token} => String
1645
1843
  #
1844
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1845
+ #
1646
1846
  # @example Request syntax with placeholder values
1647
1847
  #
1648
1848
  # resp = client.list_detectors({
@@ -1668,17 +1868,17 @@ module Aws::GuardDuty
1668
1868
  # Returns a paginated list of the current filters.
1669
1869
  #
1670
1870
  # @option params [required, String] :detector_id
1671
- # The unique ID of the detector the filter is associated with.
1871
+ # The unique ID of the detector that the filter is associated with.
1672
1872
  #
1673
1873
  # @option params [Integer] :max_results
1674
- # You can use this parameter to indicate the maximum number of items you
1675
- # want in the response. The default value is 50. The maximum value is
1676
- # 50.
1874
+ # You can use this parameter to indicate the maximum number of items
1875
+ # that you want in the response. The default value is 50. The maximum
1876
+ # value is 50.
1677
1877
  #
1678
1878
  # @option params [String] :next_token
1679
1879
  # You can use this parameter when paginating results. Set the value of
1680
1880
  # this parameter to null on your first call to the list action. For
1681
- # subsequent calls to the action fill nextToken in the request with the
1881
+ # subsequent calls to the action, fill nextToken in the request with the
1682
1882
  # value of NextToken from the previous response to continue listing
1683
1883
  # data.
1684
1884
  #
@@ -1687,6 +1887,8 @@ module Aws::GuardDuty
1687
1887
  # * {Types::ListFiltersResponse#filter_names #filter_names} => Array&lt;String&gt;
1688
1888
  # * {Types::ListFiltersResponse#next_token #next_token} => String
1689
1889
  #
1890
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1891
+ #
1690
1892
  # @example Request syntax with placeholder values
1691
1893
  #
1692
1894
  # resp = client.list_filters({
@@ -1744,8 +1946,6 @@ module Aws::GuardDuty
1744
1946
  #
1745
1947
  # * resource.instanceDetails.instanceId
1746
1948
  #
1747
- # * resource.instanceDetails.outpostArn
1748
- #
1749
1949
  # * resource.instanceDetails.networkInterfaces.ipv6Addresses
1750
1950
  #
1751
1951
  # * resource.instanceDetails.networkInterfaces.privateIpAddresses.privateIpAddress
@@ -1796,8 +1996,6 @@ module Aws::GuardDuty
1796
1996
  #
1797
1997
  # * service.action.networkConnectionAction.protocol
1798
1998
  #
1799
- # * service.action.networkConnectionAction.localIpDetails.ipAddressV4
1800
- #
1801
1999
  # * service.action.networkConnectionAction.remoteIpDetails.city.cityName
1802
2000
  #
1803
2001
  # * service.action.networkConnectionAction.remoteIpDetails.country.countryName
@@ -1840,7 +2038,7 @@ module Aws::GuardDuty
1840
2038
  # @option params [String] :next_token
1841
2039
  # You can use this parameter when paginating results. Set the value of
1842
2040
  # this parameter to null on your first call to the list action. For
1843
- # subsequent calls to the action fill nextToken in the request with the
2041
+ # subsequent calls to the action, fill nextToken in the request with the
1844
2042
  # value of NextToken from the previous response to continue listing
1845
2043
  # data.
1846
2044
  #
@@ -1849,6 +2047,8 @@ module Aws::GuardDuty
1849
2047
  # * {Types::ListFindingsResponse#finding_ids #finding_ids} => Array&lt;String&gt;
1850
2048
  # * {Types::ListFindingsResponse#next_token #next_token} => String
1851
2049
  #
2050
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2051
+ #
1852
2052
  # @example Request syntax with placeholder values
1853
2053
  #
1854
2054
  # resp = client.list_findings({
@@ -1899,7 +2099,7 @@ module Aws::GuardDuty
1899
2099
  # returned are the IPSets from the associated master account.
1900
2100
  #
1901
2101
  # @option params [required, String] :detector_id
1902
- # The unique ID of the detector the ipSet is associated with.
2102
+ # The unique ID of the detector that the IPSet is associated with.
1903
2103
  #
1904
2104
  # @option params [Integer] :max_results
1905
2105
  # You can use this parameter to indicate the maximum number of items you
@@ -1909,7 +2109,7 @@ module Aws::GuardDuty
1909
2109
  # @option params [String] :next_token
1910
2110
  # You can use this parameter when paginating results. Set the value of
1911
2111
  # this parameter to null on your first call to the list action. For
1912
- # subsequent calls to the action fill nextToken in the request with the
2112
+ # subsequent calls to the action, fill nextToken in the request with the
1913
2113
  # value of NextToken from the previous response to continue listing
1914
2114
  # data.
1915
2115
  #
@@ -1918,6 +2118,8 @@ module Aws::GuardDuty
1918
2118
  # * {Types::ListIPSetsResponse#ip_set_ids #ip_set_ids} => Array&lt;String&gt;
1919
2119
  # * {Types::ListIPSetsResponse#next_token #next_token} => String
1920
2120
  #
2121
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2122
+ #
1921
2123
  # @example Request syntax with placeholder values
1922
2124
  #
1923
2125
  # resp = client.list_ip_sets({
@@ -1945,14 +2147,14 @@ module Aws::GuardDuty
1945
2147
  # current AWS account.
1946
2148
  #
1947
2149
  # @option params [Integer] :max_results
1948
- # You can use this parameter to indicate the maximum number of items you
1949
- # want in the response. The default value is 50. The maximum value is
1950
- # 50.
2150
+ # You can use this parameter to indicate the maximum number of items
2151
+ # that you want in the response. The default value is 50. The maximum
2152
+ # value is 50.
1951
2153
  #
1952
2154
  # @option params [String] :next_token
1953
2155
  # You can use this parameter when paginating results. Set the value of
1954
2156
  # this parameter to null on your first call to the list action. For
1955
- # subsequent calls to the action fill nextToken in the request with the
2157
+ # subsequent calls to the action, fill nextToken in the request with the
1956
2158
  # value of NextToken from the previous response to continue listing
1957
2159
  # data.
1958
2160
  #
@@ -1961,6 +2163,8 @@ module Aws::GuardDuty
1961
2163
  # * {Types::ListInvitationsResponse#invitations #invitations} => Array&lt;Types::Invitation&gt;
1962
2164
  # * {Types::ListInvitationsResponse#next_token #next_token} => String
1963
2165
  #
2166
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2167
+ #
1964
2168
  # @example Request syntax with placeholder values
1965
2169
  #
1966
2170
  # resp = client.list_invitations({
@@ -1986,8 +2190,8 @@ module Aws::GuardDuty
1986
2190
  req.send_request(options)
1987
2191
  end
1988
2192
 
1989
- # Lists details about all member accounts for the current GuardDuty
1990
- # master account.
2193
+ # Lists details about associated member accounts for the current
2194
+ # GuardDuty master account.
1991
2195
  #
1992
2196
  # @option params [required, String] :detector_id
1993
2197
  # The unique ID of the detector the member is associated with.
@@ -2000,20 +2204,24 @@ module Aws::GuardDuty
2000
2204
  # @option params [String] :next_token
2001
2205
  # You can use this parameter when paginating results. Set the value of
2002
2206
  # this parameter to null on your first call to the list action. For
2003
- # subsequent calls to the action fill nextToken in the request with the
2207
+ # subsequent calls to the action, fill nextToken in the request with the
2004
2208
  # value of NextToken from the previous response to continue listing
2005
2209
  # data.
2006
2210
  #
2007
2211
  # @option params [String] :only_associated
2008
- # Specifies whether to only return associated members or to return all
2009
- # members (including members which haven't been invited yet or have
2010
- # been disassociated).
2212
+ # Specifies what member accounts the response includes based on their
2213
+ # relationship status with the master account. The default value is
2214
+ # "true". If set to "false" the response includes all existing
2215
+ # member accounts (including members who haven't been invited yet or
2216
+ # have been disassociated).
2011
2217
  #
2012
2218
  # @return [Types::ListMembersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2013
2219
  #
2014
2220
  # * {Types::ListMembersResponse#members #members} => Array&lt;Types::Member&gt;
2015
2221
  # * {Types::ListMembersResponse#next_token #next_token} => String
2016
2222
  #
2223
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2224
+ #
2017
2225
  # @example Request syntax with placeholder values
2018
2226
  #
2019
2227
  # resp = client.list_members({
@@ -2044,6 +2252,49 @@ module Aws::GuardDuty
2044
2252
  req.send_request(options)
2045
2253
  end
2046
2254
 
2255
+ # Lists the accounts configured as AWS Organization delegated
2256
+ # administrators.
2257
+ #
2258
+ # @option params [Integer] :max_results
2259
+ # The maximum number of results to return in the response.
2260
+ #
2261
+ # @option params [String] :next_token
2262
+ # A token to use for paginating results that are returned in the
2263
+ # response. Set the value of this parameter to null for the first
2264
+ # request to a list action. For subsequent calls, use the `NextToken`
2265
+ # value returned from the previous request to continue listing results
2266
+ # after the first page.
2267
+ #
2268
+ # @return [Types::ListOrganizationAdminAccountsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2269
+ #
2270
+ # * {Types::ListOrganizationAdminAccountsResponse#admin_accounts #admin_accounts} => Array&lt;Types::AdminAccount&gt;
2271
+ # * {Types::ListOrganizationAdminAccountsResponse#next_token #next_token} => String
2272
+ #
2273
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2274
+ #
2275
+ # @example Request syntax with placeholder values
2276
+ #
2277
+ # resp = client.list_organization_admin_accounts({
2278
+ # max_results: 1,
2279
+ # next_token: "String",
2280
+ # })
2281
+ #
2282
+ # @example Response structure
2283
+ #
2284
+ # resp.admin_accounts #=> Array
2285
+ # resp.admin_accounts[0].admin_account_id #=> String
2286
+ # resp.admin_accounts[0].admin_status #=> String, one of "ENABLED", "DISABLE_IN_PROGRESS"
2287
+ # resp.next_token #=> String
2288
+ #
2289
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListOrganizationAdminAccounts AWS API Documentation
2290
+ #
2291
+ # @overload list_organization_admin_accounts(params = {})
2292
+ # @param [Hash] params ({})
2293
+ def list_organization_admin_accounts(params = {}, options = {})
2294
+ req = build_request(:list_organization_admin_accounts, params)
2295
+ req.send_request(options)
2296
+ end
2297
+
2047
2298
  # Returns a list of publishing destinations associated with the
2048
2299
  # specified `dectectorId`.
2049
2300
  #
@@ -2054,16 +2305,19 @@ module Aws::GuardDuty
2054
2305
  # The maximum number of results to return in the response.
2055
2306
  #
2056
2307
  # @option params [String] :next_token
2057
- # A token to use for paginating results returned in the repsonse. Set
2058
- # the value of this parameter to null for the first request to a list
2059
- # action. For subsequent calls, use the `NextToken` value returned from
2060
- # the previous request to continue listing results after the first page.
2308
+ # A token to use for paginating results that are returned in the
2309
+ # response. Set the value of this parameter to null for the first
2310
+ # request to a list action. For subsequent calls, use the `NextToken`
2311
+ # value returned from the previous request to continue listing results
2312
+ # after the first page.
2061
2313
  #
2062
2314
  # @return [Types::ListPublishingDestinationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2063
2315
  #
2064
2316
  # * {Types::ListPublishingDestinationsResponse#destinations #destinations} => Array&lt;Types::Destination&gt;
2065
2317
  # * {Types::ListPublishingDestinationsResponse#next_token #next_token} => String
2066
2318
  #
2319
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2320
+ #
2067
2321
  # @example Request syntax with placeholder values
2068
2322
  #
2069
2323
  # resp = client.list_publishing_destinations({
@@ -2090,12 +2344,12 @@ module Aws::GuardDuty
2090
2344
  end
2091
2345
 
2092
2346
  # Lists tags for a resource. Tagging is currently supported for
2093
- # detectors, finding filters, IP sets, and Threat Intel sets, with a
2347
+ # detectors, finding filters, IP sets, and threat intel sets, with a
2094
2348
  # limit of 50 tags per resource. When invoked, this operation returns
2095
- # all assigned tags for a given resource..
2349
+ # all assigned tags for a given resource.
2096
2350
  #
2097
2351
  # @option params [required, String] :resource_arn
2098
- # The Amazon Resource Name (ARN) for the given GuardDuty resource
2352
+ # The Amazon Resource Name (ARN) for the given GuardDuty resource.
2099
2353
  #
2100
2354
  # @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2101
2355
  #
@@ -2126,17 +2380,18 @@ module Aws::GuardDuty
2126
2380
  # ThreatIntelSets associated with the master account are returned.
2127
2381
  #
2128
2382
  # @option params [required, String] :detector_id
2129
- # The unique ID of the detector the threatIntelSet is associated with.
2383
+ # The unique ID of the detector that the threatIntelSet is associated
2384
+ # with.
2130
2385
  #
2131
2386
  # @option params [Integer] :max_results
2132
- # You can use this parameter to indicate the maximum number of items you
2133
- # want in the response. The default value is 50. The maximum value is
2134
- # 50.
2387
+ # You can use this parameter to indicate the maximum number of items
2388
+ # that you want in the response. The default value is 50. The maximum
2389
+ # value is 50.
2135
2390
  #
2136
2391
  # @option params [String] :next_token
2137
2392
  # You can use this parameter to paginate results in the response. Set
2138
2393
  # the value of this parameter to null on your first call to the list
2139
- # action. For subsequent calls to the action fill nextToken in the
2394
+ # action. For subsequent calls to the action, fill nextToken in the
2140
2395
  # request with the value of NextToken from the previous response to
2141
2396
  # continue listing data.
2142
2397
  #
@@ -2145,6 +2400,8 @@ module Aws::GuardDuty
2145
2400
  # * {Types::ListThreatIntelSetsResponse#threat_intel_set_ids #threat_intel_set_ids} => Array&lt;String&gt;
2146
2401
  # * {Types::ListThreatIntelSetsResponse#next_token #next_token} => String
2147
2402
  #
2403
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2404
+ #
2148
2405
  # @example Request syntax with placeholder values
2149
2406
  #
2150
2407
  # resp = client.list_threat_intel_sets({
@@ -2206,16 +2463,16 @@ module Aws::GuardDuty
2206
2463
  req.send_request(options)
2207
2464
  end
2208
2465
 
2209
- # Stops GuardDuty monitoring for the specified member accounnts. Use the
2210
- # `StartMonitoringMembers` to restart monitoring for those accounts.
2466
+ # Stops GuardDuty monitoring for the specified member accounts. Use the
2467
+ # `StartMonitoringMembers` operation to restart monitoring for those
2468
+ # accounts.
2211
2469
  #
2212
2470
  # @option params [required, String] :detector_id
2213
- # The unique ID of the detector of the GuardDuty account that you want
2214
- # to stop from monitor members' findings.
2471
+ # The unique ID of the detector associated with the GuardDuty master
2472
+ # account that is monitoring member accounts.
2215
2473
  #
2216
2474
  # @option params [required, Array<String>] :account_ids
2217
- # A list of account IDs of the GuardDuty member accounts whose findings
2218
- # you want the master account to stop monitoring.
2475
+ # A list of account IDs for the member accounts to stop monitoring.
2219
2476
  #
2220
2477
  # @return [Types::StopMonitoringMembersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2221
2478
  #
@@ -2278,7 +2535,7 @@ module Aws::GuardDuty
2278
2535
  # The ID of the detector associated with the findings to unarchive.
2279
2536
  #
2280
2537
  # @option params [required, Array<String>] :finding_ids
2281
- # IDs of the findings to unarchive.
2538
+ # The IDs of the findings to unarchive.
2282
2539
  #
2283
2540
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2284
2541
  #
@@ -2333,8 +2590,8 @@ module Aws::GuardDuty
2333
2590
  # Specifies whether the detector is enabled or not enabled.
2334
2591
  #
2335
2592
  # @option params [String] :finding_publishing_frequency
2336
- # A enum value that specifies how frequently findings are exported, such
2337
- # as to CloudWatch Events.
2593
+ # An enum value that specifies how frequently findings are exported,
2594
+ # such as to CloudWatch Events.
2338
2595
  #
2339
2596
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2340
2597
  #
@@ -2432,7 +2689,7 @@ module Aws::GuardDuty
2432
2689
  # for.
2433
2690
  #
2434
2691
  # @option params [required, Array<String>] :finding_ids
2435
- # IDs of the findings that you want to mark as useful or not useful.
2692
+ # The IDs of the findings that you want to mark as useful or not useful.
2436
2693
  #
2437
2694
  # @option params [required, String] :feedback
2438
2695
  # The feedback for the finding.
@@ -2473,11 +2730,11 @@ module Aws::GuardDuty
2473
2730
  # The unique ID that specifies the IPSet that you want to update.
2474
2731
  #
2475
2732
  # @option params [String] :location
2476
- # The updated URI of the file that contains the IPSet. For example
2477
- # (https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key).
2733
+ # The updated URI of the file that contains the IPSet. For example:
2734
+ # https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key.
2478
2735
  #
2479
2736
  # @option params [Boolean] :activate
2480
- # The updated boolean value that specifies whether the IPSet is active
2737
+ # The updated Boolean value that specifies whether the IPSet is active
2481
2738
  # or not.
2482
2739
  #
2483
2740
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
@@ -2501,16 +2758,43 @@ module Aws::GuardDuty
2501
2758
  req.send_request(options)
2502
2759
  end
2503
2760
 
2761
+ # Updates the delegated administrator account with the values provided.
2762
+ #
2763
+ # @option params [required, String] :detector_id
2764
+ # The ID of the detector to update the delegated administrator for.
2765
+ #
2766
+ # @option params [required, Boolean] :auto_enable
2767
+ # Indicates whether to automatically enable member accounts in the
2768
+ # organization.
2769
+ #
2770
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2771
+ #
2772
+ # @example Request syntax with placeholder values
2773
+ #
2774
+ # resp = client.update_organization_configuration({
2775
+ # detector_id: "DetectorId", # required
2776
+ # auto_enable: false, # required
2777
+ # })
2778
+ #
2779
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateOrganizationConfiguration AWS API Documentation
2780
+ #
2781
+ # @overload update_organization_configuration(params = {})
2782
+ # @param [Hash] params ({})
2783
+ def update_organization_configuration(params = {}, options = {})
2784
+ req = build_request(:update_organization_configuration, params)
2785
+ req.send_request(options)
2786
+ end
2787
+
2504
2788
  # Updates information about the publishing destination specified by the
2505
2789
  # `destinationId`.
2506
2790
  #
2507
2791
  # @option params [required, String] :detector_id
2508
- # The ID of the
2509
- #
2510
- # @option params [required, String] :destination_id
2511
2792
  # The ID of the detector associated with the publishing destinations to
2512
2793
  # update.
2513
2794
  #
2795
+ # @option params [required, String] :destination_id
2796
+ # The ID of the publishing destination to update.
2797
+ #
2514
2798
  # @option params [Types::DestinationProperties] :destination_properties
2515
2799
  # A `DestinationProperties` object that includes the `DestinationArn`
2516
2800
  # and `KmsKeyArn` of the publishing destination.
@@ -2537,7 +2821,7 @@ module Aws::GuardDuty
2537
2821
  req.send_request(options)
2538
2822
  end
2539
2823
 
2540
- # Updates the ThreatIntelSet specified by ThreatIntelSet ID.
2824
+ # Updates the ThreatIntelSet specified by the ThreatIntelSet ID.
2541
2825
  #
2542
2826
  # @option params [required, String] :detector_id
2543
2827
  # The detectorID that specifies the GuardDuty service whose
@@ -2553,10 +2837,10 @@ module Aws::GuardDuty
2553
2837
  #
2554
2838
  # @option params [String] :location
2555
2839
  # The updated URI of the file that contains the ThreateIntelSet. For
2556
- # example (https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key)
2840
+ # example: https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key.
2557
2841
  #
2558
2842
  # @option params [Boolean] :activate
2559
- # The updated boolean value that specifies whether the ThreateIntelSet
2843
+ # The updated Boolean value that specifies whether the ThreateIntelSet
2560
2844
  # is active or not.
2561
2845
  #
2562
2846
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
@@ -2593,7 +2877,7 @@ module Aws::GuardDuty
2593
2877
  params: params,
2594
2878
  config: config)
2595
2879
  context[:gem_name] = 'aws-sdk-guardduty'
2596
- context[:gem_version] = '1.28.0'
2880
+ context[:gem_version] = '1.29.0'
2597
2881
  Seahorse::Client::Request.new(handlers, context)
2598
2882
  end
2599
2883