class Aws::APIGateway::Types::CreateModelRequest

Request to add a new Model to an existing RestApi resource.

@note When making an API call, you may pass CreateModelRequest

data as a hash:

    {
      rest_api_id: "String", # required
      name: "String", # required
      description: "String",
      schema: "String",
      content_type: "String", # required
    }

@!attribute [rw] rest_api_id

\[Required\] The RestApi identifier under which the Model will be
created.
@return [String]

@!attribute [rw] name

\[Required\] The name of the model. Must be alphanumeric.
@return [String]

@!attribute [rw] description

The description of the model.
@return [String]

@!attribute [rw] schema

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

[1]: https://tools.ietf.org/html/draft-zyp-json-schema-04
@return [String]

@!attribute [rw] content_type

\[Required\] The content-type for the model.
@return [String]

Constants

SENSITIVE