Module: Aws::ApiGatewayV2

Defined in:
lib/aws-sdk-apigatewayv2/endpoint_parameters.rb,
lib/aws-sdk-apigatewayv2/plugins/endpoints.rb,
lib/aws-sdk-apigatewayv2/endpoint_provider.rb,
lib/aws-sdk-apigatewayv2/client_api.rb,
lib/aws-sdk-apigatewayv2/endpoints.rb,
lib/aws-sdk-apigatewayv2/resource.rb,
lib/aws-sdk-apigatewayv2/errors.rb,
lib/aws-sdk-apigatewayv2/client.rb,
lib/aws-sdk-apigatewayv2/types.rb,
lib/aws-sdk-apigatewayv2.rb

Overview

This module provides support for AmazonApiGatewayV2. This module is available in the ‘aws-sdk-apigatewayv2` gem.

# Client

The Client class provides one method for each API operation. Operation methods each accept a hash of request parameters and return a response structure.

api_gateway_v2 = Aws::ApiGatewayV2::Client.new
resp = api_gateway_v2.create_api(params)

See Client for more information.

# Errors

Errors returned from AmazonApiGatewayV2 are defined in the Errors module and all extend Errors::ServiceError.

begin
  # do stuff
rescue Aws::ApiGatewayV2::Errors::ServiceError
  # rescues all AmazonApiGatewayV2 API errors
end

See Errors for more information.

Defined Under Namespace

Modules: ClientApi, Endpoints, Errors, Plugins, Types Classes: Client, EndpointParameters, EndpointProvider, Resource

service collapse

GEM_VERSION =
'1.68.0'