Skip to content

CommandPayload

Source code in docs_src/capo_iot/types/command_payload.py
class CommandPayload(TypedDict, closed=True):
    content: NotRequired["capo_iot.types.command_payload_blob.CommandPayloadBlob"]
    """<p>The static payload file for the command.</p>"""
    content_type: NotRequired["capo_iot.types.mime_type.MimeType"]
    """<p>The content type that specifies the format type of the payload file. This field must use a type/subtype format, such as <code>application/json</code>. For information about various content types, see <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/MIME_types/Common_types">Common MIME types</a>.</p>"""

content instance-attribute

content: NotRequired[CommandPayloadBlob]

The static payload file for the command.

content_type instance-attribute

content_type: NotRequired[MimeType]

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.