Skip to content

Commit

Permalink
docs(client-redshift): Updates to remove DC1 and DS2 node types.
Browse files Browse the repository at this point in the history
  • Loading branch information
awstools committed Jun 12, 2024
1 parent 57ae98d commit 5ee744b
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 49 deletions.
12 changes: 0 additions & 12 deletions clients/client-redshift/src/commands/ResizeClusterCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,24 +39,12 @@ export interface ResizeClusterCommandOutput extends ResizeClusterResult, __Metad
* <p>You can only resize clusters of the following types:</p>
* <ul>
* <li>
* <p>dc1.large (if your cluster is in a VPC)</p>
* </li>
* <li>
* <p>dc1.8xlarge (if your cluster is in a VPC)</p>
* </li>
* <li>
* <p>dc2.large</p>
* </li>
* <li>
* <p>dc2.8xlarge</p>
* </li>
* <li>
* <p>ds2.xlarge</p>
* </li>
* <li>
* <p>ds2.8xlarge</p>
* </li>
* <li>
* <p>ra3.xlplus</p>
* </li>
* <li>
Expand Down
19 changes: 9 additions & 10 deletions clients/client-redshift/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2766,7 +2766,7 @@ export interface ReservedNodeExchangeStatus {
SourceReservedNodeId?: string;

/**
* <p>The source reserved-node type, for example ds2.xlarge.</p>
* <p>The source reserved-node type, for example ra3.4xlarge.</p>
* @public
*/
SourceReservedNodeType?: string;
Expand Down Expand Up @@ -2830,37 +2830,37 @@ export interface RestoreStatus {
/**
* <p>The number of megabytes per second being transferred from the backup storage.
* Returns the average rate for a completed backup.
* This field is only updated when you restore to DC2 and DS2 node types. </p>
* This field is only updated when you restore to DC2 node types. </p>
* @public
*/
CurrentRestoreRateInMegaBytesPerSecond?: number;

/**
* <p>The size of the set of snapshot data used to restore the cluster.
* This field is only updated when you restore to DC2 and DS2 node types. </p>
* This field is only updated when you restore to DC2 node types. </p>
* @public
*/
SnapshotSizeInMegaBytes?: number;

/**
* <p>The number of megabytes that have been transferred from snapshot storage.
* This field is only updated when you restore to DC2 and DS2 node types. </p>
* This field is only updated when you restore to DC2 node types. </p>
* @public
*/
ProgressInMegaBytes?: number;

/**
* <p>The amount of time an in-progress restore has been running, or the amount of time
* it took a completed restore to finish.
* This field is only updated when you restore to DC2 and DS2 node types. </p>
* This field is only updated when you restore to DC2 node types. </p>
* @public
*/
ElapsedTimeInSeconds?: number;

/**
* <p>The estimate of the time remaining before the restore will complete. Returns 0 for
* a completed restore.
* This field is only updated when you restore to DC2 and DS2 node types. </p>
* This field is only updated when you restore to DC2 node types. </p>
* @public
*/
EstimatedTimeToCompletionInSeconds?: number;
Expand Down Expand Up @@ -4490,8 +4490,7 @@ export interface CreateClusterMessage {
* <p>The node type to be provisioned for the cluster. For information about node types,
* go to <a href="https://docs.aws.amazon.com/redshift/latest/mgmt/working-with-clusters.html#how-many-nodes"> Working with
* Clusters</a> in the <i>Amazon Redshift Cluster Management Guide</i>. </p>
* <p>Valid Values: <code>ds2.xlarge</code> | <code>ds2.8xlarge</code> |
* <code>dc1.large</code> | <code>dc1.8xlarge</code> |
* <p>Valid Values:
* <code>dc2.large</code> | <code>dc2.8xlarge</code> |
* <code>ra3.xlplus</code> | <code>ra3.4xlarge</code> | <code>ra3.16xlarge</code>
* </p>
Expand Down Expand Up @@ -4663,7 +4662,7 @@ export interface CreateClusterMessage {
* with ra3 nodes, it isn't required that you change the port to these ranges.)</p>
* </li>
* <li>
* <p>For clusters with ds2 or dc2 nodes - Select a port within the range <code>1150-65535</code>.</p>
* <p>For clusters with dc2 nodes - Select a port within the range <code>1150-65535</code>.</p>
* </li>
* </ul>
* @public
Expand Down Expand Up @@ -6824,7 +6823,7 @@ export interface ScheduledAction {

/**
* <p>A JSON format string of the Amazon Redshift API operation with input parameters. </p>
* <p>"<code>\{\"ResizeCluster\":\{\"NodeType\":\"ds2.8xlarge\",\"ClusterIdentifier\":\"my-test-cluster\",\"NumberOfNodes\":3\}\}</code>". </p>
* <p>"<code>\{\"ResizeCluster\":\{\"NodeType\":\"ra3.4xlarge\",\"ClusterIdentifier\":\"my-test-cluster\",\"NumberOfNodes\":3\}\}</code>". </p>
* @public
*/
TargetAction?: ScheduledActionType;
Expand Down
18 changes: 6 additions & 12 deletions clients/client-redshift/src/models/models_1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1390,7 +1390,7 @@ export type Mode = (typeof Mode)[keyof typeof Mode];
*/
export interface NodeConfigurationOption {
/**
* <p>The node type, such as, "ds2.8xlarge".</p>
* <p>The node type, such as, "ra3.4xlarge".</p>
* @public
*/
NodeType?: string;
Expand Down Expand Up @@ -3829,8 +3829,7 @@ export interface ModifyClusterMessage {
* For more information about resizing clusters, go to
* <a href="https://docs.aws.amazon.com/redshift/latest/mgmt/rs-resize-tutorial.html">Resizing Clusters in Amazon Redshift</a>
* in the <i>Amazon Redshift Cluster Management Guide</i>.</p>
* <p>Valid Values: <code>ds2.xlarge</code> | <code>ds2.8xlarge</code> |
* <code>dc1.large</code> | <code>dc1.8xlarge</code> |
* <p>Valid Values:
* <code>dc2.large</code> | <code>dc2.8xlarge</code> |
* <code>ra3.xlplus</code> | <code>ra3.4xlarge</code> | <code>ra3.16xlarge</code>
* </p>
Expand Down Expand Up @@ -4105,7 +4104,7 @@ export interface ModifyClusterMessage {
* with ra3 nodes, it isn't required that you change the port to these ranges.)</p>
* </li>
* <li>
* <p>For clusters with ds2 or dc2 nodes - Select a port within the range <code>1150-65535</code>.</p>
* <p>For clusters with dc2 nodes - Select a port within the range <code>1150-65535</code>.</p>
* </li>
* </ul>
* @public
Expand Down Expand Up @@ -5084,7 +5083,7 @@ export interface RestoreFromClusterSnapshotMessage {
/**
* <p>The port number on which the cluster accepts connections.</p>
* <p>Default: The same port as the original cluster.</p>
* <p>Valid values: For clusters with ds2 or dc2 nodes, must be within the range <code>1150</code>-<code>65535</code>. For clusters with ra3 nodes, must be
* <p>Valid values: For clusters with DC2 nodes, must be within the range <code>1150</code>-<code>65535</code>. For clusters with ra3 nodes, must be
* within the ranges <code>5431</code>-<code>5455</code> or <code>8191</code>-<code>8215</code>.</p>
* @public
*/
Expand Down Expand Up @@ -5235,14 +5234,9 @@ export interface RestoreFromClusterSnapshotMessage {

/**
* <p>The node type that the restored cluster will be provisioned with.</p>
* <p>Default: The node type of the cluster from which the snapshot was taken. You can
* modify this if you are using any DS node type. In that case, you can choose to restore
* into another DS node type of the same size. For example, you can restore ds1.8xlarge
* into ds2.8xlarge, or ds1.xlarge into ds2.xlarge. If you have a DC instance type, you
* <p>If you have a DC instance type, you
* must restore into that same instance type and size. In other words, you can only restore
* a dc1.large instance type into another dc1.large instance type or dc2.large instance
* type. You can't restore dc1.8xlarge to dc2.8xlarge. First restore to a dc1.8xlarge
* cluster, then resize to a dc2.8large cluster. For more information about node types, see
* a dc2.large node type into another dc2 type. For more information about node types, see
* <a href="https://docs.aws.amazon.com/redshift/latest/mgmt/working-with-clusters.html#rs-about-clusters-and-nodes">
* About Clusters and Nodes</a> in the <i>Amazon Redshift Cluster Management Guide</i>. </p>
* @public
Expand Down
Loading

0 comments on commit 5ee744b

Please sign in to comment.