diff --git a/clients/client-redshift/src/models/models_1.ts b/clients/client-redshift/src/models/models_1.ts index 373ba9781f04..d3a07bc73874 100644 --- a/clients/client-redshift/src/models/models_1.ts +++ b/clients/client-redshift/src/models/models_1.ts @@ -2814,33 +2814,9 @@ export interface EnableLoggingMessage { /** *

The prefix applied to the log file names.

- *

Constraints:

- * + *

Valid characters are any letter from any language, any whitespace character, any numeric character, and the following characters: + * underscore (_), period (.), colon (:), slash (/), equal (=), plus (+), backslash (\), + * hyphen (-), at symbol (@).

* @public */ S3KeyPrefix?: string; diff --git a/codegen/sdk-codegen/aws-models/redshift.json b/codegen/sdk-codegen/aws-models/redshift.json index 16bce5a6766d..6f8c10703599 100644 --- a/codegen/sdk-codegen/aws-models/redshift.json +++ b/codegen/sdk-codegen/aws-models/redshift.json @@ -8504,9 +8504,9 @@ } }, "S3KeyPrefix": { - "target": "com.amazonaws.redshift#String", + "target": "com.amazonaws.redshift#S3KeyPrefixValue", "traits": { - "smithy.api#documentation": "

The prefix applied to the log file names.

\n

Constraints:

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

The prefix applied to the log file names.

\n

Valid characters are any letter from any language, any whitespace character, any numeric character, and the following characters: \n underscore (_), period (.), colon (:), slash (/), equal (=), plus (+), backslash (\\),\n hyphen (-), at symbol (@).

" } }, "LogDestinationType": { @@ -10932,7 +10932,7 @@ } }, "S3KeyPrefix": { - "target": "com.amazonaws.redshift#String", + "target": "com.amazonaws.redshift#S3KeyPrefixValue", "traits": { "smithy.api#documentation": "

The prefix applied to the log file names.

" } @@ -16910,6 +16910,16 @@ "smithy.api#output": {} } }, + "com.amazonaws.redshift#S3KeyPrefixValue": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 256 + }, + "smithy.api#pattern": "^[\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*$" + } + }, "com.amazonaws.redshift#SNSInvalidTopicFault": { "type": "structure", "members": {