{"files":{"SKILL.md":"---\nname: amazon-workmail-message-flow\ndescription: \"Amazon WorkMail Message Flow API skill. Use when working with Amazon WorkMail Message Flow for messages. Covers 2 endpoints.\"\nversion: 1.0.0\ngenerator: lapsh\n---\n\n# Amazon WorkMail Message Flow\nAPI version: 2019-05-01\n\n## Auth\nAWS SigV4\n\n## Base URL\nNot specified.\n\n## Setup\n1. Configure auth: AWS SigV4\n2. GET /messages/{messageId} -- retrieves the raw content of an in-transit email message, in mime format.\n3. POST /messages/{messageId} -- create first message\n\n## Endpoints\n2 endpoints across 1 group. See references/api-spec.lap for full details.\n\n### Messages\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /messages/{messageId} | Retrieves the raw content of an in-transit email message, in MIME format. |\n| POST | /messages/{messageId} | Updates the raw content of an in-transit email message, in MIME format. This example describes how to update in-transit email message. For more information and examples for using this API, see  Updating message content with AWS Lambda.  Updates to an in-transit message only appear when you call PutRawMessageContent from an AWS Lambda function configured with a synchronous  Run Lambda rule. If you call PutRawMessageContent on a delivered or sent message, the message remains unchanged, even though GetRawMessageContent returns an updated message. |\n\n## Common Questions\nMatch user requests to endpoints in references/api-spec.lap. Key patterns:\n- \"Get message details?\" -> GET /messages/{messageId}\n- \"How to authenticate?\" -> See Auth section above\n\n## Response Tips\n- Check response schemas in references/api-spec.lap for field details\n- Create/update endpoints return the modified resource on success\n\n## References\n- Full spec: See references/api-spec.lap for complete endpoint details, parameter tables, and response schemas\n\n> Generated from the official API spec by [LAP](https://lap.sh)\n","references/api-spec.lap":"@lap v0.3\n# Machine-readable API spec. Each @endpoint block is one API call.\n@api Amazon WorkMail Message Flow\n@version 2019-05-01\n@auth AWS SigV4\n@endpoints 2\n@toc messages(2)\n\n@endpoint GET /messages/{messageId}\n@desc Retrieves the raw content of an in-transit email message, in MIME format.\n@required {messageId: str}\n@returns(200) {messageContent: bytes}\n\n@endpoint POST /messages/{messageId}\n@desc Updates the raw content of an in-transit email message, in MIME format. This example describes how to update in-transit email message. For more information and examples for using this API, see  Updating message content with AWS Lambda.  Updates to an in-transit message only appear when you call PutRawMessageContent from an AWS Lambda function configured with a synchronous  Run Lambda rule. If you call PutRawMessageContent on a delivered or sent message, the message remains unchanged, even though GetRawMessageContent returns an updated message.\n@required {messageId: str, content: RawMessageContent}\n\n@end\n"}}