Amazon ElastiCache
amazonaws · Cloud
Amazon ElastiCache Amazon ElastiCache is a web service that makes it easier to set up, operate, and scale a distributed cache in the cloud. With ElastiCache, customers get all of the benefits of a high-performance, in-memory cache with less of the administrative burden involved in launching and managing a distributed cache. The service makes setup, scaling, and cluster failure handling much simpler than in a self-managed cache deployment. In addition, throug
Authentication
Sample Requests
A tag is a key-value pair where the key and value are case-sensitive. You can use tags to categorize and track all your ElastiCache resources, with the exception of global replication group. When you add or remove tags on replication groups, those actions will be replicated to all nodes in the re
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/amazonaws.com/elasticache/2015-02-02/#Action=AddTagsToResource?Tags=example&Action=AddTagsToResource&Version=2015-02-02&ResourceName=example"
import requests
params = {
"Tags": "example",
"Action": "AddTagsToResource",
"Version": "2015-02-02",
"ResourceName": "example"
}
response = requests.get(
"https://api.apis.guru/v2/specs/amazonaws.com/elasticache/2015-02-02/#Action=AddTagsToResource",
params=params,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/amazonaws.com/elasticache/2015-02-02/#Action=AddTagsToResource');
url.searchParams.set('Tags', 'example');
url.searchParams.set('Action', 'AddTagsToResource');
url.searchParams.set('Version', '2015-02-02');
url.searchParams.set('ResourceName', 'example');
const response = await fetch(url);
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/amazonaws.com/elasticache/2015-02-02/#Action=AddTagsToResource")
q := baseURL.Query()
q.Set("Tags", "example")
q.Set("Action", "AddTagsToResource")
q.Set("Version", "2015-02-02")
q.Set("ResourceName", "example")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/amazonaws.com/elasticache/2015-02-02/#Action=AddTagsToResource")
uri.query = URI.encode_www_form({
"Tags" => "example",
"Action" => "AddTagsToResource",
"Version" => "2015-02-02",
"ResourceName" => "example"
})
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/amazonaws.com/elasticache/2015-02-02/#Action=AddTagsToResource?" . http_build_query([
"Tags" => "example",
"Action" => "AddTagsToResource",
"Version" => "2015-02-02",
"ResourceName" => "example"
]);
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Allows network ingress to a cache security group. Applications using ElastiCache must be running on Amazon EC2, and Amazon EC2 security groups are used as the authorization mechanism. You cannot authorize ingress from an Amazon EC2 security group in one region to an ElastiCache clus
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/amazonaws.com/elasticache/2015-02-02/#Action=AuthorizeCacheSecurityGroupIngress?Action=AuthorizeCacheSecurityGroupIngress&Version=2015-02-02&EC2SecurityGroupName=example&CacheSecurityGroupName=example&EC2SecurityGroupOwnerId=example"
import requests
params = {
"Action": "AuthorizeCacheSecurityGroupIngress",
"Version": "2015-02-02",
"EC2SecurityGroupName": "example",
"CacheSecurityGroupName": "example",
"EC2SecurityGroupOwnerId": "example"
}
response = requests.get(
"https://api.apis.guru/v2/specs/amazonaws.com/elasticache/2015-02-02/#Action=AuthorizeCacheSecurityGroupIngress",
params=params,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/amazonaws.com/elasticache/2015-02-02/#Action=AuthorizeCacheSecurityGroupIngress');
url.searchParams.set('Action', 'AuthorizeCacheSecurityGroupIngress');
url.searchParams.set('Version', '2015-02-02');
url.searchParams.set('EC2SecurityGroupName', 'example');
url.searchParams.set('CacheSecurityGroupName', 'example');
url.searchParams.set('EC2SecurityGroupOwnerId', 'example');
const response = await fetch(url);
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/amazonaws.com/elasticache/2015-02-02/#Action=AuthorizeCacheSecurityGroupIngress")
q := baseURL.Query()
q.Set("Action", "AuthorizeCacheSecurityGroupIngress")
q.Set("Version", "2015-02-02")
q.Set("EC2SecurityGroupName", "example")
q.Set("CacheSecurityGroupName", "example")
q.Set("EC2SecurityGroupOwnerId", "example")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/amazonaws.com/elasticache/2015-02-02/#Action=AuthorizeCacheSecurityGroupIngress")
uri.query = URI.encode_www_form({
"Action" => "AuthorizeCacheSecurityGroupIngress",
"Version" => "2015-02-02",
"EC2SecurityGroupName" => "example",
"CacheSecurityGroupName" => "example",
"EC2SecurityGroupOwnerId" => "example"
})
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/amazonaws.com/elasticache/2015-02-02/#Action=AuthorizeCacheSecurityGroupIngress?" . http_build_query([
"Action" => "AuthorizeCacheSecurityGroupIngress",
"Version" => "2015-02-02",
"EC2SecurityGroupName" => "example",
"CacheSecurityGroupName" => "example",
"EC2SecurityGroupOwnerId" => "example"
]);
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Apply the service update. For more information on service updates and applying them, see Applying Service Updates .
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/amazonaws.com/elasticache/2015-02-02/#Action=BatchApplyUpdateAction?Action=BatchApplyUpdateAction&Version=2015-02-02&CacheClusterIds=example&ServiceUpdateName=example&ReplicationGroupIds=example"
import requests
params = {
"Action": "BatchApplyUpdateAction",
"Version": "2015-02-02",
"CacheClusterIds": "example",
"ServiceUpdateName": "example",
"ReplicationGroupIds": "example"
}
response = requests.get(
"https://api.apis.guru/v2/specs/amazonaws.com/elasticache/2015-02-02/#Action=BatchApplyUpdateAction",
params=params,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/amazonaws.com/elasticache/2015-02-02/#Action=BatchApplyUpdateAction');
url.searchParams.set('Action', 'BatchApplyUpdateAction');
url.searchParams.set('Version', '2015-02-02');
url.searchParams.set('CacheClusterIds', 'example');
url.searchParams.set('ServiceUpdateName', 'example');
url.searchParams.set('ReplicationGroupIds', 'example');
const response = await fetch(url);
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/amazonaws.com/elasticache/2015-02-02/#Action=BatchApplyUpdateAction")
q := baseURL.Query()
q.Set("Action", "BatchApplyUpdateAction")
q.Set("Version", "2015-02-02")
q.Set("CacheClusterIds", "example")
q.Set("ServiceUpdateName", "example")
q.Set("ReplicationGroupIds", "example")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/amazonaws.com/elasticache/2015-02-02/#Action=BatchApplyUpdateAction")
uri.query = URI.encode_www_form({
"Action" => "BatchApplyUpdateAction",
"Version" => "2015-02-02",
"CacheClusterIds" => "example",
"ServiceUpdateName" => "example",
"ReplicationGroupIds" => "example"
})
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/amazonaws.com/elasticache/2015-02-02/#Action=BatchApplyUpdateAction?" . http_build_query([
"Action" => "BatchApplyUpdateAction",
"Version" => "2015-02-02",
"CacheClusterIds" => "example",
"ServiceUpdateName" => "example",
"ReplicationGroupIds" => "example"
]);
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Postman Setup Guide
- See official documentation for authentication and setup.
What can you build with Amazon ElastiCache?
Amazon ElastiCache is a Cloud API. Developers commonly use cloud APIs for:
- provisioning and managing cloud infrastructure
- automating deployments and container orchestration
- monitoring uptime and performance metrics
- managing storage buckets and databases
- setting up auto-scaling and load balancing
No authentication required. This API is open — no signup or key needed. Ideal for quick prototypes and public-facing features. Amazon ElastiCache is free to use, making it a low-risk choice to experiment with.
New to APIs? Read our beginner's guide · Learn about API keys · What is REST?