aws / aws-sdk

Landing page for the AWS SDKs on GitHub
https://aws.amazon.com/tools/
Other
68 stars 12 forks source link

Rust: Example of puting lifecycle / creating aws_sdk_s3::types::LifecycleRuleFilter? #699

Closed DimanNe closed 4 months ago

DimanNe commented 4 months ago

It seems aws_sdk_s3::types::LifecycleRuleFilter does not have ::builder() method. If this is true, how can I create it?

Alternatively, can anyone give an example of adding a lifecycle to a bucket?

      let abort_incomplete_rule = aws_sdk_s3::types::LifecycleRule::builder()
         .status(aws_sdk_s3::types::ExpirationStatus::Enabled)
         .filter(????)

Here are docs.

jmklix commented 4 months ago

Thanks for opening this issue. This repo is for issues that affect multiple sdk's. I've opened a copy of this issue in the correct repo here: https://github.com/awslabs/aws-sdk-rust/discussions/1084

github-actions[bot] commented 4 months ago

This issue is now closed.

Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.