lib/aws/sts.rb in aws-sdk-1.8.1.2 vs lib/aws/sts.rb in aws-sdk-1.8.1.3

- old
+ new

@@ -48,9 +48,14 @@ autoload :Session, 'session' end include Core::ServiceInterface + # (see Client#assume_role) + def assume_role options = {} + client.assume_role(options).data + end + # Returns a set of temporary credentials for an AWS account or IAM # User. The credentials consist of an Access Key ID, a Secret # Access Key, and a security token. These credentials are valid # for the specified duration only. The session duration for IAM # users can be between one and 36 hours, with a default of 12