diff --git a/clients/client-redshift/src/commands/ResizeClusterCommand.ts b/clients/client-redshift/src/commands/ResizeClusterCommand.ts index df9f521b412e..08eb05394c90 100644 --- a/clients/client-redshift/src/commands/ResizeClusterCommand.ts +++ b/clients/client-redshift/src/commands/ResizeClusterCommand.ts @@ -39,24 +39,12 @@ export interface ResizeClusterCommandOutput extends ResizeClusterResult, __Metad *
You can only resize clusters of the following types:
*dc1.large (if your cluster is in a VPC)
- *dc1.8xlarge (if your cluster is in a VPC)
- *dc2.large
*dc2.8xlarge
*ds2.xlarge
- *ds2.8xlarge
- *ra3.xlplus
*The source reserved-node type, for example ds2.xlarge.
+ *The source reserved-node type, for example ra3.4xlarge.
* @public */ SourceReservedNodeType?: string; @@ -2830,21 +2830,21 @@ export interface RestoreStatus { /** *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.
+ * This field is only updated when you restore to DC2 node types. * @public */ CurrentRestoreRateInMegaBytesPerSecond?: number; /** *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.
+ * This field is only updated when you restore to DC2 node types. * @public */ SnapshotSizeInMegaBytes?: number; /** *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.
+ * This field is only updated when you restore to DC2 node types. * @public */ ProgressInMegaBytes?: number; @@ -2852,7 +2852,7 @@ export interface RestoreStatus { /** *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.
+ * This field is only updated when you restore to DC2 node types. * @public */ ElapsedTimeInSeconds?: number; @@ -2860,7 +2860,7 @@ export interface RestoreStatus { /** *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.
+ * This field is only updated when you restore to DC2 node types. * @public */ EstimatedTimeToCompletionInSeconds?: number; @@ -4490,8 +4490,7 @@ export interface CreateClusterMessage { *The node type to be provisioned for the cluster. For information about node types, * go to Working with * Clusters in the Amazon Redshift Cluster Management Guide.
- *Valid Values: ds2.xlarge
| ds2.8xlarge
|
- * dc1.large
| dc1.8xlarge
|
+ *
Valid Values:
* dc2.large
| dc2.8xlarge
|
* ra3.xlplus
| ra3.4xlarge
| ra3.16xlarge
*
For clusters with ds2 or dc2 nodes - Select a port within the range 1150-65535
.
For clusters with dc2 nodes - Select a port within the range 1150-65535
.
A JSON format string of the Amazon Redshift API operation with input parameters.
- *"\{\"ResizeCluster\":\{\"NodeType\":\"ds2.8xlarge\",\"ClusterIdentifier\":\"my-test-cluster\",\"NumberOfNodes\":3\}\}
".
"\{\"ResizeCluster\":\{\"NodeType\":\"ra3.4xlarge\",\"ClusterIdentifier\":\"my-test-cluster\",\"NumberOfNodes\":3\}\}
".
The node type, such as, "ds2.8xlarge".
+ *The node type, such as, "ra3.4xlarge".
* @public */ NodeType?: string; @@ -3829,8 +3829,7 @@ export interface ModifyClusterMessage { * For more information about resizing clusters, go to * Resizing Clusters in Amazon Redshift * in the Amazon Redshift Cluster Management Guide. - *Valid Values: ds2.xlarge
| ds2.8xlarge
|
- * dc1.large
| dc1.8xlarge
|
+ *
Valid Values:
* dc2.large
| dc2.8xlarge
|
* ra3.xlplus
| ra3.4xlarge
| ra3.16xlarge
*
For clusters with ds2 or dc2 nodes - Select a port within the range 1150-65535
.
For clusters with dc2 nodes - Select a port within the range 1150-65535
.
The port number on which the cluster accepts connections.
*Default: The same port as the original cluster.
- *Valid values: For clusters with ds2 or dc2 nodes, must be within the range 1150
-65535
. For clusters with ra3 nodes, must be
+ *
Valid values: For clusters with DC2 nodes, must be within the range 1150
-65535
. For clusters with ra3 nodes, must be
* within the ranges 5431
-5455
or 8191
-8215
.
The node type that the restored cluster will be provisioned with.
- *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 + *
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 * * About Clusters and Nodes in the Amazon Redshift Cluster Management Guide.
* @public diff --git a/codegen/sdk-codegen/aws-models/redshift.json b/codegen/sdk-codegen/aws-models/redshift.json index 6da4c045fdf1..16bce5a6766d 100644 --- a/codegen/sdk-codegen/aws-models/redshift.json +++ b/codegen/sdk-codegen/aws-models/redshift.json @@ -2814,7 +2814,7 @@ "target": "com.amazonaws.redshift#String", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "The node type to be provisioned for the cluster. For information about node types,\n go to Working with\n Clusters in the Amazon Redshift Cluster Management Guide.
\nValid Values: ds2.xlarge
| ds2.8xlarge
|\n dc1.large
| dc1.8xlarge
| \n dc2.large
| dc2.8xlarge
| \n ra3.xlplus
| ra3.4xlarge
| ra3.16xlarge
\n
The node type to be provisioned for the cluster. For information about node types,\n go to Working with\n Clusters in the Amazon Redshift Cluster Management Guide.
\nValid Values: \n dc2.large
| dc2.8xlarge
| \n ra3.xlplus
| ra3.4xlarge
| ra3.16xlarge
\n
The port number on which the cluster accepts incoming connections.
\nThe cluster is accessible only via the JDBC and ODBC connection strings. Part of\n the connection string requires the port on which the cluster will listen for incoming\n connections.
\nDefault: 5439
\n
Valid Values:\n
\nFor clusters with ra3 nodes - Select a port within the ranges 5431-5455
or 8191-8215
. (If you have an existing cluster \n with ra3 nodes, it isn't required that you change the port to these ranges.)
For clusters with ds2 or dc2 nodes - Select a port within the range 1150-65535
.
The port number on which the cluster accepts incoming connections.
\nThe cluster is accessible only via the JDBC and ODBC connection strings. Part of\n the connection string requires the port on which the cluster will listen for incoming\n connections.
\nDefault: 5439
\n
Valid Values:\n
\nFor clusters with ra3 nodes - Select a port within the ranges 5431-5455
or 8191-8215
. (If you have an existing cluster \n with ra3 nodes, it isn't required that you change the port to these ranges.)
For clusters with dc2 nodes - Select a port within the range 1150-65535
.
The new node type of the cluster. If you specify a new node type, you must also\n specify the number of nodes parameter.
\n\nFor more information about resizing clusters, go to \nResizing Clusters in Amazon Redshift \nin the Amazon Redshift Cluster Management Guide.
\nValid Values: ds2.xlarge
| ds2.8xlarge
|\n dc1.large
| dc1.8xlarge
| \n dc2.large
| dc2.8xlarge
| \n ra3.xlplus
| ra3.4xlarge
| ra3.16xlarge
\n
The new node type of the cluster. If you specify a new node type, you must also\n specify the number of nodes parameter.
\n\nFor more information about resizing clusters, go to \nResizing Clusters in Amazon Redshift \nin the Amazon Redshift Cluster Management Guide.
\nValid Values: \n dc2.large
| dc2.8xlarge
| \n ra3.xlplus
| ra3.4xlarge
| ra3.16xlarge
\n
The option to change the port of an Amazon Redshift cluster.
\nValid Values:\n
\nFor clusters with ra3 nodes - Select a port within the ranges 5431-5455
or 8191-8215
. (If you have an existing cluster \n with ra3 nodes, it isn't required that you change the port to these ranges.)
For clusters with ds2 or dc2 nodes - Select a port within the range 1150-65535
.
The option to change the port of an Amazon Redshift cluster.
\nValid Values:\n
\nFor clusters with ra3 nodes - Select a port within the ranges 5431-5455
or 8191-8215
. (If you have an existing cluster \n with ra3 nodes, it isn't required that you change the port to these ranges.)
For clusters with dc2 nodes - Select a port within the range 1150-65535
.
The node type, such as, \"ds2.8xlarge\".
" + "smithy.api#documentation": "The node type, such as, \"ra3.4xlarge\".
" } }, "NumberOfNodes": { @@ -15410,7 +15410,7 @@ "SourceReservedNodeType": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "The source reserved-node type, for example ds2.xlarge.
" + "smithy.api#documentation": "The source reserved-node type, for example ra3.4xlarge.
" } }, "SourceReservedNodeCount": { @@ -15787,7 +15787,7 @@ } ], "traits": { - "smithy.api#documentation": "Changes the size of the cluster. You can change the cluster's type, or change the\n number or type of nodes. The default behavior is to use the elastic resize method. With\n an elastic resize, your cluster is available for read and write operations more quickly\n than with the classic resize method.
\nElastic resize operations have the following restrictions:
\nYou can only resize clusters of the following types:
\ndc1.large (if your cluster is in a VPC)
\ndc1.8xlarge (if your cluster is in a VPC)
\ndc2.large
\ndc2.8xlarge
\nds2.xlarge
\nds2.8xlarge
\nra3.xlplus
\nra3.4xlarge
\nra3.16xlarge
\nThe type of nodes that you add must match the node type for the\n cluster.
\nChanges the size of the cluster. You can change the cluster's type, or change the\n number or type of nodes. The default behavior is to use the elastic resize method. With\n an elastic resize, your cluster is available for read and write operations more quickly\n than with the classic resize method.
\nElastic resize operations have the following restrictions:
\nYou can only resize clusters of the following types:
\ndc2.large
\ndc2.8xlarge
\nra3.xlplus
\nra3.4xlarge
\nra3.16xlarge
\nThe type of nodes that you add must match the node type for the\n cluster.
\nThe port number on which the cluster accepts connections.
\nDefault: The same port as the original cluster.
\nValid values: For clusters with ds2 or dc2 nodes, must be within the range 1150
-65535
. For clusters with ra3 nodes, must be \n within the ranges 5431
-5455
or 8191
-8215
.
The port number on which the cluster accepts connections.
\nDefault: The same port as the original cluster.
\nValid values: For clusters with DC2 nodes, must be within the range 1150
-65535
. For clusters with ra3 nodes, must be \n within the ranges 5431
-5455
or 8191
-8215
.
The node type that the restored cluster will be provisioned with.
\nDefault: The node type of the cluster from which the snapshot was taken. You can\n modify this if you are using any DS node type. In that case, you can choose to restore\n into another DS node type of the same size. For example, you can restore ds1.8xlarge\n into ds2.8xlarge, or ds1.xlarge into ds2.xlarge. If you have a DC instance type, you\n must restore into that same instance type and size. In other words, you can only restore\n a dc1.large instance type into another dc1.large instance type or dc2.large instance\n type. You can't restore dc1.8xlarge to dc2.8xlarge. First restore to a dc1.8xlarge\n cluster, then resize to a dc2.8large cluster. For more information about node types, see\n \n About Clusters and Nodes in the Amazon Redshift Cluster Management Guide.
" + "smithy.api#documentation": "The node type that the restored cluster will be provisioned with.
\nIf you have a DC instance type, you\n must restore into that same instance type and size. In other words, you can only restore\n a dc2.large node type into another dc2 type. For more information about node types, see \n \n About Clusters and Nodes in the Amazon Redshift Cluster Management Guide.
" } }, "EnhancedVpcRouting": { @@ -16409,31 +16409,31 @@ "CurrentRestoreRateInMegaBytesPerSecond": { "target": "com.amazonaws.redshift#Double", "traits": { - "smithy.api#documentation": "The number of megabytes per second being transferred from the backup storage.\n Returns the average rate for a completed backup.\n This field is only updated when you restore to DC2 and DS2 node types.
" + "smithy.api#documentation": "The number of megabytes per second being transferred from the backup storage.\n Returns the average rate for a completed backup.\n This field is only updated when you restore to DC2 node types.
" } }, "SnapshotSizeInMegaBytes": { "target": "com.amazonaws.redshift#Long", "traits": { - "smithy.api#documentation": "The size of the set of snapshot data used to restore the cluster.\n This field is only updated when you restore to DC2 and DS2 node types.
" + "smithy.api#documentation": "The size of the set of snapshot data used to restore the cluster.\n This field is only updated when you restore to DC2 node types.
" } }, "ProgressInMegaBytes": { "target": "com.amazonaws.redshift#Long", "traits": { - "smithy.api#documentation": "The number of megabytes that have been transferred from snapshot storage.\n This field is only updated when you restore to DC2 and DS2 node types.
" + "smithy.api#documentation": "The number of megabytes that have been transferred from snapshot storage.\n This field is only updated when you restore to DC2 node types.
" } }, "ElapsedTimeInSeconds": { "target": "com.amazonaws.redshift#Long", "traits": { - "smithy.api#documentation": "The amount of time an in-progress restore has been running, or the amount of time\n it took a completed restore to finish.\n This field is only updated when you restore to DC2 and DS2 node types.
" + "smithy.api#documentation": "The amount of time an in-progress restore has been running, or the amount of time\n it took a completed restore to finish.\n This field is only updated when you restore to DC2 node types.
" } }, "EstimatedTimeToCompletionInSeconds": { "target": "com.amazonaws.redshift#Long", "traits": { - "smithy.api#documentation": "The estimate of the time remaining before the restore will complete. Returns 0 for\n a completed restore.\n This field is only updated when you restore to DC2 and DS2 node types.
" + "smithy.api#documentation": "The estimate of the time remaining before the restore will complete. Returns 0 for\n a completed restore.\n This field is only updated when you restore to DC2 node types.
" } } }, @@ -17022,7 +17022,7 @@ "TargetAction": { "target": "com.amazonaws.redshift#ScheduledActionType", "traits": { - "smithy.api#documentation": "A JSON format string of the Amazon Redshift API operation with input parameters.
\n\"{\\\"ResizeCluster\\\":{\\\"NodeType\\\":\\\"ds2.8xlarge\\\",\\\"ClusterIdentifier\\\":\\\"my-test-cluster\\\",\\\"NumberOfNodes\\\":3}}
\".
A JSON format string of the Amazon Redshift API operation with input parameters.
\n\"{\\\"ResizeCluster\\\":{\\\"NodeType\\\":\\\"ra3.4xlarge\\\",\\\"ClusterIdentifier\\\":\\\"my-test-cluster\\\",\\\"NumberOfNodes\\\":3}}
\".