aws-sdk-organizations 1.34.0 → 1.35.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -65,6 +65,8 @@ module Aws::Organizations
65
65
  DescribeAccountResponse = Shapes::StructureShape.new(name: 'DescribeAccountResponse')
66
66
  DescribeCreateAccountStatusRequest = Shapes::StructureShape.new(name: 'DescribeCreateAccountStatusRequest')
67
67
  DescribeCreateAccountStatusResponse = Shapes::StructureShape.new(name: 'DescribeCreateAccountStatusResponse')
68
+ DescribeEffectivePolicyRequest = Shapes::StructureShape.new(name: 'DescribeEffectivePolicyRequest')
69
+ DescribeEffectivePolicyResponse = Shapes::StructureShape.new(name: 'DescribeEffectivePolicyResponse')
68
70
  DescribeHandshakeRequest = Shapes::StructureShape.new(name: 'DescribeHandshakeRequest')
69
71
  DescribeHandshakeResponse = Shapes::StructureShape.new(name: 'DescribeHandshakeResponse')
70
72
  DescribeOrganizationResponse = Shapes::StructureShape.new(name: 'DescribeOrganizationResponse')
@@ -82,6 +84,9 @@ module Aws::Organizations
82
84
  DuplicateOrganizationalUnitException = Shapes::StructureShape.new(name: 'DuplicateOrganizationalUnitException')
83
85
  DuplicatePolicyAttachmentException = Shapes::StructureShape.new(name: 'DuplicatePolicyAttachmentException')
84
86
  DuplicatePolicyException = Shapes::StructureShape.new(name: 'DuplicatePolicyException')
87
+ EffectivePolicy = Shapes::StructureShape.new(name: 'EffectivePolicy')
88
+ EffectivePolicyNotFoundException = Shapes::StructureShape.new(name: 'EffectivePolicyNotFoundException')
89
+ EffectivePolicyType = Shapes::StringShape.new(name: 'EffectivePolicyType')
85
90
  Email = Shapes::StringShape.new(name: 'Email')
86
91
  EnableAWSServiceAccessRequest = Shapes::StructureShape.new(name: 'EnableAWSServiceAccessRequest')
87
92
  EnableAllFeaturesRequest = Shapes::StructureShape.new(name: 'EnableAllFeaturesRequest')
@@ -172,6 +177,7 @@ module Aws::Organizations
172
177
  Policies = Shapes::ListShape.new(name: 'Policies')
173
178
  Policy = Shapes::StructureShape.new(name: 'Policy')
174
179
  PolicyArn = Shapes::StringShape.new(name: 'PolicyArn')
180
+ PolicyChangesInProgressException = Shapes::StructureShape.new(name: 'PolicyChangesInProgressException')
175
181
  PolicyContent = Shapes::StringShape.new(name: 'PolicyContent')
176
182
  PolicyDescription = Shapes::StringShape.new(name: 'PolicyDescription')
177
183
  PolicyId = Shapes::StringShape.new(name: 'PolicyId')
@@ -363,6 +369,13 @@ module Aws::Organizations
363
369
  DescribeCreateAccountStatusResponse.add_member(:create_account_status, Shapes::ShapeRef.new(shape: CreateAccountStatus, location_name: "CreateAccountStatus"))
364
370
  DescribeCreateAccountStatusResponse.struct_class = Types::DescribeCreateAccountStatusResponse
365
371
 
372
+ DescribeEffectivePolicyRequest.add_member(:policy_type, Shapes::ShapeRef.new(shape: EffectivePolicyType, required: true, location_name: "PolicyType"))
373
+ DescribeEffectivePolicyRequest.add_member(:target_id, Shapes::ShapeRef.new(shape: PolicyTargetId, location_name: "TargetId"))
374
+ DescribeEffectivePolicyRequest.struct_class = Types::DescribeEffectivePolicyRequest
375
+
376
+ DescribeEffectivePolicyResponse.add_member(:effective_policy, Shapes::ShapeRef.new(shape: EffectivePolicy, location_name: "EffectivePolicy"))
377
+ DescribeEffectivePolicyResponse.struct_class = Types::DescribeEffectivePolicyResponse
378
+
366
379
  DescribeHandshakeRequest.add_member(:handshake_id, Shapes::ShapeRef.new(shape: HandshakeId, required: true, location_name: "HandshakeId"))
367
380
  DescribeHandshakeRequest.struct_class = Types::DescribeHandshakeRequest
368
381
 
@@ -416,6 +429,15 @@ module Aws::Organizations
416
429
  DuplicatePolicyException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
417
430
  DuplicatePolicyException.struct_class = Types::DuplicatePolicyException
418
431
 
432
+ EffectivePolicy.add_member(:policy_content, Shapes::ShapeRef.new(shape: PolicyContent, location_name: "PolicyContent"))
433
+ EffectivePolicy.add_member(:last_updated_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastUpdatedTimestamp"))
434
+ EffectivePolicy.add_member(:target_id, Shapes::ShapeRef.new(shape: PolicyTargetId, location_name: "TargetId"))
435
+ EffectivePolicy.add_member(:policy_type, Shapes::ShapeRef.new(shape: EffectivePolicyType, location_name: "PolicyType"))
436
+ EffectivePolicy.struct_class = Types::EffectivePolicy
437
+
438
+ EffectivePolicyNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
439
+ EffectivePolicyNotFoundException.struct_class = Types::EffectivePolicyNotFoundException
440
+
419
441
  EnableAWSServiceAccessRequest.add_member(:service_principal, Shapes::ShapeRef.new(shape: ServicePrincipal, required: true, location_name: "ServicePrincipal"))
420
442
  EnableAWSServiceAccessRequest.struct_class = Types::EnableAWSServiceAccessRequest
421
443
 
@@ -668,6 +690,9 @@ module Aws::Organizations
668
690
  Policy.add_member(:content, Shapes::ShapeRef.new(shape: PolicyContent, location_name: "Content"))
669
691
  Policy.struct_class = Types::Policy
670
692
 
693
+ PolicyChangesInProgressException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
694
+ PolicyChangesInProgressException.struct_class = Types::PolicyChangesInProgressException
695
+
671
696
  PolicyInUseException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
672
697
  PolicyInUseException.struct_class = Types::PolicyInUseException
673
698
 
@@ -825,6 +850,8 @@ module Aws::Organizations
825
850
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
826
851
  o.errors << Shapes::ShapeRef.new(shape: TargetNotFoundException)
827
852
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
853
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedAPIEndpointException)
854
+ o.errors << Shapes::ShapeRef.new(shape: PolicyChangesInProgressException)
828
855
  end)
829
856
 
830
857
  api.add_operation(:cancel_handshake, Seahorse::Model::Operation.new.tap do |o|
@@ -926,6 +953,7 @@ module Aws::Organizations
926
953
  o.errors << Shapes::ShapeRef.new(shape: PolicyTypeNotAvailableForOrganizationException)
927
954
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
928
955
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
956
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedAPIEndpointException)
929
957
  end)
930
958
 
931
959
  api.add_operation(:decline_handshake, Seahorse::Model::Operation.new.tap do |o|
@@ -989,6 +1017,7 @@ module Aws::Organizations
989
1017
  o.errors << Shapes::ShapeRef.new(shape: PolicyNotFoundException)
990
1018
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
991
1019
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1020
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedAPIEndpointException)
992
1021
  end)
993
1022
 
994
1023
  api.add_operation(:describe_account, Seahorse::Model::Operation.new.tap do |o|
@@ -1020,6 +1049,23 @@ module Aws::Organizations
1020
1049
  o.errors << Shapes::ShapeRef.new(shape: UnsupportedAPIEndpointException)
1021
1050
  end)
1022
1051
 
1052
+ api.add_operation(:describe_effective_policy, Seahorse::Model::Operation.new.tap do |o|
1053
+ o.name = "DescribeEffectivePolicy"
1054
+ o.http_method = "POST"
1055
+ o.http_request_uri = "/"
1056
+ o.input = Shapes::ShapeRef.new(shape: DescribeEffectivePolicyRequest)
1057
+ o.output = Shapes::ShapeRef.new(shape: DescribeEffectivePolicyResponse)
1058
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1059
+ o.errors << Shapes::ShapeRef.new(shape: AWSOrganizationsNotInUseException)
1060
+ o.errors << Shapes::ShapeRef.new(shape: ConstraintViolationException)
1061
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1062
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1063
+ o.errors << Shapes::ShapeRef.new(shape: TargetNotFoundException)
1064
+ o.errors << Shapes::ShapeRef.new(shape: EffectivePolicyNotFoundException)
1065
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1066
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedAPIEndpointException)
1067
+ end)
1068
+
1023
1069
  api.add_operation(:describe_handshake, Seahorse::Model::Operation.new.tap do |o|
1024
1070
  o.name = "DescribeHandshake"
1025
1071
  o.http_method = "POST"
@@ -1073,6 +1119,7 @@ module Aws::Organizations
1073
1119
  o.errors << Shapes::ShapeRef.new(shape: PolicyNotFoundException)
1074
1120
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1075
1121
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1122
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedAPIEndpointException)
1076
1123
  end)
1077
1124
 
1078
1125
  api.add_operation(:detach_policy, Seahorse::Model::Operation.new.tap do |o|
@@ -1091,6 +1138,8 @@ module Aws::Organizations
1091
1138
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1092
1139
  o.errors << Shapes::ShapeRef.new(shape: TargetNotFoundException)
1093
1140
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1141
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedAPIEndpointException)
1142
+ o.errors << Shapes::ShapeRef.new(shape: PolicyChangesInProgressException)
1094
1143
  end)
1095
1144
 
1096
1145
  api.add_operation(:disable_aws_service_access, Seahorse::Model::Operation.new.tap do |o|
@@ -1123,6 +1172,8 @@ module Aws::Organizations
1123
1172
  o.errors << Shapes::ShapeRef.new(shape: RootNotFoundException)
1124
1173
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1125
1174
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1175
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedAPIEndpointException)
1176
+ o.errors << Shapes::ShapeRef.new(shape: PolicyChangesInProgressException)
1126
1177
  end)
1127
1178
 
1128
1179
  api.add_operation(:enable_aws_service_access, Seahorse::Model::Operation.new.tap do |o|
@@ -1171,6 +1222,8 @@ module Aws::Organizations
1171
1222
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1172
1223
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1173
1224
  o.errors << Shapes::ShapeRef.new(shape: PolicyTypeNotAvailableForOrganizationException)
1225
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedAPIEndpointException)
1226
+ o.errors << Shapes::ShapeRef.new(shape: PolicyChangesInProgressException)
1174
1227
  end)
1175
1228
 
1176
1229
  api.add_operation(:invite_account_to_organization, Seahorse::Model::Operation.new.tap do |o|
@@ -1397,6 +1450,7 @@ module Aws::Organizations
1397
1450
  o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1398
1451
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1399
1452
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1453
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedAPIEndpointException)
1400
1454
  o[:pager] = Aws::Pager.new(
1401
1455
  limit_key: "max_results",
1402
1456
  tokens: {
@@ -1417,6 +1471,7 @@ module Aws::Organizations
1417
1471
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1418
1472
  o.errors << Shapes::ShapeRef.new(shape: TargetNotFoundException)
1419
1473
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1474
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedAPIEndpointException)
1420
1475
  o[:pager] = Aws::Pager.new(
1421
1476
  limit_key: "max_results",
1422
1477
  tokens: {
@@ -1475,6 +1530,7 @@ module Aws::Organizations
1475
1530
  o.errors << Shapes::ShapeRef.new(shape: PolicyNotFoundException)
1476
1531
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1477
1532
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1533
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedAPIEndpointException)
1478
1534
  o[:pager] = Aws::Pager.new(
1479
1535
  limit_key: "max_results",
1480
1536
  tokens: {
@@ -1582,6 +1638,8 @@ module Aws::Organizations
1582
1638
  o.errors << Shapes::ShapeRef.new(shape: PolicyNotFoundException)
1583
1639
  o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1584
1640
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1641
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedAPIEndpointException)
1642
+ o.errors << Shapes::ShapeRef.new(shape: PolicyChangesInProgressException)
1585
1643
  end)
1586
1644
  end
1587
1645
 
@@ -276,6 +276,22 @@ module Aws::Organizations
276
276
 
277
277
  end
278
278
 
279
+ class EffectivePolicyNotFoundException < ServiceError
280
+
281
+ # @param [Seahorse::Client::RequestContext] context
282
+ # @param [String] message
283
+ # @param [Aws::Organizations::Types::EffectivePolicyNotFoundException] data
284
+ def initialize(context, message, data = Aws::EmptyStructure.new)
285
+ super(context, message, data)
286
+ end
287
+
288
+ # @return [String]
289
+ def message
290
+ @message || @data[:message]
291
+ end
292
+
293
+ end
294
+
279
295
  class FinalizingOrganizationException < ServiceError
280
296
 
281
297
  # @param [Seahorse::Client::RequestContext] context
@@ -478,6 +494,22 @@ module Aws::Organizations
478
494
 
479
495
  end
480
496
 
497
+ class PolicyChangesInProgressException < ServiceError
498
+
499
+ # @param [Seahorse::Client::RequestContext] context
500
+ # @param [String] message
501
+ # @param [Aws::Organizations::Types::PolicyChangesInProgressException] data
502
+ def initialize(context, message, data = Aws::EmptyStructure.new)
503
+ super(context, message, data)
504
+ end
505
+
506
+ # @return [String]
507
+ def message
508
+ @message || @data[:message]
509
+ end
510
+
511
+ end
512
+
481
513
  class PolicyInUseException < ServiceError
482
514
 
483
515
  # @param [Seahorse::Client::RequestContext] context
@@ -33,7 +33,7 @@ module Aws::Organizations
33
33
  # The unique identifier (ID) of the handshake that you want to accept.
34
34
  #
35
35
  # The [regex pattern][1] for handshake ID string requires "h-"
36
- # followed by from 8 to 32 lower-case letters or digits.
36
+ # followed by from 8 to 32 lowercase letters or digits.
37
37
  #
38
38
  #
39
39
  #
@@ -126,7 +126,7 @@ module Aws::Organizations
126
126
  # The email address associated with the AWS account.
127
127
  #
128
128
  # The [regex pattern][1] for this parameter is a string of characters
129
- # that represents a standard Internet email address.
129
+ # that represents a standard internet email address.
130
130
  #
131
131
  #
132
132
  #
@@ -169,8 +169,8 @@ module Aws::Organizations
169
169
  include Aws::Structure
170
170
  end
171
171
 
172
- # We can't find an AWS account with the `AccountId` that you specified,
173
- # or the account whose credentials you used to make this request isn't
172
+ # We can't find an AWS account with the `AccountId` that you specified.
173
+ # Or the account whose credentials you used to make this request isn't
174
174
  # a member of an organization.
175
175
  #
176
176
  # @!attribute [rw] message
@@ -229,7 +229,7 @@ module Aws::Organizations
229
229
  # ListPolicies operation.
230
230
  #
231
231
  # The [regex pattern][1] for a policy ID string requires "p-"
232
- # followed by from 8 to 128 lower-case letters or digits.
232
+ # followed by from 8 to 128 lowercase letters or digits.
233
233
  #
234
234
  #
235
235
  #
@@ -246,14 +246,15 @@ module Aws::Organizations
246
246
  # following:
247
247
  #
248
248
  # * **Root** - A string that begins with "r-" followed by from 4 to
249
- # 32 lower-case letters or digits.
249
+ # 32 lowercase letters or digits.
250
250
  #
251
251
  # * **Account** - A string that consists of exactly 12 digits.
252
252
  #
253
253
  # * **Organizational unit (OU)** - A string that begins with "ou-"
254
- # followed by from 4 to 32 lower-case letters or digits (the ID of
255
- # the root that the OU is in) followed by a second "-" dash and
256
- # from 8 to 32 additional lower-case letters or digits.
254
+ # followed by from 4 to 32 lowercase letters or digits (the ID of
255
+ # the root that the OU is in). This string is followed by a second
256
+ # "-" dash and from 8 to 32 additional lowercase letters or
257
+ # digits.
257
258
  #
258
259
  #
259
260
  #
@@ -280,7 +281,7 @@ module Aws::Organizations
280
281
  # You can get the ID from the ListHandshakesForOrganization operation.
281
282
  #
282
283
  # The [regex pattern][1] for handshake ID string requires "h-"
283
- # followed by from 8 to 32 lower-case letters or digits.
284
+ # followed by from 8 to 32 lowercase letters or digits.
284
285
  #
285
286
  #
286
287
  #
@@ -314,12 +315,13 @@ module Aws::Organizations
314
315
  # The [regex pattern][1] for a child ID string requires one of the
315
316
  # following:
316
317
  #
317
- # * Account: a string that consists of exactly 12 digits.
318
+ # * Account: A string that consists of exactly 12 digits.
318
319
  #
319
- # * Organizational unit (OU): a string that begins with "ou-"
320
+ # * Organizational unit (OU): A string that begins with "ou-"
320
321
  # followed by from 4 to 32 lower-case letters or digits (the ID of
321
- # the root that contains the OU) followed by a second "-" dash and
322
- # from 8 to 32 additional lower-case letters or digits.
322
+ # the root that contains the OU). This string is followed by a
323
+ # second "-" dash and from 8 to 32 additional lower-case letters
324
+ # or digits.
323
325
  #
324
326
  #
325
327
  #
@@ -365,11 +367,10 @@ module Aws::Organizations
365
367
  end
366
368
 
367
369
  # Performing this operation violates a minimum or maximum value limit.
368
- # For example, attempting to remove the last service control policy
369
- # (SCP) from an OU or root, inviting or creating too many accounts to
370
- # the organization, or attaching too many policies to an account, OU, or
371
- # root. This exception includes a reason that contains additional
372
- # information about the violated limit.
370
+ # Examples include attempting to remove the last service control policy
371
+ # (SCP) from an OU or root, or attaching too many policies to an
372
+ # account, OU, or root. This exception includes a reason that contains
373
+ # additional information about the violated limit.
373
374
  #
374
375
  # Some of the reasons in the following list might not be applicable to
375
376
  # this specific API or operation:
@@ -452,9 +453,8 @@ module Aws::Organizations
452
453
  # User Guide.*
453
454
  #
454
455
  # * MIN\_POLICY\_TYPE\_ATTACHMENT\_LIMIT\_EXCEEDED: You attempted to
455
- # detach a policy from an entity that would cause the entity to have
456
- # fewer than the minimum number of policies of a certain type
457
- # required.
456
+ # detach a policy from an entity, which would cause the entity to have
457
+ # fewer than the minimum number of policies of the required type.
458
458
  #
459
459
  # * OU\_DEPTH\_LIMIT\_EXCEEDED: You attempted to create an OU tree that
460
460
  # is too many levels deep.
@@ -526,14 +526,13 @@ module Aws::Organizations
526
526
  #
527
527
  # For more information about how to use this role to access the member
528
528
  # account, see [Accessing and Administering the Member Accounts in
529
- # Your Organization][1] in the *AWS Organizations User Guide*, and
530
- # steps 2 and 3 in [Tutorial: Delegate Access Across AWS Accounts
529
+ # Your Organization][1] in the *AWS Organizations User Guide*. Also
530
+ # see steps 2 and 3 in [Tutorial: Delegate Access Across AWS Accounts
531
531
  # Using IAM Roles][2] in the *IAM User Guide.*
532
532
  #
533
- # The [regex pattern][3] that is used to validate this parameter is a
534
- # string of characters that can consist of uppercase letters,
535
- # lowercase letters, digits with no spaces, and any of the following
536
- # characters: =,.@-
533
+ # The [regex pattern][3] that is used to validate this parameter. The
534
+ # pattern can include uppercase letters, lowercase letters, digits
535
+ # with no spaces, and any of the following characters: =,.@-
537
536
  #
538
537
  #
539
538
  #
@@ -550,9 +549,9 @@ module Aws::Organizations
550
549
  # Access to the Billing and Cost Management Console][1] in the *AWS
551
550
  # Billing and Cost Management User Guide*.
552
551
  #
553
- # If you don't specify this parameter, the value defaults to `ALLOW`,
554
- # and IAM users and roles with the required permissions can access
555
- # billing information for the new account.
552
+ # If you don't specify this parameter, the value defaults to `ALLOW`.
553
+ # This value allows IAM users and roles with the required permissions
554
+ # to access billing information for the new account.
556
555
  #
557
556
  #
558
557
  #
@@ -601,7 +600,7 @@ module Aws::Organizations
601
600
  # this value from the response of the initial CreateAccount request to
602
601
  # create the account.
603
602
  #
604
- # The [regex pattern][1] for an create account request ID string
603
+ # The [regex pattern][1] for a create account request ID string
605
604
  # requires "car-" followed by from 8 to 32 lower-case letters or
606
605
  # digits.
607
606
  #
@@ -667,7 +666,7 @@ module Aws::Organizations
667
666
  #
668
667
  # * INTERNAL\_FAILURE: The account could not be created because of an
669
668
  # internal failure. Try again later. If the problem persists,
670
- # contact Customer Support.
669
+ # contact AWS Support.
671
670
  # @return [String]
672
671
  #
673
672
  # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/CreateAccountStatus AWS API Documentation
@@ -684,7 +683,7 @@ module Aws::Organizations
684
683
  include Aws::Structure
685
684
  end
686
685
 
687
- # We can't find an create account request with the
686
+ # We can't find a create account request with the
688
687
  # `CreateAccountRequestId` that you specified.
689
688
  #
690
689
  # @!attribute [rw] message
@@ -715,8 +714,8 @@ module Aws::Organizations
715
714
  # user of the account or remove an account that was created with an
716
715
  # invalid email address. Like all request parameters for
717
716
  # `CreateGovCloudAccount`, the request for the email address for the
718
- # AWS GovCloud (US) account originates from the commercial Region, not
719
- # from the AWS GovCloud (US) Region.
717
+ # AWS GovCloud (US) account originates from the commercial Region. It
718
+ # does not come from the AWS GovCloud (US) Region.
720
719
  # @return [String]
721
720
  #
722
721
  # @!attribute [rw] account_name
@@ -738,14 +737,13 @@ module Aws::Organizations
738
737
  #
739
738
  # For more information about how to use this role to access the member
740
739
  # account, see [Accessing and Administering the Member Accounts in
741
- # Your Organization][1] in the *AWS Organizations User Guide* and
742
- # steps 2 and 3 in [Tutorial: Delegate Access Across AWS Accounts
740
+ # Your Organization][1] in the *AWS Organizations User Guide*. See
741
+ # also steps 2 and 3 in [Tutorial: Delegate Access Across AWS Accounts
743
742
  # Using IAM Roles][2] in the *IAM User Guide.*
744
743
  #
745
- # The [regex pattern][3] that is used to validate this parameter is a
746
- # string of characters that can consist of uppercase letters,
747
- # lowercase letters, digits with no spaces, and any of the following
748
- # characters: =,.@-
744
+ # The [regex pattern][3] that is used to validate this parameter. The
745
+ # pattern can include uppercase letters, lowercase letters, digits
746
+ # with no spaces, and any of the following characters: =,.@-
749
747
  #
750
748
  #
751
749
  #
@@ -814,11 +812,11 @@ module Aws::Organizations
814
812
  # The consolidated billing feature subset isn't available for
815
813
  # organizations in the AWS GovCloud (US) Region.
816
814
  #
817
- # * `ALL`\: In addition to all the features supported by the
818
- # consolidated billing feature set, the master account can also
819
- # apply any policy type to any member account in the organization.
820
- # For more information, see [All features][2] in the *AWS
821
- # Organizations User Guide.*
815
+ # * `ALL`\: In addition to all the features that consolidated billing
816
+ # feature set supports, the master account can also apply any policy
817
+ # type to any member account in the organization. For more
818
+ # information, see [All features][2] in the *AWS Organizations User
819
+ # Guide.*
822
820
  #
823
821
  #
824
822
  #
@@ -861,12 +859,13 @@ module Aws::Organizations
861
859
  # following:
862
860
  #
863
861
  # * **Root** - A string that begins with "r-" followed by from 4 to
864
- # 32 lower-case letters or digits.
862
+ # 32 lowercase letters or digits.
865
863
  #
866
864
  # * **Organizational unit (OU)** - A string that begins with "ou-"
867
- # followed by from 4 to 32 lower-case letters or digits (the ID of
868
- # the root that the OU is in) followed by a second "-" dash and
869
- # from 8 to 32 additional lower-case letters or digits.
865
+ # followed by from 4 to 32 lowercase letters or digits (the ID of
866
+ # the root that the OU is in). This string is followed by a second
867
+ # "-" dash and from 8 to 32 additional lowercase letters or
868
+ # digits.
870
869
  #
871
870
  #
872
871
  #
@@ -903,16 +902,16 @@ module Aws::Organizations
903
902
  # content: "PolicyContent", # required
904
903
  # description: "PolicyDescription", # required
905
904
  # name: "PolicyName", # required
906
- # type: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY
905
+ # type: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY
907
906
  # }
908
907
  #
909
908
  # @!attribute [rw] content
910
- # The policy content to add to the new policy. For example, if you
911
- # create a [service control policy][1] (SCP), this string must be JSON
912
- # text that specifies the permissions that admins in attached accounts
913
- # can delegate to their users, groups, and roles. For more information
914
- # about the SCP syntax, see [Service Control Policy Syntax][2] in the
915
- # *AWS Organizations User Guide.*
909
+ # The policy content to add to the new policy. For example, you could
910
+ # create a [service control policy][1] (SCP) that specifies the
911
+ # permissions that administrators in attached accounts can delegate to
912
+ # their users, groups, and roles. The string for this SCP must be JSON
913
+ # text. For more information about the SCP syntax, see [Service
914
+ # Control Policy Syntax][2] in the *AWS Organizations User Guide.*
916
915
  #
917
916
  #
918
917
  #
@@ -937,11 +936,6 @@ module Aws::Organizations
937
936
  #
938
937
  # @!attribute [rw] type
939
938
  # The type of policy to create.
940
- #
941
- # <note markdown="1"> In the current release, the only type of policy that you can create
942
- # is a service control policy (SCP).
943
- #
944
- # </note>
945
939
  # @return [String]
946
940
  #
947
941
  # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/CreatePolicyRequest AWS API Documentation
@@ -978,7 +972,7 @@ module Aws::Organizations
978
972
  # operation.
979
973
  #
980
974
  # The [regex pattern][1] for handshake ID string requires "h-"
981
- # followed by from 8 to 32 lower-case letters or digits.
975
+ # followed by from 8 to 32 lowercase letters or digits.
982
976
  #
983
977
  #
984
978
  #
@@ -1017,9 +1011,10 @@ module Aws::Organizations
1017
1011
  # ListOrganizationalUnitsForParent operation.
1018
1012
  #
1019
1013
  # The [regex pattern][1] for an organizational unit ID string requires
1020
- # "ou-" followed by from 4 to 32 lower-case letters or digits (the
1021
- # ID of the root that contains the OU) followed by a second "-" dash
1022
- # and from 8 to 32 additional lower-case letters or digits.
1014
+ # "ou-" followed by from 4 to 32 lowercase letters or digits (the ID
1015
+ # of the root that contains the OU). This string is followed by a
1016
+ # second "-" dash and from 8 to 32 additional lowercase letters or
1017
+ # digits.
1023
1018
  #
1024
1019
  #
1025
1020
  #
@@ -1046,7 +1041,7 @@ module Aws::Organizations
1046
1041
  # operations.
1047
1042
  #
1048
1043
  # The [regex pattern][1] for a policy ID string requires "p-"
1049
- # followed by from 8 to 128 lower-case letters or digits.
1044
+ # followed by from 8 to 128 lowercase letters or digits.
1050
1045
  #
1051
1046
  #
1052
1047
  #
@@ -1111,7 +1106,7 @@ module Aws::Organizations
1111
1106
  # request, or from the ListCreateAccountStatus operation.
1112
1107
  #
1113
1108
  # The [regex pattern][1] for a create account request ID string
1114
- # requires "car-" followed by from 8 to 32 lower-case letters or
1109
+ # requires "car-" followed by from 8 to 32 lowercase letters or
1115
1110
  # digits.
1116
1111
  #
1117
1112
  #
@@ -1138,6 +1133,43 @@ module Aws::Organizations
1138
1133
  include Aws::Structure
1139
1134
  end
1140
1135
 
1136
+ # @note When making an API call, you may pass DescribeEffectivePolicyRequest
1137
+ # data as a hash:
1138
+ #
1139
+ # {
1140
+ # policy_type: "TAG_POLICY", # required, accepts TAG_POLICY
1141
+ # target_id: "PolicyTargetId",
1142
+ # }
1143
+ #
1144
+ # @!attribute [rw] policy_type
1145
+ # The type of policy that you want information about.
1146
+ # @return [String]
1147
+ #
1148
+ # @!attribute [rw] target_id
1149
+ # When you're signed in as the master account, specify the ID of the
1150
+ # account that you want details about. Specifying an organization root
1151
+ # or OU as the target is not supported.
1152
+ # @return [String]
1153
+ #
1154
+ # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DescribeEffectivePolicyRequest AWS API Documentation
1155
+ #
1156
+ class DescribeEffectivePolicyRequest < Struct.new(
1157
+ :policy_type,
1158
+ :target_id)
1159
+ include Aws::Structure
1160
+ end
1161
+
1162
+ # @!attribute [rw] effective_policy
1163
+ # The contents of the effective policy.
1164
+ # @return [Types::EffectivePolicy]
1165
+ #
1166
+ # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DescribeEffectivePolicyResponse AWS API Documentation
1167
+ #
1168
+ class DescribeEffectivePolicyResponse < Struct.new(
1169
+ :effective_policy)
1170
+ include Aws::Structure
1171
+ end
1172
+
1141
1173
  # @note When making an API call, you may pass DescribeHandshakeRequest
1142
1174
  # data as a hash:
1143
1175
  #
@@ -1152,7 +1184,7 @@ module Aws::Organizations
1152
1184
  # ListHandshakesForAccount or ListHandshakesForOrganization.
1153
1185
  #
1154
1186
  # The [regex pattern][1] for handshake ID string requires "h-"
1155
- # followed by from 8 to 32 lower-case letters or digits.
1187
+ # followed by from 8 to 32 lowercase letters or digits.
1156
1188
  #
1157
1189
  #
1158
1190
  #
@@ -1201,9 +1233,10 @@ module Aws::Organizations
1201
1233
  # ListOrganizationalUnitsForParent operation.
1202
1234
  #
1203
1235
  # The [regex pattern][1] for an organizational unit ID string requires
1204
- # "ou-" followed by from 4 to 32 lower-case letters or digits (the
1205
- # ID of the root that contains the OU) followed by a second "-" dash
1206
- # and from 8 to 32 additional lower-case letters or digits.
1236
+ # "ou-" followed by from 4 to 32 lowercase letters or digits (the ID
1237
+ # of the root that contains the OU). This string is followed by a
1238
+ # second "-" dash and from 8 to 32 additional lowercase letters or
1239
+ # digits.
1207
1240
  #
1208
1241
  #
1209
1242
  #
@@ -1241,7 +1274,7 @@ module Aws::Organizations
1241
1274
  # ListPoliciesForTarget operations.
1242
1275
  #
1243
1276
  # The [regex pattern][1] for a policy ID string requires "p-"
1244
- # followed by from 8 to 128 lower-case letters or digits.
1277
+ # followed by from 8 to 128 lowercase letters or digits.
1245
1278
  #
1246
1279
  #
1247
1280
  #
@@ -1293,7 +1326,7 @@ module Aws::Organizations
1293
1326
  # operations.
1294
1327
  #
1295
1328
  # The [regex pattern][1] for a policy ID string requires "p-"
1296
- # followed by from 8 to 128 lower-case letters or digits.
1329
+ # followed by from 8 to 128 lowercase letters or digits.
1297
1330
  #
1298
1331
  #
1299
1332
  #
@@ -1309,14 +1342,15 @@ module Aws::Organizations
1309
1342
  # following:
1310
1343
  #
1311
1344
  # * **Root** - A string that begins with "r-" followed by from 4 to
1312
- # 32 lower-case letters or digits.
1345
+ # 32 lowercase letters or digits.
1313
1346
  #
1314
1347
  # * **Account** - A string that consists of exactly 12 digits.
1315
1348
  #
1316
1349
  # * **Organizational unit (OU)** - A string that begins with "ou-"
1317
- # followed by from 4 to 32 lower-case letters or digits (the ID of
1318
- # the root that the OU is in) followed by a second "-" dash and
1319
- # from 8 to 32 additional lower-case letters or digits.
1350
+ # followed by from 4 to 32 lowercase letters or digits (the ID of
1351
+ # the root that the OU is in). This string is followed by a second
1352
+ # "-" dash and from 8 to 32 additional lowercase letters or
1353
+ # digits.
1320
1354
  #
1321
1355
  #
1322
1356
  #
@@ -1356,7 +1390,7 @@ module Aws::Organizations
1356
1390
  #
1357
1391
  # {
1358
1392
  # root_id: "RootId", # required
1359
- # policy_type: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY
1393
+ # policy_type: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY
1360
1394
  # }
1361
1395
  #
1362
1396
  # @!attribute [rw] root_id
@@ -1364,7 +1398,7 @@ module Aws::Organizations
1364
1398
  # a policy type. You can get the ID from the ListRoots operation.
1365
1399
  #
1366
1400
  # The [regex pattern][1] for a root ID string requires "r-" followed
1367
- # by from 4 to 32 lower-case letters or digits.
1401
+ # by from 4 to 32 lowercase letters or digits.
1368
1402
  #
1369
1403
  #
1370
1404
  #
@@ -1460,6 +1494,52 @@ module Aws::Organizations
1460
1494
  include Aws::Structure
1461
1495
  end
1462
1496
 
1497
+ # Contains rules to be applied to the affected accounts. The effective
1498
+ # policy is the aggregation of any policies the account inherits, plus
1499
+ # any policy directly attached to the account.
1500
+ #
1501
+ # @!attribute [rw] policy_content
1502
+ # The text content of the policy.
1503
+ # @return [String]
1504
+ #
1505
+ # @!attribute [rw] last_updated_timestamp
1506
+ # The time of the last update to this policy.
1507
+ # @return [Time]
1508
+ #
1509
+ # @!attribute [rw] target_id
1510
+ # The account ID of the policy target.
1511
+ # @return [String]
1512
+ #
1513
+ # @!attribute [rw] policy_type
1514
+ # The policy type.
1515
+ # @return [String]
1516
+ #
1517
+ # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/EffectivePolicy AWS API Documentation
1518
+ #
1519
+ class EffectivePolicy < Struct.new(
1520
+ :policy_content,
1521
+ :last_updated_timestamp,
1522
+ :target_id,
1523
+ :policy_type)
1524
+ include Aws::Structure
1525
+ end
1526
+
1527
+ # If you ran this action on the master account, this policy type is not
1528
+ # enabled. If you ran the action on a member account, the account
1529
+ # doesn't have an effective policy of this type. Contact the
1530
+ # administrator of your organization about attaching a policy of this
1531
+ # type to the account.
1532
+ #
1533
+ # @!attribute [rw] message
1534
+ # @return [String]
1535
+ #
1536
+ # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/EffectivePolicyNotFoundException AWS API Documentation
1537
+ #
1538
+ class EffectivePolicyNotFoundException < Struct.new(
1539
+ :message)
1540
+ include Aws::Structure
1541
+ end
1542
+
1463
1543
  # @note When making an API call, you may pass EnableAWSServiceAccessRequest
1464
1544
  # data as a hash:
1465
1545
  #
@@ -1503,7 +1583,7 @@ module Aws::Organizations
1503
1583
  #
1504
1584
  # {
1505
1585
  # root_id: "RootId", # required
1506
- # policy_type: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY
1586
+ # policy_type: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY
1507
1587
  # }
1508
1588
  #
1509
1589
  # @!attribute [rw] root_id
@@ -1511,7 +1591,7 @@ module Aws::Organizations
1511
1591
  # policy type. You can get the ID from the ListRoots operation.
1512
1592
  #
1513
1593
  # The [regex pattern][1] for a root ID string requires "r-" followed
1514
- # by from 4 to 32 lower-case letters or digits.
1594
+ # by from 4 to 32 lowercase letters or digits.
1515
1595
  #
1516
1596
  #
1517
1597
  #
@@ -1584,12 +1664,13 @@ module Aws::Organizations
1584
1664
 
1585
1665
  # Contains information that must be exchanged to securely establish a
1586
1666
  # relationship between two accounts (an *originator* and a *recipient*).
1587
- # For example, when a master account (the originator) invites another
1588
- # account (the recipient) to join its organization, the two accounts
1589
- # exchange information as a series of handshake requests and responses.
1667
+ # For example, assume that a master account (the originator) invites
1668
+ # another account (the recipient) to join its organization. In that
1669
+ # case, the two accounts exchange information as a series of handshake
1670
+ # requests and responses.
1590
1671
  #
1591
1672
  # **Note:** Handshakes that are CANCELED, ACCEPTED, or DECLINED show up
1592
- # in lists for only 30 days after entering that state After that they
1673
+ # in lists for only 30 days after entering that state. After that, they
1593
1674
  # are deleted.
1594
1675
  #
1595
1676
  # @!attribute [rw] id
@@ -1936,6 +2017,8 @@ module Aws::Organizations
1936
2017
  #
1937
2018
  # * INVALID\_ENUM: You specified an invalid value.
1938
2019
  #
2020
+ # * INVALID\_ENUM\_POLICY\_TYPE: You specified an invalid policy type.
2021
+ #
1939
2022
  # * INVALID\_FULL\_NAME\_TARGET: You specified a full name that contains
1940
2023
  # invalid characters.
1941
2024
  #
@@ -2250,12 +2333,13 @@ module Aws::Organizations
2250
2333
  # following:
2251
2334
  #
2252
2335
  # * **Root** - A string that begins with "r-" followed by from 4 to
2253
- # 32 lower-case letters or digits.
2336
+ # 32 lowercase letters or digits.
2254
2337
  #
2255
2338
  # * **Organizational unit (OU)** - A string that begins with "ou-"
2256
- # followed by from 4 to 32 lower-case letters or digits (the ID of
2257
- # the root that the OU is in) followed by a second "-" dash and
2258
- # from 8 to 32 additional lower-case letters or digits.
2339
+ # followed by from 4 to 32 lowercase letters or digits (the ID of
2340
+ # the root that the OU is in). This string is followed by a second
2341
+ # "-" dash and from 8 to 32 additional lowercase letters or
2342
+ # digits.
2259
2343
  #
2260
2344
  #
2261
2345
  #
@@ -2398,11 +2482,11 @@ module Aws::Organizations
2398
2482
  # Filters the handshakes that you want included in the response. The
2399
2483
  # default is all types. Use the `ActionType` element to limit the
2400
2484
  # output to only a specified type, such as `INVITE`,
2401
- # `ENABLE_ALL_FEATURES`, or `APPROVE_ALL_FEATURES`. Alternatively, for
2402
- # the `ENABLE_ALL_FEATURES` handshake that generates a separate child
2403
- # handshake for each member account, you can specify
2404
- # `ParentHandshakeId` to see only the handshakes that were generated
2405
- # by that parent request.
2485
+ # `ENABLE_ALL_FEATURES`, or `APPROVE_ALL_FEATURES`. Alternatively, you
2486
+ # can specify the `ENABLE_ALL_FEATURES` handshake, which generates a
2487
+ # separate child handshake for each member account. When you do
2488
+ # specify `ParentHandshakeId` to see only the handshakes that were
2489
+ # generated by that parent request.
2406
2490
  # @return [Types::HandshakeFilter]
2407
2491
  #
2408
2492
  # @!attribute [rw] next_token
@@ -2471,11 +2555,11 @@ module Aws::Organizations
2471
2555
  # A filter of the handshakes that you want included in the response.
2472
2556
  # The default is all types. Use the `ActionType` element to limit the
2473
2557
  # output to only a specified type, such as `INVITE`,
2474
- # `ENABLE-ALL-FEATURES`, or `APPROVE-ALL-FEATURES`. Alternatively, for
2475
- # the `ENABLE-ALL-FEATURES` handshake that generates a separate child
2476
- # handshake for each member account, you can specify the
2477
- # `ParentHandshakeId` to see only the handshakes that were generated
2478
- # by that parent request.
2558
+ # `ENABLE-ALL-FEATURES`, or `APPROVE-ALL-FEATURES`. Alternatively, you
2559
+ # can specify the `ENABLE-ALL-FEATURES` handshake, which generates a
2560
+ # separate child handshake for each member account. When you do,
2561
+ # specify the `ParentHandshakeId` to see only the handshakes that were
2562
+ # generated by that parent request.
2479
2563
  # @return [Types::HandshakeFilter]
2480
2564
  #
2481
2565
  # @!attribute [rw] next_token
@@ -2545,12 +2629,13 @@ module Aws::Organizations
2545
2629
  # following:
2546
2630
  #
2547
2631
  # * **Root** - A string that begins with "r-" followed by from 4 to
2548
- # 32 lower-case letters or digits.
2632
+ # 32 lowercase letters or digits.
2549
2633
  #
2550
2634
  # * **Organizational unit (OU)** - A string that begins with "ou-"
2551
- # followed by from 4 to 32 lower-case letters or digits (the ID of
2552
- # the root that the OU is in) followed by a second "-" dash and
2553
- # from 8 to 32 additional lower-case letters or digits.
2635
+ # followed by from 4 to 32 lowercase letters or digits (the ID of
2636
+ # the root that the OU is in). This string is followed by a second
2637
+ # "-" dash and from 8 to 32 additional lowercase letters or
2638
+ # digits.
2554
2639
  #
2555
2640
  #
2556
2641
  #
@@ -2625,9 +2710,10 @@ module Aws::Organizations
2625
2710
  # * **Account** - A string that consists of exactly 12 digits.
2626
2711
  #
2627
2712
  # * **Organizational unit (OU)** - A string that begins with "ou-"
2628
- # followed by from 4 to 32 lower-case letters or digits (the ID of
2629
- # the root that contains the OU) followed by a second "-" dash and
2630
- # from 8 to 32 additional lower-case letters or digits.
2713
+ # followed by from 4 to 32 lowercase letters or digits (the ID of
2714
+ # the root that contains the OU). This string is followed by a
2715
+ # second "-" dash and from 8 to 32 additional lowercase letters or
2716
+ # digits.
2631
2717
  #
2632
2718
  #
2633
2719
  #
@@ -2688,7 +2774,7 @@ module Aws::Organizations
2688
2774
  #
2689
2775
  # {
2690
2776
  # target_id: "PolicyTargetId", # required
2691
- # filter: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY
2777
+ # filter: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY
2692
2778
  # next_token: "NextToken",
2693
2779
  # max_results: 1,
2694
2780
  # }
@@ -2701,14 +2787,15 @@ module Aws::Organizations
2701
2787
  # following:
2702
2788
  #
2703
2789
  # * **Root** - A string that begins with "r-" followed by from 4 to
2704
- # 32 lower-case letters or digits.
2790
+ # 32 lowercase letters or digits.
2705
2791
  #
2706
2792
  # * **Account** - A string that consists of exactly 12 digits.
2707
2793
  #
2708
2794
  # * **Organizational unit (OU)** - A string that begins with "ou-"
2709
- # followed by from 4 to 32 lower-case letters or digits (the ID of
2710
- # the root that the OU is in) followed by a second "-" dash and
2711
- # from 8 to 32 additional lower-case letters or digits.
2795
+ # followed by from 4 to 32 lowercase letters or digits (the ID of
2796
+ # the root that the OU is in). This string is followed by a second
2797
+ # "-" dash and from 8 to 32 additional lowercase letters or
2798
+ # digits.
2712
2799
  #
2713
2800
  #
2714
2801
  #
@@ -2773,7 +2860,7 @@ module Aws::Organizations
2773
2860
  # data as a hash:
2774
2861
  #
2775
2862
  # {
2776
- # filter: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY
2863
+ # filter: "SERVICE_CONTROL_POLICY", # required, accepts SERVICE_CONTROL_POLICY, TAG_POLICY
2777
2864
  # next_token: "NextToken",
2778
2865
  # max_results: 1,
2779
2866
  # }
@@ -2951,7 +3038,7 @@ module Aws::Organizations
2951
3038
  # to know.
2952
3039
  #
2953
3040
  # The [regex pattern][1] for a policy ID string requires "p-"
2954
- # followed by from 8 to 128 lower-case letters or digits.
3041
+ # followed by from 8 to 128 lowercase letters or digits.
2955
3042
  #
2956
3043
  #
2957
3044
  #
@@ -3069,12 +3156,13 @@ module Aws::Organizations
3069
3156
  # following:
3070
3157
  #
3071
3158
  # * **Root** - A string that begins with "r-" followed by from 4 to
3072
- # 32 lower-case letters or digits.
3159
+ # 32 lowercase letters or digits.
3073
3160
  #
3074
3161
  # * **Organizational unit (OU)** - A string that begins with "ou-"
3075
- # followed by from 4 to 32 lower-case letters or digits (the ID of
3076
- # the root that the OU is in) followed by a second "-" dash and
3077
- # from 8 to 32 additional lower-case letters or digits.
3162
+ # followed by from 4 to 32 lowercase letters or digits (the ID of
3163
+ # the root that the OU is in). This string is followed by a second
3164
+ # "-" dash and from 8 to 32 additional lowercase letters or
3165
+ # digits.
3078
3166
  #
3079
3167
  #
3080
3168
  #
@@ -3089,12 +3177,13 @@ module Aws::Organizations
3089
3177
  # following:
3090
3178
  #
3091
3179
  # * **Root** - A string that begins with "r-" followed by from 4 to
3092
- # 32 lower-case letters or digits.
3180
+ # 32 lowercase letters or digits.
3093
3181
  #
3094
3182
  # * **Organizational unit (OU)** - A string that begins with "ou-"
3095
- # followed by from 4 to 32 lower-case letters or digits (the ID of
3096
- # the root that the OU is in) followed by a second "-" dash and
3097
- # from 8 to 32 additional lower-case letters or digits.
3183
+ # followed by from 4 to 32 lowercase letters or digits (the ID of
3184
+ # the root that the OU is in). This string is followed by a second
3185
+ # "-" dash and from 8 to 32 additional lowercase letters or
3186
+ # digits.
3098
3187
  #
3099
3188
  #
3100
3189
  #
@@ -3113,7 +3202,7 @@ module Aws::Organizations
3113
3202
  # Contains details about an organization. An organization is a
3114
3203
  # collection of accounts that are centrally managed together using
3115
3204
  # consolidated billing, organized hierarchically with organizational
3116
- # units (OUs), and controlled with policies .
3205
+ # units (OUs), and controlled with policies.
3117
3206
  #
3118
3207
  # @!attribute [rw] id
3119
3208
  # The unique identifier (ID) of an organization.
@@ -3231,8 +3320,9 @@ module Aws::Organizations
3231
3320
  #
3232
3321
  # The [regex pattern][1] for an organizational unit ID string requires
3233
3322
  # "ou-" followed by from 4 to 32 lower-case letters or digits (the
3234
- # ID of the root that contains the OU) followed by a second "-" dash
3235
- # and from 8 to 32 additional lower-case letters or digits.
3323
+ # ID of the root that contains the OU). This string is followed by a
3324
+ # second "-" dash and from 8 to 32 additional lower-case letters or
3325
+ # digits.
3236
3326
  #
3237
3327
  #
3238
3328
  #
@@ -3306,13 +3396,14 @@ module Aws::Organizations
3306
3396
  # The [regex pattern][1] for a parent ID string requires one of the
3307
3397
  # following:
3308
3398
  #
3309
- # * Root: a string that begins with "r-" followed by from 4 to 32
3399
+ # * Root: A string that begins with "r-" followed by from 4 to 32
3310
3400
  # lower-case letters or digits.
3311
3401
  #
3312
- # * Organizational unit (OU): a string that begins with "ou-"
3402
+ # * Organizational unit (OU): A string that begins with "ou-"
3313
3403
  # followed by from 4 to 32 lower-case letters or digits (the ID of
3314
- # the root that the OU is in) followed by a second "-" dash and
3315
- # from 8 to 32 additional lower-case letters or digits.
3404
+ # the root that the OU is in). This string is followed by a second
3405
+ # "-" dash and from 8 to 32 additional lower-case letters or
3406
+ # digits.
3316
3407
  #
3317
3408
  #
3318
3409
  #
@@ -3363,6 +3454,19 @@ module Aws::Organizations
3363
3454
  include Aws::Structure
3364
3455
  end
3365
3456
 
3457
+ # Changes to the effective policy are in progress, and its contents
3458
+ # can't be returned. Try the operation again later.
3459
+ #
3460
+ # @!attribute [rw] message
3461
+ # @return [String]
3462
+ #
3463
+ # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/PolicyChangesInProgressException AWS API Documentation
3464
+ #
3465
+ class PolicyChangesInProgressException < Struct.new(
3466
+ :message)
3467
+ include Aws::Structure
3468
+ end
3469
+
3366
3470
  # The policy is attached to one or more entities. You must detach it
3367
3471
  # from all roots, OUs, and accounts before performing this operation.
3368
3472
  #
@@ -3447,7 +3551,7 @@ module Aws::Organizations
3447
3551
  # @return [String]
3448
3552
  #
3449
3553
  # @!attribute [rw] aws_managed
3450
- # A boolean value that indicates whether the specified policy is an
3554
+ # A Boolean value that indicates whether the specified policy is an
3451
3555
  # AWS managed policy. If true, then you can attach the policy to
3452
3556
  # roots, OUs, or accounts, but you cannot edit it.
3453
3557
  # @return [Boolean]
@@ -3473,15 +3577,16 @@ module Aws::Organizations
3473
3577
  # The [regex pattern][1] for a target ID string requires one of the
3474
3578
  # following:
3475
3579
  #
3476
- # * Root: a string that begins with "r-" followed by from 4 to 32
3580
+ # * Root: A string that begins with "r-" followed by from 4 to 32
3477
3581
  # lower-case letters or digits.
3478
3582
  #
3479
- # * Account: a string that consists of exactly 12 digits.
3583
+ # * Account: A string that consists of exactly 12 digits.
3480
3584
  #
3481
- # * Organizational unit (OU): a string that begins with "ou-"
3585
+ # * Organizational unit (OU): A string that begins with "ou-"
3482
3586
  # followed by from 4 to 32 lower-case letters or digits (the ID of
3483
- # the root that the OU is in) followed by a second "-" dash and
3484
- # from 8 to 32 additional lower-case letters or digits.
3587
+ # the root that the OU is in). This string is followed by a second
3588
+ # "-" dash and from 8 to 32 additional lower-case letters or
3589
+ # digits.
3485
3590
  #
3486
3591
  #
3487
3592
  #
@@ -3586,9 +3691,9 @@ module Aws::Organizations
3586
3691
  #
3587
3692
  # @!attribute [rw] status
3588
3693
  # The status of the policy type as it relates to the associated root.
3589
- # To attach a policy of the specified type to a root or to an OU or
3590
- # account in that root, it must be available in the organization and
3591
- # enabled for that root.
3694
+ # You can attach a policy of the specified type to a root or to an OU
3695
+ # or account in that root. To do so, the policy must be available in
3696
+ # the organization and enabled for that root.
3592
3697
  # @return [String]
3593
3698
  #
3594
3699
  # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/PolicyTypeSummary AWS API Documentation
@@ -3873,9 +3978,10 @@ module Aws::Organizations
3873
3978
  # can get the ID from the ListOrganizationalUnitsForParent operation.
3874
3979
  #
3875
3980
  # The [regex pattern][1] for an organizational unit ID string requires
3876
- # "ou-" followed by from 4 to 32 lower-case letters or digits (the
3877
- # ID of the root that contains the OU) followed by a second "-" dash
3878
- # and from 8 to 32 additional lower-case letters or digits.
3981
+ # "ou-" followed by from 4 to 32 lowercase letters or digits (the ID
3982
+ # of the root that contains the OU). This string is followed by a
3983
+ # second "-" dash and from 8 to 32 additional lowercase letters or
3984
+ # digits.
3879
3985
  #
3880
3986
  #
3881
3987
  #
@@ -3927,7 +4033,7 @@ module Aws::Organizations
3927
4033
  # The unique identifier (ID) of the policy that you want to update.
3928
4034
  #
3929
4035
  # The [regex pattern][1] for a policy ID string requires "p-"
3930
- # followed by from 8 to 128 lower-case letters or digits.
4036
+ # followed by from 8 to 128 lowercase letters or digits.
3931
4037
  #
3932
4038
  #
3933
4039
  #