diff options
Diffstat (limited to 'vendor/github.com/aws/aws-sdk-go/service/s3/customizations.go')
-rw-r--r-- | vendor/github.com/aws/aws-sdk-go/service/s3/customizations.go | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/vendor/github.com/aws/aws-sdk-go/service/s3/customizations.go b/vendor/github.com/aws/aws-sdk-go/service/s3/customizations.go index 8463347..a55beab 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/s3/customizations.go +++ b/vendor/github.com/aws/aws-sdk-go/service/s3/customizations.go | |||
@@ -42,5 +42,29 @@ func defaultInitRequestFn(r *request.Request) { | |||
42 | r.Handlers.Validate.PushFront(populateLocationConstraint) | 42 | r.Handlers.Validate.PushFront(populateLocationConstraint) |
43 | case opCopyObject, opUploadPartCopy, opCompleteMultipartUpload: | 43 | case opCopyObject, opUploadPartCopy, opCompleteMultipartUpload: |
44 | r.Handlers.Unmarshal.PushFront(copyMultipartStatusOKUnmarhsalError) | 44 | r.Handlers.Unmarshal.PushFront(copyMultipartStatusOKUnmarhsalError) |
45 | case opPutObject, opUploadPart: | ||
46 | r.Handlers.Build.PushBack(computeBodyHashes) | ||
47 | // Disabled until #1837 root issue is resolved. | ||
48 | // case opGetObject: | ||
49 | // r.Handlers.Build.PushBack(askForTxEncodingAppendMD5) | ||
50 | // r.Handlers.Unmarshal.PushBack(useMD5ValidationReader) | ||
45 | } | 51 | } |
46 | } | 52 | } |
53 | |||
54 | // bucketGetter is an accessor interface to grab the "Bucket" field from | ||
55 | // an S3 type. | ||
56 | type bucketGetter interface { | ||
57 | getBucket() string | ||
58 | } | ||
59 | |||
60 | // sseCustomerKeyGetter is an accessor interface to grab the "SSECustomerKey" | ||
61 | // field from an S3 type. | ||
62 | type sseCustomerKeyGetter interface { | ||
63 | getSSECustomerKey() string | ||
64 | } | ||
65 | |||
66 | // copySourceSSECustomerKeyGetter is an accessor interface to grab the | ||
67 | // "CopySourceSSECustomerKey" field from an S3 type. | ||
68 | type copySourceSSECustomerKeyGetter interface { | ||
69 | getCopySourceSSECustomerKey() string | ||
70 | } | ||