aws-sdk-elasticache 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-elasticache.rb +1 -1
- data/lib/aws-sdk-elasticache/client.rb +387 -95
- data/lib/aws-sdk-elasticache/client_api.rb +8 -0
- data/lib/aws-sdk-elasticache/types.rb +510 -190
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ebbfb0f431b27e4033800f5cdb5d8a5a38da1eb4
|
4
|
+
data.tar.gz: 4b7ba3923717de21a8039dce2b207b0659d6bfa9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aa0f0f4a8b93ede5effb4bab1ace485f2805c4ca2ca4378777355b8fb9066022847276c2b750b3cb53ee5baae5e2a764afcace9a1ada7cd0bd3f39bb53460707
|
7
|
+
data.tar.gz: 94552077c1a147588f5c870b4f33fb9b824431c69cc54ed3670e6659756b85524137870a7825451b31fef6bba89c597e31f98788f9f6032e41a0960831069190
|
data/lib/aws-sdk-elasticache.rb
CHANGED
@@ -609,27 +609,47 @@ module Aws::ElastiCache
|
|
609
609
|
# The compute and memory capacity of the nodes in the node group
|
610
610
|
# (shard).
|
611
611
|
#
|
612
|
-
#
|
612
|
+
# The following node types are supported by ElastiCache. Generally
|
613
|
+
# speaking, the current generation types provide more memory and
|
614
|
+
# computational power at lower cost when compared to their equivalent
|
615
|
+
# previous generation counterparts.
|
613
616
|
#
|
614
617
|
# * General purpose:
|
615
618
|
#
|
616
|
-
# * Current generation:
|
617
|
-
# `cache.t2.medium`, `cache.m3.medium`, `cache.m3.large`,
|
618
|
-
# `cache.m3.xlarge`, `cache.m3.2xlarge`, `cache.m4.large`,
|
619
|
-
# `cache.m4.xlarge`, `cache.m4.2xlarge`, `cache.m4.4xlarge`,
|
620
|
-
# `cache.m4.10xlarge`
|
619
|
+
# * Current generation:
|
621
620
|
#
|
622
|
-
#
|
623
|
-
# `cache.
|
621
|
+
# **T2 node types:** `cache.t2.micro`, `cache.t2.small`,
|
622
|
+
# `cache.t2.medium`
|
624
623
|
#
|
625
|
-
#
|
624
|
+
# **M3 node types:** `cache.m3.medium`, `cache.m3.large`,
|
625
|
+
# `cache.m3.xlarge`, `cache.m3.2xlarge`
|
626
|
+
#
|
627
|
+
# **M4 node types:** `cache.m4.large`, `cache.m4.xlarge`,
|
628
|
+
# `cache.m4.2xlarge`, `cache.m4.4xlarge`, `cache.m4.10xlarge`
|
629
|
+
#
|
630
|
+
# * Previous generation: (not recommended)
|
631
|
+
#
|
632
|
+
# **T1 node types:** `cache.t1.micro`
|
633
|
+
#
|
634
|
+
# **M1 node types:** `cache.m1.small`, `cache.m1.medium`,
|
635
|
+
# `cache.m1.large`, `cache.m1.xlarge`
|
636
|
+
#
|
637
|
+
# * Compute optimized:
|
638
|
+
#
|
639
|
+
# * Previous generation: (not recommended)
|
640
|
+
#
|
641
|
+
# **C1 node types:** `cache.c1.xlarge`
|
626
642
|
#
|
627
643
|
# * Memory optimized:
|
628
644
|
#
|
629
|
-
# * Current generation:
|
645
|
+
# * Current generation:
|
646
|
+
#
|
647
|
+
# **R3 node types:** `cache.r3.large`, `cache.r3.xlarge`,
|
630
648
|
# `cache.r3.2xlarge`, `cache.r3.4xlarge`, `cache.r3.8xlarge`
|
631
649
|
#
|
632
|
-
# * Previous generation:
|
650
|
+
# * Previous generation: (not recommended)
|
651
|
+
#
|
652
|
+
# **M2 node types:** `cache.m2.xlarge`, `cache.m2.2xlarge`,
|
633
653
|
# `cache.m2.4xlarge`
|
634
654
|
#
|
635
655
|
# **Notes:**
|
@@ -637,13 +657,18 @@ module Aws::ElastiCache
|
|
637
657
|
# * All T2 instances are created in an Amazon Virtual Private Cloud
|
638
658
|
# (Amazon VPC).
|
639
659
|
#
|
640
|
-
# * Redis backup/restore is not supported
|
641
|
-
#
|
642
|
-
#
|
660
|
+
# * Redis (cluster mode disabled): Redis backup/restore is not supported
|
661
|
+
# on T1 and T2 instances.
|
662
|
+
#
|
663
|
+
# * Redis (cluster mode enabled): Backup/restore is not supported on T1
|
664
|
+
# instances.
|
643
665
|
#
|
644
666
|
# * Redis Append-only files (AOF) functionality is not supported for T1
|
645
667
|
# or T2 instances.
|
646
668
|
#
|
669
|
+
# Supported node types are available in all regions except as noted in
|
670
|
+
# the following table.
|
671
|
+
#
|
647
672
|
# For a complete listing of node types and specifications, see [Amazon
|
648
673
|
# ElastiCache Product Features and Details][1] and either [Cache Node
|
649
674
|
# Type-Specific Parameters for Memcached][2] or [Cache Node
|
@@ -708,8 +733,7 @@ module Aws::ElastiCache
|
|
708
733
|
# Amazon Virtual Private Cloud (Amazon VPC).
|
709
734
|
#
|
710
735
|
# @option params [Array<Types::Tag>] :tags
|
711
|
-
# A list of cost allocation tags to be added to this resource.
|
712
|
-
# a key-value pair. A tag key must be accompanied by a tag value.
|
736
|
+
# A list of cost allocation tags to be added to this resource.
|
713
737
|
#
|
714
738
|
# @option params [Array<String>] :snapshot_arns
|
715
739
|
# A single-element string list containing an Amazon Resource Name (ARN)
|
@@ -798,8 +822,9 @@ module Aws::ElastiCache
|
|
798
822
|
# If you do not specify this parameter, ElastiCache automatically
|
799
823
|
# chooses an appropriate time range.
|
800
824
|
#
|
801
|
-
#
|
802
|
-
#
|
825
|
+
# <note markdown="1"> This parameter is only valid if the `Engine` parameter is `redis`.
|
826
|
+
#
|
827
|
+
# </note>
|
803
828
|
#
|
804
829
|
# @option params [String] :auth_token
|
805
830
|
# **Reserved parameter.** The password used to access a password
|
@@ -813,9 +838,10 @@ module Aws::ElastiCache
|
|
813
838
|
# length.
|
814
839
|
#
|
815
840
|
# * Cannot contain any of the following characters: '/', '"', or
|
816
|
-
#
|
841
|
+
# '@'.
|
817
842
|
#
|
818
|
-
# For more information, see [AUTH password][1] at
|
843
|
+
# For more information, see [AUTH password][1] at
|
844
|
+
# http://redis.io/commands/AUTH.
|
819
845
|
#
|
820
846
|
#
|
821
847
|
#
|
@@ -992,6 +1018,9 @@ module Aws::ElastiCache
|
|
992
1018
|
# resp.cache_cluster.replication_group_id #=> String
|
993
1019
|
# resp.cache_cluster.snapshot_retention_limit #=> Integer
|
994
1020
|
# resp.cache_cluster.snapshot_window #=> String
|
1021
|
+
# resp.cache_cluster.auth_token_enabled #=> Boolean
|
1022
|
+
# resp.cache_cluster.transit_encryption_enabled #=> Boolean
|
1023
|
+
# resp.cache_cluster.at_rest_encryption_enabled #=> Boolean
|
995
1024
|
#
|
996
1025
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateCacheCluster AWS API Documentation
|
997
1026
|
#
|
@@ -1306,15 +1335,14 @@ module Aws::ElastiCache
|
|
1306
1335
|
#
|
1307
1336
|
# Default: false
|
1308
1337
|
#
|
1309
|
-
#
|
1338
|
+
# Amazon ElastiCache for Redis does not support Multi-AZ with automatic
|
1339
|
+
# failover on:
|
1310
1340
|
#
|
1311
|
-
#
|
1341
|
+
# * Redis versions earlier than 2.8.6.
|
1312
1342
|
#
|
1313
|
-
# * Redis (cluster mode disabled): T1 and T2 node types.
|
1343
|
+
# * Redis (cluster mode disabled): T1 and T2 cache node types.
|
1314
1344
|
#
|
1315
|
-
#
|
1316
|
-
#
|
1317
|
-
# </note>
|
1345
|
+
# * Redis (cluster mode enabled): T1 node types.
|
1318
1346
|
#
|
1319
1347
|
# @option params [Integer] :num_cache_clusters
|
1320
1348
|
# The number of clusters this replication group initially has.
|
@@ -1376,27 +1404,47 @@ module Aws::ElastiCache
|
|
1376
1404
|
# The compute and memory capacity of the nodes in the node group
|
1377
1405
|
# (shard).
|
1378
1406
|
#
|
1379
|
-
#
|
1407
|
+
# The following node types are supported by ElastiCache. Generally
|
1408
|
+
# speaking, the current generation types provide more memory and
|
1409
|
+
# computational power at lower cost when compared to their equivalent
|
1410
|
+
# previous generation counterparts.
|
1380
1411
|
#
|
1381
1412
|
# * General purpose:
|
1382
1413
|
#
|
1383
|
-
# * Current generation:
|
1384
|
-
#
|
1385
|
-
#
|
1386
|
-
# `cache.
|
1387
|
-
#
|
1414
|
+
# * Current generation:
|
1415
|
+
#
|
1416
|
+
# **T2 node types:** `cache.t2.micro`, `cache.t2.small`,
|
1417
|
+
# `cache.t2.medium`
|
1418
|
+
#
|
1419
|
+
# **M3 node types:** `cache.m3.medium`, `cache.m3.large`,
|
1420
|
+
# `cache.m3.xlarge`, `cache.m3.2xlarge`
|
1421
|
+
#
|
1422
|
+
# **M4 node types:** `cache.m4.large`, `cache.m4.xlarge`,
|
1423
|
+
# `cache.m4.2xlarge`, `cache.m4.4xlarge`, `cache.m4.10xlarge`
|
1388
1424
|
#
|
1389
|
-
# * Previous generation:
|
1390
|
-
# `cache.m1.medium`, `cache.m1.large`, `cache.m1.xlarge`
|
1425
|
+
# * Previous generation: (not recommended)
|
1391
1426
|
#
|
1392
|
-
#
|
1427
|
+
# **T1 node types:** `cache.t1.micro`
|
1428
|
+
#
|
1429
|
+
# **M1 node types:** `cache.m1.small`, `cache.m1.medium`,
|
1430
|
+
# `cache.m1.large`, `cache.m1.xlarge`
|
1431
|
+
#
|
1432
|
+
# * Compute optimized:
|
1433
|
+
#
|
1434
|
+
# * Previous generation: (not recommended)
|
1435
|
+
#
|
1436
|
+
# **C1 node types:** `cache.c1.xlarge`
|
1393
1437
|
#
|
1394
1438
|
# * Memory optimized:
|
1395
1439
|
#
|
1396
|
-
# * Current generation:
|
1440
|
+
# * Current generation:
|
1441
|
+
#
|
1442
|
+
# **R3 node types:** `cache.r3.large`, `cache.r3.xlarge`,
|
1397
1443
|
# `cache.r3.2xlarge`, `cache.r3.4xlarge`, `cache.r3.8xlarge`
|
1398
1444
|
#
|
1399
|
-
# * Previous generation:
|
1445
|
+
# * Previous generation: (not recommended)
|
1446
|
+
#
|
1447
|
+
# **M2 node types:** `cache.m2.xlarge`, `cache.m2.2xlarge`,
|
1400
1448
|
# `cache.m2.4xlarge`
|
1401
1449
|
#
|
1402
1450
|
# **Notes:**
|
@@ -1404,13 +1452,18 @@ module Aws::ElastiCache
|
|
1404
1452
|
# * All T2 instances are created in an Amazon Virtual Private Cloud
|
1405
1453
|
# (Amazon VPC).
|
1406
1454
|
#
|
1407
|
-
# * Redis backup/restore is not supported
|
1408
|
-
#
|
1409
|
-
#
|
1455
|
+
# * Redis (cluster mode disabled): Redis backup/restore is not supported
|
1456
|
+
# on T1 and T2 instances.
|
1457
|
+
#
|
1458
|
+
# * Redis (cluster mode enabled): Backup/restore is not supported on T1
|
1459
|
+
# instances.
|
1410
1460
|
#
|
1411
1461
|
# * Redis Append-only files (AOF) functionality is not supported for T1
|
1412
1462
|
# or T2 instances.
|
1413
1463
|
#
|
1464
|
+
# Supported node types are available in all regions except as noted in
|
1465
|
+
# the following table.
|
1466
|
+
#
|
1414
1467
|
# For a complete listing of node types and specifications, see [Amazon
|
1415
1468
|
# ElastiCache Product Features and Details][1] and either [Cache Node
|
1416
1469
|
# Type-Specific Parameters for Memcached][2] or [Cache Node
|
@@ -1482,7 +1535,7 @@ module Aws::ElastiCache
|
|
1482
1535
|
#
|
1483
1536
|
# @option params [Array<Types::Tag>] :tags
|
1484
1537
|
# A list of cost allocation tags to be added to this resource. A tag is
|
1485
|
-
# a key-value pair.
|
1538
|
+
# a key-value pair.
|
1486
1539
|
#
|
1487
1540
|
# @option params [Array<String>] :snapshot_arns
|
1488
1541
|
# A list of Amazon Resource Names (ARN) that uniquely identify the Redis
|
@@ -1494,10 +1547,6 @@ module Aws::ElastiCache
|
|
1494
1547
|
# *NodeGroupConfiguration* regardless of the number of ARNs specified
|
1495
1548
|
# here.
|
1496
1549
|
#
|
1497
|
-
# <note markdown="1"> This parameter is only valid if the `Engine` parameter is `redis`.
|
1498
|
-
#
|
1499
|
-
# </note>
|
1500
|
-
#
|
1501
1550
|
# Example of an Amazon S3 ARN: `arn:aws:s3:::my_bucket/snapshot1.rdb`
|
1502
1551
|
#
|
1503
1552
|
# @option params [String] :snapshot_name
|
@@ -1505,10 +1554,6 @@ module Aws::ElastiCache
|
|
1505
1554
|
# replication group. The snapshot status changes to `restoring` while
|
1506
1555
|
# the new replication group is being created.
|
1507
1556
|
#
|
1508
|
-
# <note markdown="1"> This parameter is only valid if the `Engine` parameter is `redis`.
|
1509
|
-
#
|
1510
|
-
# </note>
|
1511
|
-
#
|
1512
1557
|
# @option params [String] :preferred_maintenance_window
|
1513
1558
|
# Specifies the weekly time range during which maintenance on the cache
|
1514
1559
|
# cluster is performed. It is specified as a range in the format
|
@@ -1560,10 +1605,6 @@ module Aws::ElastiCache
|
|
1560
1605
|
# to 5, a snapshot that was taken today is retained for 5 days before
|
1561
1606
|
# being deleted.
|
1562
1607
|
#
|
1563
|
-
# <note markdown="1"> This parameter is only valid if the `Engine` parameter is `redis`.
|
1564
|
-
#
|
1565
|
-
# </note>
|
1566
|
-
#
|
1567
1608
|
# Default: 0 (i.e., automatic backups are disabled for this cache
|
1568
1609
|
# cluster).
|
1569
1610
|
#
|
@@ -1576,14 +1617,17 @@ module Aws::ElastiCache
|
|
1576
1617
|
# If you do not specify this parameter, ElastiCache automatically
|
1577
1618
|
# chooses an appropriate time range.
|
1578
1619
|
#
|
1579
|
-
# <note markdown="1"> This parameter is only valid if the `Engine` parameter is `redis`.
|
1580
|
-
#
|
1581
|
-
# </note>
|
1582
|
-
#
|
1583
1620
|
# @option params [String] :auth_token
|
1584
1621
|
# **Reserved parameter.** The password used to access a password
|
1585
1622
|
# protected server.
|
1586
1623
|
#
|
1624
|
+
# This parameter is valid only if:
|
1625
|
+
#
|
1626
|
+
# * The parameter `TransitEncryptionEnabled` was set to `true` when the
|
1627
|
+
# cluster was created.
|
1628
|
+
#
|
1629
|
+
# * The line `requirepass` was added to the database configuration file.
|
1630
|
+
#
|
1587
1631
|
# Password constraints:
|
1588
1632
|
#
|
1589
1633
|
# * Must be only printable ASCII characters.
|
@@ -1592,14 +1636,47 @@ module Aws::ElastiCache
|
|
1592
1636
|
# length.
|
1593
1637
|
#
|
1594
1638
|
# * Cannot contain any of the following characters: '/', '"', or
|
1595
|
-
#
|
1639
|
+
# '@'.
|
1596
1640
|
#
|
1597
|
-
# For more information, see [AUTH password][1] at
|
1641
|
+
# For more information, see [AUTH password][1] at
|
1642
|
+
# http://redis.io/commands/AUTH.
|
1598
1643
|
#
|
1599
1644
|
#
|
1600
1645
|
#
|
1601
1646
|
# [1]: http://redis.io/commands/AUTH
|
1602
1647
|
#
|
1648
|
+
# @option params [Boolean] :transit_encryption_enabled
|
1649
|
+
# A flag that enables in-transit encryption when set to `true`.
|
1650
|
+
#
|
1651
|
+
# You cannot modify the value of `TransitEncryptionEnabled` after the
|
1652
|
+
# cluster is created. To enable in-transit encryption on a cluster you
|
1653
|
+
# must set `TransitEncryptionEnabled` to `true` when you create a
|
1654
|
+
# cluster.
|
1655
|
+
#
|
1656
|
+
# This parameter is valid only if the `Engine` parameter is `redis`, the
|
1657
|
+
# `EngineVersion` parameter is `3.2.4` or later, and the cluster is
|
1658
|
+
# being created in an Amazon VPC.
|
1659
|
+
#
|
1660
|
+
# If you enable in-transit encryption, you must also specify a value for
|
1661
|
+
# `CacheSubnetGroup`.
|
1662
|
+
#
|
1663
|
+
# Default: `false`
|
1664
|
+
#
|
1665
|
+
# @option params [Boolean] :at_rest_encryption_enabled
|
1666
|
+
# A flag that enables encryption at rest when set to `true`.
|
1667
|
+
#
|
1668
|
+
# You cannot modify the value of `AtRestEncryptionEnabled` after the
|
1669
|
+
# replication group is created. To enable encryption at rest on a
|
1670
|
+
# replication group you must set `AtRestEncryptionEnabled` to `true`
|
1671
|
+
# when you create the replication group.
|
1672
|
+
#
|
1673
|
+
# <note markdown="1"> This parameter is valid only if the `Engine` parameter is `redis` and
|
1674
|
+
# the cluster is being created in an Amazon VPC.
|
1675
|
+
#
|
1676
|
+
# </note>
|
1677
|
+
#
|
1678
|
+
# Default: `false`
|
1679
|
+
#
|
1603
1680
|
# @return [Types::CreateReplicationGroupResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1604
1681
|
#
|
1605
1682
|
# * {Types::CreateReplicationGroupResult#replication_group #replication_group} => Types::ReplicationGroup
|
@@ -1736,6 +1813,8 @@ module Aws::ElastiCache
|
|
1736
1813
|
# snapshot_retention_limit: 1,
|
1737
1814
|
# snapshot_window: "String",
|
1738
1815
|
# auth_token: "String",
|
1816
|
+
# transit_encryption_enabled: false,
|
1817
|
+
# at_rest_encryption_enabled: false,
|
1739
1818
|
# })
|
1740
1819
|
#
|
1741
1820
|
# @example Response structure
|
@@ -1768,6 +1847,9 @@ module Aws::ElastiCache
|
|
1768
1847
|
# resp.replication_group.snapshot_window #=> String
|
1769
1848
|
# resp.replication_group.cluster_enabled #=> Boolean
|
1770
1849
|
# resp.replication_group.cache_node_type #=> String
|
1850
|
+
# resp.replication_group.auth_token_enabled #=> Boolean
|
1851
|
+
# resp.replication_group.transit_encryption_enabled #=> Boolean
|
1852
|
+
# resp.replication_group.at_rest_encryption_enabled #=> Boolean
|
1771
1853
|
#
|
1772
1854
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateReplicationGroup AWS API Documentation
|
1773
1855
|
#
|
@@ -1800,6 +1882,131 @@ module Aws::ElastiCache
|
|
1800
1882
|
#
|
1801
1883
|
# * {Types::CreateSnapshotResult#snapshot #snapshot} => Types::Snapshot
|
1802
1884
|
#
|
1885
|
+
#
|
1886
|
+
# @example Example: CreateSnapshot - NonClustered Redis, no read-replicas
|
1887
|
+
#
|
1888
|
+
# # Creates a snapshot of a non-clustered Redis cluster that has only one node.
|
1889
|
+
#
|
1890
|
+
# resp = client.create_snapshot({
|
1891
|
+
# cache_cluster_id: "onenoderedis",
|
1892
|
+
# snapshot_name: "snapshot-1",
|
1893
|
+
# })
|
1894
|
+
#
|
1895
|
+
# resp.to_h outputs the following:
|
1896
|
+
# {
|
1897
|
+
# snapshot: {
|
1898
|
+
# auto_minor_version_upgrade: true,
|
1899
|
+
# cache_cluster_create_time: Time.parse("2017-02-03T15:43:36.278Z"),
|
1900
|
+
# cache_cluster_id: "onenoderedis",
|
1901
|
+
# cache_node_type: "cache.m3.medium",
|
1902
|
+
# cache_parameter_group_name: "default.redis3.2",
|
1903
|
+
# cache_subnet_group_name: "default",
|
1904
|
+
# engine: "redis",
|
1905
|
+
# engine_version: "3.2.4",
|
1906
|
+
# node_snapshots: [
|
1907
|
+
# {
|
1908
|
+
# cache_node_create_time: Time.parse("2017-02-03T15:43:36.278Z"),
|
1909
|
+
# cache_node_id: "0001",
|
1910
|
+
# cache_size: "",
|
1911
|
+
# },
|
1912
|
+
# ],
|
1913
|
+
# num_cache_nodes: 1,
|
1914
|
+
# port: 6379,
|
1915
|
+
# preferred_availability_zone: "us-west-2c",
|
1916
|
+
# preferred_maintenance_window: "sat:08:00-sat:09:00",
|
1917
|
+
# snapshot_name: "snapshot-1",
|
1918
|
+
# snapshot_retention_limit: 1,
|
1919
|
+
# snapshot_source: "manual",
|
1920
|
+
# snapshot_status: "creating",
|
1921
|
+
# snapshot_window: "00:00-01:00",
|
1922
|
+
# vpc_id: "vpc-73c3cd17",
|
1923
|
+
# },
|
1924
|
+
# }
|
1925
|
+
#
|
1926
|
+
# @example Example: CreateSnapshot - NonClustered Redis, 2 read-replicas
|
1927
|
+
#
|
1928
|
+
# # Creates a snapshot of a non-clustered Redis cluster that has only three nodes, primary and two read-replicas.
|
1929
|
+
# # CacheClusterId must be a specific node in the cluster.
|
1930
|
+
#
|
1931
|
+
# resp = client.create_snapshot({
|
1932
|
+
# cache_cluster_id: "threenoderedis-001",
|
1933
|
+
# snapshot_name: "snapshot-2",
|
1934
|
+
# })
|
1935
|
+
#
|
1936
|
+
# resp.to_h outputs the following:
|
1937
|
+
# {
|
1938
|
+
# snapshot: {
|
1939
|
+
# auto_minor_version_upgrade: true,
|
1940
|
+
# cache_cluster_create_time: Time.parse("2017-02-03T15:43:36.278Z"),
|
1941
|
+
# cache_cluster_id: "threenoderedis-001",
|
1942
|
+
# cache_node_type: "cache.m3.medium",
|
1943
|
+
# cache_parameter_group_name: "default.redis3.2",
|
1944
|
+
# cache_subnet_group_name: "default",
|
1945
|
+
# engine: "redis",
|
1946
|
+
# engine_version: "3.2.4",
|
1947
|
+
# node_snapshots: [
|
1948
|
+
# {
|
1949
|
+
# cache_node_create_time: Time.parse("2017-02-03T15:43:36.278Z"),
|
1950
|
+
# cache_node_id: "0001",
|
1951
|
+
# cache_size: "",
|
1952
|
+
# },
|
1953
|
+
# ],
|
1954
|
+
# num_cache_nodes: 1,
|
1955
|
+
# port: 6379,
|
1956
|
+
# preferred_availability_zone: "us-west-2c",
|
1957
|
+
# preferred_maintenance_window: "sat:08:00-sat:09:00",
|
1958
|
+
# snapshot_name: "snapshot-2",
|
1959
|
+
# snapshot_retention_limit: 1,
|
1960
|
+
# snapshot_source: "manual",
|
1961
|
+
# snapshot_status: "creating",
|
1962
|
+
# snapshot_window: "00:00-01:00",
|
1963
|
+
# vpc_id: "vpc-73c3cd17",
|
1964
|
+
# },
|
1965
|
+
# }
|
1966
|
+
#
|
1967
|
+
# @example Example: CreateSnapshot-clustered Redis
|
1968
|
+
#
|
1969
|
+
# # Creates a snapshot of a clustered Redis cluster that has 2 shards, each with a primary and 4 read-replicas.
|
1970
|
+
#
|
1971
|
+
# resp = client.create_snapshot({
|
1972
|
+
# replication_group_id: "clusteredredis",
|
1973
|
+
# snapshot_name: "snapshot-2x5",
|
1974
|
+
# })
|
1975
|
+
#
|
1976
|
+
# resp.to_h outputs the following:
|
1977
|
+
# {
|
1978
|
+
# snapshot: {
|
1979
|
+
# auto_minor_version_upgrade: true,
|
1980
|
+
# automatic_failover: "enabled",
|
1981
|
+
# cache_node_type: "cache.m3.medium",
|
1982
|
+
# cache_parameter_group_name: "default.redis3.2.cluster.on",
|
1983
|
+
# cache_subnet_group_name: "default",
|
1984
|
+
# engine: "redis",
|
1985
|
+
# engine_version: "3.2.4",
|
1986
|
+
# node_snapshots: [
|
1987
|
+
# {
|
1988
|
+
# cache_size: "",
|
1989
|
+
# node_group_id: "0001",
|
1990
|
+
# },
|
1991
|
+
# {
|
1992
|
+
# cache_size: "",
|
1993
|
+
# node_group_id: "0002",
|
1994
|
+
# },
|
1995
|
+
# ],
|
1996
|
+
# num_node_groups: 2,
|
1997
|
+
# port: 6379,
|
1998
|
+
# preferred_maintenance_window: "mon:09:30-mon:10:30",
|
1999
|
+
# replication_group_description: "Redis cluster with 2 shards.",
|
2000
|
+
# replication_group_id: "clusteredredis",
|
2001
|
+
# snapshot_name: "snapshot-2x5",
|
2002
|
+
# snapshot_retention_limit: 1,
|
2003
|
+
# snapshot_source: "manual",
|
2004
|
+
# snapshot_status: "creating",
|
2005
|
+
# snapshot_window: "12:00-13:00",
|
2006
|
+
# vpc_id: "vpc-73c3cd17",
|
2007
|
+
# },
|
2008
|
+
# }
|
2009
|
+
#
|
1803
2010
|
# @example Request syntax with placeholder values
|
1804
2011
|
#
|
1805
2012
|
# resp = client.create_snapshot({
|
@@ -1976,6 +2183,9 @@ module Aws::ElastiCache
|
|
1976
2183
|
# resp.cache_cluster.replication_group_id #=> String
|
1977
2184
|
# resp.cache_cluster.snapshot_retention_limit #=> Integer
|
1978
2185
|
# resp.cache_cluster.snapshot_window #=> String
|
2186
|
+
# resp.cache_cluster.auth_token_enabled #=> Boolean
|
2187
|
+
# resp.cache_cluster.transit_encryption_enabled #=> Boolean
|
2188
|
+
# resp.cache_cluster.at_rest_encryption_enabled #=> Boolean
|
1979
2189
|
#
|
1980
2190
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteCacheCluster AWS API Documentation
|
1981
2191
|
#
|
@@ -2195,6 +2405,9 @@ module Aws::ElastiCache
|
|
2195
2405
|
# resp.replication_group.snapshot_window #=> String
|
2196
2406
|
# resp.replication_group.cluster_enabled #=> Boolean
|
2197
2407
|
# resp.replication_group.cache_node_type #=> String
|
2408
|
+
# resp.replication_group.auth_token_enabled #=> Boolean
|
2409
|
+
# resp.replication_group.transit_encryption_enabled #=> Boolean
|
2410
|
+
# resp.replication_group.at_rest_encryption_enabled #=> Boolean
|
2198
2411
|
#
|
2199
2412
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteReplicationGroup AWS API Documentation
|
2200
2413
|
#
|
@@ -2542,6 +2755,9 @@ module Aws::ElastiCache
|
|
2542
2755
|
# resp.cache_clusters[0].replication_group_id #=> String
|
2543
2756
|
# resp.cache_clusters[0].snapshot_retention_limit #=> Integer
|
2544
2757
|
# resp.cache_clusters[0].snapshot_window #=> String
|
2758
|
+
# resp.cache_clusters[0].auth_token_enabled #=> Boolean
|
2759
|
+
# resp.cache_clusters[0].transit_encryption_enabled #=> Boolean
|
2760
|
+
# resp.cache_clusters[0].at_rest_encryption_enabled #=> Boolean
|
2545
2761
|
#
|
2546
2762
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeCacheClusters AWS API Documentation
|
2547
2763
|
#
|
@@ -4530,6 +4746,9 @@ module Aws::ElastiCache
|
|
4530
4746
|
# resp.replication_groups[0].snapshot_window #=> String
|
4531
4747
|
# resp.replication_groups[0].cluster_enabled #=> Boolean
|
4532
4748
|
# resp.replication_groups[0].cache_node_type #=> String
|
4749
|
+
# resp.replication_groups[0].auth_token_enabled #=> Boolean
|
4750
|
+
# resp.replication_groups[0].transit_encryption_enabled #=> Boolean
|
4751
|
+
# resp.replication_groups[0].at_rest_encryption_enabled #=> Boolean
|
4533
4752
|
#
|
4534
4753
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeReplicationGroups AWS API Documentation
|
4535
4754
|
#
|
@@ -4555,27 +4774,47 @@ module Aws::ElastiCache
|
|
4555
4774
|
# The cache node type filter value. Use this parameter to show only
|
4556
4775
|
# those reservations matching the specified cache node type.
|
4557
4776
|
#
|
4558
|
-
#
|
4777
|
+
# The following node types are supported by ElastiCache. Generally
|
4778
|
+
# speaking, the current generation types provide more memory and
|
4779
|
+
# computational power at lower cost when compared to their equivalent
|
4780
|
+
# previous generation counterparts.
|
4559
4781
|
#
|
4560
4782
|
# * General purpose:
|
4561
4783
|
#
|
4562
|
-
# * Current generation:
|
4563
|
-
#
|
4564
|
-
#
|
4565
|
-
# `cache.
|
4566
|
-
#
|
4784
|
+
# * Current generation:
|
4785
|
+
#
|
4786
|
+
# **T2 node types:** `cache.t2.micro`, `cache.t2.small`,
|
4787
|
+
# `cache.t2.medium`
|
4788
|
+
#
|
4789
|
+
# **M3 node types:** `cache.m3.medium`, `cache.m3.large`,
|
4790
|
+
# `cache.m3.xlarge`, `cache.m3.2xlarge`
|
4791
|
+
#
|
4792
|
+
# **M4 node types:** `cache.m4.large`, `cache.m4.xlarge`,
|
4793
|
+
# `cache.m4.2xlarge`, `cache.m4.4xlarge`, `cache.m4.10xlarge`
|
4567
4794
|
#
|
4568
|
-
# * Previous generation:
|
4569
|
-
# `cache.m1.medium`, `cache.m1.large`, `cache.m1.xlarge`
|
4795
|
+
# * Previous generation: (not recommended)
|
4570
4796
|
#
|
4571
|
-
#
|
4797
|
+
# **T1 node types:** `cache.t1.micro`
|
4798
|
+
#
|
4799
|
+
# **M1 node types:** `cache.m1.small`, `cache.m1.medium`,
|
4800
|
+
# `cache.m1.large`, `cache.m1.xlarge`
|
4801
|
+
#
|
4802
|
+
# * Compute optimized:
|
4803
|
+
#
|
4804
|
+
# * Previous generation: (not recommended)
|
4805
|
+
#
|
4806
|
+
# **C1 node types:** `cache.c1.xlarge`
|
4572
4807
|
#
|
4573
4808
|
# * Memory optimized:
|
4574
4809
|
#
|
4575
|
-
# * Current generation:
|
4810
|
+
# * Current generation:
|
4811
|
+
#
|
4812
|
+
# **R3 node types:** `cache.r3.large`, `cache.r3.xlarge`,
|
4576
4813
|
# `cache.r3.2xlarge`, `cache.r3.4xlarge`, `cache.r3.8xlarge`
|
4577
4814
|
#
|
4578
|
-
# * Previous generation:
|
4815
|
+
# * Previous generation: (not recommended)
|
4816
|
+
#
|
4817
|
+
# **M2 node types:** `cache.m2.xlarge`, `cache.m2.2xlarge`,
|
4579
4818
|
# `cache.m2.4xlarge`
|
4580
4819
|
#
|
4581
4820
|
# **Notes:**
|
@@ -4583,13 +4822,18 @@ module Aws::ElastiCache
|
|
4583
4822
|
# * All T2 instances are created in an Amazon Virtual Private Cloud
|
4584
4823
|
# (Amazon VPC).
|
4585
4824
|
#
|
4586
|
-
# * Redis backup/restore is not supported
|
4587
|
-
#
|
4588
|
-
#
|
4825
|
+
# * Redis (cluster mode disabled): Redis backup/restore is not supported
|
4826
|
+
# on T1 and T2 instances.
|
4827
|
+
#
|
4828
|
+
# * Redis (cluster mode enabled): Backup/restore is not supported on T1
|
4829
|
+
# instances.
|
4589
4830
|
#
|
4590
4831
|
# * Redis Append-only files (AOF) functionality is not supported for T1
|
4591
4832
|
# or T2 instances.
|
4592
4833
|
#
|
4834
|
+
# Supported node types are available in all regions except as noted in
|
4835
|
+
# the following table.
|
4836
|
+
#
|
4593
4837
|
# For a complete listing of node types and specifications, see [Amazon
|
4594
4838
|
# ElastiCache Product Features and Details][1] and either [Cache Node
|
4595
4839
|
# Type-Specific Parameters for Memcached][2] or [Cache Node
|
@@ -4703,27 +4947,47 @@ module Aws::ElastiCache
|
|
4703
4947
|
# The cache node type filter value. Use this parameter to show only the
|
4704
4948
|
# available offerings matching the specified cache node type.
|
4705
4949
|
#
|
4706
|
-
#
|
4950
|
+
# The following node types are supported by ElastiCache. Generally
|
4951
|
+
# speaking, the current generation types provide more memory and
|
4952
|
+
# computational power at lower cost when compared to their equivalent
|
4953
|
+
# previous generation counterparts.
|
4707
4954
|
#
|
4708
4955
|
# * General purpose:
|
4709
4956
|
#
|
4710
|
-
# * Current generation:
|
4711
|
-
#
|
4712
|
-
#
|
4713
|
-
# `cache.
|
4714
|
-
#
|
4957
|
+
# * Current generation:
|
4958
|
+
#
|
4959
|
+
# **T2 node types:** `cache.t2.micro`, `cache.t2.small`,
|
4960
|
+
# `cache.t2.medium`
|
4961
|
+
#
|
4962
|
+
# **M3 node types:** `cache.m3.medium`, `cache.m3.large`,
|
4963
|
+
# `cache.m3.xlarge`, `cache.m3.2xlarge`
|
4964
|
+
#
|
4965
|
+
# **M4 node types:** `cache.m4.large`, `cache.m4.xlarge`,
|
4966
|
+
# `cache.m4.2xlarge`, `cache.m4.4xlarge`, `cache.m4.10xlarge`
|
4715
4967
|
#
|
4716
|
-
# * Previous generation:
|
4717
|
-
# `cache.m1.medium`, `cache.m1.large`, `cache.m1.xlarge`
|
4968
|
+
# * Previous generation: (not recommended)
|
4718
4969
|
#
|
4719
|
-
#
|
4970
|
+
# **T1 node types:** `cache.t1.micro`
|
4971
|
+
#
|
4972
|
+
# **M1 node types:** `cache.m1.small`, `cache.m1.medium`,
|
4973
|
+
# `cache.m1.large`, `cache.m1.xlarge`
|
4974
|
+
#
|
4975
|
+
# * Compute optimized:
|
4976
|
+
#
|
4977
|
+
# * Previous generation: (not recommended)
|
4978
|
+
#
|
4979
|
+
# **C1 node types:** `cache.c1.xlarge`
|
4720
4980
|
#
|
4721
4981
|
# * Memory optimized:
|
4722
4982
|
#
|
4723
|
-
# * Current generation:
|
4983
|
+
# * Current generation:
|
4984
|
+
#
|
4985
|
+
# **R3 node types:** `cache.r3.large`, `cache.r3.xlarge`,
|
4724
4986
|
# `cache.r3.2xlarge`, `cache.r3.4xlarge`, `cache.r3.8xlarge`
|
4725
4987
|
#
|
4726
|
-
# * Previous generation:
|
4988
|
+
# * Previous generation: (not recommended)
|
4989
|
+
#
|
4990
|
+
# **M2 node types:** `cache.m2.xlarge`, `cache.m2.2xlarge`,
|
4727
4991
|
# `cache.m2.4xlarge`
|
4728
4992
|
#
|
4729
4993
|
# **Notes:**
|
@@ -4731,13 +4995,18 @@ module Aws::ElastiCache
|
|
4731
4995
|
# * All T2 instances are created in an Amazon Virtual Private Cloud
|
4732
4996
|
# (Amazon VPC).
|
4733
4997
|
#
|
4734
|
-
# * Redis backup/restore is not supported
|
4735
|
-
#
|
4736
|
-
#
|
4998
|
+
# * Redis (cluster mode disabled): Redis backup/restore is not supported
|
4999
|
+
# on T1 and T2 instances.
|
5000
|
+
#
|
5001
|
+
# * Redis (cluster mode enabled): Backup/restore is not supported on T1
|
5002
|
+
# instances.
|
4737
5003
|
#
|
4738
5004
|
# * Redis Append-only files (AOF) functionality is not supported for T1
|
4739
5005
|
# or T2 instances.
|
4740
5006
|
#
|
5007
|
+
# Supported node types are available in all regions except as noted in
|
5008
|
+
# the following table.
|
5009
|
+
#
|
4741
5010
|
# For a complete listing of node types and specifications, see [Amazon
|
4742
5011
|
# ElastiCache Product Features and Details][1] and either [Cache Node
|
4743
5012
|
# Type-Specific Parameters for Memcached][2] or [Cache Node
|
@@ -5522,7 +5791,7 @@ module Aws::ElastiCache
|
|
5522
5791
|
# `NumCacheNodes` in the request.
|
5523
5792
|
#
|
5524
5793
|
# For example: If you have 3 active cache nodes, 7 pending cache nodes,
|
5525
|
-
# and the number of cache nodes in this `
|
5794
|
+
# and the number of cache nodes in this `ModifyCacheCluster` call is 5,
|
5526
5795
|
# you must list 2 (7 - 5) cache node IDs to remove.
|
5527
5796
|
#
|
5528
5797
|
# @option params [String] :az_mode
|
@@ -5857,6 +6126,9 @@ module Aws::ElastiCache
|
|
5857
6126
|
# resp.cache_cluster.replication_group_id #=> String
|
5858
6127
|
# resp.cache_cluster.snapshot_retention_limit #=> Integer
|
5859
6128
|
# resp.cache_cluster.snapshot_window #=> String
|
6129
|
+
# resp.cache_cluster.auth_token_enabled #=> Boolean
|
6130
|
+
# resp.cache_cluster.transit_encryption_enabled #=> Boolean
|
6131
|
+
# resp.cache_cluster.at_rest_encryption_enabled #=> Boolean
|
5860
6132
|
#
|
5861
6133
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ModifyCacheCluster AWS API Documentation
|
5862
6134
|
#
|
@@ -6067,15 +6339,14 @@ module Aws::ElastiCache
|
|
6067
6339
|
#
|
6068
6340
|
# Valid values: `true` \| `false`
|
6069
6341
|
#
|
6070
|
-
#
|
6342
|
+
# Amazon ElastiCache for Redis does not support Multi-AZ with automatic
|
6343
|
+
# failover on:
|
6071
6344
|
#
|
6072
|
-
#
|
6345
|
+
# * Redis versions earlier than 2.8.6.
|
6073
6346
|
#
|
6074
|
-
# * Redis (cluster mode disabled):T1 and T2 cache node types.
|
6347
|
+
# * Redis (cluster mode disabled): T1 and T2 cache node types.
|
6075
6348
|
#
|
6076
|
-
#
|
6077
|
-
#
|
6078
|
-
# </note>
|
6349
|
+
# * Redis (cluster mode enabled): T1 node types.
|
6079
6350
|
#
|
6080
6351
|
# @option params [Array<String>] :cache_security_group_names
|
6081
6352
|
# A list of cache security group names to authorize for the clusters in
|
@@ -6327,6 +6598,9 @@ module Aws::ElastiCache
|
|
6327
6598
|
# resp.replication_group.snapshot_window #=> String
|
6328
6599
|
# resp.replication_group.cluster_enabled #=> Boolean
|
6329
6600
|
# resp.replication_group.cache_node_type #=> String
|
6601
|
+
# resp.replication_group.auth_token_enabled #=> Boolean
|
6602
|
+
# resp.replication_group.transit_encryption_enabled #=> Boolean
|
6603
|
+
# resp.replication_group.at_rest_encryption_enabled #=> Boolean
|
6330
6604
|
#
|
6331
6605
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ModifyReplicationGroup AWS API Documentation
|
6332
6606
|
#
|
@@ -6418,6 +6692,18 @@ module Aws::ElastiCache
|
|
6418
6692
|
#
|
6419
6693
|
# When the reboot is complete, a cache cluster event is created.
|
6420
6694
|
#
|
6695
|
+
# Rebooting a cluster is currently supported on Memcached and Redis
|
6696
|
+
# (cluster mode disabled) clusters. Rebooting is not supported on Redis
|
6697
|
+
# (cluster mode enabled) clusters.
|
6698
|
+
#
|
6699
|
+
# If you make changes to parameters that require a Redis (cluster mode
|
6700
|
+
# enabled) cluster reboot for the changes to be applied, see [Rebooting
|
6701
|
+
# a Cluster][1] for an alternate process.
|
6702
|
+
#
|
6703
|
+
#
|
6704
|
+
#
|
6705
|
+
# [1]: http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/Clusters.Rebooting.htm
|
6706
|
+
#
|
6421
6707
|
# @option params [required, String] :cache_cluster_id
|
6422
6708
|
# The cache cluster identifier. This parameter is stored as a lowercase
|
6423
6709
|
# string.
|
@@ -6528,6 +6814,9 @@ module Aws::ElastiCache
|
|
6528
6814
|
# resp.cache_cluster.replication_group_id #=> String
|
6529
6815
|
# resp.cache_cluster.snapshot_retention_limit #=> Integer
|
6530
6816
|
# resp.cache_cluster.snapshot_window #=> String
|
6817
|
+
# resp.cache_cluster.auth_token_enabled #=> Boolean
|
6818
|
+
# resp.cache_cluster.transit_encryption_enabled #=> Boolean
|
6819
|
+
# resp.cache_cluster.at_rest_encryption_enabled #=> Boolean
|
6531
6820
|
#
|
6532
6821
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/RebootCacheCluster AWS API Documentation
|
6533
6822
|
#
|
@@ -6854,6 +7143,9 @@ module Aws::ElastiCache
|
|
6854
7143
|
# resp.replication_group.snapshot_window #=> String
|
6855
7144
|
# resp.replication_group.cluster_enabled #=> Boolean
|
6856
7145
|
# resp.replication_group.cache_node_type #=> String
|
7146
|
+
# resp.replication_group.auth_token_enabled #=> Boolean
|
7147
|
+
# resp.replication_group.transit_encryption_enabled #=> Boolean
|
7148
|
+
# resp.replication_group.at_rest_encryption_enabled #=> Boolean
|
6857
7149
|
#
|
6858
7150
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/TestFailover AWS API Documentation
|
6859
7151
|
#
|
@@ -6877,7 +7169,7 @@ module Aws::ElastiCache
|
|
6877
7169
|
params: params,
|
6878
7170
|
config: config)
|
6879
7171
|
context[:gem_name] = 'aws-sdk-elasticache'
|
6880
|
-
context[:gem_version] = '1.
|
7172
|
+
context[:gem_version] = '1.2.0'
|
6881
7173
|
Seahorse::Client::Request.new(handlers, context)
|
6882
7174
|
end
|
6883
7175
|
|