AWS SDK

AWS SDK

rev. 645b1734ce74ebbc529fecda676baac60fe4d581

Files changed:

tmp-codegen-diff/aws-sdk/sdk/route53/src/operation/update_traffic_policy_instance.rs

@@ -233,233 +294,296 @@
  253    253   
  254    254   
        let params = crate::config::endpoint::Params::builder()
  255    255   
            .set_region(cfg.load::<::aws_types::region::Region>().map(|r| r.as_ref().to_owned()))
  256    256   
            .set_use_dual_stack(cfg.load::<::aws_types::endpoint_config::UseDualStack>().map(|ty| ty.0))
  257    257   
            .set_use_fips(cfg.load::<::aws_types::endpoint_config::UseFips>().map(|ty| ty.0))
  258    258   
            .set_endpoint(cfg.load::<::aws_types::endpoint_config::EndpointUrl>().map(|ty| ty.0.clone()))
  259    259   
            .build()
  260    260   
            .map_err(|err| {
  261    261   
                ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  262    262   
            })?;
         263  +
  263    264   
        cfg.interceptor_state()
  264    265   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
         266  +
  265    267   
        ::std::result::Result::Ok(())
  266    268   
    }
  267    269   
}
  268    270   
  269    271   
// The get_* functions below are generated from JMESPath expressions in the
  270    272   
// operationContextParams trait. They target the operation's input shape.
  271    273   
  272    274   
/// Error type for the `UpdateTrafficPolicyInstanceError` operation.
  273    275   
#[non_exhaustive]
  274    276   
#[derive(::std::fmt::Debug)]

tmp-codegen-diff/aws-sdk/sdk/s3/Cargo.toml

@@ -1,1 +54,54 @@
    9      9   
repository = "https://github.com/awslabs/aws-sdk-rust"
   10     10   
rust-version = "1.86.0"
   11     11   
readme = "README.md"
   12     12   
[package.metadata.smithy]
   13     13   
codegen-version = "ci"
   14     14   
[package.metadata.docs.rs]
   15     15   
all-features = true
   16     16   
targets = ["x86_64-unknown-linux-gnu"]
   17     17   
[dependencies.aws-credential-types]
   18     18   
path = "../aws-credential-types"
   19         -
version = "1.2.6"
          19  +
version = "1.2.7"
   20     20   
   21     21   
[dependencies.aws-runtime]
   22     22   
path = "../aws-runtime"
   23     23   
features = ["event-stream", "http-02x"]
   24         -
version = "1.5.10"
          24  +
version = "1.5.11"
   25     25   
   26     26   
[dependencies.aws-sigv4]
   27     27   
path = "../aws-sigv4"
   28     28   
version = "1.3.4"
   29     29   
   30     30   
[dependencies.aws-smithy-async]
   31     31   
path = "../aws-smithy-async"
   32     32   
version = "1.2.5"
   33     33   
   34     34   
[dependencies.aws-smithy-checksums]
@@ -98,98 +163,163 @@
  118    118   
version = "1.12.0"
  119    119   
  120    120   
[dev-dependencies.aws-config]
  121    121   
path = "../aws-config"
  122    122   
features = ["behavior-version-latest"]
  123    123   
version = "1.8.6"
  124    124   
  125    125   
[dev-dependencies.aws-credential-types]
  126    126   
path = "../aws-credential-types"
  127    127   
features = ["test-util"]
  128         -
version = "1.2.6"
         128  +
version = "1.2.7"
  129    129   
  130    130   
[dev-dependencies.aws-runtime]
  131    131   
path = "../aws-runtime"
  132    132   
features = ["test-util"]
  133         -
version = "1.5.10"
         133  +
version = "1.5.11"
  134    134   
  135    135   
[dev-dependencies.aws-smithy-async]
  136    136   
path = "../aws-smithy-async"
  137    137   
features = ["test-util"]
  138    138   
version = "1.2.5"
  139    139   
  140    140   
[dev-dependencies.aws-smithy-eventstream]
  141    141   
path = "../aws-smithy-eventstream"
  142    142   
features = ["test-util"]
  143    143   
version = "0.60.11"

tmp-codegen-diff/aws-sdk/sdk/s3/src/operation/abort_multipart_upload.rs

@@ -263,263 +324,326 @@
  283    283   
                _input
  284    284   
                    .key
  285    285   
                    .clone()
  286    286   
                    .filter(|f| !AsRef::<str>::as_ref(f).trim().is_empty())
  287    287   
                    .ok_or_else(|| ::aws_smithy_types::error::operation::BuildError::missing_field("key", "A required field was not set"))?,
  288    288   
            ))
  289    289   
            .build()
  290    290   
            .map_err(|err| {
  291    291   
                ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  292    292   
            })?;
         293  +
  293    294   
        cfg.interceptor_state()
  294    295   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
         296  +
  295    297   
        ::std::result::Result::Ok(())
  296    298   
    }
  297    299   
}
  298    300   
  299    301   
// The get_* functions below are generated from JMESPath expressions in the
  300    302   
// operationContextParams trait. They target the operation's input shape.
  301    303   
  302    304   
/// Error type for the `AbortMultipartUploadError` operation.
  303    305   
#[non_exhaustive]
  304    306   
#[derive(::std::fmt::Debug)]

tmp-codegen-diff/aws-sdk/sdk/s3/src/operation/complete_multipart_upload.rs

@@ -279,279 +340,342 @@
  299    299   
                _input
  300    300   
                    .key
  301    301   
                    .clone()
  302    302   
                    .filter(|f| !AsRef::<str>::as_ref(f).trim().is_empty())
  303    303   
                    .ok_or_else(|| ::aws_smithy_types::error::operation::BuildError::missing_field("key", "A required field was not set"))?,
  304    304   
            ))
  305    305   
            .build()
  306    306   
            .map_err(|err| {
  307    307   
                ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  308    308   
            })?;
         309  +
  309    310   
        cfg.interceptor_state()
  310    311   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
         312  +
  311    313   
        ::std::result::Result::Ok(())
  312    314   
    }
  313    315   
}
  314    316   
  315    317   
// The get_* functions below are generated from JMESPath expressions in the
  316    318   
// operationContextParams trait. They target the operation's input shape.
  317    319   
  318    320   
/// Error type for the `CompleteMultipartUploadError` operation.
  319    321   
#[non_exhaustive]
  320    322   
#[derive(::std::fmt::Debug)]

tmp-codegen-diff/aws-sdk/sdk/s3/src/operation/copy_object.rs

@@ -263,263 +324,326 @@
  283    283   
                _input
  284    284   
                    .key
  285    285   
                    .clone()
  286    286   
                    .filter(|f| !AsRef::<str>::as_ref(f).trim().is_empty())
  287    287   
                    .ok_or_else(|| ::aws_smithy_types::error::operation::BuildError::missing_field("key", "A required field was not set"))?,
  288    288   
            ))
  289    289   
            .build()
  290    290   
            .map_err(|err| {
  291    291   
                ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  292    292   
            })?;
         293  +
  293    294   
        cfg.interceptor_state()
  294    295   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
         296  +
  295    297   
        ::std::result::Result::Ok(())
  296    298   
    }
  297    299   
}
  298    300   
  299    301   
// The get_* functions below are generated from JMESPath expressions in the
  300    302   
// operationContextParams trait. They target the operation's input shape.
  301    303   
  302    304   
/// Error type for the `CopyObjectError` operation.
  303    305   
#[non_exhaustive]
  304    306   
#[derive(::std::fmt::Debug)]

tmp-codegen-diff/aws-sdk/sdk/s3/src/operation/create_bucket.rs

@@ -238,238 +299,301 @@
  258    258   
                _input
  259    259   
                    .bucket
  260    260   
                    .clone()
  261    261   
                    .filter(|f| !AsRef::<str>::as_ref(f).trim().is_empty())
  262    262   
                    .ok_or_else(|| ::aws_smithy_types::error::operation::BuildError::missing_field("bucket", "A required field was not set"))?,
  263    263   
            ))
  264    264   
            .build()
  265    265   
            .map_err(|err| {
  266    266   
                ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  267    267   
            })?;
         268  +
  268    269   
        cfg.interceptor_state()
  269    270   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
         271  +
  270    272   
        ::std::result::Result::Ok(())
  271    273   
    }
  272    274   
}
  273    275   
  274    276   
// The get_* functions below are generated from JMESPath expressions in the
  275    277   
// operationContextParams trait. They target the operation's input shape.
  276    278   
  277    279   
/// Error type for the `CreateBucketError` operation.
  278    280   
#[non_exhaustive]
  279    281   
#[derive(::std::fmt::Debug)]

tmp-codegen-diff/aws-sdk/sdk/s3/src/operation/create_bucket_metadata_table_configuration.rs

@@ -326,326 +387,389 @@
  346    346   
                _input
  347    347   
                    .bucket
  348    348   
                    .clone()
  349    349   
                    .filter(|f| !AsRef::<str>::as_ref(f).trim().is_empty())
  350    350   
                    .ok_or_else(|| ::aws_smithy_types::error::operation::BuildError::missing_field("bucket", "A required field was not set"))?,
  351    351   
            ))
  352    352   
            .build()
  353    353   
            .map_err(|err| {
  354    354   
                ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  355    355   
            })?;
         356  +
  356    357   
        cfg.interceptor_state()
  357    358   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
         359  +
  358    360   
        ::std::result::Result::Ok(())
  359    361   
    }
  360    362   
}
  361    363   
  362    364   
// The get_* functions below are generated from JMESPath expressions in the
  363    365   
// operationContextParams trait. They target the operation's input shape.
  364    366   
  365    367   
/// Error type for the `CreateBucketMetadataTableConfigurationError` operation.
  366    368   
#[non_exhaustive]
  367    369   
#[derive(::std::fmt::Debug)]

tmp-codegen-diff/aws-sdk/sdk/s3/src/operation/create_multipart_upload.rs

@@ -264,264 +325,327 @@
  284    284   
                _input
  285    285   
                    .key
  286    286   
                    .clone()
  287    287   
                    .filter(|f| !AsRef::<str>::as_ref(f).trim().is_empty())
  288    288   
                    .ok_or_else(|| ::aws_smithy_types::error::operation::BuildError::missing_field("key", "A required field was not set"))?,
  289    289   
            ))
  290    290   
            .build()
  291    291   
            .map_err(|err| {
  292    292   
                ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  293    293   
            })?;
         294  +
  294    295   
        cfg.interceptor_state()
  295    296   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
         297  +
  296    298   
        ::std::result::Result::Ok(())
  297    299   
    }
  298    300   
}
  299    301   
  300    302   
// The get_* functions below are generated from JMESPath expressions in the
  301    303   
// operationContextParams trait. They target the operation's input shape.
  302    304   
  303    305   
#[allow(unreachable_code, unused_variables)]
  304    306   
#[cfg(test)]
  305    307   
mod create_multipart_upload_test {

tmp-codegen-diff/aws-sdk/sdk/s3/src/operation/create_session.rs

@@ -241,241 +302,304 @@
  261    261   
                _input
  262    262   
                    .bucket
  263    263   
                    .clone()
  264    264   
                    .filter(|f| !AsRef::<str>::as_ref(f).trim().is_empty())
  265    265   
                    .ok_or_else(|| ::aws_smithy_types::error::operation::BuildError::missing_field("bucket", "A required field was not set"))?,
  266    266   
            ))
  267    267   
            .build()
  268    268   
            .map_err(|err| {
  269    269   
                ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  270    270   
            })?;
         271  +
  271    272   
        cfg.interceptor_state()
  272    273   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
         274  +
  273    275   
        ::std::result::Result::Ok(())
  274    276   
    }
  275    277   
}
  276    278   
  277    279   
// The get_* functions below are generated from JMESPath expressions in the
  278    280   
// operationContextParams trait. They target the operation's input shape.
  279    281   
  280    282   
/// Error type for the `CreateSessionError` operation.
  281    283   
#[non_exhaustive]
  282    284   
#[derive(::std::fmt::Debug)]

tmp-codegen-diff/aws-sdk/sdk/s3/src/operation/delete_bucket.rs

@@ -231,231 +292,294 @@
  251    251   
                _input
  252    252   
                    .bucket
  253    253   
                    .clone()
  254    254   
                    .filter(|f| !AsRef::<str>::as_ref(f).trim().is_empty())
  255    255   
                    .ok_or_else(|| ::aws_smithy_types::error::operation::BuildError::missing_field("bucket", "A required field was not set"))?,
  256    256   
            ))
  257    257   
            .build()
  258    258   
            .map_err(|err| {
  259    259   
                ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  260    260   
            })?;
         261  +
  261    262   
        cfg.interceptor_state()
  262    263   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
         264  +
  263    265   
        ::std::result::Result::Ok(())
  264    266   
    }
  265    267   
}
  266    268   
  267    269   
// The get_* functions below are generated from JMESPath expressions in the
  268    270   
// operationContextParams trait. They target the operation's input shape.
  269    271   
  270    272   
/// Error type for the `DeleteBucketError` operation.
  271    273   
#[non_exhaustive]
  272    274   
#[derive(::std::fmt::Debug)]

tmp-codegen-diff/aws-sdk/sdk/s3/src/operation/delete_bucket_analytics_configuration.rs

@@ -268,268 +329,331 @@
  288    288   
                _input
  289    289   
                    .bucket
  290    290   
                    .clone()
  291    291   
                    .filter(|f| !AsRef::<str>::as_ref(f).trim().is_empty())
  292    292   
                    .ok_or_else(|| ::aws_smithy_types::error::operation::BuildError::missing_field("bucket", "A required field was not set"))?,
  293    293   
            ))
  294    294   
            .build()
  295    295   
            .map_err(|err| {
  296    296   
                ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  297    297   
            })?;
         298  +
  298    299   
        cfg.interceptor_state()
  299    300   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
         301  +
  300    302   
        ::std::result::Result::Ok(())
  301    303   
    }
  302    304   
}
  303    305   
  304    306   
// The get_* functions below are generated from JMESPath expressions in the
  305    307   
// operationContextParams trait. They target the operation's input shape.
  306    308   
  307    309   
/// Error type for the `DeleteBucketAnalyticsConfigurationError` operation.
  308    310   
#[non_exhaustive]
  309    311   
#[derive(::std::fmt::Debug)]

tmp-codegen-diff/aws-sdk/sdk/s3/src/operation/delete_bucket_cors.rs

@@ -240,240 +301,303 @@
  260    260   
                _input
  261    261   
                    .bucket
  262    262   
                    .clone()
  263    263   
                    .filter(|f| !AsRef::<str>::as_ref(f).trim().is_empty())
  264    264   
                    .ok_or_else(|| ::aws_smithy_types::error::operation::BuildError::missing_field("bucket", "A required field was not set"))?,
  265    265   
            ))
  266    266   
            .build()
  267    267   
            .map_err(|err| {
  268    268   
                ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  269    269   
            })?;
         270  +
  270    271   
        cfg.interceptor_state()
  271    272   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
         273  +
  272    274   
        ::std::result::Result::Ok(())
  273    275   
    }
  274    276   
}
  275    277   
  276    278   
// The get_* functions below are generated from JMESPath expressions in the
  277    279   
// operationContextParams trait. They target the operation's input shape.
  278    280   
  279    281   
/// Error type for the `DeleteBucketCorsError` operation.
  280    282   
#[non_exhaustive]
  281    283   
#[derive(::std::fmt::Debug)]

tmp-codegen-diff/aws-sdk/sdk/s3/src/operation/delete_bucket_encryption.rs

@@ -246,246 +307,309 @@
  266    266   
                _input
  267    267   
                    .bucket
  268    268   
                    .clone()
  269    269   
                    .filter(|f| !AsRef::<str>::as_ref(f).trim().is_empty())
  270    270   
                    .ok_or_else(|| ::aws_smithy_types::error::operation::BuildError::missing_field("bucket", "A required field was not set"))?,
  271    271   
            ))
  272    272   
            .build()
  273    273   
            .map_err(|err| {
  274    274   
                ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  275    275   
            })?;
         276  +
  276    277   
        cfg.interceptor_state()
  277    278   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
         279  +
  278    280   
        ::std::result::Result::Ok(())
  279    281   
    }
  280    282   
}
  281    283   
  282    284   
// The get_* functions below are generated from JMESPath expressions in the
  283    285   
// operationContextParams trait. They target the operation's input shape.
  284    286   
  285    287   
/// Error type for the `DeleteBucketEncryptionError` operation.
  286    288   
#[non_exhaustive]
  287    289   
#[derive(::std::fmt::Debug)]

tmp-codegen-diff/aws-sdk/sdk/s3/src/operation/delete_bucket_intelligent_tiering_configuration.rs

@@ -262,262 +323,325 @@
  282    282   
                _input
  283    283   
                    .bucket
  284    284   
                    .clone()
  285    285   
                    .filter(|f| !AsRef::<str>::as_ref(f).trim().is_empty())
  286    286   
                    .ok_or_else(|| ::aws_smithy_types::error::operation::BuildError::missing_field("bucket", "A required field was not set"))?,
  287    287   
            ))
  288    288   
            .build()
  289    289   
            .map_err(|err| {
  290    290   
                ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  291    291   
            })?;
         292  +
  292    293   
        cfg.interceptor_state()
  293    294   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
         295  +
  294    296   
        ::std::result::Result::Ok(())
  295    297   
    }
  296    298   
}
  297    299   
  298    300   
// The get_* functions below are generated from JMESPath expressions in the
  299    301   
// operationContextParams trait. They target the operation's input shape.
  300    302   
  301    303   
/// Error type for the `DeleteBucketIntelligentTieringConfigurationError` operation.
  302    304   
#[non_exhaustive]
  303    305   
#[derive(::std::fmt::Debug)]

tmp-codegen-diff/aws-sdk/sdk/s3/src/operation/delete_bucket_inventory_configuration.rs

@@ -268,268 +329,331 @@
  288    288   
                _input
  289    289   
                    .bucket
  290    290   
                    .clone()
  291    291   
                    .filter(|f| !AsRef::<str>::as_ref(f).trim().is_empty())
  292    292   
                    .ok_or_else(|| ::aws_smithy_types::error::operation::BuildError::missing_field("bucket", "A required field was not set"))?,
  293    293   
            ))
  294    294   
            .build()
  295    295   
            .map_err(|err| {
  296    296   
                ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  297    297   
            })?;
         298  +
  298    299   
        cfg.interceptor_state()
  299    300   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
         301  +
  300    302   
        ::std::result::Result::Ok(())
  301    303   
    }
  302    304   
}
  303    305   
  304    306   
// The get_* functions below are generated from JMESPath expressions in the
  305    307   
// operationContextParams trait. They target the operation's input shape.
  306    308   
  307    309   
/// Error type for the `DeleteBucketInventoryConfigurationError` operation.
  308    310   
#[non_exhaustive]
  309    311   
#[derive(::std::fmt::Debug)]

tmp-codegen-diff/aws-sdk/sdk/s3/src/operation/delete_bucket_lifecycle.rs

@@ -246,246 +307,309 @@
  266    266   
                _input
  267    267   
                    .bucket
  268    268   
                    .clone()
  269    269   
                    .filter(|f| !AsRef::<str>::as_ref(f).trim().is_empty())
  270    270   
                    .ok_or_else(|| ::aws_smithy_types::error::operation::BuildError::missing_field("bucket", "A required field was not set"))?,
  271    271   
            ))
  272    272   
            .build()
  273    273   
            .map_err(|err| {
  274    274   
                ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  275    275   
            })?;
         276  +
  276    277   
        cfg.interceptor_state()
  277    278   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
         279  +
  278    280   
        ::std::result::Result::Ok(())
  279    281   
    }
  280    282   
}
  281    283   
  282    284   
// The get_* functions below are generated from JMESPath expressions in the
  283    285   
// operationContextParams trait. They target the operation's input shape.
  284    286   
  285    287   
/// Error type for the `DeleteBucketLifecycleError` operation.
  286    288   
#[non_exhaustive]
  287    289   
#[derive(::std::fmt::Debug)]