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-maestrodev-1.18.0.20131205181604 lib/fog/aws/requests/iam/list_group_policies.rb
fog-maestrodev-1.18.0.20131127194823 lib/fog/aws/requests/iam/list_group_policies.rb
fog-maestrodev-1.18.0.20131126183714 lib/fog/aws/requests/iam/list_group_policies.rb
fog-maestrodev-1.18.0.20131126122111 lib/fog/aws/requests/iam/list_group_policies.rb
fog-maestrodev-1.18.0.20131125111730 lib/fog/aws/requests/iam/list_group_policies.rb
fog-maestrodev-1.18.0.20131125083406 lib/fog/aws/requests/iam/list_group_policies.rb
fog-maestrodev-1.18.0.20131123105121 lib/fog/aws/requests/iam/list_group_policies.rb
fog-maestrodev-1.18.0.20131122203507 lib/fog/aws/requests/iam/list_group_policies.rb
fog-maestrodev-1.18.0.20131121075022 lib/fog/aws/requests/iam/list_group_policies.rb
fog-maestrodev-1.18.0.20131118164830 lib/fog/aws/requests/iam/list_group_policies.rb
fog-maestrodev-1.18.0.20131115184302 lib/fog/aws/requests/iam/list_group_policies.rb
fog-maestrodev-1.18.0.20131114200144 lib/fog/aws/requests/iam/list_group_policies.rb
gapinc-fog-1.12.1.2.1 lib/fog/aws/requests/iam/list_group_policies.rb
fog-maestrodev-1.18.0.20131112185232 lib/fog/aws/requests/iam/list_group_policies.rb
fog-maestrodev-1.18.0.20131111203459 lib/fog/aws/requests/iam/list_group_policies.rb
fog-1.18.0 lib/fog/aws/requests/iam/list_group_policies.rb
fog-1.17.0 lib/fog/aws/requests/iam/list_group_policies.rb
fog-1.16.0 lib/fog/aws/requests/iam/list_group_policies.rb
fog-maestrodev-1.15.0.20130927082724 lib/fog/aws/requests/iam/list_group_policies.rb
fog-maestrodev-1.15.0.20130829165835 lib/fog/aws/requests/iam/list_group_policies.rb