    # File lib/fog/aws/requests/storage/put_bucket_policy.rb, line 13
            def put_bucket_policy(bucket_name, policy)
              request({
                :body     => Fog::JSON.encode(policy),
                :expects  => 204,
                :headers  => {},
                :host     => "#{bucket_name}.#{@host}",
                :method   => 'PUT',
                :query    => {'policy' => nil}
              })
            end