mitchellh / goamz

Golang Amazon Library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bucket CreationDate field

dyarnell opened this issue · comments

I wanted to expose the CreationDate field from the Get Service call for S3[1]. However the way this API is setup this means that when you create a Bucket the field will be blank, even after you call PutBucket as there isn't a easy call that exposes this (for example Get Bucket doesn't return this). I have a implementation[2] but it suffers from what I describe above so I was looking for feedback if this is ok or a pointer as to what the right solution is.

[1] - http://docs.aws.amazon.com/AmazonS3/latest/API/RESTServiceGET.html
[2] - dyarnell@2542bab