Skip to content

Commit

Permalink
feat(client-connect): Updated the public documentation for the UserId…
Browse files Browse the repository at this point in the history
…entityInfo object to accurately reflect the character limits for the FirstName and LastName fields, which were previously listed as 1-100 characters.
  • Loading branch information
awstools committed Oct 30, 2024
1 parent b43c3aa commit 83a5718
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
6 changes: 6 additions & 0 deletions clients/client-connect/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5576,6 +5576,12 @@ export interface CreateUseCaseResponse {
* cannot be updated from within Amazon Connect because they are managed by the
* directory.</p>
* </note>
* <important>
* <p>The <code>FirstName</code> and <code>LastName</code> length constraints below apply only to
* instances using SAML for identity management. If you are using Amazon Connect for identity
* management, the length constraints are 1-255 for <code>FirstName</code>, and 1-256 for
* <code>LastName</code>. </p>
* </important>
* @public
*/
export interface UserIdentityInfo {
Expand Down
10 changes: 5 additions & 5 deletions codegen/sdk-codegen/aws-models/connect.json
Original file line number Diff line number Diff line change
Expand Up @@ -329,8 +329,8 @@
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 100
"min": 0,
"max": 255
},
"smithy.api#sensitive": {}
}
Expand Down Expand Up @@ -447,8 +447,8 @@
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 100
"min": 0,
"max": 300
},
"smithy.api#sensitive": {}
}
Expand Down Expand Up @@ -40511,7 +40511,7 @@
}
},
"traits": {
"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>"
"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>"
}
},
"com.amazonaws.connect#UserIdentityInfoLite": {
Expand Down

0 comments on commit 83a5718

Please sign in to comment.