HCP Tenant Management Help


Response body (GET buckets)

HCP returns the list of buckets you own in an XML response body, in this format:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ListAllMyBucketsResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
     <Owner>
          <ID>bucket-owner-user-id</ID>
          <DisplayName>bucket-owner-username</DisplayName>
     </Owner>
     <Buckets>
Format for a bucket:
          <Bucket>
               <Name>bucket-name</Name>
               <CreationDate>bucket-creation-date-and-time</CreationDate>
          </Bucket>
            .
            .
            .
     </Buckets>
</ListAllMyBucketsResult>

The table below describes XML elements in the response body returned in response to a request for a bucket listing. The elements are listed in alphabetical order.

Element Description
Bucket

Child of the ListAllMyBucketsResult element and container for the Name and CreationDate elements.

The response body contains one Bucket element for each bucket you own.

CreationDate

Child of the Bucket element.

The CreationDate element specifies the date and time when the applicable bucket was created, in Greenwich Mean Time (GMT). The date and time are expressed in this format:

yyyy-MM-ddTHH:mm:ss.SSSZ

For example:

2019-02-18T19:46:03.856Z

DisplayName

Child of the Owner element.

If the bucket owner is identified by an HCP user account, the value of the DisplayName element is the username for that account. If the bucket owner is identified by an AD user account, the value of the DisplayName element is the username of that account followed by an at sign (@) and the AD domain name.

ID

Child of the Owner element.

If the bucket owner is identified by an HCP user account, the value of the ID element is the user ID for that account. If the bucket owner is identified by an AD user account, the value of the ID element is the SID for that account.

ListAllMyBuckets
  Result
Root element.
Name

Child of the Bucket element.

The Name element specifies the name of a bucket.

Owner

Child of the ListAllMyBucketsResult element and container for the DisplayName and ID elements.

The Owner element identifies the owner of the applicable bucket.

© 2015, 2019 Hitachi Vantara Corporation. All rights reserved.