

# ShareTarget
<a name="API_ShareTarget"></a>

Identifier that contains details about the directory consumer account.

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

 ** Id **   <a name="DirectoryService-Type-ShareTarget-Id"></a>
Identifier of the directory consumer account.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Required: Yes

 ** Type **   <a name="DirectoryService-Type-ShareTarget-Type"></a>
Type of identifier to be used in the `Id` field.  
Type: String  
Valid Values: `ACCOUNT`   
Required: Yes

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

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/ds-2015-04-16/ShareTarget) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/ds-2015-04-16/ShareTarget) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/ds-2015-04-16/ShareTarget) 