EmptyModel

class aws_cdk.aws_apigateway.EmptyModel

Bases: object

(deprecated) Represents a reference to a REST API’s Empty model, which is available as part of the model collection by default.

This can be used for mapping JSON responses from an integration to what is returned to a client, where strong typing is not required. In the absence of any defined model, the Empty model will be used to return the response payload unmapped.

Definition { “$schema” : “http://json-schema.org/draft-04/schema#”, “title” : “Empty Schema”, “type” : “object” }

Deprecated

You should use

See

Model.EMPTY_MODEL

Stability

deprecated

Attributes

model_id

(deprecated) Returns the model name, such as ‘myModel’.

Stability

deprecated

Return type

str