Sha256: bc7cb2e43fbc98aa64fd565618bbfced2f8be64c26eaa250a7301321dfc6d71d
Contents?: true
Size: 965 Bytes
Versions: 38
Compression:
Stored size: 965 Bytes
Contents
module Fog module AWS class RDS class Real require 'fog/aws/parsers/rds/restore_db_instance_from_db_snapshot' # Restores a DB Instance from a DB Snapshot # http://docs.amazonwebservices.com/AmazonRDS/latest/APIReference/index.html?API_RestoreDBInstanceFromDBSnapshot.html # ==== Returns # * response<~Excon::Response>: # * body<~Hash>: def restore_db_instance_from_db_snapshot(snapshot_id, db_name, opts={}) request({ 'Action' => 'RestoreDBInstanceFromDBSnapshot', 'DBSnapshotIdentifier' => snapshot_id, 'DBInstanceIdentifier' => db_name, :parser => Fog::Parsers::AWS::RDS::RestoreDBInstanceFromDBSnapshot.new, }.merge(opts)) end end class Mock def restore_db_instance_from_db_snapshot(snapshot_id, db_id, options={}) Fog::Mock.not_implemented end end end end end
Version data entries
38 entries across 38 versions & 5 rubygems