Description:"The requested bucket name is not available. The bucket name can not be an existing collection, and the bucket namespace is shared by all users of the system. Please select a different name and try again.",
Description:"One or more of the specified parts could not be found. The part may not have been uploaded, or the specified entity tag may not match the part's entity tag.",
Description:"This copy request is illegal because it is trying to copy an object to itself without changing the object's metadata, storage class, website redirect location or encryption attributes.",
HTTPStatusCode:http.StatusBadRequest,
},
ErrInvalidCopySource:{
Code:"InvalidArgument",
Description:"Copy Source must mention the source bucket and key: sourcebucket/sourcekey.",
Description:"Missing Credential field for this request.",
HTTPStatusCode:http.StatusBadRequest,
},
ErrCredMalformed:{
Code:"AuthorizationQueryParametersError",
Description:"Error parsing the X-Amz-Credential parameter; the Credential is mal-formed; expecting \"<YOUR-AKID>/YYYYMMDD/REGION/SERVICE/aws4_request\".",
HTTPStatusCode:http.StatusBadRequest,
},
ErrMalformedDate:{
Code:"MalformedDate",
Description:"Invalid date format header, expected to be in ISO8601, RFC1123 or RFC1123Z time format.",
HTTPStatusCode:http.StatusBadRequest,
},
ErrMalformedPresignedDate:{
Code:"AuthorizationQueryParametersError",
Description:"X-Amz-Date must be in the ISO8601 Long Format \"yyyyMMdd'T'HHmmss'Z'\"",
Description:"There were headers present in the request which were not signed",
HTTPStatusCode:http.StatusBadRequest,
},
ErrInvalidQueryParams:{
Code:"AuthorizationQueryParametersError",
Description:"Query-string authentication version 4 requires the X-Amz-Algorithm, X-Amz-Credential, X-Amz-Signature, X-Amz-Date, X-Amz-SignedHeaders, and X-Amz-Expires parameters.",
HTTPStatusCode:http.StatusBadRequest,
},
ErrInvalidQuerySignatureAlgo:{
Code:"AuthorizationQueryParametersError",
Description:"X-Amz-Algorithm only supports \"AWS4-HMAC-SHA256\".",
HTTPStatusCode:http.StatusBadRequest,
},
ErrExpiredPresignRequest:{
Code:"AccessDenied",
Description:"Request has expired",
HTTPStatusCode:http.StatusForbidden,
},
ErrMalformedExpires:{
Code:"AuthorizationQueryParametersError",
Description:"X-Amz-Expires should be a number",
HTTPStatusCode:http.StatusBadRequest,
},
ErrNegativeExpires:{
Code:"AuthorizationQueryParametersError",
Description:"X-Amz-Expires must be non-negative",
HTTPStatusCode:http.StatusBadRequest,
},
ErrMaximumExpires:{
Code:"AuthorizationQueryParametersError",
Description:"X-Amz-Expires must be less than a week (in seconds); that is, the given X-Amz-Expires must be less than 604800 seconds",
HTTPStatusCode:http.StatusBadRequest,
},
ErrInvalidAccessKeyID:{
Code:"InvalidAccessKeyId",
Description:"The access key ID you provided does not exist in our records.",
HTTPStatusCode:http.StatusForbidden,
},
ErrRequestNotReadyYet:{
Code:"AccessDenied",
Description:"Request is not valid yet",
HTTPStatusCode:http.StatusForbidden,
},
ErrSignatureDoesNotMatch:{
Code:"SignatureDoesNotMatch",
Description:"The request signature we calculated does not match the signature you provided. Check your key and signing method.",
HTTPStatusCode:http.StatusForbidden,
},
ErrContentSHA256Mismatch:{
Code:"XAmzContentSHA256Mismatch",
Description:"The provided 'x-amz-content-sha256' header does not match what was computed.",
HTTPStatusCode:http.StatusBadRequest,
},
ErrMissingDateHeader:{
Code:"AccessDenied",
Description:"AWS authentication requires a valid Date or x-amz-date header",