use super::*;
impl S3Service {
pub(crate) fn put_bucket_metrics_config(
&self,
account_id: &str,
req: &AwsRequest,
bucket: &str,
) -> Result<AwsResponse, AwsServiceError> {
store_named_config(self, account_id, req, bucket, ConfigKind::Metrics)
}
pub(crate) fn get_bucket_metrics_config(
&self,
account_id: &str,
req: &AwsRequest,
bucket: &str,
) -> Result<AwsResponse, AwsServiceError> {
get_named_config(self, account_id, req, bucket, ConfigKind::Metrics)
}
pub(crate) fn delete_bucket_metrics_config(
&self,
account_id: &str,
req: &AwsRequest,
bucket: &str,
) -> Result<AwsResponse, AwsServiceError> {
delete_named_config(self, account_id, req, bucket, ConfigKind::Metrics)
}
pub(crate) fn list_bucket_metrics_configurations(
&self,
account_id: &str,
bucket: &str,
) -> Result<AwsResponse, AwsServiceError> {
list_named_config(self, account_id, bucket, ConfigKind::Metrics)
}
}