Commit a030b3ea authored by Nugine's avatar Nugine
Browse files

fix(codegen): update model

parent c89fd3cf
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -115,6 +115,7 @@ pub fn codegen(ops: &Operations, rust_types: &RustTypes) {
                    let s3s_variant_name = variant.name.as_str();
                    let aws_variant_name = match s3s_variant_name {
                        "CRC32C" => "Crc32C".to_owned(),
                        "ALL_STORAGE_CLASSES_128K" => "AllStorageClasses128K".to_owned(),
                        _ => s3s_variant_name.to_upper_camel_case(),
                    };
                    g!("{aws_path}::{aws_variant_name} => Self::from_static(Self::{s3s_variant_name}),");
+1 −1
Original line number Diff line number Diff line
@@ -8414,7 +8414,7 @@ impl AwsConversion for s3s::dto::TransitionDefaultMinimumObjectSize {

    fn try_from_aws(x: Self::Target) -> S3Result<Self> {
        Ok(match x {
            aws_sdk_s3::types::TransitionDefaultMinimumObjectSize::AllStorageClasses128k => {
            aws_sdk_s3::types::TransitionDefaultMinimumObjectSize::AllStorageClasses128K => {
                Self::from_static(Self::ALL_STORAGE_CLASSES_128K)
            }
            aws_sdk_s3::types::TransitionDefaultMinimumObjectSize::VariesByStorageClass => {
+1 −0
Original line number Diff line number Diff line
@@ -323,6 +323,7 @@ impl S3 for FileSystem {
        let output = ListBucketsOutput {
            buckets: Some(buckets),
            owner: None,
            ..Default::default()
        };
        Ok(S3Response::new(output))
    }