vendor/bundle/ruby/1.8/gems/aws-2.5.6/lib/rds/rds.rb
# options:
#      DBInstanceIdentifier
#      MaxRecords
#      Marker
#
# Returns array of instances as hashes.
# Response metadata can be retreived by calling array.response_metadata on the returned array.


Returns array of instances as hashes.
Response metadata can be retreived by calling array.response_metadata on the returned array.
Returns array of instances as hashes . Response metadata can be retreived by calling array . response_metadata on the returned array .
def describe_db_instances(options={})
      params = {}
      params['DBInstanceIdentifier'] = options[:db_instance_identifier] if options[:db_instance_identifier]
      params['MaxRecords'] = options[:max_records] if options[:max_records]
      params['Marker'] = options[:marker] if options[:marker]
      resp = do_request("DescribeDBInstances", params, :pull_out_array=>[:describe_db_instances_result, :db_instances])
    rescue Exception
      on_exception
    end
def describe_db_instances ( options = { } ) params = { } params [ 'DBInstanceIdentifier' ] = options [ :db_instance_identifier ] if options [ :db_instance_identifier ] params [ 'MaxRecords' ] = options [ :max_records ] if options [ :max_records ] params [ 'Marker' ] = options [ :marker ] if options [ :marker ] resp = do_request ( "DescribeDBInstances" , params , :pull_out_array => [ :describe_db_instances_result , :db_instances ] ) rescue Exception on_exception end
options:
DBInstanceIdentifier
MaxRecords
Marker
options : DBInstanceIdentifier MaxRecords Marker
options