Module: Aws::KMS
- Defined in:
- lib/aws-sdk-kms/endpoint_parameters.rb,
lib/aws-sdk-kms/plugins/endpoints.rb,
lib/aws-sdk-kms/endpoint_provider.rb,
lib/aws-sdk-kms/client_api.rb,
lib/aws-sdk-kms/endpoints.rb,
lib/aws-sdk-kms/resource.rb,
lib/aws-sdk-kms/errors.rb,
lib/aws-sdk-kms/client.rb,
lib/aws-sdk-kms/types.rb,
lib/aws-sdk-kms.rb
Overview
This module provides support for AWS Key Management Service. This module is available in the ‘aws-sdk-kms` 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.
kms = Aws::KMS::Client.new
resp = kms.cancel_key_deletion(params)
See Client for more information.
# Errors
Errors returned from AWS Key Management Service are defined in the Errors module and all extend Errors::ServiceError.
begin
# do stuff
rescue Aws::KMS::Errors::ServiceError
# rescues all AWS Key Management Service 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.96.0'