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

[aws|auto_scaling] mark describe_*_types requests as idempotent

This commit is contained in:
Nick Osborn 2012-09-23 19:39:13 +01:00
parent 2ae2851f22
commit 2202119703
5 changed files with 15 additions and 10 deletions

View file

@ -23,8 +23,9 @@ module Fog
# #
def describe_adjustment_types() def describe_adjustment_types()
request({ request({
'Action' => 'DescribeAdjustmentTypes', 'Action' => 'DescribeAdjustmentTypes',
:parser => Fog::Parsers::AWS::AutoScaling::DescribeAdjustmentTypes.new :idempotent => true,
:parser => Fog::Parsers::AWS::AutoScaling::DescribeAdjustmentTypes.new
}) })
end end

View file

@ -23,8 +23,9 @@ module Fog
# #
def describe_auto_scaling_notification_types() def describe_auto_scaling_notification_types()
request({ request({
'Action' => 'DescribeAutoScalingNotificationTypes', 'Action' => 'DescribeAutoScalingNotificationTypes',
:parser => Fog::Parsers::AWS::AutoScaling::DescribeAutoScalingNotificationTypes.new :idempotent => true,
:parser => Fog::Parsers::AWS::AutoScaling::DescribeAutoScalingNotificationTypes.new
}) })
end end

View file

@ -25,8 +25,9 @@ module Fog
# #
def describe_metric_collection_types() def describe_metric_collection_types()
request({ request({
'Action' => 'DescribeMetricCollectionTypes', 'Action' => 'DescribeMetricCollectionTypes',
:parser => Fog::Parsers::AWS::AutoScaling::DescribeMetricCollectionTypes.new :idempotent => true,
:parser => Fog::Parsers::AWS::AutoScaling::DescribeMetricCollectionTypes.new
}) })
end end

View file

@ -24,8 +24,9 @@ module Fog
# #
def describe_scaling_process_types() def describe_scaling_process_types()
request({ request({
'Action' => 'DescribeScalingProcessTypes', 'Action' => 'DescribeScalingProcessTypes',
:parser => Fog::Parsers::AWS::AutoScaling::DescribeScalingProcessTypes.new :idempotent => true,
:parser => Fog::Parsers::AWS::AutoScaling::DescribeScalingProcessTypes.new
}) })
end end

View file

@ -22,8 +22,9 @@ module Fog
# #
def describe_termination_policy_types() def describe_termination_policy_types()
request({ request({
'Action' => 'DescribeTerminationPolicyTypes', 'Action' => 'DescribeTerminationPolicyTypes',
:parser => Fog::Parsers::AWS::AutoScaling::DescribeTerminationPolicyTypes.new :idempotent => true,
:parser => Fog::Parsers::AWS::AutoScaling::DescribeTerminationPolicyTypes.new
}) })
end end