Skip to content

Commit 0bdc2da

Browse files
author
awstools
committed
feat(client-organizations): Added a new reason under ConstraintViolationException in RegisterDelegatedAdministrator API to prevent registering suspended accounts as delegated administrator of a service.
1 parent f795a25 commit 0bdc2da

29 files changed

+180
-229
lines changed

clients/client-organizations/src/commands/AttachPolicyCommand.ts

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -198,15 +198,13 @@ export interface AttachPolicyCommandOutput extends __MetadataBearer {}
198198
* <li>
199199
* <p>MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in
200200
* this organization, you first must migrate the organization's management account
201-
* to the marketplace that corresponds to the management account's address. For
202-
* example, accounts with India addresses must be associated with the AISPL
203-
* marketplace. All accounts in an organization must be associated with the same
204-
* marketplace.</p>
201+
* to the marketplace that corresponds to the management account's address. All
202+
* accounts in an organization must be associated with the same marketplace.</p>
205203
* </li>
206204
* <li>
207-
* <p>MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon Web Services Regions
208-
* in China. To create an organization, the master must have a valid business
209-
* license. For more information, contact customer support.</p>
205+
* <p>MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon Web Services Regions in
206+
* China. To create an organization, the master must have a valid business license.
207+
* For more information, contact customer support.</p>
210208
* </li>
211209
* <li>
212210
* <p>MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you must

clients/client-organizations/src/commands/CloseAccountCommand.ts

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -229,15 +229,13 @@ export interface CloseAccountCommandOutput extends __MetadataBearer {}
229229
* <li>
230230
* <p>MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in
231231
* this organization, you first must migrate the organization's management account
232-
* to the marketplace that corresponds to the management account's address. For
233-
* example, accounts with India addresses must be associated with the AISPL
234-
* marketplace. All accounts in an organization must be associated with the same
235-
* marketplace.</p>
232+
* to the marketplace that corresponds to the management account's address. All
233+
* accounts in an organization must be associated with the same marketplace.</p>
236234
* </li>
237235
* <li>
238-
* <p>MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon Web Services Regions
239-
* in China. To create an organization, the master must have a valid business
240-
* license. For more information, contact customer support.</p>
236+
* <p>MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon Web Services Regions in
237+
* China. To create an organization, the master must have a valid business license.
238+
* For more information, contact customer support.</p>
241239
* </li>
242240
* <li>
243241
* <p>MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you must

clients/client-organizations/src/commands/CreateAccountCommand.ts

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,7 @@ export interface CreateAccountCommandOutput extends CreateAccountResponse, __Met
7171
* <li>
7272
* <p>When you create an account in an organization using the Organizations console,
7373
* API, or CLI commands, the information required for the account to operate
74-
* as a standalone account, such as a payment method and signing the end user
75-
* license agreement (EULA) is <i>not</i> automatically
74+
* as a standalone account, such as a payment method is <i>not</i> automatically
7675
* collected. If you must remove an account from your organization later, you
7776
* can do so only after you provide the missing information. For more
7877
* information, see <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_account-before-remove.html">Considerations before removing an account from an organization</a>
@@ -269,15 +268,13 @@ export interface CreateAccountCommandOutput extends CreateAccountResponse, __Met
269268
* <li>
270269
* <p>MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in
271270
* this organization, you first must migrate the organization's management account
272-
* to the marketplace that corresponds to the management account's address. For
273-
* example, accounts with India addresses must be associated with the AISPL
274-
* marketplace. All accounts in an organization must be associated with the same
275-
* marketplace.</p>
271+
* to the marketplace that corresponds to the management account's address. All
272+
* accounts in an organization must be associated with the same marketplace.</p>
276273
* </li>
277274
* <li>
278-
* <p>MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon Web Services Regions
279-
* in China. To create an organization, the master must have a valid business
280-
* license. For more information, contact customer support.</p>
275+
* <p>MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon Web Services Regions in
276+
* China. To create an organization, the master must have a valid business license.
277+
* For more information, contact customer support.</p>
281278
* </li>
282279
* <li>
283280
* <p>MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you must

clients/client-organizations/src/commands/CreateGovCloudAccountCommand.ts

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -321,15 +321,13 @@ export interface CreateGovCloudAccountCommandOutput extends CreateGovCloudAccoun
321321
* <li>
322322
* <p>MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in
323323
* this organization, you first must migrate the organization's management account
324-
* to the marketplace that corresponds to the management account's address. For
325-
* example, accounts with India addresses must be associated with the AISPL
326-
* marketplace. All accounts in an organization must be associated with the same
327-
* marketplace.</p>
324+
* to the marketplace that corresponds to the management account's address. All
325+
* accounts in an organization must be associated with the same marketplace.</p>
328326
* </li>
329327
* <li>
330-
* <p>MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon Web Services Regions
331-
* in China. To create an organization, the master must have a valid business
332-
* license. For more information, contact customer support.</p>
328+
* <p>MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon Web Services Regions in
329+
* China. To create an organization, the master must have a valid business license.
330+
* For more information, contact customer support.</p>
333331
* </li>
334332
* <li>
335333
* <p>MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you must

clients/client-organizations/src/commands/CreateOrganizationCommand.ts

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -206,15 +206,13 @@ export interface CreateOrganizationCommandOutput extends CreateOrganizationRespo
206206
* <li>
207207
* <p>MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in
208208
* this organization, you first must migrate the organization's management account
209-
* to the marketplace that corresponds to the management account's address. For
210-
* example, accounts with India addresses must be associated with the AISPL
211-
* marketplace. All accounts in an organization must be associated with the same
212-
* marketplace.</p>
209+
* to the marketplace that corresponds to the management account's address. All
210+
* accounts in an organization must be associated with the same marketplace.</p>
213211
* </li>
214212
* <li>
215-
* <p>MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon Web Services Regions
216-
* in China. To create an organization, the master must have a valid business
217-
* license. For more information, contact customer support.</p>
213+
* <p>MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon Web Services Regions in
214+
* China. To create an organization, the master must have a valid business license.
215+
* For more information, contact customer support.</p>
218216
* </li>
219217
* <li>
220218
* <p>MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you must

clients/client-organizations/src/commands/CreateOrganizationalUnitCommand.ts

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -193,15 +193,13 @@ export interface CreateOrganizationalUnitCommandOutput extends CreateOrganizatio
193193
* <li>
194194
* <p>MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in
195195
* this organization, you first must migrate the organization's management account
196-
* to the marketplace that corresponds to the management account's address. For
197-
* example, accounts with India addresses must be associated with the AISPL
198-
* marketplace. All accounts in an organization must be associated with the same
199-
* marketplace.</p>
196+
* to the marketplace that corresponds to the management account's address. All
197+
* accounts in an organization must be associated with the same marketplace.</p>
200198
* </li>
201199
* <li>
202-
* <p>MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon Web Services Regions
203-
* in China. To create an organization, the master must have a valid business
204-
* license. For more information, contact customer support.</p>
200+
* <p>MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon Web Services Regions in
201+
* China. To create an organization, the master must have a valid business license.
202+
* For more information, contact customer support.</p>
205203
* </li>
206204
* <li>
207205
* <p>MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you must

clients/client-organizations/src/commands/CreatePolicyCommand.ts

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -199,15 +199,13 @@ export interface CreatePolicyCommandOutput extends CreatePolicyResponse, __Metad
199199
* <li>
200200
* <p>MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in
201201
* this organization, you first must migrate the organization's management account
202-
* to the marketplace that corresponds to the management account's address. For
203-
* example, accounts with India addresses must be associated with the AISPL
204-
* marketplace. All accounts in an organization must be associated with the same
205-
* marketplace.</p>
202+
* to the marketplace that corresponds to the management account's address. All
203+
* accounts in an organization must be associated with the same marketplace.</p>
206204
* </li>
207205
* <li>
208-
* <p>MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon Web Services Regions
209-
* in China. To create an organization, the master must have a valid business
210-
* license. For more information, contact customer support.</p>
206+
* <p>MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon Web Services Regions in
207+
* China. To create an organization, the master must have a valid business license.
208+
* For more information, contact customer support.</p>
211209
* </li>
212210
* <li>
213211
* <p>MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you must

clients/client-organizations/src/commands/DeleteResourcePolicyCommand.ts

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -169,15 +169,13 @@ export interface DeleteResourcePolicyCommandOutput extends __MetadataBearer {}
169169
* <li>
170170
* <p>MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in
171171
* this organization, you first must migrate the organization's management account
172-
* to the marketplace that corresponds to the management account's address. For
173-
* example, accounts with India addresses must be associated with the AISPL
174-
* marketplace. All accounts in an organization must be associated with the same
175-
* marketplace.</p>
172+
* to the marketplace that corresponds to the management account's address. All
173+
* accounts in an organization must be associated with the same marketplace.</p>
176174
* </li>
177175
* <li>
178-
* <p>MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon Web Services Regions
179-
* in China. To create an organization, the master must have a valid business
180-
* license. For more information, contact customer support.</p>
176+
* <p>MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon Web Services Regions in
177+
* China. To create an organization, the master must have a valid business license.
178+
* For more information, contact customer support.</p>
181179
* </li>
182180
* <li>
183181
* <p>MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you must

clients/client-organizations/src/commands/DeregisterDelegatedAdministratorCommand.ts

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -196,15 +196,13 @@ export interface DeregisterDelegatedAdministratorCommandOutput extends __Metadat
196196
* <li>
197197
* <p>MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in
198198
* this organization, you first must migrate the organization's management account
199-
* to the marketplace that corresponds to the management account's address. For
200-
* example, accounts with India addresses must be associated with the AISPL
201-
* marketplace. All accounts in an organization must be associated with the same
202-
* marketplace.</p>
199+
* to the marketplace that corresponds to the management account's address. All
200+
* accounts in an organization must be associated with the same marketplace.</p>
203201
* </li>
204202
* <li>
205-
* <p>MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon Web Services Regions
206-
* in China. To create an organization, the master must have a valid business
207-
* license. For more information, contact customer support.</p>
203+
* <p>MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon Web Services Regions in
204+
* China. To create an organization, the master must have a valid business license.
205+
* For more information, contact customer support.</p>
208206
* </li>
209207
* <li>
210208
* <p>MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you must

clients/client-organizations/src/commands/DescribeEffectivePolicyCommand.ts

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -184,15 +184,13 @@ export interface DescribeEffectivePolicyCommandOutput extends DescribeEffectiveP
184184
* <li>
185185
* <p>MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in
186186
* this organization, you first must migrate the organization's management account
187-
* to the marketplace that corresponds to the management account's address. For
188-
* example, accounts with India addresses must be associated with the AISPL
189-
* marketplace. All accounts in an organization must be associated with the same
190-
* marketplace.</p>
187+
* to the marketplace that corresponds to the management account's address. All
188+
* accounts in an organization must be associated with the same marketplace.</p>
191189
* </li>
192190
* <li>
193-
* <p>MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon Web Services Regions
194-
* in China. To create an organization, the master must have a valid business
195-
* license. For more information, contact customer support.</p>
191+
* <p>MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon Web Services Regions in
192+
* China. To create an organization, the master must have a valid business license.
193+
* For more information, contact customer support.</p>
196194
* </li>
197195
* <li>
198196
* <p>MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you must

clients/client-organizations/src/commands/DescribeResourcePolicyCommand.ts

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -175,15 +175,13 @@ export interface DescribeResourcePolicyCommandOutput extends DescribeResourcePol
175175
* <li>
176176
* <p>MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in
177177
* this organization, you first must migrate the organization's management account
178-
* to the marketplace that corresponds to the management account's address. For
179-
* example, accounts with India addresses must be associated with the AISPL
180-
* marketplace. All accounts in an organization must be associated with the same
181-
* marketplace.</p>
178+
* to the marketplace that corresponds to the management account's address. All
179+
* accounts in an organization must be associated with the same marketplace.</p>
182180
* </li>
183181
* <li>
184-
* <p>MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon Web Services Regions
185-
* in China. To create an organization, the master must have a valid business
186-
* license. For more information, contact customer support.</p>
182+
* <p>MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon Web Services Regions in
183+
* China. To create an organization, the master must have a valid business license.
184+
* For more information, contact customer support.</p>
187185
* </li>
188186
* <li>
189187
* <p>MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you must

0 commit comments

Comments
 (0)