Class: Aws::IoT::Types::CommandPayload

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

Overview

The command payload object that contains the instructions for the device to process.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#contentString

The static payload file for the command.

Returns:

  • (String)


2392
2393
2394
2395
2396
2397
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 2392

class CommandPayload < Struct.new(
  :content,
  :content_type)
  SENSITIVE = []
  include Aws::Structure
end

#content_typeString

The content type that specifies the format type of the payload file. This field must use a type/subtype format, such as application/json. For information about various content types, see Common MIME types.

Returns:

  • (String)


2392
2393
2394
2395
2396
2397
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 2392

class CommandPayload < Struct.new(
  :content,
  :content_type)
  SENSITIVE = []
  include Aws::Structure
end