AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Class: Aws::ApiGatewayV2::Types::CreateModelInput

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb

Overview

Represents the input parameters for a CreateModel request.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#content_typeString

The content-type for the model, for example, "application/json".

Returns:

  • (String)


2165
2166
2167
2168
2169
2170
2171
2172
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 2165

class CreateModelInput < Struct.new(
  :content_type,
  :description,
  :name,
  :schema)
  SENSITIVE = []
  include Aws::Structure
end

#descriptionString

The description of the model.

Returns:

  • (String)


2165
2166
2167
2168
2169
2170
2171
2172
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 2165

class CreateModelInput < Struct.new(
  :content_type,
  :description,
  :name,
  :schema)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of the model. Must be alphanumeric.

Returns:

  • (String)


2165
2166
2167
2168
2169
2170
2171
2172
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 2165

class CreateModelInput < Struct.new(
  :content_type,
  :description,
  :name,
  :schema)
  SENSITIVE = []
  include Aws::Structure
end

#schemaString

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

Returns:

  • (String)


2165
2166
2167
2168
2169
2170
2171
2172
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 2165

class CreateModelInput < Struct.new(
  :content_type,
  :description,
  :name,
  :schema)
  SENSITIVE = []
  include Aws::Structure
end