BucketList Event
Fires once for each bucket returned when listing buckets.
Syntax
amazons3.on('BucketList', listener: (e: {readonly bucketName: string, readonly creationDate: string, readonly ownerId: string, readonly ownerName: string}) => void )
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.