aws-sdk-organizations 1.39.0 → 1.44.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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:
@@ -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:
@@ -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 [To leave an organization when all required account information
411
- # has not yet been provided][1] in the *AWS Organizations User Guide.*
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 [To leave an organization when all required account information
418
- # has not yet been provided][1] in the *AWS Organizations User Guide.*
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 receive this exception when running a command immediately
438
- # after creating the organization, wait one hour and try again. If
439
- # after an hour it continues to fail with this error, contact [AWS
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 can
443
- # designate only a member account as a delegated administrator.
444
- #
445
- # * CANNOT\_REMOVE\_DELEGATED\_ADMINISTRATOR\_FROM\_ORG: To complete
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
- # * DELEGATED\_ADMINISTRATOR\_EXISTS\_FOR\_THIS\_SERVICE: To complete
450
- # this operation, you must first deregister all delegated
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 contact a valid address and phone number for
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][1] in the *AWS
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][1] in the *AWS Organizations
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\_NUMBER\_LIMIT\_EXCEEDED. You attempted to exceed the number
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.
517
569
  #
518
570
  #
519
- # [1]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info
571
+ #
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
 
@@ -727,6 +784,7 @@ module Aws::Organizations
727
784
  :account_id,
728
785
  :gov_cloud_account_id,
729
786
  :failure_reason)
787
+ SENSITIVE = [:account_name]
730
788
  include Aws::Structure
731
789
  end
732
790
 
@@ -740,6 +798,7 @@ module Aws::Organizations
740
798
  #
741
799
  class CreateAccountStatusNotFoundException < Struct.new(
742
800
  :message)
801
+ SENSITIVE = []
743
802
  include Aws::Structure
744
803
  end
745
804
 
@@ -824,6 +883,7 @@ module Aws::Organizations
824
883
  :account_name,
825
884
  :role_name,
826
885
  :iam_user_access_to_billing)
886
+ SENSITIVE = [:email, :account_name]
827
887
  include Aws::Structure
828
888
  end
829
889
 
@@ -837,6 +897,7 @@ module Aws::Organizations
837
897
  #
838
898
  class CreateGovCloudAccountResponse < Struct.new(
839
899
  :create_account_status)
900
+ SENSITIVE = []
840
901
  include Aws::Structure
841
902
  end
842
903
 
@@ -875,6 +936,7 @@ module Aws::Organizations
875
936
  #
876
937
  class CreateOrganizationRequest < Struct.new(
877
938
  :feature_set)
939
+ SENSITIVE = []
878
940
  include Aws::Structure
879
941
  end
880
942
 
@@ -887,6 +949,7 @@ module Aws::Organizations
887
949
  #
888
950
  class CreateOrganizationResponse < Struct.new(
889
951
  :organization)
952
+ SENSITIVE = []
890
953
  include Aws::Structure
891
954
  end
892
955
 
@@ -928,6 +991,7 @@ module Aws::Organizations
928
991
  class CreateOrganizationalUnitRequest < Struct.new(
929
992
  :parent_id,
930
993
  :name)
994
+ SENSITIVE = []
931
995
  include Aws::Structure
932
996
  end
933
997
 
@@ -939,6 +1003,7 @@ module Aws::Organizations
939
1003
  #
940
1004
  class CreateOrganizationalUnitResponse < Struct.new(
941
1005
  :organizational_unit)
1006
+ SENSITIVE = []
942
1007
  include Aws::Structure
943
1008
  end
944
1009
 
@@ -949,21 +1014,13 @@ module Aws::Organizations
949
1014
  # content: "PolicyContent", # required
950
1015
  # description: "PolicyDescription", # required
951
1016
  # name: "PolicyName", # required
952
- # type: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY
1017
+ # type: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY
953
1018
  # }
954
1019
  #
955
1020
  # @!attribute [rw] content
956
- # The policy content to add to the new policy. For example, if you
957
- # create a [service control policy][1] (SCP), this string must be JSON
958
- # text that specifies the permissions that admins in attached accounts
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
1021
+ # The policy text content to add to the new policy. The text that you
1022
+ # supply must adhere to the rules of the policy type you specify in
1023
+ # the `Type` parameter.
967
1024
  # @return [String]
968
1025
  #
969
1026
  # @!attribute [rw] description
@@ -982,12 +1039,20 @@ module Aws::Organizations
982
1039
  # @return [String]
983
1040
  #
984
1041
  # @!attribute [rw] type
985
- # The type of policy to create.
1042
+ # The type of policy to create. You can specify one of the following
1043
+ # values:
986
1044
  #
987
- # <note markdown="1"> In the current release, the only type of policy that you can create
988
- # is a service control policy (SCP).
1045
+ # * [BACKUP\_POLICY][1]
989
1046
  #
990
- # </note>
1047
+ # * [SERVICE\_CONTROL\_POLICY][2]
1048
+ #
1049
+ # * [TAG\_POLICY][3]
1050
+ #
1051
+ #
1052
+ #
1053
+ # [1]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html
1054
+ # [2]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
1055
+ # [3]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
991
1056
  # @return [String]
992
1057
  #
993
1058
  # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/CreatePolicyRequest AWS API Documentation
@@ -997,6 +1062,7 @@ module Aws::Organizations
997
1062
  :description,
998
1063
  :name,
999
1064
  :type)
1065
+ SENSITIVE = []
1000
1066
  include Aws::Structure
1001
1067
  end
1002
1068
 
@@ -1008,6 +1074,7 @@ module Aws::Organizations
1008
1074
  #
1009
1075
  class CreatePolicyResponse < Struct.new(
1010
1076
  :policy)
1077
+ SENSITIVE = []
1011
1078
  include Aws::Structure
1012
1079
  end
1013
1080
 
@@ -1035,6 +1102,7 @@ module Aws::Organizations
1035
1102
  #
1036
1103
  class DeclineHandshakeRequest < Struct.new(
1037
1104
  :handshake_id)
1105
+ SENSITIVE = []
1038
1106
  include Aws::Structure
1039
1107
  end
1040
1108
 
@@ -1047,6 +1115,7 @@ module Aws::Organizations
1047
1115
  #
1048
1116
  class DeclineHandshakeResponse < Struct.new(
1049
1117
  :handshake)
1118
+ SENSITIVE = []
1050
1119
  include Aws::Structure
1051
1120
  end
1052
1121
 
@@ -1101,6 +1170,7 @@ module Aws::Organizations
1101
1170
  :joined_method,
1102
1171
  :joined_timestamp,
1103
1172
  :delegation_enabled_date)
1173
+ SENSITIVE = [:email, :name]
1104
1174
  include Aws::Structure
1105
1175
  end
1106
1176
 
@@ -1123,6 +1193,7 @@ module Aws::Organizations
1123
1193
  class DelegatedService < Struct.new(
1124
1194
  :service_principal,
1125
1195
  :delegation_enabled_date)
1196
+ SENSITIVE = []
1126
1197
  include Aws::Structure
1127
1198
  end
1128
1199
 
@@ -1153,6 +1224,7 @@ module Aws::Organizations
1153
1224
  #
1154
1225
  class DeleteOrganizationalUnitRequest < Struct.new(
1155
1226
  :organizational_unit_id)
1227
+ SENSITIVE = []
1156
1228
  include Aws::Structure
1157
1229
  end
1158
1230
 
@@ -1181,6 +1253,7 @@ module Aws::Organizations
1181
1253
  #
1182
1254
  class DeletePolicyRequest < Struct.new(
1183
1255
  :policy_id)
1256
+ SENSITIVE = []
1184
1257
  include Aws::Structure
1185
1258
  end
1186
1259
 
@@ -1213,6 +1286,7 @@ module Aws::Organizations
1213
1286
  class DeregisterDelegatedAdministratorRequest < Struct.new(
1214
1287
  :account_id,
1215
1288
  :service_principal)
1289
+ SENSITIVE = []
1216
1290
  include Aws::Structure
1217
1291
  end
1218
1292
 
@@ -1240,6 +1314,7 @@ module Aws::Organizations
1240
1314
  #
1241
1315
  class DescribeAccountRequest < Struct.new(
1242
1316
  :account_id)
1317
+ SENSITIVE = []
1243
1318
  include Aws::Structure
1244
1319
  end
1245
1320
 
@@ -1251,6 +1326,7 @@ module Aws::Organizations
1251
1326
  #
1252
1327
  class DescribeAccountResponse < Struct.new(
1253
1328
  :account)
1329
+ SENSITIVE = []
1254
1330
  include Aws::Structure
1255
1331
  end
1256
1332
 
@@ -1279,6 +1355,7 @@ module Aws::Organizations
1279
1355
  #
1280
1356
  class DescribeCreateAccountStatusRequest < Struct.new(
1281
1357
  :create_account_request_id)
1358
+ SENSITIVE = []
1282
1359
  include Aws::Structure
1283
1360
  end
1284
1361
 
@@ -1291,6 +1368,7 @@ module Aws::Organizations
1291
1368
  #
1292
1369
  class DescribeCreateAccountStatusResponse < Struct.new(
1293
1370
  :create_account_status)
1371
+ SENSITIVE = []
1294
1372
  include Aws::Structure
1295
1373
  end
1296
1374
 
@@ -1298,18 +1376,28 @@ module Aws::Organizations
1298
1376
  # data as a hash:
1299
1377
  #
1300
1378
  # {
1301
- # policy_type: "TAG_POLICY", # required, accepts TAG_POLICY
1379
+ # policy_type: "TAG_POLICY", # required, accepts TAG_POLICY, BACKUP_POLICY
1302
1380
  # target_id: "PolicyTargetId",
1303
1381
  # }
1304
1382
  #
1305
1383
  # @!attribute [rw] policy_type
1306
- # The type of policy that you want information about.
1384
+ # The type of policy that you want information about. You can specify
1385
+ # one of the following values:
1386
+ #
1387
+ # * [BACKUP\_POLICY][1]
1388
+ #
1389
+ # * [TAG\_POLICY][2]
1390
+ #
1391
+ #
1392
+ #
1393
+ # [1]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html
1394
+ # [2]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
1307
1395
  # @return [String]
1308
1396
  #
1309
1397
  # @!attribute [rw] target_id
1310
1398
  # When you're signed in as the master account, specify the ID of the
1311
1399
  # account that you want details about. Specifying an organization root
1312
- # or OU as the target is not supported.
1400
+ # or organizational unit (OU) as the target is not supported.
1313
1401
  # @return [String]
1314
1402
  #
1315
1403
  # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DescribeEffectivePolicyRequest AWS API Documentation
@@ -1317,6 +1405,7 @@ module Aws::Organizations
1317
1405
  class DescribeEffectivePolicyRequest < Struct.new(
1318
1406
  :policy_type,
1319
1407
  :target_id)
1408
+ SENSITIVE = []
1320
1409
  include Aws::Structure
1321
1410
  end
1322
1411
 
@@ -1328,6 +1417,7 @@ module Aws::Organizations
1328
1417
  #
1329
1418
  class DescribeEffectivePolicyResponse < Struct.new(
1330
1419
  :effective_policy)
1420
+ SENSITIVE = []
1331
1421
  include Aws::Structure
1332
1422
  end
1333
1423
 
@@ -1356,6 +1446,7 @@ module Aws::Organizations
1356
1446
  #
1357
1447
  class DescribeHandshakeRequest < Struct.new(
1358
1448
  :handshake_id)
1449
+ SENSITIVE = []
1359
1450
  include Aws::Structure
1360
1451
  end
1361
1452
 
@@ -1367,6 +1458,7 @@ module Aws::Organizations
1367
1458
  #
1368
1459
  class DescribeHandshakeResponse < Struct.new(
1369
1460
  :handshake)
1461
+ SENSITIVE = []
1370
1462
  include Aws::Structure
1371
1463
  end
1372
1464
 
@@ -1378,6 +1470,7 @@ module Aws::Organizations
1378
1470
  #
1379
1471
  class DescribeOrganizationResponse < Struct.new(
1380
1472
  :organization)
1473
+ SENSITIVE = []
1381
1474
  include Aws::Structure
1382
1475
  end
1383
1476
 
@@ -1408,6 +1501,7 @@ module Aws::Organizations
1408
1501
  #
1409
1502
  class DescribeOrganizationalUnitRequest < Struct.new(
1410
1503
  :organizational_unit_id)
1504
+ SENSITIVE = []
1411
1505
  include Aws::Structure
1412
1506
  end
1413
1507
 
@@ -1419,6 +1513,7 @@ module Aws::Organizations
1419
1513
  #
1420
1514
  class DescribeOrganizationalUnitResponse < Struct.new(
1421
1515
  :organizational_unit)
1516
+ SENSITIVE = []
1422
1517
  include Aws::Structure
1423
1518
  end
1424
1519
 
@@ -1447,6 +1542,7 @@ module Aws::Organizations
1447
1542
  #
1448
1543
  class DescribePolicyRequest < Struct.new(
1449
1544
  :policy_id)
1545
+ SENSITIVE = []
1450
1546
  include Aws::Structure
1451
1547
  end
1452
1548
 
@@ -1458,6 +1554,7 @@ module Aws::Organizations
1458
1554
  #
1459
1555
  class DescribePolicyResponse < Struct.new(
1460
1556
  :policy)
1557
+ SENSITIVE = []
1461
1558
  include Aws::Structure
1462
1559
  end
1463
1560
 
@@ -1471,6 +1568,7 @@ module Aws::Organizations
1471
1568
  #
1472
1569
  class DestinationParentNotFoundException < Struct.new(
1473
1570
  :message)
1571
+ SENSITIVE = []
1474
1572
  include Aws::Structure
1475
1573
  end
1476
1574
 
@@ -1525,6 +1623,7 @@ module Aws::Organizations
1525
1623
  class DetachPolicyRequest < Struct.new(
1526
1624
  :policy_id,
1527
1625
  :target_id)
1626
+ SENSITIVE = []
1528
1627
  include Aws::Structure
1529
1628
  end
1530
1629
 
@@ -1545,6 +1644,7 @@ module Aws::Organizations
1545
1644
  #
1546
1645
  class DisableAWSServiceAccessRequest < Struct.new(
1547
1646
  :service_principal)
1647
+ SENSITIVE = []
1548
1648
  include Aws::Structure
1549
1649
  end
1550
1650
 
@@ -1553,7 +1653,7 @@ module Aws::Organizations
1553
1653
  #
1554
1654
  # {
1555
1655
  # root_id: "RootId", # required
1556
- # policy_type: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY
1656
+ # policy_type: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY
1557
1657
  # }
1558
1658
  #
1559
1659
  # @!attribute [rw] root_id
@@ -1569,7 +1669,20 @@ module Aws::Organizations
1569
1669
  # @return [String]
1570
1670
  #
1571
1671
  # @!attribute [rw] policy_type
1572
- # The policy type that you want to disable in this root.
1672
+ # The policy type that you want to disable in this root. You can
1673
+ # specify one of the following values:
1674
+ #
1675
+ # * [BACKUP\_POLICY][1]
1676
+ #
1677
+ # * [SERVICE\_CONTROL\_POLICY][2]
1678
+ #
1679
+ # * [TAG\_POLICY][3]
1680
+ #
1681
+ #
1682
+ #
1683
+ # [1]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html
1684
+ # [2]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
1685
+ # [3]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
1573
1686
  # @return [String]
1574
1687
  #
1575
1688
  # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DisablePolicyTypeRequest AWS API Documentation
@@ -1577,6 +1690,7 @@ module Aws::Organizations
1577
1690
  class DisablePolicyTypeRequest < Struct.new(
1578
1691
  :root_id,
1579
1692
  :policy_type)
1693
+ SENSITIVE = []
1580
1694
  include Aws::Structure
1581
1695
  end
1582
1696
 
@@ -1589,6 +1703,7 @@ module Aws::Organizations
1589
1703
  #
1590
1704
  class DisablePolicyTypeResponse < Struct.new(
1591
1705
  :root)
1706
+ SENSITIVE = []
1592
1707
  include Aws::Structure
1593
1708
  end
1594
1709
 
@@ -1601,6 +1716,7 @@ module Aws::Organizations
1601
1716
  #
1602
1717
  class DuplicateAccountException < Struct.new(
1603
1718
  :message)
1719
+ SENSITIVE = []
1604
1720
  include Aws::Structure
1605
1721
  end
1606
1722
 
@@ -1618,6 +1734,7 @@ module Aws::Organizations
1618
1734
  #
1619
1735
  class DuplicateHandshakeException < Struct.new(
1620
1736
  :message)
1737
+ SENSITIVE = []
1621
1738
  include Aws::Structure
1622
1739
  end
1623
1740
 
@@ -1630,6 +1747,7 @@ module Aws::Organizations
1630
1747
  #
1631
1748
  class DuplicateOrganizationalUnitException < Struct.new(
1632
1749
  :message)
1750
+ SENSITIVE = []
1633
1751
  include Aws::Structure
1634
1752
  end
1635
1753
 
@@ -1642,6 +1760,7 @@ module Aws::Organizations
1642
1760
  #
1643
1761
  class DuplicatePolicyAttachmentException < Struct.new(
1644
1762
  :message)
1763
+ SENSITIVE = []
1645
1764
  include Aws::Structure
1646
1765
  end
1647
1766
 
@@ -1654,6 +1773,7 @@ module Aws::Organizations
1654
1773
  #
1655
1774
  class DuplicatePolicyException < Struct.new(
1656
1775
  :message)
1776
+ SENSITIVE = []
1657
1777
  include Aws::Structure
1658
1778
  end
1659
1779
 
@@ -1684,6 +1804,7 @@ module Aws::Organizations
1684
1804
  :last_updated_timestamp,
1685
1805
  :target_id,
1686
1806
  :policy_type)
1807
+ SENSITIVE = []
1687
1808
  include Aws::Structure
1688
1809
  end
1689
1810
 
@@ -1700,6 +1821,7 @@ module Aws::Organizations
1700
1821
  #
1701
1822
  class EffectivePolicyNotFoundException < Struct.new(
1702
1823
  :message)
1824
+ SENSITIVE = []
1703
1825
  include Aws::Structure
1704
1826
  end
1705
1827
 
@@ -1720,6 +1842,7 @@ module Aws::Organizations
1720
1842
  #
1721
1843
  class EnableAWSServiceAccessRequest < Struct.new(
1722
1844
  :service_principal)
1845
+ SENSITIVE = []
1723
1846
  include Aws::Structure
1724
1847
  end
1725
1848
 
@@ -1738,6 +1861,7 @@ module Aws::Organizations
1738
1861
  #
1739
1862
  class EnableAllFeaturesResponse < Struct.new(
1740
1863
  :handshake)
1864
+ SENSITIVE = []
1741
1865
  include Aws::Structure
1742
1866
  end
1743
1867
 
@@ -1746,7 +1870,7 @@ module Aws::Organizations
1746
1870
  #
1747
1871
  # {
1748
1872
  # root_id: "RootId", # required
1749
- # policy_type: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY
1873
+ # policy_type: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY
1750
1874
  # }
1751
1875
  #
1752
1876
  # @!attribute [rw] root_id
@@ -1762,7 +1886,20 @@ module Aws::Organizations
1762
1886
  # @return [String]
1763
1887
  #
1764
1888
  # @!attribute [rw] policy_type
1765
- # The policy type that you want to enable.
1889
+ # The policy type that you want to enable. You can specify one of the
1890
+ # following values:
1891
+ #
1892
+ # * [BACKUP\_POLICY][1]
1893
+ #
1894
+ # * [SERVICE\_CONTROL\_POLICY][2]
1895
+ #
1896
+ # * [TAG\_POLICY][3]
1897
+ #
1898
+ #
1899
+ #
1900
+ # [1]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html
1901
+ # [2]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
1902
+ # [3]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
1766
1903
  # @return [String]
1767
1904
  #
1768
1905
  # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/EnablePolicyTypeRequest AWS API Documentation
@@ -1770,6 +1907,7 @@ module Aws::Organizations
1770
1907
  class EnablePolicyTypeRequest < Struct.new(
1771
1908
  :root_id,
1772
1909
  :policy_type)
1910
+ SENSITIVE = []
1773
1911
  include Aws::Structure
1774
1912
  end
1775
1913
 
@@ -1782,6 +1920,7 @@ module Aws::Organizations
1782
1920
  #
1783
1921
  class EnablePolicyTypeResponse < Struct.new(
1784
1922
  :root)
1923
+ SENSITIVE = []
1785
1924
  include Aws::Structure
1786
1925
  end
1787
1926
 
@@ -1804,6 +1943,7 @@ module Aws::Organizations
1804
1943
  class EnabledServicePrincipal < Struct.new(
1805
1944
  :service_principal,
1806
1945
  :date_enabled)
1946
+ SENSITIVE = []
1807
1947
  include Aws::Structure
1808
1948
  end
1809
1949
 
@@ -1823,6 +1963,7 @@ module Aws::Organizations
1823
1963
  #
1824
1964
  class FinalizingOrganizationException < Struct.new(
1825
1965
  :message)
1966
+ SENSITIVE = []
1826
1967
  include Aws::Structure
1827
1968
  end
1828
1969
 
@@ -1942,6 +2083,7 @@ module Aws::Organizations
1942
2083
  :expiration_timestamp,
1943
2084
  :action,
1944
2085
  :resources)
2086
+ SENSITIVE = []
1945
2087
  include Aws::Structure
1946
2088
  end
1947
2089
 
@@ -1955,6 +2097,7 @@ module Aws::Organizations
1955
2097
  #
1956
2098
  class HandshakeAlreadyInStateException < Struct.new(
1957
2099
  :message)
2100
+ SENSITIVE = []
1958
2101
  include Aws::Structure
1959
2102
  end
1960
2103
 
@@ -2017,6 +2160,7 @@ module Aws::Organizations
2017
2160
  class HandshakeConstraintViolationException < Struct.new(
2018
2161
  :message,
2019
2162
  :reason)
2163
+ SENSITIVE = []
2020
2164
  include Aws::Structure
2021
2165
  end
2022
2166
 
@@ -2058,6 +2202,7 @@ module Aws::Organizations
2058
2202
  class HandshakeFilter < Struct.new(
2059
2203
  :action_type,
2060
2204
  :parent_handshake_id)
2205
+ SENSITIVE = []
2061
2206
  include Aws::Structure
2062
2207
  end
2063
2208
 
@@ -2070,6 +2215,7 @@ module Aws::Organizations
2070
2215
  #
2071
2216
  class HandshakeNotFoundException < Struct.new(
2072
2217
  :message)
2218
+ SENSITIVE = []
2073
2219
  include Aws::Structure
2074
2220
  end
2075
2221
 
@@ -2103,6 +2249,7 @@ module Aws::Organizations
2103
2249
  class HandshakeParty < Struct.new(
2104
2250
  :id,
2105
2251
  :type)
2252
+ SENSITIVE = [:id]
2106
2253
  include Aws::Structure
2107
2254
  end
2108
2255
 
@@ -2146,6 +2293,7 @@ module Aws::Organizations
2146
2293
  :value,
2147
2294
  :type,
2148
2295
  :resources)
2296
+ SENSITIVE = [:value]
2149
2297
  include Aws::Structure
2150
2298
  end
2151
2299
 
@@ -2160,6 +2308,7 @@ module Aws::Organizations
2160
2308
  #
2161
2309
  class InvalidHandshakeTransitionException < Struct.new(
2162
2310
  :message)
2311
+ SENSITIVE = []
2163
2312
  include Aws::Structure
2164
2313
  end
2165
2314
 
@@ -2168,7 +2317,7 @@ module Aws::Organizations
2168
2317
  # reason that contains additional information about the violated limit:
2169
2318
  #
2170
2319
  # <note markdown="1"> Some of the reasons in the following list might not be applicable to
2171
- # this specific API or operation:
2320
+ # this specific API or operation.
2172
2321
  #
2173
2322
  # </note>
2174
2323
  #
@@ -2240,6 +2389,7 @@ module Aws::Organizations
2240
2389
  class InvalidInputException < Struct.new(
2241
2390
  :message,
2242
2391
  :reason)
2392
+ SENSITIVE = []
2243
2393
  include Aws::Structure
2244
2394
  end
2245
2395
 
@@ -2283,6 +2433,7 @@ module Aws::Organizations
2283
2433
  class InviteAccountToOrganizationRequest < Struct.new(
2284
2434
  :target,
2285
2435
  :notes)
2436
+ SENSITIVE = [:notes]
2286
2437
  include Aws::Structure
2287
2438
  end
2288
2439
 
@@ -2295,6 +2446,7 @@ module Aws::Organizations
2295
2446
  #
2296
2447
  class InviteAccountToOrganizationResponse < Struct.new(
2297
2448
  :handshake)
2449
+ SENSITIVE = []
2298
2450
  include Aws::Structure
2299
2451
  end
2300
2452
 
@@ -2332,6 +2484,7 @@ module Aws::Organizations
2332
2484
  class ListAWSServiceAccessForOrganizationRequest < Struct.new(
2333
2485
  :next_token,
2334
2486
  :max_results)
2487
+ SENSITIVE = []
2335
2488
  include Aws::Structure
2336
2489
  end
2337
2490
 
@@ -2355,6 +2508,7 @@ module Aws::Organizations
2355
2508
  class ListAWSServiceAccessForOrganizationResponse < Struct.new(
2356
2509
  :enabled_service_principals,
2357
2510
  :next_token)
2511
+ SENSITIVE = []
2358
2512
  include Aws::Structure
2359
2513
  end
2360
2514
 
@@ -2399,6 +2553,7 @@ module Aws::Organizations
2399
2553
  :parent_id,
2400
2554
  :next_token,
2401
2555
  :max_results)
2556
+ SENSITIVE = []
2402
2557
  include Aws::Structure
2403
2558
  end
2404
2559
 
@@ -2419,6 +2574,7 @@ module Aws::Organizations
2419
2574
  class ListAccountsForParentResponse < Struct.new(
2420
2575
  :accounts,
2421
2576
  :next_token)
2577
+ SENSITIVE = []
2422
2578
  include Aws::Structure
2423
2579
  end
2424
2580
 
@@ -2456,6 +2612,7 @@ module Aws::Organizations
2456
2612
  class ListAccountsRequest < Struct.new(
2457
2613
  :next_token,
2458
2614
  :max_results)
2615
+ SENSITIVE = []
2459
2616
  include Aws::Structure
2460
2617
  end
2461
2618
 
@@ -2476,6 +2633,7 @@ module Aws::Organizations
2476
2633
  class ListAccountsResponse < Struct.new(
2477
2634
  :accounts,
2478
2635
  :next_token)
2636
+ SENSITIVE = []
2479
2637
  include Aws::Structure
2480
2638
  end
2481
2639
 
@@ -2542,6 +2700,7 @@ module Aws::Organizations
2542
2700
  :child_type,
2543
2701
  :next_token,
2544
2702
  :max_results)
2703
+ SENSITIVE = []
2545
2704
  include Aws::Structure
2546
2705
  end
2547
2706
 
@@ -2562,6 +2721,7 @@ module Aws::Organizations
2562
2721
  class ListChildrenResponse < Struct.new(
2563
2722
  :children,
2564
2723
  :next_token)
2724
+ SENSITIVE = []
2565
2725
  include Aws::Structure
2566
2726
  end
2567
2727
 
@@ -2607,6 +2767,7 @@ module Aws::Organizations
2607
2767
  :states,
2608
2768
  :next_token,
2609
2769
  :max_results)
2770
+ SENSITIVE = []
2610
2771
  include Aws::Structure
2611
2772
  end
2612
2773
 
@@ -2629,6 +2790,7 @@ module Aws::Organizations
2629
2790
  class ListCreateAccountStatusResponse < Struct.new(
2630
2791
  :create_account_statuses,
2631
2792
  :next_token)
2793
+ SENSITIVE = []
2632
2794
  include Aws::Structure
2633
2795
  end
2634
2796
 
@@ -2676,6 +2838,7 @@ module Aws::Organizations
2676
2838
  :service_principal,
2677
2839
  :next_token,
2678
2840
  :max_results)
2841
+ SENSITIVE = []
2679
2842
  include Aws::Structure
2680
2843
  end
2681
2844
 
@@ -2696,6 +2859,7 @@ module Aws::Organizations
2696
2859
  class ListDelegatedAdministratorsResponse < Struct.new(
2697
2860
  :delegated_administrators,
2698
2861
  :next_token)
2862
+ SENSITIVE = []
2699
2863
  include Aws::Structure
2700
2864
  end
2701
2865
 
@@ -2740,6 +2904,7 @@ module Aws::Organizations
2740
2904
  :account_id,
2741
2905
  :next_token,
2742
2906
  :max_results)
2907
+ SENSITIVE = []
2743
2908
  include Aws::Structure
2744
2909
  end
2745
2910
 
@@ -2760,6 +2925,7 @@ module Aws::Organizations
2760
2925
  class ListDelegatedServicesForAccountResponse < Struct.new(
2761
2926
  :delegated_services,
2762
2927
  :next_token)
2928
+ SENSITIVE = []
2763
2929
  include Aws::Structure
2764
2930
  end
2765
2931
 
@@ -2813,6 +2979,7 @@ module Aws::Organizations
2813
2979
  :filter,
2814
2980
  :next_token,
2815
2981
  :max_results)
2982
+ SENSITIVE = []
2816
2983
  include Aws::Structure
2817
2984
  end
2818
2985
 
@@ -2834,6 +3001,7 @@ module Aws::Organizations
2834
3001
  class ListHandshakesForAccountResponse < Struct.new(
2835
3002
  :handshakes,
2836
3003
  :next_token)
3004
+ SENSITIVE = []
2837
3005
  include Aws::Structure
2838
3006
  end
2839
3007
 
@@ -2887,6 +3055,7 @@ module Aws::Organizations
2887
3055
  :filter,
2888
3056
  :next_token,
2889
3057
  :max_results)
3058
+ SENSITIVE = []
2890
3059
  include Aws::Structure
2891
3060
  end
2892
3061
 
@@ -2908,6 +3077,7 @@ module Aws::Organizations
2908
3077
  class ListHandshakesForOrganizationResponse < Struct.new(
2909
3078
  :handshakes,
2910
3079
  :next_token)
3080
+ SENSITIVE = []
2911
3081
  include Aws::Structure
2912
3082
  end
2913
3083
 
@@ -2968,6 +3138,7 @@ module Aws::Organizations
2968
3138
  :parent_id,
2969
3139
  :next_token,
2970
3140
  :max_results)
3141
+ SENSITIVE = []
2971
3142
  include Aws::Structure
2972
3143
  end
2973
3144
 
@@ -2988,6 +3159,7 @@ module Aws::Organizations
2988
3159
  class ListOrganizationalUnitsForParentResponse < Struct.new(
2989
3160
  :organizational_units,
2990
3161
  :next_token)
3162
+ SENSITIVE = []
2991
3163
  include Aws::Structure
2992
3164
  end
2993
3165
 
@@ -3047,6 +3219,7 @@ module Aws::Organizations
3047
3219
  :child_id,
3048
3220
  :next_token,
3049
3221
  :max_results)
3222
+ SENSITIVE = []
3050
3223
  include Aws::Structure
3051
3224
  end
3052
3225
 
@@ -3067,6 +3240,7 @@ module Aws::Organizations
3067
3240
  class ListParentsResponse < Struct.new(
3068
3241
  :parents,
3069
3242
  :next_token)
3243
+ SENSITIVE = []
3070
3244
  include Aws::Structure
3071
3245
  end
3072
3246
 
@@ -3075,7 +3249,7 @@ module Aws::Organizations
3075
3249
  #
3076
3250
  # {
3077
3251
  # target_id: "PolicyTargetId", # required
3078
- # filter: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY
3252
+ # filter: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY
3079
3253
  # next_token: "NextToken",
3080
3254
  # max_results: 1,
3081
3255
  # }
@@ -3105,6 +3279,19 @@ module Aws::Organizations
3105
3279
  #
3106
3280
  # @!attribute [rw] filter
3107
3281
  # The type of policy that you want to include in the returned list.
3282
+ # You must specify one of the following values:
3283
+ #
3284
+ # * [BACKUP\_POLICY][1]
3285
+ #
3286
+ # * [SERVICE\_CONTROL\_POLICY][2]
3287
+ #
3288
+ # * [TAG\_POLICY][3]
3289
+ #
3290
+ #
3291
+ #
3292
+ # [1]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html
3293
+ # [2]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
3294
+ # [3]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
3108
3295
  # @return [String]
3109
3296
  #
3110
3297
  # @!attribute [rw] next_token
@@ -3135,6 +3322,7 @@ module Aws::Organizations
3135
3322
  :filter,
3136
3323
  :next_token,
3137
3324
  :max_results)
3325
+ SENSITIVE = []
3138
3326
  include Aws::Structure
3139
3327
  end
3140
3328
 
@@ -3155,6 +3343,7 @@ module Aws::Organizations
3155
3343
  class ListPoliciesForTargetResponse < Struct.new(
3156
3344
  :policies,
3157
3345
  :next_token)
3346
+ SENSITIVE = []
3158
3347
  include Aws::Structure
3159
3348
  end
3160
3349
 
@@ -3162,14 +3351,26 @@ module Aws::Organizations
3162
3351
  # data as a hash:
3163
3352
  #
3164
3353
  # {
3165
- # filter: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY
3354
+ # filter: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY
3166
3355
  # next_token: "NextToken",
3167
3356
  # max_results: 1,
3168
3357
  # }
3169
3358
  #
3170
3359
  # @!attribute [rw] filter
3171
3360
  # Specifies the type of policy that you want to include in the
3172
- # response.
3361
+ # response. You must specify one of the following values:
3362
+ #
3363
+ # * [BACKUP\_POLICY][1]
3364
+ #
3365
+ # * [SERVICE\_CONTROL\_POLICY][2]
3366
+ #
3367
+ # * [TAG\_POLICY][3]
3368
+ #
3369
+ #
3370
+ #
3371
+ # [1]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html
3372
+ # [2]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
3373
+ # [3]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
3173
3374
  # @return [String]
3174
3375
  #
3175
3376
  # @!attribute [rw] next_token
@@ -3199,6 +3400,7 @@ module Aws::Organizations
3199
3400
  :filter,
3200
3401
  :next_token,
3201
3402
  :max_results)
3403
+ SENSITIVE = []
3202
3404
  include Aws::Structure
3203
3405
  end
3204
3406
 
@@ -3221,6 +3423,7 @@ module Aws::Organizations
3221
3423
  class ListPoliciesResponse < Struct.new(
3222
3424
  :policies,
3223
3425
  :next_token)
3426
+ SENSITIVE = []
3224
3427
  include Aws::Structure
3225
3428
  end
3226
3429
 
@@ -3258,6 +3461,7 @@ module Aws::Organizations
3258
3461
  class ListRootsRequest < Struct.new(
3259
3462
  :next_token,
3260
3463
  :max_results)
3464
+ SENSITIVE = []
3261
3465
  include Aws::Structure
3262
3466
  end
3263
3467
 
@@ -3278,6 +3482,7 @@ module Aws::Organizations
3278
3482
  class ListRootsResponse < Struct.new(
3279
3483
  :roots,
3280
3484
  :next_token)
3485
+ SENSITIVE = []
3281
3486
  include Aws::Structure
3282
3487
  end
3283
3488
 
@@ -3306,6 +3511,7 @@ module Aws::Organizations
3306
3511
  class ListTagsForResourceRequest < Struct.new(
3307
3512
  :resource_id,
3308
3513
  :next_token)
3514
+ SENSITIVE = []
3309
3515
  include Aws::Structure
3310
3516
  end
3311
3517
 
@@ -3326,6 +3532,7 @@ module Aws::Organizations
3326
3532
  class ListTagsForResourceResponse < Struct.new(
3327
3533
  :tags,
3328
3534
  :next_token)
3535
+ SENSITIVE = []
3329
3536
  include Aws::Structure
3330
3537
  end
3331
3538
 
@@ -3378,6 +3585,7 @@ module Aws::Organizations
3378
3585
  :policy_id,
3379
3586
  :next_token,
3380
3587
  :max_results)
3588
+ SENSITIVE = []
3381
3589
  include Aws::Structure
3382
3590
  end
3383
3591
 
@@ -3399,6 +3607,7 @@ module Aws::Organizations
3399
3607
  class ListTargetsForPolicyResponse < Struct.new(
3400
3608
  :targets,
3401
3609
  :next_token)
3610
+ SENSITIVE = []
3402
3611
  include Aws::Structure
3403
3612
  end
3404
3613
 
@@ -3418,6 +3627,7 @@ module Aws::Organizations
3418
3627
  #
3419
3628
  class MalformedPolicyDocumentException < Struct.new(
3420
3629
  :message)
3630
+ SENSITIVE = []
3421
3631
  include Aws::Structure
3422
3632
  end
3423
3633
 
@@ -3432,6 +3642,7 @@ module Aws::Organizations
3432
3642
  #
3433
3643
  class MasterCannotLeaveOrganizationException < Struct.new(
3434
3644
  :message)
3645
+ SENSITIVE = []
3435
3646
  include Aws::Structure
3436
3647
  end
3437
3648
 
@@ -3503,6 +3714,7 @@ module Aws::Organizations
3503
3714
  :account_id,
3504
3715
  :source_parent_id,
3505
3716
  :destination_parent_id)
3717
+ SENSITIVE = []
3506
3718
  include Aws::Structure
3507
3719
  end
3508
3720
 
@@ -3600,6 +3812,7 @@ module Aws::Organizations
3600
3812
  :master_account_id,
3601
3813
  :master_account_email,
3602
3814
  :available_policy_types)
3815
+ SENSITIVE = [:master_account_email]
3603
3816
  include Aws::Structure
3604
3817
  end
3605
3818
 
@@ -3614,6 +3827,7 @@ module Aws::Organizations
3614
3827
  #
3615
3828
  class OrganizationNotEmptyException < Struct.new(
3616
3829
  :message)
3830
+ SENSITIVE = []
3617
3831
  include Aws::Structure
3618
3832
  end
3619
3833
 
@@ -3665,6 +3879,7 @@ module Aws::Organizations
3665
3879
  :id,
3666
3880
  :arn,
3667
3881
  :name)
3882
+ SENSITIVE = []
3668
3883
  include Aws::Structure
3669
3884
  end
3670
3885
 
@@ -3678,6 +3893,7 @@ module Aws::Organizations
3678
3893
  #
3679
3894
  class OrganizationalUnitNotEmptyException < Struct.new(
3680
3895
  :message)
3896
+ SENSITIVE = []
3681
3897
  include Aws::Structure
3682
3898
  end
3683
3899
 
@@ -3691,6 +3907,7 @@ module Aws::Organizations
3691
3907
  #
3692
3908
  class OrganizationalUnitNotFoundException < Struct.new(
3693
3909
  :message)
3910
+ SENSITIVE = []
3694
3911
  include Aws::Structure
3695
3912
  end
3696
3913
 
@@ -3726,6 +3943,7 @@ module Aws::Organizations
3726
3943
  class Parent < Struct.new(
3727
3944
  :id,
3728
3945
  :type)
3946
+ SENSITIVE = []
3729
3947
  include Aws::Structure
3730
3948
  end
3731
3949
 
@@ -3738,6 +3956,7 @@ module Aws::Organizations
3738
3956
  #
3739
3957
  class ParentNotFoundException < Struct.new(
3740
3958
  :message)
3959
+ SENSITIVE = []
3741
3960
  include Aws::Structure
3742
3961
  end
3743
3962
 
@@ -3758,6 +3977,7 @@ module Aws::Organizations
3758
3977
  class Policy < Struct.new(
3759
3978
  :policy_summary,
3760
3979
  :content)
3980
+ SENSITIVE = []
3761
3981
  include Aws::Structure
3762
3982
  end
3763
3983
 
@@ -3771,6 +3991,7 @@ module Aws::Organizations
3771
3991
  #
3772
3992
  class PolicyChangesInProgressException < Struct.new(
3773
3993
  :message)
3994
+ SENSITIVE = []
3774
3995
  include Aws::Structure
3775
3996
  end
3776
3997
 
@@ -3784,6 +4005,7 @@ module Aws::Organizations
3784
4005
  #
3785
4006
  class PolicyInUseException < Struct.new(
3786
4007
  :message)
4008
+ SENSITIVE = []
3787
4009
  include Aws::Structure
3788
4010
  end
3789
4011
 
@@ -3797,6 +4019,7 @@ module Aws::Organizations
3797
4019
  #
3798
4020
  class PolicyNotAttachedException < Struct.new(
3799
4021
  :message)
4022
+ SENSITIVE = []
3800
4023
  include Aws::Structure
3801
4024
  end
3802
4025
 
@@ -3809,6 +4032,7 @@ module Aws::Organizations
3809
4032
  #
3810
4033
  class PolicyNotFoundException < Struct.new(
3811
4034
  :message)
4035
+ SENSITIVE = []
3812
4036
  include Aws::Structure
3813
4037
  end
3814
4038
 
@@ -3872,6 +4096,7 @@ module Aws::Organizations
3872
4096
  :description,
3873
4097
  :type,
3874
4098
  :aws_managed)
4099
+ SENSITIVE = []
3875
4100
  include Aws::Structure
3876
4101
  end
3877
4102
 
@@ -3934,6 +4159,7 @@ module Aws::Organizations
3934
4159
  :arn,
3935
4160
  :name,
3936
4161
  :type)
4162
+ SENSITIVE = []
3937
4163
  include Aws::Structure
3938
4164
  end
3939
4165
 
@@ -3946,14 +4172,15 @@ module Aws::Organizations
3946
4172
  #
3947
4173
  class PolicyTypeAlreadyEnabledException < Struct.new(
3948
4174
  :message)
4175
+ SENSITIVE = []
3949
4176
  include Aws::Structure
3950
4177
  end
3951
4178
 
3952
4179
  # You can't use the specified policy type with the feature set
3953
4180
  # currently enabled for this organization. For example, you can enable
3954
4181
  # SCPs only after you enable all features in the organization. For more
3955
- # information, see [Enabling and Disabling a Policy Type on a Root][1]
3956
- # in the *AWS Organizations User Guide.*
4182
+ # information, see [Managing AWS Organizations Policies][1]in the *AWS
4183
+ # Organizations User Guide.*
3957
4184
  #
3958
4185
  #
3959
4186
  #
@@ -3966,6 +4193,7 @@ module Aws::Organizations
3966
4193
  #
3967
4194
  class PolicyTypeNotAvailableForOrganizationException < Struct.new(
3968
4195
  :message)
4196
+ SENSITIVE = []
3969
4197
  include Aws::Structure
3970
4198
  end
3971
4199
 
@@ -3986,6 +4214,7 @@ module Aws::Organizations
3986
4214
  #
3987
4215
  class PolicyTypeNotEnabledException < Struct.new(
3988
4216
  :message)
4217
+ SENSITIVE = []
3989
4218
  include Aws::Structure
3990
4219
  end
3991
4220
 
@@ -4008,6 +4237,7 @@ module Aws::Organizations
4008
4237
  class PolicyTypeSummary < Struct.new(
4009
4238
  :type,
4010
4239
  :status)
4240
+ SENSITIVE = []
4011
4241
  include Aws::Structure
4012
4242
  end
4013
4243
 
@@ -4034,6 +4264,7 @@ module Aws::Organizations
4034
4264
  class RegisterDelegatedAdministratorRequest < Struct.new(
4035
4265
  :account_id,
4036
4266
  :service_principal)
4267
+ SENSITIVE = []
4037
4268
  include Aws::Structure
4038
4269
  end
4039
4270
 
@@ -4060,6 +4291,7 @@ module Aws::Organizations
4060
4291
  #
4061
4292
  class RemoveAccountFromOrganizationRequest < Struct.new(
4062
4293
  :account_id)
4294
+ SENSITIVE = []
4063
4295
  include Aws::Structure
4064
4296
  end
4065
4297
 
@@ -4123,6 +4355,7 @@ module Aws::Organizations
4123
4355
  :arn,
4124
4356
  :name,
4125
4357
  :policy_types)
4358
+ SENSITIVE = []
4126
4359
  include Aws::Structure
4127
4360
  end
4128
4361
 
@@ -4135,6 +4368,7 @@ module Aws::Organizations
4135
4368
  #
4136
4369
  class RootNotFoundException < Struct.new(
4137
4370
  :message)
4371
+ SENSITIVE = []
4138
4372
  include Aws::Structure
4139
4373
  end
4140
4374
 
@@ -4148,6 +4382,7 @@ module Aws::Organizations
4148
4382
  #
4149
4383
  class ServiceException < Struct.new(
4150
4384
  :message)
4385
+ SENSITIVE = []
4151
4386
  include Aws::Structure
4152
4387
  end
4153
4388
 
@@ -4161,6 +4396,7 @@ module Aws::Organizations
4161
4396
  #
4162
4397
  class SourceParentNotFoundException < Struct.new(
4163
4398
  :message)
4399
+ SENSITIVE = []
4164
4400
  include Aws::Structure
4165
4401
  end
4166
4402
 
@@ -4190,6 +4426,7 @@ module Aws::Organizations
4190
4426
  class Tag < Struct.new(
4191
4427
  :key,
4192
4428
  :value)
4429
+ SENSITIVE = []
4193
4430
  include Aws::Structure
4194
4431
  end
4195
4432
 
@@ -4211,9 +4448,9 @@ module Aws::Organizations
4211
4448
  # @return [String]
4212
4449
  #
4213
4450
  # @!attribute [rw] tags
4214
- # The tag to add to the specified resource. Specifying the tag key is
4215
- # required. You can set the value of a tag to an empty string, but you
4216
- # can't set the value of a tag to null.
4451
+ # The tag to add to the specified resource. You must specify both a
4452
+ # tag key and value. You can set the value of a tag to an empty
4453
+ # string, but you can't set it to null.
4217
4454
  # @return [Array<Types::Tag>]
4218
4455
  #
4219
4456
  # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/TagResourceRequest AWS API Documentation
@@ -4221,6 +4458,7 @@ module Aws::Organizations
4221
4458
  class TagResourceRequest < Struct.new(
4222
4459
  :resource_id,
4223
4460
  :tags)
4461
+ SENSITIVE = []
4224
4462
  include Aws::Structure
4225
4463
  end
4226
4464
 
@@ -4234,15 +4472,17 @@ module Aws::Organizations
4234
4472
  #
4235
4473
  class TargetNotFoundException < Struct.new(
4236
4474
  :message)
4475
+ SENSITIVE = []
4237
4476
  include Aws::Structure
4238
4477
  end
4239
4478
 
4240
4479
  # You have sent too many requests in too short a period of time. The
4241
- # limit helps protect against denial-of-service attacks. Try again
4480
+ # quota helps protect against denial-of-service attacks. Try again
4242
4481
  # later.
4243
4482
  #
4244
- # For information on limits that affect AWS Organizations, see [Limits
4245
- # of AWS Organizations][1] in the *AWS Organizations User Guide.*
4483
+ # For information about quotas that affect AWS Organizations, see
4484
+ # [Quotas for AWS Organizations][1]in the *AWS Organizations User
4485
+ # Guide.*
4246
4486
  #
4247
4487
  #
4248
4488
  #
@@ -4259,10 +4499,11 @@ module Aws::Organizations
4259
4499
  class TooManyRequestsException < Struct.new(
4260
4500
  :type,
4261
4501
  :message)
4502
+ SENSITIVE = []
4262
4503
  include Aws::Structure
4263
4504
  end
4264
4505
 
4265
- # This action isn't available in the current Region.
4506
+ # This action isn't available in the current AWS Region.
4266
4507
  #
4267
4508
  # @!attribute [rw] message
4268
4509
  # @return [String]
@@ -4271,6 +4512,7 @@ module Aws::Organizations
4271
4512
  #
4272
4513
  class UnsupportedAPIEndpointException < Struct.new(
4273
4514
  :message)
4515
+ SENSITIVE = []
4274
4516
  include Aws::Structure
4275
4517
  end
4276
4518
 
@@ -4295,6 +4537,7 @@ module Aws::Organizations
4295
4537
  class UntagResourceRequest < Struct.new(
4296
4538
  :resource_id,
4297
4539
  :tag_keys)
4540
+ SENSITIVE = []
4298
4541
  include Aws::Structure
4299
4542
  end
4300
4543
 
@@ -4337,6 +4580,7 @@ module Aws::Organizations
4337
4580
  class UpdateOrganizationalUnitRequest < Struct.new(
4338
4581
  :organizational_unit_id,
4339
4582
  :name)
4583
+ SENSITIVE = []
4340
4584
  include Aws::Structure
4341
4585
  end
4342
4586
 
@@ -4349,6 +4593,7 @@ module Aws::Organizations
4349
4593
  #
4350
4594
  class UpdateOrganizationalUnitResponse < Struct.new(
4351
4595
  :organizational_unit)
4596
+ SENSITIVE = []
4352
4597
  include Aws::Structure
4353
4598
  end
4354
4599
 
@@ -4407,6 +4652,7 @@ module Aws::Organizations
4407
4652
  :name,
4408
4653
  :description,
4409
4654
  :content)
4655
+ SENSITIVE = []
4410
4656
  include Aws::Structure
4411
4657
  end
4412
4658
 
@@ -4419,6 +4665,7 @@ module Aws::Organizations
4419
4665
  #
4420
4666
  class UpdatePolicyResponse < Struct.new(
4421
4667
  :policy)
4668
+ SENSITIVE = []
4422
4669
  include Aws::Structure
4423
4670
  end
4424
4671