Skip to content

Commit d0290d5

Browse files
author
awstools
committed
feat(client-dax): This release adds support for IPv6-only, DUAL_STACK DAX instances
1 parent 08c43a6 commit d0290d5

23 files changed

+599
-323
lines changed

clients/client-dax/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66

77
AWS SDK for JavaScript DAX Client for Node.js, Browser and React Native.
88

9-
<p>DAX is a managed caching service engineered for Amazon DynamoDB. DAX
10-
dramatically speeds up database reads by caching frequently-accessed data from DynamoDB, so
11-
applications can access that data with sub-millisecond latency. You can create a DAX
12-
cluster easily, using the AWS Management Console. With a few simple modifications to
13-
your code, your application can begin taking advantage of the DAX cluster and realize
9+
<p>DAX is a managed caching service engineered for Amazon DynamoDB. DAX dramatically speeds up database reads by caching
10+
frequently-accessed data from DynamoDB, so applications can access that data
11+
with sub-millisecond latency. You can create a DAX cluster easily, using
12+
the Amazon Web Services Management Console. With a few simple modifications to your code, your
13+
application can begin taking advantage of the DAX cluster and realize
1414
significant improvements in read performance.</p>
1515

1616
## Installing

clients/client-dax/src/DAX.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -441,11 +441,11 @@ export interface DAX {
441441
}
442442

443443
/**
444-
* <p>DAX is a managed caching service engineered for Amazon DynamoDB. DAX
445-
* dramatically speeds up database reads by caching frequently-accessed data from DynamoDB, so
446-
* applications can access that data with sub-millisecond latency. You can create a DAX
447-
* cluster easily, using the AWS Management Console. With a few simple modifications to
448-
* your code, your application can begin taking advantage of the DAX cluster and realize
444+
* <p>DAX is a managed caching service engineered for Amazon DynamoDB. DAX dramatically speeds up database reads by caching
445+
* frequently-accessed data from DynamoDB, so applications can access that data
446+
* with sub-millisecond latency. You can create a DAX cluster easily, using
447+
* the Amazon Web Services Management Console. With a few simple modifications to your code, your
448+
* application can begin taking advantage of the DAX cluster and realize
449449
* significant improvements in read performance.</p>
450450
* @public
451451
*/

clients/client-dax/src/DAXClient.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -352,11 +352,11 @@ export type DAXClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHa
352352
export interface DAXClientResolvedConfig extends DAXClientResolvedConfigType {}
353353

354354
/**
355-
* <p>DAX is a managed caching service engineered for Amazon DynamoDB. DAX
356-
* dramatically speeds up database reads by caching frequently-accessed data from DynamoDB, so
357-
* applications can access that data with sub-millisecond latency. You can create a DAX
358-
* cluster easily, using the AWS Management Console. With a few simple modifications to
359-
* your code, your application can begin taking advantage of the DAX cluster and realize
355+
* <p>DAX is a managed caching service engineered for Amazon DynamoDB. DAX dramatically speeds up database reads by caching
356+
* frequently-accessed data from DynamoDB, so applications can access that data
357+
* with sub-millisecond latency. You can create a DAX cluster easily, using
358+
* the Amazon Web Services Management Console. With a few simple modifications to your code, your
359+
* application can begin taking advantage of the DAX cluster and realize
360360
* significant improvements in read performance.</p>
361361
* @public
362362
*/

clients/client-dax/src/commands/CreateClusterCommand.ts

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ export interface CreateClusterCommandOutput extends CreateClusterResponse, __Met
6363
* Enabled: true || false, // required
6464
* },
6565
* ClusterEndpointEncryptionType: "NONE" || "TLS",
66+
* NetworkType: "ipv4" || "ipv6" || "dual_stack",
6667
* };
6768
* const command = new CreateClusterCommand(input);
6869
* const response = await client.send(command);
@@ -121,6 +122,7 @@ export interface CreateClusterCommandOutput extends CreateClusterResponse, __Met
121122
* // Status: "ENABLING" || "ENABLED" || "DISABLING" || "DISABLED",
122123
* // },
123124
* // ClusterEndpointEncryptionType: "NONE" || "TLS",
125+
* // NetworkType: "ipv4" || "ipv6" || "dual_stack",
124126
* // },
125127
* // };
126128
*
@@ -136,16 +138,16 @@ export interface CreateClusterCommandOutput extends CreateClusterResponse, __Met
136138
* <p>You already have a DAX cluster with the given identifier.</p>
137139
*
138140
* @throws {@link ClusterQuotaForCustomerExceededFault} (client fault)
139-
* <p>You have attempted to exceed the maximum number of DAX clusters for your AWS
140-
* account.</p>
141+
* <p>You have attempted to exceed the maximum number of DAX clusters for
142+
* your Amazon Web Services account.</p>
141143
*
142144
* @throws {@link InsufficientClusterCapacityFault} (client fault)
143145
* <p>There are not enough system resources to create the cluster you requested (or to
144146
* resize an already-existing cluster). </p>
145147
*
146148
* @throws {@link InvalidClusterStateFault} (client fault)
147-
* <p>The requested DAX cluster is not in the <i>available</i>
148-
* state.</p>
149+
* <p>The requested DAX cluster is not in the
150+
* <i>available</i> state.</p>
149151
*
150152
* @throws {@link InvalidParameterCombinationException} (client fault)
151153
* <p>Two or more incompatible parameters were specified.</p>
@@ -164,8 +166,7 @@ export interface CreateClusterCommandOutput extends CreateClusterResponse, __Met
164166
* cluster.</p>
165167
*
166168
* @throws {@link NodeQuotaForCustomerExceededFault} (client fault)
167-
* <p>You have attempted to exceed the maximum number of nodes for your AWS
168-
* account.</p>
169+
* <p>You have attempted to exceed the maximum number of nodes for your Amazon Web Services account.</p>
169170
*
170171
* @throws {@link ParameterGroupNotFoundFault} (client fault)
171172
* <p>The specified parameter group does not exist.</p>
@@ -175,8 +176,8 @@ export interface CreateClusterCommandOutput extends CreateClusterResponse, __Met
175176
*
176177
* @throws {@link ServiceQuotaExceededException} (client fault)
177178
* <p>You have reached the maximum number of x509 certificates that can be created for
178-
* encrypted clusters in a 30 day period. Contact AWS customer support to discuss options
179-
* for continuing to create encrypted clusters.</p>
179+
* encrypted clusters in a 30 day period. Contact Amazon Web Services customer support to
180+
* discuss options for continuing to create encrypted clusters.</p>
180181
*
181182
* @throws {@link SubnetGroupNotFoundFault} (client fault)
182183
* <p>The requested subnet group name does not refer to an existing subnet

clients/client-dax/src/commands/CreateSubnetGroupCommand.ts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,14 @@ export interface CreateSubnetGroupCommandOutput extends CreateSubnetGroupRespons
5555
* // { // Subnet
5656
* // SubnetIdentifier: "STRING_VALUE",
5757
* // SubnetAvailabilityZone: "STRING_VALUE",
58+
* // SupportedNetworkTypes: [ // NetworkTypeList
59+
* // "ipv4" || "ipv6" || "dual_stack",
60+
* // ],
5861
* // },
5962
* // ],
63+
* // SupportedNetworkTypes: [
64+
* // "ipv4" || "ipv6" || "dual_stack",
65+
* // ],
6066
* // },
6167
* // };
6268
*
@@ -81,6 +87,13 @@ export interface CreateSubnetGroupCommandOutput extends CreateSubnetGroupRespons
8187
* <p>The request cannot be processed because it would exceed the allowed number of
8288
* subnets in a subnet group.</p>
8389
*
90+
* @throws {@link SubnetNotAllowedFault} (client fault)
91+
* <p>The specified subnet can't be used for the requested network type. This error
92+
* occurs when either there aren't enough subnets of the required network type to create
93+
* the cluster, or when you try to use a subnet that doesn't support the requested network
94+
* type (for example, trying to create a dual-stack cluster with a subnet that doesn't have
95+
* IPv6 CIDR). </p>
96+
*
8497
* @throws {@link SubnetQuotaExceededFault} (client fault)
8598
* <p>The request cannot be processed because it would exceed the allowed number of
8699
* subnets in a subnet group.</p>

clients/client-dax/src/commands/DecreaseReplicationFactorCommand.ts

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,10 @@ export interface DecreaseReplicationFactorCommandOutput extends DecreaseReplicat
2929

3030
/**
3131
* <p>Removes one or more nodes from a DAX cluster.</p>
32-
* <note>
33-
* <p>You cannot use <code>DecreaseReplicationFactor</code> to remove the last node in a DAX cluster. If you need to do this, use <code>DeleteCluster</code> instead.</p>
32+
* <note>
33+
* <p>You cannot use <code>DecreaseReplicationFactor</code> to remove the last node
34+
* in a DAX cluster. If you need to do this, use
35+
* <code>DeleteCluster</code> instead.</p>
3436
* </note>
3537
* @example
3638
* Use a bare-bones client and the command you need to make an API call.
@@ -107,6 +109,7 @@ export interface DecreaseReplicationFactorCommandOutput extends DecreaseReplicat
107109
* // Status: "ENABLING" || "ENABLED" || "DISABLING" || "DISABLED",
108110
* // },
109111
* // ClusterEndpointEncryptionType: "NONE" || "TLS",
112+
* // NetworkType: "ipv4" || "ipv6" || "dual_stack",
110113
* // },
111114
* // };
112115
*
@@ -119,11 +122,12 @@ export interface DecreaseReplicationFactorCommandOutput extends DecreaseReplicat
119122
* @see {@link DAXClientResolvedConfig | config} for DAXClient's `config` shape.
120123
*
121124
* @throws {@link ClusterNotFoundFault} (client fault)
122-
* <p>The requested cluster ID does not refer to an existing DAX cluster.</p>
125+
* <p>The requested cluster ID does not refer to an existing DAX
126+
* cluster.</p>
123127
*
124128
* @throws {@link InvalidClusterStateFault} (client fault)
125-
* <p>The requested DAX cluster is not in the <i>available</i>
126-
* state.</p>
129+
* <p>The requested DAX cluster is not in the
130+
* <i>available</i> state.</p>
127131
*
128132
* @throws {@link InvalidParameterCombinationException} (client fault)
129133
* <p>Two or more incompatible parameters were specified.</p>

clients/client-dax/src/commands/DeleteClusterCommand.ts

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ export interface DeleteClusterCommandOutput extends DeleteClusterResponse, __Met
2929

3030
/**
3131
* <p>Deletes a previously provisioned DAX cluster.
32-
* <i>DeleteCluster</i> deletes all associated nodes, node endpoints
33-
* and the DAX cluster itself. When you receive a successful response from this action,
34-
* DAX immediately begins deleting the cluster; you cannot cancel or revert this
35-
* action.</p>
32+
* <i>DeleteCluster</i> deletes all associated nodes, node endpoints and
33+
* the DAX cluster itself. When you receive a successful response from this
34+
* action, DAX immediately begins deleting the cluster; you cannot cancel or
35+
* revert this action.</p>
3636
* @example
3737
* Use a bare-bones client and the command you need to make an API call.
3838
* ```javascript
@@ -101,6 +101,7 @@ export interface DeleteClusterCommandOutput extends DeleteClusterResponse, __Met
101101
* // Status: "ENABLING" || "ENABLED" || "DISABLING" || "DISABLED",
102102
* // },
103103
* // ClusterEndpointEncryptionType: "NONE" || "TLS",
104+
* // NetworkType: "ipv4" || "ipv6" || "dual_stack",
104105
* // },
105106
* // };
106107
*
@@ -113,11 +114,12 @@ export interface DeleteClusterCommandOutput extends DeleteClusterResponse, __Met
113114
* @see {@link DAXClientResolvedConfig | config} for DAXClient's `config` shape.
114115
*
115116
* @throws {@link ClusterNotFoundFault} (client fault)
116-
* <p>The requested cluster ID does not refer to an existing DAX cluster.</p>
117+
* <p>The requested cluster ID does not refer to an existing DAX
118+
* cluster.</p>
117119
*
118120
* @throws {@link InvalidClusterStateFault} (client fault)
119-
* <p>The requested DAX cluster is not in the <i>available</i>
120-
* state.</p>
121+
* <p>The requested DAX cluster is not in the
122+
* <i>available</i> state.</p>
121123
*
122124
* @throws {@link InvalidParameterCombinationException} (client fault)
123125
* <p>Two or more incompatible parameters were specified.</p>

clients/client-dax/src/commands/DeleteSubnetGroupCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ export interface DeleteSubnetGroupCommandOutput extends DeleteSubnetGroupRespons
2929

3030
/**
3131
* <p>Deletes a subnet group.</p>
32-
* <note>
32+
* <note>
3333
* <p>You cannot delete a subnet group if it is associated with any DAX
3434
* clusters.</p>
35-
* </note>
35+
* </note>
3636
* @example
3737
* Use a bare-bones client and the command you need to make an API call.
3838
* ```javascript

clients/client-dax/src/commands/DescribeClustersCommand.ts

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,19 +28,19 @@ export interface DescribeClustersCommandInput extends DescribeClustersRequest {}
2828
export interface DescribeClustersCommandOutput extends DescribeClustersResponse, __MetadataBearer {}
2929

3030
/**
31-
* <p>Returns information about all provisioned DAX clusters if no cluster identifier
32-
* is specified, or about a specific DAX cluster if a cluster identifier is
31+
* <p>Returns information about all provisioned DAX clusters if no cluster identifier is
32+
* specified, or about a specific DAX cluster if a cluster identifier is
3333
* supplied.</p>
34-
* <p>If the cluster is in the CREATING state, only cluster level information will be
34+
* <p>If the cluster is in the CREATING state, only cluster level information will be
3535
* displayed until all of the nodes are successfully provisioned.</p>
36-
* <p>If the cluster is in the DELETING state, only cluster level information will be
36+
* <p>If the cluster is in the DELETING state, only cluster level information will be
3737
* displayed.</p>
38-
* <p>If nodes are currently being added to the DAX cluster, node endpoint information
38+
* <p>If nodes are currently being added to the DAX cluster, node endpoint information
3939
* and creation time for the additional nodes will not be displayed until they are
40-
* completely provisioned. When the DAX cluster state is <i>available</i>,
41-
* the cluster is ready for use.</p>
42-
* <p>If nodes are currently being removed from the DAX cluster, no endpoint
43-
* information for the removed nodes is displayed.</p>
40+
* completely provisioned. When the DAX cluster state is
41+
* <i>available</i>, the cluster is ready for use.</p>
42+
* <p>If nodes are currently being removed from the DAX cluster, no
43+
* endpoint information for the removed nodes is displayed.</p>
4444
* @example
4545
* Use a bare-bones client and the command you need to make an API call.
4646
* ```javascript
@@ -115,6 +115,7 @@ export interface DescribeClustersCommandOutput extends DescribeClustersResponse,
115115
* // Status: "ENABLING" || "ENABLED" || "DISABLING" || "DISABLED",
116116
* // },
117117
* // ClusterEndpointEncryptionType: "NONE" || "TLS",
118+
* // NetworkType: "ipv4" || "ipv6" || "dual_stack",
118119
* // },
119120
* // ],
120121
* // };
@@ -128,7 +129,8 @@ export interface DescribeClustersCommandOutput extends DescribeClustersResponse,
128129
* @see {@link DAXClientResolvedConfig | config} for DAXClient's `config` shape.
129130
*
130131
* @throws {@link ClusterNotFoundFault} (client fault)
131-
* <p>The requested cluster ID does not refer to an existing DAX cluster.</p>
132+
* <p>The requested cluster ID does not refer to an existing DAX
133+
* cluster.</p>
132134
*
133135
* @throws {@link InvalidParameterCombinationException} (client fault)
134136
* <p>Two or more incompatible parameters were specified.</p>

clients/client-dax/src/commands/DescribeEventsCommand.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ export interface DescribeEventsCommandInput extends DescribeEventsRequest {}
2828
export interface DescribeEventsCommandOutput extends DescribeEventsResponse, __MetadataBearer {}
2929

3030
/**
31-
* <p>Returns events related to DAX clusters and parameter groups. You can obtain
32-
* events specific to a particular DAX cluster or parameter group by providing the name
33-
* as a parameter.</p>
34-
* <p>By default, only the events occurring within the last 24 hours are returned; however,
35-
* you can retrieve up to 14 days' worth of events if necessary.</p>
31+
* <p>Returns events related to DAX clusters and parameter groups. You can
32+
* obtain events specific to a particular DAX cluster or parameter group by
33+
* providing the name as a parameter.</p>
34+
* <p>By default, only the events occurring within the last 24 hours are returned;
35+
* however, you can retrieve up to 14 days' worth of events if necessary.</p>
3636
* @example
3737
* Use a bare-bones client and the command you need to make an API call.
3838
* ```javascript

0 commit comments

Comments
 (0)