

# StreamProcessorDataSharingPreference
<a name="API_StreamProcessorDataSharingPreference"></a>

 Allows you to opt in or opt out to share data with Rekognition to improve model performance. You can choose this option at the account level or on a per-stream basis. Note that if you opt out at the account level this setting is ignored on individual streams. 

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

 ** OptIn **   <a name="rekognition-Type-StreamProcessorDataSharingPreference-OptIn"></a>
 If this option is set to true, you choose to share data with Rekognition to improve model performance.   
Type: Boolean  
Required: Yes

## See Also
<a name="API_StreamProcessorDataSharingPreference_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/rekognition-2016-06-27/StreamProcessorDataSharingPreference) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/rekognition-2016-06-27/StreamProcessorDataSharingPreference) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/rekognition-2016-06-27/StreamProcessorDataSharingPreference) 