Sha256: 4e983f85b5199b08ae6db065447d6153c65251a764a11b339b4c140b9ec185e6

Contents?: true

Size: 1.07 KB

Versions: 68

Compression:

Stored size: 1.07 KB

Contents

module Fog
  module AWS
    class IAM
      class Real

        require 'fog/aws/parsers/iam/get_group_policy'

        # Get Group Policy
        # 
        # ==== Parameters
        # * 'PolicyName'<~String>: Name of the policy to get
        # * 'GroupName'<~String>: Name of the Group who the policy is associated with.
        #
        # ==== Returns
        # * response<~Excon::Response>:
        #   * body<~Hash>:
        #       * PolicyDocument<~String> The policy document.
        #       * PolicyName<~String> The name of the policy.
        #       * GroupName<~String> The Group the policy is associated with.
        #
        # ==== See Also
        # http://docs.amazonwebservices.com/IAM/latest/APIReference/API_GetGroupPolicy.html
        #
        def get_group_policy(policy_name, group_name)
          request({
            'Action'      => 'GetGroupPolicy',
            'PolicyName'  => policy_name,
            'GroupName'    => group_name,
            :parser       => Fog::Parsers::AWS::IAM::GetGroupPolicy.new
          })
        end

      end
    end
  end
end

Version data entries

68 entries across 68 versions & 17 rubygems

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