Module: Aws::Lightsail

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

Overview

This module provides support for Amazon Lightsail. This module is available in the ‘aws-sdk-lightsail` 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.

lightsail = Aws::Lightsail::Client.new
resp = lightsail.allocate_static_ip(params)

See Client for more information.

# Errors

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

begin
  # do stuff
rescue Aws::Lightsail::Errors::ServiceError
  # rescues all Amazon Lightsail 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.88.0'