Skip to content

Delete Serverless Cache

elasticache_delete_serverless_cache R Documentation

Deletes a specified existing serverless cache

Description

Deletes a specified existing serverless cache.

create_serverless_cache_snapshot permission is required to create a final snapshot. Without this permission, the API call will fail with an ⁠Access Denied⁠ exception.

Usage

elasticache_delete_serverless_cache(ServerlessCacheName,
  FinalSnapshotName)

Arguments

ServerlessCacheName

[required] The identifier of the serverless cache to be deleted.

FinalSnapshotName

Name of the final snapshot to be taken before the serverless cache is deleted. Available for Redis OSS and Serverless Memcached only. Default: NULL, i.e. a final snapshot is not taken.

Value

A list with the following syntax:

list(
  ServerlessCache = list(
    ServerlessCacheName = "string",
    Description = "string",
    CreateTime = as.POSIXct(
      "2015-01-01"
    ),
    Status = "string",
    Engine = "string",
    MajorEngineVersion = "string",
    FullEngineVersion = "string",
    CacheUsageLimits = list(
      DataStorage = list(
        Maximum = 123,
        Minimum = 123,
        Unit = "GB"
      ),
      ECPUPerSecond = list(
        Maximum = 123,
        Minimum = 123
      )
    ),
    KmsKeyId = "string",
    SecurityGroupIds = list(
      "string"
    ),
    Endpoint = list(
      Address = "string",
      Port = 123
    ),
    ReaderEndpoint = list(
      Address = "string",
      Port = 123
    ),
    ARN = "string",
    UserGroupId = "string",
    SubnetIds = list(
      "string"
    ),
    SnapshotRetentionLimit = 123,
    DailySnapshotTime = "string"
  )
)

Request syntax

svc$delete_serverless_cache(
  ServerlessCacheName = "string",
  FinalSnapshotName = "string"
)