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

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

View file

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

View file

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

View file

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

View file

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