Skip to content
This repository was archived by the owner on Nov 5, 2024. It is now read-only.
This repository was archived by the owner on Nov 5, 2024. It is now read-only.

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

@DimanNe

Description

@DimanNe

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions