memorydb function

Amazon MemoryDB

Amazon MemoryDB

MemoryDB is a fully managed, Redis OSS-compatible, in-memory database that delivers ultra-fast performance and Multi-AZ durability for modern applications built using microservices architectures. MemoryDB stores the entire database in-memory, enabling low latency and high throughput data access. It is compatible with Redis OSS, a popular open source data store, enabling you to leverage Redis OSS’ flexible and friendly data structures, APIs, and commands.

memorydb(config = list(), credentials = list(), endpoint = NULL, region = NULL)

Arguments

  • config: Optional configuration of credentials, endpoint, and/or region.

    • credentials :

      • creds :

        • access_key_id : AWS access key ID
        • secret_access_key : AWS secret access key
        • session_token : AWS temporary session token
      • profile : The name of a profile to use. If not given, then the default profile is used.

      • anonymous : Set anonymous credentials.

    • endpoint : The complete URL to use for the constructed client.

    • region : The AWS Region used in instantiating the client.

    • close_connection : Immediately close all HTTP connections.

    • timeout : The time in seconds till a timeout exception is thrown when attempting to make a connection. The default is 60 seconds.

    • s3_force_path_style : Set this to true to force the request to use path-style addressing, i.e. http://s3.amazonaws.com/BUCKET/KEY.

    • sts_regional_endpoint : Set sts regional endpoint resolver to regional or legacy https://docs.aws.amazon.com/sdkref/latest/guide/feature-sts-regionalized-endpoints.html

  • credentials: Optional credentials shorthand for the config parameter

    • creds :

      • access_key_id : AWS access key ID
      • secret_access_key : AWS secret access key
      • session_token : AWS temporary session token
    • profile : The name of a profile to use. If not given, then the default profile is used.

    • anonymous : Set anonymous credentials.

  • endpoint: Optional shorthand for complete URL to use for the constructed client.

  • region: Optional shorthand for AWS Region used in instantiating the client.

Returns

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.

Service syntax

svc <- memorydb(
  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"
)

Operations

batch_update_clusterApply the service update to a list of clusters supplied
copy_snapshotMakes a copy of an existing snapshot
create_aclCreates an Access Control List
create_clusterCreates a cluster
create_multi_region_clusterCreates a new multi-Region cluster
create_parameter_groupCreates a new MemoryDB parameter group
create_snapshotCreates a copy of an entire cluster at a specific moment in time
create_subnet_groupCreates a subnet group
create_userCreates a MemoryDB user
delete_aclDeletes an Access Control List
delete_clusterDeletes a cluster
delete_multi_region_clusterDeletes an existing multi-Region cluster
delete_parameter_groupDeletes the specified parameter group
delete_snapshotDeletes an existing snapshot
delete_subnet_groupDeletes a subnet group
delete_userDeletes a user
describe_ac_lsReturns a list of ACLs
describe_clustersReturns information about all provisioned clusters if no cluster identifier is specified, or about a specific cluster if a cluster name is supplied
describe_engine_versionsReturns a list of the available Redis OSS engine versions
describe_eventsReturns events related to clusters, security groups, and parameter groups
describe_multi_region_clustersReturns details about one or more multi-Region clusters
describe_parameter_groupsReturns a list of parameter group descriptions
describe_parametersReturns the detailed parameter list for a particular parameter group
describe_reserved_nodesReturns information about reserved nodes for this account, or about a specified reserved node
describe_reserved_nodes_offeringsLists available reserved node offerings
describe_service_updatesReturns details of the service updates
describe_snapshotsReturns information about cluster snapshots
describe_subnet_groupsReturns a list of subnet group descriptions
describe_usersReturns a list of users
failover_shardUsed to failover a shard
list_allowed_multi_region_cluster_updatesLists the allowed updates for a multi-Region cluster
list_allowed_node_type_updatesLists all available node types that you can scale to from your cluster's current node type
list_tagsLists all tags currently on a named resource
purchase_reserved_nodes_offeringAllows you to purchase a reserved node offering
reset_parameter_groupModifies the parameters of a parameter group to the engine or system default value
tag_resourceA tag is a key-value pair where the key and value are case-sensitive
untag_resourceUse this operation to remove tags on a resource
update_aclChanges the list of users that belong to the Access Control List
update_clusterModifies the settings for a cluster
update_multi_region_clusterUpdates the configuration of an existing multi-Region cluster
update_parameter_groupUpdates the parameters of a parameter group
update_subnet_groupUpdates a subnet group
update_userChanges user password(s) and/or access string

Examples

## Not run: svc <- memorydb() svc$batch_update_cluster( Foo = 123 ) ## End(Not run)
  • Maintainer: Dyfan Jones
  • License: Apache License (>= 2.0)
  • Last published: 2025-03-17