View source: R/keyspaces_service.R
keyspaces | R Documentation |
Amazon Keyspaces (for Apache Cassandra) is a scalable, highly available, and managed Apache Cassandra-compatible database service. Amazon Keyspaces makes it easy to migrate, run, and scale Cassandra workloads in the Amazon Web Services Cloud. With just a few clicks on the Amazon Web Services Management Console or a few lines of code, you can create keyspaces and tables in Amazon Keyspaces, without deploying any infrastructure or installing software.
In addition to supporting Cassandra Query Language (CQL) requests via open-source Cassandra drivers, Amazon Keyspaces supports data definition language (DDL) operations to manage keyspaces and tables using the Amazon Web Services SDK and CLI, as well as infrastructure as code (IaC) services and tools such as CloudFormation and Terraform. This API reference describes the supported DDL operations in detail.
For the list of all supported CQL APIs, see Supported Cassandra APIs, operations, and data types in Amazon Keyspaces in the Amazon Keyspaces Developer Guide.
To learn how Amazon Keyspaces API actions are recorded with CloudTrail, see Amazon Keyspaces information in CloudTrail in the Amazon Keyspaces Developer Guide.
For more information about Amazon Web Services APIs, for example how to implement retry logic or how to sign Amazon Web Services API requests, see Amazon Web Services APIs in the General Reference.
keyspaces(
config = list(),
credentials = list(),
endpoint = NULL,
region = NULL
)
config |
Optional configuration of credentials, endpoint, and/or region.
|
credentials |
Optional credentials shorthand for the config parameter
|
endpoint |
Optional shorthand for complete URL to use for the constructed client. |
region |
Optional shorthand for AWS Region used in instantiating the client. |
A client for the service. You can call the service's operations using
syntax like svc$operation(...)
, where svc
is the name you've assigned
to the client. The available operations are listed in the
Operations section.
svc <- keyspaces( config = list( credentials = list( creds = list( access_key_id = "string", secret_access_key = "string", session_token = "string" ), profile = "string", anonymous = "logical" ), endpoint = "string", region = "string", close_connection = "logical", timeout = "numeric", s3_force_path_style = "logical", sts_regional_endpoint = "string" ), credentials = list( creds = list( access_key_id = "string", secret_access_key = "string", session_token = "string" ), profile = "string", anonymous = "logical" ), endpoint = "string", region = "string" )
create_keyspace | The CreateKeyspace operation adds a new keyspace to your account |
create_table | The CreateTable operation adds a new table to the specified keyspace |
delete_keyspace | The DeleteKeyspace operation deletes a keyspace and all of its tables |
delete_table | The DeleteTable operation deletes a table and all of its data |
get_keyspace | Returns the name and the Amazon Resource Name (ARN) of the specified table |
get_table | Returns information about the table, including the table's name and current status, the keyspace name, configuration settings, and metadata |
get_table_auto_scaling_settings | Returns auto scaling related settings of the specified table in JSON format |
list_keyspaces | Returns a list of keyspaces |
list_tables | Returns a list of tables for a specified keyspace |
list_tags_for_resource | Returns a list of all tags associated with the specified Amazon Keyspaces resource |
restore_table | Restores the table to the specified point in time within the earliest_restorable_timestamp and the current time |
tag_resource | Associates a set of tags with a Amazon Keyspaces resource |
untag_resource | Removes the association of tags from a Amazon Keyspaces resource |
update_table | Adds new columns to the table or updates one of the table's settings, for example capacity mode, auto scaling, encryption, point-in-time recovery, or ttl settings |
## Not run:
svc <- keyspaces()
svc$create_keyspace(
Foo = 123
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.