Method: Fog::AWS::IAM::Real#get_group
- Defined in:
- lib/fog/aws/requests/iam/get_group.rb
#get_group(group_name, options = {}) ⇒ Object
Get Group
Parameters
-
‘GroupName’<~String>: Name of the Group
-
options<~Hash>:
-
‘Marker’<~String>: Use this only when paginating results, and only in a subsequent request after you’ve received a response where the results are truncated. Set it to the value of the Marker element in the response you just received.
-
‘MaxItems’<~String>: Use this only when paginating results to indicate the maximum number of User names you want in the response. If there are additional User names beyond the maximum you specify, the IsTruncated response element is true.
-
Returns
-
response<~Excon::Response>:
-
body<~Hash>:
-
‘Group’<~Hash> - Group
-
‘Path’<~String>
-
‘GroupName’<~String>
-
‘Arn’<~String>
-
-
‘Users’<~Hash>? - List of users belonging to the group.
-
‘User’<~Hash> - User
-
Arn<~String> -
-
UserId<~String> -
-
UserName<~String> -
-
Path<~String> -
-
-
-
-
See Also
docs.amazonwebservices.com/IAM/latest/APIReference/index.html?API_GetGroup.html
33 34 35 36 37 38 39 |
# File 'lib/fog/aws/requests/iam/get_group.rb', line 33 def get_group(group_name, = {}) request({ 'Action' => 'GetGroup', 'GroupName' => group_name, :parser => Fog::Parsers::AWS::IAM::GetGroup.new }.merge!()) end |