aws-sdk-organizations 1.42.1 → 1.47.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 +3 -1
- data/lib/aws-sdk-organizations/client.rb +183 -118
- data/lib/aws-sdk-organizations/client_api.rb +5 -0
- data/lib/aws-sdk-organizations/errors.rb +2 -0
- data/lib/aws-sdk-organizations/resource.rb +2 -0
- data/lib/aws-sdk-organizations/types.rb +345 -70
- metadata +2 -2
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -1235,6 +1237,7 @@ module Aws::Organizations
|
|
1235
1237
|
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1236
1238
|
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1237
1239
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1240
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedAPIEndpointException)
|
1238
1241
|
end)
|
1239
1242
|
|
1240
1243
|
api.add_operation(:disable_policy_type, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1269,6 +1272,7 @@ module Aws::Organizations
|
|
1269
1272
|
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1270
1273
|
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1271
1274
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1275
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedAPIEndpointException)
|
1272
1276
|
end)
|
1273
1277
|
|
1274
1278
|
api.add_operation(:enable_all_features, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1353,6 +1357,7 @@ module Aws::Organizations
|
|
1353
1357
|
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1354
1358
|
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1355
1359
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1360
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedAPIEndpointException)
|
1356
1361
|
o[:pager] = Aws::Pager.new(
|
1357
1362
|
limit_key: "max_results",
|
1358
1363
|
tokens: {
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -19,6 +21,7 @@ module Aws::Organizations
|
|
19
21
|
#
|
20
22
|
class AWSOrganizationsNotInUseException < Struct.new(
|
21
23
|
:message)
|
24
|
+
SENSITIVE = []
|
22
25
|
include Aws::Structure
|
23
26
|
end
|
24
27
|
|
@@ -44,6 +47,7 @@ module Aws::Organizations
|
|
44
47
|
#
|
45
48
|
class AcceptHandshakeRequest < Struct.new(
|
46
49
|
:handshake_id)
|
50
|
+
SENSITIVE = []
|
47
51
|
include Aws::Structure
|
48
52
|
end
|
49
53
|
|
@@ -55,6 +59,7 @@ module Aws::Organizations
|
|
55
59
|
#
|
56
60
|
class AcceptHandshakeResponse < Struct.new(
|
57
61
|
:handshake)
|
62
|
+
SENSITIVE = []
|
58
63
|
include Aws::Structure
|
59
64
|
end
|
60
65
|
|
@@ -74,6 +79,7 @@ module Aws::Organizations
|
|
74
79
|
#
|
75
80
|
class AccessDeniedException < Struct.new(
|
76
81
|
:message)
|
82
|
+
SENSITIVE = []
|
77
83
|
include Aws::Structure
|
78
84
|
end
|
79
85
|
|
@@ -93,6 +99,7 @@ module Aws::Organizations
|
|
93
99
|
class AccessDeniedForDependencyException < Struct.new(
|
94
100
|
:message,
|
95
101
|
:reason)
|
102
|
+
SENSITIVE = []
|
96
103
|
include Aws::Structure
|
97
104
|
end
|
98
105
|
|
@@ -166,6 +173,7 @@ module Aws::Organizations
|
|
166
173
|
:status,
|
167
174
|
:joined_method,
|
168
175
|
:joined_timestamp)
|
176
|
+
SENSITIVE = [:email, :name]
|
169
177
|
include Aws::Structure
|
170
178
|
end
|
171
179
|
|
@@ -179,6 +187,7 @@ module Aws::Organizations
|
|
179
187
|
#
|
180
188
|
class AccountAlreadyRegisteredException < Struct.new(
|
181
189
|
:message)
|
190
|
+
SENSITIVE = []
|
182
191
|
include Aws::Structure
|
183
192
|
end
|
184
193
|
|
@@ -193,6 +202,7 @@ module Aws::Organizations
|
|
193
202
|
#
|
194
203
|
class AccountNotFoundException < Struct.new(
|
195
204
|
:message)
|
205
|
+
SENSITIVE = []
|
196
206
|
include Aws::Structure
|
197
207
|
end
|
198
208
|
|
@@ -206,6 +216,7 @@ module Aws::Organizations
|
|
206
216
|
#
|
207
217
|
class AccountNotRegisteredException < Struct.new(
|
208
218
|
:message)
|
219
|
+
SENSITIVE = []
|
209
220
|
include Aws::Structure
|
210
221
|
end
|
211
222
|
|
@@ -225,6 +236,7 @@ module Aws::Organizations
|
|
225
236
|
#
|
226
237
|
class AccountOwnerNotVerifiedException < Struct.new(
|
227
238
|
:message)
|
239
|
+
SENSITIVE = []
|
228
240
|
include Aws::Structure
|
229
241
|
end
|
230
242
|
|
@@ -238,6 +250,7 @@ module Aws::Organizations
|
|
238
250
|
#
|
239
251
|
class AlreadyInOrganizationException < Struct.new(
|
240
252
|
:message)
|
253
|
+
SENSITIVE = []
|
241
254
|
include Aws::Structure
|
242
255
|
end
|
243
256
|
|
@@ -293,6 +306,7 @@ module Aws::Organizations
|
|
293
306
|
class AttachPolicyRequest < Struct.new(
|
294
307
|
:policy_id,
|
295
308
|
:target_id)
|
309
|
+
SENSITIVE = []
|
296
310
|
include Aws::Structure
|
297
311
|
end
|
298
312
|
|
@@ -319,6 +333,7 @@ module Aws::Organizations
|
|
319
333
|
#
|
320
334
|
class CancelHandshakeRequest < Struct.new(
|
321
335
|
:handshake_id)
|
336
|
+
SENSITIVE = []
|
322
337
|
include Aws::Structure
|
323
338
|
end
|
324
339
|
|
@@ -331,6 +346,7 @@ module Aws::Organizations
|
|
331
346
|
#
|
332
347
|
class CancelHandshakeResponse < Struct.new(
|
333
348
|
:handshake)
|
349
|
+
SENSITIVE = []
|
334
350
|
include Aws::Structure
|
335
351
|
end
|
336
352
|
|
@@ -364,6 +380,7 @@ module Aws::Organizations
|
|
364
380
|
class Child < Struct.new(
|
365
381
|
:id,
|
366
382
|
:type)
|
383
|
+
SENSITIVE = []
|
367
384
|
include Aws::Structure
|
368
385
|
end
|
369
386
|
|
@@ -377,6 +394,7 @@ module Aws::Organizations
|
|
377
394
|
#
|
378
395
|
class ChildNotFoundException < Struct.new(
|
379
396
|
:message)
|
397
|
+
SENSITIVE = []
|
380
398
|
include Aws::Structure
|
381
399
|
end
|
382
400
|
|
@@ -390,6 +408,7 @@ module Aws::Organizations
|
|
390
408
|
#
|
391
409
|
class ConcurrentModificationException < Struct.new(
|
392
410
|
:message)
|
411
|
+
SENSITIVE = []
|
393
412
|
include Aws::Structure
|
394
413
|
end
|
395
414
|
|
@@ -398,24 +417,31 @@ module Aws::Organizations
|
|
398
417
|
# (SCP) from an OU or root, inviting or creating too many accounts to
|
399
418
|
# the organization, or attaching too many policies to an account, OU, or
|
400
419
|
# root. This exception includes a reason that contains additional
|
401
|
-
# information about the violated limit
|
420
|
+
# information about the violated limit:
|
402
421
|
#
|
403
|
-
# Some of the reasons in the following list might not be applicable to
|
404
|
-
# this specific API or operation
|
422
|
+
# <note markdown="1"> Some of the reasons in the following list might not be applicable to
|
423
|
+
# this specific API or operation.
|
424
|
+
#
|
425
|
+
# </note>
|
426
|
+
#
|
427
|
+
# * ACCOUNT\_CANNOT\_LEAVE\_ORGANIZAION: You attempted to remove the
|
428
|
+
# master account from the organization. You can't remove the master
|
429
|
+
# account. Instead, after you remove all member accounts, delete the
|
430
|
+
# organization itself.
|
405
431
|
#
|
406
432
|
# * ACCOUNT\_CANNOT\_LEAVE\_WITHOUT\_EULA: You attempted to remove an
|
407
433
|
# account from the organization that doesn't yet have enough
|
408
434
|
# information to exist as a standalone account. This account requires
|
409
435
|
# you to first agree to the AWS Customer Agreement. Follow the steps
|
410
|
-
# at [
|
411
|
-
#
|
436
|
+
# at [Removing a member account from your organization][1]in the *AWS
|
437
|
+
# Organizations User Guide.*
|
412
438
|
#
|
413
439
|
# * ACCOUNT\_CANNOT\_LEAVE\_WITHOUT\_PHONE\_VERIFICATION: You attempted
|
414
440
|
# to remove an account from the organization that doesn't yet have
|
415
441
|
# enough information to exist as a standalone account. This account
|
416
442
|
# requires you to first complete phone verification. Follow the steps
|
417
|
-
# at [
|
418
|
-
#
|
443
|
+
# at [Removing a member account from your organization][1] in the *AWS
|
444
|
+
# Organizations User Guide.*
|
419
445
|
#
|
420
446
|
# * ACCOUNT\_CREATION\_RATE\_LIMIT\_EXCEEDED: You attempted to exceed
|
421
447
|
# the number of accounts that you can create in one day.
|
@@ -434,22 +460,37 @@ module Aws::Organizations
|
|
434
460
|
#
|
435
461
|
# </note>
|
436
462
|
#
|
437
|
-
# If you get
|
438
|
-
#
|
439
|
-
#
|
463
|
+
# If you get this exception when running a command immediately after
|
464
|
+
# creating the organization, wait one hour and try again. After an
|
465
|
+
# hour, if the command continues to fail with this error, contact [AWS
|
440
466
|
# Support][2].
|
441
467
|
#
|
442
|
-
# * CANNOT\_REGISTER\_MASTER\_AS\_DELEGATED\_ADMINISTRATOR: You
|
443
|
-
#
|
444
|
-
#
|
445
|
-
#
|
446
|
-
# this operation, you must first deregister this account as a
|
468
|
+
# * CANNOT\_REGISTER\_MASTER\_AS\_DELEGATED\_ADMINISTRATOR: You
|
469
|
+
# attempted to register the master account of the organization as a
|
470
|
+
# delegated administrator for an AWS service integrated with
|
471
|
+
# Organizations. You can designate only a member account as a
|
447
472
|
# delegated administrator.
|
448
473
|
#
|
449
|
-
# *
|
450
|
-
#
|
474
|
+
# * CANNOT\_REMOVE\_DELEGATED\_ADMINISTRATOR\_FROM\_ORG: You attempted
|
475
|
+
# to remove an account that is registered as a delegated administrator
|
476
|
+
# for a service integrated with your organization. To complete this
|
477
|
+
# operation, you must first deregister this account as a delegated
|
478
|
+
# administrator.
|
479
|
+
#
|
480
|
+
# * CREATE\_ORGANIZATION\_IN\_BILLING\_MODE\_UNSUPPORTED\_REGION: To
|
481
|
+
# create an organization in the specified region, you must enable all
|
482
|
+
# features mode.
|
483
|
+
#
|
484
|
+
# * DELEGATED\_ADMINISTRATOR\_EXISTS\_FOR\_THIS\_SERVICE: You attempted
|
485
|
+
# to register an AWS account as a delegated administrator for an AWS
|
486
|
+
# service that already has a delegated administrator. To complete this
|
487
|
+
# operation, you must first deregister any existing delegated
|
451
488
|
# administrators for this service.
|
452
489
|
#
|
490
|
+
# * EMAIL\_VERIFICATION\_CODE\_EXPIRED: The email verification code is
|
491
|
+
# only valid for a limited period of time. You must resubmit the
|
492
|
+
# request and generate a new verfication code.
|
493
|
+
#
|
453
494
|
# * HANDSHAKE\_RATE\_LIMIT\_EXCEEDED: You attempted to exceed the number
|
454
495
|
# of handshakes that you can send in one day.
|
455
496
|
#
|
@@ -461,8 +502,13 @@ module Aws::Organizations
|
|
461
502
|
# accounts in an organization must be associated with the same
|
462
503
|
# marketplace.
|
463
504
|
#
|
505
|
+
# * MASTER\_ACCOUNT\_MISSING\_BUSINESS\_LICENSE: Applies only to the AWS
|
506
|
+
# Regions in China. To create an organization, the master must have an
|
507
|
+
# valid business license. For more information, contact customer
|
508
|
+
# support.
|
509
|
+
#
|
464
510
|
# * MASTER\_ACCOUNT\_MISSING\_CONTACT\_INFO: To complete this operation,
|
465
|
-
# you must first provide
|
511
|
+
# you must first provide a valid contact address and phone number for
|
466
512
|
# the master account. Then try the operation again.
|
467
513
|
#
|
468
514
|
# * MASTER\_ACCOUNT\_NOT\_GOVCLOUD\_ENABLED: To complete this operation,
|
@@ -474,7 +520,7 @@ module Aws::Organizations
|
|
474
520
|
# organization with this master account, you first must associate a
|
475
521
|
# valid payment instrument, such as a credit card, with the account.
|
476
522
|
# Follow the steps at [To leave an organization when all required
|
477
|
-
# account information has not yet been provided][
|
523
|
+
# account information has not yet been provided][4] in the *AWS
|
478
524
|
# Organizations User Guide.*
|
479
525
|
#
|
480
526
|
# * MAX\_DELEGATED\_ADMINISTRATORS\_FOR\_SERVICE\_LIMIT\_EXCEEDED: You
|
@@ -492,7 +538,7 @@ module Aws::Organizations
|
|
492
538
|
# operation with this member account, you first must associate a valid
|
493
539
|
# payment instrument, such as a credit card, with the account. Follow
|
494
540
|
# the steps at [To leave an organization when all required account
|
495
|
-
# information has not yet been provided][
|
541
|
+
# information has not yet been provided][4] in the *AWS Organizations
|
496
542
|
# User Guide.*
|
497
543
|
#
|
498
544
|
# * MIN\_POLICY\_TYPE\_ATTACHMENT\_LIMIT\_EXCEEDED: You attempted to
|
@@ -500,25 +546,33 @@ module Aws::Organizations
|
|
500
546
|
# fewer than the minimum number of policies of a certain type
|
501
547
|
# required.
|
502
548
|
#
|
503
|
-
# * OU\_DEPTH\_LIMIT\_EXCEEDED: You attempted to create an OU tree that
|
504
|
-
# is too many levels deep.
|
505
|
-
#
|
506
549
|
# * ORGANIZATION\_NOT\_IN\_ALL\_FEATURES\_MODE: You attempted to perform
|
507
550
|
# an operation that requires the organization to be configured to
|
508
551
|
# support all features. An organization that supports only
|
509
552
|
# consolidated billing features can't perform this operation.
|
510
553
|
#
|
554
|
+
# * OU\_DEPTH\_LIMIT\_EXCEEDED: You attempted to create an OU tree that
|
555
|
+
# is too many levels deep.
|
556
|
+
#
|
511
557
|
# * OU\_NUMBER\_LIMIT\_EXCEEDED: You attempted to exceed the number of
|
512
558
|
# OUs that you can have in an organization.
|
513
559
|
#
|
514
|
-
# * POLICY\
|
560
|
+
# * POLICY\_CONTENT\_LIMIT\_EXCEEDED: You attempted to create a policy
|
561
|
+
# that is larger than the maximum size.
|
562
|
+
#
|
563
|
+
# * POLICY\_NUMBER\_LIMIT\_EXCEEDED: You attempted to exceed the number
|
515
564
|
# of policies that you can have in an organization.
|
516
565
|
#
|
566
|
+
# * TAG\_POLICY\_VIOLATION: You attempted to create or update a resource
|
567
|
+
# with tags that are not compliant with the tag policy requirements
|
568
|
+
# for this account.
|
569
|
+
#
|
517
570
|
#
|
518
571
|
#
|
519
|
-
# [1]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#
|
572
|
+
# [1]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master
|
520
573
|
# [2]: https://console.aws.amazon.com/support/home#/
|
521
574
|
# [3]: http://docs.aws.amazon.com/govcloud-us/latest/UserGuide/govcloud-organizations.html
|
575
|
+
# [4]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info
|
522
576
|
#
|
523
577
|
# @!attribute [rw] message
|
524
578
|
# @return [String]
|
@@ -531,6 +585,7 @@ module Aws::Organizations
|
|
531
585
|
class ConstraintViolationException < Struct.new(
|
532
586
|
:message,
|
533
587
|
:reason)
|
588
|
+
SENSITIVE = []
|
534
589
|
include Aws::Structure
|
535
590
|
end
|
536
591
|
|
@@ -612,6 +667,7 @@ module Aws::Organizations
|
|
612
667
|
:account_name,
|
613
668
|
:role_name,
|
614
669
|
:iam_user_access_to_billing)
|
670
|
+
SENSITIVE = [:email, :account_name]
|
615
671
|
include Aws::Structure
|
616
672
|
end
|
617
673
|
|
@@ -635,6 +691,7 @@ module Aws::Organizations
|
|
635
691
|
#
|
636
692
|
class CreateAccountResponse < Struct.new(
|
637
693
|
:create_account_status)
|
694
|
+
SENSITIVE = []
|
638
695
|
include Aws::Structure
|
639
696
|
end
|
640
697
|
|
@@ -698,6 +755,9 @@ module Aws::Organizations
|
|
698
755
|
# you have reached the limit on the number of accounts in your
|
699
756
|
# organization.
|
700
757
|
#
|
758
|
+
# * CONCURRENT\_ACCOUNT\_MODIFICATION: You already submitted a request
|
759
|
+
# with the same information.
|
760
|
+
#
|
701
761
|
# * EMAIL\_ALREADY\_EXISTS: The account could not be created because
|
702
762
|
# another AWS account with that email address already exists.
|
703
763
|
#
|
@@ -714,6 +774,12 @@ module Aws::Organizations
|
|
714
774
|
# * INTERNAL\_FAILURE: The account could not be created because of an
|
715
775
|
# internal failure. Try again later. If the problem persists,
|
716
776
|
# contact Customer Support.
|
777
|
+
#
|
778
|
+
# * MISSING\_BUSINESS\_VALIDATION: The AWS account that owns your
|
779
|
+
# organization has not received Business Validation.
|
780
|
+
#
|
781
|
+
# * MISSING\_PAYMENT\_INSTRUMENT: You must configure the master
|
782
|
+
# account with a valid payment method, such as a credit card.
|
717
783
|
# @return [String]
|
718
784
|
#
|
719
785
|
# @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/CreateAccountStatus AWS API Documentation
|
@@ -727,6 +793,7 @@ module Aws::Organizations
|
|
727
793
|
:account_id,
|
728
794
|
:gov_cloud_account_id,
|
729
795
|
:failure_reason)
|
796
|
+
SENSITIVE = [:account_name]
|
730
797
|
include Aws::Structure
|
731
798
|
end
|
732
799
|
|
@@ -740,6 +807,7 @@ module Aws::Organizations
|
|
740
807
|
#
|
741
808
|
class CreateAccountStatusNotFoundException < Struct.new(
|
742
809
|
:message)
|
810
|
+
SENSITIVE = []
|
743
811
|
include Aws::Structure
|
744
812
|
end
|
745
813
|
|
@@ -824,6 +892,7 @@ module Aws::Organizations
|
|
824
892
|
:account_name,
|
825
893
|
:role_name,
|
826
894
|
:iam_user_access_to_billing)
|
895
|
+
SENSITIVE = [:email, :account_name]
|
827
896
|
include Aws::Structure
|
828
897
|
end
|
829
898
|
|
@@ -837,6 +906,7 @@ module Aws::Organizations
|
|
837
906
|
#
|
838
907
|
class CreateGovCloudAccountResponse < Struct.new(
|
839
908
|
:create_account_status)
|
909
|
+
SENSITIVE = []
|
840
910
|
include Aws::Structure
|
841
911
|
end
|
842
912
|
|
@@ -875,6 +945,7 @@ module Aws::Organizations
|
|
875
945
|
#
|
876
946
|
class CreateOrganizationRequest < Struct.new(
|
877
947
|
:feature_set)
|
948
|
+
SENSITIVE = []
|
878
949
|
include Aws::Structure
|
879
950
|
end
|
880
951
|
|
@@ -887,6 +958,7 @@ module Aws::Organizations
|
|
887
958
|
#
|
888
959
|
class CreateOrganizationResponse < Struct.new(
|
889
960
|
:organization)
|
961
|
+
SENSITIVE = []
|
890
962
|
include Aws::Structure
|
891
963
|
end
|
892
964
|
|
@@ -928,6 +1000,7 @@ module Aws::Organizations
|
|
928
1000
|
class CreateOrganizationalUnitRequest < Struct.new(
|
929
1001
|
:parent_id,
|
930
1002
|
:name)
|
1003
|
+
SENSITIVE = []
|
931
1004
|
include Aws::Structure
|
932
1005
|
end
|
933
1006
|
|
@@ -939,6 +1012,7 @@ module Aws::Organizations
|
|
939
1012
|
#
|
940
1013
|
class CreateOrganizationalUnitResponse < Struct.new(
|
941
1014
|
:organizational_unit)
|
1015
|
+
SENSITIVE = []
|
942
1016
|
include Aws::Structure
|
943
1017
|
end
|
944
1018
|
|
@@ -949,21 +1023,13 @@ module Aws::Organizations
|
|
949
1023
|
# content: "PolicyContent", # required
|
950
1024
|
# description: "PolicyDescription", # required
|
951
1025
|
# name: "PolicyName", # required
|
952
|
-
# type: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY
|
1026
|
+
# type: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY
|
953
1027
|
# }
|
954
1028
|
#
|
955
1029
|
# @!attribute [rw] content
|
956
|
-
# The policy content to add to the new policy.
|
957
|
-
#
|
958
|
-
#
|
959
|
-
# can delegate to their users, groups, and roles. For more information
|
960
|
-
# about the SCP syntax, see [Service Control Policy Syntax][2] in the
|
961
|
-
# *AWS Organizations User Guide.*
|
962
|
-
#
|
963
|
-
#
|
964
|
-
#
|
965
|
-
# [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
|
966
|
-
# [2]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_scp-syntax.html
|
1030
|
+
# The policy text content to add to the new policy. The text that you
|
1031
|
+
# supply must adhere to the rules of the policy type you specify in
|
1032
|
+
# the `Type` parameter.
|
967
1033
|
# @return [String]
|
968
1034
|
#
|
969
1035
|
# @!attribute [rw] description
|
@@ -982,12 +1048,23 @@ module Aws::Organizations
|
|
982
1048
|
# @return [String]
|
983
1049
|
#
|
984
1050
|
# @!attribute [rw] type
|
985
|
-
# The type of policy to create.
|
1051
|
+
# The type of policy to create. You can specify one of the following
|
1052
|
+
# values:
|
986
1053
|
#
|
987
|
-
#
|
988
|
-
# is a service control policy (SCP).
|
1054
|
+
# * [AISERVICES\_OPT\_OUT\_POLICY][1]
|
989
1055
|
#
|
990
|
-
#
|
1056
|
+
# * [BACKUP\_POLICY][2]
|
1057
|
+
#
|
1058
|
+
# * [SERVICE\_CONTROL\_POLICY][3]
|
1059
|
+
#
|
1060
|
+
# * [TAG\_POLICY][4]
|
1061
|
+
#
|
1062
|
+
#
|
1063
|
+
#
|
1064
|
+
# [1]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
|
1065
|
+
# [2]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html
|
1066
|
+
# [3]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
|
1067
|
+
# [4]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
|
991
1068
|
# @return [String]
|
992
1069
|
#
|
993
1070
|
# @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/CreatePolicyRequest AWS API Documentation
|
@@ -997,6 +1074,7 @@ module Aws::Organizations
|
|
997
1074
|
:description,
|
998
1075
|
:name,
|
999
1076
|
:type)
|
1077
|
+
SENSITIVE = []
|
1000
1078
|
include Aws::Structure
|
1001
1079
|
end
|
1002
1080
|
|
@@ -1008,6 +1086,7 @@ module Aws::Organizations
|
|
1008
1086
|
#
|
1009
1087
|
class CreatePolicyResponse < Struct.new(
|
1010
1088
|
:policy)
|
1089
|
+
SENSITIVE = []
|
1011
1090
|
include Aws::Structure
|
1012
1091
|
end
|
1013
1092
|
|
@@ -1035,6 +1114,7 @@ module Aws::Organizations
|
|
1035
1114
|
#
|
1036
1115
|
class DeclineHandshakeRequest < Struct.new(
|
1037
1116
|
:handshake_id)
|
1117
|
+
SENSITIVE = []
|
1038
1118
|
include Aws::Structure
|
1039
1119
|
end
|
1040
1120
|
|
@@ -1047,6 +1127,7 @@ module Aws::Organizations
|
|
1047
1127
|
#
|
1048
1128
|
class DeclineHandshakeResponse < Struct.new(
|
1049
1129
|
:handshake)
|
1130
|
+
SENSITIVE = []
|
1050
1131
|
include Aws::Structure
|
1051
1132
|
end
|
1052
1133
|
|
@@ -1101,6 +1182,7 @@ module Aws::Organizations
|
|
1101
1182
|
:joined_method,
|
1102
1183
|
:joined_timestamp,
|
1103
1184
|
:delegation_enabled_date)
|
1185
|
+
SENSITIVE = [:email, :name]
|
1104
1186
|
include Aws::Structure
|
1105
1187
|
end
|
1106
1188
|
|
@@ -1123,6 +1205,7 @@ module Aws::Organizations
|
|
1123
1205
|
class DelegatedService < Struct.new(
|
1124
1206
|
:service_principal,
|
1125
1207
|
:delegation_enabled_date)
|
1208
|
+
SENSITIVE = []
|
1126
1209
|
include Aws::Structure
|
1127
1210
|
end
|
1128
1211
|
|
@@ -1153,6 +1236,7 @@ module Aws::Organizations
|
|
1153
1236
|
#
|
1154
1237
|
class DeleteOrganizationalUnitRequest < Struct.new(
|
1155
1238
|
:organizational_unit_id)
|
1239
|
+
SENSITIVE = []
|
1156
1240
|
include Aws::Structure
|
1157
1241
|
end
|
1158
1242
|
|
@@ -1181,6 +1265,7 @@ module Aws::Organizations
|
|
1181
1265
|
#
|
1182
1266
|
class DeletePolicyRequest < Struct.new(
|
1183
1267
|
:policy_id)
|
1268
|
+
SENSITIVE = []
|
1184
1269
|
include Aws::Structure
|
1185
1270
|
end
|
1186
1271
|
|
@@ -1213,6 +1298,7 @@ module Aws::Organizations
|
|
1213
1298
|
class DeregisterDelegatedAdministratorRequest < Struct.new(
|
1214
1299
|
:account_id,
|
1215
1300
|
:service_principal)
|
1301
|
+
SENSITIVE = []
|
1216
1302
|
include Aws::Structure
|
1217
1303
|
end
|
1218
1304
|
|
@@ -1240,6 +1326,7 @@ module Aws::Organizations
|
|
1240
1326
|
#
|
1241
1327
|
class DescribeAccountRequest < Struct.new(
|
1242
1328
|
:account_id)
|
1329
|
+
SENSITIVE = []
|
1243
1330
|
include Aws::Structure
|
1244
1331
|
end
|
1245
1332
|
|
@@ -1251,6 +1338,7 @@ module Aws::Organizations
|
|
1251
1338
|
#
|
1252
1339
|
class DescribeAccountResponse < Struct.new(
|
1253
1340
|
:account)
|
1341
|
+
SENSITIVE = []
|
1254
1342
|
include Aws::Structure
|
1255
1343
|
end
|
1256
1344
|
|
@@ -1279,6 +1367,7 @@ module Aws::Organizations
|
|
1279
1367
|
#
|
1280
1368
|
class DescribeCreateAccountStatusRequest < Struct.new(
|
1281
1369
|
:create_account_request_id)
|
1370
|
+
SENSITIVE = []
|
1282
1371
|
include Aws::Structure
|
1283
1372
|
end
|
1284
1373
|
|
@@ -1291,6 +1380,7 @@ module Aws::Organizations
|
|
1291
1380
|
#
|
1292
1381
|
class DescribeCreateAccountStatusResponse < Struct.new(
|
1293
1382
|
:create_account_status)
|
1383
|
+
SENSITIVE = []
|
1294
1384
|
include Aws::Structure
|
1295
1385
|
end
|
1296
1386
|
|
@@ -1298,18 +1388,31 @@ module Aws::Organizations
|
|
1298
1388
|
# data as a hash:
|
1299
1389
|
#
|
1300
1390
|
# {
|
1301
|
-
# policy_type: "TAG_POLICY", # required, accepts TAG_POLICY
|
1391
|
+
# policy_type: "TAG_POLICY", # required, accepts TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY
|
1302
1392
|
# target_id: "PolicyTargetId",
|
1303
1393
|
# }
|
1304
1394
|
#
|
1305
1395
|
# @!attribute [rw] policy_type
|
1306
|
-
# The type of policy that you want information about.
|
1396
|
+
# The type of policy that you want information about. You can specify
|
1397
|
+
# one of the following values:
|
1398
|
+
#
|
1399
|
+
# * [AISERVICES\_OPT\_OUT\_POLICY][1]
|
1400
|
+
#
|
1401
|
+
# * [BACKUP\_POLICY][2]
|
1402
|
+
#
|
1403
|
+
# * [TAG\_POLICY][3]
|
1404
|
+
#
|
1405
|
+
#
|
1406
|
+
#
|
1407
|
+
# [1]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
|
1408
|
+
# [2]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html
|
1409
|
+
# [3]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
|
1307
1410
|
# @return [String]
|
1308
1411
|
#
|
1309
1412
|
# @!attribute [rw] target_id
|
1310
1413
|
# When you're signed in as the master account, specify the ID of the
|
1311
1414
|
# account that you want details about. Specifying an organization root
|
1312
|
-
# or OU as the target is not supported.
|
1415
|
+
# or organizational unit (OU) as the target is not supported.
|
1313
1416
|
# @return [String]
|
1314
1417
|
#
|
1315
1418
|
# @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DescribeEffectivePolicyRequest AWS API Documentation
|
@@ -1317,6 +1420,7 @@ module Aws::Organizations
|
|
1317
1420
|
class DescribeEffectivePolicyRequest < Struct.new(
|
1318
1421
|
:policy_type,
|
1319
1422
|
:target_id)
|
1423
|
+
SENSITIVE = []
|
1320
1424
|
include Aws::Structure
|
1321
1425
|
end
|
1322
1426
|
|
@@ -1328,6 +1432,7 @@ module Aws::Organizations
|
|
1328
1432
|
#
|
1329
1433
|
class DescribeEffectivePolicyResponse < Struct.new(
|
1330
1434
|
:effective_policy)
|
1435
|
+
SENSITIVE = []
|
1331
1436
|
include Aws::Structure
|
1332
1437
|
end
|
1333
1438
|
|
@@ -1356,6 +1461,7 @@ module Aws::Organizations
|
|
1356
1461
|
#
|
1357
1462
|
class DescribeHandshakeRequest < Struct.new(
|
1358
1463
|
:handshake_id)
|
1464
|
+
SENSITIVE = []
|
1359
1465
|
include Aws::Structure
|
1360
1466
|
end
|
1361
1467
|
|
@@ -1367,17 +1473,25 @@ module Aws::Organizations
|
|
1367
1473
|
#
|
1368
1474
|
class DescribeHandshakeResponse < Struct.new(
|
1369
1475
|
:handshake)
|
1476
|
+
SENSITIVE = []
|
1370
1477
|
include Aws::Structure
|
1371
1478
|
end
|
1372
1479
|
|
1373
1480
|
# @!attribute [rw] organization
|
1374
1481
|
# A structure that contains information about the organization.
|
1482
|
+
#
|
1483
|
+
# The `AvailablePolicyTypes` part of the response is deprecated, and
|
1484
|
+
# you shouldn't use it in your apps. It doesn't include any policy
|
1485
|
+
# type supported by Organizations other than SCPs. To determine which
|
1486
|
+
# policy types are enabled in your organization, use the ` ListRoots `
|
1487
|
+
# operation.
|
1375
1488
|
# @return [Types::Organization]
|
1376
1489
|
#
|
1377
1490
|
# @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DescribeOrganizationResponse AWS API Documentation
|
1378
1491
|
#
|
1379
1492
|
class DescribeOrganizationResponse < Struct.new(
|
1380
1493
|
:organization)
|
1494
|
+
SENSITIVE = []
|
1381
1495
|
include Aws::Structure
|
1382
1496
|
end
|
1383
1497
|
|
@@ -1408,6 +1522,7 @@ module Aws::Organizations
|
|
1408
1522
|
#
|
1409
1523
|
class DescribeOrganizationalUnitRequest < Struct.new(
|
1410
1524
|
:organizational_unit_id)
|
1525
|
+
SENSITIVE = []
|
1411
1526
|
include Aws::Structure
|
1412
1527
|
end
|
1413
1528
|
|
@@ -1419,6 +1534,7 @@ module Aws::Organizations
|
|
1419
1534
|
#
|
1420
1535
|
class DescribeOrganizationalUnitResponse < Struct.new(
|
1421
1536
|
:organizational_unit)
|
1537
|
+
SENSITIVE = []
|
1422
1538
|
include Aws::Structure
|
1423
1539
|
end
|
1424
1540
|
|
@@ -1447,6 +1563,7 @@ module Aws::Organizations
|
|
1447
1563
|
#
|
1448
1564
|
class DescribePolicyRequest < Struct.new(
|
1449
1565
|
:policy_id)
|
1566
|
+
SENSITIVE = []
|
1450
1567
|
include Aws::Structure
|
1451
1568
|
end
|
1452
1569
|
|
@@ -1458,6 +1575,7 @@ module Aws::Organizations
|
|
1458
1575
|
#
|
1459
1576
|
class DescribePolicyResponse < Struct.new(
|
1460
1577
|
:policy)
|
1578
|
+
SENSITIVE = []
|
1461
1579
|
include Aws::Structure
|
1462
1580
|
end
|
1463
1581
|
|
@@ -1471,6 +1589,7 @@ module Aws::Organizations
|
|
1471
1589
|
#
|
1472
1590
|
class DestinationParentNotFoundException < Struct.new(
|
1473
1591
|
:message)
|
1592
|
+
SENSITIVE = []
|
1474
1593
|
include Aws::Structure
|
1475
1594
|
end
|
1476
1595
|
|
@@ -1525,6 +1644,7 @@ module Aws::Organizations
|
|
1525
1644
|
class DetachPolicyRequest < Struct.new(
|
1526
1645
|
:policy_id,
|
1527
1646
|
:target_id)
|
1647
|
+
SENSITIVE = []
|
1528
1648
|
include Aws::Structure
|
1529
1649
|
end
|
1530
1650
|
|
@@ -1545,6 +1665,7 @@ module Aws::Organizations
|
|
1545
1665
|
#
|
1546
1666
|
class DisableAWSServiceAccessRequest < Struct.new(
|
1547
1667
|
:service_principal)
|
1668
|
+
SENSITIVE = []
|
1548
1669
|
include Aws::Structure
|
1549
1670
|
end
|
1550
1671
|
|
@@ -1553,7 +1674,7 @@ module Aws::Organizations
|
|
1553
1674
|
#
|
1554
1675
|
# {
|
1555
1676
|
# root_id: "RootId", # required
|
1556
|
-
# policy_type: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY
|
1677
|
+
# policy_type: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY
|
1557
1678
|
# }
|
1558
1679
|
#
|
1559
1680
|
# @!attribute [rw] root_id
|
@@ -1569,7 +1690,23 @@ module Aws::Organizations
|
|
1569
1690
|
# @return [String]
|
1570
1691
|
#
|
1571
1692
|
# @!attribute [rw] policy_type
|
1572
|
-
# The policy type that you want to disable in this root.
|
1693
|
+
# The policy type that you want to disable in this root. You can
|
1694
|
+
# specify one of the following values:
|
1695
|
+
#
|
1696
|
+
# * [AISERVICES\_OPT\_OUT\_POLICY][1]
|
1697
|
+
#
|
1698
|
+
# * [BACKUP\_POLICY][2]
|
1699
|
+
#
|
1700
|
+
# * [SERVICE\_CONTROL\_POLICY][3]
|
1701
|
+
#
|
1702
|
+
# * [TAG\_POLICY][4]
|
1703
|
+
#
|
1704
|
+
#
|
1705
|
+
#
|
1706
|
+
# [1]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
|
1707
|
+
# [2]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html
|
1708
|
+
# [3]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
|
1709
|
+
# [4]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
|
1573
1710
|
# @return [String]
|
1574
1711
|
#
|
1575
1712
|
# @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DisablePolicyTypeRequest AWS API Documentation
|
@@ -1577,6 +1714,7 @@ module Aws::Organizations
|
|
1577
1714
|
class DisablePolicyTypeRequest < Struct.new(
|
1578
1715
|
:root_id,
|
1579
1716
|
:policy_type)
|
1717
|
+
SENSITIVE = []
|
1580
1718
|
include Aws::Structure
|
1581
1719
|
end
|
1582
1720
|
|
@@ -1589,6 +1727,7 @@ module Aws::Organizations
|
|
1589
1727
|
#
|
1590
1728
|
class DisablePolicyTypeResponse < Struct.new(
|
1591
1729
|
:root)
|
1730
|
+
SENSITIVE = []
|
1592
1731
|
include Aws::Structure
|
1593
1732
|
end
|
1594
1733
|
|
@@ -1601,6 +1740,7 @@ module Aws::Organizations
|
|
1601
1740
|
#
|
1602
1741
|
class DuplicateAccountException < Struct.new(
|
1603
1742
|
:message)
|
1743
|
+
SENSITIVE = []
|
1604
1744
|
include Aws::Structure
|
1605
1745
|
end
|
1606
1746
|
|
@@ -1618,6 +1758,7 @@ module Aws::Organizations
|
|
1618
1758
|
#
|
1619
1759
|
class DuplicateHandshakeException < Struct.new(
|
1620
1760
|
:message)
|
1761
|
+
SENSITIVE = []
|
1621
1762
|
include Aws::Structure
|
1622
1763
|
end
|
1623
1764
|
|
@@ -1630,6 +1771,7 @@ module Aws::Organizations
|
|
1630
1771
|
#
|
1631
1772
|
class DuplicateOrganizationalUnitException < Struct.new(
|
1632
1773
|
:message)
|
1774
|
+
SENSITIVE = []
|
1633
1775
|
include Aws::Structure
|
1634
1776
|
end
|
1635
1777
|
|
@@ -1642,6 +1784,7 @@ module Aws::Organizations
|
|
1642
1784
|
#
|
1643
1785
|
class DuplicatePolicyAttachmentException < Struct.new(
|
1644
1786
|
:message)
|
1787
|
+
SENSITIVE = []
|
1645
1788
|
include Aws::Structure
|
1646
1789
|
end
|
1647
1790
|
|
@@ -1654,6 +1797,7 @@ module Aws::Organizations
|
|
1654
1797
|
#
|
1655
1798
|
class DuplicatePolicyException < Struct.new(
|
1656
1799
|
:message)
|
1800
|
+
SENSITIVE = []
|
1657
1801
|
include Aws::Structure
|
1658
1802
|
end
|
1659
1803
|
|
@@ -1684,6 +1828,7 @@ module Aws::Organizations
|
|
1684
1828
|
:last_updated_timestamp,
|
1685
1829
|
:target_id,
|
1686
1830
|
:policy_type)
|
1831
|
+
SENSITIVE = []
|
1687
1832
|
include Aws::Structure
|
1688
1833
|
end
|
1689
1834
|
|
@@ -1700,6 +1845,7 @@ module Aws::Organizations
|
|
1700
1845
|
#
|
1701
1846
|
class EffectivePolicyNotFoundException < Struct.new(
|
1702
1847
|
:message)
|
1848
|
+
SENSITIVE = []
|
1703
1849
|
include Aws::Structure
|
1704
1850
|
end
|
1705
1851
|
|
@@ -1720,6 +1866,7 @@ module Aws::Organizations
|
|
1720
1866
|
#
|
1721
1867
|
class EnableAWSServiceAccessRequest < Struct.new(
|
1722
1868
|
:service_principal)
|
1869
|
+
SENSITIVE = []
|
1723
1870
|
include Aws::Structure
|
1724
1871
|
end
|
1725
1872
|
|
@@ -1738,6 +1885,7 @@ module Aws::Organizations
|
|
1738
1885
|
#
|
1739
1886
|
class EnableAllFeaturesResponse < Struct.new(
|
1740
1887
|
:handshake)
|
1888
|
+
SENSITIVE = []
|
1741
1889
|
include Aws::Structure
|
1742
1890
|
end
|
1743
1891
|
|
@@ -1746,7 +1894,7 @@ module Aws::Organizations
|
|
1746
1894
|
#
|
1747
1895
|
# {
|
1748
1896
|
# root_id: "RootId", # required
|
1749
|
-
# policy_type: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY
|
1897
|
+
# policy_type: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY
|
1750
1898
|
# }
|
1751
1899
|
#
|
1752
1900
|
# @!attribute [rw] root_id
|
@@ -1762,7 +1910,23 @@ module Aws::Organizations
|
|
1762
1910
|
# @return [String]
|
1763
1911
|
#
|
1764
1912
|
# @!attribute [rw] policy_type
|
1765
|
-
# The policy type that you want to enable.
|
1913
|
+
# The policy type that you want to enable. You can specify one of the
|
1914
|
+
# following values:
|
1915
|
+
#
|
1916
|
+
# * [AISERVICES\_OPT\_OUT\_POLICY][1]
|
1917
|
+
#
|
1918
|
+
# * [BACKUP\_POLICY][2]
|
1919
|
+
#
|
1920
|
+
# * [SERVICE\_CONTROL\_POLICY][3]
|
1921
|
+
#
|
1922
|
+
# * [TAG\_POLICY][4]
|
1923
|
+
#
|
1924
|
+
#
|
1925
|
+
#
|
1926
|
+
# [1]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
|
1927
|
+
# [2]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html
|
1928
|
+
# [3]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
|
1929
|
+
# [4]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
|
1766
1930
|
# @return [String]
|
1767
1931
|
#
|
1768
1932
|
# @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/EnablePolicyTypeRequest AWS API Documentation
|
@@ -1770,6 +1934,7 @@ module Aws::Organizations
|
|
1770
1934
|
class EnablePolicyTypeRequest < Struct.new(
|
1771
1935
|
:root_id,
|
1772
1936
|
:policy_type)
|
1937
|
+
SENSITIVE = []
|
1773
1938
|
include Aws::Structure
|
1774
1939
|
end
|
1775
1940
|
|
@@ -1782,6 +1947,7 @@ module Aws::Organizations
|
|
1782
1947
|
#
|
1783
1948
|
class EnablePolicyTypeResponse < Struct.new(
|
1784
1949
|
:root)
|
1950
|
+
SENSITIVE = []
|
1785
1951
|
include Aws::Structure
|
1786
1952
|
end
|
1787
1953
|
|
@@ -1804,6 +1970,7 @@ module Aws::Organizations
|
|
1804
1970
|
class EnabledServicePrincipal < Struct.new(
|
1805
1971
|
:service_principal,
|
1806
1972
|
:date_enabled)
|
1973
|
+
SENSITIVE = []
|
1807
1974
|
include Aws::Structure
|
1808
1975
|
end
|
1809
1976
|
|
@@ -1823,6 +1990,7 @@ module Aws::Organizations
|
|
1823
1990
|
#
|
1824
1991
|
class FinalizingOrganizationException < Struct.new(
|
1825
1992
|
:message)
|
1993
|
+
SENSITIVE = []
|
1826
1994
|
include Aws::Structure
|
1827
1995
|
end
|
1828
1996
|
|
@@ -1942,6 +2110,7 @@ module Aws::Organizations
|
|
1942
2110
|
:expiration_timestamp,
|
1943
2111
|
:action,
|
1944
2112
|
:resources)
|
2113
|
+
SENSITIVE = []
|
1945
2114
|
include Aws::Structure
|
1946
2115
|
end
|
1947
2116
|
|
@@ -1955,6 +2124,7 @@ module Aws::Organizations
|
|
1955
2124
|
#
|
1956
2125
|
class HandshakeAlreadyInStateException < Struct.new(
|
1957
2126
|
:message)
|
2127
|
+
SENSITIVE = []
|
1958
2128
|
include Aws::Structure
|
1959
2129
|
end
|
1960
2130
|
|
@@ -2017,6 +2187,7 @@ module Aws::Organizations
|
|
2017
2187
|
class HandshakeConstraintViolationException < Struct.new(
|
2018
2188
|
:message,
|
2019
2189
|
:reason)
|
2190
|
+
SENSITIVE = []
|
2020
2191
|
include Aws::Structure
|
2021
2192
|
end
|
2022
2193
|
|
@@ -2058,6 +2229,7 @@ module Aws::Organizations
|
|
2058
2229
|
class HandshakeFilter < Struct.new(
|
2059
2230
|
:action_type,
|
2060
2231
|
:parent_handshake_id)
|
2232
|
+
SENSITIVE = []
|
2061
2233
|
include Aws::Structure
|
2062
2234
|
end
|
2063
2235
|
|
@@ -2070,6 +2242,7 @@ module Aws::Organizations
|
|
2070
2242
|
#
|
2071
2243
|
class HandshakeNotFoundException < Struct.new(
|
2072
2244
|
:message)
|
2245
|
+
SENSITIVE = []
|
2073
2246
|
include Aws::Structure
|
2074
2247
|
end
|
2075
2248
|
|
@@ -2103,6 +2276,7 @@ module Aws::Organizations
|
|
2103
2276
|
class HandshakeParty < Struct.new(
|
2104
2277
|
:id,
|
2105
2278
|
:type)
|
2279
|
+
SENSITIVE = [:id]
|
2106
2280
|
include Aws::Structure
|
2107
2281
|
end
|
2108
2282
|
|
@@ -2146,6 +2320,7 @@ module Aws::Organizations
|
|
2146
2320
|
:value,
|
2147
2321
|
:type,
|
2148
2322
|
:resources)
|
2323
|
+
SENSITIVE = [:value]
|
2149
2324
|
include Aws::Structure
|
2150
2325
|
end
|
2151
2326
|
|
@@ -2160,6 +2335,7 @@ module Aws::Organizations
|
|
2160
2335
|
#
|
2161
2336
|
class InvalidHandshakeTransitionException < Struct.new(
|
2162
2337
|
:message)
|
2338
|
+
SENSITIVE = []
|
2163
2339
|
include Aws::Structure
|
2164
2340
|
end
|
2165
2341
|
|
@@ -2168,7 +2344,7 @@ module Aws::Organizations
|
|
2168
2344
|
# reason that contains additional information about the violated limit:
|
2169
2345
|
#
|
2170
2346
|
# <note markdown="1"> Some of the reasons in the following list might not be applicable to
|
2171
|
-
# this specific API or operation
|
2347
|
+
# this specific API or operation.
|
2172
2348
|
#
|
2173
2349
|
# </note>
|
2174
2350
|
#
|
@@ -2240,6 +2416,7 @@ module Aws::Organizations
|
|
2240
2416
|
class InvalidInputException < Struct.new(
|
2241
2417
|
:message,
|
2242
2418
|
:reason)
|
2419
|
+
SENSITIVE = []
|
2243
2420
|
include Aws::Structure
|
2244
2421
|
end
|
2245
2422
|
|
@@ -2283,6 +2460,7 @@ module Aws::Organizations
|
|
2283
2460
|
class InviteAccountToOrganizationRequest < Struct.new(
|
2284
2461
|
:target,
|
2285
2462
|
:notes)
|
2463
|
+
SENSITIVE = [:notes]
|
2286
2464
|
include Aws::Structure
|
2287
2465
|
end
|
2288
2466
|
|
@@ -2295,6 +2473,7 @@ module Aws::Organizations
|
|
2295
2473
|
#
|
2296
2474
|
class InviteAccountToOrganizationResponse < Struct.new(
|
2297
2475
|
:handshake)
|
2476
|
+
SENSITIVE = []
|
2298
2477
|
include Aws::Structure
|
2299
2478
|
end
|
2300
2479
|
|
@@ -2332,6 +2511,7 @@ module Aws::Organizations
|
|
2332
2511
|
class ListAWSServiceAccessForOrganizationRequest < Struct.new(
|
2333
2512
|
:next_token,
|
2334
2513
|
:max_results)
|
2514
|
+
SENSITIVE = []
|
2335
2515
|
include Aws::Structure
|
2336
2516
|
end
|
2337
2517
|
|
@@ -2355,6 +2535,7 @@ module Aws::Organizations
|
|
2355
2535
|
class ListAWSServiceAccessForOrganizationResponse < Struct.new(
|
2356
2536
|
:enabled_service_principals,
|
2357
2537
|
:next_token)
|
2538
|
+
SENSITIVE = []
|
2358
2539
|
include Aws::Structure
|
2359
2540
|
end
|
2360
2541
|
|
@@ -2399,6 +2580,7 @@ module Aws::Organizations
|
|
2399
2580
|
:parent_id,
|
2400
2581
|
:next_token,
|
2401
2582
|
:max_results)
|
2583
|
+
SENSITIVE = []
|
2402
2584
|
include Aws::Structure
|
2403
2585
|
end
|
2404
2586
|
|
@@ -2419,6 +2601,7 @@ module Aws::Organizations
|
|
2419
2601
|
class ListAccountsForParentResponse < Struct.new(
|
2420
2602
|
:accounts,
|
2421
2603
|
:next_token)
|
2604
|
+
SENSITIVE = []
|
2422
2605
|
include Aws::Structure
|
2423
2606
|
end
|
2424
2607
|
|
@@ -2456,6 +2639,7 @@ module Aws::Organizations
|
|
2456
2639
|
class ListAccountsRequest < Struct.new(
|
2457
2640
|
:next_token,
|
2458
2641
|
:max_results)
|
2642
|
+
SENSITIVE = []
|
2459
2643
|
include Aws::Structure
|
2460
2644
|
end
|
2461
2645
|
|
@@ -2476,6 +2660,7 @@ module Aws::Organizations
|
|
2476
2660
|
class ListAccountsResponse < Struct.new(
|
2477
2661
|
:accounts,
|
2478
2662
|
:next_token)
|
2663
|
+
SENSITIVE = []
|
2479
2664
|
include Aws::Structure
|
2480
2665
|
end
|
2481
2666
|
|
@@ -2542,6 +2727,7 @@ module Aws::Organizations
|
|
2542
2727
|
:child_type,
|
2543
2728
|
:next_token,
|
2544
2729
|
:max_results)
|
2730
|
+
SENSITIVE = []
|
2545
2731
|
include Aws::Structure
|
2546
2732
|
end
|
2547
2733
|
|
@@ -2562,6 +2748,7 @@ module Aws::Organizations
|
|
2562
2748
|
class ListChildrenResponse < Struct.new(
|
2563
2749
|
:children,
|
2564
2750
|
:next_token)
|
2751
|
+
SENSITIVE = []
|
2565
2752
|
include Aws::Structure
|
2566
2753
|
end
|
2567
2754
|
|
@@ -2607,6 +2794,7 @@ module Aws::Organizations
|
|
2607
2794
|
:states,
|
2608
2795
|
:next_token,
|
2609
2796
|
:max_results)
|
2797
|
+
SENSITIVE = []
|
2610
2798
|
include Aws::Structure
|
2611
2799
|
end
|
2612
2800
|
|
@@ -2629,6 +2817,7 @@ module Aws::Organizations
|
|
2629
2817
|
class ListCreateAccountStatusResponse < Struct.new(
|
2630
2818
|
:create_account_statuses,
|
2631
2819
|
:next_token)
|
2820
|
+
SENSITIVE = []
|
2632
2821
|
include Aws::Structure
|
2633
2822
|
end
|
2634
2823
|
|
@@ -2676,6 +2865,7 @@ module Aws::Organizations
|
|
2676
2865
|
:service_principal,
|
2677
2866
|
:next_token,
|
2678
2867
|
:max_results)
|
2868
|
+
SENSITIVE = []
|
2679
2869
|
include Aws::Structure
|
2680
2870
|
end
|
2681
2871
|
|
@@ -2696,6 +2886,7 @@ module Aws::Organizations
|
|
2696
2886
|
class ListDelegatedAdministratorsResponse < Struct.new(
|
2697
2887
|
:delegated_administrators,
|
2698
2888
|
:next_token)
|
2889
|
+
SENSITIVE = []
|
2699
2890
|
include Aws::Structure
|
2700
2891
|
end
|
2701
2892
|
|
@@ -2740,6 +2931,7 @@ module Aws::Organizations
|
|
2740
2931
|
:account_id,
|
2741
2932
|
:next_token,
|
2742
2933
|
:max_results)
|
2934
|
+
SENSITIVE = []
|
2743
2935
|
include Aws::Structure
|
2744
2936
|
end
|
2745
2937
|
|
@@ -2760,6 +2952,7 @@ module Aws::Organizations
|
|
2760
2952
|
class ListDelegatedServicesForAccountResponse < Struct.new(
|
2761
2953
|
:delegated_services,
|
2762
2954
|
:next_token)
|
2955
|
+
SENSITIVE = []
|
2763
2956
|
include Aws::Structure
|
2764
2957
|
end
|
2765
2958
|
|
@@ -2813,6 +3006,7 @@ module Aws::Organizations
|
|
2813
3006
|
:filter,
|
2814
3007
|
:next_token,
|
2815
3008
|
:max_results)
|
3009
|
+
SENSITIVE = []
|
2816
3010
|
include Aws::Structure
|
2817
3011
|
end
|
2818
3012
|
|
@@ -2834,6 +3028,7 @@ module Aws::Organizations
|
|
2834
3028
|
class ListHandshakesForAccountResponse < Struct.new(
|
2835
3029
|
:handshakes,
|
2836
3030
|
:next_token)
|
3031
|
+
SENSITIVE = []
|
2837
3032
|
include Aws::Structure
|
2838
3033
|
end
|
2839
3034
|
|
@@ -2887,6 +3082,7 @@ module Aws::Organizations
|
|
2887
3082
|
:filter,
|
2888
3083
|
:next_token,
|
2889
3084
|
:max_results)
|
3085
|
+
SENSITIVE = []
|
2890
3086
|
include Aws::Structure
|
2891
3087
|
end
|
2892
3088
|
|
@@ -2908,6 +3104,7 @@ module Aws::Organizations
|
|
2908
3104
|
class ListHandshakesForOrganizationResponse < Struct.new(
|
2909
3105
|
:handshakes,
|
2910
3106
|
:next_token)
|
3107
|
+
SENSITIVE = []
|
2911
3108
|
include Aws::Structure
|
2912
3109
|
end
|
2913
3110
|
|
@@ -2968,6 +3165,7 @@ module Aws::Organizations
|
|
2968
3165
|
:parent_id,
|
2969
3166
|
:next_token,
|
2970
3167
|
:max_results)
|
3168
|
+
SENSITIVE = []
|
2971
3169
|
include Aws::Structure
|
2972
3170
|
end
|
2973
3171
|
|
@@ -2988,6 +3186,7 @@ module Aws::Organizations
|
|
2988
3186
|
class ListOrganizationalUnitsForParentResponse < Struct.new(
|
2989
3187
|
:organizational_units,
|
2990
3188
|
:next_token)
|
3189
|
+
SENSITIVE = []
|
2991
3190
|
include Aws::Structure
|
2992
3191
|
end
|
2993
3192
|
|
@@ -3047,6 +3246,7 @@ module Aws::Organizations
|
|
3047
3246
|
:child_id,
|
3048
3247
|
:next_token,
|
3049
3248
|
:max_results)
|
3249
|
+
SENSITIVE = []
|
3050
3250
|
include Aws::Structure
|
3051
3251
|
end
|
3052
3252
|
|
@@ -3067,6 +3267,7 @@ module Aws::Organizations
|
|
3067
3267
|
class ListParentsResponse < Struct.new(
|
3068
3268
|
:parents,
|
3069
3269
|
:next_token)
|
3270
|
+
SENSITIVE = []
|
3070
3271
|
include Aws::Structure
|
3071
3272
|
end
|
3072
3273
|
|
@@ -3075,7 +3276,7 @@ module Aws::Organizations
|
|
3075
3276
|
#
|
3076
3277
|
# {
|
3077
3278
|
# target_id: "PolicyTargetId", # required
|
3078
|
-
# filter: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY
|
3279
|
+
# filter: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY
|
3079
3280
|
# next_token: "NextToken",
|
3080
3281
|
# max_results: 1,
|
3081
3282
|
# }
|
@@ -3105,6 +3306,22 @@ module Aws::Organizations
|
|
3105
3306
|
#
|
3106
3307
|
# @!attribute [rw] filter
|
3107
3308
|
# The type of policy that you want to include in the returned list.
|
3309
|
+
# You must specify one of the following values:
|
3310
|
+
#
|
3311
|
+
# * [AISERVICES\_OPT\_OUT\_POLICY][1]
|
3312
|
+
#
|
3313
|
+
# * [BACKUP\_POLICY][2]
|
3314
|
+
#
|
3315
|
+
# * [SERVICE\_CONTROL\_POLICY][3]
|
3316
|
+
#
|
3317
|
+
# * [TAG\_POLICY][4]
|
3318
|
+
#
|
3319
|
+
#
|
3320
|
+
#
|
3321
|
+
# [1]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
|
3322
|
+
# [2]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html
|
3323
|
+
# [3]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
|
3324
|
+
# [4]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
|
3108
3325
|
# @return [String]
|
3109
3326
|
#
|
3110
3327
|
# @!attribute [rw] next_token
|
@@ -3135,6 +3352,7 @@ module Aws::Organizations
|
|
3135
3352
|
:filter,
|
3136
3353
|
:next_token,
|
3137
3354
|
:max_results)
|
3355
|
+
SENSITIVE = []
|
3138
3356
|
include Aws::Structure
|
3139
3357
|
end
|
3140
3358
|
|
@@ -3155,6 +3373,7 @@ module Aws::Organizations
|
|
3155
3373
|
class ListPoliciesForTargetResponse < Struct.new(
|
3156
3374
|
:policies,
|
3157
3375
|
:next_token)
|
3376
|
+
SENSITIVE = []
|
3158
3377
|
include Aws::Structure
|
3159
3378
|
end
|
3160
3379
|
|
@@ -3162,14 +3381,29 @@ module Aws::Organizations
|
|
3162
3381
|
# data as a hash:
|
3163
3382
|
#
|
3164
3383
|
# {
|
3165
|
-
# filter: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY
|
3384
|
+
# filter: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY
|
3166
3385
|
# next_token: "NextToken",
|
3167
3386
|
# max_results: 1,
|
3168
3387
|
# }
|
3169
3388
|
#
|
3170
3389
|
# @!attribute [rw] filter
|
3171
3390
|
# Specifies the type of policy that you want to include in the
|
3172
|
-
# response.
|
3391
|
+
# response. You must specify one of the following values:
|
3392
|
+
#
|
3393
|
+
# * [AISERVICES\_OPT\_OUT\_POLICY][1]
|
3394
|
+
#
|
3395
|
+
# * [BACKUP\_POLICY][2]
|
3396
|
+
#
|
3397
|
+
# * [SERVICE\_CONTROL\_POLICY][3]
|
3398
|
+
#
|
3399
|
+
# * [TAG\_POLICY][4]
|
3400
|
+
#
|
3401
|
+
#
|
3402
|
+
#
|
3403
|
+
# [1]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
|
3404
|
+
# [2]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html
|
3405
|
+
# [3]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
|
3406
|
+
# [4]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
|
3173
3407
|
# @return [String]
|
3174
3408
|
#
|
3175
3409
|
# @!attribute [rw] next_token
|
@@ -3199,6 +3433,7 @@ module Aws::Organizations
|
|
3199
3433
|
:filter,
|
3200
3434
|
:next_token,
|
3201
3435
|
:max_results)
|
3436
|
+
SENSITIVE = []
|
3202
3437
|
include Aws::Structure
|
3203
3438
|
end
|
3204
3439
|
|
@@ -3221,6 +3456,7 @@ module Aws::Organizations
|
|
3221
3456
|
class ListPoliciesResponse < Struct.new(
|
3222
3457
|
:policies,
|
3223
3458
|
:next_token)
|
3459
|
+
SENSITIVE = []
|
3224
3460
|
include Aws::Structure
|
3225
3461
|
end
|
3226
3462
|
|
@@ -3258,6 +3494,7 @@ module Aws::Organizations
|
|
3258
3494
|
class ListRootsRequest < Struct.new(
|
3259
3495
|
:next_token,
|
3260
3496
|
:max_results)
|
3497
|
+
SENSITIVE = []
|
3261
3498
|
include Aws::Structure
|
3262
3499
|
end
|
3263
3500
|
|
@@ -3278,6 +3515,7 @@ module Aws::Organizations
|
|
3278
3515
|
class ListRootsResponse < Struct.new(
|
3279
3516
|
:roots,
|
3280
3517
|
:next_token)
|
3518
|
+
SENSITIVE = []
|
3281
3519
|
include Aws::Structure
|
3282
3520
|
end
|
3283
3521
|
|
@@ -3306,6 +3544,7 @@ module Aws::Organizations
|
|
3306
3544
|
class ListTagsForResourceRequest < Struct.new(
|
3307
3545
|
:resource_id,
|
3308
3546
|
:next_token)
|
3547
|
+
SENSITIVE = []
|
3309
3548
|
include Aws::Structure
|
3310
3549
|
end
|
3311
3550
|
|
@@ -3326,6 +3565,7 @@ module Aws::Organizations
|
|
3326
3565
|
class ListTagsForResourceResponse < Struct.new(
|
3327
3566
|
:tags,
|
3328
3567
|
:next_token)
|
3568
|
+
SENSITIVE = []
|
3329
3569
|
include Aws::Structure
|
3330
3570
|
end
|
3331
3571
|
|
@@ -3378,6 +3618,7 @@ module Aws::Organizations
|
|
3378
3618
|
:policy_id,
|
3379
3619
|
:next_token,
|
3380
3620
|
:max_results)
|
3621
|
+
SENSITIVE = []
|
3381
3622
|
include Aws::Structure
|
3382
3623
|
end
|
3383
3624
|
|
@@ -3399,6 +3640,7 @@ module Aws::Organizations
|
|
3399
3640
|
class ListTargetsForPolicyResponse < Struct.new(
|
3400
3641
|
:targets,
|
3401
3642
|
:next_token)
|
3643
|
+
SENSITIVE = []
|
3402
3644
|
include Aws::Structure
|
3403
3645
|
end
|
3404
3646
|
|
@@ -3418,6 +3660,7 @@ module Aws::Organizations
|
|
3418
3660
|
#
|
3419
3661
|
class MalformedPolicyDocumentException < Struct.new(
|
3420
3662
|
:message)
|
3663
|
+
SENSITIVE = []
|
3421
3664
|
include Aws::Structure
|
3422
3665
|
end
|
3423
3666
|
|
@@ -3432,6 +3675,7 @@ module Aws::Organizations
|
|
3432
3675
|
#
|
3433
3676
|
class MasterCannotLeaveOrganizationException < Struct.new(
|
3434
3677
|
:message)
|
3678
|
+
SENSITIVE = []
|
3435
3679
|
include Aws::Structure
|
3436
3680
|
end
|
3437
3681
|
|
@@ -3503,6 +3747,7 @@ module Aws::Organizations
|
|
3503
3747
|
:account_id,
|
3504
3748
|
:source_parent_id,
|
3505
3749
|
:destination_parent_id)
|
3750
|
+
SENSITIVE = []
|
3506
3751
|
include Aws::Structure
|
3507
3752
|
end
|
3508
3753
|
|
@@ -3578,16 +3823,11 @@ module Aws::Organizations
|
|
3578
3823
|
# @return [String]
|
3579
3824
|
#
|
3580
3825
|
# @!attribute [rw] available_policy_types
|
3581
|
-
#
|
3582
|
-
#
|
3583
|
-
# control policies (SCPs) are included in the list.
|
3826
|
+
# Do not use. This field is deprecated and doesn't provide complete
|
3827
|
+
# information about the policies in your organization.
|
3584
3828
|
#
|
3585
|
-
#
|
3586
|
-
#
|
3587
|
-
# EnablePolicyType and DisablePolicyType. Use ListRoots to see the
|
3588
|
-
# status of a policy type in that root.
|
3589
|
-
#
|
3590
|
-
# </note>
|
3829
|
+
# To determine the policies that are enabled and available for use in
|
3830
|
+
# your organization, use the ListRoots operation instead.
|
3591
3831
|
# @return [Array<Types::PolicyTypeSummary>]
|
3592
3832
|
#
|
3593
3833
|
# @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/Organization AWS API Documentation
|
@@ -3600,6 +3840,7 @@ module Aws::Organizations
|
|
3600
3840
|
:master_account_id,
|
3601
3841
|
:master_account_email,
|
3602
3842
|
:available_policy_types)
|
3843
|
+
SENSITIVE = [:master_account_email]
|
3603
3844
|
include Aws::Structure
|
3604
3845
|
end
|
3605
3846
|
|
@@ -3614,6 +3855,7 @@ module Aws::Organizations
|
|
3614
3855
|
#
|
3615
3856
|
class OrganizationNotEmptyException < Struct.new(
|
3616
3857
|
:message)
|
3858
|
+
SENSITIVE = []
|
3617
3859
|
include Aws::Structure
|
3618
3860
|
end
|
3619
3861
|
|
@@ -3665,6 +3907,7 @@ module Aws::Organizations
|
|
3665
3907
|
:id,
|
3666
3908
|
:arn,
|
3667
3909
|
:name)
|
3910
|
+
SENSITIVE = []
|
3668
3911
|
include Aws::Structure
|
3669
3912
|
end
|
3670
3913
|
|
@@ -3678,6 +3921,7 @@ module Aws::Organizations
|
|
3678
3921
|
#
|
3679
3922
|
class OrganizationalUnitNotEmptyException < Struct.new(
|
3680
3923
|
:message)
|
3924
|
+
SENSITIVE = []
|
3681
3925
|
include Aws::Structure
|
3682
3926
|
end
|
3683
3927
|
|
@@ -3691,6 +3935,7 @@ module Aws::Organizations
|
|
3691
3935
|
#
|
3692
3936
|
class OrganizationalUnitNotFoundException < Struct.new(
|
3693
3937
|
:message)
|
3938
|
+
SENSITIVE = []
|
3694
3939
|
include Aws::Structure
|
3695
3940
|
end
|
3696
3941
|
|
@@ -3726,6 +3971,7 @@ module Aws::Organizations
|
|
3726
3971
|
class Parent < Struct.new(
|
3727
3972
|
:id,
|
3728
3973
|
:type)
|
3974
|
+
SENSITIVE = []
|
3729
3975
|
include Aws::Structure
|
3730
3976
|
end
|
3731
3977
|
|
@@ -3738,6 +3984,7 @@ module Aws::Organizations
|
|
3738
3984
|
#
|
3739
3985
|
class ParentNotFoundException < Struct.new(
|
3740
3986
|
:message)
|
3987
|
+
SENSITIVE = []
|
3741
3988
|
include Aws::Structure
|
3742
3989
|
end
|
3743
3990
|
|
@@ -3758,6 +4005,7 @@ module Aws::Organizations
|
|
3758
4005
|
class Policy < Struct.new(
|
3759
4006
|
:policy_summary,
|
3760
4007
|
:content)
|
4008
|
+
SENSITIVE = []
|
3761
4009
|
include Aws::Structure
|
3762
4010
|
end
|
3763
4011
|
|
@@ -3771,6 +4019,7 @@ module Aws::Organizations
|
|
3771
4019
|
#
|
3772
4020
|
class PolicyChangesInProgressException < Struct.new(
|
3773
4021
|
:message)
|
4022
|
+
SENSITIVE = []
|
3774
4023
|
include Aws::Structure
|
3775
4024
|
end
|
3776
4025
|
|
@@ -3784,6 +4033,7 @@ module Aws::Organizations
|
|
3784
4033
|
#
|
3785
4034
|
class PolicyInUseException < Struct.new(
|
3786
4035
|
:message)
|
4036
|
+
SENSITIVE = []
|
3787
4037
|
include Aws::Structure
|
3788
4038
|
end
|
3789
4039
|
|
@@ -3797,6 +4047,7 @@ module Aws::Organizations
|
|
3797
4047
|
#
|
3798
4048
|
class PolicyNotAttachedException < Struct.new(
|
3799
4049
|
:message)
|
4050
|
+
SENSITIVE = []
|
3800
4051
|
include Aws::Structure
|
3801
4052
|
end
|
3802
4053
|
|
@@ -3809,6 +4060,7 @@ module Aws::Organizations
|
|
3809
4060
|
#
|
3810
4061
|
class PolicyNotFoundException < Struct.new(
|
3811
4062
|
:message)
|
4063
|
+
SENSITIVE = []
|
3812
4064
|
include Aws::Structure
|
3813
4065
|
end
|
3814
4066
|
|
@@ -3872,6 +4124,7 @@ module Aws::Organizations
|
|
3872
4124
|
:description,
|
3873
4125
|
:type,
|
3874
4126
|
:aws_managed)
|
4127
|
+
SENSITIVE = []
|
3875
4128
|
include Aws::Structure
|
3876
4129
|
end
|
3877
4130
|
|
@@ -3934,6 +4187,7 @@ module Aws::Organizations
|
|
3934
4187
|
:arn,
|
3935
4188
|
:name,
|
3936
4189
|
:type)
|
4190
|
+
SENSITIVE = []
|
3937
4191
|
include Aws::Structure
|
3938
4192
|
end
|
3939
4193
|
|
@@ -3946,14 +4200,15 @@ module Aws::Organizations
|
|
3946
4200
|
#
|
3947
4201
|
class PolicyTypeAlreadyEnabledException < Struct.new(
|
3948
4202
|
:message)
|
4203
|
+
SENSITIVE = []
|
3949
4204
|
include Aws::Structure
|
3950
4205
|
end
|
3951
4206
|
|
3952
4207
|
# You can't use the specified policy type with the feature set
|
3953
4208
|
# currently enabled for this organization. For example, you can enable
|
3954
4209
|
# SCPs only after you enable all features in the organization. For more
|
3955
|
-
# information, see [
|
3956
|
-
#
|
4210
|
+
# information, see [Managing AWS Organizations Policies][1]in the *AWS
|
4211
|
+
# Organizations User Guide.*
|
3957
4212
|
#
|
3958
4213
|
#
|
3959
4214
|
#
|
@@ -3966,6 +4221,7 @@ module Aws::Organizations
|
|
3966
4221
|
#
|
3967
4222
|
class PolicyTypeNotAvailableForOrganizationException < Struct.new(
|
3968
4223
|
:message)
|
4224
|
+
SENSITIVE = []
|
3969
4225
|
include Aws::Structure
|
3970
4226
|
end
|
3971
4227
|
|
@@ -3986,6 +4242,7 @@ module Aws::Organizations
|
|
3986
4242
|
#
|
3987
4243
|
class PolicyTypeNotEnabledException < Struct.new(
|
3988
4244
|
:message)
|
4245
|
+
SENSITIVE = []
|
3989
4246
|
include Aws::Structure
|
3990
4247
|
end
|
3991
4248
|
|
@@ -4008,6 +4265,7 @@ module Aws::Organizations
|
|
4008
4265
|
class PolicyTypeSummary < Struct.new(
|
4009
4266
|
:type,
|
4010
4267
|
:status)
|
4268
|
+
SENSITIVE = []
|
4011
4269
|
include Aws::Structure
|
4012
4270
|
end
|
4013
4271
|
|
@@ -4034,6 +4292,7 @@ module Aws::Organizations
|
|
4034
4292
|
class RegisterDelegatedAdministratorRequest < Struct.new(
|
4035
4293
|
:account_id,
|
4036
4294
|
:service_principal)
|
4295
|
+
SENSITIVE = []
|
4037
4296
|
include Aws::Structure
|
4038
4297
|
end
|
4039
4298
|
|
@@ -4060,6 +4319,7 @@ module Aws::Organizations
|
|
4060
4319
|
#
|
4061
4320
|
class RemoveAccountFromOrganizationRequest < Struct.new(
|
4062
4321
|
:account_id)
|
4322
|
+
SENSITIVE = []
|
4063
4323
|
include Aws::Structure
|
4064
4324
|
end
|
4065
4325
|
|
@@ -4123,6 +4383,7 @@ module Aws::Organizations
|
|
4123
4383
|
:arn,
|
4124
4384
|
:name,
|
4125
4385
|
:policy_types)
|
4386
|
+
SENSITIVE = []
|
4126
4387
|
include Aws::Structure
|
4127
4388
|
end
|
4128
4389
|
|
@@ -4135,6 +4396,7 @@ module Aws::Organizations
|
|
4135
4396
|
#
|
4136
4397
|
class RootNotFoundException < Struct.new(
|
4137
4398
|
:message)
|
4399
|
+
SENSITIVE = []
|
4138
4400
|
include Aws::Structure
|
4139
4401
|
end
|
4140
4402
|
|
@@ -4148,6 +4410,7 @@ module Aws::Organizations
|
|
4148
4410
|
#
|
4149
4411
|
class ServiceException < Struct.new(
|
4150
4412
|
:message)
|
4413
|
+
SENSITIVE = []
|
4151
4414
|
include Aws::Structure
|
4152
4415
|
end
|
4153
4416
|
|
@@ -4161,6 +4424,7 @@ module Aws::Organizations
|
|
4161
4424
|
#
|
4162
4425
|
class SourceParentNotFoundException < Struct.new(
|
4163
4426
|
:message)
|
4427
|
+
SENSITIVE = []
|
4164
4428
|
include Aws::Structure
|
4165
4429
|
end
|
4166
4430
|
|
@@ -4190,6 +4454,7 @@ module Aws::Organizations
|
|
4190
4454
|
class Tag < Struct.new(
|
4191
4455
|
:key,
|
4192
4456
|
:value)
|
4457
|
+
SENSITIVE = []
|
4193
4458
|
include Aws::Structure
|
4194
4459
|
end
|
4195
4460
|
|
@@ -4211,9 +4476,9 @@ module Aws::Organizations
|
|
4211
4476
|
# @return [String]
|
4212
4477
|
#
|
4213
4478
|
# @!attribute [rw] tags
|
4214
|
-
# The tag to add to the specified resource.
|
4215
|
-
#
|
4216
|
-
# can't set
|
4479
|
+
# The tag to add to the specified resource. You must specify both a
|
4480
|
+
# tag key and value. You can set the value of a tag to an empty
|
4481
|
+
# string, but you can't set it to null.
|
4217
4482
|
# @return [Array<Types::Tag>]
|
4218
4483
|
#
|
4219
4484
|
# @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/TagResourceRequest AWS API Documentation
|
@@ -4221,6 +4486,7 @@ module Aws::Organizations
|
|
4221
4486
|
class TagResourceRequest < Struct.new(
|
4222
4487
|
:resource_id,
|
4223
4488
|
:tags)
|
4489
|
+
SENSITIVE = []
|
4224
4490
|
include Aws::Structure
|
4225
4491
|
end
|
4226
4492
|
|
@@ -4234,15 +4500,17 @@ module Aws::Organizations
|
|
4234
4500
|
#
|
4235
4501
|
class TargetNotFoundException < Struct.new(
|
4236
4502
|
:message)
|
4503
|
+
SENSITIVE = []
|
4237
4504
|
include Aws::Structure
|
4238
4505
|
end
|
4239
4506
|
|
4240
4507
|
# You have sent too many requests in too short a period of time. The
|
4241
|
-
#
|
4508
|
+
# quota helps protect against denial-of-service attacks. Try again
|
4242
4509
|
# later.
|
4243
4510
|
#
|
4244
|
-
# For information
|
4245
|
-
#
|
4511
|
+
# For information about quotas that affect AWS Organizations, see
|
4512
|
+
# [Quotas for AWS Organizations][1]in the *AWS Organizations User
|
4513
|
+
# Guide.*
|
4246
4514
|
#
|
4247
4515
|
#
|
4248
4516
|
#
|
@@ -4259,10 +4527,11 @@ module Aws::Organizations
|
|
4259
4527
|
class TooManyRequestsException < Struct.new(
|
4260
4528
|
:type,
|
4261
4529
|
:message)
|
4530
|
+
SENSITIVE = []
|
4262
4531
|
include Aws::Structure
|
4263
4532
|
end
|
4264
4533
|
|
4265
|
-
# This action isn't available in the current Region.
|
4534
|
+
# This action isn't available in the current AWS Region.
|
4266
4535
|
#
|
4267
4536
|
# @!attribute [rw] message
|
4268
4537
|
# @return [String]
|
@@ -4271,6 +4540,7 @@ module Aws::Organizations
|
|
4271
4540
|
#
|
4272
4541
|
class UnsupportedAPIEndpointException < Struct.new(
|
4273
4542
|
:message)
|
4543
|
+
SENSITIVE = []
|
4274
4544
|
include Aws::Structure
|
4275
4545
|
end
|
4276
4546
|
|
@@ -4295,6 +4565,7 @@ module Aws::Organizations
|
|
4295
4565
|
class UntagResourceRequest < Struct.new(
|
4296
4566
|
:resource_id,
|
4297
4567
|
:tag_keys)
|
4568
|
+
SENSITIVE = []
|
4298
4569
|
include Aws::Structure
|
4299
4570
|
end
|
4300
4571
|
|
@@ -4337,6 +4608,7 @@ module Aws::Organizations
|
|
4337
4608
|
class UpdateOrganizationalUnitRequest < Struct.new(
|
4338
4609
|
:organizational_unit_id,
|
4339
4610
|
:name)
|
4611
|
+
SENSITIVE = []
|
4340
4612
|
include Aws::Structure
|
4341
4613
|
end
|
4342
4614
|
|
@@ -4349,6 +4621,7 @@ module Aws::Organizations
|
|
4349
4621
|
#
|
4350
4622
|
class UpdateOrganizationalUnitResponse < Struct.new(
|
4351
4623
|
:organizational_unit)
|
4624
|
+
SENSITIVE = []
|
4352
4625
|
include Aws::Structure
|
4353
4626
|
end
|
4354
4627
|
|
@@ -4407,6 +4680,7 @@ module Aws::Organizations
|
|
4407
4680
|
:name,
|
4408
4681
|
:description,
|
4409
4682
|
:content)
|
4683
|
+
SENSITIVE = []
|
4410
4684
|
include Aws::Structure
|
4411
4685
|
end
|
4412
4686
|
|
@@ -4419,6 +4693,7 @@ module Aws::Organizations
|
|
4419
4693
|
#
|
4420
4694
|
class UpdatePolicyResponse < Struct.new(
|
4421
4695
|
:policy)
|
4696
|
+
SENSITIVE = []
|
4422
4697
|
include Aws::Structure
|
4423
4698
|
end
|
4424
4699
|
|