Skip to content

Commit 83a5718

Browse files
author
awstools
committed
feat(client-connect): Updated the public documentation for the UserIdentityInfo object to accurately reflect the character limits for the FirstName and LastName fields, which were previously listed as 1-100 characters.
1 parent b43c3aa commit 83a5718

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

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

+6
Original file line numberDiff line numberDiff line change
@@ -5576,6 +5576,12 @@ export interface CreateUseCaseResponse {
55765576
* cannot be updated from within Amazon Connect because they are managed by the
55775577
* directory.</p>
55785578
* </note>
5579+
* <important>
5580+
* <p>The <code>FirstName</code> and <code>LastName</code> length constraints below apply only to
5581+
* instances using SAML for identity management. If you are using Amazon Connect for identity
5582+
* management, the length constraints are 1-255 for <code>FirstName</code>, and 1-256 for
5583+
* <code>LastName</code>. </p>
5584+
* </important>
55795585
* @public
55805586
*/
55815587
export interface UserIdentityInfo {

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

+5-5
Original file line numberDiff line numberDiff line change
@@ -329,8 +329,8 @@
329329
"type": "string",
330330
"traits": {
331331
"smithy.api#length": {
332-
"min": 1,
333-
"max": 100
332+
"min": 0,
333+
"max": 255
334334
},
335335
"smithy.api#sensitive": {}
336336
}
@@ -447,8 +447,8 @@
447447
"type": "string",
448448
"traits": {
449449
"smithy.api#length": {
450-
"min": 1,
451-
"max": 100
450+
"min": 0,
451+
"max": 300
452452
},
453453
"smithy.api#sensitive": {}
454454
}
@@ -40511,7 +40511,7 @@
4051140511
}
4051240512
},
4051340513
"traits": {
40514-
"smithy.api#documentation": "<p>Contains information about the identity of a user.</p>\n <note>\n <p>For Amazon Connect instances that are created with the <code>EXISTING_DIRECTORY</code>\n identity management type, <code>FirstName</code>, <code>LastName</code>, and <code>Email</code>\n cannot be updated from within Amazon Connect because they are managed by the\n directory.</p>\n </note>"
40514+
"smithy.api#documentation": "<p>Contains information about the identity of a user.</p>\n <note>\n <p>For Amazon Connect instances that are created with the <code>EXISTING_DIRECTORY</code>\n identity management type, <code>FirstName</code>, <code>LastName</code>, and <code>Email</code>\n cannot be updated from within Amazon Connect because they are managed by the\n directory.</p>\n </note>\n <important>\n <p>The <code>FirstName</code> and <code>LastName</code> length constraints below apply only to\n instances using SAML for identity management. If you are using Amazon Connect for identity\n management, the length constraints are 1-255 for <code>FirstName</code>, and 1-256 for\n <code>LastName</code>. </p>\n </important>"
4051540515
}
4051640516
},
4051740517
"com.amazonaws.connect#UserIdentityInfoLite": {

0 commit comments

Comments
 (0)