Class: Aws::ApiGatewayManagementApi::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::ApiGatewayManagementApi::Client
- Includes:
- ClientStubs
- Defined in:
- gems/aws-sdk-apigatewaymanagementapi/lib/aws-sdk-apigatewaymanagementapi/client.rb
Overview
An API client for ApiGatewayManagementApi. To construct a client, you need to configure a :region
and :credentials
.
client = Aws::ApiGatewayManagementApi::Client.new(
region: region_name,
credentials: credentials,
# ...
)
For details on configuring region and credentials see the developer guide.
See #initialize for a full list of supported configuration options.
Instance Attribute Summary
Attributes inherited from Seahorse::Client::Base
API Operations collapse
-
#delete_connection(params = {}) ⇒ Struct
Delete the connection with the provided id.
-
#get_connection(params = {}) ⇒ Types::GetConnectionResponse
Get information about the connection with the provided id.
-
#post_to_connection(params = {}) ⇒ Struct
Sends the provided data to the specified connection.
Instance Method Summary collapse
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
Methods included from ClientStubs
#api_requests, #stub_data, #stub_responses
Methods inherited from Seahorse::Client::Base
add_plugin, api, clear_plugins, define, new, #operation_names, plugins, remove_plugin, set_api, set_plugins
Methods included from Seahorse::Client::HandlerBuilder
#handle, #handle_request, #handle_response
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
385 386 387 |
# File 'gems/aws-sdk-apigatewaymanagementapi/lib/aws-sdk-apigatewaymanagementapi/client.rb', line 385 def initialize(*args) super end |
Instance Method Details
#delete_connection(params = {}) ⇒ Struct
Delete the connection with the provided id.
405 406 407 408 |
# File 'gems/aws-sdk-apigatewaymanagementapi/lib/aws-sdk-apigatewaymanagementapi/client.rb', line 405 def delete_connection(params = {}, = {}) req = build_request(:delete_connection, params) req.send_request() end |
#get_connection(params = {}) ⇒ Types::GetConnectionResponse
Get information about the connection with the provided id.
435 436 437 438 |
# File 'gems/aws-sdk-apigatewaymanagementapi/lib/aws-sdk-apigatewaymanagementapi/client.rb', line 435 def get_connection(params = {}, = {}) req = build_request(:get_connection, params) req.send_request() end |
#post_to_connection(params = {}) ⇒ Struct
Sends the provided data to the specified connection.
458 459 460 461 |
# File 'gems/aws-sdk-apigatewaymanagementapi/lib/aws-sdk-apigatewaymanagementapi/client.rb', line 458 def post_to_connection(params = {}, = {}) req = build_request(:post_to_connection, params) req.send_request() end |