Sha256: 20967bf463dc4c6571f366dd726c3d4c183dec89e8dd2fd58fb41783e5fb23c3

Contents?: true

Size: 1.15 KB

Versions: 4

Compression:

Stored size: 1.15 KB

Contents

module Fog
  module AWS
    class IAM
      class Real

        require 'fog/aws/parsers/iam/list_groups'

        # List groups
        # 
        # ==== Parameters
        # * options<~Hash>:
        #   * 'Marker'<~String>: used to paginate subsequent requests
        #   * 'MaxItems'<~Integer>: limit results to this number per page
        #   * 'PathPrefix'<~String>: prefix for filtering results
        #
        # ==== Returns
        # * response<~Excon::Response>:
        #   * body<~Hash>:
        #     * 'Groups'<~Array> - Matching groups
        #       * group<~Hash>:
        #         * Arn<~String> -
        #         * GroupId<~String> -
        #         * GroupName<~String> -
        #         * Path<~String> -
        #     * 'IsTruncated<~Boolean> - Whether or not results were truncated
        #     * 'RequestId'<~String> - Id of the request
        def list_groups
          request(
            'Action'  => 'ListGroups',
            :parser   => Fog::Parsers::AWS::IAM::ListGroups.new
          )
        end

      end

      class Mock

        def list_groups
          Fog::Mock.not_implemented
        end

      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
fog-0.3.17 lib/fog/aws/requests/iam/list_groups.rb
fog-0.3.16 lib/fog/aws/requests/iam/list_groups.rb
fog-0.3.15 lib/fog/aws/requests/iam/list_groups.rb
fog-0.3.14 lib/fog/aws/requests/iam/list_groups.rb