From 05635df25a48a78ccb18f1418883e4ea4052f707 Mon Sep 17 00:00:00 2001 From: awstools Date: Fri, 10 Jan 2025 19:11:34 +0000 Subject: [PATCH] docs(client-redshift): Additions to the PubliclyAccessible and Encrypted parameters clarifying what the defaults are. --- clients/client-redshift/src/models/models_0.ts | 7 +++++-- clients/client-redshift/src/models/models_1.ts | 2 ++ codegen/sdk-codegen/aws-models/redshift.json | 10 +++++----- 3 files changed, 12 insertions(+), 7 deletions(-) diff --git a/clients/client-redshift/src/models/models_0.ts b/clients/client-redshift/src/models/models_0.ts index a8d42fd8d7344..63c4fd9a1842b 100644 --- a/clients/client-redshift/src/models/models_0.ts +++ b/clients/client-redshift/src/models/models_0.ts @@ -3182,6 +3182,7 @@ export interface Cluster { /** *

A boolean value that, if true, indicates that the cluster can be * accessed from a public network.

+ *

Default: false

* @public */ PubliclyAccessible?: boolean | undefined; @@ -4729,13 +4730,15 @@ export interface CreateClusterMessage { /** *

If true, the cluster can be accessed from a public network.

+ *

Default: false

* @public */ PubliclyAccessible?: boolean | undefined; /** - *

If true, the data in the cluster is encrypted at rest.

- *

Default: false

+ *

If true, the data in the cluster is encrypted at rest. + * If you set the value on this parameter to false, the request will fail.

+ *

Default: true

* @public */ Encrypted?: boolean | undefined; diff --git a/clients/client-redshift/src/models/models_1.ts b/clients/client-redshift/src/models/models_1.ts index 90134370d0749..5318af790b5bf 100644 --- a/clients/client-redshift/src/models/models_1.ts +++ b/clients/client-redshift/src/models/models_1.ts @@ -4761,6 +4761,7 @@ export interface ModifyClusterMessage { /** *

If true, the cluster can be accessed from a public network. Only * clusters in VPCs can be set to be publicly available.

+ *

Default: false

* @public */ PubliclyAccessible?: boolean | undefined; @@ -5903,6 +5904,7 @@ export interface RestoreFromClusterSnapshotMessage { /** *

If true, the cluster can be accessed from a public network.

+ *

Default: false

* @public */ PubliclyAccessible?: boolean | undefined; diff --git a/codegen/sdk-codegen/aws-models/redshift.json b/codegen/sdk-codegen/aws-models/redshift.json index 711bf62a19620..d4cc55fdef41a 100644 --- a/codegen/sdk-codegen/aws-models/redshift.json +++ b/codegen/sdk-codegen/aws-models/redshift.json @@ -1337,7 +1337,7 @@ "PubliclyAccessible": { "target": "com.amazonaws.redshift#Boolean", "traits": { - "smithy.api#documentation": "

A boolean value that, if true, indicates that the cluster can be\n accessed from a public network.

" + "smithy.api#documentation": "

A boolean value that, if true, indicates that the cluster can be\n accessed from a public network.

\n

Default: false

" } }, "Encrypted": { @@ -2919,13 +2919,13 @@ "PubliclyAccessible": { "target": "com.amazonaws.redshift#BooleanOptional", "traits": { - "smithy.api#documentation": "

If true, the cluster can be accessed from a public network.

" + "smithy.api#documentation": "

If true, the cluster can be accessed from a public network.

\n

Default: false

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

If true, the data in the cluster is encrypted at rest.

\n

Default: false

" + "smithy.api#documentation": "

If true, the data in the cluster is encrypted at rest. \n If you set the value on this parameter to false, the request will fail.

\n

Default: true

" } }, "HsmClientCertificateIdentifier": { @@ -12154,7 +12154,7 @@ "PubliclyAccessible": { "target": "com.amazonaws.redshift#BooleanOptional", "traits": { - "smithy.api#documentation": "

If true, the cluster can be accessed from a public network. Only\n clusters in VPCs can be set to be publicly available.

" + "smithy.api#documentation": "

If true, the cluster can be accessed from a public network. Only\n clusters in VPCs can be set to be publicly available.

\n

Default: false

" } }, "ElasticIp": { @@ -17033,7 +17033,7 @@ "PubliclyAccessible": { "target": "com.amazonaws.redshift#BooleanOptional", "traits": { - "smithy.api#documentation": "

If true, the cluster can be accessed from a public network.

" + "smithy.api#documentation": "

If true, the cluster can be accessed from a public network.

\n

Default: false

" } }, "OwnerAccount": {