Skip to content

Releases: paws-r/paws

paws-v0.4.0

15 Sep 16:06
Compare
Choose a tag to compare

New Features:

  • Helper functions config, credentails, cred . These functions build paws config allowing for code complete (linked issues: #421).
library(paws)
client <- s3(config(credentials(profile = "paws")))
library(paws)

client <- s3()

# list client paginators
list_paginators(client)
#> [1] "list_multipart_uploads" "list_object_versions"   "list_objects"          
#> [4] "list_objects_v2"        "list_parts"

# paginate over
resp <- client$list_objects_v2("my-bucket") |> paginate()

Created on 2023-09-15 with reprex v2.0.2

  • Generating pre-signed using s3v4 signature version (linked issues: #645).
library(paws)
client <- s3(config(signature_version = "s3v4"))

client$generate_presigned_url("list_objects", params = list(Bucket = "my-bucket"))

New methods:

applicationinsights:

appstream:

auditmanager:

backup:

cloudformation:

codecommit:

cognitoidentityprovider:

computeoptimizer:

connect:

connectparticipant:

costexplorer:

customerprofile:

elasticache:

emr:

health:

iam:

inspector2:

ivs:

kafka:

kendra:

lexmodelsv2:

lookoutequipment:

managedgrafana:

mq:

personalize:

pi:

Read more

paws.common-v0.6.0

06 Sep 16:44
61e0fb8
Compare
Choose a tag to compare

Performance:

  • use known interface when parsing xml (#619) improving performance by 3-6x. Thanks to @mgirlich for raising, implementing initial method and testing. 🚀

Enhancements:

  • add expiration parameter to creds
  • add signature_version to config (#645)
  • add the ability to paginate paws methods (#30). Note: this prep work for paws 0.4.0
  • overwrite file destination when writing to disk. This mimics python's boto3 sdk behaviour.
  • add standard retry handler (#520). Thanks to @wlandau for testing.

Example:

install.packages('paws', repos = c(pawsr = 'https://paws-r.r-universe.dev', CRAN = 'https://cloud.r-project.org'))

# Note: using paws v0.4.0 to paginate over AWS call to demonstrate the new retry functionality
library(paws)

client <- sagemaker()
resp <- client$list_processing_jobs() |> paginate()

#> ERROR [2023-08-31 15:44:41.206]: Request failed. Retrying in 0.016 seconds...
#> ERROR [2023-08-31 15:44:41.229]: Request failed. Retrying in 3.026 seconds...
#> ERROR [2023-08-31 15:44:44.289]: Request failed. Retrying in 2.505 seconds...
#> Error: ThrottlingException (HTTP 400). Rate exceeded
library(paws)

# increasing max number of retries from default 3 to 10.
client <- s3(config = list(max_retries =  10))

paws-v0.3.0

04 Jul 20:51
Compare
Choose a tag to compare

Service Update:
To find out more please go to: www.paws-r-sdk.com

Fix:
s3_list_parts and s3_list_multipart_uploads return lists with empty elements #608

paws.common-v0.5.6

06 Mar 13:30
6bae69d
Compare
Choose a tag to compare
  • add logging to credentials (#599 thanks to @jonocarroll for contribution)
  • display log output while code is still running (jupyter notebook issue)

paws-v0.2.0

09 Feb 18:33
614fc9b
Compare
Choose a tag to compare

🍾 🎉 🍾 🎉 🍾 🎉 🍾 🎉 paws 0.2.0 has been released onto the cran 🍾 🎉 🍾 🎉 🍾 🎉 🍾 🎉

Key Differences:

  • Package documentation is split into long and short versions. Short versions are stored within the packages. Whereas long version are stored https://paws-r.github.io/. This is to keep each paws package size down.

New Features:

  • paws/paws.storage: support generate_presigned_url

Bug fixes:

  • paws/paws.storage: method upload_part_copy
  • paws/paws.storage: method download_file preserve AWS Region and download object straight to disk.

Following services available on CRAN:

paws.common 0.5.5

02 Feb 11:01
Compare
Choose a tag to compare

paws.common-v0.5.4

11 Jan 16:51
Compare
Choose a tag to compare
  • add support for s3 generate_presigned_url (#572)

paws.common-v0.5.2

01 Dec 14:08
05c6352
Compare
Choose a tag to compare
  • Fix Content-Md5 being modified by user
  • Add logging system to help with debugging paws issues
  • Automatically redirect S3 requests when they are initially made to the wrong region; previously these requests would fail
  • Add support for AssumeRoleWithWebIdentity (#477, thanks to @fh-mthomson for contribution)
  • Clarify that AWS_CREDENTIAL_EXPIRATION is optional when using AWS_SESSION_TOKEN (#549)
  • Add support to IMDSv2 instances (#441, thanks to @jornfranke for contribution)

paws.common-v0.5.0

03 Sep 11:58
0c6c067
Compare
Choose a tag to compare
  • Fix build_query_string by exiting safely when parameter is empty.
  • Fix " " encoding (#519).
  • Migrate url encoder to cpp, and dependency Rcpp.
  • Support direct write to disk without sending data to R.

paws.common-v0.4.0

09 Aug 12:50
ef4e566
Compare
Choose a tag to compare
  • Fix xml_build to allow empty characters from operations.
  • Fix operations response for XML objects with elements at root.
  • Improve performance of escape with new helper function
    paws_url_encoder (1000x improvement).
  • Improve performance of decoding URL's with new helper function
    paws_url_decoder (780x improvement).
  • Support anonymous credentials.