AWS SDK

AWS SDK

rev. 645b1734ce74ebbc529fecda676baac60fe4d581 (ignoring whitespace)

Files changed:

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

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

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

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

tmp-codegen-diff/aws-sdk/sdk/s3/src/operation/delete_bucket_ownership_controls.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 `DeleteBucketOwnershipControlsError` operation.
  286    288   
#[non_exhaustive]
  287    289   
#[derive(::std::fmt::Debug)]

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

@@ -232,232 +293,295 @@
  252    252   
                _input
  253    253   
                    .bucket
  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("bucket", "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 `DeleteBucketPolicyError` operation.
  272    274   
#[non_exhaustive]
  273    275   
#[derive(::std::fmt::Debug)]

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

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

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

@@ -232,232 +293,295 @@
  252    252   
                _input
  253    253   
                    .bucket
  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("bucket", "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 `DeleteBucketTaggingError` operation.
  272    274   
#[non_exhaustive]
  273    275   
#[derive(::std::fmt::Debug)]

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

@@ -232,232 +293,295 @@
  252    252   
                _input
  253    253   
                    .bucket
  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("bucket", "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 `DeleteBucketWebsiteError` operation.
  272    274   
#[non_exhaustive]
  273    275   
#[derive(::std::fmt::Debug)]

tmp-codegen-diff/aws-sdk/sdk/s3/src/operation/delete_object.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 `DeleteObjectError` operation.
  302    304   
#[non_exhaustive]
  303    305   
#[derive(::std::fmt::Debug)]

tmp-codegen-diff/aws-sdk/sdk/s3/src/operation/delete_object_tagging.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   
#[allow(unreachable_code, unused_variables)]
  287    289   
#[cfg(test)]
  288    290   
mod delete_object_tagging_test {

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

@@ -303,303 +364,366 @@
  323    323   
                _input
  324    324   
                    .bucket
  325    325   
                    .clone()
  326    326   
                    .filter(|f| !AsRef::<str>::as_ref(f).trim().is_empty())
  327    327   
                    .ok_or_else(|| ::aws_smithy_types::error::operation::BuildError::missing_field("bucket", "A required field was not set"))?,
  328    328   
            ))
  329    329   
            .build()
  330    330   
            .map_err(|err| {
  331    331   
                ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  332    332   
            })?;
         333  +
  333    334   
        cfg.interceptor_state()
  334    335   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
         336  +
  335    337   
        ::std::result::Result::Ok(())
  336    338   
    }
  337    339   
}
  338    340   
  339    341   
// The get_* functions below are generated from JMESPath expressions in the
  340    342   
// operationContextParams trait. They target the operation's input shape.
  341    343   
  342    344   
/// Error type for the `DeleteObjectsError` operation.
  343    345   
#[non_exhaustive]
  344    346   
#[derive(::std::fmt::Debug)]

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

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

tmp-codegen-diff/aws-sdk/sdk/s3/src/operation/get_bucket_accelerate_configuration.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 `GetBucketAccelerateConfigurationError` operation.
  295    297   
#[non_exhaustive]
  296    298   
#[derive(::std::fmt::Debug)]

tmp-codegen-diff/aws-sdk/sdk/s3/src/operation/get_bucket_acl.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 `GetBucketAclError` operation.
  280    282   
#[non_exhaustive]
  281    283   
#[derive(::std::fmt::Debug)]

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

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

tmp-codegen-diff/aws-sdk/sdk/s3/src/operation/get_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 `GetBucketCorsError` operation.
  280    282   
#[non_exhaustive]
  281    283   
#[derive(::std::fmt::Debug)]

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

@@ -233,233 +294,296 @@
  253    253   
                _input
  254    254   
                    .bucket
  255    255   
                    .clone()
  256    256   
                    .filter(|f| !AsRef::<str>::as_ref(f).trim().is_empty())
  257    257   
                    .ok_or_else(|| ::aws_smithy_types::error::operation::BuildError::missing_field("bucket", "A required field was not set"))?,
  258    258   
            ))
  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 `GetBucketEncryptionError` operation.
  273    275   
#[non_exhaustive]
  274    276   
#[derive(::std::fmt::Debug)]