Class: AWS::RDS
- Inherits:
-
Object
- Object
- AWS::RDS
- Includes:
- Core::ServiceInterface
- Defined in:
- lib/aws/rds.rb,
lib/aws/rds/client.rb,
lib/aws/rds/errors.rb,
lib/aws/rds/request.rb,
lib/aws/rds/db_instance.rb,
lib/aws/rds/db_snapshot.rb,
lib/aws/rds/db_instance_collection.rb,
lib/aws/rds/db_snapshot_collection.rb
Overview
This class is the starting point for working with Amazon Relational Database Service (RDS).
For more information about RDS:
Credentials
You can setup default credentials for all AWS services via AWS.config:
AWS.config(
:access_key_id => 'YOUR_ACCESS_KEY_ID',
:secret_access_key => 'YOUR_SECRET_ACCESS_KEY')
Or you can set them directly on the AWS::RDS interface:
rds = AWS::RDS.new(
:access_key_id => 'YOUR_ACCESS_KEY_ID',
:secret_access_key => 'YOUR_SECRET_ACCESS_KEY')
Defined Under Namespace
Modules: Errors Classes: Client, DBInstance, DBInstanceCollection, DBSnapshot, DBSnapshotCollection
Instance Attribute Summary collapse
-
#client ⇒ Client
readonly
The low-level RDS client object.
Instance Method Summary collapse
- #db_instances ⇒ DBInstanceCollection (also: #instances)
-
#db_snapshots ⇒ DBSnapshotCollection
(also: #snapshots)
].
Methods included from Core::ServiceInterface
Instance Attribute Details
#client ⇒ Client (readonly)
Returns the low-level RDS client object.
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 |
# File 'lib/aws/rds.rb', line 44 class RDS AWS.register_autoloads(self) do autoload :Client, 'client' autoload :Errors, 'errors' autoload :DBInstance, 'db_instance' autoload :DBInstanceCollection, 'db_instance_collection' autoload :DBSnapshot, 'db_snapshot' autoload :DBSnapshotCollection, 'db_snapshot_collection' autoload :Request, 'request' end include Core::ServiceInterface # @return [DBInstanceCollection] def db_instances DBInstanceCollection.new(:config => config) end alias_method :instances, :db_instances # @return [DBSnapshotCollection]] def db_snapshots DBSnapshotCollection.new(:config => config) end alias_method :snapshots, :db_snapshots end |
Instance Method Details
#db_instances ⇒ DBInstanceCollection Also known as: instances
59 60 61 |
# File 'lib/aws/rds.rb', line 59 def db_instances DBInstanceCollection.new(:config => config) end |
#db_snapshots ⇒ DBSnapshotCollection Also known as: snapshots
Returns ].
65 66 67 |
# File 'lib/aws/rds.rb', line 65 def db_snapshots DBSnapshotCollection.new(:config => config) end |