Module: Aws::CloudHSMV2

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

Overview

This module provides support for AWS CloudHSM V2. This module is available in the ‘aws-sdk-cloudhsmv2` 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_hsmv2 = Aws::CloudHSMV2::Client.new
resp = cloud_hsmv2.copy_backup_to_region(params)

See Client for more information.

# Errors

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

begin
  # do stuff
rescue Aws::CloudHSMV2::Errors::ServiceError
  # rescues all AWS CloudHSM V2 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.69.0'