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:
parent
2ae2851f22
commit
2202119703
5 changed files with 15 additions and 10 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue