aws-sdk-organizations 1.84.0 → 1.85.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-organizations/client.rb +1 -1
- data/lib/aws-sdk-organizations/plugins/endpoints.rb +1 -0
- data/lib/aws-sdk-organizations.rb +1 -1
- data/sig/client.rbs +675 -0
- data/sig/errors.rbs +162 -0
- data/sig/resource.rbs +80 -0
- data/sig/types.rbs +944 -0
- data/sig/waiters.rbs +13 -0
- metadata +9 -4
data/sig/types.rbs
ADDED
@@ -0,0 +1,944 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws::Organizations
|
9
|
+
module Types
|
10
|
+
|
11
|
+
class AWSOrganizationsNotInUseException
|
12
|
+
attr_accessor message: ::String
|
13
|
+
SENSITIVE: []
|
14
|
+
end
|
15
|
+
|
16
|
+
class AcceptHandshakeRequest
|
17
|
+
attr_accessor handshake_id: ::String
|
18
|
+
SENSITIVE: []
|
19
|
+
end
|
20
|
+
|
21
|
+
class AcceptHandshakeResponse
|
22
|
+
attr_accessor handshake: Types::Handshake
|
23
|
+
SENSITIVE: []
|
24
|
+
end
|
25
|
+
|
26
|
+
class AccessDeniedException
|
27
|
+
attr_accessor message: ::String
|
28
|
+
SENSITIVE: []
|
29
|
+
end
|
30
|
+
|
31
|
+
class AccessDeniedForDependencyException
|
32
|
+
attr_accessor message: ::String
|
33
|
+
attr_accessor reason: ("ACCESS_DENIED_DURING_CREATE_SERVICE_LINKED_ROLE")
|
34
|
+
SENSITIVE: []
|
35
|
+
end
|
36
|
+
|
37
|
+
class Account
|
38
|
+
attr_accessor id: ::String
|
39
|
+
attr_accessor arn: ::String
|
40
|
+
attr_accessor email: ::String
|
41
|
+
attr_accessor name: ::String
|
42
|
+
attr_accessor status: ("ACTIVE" | "SUSPENDED" | "PENDING_CLOSURE")
|
43
|
+
attr_accessor joined_method: ("INVITED" | "CREATED")
|
44
|
+
attr_accessor joined_timestamp: ::Time
|
45
|
+
SENSITIVE: [:email, :name]
|
46
|
+
end
|
47
|
+
|
48
|
+
class AccountAlreadyClosedException
|
49
|
+
attr_accessor message: ::String
|
50
|
+
SENSITIVE: []
|
51
|
+
end
|
52
|
+
|
53
|
+
class AccountAlreadyRegisteredException
|
54
|
+
attr_accessor message: ::String
|
55
|
+
SENSITIVE: []
|
56
|
+
end
|
57
|
+
|
58
|
+
class AccountNotFoundException
|
59
|
+
attr_accessor message: ::String
|
60
|
+
SENSITIVE: []
|
61
|
+
end
|
62
|
+
|
63
|
+
class AccountNotRegisteredException
|
64
|
+
attr_accessor message: ::String
|
65
|
+
SENSITIVE: []
|
66
|
+
end
|
67
|
+
|
68
|
+
class AccountOwnerNotVerifiedException
|
69
|
+
attr_accessor message: ::String
|
70
|
+
SENSITIVE: []
|
71
|
+
end
|
72
|
+
|
73
|
+
class AlreadyInOrganizationException
|
74
|
+
attr_accessor message: ::String
|
75
|
+
SENSITIVE: []
|
76
|
+
end
|
77
|
+
|
78
|
+
class AttachPolicyRequest
|
79
|
+
attr_accessor policy_id: ::String
|
80
|
+
attr_accessor target_id: ::String
|
81
|
+
SENSITIVE: []
|
82
|
+
end
|
83
|
+
|
84
|
+
class CancelHandshakeRequest
|
85
|
+
attr_accessor handshake_id: ::String
|
86
|
+
SENSITIVE: []
|
87
|
+
end
|
88
|
+
|
89
|
+
class CancelHandshakeResponse
|
90
|
+
attr_accessor handshake: Types::Handshake
|
91
|
+
SENSITIVE: []
|
92
|
+
end
|
93
|
+
|
94
|
+
class Child
|
95
|
+
attr_accessor id: ::String
|
96
|
+
attr_accessor type: ("ACCOUNT" | "ORGANIZATIONAL_UNIT")
|
97
|
+
SENSITIVE: []
|
98
|
+
end
|
99
|
+
|
100
|
+
class ChildNotFoundException
|
101
|
+
attr_accessor message: ::String
|
102
|
+
SENSITIVE: []
|
103
|
+
end
|
104
|
+
|
105
|
+
class CloseAccountRequest
|
106
|
+
attr_accessor account_id: ::String
|
107
|
+
SENSITIVE: []
|
108
|
+
end
|
109
|
+
|
110
|
+
class ConcurrentModificationException
|
111
|
+
attr_accessor message: ::String
|
112
|
+
SENSITIVE: []
|
113
|
+
end
|
114
|
+
|
115
|
+
class ConflictException
|
116
|
+
attr_accessor message: ::String
|
117
|
+
SENSITIVE: []
|
118
|
+
end
|
119
|
+
|
120
|
+
class ConstraintViolationException
|
121
|
+
attr_accessor message: ::String
|
122
|
+
attr_accessor reason: ("ACCOUNT_NUMBER_LIMIT_EXCEEDED" | "HANDSHAKE_RATE_LIMIT_EXCEEDED" | "OU_NUMBER_LIMIT_EXCEEDED" | "OU_DEPTH_LIMIT_EXCEEDED" | "POLICY_NUMBER_LIMIT_EXCEEDED" | "POLICY_CONTENT_LIMIT_EXCEEDED" | "MAX_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED" | "MIN_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED" | "ACCOUNT_CANNOT_LEAVE_ORGANIZATION" | "ACCOUNT_CANNOT_LEAVE_WITHOUT_EULA" | "ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION" | "MASTER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED" | "MEMBER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED" | "ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED" | "MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE" | "MASTER_ACCOUNT_MISSING_CONTACT_INFO" | "MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED" | "ORGANIZATION_NOT_IN_ALL_FEATURES_MODE" | "CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION" | "EMAIL_VERIFICATION_CODE_EXPIRED" | "WAIT_PERIOD_ACTIVE" | "MAX_TAG_LIMIT_EXCEEDED" | "TAG_POLICY_VIOLATION" | "MAX_DELEGATED_ADMINISTRATORS_FOR_SERVICE_LIMIT_EXCEEDED" | "CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR" | "CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG" | "DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE" | "MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE" | "CANNOT_CLOSE_MANAGEMENT_ACCOUNT" | "CLOSE_ACCOUNT_QUOTA_EXCEEDED" | "CLOSE_ACCOUNT_REQUESTS_LIMIT_EXCEEDED" | "SERVICE_ACCESS_NOT_ENABLED" | "INVALID_PAYMENT_INSTRUMENT" | "ACCOUNT_CREATION_NOT_COMPLETE")
|
123
|
+
SENSITIVE: []
|
124
|
+
end
|
125
|
+
|
126
|
+
class CreateAccountRequest
|
127
|
+
attr_accessor email: ::String
|
128
|
+
attr_accessor account_name: ::String
|
129
|
+
attr_accessor role_name: ::String
|
130
|
+
attr_accessor iam_user_access_to_billing: ("ALLOW" | "DENY")
|
131
|
+
attr_accessor tags: ::Array[Types::Tag]
|
132
|
+
SENSITIVE: [:email, :account_name]
|
133
|
+
end
|
134
|
+
|
135
|
+
class CreateAccountResponse
|
136
|
+
attr_accessor create_account_status: Types::CreateAccountStatus
|
137
|
+
SENSITIVE: []
|
138
|
+
end
|
139
|
+
|
140
|
+
class CreateAccountStatus
|
141
|
+
attr_accessor id: ::String
|
142
|
+
attr_accessor account_name: ::String
|
143
|
+
attr_accessor state: ("IN_PROGRESS" | "SUCCEEDED" | "FAILED")
|
144
|
+
attr_accessor requested_timestamp: ::Time
|
145
|
+
attr_accessor completed_timestamp: ::Time
|
146
|
+
attr_accessor account_id: ::String
|
147
|
+
attr_accessor gov_cloud_account_id: ::String
|
148
|
+
attr_accessor failure_reason: ("ACCOUNT_LIMIT_EXCEEDED" | "EMAIL_ALREADY_EXISTS" | "INVALID_ADDRESS" | "INVALID_EMAIL" | "CONCURRENT_ACCOUNT_MODIFICATION" | "INTERNAL_FAILURE" | "GOVCLOUD_ACCOUNT_ALREADY_EXISTS" | "MISSING_BUSINESS_VALIDATION" | "FAILED_BUSINESS_VALIDATION" | "PENDING_BUSINESS_VALIDATION" | "INVALID_IDENTITY_FOR_BUSINESS_VALIDATION" | "UNKNOWN_BUSINESS_VALIDATION" | "MISSING_PAYMENT_INSTRUMENT" | "INVALID_PAYMENT_INSTRUMENT" | "UPDATE_EXISTING_RESOURCE_POLICY_WITH_TAGS_NOT_SUPPORTED")
|
149
|
+
SENSITIVE: [:account_name]
|
150
|
+
end
|
151
|
+
|
152
|
+
class CreateAccountStatusNotFoundException
|
153
|
+
attr_accessor message: ::String
|
154
|
+
SENSITIVE: []
|
155
|
+
end
|
156
|
+
|
157
|
+
class CreateGovCloudAccountRequest
|
158
|
+
attr_accessor email: ::String
|
159
|
+
attr_accessor account_name: ::String
|
160
|
+
attr_accessor role_name: ::String
|
161
|
+
attr_accessor iam_user_access_to_billing: ("ALLOW" | "DENY")
|
162
|
+
attr_accessor tags: ::Array[Types::Tag]
|
163
|
+
SENSITIVE: [:email, :account_name]
|
164
|
+
end
|
165
|
+
|
166
|
+
class CreateGovCloudAccountResponse
|
167
|
+
attr_accessor create_account_status: Types::CreateAccountStatus
|
168
|
+
SENSITIVE: []
|
169
|
+
end
|
170
|
+
|
171
|
+
class CreateOrganizationRequest
|
172
|
+
attr_accessor feature_set: ("ALL" | "CONSOLIDATED_BILLING")
|
173
|
+
SENSITIVE: []
|
174
|
+
end
|
175
|
+
|
176
|
+
class CreateOrganizationResponse
|
177
|
+
attr_accessor organization: Types::Organization
|
178
|
+
SENSITIVE: []
|
179
|
+
end
|
180
|
+
|
181
|
+
class CreateOrganizationalUnitRequest
|
182
|
+
attr_accessor parent_id: ::String
|
183
|
+
attr_accessor name: ::String
|
184
|
+
attr_accessor tags: ::Array[Types::Tag]
|
185
|
+
SENSITIVE: []
|
186
|
+
end
|
187
|
+
|
188
|
+
class CreateOrganizationalUnitResponse
|
189
|
+
attr_accessor organizational_unit: Types::OrganizationalUnit
|
190
|
+
SENSITIVE: []
|
191
|
+
end
|
192
|
+
|
193
|
+
class CreatePolicyRequest
|
194
|
+
attr_accessor content: ::String
|
195
|
+
attr_accessor description: ::String
|
196
|
+
attr_accessor name: ::String
|
197
|
+
attr_accessor type: ("SERVICE_CONTROL_POLICY" | "TAG_POLICY" | "BACKUP_POLICY" | "AISERVICES_OPT_OUT_POLICY")
|
198
|
+
attr_accessor tags: ::Array[Types::Tag]
|
199
|
+
SENSITIVE: []
|
200
|
+
end
|
201
|
+
|
202
|
+
class CreatePolicyResponse
|
203
|
+
attr_accessor policy: Types::Policy
|
204
|
+
SENSITIVE: []
|
205
|
+
end
|
206
|
+
|
207
|
+
class DeclineHandshakeRequest
|
208
|
+
attr_accessor handshake_id: ::String
|
209
|
+
SENSITIVE: []
|
210
|
+
end
|
211
|
+
|
212
|
+
class DeclineHandshakeResponse
|
213
|
+
attr_accessor handshake: Types::Handshake
|
214
|
+
SENSITIVE: []
|
215
|
+
end
|
216
|
+
|
217
|
+
class DelegatedAdministrator
|
218
|
+
attr_accessor id: ::String
|
219
|
+
attr_accessor arn: ::String
|
220
|
+
attr_accessor email: ::String
|
221
|
+
attr_accessor name: ::String
|
222
|
+
attr_accessor status: ("ACTIVE" | "SUSPENDED" | "PENDING_CLOSURE")
|
223
|
+
attr_accessor joined_method: ("INVITED" | "CREATED")
|
224
|
+
attr_accessor joined_timestamp: ::Time
|
225
|
+
attr_accessor delegation_enabled_date: ::Time
|
226
|
+
SENSITIVE: [:email, :name]
|
227
|
+
end
|
228
|
+
|
229
|
+
class DelegatedService
|
230
|
+
attr_accessor service_principal: ::String
|
231
|
+
attr_accessor delegation_enabled_date: ::Time
|
232
|
+
SENSITIVE: []
|
233
|
+
end
|
234
|
+
|
235
|
+
class DeleteOrganizationalUnitRequest
|
236
|
+
attr_accessor organizational_unit_id: ::String
|
237
|
+
SENSITIVE: []
|
238
|
+
end
|
239
|
+
|
240
|
+
class DeletePolicyRequest
|
241
|
+
attr_accessor policy_id: ::String
|
242
|
+
SENSITIVE: []
|
243
|
+
end
|
244
|
+
|
245
|
+
class DeregisterDelegatedAdministratorRequest
|
246
|
+
attr_accessor account_id: ::String
|
247
|
+
attr_accessor service_principal: ::String
|
248
|
+
SENSITIVE: []
|
249
|
+
end
|
250
|
+
|
251
|
+
class DescribeAccountRequest
|
252
|
+
attr_accessor account_id: ::String
|
253
|
+
SENSITIVE: []
|
254
|
+
end
|
255
|
+
|
256
|
+
class DescribeAccountResponse
|
257
|
+
attr_accessor account: Types::Account
|
258
|
+
SENSITIVE: []
|
259
|
+
end
|
260
|
+
|
261
|
+
class DescribeCreateAccountStatusRequest
|
262
|
+
attr_accessor create_account_request_id: ::String
|
263
|
+
SENSITIVE: []
|
264
|
+
end
|
265
|
+
|
266
|
+
class DescribeCreateAccountStatusResponse
|
267
|
+
attr_accessor create_account_status: Types::CreateAccountStatus
|
268
|
+
SENSITIVE: []
|
269
|
+
end
|
270
|
+
|
271
|
+
class DescribeEffectivePolicyRequest
|
272
|
+
attr_accessor policy_type: ("TAG_POLICY" | "BACKUP_POLICY" | "AISERVICES_OPT_OUT_POLICY")
|
273
|
+
attr_accessor target_id: ::String
|
274
|
+
SENSITIVE: []
|
275
|
+
end
|
276
|
+
|
277
|
+
class DescribeEffectivePolicyResponse
|
278
|
+
attr_accessor effective_policy: Types::EffectivePolicy
|
279
|
+
SENSITIVE: []
|
280
|
+
end
|
281
|
+
|
282
|
+
class DescribeHandshakeRequest
|
283
|
+
attr_accessor handshake_id: ::String
|
284
|
+
SENSITIVE: []
|
285
|
+
end
|
286
|
+
|
287
|
+
class DescribeHandshakeResponse
|
288
|
+
attr_accessor handshake: Types::Handshake
|
289
|
+
SENSITIVE: []
|
290
|
+
end
|
291
|
+
|
292
|
+
class DescribeOrganizationResponse
|
293
|
+
attr_accessor organization: Types::Organization
|
294
|
+
SENSITIVE: []
|
295
|
+
end
|
296
|
+
|
297
|
+
class DescribeOrganizationalUnitRequest
|
298
|
+
attr_accessor organizational_unit_id: ::String
|
299
|
+
SENSITIVE: []
|
300
|
+
end
|
301
|
+
|
302
|
+
class DescribeOrganizationalUnitResponse
|
303
|
+
attr_accessor organizational_unit: Types::OrganizationalUnit
|
304
|
+
SENSITIVE: []
|
305
|
+
end
|
306
|
+
|
307
|
+
class DescribePolicyRequest
|
308
|
+
attr_accessor policy_id: ::String
|
309
|
+
SENSITIVE: []
|
310
|
+
end
|
311
|
+
|
312
|
+
class DescribePolicyResponse
|
313
|
+
attr_accessor policy: Types::Policy
|
314
|
+
SENSITIVE: []
|
315
|
+
end
|
316
|
+
|
317
|
+
class DescribeResourcePolicyResponse
|
318
|
+
attr_accessor resource_policy: Types::ResourcePolicy
|
319
|
+
SENSITIVE: []
|
320
|
+
end
|
321
|
+
|
322
|
+
class DestinationParentNotFoundException
|
323
|
+
attr_accessor message: ::String
|
324
|
+
SENSITIVE: []
|
325
|
+
end
|
326
|
+
|
327
|
+
class DetachPolicyRequest
|
328
|
+
attr_accessor policy_id: ::String
|
329
|
+
attr_accessor target_id: ::String
|
330
|
+
SENSITIVE: []
|
331
|
+
end
|
332
|
+
|
333
|
+
class DisableAWSServiceAccessRequest
|
334
|
+
attr_accessor service_principal: ::String
|
335
|
+
SENSITIVE: []
|
336
|
+
end
|
337
|
+
|
338
|
+
class DisablePolicyTypeRequest
|
339
|
+
attr_accessor root_id: ::String
|
340
|
+
attr_accessor policy_type: ("SERVICE_CONTROL_POLICY" | "TAG_POLICY" | "BACKUP_POLICY" | "AISERVICES_OPT_OUT_POLICY")
|
341
|
+
SENSITIVE: []
|
342
|
+
end
|
343
|
+
|
344
|
+
class DisablePolicyTypeResponse
|
345
|
+
attr_accessor root: Types::Root
|
346
|
+
SENSITIVE: []
|
347
|
+
end
|
348
|
+
|
349
|
+
class DuplicateAccountException
|
350
|
+
attr_accessor message: ::String
|
351
|
+
SENSITIVE: []
|
352
|
+
end
|
353
|
+
|
354
|
+
class DuplicateHandshakeException
|
355
|
+
attr_accessor message: ::String
|
356
|
+
SENSITIVE: []
|
357
|
+
end
|
358
|
+
|
359
|
+
class DuplicateOrganizationalUnitException
|
360
|
+
attr_accessor message: ::String
|
361
|
+
SENSITIVE: []
|
362
|
+
end
|
363
|
+
|
364
|
+
class DuplicatePolicyAttachmentException
|
365
|
+
attr_accessor message: ::String
|
366
|
+
SENSITIVE: []
|
367
|
+
end
|
368
|
+
|
369
|
+
class DuplicatePolicyException
|
370
|
+
attr_accessor message: ::String
|
371
|
+
SENSITIVE: []
|
372
|
+
end
|
373
|
+
|
374
|
+
class EffectivePolicy
|
375
|
+
attr_accessor policy_content: ::String
|
376
|
+
attr_accessor last_updated_timestamp: ::Time
|
377
|
+
attr_accessor target_id: ::String
|
378
|
+
attr_accessor policy_type: ("TAG_POLICY" | "BACKUP_POLICY" | "AISERVICES_OPT_OUT_POLICY")
|
379
|
+
SENSITIVE: []
|
380
|
+
end
|
381
|
+
|
382
|
+
class EffectivePolicyNotFoundException
|
383
|
+
attr_accessor message: ::String
|
384
|
+
SENSITIVE: []
|
385
|
+
end
|
386
|
+
|
387
|
+
class EnableAWSServiceAccessRequest
|
388
|
+
attr_accessor service_principal: ::String
|
389
|
+
SENSITIVE: []
|
390
|
+
end
|
391
|
+
|
392
|
+
class EnableAllFeaturesRequest < Aws::EmptyStructure
|
393
|
+
end
|
394
|
+
|
395
|
+
class EnableAllFeaturesResponse
|
396
|
+
attr_accessor handshake: Types::Handshake
|
397
|
+
SENSITIVE: []
|
398
|
+
end
|
399
|
+
|
400
|
+
class EnablePolicyTypeRequest
|
401
|
+
attr_accessor root_id: ::String
|
402
|
+
attr_accessor policy_type: ("SERVICE_CONTROL_POLICY" | "TAG_POLICY" | "BACKUP_POLICY" | "AISERVICES_OPT_OUT_POLICY")
|
403
|
+
SENSITIVE: []
|
404
|
+
end
|
405
|
+
|
406
|
+
class EnablePolicyTypeResponse
|
407
|
+
attr_accessor root: Types::Root
|
408
|
+
SENSITIVE: []
|
409
|
+
end
|
410
|
+
|
411
|
+
class EnabledServicePrincipal
|
412
|
+
attr_accessor service_principal: ::String
|
413
|
+
attr_accessor date_enabled: ::Time
|
414
|
+
SENSITIVE: []
|
415
|
+
end
|
416
|
+
|
417
|
+
class FinalizingOrganizationException
|
418
|
+
attr_accessor message: ::String
|
419
|
+
SENSITIVE: []
|
420
|
+
end
|
421
|
+
|
422
|
+
class Handshake
|
423
|
+
attr_accessor id: ::String
|
424
|
+
attr_accessor arn: ::String
|
425
|
+
attr_accessor parties: ::Array[Types::HandshakeParty]
|
426
|
+
attr_accessor state: ("REQUESTED" | "OPEN" | "CANCELED" | "ACCEPTED" | "DECLINED" | "EXPIRED")
|
427
|
+
attr_accessor requested_timestamp: ::Time
|
428
|
+
attr_accessor expiration_timestamp: ::Time
|
429
|
+
attr_accessor action: ("INVITE" | "ENABLE_ALL_FEATURES" | "APPROVE_ALL_FEATURES" | "ADD_ORGANIZATIONS_SERVICE_LINKED_ROLE")
|
430
|
+
attr_accessor resources: ::Array[Types::HandshakeResource]
|
431
|
+
SENSITIVE: []
|
432
|
+
end
|
433
|
+
|
434
|
+
class HandshakeAlreadyInStateException
|
435
|
+
attr_accessor message: ::String
|
436
|
+
SENSITIVE: []
|
437
|
+
end
|
438
|
+
|
439
|
+
class HandshakeConstraintViolationException
|
440
|
+
attr_accessor message: ::String
|
441
|
+
attr_accessor reason: ("ACCOUNT_NUMBER_LIMIT_EXCEEDED" | "HANDSHAKE_RATE_LIMIT_EXCEEDED" | "ALREADY_IN_AN_ORGANIZATION" | "ORGANIZATION_ALREADY_HAS_ALL_FEATURES" | "ORGANIZATION_IS_ALREADY_PENDING_ALL_FEATURES_MIGRATION" | "INVITE_DISABLED_DURING_ENABLE_ALL_FEATURES" | "PAYMENT_INSTRUMENT_REQUIRED" | "ORGANIZATION_FROM_DIFFERENT_SELLER_OF_RECORD" | "ORGANIZATION_MEMBERSHIP_CHANGE_RATE_LIMIT_EXCEEDED" | "MANAGEMENT_ACCOUNT_EMAIL_NOT_VERIFIED")
|
442
|
+
SENSITIVE: []
|
443
|
+
end
|
444
|
+
|
445
|
+
class HandshakeFilter
|
446
|
+
attr_accessor action_type: ("INVITE" | "ENABLE_ALL_FEATURES" | "APPROVE_ALL_FEATURES" | "ADD_ORGANIZATIONS_SERVICE_LINKED_ROLE")
|
447
|
+
attr_accessor parent_handshake_id: ::String
|
448
|
+
SENSITIVE: []
|
449
|
+
end
|
450
|
+
|
451
|
+
class HandshakeNotFoundException
|
452
|
+
attr_accessor message: ::String
|
453
|
+
SENSITIVE: []
|
454
|
+
end
|
455
|
+
|
456
|
+
class HandshakeParty
|
457
|
+
attr_accessor id: ::String
|
458
|
+
attr_accessor type: ("ACCOUNT" | "ORGANIZATION" | "EMAIL")
|
459
|
+
SENSITIVE: [:id]
|
460
|
+
end
|
461
|
+
|
462
|
+
class HandshakeResource
|
463
|
+
attr_accessor value: ::String
|
464
|
+
attr_accessor type: ("ACCOUNT" | "ORGANIZATION" | "ORGANIZATION_FEATURE_SET" | "EMAIL" | "MASTER_EMAIL" | "MASTER_NAME" | "NOTES" | "PARENT_HANDSHAKE")
|
465
|
+
attr_accessor resources: ::Array[Types::HandshakeResource]
|
466
|
+
SENSITIVE: [:value]
|
467
|
+
end
|
468
|
+
|
469
|
+
class InvalidHandshakeTransitionException
|
470
|
+
attr_accessor message: ::String
|
471
|
+
SENSITIVE: []
|
472
|
+
end
|
473
|
+
|
474
|
+
class InvalidInputException
|
475
|
+
attr_accessor message: ::String
|
476
|
+
attr_accessor reason: ("INVALID_PARTY_TYPE_TARGET" | "INVALID_SYNTAX_ORGANIZATION_ARN" | "INVALID_SYNTAX_POLICY_ID" | "INVALID_ENUM" | "INVALID_ENUM_POLICY_TYPE" | "INVALID_LIST_MEMBER" | "MAX_LENGTH_EXCEEDED" | "MAX_VALUE_EXCEEDED" | "MIN_LENGTH_EXCEEDED" | "MIN_VALUE_EXCEEDED" | "IMMUTABLE_POLICY" | "INVALID_PATTERN" | "INVALID_PATTERN_TARGET_ID" | "INPUT_REQUIRED" | "INVALID_NEXT_TOKEN" | "MAX_LIMIT_EXCEEDED_FILTER" | "MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS" | "INVALID_FULL_NAME_TARGET" | "UNRECOGNIZED_SERVICE_PRINCIPAL" | "INVALID_ROLE_NAME" | "INVALID_SYSTEM_TAGS_PARAMETER" | "DUPLICATE_TAG_KEY" | "TARGET_NOT_SUPPORTED" | "INVALID_EMAIL_ADDRESS_TARGET" | "INVALID_RESOURCE_POLICY_JSON" | "UNSUPPORTED_ACTION_IN_RESOURCE_POLICY" | "UNSUPPORTED_POLICY_TYPE_IN_RESOURCE_POLICY" | "UNSUPPORTED_RESOURCE_IN_RESOURCE_POLICY")
|
477
|
+
SENSITIVE: []
|
478
|
+
end
|
479
|
+
|
480
|
+
class InviteAccountToOrganizationRequest
|
481
|
+
attr_accessor target: Types::HandshakeParty
|
482
|
+
attr_accessor notes: ::String
|
483
|
+
attr_accessor tags: ::Array[Types::Tag]
|
484
|
+
SENSITIVE: [:notes]
|
485
|
+
end
|
486
|
+
|
487
|
+
class InviteAccountToOrganizationResponse
|
488
|
+
attr_accessor handshake: Types::Handshake
|
489
|
+
SENSITIVE: []
|
490
|
+
end
|
491
|
+
|
492
|
+
class ListAWSServiceAccessForOrganizationRequest
|
493
|
+
attr_accessor next_token: ::String
|
494
|
+
attr_accessor max_results: ::Integer
|
495
|
+
SENSITIVE: []
|
496
|
+
end
|
497
|
+
|
498
|
+
class ListAWSServiceAccessForOrganizationResponse
|
499
|
+
attr_accessor enabled_service_principals: ::Array[Types::EnabledServicePrincipal]
|
500
|
+
attr_accessor next_token: ::String
|
501
|
+
SENSITIVE: []
|
502
|
+
end
|
503
|
+
|
504
|
+
class ListAccountsForParentRequest
|
505
|
+
attr_accessor parent_id: ::String
|
506
|
+
attr_accessor next_token: ::String
|
507
|
+
attr_accessor max_results: ::Integer
|
508
|
+
SENSITIVE: []
|
509
|
+
end
|
510
|
+
|
511
|
+
class ListAccountsForParentResponse
|
512
|
+
attr_accessor accounts: ::Array[Types::Account]
|
513
|
+
attr_accessor next_token: ::String
|
514
|
+
SENSITIVE: []
|
515
|
+
end
|
516
|
+
|
517
|
+
class ListAccountsRequest
|
518
|
+
attr_accessor next_token: ::String
|
519
|
+
attr_accessor max_results: ::Integer
|
520
|
+
SENSITIVE: []
|
521
|
+
end
|
522
|
+
|
523
|
+
class ListAccountsResponse
|
524
|
+
attr_accessor accounts: ::Array[Types::Account]
|
525
|
+
attr_accessor next_token: ::String
|
526
|
+
SENSITIVE: []
|
527
|
+
end
|
528
|
+
|
529
|
+
class ListChildrenRequest
|
530
|
+
attr_accessor parent_id: ::String
|
531
|
+
attr_accessor child_type: ("ACCOUNT" | "ORGANIZATIONAL_UNIT")
|
532
|
+
attr_accessor next_token: ::String
|
533
|
+
attr_accessor max_results: ::Integer
|
534
|
+
SENSITIVE: []
|
535
|
+
end
|
536
|
+
|
537
|
+
class ListChildrenResponse
|
538
|
+
attr_accessor children: ::Array[Types::Child]
|
539
|
+
attr_accessor next_token: ::String
|
540
|
+
SENSITIVE: []
|
541
|
+
end
|
542
|
+
|
543
|
+
class ListCreateAccountStatusRequest
|
544
|
+
attr_accessor states: ::Array[("IN_PROGRESS" | "SUCCEEDED" | "FAILED")]
|
545
|
+
attr_accessor next_token: ::String
|
546
|
+
attr_accessor max_results: ::Integer
|
547
|
+
SENSITIVE: []
|
548
|
+
end
|
549
|
+
|
550
|
+
class ListCreateAccountStatusResponse
|
551
|
+
attr_accessor create_account_statuses: ::Array[Types::CreateAccountStatus]
|
552
|
+
attr_accessor next_token: ::String
|
553
|
+
SENSITIVE: []
|
554
|
+
end
|
555
|
+
|
556
|
+
class ListDelegatedAdministratorsRequest
|
557
|
+
attr_accessor service_principal: ::String
|
558
|
+
attr_accessor next_token: ::String
|
559
|
+
attr_accessor max_results: ::Integer
|
560
|
+
SENSITIVE: []
|
561
|
+
end
|
562
|
+
|
563
|
+
class ListDelegatedAdministratorsResponse
|
564
|
+
attr_accessor delegated_administrators: ::Array[Types::DelegatedAdministrator]
|
565
|
+
attr_accessor next_token: ::String
|
566
|
+
SENSITIVE: []
|
567
|
+
end
|
568
|
+
|
569
|
+
class ListDelegatedServicesForAccountRequest
|
570
|
+
attr_accessor account_id: ::String
|
571
|
+
attr_accessor next_token: ::String
|
572
|
+
attr_accessor max_results: ::Integer
|
573
|
+
SENSITIVE: []
|
574
|
+
end
|
575
|
+
|
576
|
+
class ListDelegatedServicesForAccountResponse
|
577
|
+
attr_accessor delegated_services: ::Array[Types::DelegatedService]
|
578
|
+
attr_accessor next_token: ::String
|
579
|
+
SENSITIVE: []
|
580
|
+
end
|
581
|
+
|
582
|
+
class ListHandshakesForAccountRequest
|
583
|
+
attr_accessor filter: Types::HandshakeFilter
|
584
|
+
attr_accessor next_token: ::String
|
585
|
+
attr_accessor max_results: ::Integer
|
586
|
+
SENSITIVE: []
|
587
|
+
end
|
588
|
+
|
589
|
+
class ListHandshakesForAccountResponse
|
590
|
+
attr_accessor handshakes: ::Array[Types::Handshake]
|
591
|
+
attr_accessor next_token: ::String
|
592
|
+
SENSITIVE: []
|
593
|
+
end
|
594
|
+
|
595
|
+
class ListHandshakesForOrganizationRequest
|
596
|
+
attr_accessor filter: Types::HandshakeFilter
|
597
|
+
attr_accessor next_token: ::String
|
598
|
+
attr_accessor max_results: ::Integer
|
599
|
+
SENSITIVE: []
|
600
|
+
end
|
601
|
+
|
602
|
+
class ListHandshakesForOrganizationResponse
|
603
|
+
attr_accessor handshakes: ::Array[Types::Handshake]
|
604
|
+
attr_accessor next_token: ::String
|
605
|
+
SENSITIVE: []
|
606
|
+
end
|
607
|
+
|
608
|
+
class ListOrganizationalUnitsForParentRequest
|
609
|
+
attr_accessor parent_id: ::String
|
610
|
+
attr_accessor next_token: ::String
|
611
|
+
attr_accessor max_results: ::Integer
|
612
|
+
SENSITIVE: []
|
613
|
+
end
|
614
|
+
|
615
|
+
class ListOrganizationalUnitsForParentResponse
|
616
|
+
attr_accessor organizational_units: ::Array[Types::OrganizationalUnit]
|
617
|
+
attr_accessor next_token: ::String
|
618
|
+
SENSITIVE: []
|
619
|
+
end
|
620
|
+
|
621
|
+
class ListParentsRequest
|
622
|
+
attr_accessor child_id: ::String
|
623
|
+
attr_accessor next_token: ::String
|
624
|
+
attr_accessor max_results: ::Integer
|
625
|
+
SENSITIVE: []
|
626
|
+
end
|
627
|
+
|
628
|
+
class ListParentsResponse
|
629
|
+
attr_accessor parents: ::Array[Types::Parent]
|
630
|
+
attr_accessor next_token: ::String
|
631
|
+
SENSITIVE: []
|
632
|
+
end
|
633
|
+
|
634
|
+
class ListPoliciesForTargetRequest
|
635
|
+
attr_accessor target_id: ::String
|
636
|
+
attr_accessor filter: ("SERVICE_CONTROL_POLICY" | "TAG_POLICY" | "BACKUP_POLICY" | "AISERVICES_OPT_OUT_POLICY")
|
637
|
+
attr_accessor next_token: ::String
|
638
|
+
attr_accessor max_results: ::Integer
|
639
|
+
SENSITIVE: []
|
640
|
+
end
|
641
|
+
|
642
|
+
class ListPoliciesForTargetResponse
|
643
|
+
attr_accessor policies: ::Array[Types::PolicySummary]
|
644
|
+
attr_accessor next_token: ::String
|
645
|
+
SENSITIVE: []
|
646
|
+
end
|
647
|
+
|
648
|
+
class ListPoliciesRequest
|
649
|
+
attr_accessor filter: ("SERVICE_CONTROL_POLICY" | "TAG_POLICY" | "BACKUP_POLICY" | "AISERVICES_OPT_OUT_POLICY")
|
650
|
+
attr_accessor next_token: ::String
|
651
|
+
attr_accessor max_results: ::Integer
|
652
|
+
SENSITIVE: []
|
653
|
+
end
|
654
|
+
|
655
|
+
class ListPoliciesResponse
|
656
|
+
attr_accessor policies: ::Array[Types::PolicySummary]
|
657
|
+
attr_accessor next_token: ::String
|
658
|
+
SENSITIVE: []
|
659
|
+
end
|
660
|
+
|
661
|
+
class ListRootsRequest
|
662
|
+
attr_accessor next_token: ::String
|
663
|
+
attr_accessor max_results: ::Integer
|
664
|
+
SENSITIVE: []
|
665
|
+
end
|
666
|
+
|
667
|
+
class ListRootsResponse
|
668
|
+
attr_accessor roots: ::Array[Types::Root]
|
669
|
+
attr_accessor next_token: ::String
|
670
|
+
SENSITIVE: []
|
671
|
+
end
|
672
|
+
|
673
|
+
class ListTagsForResourceRequest
|
674
|
+
attr_accessor resource_id: ::String
|
675
|
+
attr_accessor next_token: ::String
|
676
|
+
SENSITIVE: []
|
677
|
+
end
|
678
|
+
|
679
|
+
class ListTagsForResourceResponse
|
680
|
+
attr_accessor tags: ::Array[Types::Tag]
|
681
|
+
attr_accessor next_token: ::String
|
682
|
+
SENSITIVE: []
|
683
|
+
end
|
684
|
+
|
685
|
+
class ListTargetsForPolicyRequest
|
686
|
+
attr_accessor policy_id: ::String
|
687
|
+
attr_accessor next_token: ::String
|
688
|
+
attr_accessor max_results: ::Integer
|
689
|
+
SENSITIVE: []
|
690
|
+
end
|
691
|
+
|
692
|
+
class ListTargetsForPolicyResponse
|
693
|
+
attr_accessor targets: ::Array[Types::PolicyTargetSummary]
|
694
|
+
attr_accessor next_token: ::String
|
695
|
+
SENSITIVE: []
|
696
|
+
end
|
697
|
+
|
698
|
+
class MalformedPolicyDocumentException
|
699
|
+
attr_accessor message: ::String
|
700
|
+
SENSITIVE: []
|
701
|
+
end
|
702
|
+
|
703
|
+
class MasterCannotLeaveOrganizationException
|
704
|
+
attr_accessor message: ::String
|
705
|
+
SENSITIVE: []
|
706
|
+
end
|
707
|
+
|
708
|
+
class MoveAccountRequest
|
709
|
+
attr_accessor account_id: ::String
|
710
|
+
attr_accessor source_parent_id: ::String
|
711
|
+
attr_accessor destination_parent_id: ::String
|
712
|
+
SENSITIVE: []
|
713
|
+
end
|
714
|
+
|
715
|
+
class Organization
|
716
|
+
attr_accessor id: ::String
|
717
|
+
attr_accessor arn: ::String
|
718
|
+
attr_accessor feature_set: ("ALL" | "CONSOLIDATED_BILLING")
|
719
|
+
attr_accessor master_account_arn: ::String
|
720
|
+
attr_accessor master_account_id: ::String
|
721
|
+
attr_accessor master_account_email: ::String
|
722
|
+
attr_accessor available_policy_types: ::Array[Types::PolicyTypeSummary]
|
723
|
+
SENSITIVE: [:master_account_email]
|
724
|
+
end
|
725
|
+
|
726
|
+
class OrganizationNotEmptyException
|
727
|
+
attr_accessor message: ::String
|
728
|
+
SENSITIVE: []
|
729
|
+
end
|
730
|
+
|
731
|
+
class OrganizationalUnit
|
732
|
+
attr_accessor id: ::String
|
733
|
+
attr_accessor arn: ::String
|
734
|
+
attr_accessor name: ::String
|
735
|
+
SENSITIVE: []
|
736
|
+
end
|
737
|
+
|
738
|
+
class OrganizationalUnitNotEmptyException
|
739
|
+
attr_accessor message: ::String
|
740
|
+
SENSITIVE: []
|
741
|
+
end
|
742
|
+
|
743
|
+
class OrganizationalUnitNotFoundException
|
744
|
+
attr_accessor message: ::String
|
745
|
+
SENSITIVE: []
|
746
|
+
end
|
747
|
+
|
748
|
+
class Parent
|
749
|
+
attr_accessor id: ::String
|
750
|
+
attr_accessor type: ("ROOT" | "ORGANIZATIONAL_UNIT")
|
751
|
+
SENSITIVE: []
|
752
|
+
end
|
753
|
+
|
754
|
+
class ParentNotFoundException
|
755
|
+
attr_accessor message: ::String
|
756
|
+
SENSITIVE: []
|
757
|
+
end
|
758
|
+
|
759
|
+
class Policy
|
760
|
+
attr_accessor policy_summary: Types::PolicySummary
|
761
|
+
attr_accessor content: ::String
|
762
|
+
SENSITIVE: []
|
763
|
+
end
|
764
|
+
|
765
|
+
class PolicyChangesInProgressException
|
766
|
+
attr_accessor message: ::String
|
767
|
+
SENSITIVE: []
|
768
|
+
end
|
769
|
+
|
770
|
+
class PolicyInUseException
|
771
|
+
attr_accessor message: ::String
|
772
|
+
SENSITIVE: []
|
773
|
+
end
|
774
|
+
|
775
|
+
class PolicyNotAttachedException
|
776
|
+
attr_accessor message: ::String
|
777
|
+
SENSITIVE: []
|
778
|
+
end
|
779
|
+
|
780
|
+
class PolicyNotFoundException
|
781
|
+
attr_accessor message: ::String
|
782
|
+
SENSITIVE: []
|
783
|
+
end
|
784
|
+
|
785
|
+
class PolicySummary
|
786
|
+
attr_accessor id: ::String
|
787
|
+
attr_accessor arn: ::String
|
788
|
+
attr_accessor name: ::String
|
789
|
+
attr_accessor description: ::String
|
790
|
+
attr_accessor type: ("SERVICE_CONTROL_POLICY" | "TAG_POLICY" | "BACKUP_POLICY" | "AISERVICES_OPT_OUT_POLICY")
|
791
|
+
attr_accessor aws_managed: bool
|
792
|
+
SENSITIVE: []
|
793
|
+
end
|
794
|
+
|
795
|
+
class PolicyTargetSummary
|
796
|
+
attr_accessor target_id: ::String
|
797
|
+
attr_accessor arn: ::String
|
798
|
+
attr_accessor name: ::String
|
799
|
+
attr_accessor type: ("ACCOUNT" | "ORGANIZATIONAL_UNIT" | "ROOT")
|
800
|
+
SENSITIVE: []
|
801
|
+
end
|
802
|
+
|
803
|
+
class PolicyTypeAlreadyEnabledException
|
804
|
+
attr_accessor message: ::String
|
805
|
+
SENSITIVE: []
|
806
|
+
end
|
807
|
+
|
808
|
+
class PolicyTypeNotAvailableForOrganizationException
|
809
|
+
attr_accessor message: ::String
|
810
|
+
SENSITIVE: []
|
811
|
+
end
|
812
|
+
|
813
|
+
class PolicyTypeNotEnabledException
|
814
|
+
attr_accessor message: ::String
|
815
|
+
SENSITIVE: []
|
816
|
+
end
|
817
|
+
|
818
|
+
class PolicyTypeSummary
|
819
|
+
attr_accessor type: ("SERVICE_CONTROL_POLICY" | "TAG_POLICY" | "BACKUP_POLICY" | "AISERVICES_OPT_OUT_POLICY")
|
820
|
+
attr_accessor status: ("ENABLED" | "PENDING_ENABLE" | "PENDING_DISABLE")
|
821
|
+
SENSITIVE: []
|
822
|
+
end
|
823
|
+
|
824
|
+
class PutResourcePolicyRequest
|
825
|
+
attr_accessor content: ::String
|
826
|
+
attr_accessor tags: ::Array[Types::Tag]
|
827
|
+
SENSITIVE: []
|
828
|
+
end
|
829
|
+
|
830
|
+
class PutResourcePolicyResponse
|
831
|
+
attr_accessor resource_policy: Types::ResourcePolicy
|
832
|
+
SENSITIVE: []
|
833
|
+
end
|
834
|
+
|
835
|
+
class RegisterDelegatedAdministratorRequest
|
836
|
+
attr_accessor account_id: ::String
|
837
|
+
attr_accessor service_principal: ::String
|
838
|
+
SENSITIVE: []
|
839
|
+
end
|
840
|
+
|
841
|
+
class RemoveAccountFromOrganizationRequest
|
842
|
+
attr_accessor account_id: ::String
|
843
|
+
SENSITIVE: []
|
844
|
+
end
|
845
|
+
|
846
|
+
class ResourcePolicy
|
847
|
+
attr_accessor resource_policy_summary: Types::ResourcePolicySummary
|
848
|
+
attr_accessor content: ::String
|
849
|
+
SENSITIVE: []
|
850
|
+
end
|
851
|
+
|
852
|
+
class ResourcePolicyNotFoundException
|
853
|
+
attr_accessor message: ::String
|
854
|
+
SENSITIVE: []
|
855
|
+
end
|
856
|
+
|
857
|
+
class ResourcePolicySummary
|
858
|
+
attr_accessor id: ::String
|
859
|
+
attr_accessor arn: ::String
|
860
|
+
SENSITIVE: []
|
861
|
+
end
|
862
|
+
|
863
|
+
class Root
|
864
|
+
attr_accessor id: ::String
|
865
|
+
attr_accessor arn: ::String
|
866
|
+
attr_accessor name: ::String
|
867
|
+
attr_accessor policy_types: ::Array[Types::PolicyTypeSummary]
|
868
|
+
SENSITIVE: []
|
869
|
+
end
|
870
|
+
|
871
|
+
class RootNotFoundException
|
872
|
+
attr_accessor message: ::String
|
873
|
+
SENSITIVE: []
|
874
|
+
end
|
875
|
+
|
876
|
+
class ServiceException
|
877
|
+
attr_accessor message: ::String
|
878
|
+
SENSITIVE: []
|
879
|
+
end
|
880
|
+
|
881
|
+
class SourceParentNotFoundException
|
882
|
+
attr_accessor message: ::String
|
883
|
+
SENSITIVE: []
|
884
|
+
end
|
885
|
+
|
886
|
+
class Tag
|
887
|
+
attr_accessor key: ::String
|
888
|
+
attr_accessor value: ::String
|
889
|
+
SENSITIVE: []
|
890
|
+
end
|
891
|
+
|
892
|
+
class TagResourceRequest
|
893
|
+
attr_accessor resource_id: ::String
|
894
|
+
attr_accessor tags: ::Array[Types::Tag]
|
895
|
+
SENSITIVE: []
|
896
|
+
end
|
897
|
+
|
898
|
+
class TargetNotFoundException
|
899
|
+
attr_accessor message: ::String
|
900
|
+
SENSITIVE: []
|
901
|
+
end
|
902
|
+
|
903
|
+
class TooManyRequestsException
|
904
|
+
attr_accessor type: ::String
|
905
|
+
attr_accessor message: ::String
|
906
|
+
SENSITIVE: []
|
907
|
+
end
|
908
|
+
|
909
|
+
class UnsupportedAPIEndpointException
|
910
|
+
attr_accessor message: ::String
|
911
|
+
SENSITIVE: []
|
912
|
+
end
|
913
|
+
|
914
|
+
class UntagResourceRequest
|
915
|
+
attr_accessor resource_id: ::String
|
916
|
+
attr_accessor tag_keys: ::Array[::String]
|
917
|
+
SENSITIVE: []
|
918
|
+
end
|
919
|
+
|
920
|
+
class UpdateOrganizationalUnitRequest
|
921
|
+
attr_accessor organizational_unit_id: ::String
|
922
|
+
attr_accessor name: ::String
|
923
|
+
SENSITIVE: []
|
924
|
+
end
|
925
|
+
|
926
|
+
class UpdateOrganizationalUnitResponse
|
927
|
+
attr_accessor organizational_unit: Types::OrganizationalUnit
|
928
|
+
SENSITIVE: []
|
929
|
+
end
|
930
|
+
|
931
|
+
class UpdatePolicyRequest
|
932
|
+
attr_accessor policy_id: ::String
|
933
|
+
attr_accessor name: ::String
|
934
|
+
attr_accessor description: ::String
|
935
|
+
attr_accessor content: ::String
|
936
|
+
SENSITIVE: []
|
937
|
+
end
|
938
|
+
|
939
|
+
class UpdatePolicyResponse
|
940
|
+
attr_accessor policy: Types::Policy
|
941
|
+
SENSITIVE: []
|
942
|
+
end
|
943
|
+
end
|
944
|
+
end
|