# Functions
generates CompleteMultipartUploadResponse for given bucket, key, location and ETag.
generates InitiateMultipartUploadResponse for given bucket, key and uploadID.
generates ListMultipartUploadsResponse for given bucket and ListMultipartsInfo.
generates an ListObjectsV1 response for the said bucket with other enumerated options.
GenerateListObjectsV2Response Generates an ListObjectsV2 response for the said bucket with other enumerated options.
generates ListPartsResponse from ListPartsInfo.
generate multi objects delete response.
NotFoundHandler If none of the http routes match respond with MethodNotAllowed.
SetHeadGetRespHeaders - set any requested parameters as response headers.
SetObjectHeaders Write object header.
WriteErrorResponse write ErrorResponse.
No description provided by the author
WriteErrorResponseJSON - writes error response in JSON format; useful for admin APIs.
WriteSTSErrorResponse writes error headers.
WriteSuccessNoContent writes success headers with http status 204.
WriteSuccessResponseHeadersOnly write SuccessResponseHeadersOnly.
WriteSuccessResponseJSON writes success headers and response if any, with content-type set to `application/json`.
WriteSuccessResponseXML Write Success Response XML.
WriteXMLResponse Write XMLResponse.
# Structs
AccessControlPolicy <AccessControlPolicy> <Owner> <ID>75aa57f09aa0c8caeab4f8c24e99d10f8e7faeebf76c078efc7c6caea54ba06a</ID> <DisplayName>[email protected]</DisplayName> </Owner> <AccessControlList> <Grant> <Grantee xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="CanonicalUser"> <ID>75aa57f09aa0c8caeab4f8c24e99d10f8e7faeebf76c078efc7c6caea54ba06a</ID> <DisplayName>[email protected]</DisplayName> </Grantee> <Permission>FULL_CONTROL</Permission> </Grant> </AccessControlList></AccessControlPolicy>.
APIErrorResponse - error response format.
AssumedRoleUser - The identifiers for the temporary security credentials that the operation returns.
AssumeRoleResponse contains the result of successful AssumeRole request.
AssumeRoleResult - Contains the response to a successful AssumeRole request, including temporary credentials that can be used to make API requests.
CommonPrefix container for prefix response in ListObjectsResponse.
CompleteMultipartUploadResponse container for completed multipart upload response.
No description provided by the author
No description provided by the author
DeleteError structure.
DeleteObjectsResponse container for multiple object deletes.
Grant grant.
Grantee grant.
InitiateMultipartUploadResponse container for InitiateMultiPartUpload response, provides uploadID to start MultiPart upload.
ListAllMyBucketsResult List All Buckets Result.
ListMultipartUploadsResponse - format for list multipart uploads response.
ListObjectsResponse - format for list objects response.
ListObjectsV2Response - format for list objects response.
ListPartsResponse - format for list parts response.
LocationResponse - format for location response.
Object container for object metadata.
Part container for part metadata.
STSErrorResponse - error response format.
Upload container for in progress multipart upload.
# Type aliases
Initiator inherit from Owner struct, fields are same.
Permission May be one of READ, WRITE, READ_ACP, WRITE_ACP, FULL_CONTROL.
StringMap is a map[string]string.