Releases: paws-r/paws
Releases · paws-r/paws
paws-v0.6.0
Update paws SDK to the latest services for each category, please check out https://www.paws-r-sdk.com/ for full documentation.
paws.common-v0.7.3
Hot fix
- fix xml_parse to correctly parse empty elements (#783) thanks to @stevepowell99 for raising issue
paws.common-v0.7.2
Performance: 🚀
- improve performance of restxml_unmarshal up to ~ x3
New Feature: 💡
- support global endpoint_url in config file and environmental variables (#764), thanks to @James-G-Hill for raising issue
Bug Fix: 🐞
- fix rest_unmarshal_location_elements only skip header if location is not found (#761)
- ensure custom endpoints aren't modified
paws.common-v0.7.1
Performance: 🚀
- minor performance enhancements
- convert
json_convert_string
tocpp
for significant performance improvement (#754) - convert components of
resolve_endpoint
tocpp
to get a x2 performance enhancements
New Feature: 💡
Bug Fix: 🐞
- fix MIME type for AWS BedrockRuntime Client (#749), thanks to @alex23lemm for raising issue.
paws-v0.5.0
New Methods for paws categories:
- accessanalyzer
- appfabric
- apprunner
- arczonalshift
- backup
- bedrock
- bedrockruntime
- billingconductor
- cloudtraildataservice
- cloudwatchinternetmonitor
- cloudwatchlogs
- cloudwatchobservabilityaccessmanager
- codecatalyst
- codecommit
- codegurusecurity
- codestarconnections
- comprehend
- connect
- connectcases
- connectwisdomservice
- controltower
- costandusagereportservice
- customerprofiles
- datazone
- detective
- docdbelastic
- drs
- ec2
- ecr
- efs
- eks
- elasticache
- elbv2
- emr
- entityresolution
- eventbridgepipes
- eventbridgescheduler
- finspace
- fis
- fsx
- globalaccelerator
- glue
- guardduty
- Imagebuilder
- ivsrealtime
- kafka
- kendraranking
- kinesis
- lakeformation
- lexmodelsv2
- licensemanagerlinuxsubscriptions
- lookoutequipment
- marketplacecatalog
- neptunedata
- omics
- opensearchingestion
- opensearchservice
- opensearchserviceserverless
- paymentcryptographycontrolplane
- paymentcryptographydataplane
- pcaconnectorad
- personalizeevents
- personalizeruntime
- pinpointsmsvoicev2
- prometheusservice
- quicksight
- rds
- redshift
- redshiftserverless
- rekognition
- resourceexplorer
- route53recoverycontrolconfig
- s3
- s3control
- sagemaker
- sagemakergeospatialcapabilities
- sagemakermetrics
- secretsmanager
- securitylake
- servicediscovery
- sfn
- ssm
- ssmincidents
- ssmsap
- ssoadmin
- supportapp
- telconetworkbuilder
- textract
- transcribeservice
- verifiedpermissions
- vpclattice
- wellarchitected
- workmail
- workspaces
Remove Api methods:
- Macie
paws.common-v0.7.0
New Features: 💡
Example of how to use SSECustomerKey
and SSECustomerAlgorithm
library(paws)
KEY <- openssl::rand_bytes(32)
BUCKET <- 'mybucket'
client <- s3()
resp1 <- client$put_object(
Bucket=BUCKET,
Key='encrypt-key-1',
Body=charToRaw('foobar'),
SSECustomerKey= KEY,
SSECustomerAlgorithm='AES256'
)
resp2 <- client$get_object(
Bucket=BUCKET,
Key='encrypt-key-1',
SSECustomerKey=KEY,
SSECustomerAlgorithm='AES256'
)
resp2$Body |> rawToChar()
#> [1] "foobar"
# saving key to file for later use:
temp_file <- tempfile()
writeBin(KEY, temp_file)
resp3 <- client$put_object(
Bucket=BUCKET,
Key='encrypt-key-2',
Body=charToRaw('did it work?'),
SSECustomerKey=readBin(temp_file, "raw", n = file.size(temp_file)),
SSECustomerAlgorithm='AES256'
)
resp4 <- client$get_object(
Bucket=BUCKET,
Key='encrypt-key-2',
SSECustomerKey=readBin(temp_file, "raw", n = file.size(temp_file)),
SSECustomerAlgorithm='AES256'
)
resp4$Body |> rawToChar()
#> [1] "did it work?"
Created on 2024-01-09 with reprex v2.0.2
- add pagination StopOnSameToken option (#721) aligns with aws-sdk-js-v3 implementation (https://github.com/aws/aws-sdk-js-v3/releases/tag/v3.78.0). Thanks to @wlandau for raising error in paginate.
Example:
library(paws)
client = cloudwatchlogs()
pages <- paws.common::paginate(
client$get_log_events(
logGroupName = "/aws/sagemaker/NotebookInstances",
logStreamName = "paws-demo/jupyter.log",
startFromHead = TRUE
),
StopOnSameToken = TRUE
)
length(pages)
#> [1] 9
Created on 2024-01-09 with reprex v2.0.2
- support AWS_CONTAINER_CREDENTIALS_FULL_URI environmental variable. This supports services like sagemaker serverless endpoints (#737). Thanks to @ncullen93 for raising issue and testing.
Bug Fix: 🐞
- fix aws-global region when resolving endpoint (#730). Thanks to @atheriel for identifying the issue.
- fix default region for service s3 (#730). Thanks to @atheriel for identifying the issue.
Internal: ⚙️
- tidy up internal function jmespath_index
paws.common 0.6.4
Build Fixes 🐛
- ensure xml build structure is correctly flattened (#597)
- fix cache failing to initialize on certain environments. Restrict scope of cached environment variables to only those starting with
AWS_*
(#706, @fh-mthomson) - fix issue of sorting query mapping causing misalignment (#711). Thanks to @matthias-Q for raising issue.
paws.common 0.6.3
- minor performance improvement for
read_ini
- cache
read_ini
for improved performance - cache unix os environment variables to improve performance on unix systems.
- support
web_identity_token_file
in AWS config file thanks to @liuquinlin for implementation. - fix paginate functions failing to receive argument inputs when called within a function (#696). Thanks to @fh-mthomson for identifying issue.
- fix
NULL
methodas.POSIXct.default
for older versions of R (#698). Thanks to @gp-dev-pw for identifying issue - fix
escape
function by removing protocol check (#701)
paws.common-v0.6.2
paws.common-v0.6.1
Feature:
- support nested content within ini files (#667) Configuration and credential file settings
Bug Fix:
- fix how nested structure are parsed from xml (#675)