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

Class: Aws::ApiGatewayV2::Types::CreateApiRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CreateApiRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  api_key_selection_expression: "SelectionExpression",
  description: "StringWithLengthBetween0And1024",
  disable_schema_validation: false,
  name: "StringWithLengthBetween1And128", # required
  protocol_type: "WEBSOCKET", # required, accepts WEBSOCKET
  route_selection_expression: "SelectionExpression", # required
  version: "StringWithLengthBetween1And64",
}

Instance Attribute Summary collapse

Instance Attribute Details

#api_key_selection_expressionString

An expression used to extract information at runtime. See Selection Expressions for more information.

Returns:

  • (String)

    An expression used to extract information at runtime.

#descriptionString

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

Returns:

  • (String)

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

    .

#disable_schema_validationBoolean

Returns:

  • (Boolean)

#nameString

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

Returns:

  • (String)

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

    .

#protocol_typeString

Possible values:

  • WEBSOCKET

Returns:

  • (String)

#route_selection_expressionString

An expression used to extract information at runtime. See Selection Expressions for more information.

Returns:

  • (String)

    An expression used to extract information at runtime.

#versionString

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

Returns:

  • (String)

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

    .