AWS SDK

AWS SDK

rev. 645b1734ce74ebbc529fecda676baac60fe4d581

Files changed:

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

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

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

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

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

tmp-codegen-diff/aws-sdk/sdk/s3/src/operation/get_bucket_location.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   
#[allow(unreachable_code, unused_variables)]
  272    274   
#[cfg(test)]
  273    275   
mod get_bucket_location_test {

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

tmp-codegen-diff/aws-sdk/sdk/s3/src/operation/get_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 `GetBucketMetadataTableConfigurationError` operation.
  298    300   
#[non_exhaustive]
  299    301   
#[derive(::std::fmt::Debug)]

tmp-codegen-diff/aws-sdk/sdk/s3/src/operation/get_bucket_metrics_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 `GetBucketMetricsConfigurationError` operation.
  298    300   
#[non_exhaustive]
  299    301   
#[derive(::std::fmt::Debug)]

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

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

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

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

tmp-codegen-diff/aws-sdk/sdk/s3/src/operation/get_bucket_replication.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 `GetBucketReplicationError` operation.
  275    277   
#[non_exhaustive]
  276    278   
#[derive(::std::fmt::Debug)]

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

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

tmp-codegen-diff/aws-sdk/sdk/s3/src/operation/get_bucket_versioning.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 `GetBucketVersioningError` operation.
  272    274   
#[non_exhaustive]
  273    275   
#[derive(::std::fmt::Debug)]

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