Sha256: b196c04bf3990e73acb1ef62e52769c1cf2e342b31e65eb2012b774074a7c7d7

Contents?: true

Size: 1.4 KB

Versions: 24

Compression:

Stored size: 1.4 KB

Contents

module Fog
  module AWS
    class IAM
      class Real

        require 'fog/aws/parsers/iam/list_users'

        # List users
        # 
        # ==== 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>:
        #     * 'Users'<~Array> - Matching groups
        #       * user<~Hash>:
        #         * Arn<~String> -
        #         * Path<~String> -
        #         * UserId<~String> -
        #         * UserName<~String> -
        #     * '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_ListUsers.html
        #
        def list_users(options = {})
          request({
            'Action'  => 'ListUsers',
            :parser   => Fog::Parsers::AWS::IAM::ListUsers.new
          }.merge!(options))
        end

      end

      class Mock

        def list_users(options = {})
          Fog::Mock.not_implemented
        end

      end
    end
  end
end

Version data entries

24 entries across 24 versions & 3 rubygems

Version Path
fog-0.5.1 lib/fog/aws/requests/iam/list_users.rb
fog-0.5.0 lib/fog/aws/requests/iam/list_users.rb
phpfog-fog-0.4.1.3 lib/fog/aws/requests/iam/list_users.rb
phpfog-fog-0.4.1.2 lib/fog/aws/requests/iam/list_users.rb
phpfog-fog-0.4.1.1 lib/fog/aws/requests/iam/list_users.rb
phpfog-fog-0.4.1 lib/fog/aws/requests/iam/list_users.rb
fog-0.4.1 lib/fog/aws/requests/iam/list_users.rb
fog-0.4.0 lib/fog/aws/requests/iam/list_users.rb
fog-0.3.34 lib/fog/aws/requests/iam/list_users.rb
fog-0.3.33 lib/fog/aws/requests/iam/list_users.rb
fog-0.3.32 lib/fog/aws/requests/iam/list_users.rb
fog-0.3.31 lib/fog/aws/requests/iam/list_users.rb
fog-0.3.30 lib/fog/aws/requests/iam/list_users.rb
fog-0.3.29 lib/fog/aws/requests/iam/list_users.rb
fog-0.3.28 lib/fog/aws/requests/iam/list_users.rb
fog-0.3.27 lib/fog/aws/requests/iam/list_users.rb
fog-0.3.26 lib/fog/aws/requests/iam/list_users.rb
fog-0.3.25 lib/fog/aws/requests/iam/list_users.rb
fog-0.3.24 lib/fog/aws/requests/iam/list_users.rb
bbcloud-0.8.1 lib/bbcloud/vendor/fog-0.3.23/lib/fog/aws/requests/iam/list_users.rb