AWS SDK

AWS SDK

rev. 645b1734ce74ebbc529fecda676baac60fe4d581 (ignoring whitespace)

Files changed:

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

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

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

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

tmp-codegen-diff/aws-sdk/sdk/s3/src/operation/upload_part_copy.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 `UploadPartCopyError` operation.
  308    310   
#[non_exhaustive]
  309    311   
#[derive(::std::fmt::Debug)]

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

@@ -249,249 +310,312 @@
  269    269   
            .set_force_path_style(cfg.load::<crate::config::ForcePathStyle>().map(|ty| ty.0))
  270    270   
            .set_use_arn_region(cfg.load::<crate::config::UseArnRegion>().map(|ty| ty.0))
  271    271   
            .set_disable_multi_region_access_points(cfg.load::<crate::config::DisableMultiRegionAccessPoints>().map(|ty| ty.0))
  272    272   
            .set_accelerate(cfg.load::<crate::config::Accelerate>().map(|ty| ty.0))
  273    273   
            .set_disable_s3_express_session_auth(cfg.load::<crate::config::DisableS3ExpressSessionAuth>().map(|ty| ty.0))
  274    274   
            .set_use_object_lambda_endpoint(Some(true))
  275    275   
            .build()
  276    276   
            .map_err(|err| {
  277    277   
                ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  278    278   
            })?;
         279  +
  279    280   
        cfg.interceptor_state()
  280    281   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
         282  +
  281    283   
        ::std::result::Result::Ok(())
  282    284   
    }
  283    285   
}
  284    286   
  285    287   
// The get_* functions below are generated from JMESPath expressions in the
  286    288   
// operationContextParams trait. They target the operation's input shape.
  287    289   
  288    290   
/// Error type for the `WriteGetObjectResponseError` operation.
  289    291   
#[non_exhaustive]
  290    292   
#[derive(::std::fmt::Debug)]

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

@@ -1,1 +118,118 @@
    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         -
version = "1.5.10"
          23  +
version = "1.5.11"
   24     24   
   25     25   
[dependencies.aws-smithy-async]
   26     26   
path = "../aws-smithy-async"
   27     27   
version = "1.2.5"
   28     28   
   29     29   
[dependencies.aws-smithy-http]
   30     30   
path = "../aws-smithy-http"
   31     31   
version = "0.62.3"
   32     32   
   33     33   
[dependencies.aws-smithy-json]
   34     34   
path = "../aws-smithy-json"
   35     35   
version = "0.61.5"
   36     36   
   37     37   
[dependencies.aws-smithy-runtime]
   38     38   
path = "../aws-smithy-runtime"
   39     39   
features = ["client"]
   40     40   
version = "1.9.2"
   41     41   
   42     42   
[dependencies.aws-smithy-runtime-api]
   43     43   
path = "../aws-smithy-runtime-api"
   44     44   
features = ["client", "http-02x"]
   45     45   
version = "1.9.0"
   46     46   
   47     47   
[dependencies.aws-smithy-types]
   48     48   
path = "../aws-smithy-types"
   49     49   
version = "1.3.2"
   50     50   
   51     51   
[dependencies.aws-smithy-xml]
   52     52   
path = "../aws-smithy-xml"
   53     53   
version = "0.60.10"
   54     54   
   55     55   
[dependencies.aws-types]
   56     56   
path = "../aws-types"
   57     57   
version = "1.3.8"
   58     58   
   59     59   
[dependencies.fastrand]
   60     60   
version = "2.0.0"
   61     61   
   62     62   
[dependencies.http]
   63     63   
version = "0.2.9"
   64     64   
   65     65   
[dependencies.md-5]
   66     66   
version = "0.10.0"
   67     67   
   68     68   
[dependencies.regex-lite]
   69     69   
version = "0.1.5"
   70     70   
   71     71   
[dependencies.tracing]
   72     72   
version = "0.1"
   73     73   
   74     74   
[dependencies.url]
   75     75   
version = "2.3.1"
   76     76   
[dev-dependencies.aws-config]
   77     77   
path = "../aws-config"
   78     78   
version = "1.8.6"
   79     79   
   80     80   
[dev-dependencies.aws-credential-types]
   81     81   
path = "../aws-credential-types"
   82     82   
features = ["test-util"]
   83         -
version = "1.2.6"
          83  +
version = "1.2.7"
   84     84   
   85     85   
[dev-dependencies.aws-runtime]
   86     86   
path = "../aws-runtime"
   87     87   
features = ["test-util"]
   88         -
version = "1.5.10"
          88  +
version = "1.5.11"
   89     89   
   90     90   
[dev-dependencies.aws-smithy-async]
   91     91   
path = "../aws-smithy-async"
   92     92   
features = ["test-util"]
   93     93   
version = "1.2.5"
   94     94   
   95     95   
[dev-dependencies.aws-smithy-http-client]
   96     96   
path = "../aws-smithy-http-client"
   97     97   
features = ["test-util", "wire-mock"]
   98     98   
version = "1.1.1"

tmp-codegen-diff/aws-sdk/sdk/s3control/src/operation/associate_access_grants_identity_center.rs

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

tmp-codegen-diff/aws-sdk/sdk/s3control/src/operation/create_access_grant.rs

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

tmp-codegen-diff/aws-sdk/sdk/s3control/src/operation/create_access_grants_instance.rs

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

tmp-codegen-diff/aws-sdk/sdk/s3control/src/operation/create_access_grants_location.rs

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

tmp-codegen-diff/aws-sdk/sdk/s3control/src/operation/create_access_point.rs

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

tmp-codegen-diff/aws-sdk/sdk/s3control/src/operation/create_access_point_for_object_lambda.rs

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

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

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

tmp-codegen-diff/aws-sdk/sdk/s3control/src/operation/create_job.rs

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

tmp-codegen-diff/aws-sdk/sdk/s3control/src/operation/create_multi_region_access_point.rs

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

tmp-codegen-diff/aws-sdk/sdk/s3control/src/operation/create_storage_lens_group.rs

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

tmp-codegen-diff/aws-sdk/sdk/s3control/src/operation/delete_access_grant.rs

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