aws-sdk-organizations 1.36.0 → 1.41.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,6 +6,7 @@
6
6
  # WARNING ABOUT GENERATED CODE
7
7
 
8
8
  module Aws::Organizations
9
+
9
10
  class Resource
10
11
 
11
12
  # @param options ({})
@@ -169,8 +169,21 @@ 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
+ # The specified account is already a delegated administrator for this
173
+ # AWS service.
174
+ #
175
+ # @!attribute [rw] message
176
+ # @return [String]
177
+ #
178
+ # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/AccountAlreadyRegisteredException AWS API Documentation
179
+ #
180
+ class AccountAlreadyRegisteredException < Struct.new(
181
+ :message)
182
+ include Aws::Structure
183
+ end
184
+
185
+ # We can't find an AWS account with the `AccountId` that you specified,
186
+ # or the account whose credentials you used to make this request isn't
174
187
  # a member of an organization.
175
188
  #
176
189
  # @!attribute [rw] message
@@ -183,6 +196,19 @@ module Aws::Organizations
183
196
  include Aws::Structure
184
197
  end
185
198
 
199
+ # The specified account is not a delegated administrator for this AWS
200
+ # service.
201
+ #
202
+ # @!attribute [rw] message
203
+ # @return [String]
204
+ #
205
+ # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/AccountNotRegisteredException AWS API Documentation
206
+ #
207
+ class AccountNotRegisteredException < Struct.new(
208
+ :message)
209
+ include Aws::Structure
210
+ end
211
+
186
212
  # You can't invite an existing account to your organization until you
187
213
  # verify that you own the email address associated with the master
188
214
  # account. For more information, see [Email Address Verification][1] in
@@ -368,10 +394,11 @@ module Aws::Organizations
368
394
  end
369
395
 
370
396
  # Performing this operation violates a minimum or maximum value limit.
371
- # Examples include attempting to remove the last service control policy
372
- # (SCP) from an OU or root, or attaching too many policies to an
373
- # account, OU, or root. This exception includes a reason that contains
374
- # additional information about the violated limit.
397
+ # For example, attempting to remove the last service control policy
398
+ # (SCP) from an OU or root, inviting or creating too many accounts to
399
+ # the organization, or attaching too many policies to an account, OU, or
400
+ # root. This exception includes a reason that contains additional
401
+ # information about the violated limit.
375
402
  #
376
403
  # Some of the reasons in the following list might not be applicable to
377
404
  # this specific API or operation:
@@ -412,6 +439,17 @@ module Aws::Organizations
412
439
  # after an hour it continues to fail with this error, contact [AWS
413
440
  # Support][2].
414
441
  #
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
447
+ # delegated administrator.
448
+ #
449
+ # * DELEGATED\_ADMINISTRATOR\_EXISTS\_FOR\_THIS\_SERVICE: To complete
450
+ # this operation, you must first deregister all delegated
451
+ # administrators for this service.
452
+ #
415
453
  # * HANDSHAKE\_RATE\_LIMIT\_EXCEEDED: You attempted to exceed the number
416
454
  # of handshakes that you can send in one day.
417
455
  #
@@ -439,6 +477,10 @@ module Aws::Organizations
439
477
  # account information has not yet been provided][1] in the *AWS
440
478
  # Organizations User Guide.*
441
479
  #
480
+ # * MAX\_DELEGATED\_ADMINISTRATORS\_FOR\_SERVICE\_LIMIT\_EXCEEDED: You
481
+ # attempted to register more delegated administrators than allowed for
482
+ # the service principal.
483
+ #
442
484
  # * MAX\_POLICY\_TYPE\_ATTACHMENT\_LIMIT\_EXCEEDED: You attempted to
443
485
  # exceed the number of policies of a certain type that can be attached
444
486
  # to an entity at one time.
@@ -454,8 +496,9 @@ module Aws::Organizations
454
496
  # User Guide.*
455
497
  #
456
498
  # * MIN\_POLICY\_TYPE\_ATTACHMENT\_LIMIT\_EXCEEDED: You attempted to
457
- # detach a policy from an entity, which would cause the entity to have
458
- # fewer than the minimum number of policies of the required type.
499
+ # detach a policy from an entity that would cause the entity to have
500
+ # fewer than the minimum number of policies of a certain type
501
+ # required.
459
502
  #
460
503
  # * OU\_DEPTH\_LIMIT\_EXCEEDED: You attempted to create an OU tree that
461
504
  # is too many levels deep.
@@ -468,20 +511,14 @@ module Aws::Organizations
468
511
  # * OU\_NUMBER\_LIMIT\_EXCEEDED: You attempted to exceed the number of
469
512
  # OUs that you can have in an organization.
470
513
  #
471
- # * POLICY\_NUMBER\_LIMIT\_EXCEEDED: You attempted to exceed the number
514
+ # * POLICY\_NUMBER\_LIMIT\_EXCEEDED. You attempted to exceed the number
472
515
  # of policies that you can have in an organization.
473
516
  #
474
- # * TAG\_POLICY\_VIOLATION: Tags associated with the resource must be
475
- # compliant with the tag policy that’s in effect for the account. For
476
- # more information, see [Tag Policies][4] in the *AWS Organizations
477
- # User Guide.*
478
- #
479
517
  #
480
518
  #
481
519
  # [1]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info
482
520
  # [2]: https://console.aws.amazon.com/support/home#/
483
521
  # [3]: http://docs.aws.amazon.com/govcloud-us/latest/UserGuide/govcloud-organizations.html
484
- # [4]: http://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html
485
522
  #
486
523
  # @!attribute [rw] message
487
524
  # @return [String]
@@ -532,10 +569,13 @@ module Aws::Organizations
532
569
  # `OrganizationAccountAccessRole`.
533
570
  #
534
571
  # For more information about how to use this role to access the member
535
- # account, see [Accessing and Administering the Member Accounts in
536
- # Your Organization][1] in the *AWS Organizations User Guide*. Also
537
- # see steps 2 and 3 in [Tutorial: Delegate Access Across AWS Accounts
538
- # Using IAM Roles][2] in the *IAM User Guide.*
572
+ # account, see the following links:
573
+ #
574
+ # * [Accessing and Administering the Member Accounts in Your
575
+ # Organization][1] in the *AWS Organizations User Guide*
576
+ #
577
+ # * Steps 2 and 3 in [Tutorial: Delegate Access Across AWS Accounts
578
+ # Using IAM Roles][2] in the *IAM User Guide*
539
579
  #
540
580
  # The [regex pattern][3] that is used to validate this parameter. The
541
581
  # pattern can include uppercase letters, lowercase letters, digits
@@ -556,9 +596,9 @@ module Aws::Organizations
556
596
  # Access to the Billing and Cost Management Console][1] in the *AWS
557
597
  # Billing and Cost Management User Guide*.
558
598
  #
559
- # If you don't specify this parameter, the value defaults to `ALLOW`.
560
- # This value allows IAM users and roles with the required permissions
561
- # to access billing information for the new account.
599
+ # If you don't specify this parameter, the value defaults to `ALLOW`,
600
+ # and IAM users and roles with the required permissions can access
601
+ # billing information for the new account.
562
602
  #
563
603
  #
564
604
  #
@@ -673,7 +713,7 @@ module Aws::Organizations
673
713
  #
674
714
  # * INTERNAL\_FAILURE: The account could not be created because of an
675
715
  # internal failure. Try again later. If the problem persists,
676
- # contact AWS Support.
716
+ # contact Customer Support.
677
717
  # @return [String]
678
718
  #
679
719
  # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/CreateAccountStatus AWS API Documentation
@@ -690,7 +730,7 @@ module Aws::Organizations
690
730
  include Aws::Structure
691
731
  end
692
732
 
693
- # We can't find a create account request with the
733
+ # We can't find an create account request with the
694
734
  # `CreateAccountRequestId` that you specified.
695
735
  #
696
736
  # @!attribute [rw] message
@@ -721,8 +761,8 @@ module Aws::Organizations
721
761
  # user of the account or remove an account that was created with an
722
762
  # invalid email address. Like all request parameters for
723
763
  # `CreateGovCloudAccount`, the request for the email address for the
724
- # AWS GovCloud (US) account originates from the commercial Region. It
725
- # does not come from the AWS GovCloud (US) Region.
764
+ # AWS GovCloud (US) account originates from the commercial Region, not
765
+ # from the AWS GovCloud (US) Region.
726
766
  # @return [String]
727
767
  #
728
768
  # @!attribute [rw] account_name
@@ -744,8 +784,8 @@ module Aws::Organizations
744
784
  #
745
785
  # For more information about how to use this role to access the member
746
786
  # account, see [Accessing and Administering the Member Accounts in
747
- # Your Organization][1] in the *AWS Organizations User Guide*. See
748
- # also steps 2 and 3 in [Tutorial: Delegate Access Across AWS Accounts
787
+ # Your Organization][1] in the *AWS Organizations User Guide* and
788
+ # steps 2 and 3 in [Tutorial: Delegate Access Across AWS Accounts
749
789
  # Using IAM Roles][2] in the *IAM User Guide.*
750
790
  #
751
791
  # The [regex pattern][3] that is used to validate this parameter. The
@@ -819,11 +859,11 @@ module Aws::Organizations
819
859
  # The consolidated billing feature subset isn't available for
820
860
  # organizations in the AWS GovCloud (US) Region.
821
861
  #
822
- # * `ALL`\: In addition to all the features that consolidated billing
823
- # feature set supports, the master account can also apply any policy
824
- # type to any member account in the organization. For more
825
- # information, see [All features][2] in the *AWS Organizations User
826
- # Guide.*
862
+ # * `ALL`\: In addition to all the features supported by the
863
+ # consolidated billing feature set, the master account can also
864
+ # apply any policy type to any member account in the organization.
865
+ # For more information, see [All features][2] in the *AWS
866
+ # Organizations User Guide.*
827
867
  #
828
868
  #
829
869
  #
@@ -913,12 +953,12 @@ module Aws::Organizations
913
953
  # }
914
954
  #
915
955
  # @!attribute [rw] content
916
- # The policy content to add to the new policy. For example, you could
917
- # create a [service control policy][1] (SCP) that specifies the
918
- # permissions that administrators in attached accounts can delegate to
919
- # their users, groups, and roles. The string for this SCP must be JSON
920
- # text. For more information about the SCP syntax, see [Service
921
- # Control Policy Syntax][2] in the *AWS Organizations User Guide.*
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.*
922
962
  #
923
963
  #
924
964
  #
@@ -943,6 +983,11 @@ module Aws::Organizations
943
983
  #
944
984
  # @!attribute [rw] type
945
985
  # The type of policy to create.
986
+ #
987
+ # <note markdown="1"> In the current release, the only type of policy that you can create
988
+ # is a service control policy (SCP).
989
+ #
990
+ # </note>
946
991
  # @return [String]
947
992
  #
948
993
  # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/CreatePolicyRequest AWS API Documentation
@@ -1005,6 +1050,82 @@ module Aws::Organizations
1005
1050
  include Aws::Structure
1006
1051
  end
1007
1052
 
1053
+ # Contains information about the delegated administrator.
1054
+ #
1055
+ # @!attribute [rw] id
1056
+ # The unique identifier (ID) of the delegated administrator's
1057
+ # account.
1058
+ # @return [String]
1059
+ #
1060
+ # @!attribute [rw] arn
1061
+ # The Amazon Resource Name (ARN) of the delegated administrator's
1062
+ # account.
1063
+ # @return [String]
1064
+ #
1065
+ # @!attribute [rw] email
1066
+ # The email address that is associated with the delegated
1067
+ # administrator's AWS account.
1068
+ # @return [String]
1069
+ #
1070
+ # @!attribute [rw] name
1071
+ # The friendly name of the delegated administrator's account.
1072
+ # @return [String]
1073
+ #
1074
+ # @!attribute [rw] status
1075
+ # The status of the delegated administrator's account in the
1076
+ # organization.
1077
+ # @return [String]
1078
+ #
1079
+ # @!attribute [rw] joined_method
1080
+ # The method by which the delegated administrator's account joined
1081
+ # the organization.
1082
+ # @return [String]
1083
+ #
1084
+ # @!attribute [rw] joined_timestamp
1085
+ # The date when the delegated administrator's account became a part
1086
+ # of the organization.
1087
+ # @return [Time]
1088
+ #
1089
+ # @!attribute [rw] delegation_enabled_date
1090
+ # The date when the account was made a delegated administrator.
1091
+ # @return [Time]
1092
+ #
1093
+ # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DelegatedAdministrator AWS API Documentation
1094
+ #
1095
+ class DelegatedAdministrator < Struct.new(
1096
+ :id,
1097
+ :arn,
1098
+ :email,
1099
+ :name,
1100
+ :status,
1101
+ :joined_method,
1102
+ :joined_timestamp,
1103
+ :delegation_enabled_date)
1104
+ include Aws::Structure
1105
+ end
1106
+
1107
+ # Contains information about the AWS service for which the account is a
1108
+ # delegated administrator.
1109
+ #
1110
+ # @!attribute [rw] service_principal
1111
+ # The name of a service that can request an operation for the
1112
+ # specified service. This is typically in the form of a URL, such as:
1113
+ # ` servicename.amazonaws.com`.
1114
+ # @return [String]
1115
+ #
1116
+ # @!attribute [rw] delegation_enabled_date
1117
+ # The date that the account became a delegated administrator for this
1118
+ # service.
1119
+ # @return [Time]
1120
+ #
1121
+ # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DelegatedService AWS API Documentation
1122
+ #
1123
+ class DelegatedService < Struct.new(
1124
+ :service_principal,
1125
+ :delegation_enabled_date)
1126
+ include Aws::Structure
1127
+ end
1128
+
1008
1129
  # @note When making an API call, you may pass DeleteOrganizationalUnitRequest
1009
1130
  # data as a hash:
1010
1131
  #
@@ -1063,6 +1184,38 @@ module Aws::Organizations
1063
1184
  include Aws::Structure
1064
1185
  end
1065
1186
 
1187
+ # @note When making an API call, you may pass DeregisterDelegatedAdministratorRequest
1188
+ # data as a hash:
1189
+ #
1190
+ # {
1191
+ # account_id: "AccountId", # required
1192
+ # service_principal: "ServicePrincipal", # required
1193
+ # }
1194
+ #
1195
+ # @!attribute [rw] account_id
1196
+ # The account ID number of the member account in the organization that
1197
+ # you want to deregister as a delegated administrator.
1198
+ # @return [String]
1199
+ #
1200
+ # @!attribute [rw] service_principal
1201
+ # The service principal name of an AWS service for which the account
1202
+ # is a delegated administrator.
1203
+ #
1204
+ # Delegated administrator privileges are revoked for only the
1205
+ # specified AWS service from the member account. If the specified
1206
+ # service is the only service for which the member account is a
1207
+ # delegated administrator, the operation also revokes Organizations
1208
+ # read action permissions.
1209
+ # @return [String]
1210
+ #
1211
+ # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DeregisterDelegatedAdministratorRequest AWS API Documentation
1212
+ #
1213
+ class DeregisterDelegatedAdministratorRequest < Struct.new(
1214
+ :account_id,
1215
+ :service_principal)
1216
+ include Aws::Structure
1217
+ end
1218
+
1066
1219
  # @note When making an API call, you may pass DescribeAccountRequest
1067
1220
  # data as a hash:
1068
1221
  #
@@ -1632,8 +1785,9 @@ module Aws::Organizations
1632
1785
  include Aws::Structure
1633
1786
  end
1634
1787
 
1635
- # A structure that contains details of a service principal that is
1636
- # enabled to integrate with AWS Organizations.
1788
+ # A structure that contains details of a service principal that
1789
+ # represents an AWS service that is enabled to integrate with AWS
1790
+ # Organizations.
1637
1791
  #
1638
1792
  # @!attribute [rw] service_principal
1639
1793
  # The name of the service principal. This is typically in the form of
@@ -1674,13 +1828,12 @@ module Aws::Organizations
1674
1828
 
1675
1829
  # Contains information that must be exchanged to securely establish a
1676
1830
  # relationship between two accounts (an *originator* and a *recipient*).
1677
- # For example, assume that a master account (the originator) invites
1678
- # another account (the recipient) to join its organization. In that
1679
- # case, the two accounts exchange information as a series of handshake
1680
- # requests and responses.
1831
+ # For example, when a master account (the originator) invites another
1832
+ # account (the recipient) to join its organization, the two accounts
1833
+ # exchange information as a series of handshake requests and responses.
1681
1834
  #
1682
1835
  # **Note:** Handshakes that are CANCELED, ACCEPTED, or DECLINED show up
1683
- # in lists for only 30 days after entering that state. After that, they
1836
+ # in lists for only 30 days after entering that state After that they
1684
1837
  # are deleted.
1685
1838
  #
1686
1839
  # @!attribute [rw] id
@@ -2027,8 +2180,6 @@ module Aws::Organizations
2027
2180
  #
2028
2181
  # * INVALID\_ENUM: You specified an invalid value.
2029
2182
  #
2030
- # * INVALID\_ENUM\_POLICY\_TYPE: You specified an invalid policy type.
2031
- #
2032
2183
  # * INVALID\_FULL\_NAME\_TARGET: You specified a full name that contains
2033
2184
  # invalid characters.
2034
2185
  #
@@ -2156,23 +2307,24 @@ module Aws::Organizations
2156
2307
  # }
2157
2308
  #
2158
2309
  # @!attribute [rw] next_token
2159
- # Use this parameter if you receive a `NextToken` response in a
2160
- # previous request that indicates that there is more output available.
2161
- # Set it to the value of the previous call's `NextToken` response to
2162
- # indicate where the output should continue from.
2310
+ # The parameter for receiving additional results if you receive a
2311
+ # `NextToken` response in a previous request. A `NextToken` response
2312
+ # indicates that more output is available. Set this parameter to the
2313
+ # value of the previous call's `NextToken` response to indicate where
2314
+ # the output should continue from.
2163
2315
  # @return [String]
2164
2316
  #
2165
2317
  # @!attribute [rw] max_results
2166
- # (Optional) Use this to limit the number of results you want included
2167
- # per page in the response. If you do not include this parameter, it
2168
- # defaults to a value that is specific to the operation. If additional
2169
- # items exist beyond the maximum you specify, the `NextToken` response
2170
- # element is present and has a value (is not null). Include that value
2171
- # as the `NextToken` request parameter in the next call to the
2172
- # operation to get the next part of the results. Note that
2173
- # Organizations might return fewer results than the maximum even when
2174
- # there are more results available. You should check `NextToken` after
2175
- # every operation to ensure that you receive all of the results.
2318
+ # The total number of results that you want included on each page of
2319
+ # the response. If you do not include this parameter, it defaults to a
2320
+ # value that is specific to the operation. If additional items exist
2321
+ # beyond the maximum you specify, the `NextToken` response element is
2322
+ # present and has a value (is not null). Include that value as the
2323
+ # `NextToken` request parameter in the next call to the operation to
2324
+ # get the next part of the results. Note that Organizations might
2325
+ # return fewer results than the maximum even when there are more
2326
+ # results available. You should check `NextToken` after every
2327
+ # operation to ensure that you receive all of the results.
2176
2328
  # @return [Integer]
2177
2329
  #
2178
2330
  # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListAWSServiceAccessForOrganizationRequest AWS API Documentation
@@ -2191,11 +2343,11 @@ module Aws::Organizations
2191
2343
  # @return [Array<Types::EnabledServicePrincipal>]
2192
2344
  #
2193
2345
  # @!attribute [rw] next_token
2194
- # If present, this value indicates that there is more output available
2195
- # than is included in the current response. Use this value in the
2196
- # `NextToken` request parameter in a subsequent call to the operation
2197
- # to get the next part of the output. You should repeat this until the
2198
- # `NextToken` response element comes back as `null`.
2346
+ # If present, indicates that more output is available than is included
2347
+ # in the current response. Use this value in the `NextToken` request
2348
+ # parameter in a subsequent call to the operation to get the next part
2349
+ # of the output. You should repeat this until the `NextToken` response
2350
+ # element comes back as `null`.
2199
2351
  # @return [String]
2200
2352
  #
2201
2353
  # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListAWSServiceAccessForOrganizationResponse AWS API Documentation
@@ -2221,23 +2373,24 @@ module Aws::Organizations
2221
2373
  # @return [String]
2222
2374
  #
2223
2375
  # @!attribute [rw] next_token
2224
- # Use this parameter if you receive a `NextToken` response in a
2225
- # previous request that indicates that there is more output available.
2226
- # Set it to the value of the previous call's `NextToken` response to
2227
- # indicate where the output should continue from.
2376
+ # The parameter for receiving additional results if you receive a
2377
+ # `NextToken` response in a previous request. A `NextToken` response
2378
+ # indicates that more output is available. Set this parameter to the
2379
+ # value of the previous call's `NextToken` response to indicate where
2380
+ # the output should continue from.
2228
2381
  # @return [String]
2229
2382
  #
2230
2383
  # @!attribute [rw] max_results
2231
- # (Optional) Use this to limit the number of results you want included
2232
- # per page in the response. If you do not include this parameter, it
2233
- # defaults to a value that is specific to the operation. If additional
2234
- # items exist beyond the maximum you specify, the `NextToken` response
2235
- # element is present and has a value (is not null). Include that value
2236
- # as the `NextToken` request parameter in the next call to the
2237
- # operation to get the next part of the results. Note that
2238
- # Organizations might return fewer results than the maximum even when
2239
- # there are more results available. You should check `NextToken` after
2240
- # every operation to ensure that you receive all of the results.
2384
+ # The total number of results that you want included on each page of
2385
+ # the response. If you do not include this parameter, it defaults to a
2386
+ # value that is specific to the operation. If additional items exist
2387
+ # beyond the maximum you specify, the `NextToken` response element is
2388
+ # present and has a value (is not null). Include that value as the
2389
+ # `NextToken` request parameter in the next call to the operation to
2390
+ # get the next part of the results. Note that Organizations might
2391
+ # return fewer results than the maximum even when there are more
2392
+ # results available. You should check `NextToken` after every
2393
+ # operation to ensure that you receive all of the results.
2241
2394
  # @return [Integer]
2242
2395
  #
2243
2396
  # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListAccountsForParentRequest AWS API Documentation
@@ -2254,11 +2407,11 @@ module Aws::Organizations
2254
2407
  # @return [Array<Types::Account>]
2255
2408
  #
2256
2409
  # @!attribute [rw] next_token
2257
- # If present, this value indicates that there is more output available
2258
- # than is included in the current response. Use this value in the
2259
- # `NextToken` request parameter in a subsequent call to the operation
2260
- # to get the next part of the output. You should repeat this until the
2261
- # `NextToken` response element comes back as `null`.
2410
+ # If present, indicates that more output is available than is included
2411
+ # in the current response. Use this value in the `NextToken` request
2412
+ # parameter in a subsequent call to the operation to get the next part
2413
+ # of the output. You should repeat this until the `NextToken` response
2414
+ # element comes back as `null`.
2262
2415
  # @return [String]
2263
2416
  #
2264
2417
  # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListAccountsForParentResponse AWS API Documentation
@@ -2278,23 +2431,24 @@ module Aws::Organizations
2278
2431
  # }
2279
2432
  #
2280
2433
  # @!attribute [rw] next_token
2281
- # Use this parameter if you receive a `NextToken` response in a
2282
- # previous request that indicates that there is more output available.
2283
- # Set it to the value of the previous call's `NextToken` response to
2284
- # indicate where the output should continue from.
2434
+ # The parameter for receiving additional results if you receive a
2435
+ # `NextToken` response in a previous request. A `NextToken` response
2436
+ # indicates that more output is available. Set this parameter to the
2437
+ # value of the previous call's `NextToken` response to indicate where
2438
+ # the output should continue from.
2285
2439
  # @return [String]
2286
2440
  #
2287
2441
  # @!attribute [rw] max_results
2288
- # (Optional) Use this to limit the number of results you want included
2289
- # per page in the response. If you do not include this parameter, it
2290
- # defaults to a value that is specific to the operation. If additional
2291
- # items exist beyond the maximum you specify, the `NextToken` response
2292
- # element is present and has a value (is not null). Include that value
2293
- # as the `NextToken` request parameter in the next call to the
2294
- # operation to get the next part of the results. Note that
2295
- # Organizations might return fewer results than the maximum even when
2296
- # there are more results available. You should check `NextToken` after
2297
- # every operation to ensure that you receive all of the results.
2442
+ # The total number of results that you want included on each page of
2443
+ # the response. If you do not include this parameter, it defaults to a
2444
+ # value that is specific to the operation. If additional items exist
2445
+ # beyond the maximum you specify, the `NextToken` response element is
2446
+ # present and has a value (is not null). Include that value as the
2447
+ # `NextToken` request parameter in the next call to the operation to
2448
+ # get the next part of the results. Note that Organizations might
2449
+ # return fewer results than the maximum even when there are more
2450
+ # results available. You should check `NextToken` after every
2451
+ # operation to ensure that you receive all of the results.
2298
2452
  # @return [Integer]
2299
2453
  #
2300
2454
  # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListAccountsRequest AWS API Documentation
@@ -2310,11 +2464,11 @@ module Aws::Organizations
2310
2464
  # @return [Array<Types::Account>]
2311
2465
  #
2312
2466
  # @!attribute [rw] next_token
2313
- # If present, this value indicates that there is more output available
2314
- # than is included in the current response. Use this value in the
2315
- # `NextToken` request parameter in a subsequent call to the operation
2316
- # to get the next part of the output. You should repeat this until the
2317
- # `NextToken` response element comes back as `null`.
2467
+ # If present, indicates that more output is available than is included
2468
+ # in the current response. Use this value in the `NextToken` request
2469
+ # parameter in a subsequent call to the operation to get the next part
2470
+ # of the output. You should repeat this until the `NextToken` response
2471
+ # element comes back as `null`.
2318
2472
  # @return [String]
2319
2473
  #
2320
2474
  # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListAccountsResponse AWS API Documentation
@@ -2361,23 +2515,24 @@ module Aws::Organizations
2361
2515
  # @return [String]
2362
2516
  #
2363
2517
  # @!attribute [rw] next_token
2364
- # Use this parameter if you receive a `NextToken` response in a
2365
- # previous request that indicates that there is more output available.
2366
- # Set it to the value of the previous call's `NextToken` response to
2367
- # indicate where the output should continue from.
2518
+ # The parameter for receiving additional results if you receive a
2519
+ # `NextToken` response in a previous request. A `NextToken` response
2520
+ # indicates that more output is available. Set this parameter to the
2521
+ # value of the previous call's `NextToken` response to indicate where
2522
+ # the output should continue from.
2368
2523
  # @return [String]
2369
2524
  #
2370
2525
  # @!attribute [rw] max_results
2371
- # (Optional) Use this to limit the number of results you want included
2372
- # per page in the response. If you do not include this parameter, it
2373
- # defaults to a value that is specific to the operation. If additional
2374
- # items exist beyond the maximum you specify, the `NextToken` response
2375
- # element is present and has a value (is not null). Include that value
2376
- # as the `NextToken` request parameter in the next call to the
2377
- # operation to get the next part of the results. Note that
2378
- # Organizations might return fewer results than the maximum even when
2379
- # there are more results available. You should check `NextToken` after
2380
- # every operation to ensure that you receive all of the results.
2526
+ # The total number of results that you want included on each page of
2527
+ # the response. If you do not include this parameter, it defaults to a
2528
+ # value that is specific to the operation. If additional items exist
2529
+ # beyond the maximum you specify, the `NextToken` response element is
2530
+ # present and has a value (is not null). Include that value as the
2531
+ # `NextToken` request parameter in the next call to the operation to
2532
+ # get the next part of the results. Note that Organizations might
2533
+ # return fewer results than the maximum even when there are more
2534
+ # results available. You should check `NextToken` after every
2535
+ # operation to ensure that you receive all of the results.
2381
2536
  # @return [Integer]
2382
2537
  #
2383
2538
  # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListChildrenRequest AWS API Documentation
@@ -2395,11 +2550,11 @@ module Aws::Organizations
2395
2550
  # @return [Array<Types::Child>]
2396
2551
  #
2397
2552
  # @!attribute [rw] next_token
2398
- # If present, this value indicates that there is more output available
2399
- # than is included in the current response. Use this value in the
2400
- # `NextToken` request parameter in a subsequent call to the operation
2401
- # to get the next part of the output. You should repeat this until the
2402
- # `NextToken` response element comes back as `null`.
2553
+ # If present, indicates that more output is available than is included
2554
+ # in the current response. Use this value in the `NextToken` request
2555
+ # parameter in a subsequent call to the operation to get the next part
2556
+ # of the output. You should repeat this until the `NextToken` response
2557
+ # element comes back as `null`.
2403
2558
  # @return [String]
2404
2559
  #
2405
2560
  # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListChildrenResponse AWS API Documentation
@@ -2426,23 +2581,24 @@ module Aws::Organizations
2426
2581
  # @return [Array<String>]
2427
2582
  #
2428
2583
  # @!attribute [rw] next_token
2429
- # Use this parameter if you receive a `NextToken` response in a
2430
- # previous request that indicates that there is more output available.
2431
- # Set it to the value of the previous call's `NextToken` response to
2432
- # indicate where the output should continue from.
2584
+ # The parameter for receiving additional results if you receive a
2585
+ # `NextToken` response in a previous request. A `NextToken` response
2586
+ # indicates that more output is available. Set this parameter to the
2587
+ # value of the previous call's `NextToken` response to indicate where
2588
+ # the output should continue from.
2433
2589
  # @return [String]
2434
2590
  #
2435
2591
  # @!attribute [rw] max_results
2436
- # (Optional) Use this to limit the number of results you want included
2437
- # per page in the response. If you do not include this parameter, it
2438
- # defaults to a value that is specific to the operation. If additional
2439
- # items exist beyond the maximum you specify, the `NextToken` response
2440
- # element is present and has a value (is not null). Include that value
2441
- # as the `NextToken` request parameter in the next call to the
2442
- # operation to get the next part of the results. Note that
2443
- # Organizations might return fewer results than the maximum even when
2444
- # there are more results available. You should check `NextToken` after
2445
- # every operation to ensure that you receive all of the results.
2592
+ # The total number of results that you want included on each page of
2593
+ # the response. If you do not include this parameter, it defaults to a
2594
+ # value that is specific to the operation. If additional items exist
2595
+ # beyond the maximum you specify, the `NextToken` response element is
2596
+ # present and has a value (is not null). Include that value as the
2597
+ # `NextToken` request parameter in the next call to the operation to
2598
+ # get the next part of the results. Note that Organizations might
2599
+ # return fewer results than the maximum even when there are more
2600
+ # results available. You should check `NextToken` after every
2601
+ # operation to ensure that you receive all of the results.
2446
2602
  # @return [Integer]
2447
2603
  #
2448
2604
  # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListCreateAccountStatusRequest AWS API Documentation
@@ -2461,11 +2617,11 @@ module Aws::Organizations
2461
2617
  # @return [Array<Types::CreateAccountStatus>]
2462
2618
  #
2463
2619
  # @!attribute [rw] next_token
2464
- # If present, this value indicates that there is more output available
2465
- # than is included in the current response. Use this value in the
2466
- # `NextToken` request parameter in a subsequent call to the operation
2467
- # to get the next part of the output. You should repeat this until the
2468
- # `NextToken` response element comes back as `null`.
2620
+ # If present, indicates that more output is available than is included
2621
+ # in the current response. Use this value in the `NextToken` request
2622
+ # parameter in a subsequent call to the operation to get the next part
2623
+ # of the output. You should repeat this until the `NextToken` response
2624
+ # element comes back as `null`.
2469
2625
  # @return [String]
2470
2626
  #
2471
2627
  # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListCreateAccountStatusResponse AWS API Documentation
@@ -2476,6 +2632,137 @@ module Aws::Organizations
2476
2632
  include Aws::Structure
2477
2633
  end
2478
2634
 
2635
+ # @note When making an API call, you may pass ListDelegatedAdministratorsRequest
2636
+ # data as a hash:
2637
+ #
2638
+ # {
2639
+ # service_principal: "ServicePrincipal",
2640
+ # next_token: "NextToken",
2641
+ # max_results: 1,
2642
+ # }
2643
+ #
2644
+ # @!attribute [rw] service_principal
2645
+ # Specifies a service principal name. If specified, then the operation
2646
+ # lists the delegated administrators only for the specified service.
2647
+ #
2648
+ # If you don't specify a service principal, the operation lists all
2649
+ # delegated administrators for all services in your organization.
2650
+ # @return [String]
2651
+ #
2652
+ # @!attribute [rw] next_token
2653
+ # The parameter for receiving additional results if you receive a
2654
+ # `NextToken` response in a previous request. A `NextToken` response
2655
+ # indicates that more output is available. Set this parameter to the
2656
+ # value of the previous call's `NextToken` response to indicate where
2657
+ # the output should continue from.
2658
+ # @return [String]
2659
+ #
2660
+ # @!attribute [rw] max_results
2661
+ # The total number of results that you want included on each page of
2662
+ # the response. If you do not include this parameter, it defaults to a
2663
+ # value that is specific to the operation. If additional items exist
2664
+ # beyond the maximum you specify, the `NextToken` response element is
2665
+ # present and has a value (is not null). Include that value as the
2666
+ # `NextToken` request parameter in the next call to the operation to
2667
+ # get the next part of the results. Note that Organizations might
2668
+ # return fewer results than the maximum even when there are more
2669
+ # results available. You should check `NextToken` after every
2670
+ # operation to ensure that you receive all of the results.
2671
+ # @return [Integer]
2672
+ #
2673
+ # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListDelegatedAdministratorsRequest AWS API Documentation
2674
+ #
2675
+ class ListDelegatedAdministratorsRequest < Struct.new(
2676
+ :service_principal,
2677
+ :next_token,
2678
+ :max_results)
2679
+ include Aws::Structure
2680
+ end
2681
+
2682
+ # @!attribute [rw] delegated_administrators
2683
+ # The list of delegated administrators in your organization.
2684
+ # @return [Array<Types::DelegatedAdministrator>]
2685
+ #
2686
+ # @!attribute [rw] next_token
2687
+ # If present, indicates that more output is available than is included
2688
+ # in the current response. Use this value in the `NextToken` request
2689
+ # parameter in a subsequent call to the operation to get the next part
2690
+ # of the output. You should repeat this until the `NextToken` response
2691
+ # element comes back as `null`.
2692
+ # @return [String]
2693
+ #
2694
+ # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListDelegatedAdministratorsResponse AWS API Documentation
2695
+ #
2696
+ class ListDelegatedAdministratorsResponse < Struct.new(
2697
+ :delegated_administrators,
2698
+ :next_token)
2699
+ include Aws::Structure
2700
+ end
2701
+
2702
+ # @note When making an API call, you may pass ListDelegatedServicesForAccountRequest
2703
+ # data as a hash:
2704
+ #
2705
+ # {
2706
+ # account_id: "AccountId", # required
2707
+ # next_token: "NextToken",
2708
+ # max_results: 1,
2709
+ # }
2710
+ #
2711
+ # @!attribute [rw] account_id
2712
+ # The account ID number of a delegated administrator account in the
2713
+ # organization.
2714
+ # @return [String]
2715
+ #
2716
+ # @!attribute [rw] next_token
2717
+ # The parameter for receiving additional results if you receive a
2718
+ # `NextToken` response in a previous request. A `NextToken` response
2719
+ # indicates that more output is available. Set this parameter to the
2720
+ # value of the previous call's `NextToken` response to indicate where
2721
+ # the output should continue from.
2722
+ # @return [String]
2723
+ #
2724
+ # @!attribute [rw] max_results
2725
+ # The total number of results that you want included on each page of
2726
+ # the response. If you do not include this parameter, it defaults to a
2727
+ # value that is specific to the operation. If additional items exist
2728
+ # beyond the maximum you specify, the `NextToken` response element is
2729
+ # present and has a value (is not null). Include that value as the
2730
+ # `NextToken` request parameter in the next call to the operation to
2731
+ # get the next part of the results. Note that Organizations might
2732
+ # return fewer results than the maximum even when there are more
2733
+ # results available. You should check `NextToken` after every
2734
+ # operation to ensure that you receive all of the results.
2735
+ # @return [Integer]
2736
+ #
2737
+ # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListDelegatedServicesForAccountRequest AWS API Documentation
2738
+ #
2739
+ class ListDelegatedServicesForAccountRequest < Struct.new(
2740
+ :account_id,
2741
+ :next_token,
2742
+ :max_results)
2743
+ include Aws::Structure
2744
+ end
2745
+
2746
+ # @!attribute [rw] delegated_services
2747
+ # The services for which the account is a delegated administrator.
2748
+ # @return [Array<Types::DelegatedService>]
2749
+ #
2750
+ # @!attribute [rw] next_token
2751
+ # If present, indicates that more output is available than is included
2752
+ # in the current response. Use this value in the `NextToken` request
2753
+ # parameter in a subsequent call to the operation to get the next part
2754
+ # of the output. You should repeat this until the `NextToken` response
2755
+ # element comes back as `null`.
2756
+ # @return [String]
2757
+ #
2758
+ # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListDelegatedServicesForAccountResponse AWS API Documentation
2759
+ #
2760
+ class ListDelegatedServicesForAccountResponse < Struct.new(
2761
+ :delegated_services,
2762
+ :next_token)
2763
+ include Aws::Structure
2764
+ end
2765
+
2479
2766
  # @note When making an API call, you may pass ListHandshakesForAccountRequest
2480
2767
  # data as a hash:
2481
2768
  #
@@ -2492,31 +2779,32 @@ module Aws::Organizations
2492
2779
  # Filters the handshakes that you want included in the response. The
2493
2780
  # default is all types. Use the `ActionType` element to limit the
2494
2781
  # output to only a specified type, such as `INVITE`,
2495
- # `ENABLE_ALL_FEATURES`, or `APPROVE_ALL_FEATURES`. Alternatively, you
2496
- # can specify the `ENABLE_ALL_FEATURES` handshake, which generates a
2497
- # separate child handshake for each member account. When you do
2498
- # specify `ParentHandshakeId` to see only the handshakes that were
2499
- # generated by that parent request.
2782
+ # `ENABLE_ALL_FEATURES`, or `APPROVE_ALL_FEATURES`. Alternatively, for
2783
+ # the `ENABLE_ALL_FEATURES` handshake that generates a separate child
2784
+ # handshake for each member account, you can specify
2785
+ # `ParentHandshakeId` to see only the handshakes that were generated
2786
+ # by that parent request.
2500
2787
  # @return [Types::HandshakeFilter]
2501
2788
  #
2502
2789
  # @!attribute [rw] next_token
2503
- # Use this parameter if you receive a `NextToken` response in a
2504
- # previous request that indicates that there is more output available.
2505
- # Set it to the value of the previous call's `NextToken` response to
2506
- # indicate where the output should continue from.
2790
+ # The parameter for receiving additional results if you receive a
2791
+ # `NextToken` response in a previous request. A `NextToken` response
2792
+ # indicates that more output is available. Set this parameter to the
2793
+ # value of the previous call's `NextToken` response to indicate where
2794
+ # the output should continue from.
2507
2795
  # @return [String]
2508
2796
  #
2509
2797
  # @!attribute [rw] max_results
2510
- # (Optional) Use this to limit the number of results you want included
2511
- # per page in the response. If you do not include this parameter, it
2512
- # defaults to a value that is specific to the operation. If additional
2513
- # items exist beyond the maximum you specify, the `NextToken` response
2514
- # element is present and has a value (is not null). Include that value
2515
- # as the `NextToken` request parameter in the next call to the
2516
- # operation to get the next part of the results. Note that
2517
- # Organizations might return fewer results than the maximum even when
2518
- # there are more results available. You should check `NextToken` after
2519
- # every operation to ensure that you receive all of the results.
2798
+ # The total number of results that you want included on each page of
2799
+ # the response. If you do not include this parameter, it defaults to a
2800
+ # value that is specific to the operation. If additional items exist
2801
+ # beyond the maximum you specify, the `NextToken` response element is
2802
+ # present and has a value (is not null). Include that value as the
2803
+ # `NextToken` request parameter in the next call to the operation to
2804
+ # get the next part of the results. Note that Organizations might
2805
+ # return fewer results than the maximum even when there are more
2806
+ # results available. You should check `NextToken` after every
2807
+ # operation to ensure that you receive all of the results.
2520
2808
  # @return [Integer]
2521
2809
  #
2522
2810
  # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListHandshakesForAccountRequest AWS API Documentation
@@ -2534,11 +2822,11 @@ module Aws::Organizations
2534
2822
  # @return [Array<Types::Handshake>]
2535
2823
  #
2536
2824
  # @!attribute [rw] next_token
2537
- # If present, this value indicates that there is more output available
2538
- # than is included in the current response. Use this value in the
2539
- # `NextToken` request parameter in a subsequent call to the operation
2540
- # to get the next part of the output. You should repeat this until the
2541
- # `NextToken` response element comes back as `null`.
2825
+ # If present, indicates that more output is available than is included
2826
+ # in the current response. Use this value in the `NextToken` request
2827
+ # parameter in a subsequent call to the operation to get the next part
2828
+ # of the output. You should repeat this until the `NextToken` response
2829
+ # element comes back as `null`.
2542
2830
  # @return [String]
2543
2831
  #
2544
2832
  # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListHandshakesForAccountResponse AWS API Documentation
@@ -2565,31 +2853,32 @@ module Aws::Organizations
2565
2853
  # A filter of the handshakes that you want included in the response.
2566
2854
  # The default is all types. Use the `ActionType` element to limit the
2567
2855
  # output to only a specified type, such as `INVITE`,
2568
- # `ENABLE-ALL-FEATURES`, or `APPROVE-ALL-FEATURES`. Alternatively, you
2569
- # can specify the `ENABLE-ALL-FEATURES` handshake, which generates a
2570
- # separate child handshake for each member account. When you do,
2571
- # specify the `ParentHandshakeId` to see only the handshakes that were
2572
- # generated by that parent request.
2856
+ # `ENABLE-ALL-FEATURES`, or `APPROVE-ALL-FEATURES`. Alternatively, for
2857
+ # the `ENABLE-ALL-FEATURES` handshake that generates a separate child
2858
+ # handshake for each member account, you can specify the
2859
+ # `ParentHandshakeId` to see only the handshakes that were generated
2860
+ # by that parent request.
2573
2861
  # @return [Types::HandshakeFilter]
2574
2862
  #
2575
2863
  # @!attribute [rw] next_token
2576
- # Use this parameter if you receive a `NextToken` response in a
2577
- # previous request that indicates that there is more output available.
2578
- # Set it to the value of the previous call's `NextToken` response to
2579
- # indicate where the output should continue from.
2864
+ # The parameter for receiving additional results if you receive a
2865
+ # `NextToken` response in a previous request. A `NextToken` response
2866
+ # indicates that more output is available. Set this parameter to the
2867
+ # value of the previous call's `NextToken` response to indicate where
2868
+ # the output should continue from.
2580
2869
  # @return [String]
2581
2870
  #
2582
2871
  # @!attribute [rw] max_results
2583
- # (Optional) Use this to limit the number of results you want included
2584
- # per page in the response. If you do not include this parameter, it
2585
- # defaults to a value that is specific to the operation. If additional
2586
- # items exist beyond the maximum you specify, the `NextToken` response
2587
- # element is present and has a value (is not null). Include that value
2588
- # as the `NextToken` request parameter in the next call to the
2589
- # operation to get the next part of the results. Note that
2590
- # Organizations might return fewer results than the maximum even when
2591
- # there are more results available. You should check `NextToken` after
2592
- # every operation to ensure that you receive all of the results.
2872
+ # The total number of results that you want included on each page of
2873
+ # the response. If you do not include this parameter, it defaults to a
2874
+ # value that is specific to the operation. If additional items exist
2875
+ # beyond the maximum you specify, the `NextToken` response element is
2876
+ # present and has a value (is not null). Include that value as the
2877
+ # `NextToken` request parameter in the next call to the operation to
2878
+ # get the next part of the results. Note that Organizations might
2879
+ # return fewer results than the maximum even when there are more
2880
+ # results available. You should check `NextToken` after every
2881
+ # operation to ensure that you receive all of the results.
2593
2882
  # @return [Integer]
2594
2883
  #
2595
2884
  # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListHandshakesForOrganizationRequest AWS API Documentation
@@ -2607,11 +2896,11 @@ module Aws::Organizations
2607
2896
  # @return [Array<Types::Handshake>]
2608
2897
  #
2609
2898
  # @!attribute [rw] next_token
2610
- # If present, this value indicates that there is more output available
2611
- # than is included in the current response. Use this value in the
2612
- # `NextToken` request parameter in a subsequent call to the operation
2613
- # to get the next part of the output. You should repeat this until the
2614
- # `NextToken` response element comes back as `null`.
2899
+ # If present, indicates that more output is available than is included
2900
+ # in the current response. Use this value in the `NextToken` request
2901
+ # parameter in a subsequent call to the operation to get the next part
2902
+ # of the output. You should repeat this until the `NextToken` response
2903
+ # element comes back as `null`.
2615
2904
  # @return [String]
2616
2905
  #
2617
2906
  # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListHandshakesForOrganizationResponse AWS API Documentation
@@ -2653,23 +2942,24 @@ module Aws::Organizations
2653
2942
  # @return [String]
2654
2943
  #
2655
2944
  # @!attribute [rw] next_token
2656
- # Use this parameter if you receive a `NextToken` response in a
2657
- # previous request that indicates that there is more output available.
2658
- # Set it to the value of the previous call's `NextToken` response to
2659
- # indicate where the output should continue from.
2945
+ # The parameter for receiving additional results if you receive a
2946
+ # `NextToken` response in a previous request. A `NextToken` response
2947
+ # indicates that more output is available. Set this parameter to the
2948
+ # value of the previous call's `NextToken` response to indicate where
2949
+ # the output should continue from.
2660
2950
  # @return [String]
2661
2951
  #
2662
2952
  # @!attribute [rw] max_results
2663
- # (Optional) Use this to limit the number of results you want included
2664
- # per page in the response. If you do not include this parameter, it
2665
- # defaults to a value that is specific to the operation. If additional
2666
- # items exist beyond the maximum you specify, the `NextToken` response
2667
- # element is present and has a value (is not null). Include that value
2668
- # as the `NextToken` request parameter in the next call to the
2669
- # operation to get the next part of the results. Note that
2670
- # Organizations might return fewer results than the maximum even when
2671
- # there are more results available. You should check `NextToken` after
2672
- # every operation to ensure that you receive all of the results.
2953
+ # The total number of results that you want included on each page of
2954
+ # the response. If you do not include this parameter, it defaults to a
2955
+ # value that is specific to the operation. If additional items exist
2956
+ # beyond the maximum you specify, the `NextToken` response element is
2957
+ # present and has a value (is not null). Include that value as the
2958
+ # `NextToken` request parameter in the next call to the operation to
2959
+ # get the next part of the results. Note that Organizations might
2960
+ # return fewer results than the maximum even when there are more
2961
+ # results available. You should check `NextToken` after every
2962
+ # operation to ensure that you receive all of the results.
2673
2963
  # @return [Integer]
2674
2964
  #
2675
2965
  # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListOrganizationalUnitsForParentRequest AWS API Documentation
@@ -2686,11 +2976,11 @@ module Aws::Organizations
2686
2976
  # @return [Array<Types::OrganizationalUnit>]
2687
2977
  #
2688
2978
  # @!attribute [rw] next_token
2689
- # If present, this value indicates that there is more output available
2690
- # than is included in the current response. Use this value in the
2691
- # `NextToken` request parameter in a subsequent call to the operation
2692
- # to get the next part of the output. You should repeat this until the
2693
- # `NextToken` response element comes back as `null`.
2979
+ # If present, indicates that more output is available than is included
2980
+ # in the current response. Use this value in the `NextToken` request
2981
+ # parameter in a subsequent call to the operation to get the next part
2982
+ # of the output. You should repeat this until the `NextToken` response
2983
+ # element comes back as `null`.
2694
2984
  # @return [String]
2695
2985
  #
2696
2986
  # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListOrganizationalUnitsForParentResponse AWS API Documentation
@@ -2731,23 +3021,24 @@ module Aws::Organizations
2731
3021
  # @return [String]
2732
3022
  #
2733
3023
  # @!attribute [rw] next_token
2734
- # Use this parameter if you receive a `NextToken` response in a
2735
- # previous request that indicates that there is more output available.
2736
- # Set it to the value of the previous call's `NextToken` response to
2737
- # indicate where the output should continue from.
3024
+ # The parameter for receiving additional results if you receive a
3025
+ # `NextToken` response in a previous request. A `NextToken` response
3026
+ # indicates that more output is available. Set this parameter to the
3027
+ # value of the previous call's `NextToken` response to indicate where
3028
+ # the output should continue from.
2738
3029
  # @return [String]
2739
3030
  #
2740
3031
  # @!attribute [rw] max_results
2741
- # (Optional) Use this to limit the number of results you want included
2742
- # per page in the response. If you do not include this parameter, it
2743
- # defaults to a value that is specific to the operation. If additional
2744
- # items exist beyond the maximum you specify, the `NextToken` response
2745
- # element is present and has a value (is not null). Include that value
2746
- # as the `NextToken` request parameter in the next call to the
2747
- # operation to get the next part of the results. Note that
2748
- # Organizations might return fewer results than the maximum even when
2749
- # there are more results available. You should check `NextToken` after
2750
- # every operation to ensure that you receive all of the results.
3032
+ # The total number of results that you want included on each page of
3033
+ # the response. If you do not include this parameter, it defaults to a
3034
+ # value that is specific to the operation. If additional items exist
3035
+ # beyond the maximum you specify, the `NextToken` response element is
3036
+ # present and has a value (is not null). Include that value as the
3037
+ # `NextToken` request parameter in the next call to the operation to
3038
+ # get the next part of the results. Note that Organizations might
3039
+ # return fewer results than the maximum even when there are more
3040
+ # results available. You should check `NextToken` after every
3041
+ # operation to ensure that you receive all of the results.
2751
3042
  # @return [Integer]
2752
3043
  #
2753
3044
  # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListParentsRequest AWS API Documentation
@@ -2764,11 +3055,11 @@ module Aws::Organizations
2764
3055
  # @return [Array<Types::Parent>]
2765
3056
  #
2766
3057
  # @!attribute [rw] next_token
2767
- # If present, this value indicates that there is more output available
2768
- # than is included in the current response. Use this value in the
2769
- # `NextToken` request parameter in a subsequent call to the operation
2770
- # to get the next part of the output. You should repeat this until the
2771
- # `NextToken` response element comes back as `null`.
3058
+ # If present, indicates that more output is available than is included
3059
+ # in the current response. Use this value in the `NextToken` request
3060
+ # parameter in a subsequent call to the operation to get the next part
3061
+ # of the output. You should repeat this until the `NextToken` response
3062
+ # element comes back as `null`.
2772
3063
  # @return [String]
2773
3064
  #
2774
3065
  # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListParentsResponse AWS API Documentation
@@ -2817,23 +3108,24 @@ module Aws::Organizations
2817
3108
  # @return [String]
2818
3109
  #
2819
3110
  # @!attribute [rw] next_token
2820
- # Use this parameter if you receive a `NextToken` response in a
2821
- # previous request that indicates that there is more output available.
2822
- # Set it to the value of the previous call's `NextToken` response to
2823
- # indicate where the output should continue from.
3111
+ # The parameter for receiving additional results if you receive a
3112
+ # `NextToken` response in a previous request. A `NextToken` response
3113
+ # indicates that more output is available. Set this parameter to the
3114
+ # value of the previous call's `NextToken` response to indicate where
3115
+ # the output should continue from.
2824
3116
  # @return [String]
2825
3117
  #
2826
3118
  # @!attribute [rw] max_results
2827
- # (Optional) Use this to limit the number of results you want included
2828
- # per page in the response. If you do not include this parameter, it
2829
- # defaults to a value that is specific to the operation. If additional
2830
- # items exist beyond the maximum you specify, the `NextToken` response
2831
- # element is present and has a value (is not null). Include that value
2832
- # as the `NextToken` request parameter in the next call to the
2833
- # operation to get the next part of the results. Note that
2834
- # Organizations might return fewer results than the maximum even when
2835
- # there are more results available. You should check `NextToken` after
2836
- # every operation to ensure that you receive all of the results.
3119
+ # The total number of results that you want included on each page of
3120
+ # the response. If you do not include this parameter, it defaults to a
3121
+ # value that is specific to the operation. If additional items exist
3122
+ # beyond the maximum you specify, the `NextToken` response element is
3123
+ # present and has a value (is not null). Include that value as the
3124
+ # `NextToken` request parameter in the next call to the operation to
3125
+ # get the next part of the results. Note that Organizations might
3126
+ # return fewer results than the maximum even when there are more
3127
+ # results available. You should check `NextToken` after every
3128
+ # operation to ensure that you receive all of the results.
2837
3129
  # @return [Integer]
2838
3130
  #
2839
3131
  # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListPoliciesForTargetRequest AWS API Documentation
@@ -2851,11 +3143,11 @@ module Aws::Organizations
2851
3143
  # @return [Array<Types::PolicySummary>]
2852
3144
  #
2853
3145
  # @!attribute [rw] next_token
2854
- # If present, this value indicates that there is more output available
2855
- # than is included in the current response. Use this value in the
2856
- # `NextToken` request parameter in a subsequent call to the operation
2857
- # to get the next part of the output. You should repeat this until the
2858
- # `NextToken` response element comes back as `null`.
3146
+ # If present, indicates that more output is available than is included
3147
+ # in the current response. Use this value in the `NextToken` request
3148
+ # parameter in a subsequent call to the operation to get the next part
3149
+ # of the output. You should repeat this until the `NextToken` response
3150
+ # element comes back as `null`.
2859
3151
  # @return [String]
2860
3152
  #
2861
3153
  # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListPoliciesForTargetResponse AWS API Documentation
@@ -2881,23 +3173,24 @@ module Aws::Organizations
2881
3173
  # @return [String]
2882
3174
  #
2883
3175
  # @!attribute [rw] next_token
2884
- # Use this parameter if you receive a `NextToken` response in a
2885
- # previous request that indicates that there is more output available.
2886
- # Set it to the value of the previous call's `NextToken` response to
2887
- # indicate where the output should continue from.
3176
+ # The parameter for receiving additional results if you receive a
3177
+ # `NextToken` response in a previous request. A `NextToken` response
3178
+ # indicates that more output is available. Set this parameter to the
3179
+ # value of the previous call's `NextToken` response to indicate where
3180
+ # the output should continue from.
2888
3181
  # @return [String]
2889
3182
  #
2890
3183
  # @!attribute [rw] max_results
2891
- # (Optional) Use this to limit the number of results you want included
2892
- # per page in the response. If you do not include this parameter, it
2893
- # defaults to a value that is specific to the operation. If additional
2894
- # items exist beyond the maximum you specify, the `NextToken` response
2895
- # element is present and has a value (is not null). Include that value
2896
- # as the `NextToken` request parameter in the next call to the
2897
- # operation to get the next part of the results. Note that
2898
- # Organizations might return fewer results than the maximum even when
2899
- # there are more results available. You should check `NextToken` after
2900
- # every operation to ensure that you receive all of the results.
3184
+ # The total number of results that you want included on each page of
3185
+ # the response. If you do not include this parameter, it defaults to a
3186
+ # value that is specific to the operation. If additional items exist
3187
+ # beyond the maximum you specify, the `NextToken` response element is
3188
+ # present and has a value (is not null). Include that value as the
3189
+ # `NextToken` request parameter in the next call to the operation to
3190
+ # get the next part of the results. Note that Organizations might
3191
+ # return fewer results than the maximum even when there are more
3192
+ # results available. You should check `NextToken` after every
3193
+ # operation to ensure that you receive all of the results.
2901
3194
  # @return [Integer]
2902
3195
  #
2903
3196
  # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListPoliciesRequest AWS API Documentation
@@ -2916,11 +3209,11 @@ module Aws::Organizations
2916
3209
  # @return [Array<Types::PolicySummary>]
2917
3210
  #
2918
3211
  # @!attribute [rw] next_token
2919
- # If present, this value indicates that there is more output available
2920
- # than is included in the current response. Use this value in the
2921
- # `NextToken` request parameter in a subsequent call to the operation
2922
- # to get the next part of the output. You should repeat this until the
2923
- # `NextToken` response element comes back as `null`.
3212
+ # If present, indicates that more output is available than is included
3213
+ # in the current response. Use this value in the `NextToken` request
3214
+ # parameter in a subsequent call to the operation to get the next part
3215
+ # of the output. You should repeat this until the `NextToken` response
3216
+ # element comes back as `null`.
2924
3217
  # @return [String]
2925
3218
  #
2926
3219
  # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListPoliciesResponse AWS API Documentation
@@ -2940,23 +3233,24 @@ module Aws::Organizations
2940
3233
  # }
2941
3234
  #
2942
3235
  # @!attribute [rw] next_token
2943
- # Use this parameter if you receive a `NextToken` response in a
2944
- # previous request that indicates that there is more output available.
2945
- # Set it to the value of the previous call's `NextToken` response to
2946
- # indicate where the output should continue from.
3236
+ # The parameter for receiving additional results if you receive a
3237
+ # `NextToken` response in a previous request. A `NextToken` response
3238
+ # indicates that more output is available. Set this parameter to the
3239
+ # value of the previous call's `NextToken` response to indicate where
3240
+ # the output should continue from.
2947
3241
  # @return [String]
2948
3242
  #
2949
3243
  # @!attribute [rw] max_results
2950
- # (Optional) Use this to limit the number of results you want included
2951
- # per page in the response. If you do not include this parameter, it
2952
- # defaults to a value that is specific to the operation. If additional
2953
- # items exist beyond the maximum you specify, the `NextToken` response
2954
- # element is present and has a value (is not null). Include that value
2955
- # as the `NextToken` request parameter in the next call to the
2956
- # operation to get the next part of the results. Note that
2957
- # Organizations might return fewer results than the maximum even when
2958
- # there are more results available. You should check `NextToken` after
2959
- # every operation to ensure that you receive all of the results.
3244
+ # The total number of results that you want included on each page of
3245
+ # the response. If you do not include this parameter, it defaults to a
3246
+ # value that is specific to the operation. If additional items exist
3247
+ # beyond the maximum you specify, the `NextToken` response element is
3248
+ # present and has a value (is not null). Include that value as the
3249
+ # `NextToken` request parameter in the next call to the operation to
3250
+ # get the next part of the results. Note that Organizations might
3251
+ # return fewer results than the maximum even when there are more
3252
+ # results available. You should check `NextToken` after every
3253
+ # operation to ensure that you receive all of the results.
2960
3254
  # @return [Integer]
2961
3255
  #
2962
3256
  # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListRootsRequest AWS API Documentation
@@ -2972,11 +3266,11 @@ module Aws::Organizations
2972
3266
  # @return [Array<Types::Root>]
2973
3267
  #
2974
3268
  # @!attribute [rw] next_token
2975
- # If present, this value indicates that there is more output available
2976
- # than is included in the current response. Use this value in the
2977
- # `NextToken` request parameter in a subsequent call to the operation
2978
- # to get the next part of the output. You should repeat this until the
2979
- # `NextToken` response element comes back as `null`.
3269
+ # If present, indicates that more output is available than is included
3270
+ # in the current response. Use this value in the `NextToken` request
3271
+ # parameter in a subsequent call to the operation to get the next part
3272
+ # of the output. You should repeat this until the `NextToken` response
3273
+ # element comes back as `null`.
2980
3274
  # @return [String]
2981
3275
  #
2982
3276
  # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListRootsResponse AWS API Documentation
@@ -3000,10 +3294,11 @@ module Aws::Organizations
3000
3294
  # @return [String]
3001
3295
  #
3002
3296
  # @!attribute [rw] next_token
3003
- # Use this parameter if you receive a `NextToken` response in a
3004
- # previous request that indicates that there is more output available.
3005
- # Set it to the value of the previous call's `NextToken` response to
3006
- # indicate where the output should continue from.
3297
+ # The parameter for receiving additional results if you receive a
3298
+ # `NextToken` response in a previous request. A `NextToken` response
3299
+ # indicates that more output is available. Set this parameter to the
3300
+ # value of the previous call's `NextToken` response to indicate where
3301
+ # the output should continue from.
3007
3302
  # @return [String]
3008
3303
  #
3009
3304
  # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListTagsForResourceRequest AWS API Documentation
@@ -3019,11 +3314,11 @@ module Aws::Organizations
3019
3314
  # @return [Array<Types::Tag>]
3020
3315
  #
3021
3316
  # @!attribute [rw] next_token
3022
- # If present, this value indicates that there is more output available
3023
- # than is included in the current response. Use this value in the
3024
- # `NextToken` request parameter in a subsequent call to the operation
3025
- # to get the next part of the output. You should repeat this until the
3026
- # `NextToken` response element comes back as `null`.
3317
+ # If present, indicates that more output is available than is included
3318
+ # in the current response. Use this value in the `NextToken` request
3319
+ # parameter in a subsequent call to the operation to get the next part
3320
+ # of the output. You should repeat this until the `NextToken` response
3321
+ # element comes back as `null`.
3027
3322
  # @return [String]
3028
3323
  #
3029
3324
  # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListTagsForResourceResponse AWS API Documentation
@@ -3057,23 +3352,24 @@ module Aws::Organizations
3057
3352
  # @return [String]
3058
3353
  #
3059
3354
  # @!attribute [rw] next_token
3060
- # Use this parameter if you receive a `NextToken` response in a
3061
- # previous request that indicates that there is more output available.
3062
- # Set it to the value of the previous call's `NextToken` response to
3063
- # indicate where the output should continue from.
3355
+ # The parameter for receiving additional results if you receive a
3356
+ # `NextToken` response in a previous request. A `NextToken` response
3357
+ # indicates that more output is available. Set this parameter to the
3358
+ # value of the previous call's `NextToken` response to indicate where
3359
+ # the output should continue from.
3064
3360
  # @return [String]
3065
3361
  #
3066
3362
  # @!attribute [rw] max_results
3067
- # (Optional) Use this to limit the number of results you want included
3068
- # per page in the response. If you do not include this parameter, it
3069
- # defaults to a value that is specific to the operation. If additional
3070
- # items exist beyond the maximum you specify, the `NextToken` response
3071
- # element is present and has a value (is not null). Include that value
3072
- # as the `NextToken` request parameter in the next call to the
3073
- # operation to get the next part of the results. Note that
3074
- # Organizations might return fewer results than the maximum even when
3075
- # there are more results available. You should check `NextToken` after
3076
- # every operation to ensure that you receive all of the results.
3363
+ # The total number of results that you want included on each page of
3364
+ # the response. If you do not include this parameter, it defaults to a
3365
+ # value that is specific to the operation. If additional items exist
3366
+ # beyond the maximum you specify, the `NextToken` response element is
3367
+ # present and has a value (is not null). Include that value as the
3368
+ # `NextToken` request parameter in the next call to the operation to
3369
+ # get the next part of the results. Note that Organizations might
3370
+ # return fewer results than the maximum even when there are more
3371
+ # results available. You should check `NextToken` after every
3372
+ # operation to ensure that you receive all of the results.
3077
3373
  # @return [Integer]
3078
3374
  #
3079
3375
  # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListTargetsForPolicyRequest AWS API Documentation
@@ -3091,11 +3387,11 @@ module Aws::Organizations
3091
3387
  # @return [Array<Types::PolicyTargetSummary>]
3092
3388
  #
3093
3389
  # @!attribute [rw] next_token
3094
- # If present, this value indicates that there is more output available
3095
- # than is included in the current response. Use this value in the
3096
- # `NextToken` request parameter in a subsequent call to the operation
3097
- # to get the next part of the output. You should repeat this until the
3098
- # `NextToken` response element comes back as `null`.
3390
+ # If present, indicates that more output is available than is included
3391
+ # in the current response. Use this value in the `NextToken` request
3392
+ # parameter in a subsequent call to the operation to get the next part
3393
+ # of the output. You should repeat this until the `NextToken` response
3394
+ # element comes back as `null`.
3099
3395
  # @return [String]
3100
3396
  #
3101
3397
  # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListTargetsForPolicyResponse AWS API Documentation
@@ -3213,7 +3509,7 @@ module Aws::Organizations
3213
3509
  # Contains details about an organization. An organization is a
3214
3510
  # collection of accounts that are centrally managed together using
3215
3511
  # consolidated billing, organized hierarchically with organizational
3216
- # units (OUs), and controlled with policies.
3512
+ # units (OUs), and controlled with policies .
3217
3513
  #
3218
3514
  # @!attribute [rw] id
3219
3515
  # The unique identifier (ID) of an organization.
@@ -3562,7 +3858,7 @@ module Aws::Organizations
3562
3858
  # @return [String]
3563
3859
  #
3564
3860
  # @!attribute [rw] aws_managed
3565
- # A Boolean value that indicates whether the specified policy is an
3861
+ # A boolean value that indicates whether the specified policy is an
3566
3862
  # AWS managed policy. If true, then you can attach the policy to
3567
3863
  # roots, OUs, or accounts, but you cannot edit it.
3568
3864
  # @return [Boolean]
@@ -3702,9 +3998,9 @@ module Aws::Organizations
3702
3998
  #
3703
3999
  # @!attribute [rw] status
3704
4000
  # The status of the policy type as it relates to the associated root.
3705
- # You can attach a policy of the specified type to a root or to an OU
3706
- # or account in that root. To do so, the policy must be available in
3707
- # the organization and enabled for that root.
4001
+ # To attach a policy of the specified type to a root or to an OU or
4002
+ # account in that root, it must be available in the organization and
4003
+ # enabled for that root.
3708
4004
  # @return [String]
3709
4005
  #
3710
4006
  # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/PolicyTypeSummary AWS API Documentation
@@ -3715,6 +4011,32 @@ module Aws::Organizations
3715
4011
  include Aws::Structure
3716
4012
  end
3717
4013
 
4014
+ # @note When making an API call, you may pass RegisterDelegatedAdministratorRequest
4015
+ # data as a hash:
4016
+ #
4017
+ # {
4018
+ # account_id: "AccountId", # required
4019
+ # service_principal: "ServicePrincipal", # required
4020
+ # }
4021
+ #
4022
+ # @!attribute [rw] account_id
4023
+ # The account ID number of the member account in the organization to
4024
+ # register as a delegated administrator.
4025
+ # @return [String]
4026
+ #
4027
+ # @!attribute [rw] service_principal
4028
+ # The service principal of the AWS service for which you want to make
4029
+ # the member account a delegated administrator.
4030
+ # @return [String]
4031
+ #
4032
+ # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/RegisterDelegatedAdministratorRequest AWS API Documentation
4033
+ #
4034
+ class RegisterDelegatedAdministratorRequest < Struct.new(
4035
+ :account_id,
4036
+ :service_principal)
4037
+ include Aws::Structure
4038
+ end
4039
+
3718
4040
  # @note When making an API call, you may pass RemoveAccountFromOrganizationRequest
3719
4041
  # data as a hash:
3720
4042
  #