AWS cli documentation change
Summary
Updated CLI version to 2.34.0, added --cli-error-format parameter, expanded allowed character pattern in verification codes, enhanced ClientMetadata/Lambda trigger documentation
Security assessment
While the pattern change expands allowed characters in verification codes, there's no evidence this addresses a specific vulnerability. Documentation updates clarify existing Lambda integration workflows rather than introduce security fixes.
Diff
diff --git a/cli/latest/reference/cognito-idp/get-user-attribute-verification-code.md b/cli/latest/reference/cognito-idp/get-user-attribute-verification-code.md index 1f6825807..ffbfc39be 100644 --- a//cli/latest/reference/cognito-idp/get-user-attribute-verification-code.md +++ b//cli/latest/reference/cognito-idp/get-user-attribute-verification-code.md @@ -15 +15 @@ - * [AWS CLI 2.33.29 Command Reference](../../index.html) » + * [AWS CLI 2.34.0 Command Reference](../../index.html) » @@ -102,0 +103 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/cognit + [--cli-error-format <value>] @@ -125 +126 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/cognit -> * pattern: `[\p{L}\p{M}\p{S}\p{N}\p{P}]+` +> * pattern: `[\p{L}\p{M}\p{S}\p{N}\p{P}\t\n\r ]+` @@ -131 +132 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/cognit -> A map of custom key-value pairs that you can provide as input for any custom workflows that this action triggers. +> A map of custom key-value pairs that you can provide as input for any custom workflows that this action triggers. You create custom workflows by assigning Lambda functions to user pool triggers. @@ -133 +134 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/cognit -> You create custom workflows by assigning Lambda functions to user pool triggers. When you use the GetUserAttributeVerificationCode API action, Amazon Cognito invokes the function that is assigned to the _custom message_ trigger. When Amazon Cognito invokes this function, it passes a JSON payload, which the function receives as input. This payload contains a `clientMetadata` attribute, which provides the data that you assigned to the ClientMetadata parameter in your GetUserAttributeVerificationCode request. In your function code in Lambda, you can process the `clientMetadata` value to enhance your workflow for your specific needs. +> When Amazon Cognito invokes any of these functions, it passes a JSON payload, which the function receives as input. This payload contains a `clientMetadata` attribute that provides the data that you assigned to the ClientMetadata parameter in your request. In your function code, you can process the `clientMetadata` value to enhance your workflow for your specific needs. @@ -135 +136 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/cognit -> For more information, see [Using Lambda triggers](https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-working-with-aws-lambda-triggers.html) in the _Amazon Cognito Developer Guide_ . +> To review the Lambda trigger types that Amazon Cognito invokes at runtime with API requests, see [Connecting API actions to Lambda triggers](https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-working-with-lambda-triggers.html#lambda-triggers-by-event) in the _Amazon Cognito Developer Guide_ . @@ -208,0 +210 @@ The formatting style for command output. + * off @@ -274,0 +277,13 @@ Disable automatically prompt for CLI input parameters. +`--cli-error-format` (string) + +The formatting style for error output. By default, errors are displayed in enhanced format. + + * legacy + * json + * yaml + * text + * table + * enhanced + + + @@ -343 +358 @@ CodeDeliveryDetails -> (structure) ->> * pattern: `[\p{L}\p{M}\p{S}\p{N}\p{P}]+` +>> * pattern: `[\p{L}\p{M}\p{S}\p{N}\p{P}\t\n\r ]+` @@ -357 +372 @@ CodeDeliveryDetails -> (structure) - * [AWS CLI 2.33.29 Command Reference](../../index.html) » + * [AWS CLI 2.34.0 Command Reference](../../index.html) »