AWS SDK

AWS SDK

rev. 645b1734ce74ebbc529fecda676baac60fe4d581 (ignoring whitespace)

Files changed:

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

@@ -350,350 +411,413 @@
  370    370   
                _input
  371    371   
                    .key
  372    372   
                    .clone()
  373    373   
                    .filter(|f| !AsRef::<str>::as_ref(f).trim().is_empty())
  374    374   
                    .ok_or_else(|| ::aws_smithy_types::error::operation::BuildError::missing_field("key", "A required field was not set"))?,
  375    375   
            ))
  376    376   
            .build()
  377    377   
            .map_err(|err| {
  378    378   
                ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  379    379   
            })?;
         380  +
  380    381   
        cfg.interceptor_state()
  381    382   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
         383  +
  382    384   
        ::std::result::Result::Ok(())
  383    385   
    }
  384    386   
}
  385    387   
  386    388   
// The get_* functions below are generated from JMESPath expressions in the
  387    389   
// operationContextParams trait. They target the operation's input shape.
  388    390   
  389    391   
#[allow(unreachable_code, unused_variables)]
  390    392   
#[cfg(test)]
  391    393   
mod get_object_test {

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

@@ -262,262 +323,325 @@
  282    282   
                _input
  283    283   
                    .key
  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("key", "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 `GetObjectAclError` operation.
  302    304   
#[non_exhaustive]
  303    305   
#[derive(::std::fmt::Debug)]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

@@ -299,299 +360,362 @@
  319    319   
                _input
  320    320   
                    .key
  321    321   
                    .clone()
  322    322   
                    .filter(|f| !AsRef::<str>::as_ref(f).trim().is_empty())
  323    323   
                    .ok_or_else(|| ::aws_smithy_types::error::operation::BuildError::missing_field("key", "A required field was not set"))?,
  324    324   
            ))
  325    325   
            .build()
  326    326   
            .map_err(|err| {
  327    327   
                ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  328    328   
            })?;
         329  +
  329    330   
        cfg.interceptor_state()
  330    331   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
         332  +
  331    333   
        ::std::result::Result::Ok(())
  332    334   
    }
  333    335   
}
  334    336   
  335    337   
// The get_* functions below are generated from JMESPath expressions in the
  336    338   
// operationContextParams trait. They target the operation's input shape.
  337    339   
  338    340   
#[allow(unreachable_code, unused_variables)]
  339    341   
#[cfg(test)]
  340    342   
mod head_object_test {

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

@@ -263,263 +324,326 @@
  283    283   
                _input
  284    284   
                    .bucket
  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("bucket", "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 `ListBucketAnalyticsConfigurationsError` operation.
  303    305   
#[non_exhaustive]
  304    306   
#[derive(::std::fmt::Debug)]

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

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

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

@@ -264,264 +325,327 @@
  284    284   
                _input
  285    285   
                    .bucket
  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("bucket", "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   
/// Error type for the `ListBucketInventoryConfigurationsError` operation.
  304    306   
#[non_exhaustive]
  305    307   
#[derive(::std::fmt::Debug)]

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

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

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

@@ -251,251 +312,314 @@
  271    271   
            .set_endpoint(cfg.load::<::aws_types::endpoint_config::EndpointUrl>().map(|ty| ty.0.clone()))
  272    272   
            .set_force_path_style(cfg.load::<crate::config::ForcePathStyle>().map(|ty| ty.0))
  273    273   
            .set_use_arn_region(cfg.load::<crate::config::UseArnRegion>().map(|ty| ty.0))
  274    274   
            .set_disable_multi_region_access_points(cfg.load::<crate::config::DisableMultiRegionAccessPoints>().map(|ty| ty.0))
  275    275   
            .set_accelerate(cfg.load::<crate::config::Accelerate>().map(|ty| ty.0))
  276    276   
            .set_disable_s3_express_session_auth(cfg.load::<crate::config::DisableS3ExpressSessionAuth>().map(|ty| ty.0))
  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 `ListBucketsError` operation.
  291    293   
#[non_exhaustive]
  292    294   
#[derive(::std::fmt::Debug)]