View a markdown version of this page

InputDocument - AWS Context

InputDocument

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

Contents

content

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

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

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

For more information about using this API in one of the language-specific AWS SDKs, see the following: