Skip to content

paws.common-v0.7.4

Compare
Choose a tag to compare
@DyfanJones DyfanJones released this 08 Jul 15:43
· 113 commits to main since this release
cdd996d
  • fix transpose to correctly parse lists with empty first elements (#791), thanks to @FMKerckhof for raising issue.
  • support refreshable credentials for sso (#793)
  • fix region redirect for aws s3 buckets (#788) thanks to @payam-delfi for identifying issue
  • enrich error messages to align with boto3 error message template:
# previous error message format
svc <- paws.storage::s3()
response <- svc$get_object(
  Bucket = "<bucket>",
  Key = "<key>",
  IfNoneMatch = "<etag>"
)
#> Error: SerializationError (HTTP 304). failed to read from query HTTP response body
# new error message format
client <- paws.storage::s3()
resp <- client$get_object(
  Bucket = "<bucket>",
  Key = "<key>",
  IfNoneMatch = "<etag>"
)
#> Error: SerializationError (HTTP 304). An error occurred when calling the GetObject operation: Not Modified
  • use s3 head_bucket operation as final resort when redirecting aws s3 call.