aws-sdk-organizations 1.7.0 → 1.8.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/lib/aws-sdk-organizations.rb +1 -1
- data/lib/aws-sdk-organizations/client.rb +133 -3
- data/lib/aws-sdk-organizations/types.rb +14 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0f1f33deec20bb075229fea1012af12bf66bb9b7
|
|
4
|
+
data.tar.gz: ff31fca9989bbe1f8cf454fc440a24b2a0f4dee1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b73c0f2e82dde57098f759f58d7df3a82599abea9480906e38f90f11021b4cd1da7f96de6dbb9d507bd823df87818faee6226e3d6b2b4c06715d18a4c824f800
|
|
7
|
+
data.tar.gz: 639bf78f88214dcbd283181c3007bef5acff51b0b333e481a13b37b82f563a53ca8a1de6c84f564087530f27740efeb0b34d26b503f5d11d7db9bf77e77341f6
|
|
@@ -1492,6 +1492,12 @@ module Aws::Organizations
|
|
|
1492
1492
|
#
|
|
1493
1493
|
# This operation can be called from any account in the organization.
|
|
1494
1494
|
#
|
|
1495
|
+
# <note markdown="1"> Even if a policy type is shown as available in the organization, it
|
|
1496
|
+
# can be disabled separately at the root level with DisablePolicyType.
|
|
1497
|
+
# Use ListRoots to see the status of policy types for a specified root.
|
|
1498
|
+
#
|
|
1499
|
+
# </note>
|
|
1500
|
+
#
|
|
1495
1501
|
# @return [Types::DescribeOrganizationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1496
1502
|
#
|
|
1497
1503
|
# * {Types::DescribeOrganizationResponse#organization #organization} => Types::Organization
|
|
@@ -1828,6 +1834,14 @@ module Aws::Organizations
|
|
|
1828
1834
|
# This operation can be called only from the organization's master
|
|
1829
1835
|
# account.
|
|
1830
1836
|
#
|
|
1837
|
+
# <note markdown="1"> If you disable a policy type for a root, it still shows as enabled for
|
|
1838
|
+
# the organization if all features are enabled in that organization. Use
|
|
1839
|
+
# ListRoots to see the status of policy types for a specified root. Use
|
|
1840
|
+
# DescribeOrganization to see the status of policy types in the
|
|
1841
|
+
# organization.
|
|
1842
|
+
#
|
|
1843
|
+
# </note>
|
|
1844
|
+
#
|
|
1831
1845
|
# @option params [required, String] :root_id
|
|
1832
1846
|
# The unique identifier (ID) of the root in which you want to disable a
|
|
1833
1847
|
# policy type. You can get the ID from the ListRoots operation.
|
|
@@ -1960,6 +1974,11 @@ module Aws::Organizations
|
|
|
1960
1974
|
# administrators in the invited accounts approve the change by accepting
|
|
1961
1975
|
# the handshake.
|
|
1962
1976
|
#
|
|
1977
|
+
# After you enable all features, you can separately enable or disable
|
|
1978
|
+
# individual policy types in a root using EnablePolicyType and
|
|
1979
|
+
# DisablePolicyType. To see the status of policy types in a root, use
|
|
1980
|
+
# ListRoots.
|
|
1981
|
+
#
|
|
1963
1982
|
# After all invited member accounts accept the handshake, you finalize
|
|
1964
1983
|
# the feature set change by accepting the handshake that contains
|
|
1965
1984
|
# `"Action": "ENABLE_ALL_FEATURES"`. This completes the change.
|
|
@@ -2051,6 +2070,12 @@ module Aws::Organizations
|
|
|
2051
2070
|
# This operation can be called only from the organization's master
|
|
2052
2071
|
# account.
|
|
2053
2072
|
#
|
|
2073
|
+
# You can enable a policy type in a root only if that policy type is
|
|
2074
|
+
# available in the organization. Use DescribeOrganization to view the
|
|
2075
|
+
# status of available policy types in the organization.
|
|
2076
|
+
#
|
|
2077
|
+
# To view the status of policy type in a root, use ListRoots.
|
|
2078
|
+
#
|
|
2054
2079
|
# @option params [required, String] :root_id
|
|
2055
2080
|
# The unique identifier (ID) of the root in which you want to enable a
|
|
2056
2081
|
# policy type. You can get the ID from the ListRoots operation.
|
|
@@ -2391,8 +2416,16 @@ module Aws::Organizations
|
|
|
2391
2416
|
end
|
|
2392
2417
|
|
|
2393
2418
|
# Lists all the accounts in the organization. To request only the
|
|
2394
|
-
# accounts in a root or OU, use the ListAccountsForParent
|
|
2395
|
-
# instead.
|
|
2419
|
+
# accounts in a specified root or OU, use the ListAccountsForParent
|
|
2420
|
+
# operation instead.
|
|
2421
|
+
#
|
|
2422
|
+
# <note markdown="1"> Always check the `NextToken` response parameter for a `null` value
|
|
2423
|
+
# when calling a `List*` operation. These operations can occasionally
|
|
2424
|
+
# return an empty set of results even when there are more results
|
|
2425
|
+
# available. The `NextToken` response parameter value is `null` *only*
|
|
2426
|
+
# when there are no more results to display.
|
|
2427
|
+
#
|
|
2428
|
+
# </note>
|
|
2396
2429
|
#
|
|
2397
2430
|
# This operation can be called only from the organization's master
|
|
2398
2431
|
# account.
|
|
@@ -2505,6 +2538,14 @@ module Aws::Organizations
|
|
|
2505
2538
|
# and not in any child OUs. To get a list of all accounts in the
|
|
2506
2539
|
# organization, use the ListAccounts operation.
|
|
2507
2540
|
#
|
|
2541
|
+
# <note markdown="1"> Always check the `NextToken` response parameter for a `null` value
|
|
2542
|
+
# when calling a `List*` operation. These operations can occasionally
|
|
2543
|
+
# return an empty set of results even when there are more results
|
|
2544
|
+
# available. The `NextToken` response parameter value is `null` *only*
|
|
2545
|
+
# when there are no more results to display.
|
|
2546
|
+
#
|
|
2547
|
+
# </note>
|
|
2548
|
+
#
|
|
2508
2549
|
# This operation can be called only from the organization's master
|
|
2509
2550
|
# account.
|
|
2510
2551
|
#
|
|
@@ -2601,6 +2642,14 @@ module Aws::Organizations
|
|
|
2601
2642
|
# parent OU or root. This operation, along with ListParents enables you
|
|
2602
2643
|
# to traverse the tree structure that makes up this root.
|
|
2603
2644
|
#
|
|
2645
|
+
# <note markdown="1"> Always check the `NextToken` response parameter for a `null` value
|
|
2646
|
+
# when calling a `List*` operation. These operations can occasionally
|
|
2647
|
+
# return an empty set of results even when there are more results
|
|
2648
|
+
# available. The `NextToken` response parameter value is `null` *only*
|
|
2649
|
+
# when there are no more results to display.
|
|
2650
|
+
#
|
|
2651
|
+
# </note>
|
|
2652
|
+
#
|
|
2604
2653
|
# This operation can be called only from the organization's master
|
|
2605
2654
|
# account.
|
|
2606
2655
|
#
|
|
@@ -2701,6 +2750,14 @@ module Aws::Organizations
|
|
|
2701
2750
|
# Lists the account creation requests that match the specified status
|
|
2702
2751
|
# that is currently being tracked for the organization.
|
|
2703
2752
|
#
|
|
2753
|
+
# <note markdown="1"> Always check the `NextToken` response parameter for a `null` value
|
|
2754
|
+
# when calling a `List*` operation. These operations can occasionally
|
|
2755
|
+
# return an empty set of results even when there are more results
|
|
2756
|
+
# available. The `NextToken` response parameter value is `null` *only*
|
|
2757
|
+
# when there are no more results to display.
|
|
2758
|
+
#
|
|
2759
|
+
# </note>
|
|
2760
|
+
#
|
|
2704
2761
|
# This operation can be called only from the organization's master
|
|
2705
2762
|
# account.
|
|
2706
2763
|
#
|
|
@@ -2817,6 +2874,14 @@ module Aws::Organizations
|
|
|
2817
2874
|
# results of this API for only 30 days after changing to that state.
|
|
2818
2875
|
# After that they are deleted and no longer accessible.
|
|
2819
2876
|
#
|
|
2877
|
+
# <note markdown="1"> Always check the `NextToken` response parameter for a `null` value
|
|
2878
|
+
# when calling a `List*` operation. These operations can occasionally
|
|
2879
|
+
# return an empty set of results even when there are more results
|
|
2880
|
+
# available. The `NextToken` response parameter value is `null` *only*
|
|
2881
|
+
# when there are no more results to display.
|
|
2882
|
+
#
|
|
2883
|
+
# </note>
|
|
2884
|
+
#
|
|
2820
2885
|
# This operation can be called from any account in the organization.
|
|
2821
2886
|
#
|
|
2822
2887
|
# @option params [Types::HandshakeFilter] :filter
|
|
@@ -2955,6 +3020,14 @@ module Aws::Organizations
|
|
|
2955
3020
|
# results of this API for only 30 days after changing to that state.
|
|
2956
3021
|
# After that they are deleted and no longer accessible.
|
|
2957
3022
|
#
|
|
3023
|
+
# <note markdown="1"> Always check the `NextToken` response parameter for a `null` value
|
|
3024
|
+
# when calling a `List*` operation. These operations can occasionally
|
|
3025
|
+
# return an empty set of results even when there are more results
|
|
3026
|
+
# available. The `NextToken` response parameter value is `null` *only*
|
|
3027
|
+
# when there are no more results to display.
|
|
3028
|
+
#
|
|
3029
|
+
# </note>
|
|
3030
|
+
#
|
|
2958
3031
|
# This operation can be called only from the organization's master
|
|
2959
3032
|
# account.
|
|
2960
3033
|
#
|
|
@@ -3129,6 +3202,14 @@ module Aws::Organizations
|
|
|
3129
3202
|
# Lists the organizational units (OUs) in a parent organizational unit
|
|
3130
3203
|
# or root.
|
|
3131
3204
|
#
|
|
3205
|
+
# <note markdown="1"> Always check the `NextToken` response parameter for a `null` value
|
|
3206
|
+
# when calling a `List*` operation. These operations can occasionally
|
|
3207
|
+
# return an empty set of results even when there are more results
|
|
3208
|
+
# available. The `NextToken` response parameter value is `null` *only*
|
|
3209
|
+
# when there are no more results to display.
|
|
3210
|
+
#
|
|
3211
|
+
# </note>
|
|
3212
|
+
#
|
|
3132
3213
|
# This operation can be called only from the organization's master
|
|
3133
3214
|
# account.
|
|
3134
3215
|
#
|
|
@@ -3229,6 +3310,14 @@ module Aws::Organizations
|
|
|
3229
3310
|
# along with ListChildren enables you to traverse the tree structure
|
|
3230
3311
|
# that makes up this root.
|
|
3231
3312
|
#
|
|
3313
|
+
# <note markdown="1"> Always check the `NextToken` response parameter for a `null` value
|
|
3314
|
+
# when calling a `List*` operation. These operations can occasionally
|
|
3315
|
+
# return an empty set of results even when there are more results
|
|
3316
|
+
# available. The `NextToken` response parameter value is `null` *only*
|
|
3317
|
+
# when there are no more results to display.
|
|
3318
|
+
#
|
|
3319
|
+
# </note>
|
|
3320
|
+
#
|
|
3232
3321
|
# This operation can be called only from the organization's master
|
|
3233
3322
|
# account.
|
|
3234
3323
|
#
|
|
@@ -3323,6 +3412,14 @@ module Aws::Organizations
|
|
|
3323
3412
|
# Retrieves the list of all policies in an organization of a specified
|
|
3324
3413
|
# type.
|
|
3325
3414
|
#
|
|
3415
|
+
# <note markdown="1"> Always check the `NextToken` response parameter for a `null` value
|
|
3416
|
+
# when calling a `List*` operation. These operations can occasionally
|
|
3417
|
+
# return an empty set of results even when there are more results
|
|
3418
|
+
# available. The `NextToken` response parameter value is `null` *only*
|
|
3419
|
+
# when there are no more results to display.
|
|
3420
|
+
#
|
|
3421
|
+
# </note>
|
|
3422
|
+
#
|
|
3326
3423
|
# This operation can be called only from the organization's master
|
|
3327
3424
|
# account.
|
|
3328
3425
|
#
|
|
@@ -3423,6 +3520,14 @@ module Aws::Organizations
|
|
|
3423
3520
|
# root, organizational unit (OU), or account. You must specify the
|
|
3424
3521
|
# policy type that you want included in the returned list.
|
|
3425
3522
|
#
|
|
3523
|
+
# <note markdown="1"> Always check the `NextToken` response parameter for a `null` value
|
|
3524
|
+
# when calling a `List*` operation. These operations can occasionally
|
|
3525
|
+
# return an empty set of results even when there are more results
|
|
3526
|
+
# available. The `NextToken` response parameter value is `null` *only*
|
|
3527
|
+
# when there are no more results to display.
|
|
3528
|
+
#
|
|
3529
|
+
# </note>
|
|
3530
|
+
#
|
|
3426
3531
|
# This operation can be called only from the organization's master
|
|
3427
3532
|
# account.
|
|
3428
3533
|
#
|
|
@@ -3530,9 +3635,26 @@ module Aws::Organizations
|
|
|
3530
3635
|
|
|
3531
3636
|
# Lists the roots that are defined in the current organization.
|
|
3532
3637
|
#
|
|
3638
|
+
# <note markdown="1"> Always check the `NextToken` response parameter for a `null` value
|
|
3639
|
+
# when calling a `List*` operation. These operations can occasionally
|
|
3640
|
+
# return an empty set of results even when there are more results
|
|
3641
|
+
# available. The `NextToken` response parameter value is `null` *only*
|
|
3642
|
+
# when there are no more results to display.
|
|
3643
|
+
#
|
|
3644
|
+
# </note>
|
|
3645
|
+
#
|
|
3533
3646
|
# This operation can be called only from the organization's master
|
|
3534
3647
|
# account.
|
|
3535
3648
|
#
|
|
3649
|
+
# <note markdown="1"> Policy types can be enabled and disabled in roots. This is distinct
|
|
3650
|
+
# from whether they are available in the organization. When you enable
|
|
3651
|
+
# all features, you make policy types available for use in that
|
|
3652
|
+
# organization. Individual policy types can then be enabled and disabled
|
|
3653
|
+
# in a root. To see the availability of a policy type in an
|
|
3654
|
+
# organization, use DescribeOrganization.
|
|
3655
|
+
#
|
|
3656
|
+
# </note>
|
|
3657
|
+
#
|
|
3536
3658
|
# @option params [String] :next_token
|
|
3537
3659
|
# Use this parameter if you receive a `NextToken` response in a previous
|
|
3538
3660
|
# request that indicates that there is more output available. Set it to
|
|
@@ -3611,6 +3733,14 @@ module Aws::Organizations
|
|
|
3611
3733
|
# Lists all the roots, OUs, and accounts to which the specified policy
|
|
3612
3734
|
# is attached.
|
|
3613
3735
|
#
|
|
3736
|
+
# <note markdown="1"> Always check the `NextToken` response parameter for a `null` value
|
|
3737
|
+
# when calling a `List*` operation. These operations can occasionally
|
|
3738
|
+
# return an empty set of results even when there are more results
|
|
3739
|
+
# available. The `NextToken` response parameter value is `null` *only*
|
|
3740
|
+
# when there are no more results to display.
|
|
3741
|
+
#
|
|
3742
|
+
# </note>
|
|
3743
|
+
#
|
|
3614
3744
|
# This operation can be called only from the organization's master
|
|
3615
3745
|
# account.
|
|
3616
3746
|
#
|
|
@@ -4079,7 +4209,7 @@ module Aws::Organizations
|
|
|
4079
4209
|
params: params,
|
|
4080
4210
|
config: config)
|
|
4081
4211
|
context[:gem_name] = 'aws-sdk-organizations'
|
|
4082
|
-
context[:gem_version] = '1.
|
|
4212
|
+
context[:gem_version] = '1.8.0'
|
|
4083
4213
|
Seahorse::Client::Request.new(handlers, context)
|
|
4084
4214
|
end
|
|
4085
4215
|
|
|
@@ -2447,6 +2447,13 @@ module Aws::Organizations
|
|
|
2447
2447
|
# A list of policy types that are enabled for this organization. For
|
|
2448
2448
|
# example, if your organization has all features enabled, then service
|
|
2449
2449
|
# control policies (SCPs) are included in the list.
|
|
2450
|
+
#
|
|
2451
|
+
# <note markdown="1"> Even if a policy type is shown as available in the organization, you
|
|
2452
|
+
# can separately enable and disable them at the root level by using
|
|
2453
|
+
# EnablePolicyType and DisablePolicyType. Use ListRoots to see the
|
|
2454
|
+
# status of a policy type in that root.
|
|
2455
|
+
#
|
|
2456
|
+
# </note>
|
|
2450
2457
|
# @return [Array<Types::PolicyTypeSummary>]
|
|
2451
2458
|
#
|
|
2452
2459
|
# @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/Organization AWS API Documentation
|
|
@@ -2782,6 +2789,13 @@ module Aws::Organizations
|
|
|
2782
2789
|
# @!attribute [rw] policy_types
|
|
2783
2790
|
# The types of policies that are currently enabled for the root and
|
|
2784
2791
|
# therefore can be attached to the root or to its OUs or accounts.
|
|
2792
|
+
#
|
|
2793
|
+
# <note markdown="1"> Even if a policy type is shown as available in the organization, you
|
|
2794
|
+
# can separately enable and disable them at the root level by using
|
|
2795
|
+
# EnablePolicyType and DisablePolicyType. Use DescribeOrganization to
|
|
2796
|
+
# see the availability of the policy types in that organization.
|
|
2797
|
+
#
|
|
2798
|
+
# </note>
|
|
2785
2799
|
# @return [Array<Types::PolicyTypeSummary>]
|
|
2786
2800
|
#
|
|
2787
2801
|
# @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/Root AWS API Documentation
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-sdk-organizations
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.8.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2018-03-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-core
|
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
75
75
|
version: '0'
|
|
76
76
|
requirements: []
|
|
77
77
|
rubyforge_project:
|
|
78
|
-
rubygems_version: 2.5.
|
|
78
|
+
rubygems_version: 2.5.2.2
|
|
79
79
|
signing_key:
|
|
80
80
|
specification_version: 4
|
|
81
81
|
summary: AWS SDK for Ruby - Organizations
|