Skip to content

RequestPayloadPart

Source code in docs_src/capo_sagemaker_runtime_http2/types/request_payload_part.py
class RequestPayloadPart(TypedDict, closed=True):
    bytes: NotRequired[
        "capo_sagemaker_runtime_http2.types.sensitive_blob.SensitiveBlob"
    ]
    """<p>The payload bytes.</p>"""
    data_type: NotRequired["str"]
    """<p>Data type header. Can be one of these possible values: "UTF8", "BINARY".</p>"""
    completion_state: NotRequired["str"]
    """<p>Completion state header. Can be one of these possible values: "PARTIAL", "COMPLETE".</p>"""
    p: NotRequired["str"]
    """<p>Padding string for alignment.</p>"""

bytes instance-attribute

bytes: NotRequired[SensitiveBlob]

The payload bytes.

completion_state instance-attribute

completion_state: NotRequired[str]

Completion state header. Can be one of these possible values: "PARTIAL", "COMPLETE".

data_type instance-attribute

data_type: NotRequired[str]

Data type header. Can be one of these possible values: "UTF8", "BINARY".

p instance-attribute

p: NotRequired[str]

Padding string for alignment.