AWS lex documentation change
Summary
Removed JSON structure examples for intents and bots in import/export documentation
Security assessment
The deletion of JSON examples for intent and bot structures appears to be simplifying documentation format rather than addressing security concerns. No security-specific content was modified or added.
Diff
diff --git a/lex/latest/dg/import-export-format.md b/lex/latest/dg/import-export-format.md index 5619758f6..54ed984b9 100644 --- a//lex/latest/dg/import-export-format.md +++ b//lex/latest/dg/import-export-format.md @@ -45,65 +44,0 @@ The following is the JSON structure for intents. Use this structure when you imp - - { - "metadata": { - "schemaVersion": "1.0", - "importType": "LEX", - "importFormat": "JSON" - }, - "resource": { - "description": "intent description", - "rejectionStatement": { - "messages": [ - { - "contentType": "PlainText or SSML or CustomPayload", - "content": "string" - } - ] - }, - "name": "intent name", - "version": "version number", - "fulfillmentActivity": { - "type": "ReturnIntent or CodeHook" - }, - "sampleUtterances": [ - "string", - "string" - ], - "slots": [ - { - "name": "slot name", - "description": "slot description", - "slotConstraint": "Required or Optional", - "slotType": "slot type", - "valueElicitationPrompt": { - "messages": [ - { - "contentType": "PlainText or SSML or CustomPayload", - "content": "string" - } - ], - "maxAttempts": value - }, - "priority": value, - "sampleUtterances": [] - } - ], - "confirmationPrompt": { - "messages": [ - { - "contentType": "PlainText or SSML or CustomPayload", - "content": "string" - }, - { - "contentType": "PlainText or SSML or CustomPayload", - "content": "string" - } - ], - "maxAttempts": value - }, - "slotTypes": [ - List of slot type JSON structures. - For more information, see Slot Type structure. - ] - } - } - @@ -114,45 +48,0 @@ The following is the JSON structure for bots. Use this structure when you import - - { - "metadata": { - "schemaVersion": "1.0", - "importType": "LEX", - "importFormat": "JSON" - }, - "resource": { - "name": "bot name", - "version": "version number",, - "nluIntentConfidenceThreshold": 0.00-1.00, - "enableModelImprovements": true | false, - "intents": [ - List of intent JSON structures. - For more information, see Intent structure. - ], - "slotTypes": [ - List of slot type JSON structures. - For more information, see Slot Type structure. - ], - "voiceId": "output voice ID", - "childDirected": boolean, - "locale": "en-US", - "idleSessionTTLInSeconds": timeout, - "description": "bot description", - "clarificationPrompt": { - "messages": [ - { - "contentType": "PlainText or SSML or CustomPayload", - "content": "string" - } - ], - "maxAttempts": value - }, - "abortStatement": { - "messages": [ - { - "contentType": "PlainText or SSML or CustomPayload", - "content": "string" - } - ] - } - } - } -