You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
1.1 KiB

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