Class: Aws::Context::Types::TaskDocument

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-context/lib/aws-sdk-context/types.rb

Overview

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

Constant Summary collapse

SENSITIVE =
[:name]

Instance Attribute Summary collapse

Instance Attribute Details

#content_type ⇒ String

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

Returns:

  • (String)


7020
7021
7022
7023
7024
7025
7026
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 7020

class TaskDocument < Struct.new(
  :name,
  :size_bytes,
  :content_type)
  SENSITIVE = [:name]
  include Aws::Structure
end

#name ⇒ String

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

Returns:

  • (String)


7020
7021
7022
7023
7024
7025
7026
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 7020

class TaskDocument < Struct.new(
  :name,
  :size_bytes,
  :content_type)
  SENSITIVE = [:name]
  include Aws::Structure
end

#size_bytes ⇒ Integer

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

Returns:

  • (Integer)


7020
7021
7022
7023
7024
7025
7026
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 7020

class TaskDocument < Struct.new(
  :name,
  :size_bytes,
  :content_type)
  SENSITIVE = [:name]
  include Aws::Structure
end