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()
request({
'Action' => 'DescribeAdjustmentTypes',
:parser => Fog::Parsers::AWS::AutoScaling::DescribeAdjustmentTypes.new
'Action' => 'DescribeAdjustmentTypes',
:idempotent => true,
:parser => Fog::Parsers::AWS::AutoScaling::DescribeAdjustmentTypes.new
})
end

View file

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

View file

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

View file

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

View file

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