View a markdown version of this page

TaskDocument - AWS Context

TaskDocument

The name, size, and content type of a document that a task was started with. The document's content isn't returned.

Contents

contentType

The content type of the document, as declared in the StartTask request.

Type: String

Valid Values: CSV | JSON | YAML | MARKDOWN | SQL | TXT

Required: Yes

name

The name of the document, as given in the StartTask request.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 255.

Pattern: (?!\.\.?$)[^/\\\p{Cc}]+

Required: Yes

sizeBytes

The size of the document's content, in bytes.

Type: Long

Valid Range: Minimum value of 1.

Required: Yes

See Also

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