aws-sdk-organizations 1.37.0 → 1.38.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
- SHA256:
3
- metadata.gz: 15054a9916309155409c216610991f0508b3347a4d8fd6e7f4851666cc2e21a3
4
- data.tar.gz: db7c14b02206868628ae4909e823f8c90ed17fe87044c24c62c9f7f6fc1f8327
2
+ SHA1:
3
+ metadata.gz: 3c32fbb5fc4cb1e3eed5d05c06f4c8913839fcaf
4
+ data.tar.gz: fd158e8f0f27455aa368031e70f4f3d0fbe98f6b
5
5
  SHA512:
6
- metadata.gz: 866c0468c08aa087aabaf3fb962372ab9b4f36d0625ffbb07df3fa8b2a0616e79471a481ae972a9ad50456b7410dedc8b009628a0b066b2e4261424fc4fcd023
7
- data.tar.gz: 5bd7ac2e884264595a206150c65406696d2001c1cf6d1fe452b1c9ca544be70f1d4297347ddaea953f6dfe9310443a6a9a12a5ef662545a570ab5c3109edce34
6
+ metadata.gz: e44f57b020eed187539027f0277ec4656a7d1b65fc9a170e0197a18d71819be3646dd4a114607ed392c7cba3ebd91ec852e1f89f66bb6ca5a0a9093ac3225467
7
+ data.tar.gz: ff68051eb15814cf07a043050099db87be93e75229c0689c43d81f8d70431379a51a5f7afff9cdac2aa5c497dedd3ebaf2079167dc258463ff634899cc7ade41
@@ -45,6 +45,6 @@ require_relative 'aws-sdk-organizations/customizations'
45
45
  # @service
46
46
  module Aws::Organizations
47
47
 
48
- GEM_VERSION = '1.37.0'
48
+ GEM_VERSION = '1.38.0'
49
49
 
50
50
  end
@@ -457,23 +457,54 @@ module Aws::Organizations
457
457
  end
458
458
 
459
459
  # Attaches a policy to a root, an organizational unit (OU), or an
460
- # individual account.
461
- #
462
- # How the policy affects accounts depends on the type of policy:
463
- #
464
- # * For more information about attaching SCPs, see [How SCPs Work][1] in
465
- # the *AWS Organizations User Guide.*
466
- #
467
- # * For information about attaching tag policies, see [How Policy
468
- # Inheritance Works][2] in the *AWS Organizations User Guide.*
460
+ # individual account. How the policy affects accounts depends on the
461
+ # type of policy:
462
+ #
463
+ # * **Service control policy (SCP)** - An SCP specifies what permissions
464
+ # can be delegated to users in affected member accounts. The scope of
465
+ # influence for a policy depends on what you attach the policy to:
466
+ #
467
+ # * If you attach an SCP to a root, it affects all accounts in the
468
+ # organization.
469
+ #
470
+ # * If you attach an SCP to an OU, it affects all accounts in that OU
471
+ # and in any child OUs.
472
+ #
473
+ # * If you attach the policy directly to an account, it affects only
474
+ # that account.
475
+ #
476
+ # SCPs are JSON policies that specify the maximum permissions for an
477
+ # organization or organizational unit (OU). You can attach one SCP to
478
+ # a higher level root or OU, and a different SCP to a child OU or to
479
+ # an account. The child policy can further restrict only the
480
+ # permissions that pass through the parent filter and are available to
481
+ # the child. An SCP that is attached to a child can't grant a
482
+ # permission that the parent hasn't already granted. For example,
483
+ # imagine that the parent SCP allows permissions A, B, C, D, and E.
484
+ # The child SCP allows C, D, E, F, and G. The result is that the
485
+ # accounts affected by the child SCP are allowed to use only C, D, and
486
+ # E. They can't use A or B because the child OU filtered them out.
487
+ # They also can't use F and G because the parent OU filtered them
488
+ # out. They can't be granted back by the child SCP; child SCPs can
489
+ # only filter the permissions they receive from the parent SCP.
490
+ #
491
+ # AWS Organizations attaches a default SCP named `"FullAWSAccess` to
492
+ # every root, OU, and account. This default SCP allows all services
493
+ # and actions, enabling any new child OU or account to inherit the
494
+ # permissions of the parent root or OU. If you detach the default
495
+ # policy, you must replace it with a policy that specifies the
496
+ # permissions that you want to allow in that OU or account.
497
+ #
498
+ # For more information about how AWS Organizations policies
499
+ # permissions work, see [Using Service Control Policies][1] in the
500
+ # *AWS Organizations User Guide.*
469
501
  #
470
502
  # This operation can be called only from the organization's master
471
503
  # account.
472
504
  #
473
505
  #
474
506
  #
475
- # [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_about-scps.html
476
- # [2]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies-inheritance.html
507
+ # [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
477
508
  #
478
509
  # @option params [required, String] :policy_id
479
510
  # The unique identifier (ID) of the policy that you want to attach to
@@ -704,14 +735,14 @@ module Aws::Organizations
704
735
  # Account in Your Organization][3] in the *AWS Organizations User
705
736
  # Guide.*
706
737
  #
707
- # * When you create an account in an organization, the information
708
- # required for the account to operate as a standalone account is *not*
709
- # automatically collected. For example, information about the payment
710
- # method and signing the end user license agreement (EULA) is not
711
- # collected. If you must remove an account from your organization
712
- # later, you can do so only after you provide the missing information.
713
- # Follow the steps at [ To leave an organization as a member
714
- # account][4] in the *AWS Organizations User Guide*.
738
+ # * When you create an account in an organization using the AWS
739
+ # Organizations console, API, or CLI commands, the information
740
+ # required for the account to operate as a standalone account, such as
741
+ # a payment method and signing the end user license agreement (EULA)
742
+ # is *not* automatically collected. If you must remove an account from
743
+ # your organization later, you can do so only after you provide the
744
+ # missing information. Follow the steps at [ To leave an organization
745
+ # as a member account][4] in the *AWS Organizations User Guide*.
715
746
  #
716
747
  # * If you get an exception that indicates that you exceeded your
717
748
  # account limits for the organization, contact [AWS Support][5].
@@ -771,10 +802,13 @@ module Aws::Organizations
771
802
  # `OrganizationAccountAccessRole`.
772
803
  #
773
804
  # For more information about how to use this role to access the member
774
- # account, see [Accessing and Administering the Member Accounts in Your
775
- # Organization][1] in the *AWS Organizations User Guide*. Also see steps
776
- # 2 and 3 in [Tutorial: Delegate Access Across AWS Accounts Using IAM
777
- # Roles][2] in the *IAM User Guide.*
805
+ # account, see the following links:
806
+ #
807
+ # * [Accessing and Administering the Member Accounts in Your
808
+ # Organization][1] in the *AWS Organizations User Guide*
809
+ #
810
+ # * Steps 2 and 3 in [Tutorial: Delegate Access Across AWS Accounts
811
+ # Using IAM Roles][2] in the *IAM User Guide*
778
812
  #
779
813
  # The [regex pattern][3] that is used to validate this parameter. The
780
814
  # pattern can include uppercase letters, lowercase letters, digits with
@@ -794,9 +828,9 @@ module Aws::Organizations
794
828
  # the Billing and Cost Management Console][1] in the *AWS Billing and
795
829
  # Cost Management User Guide*.
796
830
  #
797
- # If you don't specify this parameter, the value defaults to `ALLOW`.
798
- # This value allows IAM users and roles with the required permissions to
799
- # access billing information for the new account.
831
+ # If you don't specify this parameter, the value defaults to `ALLOW`,
832
+ # and IAM users and roles with the required permissions can access
833
+ # billing information for the new account.
800
834
  #
801
835
  #
802
836
  #
@@ -920,24 +954,24 @@ module Aws::Organizations
920
954
  # allows the master account in the organization in the commercial Region
921
955
  # to assume it. An AWS GovCloud (US) account is then created and
922
956
  # associated with the commercial account that you just created. A role
923
- # is created in the new AWS GovCloud (US) account. This role can be
924
- # assumed by the AWS GovCloud (US) account that is associated with the
925
- # master account of the commercial organization. For more information
926
- # and to view a diagram that explains how account access works, see [AWS
957
+ # is created in the new AWS GovCloud (US) account that can be assumed by
958
+ # the AWS GovCloud (US) account that is associated with the master
959
+ # account of the commercial organization. For more information and to
960
+ # view a diagram that explains how account access works, see [AWS
927
961
  # Organizations][4] in the *AWS GovCloud User Guide.*
928
962
  #
929
963
  # For more information about creating accounts, see [Creating an AWS
930
964
  # Account in Your Organization][6] in the *AWS Organizations User
931
965
  # Guide.*
932
966
  #
933
- # * You can create an account in an organization using the AWS
934
- # Organizations console, API, or CLI commands. When you do, the
935
- # information required for the account to operate as a standalone
936
- # account, such as a payment method, is *not* automatically collected.
937
- # If you must remove an account from your organization later, you can
938
- # do so only after you provide the missing information. Follow the
939
- # steps at [ To leave an organization as a member account][7] in the
940
- # *AWS Organizations User Guide.*
967
+ # * When you create an account in an organization using the AWS
968
+ # Organizations console, API, or CLI commands, the information
969
+ # required for the account to operate as a standalone account, such as
970
+ # a payment method and signing the end user license agreement (EULA)
971
+ # is *not* automatically collected. If you must remove an account from
972
+ # your organization later, you can do so only after you provide the
973
+ # missing information. Follow the steps at [ To leave an organization
974
+ # as a member account][7] in the *AWS Organizations User Guide.*
941
975
  #
942
976
  # * If you get an exception that indicates that you exceeded your
943
977
  # account limits for the organization, contact [AWS Support][8].
@@ -985,8 +1019,8 @@ module Aws::Organizations
985
1019
  # of the account or remove an account that was created with an invalid
986
1020
  # email address. Like all request parameters for
987
1021
  # `CreateGovCloudAccount`, the request for the email address for the AWS
988
- # GovCloud (US) account originates from the commercial Region. It does
989
- # not come from the AWS GovCloud (US) Region.
1022
+ # GovCloud (US) account originates from the commercial Region, not from
1023
+ # the AWS GovCloud (US) Region.
990
1024
  #
991
1025
  # @option params [required, String] :account_name
992
1026
  # The friendly name of the member account.
@@ -1006,8 +1040,8 @@ module Aws::Organizations
1006
1040
  #
1007
1041
  # For more information about how to use this role to access the member
1008
1042
  # account, see [Accessing and Administering the Member Accounts in Your
1009
- # Organization][1] in the *AWS Organizations User Guide*. See also steps
1010
- # 2 and 3 in [Tutorial: Delegate Access Across AWS Accounts Using IAM
1043
+ # Organization][1] in the *AWS Organizations User Guide* and steps 2 and
1044
+ # 3 in [Tutorial: Delegate Access Across AWS Accounts Using IAM
1011
1045
  # Roles][2] in the *IAM User Guide.*
1012
1046
  #
1013
1047
  # The [regex pattern][3] that is used to validate this parameter. The
@@ -1078,11 +1112,12 @@ module Aws::Organizations
1078
1112
  # must also have the relevant IAM permissions.
1079
1113
  #
1080
1114
  # By default (or if you set the `FeatureSet` parameter to `ALL`), the
1081
- # new organization is created with all features enabled. In addition,
1082
- # service control policies are automatically enabled in the root. If you
1083
- # instead create the organization supporting only the consolidated
1084
- # billing features, no policy types are enabled by default, and you
1085
- # can't use organization policies.
1115
+ # new organization is created with all features enabled and service
1116
+ # control policies automatically enabled in the root. If you instead
1117
+ # choose to create the organization supporting only the consolidated
1118
+ # billing features by setting the `FeatureSet` parameter to
1119
+ # `CONSOLIDATED_BILLING"`, no policy types are enabled by default, and
1120
+ # you can't use organization policies
1086
1121
  #
1087
1122
  #
1088
1123
  #
@@ -1100,9 +1135,9 @@ module Aws::Organizations
1100
1135
  # The consolidated billing feature subset isn't available for
1101
1136
  # organizations in the AWS GovCloud (US) Region.
1102
1137
  #
1103
- # * `ALL`\: In addition to all the features that consolidated billing
1104
- # feature set supports, the master account can also apply any policy
1105
- # type to any member account in the organization. For more
1138
+ # * `ALL`\: In addition to all the features supported by the
1139
+ # consolidated billing feature set, the master account can also apply
1140
+ # any policy type to any member account in the organization. For more
1106
1141
  # information, see [All features][2] in the *AWS Organizations User
1107
1142
  # Guide.*
1108
1143
  #
@@ -1291,12 +1326,12 @@ module Aws::Organizations
1291
1326
  # [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies.html
1292
1327
  #
1293
1328
  # @option params [required, String] :content
1294
- # The policy content to add to the new policy. For example, you could
1295
- # create a [service control policy][1] (SCP) that specifies the
1296
- # permissions that administrators in attached accounts can delegate to
1297
- # their users, groups, and roles. The string for this SCP must be JSON
1298
- # text. For more information about the SCP syntax, see [Service Control
1299
- # Policy Syntax][2] in the *AWS Organizations User Guide.*
1329
+ # The policy content to add to the new policy. For example, if you
1330
+ # create a [service control policy][1] (SCP), this string must be JSON
1331
+ # text that specifies the permissions that admins in attached accounts
1332
+ # can delegate to their users, groups, and roles. For more information
1333
+ # about the SCP syntax, see [Service Control Policy Syntax][2] in the
1334
+ # *AWS Organizations User Guide.*
1300
1335
  #
1301
1336
  #
1302
1337
  #
@@ -1319,6 +1354,11 @@ module Aws::Organizations
1319
1354
  # @option params [required, String] :type
1320
1355
  # The type of policy to create.
1321
1356
  #
1357
+ # <note markdown="1"> In the current release, the only type of policy that you can create is
1358
+ # a service control policy (SCP).
1359
+ #
1360
+ # </note>
1361
+ #
1322
1362
  # @return [Types::CreatePolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1323
1363
  #
1324
1364
  # * {Types::CreatePolicyResponse#policy #policy} => Types::Policy
@@ -1388,8 +1428,7 @@ module Aws::Organizations
1388
1428
  # reinitiate the process with a new handshake request.
1389
1429
  #
1390
1430
  # After you decline a handshake, it continues to appear in the results
1391
- # of relevant API operations for only 30 days. After that, it's
1392
- # deleted.
1431
+ # of relevant APIs for only 30 days. After that, it's deleted.
1393
1432
  #
1394
1433
  # @option params [required, String] :handshake_id
1395
1434
  # The unique identifier (ID) of the handshake that you want to decline.
@@ -1603,12 +1642,60 @@ module Aws::Organizations
1603
1642
  req.send_request(options)
1604
1643
  end
1605
1644
 
1606
- # Retrieves AWS Organizations related information about the specified
1607
- # account.
1645
+ # Removes the specified member AWS account as a delegated administrator
1646
+ # for the specified AWS service.
1647
+ #
1648
+ # You can run this action only for AWS services that support this
1649
+ # feature. For a current list of services that support it, see [AWS
1650
+ # Services That Support Using Delegated Administrators][1] in the *AWS
1651
+ # Organizations User Guide.*
1608
1652
  #
1609
1653
  # This operation can be called only from the organization's master
1610
1654
  # account.
1611
1655
  #
1656
+ #
1657
+ #
1658
+ # [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrated-services-list.html#services-that-support-delegated-admin
1659
+ #
1660
+ # @option params [required, String] :account_id
1661
+ # The account ID number of the member account in the organization that
1662
+ # you want to deregister as a delegated administrator.
1663
+ #
1664
+ # @option params [required, String] :service_principal
1665
+ # The service principal name of an AWS service for which the account is
1666
+ # a delegated administrator.
1667
+ #
1668
+ # Delegated administrator privileges are revoked for only the specified
1669
+ # AWS service from the member account. If the specified service is the
1670
+ # only service for which the member account is a delegated
1671
+ # administrator, the operation also revokes Organizations read action
1672
+ # permissions.
1673
+ #
1674
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1675
+ #
1676
+ # @example Request syntax with placeholder values
1677
+ #
1678
+ # resp = client.deregister_delegated_administrator({
1679
+ # account_id: "AccountId", # required
1680
+ # service_principal: "ServicePrincipal", # required
1681
+ # })
1682
+ #
1683
+ # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DeregisterDelegatedAdministrator AWS API Documentation
1684
+ #
1685
+ # @overload deregister_delegated_administrator(params = {})
1686
+ # @param [Hash] params ({})
1687
+ def deregister_delegated_administrator(params = {}, options = {})
1688
+ req = build_request(:deregister_delegated_administrator, params)
1689
+ req.send_request(options)
1690
+ end
1691
+
1692
+ # Retrieves AWS Organizations-related information about the specified
1693
+ # account.
1694
+ #
1695
+ # This operation can be called only from the organization's master
1696
+ # account or by a member account that is a delegated administrator for
1697
+ # an AWS service.
1698
+ #
1612
1699
  # @option params [required, String] :account_id
1613
1700
  # The unique identifier (ID) of the AWS account that you want
1614
1701
  # information about. You can get the ID from the ListAccounts or
@@ -1673,7 +1760,8 @@ module Aws::Organizations
1673
1760
  # account.
1674
1761
  #
1675
1762
  # This operation can be called only from the organization's master
1676
- # account.
1763
+ # account or by a member account that is a delegated administrator for
1764
+ # an AWS service.
1677
1765
  #
1678
1766
  # @option params [required, String] :create_account_request_id
1679
1767
  # Specifies the `operationId` that uniquely identifies the request. You
@@ -1747,7 +1835,9 @@ module Aws::Organizations
1747
1835
  # For more information on policy inheritance, see [How Policy
1748
1836
  # Inheritance Works][1] in the *AWS Organizations User Guide*.
1749
1837
  #
1750
- # This operation can be called from any account in the organization.
1838
+ # This operation can be called only from the organization's master
1839
+ # account or by a member account that is a delegated administrator for
1840
+ # an AWS service.
1751
1841
  #
1752
1842
  #
1753
1843
  #
@@ -1963,7 +2053,8 @@ module Aws::Organizations
1963
2053
  # Retrieves information about an organizational unit (OU).
1964
2054
  #
1965
2055
  # This operation can be called only from the organization's master
1966
- # account.
2056
+ # account or by a member account that is a delegated administrator for
2057
+ # an AWS service.
1967
2058
  #
1968
2059
  # @option params [required, String] :organizational_unit_id
1969
2060
  # The unique identifier (ID) of the organizational unit that you want
@@ -2025,7 +2116,8 @@ module Aws::Organizations
2025
2116
  # Retrieves information about a policy.
2026
2117
  #
2027
2118
  # This operation can be called only from the organization's master
2028
- # account.
2119
+ # account or by a member account that is a delegated administrator for
2120
+ # an AWS service.
2029
2121
  #
2030
2122
  # @option params [required, String] :policy_id
2031
2123
  # The unique identifier (ID) of the policy that you want details about.
@@ -2099,15 +2191,15 @@ module Aws::Organizations
2099
2191
  # accounts are immediate.
2100
2192
  #
2101
2193
  # **Note:** Every root, OU, and account must have at least one SCP
2102
- # attached. You can replace the default `FullAWSAccess` policy with one
2103
- # that limits the permissions that can be delegated. To do that, you
2104
- # must attach the replacement policy before you can remove the default
2105
- # one. This is the authorization strategy of using an [allow list][1].
2106
- # You could instead attach a second SCP and leave the `FullAWSAccess`
2107
- # SCP still attached. You could then specify `"Effect": "Deny"` in the
2108
- # second SCP to override the `"Effect": "Allow"` in the `FullAWSAccess`
2109
- # policy (or any other attached SCP). If you take these steps, you're
2110
- # using the authorization strategy of a [deny list][2].
2194
+ # attached. If you want to replace the default `FullAWSAccess` policy
2195
+ # with one that limits the permissions that can be delegated, you must
2196
+ # attach the replacement policy before you can remove the default one.
2197
+ # This is the authorization strategy of an "[allow list][1]". If you
2198
+ # instead attach a second SCP and leave the `FullAWSAccess` SCP still
2199
+ # attached, and specify `"Effect": "Deny"` in the second SCP to override
2200
+ # the `"Effect": "Allow"` in the `FullAWSAccess` policy (or any other
2201
+ # attached SCP), you're using the authorization strategy of a "[deny
2202
+ # list][2]".
2111
2203
  #
2112
2204
  # This operation can be called only from the organization's master
2113
2205
  # account.
@@ -2200,9 +2292,8 @@ module Aws::Organizations
2200
2292
  #
2201
2293
  # After you perform the `DisableAWSServiceAccess` operation, the
2202
2294
  # specified service can no longer perform operations in your
2203
- # organization's accounts. The only exception is when the operations
2204
- # are explicitly permitted by IAM policies that are attached to your
2205
- # roles.
2295
+ # organization's accounts unless the operations are explicitly
2296
+ # permitted by the IAM policies that are attached to your roles.
2206
2297
  #
2207
2298
  # For more information about integrating other services with AWS
2208
2299
  # Organizations, including the list of services that work with
@@ -2239,13 +2330,12 @@ module Aws::Organizations
2239
2330
  req.send_request(options)
2240
2331
  end
2241
2332
 
2242
- # Disables an organizational control policy type in a root and detaches
2243
- # all policies of that type from the organization root, OUs, and
2244
- # accounts. A policy of a certain type can be attached to entities in a
2245
- # root only if that type is enabled in the root. After you perform this
2246
- # operation, you no longer can attach policies of the specified type to
2247
- # that root or to any organizational unit (OU) or account in that root.
2248
- # You can undo this by using the EnablePolicyType operation.
2333
+ # Disables an organizational control policy type in a root. A policy of
2334
+ # a certain type can be attached to entities in a root only if that type
2335
+ # is enabled in the root. After you perform this operation, you no
2336
+ # longer can attach policies of the specified type to that root or to
2337
+ # any organizational unit (OU) or account in that root. You can undo
2338
+ # this by using the EnablePolicyType operation.
2249
2339
  #
2250
2340
  # This is an asynchronous request that AWS performs in the background.
2251
2341
  # If you disable a policy for a root, it still appears enabled for the
@@ -2381,7 +2471,7 @@ module Aws::Organizations
2381
2471
  # Enables all features in an organization. This enables the use of
2382
2472
  # organization policies that can restrict the services and actions that
2383
2473
  # can be called in each account. Until you enable all features, you have
2384
- # access only to consolidated billing. You can't use any of the
2474
+ # access only to consolidated billing, and you can't use any of the
2385
2475
  # advanced account administration features that AWS Organizations
2386
2476
  # supports. For more information, see [Enabling All Features in Your
2387
2477
  # Organization][1] in the *AWS Organizations User Guide.*
@@ -2391,8 +2481,7 @@ module Aws::Organizations
2391
2481
  # Calling this operation sends a handshake to every invited account in
2392
2482
  # the organization. The feature set change can be finalized and the
2393
2483
  # additional features enabled only after all administrators in the
2394
- # invited accounts approve the change. Accepting the handshake approves
2395
- # the change.
2484
+ # invited accounts approve the change by accepting the handshake.
2396
2485
  #
2397
2486
  # After you enable all features, you can separately enable or disable
2398
2487
  # individual policy types in a root using EnablePolicyType and
@@ -2574,18 +2663,18 @@ module Aws::Organizations
2574
2663
  # response.
2575
2664
  #
2576
2665
  # * You can invite AWS accounts only from the same seller as the master
2577
- # account. For example, assume that your organization's master
2578
- # account was created by Amazon Internet Services Pvt. Ltd (AISPL), an
2579
- # AWS seller in India. You can invite only other AISPL accounts to
2580
- # your organization. You can't combine accounts from AISPL and AWS or
2581
- # from any other AWS seller. For more information, see [Consolidated
2666
+ # account. For example, if your organization's master account was
2667
+ # created by Amazon Internet Services Pvt. Ltd (AISPL), an AWS seller
2668
+ # in India, you can invite only other AISPL accounts to your
2669
+ # organization. You can't combine accounts from AISPL and AWS or from
2670
+ # any other AWS seller. For more information, see [Consolidated
2582
2671
  # Billing in India][1].
2583
2672
  #
2584
- # * You might receive an exception that indicates that you exceeded your
2673
+ # * If you receive an exception that indicates that you exceeded your
2585
2674
  # account limits for the organization or that the operation failed
2586
- # because your organization is still initializing. If so, wait one
2587
- # hour and then try again. If the error persists after an hour,
2588
- # contact [AWS Support][2].
2675
+ # because your organization is still initializing, wait one hour and
2676
+ # then try again. If the error persists after an hour, contact [AWS
2677
+ # Support][2].
2589
2678
  #
2590
2679
  # This operation can be called only from the organization's master
2591
2680
  # account.
@@ -2726,24 +2815,31 @@ module Aws::Organizations
2726
2815
  #
2727
2816
  # * The master account in an organization with all features enabled can
2728
2817
  # set service control policies (SCPs) that can restrict what
2729
- # administrators of member accounts can do. These restrictions can
2730
- # include preventing member accounts from successfully calling
2731
- # `LeaveOrganization`.
2818
+ # administrators of member accounts can do. This includes preventing
2819
+ # them from successfully calling `LeaveOrganization` and leaving the
2820
+ # organization.
2732
2821
  #
2733
2822
  # * You can leave an organization as a member account only if the
2734
2823
  # account is configured with the information required to operate as a
2735
2824
  # standalone account. When you create an account in an organization
2736
- # using the AWS Organizations console, API, or CLI, the information
2737
- # required of standalone accounts is *not* automatically collected.
2738
- # For each account that you want to make standalone, you must accept
2739
- # the end user license agreement (EULA). You must also choose a
2740
- # support plan, provide and verify the required contact information,
2741
- # and provide a current payment method. AWS uses the payment method to
2742
- # charge for any billable (not free tier) AWS activity that occurs
2743
- # while the account isn't attached to an organization. Follow the
2744
- # steps at [ To leave an organization when all required account
2745
- # information has not yet been provided][1] in the *AWS Organizations
2746
- # User Guide.*
2825
+ # using the AWS Organizations console, API, or CLI commands, the
2826
+ # information required of standalone accounts is *not* automatically
2827
+ # collected. For each account that you want to make standalone, you
2828
+ # must do the following steps:
2829
+ #
2830
+ # * Accept the end user license agreement (EULA)
2831
+ #
2832
+ # * Choose a support plan
2833
+ #
2834
+ # * Provide and verify the required contact information
2835
+ #
2836
+ # * Provide a current payment method
2837
+ #
2838
+ # AWS uses the payment method to charge for any billable (not free
2839
+ # tier) AWS activity that occurs while the account isn't attached to
2840
+ # an organization. Follow the steps at [ To leave an organization when
2841
+ # all required account information has not yet been provided][1] in
2842
+ # the *AWS Organizations User Guide.*
2747
2843
  #
2748
2844
  # * You can leave an organization only after you enable IAM user access
2749
2845
  # to billing in your account. For more information, see [Activating
@@ -2785,35 +2881,39 @@ module Aws::Organizations
2785
2881
  # Services][1] in the *AWS Organizations User Guide.*
2786
2882
  #
2787
2883
  # This operation can be called only from the organization's master
2788
- # account.
2884
+ # account or by a member account that is a delegated administrator for
2885
+ # an AWS service.
2789
2886
  #
2790
2887
  #
2791
2888
  #
2792
2889
  # [1]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services.html
2793
2890
  #
2794
2891
  # @option params [String] :next_token
2795
- # Use this parameter if you receive a `NextToken` response in a previous
2796
- # request that indicates that there is more output available. Set it to
2797
- # the value of the previous call's `NextToken` response to indicate
2798
- # where the output should continue from.
2892
+ # The parameter for receiving additional results if you receive a
2893
+ # `NextToken` response in a previous request. A `NextToken` response
2894
+ # indicates that more output is available. Set this parameter to the
2895
+ # value of the previous call's `NextToken` response to indicate where
2896
+ # the output should continue from.
2799
2897
  #
2800
2898
  # @option params [Integer] :max_results
2801
- # (Optional) Use this to limit the number of results you want included
2802
- # per page in the response. If you do not include this parameter, it
2803
- # defaults to a value that is specific to the operation. If additional
2804
- # items exist beyond the maximum you specify, the `NextToken` response
2805
- # element is present and has a value (is not null). Include that value
2806
- # as the `NextToken` request parameter in the next call to the operation
2807
- # to get the next part of the results. Note that Organizations might
2808
- # return fewer results than the maximum even when there are more results
2809
- # available. You should check `NextToken` after every operation to
2810
- # ensure that you receive all of the results.
2899
+ # The total number of results that you want included on each page of the
2900
+ # response. If you do not include this parameter, it defaults to a value
2901
+ # that is specific to the operation. If additional items exist beyond
2902
+ # the maximum you specify, the `NextToken` response element is present
2903
+ # and has a value (is not null). Include that value as the `NextToken`
2904
+ # request parameter in the next call to the operation to get the next
2905
+ # part of the results. Note that Organizations might return fewer
2906
+ # results than the maximum even when there are more results available.
2907
+ # You should check `NextToken` after every operation to ensure that you
2908
+ # receive all of the results.
2811
2909
  #
2812
2910
  # @return [Types::ListAWSServiceAccessForOrganizationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2813
2911
  #
2814
2912
  # * {Types::ListAWSServiceAccessForOrganizationResponse#enabled_service_principals #enabled_service_principals} => Array&lt;Types::EnabledServicePrincipal&gt;
2815
2913
  # * {Types::ListAWSServiceAccessForOrganizationResponse#next_token #next_token} => String
2816
2914
  #
2915
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2916
+ #
2817
2917
  # @example Request syntax with placeholder values
2818
2918
  #
2819
2919
  # resp = client.list_aws_service_access_for_organization({
@@ -2850,31 +2950,35 @@ module Aws::Organizations
2850
2950
  # </note>
2851
2951
  #
2852
2952
  # This operation can be called only from the organization's master
2853
- # account.
2953
+ # account or by a member account that is a delegated administrator for
2954
+ # an AWS service.
2854
2955
  #
2855
2956
  # @option params [String] :next_token
2856
- # Use this parameter if you receive a `NextToken` response in a previous
2857
- # request that indicates that there is more output available. Set it to
2858
- # the value of the previous call's `NextToken` response to indicate
2859
- # where the output should continue from.
2957
+ # The parameter for receiving additional results if you receive a
2958
+ # `NextToken` response in a previous request. A `NextToken` response
2959
+ # indicates that more output is available. Set this parameter to the
2960
+ # value of the previous call's `NextToken` response to indicate where
2961
+ # the output should continue from.
2860
2962
  #
2861
2963
  # @option params [Integer] :max_results
2862
- # (Optional) Use this to limit the number of results you want included
2863
- # per page in the response. If you do not include this parameter, it
2864
- # defaults to a value that is specific to the operation. If additional
2865
- # items exist beyond the maximum you specify, the `NextToken` response
2866
- # element is present and has a value (is not null). Include that value
2867
- # as the `NextToken` request parameter in the next call to the operation
2868
- # to get the next part of the results. Note that Organizations might
2869
- # return fewer results than the maximum even when there are more results
2870
- # available. You should check `NextToken` after every operation to
2871
- # ensure that you receive all of the results.
2964
+ # The total number of results that you want included on each page of the
2965
+ # response. If you do not include this parameter, it defaults to a value
2966
+ # that is specific to the operation. If additional items exist beyond
2967
+ # the maximum you specify, the `NextToken` response element is present
2968
+ # and has a value (is not null). Include that value as the `NextToken`
2969
+ # request parameter in the next call to the operation to get the next
2970
+ # part of the results. Note that Organizations might return fewer
2971
+ # results than the maximum even when there are more results available.
2972
+ # You should check `NextToken` after every operation to ensure that you
2973
+ # receive all of the results.
2872
2974
  #
2873
2975
  # @return [Types::ListAccountsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2874
2976
  #
2875
2977
  # * {Types::ListAccountsResponse#accounts #accounts} => Array&lt;Types::Account&gt;
2876
2978
  # * {Types::ListAccountsResponse#next_token #next_token} => String
2877
2979
  #
2980
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2981
+ #
2878
2982
  #
2879
2983
  # @example Example: To retrieve a list of all of the accounts in an organization
2880
2984
  #
@@ -2969,35 +3073,39 @@ module Aws::Organizations
2969
3073
  # </note>
2970
3074
  #
2971
3075
  # This operation can be called only from the organization's master
2972
- # account.
3076
+ # account or by a member account that is a delegated administrator for
3077
+ # an AWS service.
2973
3078
  #
2974
3079
  # @option params [required, String] :parent_id
2975
3080
  # The unique identifier (ID) for the parent root or organization unit
2976
3081
  # (OU) whose accounts you want to list.
2977
3082
  #
2978
3083
  # @option params [String] :next_token
2979
- # Use this parameter if you receive a `NextToken` response in a previous
2980
- # request that indicates that there is more output available. Set it to
2981
- # the value of the previous call's `NextToken` response to indicate
2982
- # where the output should continue from.
3084
+ # The parameter for receiving additional results if you receive a
3085
+ # `NextToken` response in a previous request. A `NextToken` response
3086
+ # indicates that more output is available. Set this parameter to the
3087
+ # value of the previous call's `NextToken` response to indicate where
3088
+ # the output should continue from.
2983
3089
  #
2984
3090
  # @option params [Integer] :max_results
2985
- # (Optional) Use this to limit the number of results you want included
2986
- # per page in the response. If you do not include this parameter, it
2987
- # defaults to a value that is specific to the operation. If additional
2988
- # items exist beyond the maximum you specify, the `NextToken` response
2989
- # element is present and has a value (is not null). Include that value
2990
- # as the `NextToken` request parameter in the next call to the operation
2991
- # to get the next part of the results. Note that Organizations might
2992
- # return fewer results than the maximum even when there are more results
2993
- # available. You should check `NextToken` after every operation to
2994
- # ensure that you receive all of the results.
3091
+ # The total number of results that you want included on each page of the
3092
+ # response. If you do not include this parameter, it defaults to a value
3093
+ # that is specific to the operation. If additional items exist beyond
3094
+ # the maximum you specify, the `NextToken` response element is present
3095
+ # and has a value (is not null). Include that value as the `NextToken`
3096
+ # request parameter in the next call to the operation to get the next
3097
+ # part of the results. Note that Organizations might return fewer
3098
+ # results than the maximum even when there are more results available.
3099
+ # You should check `NextToken` after every operation to ensure that you
3100
+ # receive all of the results.
2995
3101
  #
2996
3102
  # @return [Types::ListAccountsForParentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2997
3103
  #
2998
3104
  # * {Types::ListAccountsForParentResponse#accounts #accounts} => Array&lt;Types::Account&gt;
2999
3105
  # * {Types::ListAccountsForParentResponse#next_token #next_token} => String
3000
3106
  #
3107
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3108
+ #
3001
3109
  #
3002
3110
  # @example Example: To retrieve a list of all of the accounts in a root or OU
3003
3111
  #
@@ -3074,7 +3182,8 @@ module Aws::Organizations
3074
3182
  # </note>
3075
3183
  #
3076
3184
  # This operation can be called only from the organization's master
3077
- # account.
3185
+ # account or by a member account that is a delegated administrator for
3186
+ # an AWS service.
3078
3187
  #
3079
3188
  # @option params [required, String] :parent_id
3080
3189
  # The unique identifier (ID) for the parent root or OU whose children
@@ -3099,28 +3208,31 @@ module Aws::Organizations
3099
3208
  # Filters the output to include only the specified child type.
3100
3209
  #
3101
3210
  # @option params [String] :next_token
3102
- # Use this parameter if you receive a `NextToken` response in a previous
3103
- # request that indicates that there is more output available. Set it to
3104
- # the value of the previous call's `NextToken` response to indicate
3105
- # where the output should continue from.
3211
+ # The parameter for receiving additional results if you receive a
3212
+ # `NextToken` response in a previous request. A `NextToken` response
3213
+ # indicates that more output is available. Set this parameter to the
3214
+ # value of the previous call's `NextToken` response to indicate where
3215
+ # the output should continue from.
3106
3216
  #
3107
3217
  # @option params [Integer] :max_results
3108
- # (Optional) Use this to limit the number of results you want included
3109
- # per page in the response. If you do not include this parameter, it
3110
- # defaults to a value that is specific to the operation. If additional
3111
- # items exist beyond the maximum you specify, the `NextToken` response
3112
- # element is present and has a value (is not null). Include that value
3113
- # as the `NextToken` request parameter in the next call to the operation
3114
- # to get the next part of the results. Note that Organizations might
3115
- # return fewer results than the maximum even when there are more results
3116
- # available. You should check `NextToken` after every operation to
3117
- # ensure that you receive all of the results.
3218
+ # The total number of results that you want included on each page of the
3219
+ # response. If you do not include this parameter, it defaults to a value
3220
+ # that is specific to the operation. If additional items exist beyond
3221
+ # the maximum you specify, the `NextToken` response element is present
3222
+ # and has a value (is not null). Include that value as the `NextToken`
3223
+ # request parameter in the next call to the operation to get the next
3224
+ # part of the results. Note that Organizations might return fewer
3225
+ # results than the maximum even when there are more results available.
3226
+ # You should check `NextToken` after every operation to ensure that you
3227
+ # receive all of the results.
3118
3228
  #
3119
3229
  # @return [Types::ListChildrenResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3120
3230
  #
3121
3231
  # * {Types::ListChildrenResponse#children #children} => Array&lt;Types::Child&gt;
3122
3232
  # * {Types::ListChildrenResponse#next_token #next_token} => String
3123
3233
  #
3234
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3235
+ #
3124
3236
  #
3125
3237
  # @example Example: To retrieve a list of all of the child accounts and OUs in a parent root or OU
3126
3238
  #
@@ -3182,7 +3294,8 @@ module Aws::Organizations
3182
3294
  # </note>
3183
3295
  #
3184
3296
  # This operation can be called only from the organization's master
3185
- # account.
3297
+ # account or by a member account that is a delegated administrator for
3298
+ # an AWS service.
3186
3299
  #
3187
3300
  # @option params [Array<String>] :states
3188
3301
  # A list of one or more states that you want included in the response.
@@ -3190,28 +3303,31 @@ module Aws::Organizations
3190
3303
  # response.
3191
3304
  #
3192
3305
  # @option params [String] :next_token
3193
- # Use this parameter if you receive a `NextToken` response in a previous
3194
- # request that indicates that there is more output available. Set it to
3195
- # the value of the previous call's `NextToken` response to indicate
3196
- # where the output should continue from.
3306
+ # The parameter for receiving additional results if you receive a
3307
+ # `NextToken` response in a previous request. A `NextToken` response
3308
+ # indicates that more output is available. Set this parameter to the
3309
+ # value of the previous call's `NextToken` response to indicate where
3310
+ # the output should continue from.
3197
3311
  #
3198
3312
  # @option params [Integer] :max_results
3199
- # (Optional) Use this to limit the number of results you want included
3200
- # per page in the response. If you do not include this parameter, it
3201
- # defaults to a value that is specific to the operation. If additional
3202
- # items exist beyond the maximum you specify, the `NextToken` response
3203
- # element is present and has a value (is not null). Include that value
3204
- # as the `NextToken` request parameter in the next call to the operation
3205
- # to get the next part of the results. Note that Organizations might
3206
- # return fewer results than the maximum even when there are more results
3207
- # available. You should check `NextToken` after every operation to
3208
- # ensure that you receive all of the results.
3313
+ # The total number of results that you want included on each page of the
3314
+ # response. If you do not include this parameter, it defaults to a value
3315
+ # that is specific to the operation. If additional items exist beyond
3316
+ # the maximum you specify, the `NextToken` response element is present
3317
+ # and has a value (is not null). Include that value as the `NextToken`
3318
+ # request parameter in the next call to the operation to get the next
3319
+ # part of the results. Note that Organizations might return fewer
3320
+ # results than the maximum even when there are more results available.
3321
+ # You should check `NextToken` after every operation to ensure that you
3322
+ # receive all of the results.
3209
3323
  #
3210
3324
  # @return [Types::ListCreateAccountStatusResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3211
3325
  #
3212
3326
  # * {Types::ListCreateAccountStatusResponse#create_account_statuses #create_account_statuses} => Array&lt;Types::CreateAccountStatus&gt;
3213
3327
  # * {Types::ListCreateAccountStatusResponse#next_token #next_token} => String
3214
3328
  #
3329
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3330
+ #
3215
3331
  #
3216
3332
  # @example Example: To get a list of completed account creation requests made in the organization
3217
3333
  #
@@ -3291,6 +3407,137 @@ module Aws::Organizations
3291
3407
  req.send_request(options)
3292
3408
  end
3293
3409
 
3410
+ # Lists the AWS accounts that are designated as delegated administrators
3411
+ # in this organization.
3412
+ #
3413
+ # This operation can be called only from the organization's master
3414
+ # account or by a member account that is a delegated administrator for
3415
+ # an AWS service.
3416
+ #
3417
+ # @option params [String] :service_principal
3418
+ # Specifies a service principal name. If specified, then the operation
3419
+ # lists the delegated administrators only for the specified service.
3420
+ #
3421
+ # If you don't specify a service principal, the operation lists all
3422
+ # delegated administrators for all services in your organization.
3423
+ #
3424
+ # @option params [String] :next_token
3425
+ # The parameter for receiving additional results if you receive a
3426
+ # `NextToken` response in a previous request. A `NextToken` response
3427
+ # indicates that more output is available. Set this parameter to the
3428
+ # value of the previous call's `NextToken` response to indicate where
3429
+ # the output should continue from.
3430
+ #
3431
+ # @option params [Integer] :max_results
3432
+ # The total number of results that you want included on each page of the
3433
+ # response. If you do not include this parameter, it defaults to a value
3434
+ # that is specific to the operation. If additional items exist beyond
3435
+ # the maximum you specify, the `NextToken` response element is present
3436
+ # and has a value (is not null). Include that value as the `NextToken`
3437
+ # request parameter in the next call to the operation to get the next
3438
+ # part of the results. Note that Organizations might return fewer
3439
+ # results than the maximum even when there are more results available.
3440
+ # You should check `NextToken` after every operation to ensure that you
3441
+ # receive all of the results.
3442
+ #
3443
+ # @return [Types::ListDelegatedAdministratorsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3444
+ #
3445
+ # * {Types::ListDelegatedAdministratorsResponse#delegated_administrators #delegated_administrators} => Array&lt;Types::DelegatedAdministrator&gt;
3446
+ # * {Types::ListDelegatedAdministratorsResponse#next_token #next_token} => String
3447
+ #
3448
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3449
+ #
3450
+ # @example Request syntax with placeholder values
3451
+ #
3452
+ # resp = client.list_delegated_administrators({
3453
+ # service_principal: "ServicePrincipal",
3454
+ # next_token: "NextToken",
3455
+ # max_results: 1,
3456
+ # })
3457
+ #
3458
+ # @example Response structure
3459
+ #
3460
+ # resp.delegated_administrators #=> Array
3461
+ # resp.delegated_administrators[0].id #=> String
3462
+ # resp.delegated_administrators[0].arn #=> String
3463
+ # resp.delegated_administrators[0].email #=> String
3464
+ # resp.delegated_administrators[0].name #=> String
3465
+ # resp.delegated_administrators[0].status #=> String, one of "ACTIVE", "SUSPENDED"
3466
+ # resp.delegated_administrators[0].joined_method #=> String, one of "INVITED", "CREATED"
3467
+ # resp.delegated_administrators[0].joined_timestamp #=> Time
3468
+ # resp.delegated_administrators[0].delegation_enabled_date #=> Time
3469
+ # resp.next_token #=> String
3470
+ #
3471
+ # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListDelegatedAdministrators AWS API Documentation
3472
+ #
3473
+ # @overload list_delegated_administrators(params = {})
3474
+ # @param [Hash] params ({})
3475
+ def list_delegated_administrators(params = {}, options = {})
3476
+ req = build_request(:list_delegated_administrators, params)
3477
+ req.send_request(options)
3478
+ end
3479
+
3480
+ # List the AWS services for which the specified account is a delegated
3481
+ # administrator.
3482
+ #
3483
+ # This operation can be called only from the organization's master
3484
+ # account or by a member account that is a delegated administrator for
3485
+ # an AWS service.
3486
+ #
3487
+ # @option params [required, String] :account_id
3488
+ # The account ID number of a delegated administrator account in the
3489
+ # organization.
3490
+ #
3491
+ # @option params [String] :next_token
3492
+ # The parameter for receiving additional results if you receive a
3493
+ # `NextToken` response in a previous request. A `NextToken` response
3494
+ # indicates that more output is available. Set this parameter to the
3495
+ # value of the previous call's `NextToken` response to indicate where
3496
+ # the output should continue from.
3497
+ #
3498
+ # @option params [Integer] :max_results
3499
+ # The total number of results that you want included on each page of the
3500
+ # response. If you do not include this parameter, it defaults to a value
3501
+ # that is specific to the operation. If additional items exist beyond
3502
+ # the maximum you specify, the `NextToken` response element is present
3503
+ # and has a value (is not null). Include that value as the `NextToken`
3504
+ # request parameter in the next call to the operation to get the next
3505
+ # part of the results. Note that Organizations might return fewer
3506
+ # results than the maximum even when there are more results available.
3507
+ # You should check `NextToken` after every operation to ensure that you
3508
+ # receive all of the results.
3509
+ #
3510
+ # @return [Types::ListDelegatedServicesForAccountResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3511
+ #
3512
+ # * {Types::ListDelegatedServicesForAccountResponse#delegated_services #delegated_services} => Array&lt;Types::DelegatedService&gt;
3513
+ # * {Types::ListDelegatedServicesForAccountResponse#next_token #next_token} => String
3514
+ #
3515
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3516
+ #
3517
+ # @example Request syntax with placeholder values
3518
+ #
3519
+ # resp = client.list_delegated_services_for_account({
3520
+ # account_id: "AccountId", # required
3521
+ # next_token: "NextToken",
3522
+ # max_results: 1,
3523
+ # })
3524
+ #
3525
+ # @example Response structure
3526
+ #
3527
+ # resp.delegated_services #=> Array
3528
+ # resp.delegated_services[0].service_principal #=> String
3529
+ # resp.delegated_services[0].delegation_enabled_date #=> Time
3530
+ # resp.next_token #=> String
3531
+ #
3532
+ # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListDelegatedServicesForAccount AWS API Documentation
3533
+ #
3534
+ # @overload list_delegated_services_for_account(params = {})
3535
+ # @param [Hash] params ({})
3536
+ def list_delegated_services_for_account(params = {}, options = {})
3537
+ req = build_request(:list_delegated_services_for_account, params)
3538
+ req.send_request(options)
3539
+ end
3540
+
3294
3541
  # Lists the current handshakes that are associated with the account of
3295
3542
  # the requesting user.
3296
3543
  #
@@ -3306,41 +3553,45 @@ module Aws::Organizations
3306
3553
  #
3307
3554
  # </note>
3308
3555
  #
3309
- # This operation can be called from any account in the organization.
3556
+ # This operation can be called only from the organization's master
3557
+ # account or by a member account that is a delegated administrator for
3558
+ # an AWS service.
3310
3559
  #
3311
3560
  # @option params [Types::HandshakeFilter] :filter
3312
3561
  # Filters the handshakes that you want included in the response. The
3313
3562
  # default is all types. Use the `ActionType` element to limit the output
3314
3563
  # to only a specified type, such as `INVITE`, `ENABLE_ALL_FEATURES`, or
3315
- # `APPROVE_ALL_FEATURES`. Alternatively, you can specify the
3316
- # `ENABLE_ALL_FEATURES` handshake, which generates a separate child
3317
- # handshake for each member account. When you do specify
3318
- # `ParentHandshakeId` to see only the handshakes that were generated by
3319
- # that parent request.
3564
+ # `APPROVE_ALL_FEATURES`. Alternatively, for the `ENABLE_ALL_FEATURES`
3565
+ # handshake that generates a separate child handshake for each member
3566
+ # account, you can specify `ParentHandshakeId` to see only the
3567
+ # handshakes that were generated by that parent request.
3320
3568
  #
3321
3569
  # @option params [String] :next_token
3322
- # Use this parameter if you receive a `NextToken` response in a previous
3323
- # request that indicates that there is more output available. Set it to
3324
- # the value of the previous call's `NextToken` response to indicate
3325
- # where the output should continue from.
3570
+ # The parameter for receiving additional results if you receive a
3571
+ # `NextToken` response in a previous request. A `NextToken` response
3572
+ # indicates that more output is available. Set this parameter to the
3573
+ # value of the previous call's `NextToken` response to indicate where
3574
+ # the output should continue from.
3326
3575
  #
3327
3576
  # @option params [Integer] :max_results
3328
- # (Optional) Use this to limit the number of results you want included
3329
- # per page in the response. If you do not include this parameter, it
3330
- # defaults to a value that is specific to the operation. If additional
3331
- # items exist beyond the maximum you specify, the `NextToken` response
3332
- # element is present and has a value (is not null). Include that value
3333
- # as the `NextToken` request parameter in the next call to the operation
3334
- # to get the next part of the results. Note that Organizations might
3335
- # return fewer results than the maximum even when there are more results
3336
- # available. You should check `NextToken` after every operation to
3337
- # ensure that you receive all of the results.
3577
+ # The total number of results that you want included on each page of the
3578
+ # response. If you do not include this parameter, it defaults to a value
3579
+ # that is specific to the operation. If additional items exist beyond
3580
+ # the maximum you specify, the `NextToken` response element is present
3581
+ # and has a value (is not null). Include that value as the `NextToken`
3582
+ # request parameter in the next call to the operation to get the next
3583
+ # part of the results. Note that Organizations might return fewer
3584
+ # results than the maximum even when there are more results available.
3585
+ # You should check `NextToken` after every operation to ensure that you
3586
+ # receive all of the results.
3338
3587
  #
3339
3588
  # @return [Types::ListHandshakesForAccountResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3340
3589
  #
3341
3590
  # * {Types::ListHandshakesForAccountResponse#handshakes #handshakes} => Array&lt;Types::Handshake&gt;
3342
3591
  # * {Types::ListHandshakesForAccountResponse#next_token #next_token} => String
3343
3592
  #
3593
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3594
+ #
3344
3595
  #
3345
3596
  # @example Example: To retrieve a list of the handshakes sent to an account
3346
3597
  #
@@ -3454,41 +3705,44 @@ module Aws::Organizations
3454
3705
  # </note>
3455
3706
  #
3456
3707
  # This operation can be called only from the organization's master
3457
- # account.
3708
+ # account or by a member account that is a delegated administrator for
3709
+ # an AWS service.
3458
3710
  #
3459
3711
  # @option params [Types::HandshakeFilter] :filter
3460
3712
  # A filter of the handshakes that you want included in the response. The
3461
3713
  # default is all types. Use the `ActionType` element to limit the output
3462
3714
  # to only a specified type, such as `INVITE`, `ENABLE-ALL-FEATURES`, or
3463
- # `APPROVE-ALL-FEATURES`. Alternatively, you can specify the
3464
- # `ENABLE-ALL-FEATURES` handshake, which generates a separate child
3465
- # handshake for each member account. When you do, specify the
3466
- # `ParentHandshakeId` to see only the handshakes that were generated by
3467
- # that parent request.
3715
+ # `APPROVE-ALL-FEATURES`. Alternatively, for the `ENABLE-ALL-FEATURES`
3716
+ # handshake that generates a separate child handshake for each member
3717
+ # account, you can specify the `ParentHandshakeId` to see only the
3718
+ # handshakes that were generated by that parent request.
3468
3719
  #
3469
3720
  # @option params [String] :next_token
3470
- # Use this parameter if you receive a `NextToken` response in a previous
3471
- # request that indicates that there is more output available. Set it to
3472
- # the value of the previous call's `NextToken` response to indicate
3473
- # where the output should continue from.
3721
+ # The parameter for receiving additional results if you receive a
3722
+ # `NextToken` response in a previous request. A `NextToken` response
3723
+ # indicates that more output is available. Set this parameter to the
3724
+ # value of the previous call's `NextToken` response to indicate where
3725
+ # the output should continue from.
3474
3726
  #
3475
3727
  # @option params [Integer] :max_results
3476
- # (Optional) Use this to limit the number of results you want included
3477
- # per page in the response. If you do not include this parameter, it
3478
- # defaults to a value that is specific to the operation. If additional
3479
- # items exist beyond the maximum you specify, the `NextToken` response
3480
- # element is present and has a value (is not null). Include that value
3481
- # as the `NextToken` request parameter in the next call to the operation
3482
- # to get the next part of the results. Note that Organizations might
3483
- # return fewer results than the maximum even when there are more results
3484
- # available. You should check `NextToken` after every operation to
3485
- # ensure that you receive all of the results.
3728
+ # The total number of results that you want included on each page of the
3729
+ # response. If you do not include this parameter, it defaults to a value
3730
+ # that is specific to the operation. If additional items exist beyond
3731
+ # the maximum you specify, the `NextToken` response element is present
3732
+ # and has a value (is not null). Include that value as the `NextToken`
3733
+ # request parameter in the next call to the operation to get the next
3734
+ # part of the results. Note that Organizations might return fewer
3735
+ # results than the maximum even when there are more results available.
3736
+ # You should check `NextToken` after every operation to ensure that you
3737
+ # receive all of the results.
3486
3738
  #
3487
3739
  # @return [Types::ListHandshakesForOrganizationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3488
3740
  #
3489
3741
  # * {Types::ListHandshakesForOrganizationResponse#handshakes #handshakes} => Array&lt;Types::Handshake&gt;
3490
3742
  # * {Types::ListHandshakesForOrganizationResponse#next_token #next_token} => String
3491
3743
  #
3744
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3745
+ #
3492
3746
  #
3493
3747
  # @example Example: To retrieve a list of the handshakes associated with an organization
3494
3748
  #
@@ -3637,7 +3891,8 @@ module Aws::Organizations
3637
3891
  # </note>
3638
3892
  #
3639
3893
  # This operation can be called only from the organization's master
3640
- # account.
3894
+ # account or by a member account that is a delegated administrator for
3895
+ # an AWS service.
3641
3896
  #
3642
3897
  # @option params [required, String] :parent_id
3643
3898
  # The unique identifier (ID) of the root or OU whose child OUs you want
@@ -3659,28 +3914,31 @@ module Aws::Organizations
3659
3914
  # [1]: http://wikipedia.org/wiki/regex
3660
3915
  #
3661
3916
  # @option params [String] :next_token
3662
- # Use this parameter if you receive a `NextToken` response in a previous
3663
- # request that indicates that there is more output available. Set it to
3664
- # the value of the previous call's `NextToken` response to indicate
3665
- # where the output should continue from.
3917
+ # The parameter for receiving additional results if you receive a
3918
+ # `NextToken` response in a previous request. A `NextToken` response
3919
+ # indicates that more output is available. Set this parameter to the
3920
+ # value of the previous call's `NextToken` response to indicate where
3921
+ # the output should continue from.
3666
3922
  #
3667
3923
  # @option params [Integer] :max_results
3668
- # (Optional) Use this to limit the number of results you want included
3669
- # per page in the response. If you do not include this parameter, it
3670
- # defaults to a value that is specific to the operation. If additional
3671
- # items exist beyond the maximum you specify, the `NextToken` response
3672
- # element is present and has a value (is not null). Include that value
3673
- # as the `NextToken` request parameter in the next call to the operation
3674
- # to get the next part of the results. Note that Organizations might
3675
- # return fewer results than the maximum even when there are more results
3676
- # available. You should check `NextToken` after every operation to
3677
- # ensure that you receive all of the results.
3924
+ # The total number of results that you want included on each page of the
3925
+ # response. If you do not include this parameter, it defaults to a value
3926
+ # that is specific to the operation. If additional items exist beyond
3927
+ # the maximum you specify, the `NextToken` response element is present
3928
+ # and has a value (is not null). Include that value as the `NextToken`
3929
+ # request parameter in the next call to the operation to get the next
3930
+ # part of the results. Note that Organizations might return fewer
3931
+ # results than the maximum even when there are more results available.
3932
+ # You should check `NextToken` after every operation to ensure that you
3933
+ # receive all of the results.
3678
3934
  #
3679
3935
  # @return [Types::ListOrganizationalUnitsForParentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3680
3936
  #
3681
3937
  # * {Types::ListOrganizationalUnitsForParentResponse#organizational_units #organizational_units} => Array&lt;Types::OrganizationalUnit&gt;
3682
3938
  # * {Types::ListOrganizationalUnitsForParentResponse#next_token #next_token} => String
3683
3939
  #
3940
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3941
+ #
3684
3942
  #
3685
3943
  # @example Example: To retrieve a list of all of the child OUs in a parent root or OU
3686
3944
  #
@@ -3745,7 +4003,8 @@ module Aws::Organizations
3745
4003
  # </note>
3746
4004
  #
3747
4005
  # This operation can be called only from the organization's master
3748
- # account.
4006
+ # account or by a member account that is a delegated administrator for
4007
+ # an AWS service.
3749
4008
  #
3750
4009
  # <note markdown="1"> In the current release, a child can have only a single parent.
3751
4010
  #
@@ -3770,28 +4029,31 @@ module Aws::Organizations
3770
4029
  # [1]: http://wikipedia.org/wiki/regex
3771
4030
  #
3772
4031
  # @option params [String] :next_token
3773
- # Use this parameter if you receive a `NextToken` response in a previous
3774
- # request that indicates that there is more output available. Set it to
3775
- # the value of the previous call's `NextToken` response to indicate
3776
- # where the output should continue from.
4032
+ # The parameter for receiving additional results if you receive a
4033
+ # `NextToken` response in a previous request. A `NextToken` response
4034
+ # indicates that more output is available. Set this parameter to the
4035
+ # value of the previous call's `NextToken` response to indicate where
4036
+ # the output should continue from.
3777
4037
  #
3778
4038
  # @option params [Integer] :max_results
3779
- # (Optional) Use this to limit the number of results you want included
3780
- # per page in the response. If you do not include this parameter, it
3781
- # defaults to a value that is specific to the operation. If additional
3782
- # items exist beyond the maximum you specify, the `NextToken` response
3783
- # element is present and has a value (is not null). Include that value
3784
- # as the `NextToken` request parameter in the next call to the operation
3785
- # to get the next part of the results. Note that Organizations might
3786
- # return fewer results than the maximum even when there are more results
3787
- # available. You should check `NextToken` after every operation to
3788
- # ensure that you receive all of the results.
4039
+ # The total number of results that you want included on each page of the
4040
+ # response. If you do not include this parameter, it defaults to a value
4041
+ # that is specific to the operation. If additional items exist beyond
4042
+ # the maximum you specify, the `NextToken` response element is present
4043
+ # and has a value (is not null). Include that value as the `NextToken`
4044
+ # request parameter in the next call to the operation to get the next
4045
+ # part of the results. Note that Organizations might return fewer
4046
+ # results than the maximum even when there are more results available.
4047
+ # You should check `NextToken` after every operation to ensure that you
4048
+ # receive all of the results.
3789
4049
  #
3790
4050
  # @return [Types::ListParentsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3791
4051
  #
3792
4052
  # * {Types::ListParentsResponse#parents #parents} => Array&lt;Types::Parent&gt;
3793
4053
  # * {Types::ListParentsResponse#next_token #next_token} => String
3794
4054
  #
4055
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
4056
+ #
3795
4057
  #
3796
4058
  # @example Example: To retrieve a list of all of the parents of a child OU or account
3797
4059
  #
@@ -3847,34 +4109,38 @@ module Aws::Organizations
3847
4109
  # </note>
3848
4110
  #
3849
4111
  # This operation can be called only from the organization's master
3850
- # account.
4112
+ # account or by a member account that is a delegated administrator for
4113
+ # an AWS service.
3851
4114
  #
3852
4115
  # @option params [required, String] :filter
3853
4116
  # Specifies the type of policy that you want to include in the response.
3854
4117
  #
3855
4118
  # @option params [String] :next_token
3856
- # Use this parameter if you receive a `NextToken` response in a previous
3857
- # request that indicates that there is more output available. Set it to
3858
- # the value of the previous call's `NextToken` response to indicate
3859
- # where the output should continue from.
4119
+ # The parameter for receiving additional results if you receive a
4120
+ # `NextToken` response in a previous request. A `NextToken` response
4121
+ # indicates that more output is available. Set this parameter to the
4122
+ # value of the previous call's `NextToken` response to indicate where
4123
+ # the output should continue from.
3860
4124
  #
3861
4125
  # @option params [Integer] :max_results
3862
- # (Optional) Use this to limit the number of results you want included
3863
- # per page in the response. If you do not include this parameter, it
3864
- # defaults to a value that is specific to the operation. If additional
3865
- # items exist beyond the maximum you specify, the `NextToken` response
3866
- # element is present and has a value (is not null). Include that value
3867
- # as the `NextToken` request parameter in the next call to the operation
3868
- # to get the next part of the results. Note that Organizations might
3869
- # return fewer results than the maximum even when there are more results
3870
- # available. You should check `NextToken` after every operation to
3871
- # ensure that you receive all of the results.
4126
+ # The total number of results that you want included on each page of the
4127
+ # response. If you do not include this parameter, it defaults to a value
4128
+ # that is specific to the operation. If additional items exist beyond
4129
+ # the maximum you specify, the `NextToken` response element is present
4130
+ # and has a value (is not null). Include that value as the `NextToken`
4131
+ # request parameter in the next call to the operation to get the next
4132
+ # part of the results. Note that Organizations might return fewer
4133
+ # results than the maximum even when there are more results available.
4134
+ # You should check `NextToken` after every operation to ensure that you
4135
+ # receive all of the results.
3872
4136
  #
3873
4137
  # @return [Types::ListPoliciesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3874
4138
  #
3875
4139
  # * {Types::ListPoliciesResponse#policies #policies} => Array&lt;Types::PolicySummary&gt;
3876
4140
  # * {Types::ListPoliciesResponse#next_token #next_token} => String
3877
4141
  #
4142
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
4143
+ #
3878
4144
  #
3879
4145
  # @example Example: To retrieve a list policies in the organization
3880
4146
  #
@@ -3955,7 +4221,8 @@ module Aws::Organizations
3955
4221
  # </note>
3956
4222
  #
3957
4223
  # This operation can be called only from the organization's master
3958
- # account.
4224
+ # account or by a member account that is a delegated administrator for
4225
+ # an AWS service.
3959
4226
  #
3960
4227
  # @option params [required, String] :target_id
3961
4228
  # The unique identifier (ID) of the root, organizational unit, or
@@ -3982,28 +4249,31 @@ module Aws::Organizations
3982
4249
  # The type of policy that you want to include in the returned list.
3983
4250
  #
3984
4251
  # @option params [String] :next_token
3985
- # Use this parameter if you receive a `NextToken` response in a previous
3986
- # request that indicates that there is more output available. Set it to
3987
- # the value of the previous call's `NextToken` response to indicate
3988
- # where the output should continue from.
4252
+ # The parameter for receiving additional results if you receive a
4253
+ # `NextToken` response in a previous request. A `NextToken` response
4254
+ # indicates that more output is available. Set this parameter to the
4255
+ # value of the previous call's `NextToken` response to indicate where
4256
+ # the output should continue from.
3989
4257
  #
3990
4258
  # @option params [Integer] :max_results
3991
- # (Optional) Use this to limit the number of results you want included
3992
- # per page in the response. If you do not include this parameter, it
3993
- # defaults to a value that is specific to the operation. If additional
3994
- # items exist beyond the maximum you specify, the `NextToken` response
3995
- # element is present and has a value (is not null). Include that value
3996
- # as the `NextToken` request parameter in the next call to the operation
3997
- # to get the next part of the results. Note that Organizations might
3998
- # return fewer results than the maximum even when there are more results
3999
- # available. You should check `NextToken` after every operation to
4000
- # ensure that you receive all of the results.
4259
+ # The total number of results that you want included on each page of the
4260
+ # response. If you do not include this parameter, it defaults to a value
4261
+ # that is specific to the operation. If additional items exist beyond
4262
+ # the maximum you specify, the `NextToken` response element is present
4263
+ # and has a value (is not null). Include that value as the `NextToken`
4264
+ # request parameter in the next call to the operation to get the next
4265
+ # part of the results. Note that Organizations might return fewer
4266
+ # results than the maximum even when there are more results available.
4267
+ # You should check `NextToken` after every operation to ensure that you
4268
+ # receive all of the results.
4001
4269
  #
4002
4270
  # @return [Types::ListPoliciesForTargetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4003
4271
  #
4004
4272
  # * {Types::ListPoliciesForTargetResponse#policies #policies} => Array&lt;Types::PolicySummary&gt;
4005
4273
  # * {Types::ListPoliciesForTargetResponse#next_token #next_token} => String
4006
4274
  #
4275
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
4276
+ #
4007
4277
  #
4008
4278
  # @example Example: To retrieve a list policies attached to a root, OU, or account
4009
4279
  #
@@ -4070,7 +4340,8 @@ module Aws::Organizations
4070
4340
  # </note>
4071
4341
  #
4072
4342
  # This operation can be called only from the organization's master
4073
- # account.
4343
+ # account or by a member account that is a delegated administrator for
4344
+ # an AWS service.
4074
4345
  #
4075
4346
  # <note markdown="1"> Policy types can be enabled and disabled in roots. This is distinct
4076
4347
  # from whether they're available in the organization. When you enable
@@ -4082,28 +4353,31 @@ module Aws::Organizations
4082
4353
  # </note>
4083
4354
  #
4084
4355
  # @option params [String] :next_token
4085
- # Use this parameter if you receive a `NextToken` response in a previous
4086
- # request that indicates that there is more output available. Set it to
4087
- # the value of the previous call's `NextToken` response to indicate
4088
- # where the output should continue from.
4356
+ # The parameter for receiving additional results if you receive a
4357
+ # `NextToken` response in a previous request. A `NextToken` response
4358
+ # indicates that more output is available. Set this parameter to the
4359
+ # value of the previous call's `NextToken` response to indicate where
4360
+ # the output should continue from.
4089
4361
  #
4090
4362
  # @option params [Integer] :max_results
4091
- # (Optional) Use this to limit the number of results you want included
4092
- # per page in the response. If you do not include this parameter, it
4093
- # defaults to a value that is specific to the operation. If additional
4094
- # items exist beyond the maximum you specify, the `NextToken` response
4095
- # element is present and has a value (is not null). Include that value
4096
- # as the `NextToken` request parameter in the next call to the operation
4097
- # to get the next part of the results. Note that Organizations might
4098
- # return fewer results than the maximum even when there are more results
4099
- # available. You should check `NextToken` after every operation to
4100
- # ensure that you receive all of the results.
4363
+ # The total number of results that you want included on each page of the
4364
+ # response. If you do not include this parameter, it defaults to a value
4365
+ # that is specific to the operation. If additional items exist beyond
4366
+ # the maximum you specify, the `NextToken` response element is present
4367
+ # and has a value (is not null). Include that value as the `NextToken`
4368
+ # request parameter in the next call to the operation to get the next
4369
+ # part of the results. Note that Organizations might return fewer
4370
+ # results than the maximum even when there are more results available.
4371
+ # You should check `NextToken` after every operation to ensure that you
4372
+ # receive all of the results.
4101
4373
  #
4102
4374
  # @return [Types::ListRootsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4103
4375
  #
4104
4376
  # * {Types::ListRootsResponse#roots #roots} => Array&lt;Types::Root&gt;
4105
4377
  # * {Types::ListRootsResponse#next_token #next_token} => String
4106
4378
  #
4379
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
4380
+ #
4107
4381
  #
4108
4382
  # @example Example: To retrieve a list of roots in the organization
4109
4383
  #
@@ -4161,22 +4435,26 @@ module Aws::Organizations
4161
4435
  # Currently, you can list tags on an account in AWS Organizations.
4162
4436
  #
4163
4437
  # This operation can be called only from the organization's master
4164
- # account.
4438
+ # account or by a member account that is a delegated administrator for
4439
+ # an AWS service.
4165
4440
  #
4166
4441
  # @option params [required, String] :resource_id
4167
4442
  # The ID of the resource that you want to retrieve tags for.
4168
4443
  #
4169
4444
  # @option params [String] :next_token
4170
- # Use this parameter if you receive a `NextToken` response in a previous
4171
- # request that indicates that there is more output available. Set it to
4172
- # the value of the previous call's `NextToken` response to indicate
4173
- # where the output should continue from.
4445
+ # The parameter for receiving additional results if you receive a
4446
+ # `NextToken` response in a previous request. A `NextToken` response
4447
+ # indicates that more output is available. Set this parameter to the
4448
+ # value of the previous call's `NextToken` response to indicate where
4449
+ # the output should continue from.
4174
4450
  #
4175
4451
  # @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4176
4452
  #
4177
4453
  # * {Types::ListTagsForResourceResponse#tags #tags} => Array&lt;Types::Tag&gt;
4178
4454
  # * {Types::ListTagsForResourceResponse#next_token #next_token} => String
4179
4455
  #
4456
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
4457
+ #
4180
4458
  # @example Request syntax with placeholder values
4181
4459
  #
4182
4460
  # resp = client.list_tags_for_resource({
@@ -4212,7 +4490,8 @@ module Aws::Organizations
4212
4490
  # </note>
4213
4491
  #
4214
4492
  # This operation can be called only from the organization's master
4215
- # account.
4493
+ # account or by a member account that is a delegated administrator for
4494
+ # an AWS service.
4216
4495
  #
4217
4496
  # @option params [required, String] :policy_id
4218
4497
  # The unique identifier (ID) of the policy whose attachments you want to
@@ -4227,28 +4506,31 @@ module Aws::Organizations
4227
4506
  # [1]: http://wikipedia.org/wiki/regex
4228
4507
  #
4229
4508
  # @option params [String] :next_token
4230
- # Use this parameter if you receive a `NextToken` response in a previous
4231
- # request that indicates that there is more output available. Set it to
4232
- # the value of the previous call's `NextToken` response to indicate
4233
- # where the output should continue from.
4509
+ # The parameter for receiving additional results if you receive a
4510
+ # `NextToken` response in a previous request. A `NextToken` response
4511
+ # indicates that more output is available. Set this parameter to the
4512
+ # value of the previous call's `NextToken` response to indicate where
4513
+ # the output should continue from.
4234
4514
  #
4235
4515
  # @option params [Integer] :max_results
4236
- # (Optional) Use this to limit the number of results you want included
4237
- # per page in the response. If you do not include this parameter, it
4238
- # defaults to a value that is specific to the operation. If additional
4239
- # items exist beyond the maximum you specify, the `NextToken` response
4240
- # element is present and has a value (is not null). Include that value
4241
- # as the `NextToken` request parameter in the next call to the operation
4242
- # to get the next part of the results. Note that Organizations might
4243
- # return fewer results than the maximum even when there are more results
4244
- # available. You should check `NextToken` after every operation to
4245
- # ensure that you receive all of the results.
4516
+ # The total number of results that you want included on each page of the
4517
+ # response. If you do not include this parameter, it defaults to a value
4518
+ # that is specific to the operation. If additional items exist beyond
4519
+ # the maximum you specify, the `NextToken` response element is present
4520
+ # and has a value (is not null). Include that value as the `NextToken`
4521
+ # request parameter in the next call to the operation to get the next
4522
+ # part of the results. Note that Organizations might return fewer
4523
+ # results than the maximum even when there are more results available.
4524
+ # You should check `NextToken` after every operation to ensure that you
4525
+ # receive all of the results.
4246
4526
  #
4247
4527
  # @return [Types::ListTargetsForPolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4248
4528
  #
4249
4529
  # * {Types::ListTargetsForPolicyResponse#targets #targets} => Array&lt;Types::PolicyTargetSummary&gt;
4250
4530
  # * {Types::ListTargetsForPolicyResponse#next_token #next_token} => String
4251
4531
  #
4532
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
4533
+ #
4252
4534
  #
4253
4535
  # @example Example: To retrieve a list of roots, OUs, and accounts to which a policy is attached
4254
4536
  #
@@ -4393,6 +4675,49 @@ module Aws::Organizations
4393
4675
  req.send_request(options)
4394
4676
  end
4395
4677
 
4678
+ # Enables the specified member account to administer the Organizations
4679
+ # features of the specified AWS service. It grants read-only access to
4680
+ # AWS Organizations service data. The account still requires IAM
4681
+ # permissions to access and administer the AWS service.
4682
+ #
4683
+ # You can run this action only for AWS services that support this
4684
+ # feature. For a current list of services that support it, see [AWS
4685
+ # Services That Support Using Delegated Administrators][1] in the *AWS
4686
+ # Organizations User Guide.*
4687
+ #
4688
+ # This operation can be called only from the organization's master
4689
+ # account.
4690
+ #
4691
+ #
4692
+ #
4693
+ # [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrated-services-list.html#services-that-support-delegated-admin
4694
+ #
4695
+ # @option params [required, String] :account_id
4696
+ # The account ID number of the member account in the organization to
4697
+ # register as a delegated administrator.
4698
+ #
4699
+ # @option params [required, String] :service_principal
4700
+ # The service principal of the AWS service for which you want to make
4701
+ # the member account a delegated administrator.
4702
+ #
4703
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
4704
+ #
4705
+ # @example Request syntax with placeholder values
4706
+ #
4707
+ # resp = client.register_delegated_administrator({
4708
+ # account_id: "AccountId", # required
4709
+ # service_principal: "ServicePrincipal", # required
4710
+ # })
4711
+ #
4712
+ # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/RegisterDelegatedAdministrator AWS API Documentation
4713
+ #
4714
+ # @overload register_delegated_administrator(params = {})
4715
+ # @param [Hash] params ({})
4716
+ def register_delegated_administrator(params = {}, options = {})
4717
+ req = build_request(:register_delegated_administrator, params)
4718
+ req.send_request(options)
4719
+ end
4720
+
4396
4721
  # Removes the specified account from the organization.
4397
4722
  #
4398
4723
  # The removed account becomes a standalone account that isn't a member
@@ -4408,15 +4733,15 @@ module Aws::Organizations
4408
4733
  # You can remove an account from your organization only if the account
4409
4734
  # is configured with the information required to operate as a standalone
4410
4735
  # account. When you create an account in an organization using the AWS
4411
- # Organizations console, API, or CLI, the information required of
4412
- # standalone accounts is *not* automatically collected. For an account
4413
- # that you want to make standalone, you must accept the end user license
4414
- # agreement (EULA). You must also choose a support plan, provide and
4415
- # verify the required contact information, and provide a current payment
4736
+ # Organizations console, API, or CLI commands, the information required
4737
+ # of standalone accounts is *not* automatically collected. For an
4738
+ # account that you want to make standalone, you must accept the end user
4739
+ # license agreement (EULA), choose a support plan, provide and verify
4740
+ # the required contact information, and provide a current payment
4416
4741
  # method. AWS uses the payment method to charge for any billable (not
4417
4742
  # free tier) AWS activity that occurs while the account isn't attached
4418
4743
  # to an organization. To remove an account that doesn't yet have this
4419
- # information, you must sign in as the member account. Then follow the
4744
+ # information, you must sign in as the member account and follow the
4420
4745
  # steps at [ To leave an organization when all required account
4421
4746
  # information has not yet been provided][1] in the *AWS Organizations
4422
4747
  # User Guide.*
@@ -4744,7 +5069,7 @@ module Aws::Organizations
4744
5069
  params: params,
4745
5070
  config: config)
4746
5071
  context[:gem_name] = 'aws-sdk-organizations'
4747
- context[:gem_version] = '1.37.0'
5072
+ context[:gem_version] = '1.38.0'
4748
5073
  Seahorse::Client::Request.new(handlers, context)
4749
5074
  end
4750
5075