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

[aws|sts] make get_*_token requests idempotent

This commit is contained in:
geemus 2012-02-18 10:58:31 -06:00
parent 63276c400d
commit bc520536a3
2 changed files with 2 additions and 0 deletions

View file

@ -11,6 +11,7 @@ module Fog
'Name' => name,
'Policy' => MultiJson.encode(policy),
'DurationSeconds' => duration,
:idempotent => true,
:parser => Fog::Parsers::AWS::STS::GetSessionToken.new
})
end

View file

@ -9,6 +9,7 @@ module Fog
request({
'Action' => 'GetSessionToken',
'DurationSeconds' => duration,
:idempotent => true,
:parser => Fog::Parsers::AWS::STS::GetSessionToken.new
})
end