aws-sdk-elasticache 1.93.0 → 1.94.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -268,16 +268,20 @@ module Aws::ElastiCache
268
268
  #
269
269
  # * Current generation:
270
270
  #
271
+ # **M7g node types**: `cache.m7g.large`, `cache.m7g.xlarge`,
272
+ # `cache.m7g.2xlarge`, `cache.m7g.4xlarge`, `cache.m7g.8xlarge`,
273
+ # `cache.m7g.12xlarge`, `cache.m7g.16xlarge`
274
+ #
275
+ # <note markdown="1"> For region availability, see [Supported Node Types][1]
276
+ #
277
+ # </note>
278
+ #
271
279
  # **M6g node types** (available only for Redis engine version
272
280
  # 5.0.6 onward and for Memcached engine version 1.5.16 onward):
273
281
  # `cache.m6g.large`, `cache.m6g.xlarge`, `cache.m6g.2xlarge`,
274
282
  # `cache.m6g.4xlarge`, `cache.m6g.8xlarge`, `cache.m6g.12xlarge`,
275
283
  # `cache.m6g.16xlarge`
276
284
  #
277
- # <note markdown="1"> For region availability, see [Supported Node Types][1]
278
- #
279
- # </note>
280
- #
281
285
  # **M5 node types:** `cache.m5.large`, `cache.m5.xlarge`,
282
286
  # `cache.m5.2xlarge`, `cache.m5.4xlarge`, `cache.m5.12xlarge`,
283
287
  # `cache.m5.24xlarge`
@@ -319,17 +323,20 @@ module Aws::ElastiCache
319
323
  #
320
324
  # * Current generation:
321
325
  #
322
- # **R6g node types** (available only for Redis engine version
323
- # 5.0.6 onward and for Memcached engine version 1.5.16 onward).
324
- #
325
- # `cache.r6g.large`, `cache.r6g.xlarge`, `cache.r6g.2xlarge`,
326
- # `cache.r6g.4xlarge`, `cache.r6g.8xlarge`, `cache.r6g.12xlarge`,
327
- # `cache.r6g.16xlarge`
326
+ # **R7g node types**: `cache.r7g.large`, `cache.r7g.xlarge`,
327
+ # `cache.r7g.2xlarge`, `cache.r7g.4xlarge`, `cache.r7g.8xlarge`,
328
+ # `cache.r7g.12xlarge`, `cache.r7g.16xlarge`
328
329
  #
329
330
  # <note markdown="1"> For region availability, see [Supported Node Types][1]
330
331
  #
331
332
  # </note>
332
333
  #
334
+ # **R6g node types** (available only for Redis engine version
335
+ # 5.0.6 onward and for Memcached engine version 1.5.16 onward):
336
+ # `cache.r6g.large`, `cache.r6g.xlarge`, `cache.r6g.2xlarge`,
337
+ # `cache.r6g.4xlarge`, `cache.r6g.8xlarge`, `cache.r6g.12xlarge`,
338
+ # `cache.r6g.16xlarge`
339
+ #
333
340
  # **R5 node types:** `cache.r5.large`, `cache.r5.xlarge`,
334
341
  # `cache.r5.2xlarge`, `cache.r5.4xlarge`, `cache.r5.12xlarge`,
335
342
  # `cache.r5.24xlarge`
@@ -708,16 +715,20 @@ module Aws::ElastiCache
708
715
  #
709
716
  # * Current generation:
710
717
  #
718
+ # **M7g node types**: `cache.m7g.large`, `cache.m7g.xlarge`,
719
+ # `cache.m7g.2xlarge`, `cache.m7g.4xlarge`, `cache.m7g.8xlarge`,
720
+ # `cache.m7g.12xlarge`, `cache.m7g.16xlarge`
721
+ #
722
+ # <note markdown="1"> For region availability, see [Supported Node Types][1]
723
+ #
724
+ # </note>
725
+ #
711
726
  # **M6g node types** (available only for Redis engine version 5.0.6
712
727
  # onward and for Memcached engine version 1.5.16 onward):
713
728
  # `cache.m6g.large`, `cache.m6g.xlarge`, `cache.m6g.2xlarge`,
714
729
  # `cache.m6g.4xlarge`, `cache.m6g.8xlarge`, `cache.m6g.12xlarge`,
715
730
  # `cache.m6g.16xlarge`
716
731
  #
717
- # <note markdown="1"> For region availability, see [Supported Node Types][1]
718
- #
719
- # </note>
720
- #
721
732
  # **M5 node types:** `cache.m5.large`, `cache.m5.xlarge`,
722
733
  # `cache.m5.2xlarge`, `cache.m5.4xlarge`, `cache.m5.12xlarge`,
723
734
  # `cache.m5.24xlarge`
@@ -759,17 +770,20 @@ module Aws::ElastiCache
759
770
  #
760
771
  # * Current generation:
761
772
  #
762
- # **R6g node types** (available only for Redis engine version 5.0.6
763
- # onward and for Memcached engine version 1.5.16 onward).
764
- #
765
- # `cache.r6g.large`, `cache.r6g.xlarge`, `cache.r6g.2xlarge`,
766
- # `cache.r6g.4xlarge`, `cache.r6g.8xlarge`, `cache.r6g.12xlarge`,
767
- # `cache.r6g.16xlarge`
773
+ # **R7g node types**: `cache.r7g.large`, `cache.r7g.xlarge`,
774
+ # `cache.r7g.2xlarge`, `cache.r7g.4xlarge`, `cache.r7g.8xlarge`,
775
+ # `cache.r7g.12xlarge`, `cache.r7g.16xlarge`
768
776
  #
769
777
  # <note markdown="1"> For region availability, see [Supported Node Types][1]
770
778
  #
771
779
  # </note>
772
780
  #
781
+ # **R6g node types** (available only for Redis engine version 5.0.6
782
+ # onward and for Memcached engine version 1.5.16 onward):
783
+ # `cache.r6g.large`, `cache.r6g.xlarge`, `cache.r6g.2xlarge`,
784
+ # `cache.r6g.4xlarge`, `cache.r6g.8xlarge`, `cache.r6g.12xlarge`,
785
+ # `cache.r6g.16xlarge`
786
+ #
773
787
  # **R5 node types:** `cache.r5.large`, `cache.r5.xlarge`,
774
788
  # `cache.r5.2xlarge`, `cache.r5.4xlarge`, `cache.r5.12xlarge`,
775
789
  # `cache.r5.24xlarge`
@@ -1351,6 +1365,27 @@ module Aws::ElastiCache
1351
1365
  #
1352
1366
  class CacheSubnetQuotaExceededFault < Aws::EmptyStructure; end
1353
1367
 
1368
+ # The usage limits for storage and ElastiCache Processing Units for the
1369
+ # cache.
1370
+ #
1371
+ # @!attribute [rw] data_storage
1372
+ # The maximum data storage limit in the cache, expressed in Gigabytes.
1373
+ # @return [Types::DataStorage]
1374
+ #
1375
+ # @!attribute [rw] ecpu_per_second
1376
+ # The configuration for the number of ElastiCache Processing Units
1377
+ # (ECPU) the cache can consume per second.
1378
+ # @return [Types::ECPUPerSecond]
1379
+ #
1380
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CacheUsageLimits AWS API Documentation
1381
+ #
1382
+ class CacheUsageLimits < Struct.new(
1383
+ :data_storage,
1384
+ :ecpu_per_second)
1385
+ SENSITIVE = []
1386
+ include Aws::Structure
1387
+ end
1388
+
1354
1389
  # The configuration details of the CloudWatch Logs destination.
1355
1390
  #
1356
1391
  # @!attribute [rw] log_group
@@ -1462,6 +1497,50 @@ module Aws::ElastiCache
1462
1497
  include Aws::Structure
1463
1498
  end
1464
1499
 
1500
+ # @!attribute [rw] source_serverless_cache_snapshot_name
1501
+ # The identifier of the existing serverless cache’s snapshot to be
1502
+ # copied. Available for Redis only.
1503
+ # @return [String]
1504
+ #
1505
+ # @!attribute [rw] target_serverless_cache_snapshot_name
1506
+ # The identifier for the snapshot to be created. Available for Redis
1507
+ # only.
1508
+ # @return [String]
1509
+ #
1510
+ # @!attribute [rw] kms_key_id
1511
+ # The identifier of the KMS key used to encrypt the target snapshot.
1512
+ # Available for Redis only.
1513
+ # @return [String]
1514
+ #
1515
+ # @!attribute [rw] tags
1516
+ # A list of tags to be added to the target snapshot resource. A tag is
1517
+ # a key-value pair. Available for Redis only. Default: NULL
1518
+ # @return [Array<Types::Tag>]
1519
+ #
1520
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CopyServerlessCacheSnapshotRequest AWS API Documentation
1521
+ #
1522
+ class CopyServerlessCacheSnapshotRequest < Struct.new(
1523
+ :source_serverless_cache_snapshot_name,
1524
+ :target_serverless_cache_snapshot_name,
1525
+ :kms_key_id,
1526
+ :tags)
1527
+ SENSITIVE = []
1528
+ include Aws::Structure
1529
+ end
1530
+
1531
+ # @!attribute [rw] serverless_cache_snapshot
1532
+ # The response for the attempt to copy the serverless cache snapshot.
1533
+ # Available for Redis only.
1534
+ # @return [Types::ServerlessCacheSnapshot]
1535
+ #
1536
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CopyServerlessCacheSnapshotResponse AWS API Documentation
1537
+ #
1538
+ class CopyServerlessCacheSnapshotResponse < Struct.new(
1539
+ :serverless_cache_snapshot)
1540
+ SENSITIVE = []
1541
+ include Aws::Structure
1542
+ end
1543
+
1465
1544
  # Represents the input of a `CopySnapshotMessage` operation.
1466
1545
  #
1467
1546
  # @!attribute [rw] source_snapshot_name
@@ -1633,16 +1712,20 @@ module Aws::ElastiCache
1633
1712
  #
1634
1713
  # * Current generation:
1635
1714
  #
1715
+ # **M7g node types**: `cache.m7g.large`, `cache.m7g.xlarge`,
1716
+ # `cache.m7g.2xlarge`, `cache.m7g.4xlarge`, `cache.m7g.8xlarge`,
1717
+ # `cache.m7g.12xlarge`, `cache.m7g.16xlarge`
1718
+ #
1719
+ # <note markdown="1"> For region availability, see [Supported Node Types][1]
1720
+ #
1721
+ # </note>
1722
+ #
1636
1723
  # **M6g node types** (available only for Redis engine version
1637
1724
  # 5.0.6 onward and for Memcached engine version 1.5.16 onward):
1638
1725
  # `cache.m6g.large`, `cache.m6g.xlarge`, `cache.m6g.2xlarge`,
1639
1726
  # `cache.m6g.4xlarge`, `cache.m6g.8xlarge`, `cache.m6g.12xlarge`,
1640
1727
  # `cache.m6g.16xlarge`
1641
1728
  #
1642
- # <note markdown="1"> For region availability, see [Supported Node Types][1]
1643
- #
1644
- # </note>
1645
- #
1646
1729
  # **M5 node types:** `cache.m5.large`, `cache.m5.xlarge`,
1647
1730
  # `cache.m5.2xlarge`, `cache.m5.4xlarge`, `cache.m5.12xlarge`,
1648
1731
  # `cache.m5.24xlarge`
@@ -1684,17 +1767,20 @@ module Aws::ElastiCache
1684
1767
  #
1685
1768
  # * Current generation:
1686
1769
  #
1687
- # **R6g node types** (available only for Redis engine version
1688
- # 5.0.6 onward and for Memcached engine version 1.5.16 onward).
1689
- #
1690
- # `cache.r6g.large`, `cache.r6g.xlarge`, `cache.r6g.2xlarge`,
1691
- # `cache.r6g.4xlarge`, `cache.r6g.8xlarge`, `cache.r6g.12xlarge`,
1692
- # `cache.r6g.16xlarge`
1770
+ # **R7g node types**: `cache.r7g.large`, `cache.r7g.xlarge`,
1771
+ # `cache.r7g.2xlarge`, `cache.r7g.4xlarge`, `cache.r7g.8xlarge`,
1772
+ # `cache.r7g.12xlarge`, `cache.r7g.16xlarge`
1693
1773
  #
1694
1774
  # <note markdown="1"> For region availability, see [Supported Node Types][1]
1695
1775
  #
1696
1776
  # </note>
1697
1777
  #
1778
+ # **R6g node types** (available only for Redis engine version
1779
+ # 5.0.6 onward and for Memcached engine version 1.5.16 onward):
1780
+ # `cache.r6g.large`, `cache.r6g.xlarge`, `cache.r6g.2xlarge`,
1781
+ # `cache.r6g.4xlarge`, `cache.r6g.8xlarge`, `cache.r6g.12xlarge`,
1782
+ # `cache.r6g.16xlarge`
1783
+ #
1698
1784
  # **R5 node types:** `cache.r5.large`, `cache.r5.xlarge`,
1699
1785
  # `cache.r5.2xlarge`, `cache.r5.4xlarge`, `cache.r5.12xlarge`,
1700
1786
  # `cache.r5.24xlarge`
@@ -2330,16 +2416,20 @@ module Aws::ElastiCache
2330
2416
  #
2331
2417
  # * Current generation:
2332
2418
  #
2419
+ # **M7g node types**: `cache.m7g.large`, `cache.m7g.xlarge`,
2420
+ # `cache.m7g.2xlarge`, `cache.m7g.4xlarge`, `cache.m7g.8xlarge`,
2421
+ # `cache.m7g.12xlarge`, `cache.m7g.16xlarge`
2422
+ #
2423
+ # <note markdown="1"> For region availability, see [Supported Node Types][1]
2424
+ #
2425
+ # </note>
2426
+ #
2333
2427
  # **M6g node types** (available only for Redis engine version
2334
2428
  # 5.0.6 onward and for Memcached engine version 1.5.16 onward):
2335
2429
  # `cache.m6g.large`, `cache.m6g.xlarge`, `cache.m6g.2xlarge`,
2336
2430
  # `cache.m6g.4xlarge`, `cache.m6g.8xlarge`, `cache.m6g.12xlarge`,
2337
2431
  # `cache.m6g.16xlarge`
2338
2432
  #
2339
- # <note markdown="1"> For region availability, see [Supported Node Types][1]
2340
- #
2341
- # </note>
2342
- #
2343
2433
  # **M5 node types:** `cache.m5.large`, `cache.m5.xlarge`,
2344
2434
  # `cache.m5.2xlarge`, `cache.m5.4xlarge`, `cache.m5.12xlarge`,
2345
2435
  # `cache.m5.24xlarge`
@@ -2381,17 +2471,20 @@ module Aws::ElastiCache
2381
2471
  #
2382
2472
  # * Current generation:
2383
2473
  #
2384
- # **R6g node types** (available only for Redis engine version
2385
- # 5.0.6 onward and for Memcached engine version 1.5.16 onward).
2386
- #
2387
- # `cache.r6g.large`, `cache.r6g.xlarge`, `cache.r6g.2xlarge`,
2388
- # `cache.r6g.4xlarge`, `cache.r6g.8xlarge`, `cache.r6g.12xlarge`,
2389
- # `cache.r6g.16xlarge`
2474
+ # **R7g node types**: `cache.r7g.large`, `cache.r7g.xlarge`,
2475
+ # `cache.r7g.2xlarge`, `cache.r7g.4xlarge`, `cache.r7g.8xlarge`,
2476
+ # `cache.r7g.12xlarge`, `cache.r7g.16xlarge`
2390
2477
  #
2391
2478
  # <note markdown="1"> For region availability, see [Supported Node Types][1]
2392
2479
  #
2393
2480
  # </note>
2394
2481
  #
2482
+ # **R6g node types** (available only for Redis engine version
2483
+ # 5.0.6 onward and for Memcached engine version 1.5.16 onward):
2484
+ # `cache.r6g.large`, `cache.r6g.xlarge`, `cache.r6g.2xlarge`,
2485
+ # `cache.r6g.4xlarge`, `cache.r6g.8xlarge`, `cache.r6g.12xlarge`,
2486
+ # `cache.r6g.16xlarge`
2487
+ #
2395
2488
  # **R5 node types:** `cache.r5.large`, `cache.r5.xlarge`,
2396
2489
  # `cache.r5.2xlarge`, `cache.r5.4xlarge`, `cache.r5.12xlarge`,
2397
2490
  # `cache.r5.24xlarge`
@@ -2726,6 +2819,11 @@ module Aws::ElastiCache
2726
2819
  # cluster mode configuration and set the cluster mode to Enabled.
2727
2820
  # @return [String]
2728
2821
  #
2822
+ # @!attribute [rw] serverless_cache_snapshot_name
2823
+ # The name of the snapshot used to create a replication group.
2824
+ # Available for Redis only.
2825
+ # @return [String]
2826
+ #
2729
2827
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateReplicationGroupMessage AWS API Documentation
2730
2828
  #
2731
2829
  class CreateReplicationGroupMessage < Struct.new(
@@ -2766,7 +2864,8 @@ module Aws::ElastiCache
2766
2864
  :network_type,
2767
2865
  :ip_discovery,
2768
2866
  :transit_encryption_mode,
2769
- :cluster_mode)
2867
+ :cluster_mode,
2868
+ :serverless_cache_snapshot_name)
2770
2869
  SENSITIVE = []
2771
2870
  include Aws::Structure
2772
2871
  end
@@ -2784,6 +2883,157 @@ module Aws::ElastiCache
2784
2883
  include Aws::Structure
2785
2884
  end
2786
2885
 
2886
+ # @!attribute [rw] serverless_cache_name
2887
+ # User-provided identifier for the serverless cache. This parameter is
2888
+ # stored as a lowercase string.
2889
+ # @return [String]
2890
+ #
2891
+ # @!attribute [rw] description
2892
+ # User-provided description for the serverless cache. The default is
2893
+ # NULL, i.e. if no description is provided then an empty string will
2894
+ # be returned. The maximum length is 255 characters.
2895
+ # @return [String]
2896
+ #
2897
+ # @!attribute [rw] engine
2898
+ # The name of the cache engine to be used for creating the serverless
2899
+ # cache.
2900
+ # @return [String]
2901
+ #
2902
+ # @!attribute [rw] major_engine_version
2903
+ # The version of the cache engine that will be used to create the
2904
+ # serverless cache.
2905
+ # @return [String]
2906
+ #
2907
+ # @!attribute [rw] cache_usage_limits
2908
+ # Sets the cache usage limits for storage and ElastiCache Processing
2909
+ # Units for the cache.
2910
+ # @return [Types::CacheUsageLimits]
2911
+ #
2912
+ # @!attribute [rw] kms_key_id
2913
+ # ARN of the customer managed key for encrypting the data at rest. If
2914
+ # no KMS key is provided, a default service key is used.
2915
+ # @return [String]
2916
+ #
2917
+ # @!attribute [rw] security_group_ids
2918
+ # A list of the one or more VPC security groups to be associated with
2919
+ # the serverless cache. The security group will authorize traffic
2920
+ # access for the VPC end-point (private-link). If no other information
2921
+ # is given this will be the VPC’s Default Security Group that is
2922
+ # associated with the cluster VPC end-point.
2923
+ # @return [Array<String>]
2924
+ #
2925
+ # @!attribute [rw] snapshot_arns_to_restore
2926
+ # The ARN(s) of the snapshot that the new serverless cache will be
2927
+ # created from. Available for Redis only.
2928
+ # @return [Array<String>]
2929
+ #
2930
+ # @!attribute [rw] tags
2931
+ # The list of tags (key, value) pairs to be added to the serverless
2932
+ # cache resource. Default is NULL.
2933
+ # @return [Array<Types::Tag>]
2934
+ #
2935
+ # @!attribute [rw] user_group_id
2936
+ # The identifier of the UserGroup to be associated with the serverless
2937
+ # cache. Available for Redis only. Default is NULL.
2938
+ # @return [String]
2939
+ #
2940
+ # @!attribute [rw] subnet_ids
2941
+ # A list of the identifiers of the subnets where the VPC endpoint for
2942
+ # the serverless cache will be deployed. All the subnetIds must belong
2943
+ # to the same VPC.
2944
+ # @return [Array<String>]
2945
+ #
2946
+ # @!attribute [rw] snapshot_retention_limit
2947
+ # The number of snapshots that will be retained for the serverless
2948
+ # cache that is being created. As new snapshots beyond this limit are
2949
+ # added, the oldest snapshots will be deleted on a rolling basis.
2950
+ # Available for Redis only.
2951
+ # @return [Integer]
2952
+ #
2953
+ # @!attribute [rw] daily_snapshot_time
2954
+ # The daily time that snapshots will be created from the new
2955
+ # serverless cache. By default this number is populated with 0, i.e.
2956
+ # no snapshots will be created on an automatic daily basis. Available
2957
+ # for Redis only.
2958
+ # @return [String]
2959
+ #
2960
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateServerlessCacheRequest AWS API Documentation
2961
+ #
2962
+ class CreateServerlessCacheRequest < Struct.new(
2963
+ :serverless_cache_name,
2964
+ :description,
2965
+ :engine,
2966
+ :major_engine_version,
2967
+ :cache_usage_limits,
2968
+ :kms_key_id,
2969
+ :security_group_ids,
2970
+ :snapshot_arns_to_restore,
2971
+ :tags,
2972
+ :user_group_id,
2973
+ :subnet_ids,
2974
+ :snapshot_retention_limit,
2975
+ :daily_snapshot_time)
2976
+ SENSITIVE = []
2977
+ include Aws::Structure
2978
+ end
2979
+
2980
+ # @!attribute [rw] serverless_cache
2981
+ # The response for the attempt to create the serverless cache.
2982
+ # @return [Types::ServerlessCache]
2983
+ #
2984
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateServerlessCacheResponse AWS API Documentation
2985
+ #
2986
+ class CreateServerlessCacheResponse < Struct.new(
2987
+ :serverless_cache)
2988
+ SENSITIVE = []
2989
+ include Aws::Structure
2990
+ end
2991
+
2992
+ # @!attribute [rw] serverless_cache_snapshot_name
2993
+ # The name for the snapshot being created. Must be unique for the
2994
+ # customer account. Available for Redis only. Must be between 1 and
2995
+ # 255 characters.
2996
+ # @return [String]
2997
+ #
2998
+ # @!attribute [rw] serverless_cache_name
2999
+ # The name of an existing serverless cache. The snapshot is created
3000
+ # from this cache. Available for Redis only.
3001
+ # @return [String]
3002
+ #
3003
+ # @!attribute [rw] kms_key_id
3004
+ # The ID of the KMS key used to encrypt the snapshot. Available for
3005
+ # Redis only. Default: NULL
3006
+ # @return [String]
3007
+ #
3008
+ # @!attribute [rw] tags
3009
+ # A list of tags to be added to the snapshot resource. A tag is a
3010
+ # key-value pair. Available for Redis only.
3011
+ # @return [Array<Types::Tag>]
3012
+ #
3013
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateServerlessCacheSnapshotRequest AWS API Documentation
3014
+ #
3015
+ class CreateServerlessCacheSnapshotRequest < Struct.new(
3016
+ :serverless_cache_snapshot_name,
3017
+ :serverless_cache_name,
3018
+ :kms_key_id,
3019
+ :tags)
3020
+ SENSITIVE = []
3021
+ include Aws::Structure
3022
+ end
3023
+
3024
+ # @!attribute [rw] serverless_cache_snapshot
3025
+ # The state of a serverless cache snapshot at a specific point in
3026
+ # time, to the millisecond. Available for Redis only.
3027
+ # @return [Types::ServerlessCacheSnapshot]
3028
+ #
3029
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateServerlessCacheSnapshotResponse AWS API Documentation
3030
+ #
3031
+ class CreateServerlessCacheSnapshotResponse < Struct.new(
3032
+ :serverless_cache_snapshot)
3033
+ SENSITIVE = []
3034
+ include Aws::Structure
3035
+ end
3036
+
2787
3037
  # Represents the input of a `CreateSnapshot` operation.
2788
3038
  #
2789
3039
  # @!attribute [rw] replication_group_id
@@ -2850,7 +3100,7 @@ module Aws::ElastiCache
2850
3100
  # @!attribute [rw] tags
2851
3101
  # A list of tags to be added to this resource. A tag is a key-value
2852
3102
  # pair. A tag key must be accompanied by a tag value, although null is
2853
- # accepted.
3103
+ # accepted. Available for Redis only.
2854
3104
  # @return [Array<Types::Tag>]
2855
3105
  #
2856
3106
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateUserGroupMessage AWS API Documentation
@@ -2933,6 +3183,25 @@ module Aws::ElastiCache
2933
3183
  include Aws::Structure
2934
3184
  end
2935
3185
 
3186
+ # The data storage limit.
3187
+ #
3188
+ # @!attribute [rw] maximum
3189
+ # The upper limit for data storage the cache is set to use.
3190
+ # @return [Integer]
3191
+ #
3192
+ # @!attribute [rw] unit
3193
+ # The unit that the storage is measured in, in GB.
3194
+ # @return [String]
3195
+ #
3196
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DataStorage AWS API Documentation
3197
+ #
3198
+ class DataStorage < Struct.new(
3199
+ :maximum,
3200
+ :unit)
3201
+ SENSITIVE = []
3202
+ include Aws::Structure
3203
+ end
3204
+
2936
3205
  # @!attribute [rw] global_replication_group_id
2937
3206
  # The name of the Global datastore
2938
3207
  # @return [String]
@@ -3246,6 +3515,62 @@ module Aws::ElastiCache
3246
3515
  include Aws::Structure
3247
3516
  end
3248
3517
 
3518
+ # @!attribute [rw] serverless_cache_name
3519
+ # The identifier of the serverless cache to be deleted.
3520
+ # @return [String]
3521
+ #
3522
+ # @!attribute [rw] final_snapshot_name
3523
+ # Name of the final snapshot to be taken before the serverless cache
3524
+ # is deleted. Available for Redis only. Default: NULL, i.e. a final
3525
+ # snapshot is not taken.
3526
+ # @return [String]
3527
+ #
3528
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteServerlessCacheRequest AWS API Documentation
3529
+ #
3530
+ class DeleteServerlessCacheRequest < Struct.new(
3531
+ :serverless_cache_name,
3532
+ :final_snapshot_name)
3533
+ SENSITIVE = []
3534
+ include Aws::Structure
3535
+ end
3536
+
3537
+ # @!attribute [rw] serverless_cache
3538
+ # Provides the details of the specified serverless cache that is about
3539
+ # to be deleted.
3540
+ # @return [Types::ServerlessCache]
3541
+ #
3542
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteServerlessCacheResponse AWS API Documentation
3543
+ #
3544
+ class DeleteServerlessCacheResponse < Struct.new(
3545
+ :serverless_cache)
3546
+ SENSITIVE = []
3547
+ include Aws::Structure
3548
+ end
3549
+
3550
+ # @!attribute [rw] serverless_cache_snapshot_name
3551
+ # Idenfitier of the snapshot to be deleted. Available for Redis only.
3552
+ # @return [String]
3553
+ #
3554
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteServerlessCacheSnapshotRequest AWS API Documentation
3555
+ #
3556
+ class DeleteServerlessCacheSnapshotRequest < Struct.new(
3557
+ :serverless_cache_snapshot_name)
3558
+ SENSITIVE = []
3559
+ include Aws::Structure
3560
+ end
3561
+
3562
+ # @!attribute [rw] serverless_cache_snapshot
3563
+ # The snapshot to be deleted. Available for Redis only.
3564
+ # @return [Types::ServerlessCacheSnapshot]
3565
+ #
3566
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteServerlessCacheSnapshotResponse AWS API Documentation
3567
+ #
3568
+ class DeleteServerlessCacheSnapshotResponse < Struct.new(
3569
+ :serverless_cache_snapshot)
3570
+ SENSITIVE = []
3571
+ include Aws::Structure
3572
+ end
3573
+
3249
3574
  # Represents the input of a `DeleteSnapshot` operation.
3250
3575
  #
3251
3576
  # @!attribute [rw] snapshot_name
@@ -3787,16 +4112,20 @@ module Aws::ElastiCache
3787
4112
  #
3788
4113
  # * Current generation:
3789
4114
  #
4115
+ # **M7g node types**: `cache.m7g.large`, `cache.m7g.xlarge`,
4116
+ # `cache.m7g.2xlarge`, `cache.m7g.4xlarge`, `cache.m7g.8xlarge`,
4117
+ # `cache.m7g.12xlarge`, `cache.m7g.16xlarge`
4118
+ #
4119
+ # <note markdown="1"> For region availability, see [Supported Node Types][1]
4120
+ #
4121
+ # </note>
4122
+ #
3790
4123
  # **M6g node types** (available only for Redis engine version
3791
4124
  # 5.0.6 onward and for Memcached engine version 1.5.16 onward):
3792
4125
  # `cache.m6g.large`, `cache.m6g.xlarge`, `cache.m6g.2xlarge`,
3793
4126
  # `cache.m6g.4xlarge`, `cache.m6g.8xlarge`, `cache.m6g.12xlarge`,
3794
4127
  # `cache.m6g.16xlarge`
3795
4128
  #
3796
- # <note markdown="1"> For region availability, see [Supported Node Types][1]
3797
- #
3798
- # </note>
3799
- #
3800
4129
  # **M5 node types:** `cache.m5.large`, `cache.m5.xlarge`,
3801
4130
  # `cache.m5.2xlarge`, `cache.m5.4xlarge`, `cache.m5.12xlarge`,
3802
4131
  # `cache.m5.24xlarge`
@@ -3838,17 +4167,20 @@ module Aws::ElastiCache
3838
4167
  #
3839
4168
  # * Current generation:
3840
4169
  #
3841
- # **R6g node types** (available only for Redis engine version
3842
- # 5.0.6 onward and for Memcached engine version 1.5.16 onward).
3843
- #
3844
- # `cache.r6g.large`, `cache.r6g.xlarge`, `cache.r6g.2xlarge`,
3845
- # `cache.r6g.4xlarge`, `cache.r6g.8xlarge`, `cache.r6g.12xlarge`,
3846
- # `cache.r6g.16xlarge`
4170
+ # **R7g node types**: `cache.r7g.large`, `cache.r7g.xlarge`,
4171
+ # `cache.r7g.2xlarge`, `cache.r7g.4xlarge`, `cache.r7g.8xlarge`,
4172
+ # `cache.r7g.12xlarge`, `cache.r7g.16xlarge`
3847
4173
  #
3848
4174
  # <note markdown="1"> For region availability, see [Supported Node Types][1]
3849
4175
  #
3850
4176
  # </note>
3851
4177
  #
4178
+ # **R6g node types** (available only for Redis engine version
4179
+ # 5.0.6 onward and for Memcached engine version 1.5.16 onward):
4180
+ # `cache.r6g.large`, `cache.r6g.xlarge`, `cache.r6g.2xlarge`,
4181
+ # `cache.r6g.4xlarge`, `cache.r6g.8xlarge`, `cache.r6g.12xlarge`,
4182
+ # `cache.r6g.16xlarge`
4183
+ #
3852
4184
  # **R5 node types:** `cache.r5.large`, `cache.r5.xlarge`,
3853
4185
  # `cache.r5.2xlarge`, `cache.r5.4xlarge`, `cache.r5.12xlarge`,
3854
4186
  # `cache.r5.24xlarge`
@@ -3963,16 +4295,20 @@ module Aws::ElastiCache
3963
4295
  #
3964
4296
  # * Current generation:
3965
4297
  #
4298
+ # **M7g node types**: `cache.m7g.large`, `cache.m7g.xlarge`,
4299
+ # `cache.m7g.2xlarge`, `cache.m7g.4xlarge`, `cache.m7g.8xlarge`,
4300
+ # `cache.m7g.12xlarge`, `cache.m7g.16xlarge`
4301
+ #
4302
+ # <note markdown="1"> For region availability, see [Supported Node Types][1]
4303
+ #
4304
+ # </note>
4305
+ #
3966
4306
  # **M6g node types** (available only for Redis engine version
3967
4307
  # 5.0.6 onward and for Memcached engine version 1.5.16 onward):
3968
4308
  # `cache.m6g.large`, `cache.m6g.xlarge`, `cache.m6g.2xlarge`,
3969
4309
  # `cache.m6g.4xlarge`, `cache.m6g.8xlarge`, `cache.m6g.12xlarge`,
3970
4310
  # `cache.m6g.16xlarge`
3971
4311
  #
3972
- # <note markdown="1"> For region availability, see [Supported Node Types][1]
3973
- #
3974
- # </note>
3975
- #
3976
4312
  # **M5 node types:** `cache.m5.large`, `cache.m5.xlarge`,
3977
4313
  # `cache.m5.2xlarge`, `cache.m5.4xlarge`, `cache.m5.12xlarge`,
3978
4314
  # `cache.m5.24xlarge`
@@ -4014,17 +4350,20 @@ module Aws::ElastiCache
4014
4350
  #
4015
4351
  # * Current generation:
4016
4352
  #
4017
- # **R6g node types** (available only for Redis engine version
4018
- # 5.0.6 onward and for Memcached engine version 1.5.16 onward).
4019
- #
4020
- # `cache.r6g.large`, `cache.r6g.xlarge`, `cache.r6g.2xlarge`,
4021
- # `cache.r6g.4xlarge`, `cache.r6g.8xlarge`, `cache.r6g.12xlarge`,
4022
- # `cache.r6g.16xlarge`
4353
+ # **R7g node types**: `cache.r7g.large`, `cache.r7g.xlarge`,
4354
+ # `cache.r7g.2xlarge`, `cache.r7g.4xlarge`, `cache.r7g.8xlarge`,
4355
+ # `cache.r7g.12xlarge`, `cache.r7g.16xlarge`
4023
4356
  #
4024
4357
  # <note markdown="1"> For region availability, see [Supported Node Types][1]
4025
4358
  #
4026
4359
  # </note>
4027
4360
  #
4361
+ # **R6g node types** (available only for Redis engine version
4362
+ # 5.0.6 onward and for Memcached engine version 1.5.16 onward):
4363
+ # `cache.r6g.large`, `cache.r6g.xlarge`, `cache.r6g.2xlarge`,
4364
+ # `cache.r6g.4xlarge`, `cache.r6g.8xlarge`, `cache.r6g.12xlarge`,
4365
+ # `cache.r6g.16xlarge`
4366
+ #
4028
4367
  # **R5 node types:** `cache.r5.large`, `cache.r5.xlarge`,
4029
4368
  # `cache.r5.2xlarge`, `cache.r5.4xlarge`, `cache.r5.12xlarge`,
4030
4369
  # `cache.r5.24xlarge`
@@ -4115,6 +4454,121 @@ module Aws::ElastiCache
4115
4454
  include Aws::Structure
4116
4455
  end
4117
4456
 
4457
+ # @!attribute [rw] serverless_cache_name
4458
+ # The identifier of serverless cache. If this parameter is specified,
4459
+ # only snapshots associated with that specific serverless cache are
4460
+ # described. Available for Redis only.
4461
+ # @return [String]
4462
+ #
4463
+ # @!attribute [rw] serverless_cache_snapshot_name
4464
+ # The identifier of the serverless cache’s snapshot. If this parameter
4465
+ # is specified, only this snapshot is described. Available for Redis
4466
+ # only.
4467
+ # @return [String]
4468
+ #
4469
+ # @!attribute [rw] snapshot_type
4470
+ # The type of snapshot that is being described. Available for Redis
4471
+ # only.
4472
+ # @return [String]
4473
+ #
4474
+ # @!attribute [rw] next_token
4475
+ # An optional marker returned from a prior request to support
4476
+ # pagination of results from this operation. If this parameter is
4477
+ # specified, the response includes only records beyond the marker, up
4478
+ # to the value specified by max-results. Available for Redis only.
4479
+ # @return [String]
4480
+ #
4481
+ # @!attribute [rw] max_results
4482
+ # The maximum number of records to include in the response. If more
4483
+ # records exist than the specified max-results value, a market is
4484
+ # included in the response so that remaining results can be retrieved.
4485
+ # Available for Redis only.The default is 50. The Validation
4486
+ # Constraints are a maximum of 50.
4487
+ # @return [Integer]
4488
+ #
4489
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeServerlessCacheSnapshotsRequest AWS API Documentation
4490
+ #
4491
+ class DescribeServerlessCacheSnapshotsRequest < Struct.new(
4492
+ :serverless_cache_name,
4493
+ :serverless_cache_snapshot_name,
4494
+ :snapshot_type,
4495
+ :next_token,
4496
+ :max_results)
4497
+ SENSITIVE = []
4498
+ include Aws::Structure
4499
+ end
4500
+
4501
+ # @!attribute [rw] next_token
4502
+ # An optional marker returned from a prior request to support
4503
+ # pagination of results from this operation. If this parameter is
4504
+ # specified, the response includes only records beyond the marker, up
4505
+ # to the value specified by max-results. Available for Redis only.
4506
+ # @return [String]
4507
+ #
4508
+ # @!attribute [rw] serverless_cache_snapshots
4509
+ # The serverless caches snapshots associated with a given description
4510
+ # request. Available for Redis only.
4511
+ # @return [Array<Types::ServerlessCacheSnapshot>]
4512
+ #
4513
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeServerlessCacheSnapshotsResponse AWS API Documentation
4514
+ #
4515
+ class DescribeServerlessCacheSnapshotsResponse < Struct.new(
4516
+ :next_token,
4517
+ :serverless_cache_snapshots)
4518
+ SENSITIVE = []
4519
+ include Aws::Structure
4520
+ end
4521
+
4522
+ # @!attribute [rw] serverless_cache_name
4523
+ # The identifier for the serverless cache. If this parameter is
4524
+ # specified, only information about that specific serverless cache is
4525
+ # returned. Default: NULL
4526
+ # @return [String]
4527
+ #
4528
+ # @!attribute [rw] max_results
4529
+ # The maximum number of records in the response. If more records exist
4530
+ # than the specified max-records value, the next token is included in
4531
+ # the response so that remaining results can be retrieved. The default
4532
+ # is 50.
4533
+ # @return [Integer]
4534
+ #
4535
+ # @!attribute [rw] next_token
4536
+ # An optional marker returned from a prior request to support
4537
+ # pagination of results from this operation. If this parameter is
4538
+ # specified, the response includes only records beyond the marker, up
4539
+ # to the value specified by MaxResults.
4540
+ # @return [String]
4541
+ #
4542
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeServerlessCachesRequest AWS API Documentation
4543
+ #
4544
+ class DescribeServerlessCachesRequest < Struct.new(
4545
+ :serverless_cache_name,
4546
+ :max_results,
4547
+ :next_token)
4548
+ SENSITIVE = []
4549
+ include Aws::Structure
4550
+ end
4551
+
4552
+ # @!attribute [rw] next_token
4553
+ # An optional marker returned from a prior request to support
4554
+ # pagination of results from this operation. If this parameter is
4555
+ # specified, the response includes only records beyond the marker, up
4556
+ # to the value specified by MaxResults.
4557
+ # @return [String]
4558
+ #
4559
+ # @!attribute [rw] serverless_caches
4560
+ # The serverless caches associated with a given description request.
4561
+ # @return [Array<Types::ServerlessCache>]
4562
+ #
4563
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeServerlessCachesResponse AWS API Documentation
4564
+ #
4565
+ class DescribeServerlessCachesResponse < Struct.new(
4566
+ :next_token,
4567
+ :serverless_caches)
4568
+ SENSITIVE = []
4569
+ include Aws::Structure
4570
+ end
4571
+
4118
4572
  # @!attribute [rw] service_update_name
4119
4573
  # The unique ID of the service update
4120
4574
  # @return [String]
@@ -4494,6 +4948,22 @@ module Aws::ElastiCache
4494
4948
  include Aws::Structure
4495
4949
  end
4496
4950
 
4951
+ # The configuration for the number of ElastiCache Processing Units
4952
+ # (ECPU) the cache can consume per second.
4953
+ #
4954
+ # @!attribute [rw] maximum
4955
+ # The configuration for the maximum number of ECPUs the cache can
4956
+ # consume per second.
4957
+ # @return [Integer]
4958
+ #
4959
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ECPUPerSecond AWS API Documentation
4960
+ #
4961
+ class ECPUPerSecond < Struct.new(
4962
+ :maximum)
4963
+ SENSITIVE = []
4964
+ include Aws::Structure
4965
+ end
4966
+
4497
4967
  # Represents the information required for client programs to connect to
4498
4968
  # a cache node.
4499
4969
  #
@@ -4605,6 +5075,39 @@ module Aws::ElastiCache
4605
5075
  include Aws::Structure
4606
5076
  end
4607
5077
 
5078
+ # @!attribute [rw] serverless_cache_snapshot_name
5079
+ # The identifier of the serverless cache snapshot to be exported to
5080
+ # S3. Available for Redis only.
5081
+ # @return [String]
5082
+ #
5083
+ # @!attribute [rw] s3_bucket_name
5084
+ # Name of the Amazon S3 bucket to export the snapshot to. The Amazon
5085
+ # S3 bucket must also be in same region as the snapshot. Available for
5086
+ # Redis only.
5087
+ # @return [String]
5088
+ #
5089
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ExportServerlessCacheSnapshotRequest AWS API Documentation
5090
+ #
5091
+ class ExportServerlessCacheSnapshotRequest < Struct.new(
5092
+ :serverless_cache_snapshot_name,
5093
+ :s3_bucket_name)
5094
+ SENSITIVE = []
5095
+ include Aws::Structure
5096
+ end
5097
+
5098
+ # @!attribute [rw] serverless_cache_snapshot
5099
+ # The state of a serverless cache at a specific point in time, to the
5100
+ # millisecond. Available for Redis only.
5101
+ # @return [Types::ServerlessCacheSnapshot]
5102
+ #
5103
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ExportServerlessCacheSnapshotResponse AWS API Documentation
5104
+ #
5105
+ class ExportServerlessCacheSnapshotResponse < Struct.new(
5106
+ :serverless_cache_snapshot)
5107
+ SENSITIVE = []
5108
+ include Aws::Structure
5109
+ end
5110
+
4608
5111
  # @!attribute [rw] global_replication_group_id
4609
5112
  # The name of the Global datastore
4610
5113
  # @return [String]
@@ -4994,6 +5497,12 @@ module Aws::ElastiCache
4994
5497
  #
4995
5498
  class InvalidCacheSecurityGroupStateFault < Aws::EmptyStructure; end
4996
5499
 
5500
+ # You must enter valid credentials.
5501
+ #
5502
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/InvalidCredentialsException AWS API Documentation
5503
+ #
5504
+ class InvalidCredentialsException < Aws::EmptyStructure; end
5505
+
4997
5506
  # The Global datastore is not available or in primary-only state.
4998
5507
  #
4999
5508
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/InvalidGlobalReplicationGroupStateFault AWS API Documentation
@@ -5041,6 +5550,19 @@ module Aws::ElastiCache
5041
5550
  #
5042
5551
  class InvalidReplicationGroupStateFault < Aws::EmptyStructure; end
5043
5552
 
5553
+ # The state of the serverless cache snapshot was not received. Available
5554
+ # for Redis only.
5555
+ #
5556
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/InvalidServerlessCacheSnapshotStateFault AWS API Documentation
5557
+ #
5558
+ class InvalidServerlessCacheSnapshotStateFault < Aws::EmptyStructure; end
5559
+
5560
+ # The account for these credentials is not currently active.
5561
+ #
5562
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/InvalidServerlessCacheStateFault AWS API Documentation
5563
+ #
5564
+ class InvalidServerlessCacheStateFault < Aws::EmptyStructure; end
5565
+
5044
5566
  # The current state of the snapshot does not allow the requested
5045
5567
  # operation to occur.
5046
5568
  #
@@ -6151,6 +6673,82 @@ module Aws::ElastiCache
6151
6673
  include Aws::Structure
6152
6674
  end
6153
6675
 
6676
+ # @!attribute [rw] serverless_cache_name
6677
+ # User-provided identifier for the serverless cache to be modified.
6678
+ # @return [String]
6679
+ #
6680
+ # @!attribute [rw] description
6681
+ # User provided description for the serverless cache. Default = NULL,
6682
+ # i.e. the existing description is not removed/modified. The
6683
+ # description has a maximum length of 255 characters.
6684
+ # @return [String]
6685
+ #
6686
+ # @!attribute [rw] cache_usage_limits
6687
+ # Modify the cache usage limit for the serverless cache.
6688
+ # @return [Types::CacheUsageLimits]
6689
+ #
6690
+ # @!attribute [rw] remove_user_group
6691
+ # The identifier of the UserGroup to be removed from association with
6692
+ # the Redis serverless cache. Available for Redis only. Default is
6693
+ # NULL.
6694
+ # @return [Boolean]
6695
+ #
6696
+ # @!attribute [rw] user_group_id
6697
+ # The identifier of the UserGroup to be associated with the serverless
6698
+ # cache. Available for Redis only. Default is NULL - the existing
6699
+ # UserGroup is not removed.
6700
+ # @return [String]
6701
+ #
6702
+ # @!attribute [rw] security_group_ids
6703
+ # The new list of VPC security groups to be associated with the
6704
+ # serverless cache. Populating this list means the current VPC
6705
+ # security groups will be removed. This security group is used to
6706
+ # authorize traffic access for the VPC end-point (private-link).
6707
+ # Default = NULL - the existing list of VPC security groups is not
6708
+ # removed.
6709
+ # @return [Array<String>]
6710
+ #
6711
+ # @!attribute [rw] snapshot_retention_limit
6712
+ # The number of days for which Elasticache retains automatic snapshots
6713
+ # before deleting them. Available for Redis only. Default = NULL, i.e.
6714
+ # the existing snapshot-retention-limit will not be removed or
6715
+ # modified. The maximum value allowed is 35 days.
6716
+ # @return [Integer]
6717
+ #
6718
+ # @!attribute [rw] daily_snapshot_time
6719
+ # The daily time during which Elasticache begins taking a daily
6720
+ # snapshot of the serverless cache. Available for Redis only. The
6721
+ # default is NULL, i.e. the existing snapshot time configured for the
6722
+ # cluster is not removed.
6723
+ # @return [String]
6724
+ #
6725
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ModifyServerlessCacheRequest AWS API Documentation
6726
+ #
6727
+ class ModifyServerlessCacheRequest < Struct.new(
6728
+ :serverless_cache_name,
6729
+ :description,
6730
+ :cache_usage_limits,
6731
+ :remove_user_group,
6732
+ :user_group_id,
6733
+ :security_group_ids,
6734
+ :snapshot_retention_limit,
6735
+ :daily_snapshot_time)
6736
+ SENSITIVE = []
6737
+ include Aws::Structure
6738
+ end
6739
+
6740
+ # @!attribute [rw] serverless_cache
6741
+ # The response for the attempt to modify the serverless cache.
6742
+ # @return [Types::ServerlessCache]
6743
+ #
6744
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ModifyServerlessCacheResponse AWS API Documentation
6745
+ #
6746
+ class ModifyServerlessCacheResponse < Struct.new(
6747
+ :serverless_cache)
6748
+ SENSITIVE = []
6749
+ include Aws::Structure
6750
+ end
6751
+
6154
6752
  # @!attribute [rw] user_group_id
6155
6753
  # The ID of the user group.
6156
6754
  # @return [String]
@@ -7323,16 +7921,20 @@ module Aws::ElastiCache
7323
7921
  #
7324
7922
  # * Current generation:
7325
7923
  #
7924
+ # **M7g node types**: `cache.m7g.large`, `cache.m7g.xlarge`,
7925
+ # `cache.m7g.2xlarge`, `cache.m7g.4xlarge`, `cache.m7g.8xlarge`,
7926
+ # `cache.m7g.12xlarge`, `cache.m7g.16xlarge`
7927
+ #
7928
+ # <note markdown="1"> For region availability, see [Supported Node Types][1]
7929
+ #
7930
+ # </note>
7931
+ #
7326
7932
  # **M6g node types** (available only for Redis engine version
7327
7933
  # 5.0.6 onward and for Memcached engine version 1.5.16 onward):
7328
7934
  # `cache.m6g.large`, `cache.m6g.xlarge`, `cache.m6g.2xlarge`,
7329
7935
  # `cache.m6g.4xlarge`, `cache.m6g.8xlarge`, `cache.m6g.12xlarge`,
7330
7936
  # `cache.m6g.16xlarge`
7331
7937
  #
7332
- # <note markdown="1"> For region availability, see [Supported Node Types][1]
7333
- #
7334
- # </note>
7335
- #
7336
7938
  # **M5 node types:** `cache.m5.large`, `cache.m5.xlarge`,
7337
7939
  # `cache.m5.2xlarge`, `cache.m5.4xlarge`, `cache.m5.12xlarge`,
7338
7940
  # `cache.m5.24xlarge`
@@ -7374,17 +7976,20 @@ module Aws::ElastiCache
7374
7976
  #
7375
7977
  # * Current generation:
7376
7978
  #
7377
- # **R6g node types** (available only for Redis engine version
7378
- # 5.0.6 onward and for Memcached engine version 1.5.16 onward).
7379
- #
7380
- # `cache.r6g.large`, `cache.r6g.xlarge`, `cache.r6g.2xlarge`,
7381
- # `cache.r6g.4xlarge`, `cache.r6g.8xlarge`, `cache.r6g.12xlarge`,
7382
- # `cache.r6g.16xlarge`
7979
+ # **R7g node types**: `cache.r7g.large`, `cache.r7g.xlarge`,
7980
+ # `cache.r7g.2xlarge`, `cache.r7g.4xlarge`, `cache.r7g.8xlarge`,
7981
+ # `cache.r7g.12xlarge`, `cache.r7g.16xlarge`
7383
7982
  #
7384
7983
  # <note markdown="1"> For region availability, see [Supported Node Types][1]
7385
7984
  #
7386
7985
  # </note>
7387
7986
  #
7987
+ # **R6g node types** (available only for Redis engine version
7988
+ # 5.0.6 onward and for Memcached engine version 1.5.16 onward):
7989
+ # `cache.r6g.large`, `cache.r6g.xlarge`, `cache.r6g.2xlarge`,
7990
+ # `cache.r6g.4xlarge`, `cache.r6g.8xlarge`, `cache.r6g.12xlarge`,
7991
+ # `cache.r6g.16xlarge`
7992
+ #
7388
7993
  # **R5 node types:** `cache.r5.large`, `cache.r5.xlarge`,
7389
7994
  # `cache.r5.2xlarge`, `cache.r5.4xlarge`, `cache.r5.12xlarge`,
7390
7995
  # `cache.r5.24xlarge`
@@ -7542,16 +8147,20 @@ module Aws::ElastiCache
7542
8147
  #
7543
8148
  # * Current generation:
7544
8149
  #
8150
+ # **M7g node types**: `cache.m7g.large`, `cache.m7g.xlarge`,
8151
+ # `cache.m7g.2xlarge`, `cache.m7g.4xlarge`, `cache.m7g.8xlarge`,
8152
+ # `cache.m7g.12xlarge`, `cache.m7g.16xlarge`
8153
+ #
8154
+ # <note markdown="1"> For region availability, see [Supported Node Types][1]
8155
+ #
8156
+ # </note>
8157
+ #
7545
8158
  # **M6g node types** (available only for Redis engine version
7546
8159
  # 5.0.6 onward and for Memcached engine version 1.5.16 onward):
7547
8160
  # `cache.m6g.large`, `cache.m6g.xlarge`, `cache.m6g.2xlarge`,
7548
8161
  # `cache.m6g.4xlarge`, `cache.m6g.8xlarge`, `cache.m6g.12xlarge`,
7549
8162
  # `cache.m6g.16xlarge`
7550
8163
  #
7551
- # <note markdown="1"> For region availability, see [Supported Node Types][1]
7552
- #
7553
- # </note>
7554
- #
7555
8164
  # **M5 node types:** `cache.m5.large`, `cache.m5.xlarge`,
7556
8165
  # `cache.m5.2xlarge`, `cache.m5.4xlarge`, `cache.m5.12xlarge`,
7557
8166
  # `cache.m5.24xlarge`
@@ -7593,17 +8202,20 @@ module Aws::ElastiCache
7593
8202
  #
7594
8203
  # * Current generation:
7595
8204
  #
7596
- # **R6g node types** (available only for Redis engine version
7597
- # 5.0.6 onward and for Memcached engine version 1.5.16 onward).
7598
- #
7599
- # `cache.r6g.large`, `cache.r6g.xlarge`, `cache.r6g.2xlarge`,
7600
- # `cache.r6g.4xlarge`, `cache.r6g.8xlarge`, `cache.r6g.12xlarge`,
7601
- # `cache.r6g.16xlarge`
8205
+ # **R7g node types**: `cache.r7g.large`, `cache.r7g.xlarge`,
8206
+ # `cache.r7g.2xlarge`, `cache.r7g.4xlarge`, `cache.r7g.8xlarge`,
8207
+ # `cache.r7g.12xlarge`, `cache.r7g.16xlarge`
7602
8208
  #
7603
8209
  # <note markdown="1"> For region availability, see [Supported Node Types][1]
7604
8210
  #
7605
8211
  # </note>
7606
8212
  #
8213
+ # **R6g node types** (available only for Redis engine version
8214
+ # 5.0.6 onward and for Memcached engine version 1.5.16 onward):
8215
+ # `cache.r6g.large`, `cache.r6g.xlarge`, `cache.r6g.2xlarge`,
8216
+ # `cache.r6g.4xlarge`, `cache.r6g.8xlarge`, `cache.r6g.12xlarge`,
8217
+ # `cache.r6g.16xlarge`
8218
+ #
7607
8219
  # **R5 node types:** `cache.r5.large`, `cache.r5.xlarge`,
7608
8220
  # `cache.r5.2xlarge`, `cache.r5.4xlarge`, `cache.r5.12xlarge`,
7609
8221
  # `cache.r5.24xlarge`
@@ -7839,6 +8451,242 @@ module Aws::ElastiCache
7839
8451
  include Aws::Structure
7840
8452
  end
7841
8453
 
8454
+ # The resource representing a serverless cache.
8455
+ #
8456
+ # @!attribute [rw] serverless_cache_name
8457
+ # The unique identifier of the serverless cache.
8458
+ # @return [String]
8459
+ #
8460
+ # @!attribute [rw] description
8461
+ # A description of the serverless cache.
8462
+ # @return [String]
8463
+ #
8464
+ # @!attribute [rw] create_time
8465
+ # When the serverless cache was created.
8466
+ # @return [Time]
8467
+ #
8468
+ # @!attribute [rw] status
8469
+ # The current status of the serverless cache. The allowed values are
8470
+ # CREATING, AVAILABLE, DELETING, CREATE-FAILED and MODIFYING.
8471
+ # @return [String]
8472
+ #
8473
+ # @!attribute [rw] engine
8474
+ # The engine the serverless cache is compatible with.
8475
+ # @return [String]
8476
+ #
8477
+ # @!attribute [rw] major_engine_version
8478
+ # The version number of the engine the serverless cache is compatible
8479
+ # with.
8480
+ # @return [String]
8481
+ #
8482
+ # @!attribute [rw] full_engine_version
8483
+ # The name and version number of the engine the serverless cache is
8484
+ # compatible with.
8485
+ # @return [String]
8486
+ #
8487
+ # @!attribute [rw] cache_usage_limits
8488
+ # The cache usage limit for the serverless cache.
8489
+ # @return [Types::CacheUsageLimits]
8490
+ #
8491
+ # @!attribute [rw] kms_key_id
8492
+ # The ID of the Amazon Web Services Key Management Service (KMS) key
8493
+ # that is used to encrypt data at rest in the serverless cache.
8494
+ # @return [String]
8495
+ #
8496
+ # @!attribute [rw] security_group_ids
8497
+ # The IDs of the EC2 security groups associated with the serverless
8498
+ # cache.
8499
+ # @return [Array<String>]
8500
+ #
8501
+ # @!attribute [rw] endpoint
8502
+ # Represents the information required for client programs to connect
8503
+ # to a cache node.
8504
+ # @return [Types::Endpoint]
8505
+ #
8506
+ # @!attribute [rw] reader_endpoint
8507
+ # Represents the information required for client programs to connect
8508
+ # to a cache node.
8509
+ # @return [Types::Endpoint]
8510
+ #
8511
+ # @!attribute [rw] arn
8512
+ # The Amazon Resource Name (ARN) of the serverless cache.
8513
+ # @return [String]
8514
+ #
8515
+ # @!attribute [rw] user_group_id
8516
+ # The identifier of the user group associated with the serverless
8517
+ # cache. Available for Redis only. Default is NULL.
8518
+ # @return [String]
8519
+ #
8520
+ # @!attribute [rw] subnet_ids
8521
+ # If no subnet IDs are given and your VPC is in SFO, then ElastiCache
8522
+ # will select 2 default subnets across AZs in your VPC. For all other
8523
+ # Regions, if no subnet IDs are given then ElastiCache will select 3
8524
+ # default subnets across AZs in your default VPC.
8525
+ # @return [Array<String>]
8526
+ #
8527
+ # @!attribute [rw] snapshot_retention_limit
8528
+ # The current setting for the number of serverless cache snapshots the
8529
+ # system will retain. Available for Redis only.
8530
+ # @return [Integer]
8531
+ #
8532
+ # @!attribute [rw] daily_snapshot_time
8533
+ # The daily time that a cache snapshot will be created. Default is
8534
+ # NULL, i.e. snapshots will not be created at a specific time on a
8535
+ # daily basis. Available for Redis only.
8536
+ # @return [String]
8537
+ #
8538
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ServerlessCache AWS API Documentation
8539
+ #
8540
+ class ServerlessCache < Struct.new(
8541
+ :serverless_cache_name,
8542
+ :description,
8543
+ :create_time,
8544
+ :status,
8545
+ :engine,
8546
+ :major_engine_version,
8547
+ :full_engine_version,
8548
+ :cache_usage_limits,
8549
+ :kms_key_id,
8550
+ :security_group_ids,
8551
+ :endpoint,
8552
+ :reader_endpoint,
8553
+ :arn,
8554
+ :user_group_id,
8555
+ :subnet_ids,
8556
+ :snapshot_retention_limit,
8557
+ :daily_snapshot_time)
8558
+ SENSITIVE = []
8559
+ include Aws::Structure
8560
+ end
8561
+
8562
+ # A serverless cache with this name already exists.
8563
+ #
8564
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ServerlessCacheAlreadyExistsFault AWS API Documentation
8565
+ #
8566
+ class ServerlessCacheAlreadyExistsFault < Aws::EmptyStructure; end
8567
+
8568
+ # The configuration settings for a specific serverless cache.
8569
+ #
8570
+ # @!attribute [rw] serverless_cache_name
8571
+ # The identifier of a serverless cache.
8572
+ # @return [String]
8573
+ #
8574
+ # @!attribute [rw] engine
8575
+ # The engine that the serverless cache is configured with.
8576
+ # @return [String]
8577
+ #
8578
+ # @!attribute [rw] major_engine_version
8579
+ # The engine version number that the serverless cache is configured
8580
+ # with.
8581
+ # @return [String]
8582
+ #
8583
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ServerlessCacheConfiguration AWS API Documentation
8584
+ #
8585
+ class ServerlessCacheConfiguration < Struct.new(
8586
+ :serverless_cache_name,
8587
+ :engine,
8588
+ :major_engine_version)
8589
+ SENSITIVE = []
8590
+ include Aws::Structure
8591
+ end
8592
+
8593
+ # The serverless cache was not found or does not exist.
8594
+ #
8595
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ServerlessCacheNotFoundFault AWS API Documentation
8596
+ #
8597
+ class ServerlessCacheNotFoundFault < Aws::EmptyStructure; end
8598
+
8599
+ # The number of serverless caches exceeds the customer quota.
8600
+ #
8601
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ServerlessCacheQuotaForCustomerExceededFault AWS API Documentation
8602
+ #
8603
+ class ServerlessCacheQuotaForCustomerExceededFault < Aws::EmptyStructure; end
8604
+
8605
+ # The resource representing a serverless cache snapshot. Available for
8606
+ # Redis only.
8607
+ #
8608
+ # @!attribute [rw] serverless_cache_snapshot_name
8609
+ # The identifier of a serverless cache snapshot. Available for Redis
8610
+ # only.
8611
+ # @return [String]
8612
+ #
8613
+ # @!attribute [rw] arn
8614
+ # The Amazon Resource Name (ARN) of a serverless cache snapshot.
8615
+ # Available for Redis only.
8616
+ # @return [String]
8617
+ #
8618
+ # @!attribute [rw] kms_key_id
8619
+ # The ID of the Amazon Web Services Key Management Service (KMS) key
8620
+ # of a serverless cache snapshot. Available for Redis only.
8621
+ # @return [String]
8622
+ #
8623
+ # @!attribute [rw] snapshot_type
8624
+ # The type of snapshot of serverless cache. Available for Redis only.
8625
+ # @return [String]
8626
+ #
8627
+ # @!attribute [rw] status
8628
+ # The current status of the serverless cache. Available for Redis
8629
+ # only.
8630
+ # @return [String]
8631
+ #
8632
+ # @!attribute [rw] create_time
8633
+ # The date and time that the source serverless cache's metadata and
8634
+ # cache data set was obtained for the snapshot. Available for Redis
8635
+ # only.
8636
+ # @return [Time]
8637
+ #
8638
+ # @!attribute [rw] expiry_time
8639
+ # The time that the serverless cache snapshot will expire. Available
8640
+ # for Redis only.
8641
+ # @return [Time]
8642
+ #
8643
+ # @!attribute [rw] bytes_used_for_cache
8644
+ # The total size of a serverless cache snapshot, in bytes. Available
8645
+ # for Redis only.
8646
+ # @return [String]
8647
+ #
8648
+ # @!attribute [rw] serverless_cache_configuration
8649
+ # The configuration of the serverless cache, at the time the snapshot
8650
+ # was taken. Available for Redis only.
8651
+ # @return [Types::ServerlessCacheConfiguration]
8652
+ #
8653
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ServerlessCacheSnapshot AWS API Documentation
8654
+ #
8655
+ class ServerlessCacheSnapshot < Struct.new(
8656
+ :serverless_cache_snapshot_name,
8657
+ :arn,
8658
+ :kms_key_id,
8659
+ :snapshot_type,
8660
+ :status,
8661
+ :create_time,
8662
+ :expiry_time,
8663
+ :bytes_used_for_cache,
8664
+ :serverless_cache_configuration)
8665
+ SENSITIVE = []
8666
+ include Aws::Structure
8667
+ end
8668
+
8669
+ # A serverless cache snapshot with this name already exists. Available
8670
+ # for Redis only.
8671
+ #
8672
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ServerlessCacheSnapshotAlreadyExistsFault AWS API Documentation
8673
+ #
8674
+ class ServerlessCacheSnapshotAlreadyExistsFault < Aws::EmptyStructure; end
8675
+
8676
+ # This serverless cache snapshot could not be found or does not exist.
8677
+ # Available for Redis only.
8678
+ #
8679
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ServerlessCacheSnapshotNotFoundFault AWS API Documentation
8680
+ #
8681
+ class ServerlessCacheSnapshotNotFoundFault < Aws::EmptyStructure; end
8682
+
8683
+ # The number of serverless cache snapshots exceeds the customer snapshot
8684
+ # quota. Available for Redis only.
8685
+ #
8686
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ServerlessCacheSnapshotQuotaExceededFault AWS API Documentation
8687
+ #
8688
+ class ServerlessCacheSnapshotQuotaExceededFault < Aws::EmptyStructure; end
8689
+
7842
8690
  # The specified service linked role (SLR) was not found.
7843
8691
  #
7844
8692
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ServiceLinkedRoleNotFoundFault AWS API Documentation
@@ -8007,16 +8855,20 @@ module Aws::ElastiCache
8007
8855
  #
8008
8856
  # * Current generation:
8009
8857
  #
8858
+ # **M7g node types**: `cache.m7g.large`, `cache.m7g.xlarge`,
8859
+ # `cache.m7g.2xlarge`, `cache.m7g.4xlarge`, `cache.m7g.8xlarge`,
8860
+ # `cache.m7g.12xlarge`, `cache.m7g.16xlarge`
8861
+ #
8862
+ # <note markdown="1"> For region availability, see [Supported Node Types][1]
8863
+ #
8864
+ # </note>
8865
+ #
8010
8866
  # **M6g node types** (available only for Redis engine version
8011
8867
  # 5.0.6 onward and for Memcached engine version 1.5.16 onward):
8012
8868
  # `cache.m6g.large`, `cache.m6g.xlarge`, `cache.m6g.2xlarge`,
8013
8869
  # `cache.m6g.4xlarge`, `cache.m6g.8xlarge`, `cache.m6g.12xlarge`,
8014
8870
  # `cache.m6g.16xlarge`
8015
8871
  #
8016
- # <note markdown="1"> For region availability, see [Supported Node Types][1]
8017
- #
8018
- # </note>
8019
- #
8020
8872
  # **M5 node types:** `cache.m5.large`, `cache.m5.xlarge`,
8021
8873
  # `cache.m5.2xlarge`, `cache.m5.4xlarge`, `cache.m5.12xlarge`,
8022
8874
  # `cache.m5.24xlarge`
@@ -8058,17 +8910,20 @@ module Aws::ElastiCache
8058
8910
  #
8059
8911
  # * Current generation:
8060
8912
  #
8061
- # **R6g node types** (available only for Redis engine version
8062
- # 5.0.6 onward and for Memcached engine version 1.5.16 onward).
8063
- #
8064
- # `cache.r6g.large`, `cache.r6g.xlarge`, `cache.r6g.2xlarge`,
8065
- # `cache.r6g.4xlarge`, `cache.r6g.8xlarge`, `cache.r6g.12xlarge`,
8066
- # `cache.r6g.16xlarge`
8913
+ # **R7g node types**: `cache.r7g.large`, `cache.r7g.xlarge`,
8914
+ # `cache.r7g.2xlarge`, `cache.r7g.4xlarge`, `cache.r7g.8xlarge`,
8915
+ # `cache.r7g.12xlarge`, `cache.r7g.16xlarge`
8067
8916
  #
8068
8917
  # <note markdown="1"> For region availability, see [Supported Node Types][1]
8069
8918
  #
8070
8919
  # </note>
8071
8920
  #
8921
+ # **R6g node types** (available only for Redis engine version
8922
+ # 5.0.6 onward and for Memcached engine version 1.5.16 onward):
8923
+ # `cache.r6g.large`, `cache.r6g.xlarge`, `cache.r6g.2xlarge`,
8924
+ # `cache.r6g.4xlarge`, `cache.r6g.8xlarge`, `cache.r6g.12xlarge`,
8925
+ # `cache.r6g.16xlarge`
8926
+ #
8072
8927
  # **R5 node types:** `cache.r5.large`, `cache.r5.xlarge`,
8073
8928
  # `cache.r5.2xlarge`, `cache.r5.4xlarge`, `cache.r5.12xlarge`,
8074
8929
  # `cache.r5.24xlarge`
@@ -8819,6 +9674,11 @@ module Aws::ElastiCache
8819
9674
  # A list of replication groups that the user group can access.
8820
9675
  # @return [Array<String>]
8821
9676
  #
9677
+ # @!attribute [rw] serverless_caches
9678
+ # Indicates which serverless caches the specified user group is
9679
+ # associated with. Available for Redis only.
9680
+ # @return [Array<String>]
9681
+ #
8822
9682
  # @!attribute [rw] arn
8823
9683
  # The Amazon Resource Name (ARN) of the user group.
8824
9684
  # @return [String]
@@ -8833,6 +9693,7 @@ module Aws::ElastiCache
8833
9693
  :minimum_engine_version,
8834
9694
  :pending_changes,
8835
9695
  :replication_groups,
9696
+ :serverless_caches,
8836
9697
  :arn)
8837
9698
  SENSITIVE = []
8838
9699
  include Aws::Structure