aws-sdk-organizations 1.123.0 → 1.124.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-organizations/client.rb +7 -3
- data/lib/aws-sdk-organizations/client_api.rb +2 -0
- data/lib/aws-sdk-organizations/types.rb +43 -0
- data/lib/aws-sdk-organizations.rb +1 -1
- data/sig/types.rbs +1 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9119e03f89d6409ac12b9e97dadf379be9730c3b9e960aaf2716fa6b53ac423c
|
4
|
+
data.tar.gz: 128e3f08c11201159f1ab3d374702cd194eb992805ed5515d715838f82d230db
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2428adb64605005ad798d36e53ad33d0f32cbacefc7a15d3e724b6763ca64bfc3b5d77a8247f3290c2c091375767b8a7a44376c7e3d1bb61a88015575d017825
|
7
|
+
data.tar.gz: ebd152e4126c111c108ef324ca5f3a004f9e089315cda823f83c74a956e13f3813282fb507cb61b48c55e46751a5213f954d19cbf1d9fd13705589279296a941
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.124.0
|
@@ -2183,6 +2183,7 @@ module Aws::Organizations
|
|
2183
2183
|
# resp.account.email #=> String
|
2184
2184
|
# resp.account.name #=> String
|
2185
2185
|
# resp.account.status #=> String, one of "ACTIVE", "SUSPENDED", "PENDING_CLOSURE"
|
2186
|
+
# resp.account.state #=> String, one of "PENDING_ACTIVATION", "ACTIVE", "SUSPENDED", "PENDING_CLOSURE", "CLOSED"
|
2186
2187
|
# resp.account.joined_method #=> String, one of "INVITED", "CREATED"
|
2187
2188
|
# resp.account.joined_timestamp #=> Time
|
2188
2189
|
#
|
@@ -2866,7 +2867,7 @@ module Aws::Organizations
|
|
2866
2867
|
# account or by a member account that is a delegated administrator.
|
2867
2868
|
#
|
2868
2869
|
# To view the status of available policy types in the organization, use
|
2869
|
-
#
|
2870
|
+
# ListRoots.
|
2870
2871
|
#
|
2871
2872
|
#
|
2872
2873
|
#
|
@@ -3135,7 +3136,7 @@ module Aws::Organizations
|
|
3135
3136
|
#
|
3136
3137
|
# You can enable a policy type in a root only if that policy type is
|
3137
3138
|
# available in the organization. To view the status of available policy
|
3138
|
-
# types in the organization, use
|
3139
|
+
# types in the organization, use ListRoots.
|
3139
3140
|
#
|
3140
3141
|
# @option params [required, String] :root_id
|
3141
3142
|
# The unique identifier (ID) of the root in which you want to enable a
|
@@ -3660,6 +3661,7 @@ module Aws::Organizations
|
|
3660
3661
|
# resp.accounts[0].email #=> String
|
3661
3662
|
# resp.accounts[0].name #=> String
|
3662
3663
|
# resp.accounts[0].status #=> String, one of "ACTIVE", "SUSPENDED", "PENDING_CLOSURE"
|
3664
|
+
# resp.accounts[0].state #=> String, one of "PENDING_ACTIVATION", "ACTIVE", "SUSPENDED", "PENDING_CLOSURE", "CLOSED"
|
3663
3665
|
# resp.accounts[0].joined_method #=> String, one of "INVITED", "CREATED"
|
3664
3666
|
# resp.accounts[0].joined_timestamp #=> Time
|
3665
3667
|
# resp.next_token #=> String
|
@@ -3770,6 +3772,7 @@ module Aws::Organizations
|
|
3770
3772
|
# resp.accounts[0].email #=> String
|
3771
3773
|
# resp.accounts[0].name #=> String
|
3772
3774
|
# resp.accounts[0].status #=> String, one of "ACTIVE", "SUSPENDED", "PENDING_CLOSURE"
|
3775
|
+
# resp.accounts[0].state #=> String, one of "PENDING_ACTIVATION", "ACTIVE", "SUSPENDED", "PENDING_CLOSURE", "CLOSED"
|
3773
3776
|
# resp.accounts[0].joined_method #=> String, one of "INVITED", "CREATED"
|
3774
3777
|
# resp.accounts[0].joined_timestamp #=> Time
|
3775
3778
|
# resp.next_token #=> String
|
@@ -3900,6 +3903,7 @@ module Aws::Organizations
|
|
3900
3903
|
# resp.accounts[0].email #=> String
|
3901
3904
|
# resp.accounts[0].name #=> String
|
3902
3905
|
# resp.accounts[0].status #=> String, one of "ACTIVE", "SUSPENDED", "PENDING_CLOSURE"
|
3906
|
+
# resp.accounts[0].state #=> String, one of "PENDING_ACTIVATION", "ACTIVE", "SUSPENDED", "PENDING_CLOSURE", "CLOSED"
|
3903
3907
|
# resp.accounts[0].joined_method #=> String, one of "INVITED", "CREATED"
|
3904
3908
|
# resp.accounts[0].joined_timestamp #=> Time
|
3905
3909
|
# resp.policy_type #=> String, one of "TAG_POLICY", "BACKUP_POLICY", "AISERVICES_OPT_OUT_POLICY", "CHATBOT_POLICY", "DECLARATIVE_POLICY_EC2", "SECURITYHUB_POLICY"
|
@@ -6147,7 +6151,7 @@ module Aws::Organizations
|
|
6147
6151
|
tracer: tracer
|
6148
6152
|
)
|
6149
6153
|
context[:gem_name] = 'aws-sdk-organizations'
|
6150
|
-
context[:gem_version] = '1.
|
6154
|
+
context[:gem_version] = '1.124.0'
|
6151
6155
|
Seahorse::Client::Request.new(handlers, context)
|
6152
6156
|
end
|
6153
6157
|
|
@@ -30,6 +30,7 @@ module Aws::Organizations
|
|
30
30
|
AccountNotFoundException = Shapes::StructureShape.new(name: 'AccountNotFoundException')
|
31
31
|
AccountNotRegisteredException = Shapes::StructureShape.new(name: 'AccountNotRegisteredException')
|
32
32
|
AccountOwnerNotVerifiedException = Shapes::StructureShape.new(name: 'AccountOwnerNotVerifiedException')
|
33
|
+
AccountState = Shapes::StringShape.new(name: 'AccountState')
|
33
34
|
AccountStatus = Shapes::StringShape.new(name: 'AccountStatus')
|
34
35
|
Accounts = Shapes::ListShape.new(name: 'Accounts')
|
35
36
|
ActionType = Shapes::StringShape.new(name: 'ActionType')
|
@@ -286,6 +287,7 @@ module Aws::Organizations
|
|
286
287
|
Account.add_member(:email, Shapes::ShapeRef.new(shape: Email, location_name: "Email"))
|
287
288
|
Account.add_member(:name, Shapes::ShapeRef.new(shape: AccountName, location_name: "Name"))
|
288
289
|
Account.add_member(:status, Shapes::ShapeRef.new(shape: AccountStatus, location_name: "Status"))
|
290
|
+
Account.add_member(:state, Shapes::ShapeRef.new(shape: AccountState, location_name: "State"))
|
289
291
|
Account.add_member(:joined_method, Shapes::ShapeRef.new(shape: AccountJoinedMethod, location_name: "JoinedMethod"))
|
290
292
|
Account.add_member(:joined_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "JoinedTimestamp"))
|
291
293
|
Account.struct_class = Types::Account
|
@@ -146,6 +146,27 @@ module Aws::Organizations
|
|
146
146
|
#
|
147
147
|
# @!attribute [rw] status
|
148
148
|
# The status of the account in the organization.
|
149
|
+
#
|
150
|
+
# The `Status` parameter in the `Account` object will be retired on
|
151
|
+
# September 9, 2026. Although both the account `State` and account
|
152
|
+
# `Status` parameters are currently available in the Organizations
|
153
|
+
# APIs (`DescribeAccount`, `ListAccounts`, `ListAccountsForParent`),
|
154
|
+
# we recommend that you update your scripts or other code to use the
|
155
|
+
# `State` parameter instead of `Status` before September 9, 2026.
|
156
|
+
# @return [String]
|
157
|
+
#
|
158
|
+
# @!attribute [rw] state
|
159
|
+
# Each state represents a specific phase in the account lifecycle. Use
|
160
|
+
# this information to manage account access, automate workflows, or
|
161
|
+
# trigger actions based on account state changes.
|
162
|
+
#
|
163
|
+
# For more information about account states and their implications,
|
164
|
+
# see [Monitor the state of your Amazon Web Services accounts ][1] in
|
165
|
+
# the *Organizations User Guide*.
|
166
|
+
#
|
167
|
+
#
|
168
|
+
#
|
169
|
+
# [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_account_state.html
|
149
170
|
# @return [String]
|
150
171
|
#
|
151
172
|
# @!attribute [rw] joined_method
|
@@ -164,6 +185,7 @@ module Aws::Organizations
|
|
164
185
|
:email,
|
165
186
|
:name,
|
166
187
|
:status,
|
188
|
+
:state,
|
167
189
|
:joined_method,
|
168
190
|
:joined_timestamp)
|
169
191
|
SENSITIVE = [:email, :name]
|
@@ -1497,6 +1519,13 @@ module Aws::Organizations
|
|
1497
1519
|
|
1498
1520
|
# @!attribute [rw] account
|
1499
1521
|
# A structure that contains information about the requested account.
|
1522
|
+
#
|
1523
|
+
# The `Status` parameter in the API response will be retired on
|
1524
|
+
# September 9, 2026. Although both the account `State` and account
|
1525
|
+
# `Status` parameters are currently available in the Organizations
|
1526
|
+
# APIs (`DescribeAccount`, `ListAccounts`, `ListAccountsForParent`),
|
1527
|
+
# we recommend that you update your scripts or other code to use the
|
1528
|
+
# `State` parameter instead of `Status` before September 9, 2026.
|
1500
1529
|
# @return [Types::Account]
|
1501
1530
|
#
|
1502
1531
|
# @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DescribeAccountResponse AWS API Documentation
|
@@ -2780,6 +2809,13 @@ module Aws::Organizations
|
|
2780
2809
|
|
2781
2810
|
# @!attribute [rw] accounts
|
2782
2811
|
# A list of the accounts in the specified root or OU.
|
2812
|
+
#
|
2813
|
+
# The `Status` parameter in the API response will be retired on
|
2814
|
+
# September 9, 2026. Although both the account `State` and account
|
2815
|
+
# `Status` parameters are currently available in the Organizations
|
2816
|
+
# APIs (`DescribeAccount`, `ListAccounts`, `ListAccountsForParent`),
|
2817
|
+
# we recommend that you update your scripts or other code to use the
|
2818
|
+
# `State` parameter instead of `Status` before September 9, 2026.
|
2783
2819
|
# @return [Array<Types::Account>]
|
2784
2820
|
#
|
2785
2821
|
# @!attribute [rw] next_token
|
@@ -2831,6 +2867,13 @@ module Aws::Organizations
|
|
2831
2867
|
|
2832
2868
|
# @!attribute [rw] accounts
|
2833
2869
|
# A list of objects in the organization.
|
2870
|
+
#
|
2871
|
+
# The `Status` parameter in the API response will be retired on
|
2872
|
+
# September 9, 2026. Although both the account `State` and account
|
2873
|
+
# `Status` parameters are currently available in the Organizations
|
2874
|
+
# APIs (`DescribeAccount`, `ListAccounts`, `ListAccountsForParent`),
|
2875
|
+
# we recommend that you update your scripts or other code to use the
|
2876
|
+
# `State` parameter instead of `Status` before September 9, 2026.
|
2834
2877
|
# @return [Array<Types::Account>]
|
2835
2878
|
#
|
2836
2879
|
# @!attribute [rw] next_token
|
data/sig/types.rbs
CHANGED
@@ -40,6 +40,7 @@ module Aws::Organizations
|
|
40
40
|
attr_accessor email: ::String
|
41
41
|
attr_accessor name: ::String
|
42
42
|
attr_accessor status: ("ACTIVE" | "SUSPENDED" | "PENDING_CLOSURE")
|
43
|
+
attr_accessor state: ("PENDING_ACTIVATION" | "ACTIVE" | "SUSPENDED" | "PENDING_CLOSURE" | "CLOSED")
|
43
44
|
attr_accessor joined_method: ("INVITED" | "CREATED")
|
44
45
|
attr_accessor joined_timestamp: ::Time
|
45
46
|
SENSITIVE: [:email, :name]
|