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

Class: Aws::ApiGatewayV2::Types::Api

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

Overview

Represents an API.

Instance Attribute Summary collapse

Instance Attribute Details

#api_endpointString

The URI of the API, of the form {api-id\}.execute-api.{region\}.amazonaws.com. The stage name is typically appended to this URI to form a complete path to a deployed API stage.

Returns:

  • (String)


96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 96

class Api < Struct.new(
  :api_endpoint,
  :api_id,
  :api_key_selection_expression,
  :created_date,
  :description,
  :disable_schema_validation,
  :name,
  :protocol_type,
  :route_selection_expression,
  :version,
  :warnings,
  :tags)
  include Aws::Structure
end

#api_idString

The API ID.

Returns:

  • (String)


96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 96

class Api < Struct.new(
  :api_endpoint,
  :api_id,
  :api_key_selection_expression,
  :created_date,
  :description,
  :disable_schema_validation,
  :name,
  :protocol_type,
  :route_selection_expression,
  :version,
  :warnings,
  :tags)
  include Aws::Structure
end

#api_key_selection_expressionString

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

Returns:

  • (String)


96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 96

class Api < Struct.new(
  :api_endpoint,
  :api_id,
  :api_key_selection_expression,
  :created_date,
  :description,
  :disable_schema_validation,
  :name,
  :protocol_type,
  :route_selection_expression,
  :version,
  :warnings,
  :tags)
  include Aws::Structure
end

#created_dateTime

The timestamp when the API was created.

Returns:

  • (Time)


96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 96

class Api < Struct.new(
  :api_endpoint,
  :api_id,
  :api_key_selection_expression,
  :created_date,
  :description,
  :disable_schema_validation,
  :name,
  :protocol_type,
  :route_selection_expression,
  :version,
  :warnings,
  :tags)
  include Aws::Structure
end

#descriptionString

The description of the API.

Returns:

  • (String)


96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 96

class Api < Struct.new(
  :api_endpoint,
  :api_id,
  :api_key_selection_expression,
  :created_date,
  :description,
  :disable_schema_validation,
  :name,
  :protocol_type,
  :route_selection_expression,
  :version,
  :warnings,
  :tags)
  include Aws::Structure
end

#disable_schema_validationBoolean

Avoid validating models when creating a deployment.

Returns:

  • (Boolean)


96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 96

class Api < Struct.new(
  :api_endpoint,
  :api_id,
  :api_key_selection_expression,
  :created_date,
  :description,
  :disable_schema_validation,
  :name,
  :protocol_type,
  :route_selection_expression,
  :version,
  :warnings,
  :tags)
  include Aws::Structure
end

#nameString

The name of the API.

Returns:

  • (String)


96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 96

class Api < Struct.new(
  :api_endpoint,
  :api_id,
  :api_key_selection_expression,
  :created_date,
  :description,
  :disable_schema_validation,
  :name,
  :protocol_type,
  :route_selection_expression,
  :version,
  :warnings,
  :tags)
  include Aws::Structure
end

#protocol_typeString

The API protocol: Currently only WEBSOCKET is supported.

Returns:

  • (String)


96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 96

class Api < Struct.new(
  :api_endpoint,
  :api_id,
  :api_key_selection_expression,
  :created_date,
  :description,
  :disable_schema_validation,
  :name,
  :protocol_type,
  :route_selection_expression,
  :version,
  :warnings,
  :tags)
  include Aws::Structure
end

#route_selection_expressionString

The route selection expression for the API.

Returns:

  • (String)


96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 96

class Api < Struct.new(
  :api_endpoint,
  :api_id,
  :api_key_selection_expression,
  :created_date,
  :description,
  :disable_schema_validation,
  :name,
  :protocol_type,
  :route_selection_expression,
  :version,
  :warnings,
  :tags)
  include Aws::Structure
end

#tagsHash<String,String>

Tags for the API.

Returns:

  • (Hash<String,String>)


96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 96

class Api < Struct.new(
  :api_endpoint,
  :api_id,
  :api_key_selection_expression,
  :created_date,
  :description,
  :disable_schema_validation,
  :name,
  :protocol_type,
  :route_selection_expression,
  :version,
  :warnings,
  :tags)
  include Aws::Structure
end

#versionString

A version identifier for the API.

Returns:

  • (String)


96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 96

class Api < Struct.new(
  :api_endpoint,
  :api_id,
  :api_key_selection_expression,
  :created_date,
  :description,
  :disable_schema_validation,
  :name,
  :protocol_type,
  :route_selection_expression,
  :version,
  :warnings,
  :tags)
  include Aws::Structure
end

#warningsArray<String>

The warning messages reported when failonwarnings is turned on during API import.

Returns:

  • (Array<String>)


96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 96

class Api < Struct.new(
  :api_endpoint,
  :api_id,
  :api_key_selection_expression,
  :created_date,
  :description,
  :disable_schema_validation,
  :name,
  :protocol_type,
  :route_selection_expression,
  :version,
  :warnings,
  :tags)
  include Aws::Structure
end