aws-sdk-elasticache 1.79.0 → 1.81.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d3146ae7ef46b48bd6baa863832e858f9826091c91a0508e804c74b6dd98ad06
4
- data.tar.gz: b444bcf1be4aceec6fc8c520572257eddceed98aeadddccd5346eec17642a95c
3
+ metadata.gz: 7a3248b4a28fd0f6d813e45406cc65f094137dc22cb1f3ae19218211b14a8153
4
+ data.tar.gz: 1d6a9ff4e6bb0fd8e2b9b4c93bfd5c46a21a910e51b71c541fa3ae05e9053137
5
5
  SHA512:
6
- metadata.gz: e21be0e1707979199700a1d06abebbdb0311439cbf3f03384d72ac5f301e7b8f86a91f11fcad938df01712576080bdea4b91882fd2b4aea7443265266c0e45b6
7
- data.tar.gz: b25e49c64ad4b6e565ce88297e72ac2854fcd8c345550e6f0358db06e64c55746a2ee40125aaab4dab3a9d808be54adad03cef98ba1bb1a0a861befdb77ce58c
6
+ metadata.gz: '005383495c0cf2c1fc49ca0dd29c42e9ec1fdc008fbfa236be0b7433bbf8f667075fa722259afc6d1815255f7d89da7ddfc0c0a03d86e71f13cb6fb7ec6c8544'
7
+ data.tar.gz: 92ae3a7e5a7301191d69afe36397b8402dcada2081d5d2ae2b50f5faf57259354c375ed2654b50d0d91b3f84b3272993f808f3544aa26f51ef580df249231251
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.81.0 (2022-11-07)
5
+ ------------------
6
+
7
+ * Feature - Added support for IPv6 and dual stack for Memcached and Redis clusters. Customers can now launch new Redis and Memcached clusters with IPv6 and dual stack networking support.
8
+
9
+ 1.80.0 (2022-10-25)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.79.0 (2022-07-18)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.79.0
1
+ 1.81.0
@@ -30,7 +30,7 @@ require 'aws-sdk-core/plugins/http_checksum.rb'
30
30
  require 'aws-sdk-core/plugins/checksum_algorithm.rb'
31
31
  require 'aws-sdk-core/plugins/defaults_mode.rb'
32
32
  require 'aws-sdk-core/plugins/recursion_detection.rb'
33
- require 'aws-sdk-core/plugins/signature_v4.rb'
33
+ require 'aws-sdk-core/plugins/sign.rb'
34
34
  require 'aws-sdk-core/plugins/protocols/query.rb'
35
35
 
36
36
  Aws::Plugins::GlobalConfiguration.add_identifier(:elasticache)
@@ -79,8 +79,9 @@ module Aws::ElastiCache
79
79
  add_plugin(Aws::Plugins::ChecksumAlgorithm)
80
80
  add_plugin(Aws::Plugins::DefaultsMode)
81
81
  add_plugin(Aws::Plugins::RecursionDetection)
82
- add_plugin(Aws::Plugins::SignatureV4)
82
+ add_plugin(Aws::Plugins::Sign)
83
83
  add_plugin(Aws::Plugins::Protocols::Query)
84
+ add_plugin(Aws::ElastiCache::Plugins::Endpoints)
84
85
 
85
86
  # @overload initialize(options)
86
87
  # @param [Hash] options
@@ -287,6 +288,19 @@ module Aws::ElastiCache
287
288
  # ** Please note ** When response stubbing is enabled, no HTTP
288
289
  # requests are made, and retries are disabled.
289
290
  #
291
+ # @option options [Aws::TokenProvider] :token_provider
292
+ # A Bearer Token Provider. This can be an instance of any one of the
293
+ # following classes:
294
+ #
295
+ # * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
296
+ # tokens.
297
+ #
298
+ # * `Aws::SSOTokenProvider` - Used for loading tokens from AWS SSO using an
299
+ # access token generated from `aws login`.
300
+ #
301
+ # When `:token_provider` is not configured directly, the `Aws::TokenProviderChain`
302
+ # will be used to search for tokens configured for your profile in shared configuration files.
303
+ #
290
304
  # @option options [Boolean] :use_dualstack_endpoint
291
305
  # When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
292
306
  # will be used if available.
@@ -300,6 +314,9 @@ module Aws::ElastiCache
300
314
  # When `true`, request parameters are validated before
301
315
  # sending the request.
302
316
  #
317
+ # @option options [Aws::ElastiCache::EndpointProvider] :endpoint_provider
318
+ # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::ElastiCache::EndpointParameters`
319
+ #
303
320
  # @option options [URI::HTTP,String] :http_proxy A proxy to send
304
321
  # requests through. Formatted like 'http://proxy.com:123'.
305
322
  #
@@ -716,6 +733,8 @@ module Aws::ElastiCache
716
733
  # resp.replication_group.replication_group_create_time #=> Time
717
734
  # resp.replication_group.data_tiering #=> String, one of "enabled", "disabled"
718
735
  # resp.replication_group.auto_minor_version_upgrade #=> Boolean
736
+ # resp.replication_group.network_type #=> String, one of "ipv4", "ipv6", "dual_stack"
737
+ # resp.replication_group.ip_discovery #=> String, one of "ipv4", "ipv6"
719
738
  #
720
739
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CompleteMigration AWS API Documentation
721
740
  #
@@ -1313,12 +1332,31 @@ module Aws::ElastiCache
1313
1332
  #
1314
1333
  # @option params [Boolean] :transit_encryption_enabled
1315
1334
  # A flag that enables in-transit encryption when set to true. You cannot
1316
- # modify the value of `TransitEncryptionEnabled` after the cluster is
1335
+ # modify the value of TransitEncryptionEnabled after the cluster is
1317
1336
  # created. To enable in-transit encryption on a cluster you must set
1318
1337
  # `TransitEncryptionEnabled` to true when you create a cluster.
1319
1338
  #
1320
- # **Required:** Only available when creating a cache cluster in an
1321
- # Amazon VPC using Memcached version `1.6.12` or later.
1339
+ # Only available when creating a cache cluster in an Amazon VPC using
1340
+ # Memcached version 1.6.12 or later.
1341
+ #
1342
+ # @option params [String] :network_type
1343
+ # Must be either `ipv4` \| `ipv6` \| `dual_stack`. IPv6 is supported for
1344
+ # workloads using Redis engine version 6.2 onward or Memcached engine
1345
+ # version 1.6.6 on all instances built on the [Nitro system][1].
1346
+ #
1347
+ #
1348
+ #
1349
+ # [1]: https://aws.amazon.com/ec2/nitro/
1350
+ #
1351
+ # @option params [String] :ip_discovery
1352
+ # The network type you choose when modifying a cluster, either `ipv4` \|
1353
+ # `ipv6`. IPv6 is supported for workloads using Redis engine version 6.2
1354
+ # onward or Memcached engine version 1.6.6 on all instances built on the
1355
+ # [Nitro system][1].
1356
+ #
1357
+ #
1358
+ #
1359
+ # [1]: https://aws.amazon.com/ec2/nitro/
1322
1360
  #
1323
1361
  # @return [Types::CreateCacheClusterResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1324
1362
  #
@@ -1464,6 +1502,8 @@ module Aws::ElastiCache
1464
1502
  # },
1465
1503
  # ],
1466
1504
  # transit_encryption_enabled: false,
1505
+ # network_type: "ipv4", # accepts ipv4, ipv6, dual_stack
1506
+ # ip_discovery: "ipv4", # accepts ipv4, ipv6
1467
1507
  # })
1468
1508
  #
1469
1509
  # @example Response structure
@@ -1534,6 +1574,8 @@ module Aws::ElastiCache
1534
1574
  # resp.cache_cluster.log_delivery_configurations[0].log_format #=> String, one of "text", "json"
1535
1575
  # resp.cache_cluster.log_delivery_configurations[0].status #=> String, one of "active", "enabling", "modifying", "disabling", "error"
1536
1576
  # resp.cache_cluster.log_delivery_configurations[0].message #=> String
1577
+ # resp.cache_cluster.network_type #=> String, one of "ipv4", "ipv6", "dual_stack"
1578
+ # resp.cache_cluster.ip_discovery #=> String, one of "ipv4", "ipv6"
1537
1579
  #
1538
1580
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateCacheCluster AWS API Documentation
1539
1581
  #
@@ -1809,7 +1851,11 @@ module Aws::ElastiCache
1809
1851
  # resp.cache_subnet_group.subnets[0].subnet_identifier #=> String
1810
1852
  # resp.cache_subnet_group.subnets[0].subnet_availability_zone.name #=> String
1811
1853
  # resp.cache_subnet_group.subnets[0].subnet_outpost.subnet_outpost_arn #=> String
1854
+ # resp.cache_subnet_group.subnets[0].supported_network_types #=> Array
1855
+ # resp.cache_subnet_group.subnets[0].supported_network_types[0] #=> String, one of "ipv4", "ipv6", "dual_stack"
1812
1856
  # resp.cache_subnet_group.arn #=> String
1857
+ # resp.cache_subnet_group.supported_network_types #=> Array
1858
+ # resp.cache_subnet_group.supported_network_types[0] #=> String, one of "ipv4", "ipv6", "dual_stack"
1813
1859
  #
1814
1860
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateCacheSubnetGroup AWS API Documentation
1815
1861
  #
@@ -2118,16 +2164,6 @@ module Aws::ElastiCache
2118
2164
  #
2119
2165
  # **C1 node types:** `cache.c1.xlarge`
2120
2166
  #
2121
- # * Memory optimized with data tiering:
2122
- #
2123
- # * Current generation:
2124
- #
2125
- # **R6gd node types** (available only for Redis engine version 6.2
2126
- # onward).
2127
- #
2128
- # `cache.r6gd.xlarge`, `cache.r6gd.2xlarge`, `cache.r6gd.4xlarge`,
2129
- # `cache.r6gd.8xlarge`, `cache.r6gd.12xlarge`, `cache.r6gd.16xlarge`
2130
- #
2131
2167
  # * Memory optimized:
2132
2168
  #
2133
2169
  # * Current generation:
@@ -2406,6 +2442,25 @@ module Aws::ElastiCache
2406
2442
  #
2407
2443
  # [1]: https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/data-tiering.html
2408
2444
  #
2445
+ # @option params [String] :network_type
2446
+ # Must be either `ipv4` \| `ipv6` \| `dual_stack`. IPv6 is supported for
2447
+ # workloads using Redis engine version 6.2 onward or Memcached engine
2448
+ # version 1.6.6 on all instances built on the [Nitro system][1].
2449
+ #
2450
+ #
2451
+ #
2452
+ # [1]: https://aws.amazon.com/ec2/nitro/
2453
+ #
2454
+ # @option params [String] :ip_discovery
2455
+ # The network type you choose when creating a replication group, either
2456
+ # `ipv4` \| `ipv6`. IPv6 is supported for workloads using Redis engine
2457
+ # version 6.2 onward or Memcached engine version 1.6.6 on all instances
2458
+ # built on the [Nitro system][1].
2459
+ #
2460
+ #
2461
+ #
2462
+ # [1]: https://aws.amazon.com/ec2/nitro/
2463
+ #
2409
2464
  # @return [Types::CreateReplicationGroupResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2410
2465
  #
2411
2466
  # * {Types::CreateReplicationGroupResult#replication_group #replication_group} => Types::ReplicationGroup
@@ -2568,6 +2623,8 @@ module Aws::ElastiCache
2568
2623
  # },
2569
2624
  # ],
2570
2625
  # data_tiering_enabled: false,
2626
+ # network_type: "ipv4", # accepts ipv4, ipv6, dual_stack
2627
+ # ip_discovery: "ipv4", # accepts ipv4, ipv6
2571
2628
  # })
2572
2629
  #
2573
2630
  # @example Response structure
@@ -2639,6 +2696,8 @@ module Aws::ElastiCache
2639
2696
  # resp.replication_group.replication_group_create_time #=> Time
2640
2697
  # resp.replication_group.data_tiering #=> String, one of "enabled", "disabled"
2641
2698
  # resp.replication_group.auto_minor_version_upgrade #=> Boolean
2699
+ # resp.replication_group.network_type #=> String, one of "ipv4", "ipv6", "dual_stack"
2700
+ # resp.replication_group.ip_discovery #=> String, one of "ipv4", "ipv6"
2642
2701
  #
2643
2702
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateReplicationGroup AWS API Documentation
2644
2703
  #
@@ -3233,6 +3292,8 @@ module Aws::ElastiCache
3233
3292
  # resp.replication_group.replication_group_create_time #=> Time
3234
3293
  # resp.replication_group.data_tiering #=> String, one of "enabled", "disabled"
3235
3294
  # resp.replication_group.auto_minor_version_upgrade #=> Boolean
3295
+ # resp.replication_group.network_type #=> String, one of "ipv4", "ipv6", "dual_stack"
3296
+ # resp.replication_group.ip_discovery #=> String, one of "ipv4", "ipv6"
3236
3297
  #
3237
3298
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DecreaseReplicaCount AWS API Documentation
3238
3299
  #
@@ -3394,6 +3455,8 @@ module Aws::ElastiCache
3394
3455
  # resp.cache_cluster.log_delivery_configurations[0].log_format #=> String, one of "text", "json"
3395
3456
  # resp.cache_cluster.log_delivery_configurations[0].status #=> String, one of "active", "enabling", "modifying", "disabling", "error"
3396
3457
  # resp.cache_cluster.log_delivery_configurations[0].message #=> String
3458
+ # resp.cache_cluster.network_type #=> String, one of "ipv4", "ipv6", "dual_stack"
3459
+ # resp.cache_cluster.ip_discovery #=> String, one of "ipv4", "ipv6"
3397
3460
  #
3398
3461
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteCacheCluster AWS API Documentation
3399
3462
  #
@@ -3723,6 +3786,8 @@ module Aws::ElastiCache
3723
3786
  # resp.replication_group.replication_group_create_time #=> Time
3724
3787
  # resp.replication_group.data_tiering #=> String, one of "enabled", "disabled"
3725
3788
  # resp.replication_group.auto_minor_version_upgrade #=> Boolean
3789
+ # resp.replication_group.network_type #=> String, one of "ipv4", "ipv6", "dual_stack"
3790
+ # resp.replication_group.ip_discovery #=> String, one of "ipv4", "ipv6"
3726
3791
  #
3727
3792
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteReplicationGroup AWS API Documentation
3728
3793
  #
@@ -4209,6 +4274,8 @@ module Aws::ElastiCache
4209
4274
  # resp.cache_clusters[0].log_delivery_configurations[0].log_format #=> String, one of "text", "json"
4210
4275
  # resp.cache_clusters[0].log_delivery_configurations[0].status #=> String, one of "active", "enabling", "modifying", "disabling", "error"
4211
4276
  # resp.cache_clusters[0].log_delivery_configurations[0].message #=> String
4277
+ # resp.cache_clusters[0].network_type #=> String, one of "ipv4", "ipv6", "dual_stack"
4278
+ # resp.cache_clusters[0].ip_discovery #=> String, one of "ipv4", "ipv6"
4212
4279
  #
4213
4280
  #
4214
4281
  # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
@@ -5205,7 +5272,11 @@ module Aws::ElastiCache
5205
5272
  # resp.cache_subnet_groups[0].subnets[0].subnet_identifier #=> String
5206
5273
  # resp.cache_subnet_groups[0].subnets[0].subnet_availability_zone.name #=> String
5207
5274
  # resp.cache_subnet_groups[0].subnets[0].subnet_outpost.subnet_outpost_arn #=> String
5275
+ # resp.cache_subnet_groups[0].subnets[0].supported_network_types #=> Array
5276
+ # resp.cache_subnet_groups[0].subnets[0].supported_network_types[0] #=> String, one of "ipv4", "ipv6", "dual_stack"
5208
5277
  # resp.cache_subnet_groups[0].arn #=> String
5278
+ # resp.cache_subnet_groups[0].supported_network_types #=> Array
5279
+ # resp.cache_subnet_groups[0].supported_network_types[0] #=> String, one of "ipv4", "ipv6", "dual_stack"
5209
5280
  #
5210
5281
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeCacheSubnetGroups AWS API Documentation
5211
5282
  #
@@ -6339,6 +6410,8 @@ module Aws::ElastiCache
6339
6410
  # resp.replication_groups[0].replication_group_create_time #=> Time
6340
6411
  # resp.replication_groups[0].data_tiering #=> String, one of "enabled", "disabled"
6341
6412
  # resp.replication_groups[0].auto_minor_version_upgrade #=> Boolean
6413
+ # resp.replication_groups[0].network_type #=> String, one of "ipv4", "ipv6", "dual_stack"
6414
+ # resp.replication_groups[0].ip_discovery #=> String, one of "ipv4", "ipv6"
6342
6415
  #
6343
6416
  #
6344
6417
  # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
@@ -6379,7 +6452,7 @@ module Aws::ElastiCache
6379
6452
  #
6380
6453
  # * Current generation:
6381
6454
  #
6382
- # **M6g node types:** (available only for Redis engine version 5.0.6
6455
+ # **M6g node types** (available only for Redis engine version 5.0.6
6383
6456
  # onward and for Memcached engine version 1.5.16 onward):
6384
6457
  # `cache.m6g.large`, `cache.m6g.xlarge`, `cache.m6g.2xlarge`,
6385
6458
  # `cache.m6g.4xlarge`, `cache.m6g.8xlarge`, `cache.m6g.12xlarge`,
@@ -6397,7 +6470,7 @@ module Aws::ElastiCache
6397
6470
  # `cache.m4.2xlarge`, `cache.m4.4xlarge`, `cache.m4.10xlarge`
6398
6471
  #
6399
6472
  # **T4g node types** (available only for Redis engine version 5.0.6
6400
- # onward and for Memcached engine version 1.5.16 onward):
6473
+ # onward and Memcached engine version 1.5.16 onward):
6401
6474
  # `cache.t4g.micro`, `cache.t4g.small`, `cache.t4g.medium`
6402
6475
  #
6403
6476
  # **T3 node types:** `cache.t3.micro`, `cache.t3.small`,
@@ -6426,16 +6499,6 @@ module Aws::ElastiCache
6426
6499
  #
6427
6500
  # **C1 node types:** `cache.c1.xlarge`
6428
6501
  #
6429
- # * Memory optimized with data tiering:
6430
- #
6431
- # * Current generation:
6432
- #
6433
- # **R6gd node types** (available only for Redis engine version 6.2
6434
- # onward).
6435
- #
6436
- # `cache.r6gd.xlarge`, `cache.r6gd.2xlarge`, `cache.r6gd.4xlarge`,
6437
- # `cache.r6gd.8xlarge`, `cache.r6gd.12xlarge`, `cache.r6gd.16xlarge`
6438
- #
6439
6502
  # * Memory optimized:
6440
6503
  #
6441
6504
  # * Current generation:
@@ -6601,8 +6664,8 @@ module Aws::ElastiCache
6601
6664
  #
6602
6665
  # * Current generation:
6603
6666
  #
6604
- # **M6g node types:** (available only for Redis engine version 5.0.6
6605
- # onward and for Memcached engine version 1.5.16 onward)
6667
+ # **M6g node types** (available only for Redis engine version 5.0.6
6668
+ # onward and for Memcached engine version 1.5.16 onward):
6606
6669
  # `cache.m6g.large`, `cache.m6g.xlarge`, `cache.m6g.2xlarge`,
6607
6670
  # `cache.m6g.4xlarge`, `cache.m6g.8xlarge`, `cache.m6g.12xlarge`,
6608
6671
  # `cache.m6g.16xlarge`
@@ -6619,7 +6682,7 @@ module Aws::ElastiCache
6619
6682
  # `cache.m4.2xlarge`, `cache.m4.4xlarge`, `cache.m4.10xlarge`
6620
6683
  #
6621
6684
  # **T4g node types** (available only for Redis engine version 5.0.6
6622
- # onward and for Memcached engine version 1.5.16 onward):
6685
+ # onward and Memcached engine version 1.5.16 onward):
6623
6686
  # `cache.t4g.micro`, `cache.t4g.small`, `cache.t4g.medium`
6624
6687
  #
6625
6688
  # **T3 node types:** `cache.t3.micro`, `cache.t3.small`,
@@ -6648,16 +6711,6 @@ module Aws::ElastiCache
6648
6711
  #
6649
6712
  # **C1 node types:** `cache.c1.xlarge`
6650
6713
  #
6651
- # * Memory optimized with data tiering:
6652
- #
6653
- # * Current generation:
6654
- #
6655
- # **R6gd node types** (available only for Redis engine version 6.2
6656
- # onward).
6657
- #
6658
- # `cache.r6gd.xlarge`, `cache.r6gd.2xlarge`, `cache.r6gd.4xlarge`,
6659
- # `cache.r6gd.8xlarge`, `cache.r6gd.12xlarge`, `cache.r6gd.16xlarge`
6660
- #
6661
6714
  # * Memory optimized:
6662
6715
  #
6663
6716
  # * Current generation:
@@ -7633,9 +7686,9 @@ module Aws::ElastiCache
7633
7686
  req.send_request(options)
7634
7687
  end
7635
7688
 
7636
- # Used to failover the primary region to a selected secondary region.
7637
- # The selected secondary region will become primary, and all other
7638
- # clusters will become secondary.
7689
+ # Used to failover the primary region to a secondary region. The
7690
+ # secondary region will become primary, and all other clusters will
7691
+ # become secondary.
7639
7692
  #
7640
7693
  # @option params [required, String] :global_replication_group_id
7641
7694
  # The name of the Global datastore
@@ -7879,6 +7932,8 @@ module Aws::ElastiCache
7879
7932
  # resp.replication_group.replication_group_create_time #=> Time
7880
7933
  # resp.replication_group.data_tiering #=> String, one of "enabled", "disabled"
7881
7934
  # resp.replication_group.auto_minor_version_upgrade #=> Boolean
7935
+ # resp.replication_group.network_type #=> String, one of "ipv4", "ipv6", "dual_stack"
7936
+ # resp.replication_group.ip_discovery #=> String, one of "ipv4", "ipv6"
7882
7937
  #
7883
7938
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/IncreaseReplicaCount AWS API Documentation
7884
7939
  #
@@ -8368,6 +8423,16 @@ module Aws::ElastiCache
8368
8423
  # @option params [Array<Types::LogDeliveryConfigurationRequest>] :log_delivery_configurations
8369
8424
  # Specifies the destination, format and type of the logs.
8370
8425
  #
8426
+ # @option params [String] :ip_discovery
8427
+ # The network type you choose when modifying a cluster, either `ipv4` \|
8428
+ # `ipv6`. IPv6 is supported for workloads using Redis engine version 6.2
8429
+ # onward or Memcached engine version 1.6.6 on all instances built on the
8430
+ # [Nitro system][1].
8431
+ #
8432
+ #
8433
+ #
8434
+ # [1]: https://aws.amazon.com/ec2/nitro/
8435
+ #
8371
8436
  # @return [Types::ModifyCacheClusterResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
8372
8437
  #
8373
8438
  # * {Types::ModifyCacheClusterResult#cache_cluster #cache_cluster} => Types::CacheCluster
@@ -8451,6 +8516,7 @@ module Aws::ElastiCache
8451
8516
  # enabled: false,
8452
8517
  # },
8453
8518
  # ],
8519
+ # ip_discovery: "ipv4", # accepts ipv4, ipv6
8454
8520
  # })
8455
8521
  #
8456
8522
  # @example Response structure
@@ -8521,6 +8587,8 @@ module Aws::ElastiCache
8521
8587
  # resp.cache_cluster.log_delivery_configurations[0].log_format #=> String, one of "text", "json"
8522
8588
  # resp.cache_cluster.log_delivery_configurations[0].status #=> String, one of "active", "enabling", "modifying", "disabling", "error"
8523
8589
  # resp.cache_cluster.log_delivery_configurations[0].message #=> String
8590
+ # resp.cache_cluster.network_type #=> String, one of "ipv4", "ipv6", "dual_stack"
8591
+ # resp.cache_cluster.ip_discovery #=> String, one of "ipv4", "ipv6"
8524
8592
  #
8525
8593
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ModifyCacheCluster AWS API Documentation
8526
8594
  #
@@ -8688,7 +8756,11 @@ module Aws::ElastiCache
8688
8756
  # resp.cache_subnet_group.subnets[0].subnet_identifier #=> String
8689
8757
  # resp.cache_subnet_group.subnets[0].subnet_availability_zone.name #=> String
8690
8758
  # resp.cache_subnet_group.subnets[0].subnet_outpost.subnet_outpost_arn #=> String
8759
+ # resp.cache_subnet_group.subnets[0].supported_network_types #=> Array
8760
+ # resp.cache_subnet_group.subnets[0].supported_network_types[0] #=> String, one of "ipv4", "ipv6", "dual_stack"
8691
8761
  # resp.cache_subnet_group.arn #=> String
8762
+ # resp.cache_subnet_group.supported_network_types #=> Array
8763
+ # resp.cache_subnet_group.supported_network_types[0] #=> String, one of "ipv4", "ipv6", "dual_stack"
8692
8764
  #
8693
8765
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ModifyCacheSubnetGroup AWS API Documentation
8694
8766
  #
@@ -8993,6 +9065,16 @@ module Aws::ElastiCache
8993
9065
  # @option params [Array<Types::LogDeliveryConfigurationRequest>] :log_delivery_configurations
8994
9066
  # Specifies the destination, format and type of the logs.
8995
9067
  #
9068
+ # @option params [String] :ip_discovery
9069
+ # The network type you choose when modifying a cluster, either `ipv4` \|
9070
+ # `ipv6`. IPv6 is supported for workloads using Redis engine version 6.2
9071
+ # onward or Memcached engine version 1.6.6 on all instances built on the
9072
+ # [Nitro system][1].
9073
+ #
9074
+ #
9075
+ #
9076
+ # [1]: https://aws.amazon.com/ec2/nitro/
9077
+ #
8996
9078
  # @return [Types::ModifyReplicationGroupResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
8997
9079
  #
8998
9080
  # * {Types::ModifyReplicationGroupResult#replication_group #replication_group} => Types::ReplicationGroup
@@ -9111,6 +9193,7 @@ module Aws::ElastiCache
9111
9193
  # enabled: false,
9112
9194
  # },
9113
9195
  # ],
9196
+ # ip_discovery: "ipv4", # accepts ipv4, ipv6
9114
9197
  # })
9115
9198
  #
9116
9199
  # @example Response structure
@@ -9182,6 +9265,8 @@ module Aws::ElastiCache
9182
9265
  # resp.replication_group.replication_group_create_time #=> Time
9183
9266
  # resp.replication_group.data_tiering #=> String, one of "enabled", "disabled"
9184
9267
  # resp.replication_group.auto_minor_version_upgrade #=> Boolean
9268
+ # resp.replication_group.network_type #=> String, one of "ipv4", "ipv6", "dual_stack"
9269
+ # resp.replication_group.ip_discovery #=> String, one of "ipv4", "ipv6"
9185
9270
  #
9186
9271
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ModifyReplicationGroup AWS API Documentation
9187
9272
  #
@@ -9327,6 +9412,8 @@ module Aws::ElastiCache
9327
9412
  # resp.replication_group.replication_group_create_time #=> Time
9328
9413
  # resp.replication_group.data_tiering #=> String, one of "enabled", "disabled"
9329
9414
  # resp.replication_group.auto_minor_version_upgrade #=> Boolean
9415
+ # resp.replication_group.network_type #=> String, one of "ipv4", "ipv6", "dual_stack"
9416
+ # resp.replication_group.ip_discovery #=> String, one of "ipv4", "ipv6"
9330
9417
  #
9331
9418
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ModifyReplicationGroupShardConfiguration AWS API Documentation
9332
9419
  #
@@ -9752,6 +9839,8 @@ module Aws::ElastiCache
9752
9839
  # resp.cache_cluster.log_delivery_configurations[0].log_format #=> String, one of "text", "json"
9753
9840
  # resp.cache_cluster.log_delivery_configurations[0].status #=> String, one of "active", "enabling", "modifying", "disabling", "error"
9754
9841
  # resp.cache_cluster.log_delivery_configurations[0].message #=> String
9842
+ # resp.cache_cluster.network_type #=> String, one of "ipv4", "ipv6", "dual_stack"
9843
+ # resp.cache_cluster.ip_discovery #=> String, one of "ipv4", "ipv6"
9755
9844
  #
9756
9845
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/RebootCacheCluster AWS API Documentation
9757
9846
  #
@@ -10077,6 +10166,8 @@ module Aws::ElastiCache
10077
10166
  # resp.replication_group.replication_group_create_time #=> Time
10078
10167
  # resp.replication_group.data_tiering #=> String, one of "enabled", "disabled"
10079
10168
  # resp.replication_group.auto_minor_version_upgrade #=> Boolean
10169
+ # resp.replication_group.network_type #=> String, one of "ipv4", "ipv6", "dual_stack"
10170
+ # resp.replication_group.ip_discovery #=> String, one of "ipv4", "ipv6"
10080
10171
  #
10081
10172
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/StartMigration AWS API Documentation
10082
10173
  #
@@ -10236,6 +10327,8 @@ module Aws::ElastiCache
10236
10327
  # resp.replication_group.replication_group_create_time #=> Time
10237
10328
  # resp.replication_group.data_tiering #=> String, one of "enabled", "disabled"
10238
10329
  # resp.replication_group.auto_minor_version_upgrade #=> Boolean
10330
+ # resp.replication_group.network_type #=> String, one of "ipv4", "ipv6", "dual_stack"
10331
+ # resp.replication_group.ip_discovery #=> String, one of "ipv4", "ipv6"
10239
10332
  #
10240
10333
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/TestFailover AWS API Documentation
10241
10334
  #
@@ -10259,7 +10352,7 @@ module Aws::ElastiCache
10259
10352
  params: params,
10260
10353
  config: config)
10261
10354
  context[:gem_name] = 'aws-sdk-elasticache'
10262
- context[:gem_version] = '1.79.0'
10355
+ context[:gem_version] = '1.81.0'
10263
10356
  Seahorse::Client::Request.new(handlers, context)
10264
10357
  end
10265
10358
 
@@ -200,6 +200,7 @@ module Aws::ElastiCache
200
200
  InvalidUserGroupStateFault = Shapes::StructureShape.new(name: 'InvalidUserGroupStateFault')
201
201
  InvalidUserStateFault = Shapes::StructureShape.new(name: 'InvalidUserStateFault')
202
202
  InvalidVPCNetworkStateFault = Shapes::StructureShape.new(name: 'InvalidVPCNetworkStateFault')
203
+ IpDiscovery = Shapes::StringShape.new(name: 'IpDiscovery')
203
204
  KeyList = Shapes::ListShape.new(name: 'KeyList')
204
205
  KinesisFirehoseDestinationDetails = Shapes::StructureShape.new(name: 'KinesisFirehoseDestinationDetails')
205
206
  ListAllowedNodeTypeModificationsMessage = Shapes::StructureShape.new(name: 'ListAllowedNodeTypeModificationsMessage')
@@ -225,6 +226,8 @@ module Aws::ElastiCache
225
226
  ModifyUserGroupMessage = Shapes::StructureShape.new(name: 'ModifyUserGroupMessage')
226
227
  ModifyUserMessage = Shapes::StructureShape.new(name: 'ModifyUserMessage')
227
228
  MultiAZStatus = Shapes::StringShape.new(name: 'MultiAZStatus')
229
+ NetworkType = Shapes::StringShape.new(name: 'NetworkType')
230
+ NetworkTypeList = Shapes::ListShape.new(name: 'NetworkTypeList')
228
231
  NoOperationFault = Shapes::StructureShape.new(name: 'NoOperationFault')
229
232
  NodeGroup = Shapes::StructureShape.new(name: 'NodeGroup')
230
233
  NodeGroupConfiguration = Shapes::StructureShape.new(name: 'NodeGroupConfiguration')
@@ -443,6 +446,8 @@ module Aws::ElastiCache
443
446
  CacheCluster.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "ARN"))
444
447
  CacheCluster.add_member(:replication_group_log_delivery_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "ReplicationGroupLogDeliveryEnabled"))
445
448
  CacheCluster.add_member(:log_delivery_configurations, Shapes::ShapeRef.new(shape: LogDeliveryConfigurationList, location_name: "LogDeliveryConfigurations"))
449
+ CacheCluster.add_member(:network_type, Shapes::ShapeRef.new(shape: NetworkType, location_name: "NetworkType"))
450
+ CacheCluster.add_member(:ip_discovery, Shapes::ShapeRef.new(shape: IpDiscovery, location_name: "IpDiscovery"))
446
451
  CacheCluster.struct_class = Types::CacheCluster
447
452
 
448
453
  CacheClusterAlreadyExistsFault.struct_class = Types::CacheClusterAlreadyExistsFault
@@ -579,6 +584,7 @@ module Aws::ElastiCache
579
584
  CacheSubnetGroup.add_member(:vpc_id, Shapes::ShapeRef.new(shape: String, location_name: "VpcId"))
580
585
  CacheSubnetGroup.add_member(:subnets, Shapes::ShapeRef.new(shape: SubnetList, location_name: "Subnets"))
581
586
  CacheSubnetGroup.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "ARN"))
587
+ CacheSubnetGroup.add_member(:supported_network_types, Shapes::ShapeRef.new(shape: NetworkTypeList, location_name: "SupportedNetworkTypes"))
582
588
  CacheSubnetGroup.struct_class = Types::CacheSubnetGroup
583
589
 
584
590
  CacheSubnetGroupAlreadyExistsFault.struct_class = Types::CacheSubnetGroupAlreadyExistsFault
@@ -655,6 +661,8 @@ module Aws::ElastiCache
655
661
  CreateCacheClusterMessage.add_member(:preferred_outpost_arns, Shapes::ShapeRef.new(shape: PreferredOutpostArnList, location_name: "PreferredOutpostArns"))
656
662
  CreateCacheClusterMessage.add_member(:log_delivery_configurations, Shapes::ShapeRef.new(shape: LogDeliveryConfigurationRequestList, location_name: "LogDeliveryConfigurations"))
657
663
  CreateCacheClusterMessage.add_member(:transit_encryption_enabled, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "TransitEncryptionEnabled"))
664
+ CreateCacheClusterMessage.add_member(:network_type, Shapes::ShapeRef.new(shape: NetworkType, location_name: "NetworkType"))
665
+ CreateCacheClusterMessage.add_member(:ip_discovery, Shapes::ShapeRef.new(shape: IpDiscovery, location_name: "IpDiscovery"))
658
666
  CreateCacheClusterMessage.struct_class = Types::CreateCacheClusterMessage
659
667
 
660
668
  CreateCacheClusterResult.add_member(:cache_cluster, Shapes::ShapeRef.new(shape: CacheCluster, location_name: "CacheCluster"))
@@ -728,6 +736,8 @@ module Aws::ElastiCache
728
736
  CreateReplicationGroupMessage.add_member(:user_group_ids, Shapes::ShapeRef.new(shape: UserGroupIdListInput, location_name: "UserGroupIds"))
729
737
  CreateReplicationGroupMessage.add_member(:log_delivery_configurations, Shapes::ShapeRef.new(shape: LogDeliveryConfigurationRequestList, location_name: "LogDeliveryConfigurations"))
730
738
  CreateReplicationGroupMessage.add_member(:data_tiering_enabled, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "DataTieringEnabled"))
739
+ CreateReplicationGroupMessage.add_member(:network_type, Shapes::ShapeRef.new(shape: NetworkType, location_name: "NetworkType"))
740
+ CreateReplicationGroupMessage.add_member(:ip_discovery, Shapes::ShapeRef.new(shape: IpDiscovery, location_name: "IpDiscovery"))
731
741
  CreateReplicationGroupMessage.struct_class = Types::CreateReplicationGroupMessage
732
742
 
733
743
  CreateReplicationGroupResult.add_member(:replication_group, Shapes::ShapeRef.new(shape: ReplicationGroup, location_name: "ReplicationGroup"))
@@ -1171,6 +1181,7 @@ module Aws::ElastiCache
1171
1181
  ModifyCacheClusterMessage.add_member(:auth_token, Shapes::ShapeRef.new(shape: String, location_name: "AuthToken"))
1172
1182
  ModifyCacheClusterMessage.add_member(:auth_token_update_strategy, Shapes::ShapeRef.new(shape: AuthTokenUpdateStrategyType, location_name: "AuthTokenUpdateStrategy"))
1173
1183
  ModifyCacheClusterMessage.add_member(:log_delivery_configurations, Shapes::ShapeRef.new(shape: LogDeliveryConfigurationRequestList, location_name: "LogDeliveryConfigurations"))
1184
+ ModifyCacheClusterMessage.add_member(:ip_discovery, Shapes::ShapeRef.new(shape: IpDiscovery, location_name: "IpDiscovery"))
1174
1185
  ModifyCacheClusterMessage.struct_class = Types::ModifyCacheClusterMessage
1175
1186
 
1176
1187
  ModifyCacheClusterResult.add_member(:cache_cluster, Shapes::ShapeRef.new(shape: CacheCluster, location_name: "CacheCluster"))
@@ -1225,6 +1236,7 @@ module Aws::ElastiCache
1225
1236
  ModifyReplicationGroupMessage.add_member(:user_group_ids_to_remove, Shapes::ShapeRef.new(shape: UserGroupIdList, location_name: "UserGroupIdsToRemove"))
1226
1237
  ModifyReplicationGroupMessage.add_member(:remove_user_groups, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "RemoveUserGroups"))
1227
1238
  ModifyReplicationGroupMessage.add_member(:log_delivery_configurations, Shapes::ShapeRef.new(shape: LogDeliveryConfigurationRequestList, location_name: "LogDeliveryConfigurations"))
1239
+ ModifyReplicationGroupMessage.add_member(:ip_discovery, Shapes::ShapeRef.new(shape: IpDiscovery, location_name: "IpDiscovery"))
1228
1240
  ModifyReplicationGroupMessage.struct_class = Types::ModifyReplicationGroupMessage
1229
1241
 
1230
1242
  ModifyReplicationGroupResult.add_member(:replication_group, Shapes::ShapeRef.new(shape: ReplicationGroup, location_name: "ReplicationGroup"))
@@ -1253,6 +1265,8 @@ module Aws::ElastiCache
1253
1265
  ModifyUserMessage.add_member(:no_password_required, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "NoPasswordRequired"))
1254
1266
  ModifyUserMessage.struct_class = Types::ModifyUserMessage
1255
1267
 
1268
+ NetworkTypeList.member = Shapes::ShapeRef.new(shape: NetworkType)
1269
+
1256
1270
  NoOperationFault.struct_class = Types::NoOperationFault
1257
1271
 
1258
1272
  NodeGroup.add_member(:node_group_id, Shapes::ShapeRef.new(shape: String, location_name: "NodeGroupId"))
@@ -1456,6 +1470,8 @@ module Aws::ElastiCache
1456
1470
  ReplicationGroup.add_member(:replication_group_create_time, Shapes::ShapeRef.new(shape: TStamp, location_name: "ReplicationGroupCreateTime"))
1457
1471
  ReplicationGroup.add_member(:data_tiering, Shapes::ShapeRef.new(shape: DataTieringStatus, location_name: "DataTiering"))
1458
1472
  ReplicationGroup.add_member(:auto_minor_version_upgrade, Shapes::ShapeRef.new(shape: Boolean, location_name: "AutoMinorVersionUpgrade"))
1473
+ ReplicationGroup.add_member(:network_type, Shapes::ShapeRef.new(shape: NetworkType, location_name: "NetworkType"))
1474
+ ReplicationGroup.add_member(:ip_discovery, Shapes::ShapeRef.new(shape: IpDiscovery, location_name: "IpDiscovery"))
1459
1475
  ReplicationGroup.struct_class = Types::ReplicationGroup
1460
1476
 
1461
1477
  ReplicationGroupAlreadyExistsFault.struct_class = Types::ReplicationGroupAlreadyExistsFault
@@ -1640,6 +1656,7 @@ module Aws::ElastiCache
1640
1656
  Subnet.add_member(:subnet_identifier, Shapes::ShapeRef.new(shape: String, location_name: "SubnetIdentifier"))
1641
1657
  Subnet.add_member(:subnet_availability_zone, Shapes::ShapeRef.new(shape: AvailabilityZone, location_name: "SubnetAvailabilityZone"))
1642
1658
  Subnet.add_member(:subnet_outpost, Shapes::ShapeRef.new(shape: SubnetOutpost, location_name: "SubnetOutpost"))
1659
+ Subnet.add_member(:supported_network_types, Shapes::ShapeRef.new(shape: NetworkTypeList, location_name: "SupportedNetworkTypes"))
1643
1660
  Subnet.struct_class = Types::Subnet
1644
1661
 
1645
1662
  SubnetIdentifierList.member = Shapes::ShapeRef.new(shape: String, location_name: "SubnetIdentifier")
@@ -0,0 +1,66 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::ElastiCache
11
+ # Endpoint parameters used to influence endpoints per request.
12
+ #
13
+ # @!attribute region
14
+ # The AWS region used to dispatch the request.
15
+ #
16
+ # @return [String]
17
+ #
18
+ # @!attribute use_dual_stack
19
+ # When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
20
+ #
21
+ # @return [Boolean]
22
+ #
23
+ # @!attribute use_fips
24
+ # When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.
25
+ #
26
+ # @return [Boolean]
27
+ #
28
+ # @!attribute endpoint
29
+ # Override the endpoint used to send this request
30
+ #
31
+ # @return [String]
32
+ #
33
+ EndpointParameters = Struct.new(
34
+ :region,
35
+ :use_dual_stack,
36
+ :use_fips,
37
+ :endpoint,
38
+ ) do
39
+ include Aws::Structure
40
+
41
+ # @api private
42
+ class << self
43
+ PARAM_MAP = {
44
+ 'Region' => :region,
45
+ 'UseDualStack' => :use_dual_stack,
46
+ 'UseFIPS' => :use_fips,
47
+ 'Endpoint' => :endpoint,
48
+ }.freeze
49
+ end
50
+
51
+ def initialize(options = {})
52
+ self[:region] = options[:region]
53
+ self[:use_dual_stack] = options[:use_dual_stack]
54
+ self[:use_dual_stack] = false if self[:use_dual_stack].nil?
55
+ if self[:use_dual_stack].nil?
56
+ raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
57
+ end
58
+ self[:use_fips] = options[:use_fips]
59
+ self[:use_fips] = false if self[:use_fips].nil?
60
+ if self[:use_fips].nil?
61
+ raise ArgumentError, "Missing required EndpointParameter: :use_fips"
62
+ end
63
+ self[:endpoint] = options[:endpoint]
64
+ end
65
+ end
66
+ end