Skip to content

InvokeModelResponse

Source code in docs_src/capo_bedrock_runtime/types/invoke_model_response.py
class InvokeModelResponse(TypedDict, closed=True):
    body: "capo_bedrock_runtime.types.body.Body"
    """<p>Inference response from the model in the format specified in the <code>contentType</code> header. To see the format and content of the request and response bodies for different models, refer to <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html">Inference parameters</a>.</p>"""
    content_type: "capo_bedrock_runtime.types.mime_type.MimeType"
    """<p>The MIME type of the inference result.</p>"""
    performance_config_latency: NotRequired[
        "capo_bedrock_runtime.types.performance_config_latency.PerformanceConfigLatency"
    ]
    """<p>Model performance settings for the request.</p>"""
    service_tier: NotRequired[
        "capo_bedrock_runtime.types.service_tier_type.ServiceTierType"
    ]
    """<p>Specifies the processing tier type used for serving the request.</p>"""

body instance-attribute

body: Body

Inference response from the model in the format specified in the contentType header. To see the format and content of the request and response bodies for different models, refer to Inference parameters.

content_type instance-attribute

content_type: MimeType

The MIME type of the inference result.

performance_config_latency instance-attribute

performance_config_latency: NotRequired[PerformanceConfigLatency]

Model performance settings for the request.

service_tier instance-attribute

service_tier: NotRequired[ServiceTierType]

Specifies the processing tier type used for serving the request.