diff --git a/clients/client-redshift/src/models/models_0.ts b/clients/client-redshift/src/models/models_0.ts index c14e7dd0344c..c9341fd7e2d1 100644 --- a/clients/client-redshift/src/models/models_0.ts +++ b/clients/client-redshift/src/models/models_0.ts @@ -594,7 +594,7 @@ export interface AquaConfiguration { export interface AssociateDataShareConsumerMessage { /** * @public - *

The Amazon Resource Name (ARN) of the datashare that the consumer is to use with the account or the namespace.

+ *

The Amazon Resource Name (ARN) of the datashare that the consumer is to use.

*/ DataShareArn: string | undefined; @@ -606,7 +606,7 @@ export interface AssociateDataShareConsumerMessage { /** * @public - *

The Amazon Resource Name (ARN) of the consumer that is associated with the + *

The Amazon Resource Name (ARN) of the consumer namespace associated with the * datashare.

*/ ConsumerArn?: string; @@ -698,13 +698,13 @@ export interface DataShareAssociation { export interface DataShare { /** * @public - *

An Amazon Resource Name (ARN) that references the datashare that is owned by a specific namespace of the producer cluster. A datashare ARN is in the arn:aws:redshift:\{region\}:\{account-id\}:\{datashare\}:\{namespace-guid\}/\{datashare-name\} format.

+ *

The Amazon Resource Name (ARN) of the datashare that the consumer is to use.

*/ DataShareArn?: string; /** * @public - *

The Amazon Resource Name (ARN) of the producer.

+ *

The Amazon Resource Name (ARN) of the producer namespace.

*/ ProducerArn?: string; @@ -1204,7 +1204,7 @@ export class InvalidClusterSecurityGroupStateFault extends __BaseException { export interface AuthorizeDataShareMessage { /** * @public - *

The Amazon Resource Name (ARN) of the datashare that producers are to authorize + *

The Amazon Resource Name (ARN) of the datashare namespace that producers are to authorize * sharing for.

*/ DataShareArn: string | undefined; @@ -1424,9 +1424,19 @@ export interface AuthorizeSnapshotAccessMessage { /** * @public - *

The identifier of the cluster the snapshot was created from. This parameter is - * required if your IAM user has a policy containing a snapshot resource element that - * specifies anything other than * for the cluster name.

+ *

The identifier of the cluster the snapshot was created from.

+ * */ SnapshotClusterIdentifier?: string; @@ -4640,8 +4650,17 @@ export interface CreateClusterMessage { * connections.

*

Default: 5439 *

- *

Valid Values: 1150-65535 - *

+ *

Valid Values: + *

+ * */ Port?: number; @@ -7565,7 +7584,7 @@ export type DataShareStatusForProducer = (typeof DataShareStatusForProducer)[key export interface DeauthorizeDataShareMessage { /** * @public - *

The Amazon Resource Name (ARN) of the datashare to remove authorization from.

+ *

The namespace Amazon Resource Name (ARN) of the datashare to remove authorization from.

*/ DataShareArn: string | undefined; diff --git a/clients/client-redshift/src/models/models_1.ts b/clients/client-redshift/src/models/models_1.ts index 6fd99a2361d1..b54fcb0ee3cf 100644 --- a/clients/client-redshift/src/models/models_1.ts +++ b/clients/client-redshift/src/models/models_1.ts @@ -131,7 +131,7 @@ export interface DescribeCustomDomainAssociationsMessage { export interface DescribeDataSharesMessage { /** * @public - *

The identifier of the datashare to describe details of.

+ *

The Amazon resource name (ARN) of the datashare to describe details of.

*/ DataShareArn?: string; @@ -174,7 +174,7 @@ export interface DescribeDataSharesResult { export interface DescribeDataSharesForConsumerMessage { /** * @public - *

The Amazon Resource Name (ARN) of the consumer that returns in the list of datashares.

+ *

The Amazon Resource Name (ARN) of the consumer namespace that returns in the list of datashares.

*/ ConsumerArn?: string; @@ -234,7 +234,7 @@ export interface DescribeDataSharesForConsumerResult { export interface DescribeDataSharesForProducerMessage { /** * @public - *

The Amazon Resource Name (ARN) of the producer that returns in the list of datashares.

+ *

The Amazon Resource Name (ARN) of the producer namespace that returns in the list of datashares.

*/ ProducerArn?: string; @@ -2759,7 +2759,7 @@ export class SnapshotCopyAlreadyDisabledFault extends __BaseException { export interface DisassociateDataShareConsumerMessage { /** * @public - *

The Amazon Resource Name (ARN) of the datashare to remove association for.

+ *

The Amazon Resource Name (ARN) of the datashare to remove association for.

*/ DataShareArn: string | undefined; @@ -2772,7 +2772,7 @@ export interface DisassociateDataShareConsumerMessage { /** * @public - *

The Amazon Resource Name (ARN) of the consumer that association for + *

The Amazon Resource Name (ARN) of the consumer namespace that association for * the datashare is removed from.

*/ ConsumerArn?: string; @@ -4098,6 +4098,17 @@ export interface ModifyClusterMessage { /** * @public *

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

+ *

Valid Values: + *

+ * */ Port?: number; @@ -5074,7 +5085,8 @@ export interface RestoreFromClusterSnapshotMessage { * @public *

The port number on which the cluster accepts connections.

*

Default: The same port as the original cluster.

- *

Constraints: Must be between 1115 and 65535.

+ *

Valid values: For clusters with ds2 or dc2 nodes, must be within the range 1150-65535. For clusters with ra3 nodes, must be + * within the ranges 5431-5455 or 8191-8215.

*/ Port?: number; diff --git a/codegen/sdk-codegen/aws-models/redshift.json b/codegen/sdk-codegen/aws-models/redshift.json index 16f09cfb1b91..71851ca82e63 100644 --- a/codegen/sdk-codegen/aws-models/redshift.json +++ b/codegen/sdk-codegen/aws-models/redshift.json @@ -338,7 +338,7 @@ "target": "com.amazonaws.redshift#String", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the datashare that the consumer is to use with the account or the namespace.

", + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the datashare that the consumer is to use.

", "smithy.api#required": {} } }, @@ -351,7 +351,7 @@ "ConsumerArn": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the consumer that is associated with the\n datashare.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the consumer namespace associated with the\n datashare.

" } }, "ConsumerRegion": { @@ -707,7 +707,7 @@ "target": "com.amazonaws.redshift#String", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the datashare that producers are to authorize\n sharing for.

", + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the datashare namespace that producers are to authorize\n sharing for.

", "smithy.api#required": {} } }, @@ -843,7 +843,7 @@ "SnapshotClusterIdentifier": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

The identifier of the cluster the snapshot was created from. This parameter is\n required if your IAM user has a policy containing a snapshot resource element that\n specifies anything other than * for the cluster name.

" + "smithy.api#documentation": "

The identifier of the cluster the snapshot was created from.

\n " } }, "AccountWithRestoreAccess": { @@ -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: 1150-65535\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": { @@ -4406,13 +4406,13 @@ "DataShareArn": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

An Amazon Resource Name (ARN) that references the datashare that is owned by a specific namespace of the producer cluster. A datashare ARN is in the arn:aws:redshift:{region}:{account-id}:{datashare}:{namespace-guid}/{datashare-name} format.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the datashare that the consumer is to use.

" } }, "ProducerArn": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the producer.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the producer namespace.

" } }, "AllowPubliclyAccessibleConsumers": { @@ -4667,7 +4667,7 @@ "target": "com.amazonaws.redshift#String", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the datashare to remove authorization from.

", + "smithy.api#documentation": "

The namespace Amazon Resource Name (ARN) of the datashare to remove authorization from.

", "smithy.api#required": {} } }, @@ -6500,7 +6500,7 @@ "ConsumerArn": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the consumer that returns in the list of datashares.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the consumer namespace that returns in the list of datashares.

" } }, "Status": { @@ -6575,7 +6575,7 @@ "ProducerArn": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the producer that returns in the list of datashares.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the producer namespace that returns in the list of datashares.

" } }, "Status": { @@ -6627,7 +6627,7 @@ "DataShareArn": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

The identifier of the datashare to describe details of.

" + "smithy.api#documentation": "

The Amazon resource name (ARN) of the datashare to describe details of.

" } }, "MaxRecords": { @@ -8348,7 +8348,7 @@ "target": "com.amazonaws.redshift#String", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the datashare to remove association for.

", + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the datashare to remove association for.

", "smithy.api#required": {} } }, @@ -8361,7 +8361,7 @@ "ConsumerArn": { "target": "com.amazonaws.redshift#String", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the consumer that association for\n the datashare is removed from.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the consumer namespace that association for\n the datashare is removed from.

" } }, "ConsumerRegion": { @@ -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.

" + "smithy.api#documentation": "

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

\n

Valid Values:\n

\n " } }, "ManageMasterPassword": { @@ -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

Constraints: Must be between 1115 and 65535.

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

" } }, "AvailabilityZone": {