Class: Aws::IoT::Types::CommandPayload
- Inherits:
-
Struct
- Object
- Struct
- Aws::IoT::Types::CommandPayload
- 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
-
#content ⇒ String
The static payload file for the command.
-
#content_type ⇒ String
The content type that specifies the format type of the payload file.
Instance Attribute Details
#content ⇒ String
The static payload file for the command.
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_type ⇒ String
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
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 |