Sha256: 7b27783f12558dc206b96ed3070e087dc0c16486787d32c1fe04a3ef09411d33
Contents?: true
Size: 1.41 KB
Versions: 29
Compression:
Stored size: 1.41 KB
Contents
module Fog module AWS class IAM class Real require 'fog/aws/parsers/iam/list_groups_for_user' # List groups_for_user # # ==== Parameters # * user_name<~String> - the username you want to look up group membership for # * options<~Hash>: # * 'Marker'<~String> - used to paginate subsequent requests # * 'MaxItems'<~Integer> - limit results to this number per page # # ==== Returns # * response<~Excon::Response>: # * body<~Hash>: # * 'GroupsForUser'<~Array> - Groups for a user # * group_for_user<~Hash>: # * 'Arn' - # * 'GroupId' - # * 'GroupName' - # * 'Path' - # * 'IsTruncated'<~Boolean> - Whether or not results were truncated # * 'Marker'<~String> - appears when IsTruncated is true as the next marker to use # * 'RequestId'<~String> - Id of the request # # ==== See Also # http://docs.amazonwebservices.com/IAM/latest/APIReference/API_ListGroupsForUser.html # def list_groups_for_user(user_name, options = {}) request({ 'Action' => 'ListGroupsForUser', 'UserName' => user_name, :parser => Fog::Parsers::AWS::IAM::ListGroupsForUser.new }.merge!(options)) end end end end end
Version data entries
29 entries across 29 versions & 5 rubygems