aws-sdk-elasticache 1.29.0 → 1.31.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/aws-sdk-elasticache.rb +7 -4
- data/lib/aws-sdk-elasticache/client.rb +698 -12
- data/lib/aws-sdk-elasticache/client_api.rb +376 -0
- data/lib/aws-sdk-elasticache/errors.rb +606 -1
- data/lib/aws-sdk-elasticache/resource.rb +7 -0
- data/lib/aws-sdk-elasticache/types.rb +1175 -51
- metadata +3 -4
@@ -6,6 +6,13 @@
|
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
7
7
|
|
8
8
|
module Aws::ElastiCache
|
9
|
+
# This class provides a resource oriented interface for ElastiCache.
|
10
|
+
# To create a resource object:
|
11
|
+
# resource = Aws::ElastiCache::Resource.new(region: 'us-west-2')
|
12
|
+
# You can supply a client object with custom configuration that will be used for all resource operations.
|
13
|
+
# If you do not pass +:client+, a default client will be constructed.
|
14
|
+
# client = Aws::ElastiCache::Client.new(region: 'us-west-2')
|
15
|
+
# resource = Aws::ElastiCache::Resource.new(client: client)
|
9
16
|
class Resource
|
10
17
|
|
11
18
|
# @param options ({})
|
@@ -8,6 +8,12 @@
|
|
8
8
|
module Aws::ElastiCache
|
9
9
|
module Types
|
10
10
|
|
11
|
+
# The customer has exceeded the allowed rate of API calls.
|
12
|
+
#
|
13
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/APICallRateForCustomerExceededFault AWS API Documentation
|
14
|
+
#
|
15
|
+
class APICallRateForCustomerExceededFault < Aws::EmptyStructure; end
|
16
|
+
|
11
17
|
# Represents the input of an AddTagsToResource operation.
|
12
18
|
#
|
13
19
|
# @note When making an API call, you may pass AddTagsToResourceMessage
|
@@ -65,11 +71,10 @@ module Aws::ElastiCache
|
|
65
71
|
#
|
66
72
|
# @!attribute [rw] scale_down_modifications
|
67
73
|
# A string list, each element of which specifies a cache node type
|
68
|
-
# which you can use to scale your cluster or replication group.
|
69
|
-
#
|
70
|
-
#
|
71
|
-
#
|
72
|
-
# this list for the `CacheNodeType` parameter.
|
74
|
+
# which you can use to scale your cluster or replication group. When
|
75
|
+
# scaling down a Redis cluster or replication group using
|
76
|
+
# ModifyCacheCluster or ModifyReplicationGroup, use a value from this
|
77
|
+
# list for the CacheNodeType parameter.
|
73
78
|
# @return [Array<String>]
|
74
79
|
#
|
75
80
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/AllowedNodeTypeModificationsMessage AWS API Documentation
|
@@ -80,6 +85,20 @@ module Aws::ElastiCache
|
|
80
85
|
include Aws::Structure
|
81
86
|
end
|
82
87
|
|
88
|
+
# The specified Amazon EC2 security group is already authorized for the
|
89
|
+
# specified cache security group.
|
90
|
+
#
|
91
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/AuthorizationAlreadyExistsFault AWS API Documentation
|
92
|
+
#
|
93
|
+
class AuthorizationAlreadyExistsFault < Aws::EmptyStructure; end
|
94
|
+
|
95
|
+
# The specified Amazon EC2 security group is not authorized for the
|
96
|
+
# specified cache security group.
|
97
|
+
#
|
98
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/AuthorizationNotFoundFault AWS API Documentation
|
99
|
+
#
|
100
|
+
class AuthorizationNotFoundFault < Aws::EmptyStructure; end
|
101
|
+
|
83
102
|
# Represents the input of an AuthorizeCacheSecurityGroupIngress
|
84
103
|
# operation.
|
85
104
|
#
|
@@ -247,6 +266,9 @@ module Aws::ElastiCache
|
|
247
266
|
# **M4 node types:** `cache.m4.large`, `cache.m4.xlarge`,
|
248
267
|
# `cache.m4.2xlarge`, `cache.m4.4xlarge`, `cache.m4.10xlarge`
|
249
268
|
#
|
269
|
+
# **T3 node types:** `cache.t3.micro`, `cache.t3.small`,
|
270
|
+
# `cache.t3.medium`
|
271
|
+
#
|
250
272
|
# **T2 node types:** `cache.t2.micro`, `cache.t2.small`,
|
251
273
|
# `cache.t2.medium`
|
252
274
|
#
|
@@ -488,6 +510,12 @@ module Aws::ElastiCache
|
|
488
510
|
include Aws::Structure
|
489
511
|
end
|
490
512
|
|
513
|
+
# You already have a cluster with the given identifier.
|
514
|
+
#
|
515
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CacheClusterAlreadyExistsFault AWS API Documentation
|
516
|
+
#
|
517
|
+
class CacheClusterAlreadyExistsFault < Aws::EmptyStructure; end
|
518
|
+
|
491
519
|
# Represents the output of a `DescribeCacheClusters` operation.
|
492
520
|
#
|
493
521
|
# @!attribute [rw] marker
|
@@ -507,6 +535,12 @@ module Aws::ElastiCache
|
|
507
535
|
include Aws::Structure
|
508
536
|
end
|
509
537
|
|
538
|
+
# The requested cluster ID does not refer to an existing cluster.
|
539
|
+
#
|
540
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CacheClusterNotFoundFault AWS API Documentation
|
541
|
+
#
|
542
|
+
class CacheClusterNotFoundFault < Aws::EmptyStructure; end
|
543
|
+
|
510
544
|
# Provides all of the details about a particular cache engine version.
|
511
545
|
#
|
512
546
|
# @!attribute [rw] engine
|
@@ -583,6 +617,9 @@ module Aws::ElastiCache
|
|
583
617
|
# **M4 node types:** `cache.m4.large`, `cache.m4.xlarge`,
|
584
618
|
# `cache.m4.2xlarge`, `cache.m4.4xlarge`, `cache.m4.10xlarge`
|
585
619
|
#
|
620
|
+
# **T3 node types:** `cache.t3.micro`, `cache.t3.small`,
|
621
|
+
# `cache.t3.medium`
|
622
|
+
#
|
586
623
|
# **T2 node types:** `cache.t2.micro`, `cache.t2.small`,
|
587
624
|
# `cache.t2.medium`
|
588
625
|
#
|
@@ -643,7 +680,8 @@ module Aws::ElastiCache
|
|
643
680
|
# @return [String]
|
644
681
|
#
|
645
682
|
# @!attribute [rw] cache_node_status
|
646
|
-
# The current state of this cache node
|
683
|
+
# The current state of this cache node, one of the following values:
|
684
|
+
# `available`, `creating`, `rebooting`, or `deleting`.
|
647
685
|
# @return [String]
|
648
686
|
#
|
649
687
|
# @!attribute [rw] cache_node_create_time
|
@@ -832,15 +870,27 @@ module Aws::ElastiCache
|
|
832
870
|
# The description for this cache parameter group.
|
833
871
|
# @return [String]
|
834
872
|
#
|
873
|
+
# @!attribute [rw] is_global
|
874
|
+
# Indicates whether the parameter group is associated with a Global
|
875
|
+
# Datastore
|
876
|
+
# @return [Boolean]
|
877
|
+
#
|
835
878
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CacheParameterGroup AWS API Documentation
|
836
879
|
#
|
837
880
|
class CacheParameterGroup < Struct.new(
|
838
881
|
:cache_parameter_group_name,
|
839
882
|
:cache_parameter_group_family,
|
840
|
-
:description
|
883
|
+
:description,
|
884
|
+
:is_global)
|
841
885
|
include Aws::Structure
|
842
886
|
end
|
843
887
|
|
888
|
+
# A cache parameter group with the requested name already exists.
|
889
|
+
#
|
890
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CacheParameterGroupAlreadyExistsFault AWS API Documentation
|
891
|
+
#
|
892
|
+
class CacheParameterGroupAlreadyExistsFault < Aws::EmptyStructure; end
|
893
|
+
|
844
894
|
# Represents the output of a `DescribeCacheParameters` operation.
|
845
895
|
#
|
846
896
|
# @!attribute [rw] marker
|
@@ -883,6 +933,20 @@ module Aws::ElastiCache
|
|
883
933
|
include Aws::Structure
|
884
934
|
end
|
885
935
|
|
936
|
+
# The requested cache parameter group name does not refer to an existing
|
937
|
+
# cache parameter group.
|
938
|
+
#
|
939
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CacheParameterGroupNotFoundFault AWS API Documentation
|
940
|
+
#
|
941
|
+
class CacheParameterGroupNotFoundFault < Aws::EmptyStructure; end
|
942
|
+
|
943
|
+
# The request cannot be processed because it would exceed the maximum
|
944
|
+
# number of cache security groups.
|
945
|
+
#
|
946
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CacheParameterGroupQuotaExceededFault AWS API Documentation
|
947
|
+
#
|
948
|
+
class CacheParameterGroupQuotaExceededFault < Aws::EmptyStructure; end
|
949
|
+
|
886
950
|
# Status of the cache parameter group.
|
887
951
|
#
|
888
952
|
# @!attribute [rw] cache_parameter_group_name
|
@@ -962,6 +1026,12 @@ module Aws::ElastiCache
|
|
962
1026
|
include Aws::Structure
|
963
1027
|
end
|
964
1028
|
|
1029
|
+
# A cache security group with the specified name already exists.
|
1030
|
+
#
|
1031
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CacheSecurityGroupAlreadyExistsFault AWS API Documentation
|
1032
|
+
#
|
1033
|
+
class CacheSecurityGroupAlreadyExistsFault < Aws::EmptyStructure; end
|
1034
|
+
|
965
1035
|
# Represents a cluster's status within a particular cache security
|
966
1036
|
# group.
|
967
1037
|
#
|
@@ -1002,6 +1072,20 @@ module Aws::ElastiCache
|
|
1002
1072
|
include Aws::Structure
|
1003
1073
|
end
|
1004
1074
|
|
1075
|
+
# The requested cache security group name does not refer to an existing
|
1076
|
+
# cache security group.
|
1077
|
+
#
|
1078
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CacheSecurityGroupNotFoundFault AWS API Documentation
|
1079
|
+
#
|
1080
|
+
class CacheSecurityGroupNotFoundFault < Aws::EmptyStructure; end
|
1081
|
+
|
1082
|
+
# The request cannot be processed because it would exceed the allowed
|
1083
|
+
# number of cache security groups.
|
1084
|
+
#
|
1085
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CacheSecurityGroupQuotaExceededFault AWS API Documentation
|
1086
|
+
#
|
1087
|
+
class CacheSecurityGroupQuotaExceededFault < Aws::EmptyStructure; end
|
1088
|
+
|
1005
1089
|
# Represents the output of one of the following operations:
|
1006
1090
|
#
|
1007
1091
|
# * `CreateCacheSubnetGroup`
|
@@ -1035,6 +1119,19 @@ module Aws::ElastiCache
|
|
1035
1119
|
include Aws::Structure
|
1036
1120
|
end
|
1037
1121
|
|
1122
|
+
# The requested cache subnet group name is already in use by an existing
|
1123
|
+
# cache subnet group.
|
1124
|
+
#
|
1125
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CacheSubnetGroupAlreadyExistsFault AWS API Documentation
|
1126
|
+
#
|
1127
|
+
class CacheSubnetGroupAlreadyExistsFault < Aws::EmptyStructure; end
|
1128
|
+
|
1129
|
+
# The requested cache subnet group is currently in use.
|
1130
|
+
#
|
1131
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CacheSubnetGroupInUse AWS API Documentation
|
1132
|
+
#
|
1133
|
+
class CacheSubnetGroupInUse < Aws::EmptyStructure; end
|
1134
|
+
|
1038
1135
|
# Represents the output of a `DescribeCacheSubnetGroups` operation.
|
1039
1136
|
#
|
1040
1137
|
# @!attribute [rw] marker
|
@@ -1054,6 +1151,34 @@ module Aws::ElastiCache
|
|
1054
1151
|
include Aws::Structure
|
1055
1152
|
end
|
1056
1153
|
|
1154
|
+
# The requested cache subnet group name does not refer to an existing
|
1155
|
+
# cache subnet group.
|
1156
|
+
#
|
1157
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CacheSubnetGroupNotFoundFault AWS API Documentation
|
1158
|
+
#
|
1159
|
+
class CacheSubnetGroupNotFoundFault < Aws::EmptyStructure; end
|
1160
|
+
|
1161
|
+
# The request cannot be processed because it would exceed the allowed
|
1162
|
+
# number of cache subnet groups.
|
1163
|
+
#
|
1164
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CacheSubnetGroupQuotaExceededFault AWS API Documentation
|
1165
|
+
#
|
1166
|
+
class CacheSubnetGroupQuotaExceededFault < Aws::EmptyStructure; end
|
1167
|
+
|
1168
|
+
# The request cannot be processed because it would exceed the allowed
|
1169
|
+
# number of subnets in a cache subnet group.
|
1170
|
+
#
|
1171
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CacheSubnetQuotaExceededFault AWS API Documentation
|
1172
|
+
#
|
1173
|
+
class CacheSubnetQuotaExceededFault < Aws::EmptyStructure; end
|
1174
|
+
|
1175
|
+
# The request cannot be processed because it would exceed the allowed
|
1176
|
+
# number of clusters per customer.
|
1177
|
+
#
|
1178
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ClusterQuotaForCustomerExceededFault AWS API Documentation
|
1179
|
+
#
|
1180
|
+
class ClusterQuotaForCustomerExceededFault < Aws::EmptyStructure; end
|
1181
|
+
|
1057
1182
|
# @note When making an API call, you may pass CompleteMigrationMessage
|
1058
1183
|
# data as a hash:
|
1059
1184
|
#
|
@@ -1366,6 +1491,9 @@ module Aws::ElastiCache
|
|
1366
1491
|
# **M4 node types:** `cache.m4.large`, `cache.m4.xlarge`,
|
1367
1492
|
# `cache.m4.2xlarge`, `cache.m4.4xlarge`, `cache.m4.10xlarge`
|
1368
1493
|
#
|
1494
|
+
# **T3 node types:** `cache.t3.micro`, `cache.t3.small`,
|
1495
|
+
# `cache.t3.medium`
|
1496
|
+
#
|
1369
1497
|
# **T2 node types:** `cache.t2.micro`, `cache.t2.small`,
|
1370
1498
|
# `cache.t2.medium`
|
1371
1499
|
#
|
@@ -1794,6 +1922,57 @@ module Aws::ElastiCache
|
|
1794
1922
|
include Aws::Structure
|
1795
1923
|
end
|
1796
1924
|
|
1925
|
+
# @note When making an API call, you may pass CreateGlobalReplicationGroupMessage
|
1926
|
+
# data as a hash:
|
1927
|
+
#
|
1928
|
+
# {
|
1929
|
+
# global_replication_group_id_suffix: "String", # required
|
1930
|
+
# global_replication_group_description: "String",
|
1931
|
+
# primary_replication_group_id: "String", # required
|
1932
|
+
# }
|
1933
|
+
#
|
1934
|
+
# @!attribute [rw] global_replication_group_id_suffix
|
1935
|
+
# The suffix for name of a Global Datastore. The suffix guarantees
|
1936
|
+
# uniqueness of the Global Datastore name across multiple regions.
|
1937
|
+
# @return [String]
|
1938
|
+
#
|
1939
|
+
# @!attribute [rw] global_replication_group_description
|
1940
|
+
# Provides details of the Global Datastore
|
1941
|
+
# @return [String]
|
1942
|
+
#
|
1943
|
+
# @!attribute [rw] primary_replication_group_id
|
1944
|
+
# The name of the primary cluster that accepts writes and will
|
1945
|
+
# replicate updates to the secondary cluster.
|
1946
|
+
# @return [String]
|
1947
|
+
#
|
1948
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateGlobalReplicationGroupMessage AWS API Documentation
|
1949
|
+
#
|
1950
|
+
class CreateGlobalReplicationGroupMessage < Struct.new(
|
1951
|
+
:global_replication_group_id_suffix,
|
1952
|
+
:global_replication_group_description,
|
1953
|
+
:primary_replication_group_id)
|
1954
|
+
include Aws::Structure
|
1955
|
+
end
|
1956
|
+
|
1957
|
+
# @!attribute [rw] global_replication_group
|
1958
|
+
# Consists of a primary cluster that accepts writes and an associated
|
1959
|
+
# secondary cluster that resides in a different AWS region. The
|
1960
|
+
# secondary cluster accepts only reads. The primary cluster
|
1961
|
+
# automatically replicates updates to the secondary cluster.
|
1962
|
+
#
|
1963
|
+
# * The **GlobalReplicationGroupId** represents the name of the Global
|
1964
|
+
# Datastore, which is what you use to associate a secondary cluster.
|
1965
|
+
#
|
1966
|
+
# ^
|
1967
|
+
# @return [Types::GlobalReplicationGroup]
|
1968
|
+
#
|
1969
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateGlobalReplicationGroupResult AWS API Documentation
|
1970
|
+
#
|
1971
|
+
class CreateGlobalReplicationGroupResult < Struct.new(
|
1972
|
+
:global_replication_group)
|
1973
|
+
include Aws::Structure
|
1974
|
+
end
|
1975
|
+
|
1797
1976
|
# Represents the input of a `CreateReplicationGroup` operation.
|
1798
1977
|
#
|
1799
1978
|
# @note When making an API call, you may pass CreateReplicationGroupMessage
|
@@ -1802,6 +1981,7 @@ module Aws::ElastiCache
|
|
1802
1981
|
# {
|
1803
1982
|
# replication_group_id: "String", # required
|
1804
1983
|
# replication_group_description: "String", # required
|
1984
|
+
# global_replication_group_id: "String",
|
1805
1985
|
# primary_cluster_id: "String",
|
1806
1986
|
# automatic_failover_enabled: false,
|
1807
1987
|
# num_cache_clusters: 1,
|
@@ -1863,6 +2043,10 @@ module Aws::ElastiCache
|
|
1863
2043
|
# A user-created description for the replication group.
|
1864
2044
|
# @return [String]
|
1865
2045
|
#
|
2046
|
+
# @!attribute [rw] global_replication_group_id
|
2047
|
+
# The name of the Global Datastore
|
2048
|
+
# @return [String]
|
2049
|
+
#
|
1866
2050
|
# @!attribute [rw] primary_cluster_id
|
1867
2051
|
# The identifier of the cluster that serves as the primary for this
|
1868
2052
|
# replication group. This cluster must already exist and have a status
|
@@ -1979,6 +2163,9 @@ module Aws::ElastiCache
|
|
1979
2163
|
# **M4 node types:** `cache.m4.large`, `cache.m4.xlarge`,
|
1980
2164
|
# `cache.m4.2xlarge`, `cache.m4.4xlarge`, `cache.m4.10xlarge`
|
1981
2165
|
#
|
2166
|
+
# **T3 node types:** `cache.t3.micro`, `cache.t3.small`,
|
2167
|
+
# `cache.t3.medium`
|
2168
|
+
#
|
1982
2169
|
# **T2 node types:** `cache.t2.micro`, `cache.t2.small`,
|
1983
2170
|
# `cache.t2.medium`
|
1984
2171
|
#
|
@@ -2265,7 +2452,7 @@ module Aws::ElastiCache
|
|
2265
2452
|
# @return [Boolean]
|
2266
2453
|
#
|
2267
2454
|
# @!attribute [rw] kms_key_id
|
2268
|
-
# The ID of the KMS key used to encrypt the disk
|
2455
|
+
# The ID of the KMS key used to encrypt the disk in the cluster.
|
2269
2456
|
# @return [String]
|
2270
2457
|
#
|
2271
2458
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateReplicationGroupMessage AWS API Documentation
|
@@ -2273,6 +2460,7 @@ module Aws::ElastiCache
|
|
2273
2460
|
class CreateReplicationGroupMessage < Struct.new(
|
2274
2461
|
:replication_group_id,
|
2275
2462
|
:replication_group_description,
|
2463
|
+
:global_replication_group_id,
|
2276
2464
|
:primary_cluster_id,
|
2277
2465
|
:automatic_failover_enabled,
|
2278
2466
|
:num_cache_clusters,
|
@@ -2393,6 +2581,79 @@ module Aws::ElastiCache
|
|
2393
2581
|
include Aws::Structure
|
2394
2582
|
end
|
2395
2583
|
|
2584
|
+
# @note When making an API call, you may pass DecreaseNodeGroupsInGlobalReplicationGroupMessage
|
2585
|
+
# data as a hash:
|
2586
|
+
#
|
2587
|
+
# {
|
2588
|
+
# global_replication_group_id: "String", # required
|
2589
|
+
# node_group_count: 1, # required
|
2590
|
+
# global_node_groups_to_remove: ["String"],
|
2591
|
+
# global_node_groups_to_retain: ["String"],
|
2592
|
+
# apply_immediately: false, # required
|
2593
|
+
# }
|
2594
|
+
#
|
2595
|
+
# @!attribute [rw] global_replication_group_id
|
2596
|
+
# The name of the Global Datastore
|
2597
|
+
# @return [String]
|
2598
|
+
#
|
2599
|
+
# @!attribute [rw] node_group_count
|
2600
|
+
# The number of node groups (shards) that results from the
|
2601
|
+
# modification of the shard configuration
|
2602
|
+
# @return [Integer]
|
2603
|
+
#
|
2604
|
+
# @!attribute [rw] global_node_groups_to_remove
|
2605
|
+
# If the value of NodeGroupCount is less than the current number of
|
2606
|
+
# node groups (shards), then either NodeGroupsToRemove or
|
2607
|
+
# NodeGroupsToRetain is required. NodeGroupsToRemove is a list of
|
2608
|
+
# NodeGroupIds to remove from the cluster. ElastiCache for Redis will
|
2609
|
+
# attempt to remove all node groups listed by NodeGroupsToRemove from
|
2610
|
+
# the cluster.
|
2611
|
+
# @return [Array<String>]
|
2612
|
+
#
|
2613
|
+
# @!attribute [rw] global_node_groups_to_retain
|
2614
|
+
# If the value of NodeGroupCount is less than the current number of
|
2615
|
+
# node groups (shards), then either NodeGroupsToRemove or
|
2616
|
+
# NodeGroupsToRetain is required. NodeGroupsToRemove is a list of
|
2617
|
+
# NodeGroupIds to remove from the cluster. ElastiCache for Redis will
|
2618
|
+
# attempt to remove all node groups listed by NodeGroupsToRemove from
|
2619
|
+
# the cluster.
|
2620
|
+
# @return [Array<String>]
|
2621
|
+
#
|
2622
|
+
# @!attribute [rw] apply_immediately
|
2623
|
+
# Indicates that the shard reconfiguration process begins immediately.
|
2624
|
+
# At present, the only permitted value for this parameter is true.
|
2625
|
+
# @return [Boolean]
|
2626
|
+
#
|
2627
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DecreaseNodeGroupsInGlobalReplicationGroupMessage AWS API Documentation
|
2628
|
+
#
|
2629
|
+
class DecreaseNodeGroupsInGlobalReplicationGroupMessage < Struct.new(
|
2630
|
+
:global_replication_group_id,
|
2631
|
+
:node_group_count,
|
2632
|
+
:global_node_groups_to_remove,
|
2633
|
+
:global_node_groups_to_retain,
|
2634
|
+
:apply_immediately)
|
2635
|
+
include Aws::Structure
|
2636
|
+
end
|
2637
|
+
|
2638
|
+
# @!attribute [rw] global_replication_group
|
2639
|
+
# Consists of a primary cluster that accepts writes and an associated
|
2640
|
+
# secondary cluster that resides in a different AWS region. The
|
2641
|
+
# secondary cluster accepts only reads. The primary cluster
|
2642
|
+
# automatically replicates updates to the secondary cluster.
|
2643
|
+
#
|
2644
|
+
# * The **GlobalReplicationGroupId** represents the name of the Global
|
2645
|
+
# Datastore, which is what you use to associate a secondary cluster.
|
2646
|
+
#
|
2647
|
+
# ^
|
2648
|
+
# @return [Types::GlobalReplicationGroup]
|
2649
|
+
#
|
2650
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DecreaseNodeGroupsInGlobalReplicationGroupResult AWS API Documentation
|
2651
|
+
#
|
2652
|
+
class DecreaseNodeGroupsInGlobalReplicationGroupResult < Struct.new(
|
2653
|
+
:global_replication_group)
|
2654
|
+
include Aws::Structure
|
2655
|
+
end
|
2656
|
+
|
2396
2657
|
# @note When making an API call, you may pass DecreaseReplicaCountMessage
|
2397
2658
|
# data as a hash:
|
2398
2659
|
#
|
@@ -2586,6 +2847,50 @@ module Aws::ElastiCache
|
|
2586
2847
|
include Aws::Structure
|
2587
2848
|
end
|
2588
2849
|
|
2850
|
+
# @note When making an API call, you may pass DeleteGlobalReplicationGroupMessage
|
2851
|
+
# data as a hash:
|
2852
|
+
#
|
2853
|
+
# {
|
2854
|
+
# global_replication_group_id: "String", # required
|
2855
|
+
# retain_primary_replication_group: false, # required
|
2856
|
+
# }
|
2857
|
+
#
|
2858
|
+
# @!attribute [rw] global_replication_group_id
|
2859
|
+
# The name of the Global Datastore
|
2860
|
+
# @return [String]
|
2861
|
+
#
|
2862
|
+
# @!attribute [rw] retain_primary_replication_group
|
2863
|
+
# If set to `true`, the primary replication is retained as a
|
2864
|
+
# standalone replication group.
|
2865
|
+
# @return [Boolean]
|
2866
|
+
#
|
2867
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteGlobalReplicationGroupMessage AWS API Documentation
|
2868
|
+
#
|
2869
|
+
class DeleteGlobalReplicationGroupMessage < Struct.new(
|
2870
|
+
:global_replication_group_id,
|
2871
|
+
:retain_primary_replication_group)
|
2872
|
+
include Aws::Structure
|
2873
|
+
end
|
2874
|
+
|
2875
|
+
# @!attribute [rw] global_replication_group
|
2876
|
+
# Consists of a primary cluster that accepts writes and an associated
|
2877
|
+
# secondary cluster that resides in a different AWS region. The
|
2878
|
+
# secondary cluster accepts only reads. The primary cluster
|
2879
|
+
# automatically replicates updates to the secondary cluster.
|
2880
|
+
#
|
2881
|
+
# * The **GlobalReplicationGroupId** represents the name of the Global
|
2882
|
+
# Datastore, which is what you use to associate a secondary cluster.
|
2883
|
+
#
|
2884
|
+
# ^
|
2885
|
+
# @return [Types::GlobalReplicationGroup]
|
2886
|
+
#
|
2887
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteGlobalReplicationGroupResult AWS API Documentation
|
2888
|
+
#
|
2889
|
+
class DeleteGlobalReplicationGroupResult < Struct.new(
|
2890
|
+
:global_replication_group)
|
2891
|
+
include Aws::Structure
|
2892
|
+
end
|
2893
|
+
|
2589
2894
|
# Represents the input of a `DeleteReplicationGroup` operation.
|
2590
2895
|
#
|
2591
2896
|
# @note When making an API call, you may pass DeleteReplicationGroupMessage
|
@@ -3110,6 +3415,68 @@ module Aws::ElastiCache
|
|
3110
3415
|
include Aws::Structure
|
3111
3416
|
end
|
3112
3417
|
|
3418
|
+
# @note When making an API call, you may pass DescribeGlobalReplicationGroupsMessage
|
3419
|
+
# data as a hash:
|
3420
|
+
#
|
3421
|
+
# {
|
3422
|
+
# global_replication_group_id: "String",
|
3423
|
+
# max_records: 1,
|
3424
|
+
# marker: "String",
|
3425
|
+
# show_member_info: false,
|
3426
|
+
# }
|
3427
|
+
#
|
3428
|
+
# @!attribute [rw] global_replication_group_id
|
3429
|
+
# The name of the Global Datastore
|
3430
|
+
# @return [String]
|
3431
|
+
#
|
3432
|
+
# @!attribute [rw] max_records
|
3433
|
+
# The maximum number of records to include in the response. If more
|
3434
|
+
# records exist than the specified MaxRecords value, a marker is
|
3435
|
+
# included in the response so that the remaining results can be
|
3436
|
+
# retrieved.
|
3437
|
+
# @return [Integer]
|
3438
|
+
#
|
3439
|
+
# @!attribute [rw] marker
|
3440
|
+
# An optional marker returned from a prior request. Use this marker
|
3441
|
+
# for pagination of results from this operation. If this parameter is
|
3442
|
+
# specified, the response includes only records beyond the marker, up
|
3443
|
+
# to the value specified by `MaxRecords`.
|
3444
|
+
# @return [String]
|
3445
|
+
#
|
3446
|
+
# @!attribute [rw] show_member_info
|
3447
|
+
# Returns the list of members that comprise the Global Datastore.
|
3448
|
+
# @return [Boolean]
|
3449
|
+
#
|
3450
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeGlobalReplicationGroupsMessage AWS API Documentation
|
3451
|
+
#
|
3452
|
+
class DescribeGlobalReplicationGroupsMessage < Struct.new(
|
3453
|
+
:global_replication_group_id,
|
3454
|
+
:max_records,
|
3455
|
+
:marker,
|
3456
|
+
:show_member_info)
|
3457
|
+
include Aws::Structure
|
3458
|
+
end
|
3459
|
+
|
3460
|
+
# @!attribute [rw] marker
|
3461
|
+
# An optional marker returned from a prior request. Use this marker
|
3462
|
+
# for pagination of results from this operation. If this parameter is
|
3463
|
+
# specified, the response includes only records beyond the marker, up
|
3464
|
+
# to the value specified by MaxRecords. >
|
3465
|
+
# @return [String]
|
3466
|
+
#
|
3467
|
+
# @!attribute [rw] global_replication_groups
|
3468
|
+
# Indicates the slot configuration and global identifier for each
|
3469
|
+
# slice group.
|
3470
|
+
# @return [Array<Types::GlobalReplicationGroup>]
|
3471
|
+
#
|
3472
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeGlobalReplicationGroupsResult AWS API Documentation
|
3473
|
+
#
|
3474
|
+
class DescribeGlobalReplicationGroupsResult < Struct.new(
|
3475
|
+
:marker,
|
3476
|
+
:global_replication_groups)
|
3477
|
+
include Aws::Structure
|
3478
|
+
end
|
3479
|
+
|
3113
3480
|
# Represents the input of a `DescribeReplicationGroups` operation.
|
3114
3481
|
#
|
3115
3482
|
# @note When making an API call, you may pass DescribeReplicationGroupsMessage
|
@@ -3204,6 +3571,9 @@ module Aws::ElastiCache
|
|
3204
3571
|
# **M4 node types:** `cache.m4.large`, `cache.m4.xlarge`,
|
3205
3572
|
# `cache.m4.2xlarge`, `cache.m4.4xlarge`, `cache.m4.10xlarge`
|
3206
3573
|
#
|
3574
|
+
# **T3 node types:** `cache.t3.micro`, `cache.t3.small`,
|
3575
|
+
# `cache.t3.medium`
|
3576
|
+
#
|
3207
3577
|
# **T2 node types:** `cache.t2.micro`, `cache.t2.small`,
|
3208
3578
|
# `cache.t2.medium`
|
3209
3579
|
#
|
@@ -3354,6 +3724,9 @@ module Aws::ElastiCache
|
|
3354
3724
|
# **M4 node types:** `cache.m4.large`, `cache.m4.xlarge`,
|
3355
3725
|
# `cache.m4.2xlarge`, `cache.m4.4xlarge`, `cache.m4.10xlarge`
|
3356
3726
|
#
|
3727
|
+
# **T3 node types:** `cache.t3.micro`, `cache.t3.small`,
|
3728
|
+
# `cache.t3.medium`
|
3729
|
+
#
|
3357
3730
|
# **T2 node types:** `cache.t2.micro`, `cache.t2.small`,
|
3358
3731
|
# `cache.t2.medium`
|
3359
3732
|
#
|
@@ -3675,6 +4048,57 @@ module Aws::ElastiCache
|
|
3675
4048
|
include Aws::Structure
|
3676
4049
|
end
|
3677
4050
|
|
4051
|
+
# @note When making an API call, you may pass DisassociateGlobalReplicationGroupMessage
|
4052
|
+
# data as a hash:
|
4053
|
+
#
|
4054
|
+
# {
|
4055
|
+
# global_replication_group_id: "String", # required
|
4056
|
+
# replication_group_id: "String", # required
|
4057
|
+
# replication_group_region: "String", # required
|
4058
|
+
# }
|
4059
|
+
#
|
4060
|
+
# @!attribute [rw] global_replication_group_id
|
4061
|
+
# The name of the Global Datastore
|
4062
|
+
# @return [String]
|
4063
|
+
#
|
4064
|
+
# @!attribute [rw] replication_group_id
|
4065
|
+
# The name of the secondary cluster you wish to remove from the Global
|
4066
|
+
# Datastore
|
4067
|
+
# @return [String]
|
4068
|
+
#
|
4069
|
+
# @!attribute [rw] replication_group_region
|
4070
|
+
# The AWS region of secondary cluster you wish to remove from the
|
4071
|
+
# Global Datastore
|
4072
|
+
# @return [String]
|
4073
|
+
#
|
4074
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DisassociateGlobalReplicationGroupMessage AWS API Documentation
|
4075
|
+
#
|
4076
|
+
class DisassociateGlobalReplicationGroupMessage < Struct.new(
|
4077
|
+
:global_replication_group_id,
|
4078
|
+
:replication_group_id,
|
4079
|
+
:replication_group_region)
|
4080
|
+
include Aws::Structure
|
4081
|
+
end
|
4082
|
+
|
4083
|
+
# @!attribute [rw] global_replication_group
|
4084
|
+
# Consists of a primary cluster that accepts writes and an associated
|
4085
|
+
# secondary cluster that resides in a different AWS region. The
|
4086
|
+
# secondary cluster accepts only reads. The primary cluster
|
4087
|
+
# automatically replicates updates to the secondary cluster.
|
4088
|
+
#
|
4089
|
+
# * The **GlobalReplicationGroupId** represents the name of the Global
|
4090
|
+
# Datastore, which is what you use to associate a secondary cluster.
|
4091
|
+
#
|
4092
|
+
# ^
|
4093
|
+
# @return [Types::GlobalReplicationGroup]
|
4094
|
+
#
|
4095
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DisassociateGlobalReplicationGroupResult AWS API Documentation
|
4096
|
+
#
|
4097
|
+
class DisassociateGlobalReplicationGroupResult < Struct.new(
|
4098
|
+
:global_replication_group)
|
4099
|
+
include Aws::Structure
|
4100
|
+
end
|
4101
|
+
|
3678
4102
|
# Provides ownership and status information for an Amazon EC2 security
|
3679
4103
|
# group.
|
3680
4104
|
#
|
@@ -3805,69 +4229,417 @@ module Aws::ElastiCache
|
|
3805
4229
|
include Aws::Structure
|
3806
4230
|
end
|
3807
4231
|
|
3808
|
-
# @note When making an API call, you may pass
|
4232
|
+
# @note When making an API call, you may pass FailoverGlobalReplicationGroupMessage
|
3809
4233
|
# data as a hash:
|
3810
4234
|
#
|
3811
4235
|
# {
|
3812
|
-
#
|
3813
|
-
#
|
3814
|
-
#
|
3815
|
-
# {
|
3816
|
-
# node_group_id: "AllowedNodeGroupId", # required
|
3817
|
-
# new_replica_count: 1, # required
|
3818
|
-
# preferred_availability_zones: ["String"],
|
3819
|
-
# },
|
3820
|
-
# ],
|
3821
|
-
# apply_immediately: false, # required
|
4236
|
+
# global_replication_group_id: "String", # required
|
4237
|
+
# primary_region: "String", # required
|
4238
|
+
# primary_replication_group_id: "String", # required
|
3822
4239
|
# }
|
3823
4240
|
#
|
3824
|
-
# @!attribute [rw]
|
3825
|
-
# The
|
3826
|
-
# nodes.
|
4241
|
+
# @!attribute [rw] global_replication_group_id
|
4242
|
+
# The name of the Global Datastore
|
3827
4243
|
# @return [String]
|
3828
4244
|
#
|
3829
|
-
# @!attribute [rw]
|
3830
|
-
# The
|
3831
|
-
#
|
3832
|
-
# this is the number of replica nodes in the replication group. For
|
3833
|
-
# Redis (cluster mode enabled) replication groups, this is the number
|
3834
|
-
# of replica nodes in each of the replication group's node groups.
|
3835
|
-
# @return [Integer]
|
3836
|
-
#
|
3837
|
-
# @!attribute [rw] replica_configuration
|
3838
|
-
# A list of `ConfigureShard` objects that can be used to configure
|
3839
|
-
# each shard in a Redis (cluster mode enabled) replication group. The
|
3840
|
-
# `ConfigureShard` has three members: `NewReplicaCount`,
|
3841
|
-
# `NodeGroupId`, and `PreferredAvailabilityZones`.
|
3842
|
-
# @return [Array<Types::ConfigureShard>]
|
4245
|
+
# @!attribute [rw] primary_region
|
4246
|
+
# The AWS region of the primary cluster of the Global Datastore
|
4247
|
+
# @return [String]
|
3843
4248
|
#
|
3844
|
-
# @!attribute [rw]
|
3845
|
-
#
|
3846
|
-
#
|
3847
|
-
# @return [Boolean]
|
4249
|
+
# @!attribute [rw] primary_replication_group_id
|
4250
|
+
# The name of the primary replication group
|
4251
|
+
# @return [String]
|
3848
4252
|
#
|
3849
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/
|
4253
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/FailoverGlobalReplicationGroupMessage AWS API Documentation
|
3850
4254
|
#
|
3851
|
-
class
|
3852
|
-
:
|
3853
|
-
:
|
3854
|
-
:
|
3855
|
-
:apply_immediately)
|
4255
|
+
class FailoverGlobalReplicationGroupMessage < Struct.new(
|
4256
|
+
:global_replication_group_id,
|
4257
|
+
:primary_region,
|
4258
|
+
:primary_replication_group_id)
|
3856
4259
|
include Aws::Structure
|
3857
4260
|
end
|
3858
4261
|
|
3859
|
-
# @!attribute [rw]
|
3860
|
-
#
|
3861
|
-
#
|
3862
|
-
#
|
4262
|
+
# @!attribute [rw] global_replication_group
|
4263
|
+
# Consists of a primary cluster that accepts writes and an associated
|
4264
|
+
# secondary cluster that resides in a different AWS region. The
|
4265
|
+
# secondary cluster accepts only reads. The primary cluster
|
4266
|
+
# automatically replicates updates to the secondary cluster.
|
3863
4267
|
#
|
3864
|
-
#
|
4268
|
+
# * The **GlobalReplicationGroupId** represents the name of the Global
|
4269
|
+
# Datastore, which is what you use to associate a secondary cluster.
|
4270
|
+
#
|
4271
|
+
# ^
|
4272
|
+
# @return [Types::GlobalReplicationGroup]
|
4273
|
+
#
|
4274
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/FailoverGlobalReplicationGroupResult AWS API Documentation
|
4275
|
+
#
|
4276
|
+
class FailoverGlobalReplicationGroupResult < Struct.new(
|
4277
|
+
:global_replication_group)
|
4278
|
+
include Aws::Structure
|
4279
|
+
end
|
4280
|
+
|
4281
|
+
# Indicates the slot configuration and global identifier for a slice
|
4282
|
+
# group.
|
4283
|
+
#
|
4284
|
+
# @!attribute [rw] global_node_group_id
|
4285
|
+
# The name of the global node group
|
4286
|
+
# @return [String]
|
4287
|
+
#
|
4288
|
+
# @!attribute [rw] slots
|
4289
|
+
# The keyspace for this node group
|
4290
|
+
# @return [String]
|
4291
|
+
#
|
4292
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/GlobalNodeGroup AWS API Documentation
|
4293
|
+
#
|
4294
|
+
class GlobalNodeGroup < Struct.new(
|
4295
|
+
:global_node_group_id,
|
4296
|
+
:slots)
|
4297
|
+
include Aws::Structure
|
4298
|
+
end
|
4299
|
+
|
4300
|
+
# Consists of a primary cluster that accepts writes and an associated
|
4301
|
+
# secondary cluster that resides in a different AWS region. The
|
4302
|
+
# secondary cluster accepts only reads. The primary cluster
|
4303
|
+
# automatically replicates updates to the secondary cluster.
|
4304
|
+
#
|
4305
|
+
# * The **GlobalReplicationGroupId** represents the name of the Global
|
4306
|
+
# Datastore, which is what you use to associate a secondary cluster.
|
4307
|
+
#
|
4308
|
+
# ^
|
4309
|
+
#
|
4310
|
+
# @!attribute [rw] global_replication_group_id
|
4311
|
+
# The name of the Global Datastore
|
4312
|
+
# @return [String]
|
4313
|
+
#
|
4314
|
+
# @!attribute [rw] global_replication_group_description
|
4315
|
+
# The optional description of the Global Datastore
|
4316
|
+
# @return [String]
|
4317
|
+
#
|
4318
|
+
# @!attribute [rw] status
|
4319
|
+
# The status of the Global Datastore
|
4320
|
+
# @return [String]
|
4321
|
+
#
|
4322
|
+
# @!attribute [rw] cache_node_type
|
4323
|
+
# The cache node type of the Global Datastore
|
4324
|
+
# @return [String]
|
4325
|
+
#
|
4326
|
+
# @!attribute [rw] engine
|
4327
|
+
# The Elasticache engine. For preview, it is Redis only.
|
4328
|
+
# @return [String]
|
4329
|
+
#
|
4330
|
+
# @!attribute [rw] engine_version
|
4331
|
+
# The Elasticache Redis engine version. For preview, it is Redis
|
4332
|
+
# version 5.0.5 only.
|
4333
|
+
# @return [String]
|
4334
|
+
#
|
4335
|
+
# @!attribute [rw] members
|
4336
|
+
# The replication groups that comprise the Global Datastore.
|
4337
|
+
# @return [Array<Types::GlobalReplicationGroupMember>]
|
4338
|
+
#
|
4339
|
+
# @!attribute [rw] cluster_enabled
|
4340
|
+
# A flag that indicates whether the Global Datastore is cluster
|
4341
|
+
# enabled.
|
4342
|
+
# @return [Boolean]
|
4343
|
+
#
|
4344
|
+
# @!attribute [rw] global_node_groups
|
4345
|
+
# Indicates the slot configuration and global identifier for each
|
4346
|
+
# slice group.
|
4347
|
+
# @return [Array<Types::GlobalNodeGroup>]
|
4348
|
+
#
|
4349
|
+
# @!attribute [rw] auth_token_enabled
|
4350
|
+
# A flag that enables using an `AuthToken` (password) when issuing
|
4351
|
+
# Redis commands.
|
4352
|
+
#
|
4353
|
+
# Default: `false`
|
4354
|
+
# @return [Boolean]
|
4355
|
+
#
|
4356
|
+
# @!attribute [rw] transit_encryption_enabled
|
4357
|
+
# A flag that enables in-transit encryption when set to true. You
|
4358
|
+
# cannot modify the value of `TransitEncryptionEnabled` after the
|
4359
|
+
# cluster is created. To enable in-transit encryption on a cluster you
|
4360
|
+
# must set `TransitEncryptionEnabled` to true when you create a
|
4361
|
+
# cluster.
|
4362
|
+
# @return [Boolean]
|
4363
|
+
#
|
4364
|
+
# @!attribute [rw] at_rest_encryption_enabled
|
4365
|
+
# A flag that enables encryption at rest when set to `true`.
|
4366
|
+
#
|
4367
|
+
# You cannot modify the value of `AtRestEncryptionEnabled` after the
|
4368
|
+
# replication group is created. To enable encryption at rest on a
|
4369
|
+
# replication group you must set `AtRestEncryptionEnabled` to `true`
|
4370
|
+
# when you create the replication group.
|
4371
|
+
#
|
4372
|
+
# **Required:** Only available when creating a replication group in an
|
4373
|
+
# Amazon VPC using redis version `3.2.6`, `4.x` or later.
|
4374
|
+
# @return [Boolean]
|
4375
|
+
#
|
4376
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/GlobalReplicationGroup AWS API Documentation
|
4377
|
+
#
|
4378
|
+
class GlobalReplicationGroup < Struct.new(
|
4379
|
+
:global_replication_group_id,
|
4380
|
+
:global_replication_group_description,
|
4381
|
+
:status,
|
4382
|
+
:cache_node_type,
|
4383
|
+
:engine,
|
4384
|
+
:engine_version,
|
4385
|
+
:members,
|
4386
|
+
:cluster_enabled,
|
4387
|
+
:global_node_groups,
|
4388
|
+
:auth_token_enabled,
|
4389
|
+
:transit_encryption_enabled,
|
4390
|
+
:at_rest_encryption_enabled)
|
4391
|
+
include Aws::Structure
|
4392
|
+
end
|
4393
|
+
|
4394
|
+
# The Global Datastore name already exists.
|
4395
|
+
#
|
4396
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/GlobalReplicationGroupAlreadyExistsFault AWS API Documentation
|
4397
|
+
#
|
4398
|
+
class GlobalReplicationGroupAlreadyExistsFault < Aws::EmptyStructure; end
|
4399
|
+
|
4400
|
+
# The name of the Global Datastore and role of this replication group in
|
4401
|
+
# the Global Datastore.
|
4402
|
+
#
|
4403
|
+
# @!attribute [rw] global_replication_group_id
|
4404
|
+
# The name of the Global Datastore
|
4405
|
+
# @return [String]
|
4406
|
+
#
|
4407
|
+
# @!attribute [rw] global_replication_group_member_role
|
4408
|
+
# The role of the replication group in a Global Datastore. Can be
|
4409
|
+
# primary or secondary.
|
4410
|
+
# @return [String]
|
4411
|
+
#
|
4412
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/GlobalReplicationGroupInfo AWS API Documentation
|
4413
|
+
#
|
4414
|
+
class GlobalReplicationGroupInfo < Struct.new(
|
4415
|
+
:global_replication_group_id,
|
4416
|
+
:global_replication_group_member_role)
|
4417
|
+
include Aws::Structure
|
4418
|
+
end
|
4419
|
+
|
4420
|
+
# A member of a Global Datastore. It contains the Replication Group Id,
|
4421
|
+
# the AWS region and the role of the replication group.
|
4422
|
+
#
|
4423
|
+
# @!attribute [rw] replication_group_id
|
4424
|
+
# The replication group id of the Global Datastore member.
|
4425
|
+
# @return [String]
|
4426
|
+
#
|
4427
|
+
# @!attribute [rw] replication_group_region
|
4428
|
+
# The AWS region of the Global Datastore member.
|
4429
|
+
# @return [String]
|
4430
|
+
#
|
4431
|
+
# @!attribute [rw] role
|
4432
|
+
# Indicates the role of the replication group, primary or secondary.
|
4433
|
+
# @return [String]
|
4434
|
+
#
|
4435
|
+
# @!attribute [rw] automatic_failover
|
4436
|
+
# Indicates whether automatic failover is enabled for the replication
|
4437
|
+
# group.
|
4438
|
+
# @return [String]
|
4439
|
+
#
|
4440
|
+
# @!attribute [rw] status
|
4441
|
+
# The status of the membership of the replication group.
|
4442
|
+
# @return [String]
|
4443
|
+
#
|
4444
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/GlobalReplicationGroupMember AWS API Documentation
|
4445
|
+
#
|
4446
|
+
class GlobalReplicationGroupMember < Struct.new(
|
4447
|
+
:replication_group_id,
|
4448
|
+
:replication_group_region,
|
4449
|
+
:role,
|
4450
|
+
:automatic_failover,
|
4451
|
+
:status)
|
4452
|
+
include Aws::Structure
|
4453
|
+
end
|
4454
|
+
|
4455
|
+
# The Global Datastore does not exist
|
4456
|
+
#
|
4457
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/GlobalReplicationGroupNotFoundFault AWS API Documentation
|
4458
|
+
#
|
4459
|
+
class GlobalReplicationGroupNotFoundFault < Aws::EmptyStructure; end
|
4460
|
+
|
4461
|
+
# @note When making an API call, you may pass IncreaseNodeGroupsInGlobalReplicationGroupMessage
|
4462
|
+
# data as a hash:
|
4463
|
+
#
|
4464
|
+
# {
|
4465
|
+
# global_replication_group_id: "String", # required
|
4466
|
+
# node_group_count: 1, # required
|
4467
|
+
# regional_configurations: [
|
4468
|
+
# {
|
4469
|
+
# replication_group_id: "String", # required
|
4470
|
+
# replication_group_region: "String", # required
|
4471
|
+
# resharding_configuration: [ # required
|
4472
|
+
# {
|
4473
|
+
# node_group_id: "AllowedNodeGroupId",
|
4474
|
+
# preferred_availability_zones: ["String"],
|
4475
|
+
# },
|
4476
|
+
# ],
|
4477
|
+
# },
|
4478
|
+
# ],
|
4479
|
+
# apply_immediately: false, # required
|
4480
|
+
# }
|
4481
|
+
#
|
4482
|
+
# @!attribute [rw] global_replication_group_id
|
4483
|
+
# The name of the Global Datastore
|
4484
|
+
# @return [String]
|
4485
|
+
#
|
4486
|
+
# @!attribute [rw] node_group_count
|
4487
|
+
# The number of node groups you wish to add
|
4488
|
+
# @return [Integer]
|
4489
|
+
#
|
4490
|
+
# @!attribute [rw] regional_configurations
|
4491
|
+
# Describes the replication group IDs, the AWS regions where they are
|
4492
|
+
# stored and the shard configuration for each that comprise the Global
|
4493
|
+
# Datastore
|
4494
|
+
# @return [Array<Types::RegionalConfiguration>]
|
4495
|
+
#
|
4496
|
+
# @!attribute [rw] apply_immediately
|
4497
|
+
# Indicates that the process begins immediately. At present, the only
|
4498
|
+
# permitted value for this parameter is true.
|
4499
|
+
# @return [Boolean]
|
4500
|
+
#
|
4501
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/IncreaseNodeGroupsInGlobalReplicationGroupMessage AWS API Documentation
|
4502
|
+
#
|
4503
|
+
class IncreaseNodeGroupsInGlobalReplicationGroupMessage < Struct.new(
|
4504
|
+
:global_replication_group_id,
|
4505
|
+
:node_group_count,
|
4506
|
+
:regional_configurations,
|
4507
|
+
:apply_immediately)
|
4508
|
+
include Aws::Structure
|
4509
|
+
end
|
4510
|
+
|
4511
|
+
# @!attribute [rw] global_replication_group
|
4512
|
+
# Consists of a primary cluster that accepts writes and an associated
|
4513
|
+
# secondary cluster that resides in a different AWS region. The
|
4514
|
+
# secondary cluster accepts only reads. The primary cluster
|
4515
|
+
# automatically replicates updates to the secondary cluster.
|
4516
|
+
#
|
4517
|
+
# * The **GlobalReplicationGroupId** represents the name of the Global
|
4518
|
+
# Datastore, which is what you use to associate a secondary cluster.
|
4519
|
+
#
|
4520
|
+
# ^
|
4521
|
+
# @return [Types::GlobalReplicationGroup]
|
4522
|
+
#
|
4523
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/IncreaseNodeGroupsInGlobalReplicationGroupResult AWS API Documentation
|
4524
|
+
#
|
4525
|
+
class IncreaseNodeGroupsInGlobalReplicationGroupResult < Struct.new(
|
4526
|
+
:global_replication_group)
|
4527
|
+
include Aws::Structure
|
4528
|
+
end
|
4529
|
+
|
4530
|
+
# @note When making an API call, you may pass IncreaseReplicaCountMessage
|
4531
|
+
# data as a hash:
|
4532
|
+
#
|
4533
|
+
# {
|
4534
|
+
# replication_group_id: "String", # required
|
4535
|
+
# new_replica_count: 1,
|
4536
|
+
# replica_configuration: [
|
4537
|
+
# {
|
4538
|
+
# node_group_id: "AllowedNodeGroupId", # required
|
4539
|
+
# new_replica_count: 1, # required
|
4540
|
+
# preferred_availability_zones: ["String"],
|
4541
|
+
# },
|
4542
|
+
# ],
|
4543
|
+
# apply_immediately: false, # required
|
4544
|
+
# }
|
4545
|
+
#
|
4546
|
+
# @!attribute [rw] replication_group_id
|
4547
|
+
# The id of the replication group to which you want to add replica
|
4548
|
+
# nodes.
|
4549
|
+
# @return [String]
|
4550
|
+
#
|
4551
|
+
# @!attribute [rw] new_replica_count
|
4552
|
+
# The number of read replica nodes you want at the completion of this
|
4553
|
+
# operation. For Redis (cluster mode disabled) replication groups,
|
4554
|
+
# this is the number of replica nodes in the replication group. For
|
4555
|
+
# Redis (cluster mode enabled) replication groups, this is the number
|
4556
|
+
# of replica nodes in each of the replication group's node groups.
|
4557
|
+
# @return [Integer]
|
4558
|
+
#
|
4559
|
+
# @!attribute [rw] replica_configuration
|
4560
|
+
# A list of `ConfigureShard` objects that can be used to configure
|
4561
|
+
# each shard in a Redis (cluster mode enabled) replication group. The
|
4562
|
+
# `ConfigureShard` has three members: `NewReplicaCount`,
|
4563
|
+
# `NodeGroupId`, and `PreferredAvailabilityZones`.
|
4564
|
+
# @return [Array<Types::ConfigureShard>]
|
4565
|
+
#
|
4566
|
+
# @!attribute [rw] apply_immediately
|
4567
|
+
# If `True`, the number of replica nodes is increased immediately.
|
4568
|
+
# `ApplyImmediately=False` is not currently supported.
|
4569
|
+
# @return [Boolean]
|
4570
|
+
#
|
4571
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/IncreaseReplicaCountMessage AWS API Documentation
|
4572
|
+
#
|
4573
|
+
class IncreaseReplicaCountMessage < Struct.new(
|
4574
|
+
:replication_group_id,
|
4575
|
+
:new_replica_count,
|
4576
|
+
:replica_configuration,
|
4577
|
+
:apply_immediately)
|
4578
|
+
include Aws::Structure
|
4579
|
+
end
|
4580
|
+
|
4581
|
+
# @!attribute [rw] replication_group
|
4582
|
+
# Contains all of the attributes of a specific Redis replication
|
4583
|
+
# group.
|
4584
|
+
# @return [Types::ReplicationGroup]
|
4585
|
+
#
|
4586
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/IncreaseReplicaCountResult AWS API Documentation
|
3865
4587
|
#
|
3866
4588
|
class IncreaseReplicaCountResult < Struct.new(
|
3867
4589
|
:replication_group)
|
3868
4590
|
include Aws::Structure
|
3869
4591
|
end
|
3870
4592
|
|
4593
|
+
# The requested cache node type is not available in the specified
|
4594
|
+
# Availability Zone. For more information, see
|
4595
|
+
# [InsufficientCacheClusterCapacity][1] in the ElastiCache User Guide.
|
4596
|
+
#
|
4597
|
+
#
|
4598
|
+
#
|
4599
|
+
# [1]: http://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/ErrorMessages.html#ErrorMessages.INSUFFICIENT_CACHE_CLUSTER_CAPACITY
|
4600
|
+
#
|
4601
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/InsufficientCacheClusterCapacityFault AWS API Documentation
|
4602
|
+
#
|
4603
|
+
class InsufficientCacheClusterCapacityFault < Aws::EmptyStructure; end
|
4604
|
+
|
4605
|
+
# The requested Amazon Resource Name (ARN) does not refer to an existing
|
4606
|
+
# resource.
|
4607
|
+
#
|
4608
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/InvalidARNFault AWS API Documentation
|
4609
|
+
#
|
4610
|
+
class InvalidARNFault < Aws::EmptyStructure; end
|
4611
|
+
|
4612
|
+
# The requested cluster is not in the `available` state.
|
4613
|
+
#
|
4614
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/InvalidCacheClusterStateFault AWS API Documentation
|
4615
|
+
#
|
4616
|
+
class InvalidCacheClusterStateFault < Aws::EmptyStructure; end
|
4617
|
+
|
4618
|
+
# The current state of the cache parameter group does not allow the
|
4619
|
+
# requested operation to occur.
|
4620
|
+
#
|
4621
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/InvalidCacheParameterGroupStateFault AWS API Documentation
|
4622
|
+
#
|
4623
|
+
class InvalidCacheParameterGroupStateFault < Aws::EmptyStructure; end
|
4624
|
+
|
4625
|
+
# The current state of the cache security group does not allow deletion.
|
4626
|
+
#
|
4627
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/InvalidCacheSecurityGroupStateFault AWS API Documentation
|
4628
|
+
#
|
4629
|
+
class InvalidCacheSecurityGroupStateFault < Aws::EmptyStructure; end
|
4630
|
+
|
4631
|
+
# The Global Datastore is not available
|
4632
|
+
#
|
4633
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/InvalidGlobalReplicationGroupStateFault AWS API Documentation
|
4634
|
+
#
|
4635
|
+
class InvalidGlobalReplicationGroupStateFault < Aws::EmptyStructure; end
|
4636
|
+
|
4637
|
+
# The KMS key supplied is not valid.
|
4638
|
+
#
|
4639
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/InvalidKMSKeyFault AWS API Documentation
|
4640
|
+
#
|
4641
|
+
class InvalidKMSKeyFault < Aws::EmptyStructure; end
|
4642
|
+
|
3871
4643
|
# Two or more incompatible parameters were specified.
|
3872
4644
|
#
|
3873
4645
|
# @!attribute [rw] message
|
@@ -3895,6 +4667,31 @@ module Aws::ElastiCache
|
|
3895
4667
|
include Aws::Structure
|
3896
4668
|
end
|
3897
4669
|
|
4670
|
+
# The requested replication group is not in the `available` state.
|
4671
|
+
#
|
4672
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/InvalidReplicationGroupStateFault AWS API Documentation
|
4673
|
+
#
|
4674
|
+
class InvalidReplicationGroupStateFault < Aws::EmptyStructure; end
|
4675
|
+
|
4676
|
+
# The current state of the snapshot does not allow the requested
|
4677
|
+
# operation to occur.
|
4678
|
+
#
|
4679
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/InvalidSnapshotStateFault AWS API Documentation
|
4680
|
+
#
|
4681
|
+
class InvalidSnapshotStateFault < Aws::EmptyStructure; end
|
4682
|
+
|
4683
|
+
# An invalid subnet identifier was specified.
|
4684
|
+
#
|
4685
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/InvalidSubnet AWS API Documentation
|
4686
|
+
#
|
4687
|
+
class InvalidSubnet < Aws::EmptyStructure; end
|
4688
|
+
|
4689
|
+
# The VPC network is in an invalid state.
|
4690
|
+
#
|
4691
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/InvalidVPCNetworkStateFault AWS API Documentation
|
4692
|
+
#
|
4693
|
+
class InvalidVPCNetworkStateFault < Aws::EmptyStructure; end
|
4694
|
+
|
3898
4695
|
# The input parameters for the `ListAllowedNodeTypeModifications`
|
3899
4696
|
# operation.
|
3900
4697
|
#
|
@@ -4438,6 +5235,81 @@ module Aws::ElastiCache
|
|
4438
5235
|
include Aws::Structure
|
4439
5236
|
end
|
4440
5237
|
|
5238
|
+
# @note When making an API call, you may pass ModifyGlobalReplicationGroupMessage
|
5239
|
+
# data as a hash:
|
5240
|
+
#
|
5241
|
+
# {
|
5242
|
+
# global_replication_group_id: "String", # required
|
5243
|
+
# apply_immediately: false, # required
|
5244
|
+
# cache_node_type: "String",
|
5245
|
+
# engine_version: "String",
|
5246
|
+
# global_replication_group_description: "String",
|
5247
|
+
# automatic_failover_enabled: false,
|
5248
|
+
# }
|
5249
|
+
#
|
5250
|
+
# @!attribute [rw] global_replication_group_id
|
5251
|
+
# The name of the Global Datastore
|
5252
|
+
# @return [String]
|
5253
|
+
#
|
5254
|
+
# @!attribute [rw] apply_immediately
|
5255
|
+
# If true, this parameter causes the modifications in this request and
|
5256
|
+
# any pending modifications to be applied, asynchronously and as soon
|
5257
|
+
# as possible, regardless of the PreferredMaintenanceWindow setting
|
5258
|
+
# for the replication group. If false, changes to the nodes in the
|
5259
|
+
# replication group are applied on the next maintenance reboot, or the
|
5260
|
+
# next failure reboot, whichever occurs first.
|
5261
|
+
# @return [Boolean]
|
5262
|
+
#
|
5263
|
+
# @!attribute [rw] cache_node_type
|
5264
|
+
# A valid cache node type that you want to scale this Global Datastore
|
5265
|
+
# to.
|
5266
|
+
# @return [String]
|
5267
|
+
#
|
5268
|
+
# @!attribute [rw] engine_version
|
5269
|
+
# The upgraded version of the cache engine to be run on the clusters
|
5270
|
+
# in the Global Datastore.
|
5271
|
+
# @return [String]
|
5272
|
+
#
|
5273
|
+
# @!attribute [rw] global_replication_group_description
|
5274
|
+
# A description of the Global Datastore
|
5275
|
+
# @return [String]
|
5276
|
+
#
|
5277
|
+
# @!attribute [rw] automatic_failover_enabled
|
5278
|
+
# Determines whether a read replica is automatically promoted to
|
5279
|
+
# read/write primary if the existing primary encounters a failure.
|
5280
|
+
# @return [Boolean]
|
5281
|
+
#
|
5282
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ModifyGlobalReplicationGroupMessage AWS API Documentation
|
5283
|
+
#
|
5284
|
+
class ModifyGlobalReplicationGroupMessage < Struct.new(
|
5285
|
+
:global_replication_group_id,
|
5286
|
+
:apply_immediately,
|
5287
|
+
:cache_node_type,
|
5288
|
+
:engine_version,
|
5289
|
+
:global_replication_group_description,
|
5290
|
+
:automatic_failover_enabled)
|
5291
|
+
include Aws::Structure
|
5292
|
+
end
|
5293
|
+
|
5294
|
+
# @!attribute [rw] global_replication_group
|
5295
|
+
# Consists of a primary cluster that accepts writes and an associated
|
5296
|
+
# secondary cluster that resides in a different AWS region. The
|
5297
|
+
# secondary cluster accepts only reads. The primary cluster
|
5298
|
+
# automatically replicates updates to the secondary cluster.
|
5299
|
+
#
|
5300
|
+
# * The **GlobalReplicationGroupId** represents the name of the Global
|
5301
|
+
# Datastore, which is what you use to associate a secondary cluster.
|
5302
|
+
#
|
5303
|
+
# ^
|
5304
|
+
# @return [Types::GlobalReplicationGroup]
|
5305
|
+
#
|
5306
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ModifyGlobalReplicationGroupResult AWS API Documentation
|
5307
|
+
#
|
5308
|
+
class ModifyGlobalReplicationGroupResult < Struct.new(
|
5309
|
+
:global_replication_group)
|
5310
|
+
include Aws::Structure
|
5311
|
+
end
|
5312
|
+
|
4441
5313
|
# Represents the input of a `ModifyReplicationGroups` operation.
|
4442
5314
|
#
|
4443
5315
|
# @note When making an API call, you may pass ModifyReplicationGroupMessage
|
@@ -4806,6 +5678,12 @@ module Aws::ElastiCache
|
|
4806
5678
|
include Aws::Structure
|
4807
5679
|
end
|
4808
5680
|
|
5681
|
+
# The operation was not performed because no changes were required.
|
5682
|
+
#
|
5683
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/NoOperationFault AWS API Documentation
|
5684
|
+
#
|
5685
|
+
class NoOperationFault < Aws::EmptyStructure; end
|
5686
|
+
|
4809
5687
|
# Represents a collection of cache nodes in a replication group. One
|
4810
5688
|
# node in the node group is the read/write primary node. All the other
|
4811
5689
|
# nodes are read-only Replica nodes.
|
@@ -4998,6 +5876,14 @@ module Aws::ElastiCache
|
|
4998
5876
|
include Aws::Structure
|
4999
5877
|
end
|
5000
5878
|
|
5879
|
+
# The node group specified by the `NodeGroupId` parameter could not be
|
5880
|
+
# found. Please verify that the node group exists and that you spelled
|
5881
|
+
# the `NodeGroupId` value correctly.
|
5882
|
+
#
|
5883
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/NodeGroupNotFoundFault AWS API Documentation
|
5884
|
+
#
|
5885
|
+
class NodeGroupNotFoundFault < Aws::EmptyStructure; end
|
5886
|
+
|
5001
5887
|
# The status of the service update on the node group
|
5002
5888
|
#
|
5003
5889
|
# @!attribute [rw] node_group_id
|
@@ -5016,6 +5902,28 @@ module Aws::ElastiCache
|
|
5016
5902
|
include Aws::Structure
|
5017
5903
|
end
|
5018
5904
|
|
5905
|
+
# The request cannot be processed because it would exceed the maximum
|
5906
|
+
# allowed number of node groups (shards) in a single replication group.
|
5907
|
+
# The default maximum is 90
|
5908
|
+
#
|
5909
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/NodeGroupsPerReplicationGroupQuotaExceededFault AWS API Documentation
|
5910
|
+
#
|
5911
|
+
class NodeGroupsPerReplicationGroupQuotaExceededFault < Aws::EmptyStructure; end
|
5912
|
+
|
5913
|
+
# The request cannot be processed because it would exceed the allowed
|
5914
|
+
# number of cache nodes in a single cluster.
|
5915
|
+
#
|
5916
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/NodeQuotaForClusterExceededFault AWS API Documentation
|
5917
|
+
#
|
5918
|
+
class NodeQuotaForClusterExceededFault < Aws::EmptyStructure; end
|
5919
|
+
|
5920
|
+
# The request cannot be processed because it would exceed the allowed
|
5921
|
+
# number of cache nodes per customer.
|
5922
|
+
#
|
5923
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/NodeQuotaForCustomerExceededFault AWS API Documentation
|
5924
|
+
#
|
5925
|
+
class NodeQuotaForCustomerExceededFault < Aws::EmptyStructure; end
|
5926
|
+
|
5019
5927
|
# Represents an individual cache node in a snapshot of a cluster.
|
5020
5928
|
#
|
5021
5929
|
# @!attribute [rw] cache_cluster_id
|
@@ -5298,6 +6206,49 @@ module Aws::ElastiCache
|
|
5298
6206
|
include Aws::Structure
|
5299
6207
|
end
|
5300
6208
|
|
6209
|
+
# @note When making an API call, you may pass RebalanceSlotsInGlobalReplicationGroupMessage
|
6210
|
+
# data as a hash:
|
6211
|
+
#
|
6212
|
+
# {
|
6213
|
+
# global_replication_group_id: "String", # required
|
6214
|
+
# apply_immediately: false, # required
|
6215
|
+
# }
|
6216
|
+
#
|
6217
|
+
# @!attribute [rw] global_replication_group_id
|
6218
|
+
# The name of the Global Datastore
|
6219
|
+
# @return [String]
|
6220
|
+
#
|
6221
|
+
# @!attribute [rw] apply_immediately
|
6222
|
+
# If `True`, redistribution is applied immediately.
|
6223
|
+
# @return [Boolean]
|
6224
|
+
#
|
6225
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/RebalanceSlotsInGlobalReplicationGroupMessage AWS API Documentation
|
6226
|
+
#
|
6227
|
+
class RebalanceSlotsInGlobalReplicationGroupMessage < Struct.new(
|
6228
|
+
:global_replication_group_id,
|
6229
|
+
:apply_immediately)
|
6230
|
+
include Aws::Structure
|
6231
|
+
end
|
6232
|
+
|
6233
|
+
# @!attribute [rw] global_replication_group
|
6234
|
+
# Consists of a primary cluster that accepts writes and an associated
|
6235
|
+
# secondary cluster that resides in a different AWS region. The
|
6236
|
+
# secondary cluster accepts only reads. The primary cluster
|
6237
|
+
# automatically replicates updates to the secondary cluster.
|
6238
|
+
#
|
6239
|
+
# * The **GlobalReplicationGroupId** represents the name of the Global
|
6240
|
+
# Datastore, which is what you use to associate a secondary cluster.
|
6241
|
+
#
|
6242
|
+
# ^
|
6243
|
+
# @return [Types::GlobalReplicationGroup]
|
6244
|
+
#
|
6245
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/RebalanceSlotsInGlobalReplicationGroupResult AWS API Documentation
|
6246
|
+
#
|
6247
|
+
class RebalanceSlotsInGlobalReplicationGroupResult < Struct.new(
|
6248
|
+
:global_replication_group)
|
6249
|
+
include Aws::Structure
|
6250
|
+
end
|
6251
|
+
|
5301
6252
|
# Represents the input of a `RebootCacheCluster` operation.
|
5302
6253
|
#
|
5303
6254
|
# @note When making an API call, you may pass RebootCacheClusterMessage
|
@@ -5357,6 +6308,44 @@ module Aws::ElastiCache
|
|
5357
6308
|
include Aws::Structure
|
5358
6309
|
end
|
5359
6310
|
|
6311
|
+
# A list of the replication groups
|
6312
|
+
#
|
6313
|
+
# @note When making an API call, you may pass RegionalConfiguration
|
6314
|
+
# data as a hash:
|
6315
|
+
#
|
6316
|
+
# {
|
6317
|
+
# replication_group_id: "String", # required
|
6318
|
+
# replication_group_region: "String", # required
|
6319
|
+
# resharding_configuration: [ # required
|
6320
|
+
# {
|
6321
|
+
# node_group_id: "AllowedNodeGroupId",
|
6322
|
+
# preferred_availability_zones: ["String"],
|
6323
|
+
# },
|
6324
|
+
# ],
|
6325
|
+
# }
|
6326
|
+
#
|
6327
|
+
# @!attribute [rw] replication_group_id
|
6328
|
+
# The name of the secondary cluster
|
6329
|
+
# @return [String]
|
6330
|
+
#
|
6331
|
+
# @!attribute [rw] replication_group_region
|
6332
|
+
# The AWS region where the cluster is stored
|
6333
|
+
# @return [String]
|
6334
|
+
#
|
6335
|
+
# @!attribute [rw] resharding_configuration
|
6336
|
+
# A list of `PreferredAvailabilityZones` objects that specifies the
|
6337
|
+
# configuration of a node group in the resharded cluster.
|
6338
|
+
# @return [Array<Types::ReshardingConfiguration>]
|
6339
|
+
#
|
6340
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/RegionalConfiguration AWS API Documentation
|
6341
|
+
#
|
6342
|
+
class RegionalConfiguration < Struct.new(
|
6343
|
+
:replication_group_id,
|
6344
|
+
:replication_group_region,
|
6345
|
+
:resharding_configuration)
|
6346
|
+
include Aws::Structure
|
6347
|
+
end
|
6348
|
+
|
5360
6349
|
# Represents the input of a `RemoveTagsFromResource` operation.
|
5361
6350
|
#
|
5362
6351
|
# @note When making an API call, you may pass RemoveTagsFromResourceMessage
|
@@ -5404,6 +6393,11 @@ module Aws::ElastiCache
|
|
5404
6393
|
# The user supplied description of the replication group.
|
5405
6394
|
# @return [String]
|
5406
6395
|
#
|
6396
|
+
# @!attribute [rw] global_replication_group_info
|
6397
|
+
# The name of the Global Datastore and role of this replication group
|
6398
|
+
# in the Global Datastore.
|
6399
|
+
# @return [Types::GlobalReplicationGroupInfo]
|
6400
|
+
#
|
5407
6401
|
# @!attribute [rw] status
|
5408
6402
|
# The current state of this replication group - `creating`,
|
5409
6403
|
# `available`, `modifying`, `deleting`, `create-failed`,
|
@@ -5536,6 +6530,7 @@ module Aws::ElastiCache
|
|
5536
6530
|
class ReplicationGroup < Struct.new(
|
5537
6531
|
:replication_group_id,
|
5538
6532
|
:description,
|
6533
|
+
:global_replication_group_info,
|
5539
6534
|
:status,
|
5540
6535
|
:pending_modified_values,
|
5541
6536
|
:member_clusters,
|
@@ -5555,6 +6550,18 @@ module Aws::ElastiCache
|
|
5555
6550
|
include Aws::Structure
|
5556
6551
|
end
|
5557
6552
|
|
6553
|
+
# The specified replication group already exists.
|
6554
|
+
#
|
6555
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ReplicationGroupAlreadyExistsFault AWS API Documentation
|
6556
|
+
#
|
6557
|
+
class ReplicationGroupAlreadyExistsFault < Aws::EmptyStructure; end
|
6558
|
+
|
6559
|
+
# The targeted replication group is not available.
|
6560
|
+
#
|
6561
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ReplicationGroupAlreadyUnderMigrationFault AWS API Documentation
|
6562
|
+
#
|
6563
|
+
class ReplicationGroupAlreadyUnderMigrationFault < Aws::EmptyStructure; end
|
6564
|
+
|
5558
6565
|
# Represents the output of a `DescribeReplicationGroups` operation.
|
5559
6566
|
#
|
5560
6567
|
# @!attribute [rw] marker
|
@@ -5574,6 +6581,18 @@ module Aws::ElastiCache
|
|
5574
6581
|
include Aws::Structure
|
5575
6582
|
end
|
5576
6583
|
|
6584
|
+
# The specified replication group does not exist.
|
6585
|
+
#
|
6586
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ReplicationGroupNotFoundFault AWS API Documentation
|
6587
|
+
#
|
6588
|
+
class ReplicationGroupNotFoundFault < Aws::EmptyStructure; end
|
6589
|
+
|
6590
|
+
# The designated replication group is not available for data migration.
|
6591
|
+
#
|
6592
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ReplicationGroupNotUnderMigrationFault AWS API Documentation
|
6593
|
+
#
|
6594
|
+
class ReplicationGroupNotUnderMigrationFault < Aws::EmptyStructure; end
|
6595
|
+
|
5577
6596
|
# The settings to be applied to the Redis replication group, either
|
5578
6597
|
# immediately or during the next maintenance window.
|
5579
6598
|
#
|
@@ -5645,6 +6664,9 @@ module Aws::ElastiCache
|
|
5645
6664
|
# **M4 node types:** `cache.m4.large`, `cache.m4.xlarge`,
|
5646
6665
|
# `cache.m4.2xlarge`, `cache.m4.4xlarge`, `cache.m4.10xlarge`
|
5647
6666
|
#
|
6667
|
+
# **T3 node types:** `cache.t3.micro`, `cache.t3.small`,
|
6668
|
+
# `cache.t3.medium`
|
6669
|
+
#
|
5648
6670
|
# **T2 node types:** `cache.t2.micro`, `cache.t2.small`,
|
5649
6671
|
# `cache.t2.medium`
|
5650
6672
|
#
|
@@ -5761,6 +6783,12 @@ module Aws::ElastiCache
|
|
5761
6783
|
include Aws::Structure
|
5762
6784
|
end
|
5763
6785
|
|
6786
|
+
# You already have a reservation with the given identifier.
|
6787
|
+
#
|
6788
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ReservedCacheNodeAlreadyExistsFault AWS API Documentation
|
6789
|
+
#
|
6790
|
+
class ReservedCacheNodeAlreadyExistsFault < Aws::EmptyStructure; end
|
6791
|
+
|
5764
6792
|
# Represents the output of a `DescribeReservedCacheNodes` operation.
|
5765
6793
|
#
|
5766
6794
|
# @!attribute [rw] marker
|
@@ -5780,6 +6808,19 @@ module Aws::ElastiCache
|
|
5780
6808
|
include Aws::Structure
|
5781
6809
|
end
|
5782
6810
|
|
6811
|
+
# The requested reserved cache node was not found.
|
6812
|
+
#
|
6813
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ReservedCacheNodeNotFoundFault AWS API Documentation
|
6814
|
+
#
|
6815
|
+
class ReservedCacheNodeNotFoundFault < Aws::EmptyStructure; end
|
6816
|
+
|
6817
|
+
# The request cannot be processed because it would exceed the user's
|
6818
|
+
# cache node quota.
|
6819
|
+
#
|
6820
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ReservedCacheNodeQuotaExceededFault AWS API Documentation
|
6821
|
+
#
|
6822
|
+
class ReservedCacheNodeQuotaExceededFault < Aws::EmptyStructure; end
|
6823
|
+
|
5783
6824
|
# Describes all of the attributes of a reserved cache node offering.
|
5784
6825
|
#
|
5785
6826
|
# @!attribute [rw] reserved_cache_nodes_offering_id
|
@@ -5805,6 +6846,9 @@ module Aws::ElastiCache
|
|
5805
6846
|
# **M4 node types:** `cache.m4.large`, `cache.m4.xlarge`,
|
5806
6847
|
# `cache.m4.2xlarge`, `cache.m4.4xlarge`, `cache.m4.10xlarge`
|
5807
6848
|
#
|
6849
|
+
# **T3 node types:** `cache.t3.micro`, `cache.t3.small`,
|
6850
|
+
# `cache.t3.medium`
|
6851
|
+
#
|
5808
6852
|
# **T2 node types:** `cache.t2.micro`, `cache.t2.small`,
|
5809
6853
|
# `cache.t2.medium`
|
5810
6854
|
#
|
@@ -5917,6 +6961,12 @@ module Aws::ElastiCache
|
|
5917
6961
|
include Aws::Structure
|
5918
6962
|
end
|
5919
6963
|
|
6964
|
+
# The requested cache node offering does not exist.
|
6965
|
+
#
|
6966
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ReservedCacheNodesOfferingNotFoundFault AWS API Documentation
|
6967
|
+
#
|
6968
|
+
class ReservedCacheNodesOfferingNotFoundFault < Aws::EmptyStructure; end
|
6969
|
+
|
5920
6970
|
# Represents the input of a `ResetCacheParameterGroup` operation.
|
5921
6971
|
#
|
5922
6972
|
# @note When making an API call, you may pass ResetCacheParameterGroupMessage
|
@@ -6074,6 +7124,12 @@ module Aws::ElastiCache
|
|
6074
7124
|
include Aws::Structure
|
6075
7125
|
end
|
6076
7126
|
|
7127
|
+
# The specified service linked role (SLR) was not found.
|
7128
|
+
#
|
7129
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ServiceLinkedRoleNotFoundFault AWS API Documentation
|
7130
|
+
#
|
7131
|
+
class ServiceLinkedRoleNotFoundFault < Aws::EmptyStructure; end
|
7132
|
+
|
6077
7133
|
# An update that you can apply to your Redis clusters.
|
6078
7134
|
#
|
6079
7135
|
# @!attribute [rw] service_update_name
|
@@ -6151,6 +7207,12 @@ module Aws::ElastiCache
|
|
6151
7207
|
include Aws::Structure
|
6152
7208
|
end
|
6153
7209
|
|
7210
|
+
# The service update doesn't exist
|
7211
|
+
#
|
7212
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ServiceUpdateNotFoundFault AWS API Documentation
|
7213
|
+
#
|
7214
|
+
class ServiceUpdateNotFoundFault < Aws::EmptyStructure; end
|
7215
|
+
|
6154
7216
|
# @!attribute [rw] marker
|
6155
7217
|
# An optional marker returned from a prior request. Use this marker
|
6156
7218
|
# for pagination of results from this operation. If this parameter is
|
@@ -6234,6 +7296,9 @@ module Aws::ElastiCache
|
|
6234
7296
|
# **M4 node types:** `cache.m4.large`, `cache.m4.xlarge`,
|
6235
7297
|
# `cache.m4.2xlarge`, `cache.m4.4xlarge`, `cache.m4.10xlarge`
|
6236
7298
|
#
|
7299
|
+
# **T3 node types:** `cache.t3.micro`, `cache.t3.small`,
|
7300
|
+
# `cache.t3.medium`
|
7301
|
+
#
|
6237
7302
|
# **T2 node types:** `cache.t2.micro`, `cache.t2.small`,
|
6238
7303
|
# `cache.t2.medium`
|
6239
7304
|
#
|
@@ -6445,6 +7510,39 @@ module Aws::ElastiCache
|
|
6445
7510
|
include Aws::Structure
|
6446
7511
|
end
|
6447
7512
|
|
7513
|
+
# You already have a snapshot with the given name.
|
7514
|
+
#
|
7515
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/SnapshotAlreadyExistsFault AWS API Documentation
|
7516
|
+
#
|
7517
|
+
class SnapshotAlreadyExistsFault < Aws::EmptyStructure; end
|
7518
|
+
|
7519
|
+
# You attempted one of the following operations:
|
7520
|
+
#
|
7521
|
+
# * Creating a snapshot of a Redis cluster running on a `cache.t1.micro`
|
7522
|
+
# cache node.
|
7523
|
+
#
|
7524
|
+
# * Creating a snapshot of a cluster that is running Memcached rather
|
7525
|
+
# than Redis.
|
7526
|
+
#
|
7527
|
+
# Neither of these are supported by ElastiCache.
|
7528
|
+
#
|
7529
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/SnapshotFeatureNotSupportedFault AWS API Documentation
|
7530
|
+
#
|
7531
|
+
class SnapshotFeatureNotSupportedFault < Aws::EmptyStructure; end
|
7532
|
+
|
7533
|
+
# The requested snapshot name does not refer to an existing snapshot.
|
7534
|
+
#
|
7535
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/SnapshotNotFoundFault AWS API Documentation
|
7536
|
+
#
|
7537
|
+
class SnapshotNotFoundFault < Aws::EmptyStructure; end
|
7538
|
+
|
7539
|
+
# The request cannot be processed because it would exceed the maximum
|
7540
|
+
# number of snapshots.
|
7541
|
+
#
|
7542
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/SnapshotQuotaExceededFault AWS API Documentation
|
7543
|
+
#
|
7544
|
+
class SnapshotQuotaExceededFault < Aws::EmptyStructure; end
|
7545
|
+
|
6448
7546
|
# @note When making an API call, you may pass StartMigrationMessage
|
6449
7547
|
# data as a hash:
|
6450
7548
|
#
|
@@ -6507,6 +7605,12 @@ module Aws::ElastiCache
|
|
6507
7605
|
include Aws::Structure
|
6508
7606
|
end
|
6509
7607
|
|
7608
|
+
# The requested subnet is being used by another cache subnet group.
|
7609
|
+
#
|
7610
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/SubnetInUse AWS API Documentation
|
7611
|
+
#
|
7612
|
+
class SubnetInUse < Aws::EmptyStructure; end
|
7613
|
+
|
6510
7614
|
# A cost allocation Tag that can be added to an ElastiCache cluster or
|
6511
7615
|
# replication group. Tags are composed of a Key/Value pair. A tag with a
|
6512
7616
|
# null Value is permitted.
|
@@ -6549,6 +7653,20 @@ module Aws::ElastiCache
|
|
6549
7653
|
include Aws::Structure
|
6550
7654
|
end
|
6551
7655
|
|
7656
|
+
# The requested tag was not found on this resource.
|
7657
|
+
#
|
7658
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/TagNotFoundFault AWS API Documentation
|
7659
|
+
#
|
7660
|
+
class TagNotFoundFault < Aws::EmptyStructure; end
|
7661
|
+
|
7662
|
+
# The request cannot be processed because it would cause the resource to
|
7663
|
+
# have more than the allowed number of tags. The maximum number of tags
|
7664
|
+
# permitted on a resource is 50.
|
7665
|
+
#
|
7666
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/TagQuotaPerResourceExceeded AWS API Documentation
|
7667
|
+
#
|
7668
|
+
class TagQuotaPerResourceExceeded < Aws::EmptyStructure; end
|
7669
|
+
|
6552
7670
|
# @note When making an API call, you may pass TestFailoverMessage
|
6553
7671
|
# data as a hash:
|
6554
7672
|
#
|
@@ -6577,6 +7695,12 @@ module Aws::ElastiCache
|
|
6577
7695
|
include Aws::Structure
|
6578
7696
|
end
|
6579
7697
|
|
7698
|
+
# The `TestFailover` action is not available.
|
7699
|
+
#
|
7700
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/TestFailoverNotAvailableFault AWS API Documentation
|
7701
|
+
#
|
7702
|
+
class TestFailoverNotAvailableFault < Aws::EmptyStructure; end
|
7703
|
+
|
6580
7704
|
# @!attribute [rw] replication_group
|
6581
7705
|
# Contains all of the attributes of a specific Redis replication
|
6582
7706
|
# group.
|