Module: Aws::APIGateway
- Defined in:
- lib/aws-sdk-apigateway/endpoint_parameters.rb,
lib/aws-sdk-apigateway/plugins/apply_content_type_header.rb,
lib/aws-sdk-apigateway/plugins/endpoints.rb,
lib/aws-sdk-apigateway/endpoint_provider.rb,
lib/aws-sdk-apigateway/client_api.rb,
lib/aws-sdk-apigateway/endpoints.rb,
lib/aws-sdk-apigateway/resource.rb,
lib/aws-sdk-apigateway/errors.rb,
lib/aws-sdk-apigateway/client.rb,
lib/aws-sdk-apigateway/types.rb,
lib/aws-sdk-apigateway.rb
Overview
This module provides support for Amazon API Gateway. This module is available in the ‘aws-sdk-apigateway` 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 = Aws::APIGateway::Client.new
resp = api_gateway.create_api_key(params)
See Client for more information.
# Errors
Errors returned from Amazon API Gateway are defined in the Errors module and all extend Errors::ServiceError.
begin
# do stuff
rescue Aws::APIGateway::Errors::ServiceError
# rescues all Amazon API Gateway 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.108.0'