aws-sdk-dax 1.76.0 → 1.77.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/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-dax/client.rb +39 -2
- data/lib/aws-sdk-dax/client_api.rb +13 -0
- data/lib/aws-sdk-dax/errors.rb +11 -0
- data/lib/aws-sdk-dax/types.rb +72 -16
- data/lib/aws-sdk-dax.rb +1 -1
- data/sig/client.rbs +2 -1
- data/sig/errors.rbs +2 -0
- data/sig/types.rbs +7 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 27fd2cde72aaaac578c2124fdd8dc40bb675165ac57860c98d47866c2fc66a4b
|
4
|
+
data.tar.gz: 19a2e0e4af4805ff23738c49d04e234a109bec7bed12d31be587ccb94e8482eb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4c88f9ad3952aa9631ff4464753810f15f598cf9d90f74d045e2564d5ad35251c7c396e05adf417caee2efb6ab21094fc1d3bb10a59ecb52083860fc491791cf
|
7
|
+
data.tar.gz: 797761511fb847be271e95f3a340cab023b2c230aee9c7b2ebfeba5ea25271a006b6f69af8aef383ef4a1038d79c1ca1577b23292eefa6c440b6ef2bb946750f
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.77.0
|
data/lib/aws-sdk-dax/client.rb
CHANGED
@@ -513,7 +513,8 @@ module Aws::DAX
|
|
513
513
|
# primary and nine read replicas). `If the AvailabilityZones` parameter
|
514
514
|
# is provided, its length must equal the `ReplicationFactor`.
|
515
515
|
#
|
516
|
-
# <note markdown="1">
|
516
|
+
# <note markdown="1"> Amazon Web Services recommends that you have at least two read
|
517
|
+
# replicas per cluster.
|
517
518
|
#
|
518
519
|
# </note>
|
519
520
|
#
|
@@ -596,6 +597,22 @@ module Aws::DAX
|
|
596
597
|
#
|
597
598
|
# * `TLS` for Transport Layer Security
|
598
599
|
#
|
600
|
+
# @option params [String] :network_type
|
601
|
+
# Specifies the IP protocol(s) the cluster uses for network
|
602
|
+
# communications. Values are:
|
603
|
+
#
|
604
|
+
# * `ipv4` - The cluster is accessible only through IPv4 addresses
|
605
|
+
#
|
606
|
+
# * `ipv6` - The cluster is accessible only through IPv6 addresses
|
607
|
+
#
|
608
|
+
# * `dual_stack` - The cluster is accessible through both IPv4 and IPv6
|
609
|
+
# addresses.
|
610
|
+
#
|
611
|
+
# <note markdown="1"> If no explicit `NetworkType` is provided, the network type is derived
|
612
|
+
# based on the subnet group's configuration.
|
613
|
+
#
|
614
|
+
# </note>
|
615
|
+
#
|
599
616
|
# @return [Types::CreateClusterResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
600
617
|
#
|
601
618
|
# * {Types::CreateClusterResponse#cluster #cluster} => Types::Cluster
|
@@ -624,6 +641,7 @@ module Aws::DAX
|
|
624
641
|
# enabled: false, # required
|
625
642
|
# },
|
626
643
|
# cluster_endpoint_encryption_type: "NONE", # accepts NONE, TLS
|
644
|
+
# network_type: "ipv4", # accepts ipv4, ipv6, dual_stack
|
627
645
|
# })
|
628
646
|
#
|
629
647
|
# @example Response structure
|
@@ -663,6 +681,7 @@ module Aws::DAX
|
|
663
681
|
# resp.cluster.parameter_group.node_ids_to_reboot[0] #=> String
|
664
682
|
# resp.cluster.sse_description.status #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED"
|
665
683
|
# resp.cluster.cluster_endpoint_encryption_type #=> String, one of "NONE", "TLS"
|
684
|
+
# resp.cluster.network_type #=> String, one of "ipv4", "ipv6", "dual_stack"
|
666
685
|
#
|
667
686
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/CreateCluster AWS API Documentation
|
668
687
|
#
|
@@ -740,6 +759,10 @@ module Aws::DAX
|
|
740
759
|
# resp.subnet_group.subnets #=> Array
|
741
760
|
# resp.subnet_group.subnets[0].subnet_identifier #=> String
|
742
761
|
# resp.subnet_group.subnets[0].subnet_availability_zone #=> String
|
762
|
+
# resp.subnet_group.subnets[0].supported_network_types #=> Array
|
763
|
+
# resp.subnet_group.subnets[0].supported_network_types[0] #=> String, one of "ipv4", "ipv6", "dual_stack"
|
764
|
+
# resp.subnet_group.supported_network_types #=> Array
|
765
|
+
# resp.subnet_group.supported_network_types[0] #=> String, one of "ipv4", "ipv6", "dual_stack"
|
743
766
|
#
|
744
767
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/CreateSubnetGroup AWS API Documentation
|
745
768
|
#
|
@@ -819,6 +842,7 @@ module Aws::DAX
|
|
819
842
|
# resp.cluster.parameter_group.node_ids_to_reboot[0] #=> String
|
820
843
|
# resp.cluster.sse_description.status #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED"
|
821
844
|
# resp.cluster.cluster_endpoint_encryption_type #=> String, one of "NONE", "TLS"
|
845
|
+
# resp.cluster.network_type #=> String, one of "ipv4", "ipv6", "dual_stack"
|
822
846
|
#
|
823
847
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/DecreaseReplicationFactor AWS API Documentation
|
824
848
|
#
|
@@ -884,6 +908,7 @@ module Aws::DAX
|
|
884
908
|
# resp.cluster.parameter_group.node_ids_to_reboot[0] #=> String
|
885
909
|
# resp.cluster.sse_description.status #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED"
|
886
910
|
# resp.cluster.cluster_endpoint_encryption_type #=> String, one of "NONE", "TLS"
|
911
|
+
# resp.cluster.network_type #=> String, one of "ipv4", "ipv6", "dual_stack"
|
887
912
|
#
|
888
913
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/DeleteCluster AWS API Documentation
|
889
914
|
#
|
@@ -1044,6 +1069,7 @@ module Aws::DAX
|
|
1044
1069
|
# resp.clusters[0].parameter_group.node_ids_to_reboot[0] #=> String
|
1045
1070
|
# resp.clusters[0].sse_description.status #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED"
|
1046
1071
|
# resp.clusters[0].cluster_endpoint_encryption_type #=> String, one of "NONE", "TLS"
|
1072
|
+
# resp.clusters[0].network_type #=> String, one of "ipv4", "ipv6", "dual_stack"
|
1047
1073
|
#
|
1048
1074
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/DescribeClusters AWS API Documentation
|
1049
1075
|
#
|
@@ -1341,6 +1367,10 @@ module Aws::DAX
|
|
1341
1367
|
# resp.subnet_groups[0].subnets #=> Array
|
1342
1368
|
# resp.subnet_groups[0].subnets[0].subnet_identifier #=> String
|
1343
1369
|
# resp.subnet_groups[0].subnets[0].subnet_availability_zone #=> String
|
1370
|
+
# resp.subnet_groups[0].subnets[0].supported_network_types #=> Array
|
1371
|
+
# resp.subnet_groups[0].subnets[0].supported_network_types[0] #=> String, one of "ipv4", "ipv6", "dual_stack"
|
1372
|
+
# resp.subnet_groups[0].supported_network_types #=> Array
|
1373
|
+
# resp.subnet_groups[0].supported_network_types[0] #=> String, one of "ipv4", "ipv6", "dual_stack"
|
1344
1374
|
#
|
1345
1375
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/DescribeSubnetGroups AWS API Documentation
|
1346
1376
|
#
|
@@ -1414,6 +1444,7 @@ module Aws::DAX
|
|
1414
1444
|
# resp.cluster.parameter_group.node_ids_to_reboot[0] #=> String
|
1415
1445
|
# resp.cluster.sse_description.status #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED"
|
1416
1446
|
# resp.cluster.cluster_endpoint_encryption_type #=> String, one of "NONE", "TLS"
|
1447
|
+
# resp.cluster.network_type #=> String, one of "ipv4", "ipv6", "dual_stack"
|
1417
1448
|
#
|
1418
1449
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/IncreaseReplicationFactor AWS API Documentation
|
1419
1450
|
#
|
@@ -1526,6 +1557,7 @@ module Aws::DAX
|
|
1526
1557
|
# resp.cluster.parameter_group.node_ids_to_reboot[0] #=> String
|
1527
1558
|
# resp.cluster.sse_description.status #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED"
|
1528
1559
|
# resp.cluster.cluster_endpoint_encryption_type #=> String, one of "NONE", "TLS"
|
1560
|
+
# resp.cluster.network_type #=> String, one of "ipv4", "ipv6", "dual_stack"
|
1529
1561
|
#
|
1530
1562
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/RebootNode AWS API Documentation
|
1531
1563
|
#
|
@@ -1697,6 +1729,7 @@ module Aws::DAX
|
|
1697
1729
|
# resp.cluster.parameter_group.node_ids_to_reboot[0] #=> String
|
1698
1730
|
# resp.cluster.sse_description.status #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED"
|
1699
1731
|
# resp.cluster.cluster_endpoint_encryption_type #=> String, one of "NONE", "TLS"
|
1732
|
+
# resp.cluster.network_type #=> String, one of "ipv4", "ipv6", "dual_stack"
|
1700
1733
|
#
|
1701
1734
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/UpdateCluster AWS API Documentation
|
1702
1735
|
#
|
@@ -1788,6 +1821,10 @@ module Aws::DAX
|
|
1788
1821
|
# resp.subnet_group.subnets #=> Array
|
1789
1822
|
# resp.subnet_group.subnets[0].subnet_identifier #=> String
|
1790
1823
|
# resp.subnet_group.subnets[0].subnet_availability_zone #=> String
|
1824
|
+
# resp.subnet_group.subnets[0].supported_network_types #=> Array
|
1825
|
+
# resp.subnet_group.subnets[0].supported_network_types[0] #=> String, one of "ipv4", "ipv6", "dual_stack"
|
1826
|
+
# resp.subnet_group.supported_network_types #=> Array
|
1827
|
+
# resp.subnet_group.supported_network_types[0] #=> String, one of "ipv4", "ipv6", "dual_stack"
|
1791
1828
|
#
|
1792
1829
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/UpdateSubnetGroup AWS API Documentation
|
1793
1830
|
#
|
@@ -1816,7 +1853,7 @@ module Aws::DAX
|
|
1816
1853
|
tracer: tracer
|
1817
1854
|
)
|
1818
1855
|
context[:gem_name] = 'aws-sdk-dax'
|
1819
|
-
context[:gem_version] = '1.
|
1856
|
+
context[:gem_version] = '1.77.0'
|
1820
1857
|
Seahorse::Client::Request.new(handlers, context)
|
1821
1858
|
end
|
1822
1859
|
|
@@ -69,6 +69,8 @@ module Aws::DAX
|
|
69
69
|
KeyList = Shapes::ListShape.new(name: 'KeyList')
|
70
70
|
ListTagsRequest = Shapes::StructureShape.new(name: 'ListTagsRequest')
|
71
71
|
ListTagsResponse = Shapes::StructureShape.new(name: 'ListTagsResponse')
|
72
|
+
NetworkType = Shapes::StringShape.new(name: 'NetworkType')
|
73
|
+
NetworkTypeList = Shapes::ListShape.new(name: 'NetworkTypeList')
|
72
74
|
Node = Shapes::StructureShape.new(name: 'Node')
|
73
75
|
NodeIdentifierList = Shapes::ListShape.new(name: 'NodeIdentifierList')
|
74
76
|
NodeList = Shapes::ListShape.new(name: 'NodeList')
|
@@ -114,6 +116,7 @@ module Aws::DAX
|
|
114
116
|
SubnetIdentifierList = Shapes::ListShape.new(name: 'SubnetIdentifierList')
|
115
117
|
SubnetInUse = Shapes::StructureShape.new(name: 'SubnetInUse')
|
116
118
|
SubnetList = Shapes::ListShape.new(name: 'SubnetList')
|
119
|
+
SubnetNotAllowedFault = Shapes::StructureShape.new(name: 'SubnetNotAllowedFault')
|
117
120
|
SubnetQuotaExceededFault = Shapes::StructureShape.new(name: 'SubnetQuotaExceededFault')
|
118
121
|
TStamp = Shapes::TimestampShape.new(name: 'TStamp')
|
119
122
|
Tag = Shapes::StructureShape.new(name: 'Tag')
|
@@ -151,6 +154,7 @@ module Aws::DAX
|
|
151
154
|
Cluster.add_member(:parameter_group, Shapes::ShapeRef.new(shape: ParameterGroupStatus, location_name: "ParameterGroup"))
|
152
155
|
Cluster.add_member(:sse_description, Shapes::ShapeRef.new(shape: SSEDescription, location_name: "SSEDescription"))
|
153
156
|
Cluster.add_member(:cluster_endpoint_encryption_type, Shapes::ShapeRef.new(shape: ClusterEndpointEncryptionType, location_name: "ClusterEndpointEncryptionType"))
|
157
|
+
Cluster.add_member(:network_type, Shapes::ShapeRef.new(shape: NetworkType, location_name: "NetworkType"))
|
154
158
|
Cluster.struct_class = Types::Cluster
|
155
159
|
|
156
160
|
ClusterAlreadyExistsFault.struct_class = Types::ClusterAlreadyExistsFault
|
@@ -177,6 +181,7 @@ module Aws::DAX
|
|
177
181
|
CreateClusterRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
178
182
|
CreateClusterRequest.add_member(:sse_specification, Shapes::ShapeRef.new(shape: SSESpecification, location_name: "SSESpecification"))
|
179
183
|
CreateClusterRequest.add_member(:cluster_endpoint_encryption_type, Shapes::ShapeRef.new(shape: ClusterEndpointEncryptionType, location_name: "ClusterEndpointEncryptionType"))
|
184
|
+
CreateClusterRequest.add_member(:network_type, Shapes::ShapeRef.new(shape: NetworkType, location_name: "NetworkType"))
|
180
185
|
CreateClusterRequest.struct_class = Types::CreateClusterRequest
|
181
186
|
|
182
187
|
CreateClusterResponse.add_member(:cluster, Shapes::ShapeRef.new(shape: Cluster, location_name: "Cluster"))
|
@@ -331,6 +336,8 @@ module Aws::DAX
|
|
331
336
|
ListTagsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
332
337
|
ListTagsResponse.struct_class = Types::ListTagsResponse
|
333
338
|
|
339
|
+
NetworkTypeList.member = Shapes::ShapeRef.new(shape: NetworkType)
|
340
|
+
|
334
341
|
Node.add_member(:node_id, Shapes::ShapeRef.new(shape: String, location_name: "NodeId"))
|
335
342
|
Node.add_member(:endpoint, Shapes::ShapeRef.new(shape: Endpoint, location_name: "Endpoint"))
|
336
343
|
Node.add_member(:node_create_time, Shapes::ShapeRef.new(shape: TStamp, location_name: "NodeCreateTime"))
|
@@ -425,12 +432,14 @@ module Aws::DAX
|
|
425
432
|
|
426
433
|
Subnet.add_member(:subnet_identifier, Shapes::ShapeRef.new(shape: String, location_name: "SubnetIdentifier"))
|
427
434
|
Subnet.add_member(:subnet_availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "SubnetAvailabilityZone"))
|
435
|
+
Subnet.add_member(:supported_network_types, Shapes::ShapeRef.new(shape: NetworkTypeList, location_name: "SupportedNetworkTypes"))
|
428
436
|
Subnet.struct_class = Types::Subnet
|
429
437
|
|
430
438
|
SubnetGroup.add_member(:subnet_group_name, Shapes::ShapeRef.new(shape: String, location_name: "SubnetGroupName"))
|
431
439
|
SubnetGroup.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
|
432
440
|
SubnetGroup.add_member(:vpc_id, Shapes::ShapeRef.new(shape: String, location_name: "VpcId"))
|
433
441
|
SubnetGroup.add_member(:subnets, Shapes::ShapeRef.new(shape: SubnetList, location_name: "Subnets"))
|
442
|
+
SubnetGroup.add_member(:supported_network_types, Shapes::ShapeRef.new(shape: NetworkTypeList, location_name: "SupportedNetworkTypes"))
|
434
443
|
SubnetGroup.struct_class = Types::SubnetGroup
|
435
444
|
|
436
445
|
SubnetGroupAlreadyExistsFault.struct_class = Types::SubnetGroupAlreadyExistsFault
|
@@ -451,6 +460,8 @@ module Aws::DAX
|
|
451
460
|
|
452
461
|
SubnetList.member = Shapes::ShapeRef.new(shape: Subnet)
|
453
462
|
|
463
|
+
SubnetNotAllowedFault.struct_class = Types::SubnetNotAllowedFault
|
464
|
+
|
454
465
|
SubnetQuotaExceededFault.struct_class = Types::SubnetQuotaExceededFault
|
455
466
|
|
456
467
|
Tag.add_member(:key, Shapes::ShapeRef.new(shape: String, location_name: "Key"))
|
@@ -573,6 +584,7 @@ module Aws::DAX
|
|
573
584
|
o.errors << Shapes::ShapeRef.new(shape: SubnetQuotaExceededFault)
|
574
585
|
o.errors << Shapes::ShapeRef.new(shape: InvalidSubnet)
|
575
586
|
o.errors << Shapes::ShapeRef.new(shape: ServiceLinkedRoleNotFoundFault)
|
587
|
+
o.errors << Shapes::ShapeRef.new(shape: SubnetNotAllowedFault)
|
576
588
|
end)
|
577
589
|
|
578
590
|
api.add_operation(:decrease_replication_factor, Seahorse::Model::Operation.new.tap do |o|
|
@@ -808,6 +820,7 @@ module Aws::DAX
|
|
808
820
|
o.errors << Shapes::ShapeRef.new(shape: SubnetInUse)
|
809
821
|
o.errors << Shapes::ShapeRef.new(shape: InvalidSubnet)
|
810
822
|
o.errors << Shapes::ShapeRef.new(shape: ServiceLinkedRoleNotFoundFault)
|
823
|
+
o.errors << Shapes::ShapeRef.new(shape: SubnetNotAllowedFault)
|
811
824
|
end)
|
812
825
|
end
|
813
826
|
|
data/lib/aws-sdk-dax/errors.rb
CHANGED
@@ -51,6 +51,7 @@ module Aws::DAX
|
|
51
51
|
# * {SubnetGroupNotFoundFault}
|
52
52
|
# * {SubnetGroupQuotaExceededFault}
|
53
53
|
# * {SubnetInUse}
|
54
|
+
# * {SubnetNotAllowedFault}
|
54
55
|
# * {SubnetQuotaExceededFault}
|
55
56
|
# * {TagNotFoundFault}
|
56
57
|
# * {TagQuotaPerResourceExceeded}
|
@@ -311,6 +312,16 @@ module Aws::DAX
|
|
311
312
|
end
|
312
313
|
end
|
313
314
|
|
315
|
+
class SubnetNotAllowedFault < ServiceError
|
316
|
+
|
317
|
+
# @param [Seahorse::Client::RequestContext] context
|
318
|
+
# @param [String] message
|
319
|
+
# @param [Aws::DAX::Types::SubnetNotAllowedFault] data
|
320
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
321
|
+
super(context, message, data)
|
322
|
+
end
|
323
|
+
end
|
324
|
+
|
314
325
|
class SubnetQuotaExceededFault < ServiceError
|
315
326
|
|
316
327
|
# @param [Seahorse::Client::RequestContext] context
|
data/lib/aws-sdk-dax/types.rb
CHANGED
@@ -102,6 +102,16 @@ module Aws::DAX
|
|
102
102
|
# `TLS` for Transport Layer Security
|
103
103
|
# @return [String]
|
104
104
|
#
|
105
|
+
# @!attribute [rw] network_type
|
106
|
+
# The IP address type of the cluster. Values are:
|
107
|
+
#
|
108
|
+
# * `ipv4` - IPv4 addresses only
|
109
|
+
#
|
110
|
+
# * `ipv6` - IPv6 addresses only
|
111
|
+
#
|
112
|
+
# * `dual_stack` - Both IPv4 and IPv6 addresses
|
113
|
+
# @return [String]
|
114
|
+
#
|
105
115
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/Cluster AWS API Documentation
|
106
116
|
#
|
107
117
|
class Cluster < Struct.new(
|
@@ -122,7 +132,8 @@ module Aws::DAX
|
|
122
132
|
:iam_role_arn,
|
123
133
|
:parameter_group,
|
124
134
|
:sse_description,
|
125
|
-
:cluster_endpoint_encryption_type
|
135
|
+
:cluster_endpoint_encryption_type,
|
136
|
+
:network_type)
|
126
137
|
SENSITIVE = []
|
127
138
|
include Aws::Structure
|
128
139
|
end
|
@@ -140,7 +151,7 @@ module Aws::DAX
|
|
140
151
|
class ClusterNotFoundFault < Aws::EmptyStructure; end
|
141
152
|
|
142
153
|
# You have attempted to exceed the maximum number of DAX clusters for
|
143
|
-
# your
|
154
|
+
# your Amazon Web Services account.
|
144
155
|
#
|
145
156
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/ClusterQuotaForCustomerExceededFault AWS API Documentation
|
146
157
|
#
|
@@ -179,7 +190,8 @@ module Aws::DAX
|
|
179
190
|
# parameter is provided, its length must equal the
|
180
191
|
# `ReplicationFactor`.
|
181
192
|
#
|
182
|
-
# <note markdown="1">
|
193
|
+
# <note markdown="1"> Amazon Web Services recommends that you have at least two read
|
194
|
+
# replicas per cluster.
|
183
195
|
#
|
184
196
|
# </note>
|
185
197
|
# @return [Integer]
|
@@ -274,6 +286,23 @@ module Aws::DAX
|
|
274
286
|
# * `TLS` for Transport Layer Security
|
275
287
|
# @return [String]
|
276
288
|
#
|
289
|
+
# @!attribute [rw] network_type
|
290
|
+
# Specifies the IP protocol(s) the cluster uses for network
|
291
|
+
# communications. Values are:
|
292
|
+
#
|
293
|
+
# * `ipv4` - The cluster is accessible only through IPv4 addresses
|
294
|
+
#
|
295
|
+
# * `ipv6` - The cluster is accessible only through IPv6 addresses
|
296
|
+
#
|
297
|
+
# * `dual_stack` - The cluster is accessible through both IPv4 and
|
298
|
+
# IPv6 addresses.
|
299
|
+
#
|
300
|
+
# <note markdown="1"> If no explicit `NetworkType` is provided, the network type is
|
301
|
+
# derived based on the subnet group's configuration.
|
302
|
+
#
|
303
|
+
# </note>
|
304
|
+
# @return [String]
|
305
|
+
#
|
277
306
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/CreateClusterRequest AWS API Documentation
|
278
307
|
#
|
279
308
|
class CreateClusterRequest < Struct.new(
|
@@ -290,7 +319,8 @@ module Aws::DAX
|
|
290
319
|
:parameter_group_name,
|
291
320
|
:tags,
|
292
321
|
:sse_specification,
|
293
|
-
:cluster_endpoint_encryption_type
|
322
|
+
:cluster_endpoint_encryption_type,
|
323
|
+
:network_type)
|
294
324
|
SENSITIVE = []
|
295
325
|
include Aws::Structure
|
296
326
|
end
|
@@ -886,7 +916,7 @@ module Aws::DAX
|
|
886
916
|
end
|
887
917
|
|
888
918
|
# @!attribute [rw] cluster
|
889
|
-
# A description of the DAX cluster
|
919
|
+
# A description of the DAX cluster, with its new replication factor.
|
890
920
|
# @return [Types::Cluster]
|
891
921
|
#
|
892
922
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/IncreaseReplicationFactorResponse AWS API Documentation
|
@@ -1055,8 +1085,8 @@ module Aws::DAX
|
|
1055
1085
|
#
|
1056
1086
|
class NodeQuotaForClusterExceededFault < Aws::EmptyStructure; end
|
1057
1087
|
|
1058
|
-
# You have attempted to exceed the maximum number of nodes for your
|
1059
|
-
# account.
|
1088
|
+
# You have attempted to exceed the maximum number of nodes for your
|
1089
|
+
# Amazon Web Services account.
|
1060
1090
|
#
|
1061
1091
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/NodeQuotaForCustomerExceededFault AWS API Documentation
|
1062
1092
|
#
|
@@ -1343,9 +1373,9 @@ module Aws::DAX
|
|
1343
1373
|
class ServiceLinkedRoleNotFoundFault < Aws::EmptyStructure; end
|
1344
1374
|
|
1345
1375
|
# You have reached the maximum number of x509 certificates that can be
|
1346
|
-
# created for encrypted clusters in a 30 day period. Contact
|
1347
|
-
# customer support to discuss options for continuing to create
|
1348
|
-
# clusters.
|
1376
|
+
# created for encrypted clusters in a 30 day period. Contact Amazon Web
|
1377
|
+
# Services customer support to discuss options for continuing to create
|
1378
|
+
# encrypted clusters.
|
1349
1379
|
#
|
1350
1380
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/ServiceQuotaExceededException AWS API Documentation
|
1351
1381
|
#
|
@@ -1363,11 +1393,18 @@ module Aws::DAX
|
|
1363
1393
|
# The Availability Zone (AZ) for the subnet.
|
1364
1394
|
# @return [String]
|
1365
1395
|
#
|
1396
|
+
# @!attribute [rw] supported_network_types
|
1397
|
+
# The network types supported by this subnet. Returns an array of
|
1398
|
+
# strings that can include `ipv4`, `ipv6`, or both, indicating whether
|
1399
|
+
# the subnet supports IPv4 only, IPv6 only, or dual-stack deployments.
|
1400
|
+
# @return [Array<String>]
|
1401
|
+
#
|
1366
1402
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/Subnet AWS API Documentation
|
1367
1403
|
#
|
1368
1404
|
class Subnet < Struct.new(
|
1369
1405
|
:subnet_identifier,
|
1370
|
-
:subnet_availability_zone
|
1406
|
+
:subnet_availability_zone,
|
1407
|
+
:supported_network_types)
|
1371
1408
|
SENSITIVE = []
|
1372
1409
|
include Aws::Structure
|
1373
1410
|
end
|
@@ -1395,13 +1432,21 @@ module Aws::DAX
|
|
1395
1432
|
# A list of subnets associated with the subnet group.
|
1396
1433
|
# @return [Array<Types::Subnet>]
|
1397
1434
|
#
|
1435
|
+
# @!attribute [rw] supported_network_types
|
1436
|
+
# The network types supported by this subnet. Returns an array of
|
1437
|
+
# strings that can include `ipv4`, `ipv6`, or both, indicating whether
|
1438
|
+
# the subnet group supports IPv4 only, IPv6 only, or dual-stack
|
1439
|
+
# deployments.
|
1440
|
+
# @return [Array<String>]
|
1441
|
+
#
|
1398
1442
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/SubnetGroup AWS API Documentation
|
1399
1443
|
#
|
1400
1444
|
class SubnetGroup < Struct.new(
|
1401
1445
|
:subnet_group_name,
|
1402
1446
|
:description,
|
1403
1447
|
:vpc_id,
|
1404
|
-
:subnets
|
1448
|
+
:subnets,
|
1449
|
+
:supported_network_types)
|
1405
1450
|
SENSITIVE = []
|
1406
1451
|
include Aws::Structure
|
1407
1452
|
end
|
@@ -1438,6 +1483,17 @@ module Aws::DAX
|
|
1438
1483
|
#
|
1439
1484
|
class SubnetInUse < Aws::EmptyStructure; end
|
1440
1485
|
|
1486
|
+
# The specified subnet can't be used for the requested network type.
|
1487
|
+
# This error occurs when either there aren't enough subnets of the
|
1488
|
+
# required network type to create the cluster, or when you try to use a
|
1489
|
+
# subnet that doesn't support the requested network type (for example,
|
1490
|
+
# trying to create a dual-stack cluster with a subnet that doesn't have
|
1491
|
+
# IPv6 CIDR).
|
1492
|
+
#
|
1493
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/SubnetNotAllowedFault AWS API Documentation
|
1494
|
+
#
|
1495
|
+
class SubnetNotAllowedFault < Aws::EmptyStructure; end
|
1496
|
+
|
1441
1497
|
# The request cannot be processed because it would exceed the allowed
|
1442
1498
|
# number of subnets in a subnet group.
|
1443
1499
|
#
|
@@ -1448,10 +1504,10 @@ module Aws::DAX
|
|
1448
1504
|
# A description of a tag. Every tag is a key-value pair. You can add up
|
1449
1505
|
# to 50 tags to a single DAX cluster.
|
1450
1506
|
#
|
1451
|
-
#
|
1452
|
-
# `aws:` prefix, which the user cannot assign.
|
1453
|
-
# not count towards the tag limit of 50.
|
1454
|
-
# the prefix `user:`.
|
1507
|
+
# Amazon Web Services-assigned tag names and values are automatically
|
1508
|
+
# assigned the `aws:` prefix, which the user cannot assign. Amazon Web
|
1509
|
+
# Services-assigned tag names do not count towards the tag limit of 50.
|
1510
|
+
# User-assigned tag names have the prefix `user:`.
|
1455
1511
|
#
|
1456
1512
|
# You cannot backdate the application of a tag.
|
1457
1513
|
#
|
data/lib/aws-sdk-dax.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -105,7 +105,8 @@ module Aws
|
|
105
105
|
?sse_specification: {
|
106
106
|
enabled: bool
|
107
107
|
},
|
108
|
-
?cluster_endpoint_encryption_type: ("NONE" | "TLS")
|
108
|
+
?cluster_endpoint_encryption_type: ("NONE" | "TLS"),
|
109
|
+
?network_type: ("ipv4" | "ipv6" | "dual_stack")
|
109
110
|
) -> _CreateClusterResponseSuccess
|
110
111
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateClusterResponseSuccess
|
111
112
|
|
data/sig/errors.rbs
CHANGED
@@ -61,6 +61,8 @@ module Aws
|
|
61
61
|
end
|
62
62
|
class SubnetInUse < ::Aws::Errors::ServiceError
|
63
63
|
end
|
64
|
+
class SubnetNotAllowedFault < ::Aws::Errors::ServiceError
|
65
|
+
end
|
64
66
|
class SubnetQuotaExceededFault < ::Aws::Errors::ServiceError
|
65
67
|
end
|
66
68
|
class TagNotFoundFault < ::Aws::Errors::ServiceError
|
data/sig/types.rbs
CHANGED
@@ -27,6 +27,7 @@ module Aws::DAX
|
|
27
27
|
attr_accessor parameter_group: Types::ParameterGroupStatus
|
28
28
|
attr_accessor sse_description: Types::SSEDescription
|
29
29
|
attr_accessor cluster_endpoint_encryption_type: ("NONE" | "TLS")
|
30
|
+
attr_accessor network_type: ("ipv4" | "ipv6" | "dual_stack")
|
30
31
|
SENSITIVE: []
|
31
32
|
end
|
32
33
|
|
@@ -54,6 +55,7 @@ module Aws::DAX
|
|
54
55
|
attr_accessor tags: ::Array[Types::Tag]
|
55
56
|
attr_accessor sse_specification: Types::SSESpecification
|
56
57
|
attr_accessor cluster_endpoint_encryption_type: ("NONE" | "TLS")
|
58
|
+
attr_accessor network_type: ("ipv4" | "ipv6" | "dual_stack")
|
57
59
|
SENSITIVE: []
|
58
60
|
end
|
59
61
|
|
@@ -386,6 +388,7 @@ module Aws::DAX
|
|
386
388
|
class Subnet
|
387
389
|
attr_accessor subnet_identifier: ::String
|
388
390
|
attr_accessor subnet_availability_zone: ::String
|
391
|
+
attr_accessor supported_network_types: ::Array[("ipv4" | "ipv6" | "dual_stack")]
|
389
392
|
SENSITIVE: []
|
390
393
|
end
|
391
394
|
|
@@ -394,6 +397,7 @@ module Aws::DAX
|
|
394
397
|
attr_accessor description: ::String
|
395
398
|
attr_accessor vpc_id: ::String
|
396
399
|
attr_accessor subnets: ::Array[Types::Subnet]
|
400
|
+
attr_accessor supported_network_types: ::Array[("ipv4" | "ipv6" | "dual_stack")]
|
397
401
|
SENSITIVE: []
|
398
402
|
end
|
399
403
|
|
@@ -412,6 +416,9 @@ module Aws::DAX
|
|
412
416
|
class SubnetInUse < Aws::EmptyStructure
|
413
417
|
end
|
414
418
|
|
419
|
+
class SubnetNotAllowedFault < Aws::EmptyStructure
|
420
|
+
end
|
421
|
+
|
415
422
|
class SubnetQuotaExceededFault < Aws::EmptyStructure
|
416
423
|
end
|
417
424
|
|