Skip to content

Commit abd8a84

Browse files
author
awstools
committed
docs(client-redshift): Update for documentation only. Covers port ranges, definition updates for data sharing, and definition updates to cluster-snapshot documentation.
1 parent d5a6d35 commit abd8a84

File tree

3 files changed

+63
-32
lines changed

3 files changed

+63
-32
lines changed

clients/client-redshift/src/models/models_0.ts

Lines changed: 30 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -594,7 +594,7 @@ export interface AquaConfiguration {
594594
export interface AssociateDataShareConsumerMessage {
595595
/**
596596
* @public
597-
* <p>The Amazon Resource Name (ARN) of the datashare that the consumer is to use with the account or the namespace.</p>
597+
* <p>The Amazon Resource Name (ARN) of the datashare that the consumer is to use.</p>
598598
*/
599599
DataShareArn: string | undefined;
600600

@@ -606,7 +606,7 @@ export interface AssociateDataShareConsumerMessage {
606606

607607
/**
608608
* @public
609-
* <p>The Amazon Resource Name (ARN) of the consumer that is associated with the
609+
* <p>The Amazon Resource Name (ARN) of the consumer namespace associated with the
610610
* datashare.</p>
611611
*/
612612
ConsumerArn?: string;
@@ -698,13 +698,13 @@ export interface DataShareAssociation {
698698
export interface DataShare {
699699
/**
700700
* @public
701-
* <p>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 <code>arn:aws:redshift:\{region\}:\{account-id\}:\{datashare\}:\{namespace-guid\}/\{datashare-name\}</code> format.</p>
701+
* <p>The Amazon Resource Name (ARN) of the datashare that the consumer is to use.</p>
702702
*/
703703
DataShareArn?: string;
704704

705705
/**
706706
* @public
707-
* <p>The Amazon Resource Name (ARN) of the producer.</p>
707+
* <p>The Amazon Resource Name (ARN) of the producer namespace.</p>
708708
*/
709709
ProducerArn?: string;
710710

@@ -1204,7 +1204,7 @@ export class InvalidClusterSecurityGroupStateFault extends __BaseException {
12041204
export interface AuthorizeDataShareMessage {
12051205
/**
12061206
* @public
1207-
* <p>The Amazon Resource Name (ARN) of the datashare that producers are to authorize
1207+
* <p>The Amazon Resource Name (ARN) of the datashare namespace that producers are to authorize
12081208
* sharing for.</p>
12091209
*/
12101210
DataShareArn: string | undefined;
@@ -1424,9 +1424,19 @@ export interface AuthorizeSnapshotAccessMessage {
14241424

14251425
/**
14261426
* @public
1427-
* <p>The identifier of the cluster the snapshot was created from. This parameter is
1428-
* required if your IAM user has a policy containing a snapshot resource element that
1429-
* specifies anything other than * for the cluster name.</p>
1427+
* <p>The identifier of the cluster the snapshot was created from.</p>
1428+
* <ul>
1429+
* <li>
1430+
* <p>
1431+
* <i>If the snapshot to access doesn't exist and the associated IAM policy doesn't allow access to all (*) snapshots</i> - This parameter is required. Otherwise, permissions
1432+
* aren't available to check if the snapshot exists.</p>
1433+
* </li>
1434+
* <li>
1435+
* <p>
1436+
* <i>If the snapshot to access exists</i> - This parameter isn't required. Redshift can retrieve the cluster identifier and use it to
1437+
* validate snapshot authorization.</p>
1438+
* </li>
1439+
* </ul>
14301440
*/
14311441
SnapshotClusterIdentifier?: string;
14321442

@@ -4640,8 +4650,17 @@ export interface CreateClusterMessage {
46404650
* connections.</p>
46414651
* <p>Default: <code>5439</code>
46424652
* </p>
4643-
* <p>Valid Values: <code>1150-65535</code>
4644-
* </p>
4653+
* <p>Valid Values:
4654+
* </p>
4655+
* <ul>
4656+
* <li>
4657+
* <p>For clusters with ra3 nodes - Select a port within the ranges <code>5431-5455</code> or <code>8191-8215</code>. (If you have an existing cluster
4658+
* with ra3 nodes, it isn't required that you change the port to these ranges.)</p>
4659+
* </li>
4660+
* <li>
4661+
* <p>For clusters with ds2 or dc2 nodes - Select a port within the range <code>1150-65535</code>.</p>
4662+
* </li>
4663+
* </ul>
46454664
*/
46464665
Port?: number;
46474666

@@ -7565,7 +7584,7 @@ export type DataShareStatusForProducer = (typeof DataShareStatusForProducer)[key
75657584
export interface DeauthorizeDataShareMessage {
75667585
/**
75677586
* @public
7568-
* <p>The Amazon Resource Name (ARN) of the datashare to remove authorization from.</p>
7587+
* <p>The namespace Amazon Resource Name (ARN) of the datashare to remove authorization from.</p>
75697588
*/
75707589
DataShareArn: string | undefined;
75717590

clients/client-redshift/src/models/models_1.ts

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ export interface DescribeCustomDomainAssociationsMessage {
131131
export interface DescribeDataSharesMessage {
132132
/**
133133
* @public
134-
* <p>The identifier of the datashare to describe details of.</p>
134+
* <p>The Amazon resource name (ARN) of the datashare to describe details of.</p>
135135
*/
136136
DataShareArn?: string;
137137

@@ -174,7 +174,7 @@ export interface DescribeDataSharesResult {
174174
export interface DescribeDataSharesForConsumerMessage {
175175
/**
176176
* @public
177-
* <p>The Amazon Resource Name (ARN) of the consumer that returns in the list of datashares.</p>
177+
* <p>The Amazon Resource Name (ARN) of the consumer namespace that returns in the list of datashares.</p>
178178
*/
179179
ConsumerArn?: string;
180180

@@ -234,7 +234,7 @@ export interface DescribeDataSharesForConsumerResult {
234234
export interface DescribeDataSharesForProducerMessage {
235235
/**
236236
* @public
237-
* <p>The Amazon Resource Name (ARN) of the producer that returns in the list of datashares.</p>
237+
* <p>The Amazon Resource Name (ARN) of the producer namespace that returns in the list of datashares.</p>
238238
*/
239239
ProducerArn?: string;
240240

@@ -2759,7 +2759,7 @@ export class SnapshotCopyAlreadyDisabledFault extends __BaseException {
27592759
export interface DisassociateDataShareConsumerMessage {
27602760
/**
27612761
* @public
2762-
* <p>The Amazon Resource Name (ARN) of the datashare to remove association for. </p>
2762+
* <p>The Amazon Resource Name (ARN) of the datashare to remove association for.</p>
27632763
*/
27642764
DataShareArn: string | undefined;
27652765

@@ -2772,7 +2772,7 @@ export interface DisassociateDataShareConsumerMessage {
27722772

27732773
/**
27742774
* @public
2775-
* <p>The Amazon Resource Name (ARN) of the consumer that association for
2775+
* <p>The Amazon Resource Name (ARN) of the consumer namespace that association for
27762776
* the datashare is removed from.</p>
27772777
*/
27782778
ConsumerArn?: string;
@@ -4098,6 +4098,17 @@ export interface ModifyClusterMessage {
40984098
/**
40994099
* @public
41004100
* <p>The option to change the port of an Amazon Redshift cluster.</p>
4101+
* <p>Valid Values:
4102+
* </p>
4103+
* <ul>
4104+
* <li>
4105+
* <p>For clusters with ra3 nodes - Select a port within the ranges <code>5431-5455</code> or <code>8191-8215</code>. (If you have an existing cluster
4106+
* with ra3 nodes, it isn't required that you change the port to these ranges.)</p>
4107+
* </li>
4108+
* <li>
4109+
* <p>For clusters with ds2 or dc2 nodes - Select a port within the range <code>1150-65535</code>.</p>
4110+
* </li>
4111+
* </ul>
41014112
*/
41024113
Port?: number;
41034114

@@ -5074,7 +5085,8 @@ export interface RestoreFromClusterSnapshotMessage {
50745085
* @public
50755086
* <p>The port number on which the cluster accepts connections.</p>
50765087
* <p>Default: The same port as the original cluster.</p>
5077-
* <p>Constraints: Must be between <code>1115</code> and <code>65535</code>.</p>
5088+
* <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
5089+
* within the ranges <code>5431</code>-<code>5455</code> or <code>8191</code>-<code>8215</code>.</p>
50785090
*/
50795091
Port?: number;
50805092

codegen/sdk-codegen/aws-models/redshift.json

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@
338338
"target": "com.amazonaws.redshift#String",
339339
"traits": {
340340
"smithy.api#clientOptional": {},
341-
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the datashare that the consumer is to use with the account or the namespace.</p>",
341+
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the datashare that the consumer is to use.</p>",
342342
"smithy.api#required": {}
343343
}
344344
},
@@ -351,7 +351,7 @@
351351
"ConsumerArn": {
352352
"target": "com.amazonaws.redshift#String",
353353
"traits": {
354-
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the consumer that is associated with the\n datashare.</p>"
354+
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the consumer namespace associated with the\n datashare.</p>"
355355
}
356356
},
357357
"ConsumerRegion": {
@@ -707,7 +707,7 @@
707707
"target": "com.amazonaws.redshift#String",
708708
"traits": {
709709
"smithy.api#clientOptional": {},
710-
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the datashare that producers are to authorize\n sharing for.</p>",
710+
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the datashare namespace that producers are to authorize\n sharing for.</p>",
711711
"smithy.api#required": {}
712712
}
713713
},
@@ -843,7 +843,7 @@
843843
"SnapshotClusterIdentifier": {
844844
"target": "com.amazonaws.redshift#String",
845845
"traits": {
846-
"smithy.api#documentation": "<p>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.</p>"
846+
"smithy.api#documentation": "<p>The identifier of the cluster the snapshot was created from.</p>\n <ul>\n <li>\n <p>\n <i>If the snapshot to access doesn't exist and the associated IAM policy doesn't allow access to all (*) snapshots</i> - This parameter is required. Otherwise, permissions \n aren't available to check if the snapshot exists.</p>\n </li>\n <li>\n <p>\n <i>If the snapshot to access exists</i> - This parameter isn't required. Redshift can retrieve the cluster identifier and use it to \n validate snapshot authorization.</p>\n </li>\n </ul>"
847847
}
848848
},
849849
"AccountWithRestoreAccess": {
@@ -2883,7 +2883,7 @@
28832883
"Port": {
28842884
"target": "com.amazonaws.redshift#IntegerOptional",
28852885
"traits": {
2886-
"smithy.api#documentation": "<p>The port number on which the cluster accepts incoming connections.</p>\n <p>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.</p>\n <p>Default: <code>5439</code>\n </p>\n <p>Valid Values: <code>1150-65535</code>\n </p>"
2886+
"smithy.api#documentation": "<p>The port number on which the cluster accepts incoming connections.</p>\n <p>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.</p>\n <p>Default: <code>5439</code>\n </p>\n <p>Valid Values:\n </p>\n <ul>\n <li>\n <p>For clusters with ra3 nodes - Select a port within the ranges <code>5431-5455</code> or <code>8191-8215</code>. (If you have an existing cluster \n with ra3 nodes, it isn't required that you change the port to these ranges.)</p>\n </li>\n <li>\n <p>For clusters with ds2 or dc2 nodes - Select a port within the range <code>1150-65535</code>.</p>\n </li>\n </ul>"
28872887
}
28882888
},
28892889
"ClusterVersion": {
@@ -4406,13 +4406,13 @@
44064406
"DataShareArn": {
44074407
"target": "com.amazonaws.redshift#String",
44084408
"traits": {
4409-
"smithy.api#documentation": "<p>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 <code>arn:aws:redshift:{region}:{account-id}:{datashare}:{namespace-guid}/{datashare-name}</code> format.</p>"
4409+
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the datashare that the consumer is to use.</p>"
44104410
}
44114411
},
44124412
"ProducerArn": {
44134413
"target": "com.amazonaws.redshift#String",
44144414
"traits": {
4415-
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the producer.</p>"
4415+
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the producer namespace.</p>"
44164416
}
44174417
},
44184418
"AllowPubliclyAccessibleConsumers": {
@@ -4667,7 +4667,7 @@
46674667
"target": "com.amazonaws.redshift#String",
46684668
"traits": {
46694669
"smithy.api#clientOptional": {},
4670-
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the datashare to remove authorization from.</p>",
4670+
"smithy.api#documentation": "<p>The namespace Amazon Resource Name (ARN) of the datashare to remove authorization from.</p>",
46714671
"smithy.api#required": {}
46724672
}
46734673
},
@@ -6500,7 +6500,7 @@
65006500
"ConsumerArn": {
65016501
"target": "com.amazonaws.redshift#String",
65026502
"traits": {
6503-
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the consumer that returns in the list of datashares.</p>"
6503+
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the consumer namespace that returns in the list of datashares.</p>"
65046504
}
65056505
},
65066506
"Status": {
@@ -6575,7 +6575,7 @@
65756575
"ProducerArn": {
65766576
"target": "com.amazonaws.redshift#String",
65776577
"traits": {
6578-
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the producer that returns in the list of datashares.</p>"
6578+
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the producer namespace that returns in the list of datashares.</p>"
65796579
}
65806580
},
65816581
"Status": {
@@ -6627,7 +6627,7 @@
66276627
"DataShareArn": {
66286628
"target": "com.amazonaws.redshift#String",
66296629
"traits": {
6630-
"smithy.api#documentation": "<p>The identifier of the datashare to describe details of.</p>"
6630+
"smithy.api#documentation": "<p>The Amazon resource name (ARN) of the datashare to describe details of.</p>"
66316631
}
66326632
},
66336633
"MaxRecords": {
@@ -8348,7 +8348,7 @@
83488348
"target": "com.amazonaws.redshift#String",
83498349
"traits": {
83508350
"smithy.api#clientOptional": {},
8351-
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the datashare to remove association for. </p>",
8351+
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the datashare to remove association for.</p>",
83528352
"smithy.api#required": {}
83538353
}
83548354
},
@@ -8361,7 +8361,7 @@
83618361
"ConsumerArn": {
83628362
"target": "com.amazonaws.redshift#String",
83638363
"traits": {
8364-
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the consumer that association for\n the datashare is removed from.</p>"
8364+
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the consumer namespace that association for\n the datashare is removed from.</p>"
83658365
}
83668366
},
83678367
"ConsumerRegion": {
@@ -11583,7 +11583,7 @@
1158311583
"Port": {
1158411584
"target": "com.amazonaws.redshift#IntegerOptional",
1158511585
"traits": {
11586-
"smithy.api#documentation": "<p>The option to change the port of an Amazon Redshift cluster.</p>"
11586+
"smithy.api#documentation": "<p>The option to change the port of an Amazon Redshift cluster.</p>\n <p>Valid Values:\n </p>\n <ul>\n <li>\n <p>For clusters with ra3 nodes - Select a port within the ranges <code>5431-5455</code> or <code>8191-8215</code>. (If you have an existing cluster \n with ra3 nodes, it isn't required that you change the port to these ranges.)</p>\n </li>\n <li>\n <p>For clusters with ds2 or dc2 nodes - Select a port within the range <code>1150-65535</code>.</p>\n </li>\n </ul>"
1158711587
}
1158811588
},
1158911589
"ManageMasterPassword": {
@@ -16185,7 +16185,7 @@
1618516185
"Port": {
1618616186
"target": "com.amazonaws.redshift#IntegerOptional",
1618716187
"traits": {
16188-
"smithy.api#documentation": "<p>The port number on which the cluster accepts connections.</p>\n <p>Default: The same port as the original cluster.</p>\n <p>Constraints: Must be between <code>1115</code> and <code>65535</code>.</p>"
16188+
"smithy.api#documentation": "<p>The port number on which the cluster accepts connections.</p>\n <p>Default: The same port as the original cluster.</p>\n <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 \n within the ranges <code>5431</code>-<code>5455</code> or <code>8191</code>-<code>8215</code>.</p>"
1618916189
}
1619016190
},
1619116191
"AvailabilityZone": {

0 commit comments

Comments
 (0)