aws-sdk-detective 1.22.0 → 1.26.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1a73c42290f2962606afebf31b1b75af510120cdb432f0f7c3a5befca6a436ae
4
- data.tar.gz: e364a5004619e964054da06600d526e36a0f210cd42f1fd6b46395b0b38e41c3
3
+ metadata.gz: 905d4ac8d836aacc72ac74ffaadb3ed37c66f1637b6836719bc349b5b14d1271
4
+ data.tar.gz: 0b6e855a00ee47d2a58d04114e81942f115376f66ecafad95280b66a51656a58
5
5
  SHA512:
6
- metadata.gz: 9b4bf90284cb323a27a38d44f94281a313136c5bff74ec202c6b6e31293ae55728ff63fa6c74eed6b26f26cad2804d8eff0582fa61b96a2b1e40867a6678d3a2
7
- data.tar.gz: db420f953c37edc4245d28a4c917acc4951ec697c81f24536c140574423cfaf918f036cf1598ffddc8b4fd4c1e85f5d0f5d769902fbce4946f5d2c314cba1857
6
+ metadata.gz: 64b71da0efde12aab15225cc2e06d7aa224ff808c4ac5e7502dd07993b3547ef4106b876bbc3842bd5a29f65e3c85dcbeab222e635988d26715c6124949072bf
7
+ data.tar.gz: 15f1a0d4cebe6a237dfd57bac467329475b6e417c6bf076bffbb825a44b28357b2f7ee5a813fa42159dc174703e77e587ec035a4fa453cba02b3ade12b4448b7
data/CHANGELOG.md CHANGED
@@ -1,6 +1,26 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.26.0 (2022-01-03)
5
+ ------------------
6
+
7
+ * Feature - Added and updated API operations to support the Detective integration with AWS Organizations. New actions are used to manage the delegated administrator account and the integration configuration.
8
+
9
+ 1.25.0 (2021-12-21)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ 1.24.0 (2021-11-30)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
19
+ 1.23.0 (2021-11-04)
20
+ ------------------
21
+
22
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
23
+
4
24
  1.22.0 (2021-10-18)
5
25
  ------------------
6
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.22.0
1
+ 1.26.0
@@ -27,6 +27,7 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
27
27
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
28
28
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
29
  require 'aws-sdk-core/plugins/http_checksum.rb'
30
+ require 'aws-sdk-core/plugins/defaults_mode.rb'
30
31
  require 'aws-sdk-core/plugins/signature_v4.rb'
31
32
  require 'aws-sdk-core/plugins/protocols/rest_json.rb'
32
33
 
@@ -73,6 +74,7 @@ module Aws::Detective
73
74
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
74
75
  add_plugin(Aws::Plugins::TransferEncoding)
75
76
  add_plugin(Aws::Plugins::HttpChecksum)
77
+ add_plugin(Aws::Plugins::DefaultsMode)
76
78
  add_plugin(Aws::Plugins::SignatureV4)
77
79
  add_plugin(Aws::Plugins::Protocols::RestJson)
78
80
 
@@ -119,7 +121,9 @@ module Aws::Detective
119
121
  # * EC2/ECS IMDS instance profile - When used by default, the timeouts
120
122
  # are very aggressive. Construct and pass an instance of
121
123
  # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
122
- # enable retries and extended timeouts.
124
+ # enable retries and extended timeouts. Instance profile credential
125
+ # fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
126
+ # to true.
123
127
  #
124
128
  # @option options [required, String] :region
125
129
  # The AWS region to connect to. The configured `:region` is
@@ -173,6 +177,10 @@ module Aws::Detective
173
177
  # Used only in `standard` and adaptive retry modes. Specifies whether to apply
174
178
  # a clock skew correction and retry requests with skewed client clocks.
175
179
  #
180
+ # @option options [String] :defaults_mode ("legacy")
181
+ # See {Aws::DefaultsModeConfiguration} for a list of the
182
+ # accepted modes and the configuration defaults that are included.
183
+ #
176
184
  # @option options [Boolean] :disable_host_prefix_injection (false)
177
185
  # Set to true to disable SDK automatically adding host prefix
178
186
  # to default service endpoint when available.
@@ -275,6 +283,15 @@ module Aws::Detective
275
283
  # ** Please note ** When response stubbing is enabled, no HTTP
276
284
  # requests are made, and retries are disabled.
277
285
  #
286
+ # @option options [Boolean] :use_dualstack_endpoint
287
+ # When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
288
+ # will be used if available.
289
+ #
290
+ # @option options [Boolean] :use_fips_endpoint
291
+ # When set to `true`, fips compatible endpoints will be used if available.
292
+ # When a `fips` region is used, the region is normalized and this config
293
+ # is set to `true`.
294
+ #
278
295
  # @option options [Boolean] :validate_params (true)
279
296
  # When `true`, request parameters are validated before
280
297
  # sending the request.
@@ -286,7 +303,7 @@ module Aws::Detective
286
303
  # seconds to wait when opening a HTTP session before raising a
287
304
  # `Timeout::Error`.
288
305
  #
289
- # @option options [Integer] :http_read_timeout (60) The default
306
+ # @option options [Float] :http_read_timeout (60) The default
290
307
  # number of seconds to wait for response data. This value can
291
308
  # safely be set per-request on the session.
292
309
  #
@@ -302,6 +319,9 @@ module Aws::Detective
302
319
  # disables this behaviour. This value can safely be set per
303
320
  # request on the session.
304
321
  #
322
+ # @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
323
+ # in seconds.
324
+ #
305
325
  # @option options [Boolean] :http_wire_trace (false) When `true`,
306
326
  # HTTP debug output will be sent to the `:logger`.
307
327
  #
@@ -412,47 +432,62 @@ module Aws::Detective
412
432
  req.send_request(options)
413
433
  end
414
434
 
415
- # Sends a request to invite the specified AWS accounts to be member
416
- # accounts in the behavior graph. This operation can only be called by
417
- # the administrator account for a behavior graph.
435
+ # `CreateMembers` is used to send invitations to accounts. For the
436
+ # organization behavior graph, the Detective administrator account uses
437
+ # `CreateMembers` to enable organization accounts as member accounts.
438
+ #
439
+ # For invited accounts, `CreateMembers` sends a request to invite the
440
+ # specified Amazon Web Services accounts to be member accounts in the
441
+ # behavior graph. This operation can only be called by the administrator
442
+ # account for a behavior graph.
418
443
  #
419
444
  # `CreateMembers` verifies the accounts and then invites the verified
420
445
  # accounts. The administrator can optionally specify to not send
421
446
  # invitation emails to the member accounts. This would be used when the
422
447
  # administrator manages their member accounts centrally.
423
448
  #
449
+ # For organization accounts in the organization behavior graph,
450
+ # `CreateMembers` attempts to enable the accounts. The organization
451
+ # accounts do not receive invitations.
452
+ #
424
453
  # The request provides the behavior graph ARN and the list of accounts
425
- # to invite.
454
+ # to invite or to enable.
426
455
  #
427
456
  # The response separates the requested accounts into two lists:
428
457
  #
429
- # * The accounts that `CreateMembers` was able to start the verification
430
- # for. This list includes member accounts that are being verified,
431
- # that have passed verification and are to be invited, and that have
432
- # failed verification.
458
+ # * The accounts that `CreateMembers` was able to process. For invited
459
+ # accounts, includes member accounts that are being verified, that
460
+ # have passed verification and are to be invited, and that have failed
461
+ # verification. For organization accounts in the organization behavior
462
+ # graph, includes accounts that can be enabled and that cannot be
463
+ # enabled.
433
464
  #
434
465
  # * The accounts that `CreateMembers` was unable to process. This list
435
466
  # includes accounts that were already invited to be member accounts in
436
467
  # the behavior graph.
437
468
  #
438
469
  # @option params [required, String] :graph_arn
439
- # The ARN of the behavior graph to invite the member accounts to
440
- # contribute their data to.
470
+ # The ARN of the behavior graph.
441
471
  #
442
472
  # @option params [String] :message
443
473
  # Customized message text to include in the invitation email message to
444
474
  # the invited member accounts.
445
475
  #
446
476
  # @option params [Boolean] :disable_email_notification
447
- # if set to `true`, then the member accounts do not receive email
448
- # notifications. By default, this is set to `false`, and the member
477
+ # if set to `true`, then the invited accounts do not receive email
478
+ # notifications. By default, this is set to `false`, and the invited
449
479
  # accounts receive email notifications.
450
480
  #
481
+ # Organization accounts in the organization behavior graph do not
482
+ # receive email notifications.
483
+ #
451
484
  # @option params [required, Array<Types::Account>] :accounts
452
- # The list of AWS accounts to invite to become member accounts in the
453
- # behavior graph. You can invite up to 50 accounts at a time. For each
454
- # invited account, the account list contains the account identifier and
455
- # the AWS account root user email address.
485
+ # The list of Amazon Web Services accounts to invite or to enable. You
486
+ # can invite or enable up to 50 accounts at a time. For each invited
487
+ # account, the account list contains the account identifier and the
488
+ # Amazon Web Services account root user email address. For organization
489
+ # accounts in the organization behavior graph, the email address is not
490
+ # required.
456
491
  #
457
492
  # @return [Types::CreateMembersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
458
493
  #
@@ -489,6 +524,7 @@ module Aws::Detective
489
524
  # resp.members[0].volume_usage_updated_time #=> Time
490
525
  # resp.members[0].percent_of_graph_utilization #=> Float
491
526
  # resp.members[0].percent_of_graph_utilization_updated_time #=> Time
527
+ # resp.members[0].invitation_type #=> String, one of "INVITATION", "ORGANIZATION"
492
528
  # resp.unprocessed_accounts #=> Array
493
529
  # resp.unprocessed_accounts[0].account_id #=> String
494
530
  # resp.unprocessed_accounts[0].reason #=> String
@@ -503,8 +539,8 @@ module Aws::Detective
503
539
  end
504
540
 
505
541
  # Disables the specified behavior graph and queues it to be deleted.
506
- # This operation removes the graph from each member account's list of
507
- # behavior graphs.
542
+ # This operation removes the behavior graph from each member account's
543
+ # list of behavior graphs.
508
544
  #
509
545
  # `DeleteGraph` can only be called by the administrator account for a
510
546
  # behavior graph.
@@ -529,20 +565,32 @@ module Aws::Detective
529
565
  req.send_request(options)
530
566
  end
531
567
 
532
- # Deletes one or more member accounts from the administrator account's
533
- # behavior graph. This operation can only be called by a Detective
534
- # administrator account. That account cannot use `DeleteMembers` to
535
- # delete their own account from the behavior graph. To disable a
536
- # behavior graph, the administrator account uses the `DeleteGraph` API
537
- # method.
568
+ # Removes the specified member accounts from the behavior graph. The
569
+ # removed accounts no longer contribute data to the behavior graph. This
570
+ # operation can only be called by the administrator account for the
571
+ # behavior graph.
572
+ #
573
+ # For invited accounts, the removed accounts are deleted from the list
574
+ # of accounts in the behavior graph. To restore the account, the
575
+ # administrator account must send another invitation.
576
+ #
577
+ # For organization accounts in the organization behavior graph, the
578
+ # Detective administrator account can always enable the organization
579
+ # account again. Organization accounts that are not enabled as member
580
+ # accounts are not included in the `ListMembers` results for the
581
+ # organization behavior graph.
582
+ #
583
+ # An administrator account cannot use `DeleteMembers` to remove their
584
+ # own account from the behavior graph. To disable a behavior graph, the
585
+ # administrator account uses the `DeleteGraph` API method.
538
586
  #
539
587
  # @option params [required, String] :graph_arn
540
- # The ARN of the behavior graph to delete members from.
588
+ # The ARN of the behavior graph to remove members from.
541
589
  #
542
590
  # @option params [required, Array<String>] :account_ids
543
- # The list of AWS account identifiers for the member accounts to delete
544
- # from the behavior graph. You can delete up to 50 member accounts at a
545
- # time.
591
+ # The list of Amazon Web Services account identifiers for the member
592
+ # accounts to remove from the behavior graph. You can remove up to 50
593
+ # member accounts at a time.
546
594
  #
547
595
  # @return [Types::DeleteMembersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
548
596
  #
@@ -573,10 +621,66 @@ module Aws::Detective
573
621
  req.send_request(options)
574
622
  end
575
623
 
624
+ # Returns information about the configuration for the organization
625
+ # behavior graph. Currently indicates whether to automatically enable
626
+ # new organization accounts as member accounts.
627
+ #
628
+ # Can only be called by the Detective administrator account for the
629
+ # organization.
630
+ #
631
+ # @option params [required, String] :graph_arn
632
+ # The ARN of the organization behavior graph.
633
+ #
634
+ # @return [Types::DescribeOrganizationConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
635
+ #
636
+ # * {Types::DescribeOrganizationConfigurationResponse#auto_enable #auto_enable} => Boolean
637
+ #
638
+ # @example Request syntax with placeholder values
639
+ #
640
+ # resp = client.describe_organization_configuration({
641
+ # graph_arn: "GraphArn", # required
642
+ # })
643
+ #
644
+ # @example Response structure
645
+ #
646
+ # resp.auto_enable #=> Boolean
647
+ #
648
+ # @see http://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/DescribeOrganizationConfiguration AWS API Documentation
649
+ #
650
+ # @overload describe_organization_configuration(params = {})
651
+ # @param [Hash] params ({})
652
+ def describe_organization_configuration(params = {}, options = {})
653
+ req = build_request(:describe_organization_configuration, params)
654
+ req.send_request(options)
655
+ end
656
+
657
+ # Removes the Detective administrator account for the organization in
658
+ # the current Region. Deletes the behavior graph for that account.
659
+ #
660
+ # Can only be called by the organization management account. Before you
661
+ # can select a different Detective administrator account, you must
662
+ # remove the Detective administrator account in all Regions.
663
+ #
664
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
665
+ #
666
+ # @see http://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/DisableOrganizationAdminAccount AWS API Documentation
667
+ #
668
+ # @overload disable_organization_admin_account(params = {})
669
+ # @param [Hash] params ({})
670
+ def disable_organization_admin_account(params = {}, options = {})
671
+ req = build_request(:disable_organization_admin_account, params)
672
+ req.send_request(options)
673
+ end
674
+
576
675
  # Removes the member account from the specified behavior graph. This
577
- # operation can only be called by a member account that has the
676
+ # operation can only be called by an invited member account that has the
578
677
  # `ENABLED` status.
579
678
  #
679
+ # `DisassociateMembership` cannot be called by an organization account
680
+ # in the organization behavior graph. For the organization behavior
681
+ # graph, the Detective administrator account determines which
682
+ # organization accounts to enable or disable as member accounts.
683
+ #
580
684
  # @option params [required, String] :graph_arn
581
685
  # The ARN of the behavior graph to remove the member account from.
582
686
  #
@@ -600,6 +704,40 @@ module Aws::Detective
600
704
  req.send_request(options)
601
705
  end
602
706
 
707
+ # Designates the Detective administrator account for the organization in
708
+ # the current Region.
709
+ #
710
+ # If the account does not have Detective enabled, then enables Detective
711
+ # for that account and creates a new behavior graph.
712
+ #
713
+ # Can only be called by the organization management account.
714
+ #
715
+ # The Detective administrator account for an organization must be the
716
+ # same in all Regions. If you already designated a Detective
717
+ # administrator account in another Region, then you must designate the
718
+ # same account.
719
+ #
720
+ # @option params [required, String] :account_id
721
+ # The Amazon Web Services account identifier of the account to designate
722
+ # as the Detective administrator account for the organization.
723
+ #
724
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
725
+ #
726
+ # @example Request syntax with placeholder values
727
+ #
728
+ # resp = client.enable_organization_admin_account({
729
+ # account_id: "AccountId", # required
730
+ # })
731
+ #
732
+ # @see http://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/EnableOrganizationAdminAccount AWS API Documentation
733
+ #
734
+ # @overload enable_organization_admin_account(params = {})
735
+ # @param [Hash] params ({})
736
+ def enable_organization_admin_account(params = {}, options = {})
737
+ req = build_request(:enable_organization_admin_account, params)
738
+ req.send_request(options)
739
+ end
740
+
603
741
  # Returns the membership details for specified member accounts for a
604
742
  # behavior graph.
605
743
  #
@@ -607,9 +745,9 @@ module Aws::Detective
607
745
  # The ARN of the behavior graph for which to request the member details.
608
746
  #
609
747
  # @option params [required, Array<String>] :account_ids
610
- # The list of AWS account identifiers for the member account for which
611
- # to return member details. You can request details for up to 50 member
612
- # accounts at a time.
748
+ # The list of Amazon Web Services account identifiers for the member
749
+ # account for which to return member details. You can request details
750
+ # for up to 50 member accounts at a time.
613
751
  #
614
752
  # You cannot use `GetMembers` to retrieve information about member
615
753
  # accounts that were removed from the behavior graph.
@@ -642,6 +780,7 @@ module Aws::Detective
642
780
  # resp.member_details[0].volume_usage_updated_time #=> Time
643
781
  # resp.member_details[0].percent_of_graph_utilization #=> Float
644
782
  # resp.member_details[0].percent_of_graph_utilization_updated_time #=> Time
783
+ # resp.member_details[0].invitation_type #=> String, one of "INVITATION", "ORGANIZATION"
645
784
  # resp.unprocessed_accounts #=> Array
646
785
  # resp.unprocessed_accounts[0].account_id #=> String
647
786
  # resp.unprocessed_accounts[0].reason #=> String
@@ -704,8 +843,8 @@ module Aws::Detective
704
843
  end
705
844
 
706
845
  # Retrieves the list of open and accepted behavior graph invitations for
707
- # the member account. This operation can only be called by a member
708
- # account.
846
+ # the member account. This operation can only be called by an invited
847
+ # member account.
709
848
  #
710
849
  # Open invitations are invitations that the member account has not
711
850
  # responded to.
@@ -755,6 +894,7 @@ module Aws::Detective
755
894
  # resp.invitations[0].volume_usage_updated_time #=> Time
756
895
  # resp.invitations[0].percent_of_graph_utilization #=> Float
757
896
  # resp.invitations[0].percent_of_graph_utilization_updated_time #=> Time
897
+ # resp.invitations[0].invitation_type #=> String, one of "INVITATION", "ORGANIZATION"
758
898
  # resp.next_token #=> String
759
899
  #
760
900
  # @see http://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/ListInvitations AWS API Documentation
@@ -766,8 +906,14 @@ module Aws::Detective
766
906
  req.send_request(options)
767
907
  end
768
908
 
769
- # Retrieves the list of member accounts for a behavior graph. Does not
770
- # return member accounts that were removed from the behavior graph.
909
+ # Retrieves the list of member accounts for a behavior graph.
910
+ #
911
+ # For invited accounts, the results do not include member accounts that
912
+ # were removed from the behavior graph.
913
+ #
914
+ # For the organization behavior graph, the results do not include
915
+ # organization accounts that the Detective administrator account has not
916
+ # enabled as member accounts.
771
917
  #
772
918
  # @option params [required, String] :graph_arn
773
919
  # The ARN of the behavior graph for which to retrieve the list of member
@@ -814,6 +960,7 @@ module Aws::Detective
814
960
  # resp.member_details[0].volume_usage_updated_time #=> Time
815
961
  # resp.member_details[0].percent_of_graph_utilization #=> Float
816
962
  # resp.member_details[0].percent_of_graph_utilization_updated_time #=> Time
963
+ # resp.member_details[0].invitation_type #=> String, one of "INVITATION", "ORGANIZATION"
817
964
  # resp.next_token #=> String
818
965
  #
819
966
  # @see http://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/ListMembers AWS API Documentation
@@ -825,6 +972,49 @@ module Aws::Detective
825
972
  req.send_request(options)
826
973
  end
827
974
 
975
+ # Returns information about the Detective administrator account for an
976
+ # organization. Can only be called by the organization management
977
+ # account.
978
+ #
979
+ # @option params [String] :next_token
980
+ # For requests to get the next page of results, the pagination token
981
+ # that was returned with the previous set of results. The initial
982
+ # request does not include a pagination token.
983
+ #
984
+ # @option params [Integer] :max_results
985
+ # The maximum number of results to return.
986
+ #
987
+ # @return [Types::ListOrganizationAdminAccountsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
988
+ #
989
+ # * {Types::ListOrganizationAdminAccountsResponse#administrators #administrators} => Array&lt;Types::Administrator&gt;
990
+ # * {Types::ListOrganizationAdminAccountsResponse#next_token #next_token} => String
991
+ #
992
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
993
+ #
994
+ # @example Request syntax with placeholder values
995
+ #
996
+ # resp = client.list_organization_admin_accounts({
997
+ # next_token: "PaginationToken",
998
+ # max_results: 1,
999
+ # })
1000
+ #
1001
+ # @example Response structure
1002
+ #
1003
+ # resp.administrators #=> Array
1004
+ # resp.administrators[0].account_id #=> String
1005
+ # resp.administrators[0].graph_arn #=> String
1006
+ # resp.administrators[0].delegation_time #=> Time
1007
+ # resp.next_token #=> String
1008
+ #
1009
+ # @see http://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/ListOrganizationAdminAccounts AWS API Documentation
1010
+ #
1011
+ # @overload list_organization_admin_accounts(params = {})
1012
+ # @param [Hash] params ({})
1013
+ def list_organization_admin_accounts(params = {}, options = {})
1014
+ req = build_request(:list_organization_admin_accounts, params)
1015
+ req.send_request(options)
1016
+ end
1017
+
828
1018
  # Returns the tag values that are assigned to a behavior graph.
829
1019
  #
830
1020
  # @option params [required, String] :resource_arn
@@ -855,8 +1045,12 @@ module Aws::Detective
855
1045
  end
856
1046
 
857
1047
  # Rejects an invitation to contribute the account data to a behavior
858
- # graph. This operation must be called by a member account that has the
859
- # `INVITED` status.
1048
+ # graph. This operation must be called by an invited member account that
1049
+ # has the `INVITED` status.
1050
+ #
1051
+ # `RejectInvitation` cannot be called by an organization account in the
1052
+ # organization behavior graph. In the organization behavior graph,
1053
+ # organization accounts do not receive an invitation.
860
1054
  #
861
1055
  # @option params [required, String] :graph_arn
862
1056
  # The ARN of the behavior graph to reject the invitation to.
@@ -977,6 +1171,35 @@ module Aws::Detective
977
1171
  req.send_request(options)
978
1172
  end
979
1173
 
1174
+ # Updates the configuration for the Organizations integration in the
1175
+ # current Region. Can only be called by the Detective administrator
1176
+ # account for the organization.
1177
+ #
1178
+ # @option params [required, String] :graph_arn
1179
+ # The ARN of the organization behavior graph.
1180
+ #
1181
+ # @option params [Boolean] :auto_enable
1182
+ # Indicates whether to automatically enable new organization accounts as
1183
+ # member accounts in the organization behavior graph.
1184
+ #
1185
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1186
+ #
1187
+ # @example Request syntax with placeholder values
1188
+ #
1189
+ # resp = client.update_organization_configuration({
1190
+ # graph_arn: "GraphArn", # required
1191
+ # auto_enable: false,
1192
+ # })
1193
+ #
1194
+ # @see http://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/UpdateOrganizationConfiguration AWS API Documentation
1195
+ #
1196
+ # @overload update_organization_configuration(params = {})
1197
+ # @param [Hash] params ({})
1198
+ def update_organization_configuration(params = {}, options = {})
1199
+ req = build_request(:update_organization_configuration, params)
1200
+ req.send_request(options)
1201
+ end
1202
+
980
1203
  # @!endgroup
981
1204
 
982
1205
  # @param params ({})
@@ -990,7 +1213,7 @@ module Aws::Detective
990
1213
  params: params,
991
1214
  config: config)
992
1215
  context[:gem_name] = 'aws-sdk-detective'
993
- context[:gem_version] = '1.22.0'
1216
+ context[:gem_version] = '1.26.0'
994
1217
  Seahorse::Client::Request.new(handlers, context)
995
1218
  end
996
1219