@@ -98,7 +98,7 @@ func (m multiUploadError) UploadID() string {
9898// UploadInput contains all input for upload requests to Amazon S3.
9999type UploadInput struct {
100100 // The canned ACL to apply to the object.
101- ACL * string `location:"header" locationName:"x-amz-acl" type:"string"`
101+ ACL s3. ObjectCannedACL `location:"header" locationName:"x-amz-acl" type:"string"`
102102
103103 Bucket * string `location:"uri" locationName:"Bucket" type:"string" required:"true"`
104104
@@ -140,13 +140,13 @@ type UploadInput struct {
140140 Key * string `location:"uri" locationName:"Key" type:"string" required:"true"`
141141
142142 // A map of metadata to store with the object in S3.
143- Metadata map [string ]* string `location:"headers" locationName:"x-amz-meta-" type:"map"`
143+ Metadata map [string ]string `location:"headers" locationName:"x-amz-meta-" type:"map"`
144144
145145 // Confirms that the requester knows that she or he will be charged for the
146146 // request. Bucket owners need not specify this parameter in their requests.
147147 // Documentation on downloading objects from requester pays buckets can be found
148148 // at http://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html
149- RequestPayer * string `location:"header" locationName:"x-amz-request-payer" type:"string"`
149+ RequestPayer s3. RequestPayer `location:"header" locationName:"x-amz-request-payer" type:"string"`
150150
151151 // Specifies the algorithm to use to when encrypting the object (e.g., AES256,
152152 // aws:kms).
@@ -175,7 +175,7 @@ type UploadInput struct {
175175 ServerSideEncryption s3.ServerSideEncryption `location:"header" locationName:"x-amz-server-side-encryption" type:"string"`
176176
177177 // The type of storage to use for the object. Defaults to 'STANDARD'.
178- StorageClass * string `location:"header" locationName:"x-amz-storage-class" type:"string"`
178+ StorageClass s3. StorageClass `location:"header" locationName:"x-amz-storage-class" type:"string"`
179179
180180 // The tag-set for the object. The tag-set must be encoded as URL Query parameters
181181 Tagging * string `location:"header" locationName:"x-amz-tagging" type:"string"`
0 commit comments