

# AgenticRetrieveCodeExecutionDocument
<a name="API_agent-runtime_AgenticRetrieveCodeExecutionDocument"></a>

A document that a code execution action reads.

## Contents
<a name="API_agent-runtime_AgenticRetrieveCodeExecutionDocument_Contents"></a>

 ** documentId **   <a name="bedrock-Type-agent-runtime_AgenticRetrieveCodeExecutionDocument-documentId"></a>
The identifier of the document.  
Type: String  
Required: No

 ** sourceRetriever **   <a name="bedrock-Type-agent-runtime_AgenticRetrieveCodeExecutionDocument-sourceRetriever"></a>
The source retriever associated with the document.  
Type: [AgenticRetrieveSourceRetriever](API_agent-runtime_AgenticRetrieveSourceRetriever.md) object  
Required: No

## See Also
<a name="API_agent-runtime_AgenticRetrieveCodeExecutionDocument_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/bedrock-agent-runtime-2023-07-26/AgenticRetrieveCodeExecutionDocument) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/bedrock-agent-runtime-2023-07-26/AgenticRetrieveCodeExecutionDocument) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/bedrock-agent-runtime-2023-07-26/AgenticRetrieveCodeExecutionDocument) 