aws-sdk-elasticache 1.153.0 → 1.154.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-elasticache/client.rb +271 -14
- data/lib/aws-sdk-elasticache/client_api.rb +97 -3
- data/lib/aws-sdk-elasticache/errors.rb +33 -0
- data/lib/aws-sdk-elasticache/types.rb +215 -6
- data/lib/aws-sdk-elasticache.rb +1 -1
- data/sig/client.rbs +48 -6
- data/sig/errors.rbs +6 -0
- data/sig/resource.rbs +1 -0
- data/sig/types.rbs +62 -0
- metadata +1 -1
data/sig/client.rbs
CHANGED
|
@@ -27,6 +27,7 @@ module Aws
|
|
|
27
27
|
?convert_params: bool,
|
|
28
28
|
?correct_clock_skew: bool,
|
|
29
29
|
?defaults_mode: String,
|
|
30
|
+
?disable_clock_skew_correction: bool,
|
|
30
31
|
?disable_host_prefix_injection: bool,
|
|
31
32
|
?disable_request_compression: bool,
|
|
32
33
|
?endpoint: String,
|
|
@@ -135,13 +136,15 @@ module Aws
|
|
|
135
136
|
interface _CompleteMigrationResponseSuccess
|
|
136
137
|
include ::Seahorse::Client::_ResponseSuccess[Types::CompleteMigrationResponse]
|
|
137
138
|
def replication_group: () -> Types::ReplicationGroup
|
|
139
|
+
def serverless_cache: () -> Types::ServerlessCache
|
|
138
140
|
end
|
|
139
141
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ElastiCache/Client.html#complete_migration-instance_method
|
|
140
142
|
def complete_migration: (
|
|
141
|
-
replication_group_id: ::String,
|
|
143
|
+
?replication_group_id: ::String,
|
|
144
|
+
?serverless_cache_name: ::String,
|
|
142
145
|
?force: bool
|
|
143
146
|
) -> _CompleteMigrationResponseSuccess
|
|
144
|
-
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CompleteMigrationResponseSuccess
|
|
147
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CompleteMigrationResponseSuccess
|
|
145
148
|
|
|
146
149
|
interface _CopyServerlessCacheSnapshotResponseSuccess
|
|
147
150
|
include ::Seahorse::Client::_ResponseSuccess[Types::CopyServerlessCacheSnapshotResponse]
|
|
@@ -1245,6 +1248,31 @@ module Aws
|
|
|
1245
1248
|
) -> _ModifyUserGroupResponseSuccess
|
|
1246
1249
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ModifyUserGroupResponseSuccess
|
|
1247
1250
|
|
|
1251
|
+
interface _PrepareMigrationResponseSuccess
|
|
1252
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PrepareMigrationResponse]
|
|
1253
|
+
def serverless_cache: () -> Types::ServerlessCache
|
|
1254
|
+
end
|
|
1255
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ElastiCache/Client.html#prepare_migration-instance_method
|
|
1256
|
+
def prepare_migration: (
|
|
1257
|
+
serverless_cache_name: ::String,
|
|
1258
|
+
customer_node_endpoint_list: Array[
|
|
1259
|
+
{
|
|
1260
|
+
address: ::String?,
|
|
1261
|
+
port: ::Integer?
|
|
1262
|
+
}
|
|
1263
|
+
],
|
|
1264
|
+
?source_authentication_configuration: {
|
|
1265
|
+
secret_manager_config: {
|
|
1266
|
+
secret_arn: ::String?
|
|
1267
|
+
}?
|
|
1268
|
+
},
|
|
1269
|
+
?source_tls_configuration: {
|
|
1270
|
+
source_tls_mode: ("none" | "verify-ca")?,
|
|
1271
|
+
source_tls_certificate: ::String?
|
|
1272
|
+
}
|
|
1273
|
+
) -> _PrepareMigrationResponseSuccess
|
|
1274
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PrepareMigrationResponseSuccess
|
|
1275
|
+
|
|
1248
1276
|
interface _PurchaseReservedCacheNodesOfferingResponseSuccess
|
|
1249
1277
|
include ::Seahorse::Client::_ResponseSuccess[Types::PurchaseReservedCacheNodesOfferingResult]
|
|
1250
1278
|
def reserved_cache_node: () -> Types::ReservedCacheNode
|
|
@@ -1328,18 +1356,32 @@ module Aws
|
|
|
1328
1356
|
interface _StartMigrationResponseSuccess
|
|
1329
1357
|
include ::Seahorse::Client::_ResponseSuccess[Types::StartMigrationResponse]
|
|
1330
1358
|
def replication_group: () -> Types::ReplicationGroup
|
|
1359
|
+
def serverless_cache: () -> Types::ServerlessCache
|
|
1331
1360
|
end
|
|
1332
1361
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ElastiCache/Client.html#start_migration-instance_method
|
|
1333
1362
|
def start_migration: (
|
|
1334
|
-
|
|
1335
|
-
|
|
1363
|
+
?serverless_cache_name: ::String,
|
|
1364
|
+
?replication_group_id: ::String,
|
|
1365
|
+
?customer_node_endpoint_list: Array[
|
|
1336
1366
|
{
|
|
1337
1367
|
address: ::String?,
|
|
1338
1368
|
port: ::Integer?
|
|
1339
1369
|
}
|
|
1340
|
-
]
|
|
1370
|
+
],
|
|
1371
|
+
?auto_cutover: bool,
|
|
1372
|
+
?clear_target_cache_data: bool
|
|
1341
1373
|
) -> _StartMigrationResponseSuccess
|
|
1342
|
-
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartMigrationResponseSuccess
|
|
1374
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartMigrationResponseSuccess
|
|
1375
|
+
|
|
1376
|
+
interface _StopMigrationResponseSuccess
|
|
1377
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StopMigrationResponse]
|
|
1378
|
+
def serverless_cache: () -> Types::ServerlessCache
|
|
1379
|
+
end
|
|
1380
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ElastiCache/Client.html#stop_migration-instance_method
|
|
1381
|
+
def stop_migration: (
|
|
1382
|
+
serverless_cache_name: ::String
|
|
1383
|
+
) -> _StopMigrationResponseSuccess
|
|
1384
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopMigrationResponseSuccess
|
|
1343
1385
|
|
|
1344
1386
|
interface _TestFailoverResponseSuccess
|
|
1345
1387
|
include ::Seahorse::Client::_ResponseSuccess[Types::TestFailoverResult]
|
data/sig/errors.rbs
CHANGED
|
@@ -93,6 +93,8 @@ module Aws
|
|
|
93
93
|
end
|
|
94
94
|
class InvalidVPCNetworkStateFault < ServiceError
|
|
95
95
|
end
|
|
96
|
+
class MigrationHealthFault < ServiceError
|
|
97
|
+
end
|
|
96
98
|
class NoOperationFault < ServiceError
|
|
97
99
|
end
|
|
98
100
|
class NodeGroupNotFoundFault < ServiceError
|
|
@@ -121,8 +123,12 @@ module Aws
|
|
|
121
123
|
end
|
|
122
124
|
class ServerlessCacheAlreadyExistsFault < ServiceError
|
|
123
125
|
end
|
|
126
|
+
class ServerlessCacheAlreadyUnderMigrationFault < ServiceError
|
|
127
|
+
end
|
|
124
128
|
class ServerlessCacheNotFoundFault < ServiceError
|
|
125
129
|
end
|
|
130
|
+
class ServerlessCacheNotUnderMigrationFault < ServiceError
|
|
131
|
+
end
|
|
126
132
|
class ServerlessCacheQuotaForCustomerExceededFault < ServiceError
|
|
127
133
|
end
|
|
128
134
|
class ServerlessCacheSnapshotAlreadyExistsFault < ServiceError
|
data/sig/resource.rbs
CHANGED
data/sig/types.rbs
CHANGED
|
@@ -299,12 +299,14 @@ module Aws::ElastiCache
|
|
|
299
299
|
|
|
300
300
|
class CompleteMigrationMessage
|
|
301
301
|
attr_accessor replication_group_id: ::String
|
|
302
|
+
attr_accessor serverless_cache_name: ::String
|
|
302
303
|
attr_accessor force: bool
|
|
303
304
|
SENSITIVE: []
|
|
304
305
|
end
|
|
305
306
|
|
|
306
307
|
class CompleteMigrationResponse
|
|
307
308
|
attr_accessor replication_group: Types::ReplicationGroup
|
|
309
|
+
attr_accessor serverless_cache: Types::ServerlessCache
|
|
308
310
|
SENSITIVE: []
|
|
309
311
|
end
|
|
310
312
|
|
|
@@ -1154,6 +1156,16 @@ module Aws::ElastiCache
|
|
|
1154
1156
|
SENSITIVE: []
|
|
1155
1157
|
end
|
|
1156
1158
|
|
|
1159
|
+
class MigrationHealthFault < Aws::EmptyStructure
|
|
1160
|
+
end
|
|
1161
|
+
|
|
1162
|
+
class MigrationSummary
|
|
1163
|
+
attr_accessor status: ::String
|
|
1164
|
+
attr_accessor migration_endpoint: Types::Endpoint
|
|
1165
|
+
attr_accessor cutover_mode: ::String
|
|
1166
|
+
SENSITIVE: []
|
|
1167
|
+
end
|
|
1168
|
+
|
|
1157
1169
|
class ModifyCacheClusterMessage
|
|
1158
1170
|
attr_accessor cache_cluster_id: ::String
|
|
1159
1171
|
attr_accessor num_cache_nodes: ::Integer
|
|
@@ -1436,6 +1448,19 @@ module Aws::ElastiCache
|
|
|
1436
1448
|
SENSITIVE: []
|
|
1437
1449
|
end
|
|
1438
1450
|
|
|
1451
|
+
class PrepareMigrationRequest
|
|
1452
|
+
attr_accessor serverless_cache_name: ::String
|
|
1453
|
+
attr_accessor customer_node_endpoint_list: ::Array[Types::CustomerNodeEndpoint]
|
|
1454
|
+
attr_accessor source_authentication_configuration: Types::SourceAuthenticationConfiguration
|
|
1455
|
+
attr_accessor source_tls_configuration: Types::SourceTlsConfiguration
|
|
1456
|
+
SENSITIVE: []
|
|
1457
|
+
end
|
|
1458
|
+
|
|
1459
|
+
class PrepareMigrationResponse
|
|
1460
|
+
attr_accessor serverless_cache: Types::ServerlessCache
|
|
1461
|
+
SENSITIVE: []
|
|
1462
|
+
end
|
|
1463
|
+
|
|
1439
1464
|
class ProcessedUpdateAction
|
|
1440
1465
|
attr_accessor replication_group_id: ::String
|
|
1441
1466
|
attr_accessor cache_cluster_id: ::String
|
|
@@ -1657,6 +1682,11 @@ module Aws::ElastiCache
|
|
|
1657
1682
|
SENSITIVE: []
|
|
1658
1683
|
end
|
|
1659
1684
|
|
|
1685
|
+
class SecretManagerAuthConfig
|
|
1686
|
+
attr_accessor secret_arn: ::String
|
|
1687
|
+
SENSITIVE: []
|
|
1688
|
+
end
|
|
1689
|
+
|
|
1660
1690
|
class SecurityGroupMembership
|
|
1661
1691
|
attr_accessor security_group_id: ::String
|
|
1662
1692
|
attr_accessor status: ::String
|
|
@@ -1684,12 +1714,16 @@ module Aws::ElastiCache
|
|
|
1684
1714
|
attr_accessor daily_snapshot_time: ::String
|
|
1685
1715
|
attr_accessor network_type: ("ipv4" | "ipv6" | "dual_stack")
|
|
1686
1716
|
attr_accessor connection_type: ("vpc" | "public")
|
|
1717
|
+
attr_accessor migration: Types::MigrationSummary
|
|
1687
1718
|
SENSITIVE: []
|
|
1688
1719
|
end
|
|
1689
1720
|
|
|
1690
1721
|
class ServerlessCacheAlreadyExistsFault < Aws::EmptyStructure
|
|
1691
1722
|
end
|
|
1692
1723
|
|
|
1724
|
+
class ServerlessCacheAlreadyUnderMigrationFault < Aws::EmptyStructure
|
|
1725
|
+
end
|
|
1726
|
+
|
|
1693
1727
|
class ServerlessCacheConfiguration
|
|
1694
1728
|
attr_accessor serverless_cache_name: ::String
|
|
1695
1729
|
attr_accessor engine: ::String
|
|
@@ -1700,6 +1734,9 @@ module Aws::ElastiCache
|
|
|
1700
1734
|
class ServerlessCacheNotFoundFault < Aws::EmptyStructure
|
|
1701
1735
|
end
|
|
1702
1736
|
|
|
1737
|
+
class ServerlessCacheNotUnderMigrationFault < Aws::EmptyStructure
|
|
1738
|
+
end
|
|
1739
|
+
|
|
1703
1740
|
class ServerlessCacheQuotaForCustomerExceededFault < Aws::EmptyStructure
|
|
1704
1741
|
end
|
|
1705
1742
|
|
|
@@ -1803,14 +1840,39 @@ module Aws::ElastiCache
|
|
|
1803
1840
|
class SnapshotQuotaExceededFault < Aws::EmptyStructure
|
|
1804
1841
|
end
|
|
1805
1842
|
|
|
1843
|
+
class SourceAuthenticationConfiguration
|
|
1844
|
+
attr_accessor secret_manager_config: Types::SecretManagerAuthConfig
|
|
1845
|
+
SENSITIVE: []
|
|
1846
|
+
end
|
|
1847
|
+
|
|
1848
|
+
class SourceTlsConfiguration
|
|
1849
|
+
attr_accessor source_tls_mode: ("none" | "verify-ca")
|
|
1850
|
+
attr_accessor source_tls_certificate: ::String
|
|
1851
|
+
SENSITIVE: []
|
|
1852
|
+
end
|
|
1853
|
+
|
|
1806
1854
|
class StartMigrationMessage
|
|
1855
|
+
attr_accessor serverless_cache_name: ::String
|
|
1807
1856
|
attr_accessor replication_group_id: ::String
|
|
1808
1857
|
attr_accessor customer_node_endpoint_list: ::Array[Types::CustomerNodeEndpoint]
|
|
1858
|
+
attr_accessor auto_cutover: bool
|
|
1859
|
+
attr_accessor clear_target_cache_data: bool
|
|
1809
1860
|
SENSITIVE: []
|
|
1810
1861
|
end
|
|
1811
1862
|
|
|
1812
1863
|
class StartMigrationResponse
|
|
1813
1864
|
attr_accessor replication_group: Types::ReplicationGroup
|
|
1865
|
+
attr_accessor serverless_cache: Types::ServerlessCache
|
|
1866
|
+
SENSITIVE: []
|
|
1867
|
+
end
|
|
1868
|
+
|
|
1869
|
+
class StopMigrationRequest
|
|
1870
|
+
attr_accessor serverless_cache_name: ::String
|
|
1871
|
+
SENSITIVE: []
|
|
1872
|
+
end
|
|
1873
|
+
|
|
1874
|
+
class StopMigrationResponse
|
|
1875
|
+
attr_accessor serverless_cache: Types::ServerlessCache
|
|
1814
1876
|
SENSITIVE: []
|
|
1815
1877
|
end
|
|
1816
1878
|
|