AWS Security ChangesHomeSearch

AWS lex documentation change

Service: lex · 2025-10-25 · Documentation low

File: lex/latest/dg/gs-cli-update-utterance.md

Summary

Removed multiple JSON examples of intent and bot configurations including sample utterances and session settings

Security assessment

This change deletes example configurations but shows no indication of patching security issues or documenting security controls. The removed childDirected and idleSessionTTLInSeconds fields relate to compliance rather than vulnerability mitigation.

Diff

diff --git a/lex/latest/dg/gs-cli-update-utterance.md b/lex/latest/dg/gs-cli-update-utterance.md
index e33fa75ad..4a1c6dfb8 100644
--- a//lex/latest/dg/gs-cli-update-utterance.md
+++ b//lex/latest/dg/gs-cli-update-utterance.md
@@ -69,88 +68,0 @@ Amazon Lex sends the following response:
-        {
-        "confirmationPrompt": {
-            "maxAttempts": 2, 
-            "messages": [
-                {
-                    "content": "Okay, your {FlowerType} will be ready for pickup by {PickupTime} on {PickupDate}.  Does this sound okay?", 
-                    "contentType": "PlainText"
-                }
-            ]
-        }, 
-        "name": "OrderFlowers", 
-        "checksum": "checksum", 
-        "version": "$LATEST", 
-        "rejectionStatement": {
-            "messages": [
-                {
-                    "content": "Okay, I will not place your order.", 
-                    "contentType": "PlainText"
-                }
-            ]
-        }, 
-        "createdDate": timestamp, 
-        "lastUpdatedDate": timestamp, 
-        "sampleUtterances": [
-            "I would like to pick up flowers", 
-            "I would like to order some flowers", 
-            "I want to order flowers"
-        ], 
-        "slots": [
-            {
-                "slotType": "AMAZON.TIME", 
-                "name": "PickupTime", 
-                "slotConstraint": "Required", 
-                "valueElicitationPrompt": {
-                    "maxAttempts": 2, 
-                    "messages": [
-                        {
-                            "content": "Pick up the {FlowerType} at what time on {PickupDate}?", 
-                            "contentType": "PlainText"
-                        }
-                    ]
-                }, 
-                "priority": 3, 
-                "description": "The time to pick up the flowers"
-            }, 
-            {
-                "slotType": "FlowerTypes", 
-                "name": "FlowerType", 
-                "slotConstraint": "Required", 
-                "valueElicitationPrompt": {
-                    "maxAttempts": 2, 
-                    "messages": [
-                        {
-                            "content": "What type of flowers would you like to order?", 
-                            "contentType": "PlainText"
-                        }
-                    ]
-                }, 
-                "priority": 1, 
-                "slotTypeVersion": "$LATEST", 
-                "sampleUtterances": [
-                    "I would like to order {FlowerType}"
-                ], 
-                "description": "The type of flowers to pick up"
-            }, 
-            {
-                "slotType": "AMAZON.DATE", 
-                "name": "PickupDate", 
-                "slotConstraint": "Required", 
-                "valueElicitationPrompt": {
-                    "maxAttempts": 2, 
-                    "messages": [
-                        {
-                            "content": "What day do you want the {FlowerType} to be picked up?", 
-                            "contentType": "PlainText"
-                        }
-                    ]
-                }, 
-                "priority": 2, 
-                "description": "The date to pick up the flowers"
-            }
-        ], 
-        "fulfillmentActivity": {
-            "type": "ReturnIntent"
-        }, 
-        "description": "Intent to order a bouquet of flowers for pick up"
-    }
-
@@ -186,38 +97,0 @@ The response from the server is:
-        {
-        "status": "BUILDING", 
-        "intents": [
-            {
-                "intentVersion": "$LATEST", 
-                "intentName": "OrderFlowers"
-            }
-        ], 
-        "name": "OrderFlowersBot", 
-        "locale": "en-US", 
-        "checksum": "checksum", 
-        "abortStatement": {
-            "messages": [
-                {
-                    "content": "Sorry, I'm not able to assist at this time", 
-                    "contentType": "PlainText"
-                }
-            ]
-        }, 
-        "version": "$LATEST", 
-        "lastUpdatedDate": timestamp, 
-        "createdDate": timestamp 
-        "clarificationPrompt": {
-            "maxAttempts": 2, 
-            "messages": [
-                {
-                    "content": "I didn't understand you, what would you like to do?", 
-                    "contentType": "PlainText"
-                }
-            ]
-        }, 
-        "voiceId": "Salli", 
-        "childDirected": false, 
-        "idleSessionTTLInSeconds": 600, 
-        "description": "Bot to order flowers on the behalf of a user"
-    }
-    
-