aws-sdk-elasticache 1.54.0 → 1.58.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: d15421977620dfa62151737ab967278aa5b7e1a859b1962088cb02057647f622
4
- data.tar.gz: 7797a13be455dd2b8212cf797d0f0d8e3d0783bcbd1d307b344e0977c2178383
3
+ metadata.gz: 544111768a86f40a061a64b33145fdefc1607f186e5eb0eabb017eb81d0189ab
4
+ data.tar.gz: bef30d2ada54cfe81c92194983e5f00a435ed71068e8135587fd98586ee780f9
5
5
  SHA512:
6
- metadata.gz: d6f559b0578336d3e9cc052088696bc3fa393b7dd568a73a131b4f95948061acdbacb8bd37cb06aecfaa51fb6ea27a8c2cb1b83677534678369e2601386cc20a
7
- data.tar.gz: 6c618b57c9ae8b4efb149809f70c8a2d5a531c94b984f411d69195e77c7c2e1bce2cc1d0461bf3bdc965fdd279adb7bbd004fb7cc28fe041bef4ad06d2f91e53
6
+ metadata.gz: 9611d55f41070dba16092ebd4ed637d5983de326fef3bc259f15f99b8694664e4f49c72fce7a48b9c2723dfa3a326efd18d275e33843946cdba702050665eb49
7
+ data.tar.gz: 79e86ca93d339dc9358f826b23132b207a301cd665a647425682c37fe52c16ee39df7fbb6c24efb5a51b1b8edcddb163aa9eb771e83d30e742221d216ff4bc97
data/CHANGELOG.md CHANGED
@@ -1,6 +1,26 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.58.0 (2021-07-28)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.57.0 (2021-05-17)
10
+ ------------------
11
+
12
+ * Feature - Documentation updates for elasticache
13
+
14
+ 1.56.0 (2021-04-22)
15
+ ------------------
16
+
17
+ * Feature - This release introduces log delivery of Redis slow log from Amazon ElastiCache.
18
+
19
+ 1.55.0 (2021-04-07)
20
+ ------------------
21
+
22
+ * Feature - This release adds tagging support for all AWS ElastiCache resources except Global Replication Groups.
23
+
4
24
  1.54.0 (2021-03-10)
5
25
  ------------------
6
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.54.0
1
+ 1.58.0
@@ -49,6 +49,6 @@ require_relative 'aws-sdk-elasticache/customizations'
49
49
  # @!group service
50
50
  module Aws::ElastiCache
51
51
 
52
- GEM_VERSION = '1.54.0'
52
+ GEM_VERSION = '1.58.0'
53
53
 
54
54
  end
@@ -327,22 +327,27 @@ module Aws::ElastiCache
327
327
 
328
328
  # @!group API Operations
329
329
 
330
- # Adds up to 50 cost allocation tags to the named resource. A cost
331
- # allocation tag is a key-value pair where the key and value are
332
- # case-sensitive. You can use cost allocation tags to categorize and
333
- # track your AWS costs.
330
+ # A tag is a key-value pair where the key and value are case-sensitive.
331
+ # You can use tags to categorize and track all your ElastiCache
332
+ # resources, with the exception of global replication group. When you
333
+ # add or remove tags on replication groups, those actions will be
334
+ # replicated to all nodes in the replication group. For more
335
+ # information, see [Resource-level permissions][1].
334
336
  #
335
- # When you apply tags to your ElastiCache resources, AWS generates a
336
- # cost allocation report as a comma-separated value (CSV) file with your
337
- # usage and costs aggregated by your tags. You can apply tags that
338
- # represent business categories (such as cost centers, application
339
- # names, or owners) to organize your costs across multiple services. For
340
- # more information, see [Using Cost Allocation Tags in Amazon
341
- # ElastiCache][1] in the *ElastiCache User Guide*.
337
+ # For example, you can use cost-allocation tags to your ElastiCache
338
+ # resources, AWS generates a cost allocation report as a comma-separated
339
+ # value (CSV) file with your usage and costs aggregated by your tags.
340
+ # You can apply tags that represent business categories (such as cost
341
+ # centers, application names, or owners) to organize your costs across
342
+ # multiple services.
342
343
  #
344
+ # For more information, see [Using Cost Allocation Tags in Amazon
345
+ # ElastiCache][2] in the *ElastiCache User Guide*.
343
346
  #
344
347
  #
345
- # [1]: https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/Tagging.html
348
+ #
349
+ # [1]: http://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/IAM.ResourceLevelPermissions.html
350
+ # [2]: https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/Tagging.html
346
351
  #
347
352
  # @option params [required, String] :resource_name
348
353
  # The Amazon Resource Name (ARN) of the resource to which the tags are
@@ -359,8 +364,9 @@ module Aws::ElastiCache
359
364
  # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
360
365
  #
361
366
  # @option params [required, Array<Types::Tag>] :tags
362
- # A list of cost allocation tags to be added to this resource. A tag is
363
- # a key-value pair. A tag key must be accompanied by a tag value.
367
+ # A list of tags to be added to this resource. A tag is a key-value
368
+ # pair. A tag key must be accompanied by a tag value, although null is
369
+ # accepted.
364
370
  #
365
371
  # @return [Types::TagListMessage] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
366
372
  #
@@ -632,6 +638,12 @@ module Aws::ElastiCache
632
638
  # resp.replication_group.pending_modified_values.user_groups.user_group_ids_to_add[0] #=> String
633
639
  # resp.replication_group.pending_modified_values.user_groups.user_group_ids_to_remove #=> Array
634
640
  # resp.replication_group.pending_modified_values.user_groups.user_group_ids_to_remove[0] #=> String
641
+ # resp.replication_group.pending_modified_values.log_delivery_configurations #=> Array
642
+ # resp.replication_group.pending_modified_values.log_delivery_configurations[0].log_type #=> String, one of "slow-log"
643
+ # resp.replication_group.pending_modified_values.log_delivery_configurations[0].destination_type #=> String, one of "cloudwatch-logs", "kinesis-firehose"
644
+ # resp.replication_group.pending_modified_values.log_delivery_configurations[0].destination_details.cloud_watch_logs_details.log_group #=> String
645
+ # resp.replication_group.pending_modified_values.log_delivery_configurations[0].destination_details.kinesis_firehose_details.delivery_stream #=> String
646
+ # resp.replication_group.pending_modified_values.log_delivery_configurations[0].log_format #=> String, one of "text", "json"
635
647
  # resp.replication_group.member_clusters #=> Array
636
648
  # resp.replication_group.member_clusters[0] #=> String
637
649
  # resp.replication_group.node_groups #=> Array
@@ -669,6 +681,14 @@ module Aws::ElastiCache
669
681
  # resp.replication_group.arn #=> String
670
682
  # resp.replication_group.user_group_ids #=> Array
671
683
  # resp.replication_group.user_group_ids[0] #=> String
684
+ # resp.replication_group.log_delivery_configurations #=> Array
685
+ # resp.replication_group.log_delivery_configurations[0].log_type #=> String, one of "slow-log"
686
+ # resp.replication_group.log_delivery_configurations[0].destination_type #=> String, one of "cloudwatch-logs", "kinesis-firehose"
687
+ # resp.replication_group.log_delivery_configurations[0].destination_details.cloud_watch_logs_details.log_group #=> String
688
+ # resp.replication_group.log_delivery_configurations[0].destination_details.kinesis_firehose_details.delivery_stream #=> String
689
+ # resp.replication_group.log_delivery_configurations[0].log_format #=> String, one of "text", "json"
690
+ # resp.replication_group.log_delivery_configurations[0].status #=> String, one of "active", "enabling", "modifying", "disabling", "error"
691
+ # resp.replication_group.log_delivery_configurations[0].message #=> String
672
692
  #
673
693
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CompleteMigration AWS API Documentation
674
694
  #
@@ -779,12 +799,17 @@ module Aws::ElastiCache
779
799
  #
780
800
  #
781
801
  #
782
- # [1]: http://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/backups-exporting.html#backups-exporting-grant-access
783
- # [2]: https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/Snapshots.Exporting.html
802
+ # [1]: https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/backups-exporting.html#backups-exporting-grant-access
803
+ # [2]: https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/backups-exporting.html
784
804
  #
785
805
  # @option params [String] :kms_key_id
786
806
  # The ID of the KMS key used to encrypt the target snapshot.
787
807
  #
808
+ # @option params [Array<Types::Tag>] :tags
809
+ # A list of tags to be added to this resource. A tag is a key-value
810
+ # pair. A tag key must be accompanied by a tag value, although null is
811
+ # accepted.
812
+ #
788
813
  # @return [Types::CopySnapshotResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
789
814
  #
790
815
  # * {Types::CopySnapshotResult#snapshot #snapshot} => Types::Snapshot
@@ -839,6 +864,12 @@ module Aws::ElastiCache
839
864
  # target_snapshot_name: "String", # required
840
865
  # target_bucket: "String",
841
866
  # kms_key_id: "String",
867
+ # tags: [
868
+ # {
869
+ # key: "String",
870
+ # value: "String",
871
+ # },
872
+ # ],
842
873
  # })
843
874
  #
844
875
  # @example Response structure
@@ -972,9 +1003,9 @@ module Aws::ElastiCache
972
1003
  # The initial number of cache nodes that the cluster has.
973
1004
  #
974
1005
  # For clusters running Redis, this value must be 1. For clusters running
975
- # Memcached, this value must be between 1 and 20.
1006
+ # Memcached, this value must be between 1 and 40.
976
1007
  #
977
- # If you need more than 20 nodes for your Memcached cluster, please fill
1008
+ # If you need more than 40 nodes for your Memcached cluster, please fill
978
1009
  # out the ElastiCache Limit Increase Request form at
979
1010
  # [http://aws.amazon.com/contact-us/elasticache-node-limit-request/][1].
980
1011
  #
@@ -1137,7 +1168,7 @@ module Aws::ElastiCache
1137
1168
  # Virtual Private Cloud (Amazon VPC).
1138
1169
  #
1139
1170
  # @option params [Array<Types::Tag>] :tags
1140
- # A list of cost allocation tags to be added to this resource.
1171
+ # A list of tags to be added to this resource.
1141
1172
  #
1142
1173
  # @option params [Array<String>] :snapshot_arns
1143
1174
  # A single-element string list containing an Amazon Resource Name (ARN)
@@ -1238,6 +1269,9 @@ module Aws::ElastiCache
1238
1269
  # @option params [Array<String>] :preferred_outpost_arns
1239
1270
  # The outpost ARNs in which the cache cluster is created.
1240
1271
  #
1272
+ # @option params [Array<Types::LogDeliveryConfigurationRequest>] :log_delivery_configurations
1273
+ # Specifies the destination, format and type of the logs.
1274
+ #
1241
1275
  # @return [Types::CreateCacheClusterResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1242
1276
  #
1243
1277
  # * {Types::CreateCacheClusterResult#cache_cluster #cache_cluster} => Types::CacheCluster
@@ -1365,6 +1399,22 @@ module Aws::ElastiCache
1365
1399
  # outpost_mode: "single-outpost", # accepts single-outpost, cross-outpost
1366
1400
  # preferred_outpost_arn: "String",
1367
1401
  # preferred_outpost_arns: ["String"],
1402
+ # log_delivery_configurations: [
1403
+ # {
1404
+ # log_type: "slow-log", # accepts slow-log
1405
+ # destination_type: "cloudwatch-logs", # accepts cloudwatch-logs, kinesis-firehose
1406
+ # destination_details: {
1407
+ # cloud_watch_logs_details: {
1408
+ # log_group: "String",
1409
+ # },
1410
+ # kinesis_firehose_details: {
1411
+ # delivery_stream: "String",
1412
+ # },
1413
+ # },
1414
+ # log_format: "text", # accepts text, json
1415
+ # enabled: false,
1416
+ # },
1417
+ # ],
1368
1418
  # })
1369
1419
  #
1370
1420
  # @example Response structure
@@ -1388,6 +1438,12 @@ module Aws::ElastiCache
1388
1438
  # resp.cache_cluster.pending_modified_values.engine_version #=> String
1389
1439
  # resp.cache_cluster.pending_modified_values.cache_node_type #=> String
1390
1440
  # resp.cache_cluster.pending_modified_values.auth_token_status #=> String, one of "SETTING", "ROTATING"
1441
+ # resp.cache_cluster.pending_modified_values.log_delivery_configurations #=> Array
1442
+ # resp.cache_cluster.pending_modified_values.log_delivery_configurations[0].log_type #=> String, one of "slow-log"
1443
+ # resp.cache_cluster.pending_modified_values.log_delivery_configurations[0].destination_type #=> String, one of "cloudwatch-logs", "kinesis-firehose"
1444
+ # resp.cache_cluster.pending_modified_values.log_delivery_configurations[0].destination_details.cloud_watch_logs_details.log_group #=> String
1445
+ # resp.cache_cluster.pending_modified_values.log_delivery_configurations[0].destination_details.kinesis_firehose_details.delivery_stream #=> String
1446
+ # resp.cache_cluster.pending_modified_values.log_delivery_configurations[0].log_format #=> String, one of "text", "json"
1391
1447
  # resp.cache_cluster.notification_configuration.topic_arn #=> String
1392
1448
  # resp.cache_cluster.notification_configuration.topic_status #=> String
1393
1449
  # resp.cache_cluster.cache_security_groups #=> Array
@@ -1420,6 +1476,15 @@ module Aws::ElastiCache
1420
1476
  # resp.cache_cluster.transit_encryption_enabled #=> Boolean
1421
1477
  # resp.cache_cluster.at_rest_encryption_enabled #=> Boolean
1422
1478
  # resp.cache_cluster.arn #=> String
1479
+ # resp.cache_cluster.replication_group_log_delivery_enabled #=> Boolean
1480
+ # resp.cache_cluster.log_delivery_configurations #=> Array
1481
+ # resp.cache_cluster.log_delivery_configurations[0].log_type #=> String, one of "slow-log"
1482
+ # resp.cache_cluster.log_delivery_configurations[0].destination_type #=> String, one of "cloudwatch-logs", "kinesis-firehose"
1483
+ # resp.cache_cluster.log_delivery_configurations[0].destination_details.cloud_watch_logs_details.log_group #=> String
1484
+ # resp.cache_cluster.log_delivery_configurations[0].destination_details.kinesis_firehose_details.delivery_stream #=> String
1485
+ # resp.cache_cluster.log_delivery_configurations[0].log_format #=> String, one of "text", "json"
1486
+ # resp.cache_cluster.log_delivery_configurations[0].status #=> String, one of "active", "enabling", "modifying", "disabling", "error"
1487
+ # resp.cache_cluster.log_delivery_configurations[0].message #=> String
1423
1488
  #
1424
1489
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateCacheCluster AWS API Documentation
1425
1490
  #
@@ -1463,6 +1528,11 @@ module Aws::ElastiCache
1463
1528
  # @option params [required, String] :description
1464
1529
  # A user-specified description for the cache parameter group.
1465
1530
  #
1531
+ # @option params [Array<Types::Tag>] :tags
1532
+ # A list of tags to be added to this resource. A tag is a key-value
1533
+ # pair. A tag key must be accompanied by a tag value, although null is
1534
+ # accepted.
1535
+ #
1466
1536
  # @return [Types::CreateCacheParameterGroupResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1467
1537
  #
1468
1538
  # * {Types::CreateCacheParameterGroupResult#cache_parameter_group #cache_parameter_group} => Types::CacheParameterGroup
@@ -1493,6 +1563,12 @@ module Aws::ElastiCache
1493
1563
  # cache_parameter_group_name: "String", # required
1494
1564
  # cache_parameter_group_family: "String", # required
1495
1565
  # description: "String", # required
1566
+ # tags: [
1567
+ # {
1568
+ # key: "String",
1569
+ # value: "String",
1570
+ # },
1571
+ # ],
1496
1572
  # })
1497
1573
  #
1498
1574
  # @example Response structure
@@ -1536,6 +1612,11 @@ module Aws::ElastiCache
1536
1612
  # @option params [required, String] :description
1537
1613
  # A description for the cache security group.
1538
1614
  #
1615
+ # @option params [Array<Types::Tag>] :tags
1616
+ # A list of tags to be added to this resource. A tag is a key-value
1617
+ # pair. A tag key must be accompanied by a tag value, although null is
1618
+ # accepted.
1619
+ #
1539
1620
  # @return [Types::CreateCacheSecurityGroupResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1540
1621
  #
1541
1622
  # * {Types::CreateCacheSecurityGroupResult#cache_security_group #cache_security_group} => Types::CacheSecurityGroup
@@ -1555,6 +1636,12 @@ module Aws::ElastiCache
1555
1636
  # resp = client.create_cache_security_group({
1556
1637
  # cache_security_group_name: "String", # required
1557
1638
  # description: "String", # required
1639
+ # tags: [
1640
+ # {
1641
+ # key: "String",
1642
+ # value: "String",
1643
+ # },
1644
+ # ],
1558
1645
  # })
1559
1646
  #
1560
1647
  # @example Response structure
@@ -1597,6 +1684,11 @@ module Aws::ElastiCache
1597
1684
  # @option params [required, Array<String>] :subnet_ids
1598
1685
  # A list of VPC subnet IDs for the cache subnet group.
1599
1686
  #
1687
+ # @option params [Array<Types::Tag>] :tags
1688
+ # A list of tags to be added to this resource. A tag is a key-value
1689
+ # pair. A tag key must be accompanied by a tag value, although null is
1690
+ # accepted.
1691
+ #
1600
1692
  # @return [Types::CreateCacheSubnetGroupResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1601
1693
  #
1602
1694
  # * {Types::CreateCacheSubnetGroupResult#cache_subnet_group #cache_subnet_group} => Types::CacheSubnetGroup
@@ -1651,6 +1743,12 @@ module Aws::ElastiCache
1651
1743
  # cache_subnet_group_name: "String", # required
1652
1744
  # cache_subnet_group_description: "String", # required
1653
1745
  # subnet_ids: ["String"], # required
1746
+ # tags: [
1747
+ # {
1748
+ # key: "String",
1749
+ # value: "String",
1750
+ # },
1751
+ # ],
1654
1752
  # })
1655
1753
  #
1656
1754
  # @example Response structure
@@ -1681,7 +1779,7 @@ module Aws::ElastiCache
1681
1779
  # Global Datastore][1].
1682
1780
  #
1683
1781
  # * The **GlobalReplicationGroupIdSuffix** is the name of the Global
1684
- # Datastore.
1782
+ # datastore.
1685
1783
  #
1686
1784
  # * The **PrimaryReplicationGroupId** represents the name of the primary
1687
1785
  # cluster that accepts writes and will replicate updates to the
@@ -1692,23 +1790,23 @@ module Aws::ElastiCache
1692
1790
  # [1]: https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/Redis-Global-Datastore.html
1693
1791
  #
1694
1792
  # @option params [required, String] :global_replication_group_id_suffix
1695
- # The suffix name of a Global Datastore. Amazon ElastiCache
1696
- # automatically applies a prefix to the Global Datastore ID when it is
1793
+ # The suffix name of a Global datastore. Amazon ElastiCache
1794
+ # automatically applies a prefix to the Global datastore ID when it is
1697
1795
  # created. Each AWS Region has its own prefix. For instance, a Global
1698
- # Datastore ID created in the US-West-1 region will begin with "dsdfu"
1796
+ # datastore ID created in the US-West-1 region will begin with "dsdfu"
1699
1797
  # along with the suffix name you provide. The suffix, combined with the
1700
- # auto-generated prefix, guarantees uniqueness of the Global Datastore
1798
+ # auto-generated prefix, guarantees uniqueness of the Global datastore
1701
1799
  # name across multiple regions.
1702
1800
  #
1703
- # For a full list of AWS Regions and their respective Global Datastore
1704
- # iD prefixes, see [Using the AWS CLI with Global Datastores ][1].
1801
+ # For a full list of AWS Regions and their respective Global datastore
1802
+ # iD prefixes, see [Using the AWS CLI with Global datastores ][1].
1705
1803
  #
1706
1804
  #
1707
1805
  #
1708
1806
  # [1]: http://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/Redis-Global-Datastores-CLI.html
1709
1807
  #
1710
1808
  # @option params [String] :global_replication_group_description
1711
- # Provides details of the Global Datastore
1809
+ # Provides details of the Global datastore
1712
1810
  #
1713
1811
  # @option params [required, String] :primary_replication_group_id
1714
1812
  # The name of the primary cluster that accepts writes and will replicate
@@ -1762,7 +1860,7 @@ module Aws::ElastiCache
1762
1860
  # enabled) replication group.
1763
1861
  #
1764
1862
  # This API can be used to create a standalone regional replication group
1765
- # or a secondary replication group associated with a Global Datastore.
1863
+ # or a secondary replication group associated with a Global datastore.
1766
1864
  #
1767
1865
  # A Redis (cluster mode disabled) replication group is a collection of
1768
1866
  # clusters, where one of the clusters is a read/write primary and the
@@ -1822,7 +1920,7 @@ module Aws::ElastiCache
1822
1920
  # A user-created description for the replication group.
1823
1921
  #
1824
1922
  # @option params [String] :global_replication_group_id
1825
- # The name of the Global Datastore
1923
+ # The name of the Global datastore
1826
1924
  #
1827
1925
  # @option params [String] :primary_cluster_id
1828
1926
  # The identifier of the cluster that serves as the primary for this
@@ -2071,10 +2169,11 @@ module Aws::ElastiCache
2071
2169
  # an Amazon Virtual Private Cloud (Amazon VPC).
2072
2170
  #
2073
2171
  # @option params [Array<Types::Tag>] :tags
2074
- # A list of cost allocation tags to be added to this resource. Tags are
2075
- # comma-separated key,value pairs (e.g. Key=`myKey`, Value=`myKeyValue`.
2076
- # You can include multiple tags as shown following: Key=`myKey`,
2077
- # Value=`myKeyValue` Key=`mySecondKey`, Value=`mySecondKeyValue`.
2172
+ # A list of tags to be added to this resource. Tags are comma-separated
2173
+ # key,value pairs (e.g. Key=`myKey`, Value=`myKeyValue`. You can include
2174
+ # multiple tags as shown following: Key=`myKey`, Value=`myKeyValue`
2175
+ # Key=`mySecondKey`, Value=`mySecondKeyValue`. Tags on replication
2176
+ # groups will be replicated to all nodes.
2078
2177
  #
2079
2178
  # @option params [Array<String>] :snapshot_arns
2080
2179
  # A list of Amazon Resource Names (ARN) that uniquely identify the Redis
@@ -2222,7 +2321,10 @@ module Aws::ElastiCache
2222
2321
  # The ID of the KMS key used to encrypt the disk in the cluster.
2223
2322
  #
2224
2323
  # @option params [Array<String>] :user_group_ids
2225
- # The list of user groups to associate with the replication group.
2324
+ # The user group to associate with the replication group.
2325
+ #
2326
+ # @option params [Array<Types::LogDeliveryConfigurationRequest>] :log_delivery_configurations
2327
+ # Specifies the destination, format and type of the logs.
2226
2328
  #
2227
2329
  # @return [Types::CreateReplicationGroupResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2228
2330
  #
@@ -2369,6 +2471,22 @@ module Aws::ElastiCache
2369
2471
  # at_rest_encryption_enabled: false,
2370
2472
  # kms_key_id: "String",
2371
2473
  # user_group_ids: ["UserGroupId"],
2474
+ # log_delivery_configurations: [
2475
+ # {
2476
+ # log_type: "slow-log", # accepts slow-log
2477
+ # destination_type: "cloudwatch-logs", # accepts cloudwatch-logs, kinesis-firehose
2478
+ # destination_details: {
2479
+ # cloud_watch_logs_details: {
2480
+ # log_group: "String",
2481
+ # },
2482
+ # kinesis_firehose_details: {
2483
+ # delivery_stream: "String",
2484
+ # },
2485
+ # },
2486
+ # log_format: "text", # accepts text, json
2487
+ # enabled: false,
2488
+ # },
2489
+ # ],
2372
2490
  # })
2373
2491
  #
2374
2492
  # @example Response structure
@@ -2386,6 +2504,12 @@ module Aws::ElastiCache
2386
2504
  # resp.replication_group.pending_modified_values.user_groups.user_group_ids_to_add[0] #=> String
2387
2505
  # resp.replication_group.pending_modified_values.user_groups.user_group_ids_to_remove #=> Array
2388
2506
  # resp.replication_group.pending_modified_values.user_groups.user_group_ids_to_remove[0] #=> String
2507
+ # resp.replication_group.pending_modified_values.log_delivery_configurations #=> Array
2508
+ # resp.replication_group.pending_modified_values.log_delivery_configurations[0].log_type #=> String, one of "slow-log"
2509
+ # resp.replication_group.pending_modified_values.log_delivery_configurations[0].destination_type #=> String, one of "cloudwatch-logs", "kinesis-firehose"
2510
+ # resp.replication_group.pending_modified_values.log_delivery_configurations[0].destination_details.cloud_watch_logs_details.log_group #=> String
2511
+ # resp.replication_group.pending_modified_values.log_delivery_configurations[0].destination_details.kinesis_firehose_details.delivery_stream #=> String
2512
+ # resp.replication_group.pending_modified_values.log_delivery_configurations[0].log_format #=> String, one of "text", "json"
2389
2513
  # resp.replication_group.member_clusters #=> Array
2390
2514
  # resp.replication_group.member_clusters[0] #=> String
2391
2515
  # resp.replication_group.node_groups #=> Array
@@ -2423,6 +2547,14 @@ module Aws::ElastiCache
2423
2547
  # resp.replication_group.arn #=> String
2424
2548
  # resp.replication_group.user_group_ids #=> Array
2425
2549
  # resp.replication_group.user_group_ids[0] #=> String
2550
+ # resp.replication_group.log_delivery_configurations #=> Array
2551
+ # resp.replication_group.log_delivery_configurations[0].log_type #=> String, one of "slow-log"
2552
+ # resp.replication_group.log_delivery_configurations[0].destination_type #=> String, one of "cloudwatch-logs", "kinesis-firehose"
2553
+ # resp.replication_group.log_delivery_configurations[0].destination_details.cloud_watch_logs_details.log_group #=> String
2554
+ # resp.replication_group.log_delivery_configurations[0].destination_details.kinesis_firehose_details.delivery_stream #=> String
2555
+ # resp.replication_group.log_delivery_configurations[0].log_format #=> String, one of "text", "json"
2556
+ # resp.replication_group.log_delivery_configurations[0].status #=> String, one of "active", "enabling", "modifying", "disabling", "error"
2557
+ # resp.replication_group.log_delivery_configurations[0].message #=> String
2426
2558
  #
2427
2559
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateReplicationGroup AWS API Documentation
2428
2560
  #
@@ -2454,6 +2586,11 @@ module Aws::ElastiCache
2454
2586
  # @option params [String] :kms_key_id
2455
2587
  # The ID of the KMS key used to encrypt the snapshot.
2456
2588
  #
2589
+ # @option params [Array<Types::Tag>] :tags
2590
+ # A list of tags to be added to this resource. A tag is a key-value
2591
+ # pair. A tag key must be accompanied by a tag value, although null is
2592
+ # accepted.
2593
+ #
2457
2594
  # @return [Types::CreateSnapshotResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2458
2595
  #
2459
2596
  # * {Types::CreateSnapshotResult#snapshot #snapshot} => Types::Snapshot
@@ -2590,6 +2727,12 @@ module Aws::ElastiCache
2590
2727
  # cache_cluster_id: "String",
2591
2728
  # snapshot_name: "String", # required
2592
2729
  # kms_key_id: "String",
2730
+ # tags: [
2731
+ # {
2732
+ # key: "String",
2733
+ # value: "String",
2734
+ # },
2735
+ # ],
2593
2736
  # })
2594
2737
  #
2595
2738
  # @example Response structure
@@ -2672,6 +2815,11 @@ module Aws::ElastiCache
2672
2815
  # @option params [Boolean] :no_password_required
2673
2816
  # Indicates a password is not required for this user.
2674
2817
  #
2818
+ # @option params [Array<Types::Tag>] :tags
2819
+ # A list of tags to be added to this resource. A tag is a key-value
2820
+ # pair. A tag key must be accompanied by a tag value, although null is
2821
+ # accepted.
2822
+ #
2675
2823
  # @return [Types::User] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2676
2824
  #
2677
2825
  # * {Types::User#user_id #user_id} => String
@@ -2692,6 +2840,12 @@ module Aws::ElastiCache
2692
2840
  # passwords: ["String"],
2693
2841
  # access_string: "AccessString", # required
2694
2842
  # no_password_required: false,
2843
+ # tags: [
2844
+ # {
2845
+ # key: "String",
2846
+ # value: "String",
2847
+ # },
2848
+ # ],
2695
2849
  # })
2696
2850
  #
2697
2851
  # @example Response structure
@@ -2732,6 +2886,11 @@ module Aws::ElastiCache
2732
2886
  # @option params [Array<String>] :user_ids
2733
2887
  # The list of user IDs that belong to the user group.
2734
2888
  #
2889
+ # @option params [Array<Types::Tag>] :tags
2890
+ # A list of tags to be added to this resource. A tag is a key-value
2891
+ # pair. A tag key must be accompanied by a tag value, although null is
2892
+ # accepted.
2893
+ #
2735
2894
  # @return [Types::UserGroup] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2736
2895
  #
2737
2896
  # * {Types::UserGroup#user_group_id #user_group_id} => String
@@ -2748,6 +2907,12 @@ module Aws::ElastiCache
2748
2907
  # user_group_id: "String", # required
2749
2908
  # engine: "EngineType", # required
2750
2909
  # user_ids: ["UserId"],
2910
+ # tags: [
2911
+ # {
2912
+ # key: "String",
2913
+ # value: "String",
2914
+ # },
2915
+ # ],
2751
2916
  # })
2752
2917
  #
2753
2918
  # @example Response structure
@@ -2774,10 +2939,10 @@ module Aws::ElastiCache
2774
2939
  req.send_request(options)
2775
2940
  end
2776
2941
 
2777
- # Decreases the number of node groups in a Global Datastore
2942
+ # Decreases the number of node groups in a Global datastore
2778
2943
  #
2779
2944
  # @option params [required, String] :global_replication_group_id
2780
- # The name of the Global Datastore
2945
+ # The name of the Global datastore
2781
2946
  #
2782
2947
  # @option params [required, Integer] :node_group_count
2783
2948
  # The number of node groups (shards) that results from the modification
@@ -2786,16 +2951,16 @@ module Aws::ElastiCache
2786
2951
  # @option params [Array<String>] :global_node_groups_to_remove
2787
2952
  # If the value of NodeGroupCount is less than the current number of node
2788
2953
  # groups (shards), then either NodeGroupsToRemove or NodeGroupsToRetain
2789
- # is required. NodeGroupsToRemove is a list of NodeGroupIds to remove
2790
- # from the cluster. ElastiCache for Redis will attempt to remove all
2791
- # node groups listed by NodeGroupsToRemove from the cluster.
2954
+ # is required. GlobalNodeGroupsToRemove is a list of NodeGroupIds to
2955
+ # remove from the cluster. ElastiCache for Redis will attempt to remove
2956
+ # all node groups listed by GlobalNodeGroupsToRemove from the cluster.
2792
2957
  #
2793
2958
  # @option params [Array<String>] :global_node_groups_to_retain
2794
2959
  # If the value of NodeGroupCount is less than the current number of node
2795
2960
  # groups (shards), then either NodeGroupsToRemove or NodeGroupsToRetain
2796
- # is required. NodeGroupsToRemove is a list of NodeGroupIds to remove
2797
- # from the cluster. ElastiCache for Redis will attempt to remove all
2798
- # node groups listed by NodeGroupsToRemove from the cluster.
2961
+ # is required. GlobalNodeGroupsToRetain is a list of NodeGroupIds to
2962
+ # retain from the cluster. ElastiCache for Redis will attempt to retain
2963
+ # all node groups listed by GlobalNodeGroupsToRetain from the cluster.
2799
2964
  #
2800
2965
  # @option params [required, Boolean] :apply_immediately
2801
2966
  # Indicates that the shard reconfiguration process begins immediately.
@@ -2925,6 +3090,12 @@ module Aws::ElastiCache
2925
3090
  # resp.replication_group.pending_modified_values.user_groups.user_group_ids_to_add[0] #=> String
2926
3091
  # resp.replication_group.pending_modified_values.user_groups.user_group_ids_to_remove #=> Array
2927
3092
  # resp.replication_group.pending_modified_values.user_groups.user_group_ids_to_remove[0] #=> String
3093
+ # resp.replication_group.pending_modified_values.log_delivery_configurations #=> Array
3094
+ # resp.replication_group.pending_modified_values.log_delivery_configurations[0].log_type #=> String, one of "slow-log"
3095
+ # resp.replication_group.pending_modified_values.log_delivery_configurations[0].destination_type #=> String, one of "cloudwatch-logs", "kinesis-firehose"
3096
+ # resp.replication_group.pending_modified_values.log_delivery_configurations[0].destination_details.cloud_watch_logs_details.log_group #=> String
3097
+ # resp.replication_group.pending_modified_values.log_delivery_configurations[0].destination_details.kinesis_firehose_details.delivery_stream #=> String
3098
+ # resp.replication_group.pending_modified_values.log_delivery_configurations[0].log_format #=> String, one of "text", "json"
2928
3099
  # resp.replication_group.member_clusters #=> Array
2929
3100
  # resp.replication_group.member_clusters[0] #=> String
2930
3101
  # resp.replication_group.node_groups #=> Array
@@ -2962,6 +3133,14 @@ module Aws::ElastiCache
2962
3133
  # resp.replication_group.arn #=> String
2963
3134
  # resp.replication_group.user_group_ids #=> Array
2964
3135
  # resp.replication_group.user_group_ids[0] #=> String
3136
+ # resp.replication_group.log_delivery_configurations #=> Array
3137
+ # resp.replication_group.log_delivery_configurations[0].log_type #=> String, one of "slow-log"
3138
+ # resp.replication_group.log_delivery_configurations[0].destination_type #=> String, one of "cloudwatch-logs", "kinesis-firehose"
3139
+ # resp.replication_group.log_delivery_configurations[0].destination_details.cloud_watch_logs_details.log_group #=> String
3140
+ # resp.replication_group.log_delivery_configurations[0].destination_details.kinesis_firehose_details.delivery_stream #=> String
3141
+ # resp.replication_group.log_delivery_configurations[0].log_format #=> String, one of "text", "json"
3142
+ # resp.replication_group.log_delivery_configurations[0].status #=> String, one of "active", "enabling", "modifying", "disabling", "error"
3143
+ # resp.replication_group.log_delivery_configurations[0].message #=> String
2965
3144
  #
2966
3145
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DecreaseReplicaCount AWS API Documentation
2967
3146
  #
@@ -3076,6 +3255,12 @@ module Aws::ElastiCache
3076
3255
  # resp.cache_cluster.pending_modified_values.engine_version #=> String
3077
3256
  # resp.cache_cluster.pending_modified_values.cache_node_type #=> String
3078
3257
  # resp.cache_cluster.pending_modified_values.auth_token_status #=> String, one of "SETTING", "ROTATING"
3258
+ # resp.cache_cluster.pending_modified_values.log_delivery_configurations #=> Array
3259
+ # resp.cache_cluster.pending_modified_values.log_delivery_configurations[0].log_type #=> String, one of "slow-log"
3260
+ # resp.cache_cluster.pending_modified_values.log_delivery_configurations[0].destination_type #=> String, one of "cloudwatch-logs", "kinesis-firehose"
3261
+ # resp.cache_cluster.pending_modified_values.log_delivery_configurations[0].destination_details.cloud_watch_logs_details.log_group #=> String
3262
+ # resp.cache_cluster.pending_modified_values.log_delivery_configurations[0].destination_details.kinesis_firehose_details.delivery_stream #=> String
3263
+ # resp.cache_cluster.pending_modified_values.log_delivery_configurations[0].log_format #=> String, one of "text", "json"
3079
3264
  # resp.cache_cluster.notification_configuration.topic_arn #=> String
3080
3265
  # resp.cache_cluster.notification_configuration.topic_status #=> String
3081
3266
  # resp.cache_cluster.cache_security_groups #=> Array
@@ -3108,6 +3293,15 @@ module Aws::ElastiCache
3108
3293
  # resp.cache_cluster.transit_encryption_enabled #=> Boolean
3109
3294
  # resp.cache_cluster.at_rest_encryption_enabled #=> Boolean
3110
3295
  # resp.cache_cluster.arn #=> String
3296
+ # resp.cache_cluster.replication_group_log_delivery_enabled #=> Boolean
3297
+ # resp.cache_cluster.log_delivery_configurations #=> Array
3298
+ # resp.cache_cluster.log_delivery_configurations[0].log_type #=> String, one of "slow-log"
3299
+ # resp.cache_cluster.log_delivery_configurations[0].destination_type #=> String, one of "cloudwatch-logs", "kinesis-firehose"
3300
+ # resp.cache_cluster.log_delivery_configurations[0].destination_details.cloud_watch_logs_details.log_group #=> String
3301
+ # resp.cache_cluster.log_delivery_configurations[0].destination_details.kinesis_firehose_details.delivery_stream #=> String
3302
+ # resp.cache_cluster.log_delivery_configurations[0].log_format #=> String, one of "text", "json"
3303
+ # resp.cache_cluster.log_delivery_configurations[0].status #=> String, one of "active", "enabling", "modifying", "disabling", "error"
3304
+ # resp.cache_cluster.log_delivery_configurations[0].message #=> String
3111
3305
  #
3112
3306
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteCacheCluster AWS API Documentation
3113
3307
  #
@@ -3235,25 +3429,28 @@ module Aws::ElastiCache
3235
3429
  req.send_request(options)
3236
3430
  end
3237
3431
 
3238
- # Deleting a Global Datastore is a two-step process:
3432
+ # Deleting a Global datastore is a two-step process:
3239
3433
  #
3240
3434
  # * First, you must DisassociateGlobalReplicationGroup to remove the
3241
- # secondary clusters in the Global Datastore.
3435
+ # secondary clusters in the Global datastore.
3242
3436
  #
3243
- # * Once the Global Datastore contains only the primary cluster, you can
3244
- # use DeleteGlobalReplicationGroup API to delete the Global Datastore
3245
- # while retainining the primary cluster using Retain…= true.
3437
+ # * Once the Global datastore contains only the primary cluster, you can
3438
+ # use the `DeleteGlobalReplicationGroup` API to delete the Global
3439
+ # datastore while retainining the primary cluster using
3440
+ # `RetainPrimaryReplicationGroup=true`.
3246
3441
  #
3247
3442
  # Since the Global Datastore has only a primary cluster, you can delete
3248
3443
  # the Global Datastore while retaining the primary by setting
3249
- # `RetainPrimaryCluster=true`.
3444
+ # `RetainPrimaryReplicationGroup=true`. The primary cluster is never
3445
+ # deleted when deleting a Global Datastore. It can only be deleted when
3446
+ # it no longer is associated with any Global Datastore.
3250
3447
  #
3251
3448
  # When you receive a successful response from this operation, Amazon
3252
3449
  # ElastiCache immediately begins deleting the selected resources; you
3253
3450
  # cannot cancel or revert this operation.
3254
3451
  #
3255
3452
  # @option params [required, String] :global_replication_group_id
3256
- # The name of the Global Datastore
3453
+ # The name of the Global datastore
3257
3454
  #
3258
3455
  # @option params [required, Boolean] :retain_primary_replication_group
3259
3456
  # The primary replication group is retained as a standalone replication
@@ -3380,6 +3577,12 @@ module Aws::ElastiCache
3380
3577
  # resp.replication_group.pending_modified_values.user_groups.user_group_ids_to_add[0] #=> String
3381
3578
  # resp.replication_group.pending_modified_values.user_groups.user_group_ids_to_remove #=> Array
3382
3579
  # resp.replication_group.pending_modified_values.user_groups.user_group_ids_to_remove[0] #=> String
3580
+ # resp.replication_group.pending_modified_values.log_delivery_configurations #=> Array
3581
+ # resp.replication_group.pending_modified_values.log_delivery_configurations[0].log_type #=> String, one of "slow-log"
3582
+ # resp.replication_group.pending_modified_values.log_delivery_configurations[0].destination_type #=> String, one of "cloudwatch-logs", "kinesis-firehose"
3583
+ # resp.replication_group.pending_modified_values.log_delivery_configurations[0].destination_details.cloud_watch_logs_details.log_group #=> String
3584
+ # resp.replication_group.pending_modified_values.log_delivery_configurations[0].destination_details.kinesis_firehose_details.delivery_stream #=> String
3585
+ # resp.replication_group.pending_modified_values.log_delivery_configurations[0].log_format #=> String, one of "text", "json"
3383
3586
  # resp.replication_group.member_clusters #=> Array
3384
3587
  # resp.replication_group.member_clusters[0] #=> String
3385
3588
  # resp.replication_group.node_groups #=> Array
@@ -3417,6 +3620,14 @@ module Aws::ElastiCache
3417
3620
  # resp.replication_group.arn #=> String
3418
3621
  # resp.replication_group.user_group_ids #=> Array
3419
3622
  # resp.replication_group.user_group_ids[0] #=> String
3623
+ # resp.replication_group.log_delivery_configurations #=> Array
3624
+ # resp.replication_group.log_delivery_configurations[0].log_type #=> String, one of "slow-log"
3625
+ # resp.replication_group.log_delivery_configurations[0].destination_type #=> String, one of "cloudwatch-logs", "kinesis-firehose"
3626
+ # resp.replication_group.log_delivery_configurations[0].destination_details.cloud_watch_logs_details.log_group #=> String
3627
+ # resp.replication_group.log_delivery_configurations[0].destination_details.kinesis_firehose_details.delivery_stream #=> String
3628
+ # resp.replication_group.log_delivery_configurations[0].log_format #=> String, one of "text", "json"
3629
+ # resp.replication_group.log_delivery_configurations[0].status #=> String, one of "active", "enabling", "modifying", "disabling", "error"
3630
+ # resp.replication_group.log_delivery_configurations[0].message #=> String
3420
3631
  #
3421
3632
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteReplicationGroup AWS API Documentation
3422
3633
  #
@@ -3851,6 +4062,12 @@ module Aws::ElastiCache
3851
4062
  # resp.cache_clusters[0].pending_modified_values.engine_version #=> String
3852
4063
  # resp.cache_clusters[0].pending_modified_values.cache_node_type #=> String
3853
4064
  # resp.cache_clusters[0].pending_modified_values.auth_token_status #=> String, one of "SETTING", "ROTATING"
4065
+ # resp.cache_clusters[0].pending_modified_values.log_delivery_configurations #=> Array
4066
+ # resp.cache_clusters[0].pending_modified_values.log_delivery_configurations[0].log_type #=> String, one of "slow-log"
4067
+ # resp.cache_clusters[0].pending_modified_values.log_delivery_configurations[0].destination_type #=> String, one of "cloudwatch-logs", "kinesis-firehose"
4068
+ # resp.cache_clusters[0].pending_modified_values.log_delivery_configurations[0].destination_details.cloud_watch_logs_details.log_group #=> String
4069
+ # resp.cache_clusters[0].pending_modified_values.log_delivery_configurations[0].destination_details.kinesis_firehose_details.delivery_stream #=> String
4070
+ # resp.cache_clusters[0].pending_modified_values.log_delivery_configurations[0].log_format #=> String, one of "text", "json"
3854
4071
  # resp.cache_clusters[0].notification_configuration.topic_arn #=> String
3855
4072
  # resp.cache_clusters[0].notification_configuration.topic_status #=> String
3856
4073
  # resp.cache_clusters[0].cache_security_groups #=> Array
@@ -3883,6 +4100,15 @@ module Aws::ElastiCache
3883
4100
  # resp.cache_clusters[0].transit_encryption_enabled #=> Boolean
3884
4101
  # resp.cache_clusters[0].at_rest_encryption_enabled #=> Boolean
3885
4102
  # resp.cache_clusters[0].arn #=> String
4103
+ # resp.cache_clusters[0].replication_group_log_delivery_enabled #=> Boolean
4104
+ # resp.cache_clusters[0].log_delivery_configurations #=> Array
4105
+ # resp.cache_clusters[0].log_delivery_configurations[0].log_type #=> String, one of "slow-log"
4106
+ # resp.cache_clusters[0].log_delivery_configurations[0].destination_type #=> String, one of "cloudwatch-logs", "kinesis-firehose"
4107
+ # resp.cache_clusters[0].log_delivery_configurations[0].destination_details.cloud_watch_logs_details.log_group #=> String
4108
+ # resp.cache_clusters[0].log_delivery_configurations[0].destination_details.kinesis_firehose_details.delivery_stream #=> String
4109
+ # resp.cache_clusters[0].log_delivery_configurations[0].log_format #=> String, one of "text", "json"
4110
+ # resp.cache_clusters[0].log_delivery_configurations[0].status #=> String, one of "active", "enabling", "modifying", "disabling", "error"
4111
+ # resp.cache_clusters[0].log_delivery_configurations[0].message #=> String
3886
4112
  #
3887
4113
  #
3888
4114
  # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
@@ -5763,10 +5989,10 @@ module Aws::ElastiCache
5763
5989
 
5764
5990
  # Returns information about a particular global replication group. If no
5765
5991
  # identifier is specified, returns information about all Global
5766
- # Datastores.
5992
+ # datastores.
5767
5993
  #
5768
5994
  # @option params [String] :global_replication_group_id
5769
- # The name of the Global Datastore
5995
+ # The name of the Global datastore
5770
5996
  #
5771
5997
  # @option params [Integer] :max_records
5772
5998
  # The maximum number of records to include in the response. If more
@@ -5781,7 +6007,7 @@ module Aws::ElastiCache
5781
6007
  # the value specified by `MaxRecords`.
5782
6008
  #
5783
6009
  # @option params [Boolean] :show_member_info
5784
- # Returns the list of members that comprise the Global Datastore.
6010
+ # Returns the list of members that comprise the Global datastore.
5785
6011
  #
5786
6012
  # @return [Types::DescribeGlobalReplicationGroupsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5787
6013
  #
@@ -5959,6 +6185,12 @@ module Aws::ElastiCache
5959
6185
  # resp.replication_groups[0].pending_modified_values.user_groups.user_group_ids_to_add[0] #=> String
5960
6186
  # resp.replication_groups[0].pending_modified_values.user_groups.user_group_ids_to_remove #=> Array
5961
6187
  # resp.replication_groups[0].pending_modified_values.user_groups.user_group_ids_to_remove[0] #=> String
6188
+ # resp.replication_groups[0].pending_modified_values.log_delivery_configurations #=> Array
6189
+ # resp.replication_groups[0].pending_modified_values.log_delivery_configurations[0].log_type #=> String, one of "slow-log"
6190
+ # resp.replication_groups[0].pending_modified_values.log_delivery_configurations[0].destination_type #=> String, one of "cloudwatch-logs", "kinesis-firehose"
6191
+ # resp.replication_groups[0].pending_modified_values.log_delivery_configurations[0].destination_details.cloud_watch_logs_details.log_group #=> String
6192
+ # resp.replication_groups[0].pending_modified_values.log_delivery_configurations[0].destination_details.kinesis_firehose_details.delivery_stream #=> String
6193
+ # resp.replication_groups[0].pending_modified_values.log_delivery_configurations[0].log_format #=> String, one of "text", "json"
5962
6194
  # resp.replication_groups[0].member_clusters #=> Array
5963
6195
  # resp.replication_groups[0].member_clusters[0] #=> String
5964
6196
  # resp.replication_groups[0].node_groups #=> Array
@@ -5996,6 +6228,14 @@ module Aws::ElastiCache
5996
6228
  # resp.replication_groups[0].arn #=> String
5997
6229
  # resp.replication_groups[0].user_group_ids #=> Array
5998
6230
  # resp.replication_groups[0].user_group_ids[0] #=> String
6231
+ # resp.replication_groups[0].log_delivery_configurations #=> Array
6232
+ # resp.replication_groups[0].log_delivery_configurations[0].log_type #=> String, one of "slow-log"
6233
+ # resp.replication_groups[0].log_delivery_configurations[0].destination_type #=> String, one of "cloudwatch-logs", "kinesis-firehose"
6234
+ # resp.replication_groups[0].log_delivery_configurations[0].destination_details.cloud_watch_logs_details.log_group #=> String
6235
+ # resp.replication_groups[0].log_delivery_configurations[0].destination_details.kinesis_firehose_details.delivery_stream #=> String
6236
+ # resp.replication_groups[0].log_delivery_configurations[0].log_format #=> String, one of "text", "json"
6237
+ # resp.replication_groups[0].log_delivery_configurations[0].status #=> String, one of "active", "enabling", "modifying", "disabling", "error"
6238
+ # resp.replication_groups[0].log_delivery_configurations[0].message #=> String
5999
6239
  #
6000
6240
  #
6001
6241
  # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
@@ -7189,21 +7429,21 @@ module Aws::ElastiCache
7189
7429
  req.send_request(options)
7190
7430
  end
7191
7431
 
7192
- # Remove a secondary cluster from the Global Datastore using the Global
7193
- # Datastore name. The secondary cluster will no longer receive updates
7432
+ # Remove a secondary cluster from the Global datastore using the Global
7433
+ # datastore name. The secondary cluster will no longer receive updates
7194
7434
  # from the primary cluster, but will remain as a standalone cluster in
7195
7435
  # that AWS region.
7196
7436
  #
7197
7437
  # @option params [required, String] :global_replication_group_id
7198
- # The name of the Global Datastore
7438
+ # The name of the Global datastore
7199
7439
  #
7200
7440
  # @option params [required, String] :replication_group_id
7201
7441
  # The name of the secondary cluster you wish to remove from the Global
7202
- # Datastore
7442
+ # datastore
7203
7443
  #
7204
7444
  # @option params [required, String] :replication_group_region
7205
7445
  # The AWS region of secondary cluster you wish to remove from the Global
7206
- # Datastore
7446
+ # datastore
7207
7447
  #
7208
7448
  # @return [Types::DisassociateGlobalReplicationGroupResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7209
7449
  #
@@ -7254,10 +7494,10 @@ module Aws::ElastiCache
7254
7494
  # clusters will become secondary.
7255
7495
  #
7256
7496
  # @option params [required, String] :global_replication_group_id
7257
- # The name of the Global Datastore
7497
+ # The name of the Global datastore
7258
7498
  #
7259
7499
  # @option params [required, String] :primary_region
7260
- # The AWS region of the primary cluster of the Global Datastore
7500
+ # The AWS region of the primary cluster of the Global datastore
7261
7501
  #
7262
7502
  # @option params [required, String] :primary_replication_group_id
7263
7503
  # The name of the primary replication group
@@ -7306,10 +7546,10 @@ module Aws::ElastiCache
7306
7546
  req.send_request(options)
7307
7547
  end
7308
7548
 
7309
- # Increase the number of node groups in the Global Datastore
7549
+ # Increase the number of node groups in the Global datastore
7310
7550
  #
7311
7551
  # @option params [required, String] :global_replication_group_id
7312
- # The name of the Global Datastore
7552
+ # The name of the Global datastore
7313
7553
  #
7314
7554
  # @option params [required, Integer] :node_group_count
7315
7555
  # The number of node groups you wish to add
@@ -7317,7 +7557,7 @@ module Aws::ElastiCache
7317
7557
  # @option params [Array<Types::RegionalConfiguration>] :regional_configurations
7318
7558
  # Describes the replication group IDs, the AWS regions where they are
7319
7559
  # stored and the shard configuration for each that comprise the Global
7320
- # Datastore
7560
+ # datastore
7321
7561
  #
7322
7562
  # @option params [required, Boolean] :apply_immediately
7323
7563
  # Indicates that the process begins immediately. At present, the only
@@ -7441,6 +7681,12 @@ module Aws::ElastiCache
7441
7681
  # resp.replication_group.pending_modified_values.user_groups.user_group_ids_to_add[0] #=> String
7442
7682
  # resp.replication_group.pending_modified_values.user_groups.user_group_ids_to_remove #=> Array
7443
7683
  # resp.replication_group.pending_modified_values.user_groups.user_group_ids_to_remove[0] #=> String
7684
+ # resp.replication_group.pending_modified_values.log_delivery_configurations #=> Array
7685
+ # resp.replication_group.pending_modified_values.log_delivery_configurations[0].log_type #=> String, one of "slow-log"
7686
+ # resp.replication_group.pending_modified_values.log_delivery_configurations[0].destination_type #=> String, one of "cloudwatch-logs", "kinesis-firehose"
7687
+ # resp.replication_group.pending_modified_values.log_delivery_configurations[0].destination_details.cloud_watch_logs_details.log_group #=> String
7688
+ # resp.replication_group.pending_modified_values.log_delivery_configurations[0].destination_details.kinesis_firehose_details.delivery_stream #=> String
7689
+ # resp.replication_group.pending_modified_values.log_delivery_configurations[0].log_format #=> String, one of "text", "json"
7444
7690
  # resp.replication_group.member_clusters #=> Array
7445
7691
  # resp.replication_group.member_clusters[0] #=> String
7446
7692
  # resp.replication_group.node_groups #=> Array
@@ -7478,6 +7724,14 @@ module Aws::ElastiCache
7478
7724
  # resp.replication_group.arn #=> String
7479
7725
  # resp.replication_group.user_group_ids #=> Array
7480
7726
  # resp.replication_group.user_group_ids[0] #=> String
7727
+ # resp.replication_group.log_delivery_configurations #=> Array
7728
+ # resp.replication_group.log_delivery_configurations[0].log_type #=> String, one of "slow-log"
7729
+ # resp.replication_group.log_delivery_configurations[0].destination_type #=> String, one of "cloudwatch-logs", "kinesis-firehose"
7730
+ # resp.replication_group.log_delivery_configurations[0].destination_details.cloud_watch_logs_details.log_group #=> String
7731
+ # resp.replication_group.log_delivery_configurations[0].destination_details.kinesis_firehose_details.delivery_stream #=> String
7732
+ # resp.replication_group.log_delivery_configurations[0].log_format #=> String, one of "text", "json"
7733
+ # resp.replication_group.log_delivery_configurations[0].status #=> String, one of "active", "enabling", "modifying", "disabling", "error"
7734
+ # resp.replication_group.log_delivery_configurations[0].message #=> String
7481
7735
  #
7482
7736
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/IncreaseReplicaCount AWS API Documentation
7483
7737
  #
@@ -7579,20 +7833,21 @@ module Aws::ElastiCache
7579
7833
  req.send_request(options)
7580
7834
  end
7581
7835
 
7582
- # Lists all cost allocation tags currently on the named resource. A
7583
- # `cost allocation tag` is a key-value pair where the key is
7584
- # case-sensitive and the value is optional. You can use cost allocation
7585
- # tags to categorize and track your AWS costs.
7836
+ # Lists all tags currently on a named resource.
7837
+ #
7838
+ # A tag is a key-value pair where the key and value are case-sensitive.
7839
+ # You can use tags to categorize and track all your ElastiCache
7840
+ # resources, with the exception of global replication group. When you
7841
+ # add or remove tags on replication groups, those actions will be
7842
+ # replicated to all nodes in the replication group. For more
7843
+ # information, see [Resource-level permissions][1].
7586
7844
  #
7587
7845
  # If the cluster is not in the *available* state, `ListTagsForResource`
7588
7846
  # returns an error.
7589
7847
  #
7590
- # You can have a maximum of 50 cost allocation tags on an ElastiCache
7591
- # resource. For more information, see [Monitoring Costs with Tags][1].
7592
- #
7593
7848
  #
7594
7849
  #
7595
- # [1]: https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/Tagging.html
7850
+ # [1]: http://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/IAM.ResourceLevelPermissions.html
7596
7851
  #
7597
7852
  # @option params [required, String] :resource_name
7598
7853
  # The Amazon Resource Name (ARN) of the resource for which you want the
@@ -7677,7 +7932,7 @@ module Aws::ElastiCache
7677
7932
  # cache nodes to remove.
7678
7933
  #
7679
7934
  # For clusters running Redis, this value must be 1. For clusters running
7680
- # Memcached, this value must be between 1 and 20.
7935
+ # Memcached, this value must be between 1 and 40.
7681
7936
  #
7682
7937
  # <note markdown="1"> Adding or removing Memcached cache nodes can be applied immediately or
7683
7938
  # as a pending operation (see `ApplyImmediately`).
@@ -7734,6 +7989,10 @@ module Aws::ElastiCache
7734
7989
  # </note>
7735
7990
  #
7736
7991
  # @option params [Array<String>] :new_availability_zones
7992
+ # <note markdown="1"> This option is only supported on Memcached clusters.
7993
+ #
7994
+ # </note>
7995
+ #
7737
7996
  # The list of Availability Zones where the new Memcached cache nodes are
7738
7997
  # created.
7739
7998
  #
@@ -7743,8 +8002,6 @@ module Aws::ElastiCache
7743
8002
  # of Availability Zones supplied in this list must match the cache nodes
7744
8003
  # being added in this request.
7745
8004
  #
7746
- # This option is only supported on Memcached clusters.
7747
- #
7748
8005
  # Scenarios:
7749
8006
  #
7750
8007
  # * **Scenario 1:** You have 3 active nodes and wish to add 2 nodes.
@@ -7959,6 +8216,9 @@ module Aws::ElastiCache
7959
8216
  #
7960
8217
  # [1]: http://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/auth.html
7961
8218
  #
8219
+ # @option params [Array<Types::LogDeliveryConfigurationRequest>] :log_delivery_configurations
8220
+ # Specifies the destination, format and type of the logs.
8221
+ #
7962
8222
  # @return [Types::ModifyCacheClusterResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7963
8223
  #
7964
8224
  # * {Types::ModifyCacheClusterResult#cache_cluster #cache_cluster} => Types::CacheCluster
@@ -8026,6 +8286,22 @@ module Aws::ElastiCache
8026
8286
  # cache_node_type: "String",
8027
8287
  # auth_token: "String",
8028
8288
  # auth_token_update_strategy: "SET", # accepts SET, ROTATE, DELETE
8289
+ # log_delivery_configurations: [
8290
+ # {
8291
+ # log_type: "slow-log", # accepts slow-log
8292
+ # destination_type: "cloudwatch-logs", # accepts cloudwatch-logs, kinesis-firehose
8293
+ # destination_details: {
8294
+ # cloud_watch_logs_details: {
8295
+ # log_group: "String",
8296
+ # },
8297
+ # kinesis_firehose_details: {
8298
+ # delivery_stream: "String",
8299
+ # },
8300
+ # },
8301
+ # log_format: "text", # accepts text, json
8302
+ # enabled: false,
8303
+ # },
8304
+ # ],
8029
8305
  # })
8030
8306
  #
8031
8307
  # @example Response structure
@@ -8049,6 +8325,12 @@ module Aws::ElastiCache
8049
8325
  # resp.cache_cluster.pending_modified_values.engine_version #=> String
8050
8326
  # resp.cache_cluster.pending_modified_values.cache_node_type #=> String
8051
8327
  # resp.cache_cluster.pending_modified_values.auth_token_status #=> String, one of "SETTING", "ROTATING"
8328
+ # resp.cache_cluster.pending_modified_values.log_delivery_configurations #=> Array
8329
+ # resp.cache_cluster.pending_modified_values.log_delivery_configurations[0].log_type #=> String, one of "slow-log"
8330
+ # resp.cache_cluster.pending_modified_values.log_delivery_configurations[0].destination_type #=> String, one of "cloudwatch-logs", "kinesis-firehose"
8331
+ # resp.cache_cluster.pending_modified_values.log_delivery_configurations[0].destination_details.cloud_watch_logs_details.log_group #=> String
8332
+ # resp.cache_cluster.pending_modified_values.log_delivery_configurations[0].destination_details.kinesis_firehose_details.delivery_stream #=> String
8333
+ # resp.cache_cluster.pending_modified_values.log_delivery_configurations[0].log_format #=> String, one of "text", "json"
8052
8334
  # resp.cache_cluster.notification_configuration.topic_arn #=> String
8053
8335
  # resp.cache_cluster.notification_configuration.topic_status #=> String
8054
8336
  # resp.cache_cluster.cache_security_groups #=> Array
@@ -8081,6 +8363,15 @@ module Aws::ElastiCache
8081
8363
  # resp.cache_cluster.transit_encryption_enabled #=> Boolean
8082
8364
  # resp.cache_cluster.at_rest_encryption_enabled #=> Boolean
8083
8365
  # resp.cache_cluster.arn #=> String
8366
+ # resp.cache_cluster.replication_group_log_delivery_enabled #=> Boolean
8367
+ # resp.cache_cluster.log_delivery_configurations #=> Array
8368
+ # resp.cache_cluster.log_delivery_configurations[0].log_type #=> String, one of "slow-log"
8369
+ # resp.cache_cluster.log_delivery_configurations[0].destination_type #=> String, one of "cloudwatch-logs", "kinesis-firehose"
8370
+ # resp.cache_cluster.log_delivery_configurations[0].destination_details.cloud_watch_logs_details.log_group #=> String
8371
+ # resp.cache_cluster.log_delivery_configurations[0].destination_details.kinesis_firehose_details.delivery_stream #=> String
8372
+ # resp.cache_cluster.log_delivery_configurations[0].log_format #=> String, one of "text", "json"
8373
+ # resp.cache_cluster.log_delivery_configurations[0].status #=> String, one of "active", "enabling", "modifying", "disabling", "error"
8374
+ # resp.cache_cluster.log_delivery_configurations[0].message #=> String
8084
8375
  #
8085
8376
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ModifyCacheCluster AWS API Documentation
8086
8377
  #
@@ -8259,10 +8550,10 @@ module Aws::ElastiCache
8259
8550
  req.send_request(options)
8260
8551
  end
8261
8552
 
8262
- # Modifies the settings for a Global Datastore.
8553
+ # Modifies the settings for a Global datastore.
8263
8554
  #
8264
8555
  # @option params [required, String] :global_replication_group_id
8265
- # The name of the Global Datastore
8556
+ # The name of the Global datastore
8266
8557
  #
8267
8558
  # @option params [required, Boolean] :apply_immediately
8268
8559
  # This parameter causes the modifications in this request and any
@@ -8271,12 +8562,12 @@ module Aws::ElastiCache
8271
8562
  # requested to be applied in PreferredMaintenceWindow.
8272
8563
  #
8273
8564
  # @option params [String] :cache_node_type
8274
- # A valid cache node type that you want to scale this Global Datastore
8565
+ # A valid cache node type that you want to scale this Global datastore
8275
8566
  # to.
8276
8567
  #
8277
8568
  # @option params [String] :engine_version
8278
8569
  # The upgraded version of the cache engine to be run on the clusters in
8279
- # the Global Datastore.
8570
+ # the Global datastore.
8280
8571
  #
8281
8572
  # @option params [String] :cache_parameter_group_name
8282
8573
  # The name of the cache parameter group to use with the Global
@@ -8284,7 +8575,7 @@ module Aws::ElastiCache
8284
8575
  # the Global datastore.
8285
8576
  #
8286
8577
  # @option params [String] :global_replication_group_description
8287
- # A description of the Global Datastore
8578
+ # A description of the Global datastore
8288
8579
  #
8289
8580
  # @option params [Boolean] :automatic_failover_enabled
8290
8581
  # Determines whether a read replica is automatically promoted to
@@ -8380,13 +8671,9 @@ module Aws::ElastiCache
8380
8671
  # Valid values: `true` \| `false`
8381
8672
  #
8382
8673
  # @option params [Boolean] :multi_az_enabled
8383
- # A flag indicating if you have Multi-AZ enabled to enhance fault
8384
- # tolerance. For more information, see [Minimizing Downtime:
8385
- # Multi-AZ][1].
8386
- #
8387
- #
8388
- #
8389
- # [1]: http://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/AutoFailover.html
8674
+ # A list of tags to be added to this resource. A tag is a key-value
8675
+ # pair. A tag key must be accompanied by a tag value, although null is
8676
+ # accepted.
8390
8677
  #
8391
8678
  # @option params [String] :node_group_id
8392
8679
  # Deprecated. This parameter is not used.
@@ -8543,15 +8830,18 @@ module Aws::ElastiCache
8543
8830
  # [1]: http://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/auth.html
8544
8831
  #
8545
8832
  # @option params [Array<String>] :user_group_ids_to_add
8546
- # A list of user group IDs.
8833
+ # The user group you are associating with the replication group.
8547
8834
  #
8548
8835
  # @option params [Array<String>] :user_group_ids_to_remove
8549
- # A list of users groups to remove, meaning the users in the group no
8550
- # longer can access thereplication group.
8836
+ # The user group to remove, meaning the users in the group no longer can
8837
+ # access the replication group.
8551
8838
  #
8552
8839
  # @option params [Boolean] :remove_user_groups
8553
8840
  # Removes the user groups that can access this replication group.
8554
8841
  #
8842
+ # @option params [Array<Types::LogDeliveryConfigurationRequest>] :log_delivery_configurations
8843
+ # Specifies the destination, format and type of the logs.
8844
+ #
8555
8845
  # @return [Types::ModifyReplicationGroupResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
8556
8846
  #
8557
8847
  # * {Types::ModifyReplicationGroupResult#replication_group #replication_group} => Types::ReplicationGroup
@@ -8654,6 +8944,22 @@ module Aws::ElastiCache
8654
8944
  # user_group_ids_to_add: ["UserGroupId"],
8655
8945
  # user_group_ids_to_remove: ["UserGroupId"],
8656
8946
  # remove_user_groups: false,
8947
+ # log_delivery_configurations: [
8948
+ # {
8949
+ # log_type: "slow-log", # accepts slow-log
8950
+ # destination_type: "cloudwatch-logs", # accepts cloudwatch-logs, kinesis-firehose
8951
+ # destination_details: {
8952
+ # cloud_watch_logs_details: {
8953
+ # log_group: "String",
8954
+ # },
8955
+ # kinesis_firehose_details: {
8956
+ # delivery_stream: "String",
8957
+ # },
8958
+ # },
8959
+ # log_format: "text", # accepts text, json
8960
+ # enabled: false,
8961
+ # },
8962
+ # ],
8657
8963
  # })
8658
8964
  #
8659
8965
  # @example Response structure
@@ -8671,6 +8977,12 @@ module Aws::ElastiCache
8671
8977
  # resp.replication_group.pending_modified_values.user_groups.user_group_ids_to_add[0] #=> String
8672
8978
  # resp.replication_group.pending_modified_values.user_groups.user_group_ids_to_remove #=> Array
8673
8979
  # resp.replication_group.pending_modified_values.user_groups.user_group_ids_to_remove[0] #=> String
8980
+ # resp.replication_group.pending_modified_values.log_delivery_configurations #=> Array
8981
+ # resp.replication_group.pending_modified_values.log_delivery_configurations[0].log_type #=> String, one of "slow-log"
8982
+ # resp.replication_group.pending_modified_values.log_delivery_configurations[0].destination_type #=> String, one of "cloudwatch-logs", "kinesis-firehose"
8983
+ # resp.replication_group.pending_modified_values.log_delivery_configurations[0].destination_details.cloud_watch_logs_details.log_group #=> String
8984
+ # resp.replication_group.pending_modified_values.log_delivery_configurations[0].destination_details.kinesis_firehose_details.delivery_stream #=> String
8985
+ # resp.replication_group.pending_modified_values.log_delivery_configurations[0].log_format #=> String, one of "text", "json"
8674
8986
  # resp.replication_group.member_clusters #=> Array
8675
8987
  # resp.replication_group.member_clusters[0] #=> String
8676
8988
  # resp.replication_group.node_groups #=> Array
@@ -8708,6 +9020,14 @@ module Aws::ElastiCache
8708
9020
  # resp.replication_group.arn #=> String
8709
9021
  # resp.replication_group.user_group_ids #=> Array
8710
9022
  # resp.replication_group.user_group_ids[0] #=> String
9023
+ # resp.replication_group.log_delivery_configurations #=> Array
9024
+ # resp.replication_group.log_delivery_configurations[0].log_type #=> String, one of "slow-log"
9025
+ # resp.replication_group.log_delivery_configurations[0].destination_type #=> String, one of "cloudwatch-logs", "kinesis-firehose"
9026
+ # resp.replication_group.log_delivery_configurations[0].destination_details.cloud_watch_logs_details.log_group #=> String
9027
+ # resp.replication_group.log_delivery_configurations[0].destination_details.kinesis_firehose_details.delivery_stream #=> String
9028
+ # resp.replication_group.log_delivery_configurations[0].log_format #=> String, one of "text", "json"
9029
+ # resp.replication_group.log_delivery_configurations[0].status #=> String, one of "active", "enabling", "modifying", "disabling", "error"
9030
+ # resp.replication_group.log_delivery_configurations[0].message #=> String
8711
9031
  #
8712
9032
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ModifyReplicationGroup AWS API Documentation
8713
9033
  #
@@ -8799,6 +9119,12 @@ module Aws::ElastiCache
8799
9119
  # resp.replication_group.pending_modified_values.user_groups.user_group_ids_to_add[0] #=> String
8800
9120
  # resp.replication_group.pending_modified_values.user_groups.user_group_ids_to_remove #=> Array
8801
9121
  # resp.replication_group.pending_modified_values.user_groups.user_group_ids_to_remove[0] #=> String
9122
+ # resp.replication_group.pending_modified_values.log_delivery_configurations #=> Array
9123
+ # resp.replication_group.pending_modified_values.log_delivery_configurations[0].log_type #=> String, one of "slow-log"
9124
+ # resp.replication_group.pending_modified_values.log_delivery_configurations[0].destination_type #=> String, one of "cloudwatch-logs", "kinesis-firehose"
9125
+ # resp.replication_group.pending_modified_values.log_delivery_configurations[0].destination_details.cloud_watch_logs_details.log_group #=> String
9126
+ # resp.replication_group.pending_modified_values.log_delivery_configurations[0].destination_details.kinesis_firehose_details.delivery_stream #=> String
9127
+ # resp.replication_group.pending_modified_values.log_delivery_configurations[0].log_format #=> String, one of "text", "json"
8802
9128
  # resp.replication_group.member_clusters #=> Array
8803
9129
  # resp.replication_group.member_clusters[0] #=> String
8804
9130
  # resp.replication_group.node_groups #=> Array
@@ -8836,6 +9162,14 @@ module Aws::ElastiCache
8836
9162
  # resp.replication_group.arn #=> String
8837
9163
  # resp.replication_group.user_group_ids #=> Array
8838
9164
  # resp.replication_group.user_group_ids[0] #=> String
9165
+ # resp.replication_group.log_delivery_configurations #=> Array
9166
+ # resp.replication_group.log_delivery_configurations[0].log_type #=> String, one of "slow-log"
9167
+ # resp.replication_group.log_delivery_configurations[0].destination_type #=> String, one of "cloudwatch-logs", "kinesis-firehose"
9168
+ # resp.replication_group.log_delivery_configurations[0].destination_details.cloud_watch_logs_details.log_group #=> String
9169
+ # resp.replication_group.log_delivery_configurations[0].destination_details.kinesis_firehose_details.delivery_stream #=> String
9170
+ # resp.replication_group.log_delivery_configurations[0].log_format #=> String, one of "text", "json"
9171
+ # resp.replication_group.log_delivery_configurations[0].status #=> String, one of "active", "enabling", "modifying", "disabling", "error"
9172
+ # resp.replication_group.log_delivery_configurations[0].message #=> String
8839
9173
  #
8840
9174
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ModifyReplicationGroupShardConfiguration AWS API Documentation
8841
9175
  #
@@ -8990,6 +9324,11 @@ module Aws::ElastiCache
8990
9324
  #
8991
9325
  # Default: `1`
8992
9326
  #
9327
+ # @option params [Array<Types::Tag>] :tags
9328
+ # A list of tags to be added to this resource. A tag is a key-value
9329
+ # pair. A tag key must be accompanied by a tag value, although null is
9330
+ # accepted.
9331
+ #
8993
9332
  # @return [Types::PurchaseReservedCacheNodesOfferingResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
8994
9333
  #
8995
9334
  # * {Types::PurchaseReservedCacheNodesOfferingResult#reserved_cache_node #reserved_cache_node} => Types::ReservedCacheNode
@@ -9009,6 +9348,12 @@ module Aws::ElastiCache
9009
9348
  # reserved_cache_nodes_offering_id: "String", # required
9010
9349
  # reserved_cache_node_id: "String",
9011
9350
  # cache_node_count: 1,
9351
+ # tags: [
9352
+ # {
9353
+ # key: "String",
9354
+ # value: "String",
9355
+ # },
9356
+ # ],
9012
9357
  # })
9013
9358
  #
9014
9359
  # @example Response structure
@@ -9042,7 +9387,7 @@ module Aws::ElastiCache
9042
9387
  # shards in the cluster.
9043
9388
  #
9044
9389
  # @option params [required, String] :global_replication_group_id
9045
- # The name of the Global Datastore
9390
+ # The name of the Global datastore
9046
9391
  #
9047
9392
  # @option params [required, Boolean] :apply_immediately
9048
9393
  # If `True`, redistribution is applied immediately.
@@ -9199,6 +9544,12 @@ module Aws::ElastiCache
9199
9544
  # resp.cache_cluster.pending_modified_values.engine_version #=> String
9200
9545
  # resp.cache_cluster.pending_modified_values.cache_node_type #=> String
9201
9546
  # resp.cache_cluster.pending_modified_values.auth_token_status #=> String, one of "SETTING", "ROTATING"
9547
+ # resp.cache_cluster.pending_modified_values.log_delivery_configurations #=> Array
9548
+ # resp.cache_cluster.pending_modified_values.log_delivery_configurations[0].log_type #=> String, one of "slow-log"
9549
+ # resp.cache_cluster.pending_modified_values.log_delivery_configurations[0].destination_type #=> String, one of "cloudwatch-logs", "kinesis-firehose"
9550
+ # resp.cache_cluster.pending_modified_values.log_delivery_configurations[0].destination_details.cloud_watch_logs_details.log_group #=> String
9551
+ # resp.cache_cluster.pending_modified_values.log_delivery_configurations[0].destination_details.kinesis_firehose_details.delivery_stream #=> String
9552
+ # resp.cache_cluster.pending_modified_values.log_delivery_configurations[0].log_format #=> String, one of "text", "json"
9202
9553
  # resp.cache_cluster.notification_configuration.topic_arn #=> String
9203
9554
  # resp.cache_cluster.notification_configuration.topic_status #=> String
9204
9555
  # resp.cache_cluster.cache_security_groups #=> Array
@@ -9231,6 +9582,15 @@ module Aws::ElastiCache
9231
9582
  # resp.cache_cluster.transit_encryption_enabled #=> Boolean
9232
9583
  # resp.cache_cluster.at_rest_encryption_enabled #=> Boolean
9233
9584
  # resp.cache_cluster.arn #=> String
9585
+ # resp.cache_cluster.replication_group_log_delivery_enabled #=> Boolean
9586
+ # resp.cache_cluster.log_delivery_configurations #=> Array
9587
+ # resp.cache_cluster.log_delivery_configurations[0].log_type #=> String, one of "slow-log"
9588
+ # resp.cache_cluster.log_delivery_configurations[0].destination_type #=> String, one of "cloudwatch-logs", "kinesis-firehose"
9589
+ # resp.cache_cluster.log_delivery_configurations[0].destination_details.cloud_watch_logs_details.log_group #=> String
9590
+ # resp.cache_cluster.log_delivery_configurations[0].destination_details.kinesis_firehose_details.delivery_stream #=> String
9591
+ # resp.cache_cluster.log_delivery_configurations[0].log_format #=> String, one of "text", "json"
9592
+ # resp.cache_cluster.log_delivery_configurations[0].status #=> String, one of "active", "enabling", "modifying", "disabling", "error"
9593
+ # resp.cache_cluster.log_delivery_configurations[0].message #=> String
9234
9594
  #
9235
9595
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/RebootCacheCluster AWS API Documentation
9236
9596
  #
@@ -9242,7 +9602,16 @@ module Aws::ElastiCache
9242
9602
  end
9243
9603
 
9244
9604
  # Removes the tags identified by the `TagKeys` list from the named
9245
- # resource.
9605
+ # resource. A tag is a key-value pair where the key and value are
9606
+ # case-sensitive. You can use tags to categorize and track all your
9607
+ # ElastiCache resources, with the exception of global replication group.
9608
+ # When you add or remove tags on replication groups, those actions will
9609
+ # be replicated to all nodes in the replication group. For more
9610
+ # information, see [Resource-level permissions][1].
9611
+ #
9612
+ #
9613
+ #
9614
+ # [1]: http://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/IAM.ResourceLevelPermissions.html
9246
9615
  #
9247
9616
  # @option params [required, String] :resource_name
9248
9617
  # The Amazon Resource Name (ARN) of the resource from which you want the
@@ -9493,6 +9862,12 @@ module Aws::ElastiCache
9493
9862
  # resp.replication_group.pending_modified_values.user_groups.user_group_ids_to_add[0] #=> String
9494
9863
  # resp.replication_group.pending_modified_values.user_groups.user_group_ids_to_remove #=> Array
9495
9864
  # resp.replication_group.pending_modified_values.user_groups.user_group_ids_to_remove[0] #=> String
9865
+ # resp.replication_group.pending_modified_values.log_delivery_configurations #=> Array
9866
+ # resp.replication_group.pending_modified_values.log_delivery_configurations[0].log_type #=> String, one of "slow-log"
9867
+ # resp.replication_group.pending_modified_values.log_delivery_configurations[0].destination_type #=> String, one of "cloudwatch-logs", "kinesis-firehose"
9868
+ # resp.replication_group.pending_modified_values.log_delivery_configurations[0].destination_details.cloud_watch_logs_details.log_group #=> String
9869
+ # resp.replication_group.pending_modified_values.log_delivery_configurations[0].destination_details.kinesis_firehose_details.delivery_stream #=> String
9870
+ # resp.replication_group.pending_modified_values.log_delivery_configurations[0].log_format #=> String, one of "text", "json"
9496
9871
  # resp.replication_group.member_clusters #=> Array
9497
9872
  # resp.replication_group.member_clusters[0] #=> String
9498
9873
  # resp.replication_group.node_groups #=> Array
@@ -9530,6 +9905,14 @@ module Aws::ElastiCache
9530
9905
  # resp.replication_group.arn #=> String
9531
9906
  # resp.replication_group.user_group_ids #=> Array
9532
9907
  # resp.replication_group.user_group_ids[0] #=> String
9908
+ # resp.replication_group.log_delivery_configurations #=> Array
9909
+ # resp.replication_group.log_delivery_configurations[0].log_type #=> String, one of "slow-log"
9910
+ # resp.replication_group.log_delivery_configurations[0].destination_type #=> String, one of "cloudwatch-logs", "kinesis-firehose"
9911
+ # resp.replication_group.log_delivery_configurations[0].destination_details.cloud_watch_logs_details.log_group #=> String
9912
+ # resp.replication_group.log_delivery_configurations[0].destination_details.kinesis_firehose_details.delivery_stream #=> String
9913
+ # resp.replication_group.log_delivery_configurations[0].log_format #=> String, one of "text", "json"
9914
+ # resp.replication_group.log_delivery_configurations[0].status #=> String, one of "active", "enabling", "modifying", "disabling", "error"
9915
+ # resp.replication_group.log_delivery_configurations[0].message #=> String
9533
9916
  #
9534
9917
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/StartMigration AWS API Documentation
9535
9918
  #
@@ -9629,6 +10012,12 @@ module Aws::ElastiCache
9629
10012
  # resp.replication_group.pending_modified_values.user_groups.user_group_ids_to_add[0] #=> String
9630
10013
  # resp.replication_group.pending_modified_values.user_groups.user_group_ids_to_remove #=> Array
9631
10014
  # resp.replication_group.pending_modified_values.user_groups.user_group_ids_to_remove[0] #=> String
10015
+ # resp.replication_group.pending_modified_values.log_delivery_configurations #=> Array
10016
+ # resp.replication_group.pending_modified_values.log_delivery_configurations[0].log_type #=> String, one of "slow-log"
10017
+ # resp.replication_group.pending_modified_values.log_delivery_configurations[0].destination_type #=> String, one of "cloudwatch-logs", "kinesis-firehose"
10018
+ # resp.replication_group.pending_modified_values.log_delivery_configurations[0].destination_details.cloud_watch_logs_details.log_group #=> String
10019
+ # resp.replication_group.pending_modified_values.log_delivery_configurations[0].destination_details.kinesis_firehose_details.delivery_stream #=> String
10020
+ # resp.replication_group.pending_modified_values.log_delivery_configurations[0].log_format #=> String, one of "text", "json"
9632
10021
  # resp.replication_group.member_clusters #=> Array
9633
10022
  # resp.replication_group.member_clusters[0] #=> String
9634
10023
  # resp.replication_group.node_groups #=> Array
@@ -9666,6 +10055,14 @@ module Aws::ElastiCache
9666
10055
  # resp.replication_group.arn #=> String
9667
10056
  # resp.replication_group.user_group_ids #=> Array
9668
10057
  # resp.replication_group.user_group_ids[0] #=> String
10058
+ # resp.replication_group.log_delivery_configurations #=> Array
10059
+ # resp.replication_group.log_delivery_configurations[0].log_type #=> String, one of "slow-log"
10060
+ # resp.replication_group.log_delivery_configurations[0].destination_type #=> String, one of "cloudwatch-logs", "kinesis-firehose"
10061
+ # resp.replication_group.log_delivery_configurations[0].destination_details.cloud_watch_logs_details.log_group #=> String
10062
+ # resp.replication_group.log_delivery_configurations[0].destination_details.kinesis_firehose_details.delivery_stream #=> String
10063
+ # resp.replication_group.log_delivery_configurations[0].log_format #=> String, one of "text", "json"
10064
+ # resp.replication_group.log_delivery_configurations[0].status #=> String, one of "active", "enabling", "modifying", "disabling", "error"
10065
+ # resp.replication_group.log_delivery_configurations[0].message #=> String
9669
10066
  #
9670
10067
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/TestFailover AWS API Documentation
9671
10068
  #
@@ -9689,7 +10086,7 @@ module Aws::ElastiCache
9689
10086
  params: params,
9690
10087
  config: config)
9691
10088
  context[:gem_name] = 'aws-sdk-elasticache'
9692
- context[:gem_version] = '1.54.0'
10089
+ context[:gem_version] = '1.58.0'
9693
10090
  Seahorse::Client::Request.new(handlers, context)
9694
10091
  end
9695
10092