Class: Aws::ApiGatewayV2::Types::UpdateModelRequest

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

Overview

Note:

When making an API call, you may pass UpdateModelRequest data as a hash:

{
  api_id: "__string", # required
  content_type: "StringWithLengthBetween1And256",
  description: "StringWithLengthBetween0And1024",
  model_id: "__string", # required
  name: "StringWithLengthBetween1And128",
  schema: "StringWithLengthBetween0And32K",
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#api_idString

Returns:

  • (String)


7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 7395

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

#content_typeString

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

Returns:

  • (String)


7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 7395

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

#descriptionString

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

Returns:

  • (String)


7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 7395

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

#model_idString

Returns:

  • (String)


7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 7395

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

#nameString

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

Returns:

  • (String)


7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 7395

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

#schemaString

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

Returns:

  • (String)


7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 7395

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