Class: Aws::ApiGatewayV2::Types::CreateModelRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::ApiGatewayV2::Types::CreateModelRequest
- Defined in:
- gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb
Overview
Note:
When making an API call, you may pass CreateModelRequest data as a hash:
{
api_id: "__string", # required
content_type: "StringWithLengthBetween1And256",
description: "StringWithLengthBetween0And1024",
name: "StringWithLengthBetween1And128", # required
schema: "StringWithLengthBetween0And32K", # required
}
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#api_id ⇒ String
-
#content_type ⇒ String
A string with a length between [1-256].
-
#description ⇒ String
A string with a length between [0-1024].
-
#name ⇒ String
A string with a length between [1-128].
-
#schema ⇒ String
A string with a length between [0-32768].
Instance Attribute Details
#api_id ⇒ String
2204 2205 2206 2207 2208 2209 2210 2211 2212 |
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 2204 class CreateModelRequest < Struct.new( :api_id, :content_type, :description, :name, :schema) SENSITIVE = [] include Aws::Structure end |
#content_type ⇒ String
A string with a length between [1-256].
2204 2205 2206 2207 2208 2209 2210 2211 2212 |
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 2204 class CreateModelRequest < Struct.new( :api_id, :content_type, :description, :name, :schema) SENSITIVE = [] include Aws::Structure end |
#description ⇒ String
A string with a length between [0-1024].
2204 2205 2206 2207 2208 2209 2210 2211 2212 |
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 2204 class CreateModelRequest < Struct.new( :api_id, :content_type, :description, :name, :schema) SENSITIVE = [] include Aws::Structure end |
#name ⇒ String
A string with a length between [1-128].
2204 2205 2206 2207 2208 2209 2210 2211 2212 |
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 2204 class CreateModelRequest < Struct.new( :api_id, :content_type, :description, :name, :schema) SENSITIVE = [] include Aws::Structure end |
#schema ⇒ String
A string with a length between [0-32768].
2204 2205 2206 2207 2208 2209 2210 2211 2212 |
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 2204 class CreateModelRequest < Struct.new( :api_id, :content_type, :description, :name, :schema) SENSITIVE = [] include Aws::Structure end |