Skip to content

GetModelResponse

Source code in docs_src/capo_apigatewayv2/types/get_model_response.py
class GetModelResponse(TypedDict, closed=True):
    content_type: NotRequired[
        "capo_apigatewayv2.types.string_with_length_between1_and256.StringWithLengthBetween1And256"
    ]
    """<p>The content-type for the model, for example, "application/json".</p>"""
    description: NotRequired[
        "capo_apigatewayv2.types.string_with_length_between0_and1024.StringWithLengthBetween0And1024"
    ]
    """<p>The description of the model.</p>"""
    model_id: NotRequired["capo_apigatewayv2.types.id.Id"]
    """<p>The model identifier.</p>"""
    name: NotRequired[
        "capo_apigatewayv2.types.string_with_length_between1_and128.StringWithLengthBetween1And128"
    ]
    """<p>The name of the model. Must be alphanumeric.</p>"""
    schema: NotRequired[
        "capo_apigatewayv2.types.string_with_length_between0_and32_k.StringWithLengthBetween0And32K"
    ]
    """<p>The schema for the model. For application/json models, this should be JSON schema draft 4 model.</p>"""

content_type instance-attribute

content_type: NotRequired[StringWithLengthBetween1And256]

The content-type for the model, for example, "application/json".

description instance-attribute

description: NotRequired[StringWithLengthBetween0And1024]

The description of the model.

model_id instance-attribute

model_id: NotRequired[Id]

The model identifier.

name instance-attribute

name: NotRequired[StringWithLengthBetween1And128]

The name of the model. Must be alphanumeric.

schema instance-attribute

schema: NotRequired[StringWithLengthBetween0And32K]

The schema for the model. For application/json models, this should be JSON schema draft 4 model.