AWS AmazonCloudFront: Remove WebCrypto note from CloudFront Functions async/await doc
Summary
Deletes the sentence stating that various new WebCrypto functions use Promises, leaving only the general explanation of async/await and Promise handling in CloudFront Functions JavaScript runtime 2.0. Purely editorial wording cleanup with no behavioral or security guidance change.
Security assessment
The removed text merely mentioned WebCrypto functions using Promises; no cryptographic behavior, permission, or security guidance is altered. Purely cosmetic documentation edit with no security implications.
Evidence
+CloudFront Functions JavaScript runtime functions 2.0 provide `async` and `await` syntax to handle `Promise` objects. Promises represent delayed results that can be accessed by using the `await` keyword in functions marked as `async`.
Diff
diff --git a/AmazonCloudFront/latest/DeveloperGuide/async-await-syntax.md b/AmazonCloudFront/latest/DeveloperGuide/async-await-syntax.md index 7f4736e..bf4f183 100644 --- a//AmazonCloudFront/latest/DeveloperGuide/async-await-syntax.md +++ b//AmazonCloudFront/latest/DeveloperGuide/async-await-syntax.md @@ -9 +9 @@ -CloudFront Functions JavaScript runtime functions 2.0 provide `async` and `await` syntax to handle `Promise` objects. Promises represent delayed results that can be accessed by using the `await` keyword in functions marked as `async`. Various new WebCrypto functions use Promises. +CloudFront Functions JavaScript runtime functions 2.0 provide `async` and `await` syntax to handle `Promise` objects. Promises represent delayed results that can be accessed by using the `await` keyword in functions marked as `async`.