{"files":{"SKILL.md":"---\nname: amazon-healthlake\ndescription: \"Amazon HealthLake API skill. Use when working with Amazon HealthLake for root. Covers 13 endpoints.\"\nversion: 1.0.0\ngenerator: lapsh\n---\n\n# Amazon HealthLake\nAPI version: 2017-07-01\n\n## Auth\nAWS SigV4\n\n## Base URL\nNot specified.\n\n## Setup\n1. Configure auth: AWS SigV4\n3. POST / -- create first resource\n\n## Endpoints\n\n13 endpoints across 1 groups. See references/api-spec.lap for full details.\n\n### root\n| Method | Path | Description |\n|--------|------|-------------|\n| POST | / | Creates a data store that can ingest and export FHIR formatted data. |\n| POST | / | Deletes a data store. |\n| POST | / | Gets the properties associated with the FHIR data store, including the data store ID, data store ARN, data store name, data store status, when the data store was created, data store type version, and the data store's endpoint. |\n| POST | / | Displays the properties of a FHIR export job, including the ID, ARN, name, and the status of the job. |\n| POST | / | Displays the properties of a FHIR import job, including the ID, ARN, name, and the status of the job. |\n| POST | / | Lists all FHIR data stores that are in the user’s account, regardless of data store status. |\n| POST | / | Lists all FHIR export jobs associated with an account and their statuses. |\n| POST | / | Lists all FHIR import jobs associated with an account and their statuses. |\n| POST | / | Returns a list of all existing tags associated with a data store. |\n| POST | / | Begins a FHIR export job. |\n| POST | / | Begins a FHIR Import job. |\n| POST | / | Adds a user specified key and value tag to a data store. |\n| POST | / | Removes tags from a data store. |\n\n## Common Questions\n\nMatch user requests to endpoints in references/api-spec.lap. Key patterns:\n- \"How to authenticate?\" -> See Auth section\n\n## Response Tips\n- Check response schemas in references/api-spec.lap for field details\n- Create/update endpoints typically return the created/updated object\n\n## CLI\n\n```bash\n# Update this spec to the latest version\nnpx @lap-platform/lapsh get amazon-healthlake -o references/api-spec.lap\n\n# Search for related APIs\nnpx @lap-platform/lapsh search amazon-healthlake\n```\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 HealthLake\n@version 2017-07-01\n@auth AWS SigV4\n@endpoints 13\n@toc root(13)\n\n@endpoint POST /\n@desc Creates a data store that can ingest and export FHIR formatted data.\n@required {DatastoreTypeVersion: str}\n@optional {DatastoreName: str, SseConfiguration: SseConfiguration, PreloadDataConfig: PreloadDataConfig, ClientToken: str, Tags: [Tag], IdentityProviderConfiguration: IdentityProviderConfiguration}\n@returns(200) {DatastoreId: str, DatastoreArn: str, DatastoreStatus: str, DatastoreEndpoint: str}\n\n@endpoint POST /\n@desc Deletes a data store.\n@required {DatastoreId: str}\n@returns(200) {DatastoreId: str, DatastoreArn: str, DatastoreStatus: str, DatastoreEndpoint: str}\n\n@endpoint POST /\n@desc Gets the properties associated with the FHIR data store, including the data store ID, data store ARN, data store name, data store status, when the data store was created, data store type version, and the data store's endpoint.\n@required {DatastoreId: str}\n@returns(200) {DatastoreProperties: DatastoreProperties{DatastoreId: str, DatastoreArn: str, DatastoreName: str?, DatastoreStatus: str, CreatedAt: str(timestamp)?, DatastoreTypeVersion: str, DatastoreEndpoint: str, SseConfiguration: SseConfiguration?{KmsEncryptionConfig: KmsEncryptionConfig{CmkType: str, KmsKeyId: str?}}, PreloadDataConfig: PreloadDataConfig?{PreloadDataType: str}, IdentityProviderConfiguration: IdentityProviderConfiguration?{AuthorizationStrategy: str, FineGrainedAuthorizationEnabled: bool?, Metadata: str?, IdpLambdaArn: str?}, ErrorCause: ErrorCause?{ErrorMessage: str?, ErrorCategory: str?}}}\n\n@endpoint POST /\n@desc Displays the properties of a FHIR export job, including the ID, ARN, name, and the status of the job.\n@required {DatastoreId: str, JobId: str}\n@returns(200) {ExportJobProperties: ExportJobProperties{JobId: str, JobName: str?, JobStatus: str, SubmitTime: str(timestamp), EndTime: str(timestamp)?, DatastoreId: str, OutputDataConfig: OutputDataConfig{S3Configuration: S3Configuration?{S3Uri: str, KmsKeyId: str}}, DataAccessRoleArn: str?, Message: str?}}\n\n@endpoint POST /\n@desc Displays the properties of a FHIR import job, including the ID, ARN, name, and the status of the job.\n@required {DatastoreId: str, JobId: str}\n@returns(200) {ImportJobProperties: ImportJobProperties{JobId: str, JobName: str?, JobStatus: str, SubmitTime: str(timestamp), EndTime: str(timestamp)?, DatastoreId: str, InputDataConfig: InputDataConfig{S3Uri: str?}, JobOutputDataConfig: OutputDataConfig?{S3Configuration: S3Configuration?{S3Uri: str, KmsKeyId: str}}, JobProgressReport: JobProgressReport?{TotalNumberOfScannedFiles: int(i64)?, TotalSizeOfScannedFilesInMB: num(f64)?, TotalNumberOfImportedFiles: int(i64)?, TotalNumberOfResourcesScanned: int(i64)?, TotalNumberOfResourcesImported: int(i64)?, TotalNumberOfResourcesWithCustomerError: int(i64)?, TotalNumberOfFilesReadWithCustomerError: int(i64)?, Throughput: num(f64)?}, DataAccessRoleArn: str?, Message: str?}}\n\n@endpoint POST /\n@desc Lists all FHIR data stores that are in the user’s account, regardless of data store status.\n@optional {Filter: DatastoreFilter, NextToken: str, MaxResults: int}\n@returns(200) {DatastorePropertiesList: [DatastoreProperties], NextToken: str?}\n\n@endpoint POST /\n@desc Lists all FHIR export jobs associated with an account and their statuses.\n@required {DatastoreId: str}\n@optional {NextToken: str, MaxResults: int, JobName: str, JobStatus: str, SubmittedBefore: str(timestamp), SubmittedAfter: str(timestamp)}\n@returns(200) {ExportJobPropertiesList: [ExportJobProperties], NextToken: str?}\n\n@endpoint POST /\n@desc Lists all FHIR import jobs associated with an account and their statuses.\n@required {DatastoreId: str}\n@optional {NextToken: str, MaxResults: int, JobName: str, JobStatus: str, SubmittedBefore: str(timestamp), SubmittedAfter: str(timestamp)}\n@returns(200) {ImportJobPropertiesList: [ImportJobProperties], NextToken: str?}\n\n@endpoint POST /\n@desc Returns a list of all existing tags associated with a data store.\n@required {ResourceARN: str}\n@returns(200) {Tags: [Tag]?}\n\n@endpoint POST /\n@desc Begins a FHIR export job.\n@required {OutputDataConfig: OutputDataConfig, DatastoreId: str, DataAccessRoleArn: str, ClientToken: str}\n@optional {JobName: str}\n@returns(200) {JobId: str, JobStatus: str, DatastoreId: str?}\n\n@endpoint POST /\n@desc Begins a FHIR Import job.\n@required {InputDataConfig: InputDataConfig, JobOutputDataConfig: OutputDataConfig, DatastoreId: str, DataAccessRoleArn: str, ClientToken: str}\n@optional {JobName: str}\n@returns(200) {JobId: str, JobStatus: str, DatastoreId: str?}\n\n@endpoint POST /\n@desc Adds a user specified key and value tag to a data store.\n@required {ResourceARN: str, Tags: [Tag]}\n\n@endpoint POST /\n@desc Removes tags from a data store.\n@required {ResourceARN: str, TagKeys: [str]}\n\n@end\n"}}