

# ContentSource
<a name="API_ContentSource"></a>

Specifies the source of content to search in.

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

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

 ** retriever **   <a name="qbusiness-Type-ContentSource-retriever"></a>
The retriever to use as the content source.  
Type: [RetrieverContentSource](API_RetrieverContentSource.md) object  
Required: No

## See Also
<a name="API_ContentSource_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/qbusiness-2023-11-27/ContentSource) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/qbusiness-2023-11-27/ContentSource) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/qbusiness-2023-11-27/ContentSource) 