Skip to content

DataSourceIntrospectionModel

Source code in docs_src/capo_appsync/types/data_source_introspection_model.py
class DataSourceIntrospectionModel(TypedDict, closed=True):
    name: NotRequired["capo_appsync.types.string.String"]
    """<p>The name of the model. For example, this could be the name of a single table in a database.</p>"""
    fields: NotRequired[
        "capo_appsync.types.data_source_introspection_model_fields.DataSourceIntrospectionModelFields"
    ]
    """<p>The <code>DataSourceIntrospectionModelField</code> object data.</p>"""
    primary_key: NotRequired[
        "capo_appsync.types.data_source_introspection_model_index.DataSourceIntrospectionModelIndex"
    ]
    """<p>The primary key stored as a <code>DataSourceIntrospectionModelIndex</code> object.</p>"""
    indexes: NotRequired[
        "capo_appsync.types.data_source_introspection_model_indexes.DataSourceIntrospectionModelIndexes"
    ]
    """<p>The array of <code>DataSourceIntrospectionModelIndex</code> objects.</p>"""
    sdl: NotRequired["capo_appsync.types.string.String"]
    """<p>Contains the output of the SDL that was generated from the introspected types. This is controlled by the <code>includeModelsSDL</code> parameter of the <code>GetDataSourceIntrospection</code> operation.</p>"""

fields instance-attribute

The DataSourceIntrospectionModelField object data.

indexes instance-attribute

The array of DataSourceIntrospectionModelIndex objects.

name instance-attribute

name: NotRequired[String]

The name of the model. For example, this could be the name of a single table in a database.

primary_key instance-attribute

primary_key: NotRequired[DataSourceIntrospectionModelIndex]

The primary key stored as a DataSourceIntrospectionModelIndex object.

sdl instance-attribute

sdl: NotRequired[String]

Contains the output of the SDL that was generated from the introspected types. This is controlled by the includeModelsSDL parameter of the GetDataSourceIntrospection operation.