aws-sdk-elasticache 1.24.0 → 1.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-elasticache.rb +1 -1
- data/lib/aws-sdk-elasticache/client.rb +31 -7
- data/lib/aws-sdk-elasticache/client_api.rb +10 -0
- data/lib/aws-sdk-elasticache/types.rb +37 -9
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 49527bd6f3b4976d76afd08409641d4c4568152f
|
4
|
+
data.tar.gz: 26613d46e93eb6431ce9a0578f115c7cf1e38189
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b00791c9db7fde72d2e43ed55ebadffcec514586d04ca94c9bd9bdf915a06a2d04aa1efc6b76cd43a8cea07577a5fb7af89c9541d3fcb6a0947b2429a6e309a8
|
7
|
+
data.tar.gz: ce27cd27a151272c7a0dbf5901a4577c69198bcbca94a8e7e42f23fa2d26dcfe0ad15db65c5d6096b9fd84e59725565d60950f817281f951eaa23e03f5f35b3d
|
data/lib/aws-sdk-elasticache.rb
CHANGED
@@ -612,6 +612,9 @@ module Aws::ElastiCache
|
|
612
612
|
# [1]: https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/backups-exporting.html#backups-exporting-grant-access
|
613
613
|
# [2]: https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/Snapshots.Exporting.html
|
614
614
|
#
|
615
|
+
# @option params [String] :kms_key_id
|
616
|
+
# The ID of the KMS key used to encrypt the target snapshot.
|
617
|
+
#
|
615
618
|
# @return [Types::CopySnapshotResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
616
619
|
#
|
617
620
|
# * {Types::CopySnapshotResult#snapshot #snapshot} => Types::Snapshot
|
@@ -665,6 +668,7 @@ module Aws::ElastiCache
|
|
665
668
|
# source_snapshot_name: "String", # required
|
666
669
|
# target_snapshot_name: "String", # required
|
667
670
|
# target_bucket: "String",
|
671
|
+
# kms_key_id: "String",
|
668
672
|
# })
|
669
673
|
#
|
670
674
|
# @example Response structure
|
@@ -705,6 +709,7 @@ module Aws::ElastiCache
|
|
705
709
|
# resp.snapshot.node_snapshots[0].cache_size #=> String
|
706
710
|
# resp.snapshot.node_snapshots[0].cache_node_create_time #=> Time
|
707
711
|
# resp.snapshot.node_snapshots[0].snapshot_create_time #=> Time
|
712
|
+
# resp.snapshot.kms_key_id #=> String
|
708
713
|
#
|
709
714
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CopySnapshot AWS API Documentation
|
710
715
|
#
|
@@ -727,7 +732,7 @@ module Aws::ElastiCache
|
|
727
732
|
#
|
728
733
|
# **Constraints:**
|
729
734
|
#
|
730
|
-
# * A name must contain from 1 to
|
735
|
+
# * A name must contain from 1 to 50 alphanumeric characters or hyphens.
|
731
736
|
#
|
732
737
|
# * The first character must be a letter.
|
733
738
|
#
|
@@ -1500,7 +1505,7 @@ module Aws::ElastiCache
|
|
1500
1505
|
#
|
1501
1506
|
# Constraints:
|
1502
1507
|
#
|
1503
|
-
# * A name must contain from 1 to
|
1508
|
+
# * A name must contain from 1 to 40 alphanumeric characters or hyphens.
|
1504
1509
|
#
|
1505
1510
|
# * The first character must be a letter.
|
1506
1511
|
#
|
@@ -1855,8 +1860,8 @@ module Aws::ElastiCache
|
|
1855
1860
|
# cluster.
|
1856
1861
|
#
|
1857
1862
|
# This parameter is valid only if the `Engine` parameter is `redis`, the
|
1858
|
-
# `EngineVersion` parameter is `3.2.6
|
1859
|
-
# being created in an Amazon VPC.
|
1863
|
+
# `EngineVersion` parameter is `3.2.6`, `4.x` or later, and the cluster
|
1864
|
+
# is being created in an Amazon VPC.
|
1860
1865
|
#
|
1861
1866
|
# If you enable in-transit encryption, you must also specify a value for
|
1862
1867
|
# `CacheSubnetGroup`.
|
@@ -1882,6 +1887,9 @@ module Aws::ElastiCache
|
|
1882
1887
|
#
|
1883
1888
|
# Default: `false`
|
1884
1889
|
#
|
1890
|
+
# @option params [String] :kms_key_id
|
1891
|
+
# The ID of the KMS key used to encrypt the disk on the cluster.
|
1892
|
+
#
|
1885
1893
|
# @return [Types::CreateReplicationGroupResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1886
1894
|
#
|
1887
1895
|
# * {Types::CreateReplicationGroupResult#replication_group #replication_group} => Types::ReplicationGroup
|
@@ -2021,6 +2029,7 @@ module Aws::ElastiCache
|
|
2021
2029
|
# auth_token: "String",
|
2022
2030
|
# transit_encryption_enabled: false,
|
2023
2031
|
# at_rest_encryption_enabled: false,
|
2032
|
+
# kms_key_id: "String",
|
2024
2033
|
# })
|
2025
2034
|
#
|
2026
2035
|
# @example Response structure
|
@@ -2059,6 +2068,7 @@ module Aws::ElastiCache
|
|
2059
2068
|
# resp.replication_group.auth_token_enabled #=> Boolean
|
2060
2069
|
# resp.replication_group.transit_encryption_enabled #=> Boolean
|
2061
2070
|
# resp.replication_group.at_rest_encryption_enabled #=> Boolean
|
2071
|
+
# resp.replication_group.kms_key_id #=> String
|
2062
2072
|
#
|
2063
2073
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateReplicationGroup AWS API Documentation
|
2064
2074
|
#
|
@@ -2087,6 +2097,9 @@ module Aws::ElastiCache
|
|
2087
2097
|
# @option params [required, String] :snapshot_name
|
2088
2098
|
# A name for the snapshot being created.
|
2089
2099
|
#
|
2100
|
+
# @option params [String] :kms_key_id
|
2101
|
+
# The ID of the KMS key used to encrypt the snapshot.
|
2102
|
+
#
|
2090
2103
|
# @return [Types::CreateSnapshotResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2091
2104
|
#
|
2092
2105
|
# * {Types::CreateSnapshotResult#snapshot #snapshot} => Types::Snapshot
|
@@ -2222,6 +2235,7 @@ module Aws::ElastiCache
|
|
2222
2235
|
# replication_group_id: "String",
|
2223
2236
|
# cache_cluster_id: "String",
|
2224
2237
|
# snapshot_name: "String", # required
|
2238
|
+
# kms_key_id: "String",
|
2225
2239
|
# })
|
2226
2240
|
#
|
2227
2241
|
# @example Response structure
|
@@ -2262,6 +2276,7 @@ module Aws::ElastiCache
|
|
2262
2276
|
# resp.snapshot.node_snapshots[0].cache_size #=> String
|
2263
2277
|
# resp.snapshot.node_snapshots[0].cache_node_create_time #=> Time
|
2264
2278
|
# resp.snapshot.node_snapshots[0].snapshot_create_time #=> Time
|
2279
|
+
# resp.snapshot.kms_key_id #=> String
|
2265
2280
|
#
|
2266
2281
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateSnapshot AWS API Documentation
|
2267
2282
|
#
|
@@ -2370,6 +2385,7 @@ module Aws::ElastiCache
|
|
2370
2385
|
# resp.replication_group.auth_token_enabled #=> Boolean
|
2371
2386
|
# resp.replication_group.transit_encryption_enabled #=> Boolean
|
2372
2387
|
# resp.replication_group.at_rest_encryption_enabled #=> Boolean
|
2388
|
+
# resp.replication_group.kms_key_id #=> String
|
2373
2389
|
#
|
2374
2390
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DecreaseReplicaCount AWS API Documentation
|
2375
2391
|
#
|
@@ -2732,6 +2748,7 @@ module Aws::ElastiCache
|
|
2732
2748
|
# resp.replication_group.auth_token_enabled #=> Boolean
|
2733
2749
|
# resp.replication_group.transit_encryption_enabled #=> Boolean
|
2734
2750
|
# resp.replication_group.at_rest_encryption_enabled #=> Boolean
|
2751
|
+
# resp.replication_group.kms_key_id #=> String
|
2735
2752
|
#
|
2736
2753
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteReplicationGroup AWS API Documentation
|
2737
2754
|
#
|
@@ -2842,6 +2859,7 @@ module Aws::ElastiCache
|
|
2842
2859
|
# resp.snapshot.node_snapshots[0].cache_size #=> String
|
2843
2860
|
# resp.snapshot.node_snapshots[0].cache_node_create_time #=> Time
|
2844
2861
|
# resp.snapshot.node_snapshots[0].snapshot_create_time #=> Time
|
2862
|
+
# resp.snapshot.kms_key_id #=> String
|
2845
2863
|
#
|
2846
2864
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteSnapshot AWS API Documentation
|
2847
2865
|
#
|
@@ -5078,6 +5096,7 @@ module Aws::ElastiCache
|
|
5078
5096
|
# resp.replication_groups[0].auth_token_enabled #=> Boolean
|
5079
5097
|
# resp.replication_groups[0].transit_encryption_enabled #=> Boolean
|
5080
5098
|
# resp.replication_groups[0].at_rest_encryption_enabled #=> Boolean
|
5099
|
+
# resp.replication_groups[0].kms_key_id #=> String
|
5081
5100
|
#
|
5082
5101
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeReplicationGroups AWS API Documentation
|
5083
5102
|
#
|
@@ -5944,6 +5963,7 @@ module Aws::ElastiCache
|
|
5944
5963
|
# resp.snapshots[0].node_snapshots[0].cache_size #=> String
|
5945
5964
|
# resp.snapshots[0].node_snapshots[0].cache_node_create_time #=> Time
|
5946
5965
|
# resp.snapshots[0].node_snapshots[0].snapshot_create_time #=> Time
|
5966
|
+
# resp.snapshots[0].kms_key_id #=> String
|
5947
5967
|
#
|
5948
5968
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeSnapshots AWS API Documentation
|
5949
5969
|
#
|
@@ -6126,6 +6146,7 @@ module Aws::ElastiCache
|
|
6126
6146
|
# resp.replication_group.auth_token_enabled #=> Boolean
|
6127
6147
|
# resp.replication_group.transit_encryption_enabled #=> Boolean
|
6128
6148
|
# resp.replication_group.at_rest_encryption_enabled #=> Boolean
|
6149
|
+
# resp.replication_group.kms_key_id #=> String
|
6129
6150
|
#
|
6130
6151
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/IncreaseReplicaCount AWS API Documentation
|
6131
6152
|
#
|
@@ -6137,10 +6158,10 @@ module Aws::ElastiCache
|
|
6137
6158
|
end
|
6138
6159
|
|
6139
6160
|
# Lists all available node types that you can scale your Redis
|
6140
|
-
# cluster's or replication group's current node type
|
6161
|
+
# cluster's or replication group's current node type.
|
6141
6162
|
#
|
6142
6163
|
# When you use the `ModifyCacheCluster` or `ModifyReplicationGroup`
|
6143
|
-
# operations to scale
|
6164
|
+
# operations to scale your cluster or replication group, the value of
|
6144
6165
|
# the `CacheNodeType` parameter must be one of the node types returned
|
6145
6166
|
# by this operation.
|
6146
6167
|
#
|
@@ -7181,6 +7202,7 @@ module Aws::ElastiCache
|
|
7181
7202
|
# resp.replication_group.auth_token_enabled #=> Boolean
|
7182
7203
|
# resp.replication_group.transit_encryption_enabled #=> Boolean
|
7183
7204
|
# resp.replication_group.at_rest_encryption_enabled #=> Boolean
|
7205
|
+
# resp.replication_group.kms_key_id #=> String
|
7184
7206
|
#
|
7185
7207
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ModifyReplicationGroup AWS API Documentation
|
7186
7208
|
#
|
@@ -7293,6 +7315,7 @@ module Aws::ElastiCache
|
|
7293
7315
|
# resp.replication_group.auth_token_enabled #=> Boolean
|
7294
7316
|
# resp.replication_group.transit_encryption_enabled #=> Boolean
|
7295
7317
|
# resp.replication_group.at_rest_encryption_enabled #=> Boolean
|
7318
|
+
# resp.replication_group.kms_key_id #=> String
|
7296
7319
|
#
|
7297
7320
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ModifyReplicationGroupShardConfiguration AWS API Documentation
|
7298
7321
|
#
|
@@ -7842,6 +7865,7 @@ module Aws::ElastiCache
|
|
7842
7865
|
# resp.replication_group.auth_token_enabled #=> Boolean
|
7843
7866
|
# resp.replication_group.transit_encryption_enabled #=> Boolean
|
7844
7867
|
# resp.replication_group.at_rest_encryption_enabled #=> Boolean
|
7868
|
+
# resp.replication_group.kms_key_id #=> String
|
7845
7869
|
#
|
7846
7870
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/TestFailover AWS API Documentation
|
7847
7871
|
#
|
@@ -7865,7 +7889,7 @@ module Aws::ElastiCache
|
|
7865
7889
|
params: params,
|
7866
7890
|
config: config)
|
7867
7891
|
context[:gem_name] = 'aws-sdk-elasticache'
|
7868
|
-
context[:gem_version] = '1.
|
7892
|
+
context[:gem_version] = '1.25.0'
|
7869
7893
|
Seahorse::Client::Request.new(handlers, context)
|
7870
7894
|
end
|
7871
7895
|
|
@@ -131,6 +131,7 @@ module Aws::ElastiCache
|
|
131
131
|
InvalidCacheClusterStateFault = Shapes::StructureShape.new(name: 'InvalidCacheClusterStateFault')
|
132
132
|
InvalidCacheParameterGroupStateFault = Shapes::StructureShape.new(name: 'InvalidCacheParameterGroupStateFault')
|
133
133
|
InvalidCacheSecurityGroupStateFault = Shapes::StructureShape.new(name: 'InvalidCacheSecurityGroupStateFault')
|
134
|
+
InvalidKMSKeyFault = Shapes::StructureShape.new(name: 'InvalidKMSKeyFault')
|
134
135
|
InvalidParameterCombinationException = Shapes::StructureShape.new(name: 'InvalidParameterCombinationException')
|
135
136
|
InvalidParameterValueException = Shapes::StructureShape.new(name: 'InvalidParameterValueException')
|
136
137
|
InvalidReplicationGroupStateFault = Shapes::StructureShape.new(name: 'InvalidReplicationGroupStateFault')
|
@@ -432,6 +433,7 @@ module Aws::ElastiCache
|
|
432
433
|
CopySnapshotMessage.add_member(:source_snapshot_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "SourceSnapshotName"))
|
433
434
|
CopySnapshotMessage.add_member(:target_snapshot_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "TargetSnapshotName"))
|
434
435
|
CopySnapshotMessage.add_member(:target_bucket, Shapes::ShapeRef.new(shape: String, location_name: "TargetBucket"))
|
436
|
+
CopySnapshotMessage.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "KmsKeyId"))
|
435
437
|
CopySnapshotMessage.struct_class = Types::CopySnapshotMessage
|
436
438
|
|
437
439
|
CopySnapshotResult.add_member(:snapshot, Shapes::ShapeRef.new(shape: Snapshot, location_name: "Snapshot"))
|
@@ -516,6 +518,7 @@ module Aws::ElastiCache
|
|
516
518
|
CreateReplicationGroupMessage.add_member(:auth_token, Shapes::ShapeRef.new(shape: String, location_name: "AuthToken"))
|
517
519
|
CreateReplicationGroupMessage.add_member(:transit_encryption_enabled, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "TransitEncryptionEnabled"))
|
518
520
|
CreateReplicationGroupMessage.add_member(:at_rest_encryption_enabled, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "AtRestEncryptionEnabled"))
|
521
|
+
CreateReplicationGroupMessage.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "KmsKeyId"))
|
519
522
|
CreateReplicationGroupMessage.struct_class = Types::CreateReplicationGroupMessage
|
520
523
|
|
521
524
|
CreateReplicationGroupResult.add_member(:replication_group, Shapes::ShapeRef.new(shape: ReplicationGroup, location_name: "ReplicationGroup"))
|
@@ -524,6 +527,7 @@ module Aws::ElastiCache
|
|
524
527
|
CreateSnapshotMessage.add_member(:replication_group_id, Shapes::ShapeRef.new(shape: String, location_name: "ReplicationGroupId"))
|
525
528
|
CreateSnapshotMessage.add_member(:cache_cluster_id, Shapes::ShapeRef.new(shape: String, location_name: "CacheClusterId"))
|
526
529
|
CreateSnapshotMessage.add_member(:snapshot_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "SnapshotName"))
|
530
|
+
CreateSnapshotMessage.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "KmsKeyId"))
|
527
531
|
CreateSnapshotMessage.struct_class = Types::CreateSnapshotMessage
|
528
532
|
|
529
533
|
CreateSnapshotResult.add_member(:snapshot, Shapes::ShapeRef.new(shape: Snapshot, location_name: "Snapshot"))
|
@@ -943,6 +947,7 @@ module Aws::ElastiCache
|
|
943
947
|
ReplicationGroup.add_member(:auth_token_enabled, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "AuthTokenEnabled"))
|
944
948
|
ReplicationGroup.add_member(:transit_encryption_enabled, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "TransitEncryptionEnabled"))
|
945
949
|
ReplicationGroup.add_member(:at_rest_encryption_enabled, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "AtRestEncryptionEnabled"))
|
950
|
+
ReplicationGroup.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "KmsKeyId"))
|
946
951
|
ReplicationGroup.struct_class = Types::ReplicationGroup
|
947
952
|
|
948
953
|
ReplicationGroupIdList.member = Shapes::ShapeRef.new(shape: String)
|
@@ -1074,6 +1079,7 @@ module Aws::ElastiCache
|
|
1074
1079
|
Snapshot.add_member(:num_node_groups, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "NumNodeGroups"))
|
1075
1080
|
Snapshot.add_member(:automatic_failover, Shapes::ShapeRef.new(shape: AutomaticFailoverStatus, location_name: "AutomaticFailover"))
|
1076
1081
|
Snapshot.add_member(:node_snapshots, Shapes::ShapeRef.new(shape: NodeSnapshotList, location_name: "NodeSnapshots"))
|
1082
|
+
Snapshot.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "KmsKeyId"))
|
1077
1083
|
Snapshot.struct_class = Types::Snapshot
|
1078
1084
|
|
1079
1085
|
SnapshotArnsList.member = Shapes::ShapeRef.new(shape: String, location_name: "SnapshotArn")
|
@@ -1661,6 +1667,7 @@ module Aws::ElastiCache
|
|
1661
1667
|
o.errors << Shapes::ShapeRef.new(shape: NodeGroupsPerReplicationGroupQuotaExceededFault)
|
1662
1668
|
o.errors << Shapes::ShapeRef.new(shape: NodeQuotaForCustomerExceededFault)
|
1663
1669
|
o.errors << Shapes::ShapeRef.new(shape: NoOperationFault)
|
1670
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidKMSKeyFault)
|
1664
1671
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1665
1672
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterCombinationException)
|
1666
1673
|
end)
|
@@ -1748,6 +1755,7 @@ module Aws::ElastiCache
|
|
1748
1755
|
o.errors << Shapes::ShapeRef.new(shape: CacheSecurityGroupNotFoundFault)
|
1749
1756
|
o.errors << Shapes::ShapeRef.new(shape: CacheParameterGroupNotFoundFault)
|
1750
1757
|
o.errors << Shapes::ShapeRef.new(shape: InvalidVPCNetworkStateFault)
|
1758
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidKMSKeyFault)
|
1751
1759
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1752
1760
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterCombinationException)
|
1753
1761
|
end)
|
@@ -1765,6 +1773,7 @@ module Aws::ElastiCache
|
|
1765
1773
|
o.errors << Shapes::ShapeRef.new(shape: InsufficientCacheClusterCapacityFault)
|
1766
1774
|
o.errors << Shapes::ShapeRef.new(shape: NodeGroupsPerReplicationGroupQuotaExceededFault)
|
1767
1775
|
o.errors << Shapes::ShapeRef.new(shape: NodeQuotaForCustomerExceededFault)
|
1776
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidKMSKeyFault)
|
1768
1777
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1769
1778
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterCombinationException)
|
1770
1779
|
end)
|
@@ -1841,6 +1850,7 @@ module Aws::ElastiCache
|
|
1841
1850
|
o.errors << Shapes::ShapeRef.new(shape: NodeGroupNotFoundFault)
|
1842
1851
|
o.errors << Shapes::ShapeRef.new(shape: ReplicationGroupNotFoundFault)
|
1843
1852
|
o.errors << Shapes::ShapeRef.new(shape: TestFailoverNotAvailableFault)
|
1853
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidKMSKeyFault)
|
1844
1854
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1845
1855
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterCombinationException)
|
1846
1856
|
end)
|
@@ -1057,6 +1057,7 @@ module Aws::ElastiCache
|
|
1057
1057
|
# source_snapshot_name: "String", # required
|
1058
1058
|
# target_snapshot_name: "String", # required
|
1059
1059
|
# target_bucket: "String",
|
1060
|
+
# kms_key_id: "String",
|
1060
1061
|
# }
|
1061
1062
|
#
|
1062
1063
|
# @!attribute [rw] source_snapshot_name
|
@@ -1088,12 +1089,17 @@ module Aws::ElastiCache
|
|
1088
1089
|
# [2]: https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/Snapshots.Exporting.html
|
1089
1090
|
# @return [String]
|
1090
1091
|
#
|
1092
|
+
# @!attribute [rw] kms_key_id
|
1093
|
+
# The ID of the KMS key used to encrypt the target snapshot.
|
1094
|
+
# @return [String]
|
1095
|
+
#
|
1091
1096
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CopySnapshotMessage AWS API Documentation
|
1092
1097
|
#
|
1093
1098
|
class CopySnapshotMessage < Struct.new(
|
1094
1099
|
:source_snapshot_name,
|
1095
1100
|
:target_snapshot_name,
|
1096
|
-
:target_bucket
|
1101
|
+
:target_bucket,
|
1102
|
+
:kms_key_id)
|
1097
1103
|
include Aws::Structure
|
1098
1104
|
end
|
1099
1105
|
|
@@ -1151,7 +1157,7 @@ module Aws::ElastiCache
|
|
1151
1157
|
#
|
1152
1158
|
# **Constraints:**
|
1153
1159
|
#
|
1154
|
-
# * A name must contain from 1 to
|
1160
|
+
# * A name must contain from 1 to 50 alphanumeric characters or
|
1155
1161
|
# hyphens.
|
1156
1162
|
#
|
1157
1163
|
# * The first character must be a letter.
|
@@ -1729,6 +1735,7 @@ module Aws::ElastiCache
|
|
1729
1735
|
# auth_token: "String",
|
1730
1736
|
# transit_encryption_enabled: false,
|
1731
1737
|
# at_rest_encryption_enabled: false,
|
1738
|
+
# kms_key_id: "String",
|
1732
1739
|
# }
|
1733
1740
|
#
|
1734
1741
|
# @!attribute [rw] replication_group_id
|
@@ -1737,7 +1744,7 @@ module Aws::ElastiCache
|
|
1737
1744
|
#
|
1738
1745
|
# Constraints:
|
1739
1746
|
#
|
1740
|
-
# * A name must contain from 1 to
|
1747
|
+
# * A name must contain from 1 to 40 alphanumeric characters or
|
1741
1748
|
# hyphens.
|
1742
1749
|
#
|
1743
1750
|
# * The first character must be a letter.
|
@@ -2121,8 +2128,8 @@ module Aws::ElastiCache
|
|
2121
2128
|
# cluster.
|
2122
2129
|
#
|
2123
2130
|
# This parameter is valid only if the `Engine` parameter is `redis`,
|
2124
|
-
# the `EngineVersion` parameter is `3.2.6
|
2125
|
-
# is being created in an Amazon VPC.
|
2131
|
+
# the `EngineVersion` parameter is `3.2.6`, `4.x` or later, and the
|
2132
|
+
# cluster is being created in an Amazon VPC.
|
2126
2133
|
#
|
2127
2134
|
# If you enable in-transit encryption, you must also specify a value
|
2128
2135
|
# for `CacheSubnetGroup`.
|
@@ -2150,6 +2157,10 @@ module Aws::ElastiCache
|
|
2150
2157
|
# Default: `false`
|
2151
2158
|
# @return [Boolean]
|
2152
2159
|
#
|
2160
|
+
# @!attribute [rw] kms_key_id
|
2161
|
+
# The ID of the KMS key used to encrypt the disk on the cluster.
|
2162
|
+
# @return [String]
|
2163
|
+
#
|
2153
2164
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateReplicationGroupMessage AWS API Documentation
|
2154
2165
|
#
|
2155
2166
|
class CreateReplicationGroupMessage < Struct.new(
|
@@ -2180,7 +2191,8 @@ module Aws::ElastiCache
|
|
2180
2191
|
:snapshot_window,
|
2181
2192
|
:auth_token,
|
2182
2193
|
:transit_encryption_enabled,
|
2183
|
-
:at_rest_encryption_enabled
|
2194
|
+
:at_rest_encryption_enabled,
|
2195
|
+
:kms_key_id)
|
2184
2196
|
include Aws::Structure
|
2185
2197
|
end
|
2186
2198
|
|
@@ -2205,6 +2217,7 @@ module Aws::ElastiCache
|
|
2205
2217
|
# replication_group_id: "String",
|
2206
2218
|
# cache_cluster_id: "String",
|
2207
2219
|
# snapshot_name: "String", # required
|
2220
|
+
# kms_key_id: "String",
|
2208
2221
|
# }
|
2209
2222
|
#
|
2210
2223
|
# @!attribute [rw] replication_group_id
|
@@ -2221,12 +2234,17 @@ module Aws::ElastiCache
|
|
2221
2234
|
# A name for the snapshot being created.
|
2222
2235
|
# @return [String]
|
2223
2236
|
#
|
2237
|
+
# @!attribute [rw] kms_key_id
|
2238
|
+
# The ID of the KMS key used to encrypt the snapshot.
|
2239
|
+
# @return [String]
|
2240
|
+
#
|
2224
2241
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateSnapshotMessage AWS API Documentation
|
2225
2242
|
#
|
2226
2243
|
class CreateSnapshotMessage < Struct.new(
|
2227
2244
|
:replication_group_id,
|
2228
2245
|
:cache_cluster_id,
|
2229
|
-
:snapshot_name
|
2246
|
+
:snapshot_name,
|
2247
|
+
:kms_key_id)
|
2230
2248
|
include Aws::Structure
|
2231
2249
|
end
|
2232
2250
|
|
@@ -5276,6 +5294,10 @@ module Aws::ElastiCache
|
|
5276
5294
|
# Default: `false`
|
5277
5295
|
# @return [Boolean]
|
5278
5296
|
#
|
5297
|
+
# @!attribute [rw] kms_key_id
|
5298
|
+
# The ID of the KMS key used to encrypt the disk in the cluster.
|
5299
|
+
# @return [String]
|
5300
|
+
#
|
5279
5301
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ReplicationGroup AWS API Documentation
|
5280
5302
|
#
|
5281
5303
|
class ReplicationGroup < Struct.new(
|
@@ -5294,7 +5316,8 @@ module Aws::ElastiCache
|
|
5294
5316
|
:cache_node_type,
|
5295
5317
|
:auth_token_enabled,
|
5296
5318
|
:transit_encryption_enabled,
|
5297
|
-
:at_rest_encryption_enabled
|
5319
|
+
:at_rest_encryption_enabled,
|
5320
|
+
:kms_key_id)
|
5298
5321
|
include Aws::Structure
|
5299
5322
|
end
|
5300
5323
|
|
@@ -6146,6 +6169,10 @@ module Aws::ElastiCache
|
|
6146
6169
|
# A list of the cache nodes in the source cluster.
|
6147
6170
|
# @return [Array<Types::NodeSnapshot>]
|
6148
6171
|
#
|
6172
|
+
# @!attribute [rw] kms_key_id
|
6173
|
+
# The ID of the KMS key used to encrypt the snapshot.
|
6174
|
+
# @return [String]
|
6175
|
+
#
|
6149
6176
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/Snapshot AWS API Documentation
|
6150
6177
|
#
|
6151
6178
|
class Snapshot < Struct.new(
|
@@ -6172,7 +6199,8 @@ module Aws::ElastiCache
|
|
6172
6199
|
:snapshot_window,
|
6173
6200
|
:num_node_groups,
|
6174
6201
|
:automatic_failover,
|
6175
|
-
:node_snapshots
|
6202
|
+
:node_snapshots,
|
6203
|
+
:kms_key_id)
|
6176
6204
|
include Aws::Structure
|
6177
6205
|
end
|
6178
6206
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-elasticache
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.25.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-08-
|
11
|
+
date: 2019-08-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|