lib/s3/right_s3_interface.rb
# Sets logging configuration for a bucket from the XML configuration document.
#   params:
#    :bucket
#    :xmldoc
Sets logging configuration for a bucket from the XML configuration document.
params:
:bucket
:xmldoc
Sets logging configuration for a bucket from the XML configuration document . params : : bucket : xmldoc
def put_logging(params)  
      AwsUtils.mandatory_arguments([:bucket,:xmldoc], params)
      AwsUtils.allow_only([:bucket,:xmldoc, :headers], params)
      params[:headers] = {} unless params[:headers]
      req_hash = generate_rest_request('PUT', params[:headers].merge(:url=>"#{params[:bucket]}?logging", :data => params[:xmldoc]))
      request_info(req_hash, RightHttp2xxParser.new)
    rescue
      on_exception
    end
def put_logging ( params ) AwsUtils . mandatory_arguments ( [ :bucket , :xmldoc ] , params ) AwsUtils . allow_only ( [ :bucket , :xmldoc , :headers ] , params ) params [ :headers ] = { } unless params [ :headers ] req_hash = generate_rest_request ( 'PUT' , params [ :headers ] . merge ( :url => "#{params[:bucket]}?logging" , :data => params [ :xmldoc ] ) ) request_info ( req_hash , RightHttp2xxParser . new ) rescue on_exception end
Sets logging configuration for a bucket from the XML configuration document.
Sets logging configuration for a bucket from the XML configuration document .
params
<not_specific>