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:

* * @public @@ -6824,7 +6823,7 @@ export interface ScheduledAction { /** *

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\}\}".

* @public */ TargetAction?: ScheduledActionType; diff --git a/clients/client-redshift/src/models/models_1.ts b/clients/client-redshift/src/models/models_1.ts index edc3184535fe..373ba9781f04 100644 --- a/clients/client-redshift/src/models/models_1.ts +++ b/clients/client-redshift/src/models/models_1.ts @@ -1390,7 +1390,7 @@ export type Mode = (typeof Mode)[keyof typeof Mode]; */ export interface NodeConfigurationOption { /** - *

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 *

@@ -4105,7 +4104,7 @@ export interface ModifyClusterMessage { * 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.

    + *

    For clusters with dc2 nodes - Select a port within the range 1150-65535.

    *
  • * * @public @@ -5084,7 +5083,7 @@ export interface RestoreFromClusterSnapshotMessage { /** *

    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.

    * @public */ @@ -5235,14 +5234,9 @@ export interface RestoreFromClusterSnapshotMessage { /** *

    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.

    \n

    Valid Values: ds2.xlarge | ds2.8xlarge |\n dc1.large | dc1.8xlarge | \n dc2.large | dc2.8xlarge | \n ra3.xlplus | ra3.4xlarge | ra3.16xlarge\n

    ", + "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.

    \n

    Valid Values: \n dc2.large | dc2.8xlarge | \n ra3.xlplus | ra3.4xlarge | ra3.16xlarge\n

    ", "smithy.api#required": {} } }, @@ -2883,7 +2883,7 @@ "Port": { "target": "com.amazonaws.redshift#IntegerOptional", "traits": { - "smithy.api#documentation": "

    The port number on which the cluster accepts incoming connections.

    \n

    The 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.

    \n

    Default: 5439\n

    \n

    Valid Values:\n

    \n " + "smithy.api#documentation": "

    The port number on which the cluster accepts incoming connections.

    \n

    The 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.

    \n

    Default: 5439\n

    \n

    Valid Values:\n

    \n " } }, "ClusterVersion": { @@ -11451,7 +11451,7 @@ "NodeType": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

    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.

    \n

    Valid Values: ds2.xlarge | ds2.8xlarge |\n dc1.large | dc1.8xlarge | \n dc2.large | dc2.8xlarge | \n ra3.xlplus | ra3.4xlarge | ra3.16xlarge\n

    " + "smithy.api#documentation": "

    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.

    \n

    Valid Values: \n dc2.large | dc2.8xlarge | \n ra3.xlplus | ra3.4xlarge | ra3.16xlarge\n

    " } }, "NumberOfNodes": { @@ -11583,7 +11583,7 @@ "Port": { "target": "com.amazonaws.redshift#IntegerOptional", "traits": { - "smithy.api#documentation": "

    The option to change the port of an Amazon Redshift cluster.

    \n

    Valid Values:\n

    \n " + "smithy.api#documentation": "

    The option to change the port of an Amazon Redshift cluster.

    \n

    Valid Values:\n

    \n " } }, "ManageMasterPassword": { @@ -12506,7 +12506,7 @@ "NodeType": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

    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.

    \n

    Elastic resize operations have the following restrictions:

    \n " + "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.

    \n

    Elastic resize operations have the following restrictions:

    \n " } }, "com.amazonaws.redshift#ResizeClusterMessage": { @@ -16185,7 +16185,7 @@ "Port": { "target": "com.amazonaws.redshift#IntegerOptional", "traits": { - "smithy.api#documentation": "

    The port number on which the cluster accepts connections.

    \n

    Default: The same port as the original cluster.

    \n

    Valid 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.

    " + "smithy.api#documentation": "

    The port number on which the cluster accepts connections.

    \n

    Default: The same port as the original cluster.

    \n

    Valid 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.

    " } }, "AvailabilityZone": { @@ -16281,7 +16281,7 @@ "NodeType": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

    The node type that the restored cluster will be provisioned with.

    \n

    Default: 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.

    \n

    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 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}}\".

    " + "smithy.api#documentation": "

    A JSON format string of the Amazon Redshift API operation with input parameters.

    \n

    \"{\\\"ResizeCluster\\\":{\\\"NodeType\\\":\\\"ra3.4xlarge\\\",\\\"ClusterIdentifier\\\":\\\"my-test-cluster\\\",\\\"NumberOfNodes\\\":3}}\".

    " } }, "Schedule": {