BucketList Event
Fires once for each bucket returned when listing buckets.
Syntax
ANSI (Cross Platform) virtual int FireBucketList(AmazonS3BucketListEventParams *e);
typedef struct {
const char *BucketName;
const char *CreationDate;
const char *OwnerId;
const char *OwnerName; int reserved; } AmazonS3BucketListEventParams; Unicode (Windows) virtual INT FireBucketList(AmazonS3BucketListEventParams *e);
typedef struct {
LPCWSTR BucketName;
LPCWSTR CreationDate;
LPCWSTR OwnerId;
LPCWSTR OwnerName; INT reserved; } AmazonS3BucketListEventParams;
- (void)onBucketList:(NSString*)bucketName :(NSString*)creationDate :(NSString*)ownerId :(NSString*)ownerName;
#define EID_AMAZONS3_BUCKETLIST 1 virtual INT IPWORKSCLOUD_CALL FireBucketList(LPSTR &lpszBucketName, LPSTR &lpszCreationDate, LPSTR &lpszOwnerId, LPSTR &lpszOwnerName);
Remarks
This event fires once for each bucket returned when ListBuckets is called.
BucketName reflects the name of the bucket.
CreationDate reflects the bucket's creation date.
OwnerId and OwnerName reflect the Id and display name of the bucket's owner, respectively.