    # File lib/fog/aws/requests/storage/get_bucket_policy.rb, line 18
            def get_bucket_policy(bucket_name)
              unless bucket_name
                raise ArgumentError.new('bucket_name is required')
              end
              response = request({
                :expects    => 200,
                :headers    => {},
                :host       => "#{bucket_name}.#{@host}",
                :idempotent => true,
                :method     => 'GET',
                :query      => {'policy' => nil}
              })
              response.body = Fog::JSON.decode(response.body) unless response.body.nil?
            end