Class: Aws::ApiGatewayManagementApi::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::ApiGatewayManagementApi::Client
- Includes:
- ClientStubs
- Defined in:
- lib/aws-sdk-apigatewaymanagementapi/client.rb
Class Attribute Summary collapse
- .identifier ⇒ Object readonly private
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.
Class Method Summary collapse
- .errors_module ⇒ Object private
Instance Method Summary collapse
- #build_request(operation_name, params = {}) ⇒ Object private
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
- #waiter_names ⇒ Object deprecated private Deprecated.
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
251 252 253 |
# File 'lib/aws-sdk-apigatewaymanagementapi/client.rb', line 251 def initialize(*args) super end |
Class Attribute Details
.identifier ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
355 356 357 |
# File 'lib/aws-sdk-apigatewaymanagementapi/client.rb', line 355 def identifier @identifier end |
Class Method Details
.errors_module ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
358 359 360 |
# File 'lib/aws-sdk-apigatewaymanagementapi/client.rb', line 358 def errors_module Errors end |
Instance Method Details
#build_request(operation_name, params = {}) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
333 334 335 336 337 338 339 340 341 342 343 344 |
# File 'lib/aws-sdk-apigatewaymanagementapi/client.rb', line 333 def build_request(operation_name, params = {}) handlers = @handlers.for(operation_name) context = Seahorse::Client::RequestContext.new( operation_name: operation_name, operation: config.api.operation(operation_name), client: self, params: params, config: config) context[:gem_name] = 'aws-sdk-apigatewaymanagementapi' context[:gem_version] = '1.11.0' Seahorse::Client::Request.new(handlers, context) end |
#delete_connection(params = {}) ⇒ Struct
Delete the connection with the provided id.
271 272 273 274 |
# File 'lib/aws-sdk-apigatewaymanagementapi/client.rb', line 271 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.
301 302 303 304 |
# File 'lib/aws-sdk-apigatewaymanagementapi/client.rb', line 301 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.
324 325 326 327 |
# File 'lib/aws-sdk-apigatewaymanagementapi/client.rb', line 324 def post_to_connection(params = {}, = {}) req = build_request(:post_to_connection, params) req.send_request() end |
#waiter_names ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
348 349 350 |
# File 'lib/aws-sdk-apigatewaymanagementapi/client.rb', line 348 def waiter_names [] end |