aws-sdk-organizations 1.40.0 → 1.45.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.
569
+ #
517
570
  #
518
571
  #
519
- # [1]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info
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, AISERVICES_OPT_OUT_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,23 @@ 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
+ # * [AISERVICES\_OPT\_OUT\_POLICY][1]
989
1046
  #
990
- # </note>
1047
+ # * [BACKUP\_POLICY][2]
1048
+ #
1049
+ # * [SERVICE\_CONTROL\_POLICY][3]
1050
+ #
1051
+ # * [TAG\_POLICY][4]
1052
+ #
1053
+ #
1054
+ #
1055
+ # [1]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
1056
+ # [2]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html
1057
+ # [3]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
1058
+ # [4]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
991
1059
  # @return [String]
992
1060
  #
993
1061
  # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/CreatePolicyRequest AWS API Documentation
@@ -997,6 +1065,7 @@ module Aws::Organizations
997
1065
  :description,
998
1066
  :name,
999
1067
  :type)
1068
+ SENSITIVE = []
1000
1069
  include Aws::Structure
1001
1070
  end
1002
1071
 
@@ -1008,6 +1077,7 @@ module Aws::Organizations
1008
1077
  #
1009
1078
  class CreatePolicyResponse < Struct.new(
1010
1079
  :policy)
1080
+ SENSITIVE = []
1011
1081
  include Aws::Structure
1012
1082
  end
1013
1083
 
@@ -1035,6 +1105,7 @@ module Aws::Organizations
1035
1105
  #
1036
1106
  class DeclineHandshakeRequest < Struct.new(
1037
1107
  :handshake_id)
1108
+ SENSITIVE = []
1038
1109
  include Aws::Structure
1039
1110
  end
1040
1111
 
@@ -1047,6 +1118,7 @@ module Aws::Organizations
1047
1118
  #
1048
1119
  class DeclineHandshakeResponse < Struct.new(
1049
1120
  :handshake)
1121
+ SENSITIVE = []
1050
1122
  include Aws::Structure
1051
1123
  end
1052
1124
 
@@ -1101,6 +1173,7 @@ module Aws::Organizations
1101
1173
  :joined_method,
1102
1174
  :joined_timestamp,
1103
1175
  :delegation_enabled_date)
1176
+ SENSITIVE = [:email, :name]
1104
1177
  include Aws::Structure
1105
1178
  end
1106
1179
 
@@ -1123,6 +1196,7 @@ module Aws::Organizations
1123
1196
  class DelegatedService < Struct.new(
1124
1197
  :service_principal,
1125
1198
  :delegation_enabled_date)
1199
+ SENSITIVE = []
1126
1200
  include Aws::Structure
1127
1201
  end
1128
1202
 
@@ -1153,6 +1227,7 @@ module Aws::Organizations
1153
1227
  #
1154
1228
  class DeleteOrganizationalUnitRequest < Struct.new(
1155
1229
  :organizational_unit_id)
1230
+ SENSITIVE = []
1156
1231
  include Aws::Structure
1157
1232
  end
1158
1233
 
@@ -1181,6 +1256,7 @@ module Aws::Organizations
1181
1256
  #
1182
1257
  class DeletePolicyRequest < Struct.new(
1183
1258
  :policy_id)
1259
+ SENSITIVE = []
1184
1260
  include Aws::Structure
1185
1261
  end
1186
1262
 
@@ -1213,6 +1289,7 @@ module Aws::Organizations
1213
1289
  class DeregisterDelegatedAdministratorRequest < Struct.new(
1214
1290
  :account_id,
1215
1291
  :service_principal)
1292
+ SENSITIVE = []
1216
1293
  include Aws::Structure
1217
1294
  end
1218
1295
 
@@ -1240,6 +1317,7 @@ module Aws::Organizations
1240
1317
  #
1241
1318
  class DescribeAccountRequest < Struct.new(
1242
1319
  :account_id)
1320
+ SENSITIVE = []
1243
1321
  include Aws::Structure
1244
1322
  end
1245
1323
 
@@ -1251,6 +1329,7 @@ module Aws::Organizations
1251
1329
  #
1252
1330
  class DescribeAccountResponse < Struct.new(
1253
1331
  :account)
1332
+ SENSITIVE = []
1254
1333
  include Aws::Structure
1255
1334
  end
1256
1335
 
@@ -1279,6 +1358,7 @@ module Aws::Organizations
1279
1358
  #
1280
1359
  class DescribeCreateAccountStatusRequest < Struct.new(
1281
1360
  :create_account_request_id)
1361
+ SENSITIVE = []
1282
1362
  include Aws::Structure
1283
1363
  end
1284
1364
 
@@ -1291,6 +1371,7 @@ module Aws::Organizations
1291
1371
  #
1292
1372
  class DescribeCreateAccountStatusResponse < Struct.new(
1293
1373
  :create_account_status)
1374
+ SENSITIVE = []
1294
1375
  include Aws::Structure
1295
1376
  end
1296
1377
 
@@ -1298,18 +1379,31 @@ module Aws::Organizations
1298
1379
  # data as a hash:
1299
1380
  #
1300
1381
  # {
1301
- # policy_type: "TAG_POLICY", # required, accepts TAG_POLICY
1382
+ # policy_type: "TAG_POLICY", # required, accepts TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY
1302
1383
  # target_id: "PolicyTargetId",
1303
1384
  # }
1304
1385
  #
1305
1386
  # @!attribute [rw] policy_type
1306
- # The type of policy that you want information about.
1387
+ # The type of policy that you want information about. You can specify
1388
+ # one of the following values:
1389
+ #
1390
+ # * [AISERVICES\_OPT\_OUT\_POLICY][1]
1391
+ #
1392
+ # * [BACKUP\_POLICY][2]
1393
+ #
1394
+ # * [TAG\_POLICY][3]
1395
+ #
1396
+ #
1397
+ #
1398
+ # [1]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
1399
+ # [2]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html
1400
+ # [3]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
1307
1401
  # @return [String]
1308
1402
  #
1309
1403
  # @!attribute [rw] target_id
1310
1404
  # When you're signed in as the master account, specify the ID of the
1311
1405
  # account that you want details about. Specifying an organization root
1312
- # or OU as the target is not supported.
1406
+ # or organizational unit (OU) as the target is not supported.
1313
1407
  # @return [String]
1314
1408
  #
1315
1409
  # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DescribeEffectivePolicyRequest AWS API Documentation
@@ -1317,6 +1411,7 @@ module Aws::Organizations
1317
1411
  class DescribeEffectivePolicyRequest < Struct.new(
1318
1412
  :policy_type,
1319
1413
  :target_id)
1414
+ SENSITIVE = []
1320
1415
  include Aws::Structure
1321
1416
  end
1322
1417
 
@@ -1328,6 +1423,7 @@ module Aws::Organizations
1328
1423
  #
1329
1424
  class DescribeEffectivePolicyResponse < Struct.new(
1330
1425
  :effective_policy)
1426
+ SENSITIVE = []
1331
1427
  include Aws::Structure
1332
1428
  end
1333
1429
 
@@ -1356,6 +1452,7 @@ module Aws::Organizations
1356
1452
  #
1357
1453
  class DescribeHandshakeRequest < Struct.new(
1358
1454
  :handshake_id)
1455
+ SENSITIVE = []
1359
1456
  include Aws::Structure
1360
1457
  end
1361
1458
 
@@ -1367,17 +1464,25 @@ module Aws::Organizations
1367
1464
  #
1368
1465
  class DescribeHandshakeResponse < Struct.new(
1369
1466
  :handshake)
1467
+ SENSITIVE = []
1370
1468
  include Aws::Structure
1371
1469
  end
1372
1470
 
1373
1471
  # @!attribute [rw] organization
1374
1472
  # A structure that contains information about the organization.
1473
+ #
1474
+ # The `AvailablePolicyTypes` part of the response is deprecated, and
1475
+ # you shouldn't use it in your apps. It doesn't include any policy
1476
+ # type supported by Organizations other than SCPs. To determine which
1477
+ # policy types are enabled in your organization, use the ` ListRoots `
1478
+ # operation.
1375
1479
  # @return [Types::Organization]
1376
1480
  #
1377
1481
  # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DescribeOrganizationResponse AWS API Documentation
1378
1482
  #
1379
1483
  class DescribeOrganizationResponse < Struct.new(
1380
1484
  :organization)
1485
+ SENSITIVE = []
1381
1486
  include Aws::Structure
1382
1487
  end
1383
1488
 
@@ -1408,6 +1513,7 @@ module Aws::Organizations
1408
1513
  #
1409
1514
  class DescribeOrganizationalUnitRequest < Struct.new(
1410
1515
  :organizational_unit_id)
1516
+ SENSITIVE = []
1411
1517
  include Aws::Structure
1412
1518
  end
1413
1519
 
@@ -1419,6 +1525,7 @@ module Aws::Organizations
1419
1525
  #
1420
1526
  class DescribeOrganizationalUnitResponse < Struct.new(
1421
1527
  :organizational_unit)
1528
+ SENSITIVE = []
1422
1529
  include Aws::Structure
1423
1530
  end
1424
1531
 
@@ -1447,6 +1554,7 @@ module Aws::Organizations
1447
1554
  #
1448
1555
  class DescribePolicyRequest < Struct.new(
1449
1556
  :policy_id)
1557
+ SENSITIVE = []
1450
1558
  include Aws::Structure
1451
1559
  end
1452
1560
 
@@ -1458,6 +1566,7 @@ module Aws::Organizations
1458
1566
  #
1459
1567
  class DescribePolicyResponse < Struct.new(
1460
1568
  :policy)
1569
+ SENSITIVE = []
1461
1570
  include Aws::Structure
1462
1571
  end
1463
1572
 
@@ -1471,6 +1580,7 @@ module Aws::Organizations
1471
1580
  #
1472
1581
  class DestinationParentNotFoundException < Struct.new(
1473
1582
  :message)
1583
+ SENSITIVE = []
1474
1584
  include Aws::Structure
1475
1585
  end
1476
1586
 
@@ -1525,6 +1635,7 @@ module Aws::Organizations
1525
1635
  class DetachPolicyRequest < Struct.new(
1526
1636
  :policy_id,
1527
1637
  :target_id)
1638
+ SENSITIVE = []
1528
1639
  include Aws::Structure
1529
1640
  end
1530
1641
 
@@ -1545,6 +1656,7 @@ module Aws::Organizations
1545
1656
  #
1546
1657
  class DisableAWSServiceAccessRequest < Struct.new(
1547
1658
  :service_principal)
1659
+ SENSITIVE = []
1548
1660
  include Aws::Structure
1549
1661
  end
1550
1662
 
@@ -1553,7 +1665,7 @@ module Aws::Organizations
1553
1665
  #
1554
1666
  # {
1555
1667
  # root_id: "RootId", # required
1556
- # policy_type: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY
1668
+ # policy_type: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY
1557
1669
  # }
1558
1670
  #
1559
1671
  # @!attribute [rw] root_id
@@ -1569,7 +1681,23 @@ module Aws::Organizations
1569
1681
  # @return [String]
1570
1682
  #
1571
1683
  # @!attribute [rw] policy_type
1572
- # The policy type that you want to disable in this root.
1684
+ # The policy type that you want to disable in this root. You can
1685
+ # specify one of the following values:
1686
+ #
1687
+ # * [AISERVICES\_OPT\_OUT\_POLICY][1]
1688
+ #
1689
+ # * [BACKUP\_POLICY][2]
1690
+ #
1691
+ # * [SERVICE\_CONTROL\_POLICY][3]
1692
+ #
1693
+ # * [TAG\_POLICY][4]
1694
+ #
1695
+ #
1696
+ #
1697
+ # [1]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
1698
+ # [2]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html
1699
+ # [3]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
1700
+ # [4]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
1573
1701
  # @return [String]
1574
1702
  #
1575
1703
  # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DisablePolicyTypeRequest AWS API Documentation
@@ -1577,6 +1705,7 @@ module Aws::Organizations
1577
1705
  class DisablePolicyTypeRequest < Struct.new(
1578
1706
  :root_id,
1579
1707
  :policy_type)
1708
+ SENSITIVE = []
1580
1709
  include Aws::Structure
1581
1710
  end
1582
1711
 
@@ -1589,6 +1718,7 @@ module Aws::Organizations
1589
1718
  #
1590
1719
  class DisablePolicyTypeResponse < Struct.new(
1591
1720
  :root)
1721
+ SENSITIVE = []
1592
1722
  include Aws::Structure
1593
1723
  end
1594
1724
 
@@ -1601,6 +1731,7 @@ module Aws::Organizations
1601
1731
  #
1602
1732
  class DuplicateAccountException < Struct.new(
1603
1733
  :message)
1734
+ SENSITIVE = []
1604
1735
  include Aws::Structure
1605
1736
  end
1606
1737
 
@@ -1618,6 +1749,7 @@ module Aws::Organizations
1618
1749
  #
1619
1750
  class DuplicateHandshakeException < Struct.new(
1620
1751
  :message)
1752
+ SENSITIVE = []
1621
1753
  include Aws::Structure
1622
1754
  end
1623
1755
 
@@ -1630,6 +1762,7 @@ module Aws::Organizations
1630
1762
  #
1631
1763
  class DuplicateOrganizationalUnitException < Struct.new(
1632
1764
  :message)
1765
+ SENSITIVE = []
1633
1766
  include Aws::Structure
1634
1767
  end
1635
1768
 
@@ -1642,6 +1775,7 @@ module Aws::Organizations
1642
1775
  #
1643
1776
  class DuplicatePolicyAttachmentException < Struct.new(
1644
1777
  :message)
1778
+ SENSITIVE = []
1645
1779
  include Aws::Structure
1646
1780
  end
1647
1781
 
@@ -1654,6 +1788,7 @@ module Aws::Organizations
1654
1788
  #
1655
1789
  class DuplicatePolicyException < Struct.new(
1656
1790
  :message)
1791
+ SENSITIVE = []
1657
1792
  include Aws::Structure
1658
1793
  end
1659
1794
 
@@ -1684,6 +1819,7 @@ module Aws::Organizations
1684
1819
  :last_updated_timestamp,
1685
1820
  :target_id,
1686
1821
  :policy_type)
1822
+ SENSITIVE = []
1687
1823
  include Aws::Structure
1688
1824
  end
1689
1825
 
@@ -1700,6 +1836,7 @@ module Aws::Organizations
1700
1836
  #
1701
1837
  class EffectivePolicyNotFoundException < Struct.new(
1702
1838
  :message)
1839
+ SENSITIVE = []
1703
1840
  include Aws::Structure
1704
1841
  end
1705
1842
 
@@ -1720,6 +1857,7 @@ module Aws::Organizations
1720
1857
  #
1721
1858
  class EnableAWSServiceAccessRequest < Struct.new(
1722
1859
  :service_principal)
1860
+ SENSITIVE = []
1723
1861
  include Aws::Structure
1724
1862
  end
1725
1863
 
@@ -1738,6 +1876,7 @@ module Aws::Organizations
1738
1876
  #
1739
1877
  class EnableAllFeaturesResponse < Struct.new(
1740
1878
  :handshake)
1879
+ SENSITIVE = []
1741
1880
  include Aws::Structure
1742
1881
  end
1743
1882
 
@@ -1746,7 +1885,7 @@ module Aws::Organizations
1746
1885
  #
1747
1886
  # {
1748
1887
  # root_id: "RootId", # required
1749
- # policy_type: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY
1888
+ # policy_type: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY
1750
1889
  # }
1751
1890
  #
1752
1891
  # @!attribute [rw] root_id
@@ -1762,7 +1901,23 @@ module Aws::Organizations
1762
1901
  # @return [String]
1763
1902
  #
1764
1903
  # @!attribute [rw] policy_type
1765
- # The policy type that you want to enable.
1904
+ # The policy type that you want to enable. You can specify one of the
1905
+ # following values:
1906
+ #
1907
+ # * [AISERVICES\_OPT\_OUT\_POLICY][1]
1908
+ #
1909
+ # * [BACKUP\_POLICY][2]
1910
+ #
1911
+ # * [SERVICE\_CONTROL\_POLICY][3]
1912
+ #
1913
+ # * [TAG\_POLICY][4]
1914
+ #
1915
+ #
1916
+ #
1917
+ # [1]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
1918
+ # [2]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html
1919
+ # [3]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
1920
+ # [4]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
1766
1921
  # @return [String]
1767
1922
  #
1768
1923
  # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/EnablePolicyTypeRequest AWS API Documentation
@@ -1770,6 +1925,7 @@ module Aws::Organizations
1770
1925
  class EnablePolicyTypeRequest < Struct.new(
1771
1926
  :root_id,
1772
1927
  :policy_type)
1928
+ SENSITIVE = []
1773
1929
  include Aws::Structure
1774
1930
  end
1775
1931
 
@@ -1782,6 +1938,7 @@ module Aws::Organizations
1782
1938
  #
1783
1939
  class EnablePolicyTypeResponse < Struct.new(
1784
1940
  :root)
1941
+ SENSITIVE = []
1785
1942
  include Aws::Structure
1786
1943
  end
1787
1944
 
@@ -1804,6 +1961,7 @@ module Aws::Organizations
1804
1961
  class EnabledServicePrincipal < Struct.new(
1805
1962
  :service_principal,
1806
1963
  :date_enabled)
1964
+ SENSITIVE = []
1807
1965
  include Aws::Structure
1808
1966
  end
1809
1967
 
@@ -1823,6 +1981,7 @@ module Aws::Organizations
1823
1981
  #
1824
1982
  class FinalizingOrganizationException < Struct.new(
1825
1983
  :message)
1984
+ SENSITIVE = []
1826
1985
  include Aws::Structure
1827
1986
  end
1828
1987
 
@@ -1942,6 +2101,7 @@ module Aws::Organizations
1942
2101
  :expiration_timestamp,
1943
2102
  :action,
1944
2103
  :resources)
2104
+ SENSITIVE = []
1945
2105
  include Aws::Structure
1946
2106
  end
1947
2107
 
@@ -1955,6 +2115,7 @@ module Aws::Organizations
1955
2115
  #
1956
2116
  class HandshakeAlreadyInStateException < Struct.new(
1957
2117
  :message)
2118
+ SENSITIVE = []
1958
2119
  include Aws::Structure
1959
2120
  end
1960
2121
 
@@ -2017,6 +2178,7 @@ module Aws::Organizations
2017
2178
  class HandshakeConstraintViolationException < Struct.new(
2018
2179
  :message,
2019
2180
  :reason)
2181
+ SENSITIVE = []
2020
2182
  include Aws::Structure
2021
2183
  end
2022
2184
 
@@ -2058,6 +2220,7 @@ module Aws::Organizations
2058
2220
  class HandshakeFilter < Struct.new(
2059
2221
  :action_type,
2060
2222
  :parent_handshake_id)
2223
+ SENSITIVE = []
2061
2224
  include Aws::Structure
2062
2225
  end
2063
2226
 
@@ -2070,6 +2233,7 @@ module Aws::Organizations
2070
2233
  #
2071
2234
  class HandshakeNotFoundException < Struct.new(
2072
2235
  :message)
2236
+ SENSITIVE = []
2073
2237
  include Aws::Structure
2074
2238
  end
2075
2239
 
@@ -2103,6 +2267,7 @@ module Aws::Organizations
2103
2267
  class HandshakeParty < Struct.new(
2104
2268
  :id,
2105
2269
  :type)
2270
+ SENSITIVE = [:id]
2106
2271
  include Aws::Structure
2107
2272
  end
2108
2273
 
@@ -2146,6 +2311,7 @@ module Aws::Organizations
2146
2311
  :value,
2147
2312
  :type,
2148
2313
  :resources)
2314
+ SENSITIVE = [:value]
2149
2315
  include Aws::Structure
2150
2316
  end
2151
2317
 
@@ -2160,6 +2326,7 @@ module Aws::Organizations
2160
2326
  #
2161
2327
  class InvalidHandshakeTransitionException < Struct.new(
2162
2328
  :message)
2329
+ SENSITIVE = []
2163
2330
  include Aws::Structure
2164
2331
  end
2165
2332
 
@@ -2168,7 +2335,7 @@ module Aws::Organizations
2168
2335
  # reason that contains additional information about the violated limit:
2169
2336
  #
2170
2337
  # <note markdown="1"> Some of the reasons in the following list might not be applicable to
2171
- # this specific API or operation:
2338
+ # this specific API or operation.
2172
2339
  #
2173
2340
  # </note>
2174
2341
  #
@@ -2240,6 +2407,7 @@ module Aws::Organizations
2240
2407
  class InvalidInputException < Struct.new(
2241
2408
  :message,
2242
2409
  :reason)
2410
+ SENSITIVE = []
2243
2411
  include Aws::Structure
2244
2412
  end
2245
2413
 
@@ -2283,6 +2451,7 @@ module Aws::Organizations
2283
2451
  class InviteAccountToOrganizationRequest < Struct.new(
2284
2452
  :target,
2285
2453
  :notes)
2454
+ SENSITIVE = [:notes]
2286
2455
  include Aws::Structure
2287
2456
  end
2288
2457
 
@@ -2295,6 +2464,7 @@ module Aws::Organizations
2295
2464
  #
2296
2465
  class InviteAccountToOrganizationResponse < Struct.new(
2297
2466
  :handshake)
2467
+ SENSITIVE = []
2298
2468
  include Aws::Structure
2299
2469
  end
2300
2470
 
@@ -2332,6 +2502,7 @@ module Aws::Organizations
2332
2502
  class ListAWSServiceAccessForOrganizationRequest < Struct.new(
2333
2503
  :next_token,
2334
2504
  :max_results)
2505
+ SENSITIVE = []
2335
2506
  include Aws::Structure
2336
2507
  end
2337
2508
 
@@ -2355,6 +2526,7 @@ module Aws::Organizations
2355
2526
  class ListAWSServiceAccessForOrganizationResponse < Struct.new(
2356
2527
  :enabled_service_principals,
2357
2528
  :next_token)
2529
+ SENSITIVE = []
2358
2530
  include Aws::Structure
2359
2531
  end
2360
2532
 
@@ -2399,6 +2571,7 @@ module Aws::Organizations
2399
2571
  :parent_id,
2400
2572
  :next_token,
2401
2573
  :max_results)
2574
+ SENSITIVE = []
2402
2575
  include Aws::Structure
2403
2576
  end
2404
2577
 
@@ -2419,6 +2592,7 @@ module Aws::Organizations
2419
2592
  class ListAccountsForParentResponse < Struct.new(
2420
2593
  :accounts,
2421
2594
  :next_token)
2595
+ SENSITIVE = []
2422
2596
  include Aws::Structure
2423
2597
  end
2424
2598
 
@@ -2456,6 +2630,7 @@ module Aws::Organizations
2456
2630
  class ListAccountsRequest < Struct.new(
2457
2631
  :next_token,
2458
2632
  :max_results)
2633
+ SENSITIVE = []
2459
2634
  include Aws::Structure
2460
2635
  end
2461
2636
 
@@ -2476,6 +2651,7 @@ module Aws::Organizations
2476
2651
  class ListAccountsResponse < Struct.new(
2477
2652
  :accounts,
2478
2653
  :next_token)
2654
+ SENSITIVE = []
2479
2655
  include Aws::Structure
2480
2656
  end
2481
2657
 
@@ -2542,6 +2718,7 @@ module Aws::Organizations
2542
2718
  :child_type,
2543
2719
  :next_token,
2544
2720
  :max_results)
2721
+ SENSITIVE = []
2545
2722
  include Aws::Structure
2546
2723
  end
2547
2724
 
@@ -2562,6 +2739,7 @@ module Aws::Organizations
2562
2739
  class ListChildrenResponse < Struct.new(
2563
2740
  :children,
2564
2741
  :next_token)
2742
+ SENSITIVE = []
2565
2743
  include Aws::Structure
2566
2744
  end
2567
2745
 
@@ -2607,6 +2785,7 @@ module Aws::Organizations
2607
2785
  :states,
2608
2786
  :next_token,
2609
2787
  :max_results)
2788
+ SENSITIVE = []
2610
2789
  include Aws::Structure
2611
2790
  end
2612
2791
 
@@ -2629,6 +2808,7 @@ module Aws::Organizations
2629
2808
  class ListCreateAccountStatusResponse < Struct.new(
2630
2809
  :create_account_statuses,
2631
2810
  :next_token)
2811
+ SENSITIVE = []
2632
2812
  include Aws::Structure
2633
2813
  end
2634
2814
 
@@ -2676,6 +2856,7 @@ module Aws::Organizations
2676
2856
  :service_principal,
2677
2857
  :next_token,
2678
2858
  :max_results)
2859
+ SENSITIVE = []
2679
2860
  include Aws::Structure
2680
2861
  end
2681
2862
 
@@ -2696,6 +2877,7 @@ module Aws::Organizations
2696
2877
  class ListDelegatedAdministratorsResponse < Struct.new(
2697
2878
  :delegated_administrators,
2698
2879
  :next_token)
2880
+ SENSITIVE = []
2699
2881
  include Aws::Structure
2700
2882
  end
2701
2883
 
@@ -2740,6 +2922,7 @@ module Aws::Organizations
2740
2922
  :account_id,
2741
2923
  :next_token,
2742
2924
  :max_results)
2925
+ SENSITIVE = []
2743
2926
  include Aws::Structure
2744
2927
  end
2745
2928
 
@@ -2760,6 +2943,7 @@ module Aws::Organizations
2760
2943
  class ListDelegatedServicesForAccountResponse < Struct.new(
2761
2944
  :delegated_services,
2762
2945
  :next_token)
2946
+ SENSITIVE = []
2763
2947
  include Aws::Structure
2764
2948
  end
2765
2949
 
@@ -2813,6 +2997,7 @@ module Aws::Organizations
2813
2997
  :filter,
2814
2998
  :next_token,
2815
2999
  :max_results)
3000
+ SENSITIVE = []
2816
3001
  include Aws::Structure
2817
3002
  end
2818
3003
 
@@ -2834,6 +3019,7 @@ module Aws::Organizations
2834
3019
  class ListHandshakesForAccountResponse < Struct.new(
2835
3020
  :handshakes,
2836
3021
  :next_token)
3022
+ SENSITIVE = []
2837
3023
  include Aws::Structure
2838
3024
  end
2839
3025
 
@@ -2887,6 +3073,7 @@ module Aws::Organizations
2887
3073
  :filter,
2888
3074
  :next_token,
2889
3075
  :max_results)
3076
+ SENSITIVE = []
2890
3077
  include Aws::Structure
2891
3078
  end
2892
3079
 
@@ -2908,6 +3095,7 @@ module Aws::Organizations
2908
3095
  class ListHandshakesForOrganizationResponse < Struct.new(
2909
3096
  :handshakes,
2910
3097
  :next_token)
3098
+ SENSITIVE = []
2911
3099
  include Aws::Structure
2912
3100
  end
2913
3101
 
@@ -2968,6 +3156,7 @@ module Aws::Organizations
2968
3156
  :parent_id,
2969
3157
  :next_token,
2970
3158
  :max_results)
3159
+ SENSITIVE = []
2971
3160
  include Aws::Structure
2972
3161
  end
2973
3162
 
@@ -2988,6 +3177,7 @@ module Aws::Organizations
2988
3177
  class ListOrganizationalUnitsForParentResponse < Struct.new(
2989
3178
  :organizational_units,
2990
3179
  :next_token)
3180
+ SENSITIVE = []
2991
3181
  include Aws::Structure
2992
3182
  end
2993
3183
 
@@ -3047,6 +3237,7 @@ module Aws::Organizations
3047
3237
  :child_id,
3048
3238
  :next_token,
3049
3239
  :max_results)
3240
+ SENSITIVE = []
3050
3241
  include Aws::Structure
3051
3242
  end
3052
3243
 
@@ -3067,6 +3258,7 @@ module Aws::Organizations
3067
3258
  class ListParentsResponse < Struct.new(
3068
3259
  :parents,
3069
3260
  :next_token)
3261
+ SENSITIVE = []
3070
3262
  include Aws::Structure
3071
3263
  end
3072
3264
 
@@ -3075,7 +3267,7 @@ module Aws::Organizations
3075
3267
  #
3076
3268
  # {
3077
3269
  # target_id: "PolicyTargetId", # required
3078
- # filter: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY
3270
+ # filter: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY
3079
3271
  # next_token: "NextToken",
3080
3272
  # max_results: 1,
3081
3273
  # }
@@ -3105,6 +3297,22 @@ module Aws::Organizations
3105
3297
  #
3106
3298
  # @!attribute [rw] filter
3107
3299
  # The type of policy that you want to include in the returned list.
3300
+ # You must specify one of the following values:
3301
+ #
3302
+ # * [AISERVICES\_OPT\_OUT\_POLICY][1]
3303
+ #
3304
+ # * [BACKUP\_POLICY][2]
3305
+ #
3306
+ # * [SERVICE\_CONTROL\_POLICY][3]
3307
+ #
3308
+ # * [TAG\_POLICY][4]
3309
+ #
3310
+ #
3311
+ #
3312
+ # [1]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
3313
+ # [2]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html
3314
+ # [3]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
3315
+ # [4]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
3108
3316
  # @return [String]
3109
3317
  #
3110
3318
  # @!attribute [rw] next_token
@@ -3135,6 +3343,7 @@ module Aws::Organizations
3135
3343
  :filter,
3136
3344
  :next_token,
3137
3345
  :max_results)
3346
+ SENSITIVE = []
3138
3347
  include Aws::Structure
3139
3348
  end
3140
3349
 
@@ -3155,6 +3364,7 @@ module Aws::Organizations
3155
3364
  class ListPoliciesForTargetResponse < Struct.new(
3156
3365
  :policies,
3157
3366
  :next_token)
3367
+ SENSITIVE = []
3158
3368
  include Aws::Structure
3159
3369
  end
3160
3370
 
@@ -3162,14 +3372,29 @@ module Aws::Organizations
3162
3372
  # data as a hash:
3163
3373
  #
3164
3374
  # {
3165
- # filter: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY
3375
+ # filter: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY, BACKUP_POLICY, AISERVICES_OPT_OUT_POLICY
3166
3376
  # next_token: "NextToken",
3167
3377
  # max_results: 1,
3168
3378
  # }
3169
3379
  #
3170
3380
  # @!attribute [rw] filter
3171
3381
  # Specifies the type of policy that you want to include in the
3172
- # response.
3382
+ # response. You must specify one of the following values:
3383
+ #
3384
+ # * [AISERVICES\_OPT\_OUT\_POLICY][1]
3385
+ #
3386
+ # * [BACKUP\_POLICY][2]
3387
+ #
3388
+ # * [SERVICE\_CONTROL\_POLICY][3]
3389
+ #
3390
+ # * [TAG\_POLICY][4]
3391
+ #
3392
+ #
3393
+ #
3394
+ # [1]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html
3395
+ # [2]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html
3396
+ # [3]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html
3397
+ # [4]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
3173
3398
  # @return [String]
3174
3399
  #
3175
3400
  # @!attribute [rw] next_token
@@ -3199,6 +3424,7 @@ module Aws::Organizations
3199
3424
  :filter,
3200
3425
  :next_token,
3201
3426
  :max_results)
3427
+ SENSITIVE = []
3202
3428
  include Aws::Structure
3203
3429
  end
3204
3430
 
@@ -3221,6 +3447,7 @@ module Aws::Organizations
3221
3447
  class ListPoliciesResponse < Struct.new(
3222
3448
  :policies,
3223
3449
  :next_token)
3450
+ SENSITIVE = []
3224
3451
  include Aws::Structure
3225
3452
  end
3226
3453
 
@@ -3258,6 +3485,7 @@ module Aws::Organizations
3258
3485
  class ListRootsRequest < Struct.new(
3259
3486
  :next_token,
3260
3487
  :max_results)
3488
+ SENSITIVE = []
3261
3489
  include Aws::Structure
3262
3490
  end
3263
3491
 
@@ -3278,6 +3506,7 @@ module Aws::Organizations
3278
3506
  class ListRootsResponse < Struct.new(
3279
3507
  :roots,
3280
3508
  :next_token)
3509
+ SENSITIVE = []
3281
3510
  include Aws::Structure
3282
3511
  end
3283
3512
 
@@ -3306,6 +3535,7 @@ module Aws::Organizations
3306
3535
  class ListTagsForResourceRequest < Struct.new(
3307
3536
  :resource_id,
3308
3537
  :next_token)
3538
+ SENSITIVE = []
3309
3539
  include Aws::Structure
3310
3540
  end
3311
3541
 
@@ -3326,6 +3556,7 @@ module Aws::Organizations
3326
3556
  class ListTagsForResourceResponse < Struct.new(
3327
3557
  :tags,
3328
3558
  :next_token)
3559
+ SENSITIVE = []
3329
3560
  include Aws::Structure
3330
3561
  end
3331
3562
 
@@ -3378,6 +3609,7 @@ module Aws::Organizations
3378
3609
  :policy_id,
3379
3610
  :next_token,
3380
3611
  :max_results)
3612
+ SENSITIVE = []
3381
3613
  include Aws::Structure
3382
3614
  end
3383
3615
 
@@ -3399,6 +3631,7 @@ module Aws::Organizations
3399
3631
  class ListTargetsForPolicyResponse < Struct.new(
3400
3632
  :targets,
3401
3633
  :next_token)
3634
+ SENSITIVE = []
3402
3635
  include Aws::Structure
3403
3636
  end
3404
3637
 
@@ -3418,6 +3651,7 @@ module Aws::Organizations
3418
3651
  #
3419
3652
  class MalformedPolicyDocumentException < Struct.new(
3420
3653
  :message)
3654
+ SENSITIVE = []
3421
3655
  include Aws::Structure
3422
3656
  end
3423
3657
 
@@ -3432,6 +3666,7 @@ module Aws::Organizations
3432
3666
  #
3433
3667
  class MasterCannotLeaveOrganizationException < Struct.new(
3434
3668
  :message)
3669
+ SENSITIVE = []
3435
3670
  include Aws::Structure
3436
3671
  end
3437
3672
 
@@ -3503,6 +3738,7 @@ module Aws::Organizations
3503
3738
  :account_id,
3504
3739
  :source_parent_id,
3505
3740
  :destination_parent_id)
3741
+ SENSITIVE = []
3506
3742
  include Aws::Structure
3507
3743
  end
3508
3744
 
@@ -3578,16 +3814,11 @@ module Aws::Organizations
3578
3814
  # @return [String]
3579
3815
  #
3580
3816
  # @!attribute [rw] available_policy_types
3581
- # A list of policy types that are enabled for this organization. For
3582
- # example, if your organization has all features enabled, then service
3583
- # control policies (SCPs) are included in the list.
3817
+ # Do not use. This field is deprecated and doesn't provide complete
3818
+ # information about the policies in your organization.
3584
3819
  #
3585
- # <note markdown="1"> Even if a policy type is shown as available in the organization, you
3586
- # can separately enable and disable them at the root level by using
3587
- # EnablePolicyType and DisablePolicyType. Use ListRoots to see the
3588
- # status of a policy type in that root.
3589
- #
3590
- # </note>
3820
+ # To determine the policies that are enabled and available for use in
3821
+ # your organization, use the ListRoots operation instead.
3591
3822
  # @return [Array<Types::PolicyTypeSummary>]
3592
3823
  #
3593
3824
  # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/Organization AWS API Documentation
@@ -3600,6 +3831,7 @@ module Aws::Organizations
3600
3831
  :master_account_id,
3601
3832
  :master_account_email,
3602
3833
  :available_policy_types)
3834
+ SENSITIVE = [:master_account_email]
3603
3835
  include Aws::Structure
3604
3836
  end
3605
3837
 
@@ -3614,6 +3846,7 @@ module Aws::Organizations
3614
3846
  #
3615
3847
  class OrganizationNotEmptyException < Struct.new(
3616
3848
  :message)
3849
+ SENSITIVE = []
3617
3850
  include Aws::Structure
3618
3851
  end
3619
3852
 
@@ -3665,6 +3898,7 @@ module Aws::Organizations
3665
3898
  :id,
3666
3899
  :arn,
3667
3900
  :name)
3901
+ SENSITIVE = []
3668
3902
  include Aws::Structure
3669
3903
  end
3670
3904
 
@@ -3678,6 +3912,7 @@ module Aws::Organizations
3678
3912
  #
3679
3913
  class OrganizationalUnitNotEmptyException < Struct.new(
3680
3914
  :message)
3915
+ SENSITIVE = []
3681
3916
  include Aws::Structure
3682
3917
  end
3683
3918
 
@@ -3691,6 +3926,7 @@ module Aws::Organizations
3691
3926
  #
3692
3927
  class OrganizationalUnitNotFoundException < Struct.new(
3693
3928
  :message)
3929
+ SENSITIVE = []
3694
3930
  include Aws::Structure
3695
3931
  end
3696
3932
 
@@ -3726,6 +3962,7 @@ module Aws::Organizations
3726
3962
  class Parent < Struct.new(
3727
3963
  :id,
3728
3964
  :type)
3965
+ SENSITIVE = []
3729
3966
  include Aws::Structure
3730
3967
  end
3731
3968
 
@@ -3738,6 +3975,7 @@ module Aws::Organizations
3738
3975
  #
3739
3976
  class ParentNotFoundException < Struct.new(
3740
3977
  :message)
3978
+ SENSITIVE = []
3741
3979
  include Aws::Structure
3742
3980
  end
3743
3981
 
@@ -3758,6 +3996,7 @@ module Aws::Organizations
3758
3996
  class Policy < Struct.new(
3759
3997
  :policy_summary,
3760
3998
  :content)
3999
+ SENSITIVE = []
3761
4000
  include Aws::Structure
3762
4001
  end
3763
4002
 
@@ -3771,6 +4010,7 @@ module Aws::Organizations
3771
4010
  #
3772
4011
  class PolicyChangesInProgressException < Struct.new(
3773
4012
  :message)
4013
+ SENSITIVE = []
3774
4014
  include Aws::Structure
3775
4015
  end
3776
4016
 
@@ -3784,6 +4024,7 @@ module Aws::Organizations
3784
4024
  #
3785
4025
  class PolicyInUseException < Struct.new(
3786
4026
  :message)
4027
+ SENSITIVE = []
3787
4028
  include Aws::Structure
3788
4029
  end
3789
4030
 
@@ -3797,6 +4038,7 @@ module Aws::Organizations
3797
4038
  #
3798
4039
  class PolicyNotAttachedException < Struct.new(
3799
4040
  :message)
4041
+ SENSITIVE = []
3800
4042
  include Aws::Structure
3801
4043
  end
3802
4044
 
@@ -3809,6 +4051,7 @@ module Aws::Organizations
3809
4051
  #
3810
4052
  class PolicyNotFoundException < Struct.new(
3811
4053
  :message)
4054
+ SENSITIVE = []
3812
4055
  include Aws::Structure
3813
4056
  end
3814
4057
 
@@ -3872,6 +4115,7 @@ module Aws::Organizations
3872
4115
  :description,
3873
4116
  :type,
3874
4117
  :aws_managed)
4118
+ SENSITIVE = []
3875
4119
  include Aws::Structure
3876
4120
  end
3877
4121
 
@@ -3934,6 +4178,7 @@ module Aws::Organizations
3934
4178
  :arn,
3935
4179
  :name,
3936
4180
  :type)
4181
+ SENSITIVE = []
3937
4182
  include Aws::Structure
3938
4183
  end
3939
4184
 
@@ -3946,14 +4191,15 @@ module Aws::Organizations
3946
4191
  #
3947
4192
  class PolicyTypeAlreadyEnabledException < Struct.new(
3948
4193
  :message)
4194
+ SENSITIVE = []
3949
4195
  include Aws::Structure
3950
4196
  end
3951
4197
 
3952
4198
  # You can't use the specified policy type with the feature set
3953
4199
  # currently enabled for this organization. For example, you can enable
3954
4200
  # 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.*
4201
+ # information, see [Managing AWS Organizations Policies][1]in the *AWS
4202
+ # Organizations User Guide.*
3957
4203
  #
3958
4204
  #
3959
4205
  #
@@ -3966,6 +4212,7 @@ module Aws::Organizations
3966
4212
  #
3967
4213
  class PolicyTypeNotAvailableForOrganizationException < Struct.new(
3968
4214
  :message)
4215
+ SENSITIVE = []
3969
4216
  include Aws::Structure
3970
4217
  end
3971
4218
 
@@ -3986,6 +4233,7 @@ module Aws::Organizations
3986
4233
  #
3987
4234
  class PolicyTypeNotEnabledException < Struct.new(
3988
4235
  :message)
4236
+ SENSITIVE = []
3989
4237
  include Aws::Structure
3990
4238
  end
3991
4239
 
@@ -4008,6 +4256,7 @@ module Aws::Organizations
4008
4256
  class PolicyTypeSummary < Struct.new(
4009
4257
  :type,
4010
4258
  :status)
4259
+ SENSITIVE = []
4011
4260
  include Aws::Structure
4012
4261
  end
4013
4262
 
@@ -4034,6 +4283,7 @@ module Aws::Organizations
4034
4283
  class RegisterDelegatedAdministratorRequest < Struct.new(
4035
4284
  :account_id,
4036
4285
  :service_principal)
4286
+ SENSITIVE = []
4037
4287
  include Aws::Structure
4038
4288
  end
4039
4289
 
@@ -4060,6 +4310,7 @@ module Aws::Organizations
4060
4310
  #
4061
4311
  class RemoveAccountFromOrganizationRequest < Struct.new(
4062
4312
  :account_id)
4313
+ SENSITIVE = []
4063
4314
  include Aws::Structure
4064
4315
  end
4065
4316
 
@@ -4123,6 +4374,7 @@ module Aws::Organizations
4123
4374
  :arn,
4124
4375
  :name,
4125
4376
  :policy_types)
4377
+ SENSITIVE = []
4126
4378
  include Aws::Structure
4127
4379
  end
4128
4380
 
@@ -4135,6 +4387,7 @@ module Aws::Organizations
4135
4387
  #
4136
4388
  class RootNotFoundException < Struct.new(
4137
4389
  :message)
4390
+ SENSITIVE = []
4138
4391
  include Aws::Structure
4139
4392
  end
4140
4393
 
@@ -4148,6 +4401,7 @@ module Aws::Organizations
4148
4401
  #
4149
4402
  class ServiceException < Struct.new(
4150
4403
  :message)
4404
+ SENSITIVE = []
4151
4405
  include Aws::Structure
4152
4406
  end
4153
4407
 
@@ -4161,6 +4415,7 @@ module Aws::Organizations
4161
4415
  #
4162
4416
  class SourceParentNotFoundException < Struct.new(
4163
4417
  :message)
4418
+ SENSITIVE = []
4164
4419
  include Aws::Structure
4165
4420
  end
4166
4421
 
@@ -4190,6 +4445,7 @@ module Aws::Organizations
4190
4445
  class Tag < Struct.new(
4191
4446
  :key,
4192
4447
  :value)
4448
+ SENSITIVE = []
4193
4449
  include Aws::Structure
4194
4450
  end
4195
4451
 
@@ -4211,9 +4467,9 @@ module Aws::Organizations
4211
4467
  # @return [String]
4212
4468
  #
4213
4469
  # @!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.
4470
+ # The tag to add to the specified resource. You must specify both a
4471
+ # tag key and value. You can set the value of a tag to an empty
4472
+ # string, but you can't set it to null.
4217
4473
  # @return [Array<Types::Tag>]
4218
4474
  #
4219
4475
  # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/TagResourceRequest AWS API Documentation
@@ -4221,6 +4477,7 @@ module Aws::Organizations
4221
4477
  class TagResourceRequest < Struct.new(
4222
4478
  :resource_id,
4223
4479
  :tags)
4480
+ SENSITIVE = []
4224
4481
  include Aws::Structure
4225
4482
  end
4226
4483
 
@@ -4234,15 +4491,17 @@ module Aws::Organizations
4234
4491
  #
4235
4492
  class TargetNotFoundException < Struct.new(
4236
4493
  :message)
4494
+ SENSITIVE = []
4237
4495
  include Aws::Structure
4238
4496
  end
4239
4497
 
4240
4498
  # 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
4499
+ # quota helps protect against denial-of-service attacks. Try again
4242
4500
  # later.
4243
4501
  #
4244
- # For information on limits that affect AWS Organizations, see [Limits
4245
- # of AWS Organizations][1] in the *AWS Organizations User Guide.*
4502
+ # For information about quotas that affect AWS Organizations, see
4503
+ # [Quotas for AWS Organizations][1]in the *AWS Organizations User
4504
+ # Guide.*
4246
4505
  #
4247
4506
  #
4248
4507
  #
@@ -4259,10 +4518,11 @@ module Aws::Organizations
4259
4518
  class TooManyRequestsException < Struct.new(
4260
4519
  :type,
4261
4520
  :message)
4521
+ SENSITIVE = []
4262
4522
  include Aws::Structure
4263
4523
  end
4264
4524
 
4265
- # This action isn't available in the current Region.
4525
+ # This action isn't available in the current AWS Region.
4266
4526
  #
4267
4527
  # @!attribute [rw] message
4268
4528
  # @return [String]
@@ -4271,6 +4531,7 @@ module Aws::Organizations
4271
4531
  #
4272
4532
  class UnsupportedAPIEndpointException < Struct.new(
4273
4533
  :message)
4534
+ SENSITIVE = []
4274
4535
  include Aws::Structure
4275
4536
  end
4276
4537
 
@@ -4295,6 +4556,7 @@ module Aws::Organizations
4295
4556
  class UntagResourceRequest < Struct.new(
4296
4557
  :resource_id,
4297
4558
  :tag_keys)
4559
+ SENSITIVE = []
4298
4560
  include Aws::Structure
4299
4561
  end
4300
4562
 
@@ -4337,6 +4599,7 @@ module Aws::Organizations
4337
4599
  class UpdateOrganizationalUnitRequest < Struct.new(
4338
4600
  :organizational_unit_id,
4339
4601
  :name)
4602
+ SENSITIVE = []
4340
4603
  include Aws::Structure
4341
4604
  end
4342
4605
 
@@ -4349,6 +4612,7 @@ module Aws::Organizations
4349
4612
  #
4350
4613
  class UpdateOrganizationalUnitResponse < Struct.new(
4351
4614
  :organizational_unit)
4615
+ SENSITIVE = []
4352
4616
  include Aws::Structure
4353
4617
  end
4354
4618
 
@@ -4407,6 +4671,7 @@ module Aws::Organizations
4407
4671
  :name,
4408
4672
  :description,
4409
4673
  :content)
4674
+ SENSITIVE = []
4410
4675
  include Aws::Structure
4411
4676
  end
4412
4677
 
@@ -4419,6 +4684,7 @@ module Aws::Organizations
4419
4684
  #
4420
4685
  class UpdatePolicyResponse < Struct.new(
4421
4686
  :policy)
4687
+ SENSITIVE = []
4422
4688
  include Aws::Structure
4423
4689
  end
4424
4690