All Projects → paws-r → Paws

paws-r / Paws

Licence: other
Paws, a package for Amazon Web Services in R

Programming Languages

r
7636 projects

Projects that are alternatives of or similar to Paws

Aws Sdk Go
AWS SDK for the Go programming language.
Stars: ✭ 7,270 (+4913.79%)
Mutual labels:  aws, aws-sdk
Go Sqs Poller
An AWS SQS Poller
Stars: ✭ 50 (-65.52%)
Mutual labels:  aws, aws-sdk
Reactive Aws Clients
AWS Client libraries for Scala (Automatic generation from AWS source code)
Stars: ✭ 30 (-79.31%)
Mutual labels:  aws, aws-sdk
Aiobotocore
asyncio support for botocore library using aiohttp
Stars: ✭ 630 (+334.48%)
Mutual labels:  aws, aws-sdk
Awsconsolerecorder
Records actions made in the AWS Management Console and outputs the equivalent CLI/SDK commands and CloudFormation/Terraform templates.
Stars: ✭ 1,152 (+694.48%)
Mutual labels:  aws, aws-sdk
Boto3
AWS SDK for Python
Stars: ✭ 6,894 (+4654.48%)
Mutual labels:  aws, aws-sdk
Angular Aws Amplify
Sample implementation for AWS Amplify in Angular project
Stars: ✭ 40 (-72.41%)
Mutual labels:  aws, aws-sdk
Aws Sdk Java
The official AWS SDK for Java.
Stars: ✭ 3,662 (+2425.52%)
Mutual labels:  aws, aws-sdk
Limes
Limes provides an easy work flow with MFA protected access keys, temporary credentials and access to multiple roles/accounts.
Stars: ✭ 67 (-53.79%)
Mutual labels:  aws, aws-sdk
Aws Pagination Rules
The rules for pagination in AWS SDKs
Stars: ✭ 57 (-60.69%)
Mutual labels:  aws, aws-sdk
Soto
Swift SDK for AWS that works on Linux, macOS and iOS
Stars: ✭ 579 (+299.31%)
Mutual labels:  aws, aws-sdk
Smart Security Camera
A Pi Zero and Motion based webcamera that forwards images to Amazon Web Services for Image Processing
Stars: ✭ 103 (-28.97%)
Mutual labels:  aws, aws-sdk
Udacity Data Engineering Projects
Few projects related to Data Engineering including Data Modeling, Infrastructure setup on cloud, Data Warehousing and Data Lake development.
Stars: ✭ 458 (+215.86%)
Mutual labels:  aws, aws-sdk
Aws Sdk Js
AWS SDK for JavaScript in the browser and Node.js
Stars: ✭ 6,857 (+4628.97%)
Mutual labels:  aws, aws-sdk
Aws Amplify Vue
A Vue.js starter app integrated with AWS Amplify
Stars: ✭ 359 (+147.59%)
Mutual labels:  aws, aws-sdk
Amazon Cognito Identity Js
Amazon Cognito Identity SDK for JavaScript
Stars: ✭ 965 (+565.52%)
Mutual labels:  aws, aws-sdk
Gatsby Auth Starter Aws Amplify
Starter Project with Authentication with Gatsby & AWS Amplify
Stars: ✭ 306 (+111.03%)
Mutual labels:  aws, aws-sdk
Aws Sdk Ruby
The official AWS SDK for Ruby.
Stars: ✭ 3,328 (+2195.17%)
Mutual labels:  aws, aws-sdk
Aws Sdk Java V2
The official AWS SDK for Java - Version 2
Stars: ✭ 1,083 (+646.9%)
Mutual labels:  aws, aws-sdk
Awesome Aws
A curated list of awesome Amazon Web Services (AWS) libraries, open source repos, guides, blogs, and other resources. Featuring the Fiery Meter of AWSome.
Stars: ✭ 9,895 (+6724.14%)
Mutual labels:  aws, aws-sdk

Paws, an AWS SDK for R

CRAN status Build Status AppVeyor Build Status codecov view examples

Overview

Paws is a Package for Amazon Web Services in R. Paws provides access to the full suite of AWS services from within R.

Visit our home page to see online documentation.

Disclaimer: Paws is not a product of or supported by Amazon Web Services.

Installation

Install Paws using:

install.packages("paws")

If you are using Linux, you will need to install the following OS packages:

  • Debian/Ubuntu: libcurl4-openssl-dev libssl-dev libxml2-dev
  • CentOS/Fedora/Red Hat: libcurl-devel libxml2-devel openssl-devel

Credentials

You'll need to set up your AWS credentials and region. Paws supports setting these per-service, or using R and OS environment variables, AWS credential files, and IAM roles. See docs/credentials.md for more info.

In the example below, we set them with R environment variables.

Warning: Do not save your credentials in your code, which could reveal them to others. Use one of the other methods above instead. See also RStudio's best practices for securing credentials.

Sys.setenv(
  AWS_ACCESS_KEY_ID = "abc",
  AWS_SECRET_ACCESS_KEY = "123",
  AWS_REGION = "us-east-1"
)

Usage

To use a service, create a client. All of a service's operations can be accessed from this object.

ec2 <- paws::ec2()

Launch an EC2 instance using the run_instances function.

resp <- ec2$run_instances(
  ImageId = "ami-f973ab84",
  InstanceType = "t2.micro",
  KeyName = "default",
  MinCount = 1,
  MaxCount = 1,
  TagSpecifications = list(
    list(
      ResourceType = "instance",
      Tags = list(
        list(Key = "webserver", Value = "production")
      )
    )
  )
)

List all of your instances with describe_instances.

ec2$describe_instances()

Shut down the instance you started with terminate_instances.

ec2$terminate_instances(
  InstanceIds = resp$Instances[[1]]$InstanceId
)

Documentation

You can browse all available services by looking at the package documentation.

help(package = "paws")

You can also jump to a specific service and see all its operations.

?paws::ec2

RStudio's code completion will show you the available services, their operations, and each operation's parameters.

There are also examples for EC2, S3, SQS, SNS, DynamoDB, Lambda, Batch, and Comprehend.

Related packages

  • cognitoR provides authentication for Shiny applications using Amazon Cognito.
  • noctua is an interface to the Athena serverless interactive query service, which allows you to query files stored in S3 using SQL or dplyr.
  • R6sagemaker is an interface to the SageMaker machine learning service, designed to work like the Python SageMaker SDK.
  • redshiftTools is a collection of tools for working with the Redshift data warehouse service, such as performing bulk uploads.

Examples, tutorials, and workshops

  • AWS AI Services for R Users shows how to use AWS to add deep learning capabilities like image recognition, text translation, and text-to-speech conversion to R and Shiny applications.
  • Using Amazon Rekognition from R is an end to end example of how to build and deploy a model to detect Nike swooshes in images using the Rekognition computer vision service.

Credits

API specifications from AWS SDK for JavaScript; design based on AWS SDK for Go.

Logo by Hsinyi Chen.

Home page design and cheat sheet by Mara Ursu.

Supported by the AWS Open Source promotional credits program.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].