pub async fn search_objects(
bucket_name: String,
bucket_region: Option<String>,
prefix: Option<String>,
query: String,
expected_profile_id: String,
profile_state: State<'_, ProfileState>,
s3_state: State<'_, S3State>,
) -> Result<SearchObjectsResult>