You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Module: Aws::DAX
- Defined in:
- (unknown)
Overview
This module provides a client for making API requests to Amazon DynamoDB Accelerator (DAX).
Aws::DAX::Client
The Client class provides one-to-one mapping for each API operation.
dax = Aws::DAX::Client.new(region: 'us-east-1')
dax.operation_names
#=> [:create_cluster, :create_parameter_group, :create_subnet_group, :decrease_replication_factor, ...]
Each API operation method accepts a hash of request parameters and returns a response object.
resp = dax.create_cluster(params)
See Client for more information.
Aws::DAX::Errors
Errors returned from Amazon DynamoDB Accelerator (DAX) are defined in the Errors module and extend Errors::ServiceError.
begin
# do stuff
rescue Aws::DAX::Errors::ServiceError
# rescues all errors returned by Amazon DynamoDB Accelerator (DAX)
end
See Errors for more information.