@@ -59,17 +59,19 @@ final class AdminCreateUserRequest extends Input
5959 * email or SMS OTP. These attributes must be provided when passwordless options are the only available, or when you
6060 * don't submit a `TemporaryPassword`.
6161 *
62- * In your call to `AdminCreateUser`, you can set the `email_verified` attribute to `True`, and you can set the
63- * `phone_number_verified` attribute to `True`. You can also do this by calling AdminUpdateUserAttributes [^1].
62+ * In your `AdminCreateUser` request , you can set the `email_verified` and `phone_number_verified` attributes to `true`.
63+ * The following conditions apply:
6464 *
65- * - **email**: The email address of the user to whom the message that contains the code and username will be sent.
66- * Required if the `email_verified` attribute is set to `True`, or if `"EMAIL"` is specified in the
67- * `DesiredDeliveryMediums` parameter.
68- * - **phone_number**: The phone number of the user to whom the message that contains the code and username will be
69- * sent. Required if the `phone_number_verified` attribute is set to `True`, or if `"SMS"` is specified in the
65+ * - `email`:
66+ *
67+ * The email address where you want the user to receive their confirmation code and username. You must provide a value
68+ * for the `email` when you want to set `email_verified` to `true`, or if you set `EMAIL` in the
7069 * `DesiredDeliveryMediums` parameter.
70+ * - `phone_number`:
7171 *
72- * [^1]: https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_AdminUpdateUserAttributes.html
72+ * The phone number where you want the user to receive their confirmation code and username. You must provide a value
73+ * for the `email` when you want to set `phone_number` to `true`, or if you set `SMS` in the `DesiredDeliveryMediums`
74+ * parameter.
7375 *
7476 * @var AttributeType[]|null
7577 */
@@ -79,10 +81,9 @@ final class AdminCreateUserRequest extends Input
7981 * Temporary user attributes that contribute to the outcomes of your pre sign-up Lambda trigger. This set of key-value
8082 * pairs are for custom validation of information that you collect from your users but don't need to retain.
8183 *
82- * Your Lambda function can analyze this additional data and act on it. Your function might perform external API
83- * operations like logging user attributes and validation data to Amazon CloudWatch Logs. Validation data might also
84- * affect the response that your function returns to Amazon Cognito, like automatically confirming the user if they sign
85- * up from within your network.
84+ * Your Lambda function can analyze this additional data and act on it. Your function can automatically confirm and
85+ * verify select users or perform external API operations like logging user attributes and validation data to Amazon
86+ * CloudWatch Logs.
8687 *
8788 * For more information about the pre sign-up Lambda trigger, see Pre sign-up Lambda trigger [^1].
8889 *
@@ -98,8 +99,7 @@ final class AdminCreateUserRequest extends Input
9899 *
99100 * The exception to the requirement for a password is when your user pool supports passwordless sign-in with email or
100101 * SMS OTPs. To create a user with no password, omit this parameter or submit a blank value. You can only create a
101- * passwordless user when passwordless sign-in is available. See the SignInPolicyType [^1] property of CreateUserPool
102- * [^2] and UpdateUserPool [^3].
102+ * passwordless user when passwordless sign-in is available.
103103 *
104104 * The temporary password is valid only once. To complete the Admin Create User flow, the user must enter the temporary
105105 * password in the sign-in page, along with a new password to be used in all future sign-ins.
@@ -111,10 +111,6 @@ final class AdminCreateUserRequest extends Input
111111 * reset the account after that time limit, you must call `AdminCreateUser` again and specify `RESEND` for the
112112 * `MessageAction` parameter.
113113 *
114- * [^1]: https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_SignInPolicyType.html
115- * [^2]: https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_CreateUserPool.html
116- * [^3]: https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_UpdateUserPool.html
117- *
118114 * @var string|null
119115 */
120116 private $ temporaryPassword ;
@@ -161,8 +157,7 @@ final class AdminCreateUserRequest extends Input
161157 * AdminCreateUser request. In your function code in Lambda, you can process the `clientMetadata` value to enhance your
162158 * workflow for your specific needs.
163159 *
164- * For more information, see Customizing user pool Workflows with Lambda Triggers [^1] in the *Amazon Cognito Developer
165- * Guide*.
160+ * For more information, see Using Lambda triggers [^1] in the *Amazon Cognito Developer Guide*.
166161 *
167162 * > When you use the `ClientMetadata` parameter, note that Amazon Cognito won't do the following:
168163 * >
0 commit comments