You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::ApiGatewayV2::Types::CreateApiInput

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

Overview

Represents the input parameters for a CreateApi request.

Instance Attribute Summary collapse

Instance Attribute Details

#api_key_selection_expressionString

An API key selection expression. See API Key Selection Expressions.

Returns:

  • (String)


339
340
341
342
343
344
345
346
347
348
349
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 339

class CreateApiInput < Struct.new(
  :api_key_selection_expression,
  :description,
  :disable_schema_validation,
  :name,
  :protocol_type,
  :route_selection_expression,
  :version,
  :tags)
  include Aws::Structure
end

#descriptionString

The description of the API.

Returns:

  • (String)


339
340
341
342
343
344
345
346
347
348
349
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 339

class CreateApiInput < Struct.new(
  :api_key_selection_expression,
  :description,
  :disable_schema_validation,
  :name,
  :protocol_type,
  :route_selection_expression,
  :version,
  :tags)
  include Aws::Structure
end

#disable_schema_validationBoolean

Avoid validating models when creating a deployment.

Returns:

  • (Boolean)


339
340
341
342
343
344
345
346
347
348
349
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 339

class CreateApiInput < Struct.new(
  :api_key_selection_expression,
  :description,
  :disable_schema_validation,
  :name,
  :protocol_type,
  :route_selection_expression,
  :version,
  :tags)
  include Aws::Structure
end

#nameString

The name of the API.

Returns:

  • (String)


339
340
341
342
343
344
345
346
347
348
349
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 339

class CreateApiInput < Struct.new(
  :api_key_selection_expression,
  :description,
  :disable_schema_validation,
  :name,
  :protocol_type,
  :route_selection_expression,
  :version,
  :tags)
  include Aws::Structure
end

#protocol_typeString

The API protocol: Currently only WEBSOCKET is supported.

Returns:

  • (String)


339
340
341
342
343
344
345
346
347
348
349
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 339

class CreateApiInput < Struct.new(
  :api_key_selection_expression,
  :description,
  :disable_schema_validation,
  :name,
  :protocol_type,
  :route_selection_expression,
  :version,
  :tags)
  include Aws::Structure
end

#route_selection_expressionString

The route selection expression for the API.

Returns:

  • (String)


339
340
341
342
343
344
345
346
347
348
349
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 339

class CreateApiInput < Struct.new(
  :api_key_selection_expression,
  :description,
  :disable_schema_validation,
  :name,
  :protocol_type,
  :route_selection_expression,
  :version,
  :tags)
  include Aws::Structure
end

#tagsHash<String,String>

Tags for the API.

Returns:

  • (Hash<String,String>)


339
340
341
342
343
344
345
346
347
348
349
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 339

class CreateApiInput < Struct.new(
  :api_key_selection_expression,
  :description,
  :disable_schema_validation,
  :name,
  :protocol_type,
  :route_selection_expression,
  :version,
  :tags)
  include Aws::Structure
end

#versionString

A version identifier for the API.

Returns:

  • (String)


339
340
341
342
343
344
345
346
347
348
349
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 339

class CreateApiInput < Struct.new(
  :api_key_selection_expression,
  :description,
  :disable_schema_validation,
  :name,
  :protocol_type,
  :route_selection_expression,
  :version,
  :tags)
  include Aws::Structure
end