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.



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

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

Instance Method Details

#all(filters = filters) ⇒ Object

This method deliberately returns only a single page of results



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

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