Module: Aws::Redshift

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

Overview

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

redshift = Aws::Redshift::Client.new
resp = redshift.accept_reserved_node_exchange(params)

See Client for more information.

# Errors

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

begin
  # do stuff
rescue Aws::Redshift::Errors::ServiceError
  # rescues all Amazon Redshift API errors
end

See Errors for more information.

Defined Under Namespace

Modules: ClientApi, Endpoints, Errors, Plugins, Types, Waiters Classes: Client, EndpointParameters, EndpointProvider, Resource

service collapse

GEM_VERSION =
'1.132.0'