aws-sdk-detective 1.23.0 → 1.27.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 +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-detective/client.rb +257 -41
- data/lib/aws-sdk-detective/client_api.rb +103 -0
- data/lib/aws-sdk-detective/errors.rb +16 -0
- data/lib/aws-sdk-detective/types.rb +282 -79
- data/lib/aws-sdk-detective.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f9248be41f2590f45c67026bd4ed23644ad9c14d3b16210d4a1bdeca0d8926fb
|
4
|
+
data.tar.gz: e131451b9e997f8ae20a02c9aed4c6ac73aff6896f0de037528b4338ef38d42d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f65b5fc7b4ff40bf71668e65db55913dba6484643428808c6f5f765c09dfb9de32362af3436e2dac2e867938d162bcdcb2b3f1ddef126c7792c769dc330a329e
|
7
|
+
data.tar.gz: 66ec617198d32c278debf82f9dfb70f5bcb23ac450a4fd4f7b8eb71c19495a72a51744dfd7efa7cef419e46877813abf1e1d1472fbe61f3391d7c944776f245c
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.27.0 (2022-02-03)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.26.0 (2022-01-03)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* 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.
|
13
|
+
|
14
|
+
1.25.0 (2021-12-21)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.24.0 (2021-11-30)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
23
|
+
|
4
24
|
1.23.0 (2021-11-04)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.27.0
|
@@ -27,6 +27,8 @@ 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'
|
31
|
+
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
30
32
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
31
33
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
32
34
|
|
@@ -73,6 +75,8 @@ module Aws::Detective
|
|
73
75
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
74
76
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
77
|
add_plugin(Aws::Plugins::HttpChecksum)
|
78
|
+
add_plugin(Aws::Plugins::DefaultsMode)
|
79
|
+
add_plugin(Aws::Plugins::RecursionDetection)
|
76
80
|
add_plugin(Aws::Plugins::SignatureV4)
|
77
81
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
78
82
|
|
@@ -119,7 +123,9 @@ module Aws::Detective
|
|
119
123
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
124
|
# are very aggressive. Construct and pass an instance of
|
121
125
|
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
-
# enable retries and extended timeouts.
|
126
|
+
# enable retries and extended timeouts. Instance profile credential
|
127
|
+
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
128
|
+
# to true.
|
123
129
|
#
|
124
130
|
# @option options [required, String] :region
|
125
131
|
# The AWS region to connect to. The configured `:region` is
|
@@ -173,6 +179,10 @@ module Aws::Detective
|
|
173
179
|
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
174
180
|
# a clock skew correction and retry requests with skewed client clocks.
|
175
181
|
#
|
182
|
+
# @option options [String] :defaults_mode ("legacy")
|
183
|
+
# See {Aws::DefaultsModeConfiguration} for a list of the
|
184
|
+
# accepted modes and the configuration defaults that are included.
|
185
|
+
#
|
176
186
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
177
187
|
# Set to true to disable SDK automatically adding host prefix
|
178
188
|
# to default service endpoint when available.
|
@@ -295,7 +305,7 @@ module Aws::Detective
|
|
295
305
|
# seconds to wait when opening a HTTP session before raising a
|
296
306
|
# `Timeout::Error`.
|
297
307
|
#
|
298
|
-
# @option options [
|
308
|
+
# @option options [Float] :http_read_timeout (60) The default
|
299
309
|
# number of seconds to wait for response data. This value can
|
300
310
|
# safely be set per-request on the session.
|
301
311
|
#
|
@@ -311,6 +321,9 @@ module Aws::Detective
|
|
311
321
|
# disables this behaviour. This value can safely be set per
|
312
322
|
# request on the session.
|
313
323
|
#
|
324
|
+
# @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
|
325
|
+
# in seconds.
|
326
|
+
#
|
314
327
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
315
328
|
# HTTP debug output will be sent to the `:logger`.
|
316
329
|
#
|
@@ -421,47 +434,62 @@ module Aws::Detective
|
|
421
434
|
req.send_request(options)
|
422
435
|
end
|
423
436
|
|
424
|
-
#
|
425
|
-
#
|
426
|
-
#
|
437
|
+
# `CreateMembers` is used to send invitations to accounts. For the
|
438
|
+
# organization behavior graph, the Detective administrator account uses
|
439
|
+
# `CreateMembers` to enable organization accounts as member accounts.
|
440
|
+
#
|
441
|
+
# For invited accounts, `CreateMembers` sends a request to invite the
|
442
|
+
# specified Amazon Web Services accounts to be member accounts in the
|
443
|
+
# behavior graph. This operation can only be called by the administrator
|
444
|
+
# account for a behavior graph.
|
427
445
|
#
|
428
446
|
# `CreateMembers` verifies the accounts and then invites the verified
|
429
447
|
# accounts. The administrator can optionally specify to not send
|
430
448
|
# invitation emails to the member accounts. This would be used when the
|
431
449
|
# administrator manages their member accounts centrally.
|
432
450
|
#
|
451
|
+
# For organization accounts in the organization behavior graph,
|
452
|
+
# `CreateMembers` attempts to enable the accounts. The organization
|
453
|
+
# accounts do not receive invitations.
|
454
|
+
#
|
433
455
|
# The request provides the behavior graph ARN and the list of accounts
|
434
|
-
# to invite.
|
456
|
+
# to invite or to enable.
|
435
457
|
#
|
436
458
|
# The response separates the requested accounts into two lists:
|
437
459
|
#
|
438
|
-
# * The accounts that `CreateMembers` was able to
|
439
|
-
#
|
440
|
-
#
|
441
|
-
#
|
460
|
+
# * The accounts that `CreateMembers` was able to process. For invited
|
461
|
+
# accounts, includes member accounts that are being verified, that
|
462
|
+
# have passed verification and are to be invited, and that have failed
|
463
|
+
# verification. For organization accounts in the organization behavior
|
464
|
+
# graph, includes accounts that can be enabled and that cannot be
|
465
|
+
# enabled.
|
442
466
|
#
|
443
467
|
# * The accounts that `CreateMembers` was unable to process. This list
|
444
468
|
# includes accounts that were already invited to be member accounts in
|
445
469
|
# the behavior graph.
|
446
470
|
#
|
447
471
|
# @option params [required, String] :graph_arn
|
448
|
-
# The ARN of the behavior graph
|
449
|
-
# contribute their data to.
|
472
|
+
# The ARN of the behavior graph.
|
450
473
|
#
|
451
474
|
# @option params [String] :message
|
452
475
|
# Customized message text to include in the invitation email message to
|
453
476
|
# the invited member accounts.
|
454
477
|
#
|
455
478
|
# @option params [Boolean] :disable_email_notification
|
456
|
-
# if set to `true`, then the
|
457
|
-
# notifications. By default, this is set to `false`, and the
|
479
|
+
# if set to `true`, then the invited accounts do not receive email
|
480
|
+
# notifications. By default, this is set to `false`, and the invited
|
458
481
|
# accounts receive email notifications.
|
459
482
|
#
|
483
|
+
# Organization accounts in the organization behavior graph do not
|
484
|
+
# receive email notifications.
|
485
|
+
#
|
460
486
|
# @option params [required, Array<Types::Account>] :accounts
|
461
|
-
# The list of
|
462
|
-
#
|
463
|
-
#
|
464
|
-
#
|
487
|
+
# The list of Amazon Web Services accounts to invite or to enable. You
|
488
|
+
# can invite or enable up to 50 accounts at a time. For each invited
|
489
|
+
# account, the account list contains the account identifier and the
|
490
|
+
# Amazon Web Services account root user email address. For organization
|
491
|
+
# accounts in the organization behavior graph, the email address is not
|
492
|
+
# required.
|
465
493
|
#
|
466
494
|
# @return [Types::CreateMembersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
467
495
|
#
|
@@ -498,6 +526,7 @@ module Aws::Detective
|
|
498
526
|
# resp.members[0].volume_usage_updated_time #=> Time
|
499
527
|
# resp.members[0].percent_of_graph_utilization #=> Float
|
500
528
|
# resp.members[0].percent_of_graph_utilization_updated_time #=> Time
|
529
|
+
# resp.members[0].invitation_type #=> String, one of "INVITATION", "ORGANIZATION"
|
501
530
|
# resp.unprocessed_accounts #=> Array
|
502
531
|
# resp.unprocessed_accounts[0].account_id #=> String
|
503
532
|
# resp.unprocessed_accounts[0].reason #=> String
|
@@ -512,8 +541,8 @@ module Aws::Detective
|
|
512
541
|
end
|
513
542
|
|
514
543
|
# Disables the specified behavior graph and queues it to be deleted.
|
515
|
-
# This operation removes the graph from each member account's
|
516
|
-
# behavior graphs.
|
544
|
+
# This operation removes the behavior graph from each member account's
|
545
|
+
# list of behavior graphs.
|
517
546
|
#
|
518
547
|
# `DeleteGraph` can only be called by the administrator account for a
|
519
548
|
# behavior graph.
|
@@ -538,20 +567,32 @@ module Aws::Detective
|
|
538
567
|
req.send_request(options)
|
539
568
|
end
|
540
569
|
|
541
|
-
#
|
542
|
-
#
|
543
|
-
#
|
544
|
-
#
|
545
|
-
#
|
546
|
-
#
|
570
|
+
# Removes the specified member accounts from the behavior graph. The
|
571
|
+
# removed accounts no longer contribute data to the behavior graph. This
|
572
|
+
# operation can only be called by the administrator account for the
|
573
|
+
# behavior graph.
|
574
|
+
#
|
575
|
+
# For invited accounts, the removed accounts are deleted from the list
|
576
|
+
# of accounts in the behavior graph. To restore the account, the
|
577
|
+
# administrator account must send another invitation.
|
578
|
+
#
|
579
|
+
# For organization accounts in the organization behavior graph, the
|
580
|
+
# Detective administrator account can always enable the organization
|
581
|
+
# account again. Organization accounts that are not enabled as member
|
582
|
+
# accounts are not included in the `ListMembers` results for the
|
583
|
+
# organization behavior graph.
|
584
|
+
#
|
585
|
+
# An administrator account cannot use `DeleteMembers` to remove their
|
586
|
+
# own account from the behavior graph. To disable a behavior graph, the
|
587
|
+
# administrator account uses the `DeleteGraph` API method.
|
547
588
|
#
|
548
589
|
# @option params [required, String] :graph_arn
|
549
|
-
# The ARN of the behavior graph to
|
590
|
+
# The ARN of the behavior graph to remove members from.
|
550
591
|
#
|
551
592
|
# @option params [required, Array<String>] :account_ids
|
552
|
-
# The list of
|
553
|
-
# from the behavior graph. You can
|
554
|
-
# time.
|
593
|
+
# The list of Amazon Web Services account identifiers for the member
|
594
|
+
# accounts to remove from the behavior graph. You can remove up to 50
|
595
|
+
# member accounts at a time.
|
555
596
|
#
|
556
597
|
# @return [Types::DeleteMembersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
557
598
|
#
|
@@ -582,10 +623,66 @@ module Aws::Detective
|
|
582
623
|
req.send_request(options)
|
583
624
|
end
|
584
625
|
|
626
|
+
# Returns information about the configuration for the organization
|
627
|
+
# behavior graph. Currently indicates whether to automatically enable
|
628
|
+
# new organization accounts as member accounts.
|
629
|
+
#
|
630
|
+
# Can only be called by the Detective administrator account for the
|
631
|
+
# organization.
|
632
|
+
#
|
633
|
+
# @option params [required, String] :graph_arn
|
634
|
+
# The ARN of the organization behavior graph.
|
635
|
+
#
|
636
|
+
# @return [Types::DescribeOrganizationConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
637
|
+
#
|
638
|
+
# * {Types::DescribeOrganizationConfigurationResponse#auto_enable #auto_enable} => Boolean
|
639
|
+
#
|
640
|
+
# @example Request syntax with placeholder values
|
641
|
+
#
|
642
|
+
# resp = client.describe_organization_configuration({
|
643
|
+
# graph_arn: "GraphArn", # required
|
644
|
+
# })
|
645
|
+
#
|
646
|
+
# @example Response structure
|
647
|
+
#
|
648
|
+
# resp.auto_enable #=> Boolean
|
649
|
+
#
|
650
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/DescribeOrganizationConfiguration AWS API Documentation
|
651
|
+
#
|
652
|
+
# @overload describe_organization_configuration(params = {})
|
653
|
+
# @param [Hash] params ({})
|
654
|
+
def describe_organization_configuration(params = {}, options = {})
|
655
|
+
req = build_request(:describe_organization_configuration, params)
|
656
|
+
req.send_request(options)
|
657
|
+
end
|
658
|
+
|
659
|
+
# Removes the Detective administrator account for the organization in
|
660
|
+
# the current Region. Deletes the behavior graph for that account.
|
661
|
+
#
|
662
|
+
# Can only be called by the organization management account. Before you
|
663
|
+
# can select a different Detective administrator account, you must
|
664
|
+
# remove the Detective administrator account in all Regions.
|
665
|
+
#
|
666
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
667
|
+
#
|
668
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/DisableOrganizationAdminAccount AWS API Documentation
|
669
|
+
#
|
670
|
+
# @overload disable_organization_admin_account(params = {})
|
671
|
+
# @param [Hash] params ({})
|
672
|
+
def disable_organization_admin_account(params = {}, options = {})
|
673
|
+
req = build_request(:disable_organization_admin_account, params)
|
674
|
+
req.send_request(options)
|
675
|
+
end
|
676
|
+
|
585
677
|
# Removes the member account from the specified behavior graph. This
|
586
|
-
# operation can only be called by
|
678
|
+
# operation can only be called by an invited member account that has the
|
587
679
|
# `ENABLED` status.
|
588
680
|
#
|
681
|
+
# `DisassociateMembership` cannot be called by an organization account
|
682
|
+
# in the organization behavior graph. For the organization behavior
|
683
|
+
# graph, the Detective administrator account determines which
|
684
|
+
# organization accounts to enable or disable as member accounts.
|
685
|
+
#
|
589
686
|
# @option params [required, String] :graph_arn
|
590
687
|
# The ARN of the behavior graph to remove the member account from.
|
591
688
|
#
|
@@ -609,6 +706,40 @@ module Aws::Detective
|
|
609
706
|
req.send_request(options)
|
610
707
|
end
|
611
708
|
|
709
|
+
# Designates the Detective administrator account for the organization in
|
710
|
+
# the current Region.
|
711
|
+
#
|
712
|
+
# If the account does not have Detective enabled, then enables Detective
|
713
|
+
# for that account and creates a new behavior graph.
|
714
|
+
#
|
715
|
+
# Can only be called by the organization management account.
|
716
|
+
#
|
717
|
+
# The Detective administrator account for an organization must be the
|
718
|
+
# same in all Regions. If you already designated a Detective
|
719
|
+
# administrator account in another Region, then you must designate the
|
720
|
+
# same account.
|
721
|
+
#
|
722
|
+
# @option params [required, String] :account_id
|
723
|
+
# The Amazon Web Services account identifier of the account to designate
|
724
|
+
# as the Detective administrator account for the organization.
|
725
|
+
#
|
726
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
727
|
+
#
|
728
|
+
# @example Request syntax with placeholder values
|
729
|
+
#
|
730
|
+
# resp = client.enable_organization_admin_account({
|
731
|
+
# account_id: "AccountId", # required
|
732
|
+
# })
|
733
|
+
#
|
734
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/EnableOrganizationAdminAccount AWS API Documentation
|
735
|
+
#
|
736
|
+
# @overload enable_organization_admin_account(params = {})
|
737
|
+
# @param [Hash] params ({})
|
738
|
+
def enable_organization_admin_account(params = {}, options = {})
|
739
|
+
req = build_request(:enable_organization_admin_account, params)
|
740
|
+
req.send_request(options)
|
741
|
+
end
|
742
|
+
|
612
743
|
# Returns the membership details for specified member accounts for a
|
613
744
|
# behavior graph.
|
614
745
|
#
|
@@ -616,9 +747,9 @@ module Aws::Detective
|
|
616
747
|
# The ARN of the behavior graph for which to request the member details.
|
617
748
|
#
|
618
749
|
# @option params [required, Array<String>] :account_ids
|
619
|
-
# The list of
|
620
|
-
# to return member details. You can request details
|
621
|
-
# accounts at a time.
|
750
|
+
# The list of Amazon Web Services account identifiers for the member
|
751
|
+
# account for which to return member details. You can request details
|
752
|
+
# for up to 50 member accounts at a time.
|
622
753
|
#
|
623
754
|
# You cannot use `GetMembers` to retrieve information about member
|
624
755
|
# accounts that were removed from the behavior graph.
|
@@ -651,6 +782,7 @@ module Aws::Detective
|
|
651
782
|
# resp.member_details[0].volume_usage_updated_time #=> Time
|
652
783
|
# resp.member_details[0].percent_of_graph_utilization #=> Float
|
653
784
|
# resp.member_details[0].percent_of_graph_utilization_updated_time #=> Time
|
785
|
+
# resp.member_details[0].invitation_type #=> String, one of "INVITATION", "ORGANIZATION"
|
654
786
|
# resp.unprocessed_accounts #=> Array
|
655
787
|
# resp.unprocessed_accounts[0].account_id #=> String
|
656
788
|
# resp.unprocessed_accounts[0].reason #=> String
|
@@ -713,8 +845,8 @@ module Aws::Detective
|
|
713
845
|
end
|
714
846
|
|
715
847
|
# Retrieves the list of open and accepted behavior graph invitations for
|
716
|
-
# the member account. This operation can only be called by
|
717
|
-
# account.
|
848
|
+
# the member account. This operation can only be called by an invited
|
849
|
+
# member account.
|
718
850
|
#
|
719
851
|
# Open invitations are invitations that the member account has not
|
720
852
|
# responded to.
|
@@ -764,6 +896,7 @@ module Aws::Detective
|
|
764
896
|
# resp.invitations[0].volume_usage_updated_time #=> Time
|
765
897
|
# resp.invitations[0].percent_of_graph_utilization #=> Float
|
766
898
|
# resp.invitations[0].percent_of_graph_utilization_updated_time #=> Time
|
899
|
+
# resp.invitations[0].invitation_type #=> String, one of "INVITATION", "ORGANIZATION"
|
767
900
|
# resp.next_token #=> String
|
768
901
|
#
|
769
902
|
# @see http://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/ListInvitations AWS API Documentation
|
@@ -775,8 +908,14 @@ module Aws::Detective
|
|
775
908
|
req.send_request(options)
|
776
909
|
end
|
777
910
|
|
778
|
-
# Retrieves the list of member accounts for a behavior graph.
|
779
|
-
#
|
911
|
+
# Retrieves the list of member accounts for a behavior graph.
|
912
|
+
#
|
913
|
+
# For invited accounts, the results do not include member accounts that
|
914
|
+
# were removed from the behavior graph.
|
915
|
+
#
|
916
|
+
# For the organization behavior graph, the results do not include
|
917
|
+
# organization accounts that the Detective administrator account has not
|
918
|
+
# enabled as member accounts.
|
780
919
|
#
|
781
920
|
# @option params [required, String] :graph_arn
|
782
921
|
# The ARN of the behavior graph for which to retrieve the list of member
|
@@ -823,6 +962,7 @@ module Aws::Detective
|
|
823
962
|
# resp.member_details[0].volume_usage_updated_time #=> Time
|
824
963
|
# resp.member_details[0].percent_of_graph_utilization #=> Float
|
825
964
|
# resp.member_details[0].percent_of_graph_utilization_updated_time #=> Time
|
965
|
+
# resp.member_details[0].invitation_type #=> String, one of "INVITATION", "ORGANIZATION"
|
826
966
|
# resp.next_token #=> String
|
827
967
|
#
|
828
968
|
# @see http://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/ListMembers AWS API Documentation
|
@@ -834,6 +974,49 @@ module Aws::Detective
|
|
834
974
|
req.send_request(options)
|
835
975
|
end
|
836
976
|
|
977
|
+
# Returns information about the Detective administrator account for an
|
978
|
+
# organization. Can only be called by the organization management
|
979
|
+
# account.
|
980
|
+
#
|
981
|
+
# @option params [String] :next_token
|
982
|
+
# For requests to get the next page of results, the pagination token
|
983
|
+
# that was returned with the previous set of results. The initial
|
984
|
+
# request does not include a pagination token.
|
985
|
+
#
|
986
|
+
# @option params [Integer] :max_results
|
987
|
+
# The maximum number of results to return.
|
988
|
+
#
|
989
|
+
# @return [Types::ListOrganizationAdminAccountsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
990
|
+
#
|
991
|
+
# * {Types::ListOrganizationAdminAccountsResponse#administrators #administrators} => Array<Types::Administrator>
|
992
|
+
# * {Types::ListOrganizationAdminAccountsResponse#next_token #next_token} => String
|
993
|
+
#
|
994
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
995
|
+
#
|
996
|
+
# @example Request syntax with placeholder values
|
997
|
+
#
|
998
|
+
# resp = client.list_organization_admin_accounts({
|
999
|
+
# next_token: "PaginationToken",
|
1000
|
+
# max_results: 1,
|
1001
|
+
# })
|
1002
|
+
#
|
1003
|
+
# @example Response structure
|
1004
|
+
#
|
1005
|
+
# resp.administrators #=> Array
|
1006
|
+
# resp.administrators[0].account_id #=> String
|
1007
|
+
# resp.administrators[0].graph_arn #=> String
|
1008
|
+
# resp.administrators[0].delegation_time #=> Time
|
1009
|
+
# resp.next_token #=> String
|
1010
|
+
#
|
1011
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/ListOrganizationAdminAccounts AWS API Documentation
|
1012
|
+
#
|
1013
|
+
# @overload list_organization_admin_accounts(params = {})
|
1014
|
+
# @param [Hash] params ({})
|
1015
|
+
def list_organization_admin_accounts(params = {}, options = {})
|
1016
|
+
req = build_request(:list_organization_admin_accounts, params)
|
1017
|
+
req.send_request(options)
|
1018
|
+
end
|
1019
|
+
|
837
1020
|
# Returns the tag values that are assigned to a behavior graph.
|
838
1021
|
#
|
839
1022
|
# @option params [required, String] :resource_arn
|
@@ -864,8 +1047,12 @@ module Aws::Detective
|
|
864
1047
|
end
|
865
1048
|
|
866
1049
|
# Rejects an invitation to contribute the account data to a behavior
|
867
|
-
# graph. This operation must be called by
|
868
|
-
# `INVITED` status.
|
1050
|
+
# graph. This operation must be called by an invited member account that
|
1051
|
+
# has the `INVITED` status.
|
1052
|
+
#
|
1053
|
+
# `RejectInvitation` cannot be called by an organization account in the
|
1054
|
+
# organization behavior graph. In the organization behavior graph,
|
1055
|
+
# organization accounts do not receive an invitation.
|
869
1056
|
#
|
870
1057
|
# @option params [required, String] :graph_arn
|
871
1058
|
# The ARN of the behavior graph to reject the invitation to.
|
@@ -986,6 +1173,35 @@ module Aws::Detective
|
|
986
1173
|
req.send_request(options)
|
987
1174
|
end
|
988
1175
|
|
1176
|
+
# Updates the configuration for the Organizations integration in the
|
1177
|
+
# current Region. Can only be called by the Detective administrator
|
1178
|
+
# account for the organization.
|
1179
|
+
#
|
1180
|
+
# @option params [required, String] :graph_arn
|
1181
|
+
# The ARN of the organization behavior graph.
|
1182
|
+
#
|
1183
|
+
# @option params [Boolean] :auto_enable
|
1184
|
+
# Indicates whether to automatically enable new organization accounts as
|
1185
|
+
# member accounts in the organization behavior graph.
|
1186
|
+
#
|
1187
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1188
|
+
#
|
1189
|
+
# @example Request syntax with placeholder values
|
1190
|
+
#
|
1191
|
+
# resp = client.update_organization_configuration({
|
1192
|
+
# graph_arn: "GraphArn", # required
|
1193
|
+
# auto_enable: false,
|
1194
|
+
# })
|
1195
|
+
#
|
1196
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/UpdateOrganizationConfiguration AWS API Documentation
|
1197
|
+
#
|
1198
|
+
# @overload update_organization_configuration(params = {})
|
1199
|
+
# @param [Hash] params ({})
|
1200
|
+
def update_organization_configuration(params = {}, options = {})
|
1201
|
+
req = build_request(:update_organization_configuration, params)
|
1202
|
+
req.send_request(options)
|
1203
|
+
end
|
1204
|
+
|
989
1205
|
# @!endgroup
|
990
1206
|
|
991
1207
|
# @param params ({})
|
@@ -999,7 +1215,7 @@ module Aws::Detective
|
|
999
1215
|
params: params,
|
1000
1216
|
config: config)
|
1001
1217
|
context[:gem_name] = 'aws-sdk-detective'
|
1002
|
-
context[:gem_version] = '1.
|
1218
|
+
context[:gem_version] = '1.27.0'
|
1003
1219
|
Seahorse::Client::Request.new(handlers, context)
|
1004
1220
|
end
|
1005
1221
|
|