I've stripped the examples so only the important parts are visible. Notice the <Owner> elements.
<?xml version="1.0" encoding="UTF-8"?>
<ListBucketResult>
<Contents>
<Owner>
<DisplayName>string</DisplayName>
<ID>string</ID>
</Owner>
</Contents>
</ListBucketResult>
Here's what the S3 API returns.
<?xml version="1.0" encoding="utf-8"?>
<ListBucketResult>
<Contents>
<Owner>kory</Owner>
</Contents>
</ListBucketResult>
From https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListObjectsV2.html#API_ListObjectsV2_ResponseSyntax.
I've stripped the examples so only the important parts are visible. Notice the
<Owner>elements.Here's what the S3 API returns.