Skip to content

Commit

Permalink
docs(client-redshift): Additions to the PubliclyAccessible and Encryp…
Browse files Browse the repository at this point in the history
…ted parameters clarifying what the defaults are.
  • Loading branch information
awstools committed Jan 10, 2025
1 parent a4fb2d4 commit 05635df
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
7 changes: 5 additions & 2 deletions clients/client-redshift/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3182,6 +3182,7 @@ export interface Cluster {
/**
* <p>A boolean value that, if <code>true</code>, indicates that the cluster can be
* accessed from a public network.</p>
* <p>Default: false</p>
* @public
*/
PubliclyAccessible?: boolean | undefined;
Expand Down Expand Up @@ -4729,13 +4730,15 @@ export interface CreateClusterMessage {

/**
* <p>If <code>true</code>, the cluster can be accessed from a public network. </p>
* <p>Default: false</p>
* @public
*/
PubliclyAccessible?: boolean | undefined;

/**
* <p>If <code>true</code>, the data in the cluster is encrypted at rest. </p>
* <p>Default: false</p>
* <p>If <code>true</code>, the data in the cluster is encrypted at rest.
* If you set the value on this parameter to <code>false</code>, the request will fail.</p>
* <p>Default: true</p>
* @public
*/
Encrypted?: boolean | undefined;
Expand Down
2 changes: 2 additions & 0 deletions clients/client-redshift/src/models/models_1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4761,6 +4761,7 @@ export interface ModifyClusterMessage {
/**
* <p>If <code>true</code>, the cluster can be accessed from a public network. Only
* clusters in VPCs can be set to be publicly available.</p>
* <p>Default: false</p>
* @public
*/
PubliclyAccessible?: boolean | undefined;
Expand Down Expand Up @@ -5903,6 +5904,7 @@ export interface RestoreFromClusterSnapshotMessage {

/**
* <p>If <code>true</code>, the cluster can be accessed from a public network. </p>
* <p>Default: false</p>
* @public
*/
PubliclyAccessible?: boolean | undefined;
Expand Down
10 changes: 5 additions & 5 deletions codegen/sdk-codegen/aws-models/redshift.json
Original file line number Diff line number Diff line change
Expand Up @@ -1337,7 +1337,7 @@
"PubliclyAccessible": {
"target": "com.amazonaws.redshift#Boolean",
"traits": {
"smithy.api#documentation": "<p>A boolean value that, if <code>true</code>, indicates that the cluster can be\n accessed from a public network.</p>"
"smithy.api#documentation": "<p>A boolean value that, if <code>true</code>, indicates that the cluster can be\n accessed from a public network.</p>\n <p>Default: false</p>"
}
},
"Encrypted": {
Expand Down Expand Up @@ -2919,13 +2919,13 @@
"PubliclyAccessible": {
"target": "com.amazonaws.redshift#BooleanOptional",
"traits": {
"smithy.api#documentation": "<p>If <code>true</code>, the cluster can be accessed from a public network. </p>"
"smithy.api#documentation": "<p>If <code>true</code>, the cluster can be accessed from a public network. </p>\n <p>Default: false</p>"
}
},
"Encrypted": {
"target": "com.amazonaws.redshift#BooleanOptional",
"traits": {
"smithy.api#documentation": "<p>If <code>true</code>, the data in the cluster is encrypted at rest. </p>\n <p>Default: false</p>"
"smithy.api#documentation": "<p>If <code>true</code>, the data in the cluster is encrypted at rest. \n If you set the value on this parameter to <code>false</code>, the request will fail.</p>\n <p>Default: true</p>"
}
},
"HsmClientCertificateIdentifier": {
Expand Down Expand Up @@ -12154,7 +12154,7 @@
"PubliclyAccessible": {
"target": "com.amazonaws.redshift#BooleanOptional",
"traits": {
"smithy.api#documentation": "<p>If <code>true</code>, the cluster can be accessed from a public network. Only\n clusters in VPCs can be set to be publicly available.</p>"
"smithy.api#documentation": "<p>If <code>true</code>, the cluster can be accessed from a public network. Only\n clusters in VPCs can be set to be publicly available.</p>\n <p>Default: false</p>"
}
},
"ElasticIp": {
Expand Down Expand Up @@ -17033,7 +17033,7 @@
"PubliclyAccessible": {
"target": "com.amazonaws.redshift#BooleanOptional",
"traits": {
"smithy.api#documentation": "<p>If <code>true</code>, the cluster can be accessed from a public network. </p>"
"smithy.api#documentation": "<p>If <code>true</code>, the cluster can be accessed from a public network. </p>\n <p>Default: false</p>"
}
},
"OwnerAccount": {
Expand Down

0 comments on commit 05635df

Please sign in to comment.