Sha256: 689c0b62e93efba3750eaa6ee3028abaab62f95179d94c80bc4d89ebead9d2df

Contents?: true

Size: 1.3 KB

Versions: 117

Compression:

Stored size: 1.3 KB

Contents

module Fog
  module AWS
    class IAM
      class Real

        require 'fog/aws/parsers/iam/list_policies'

        # List policies for a group
        # 
        # ==== Parameters
        # * group_name<~String> - Name of group to list policies for
        # * options<~Hash>: Optional
        #   * '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>:
        #     * 'PolicyNames'<~Array> - Matching policy names
        #     * '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_ListGroupPolicies.html
        #
        def list_group_policies(group_name, options = {})
          request({
            'Action'    => 'ListGroupPolicies',
            'GroupName' => group_name,
            :parser     => Fog::Parsers::AWS::IAM::ListPolicies.new
          }.merge!(options))
        end

      end
    end
  end
end

Version data entries

117 entries across 117 versions & 18 rubygems

Version Path
fog-test-again-1.6.0 lib/fog/aws/requests/iam/list_group_policies.rb
fog-test-me-1.10.0 lib/fog/aws/requests/iam/list_group_policies.rb
fog-parser-fix-1.6.0 lib/fog/aws/requests/iam/list_group_policies.rb
fog-1.10.0 lib/fog/aws/requests/iam/list_group_policies.rb
fog-1.9.0 lib/fog/aws/requests/iam/list_group_policies.rb
fog-maestrodev-1.8.0.20130114204828 lib/fog/aws/requests/iam/list_group_policies.rb
fog-maestrodev-1.8.0.20130111070250 lib/fog/aws/requests/iam/list_group_policies.rb
fog-maestrodev-1.8.0.20130109172219 lib/fog/aws/requests/iam/list_group_policies.rb
ey-vendored-backup-3.0.27 vendor/gems/fog/lib/fog/aws/requests/iam/list_group_policies.rb
fog-sgonyea-1.8.1 lib/fog/aws/requests/iam/list_group_policies.rb
fog-1.8.0 lib/fog/aws/requests/iam/list_group_policies.rb
fog-maestrodev-1.7.0.20121114190951 lib/fog/aws/requests/iam/list_group_policies.rb
fog-1.7.0 lib/fog/aws/requests/iam/list_group_policies.rb
fog-1.6.0 lib/fog/aws/requests/iam/list_group_policies.rb
fog-1.5.0 lib/fog/aws/requests/iam/list_group_policies.rb
fog-1.4.0 lib/fog/aws/requests/iam/list_group_policies.rb
brightbox-cli-0.18.1 lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/iam/list_group_policies.rb
michiels-fog-1.3.1 lib/fog/aws/requests/iam/list_group_policies.rb
ftl-0.2.0 vendor/bundle/gems/fog-1.3.1/lib/fog/aws/requests/iam/list_group_policies.rb
brightbox-cli-0.18.0 lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/iam/list_group_policies.rb