Learn R Programming

paws.database (version 0.1.5)

rdsdataservice: AWS RDS DataService

Description

Amazon RDS Data Service

Amazon RDS provides an HTTP endpoint to run SQL statements on an Amazon Aurora Serverless DB cluster. To run these statements, you work with the Data Service API.

For more information about the Data Service API, see Using the Data API for Aurora Serverless in the Amazon Aurora User Guide.

Usage

rdsdataservice(config = list())

Arguments

config

Optional configuration of credentials, endpoint, and/or region.

Service syntax

svc <- rdsdataservice(
  config = list(
    credentials = list(
      creds = list(
        access_key_id = "string",
        secret_access_key = "string",
        session_token = "string"
      ),
      profile = "string"
    ),
    endpoint = "string",
    region = "string"
  )
)

Operations

batch_execute_statement Runs a batch SQL statement over an array of data
begin_transaction Starts a SQL transaction
commit_transaction Ends a SQL transaction started with the BeginTransaction operation and commits the changes
execute_sql Runs one or more SQL statements
execute_statement Runs a SQL statement against a database

Examples

Run this code
# NOT RUN {
svc <- rdsdataservice()
svc$batch_execute_statement(
  Foo = 123
)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab