

# InputDocument

A document for a task to read, sent inline in the StartTask request.

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

 ** content **   <a name="context-Type-InputDocument-content"></a>
The content of the document. All the documents in one request can total at most 10,485,760 bytes (10 MiB).  
Type: Base64-encoded binary data object  
Length Constraints: Minimum length of 1. Maximum length of 10485760.  
Required: Yes

 ** contentType **   <a name="context-Type-InputDocument-contentType"></a>
You must specify a content type that the task configuration accepts. Otherwise, the request fails with ValidationException.  
Type: String  
Valid Values: `CSV | JSON | YAML | MARKDOWN | SQL | TXT`   
Required: Yes

 ** name **   <a name="context-Type-InputDocument-name"></a>
The name of the document. The name must be unique within the request.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Pattern: `(?!\.\.?$)[^/\\\p{Cc}]+`   
Required: Yes

## See Also
<a name="API_InputDocument_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/context-2022-07-26/InputDocument) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/context-2022-07-26/InputDocument) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/context-2022-07-26/InputDocument) 