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.



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

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

Instance Method Details

#all(filters_arg = filters) ⇒ Object

This method deliberately returns only a single page of results



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

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

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