1
0
Fork 0
mirror of https://github.com/fog/fog-aws.git synced 2022-11-09 13:50:52 -05:00

page default parameters

This commit is contained in:
Eugene Howe 2016-01-31 13:06:14 -05:00
parent 57290fc5da
commit 52f3226fab

View file

@ -31,9 +31,18 @@ module Fog
end end
def defaults(family) def defaults(family)
data = service.describe_engine_default_parameters(family).body['DescribeEngineDefaultParametersResult']['Parameters'] page1 = service.describe_engine_default_parameters(family).body['DescribeEngineDefaultParametersResult']
load(data) marker = page1['Marker']
parameters = page1['Parameters']
until marker.nil?
body = service.describe_engine_default_parameters(family, 'Marker' => marker).body['DescribeEngineDefaultParametersResult']
marker = body['Marker']
parameters += body['Parameters']
end
load(parameters)
end end
end end
end end