Function names updated to reflect AWS names. Updated docs (#150)

* updated inline doc

* updated inline doc

* API naming conform AWS

* fixed clippy issues

* fixed minor API naming issues
This commit is contained in:
Henk-Jan Lebbink
2025-05-10 00:53:44 +02:00
committed by GitHub
parent 1869cfeba7
commit 20d8654e34
192 changed files with 2033 additions and 1593 deletions

View File

@@ -15,7 +15,7 @@
use minio::s3::client::DEFAULT_REGION;
use minio::s3::response::{
DeleteBucketLifecycleResponse, GetBucketLifecycleResponse, SetBucketLifecycleResponse,
DeleteBucketLifecycleResponse, GetBucketLifecycleResponse, PutBucketLifecycleResponse,
};
use minio::s3::types::{LifecycleConfig, S3Api};
use minio_common::example::create_bucket_lifecycle_config_examples;
@@ -28,9 +28,9 @@ async fn bucket_lifecycle() {
let config: LifecycleConfig = create_bucket_lifecycle_config_examples();
let resp: SetBucketLifecycleResponse = ctx
let resp: PutBucketLifecycleResponse = ctx
.client
.set_bucket_lifecycle(&bucket_name)
.put_bucket_lifecycle(&bucket_name)
.life_cycle_config(config.clone())
.send()
.await