Class: Aws::ApiGatewayV2::Types::UpdateModelInput

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

Overview

Represents the input parameters for an UpdateModel request. Supported only for WebSocket APIs.

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)


7286
7287
7288
7289
7290
7291
7292
7293
# File 'lib/aws-sdk-apigatewayv2/types.rb', line 7286

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

#descriptionString

The description of the model.

Returns:

  • (String)


7286
7287
7288
7289
7290
7291
7292
7293
# File 'lib/aws-sdk-apigatewayv2/types.rb', line 7286

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

#nameString

The name of the model.

Returns:

  • (String)


7286
7287
7288
7289
7290
7291
7292
7293
# File 'lib/aws-sdk-apigatewayv2/types.rb', line 7286

class UpdateModelInput < 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)


7286
7287
7288
7289
7290
7291
7292
7293
# File 'lib/aws-sdk-apigatewayv2/types.rb', line 7286

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