From 83a5718bd60ab9af4d6bbcd192e020e30c2331d5 Mon Sep 17 00:00:00 2001
From: awstools
Date: Wed, 30 Oct 2024 18:19:44 +0000
Subject: [PATCH] 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.
---
clients/client-connect/src/models/models_0.ts | 6 ++++++
codegen/sdk-codegen/aws-models/connect.json | 10 +++++-----
2 files changed, 11 insertions(+), 5 deletions(-)
diff --git a/clients/client-connect/src/models/models_0.ts b/clients/client-connect/src/models/models_0.ts
index fbe73a8c64af..a89359b24f59 100644
--- a/clients/client-connect/src/models/models_0.ts
+++ b/clients/client-connect/src/models/models_0.ts
@@ -5576,6 +5576,12 @@ export interface CreateUseCaseResponse {
* cannot be updated from within Amazon Connect because they are managed by the
* directory.
*
+ *
+ * The FirstName
and LastName
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 FirstName
, and 1-256 for
+ * LastName
.
+ *
* @public
*/
export interface UserIdentityInfo {
diff --git a/codegen/sdk-codegen/aws-models/connect.json b/codegen/sdk-codegen/aws-models/connect.json
index 245849ab1e53..af3a822e57bc 100644
--- a/codegen/sdk-codegen/aws-models/connect.json
+++ b/codegen/sdk-codegen/aws-models/connect.json
@@ -329,8 +329,8 @@
"type": "string",
"traits": {
"smithy.api#length": {
- "min": 1,
- "max": 100
+ "min": 0,
+ "max": 255
},
"smithy.api#sensitive": {}
}
@@ -447,8 +447,8 @@
"type": "string",
"traits": {
"smithy.api#length": {
- "min": 1,
- "max": 100
+ "min": 0,
+ "max": 300
},
"smithy.api#sensitive": {}
}
@@ -40511,7 +40511,7 @@
}
},
"traits": {
- "smithy.api#documentation": "Contains information about the identity of a user.
\n \n For Amazon Connect instances that are created with the EXISTING_DIRECTORY
\n identity management type, FirstName
, LastName
, and Email
\n cannot be updated from within Amazon Connect because they are managed by the\n directory.
\n "
+ "smithy.api#documentation": "Contains information about the identity of a user.
\n \n For Amazon Connect instances that are created with the EXISTING_DIRECTORY
\n identity management type, FirstName
, LastName
, and Email
\n cannot be updated from within Amazon Connect because they are managed by the\n directory.
\n \n \n The FirstName
and LastName
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 FirstName
, and 1-256 for\n LastName
.
\n "
}
},
"com.amazonaws.connect#UserIdentityInfoLite": {