You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Module: Aws::RDS

Defined in:
aws-sdk-core/lib/aws-sdk-core/rds.rb,
aws-sdk-core/lib/aws-sdk-core/rds/auth_token_generator.rb

Overview

This module provides a client for making API requests to Amazon Relational Database Service.

Aws::RDS::Client

The Client class provides one-to-one mapping for each API operation.

rds = Aws::RDS::Client.new(region: 'us-east-1')
rds.operation_names
#=> [:add_role_to_db_cluster, :add_source_identifier_to_subscription, :add_tags_to_resource, :apply_pending_maintenance_action, ...]

Each API operation method accepts a hash of request parameters and returns a response object.

resp = rds.add_role_to_db_cluster(params)

See Client for more information.

Aws::RDS::Errors

Errors returned from Amazon Relational Database Service are defined in the Errors module and extend Errors::ServiceError.

begin
  # do stuff
rescue Aws::RDS::Errors::ServiceError
  # rescues all errors returned by Amazon Relational Database Service
end

See Errors for more information.

Defined Under Namespace

Modules: Errors, Types Classes: AccountQuota, AuthTokenGenerator, Certificate, Client, DBCluster, DBClusterParameterGroup, DBClusterSnapshot, DBEngine, DBEngineVersion, DBInstance, DBLogFile, DBParameterGroup, DBParameterGroupFamily, DBSecurityGroup, DBSnapshot, DBSnapshotAttribute, DBSubnetGroup, Event, EventCategoryMap, EventSubscription, OptionGroup, OptionGroupOption, Parameter, PendingMaintenanceAction, ReservedDBInstance, ReservedDBInstancesOffering, Resource, ResourcePendingMaintenanceActionList