Docs: S3: Specify that Bucket Logging is not yet implemented (#5600)

This commit is contained in:
Bert Blommers 2022-10-26 10:12:15 +00:00 committed by GitHub
parent 83a60a279d
commit dc368fbe79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 0 deletions

View File

@ -102,6 +102,10 @@ s3
- [X] put_bucket_lifecycle
- [ ] put_bucket_lifecycle_configuration
- [X] put_bucket_logging
The logging functionality itself is not yet implemented - we only store the configuration for now.
- [ ] put_bucket_metrics_configuration
- [ ] put_bucket_notification
- [X] put_bucket_notification_configuration

View File

@ -1919,6 +1919,9 @@ class S3Backend(BaseBackend, CloudWatchMetricProvider):
bucket.set_cors(cors_rules)
def put_bucket_logging(self, bucket_name, logging_config):
"""
The logging functionality itself is not yet implemented - we only store the configuration for now.
"""
bucket = self.get_bucket(bucket_name)
bucket.set_logging(logging_config, self)