def put_request_payment(Bucket, Payer, region=None, key=None, keyid=None, profile=None):
 try:
  conn = _get_conn(region=region, key=key, keyid=keyid, profile=profile)
  conn.put_bucket_request_payment(Bucket=Bucket, RequestPaymentConfiguration={'Payer': Payer})
  return {'updated': True, 'name': Bucket}
 except ClientError as e:
  return {'updated': False, 'error': __utils__['boto3.get_error'](e)}

def put_request_payment ( Bucket , Payer , region = None , key = None , keyid = None , profile = None ) : try : conn = _get_conn ( region = region , key = key , keyid = keyid , profile = profile ) conn . put_bucket_request_payment ( Bucket = Bucket , RequestPaymentConfiguration = { 'Payer' : Payer } ) return { 'updated' : True , 'name' : Bucket } except ClientError as e : return { 'updated' : False , 'error' : __utils__ [ 'boto3.get_error' ] ( e ) }
given a valid config .