Sha256: 018935d969b5696bbffb3973453576f3f827432a25bb104a9998cabeef39be18

Contents?: true

Size: 1.64 KB

Versions: 39

Compression:

Stored size: 1.64 KB

Contents

module Fog
  module AWS
    class IAM
      class Real

        require 'fog/aws/parsers/iam/get_group'

        # 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
        # http://docs.amazonwebservices.com/IAM/latest/APIReference/index.html?API_GetGroup.html
        #
        def get_group(group_name, options = {})
          request({
            'Action'    => 'GetGroup',
            'GroupName' => group_name,
            :parser     => Fog::Parsers::AWS::IAM::GetGroup.new
          }.merge!(options))
        end

      end
    end
  end
end

Version data entries

39 entries across 39 versions & 8 rubygems

Version Path
brightbox-cli-0.15.0 lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/iam/get_group.rb
tag-fog-1.0.1 lib/fog/aws/requests/iam/get_group.rb
brightbox-cli-0.14.1 lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/iam/get_group.rb
brightbox-cli-0.14.0 lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/iam/get_group.rb
fog-1.0.0 lib/fog/aws/requests/iam/get_group.rb
brightbox-cli-0.13.1 lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/iam/get_group.rb
brightbox-cli-0.13.0 lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/iam/get_group.rb
fog-0.11.0 lib/fog/aws/requests/iam/get_group.rb
fog-0.10.0 lib/fog/aws/requests/iam/get_group.rb
fog4encbs-0.9.0.1 lib/fog/aws/requests/iam/get_group.rb
fog4encbs-0.9.0 lib/fog/aws/requests/iam/get_group.rb
fog-0.9.0 lib/fog/aws/requests/iam/get_group.rb
fog-0.8.2 lib/fog/aws/requests/iam/get_group.rb
fog-0.8.1 lib/fog/aws/requests/iam/get_group.rb
fog-0.8.0 lib/fog/aws/requests/iam/get_group.rb
fog-0.7.2 lib/fog/aws/requests/iam/get_group.rb
fog-0.7.1 lib/fog/aws/requests/iam/get_group.rb
fog-0.7.0 lib/fog/aws/requests/iam/get_group.rb
fog-0.6.0 lib/fog/aws/requests/iam/get_group.rb