s3api_object_handlers_skip.go 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. package s3api
  2. import (
  3. "net/http"
  4. )
  5. // GetObjectAclHandler Put object ACL
  6. // https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAcl.html
  7. func (s3a *S3ApiServer) GetObjectAclHandler(w http.ResponseWriter, r *http.Request) {
  8. w.WriteHeader(http.StatusNoContent)
  9. }
  10. // PutObjectAclHandler Put object ACL
  11. // https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObjectAcl.html
  12. func (s3a *S3ApiServer) PutObjectAclHandler(w http.ResponseWriter, r *http.Request) {
  13. w.WriteHeader(http.StatusNoContent)
  14. }
  15. // PutObjectRetentionHandler Put object Retention
  16. // https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObjectRetention.html
  17. func (s3a *S3ApiServer) PutObjectRetentionHandler(w http.ResponseWriter, r *http.Request) {
  18. w.WriteHeader(http.StatusNoContent)
  19. }
  20. // PutObjectLegalHoldHandler Put object Legal Hold
  21. // https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObjectLegalHold.html
  22. func (s3a *S3ApiServer) PutObjectLegalHoldHandler(w http.ResponseWriter, r *http.Request) {
  23. w.WriteHeader(http.StatusNoContent)
  24. }
  25. // PutObjectLockConfigurationHandler Put object Lock configuration
  26. // https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObjectLockConfiguration.html
  27. func (s3a *S3ApiServer) PutObjectLockConfigurationHandler(w http.ResponseWriter, r *http.Request) {
  28. w.WriteHeader(http.StatusNoContent)
  29. }