Class: Fog::AWS::RDS::InstanceOptions

Inherits:
PagedCollection
  • Object
show all
Defined in:
lib/fog/aws/models/rds/instance_options.rb

Instance Method Summary collapse

Constructor Details

#initialize(attributes) ⇒ InstanceOptions

Returns a new instance of InstanceOptions.



13
14
15
16
# File 'lib/fog/aws/models/rds/instance_options.rb', line 13

def initialize(attributes)
  self.filters ||= {}
  super
end

Instance Method Details

#all(filters = filters) ⇒ Object

This method deliberately returns only a single page of results



19
20
21
22
23
24
25
# File 'lib/fog/aws/models/rds/instance_options.rb', line 19

def all(filters=filters)
  self.filters.merge!(filters)

  result = service.describe_orderable_db_instance_options(engine, self.filters).body['DescribeOrderableDBInstanceOptionsResult']
  self.filters[:marker] = result['Marker']
  load(result['OrderableDBInstanceOptions'])
end