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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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 '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].

[1]: developer.mozilla.org/en-US/docs/Web/HTTP/MIME_types/Common_types

Returns:

  • (String)


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

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