Skip to content

Commit

Permalink
feat(client-organizations): Added a new reason under ConstraintViolat…
Browse files Browse the repository at this point in the history
…ionException in RegisterDelegatedAdministrator API to prevent registering suspended accounts as delegated administrator of a service.
  • Loading branch information
awstools committed Jul 3, 2024
1 parent f795a25 commit 0bdc2da
Show file tree
Hide file tree
Showing 29 changed files with 180 additions and 229 deletions.
12 changes: 5 additions & 7 deletions clients/client-organizations/src/commands/AttachPolicyCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -198,15 +198,13 @@ export interface AttachPolicyCommandOutput extends __MetadataBearer {}
* <li>
* <p>MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in
* this organization, you first must migrate the organization's management account
* to the marketplace that corresponds to the management account's address. For
* example, accounts with India addresses must be associated with the AISPL
* marketplace. All accounts in an organization must be associated with the same
* marketplace.</p>
* to the marketplace that corresponds to the management account's address. All
* accounts in an organization must be associated with the same marketplace.</p>
* </li>
* <li>
* <p>MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon Web Services Regions
* in China. To create an organization, the master must have a valid business
* license. For more information, contact customer support.</p>
* <p>MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon Web Services Regions in
* China. To create an organization, the master must have a valid business license.
* For more information, contact customer support.</p>
* </li>
* <li>
* <p>MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you must
Expand Down
12 changes: 5 additions & 7 deletions clients/client-organizations/src/commands/CloseAccountCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -229,15 +229,13 @@ export interface CloseAccountCommandOutput extends __MetadataBearer {}
* <li>
* <p>MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in
* this organization, you first must migrate the organization's management account
* to the marketplace that corresponds to the management account's address. For
* example, accounts with India addresses must be associated with the AISPL
* marketplace. All accounts in an organization must be associated with the same
* marketplace.</p>
* to the marketplace that corresponds to the management account's address. All
* accounts in an organization must be associated with the same marketplace.</p>
* </li>
* <li>
* <p>MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon Web Services Regions
* in China. To create an organization, the master must have a valid business
* license. For more information, contact customer support.</p>
* <p>MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon Web Services Regions in
* China. To create an organization, the master must have a valid business license.
* For more information, contact customer support.</p>
* </li>
* <li>
* <p>MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you must
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,7 @@ export interface CreateAccountCommandOutput extends CreateAccountResponse, __Met
* <li>
* <p>When you create an account in an organization using the Organizations console,
* API, or CLI commands, the information required for the account to operate
* as a standalone account, such as a payment method and signing the end user
* license agreement (EULA) is <i>not</i> automatically
* as a standalone account, such as a payment method is <i>not</i> automatically
* collected. If you must remove an account from your organization later, you
* can do so only after you provide the missing information. For more
* 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>
Expand Down Expand Up @@ -269,15 +268,13 @@ export interface CreateAccountCommandOutput extends CreateAccountResponse, __Met
* <li>
* <p>MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in
* this organization, you first must migrate the organization's management account
* to the marketplace that corresponds to the management account's address. For
* example, accounts with India addresses must be associated with the AISPL
* marketplace. All accounts in an organization must be associated with the same
* marketplace.</p>
* to the marketplace that corresponds to the management account's address. All
* accounts in an organization must be associated with the same marketplace.</p>
* </li>
* <li>
* <p>MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon Web Services Regions
* in China. To create an organization, the master must have a valid business
* license. For more information, contact customer support.</p>
* <p>MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon Web Services Regions in
* China. To create an organization, the master must have a valid business license.
* For more information, contact customer support.</p>
* </li>
* <li>
* <p>MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you must
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -321,15 +321,13 @@ export interface CreateGovCloudAccountCommandOutput extends CreateGovCloudAccoun
* <li>
* <p>MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in
* this organization, you first must migrate the organization's management account
* to the marketplace that corresponds to the management account's address. For
* example, accounts with India addresses must be associated with the AISPL
* marketplace. All accounts in an organization must be associated with the same
* marketplace.</p>
* to the marketplace that corresponds to the management account's address. All
* accounts in an organization must be associated with the same marketplace.</p>
* </li>
* <li>
* <p>MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon Web Services Regions
* in China. To create an organization, the master must have a valid business
* license. For more information, contact customer support.</p>
* <p>MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon Web Services Regions in
* China. To create an organization, the master must have a valid business license.
* For more information, contact customer support.</p>
* </li>
* <li>
* <p>MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you must
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -206,15 +206,13 @@ export interface CreateOrganizationCommandOutput extends CreateOrganizationRespo
* <li>
* <p>MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in
* this organization, you first must migrate the organization's management account
* to the marketplace that corresponds to the management account's address. For
* example, accounts with India addresses must be associated with the AISPL
* marketplace. All accounts in an organization must be associated with the same
* marketplace.</p>
* to the marketplace that corresponds to the management account's address. All
* accounts in an organization must be associated with the same marketplace.</p>
* </li>
* <li>
* <p>MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon Web Services Regions
* in China. To create an organization, the master must have a valid business
* license. For more information, contact customer support.</p>
* <p>MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon Web Services Regions in
* China. To create an organization, the master must have a valid business license.
* For more information, contact customer support.</p>
* </li>
* <li>
* <p>MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you must
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -193,15 +193,13 @@ export interface CreateOrganizationalUnitCommandOutput extends CreateOrganizatio
* <li>
* <p>MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in
* this organization, you first must migrate the organization's management account
* to the marketplace that corresponds to the management account's address. For
* example, accounts with India addresses must be associated with the AISPL
* marketplace. All accounts in an organization must be associated with the same
* marketplace.</p>
* to the marketplace that corresponds to the management account's address. All
* accounts in an organization must be associated with the same marketplace.</p>
* </li>
* <li>
* <p>MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon Web Services Regions
* in China. To create an organization, the master must have a valid business
* license. For more information, contact customer support.</p>
* <p>MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon Web Services Regions in
* China. To create an organization, the master must have a valid business license.
* For more information, contact customer support.</p>
* </li>
* <li>
* <p>MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you must
Expand Down
12 changes: 5 additions & 7 deletions clients/client-organizations/src/commands/CreatePolicyCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -199,15 +199,13 @@ export interface CreatePolicyCommandOutput extends CreatePolicyResponse, __Metad
* <li>
* <p>MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in
* this organization, you first must migrate the organization's management account
* to the marketplace that corresponds to the management account's address. For
* example, accounts with India addresses must be associated with the AISPL
* marketplace. All accounts in an organization must be associated with the same
* marketplace.</p>
* to the marketplace that corresponds to the management account's address. All
* accounts in an organization must be associated with the same marketplace.</p>
* </li>
* <li>
* <p>MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon Web Services Regions
* in China. To create an organization, the master must have a valid business
* license. For more information, contact customer support.</p>
* <p>MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon Web Services Regions in
* China. To create an organization, the master must have a valid business license.
* For more information, contact customer support.</p>
* </li>
* <li>
* <p>MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you must
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -169,15 +169,13 @@ export interface DeleteResourcePolicyCommandOutput extends __MetadataBearer {}
* <li>
* <p>MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in
* this organization, you first must migrate the organization's management account
* to the marketplace that corresponds to the management account's address. For
* example, accounts with India addresses must be associated with the AISPL
* marketplace. All accounts in an organization must be associated with the same
* marketplace.</p>
* to the marketplace that corresponds to the management account's address. All
* accounts in an organization must be associated with the same marketplace.</p>
* </li>
* <li>
* <p>MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon Web Services Regions
* in China. To create an organization, the master must have a valid business
* license. For more information, contact customer support.</p>
* <p>MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon Web Services Regions in
* China. To create an organization, the master must have a valid business license.
* For more information, contact customer support.</p>
* </li>
* <li>
* <p>MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you must
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -196,15 +196,13 @@ export interface DeregisterDelegatedAdministratorCommandOutput extends __Metadat
* <li>
* <p>MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in
* this organization, you first must migrate the organization's management account
* to the marketplace that corresponds to the management account's address. For
* example, accounts with India addresses must be associated with the AISPL
* marketplace. All accounts in an organization must be associated with the same
* marketplace.</p>
* to the marketplace that corresponds to the management account's address. All
* accounts in an organization must be associated with the same marketplace.</p>
* </li>
* <li>
* <p>MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon Web Services Regions
* in China. To create an organization, the master must have a valid business
* license. For more information, contact customer support.</p>
* <p>MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon Web Services Regions in
* China. To create an organization, the master must have a valid business license.
* For more information, contact customer support.</p>
* </li>
* <li>
* <p>MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you must
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -184,15 +184,13 @@ export interface DescribeEffectivePolicyCommandOutput extends DescribeEffectiveP
* <li>
* <p>MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in
* this organization, you first must migrate the organization's management account
* to the marketplace that corresponds to the management account's address. For
* example, accounts with India addresses must be associated with the AISPL
* marketplace. All accounts in an organization must be associated with the same
* marketplace.</p>
* to the marketplace that corresponds to the management account's address. All
* accounts in an organization must be associated with the same marketplace.</p>
* </li>
* <li>
* <p>MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon Web Services Regions
* in China. To create an organization, the master must have a valid business
* license. For more information, contact customer support.</p>
* <p>MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon Web Services Regions in
* China. To create an organization, the master must have a valid business license.
* For more information, contact customer support.</p>
* </li>
* <li>
* <p>MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you must
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -175,15 +175,13 @@ export interface DescribeResourcePolicyCommandOutput extends DescribeResourcePol
* <li>
* <p>MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in
* this organization, you first must migrate the organization's management account
* to the marketplace that corresponds to the management account's address. For
* example, accounts with India addresses must be associated with the AISPL
* marketplace. All accounts in an organization must be associated with the same
* marketplace.</p>
* to the marketplace that corresponds to the management account's address. All
* accounts in an organization must be associated with the same marketplace.</p>
* </li>
* <li>
* <p>MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon Web Services Regions
* in China. To create an organization, the master must have a valid business
* license. For more information, contact customer support.</p>
* <p>MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon Web Services Regions in
* China. To create an organization, the master must have a valid business license.
* For more information, contact customer support.</p>
* </li>
* <li>
* <p>MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you must
Expand Down
Loading

0 comments on commit 0bdc2da

Please sign in to comment.