

# OrganizationalUnitIdsUpdate

Updates the organizational unit scope for the environment. Provide a replacement OU list or set `cleared` to evaluate the entire organization.

## Contents
<a name="API_OrganizationalUnitIdsUpdate_Contents"></a>

**Important**  
This data type is a UNION, so only one of the following members can be specified when used or returned.

 ** cleared **   <a name="assurance-Type-OrganizationalUnitIdsUpdate-cleared"></a>
Specifies whether to clear OU scoping and evaluate the entire organization.  
Type: Boolean  
Required: No

 ** organizationalUnitIds **   <a name="assurance-Type-OrganizationalUnitIdsUpdate-organizationalUnitIds"></a>
The replacement list of organizational units. Accounts in nested organizational units under a listed organizational unit are included.  
Type: Array of strings  
Array Members: Minimum number of 1 item. Maximum number of 10 items.  
Length Constraints: Minimum length of 16. Maximum length of 68.  
Pattern: `ou-[0-9a-z]{4,32}-[0-9a-z]{8,32}`   
Required: No

## See Also
<a name="API_OrganizationalUnitIdsUpdate_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/assurance-2022-07-26/OrganizationalUnitIdsUpdate) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/assurance-2022-07-26/OrganizationalUnitIdsUpdate) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/assurance-2022-07-26/OrganizationalUnitIdsUpdate) 