Class: Aws::ApiGatewayV2::Types::CreateModelRequest

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#api_idString

Returns:

  • (String)


2027
2028
2029
2030
2031
2032
2033
2034
2035
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 2027

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

#content_typeString

A string with a length between [1-256].

Returns:

  • (String)


2027
2028
2029
2030
2031
2032
2033
2034
2035
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 2027

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

#descriptionString

A string with a length between [0-1024].

Returns:

  • (String)


2027
2028
2029
2030
2031
2032
2033
2034
2035
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 2027

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

#nameString

A string with a length between [1-128].

Returns:

  • (String)


2027
2028
2029
2030
2031
2032
2033
2034
2035
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 2027

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

#schemaString

A string with a length between [0-32768].

Returns:

  • (String)


2027
2028
2029
2030
2031
2032
2033
2034
2035
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 2027

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