Closed aalekhpatel07 closed 8 months ago
haha. I didn't know when I issued this PR but this also closes #251. Initially I was working towards the sync API but I realized we need a few more building blocks to get there.
@aalekhpatel07 Nice work, thank you!
Thank you for merging!
Summary
Bucket::list_buckets
), and to check if a given bucket instance exists (i.e.Bucket::exists
).tls_connector
variable, so its been renamed to_tls_connector
. Not too sure if this is the ideal long-term fix but its a band-aid for now.- Feature: TheTurns out we get different formats across different datetime fields, so we can't specialize it into one type, unless we add a deserializer that guesses the format and tries to convert any datetime strings into aserde_types
now storechrono::DateTime<chrono::Utc>
instead of String, wherever there was any datetime-like data to be stored.chrono::DateTime<chrono::Utc>
by trying parsing different formats (and that probably merits another PR).Bucket::list_buckets(region, credentials)
Given a region, and credentials, list all the buckets that are visible.
Usage
Bucket::exists
Determine whether the instantitated bucket exists.
Usage