Module: Aws::EC2InstanceConnect

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

Overview

This module provides support for AWS EC2 Instance Connect. This module is available in the ‘aws-sdk-ec2instanceconnect` 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.

ec2_instance_connect = Aws::EC2InstanceConnect::Client.new
resp = ec2_instance_connect.send_ssh_public_key(params)

See Client for more information.

# Errors

Errors returned from AWS EC2 Instance Connect are defined in the Errors module and all extend Errors::ServiceError.

begin
  # do stuff
rescue Aws::EC2InstanceConnect::Errors::ServiceError
  # rescues all AWS EC2 Instance Connect 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.52.0'