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
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue