Class: Aws::Context::Types::InputDocument
- Inherits:
-
Struct
- Object
- Struct
- Aws::Context::Types::InputDocument
- Defined in:
- gems/aws-sdk-context/lib/aws-sdk-context/types.rb
Overview
A document for a task to read, sent inline in the StartTask request.
Constant Summary collapse
- SENSITIVE =
[:name, :content]
Instance Attribute Summary collapse
-
#content ⇒ String
The content of the document.
-
#content_type ⇒ String
You must specify a content type that the task configuration accepts.
-
#name ⇒ String
The name of the document.
Instance Attribute Details
#content ⇒ String
The content of the document. All the documents in one request can total at most 10,485,760 bytes (10 MiB).
4443 4444 4445 4446 4447 4448 4449 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 4443 class InputDocument < Struct.new( :name, :content_type, :content) SENSITIVE = [:name, :content] include Aws::Structure end |
#content_type ⇒ String
You must specify a content type that the task configuration accepts. Otherwise, the request fails with ValidationException.
4443 4444 4445 4446 4447 4448 4449 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 4443 class InputDocument < Struct.new( :name, :content_type, :content) SENSITIVE = [:name, :content] include Aws::Structure end |
#name ⇒ String
The name of the document. The name must be unique within the request.
4443 4444 4445 4446 4447 4448 4449 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 4443 class InputDocument < Struct.new( :name, :content_type, :content) SENSITIVE = [:name, :content] include Aws::Structure end |