pub async fn list_buckets(
client: &Client,
profile_id: &ProfileId,
) -> Result<Vec<BucketSummary>, AppError>Expand description
Call ListBuckets and map the response to Vec<BucketSummary>.
region is not set here — background discovery fills it in later via
discover_bucket_region.
§Errors
Returns AppError::AccessDenied when the credentials do not allow
s3:ListBuckets, AppError::Network for transient failures, and
AppError::ProviderSpecific for other SDK errors.