Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect documentation for s3:put_bucket_lifecycle_configuration #2389

Closed
trondhindenes opened this issue Apr 16, 2020 · 2 comments
Closed
Assignees
Labels
closed-for-staleness documentation This is a problem with documentation. s3 service-api This issue is caused by the service API, not the SDK implementation.

Comments

@trondhindenes
Copy link

Describe the bug
The documentation for this call states that:
Filter (dict) -- The Filter is used to identify objects that a Lifecycle Rule applies to. A Filter must have exactly one of Prefix , Tag , or And specified.
This is incorrect, as the filter can be an empty dict to include cover the entire s3 bucket

Steps to reproduce
N/A

Expected behavior
The documentation should indicate that en empty filter dict is allowed, and the correct way to create a lifecycle rule applied to an entire s3 bucket.

Debug logs
N/A

@trondhindenes trondhindenes added the needs-triage This issue or PR still needs to be triaged. label Apr 16, 2020
@swetashre swetashre self-assigned this Apr 16, 2020
@swetashre
Copy link
Contributor

@trondhindenes - Thank you for your post. I can confirm that filter can be an empty dict in order to include all the object in a bucket.
Boto3 documentation is generated from API reference
https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLifecycleConfiguration.html

I will let the service team know about the issue.

@swetashre swetashre added s3 api-documentation and removed needs-triage This issue or PR still needs to be triaged. labels Apr 16, 2020
@swetashre swetashre assigned kdaily and unassigned swetashre Mar 25, 2021
@kdaily kdaily added documentation This is a problem with documentation. service-api This issue is caused by the service API, not the SDK implementation. and removed api-documentation labels Oct 14, 2021
@github-actions
Copy link

Greetings! It looks like this issue hasn’t been active in longer than one year. We encourage you to check if this is still an issue in the latest release. In the absence of more information, we will be closing this issue soon. If you find that this is still a problem, please feel free to provide a comment or upvote with a reaction on the initial post to prevent automatic closure. If the issue is already closed, please feel free to open a new one.

@github-actions github-actions bot added closing-soon This issue will automatically close in 4 days unless further comments are made. closed-for-staleness and removed closing-soon This issue will automatically close in 4 days unless further comments are made. labels Oct 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed-for-staleness documentation This is a problem with documentation. s3 service-api This issue is caused by the service API, not the SDK implementation.
Projects
None yet
Development

No branches or pull requests

3 participants