Sha256: 1f4ff4c21c1a18b405f0825a2fce0d6eeff49ed9e914af0e3e0131b6c941d75f

Contents?: true

Size: 1.34 KB

Versions: 76

Compression:

Stored size: 1.34 KB

Contents

module Fog
  module AWS
    class IAM
      class Real

        require 'fog/aws/parsers/iam/list_roles'

        # Lists roles
        # 
        # ==== 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>:
        #     * Roles<~Array> -
        #       role<~Hash>:
        #         * 'Arn'<~String> -
        #         * 'AssumeRolePolicyDocument'<~String<  
        #         * 'Path'<~String> -
        #         * 'RoleId'<~String> -
        #         * 'RoleName'<~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_ListRoles.html
        #
        def list_roles(options={})
          request({
            'Action'    => 'ListRoles',
            :parser     => Fog::Parsers::AWS::IAM::ListRoles.new
          }.merge!(options))
        end

      end
    end
  end
end

Version data entries

76 entries across 76 versions & 11 rubygems

Version Path
fog-1.15.0 lib/fog/aws/requests/iam/list_roles.rb
gapinc-fog-1.14.0 lib/fog/aws/requests/iam/list_roles.rb
fog-maestrodev-1.14.0.20130806165225 lib/fog/aws/requests/iam/list_roles.rb
fog-1.14.0 lib/fog/aws/requests/iam/list_roles.rb
fog-1.13.0 lib/fog/aws/requests/iam/list_roles.rb
gapinc-fog-1.12.1.2 lib/fog/aws/requests/iam/list_roles.rb
gapinc-fog-1.12.1.1 lib/fog/aws/requests/iam/list_roles.rb
gapinc-fog-1.12.1a lib/fog/aws/requests/iam/list_roles.rb
gapinc-fog-1.12.1 lib/fog/aws/requests/iam/list_roles.rb
fog-1.12.1 lib/fog/aws/requests/iam/list_roles.rb
fog-1.12.0 lib/fog/aws/requests/iam/list_roles.rb
hpfog-0.0.20 lib/fog/aws/requests/iam/list_roles.rb
vagrant-shell-0.2.6 vendor/bundle/gems/fog-1.10.1/lib/fog/aws/requests/iam/list_roles.rb
vagrant-shell-0.2.5 vendor/bundle/gems/fog-1.10.1/lib/fog/aws/requests/iam/list_roles.rb
fog-nirvanix-1.8.2 lib/fog/aws/requests/iam/list_roles.rb
fog-1.11.1 lib/fog/aws/requests/iam/list_roles.rb
fog-1.11.0 lib/fog/aws/requests/iam/list_roles.rb
fog-nirvanix-1.8.1 lib/fog/aws/requests/iam/list_roles.rb
fog-1.10.1 lib/fog/aws/requests/iam/list_roles.rb
fog-parser-fix-1.6.1 lib/fog/aws/requests/iam/list_roles.rb