Pass HandleId as custom_id in S3 request params (#1815)