Module: Aws::CloudHSM

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

Overview

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

cloud_hsm = Aws::CloudHSM::Client.new
resp = cloud_hsm.add_tags_to_resource(params)

See Client for more information.

# Errors

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

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