Skip to content

CreateModelRequest

Source code in docs_src/capo_api_gateway/types/create_model_request.py
class CreateModelRequest(TypedDict, closed=True):
    rest_api_id: "capo_api_gateway.types.string.String"
    """<p>The RestApi identifier under which the Model will be created.</p>"""
    name: "capo_api_gateway.types.string.String"
    """<p>The name of the model. Must be alphanumeric.</p>"""
    description: NotRequired["capo_api_gateway.types.string.String"]
    """<p>The description of the model.</p>"""
    schema: NotRequired["capo_api_gateway.types.string.String"]
    """<p>The schema for the model. For <code>application/json</code> models, this should be JSON schema draft 4 model. The maximum size of the model is 400 KB.</p>"""
    content_type: "capo_api_gateway.types.string.String"
    """<p>The content-type for the model.</p>"""

content_type instance-attribute

content_type: String

The content-type for the model.

description instance-attribute

description: NotRequired[String]

The description of the model.

name instance-attribute

name: String

The name of the model. Must be alphanumeric.

rest_api_id instance-attribute

rest_api_id: String

The RestApi identifier under which the Model will be created.

schema instance-attribute

schema: NotRequired[String]

The schema for the model. For application/json models, this should be JSON schema draft 4 model. The maximum size of the model is 400 KB.