vendor/bundle/ruby/1.8/gems/aws-2.5.6/lib/rds/rds.rb
# identifier: identifier of db instance to delete.
# final_snapshot_identifier: if specified, RDS will crate a final snapshot before deleting so you can restore it later.
identifier of db instance to delete.
final_snapshot_identifier: if specified, RDS will crate a final snapshot before deleting so you can restore it later.
identifier of db instance to delete . final_snapshot_identifier : if specified RDS will crate a final snapshot before deleting so you can restore it later .
def delete_db_instance(identifier, final_snapshot_identifier=nil)
      @logger.info("Deleting DB Instance - " + identifier.to_s)
      params                         = {}
      params['DBInstanceIdentifier'] = identifier
      if final_snapshot_identifier
        params['FinalDBSnapshotIdentifier'] = final_snapshot_identifier
      else
        params['SkipFinalSnapshot'] = true
      end
      link = do_request("DeleteDBInstance", params, :pull_out_single=>[:delete_db_instance_result, :db_instance])
    rescue Exception
      on_exception
    end
def delete_db_instance ( identifier , final_snapshot_identifier = nil ) @logger . info ( "Deleting DB Instance - " + identifier . to_s ) params = { } params [ 'DBInstanceIdentifier' ] = identifier if final_snapshot_identifier params [ 'FinalDBSnapshotIdentifier' ] = final_snapshot_identifier else params [ 'SkipFinalSnapshot' ] = true end link = do_request ( "DeleteDBInstance" , params , :pull_out_single => [ :delete_db_instance_result , :db_instance ] ) rescue Exception on_exception end
identifier: identifier of db instance to delete.
identifier : identifier of db instance to delete .
identifier
final_snapshot_identifier