Skip to content

Commit 70549de

Browse files
author
awstools
committed
feat(client-workspaces-thin-client): Update Environment and Device name field definitions
1 parent ebd03ac commit 70549de

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

codegen/sdk-codegen/aws-models/workspaces-thin-client.json

+8-2
Original file line numberDiff line numberDiff line change
@@ -722,7 +722,10 @@
722722
"com.amazonaws.workspacesthinclient#DeviceName": {
723723
"type": "string",
724724
"traits": {
725-
"smithy.api#pattern": "^[0-9\\p{IsAlphabetic}+:,.@'\" -]{1,64}$",
725+
"smithy.api#length": {
726+
"max": 64
727+
},
728+
"smithy.api#pattern": "^$|^[0-9\\p{IsAlphabetic}+:,.@'\" -]*$",
726729
"smithy.api#sensitive": {}
727730
}
728731
},
@@ -1019,7 +1022,10 @@
10191022
"com.amazonaws.workspacesthinclient#EnvironmentName": {
10201023
"type": "string",
10211024
"traits": {
1022-
"smithy.api#pattern": "^[0-9\\p{IsAlphabetic}+:,.@'\" -][0-9\\p{IsAlphabetic}+=:,.@'\" -]{0,63}$",
1025+
"smithy.api#length": {
1026+
"max": 64
1027+
},
1028+
"smithy.api#pattern": "^$|^[0-9\\p{IsAlphabetic}+:,.@'\" -][0-9\\p{IsAlphabetic}+=:,.@'\" -]*$",
10231029
"smithy.api#sensitive": {}
10241030
}
10251031
},

0 commit comments

Comments
 (0)