def METHOD_NAME(canonical_uri, params):
    # Extract bucket name from host entry
    bucket_name = params['Host'].split('.')[0]
    canonicalized_resource = canonical_uri + bucket_name + '/?' + params['ClientQueryParams']
    return canonicalized_resource