AWS lex documentation change
Summary
Removed detailed JSON example of OrderFlowers intent configuration including slots, prompts, and fulfillment activity
Security assessment
The change removes an example intent configuration but contains no evidence of addressing security vulnerabilities or weaknesses. This appears to be routine documentation cleanup of sample code.
Diff
diff --git a/lex/latest/dg/gs-cli-create-order-flowers.md b/lex/latest/dg/gs-cli-create-order-flowers.md index 7dd1487b9..3394fb698 100644 --- a//lex/latest/dg/gs-cli-create-order-flowers.md +++ b//lex/latest/dg/gs-cli-create-order-flowers.md @@ -35,88 +34,0 @@ The server responds with the following: - { - "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" - ], - "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" - } - -