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.

29 lines
861 B

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