EmptyModel

class aws_cdk.aws_apigateway.EmptyModel

Bases: object

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 :deprecated: You should use

see :see: Model.EMPTY_MODEL stability :stability: deprecated

__init__()

Initialize self. See help(type(self)) for accurate signature.

Return type

None

Attributes

model_id

Returns the model name, such as ‘myModel’.

stability :stability: deprecated

Return type

str