aws-sdk-elasticache 1.51.0 → 1.56.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.
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 1.56.0
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -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.51.0'
52
+ GEM_VERSION = '1.56.0'
53
53
 
54
54
  end
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -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,7 +1003,7 @@ 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
1008
  # If you need more than 20 nodes for your Memcached cluster, please fill
978
1009
  # out the ElastiCache Limit Increase Request form at
@@ -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)
@@ -1166,29 +1197,6 @@ module Aws::ElastiCache
1166
1197
  # ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance
1167
1198
  # window is a 60 minute period. Valid values for `ddd` are:
1168
1199
  #
1169
- # Specifies the weekly time range during which maintenance on the
1170
- # cluster is performed. It is specified as a range in the format
1171
- # ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance
1172
- # window is a 60 minute period.
1173
- #
1174
- # Valid values for `ddd` are:
1175
- #
1176
- # * `sun`
1177
- #
1178
- # * `mon`
1179
- #
1180
- # * `tue`
1181
- #
1182
- # * `wed`
1183
- #
1184
- # * `thu`
1185
- #
1186
- # * `fri`
1187
- #
1188
- # * `sat`
1189
- #
1190
- # Example: `sun:23:00-mon:01:30`
1191
- #
1192
1200
  # @option params [Integer] :port
1193
1201
  # The port number on which each of the cache nodes accepts connections.
1194
1202
  #
@@ -1261,6 +1269,9 @@ module Aws::ElastiCache
1261
1269
  # @option params [Array<String>] :preferred_outpost_arns
1262
1270
  # The outpost ARNs in which the cache cluster is created.
1263
1271
  #
1272
+ # @option params [Array<Types::LogDeliveryConfigurationRequest>] :log_delivery_configurations
1273
+ # Specifies the destination, format and type of the logs.
1274
+ #
1264
1275
  # @return [Types::CreateCacheClusterResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1265
1276
  #
1266
1277
  # * {Types::CreateCacheClusterResult#cache_cluster #cache_cluster} => Types::CacheCluster
@@ -1388,6 +1399,22 @@ module Aws::ElastiCache
1388
1399
  # outpost_mode: "single-outpost", # accepts single-outpost, cross-outpost
1389
1400
  # preferred_outpost_arn: "String",
1390
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
+ # ],
1391
1418
  # })
1392
1419
  #
1393
1420
  # @example Response structure
@@ -1411,6 +1438,12 @@ module Aws::ElastiCache
1411
1438
  # resp.cache_cluster.pending_modified_values.engine_version #=> String
1412
1439
  # resp.cache_cluster.pending_modified_values.cache_node_type #=> String
1413
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"
1414
1447
  # resp.cache_cluster.notification_configuration.topic_arn #=> String
1415
1448
  # resp.cache_cluster.notification_configuration.topic_status #=> String
1416
1449
  # resp.cache_cluster.cache_security_groups #=> Array
@@ -1443,6 +1476,15 @@ module Aws::ElastiCache
1443
1476
  # resp.cache_cluster.transit_encryption_enabled #=> Boolean
1444
1477
  # resp.cache_cluster.at_rest_encryption_enabled #=> Boolean
1445
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
1446
1488
  #
1447
1489
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateCacheCluster AWS API Documentation
1448
1490
  #
@@ -1486,6 +1528,11 @@ module Aws::ElastiCache
1486
1528
  # @option params [required, String] :description
1487
1529
  # A user-specified description for the cache parameter group.
1488
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
+ #
1489
1536
  # @return [Types::CreateCacheParameterGroupResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1490
1537
  #
1491
1538
  # * {Types::CreateCacheParameterGroupResult#cache_parameter_group #cache_parameter_group} => Types::CacheParameterGroup
@@ -1516,6 +1563,12 @@ module Aws::ElastiCache
1516
1563
  # cache_parameter_group_name: "String", # required
1517
1564
  # cache_parameter_group_family: "String", # required
1518
1565
  # description: "String", # required
1566
+ # tags: [
1567
+ # {
1568
+ # key: "String",
1569
+ # value: "String",
1570
+ # },
1571
+ # ],
1519
1572
  # })
1520
1573
  #
1521
1574
  # @example Response structure
@@ -1559,6 +1612,11 @@ module Aws::ElastiCache
1559
1612
  # @option params [required, String] :description
1560
1613
  # A description for the cache security group.
1561
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
+ #
1562
1620
  # @return [Types::CreateCacheSecurityGroupResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1563
1621
  #
1564
1622
  # * {Types::CreateCacheSecurityGroupResult#cache_security_group #cache_security_group} => Types::CacheSecurityGroup
@@ -1578,6 +1636,12 @@ module Aws::ElastiCache
1578
1636
  # resp = client.create_cache_security_group({
1579
1637
  # cache_security_group_name: "String", # required
1580
1638
  # description: "String", # required
1639
+ # tags: [
1640
+ # {
1641
+ # key: "String",
1642
+ # value: "String",
1643
+ # },
1644
+ # ],
1581
1645
  # })
1582
1646
  #
1583
1647
  # @example Response structure
@@ -1620,6 +1684,11 @@ module Aws::ElastiCache
1620
1684
  # @option params [required, Array<String>] :subnet_ids
1621
1685
  # A list of VPC subnet IDs for the cache subnet group.
1622
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
+ #
1623
1692
  # @return [Types::CreateCacheSubnetGroupResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1624
1693
  #
1625
1694
  # * {Types::CreateCacheSubnetGroupResult#cache_subnet_group #cache_subnet_group} => Types::CacheSubnetGroup
@@ -1674,6 +1743,12 @@ module Aws::ElastiCache
1674
1743
  # cache_subnet_group_name: "String", # required
1675
1744
  # cache_subnet_group_description: "String", # required
1676
1745
  # subnet_ids: ["String"], # required
1746
+ # tags: [
1747
+ # {
1748
+ # key: "String",
1749
+ # value: "String",
1750
+ # },
1751
+ # ],
1677
1752
  # })
1678
1753
  #
1679
1754
  # @example Response structure
@@ -1704,7 +1779,7 @@ module Aws::ElastiCache
1704
1779
  # Global Datastore][1].
1705
1780
  #
1706
1781
  # * The **GlobalReplicationGroupIdSuffix** is the name of the Global
1707
- # Datastore.
1782
+ # datastore.
1708
1783
  #
1709
1784
  # * The **PrimaryReplicationGroupId** represents the name of the primary
1710
1785
  # cluster that accepts writes and will replicate updates to the
@@ -1715,23 +1790,23 @@ module Aws::ElastiCache
1715
1790
  # [1]: https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/Redis-Global-Datastore.html
1716
1791
  #
1717
1792
  # @option params [required, String] :global_replication_group_id_suffix
1718
- # The suffix name of a Global Datastore. Amazon ElastiCache
1719
- # 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
1720
1795
  # created. Each AWS Region has its own prefix. For instance, a Global
1721
- # 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"
1722
1797
  # along with the suffix name you provide. The suffix, combined with the
1723
- # auto-generated prefix, guarantees uniqueness of the Global Datastore
1798
+ # auto-generated prefix, guarantees uniqueness of the Global datastore
1724
1799
  # name across multiple regions.
1725
1800
  #
1726
- # For a full list of AWS Regions and their respective Global Datastore
1727
- # 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].
1728
1803
  #
1729
1804
  #
1730
1805
  #
1731
1806
  # [1]: http://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/Redis-Global-Datastores-CLI.html
1732
1807
  #
1733
1808
  # @option params [String] :global_replication_group_description
1734
- # Provides details of the Global Datastore
1809
+ # Provides details of the Global datastore
1735
1810
  #
1736
1811
  # @option params [required, String] :primary_replication_group_id
1737
1812
  # The name of the primary cluster that accepts writes and will replicate
@@ -1785,7 +1860,7 @@ module Aws::ElastiCache
1785
1860
  # enabled) replication group.
1786
1861
  #
1787
1862
  # This API can be used to create a standalone regional replication group
1788
- # or a secondary replication group associated with a Global Datastore.
1863
+ # or a secondary replication group associated with a Global datastore.
1789
1864
  #
1790
1865
  # A Redis (cluster mode disabled) replication group is a collection of
1791
1866
  # clusters, where one of the clusters is a read/write primary and the
@@ -1845,7 +1920,7 @@ module Aws::ElastiCache
1845
1920
  # A user-created description for the replication group.
1846
1921
  #
1847
1922
  # @option params [String] :global_replication_group_id
1848
- # The name of the Global Datastore
1923
+ # The name of the Global datastore
1849
1924
  #
1850
1925
  # @option params [String] :primary_cluster_id
1851
1926
  # The identifier of the cluster that serves as the primary for this
@@ -2037,7 +2112,7 @@ module Aws::ElastiCache
2037
2112
  #
2038
2113
  # @option params [String] :engine
2039
2114
  # The name of the cache engine to be used for the clusters in this
2040
- # replication group.
2115
+ # replication group. Must be Redis.
2041
2116
  #
2042
2117
  # @option params [String] :engine_version
2043
2118
  # The version number of the cache engine to be used for the clusters in
@@ -2094,10 +2169,11 @@ module Aws::ElastiCache
2094
2169
  # an Amazon Virtual Private Cloud (Amazon VPC).
2095
2170
  #
2096
2171
  # @option params [Array<Types::Tag>] :tags
2097
- # A list of cost allocation tags to be added to this resource. Tags are
2098
- # comma-separated key,value pairs (e.g. Key=`myKey`, Value=`myKeyValue`.
2099
- # You can include multiple tags as shown following: Key=`myKey`,
2100
- # 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.
2101
2177
  #
2102
2178
  # @option params [Array<String>] :snapshot_arns
2103
2179
  # A list of Amazon Resource Names (ARN) that uniquely identify the Redis
@@ -2247,6 +2323,9 @@ module Aws::ElastiCache
2247
2323
  # @option params [Array<String>] :user_group_ids
2248
2324
  # The list of user groups to associate with the replication group.
2249
2325
  #
2326
+ # @option params [Array<Types::LogDeliveryConfigurationRequest>] :log_delivery_configurations
2327
+ # Specifies the destination, format and type of the logs.
2328
+ #
2250
2329
  # @return [Types::CreateReplicationGroupResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2251
2330
  #
2252
2331
  # * {Types::CreateReplicationGroupResult#replication_group #replication_group} => Types::ReplicationGroup
@@ -2392,6 +2471,22 @@ module Aws::ElastiCache
2392
2471
  # at_rest_encryption_enabled: false,
2393
2472
  # kms_key_id: "String",
2394
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
+ # ],
2395
2490
  # })
2396
2491
  #
2397
2492
  # @example Response structure
@@ -2409,6 +2504,12 @@ module Aws::ElastiCache
2409
2504
  # resp.replication_group.pending_modified_values.user_groups.user_group_ids_to_add[0] #=> String
2410
2505
  # resp.replication_group.pending_modified_values.user_groups.user_group_ids_to_remove #=> Array
2411
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"
2412
2513
  # resp.replication_group.member_clusters #=> Array
2413
2514
  # resp.replication_group.member_clusters[0] #=> String
2414
2515
  # resp.replication_group.node_groups #=> Array
@@ -2446,6 +2547,14 @@ module Aws::ElastiCache
2446
2547
  # resp.replication_group.arn #=> String
2447
2548
  # resp.replication_group.user_group_ids #=> Array
2448
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
2449
2558
  #
2450
2559
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateReplicationGroup AWS API Documentation
2451
2560
  #
@@ -2477,6 +2586,11 @@ module Aws::ElastiCache
2477
2586
  # @option params [String] :kms_key_id
2478
2587
  # The ID of the KMS key used to encrypt the snapshot.
2479
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
+ #
2480
2594
  # @return [Types::CreateSnapshotResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2481
2595
  #
2482
2596
  # * {Types::CreateSnapshotResult#snapshot #snapshot} => Types::Snapshot
@@ -2613,6 +2727,12 @@ module Aws::ElastiCache
2613
2727
  # cache_cluster_id: "String",
2614
2728
  # snapshot_name: "String", # required
2615
2729
  # kms_key_id: "String",
2730
+ # tags: [
2731
+ # {
2732
+ # key: "String",
2733
+ # value: "String",
2734
+ # },
2735
+ # ],
2616
2736
  # })
2617
2737
  #
2618
2738
  # @example Response structure
@@ -2695,6 +2815,11 @@ module Aws::ElastiCache
2695
2815
  # @option params [Boolean] :no_password_required
2696
2816
  # Indicates a password is not required for this user.
2697
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
+ #
2698
2823
  # @return [Types::User] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2699
2824
  #
2700
2825
  # * {Types::User#user_id #user_id} => String
@@ -2715,6 +2840,12 @@ module Aws::ElastiCache
2715
2840
  # passwords: ["String"],
2716
2841
  # access_string: "AccessString", # required
2717
2842
  # no_password_required: false,
2843
+ # tags: [
2844
+ # {
2845
+ # key: "String",
2846
+ # value: "String",
2847
+ # },
2848
+ # ],
2718
2849
  # })
2719
2850
  #
2720
2851
  # @example Response structure
@@ -2755,6 +2886,11 @@ module Aws::ElastiCache
2755
2886
  # @option params [Array<String>] :user_ids
2756
2887
  # The list of user IDs that belong to the user group.
2757
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
+ #
2758
2894
  # @return [Types::UserGroup] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2759
2895
  #
2760
2896
  # * {Types::UserGroup#user_group_id #user_group_id} => String
@@ -2771,6 +2907,12 @@ module Aws::ElastiCache
2771
2907
  # user_group_id: "String", # required
2772
2908
  # engine: "EngineType", # required
2773
2909
  # user_ids: ["UserId"],
2910
+ # tags: [
2911
+ # {
2912
+ # key: "String",
2913
+ # value: "String",
2914
+ # },
2915
+ # ],
2774
2916
  # })
2775
2917
  #
2776
2918
  # @example Response structure
@@ -2797,10 +2939,10 @@ module Aws::ElastiCache
2797
2939
  req.send_request(options)
2798
2940
  end
2799
2941
 
2800
- # Decreases the number of node groups in a Global Datastore
2942
+ # Decreases the number of node groups in a Global datastore
2801
2943
  #
2802
2944
  # @option params [required, String] :global_replication_group_id
2803
- # The name of the Global Datastore
2945
+ # The name of the Global datastore
2804
2946
  #
2805
2947
  # @option params [required, Integer] :node_group_count
2806
2948
  # The number of node groups (shards) that results from the modification
@@ -2809,16 +2951,16 @@ module Aws::ElastiCache
2809
2951
  # @option params [Array<String>] :global_node_groups_to_remove
2810
2952
  # If the value of NodeGroupCount is less than the current number of node
2811
2953
  # groups (shards), then either NodeGroupsToRemove or NodeGroupsToRetain
2812
- # is required. NodeGroupsToRemove is a list of NodeGroupIds to remove
2813
- # from the cluster. ElastiCache for Redis will attempt to remove all
2814
- # 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.
2815
2957
  #
2816
2958
  # @option params [Array<String>] :global_node_groups_to_retain
2817
2959
  # If the value of NodeGroupCount is less than the current number of node
2818
2960
  # groups (shards), then either NodeGroupsToRemove or NodeGroupsToRetain
2819
- # is required. NodeGroupsToRemove is a list of NodeGroupIds to remove
2820
- # from the cluster. ElastiCache for Redis will attempt to remove all
2821
- # 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.
2822
2964
  #
2823
2965
  # @option params [required, Boolean] :apply_immediately
2824
2966
  # Indicates that the shard reconfiguration process begins immediately.
@@ -2948,6 +3090,12 @@ module Aws::ElastiCache
2948
3090
  # resp.replication_group.pending_modified_values.user_groups.user_group_ids_to_add[0] #=> String
2949
3091
  # resp.replication_group.pending_modified_values.user_groups.user_group_ids_to_remove #=> Array
2950
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"
2951
3099
  # resp.replication_group.member_clusters #=> Array
2952
3100
  # resp.replication_group.member_clusters[0] #=> String
2953
3101
  # resp.replication_group.node_groups #=> Array
@@ -2985,6 +3133,14 @@ module Aws::ElastiCache
2985
3133
  # resp.replication_group.arn #=> String
2986
3134
  # resp.replication_group.user_group_ids #=> Array
2987
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
2988
3144
  #
2989
3145
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DecreaseReplicaCount AWS API Documentation
2990
3146
  #
@@ -3099,6 +3255,12 @@ module Aws::ElastiCache
3099
3255
  # resp.cache_cluster.pending_modified_values.engine_version #=> String
3100
3256
  # resp.cache_cluster.pending_modified_values.cache_node_type #=> String
3101
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"
3102
3264
  # resp.cache_cluster.notification_configuration.topic_arn #=> String
3103
3265
  # resp.cache_cluster.notification_configuration.topic_status #=> String
3104
3266
  # resp.cache_cluster.cache_security_groups #=> Array
@@ -3131,6 +3293,15 @@ module Aws::ElastiCache
3131
3293
  # resp.cache_cluster.transit_encryption_enabled #=> Boolean
3132
3294
  # resp.cache_cluster.at_rest_encryption_enabled #=> Boolean
3133
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
3134
3305
  #
3135
3306
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteCacheCluster AWS API Documentation
3136
3307
  #
@@ -3221,8 +3392,8 @@ module Aws::ElastiCache
3221
3392
 
3222
3393
  # Deletes a cache subnet group.
3223
3394
  #
3224
- # <note markdown="1"> You cannot delete a cache subnet group if it is associated with any
3225
- # clusters.
3395
+ # <note markdown="1"> You cannot delete a default cache subnet group or one that is
3396
+ # associated with any clusters.
3226
3397
  #
3227
3398
  # </note>
3228
3399
  #
@@ -3258,25 +3429,28 @@ module Aws::ElastiCache
3258
3429
  req.send_request(options)
3259
3430
  end
3260
3431
 
3261
- # Deleting a Global Datastore is a two-step process:
3432
+ # Deleting a Global datastore is a two-step process:
3262
3433
  #
3263
3434
  # * First, you must DisassociateGlobalReplicationGroup to remove the
3264
- # secondary clusters in the Global Datastore.
3435
+ # secondary clusters in the Global datastore.
3265
3436
  #
3266
- # * Once the Global Datastore contains only the primary cluster, you can
3267
- # use DeleteGlobalReplicationGroup API to delete the Global Datastore
3268
- # 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`.
3269
3441
  #
3270
3442
  # Since the Global Datastore has only a primary cluster, you can delete
3271
3443
  # the Global Datastore while retaining the primary by setting
3272
- # `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.
3273
3447
  #
3274
3448
  # When you receive a successful response from this operation, Amazon
3275
3449
  # ElastiCache immediately begins deleting the selected resources; you
3276
3450
  # cannot cancel or revert this operation.
3277
3451
  #
3278
3452
  # @option params [required, String] :global_replication_group_id
3279
- # The name of the Global Datastore
3453
+ # The name of the Global datastore
3280
3454
  #
3281
3455
  # @option params [required, Boolean] :retain_primary_replication_group
3282
3456
  # The primary replication group is retained as a standalone replication
@@ -3403,6 +3577,12 @@ module Aws::ElastiCache
3403
3577
  # resp.replication_group.pending_modified_values.user_groups.user_group_ids_to_add[0] #=> String
3404
3578
  # resp.replication_group.pending_modified_values.user_groups.user_group_ids_to_remove #=> Array
3405
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"
3406
3586
  # resp.replication_group.member_clusters #=> Array
3407
3587
  # resp.replication_group.member_clusters[0] #=> String
3408
3588
  # resp.replication_group.node_groups #=> Array
@@ -3440,6 +3620,14 @@ module Aws::ElastiCache
3440
3620
  # resp.replication_group.arn #=> String
3441
3621
  # resp.replication_group.user_group_ids #=> Array
3442
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
3443
3631
  #
3444
3632
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteReplicationGroup AWS API Documentation
3445
3633
  #
@@ -3874,6 +4062,12 @@ module Aws::ElastiCache
3874
4062
  # resp.cache_clusters[0].pending_modified_values.engine_version #=> String
3875
4063
  # resp.cache_clusters[0].pending_modified_values.cache_node_type #=> String
3876
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"
3877
4071
  # resp.cache_clusters[0].notification_configuration.topic_arn #=> String
3878
4072
  # resp.cache_clusters[0].notification_configuration.topic_status #=> String
3879
4073
  # resp.cache_clusters[0].cache_security_groups #=> Array
@@ -3906,6 +4100,15 @@ module Aws::ElastiCache
3906
4100
  # resp.cache_clusters[0].transit_encryption_enabled #=> Boolean
3907
4101
  # resp.cache_clusters[0].at_rest_encryption_enabled #=> Boolean
3908
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
3909
4112
  #
3910
4113
  #
3911
4114
  # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
@@ -5786,10 +5989,10 @@ module Aws::ElastiCache
5786
5989
 
5787
5990
  # Returns information about a particular global replication group. If no
5788
5991
  # identifier is specified, returns information about all Global
5789
- # Datastores.
5992
+ # datastores.
5790
5993
  #
5791
5994
  # @option params [String] :global_replication_group_id
5792
- # The name of the Global Datastore
5995
+ # The name of the Global datastore
5793
5996
  #
5794
5997
  # @option params [Integer] :max_records
5795
5998
  # The maximum number of records to include in the response. If more
@@ -5804,7 +6007,7 @@ module Aws::ElastiCache
5804
6007
  # the value specified by `MaxRecords`.
5805
6008
  #
5806
6009
  # @option params [Boolean] :show_member_info
5807
- # Returns the list of members that comprise the Global Datastore.
6010
+ # Returns the list of members that comprise the Global datastore.
5808
6011
  #
5809
6012
  # @return [Types::DescribeGlobalReplicationGroupsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5810
6013
  #
@@ -5982,6 +6185,12 @@ module Aws::ElastiCache
5982
6185
  # resp.replication_groups[0].pending_modified_values.user_groups.user_group_ids_to_add[0] #=> String
5983
6186
  # resp.replication_groups[0].pending_modified_values.user_groups.user_group_ids_to_remove #=> Array
5984
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"
5985
6194
  # resp.replication_groups[0].member_clusters #=> Array
5986
6195
  # resp.replication_groups[0].member_clusters[0] #=> String
5987
6196
  # resp.replication_groups[0].node_groups #=> Array
@@ -6019,6 +6228,14 @@ module Aws::ElastiCache
6019
6228
  # resp.replication_groups[0].arn #=> String
6020
6229
  # resp.replication_groups[0].user_group_ids #=> Array
6021
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
6022
6239
  #
6023
6240
  #
6024
6241
  # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
@@ -7212,21 +7429,21 @@ module Aws::ElastiCache
7212
7429
  req.send_request(options)
7213
7430
  end
7214
7431
 
7215
- # Remove a secondary cluster from the Global Datastore using the Global
7216
- # 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
7217
7434
  # from the primary cluster, but will remain as a standalone cluster in
7218
7435
  # that AWS region.
7219
7436
  #
7220
7437
  # @option params [required, String] :global_replication_group_id
7221
- # The name of the Global Datastore
7438
+ # The name of the Global datastore
7222
7439
  #
7223
7440
  # @option params [required, String] :replication_group_id
7224
7441
  # The name of the secondary cluster you wish to remove from the Global
7225
- # Datastore
7442
+ # datastore
7226
7443
  #
7227
7444
  # @option params [required, String] :replication_group_region
7228
7445
  # The AWS region of secondary cluster you wish to remove from the Global
7229
- # Datastore
7446
+ # datastore
7230
7447
  #
7231
7448
  # @return [Types::DisassociateGlobalReplicationGroupResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7232
7449
  #
@@ -7277,10 +7494,10 @@ module Aws::ElastiCache
7277
7494
  # clusters will become secondary.
7278
7495
  #
7279
7496
  # @option params [required, String] :global_replication_group_id
7280
- # The name of the Global Datastore
7497
+ # The name of the Global datastore
7281
7498
  #
7282
7499
  # @option params [required, String] :primary_region
7283
- # The AWS region of the primary cluster of the Global Datastore
7500
+ # The AWS region of the primary cluster of the Global datastore
7284
7501
  #
7285
7502
  # @option params [required, String] :primary_replication_group_id
7286
7503
  # The name of the primary replication group
@@ -7329,10 +7546,10 @@ module Aws::ElastiCache
7329
7546
  req.send_request(options)
7330
7547
  end
7331
7548
 
7332
- # Increase the number of node groups in the Global Datastore
7549
+ # Increase the number of node groups in the Global datastore
7333
7550
  #
7334
7551
  # @option params [required, String] :global_replication_group_id
7335
- # The name of the Global Datastore
7552
+ # The name of the Global datastore
7336
7553
  #
7337
7554
  # @option params [required, Integer] :node_group_count
7338
7555
  # The number of node groups you wish to add
@@ -7340,7 +7557,7 @@ module Aws::ElastiCache
7340
7557
  # @option params [Array<Types::RegionalConfiguration>] :regional_configurations
7341
7558
  # Describes the replication group IDs, the AWS regions where they are
7342
7559
  # stored and the shard configuration for each that comprise the Global
7343
- # Datastore
7560
+ # datastore
7344
7561
  #
7345
7562
  # @option params [required, Boolean] :apply_immediately
7346
7563
  # Indicates that the process begins immediately. At present, the only
@@ -7464,6 +7681,12 @@ module Aws::ElastiCache
7464
7681
  # resp.replication_group.pending_modified_values.user_groups.user_group_ids_to_add[0] #=> String
7465
7682
  # resp.replication_group.pending_modified_values.user_groups.user_group_ids_to_remove #=> Array
7466
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"
7467
7690
  # resp.replication_group.member_clusters #=> Array
7468
7691
  # resp.replication_group.member_clusters[0] #=> String
7469
7692
  # resp.replication_group.node_groups #=> Array
@@ -7501,6 +7724,14 @@ module Aws::ElastiCache
7501
7724
  # resp.replication_group.arn #=> String
7502
7725
  # resp.replication_group.user_group_ids #=> Array
7503
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
7504
7735
  #
7505
7736
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/IncreaseReplicaCount AWS API Documentation
7506
7737
  #
@@ -7602,20 +7833,21 @@ module Aws::ElastiCache
7602
7833
  req.send_request(options)
7603
7834
  end
7604
7835
 
7605
- # Lists all cost allocation tags currently on the named resource. A
7606
- # `cost allocation tag` is a key-value pair where the key is
7607
- # case-sensitive and the value is optional. You can use cost allocation
7608
- # 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].
7609
7844
  #
7610
7845
  # If the cluster is not in the *available* state, `ListTagsForResource`
7611
7846
  # returns an error.
7612
7847
  #
7613
- # You can have a maximum of 50 cost allocation tags on an ElastiCache
7614
- # resource. For more information, see [Monitoring Costs with Tags][1].
7615
7848
  #
7616
7849
  #
7617
- #
7618
- # [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
7619
7851
  #
7620
7852
  # @option params [required, String] :resource_name
7621
7853
  # The Amazon Resource Name (ARN) of the resource for which you want the
@@ -7700,7 +7932,7 @@ module Aws::ElastiCache
7700
7932
  # cache nodes to remove.
7701
7933
  #
7702
7934
  # For clusters running Redis, this value must be 1. For clusters running
7703
- # Memcached, this value must be between 1 and 20.
7935
+ # Memcached, this value must be between 1 and 40.
7704
7936
  #
7705
7937
  # <note markdown="1"> Adding or removing Memcached cache nodes can be applied immediately or
7706
7938
  # as a pending operation (see `ApplyImmediately`).
@@ -7757,6 +7989,10 @@ module Aws::ElastiCache
7757
7989
  # </note>
7758
7990
  #
7759
7991
  # @option params [Array<String>] :new_availability_zones
7992
+ # <note markdown="1"> This option is only supported on Memcached clusters.
7993
+ #
7994
+ # </note>
7995
+ #
7760
7996
  # The list of Availability Zones where the new Memcached cache nodes are
7761
7997
  # created.
7762
7998
  #
@@ -7766,8 +8002,6 @@ module Aws::ElastiCache
7766
8002
  # of Availability Zones supplied in this list must match the cache nodes
7767
8003
  # being added in this request.
7768
8004
  #
7769
- # This option is only supported on Memcached clusters.
7770
- #
7771
8005
  # Scenarios:
7772
8006
  #
7773
8007
  # * **Scenario 1:** You have 3 active nodes and wish to add 2 nodes.
@@ -7982,6 +8216,9 @@ module Aws::ElastiCache
7982
8216
  #
7983
8217
  # [1]: http://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/auth.html
7984
8218
  #
8219
+ # @option params [Array<Types::LogDeliveryConfigurationRequest>] :log_delivery_configurations
8220
+ # Specifies the destination, format and type of the logs.
8221
+ #
7985
8222
  # @return [Types::ModifyCacheClusterResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7986
8223
  #
7987
8224
  # * {Types::ModifyCacheClusterResult#cache_cluster #cache_cluster} => Types::CacheCluster
@@ -8049,6 +8286,22 @@ module Aws::ElastiCache
8049
8286
  # cache_node_type: "String",
8050
8287
  # auth_token: "String",
8051
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
+ # ],
8052
8305
  # })
8053
8306
  #
8054
8307
  # @example Response structure
@@ -8072,6 +8325,12 @@ module Aws::ElastiCache
8072
8325
  # resp.cache_cluster.pending_modified_values.engine_version #=> String
8073
8326
  # resp.cache_cluster.pending_modified_values.cache_node_type #=> String
8074
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"
8075
8334
  # resp.cache_cluster.notification_configuration.topic_arn #=> String
8076
8335
  # resp.cache_cluster.notification_configuration.topic_status #=> String
8077
8336
  # resp.cache_cluster.cache_security_groups #=> Array
@@ -8104,6 +8363,15 @@ module Aws::ElastiCache
8104
8363
  # resp.cache_cluster.transit_encryption_enabled #=> Boolean
8105
8364
  # resp.cache_cluster.at_rest_encryption_enabled #=> Boolean
8106
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
8107
8375
  #
8108
8376
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ModifyCacheCluster AWS API Documentation
8109
8377
  #
@@ -8282,10 +8550,10 @@ module Aws::ElastiCache
8282
8550
  req.send_request(options)
8283
8551
  end
8284
8552
 
8285
- # Modifies the settings for a Global Datastore.
8553
+ # Modifies the settings for a Global datastore.
8286
8554
  #
8287
8555
  # @option params [required, String] :global_replication_group_id
8288
- # The name of the Global Datastore
8556
+ # The name of the Global datastore
8289
8557
  #
8290
8558
  # @option params [required, Boolean] :apply_immediately
8291
8559
  # This parameter causes the modifications in this request and any
@@ -8294,12 +8562,12 @@ module Aws::ElastiCache
8294
8562
  # requested to be applied in PreferredMaintenceWindow.
8295
8563
  #
8296
8564
  # @option params [String] :cache_node_type
8297
- # 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
8298
8566
  # to.
8299
8567
  #
8300
8568
  # @option params [String] :engine_version
8301
8569
  # The upgraded version of the cache engine to be run on the clusters in
8302
- # the Global Datastore.
8570
+ # the Global datastore.
8303
8571
  #
8304
8572
  # @option params [String] :cache_parameter_group_name
8305
8573
  # The name of the cache parameter group to use with the Global
@@ -8307,7 +8575,7 @@ module Aws::ElastiCache
8307
8575
  # the Global datastore.
8308
8576
  #
8309
8577
  # @option params [String] :global_replication_group_description
8310
- # A description of the Global Datastore
8578
+ # A description of the Global datastore
8311
8579
  #
8312
8580
  # @option params [Boolean] :automatic_failover_enabled
8313
8581
  # Determines whether a read replica is automatically promoted to
@@ -8403,13 +8671,9 @@ module Aws::ElastiCache
8403
8671
  # Valid values: `true` \| `false`
8404
8672
  #
8405
8673
  # @option params [Boolean] :multi_az_enabled
8406
- # A flag indicating if you have Multi-AZ enabled to enhance fault
8407
- # tolerance. For more information, see [Minimizing Downtime:
8408
- # Multi-AZ][1].
8409
- #
8410
- #
8411
- #
8412
- # [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.
8413
8677
  #
8414
8678
  # @option params [String] :node_group_id
8415
8679
  # Deprecated. This parameter is not used.
@@ -8575,6 +8839,9 @@ module Aws::ElastiCache
8575
8839
  # @option params [Boolean] :remove_user_groups
8576
8840
  # Removes the user groups that can access this replication group.
8577
8841
  #
8842
+ # @option params [Array<Types::LogDeliveryConfigurationRequest>] :log_delivery_configurations
8843
+ # Specifies the destination, format and type of the logs.
8844
+ #
8578
8845
  # @return [Types::ModifyReplicationGroupResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
8579
8846
  #
8580
8847
  # * {Types::ModifyReplicationGroupResult#replication_group #replication_group} => Types::ReplicationGroup
@@ -8677,6 +8944,22 @@ module Aws::ElastiCache
8677
8944
  # user_group_ids_to_add: ["UserGroupId"],
8678
8945
  # user_group_ids_to_remove: ["UserGroupId"],
8679
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
+ # ],
8680
8963
  # })
8681
8964
  #
8682
8965
  # @example Response structure
@@ -8694,6 +8977,12 @@ module Aws::ElastiCache
8694
8977
  # resp.replication_group.pending_modified_values.user_groups.user_group_ids_to_add[0] #=> String
8695
8978
  # resp.replication_group.pending_modified_values.user_groups.user_group_ids_to_remove #=> Array
8696
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"
8697
8986
  # resp.replication_group.member_clusters #=> Array
8698
8987
  # resp.replication_group.member_clusters[0] #=> String
8699
8988
  # resp.replication_group.node_groups #=> Array
@@ -8731,6 +9020,14 @@ module Aws::ElastiCache
8731
9020
  # resp.replication_group.arn #=> String
8732
9021
  # resp.replication_group.user_group_ids #=> Array
8733
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
8734
9031
  #
8735
9032
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ModifyReplicationGroup AWS API Documentation
8736
9033
  #
@@ -8743,7 +9040,7 @@ module Aws::ElastiCache
8743
9040
 
8744
9041
  # Modifies a replication group's shards (node groups) by allowing you
8745
9042
  # to add shards, remove shards, or rebalance the keyspaces among
8746
- # exisiting shards.
9043
+ # existing shards.
8747
9044
  #
8748
9045
  # @option params [required, String] :replication_group_id
8749
9046
  # The name of the Redis (cluster mode enabled) cluster (replication
@@ -8822,6 +9119,12 @@ module Aws::ElastiCache
8822
9119
  # resp.replication_group.pending_modified_values.user_groups.user_group_ids_to_add[0] #=> String
8823
9120
  # resp.replication_group.pending_modified_values.user_groups.user_group_ids_to_remove #=> Array
8824
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"
8825
9128
  # resp.replication_group.member_clusters #=> Array
8826
9129
  # resp.replication_group.member_clusters[0] #=> String
8827
9130
  # resp.replication_group.node_groups #=> Array
@@ -8859,6 +9162,14 @@ module Aws::ElastiCache
8859
9162
  # resp.replication_group.arn #=> String
8860
9163
  # resp.replication_group.user_group_ids #=> Array
8861
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
8862
9173
  #
8863
9174
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ModifyReplicationGroupShardConfiguration AWS API Documentation
8864
9175
  #
@@ -9013,6 +9324,11 @@ module Aws::ElastiCache
9013
9324
  #
9014
9325
  # Default: `1`
9015
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
+ #
9016
9332
  # @return [Types::PurchaseReservedCacheNodesOfferingResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
9017
9333
  #
9018
9334
  # * {Types::PurchaseReservedCacheNodesOfferingResult#reserved_cache_node #reserved_cache_node} => Types::ReservedCacheNode
@@ -9032,6 +9348,12 @@ module Aws::ElastiCache
9032
9348
  # reserved_cache_nodes_offering_id: "String", # required
9033
9349
  # reserved_cache_node_id: "String",
9034
9350
  # cache_node_count: 1,
9351
+ # tags: [
9352
+ # {
9353
+ # key: "String",
9354
+ # value: "String",
9355
+ # },
9356
+ # ],
9035
9357
  # })
9036
9358
  #
9037
9359
  # @example Response structure
@@ -9065,7 +9387,7 @@ module Aws::ElastiCache
9065
9387
  # shards in the cluster.
9066
9388
  #
9067
9389
  # @option params [required, String] :global_replication_group_id
9068
- # The name of the Global Datastore
9390
+ # The name of the Global datastore
9069
9391
  #
9070
9392
  # @option params [required, Boolean] :apply_immediately
9071
9393
  # If `True`, redistribution is applied immediately.
@@ -9222,6 +9544,12 @@ module Aws::ElastiCache
9222
9544
  # resp.cache_cluster.pending_modified_values.engine_version #=> String
9223
9545
  # resp.cache_cluster.pending_modified_values.cache_node_type #=> String
9224
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"
9225
9553
  # resp.cache_cluster.notification_configuration.topic_arn #=> String
9226
9554
  # resp.cache_cluster.notification_configuration.topic_status #=> String
9227
9555
  # resp.cache_cluster.cache_security_groups #=> Array
@@ -9254,6 +9582,15 @@ module Aws::ElastiCache
9254
9582
  # resp.cache_cluster.transit_encryption_enabled #=> Boolean
9255
9583
  # resp.cache_cluster.at_rest_encryption_enabled #=> Boolean
9256
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
9257
9594
  #
9258
9595
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/RebootCacheCluster AWS API Documentation
9259
9596
  #
@@ -9265,7 +9602,16 @@ module Aws::ElastiCache
9265
9602
  end
9266
9603
 
9267
9604
  # Removes the tags identified by the `TagKeys` list from the named
9268
- # 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
9269
9615
  #
9270
9616
  # @option params [required, String] :resource_name
9271
9617
  # The Amazon Resource Name (ARN) of the resource from which you want the
@@ -9516,6 +9862,12 @@ module Aws::ElastiCache
9516
9862
  # resp.replication_group.pending_modified_values.user_groups.user_group_ids_to_add[0] #=> String
9517
9863
  # resp.replication_group.pending_modified_values.user_groups.user_group_ids_to_remove #=> Array
9518
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"
9519
9871
  # resp.replication_group.member_clusters #=> Array
9520
9872
  # resp.replication_group.member_clusters[0] #=> String
9521
9873
  # resp.replication_group.node_groups #=> Array
@@ -9553,6 +9905,14 @@ module Aws::ElastiCache
9553
9905
  # resp.replication_group.arn #=> String
9554
9906
  # resp.replication_group.user_group_ids #=> Array
9555
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
9556
9916
  #
9557
9917
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/StartMigration AWS API Documentation
9558
9918
  #
@@ -9652,6 +10012,12 @@ module Aws::ElastiCache
9652
10012
  # resp.replication_group.pending_modified_values.user_groups.user_group_ids_to_add[0] #=> String
9653
10013
  # resp.replication_group.pending_modified_values.user_groups.user_group_ids_to_remove #=> Array
9654
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"
9655
10021
  # resp.replication_group.member_clusters #=> Array
9656
10022
  # resp.replication_group.member_clusters[0] #=> String
9657
10023
  # resp.replication_group.node_groups #=> Array
@@ -9689,6 +10055,14 @@ module Aws::ElastiCache
9689
10055
  # resp.replication_group.arn #=> String
9690
10056
  # resp.replication_group.user_group_ids #=> Array
9691
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
9692
10066
  #
9693
10067
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/TestFailover AWS API Documentation
9694
10068
  #
@@ -9712,7 +10086,7 @@ module Aws::ElastiCache
9712
10086
  params: params,
9713
10087
  config: config)
9714
10088
  context[:gem_name] = 'aws-sdk-elasticache'
9715
- context[:gem_version] = '1.51.0'
10089
+ context[:gem_version] = '1.56.0'
9716
10090
  Seahorse::Client::Request.new(handlers, context)
9717
10091
  end
9718
10092