{"files":{"SKILL.md":"---\nname: aws-mobile\ndescription: \"AWS Mobile API skill. Use when working with AWS Mobile for projects, bundles, project#projectId. Covers 9 endpoints.\"\nversion: 1.0.0\ngenerator: lapsh\n---\n\n# AWS Mobile\nAPI version: 2017-07-01\n\n## Auth\nApiKey Authorization in header\n\n## Base URL\nhttp://mobile.{region}.amazonaws.com\n\n## Setup\n1. Set your API key in the appropriate header\n2. GET /projects -- verify access\n3. POST /projects -- create first projects\n\n## Endpoints\n\n9 endpoints across 5 groups. See references/api-spec.lap for full details.\n\n### projects\n| Method | Path | Description |\n|--------|------|-------------|\n| POST | /projects | Creates an AWS Mobile Hub project. |\n| GET | /projects | Lists projects in AWS Mobile Hub. |\n| DELETE | /projects/{projectId} | Delets a project in AWS Mobile Hub. |\n\n### bundles\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /bundles/{bundleId} | Get the bundle details for the requested bundle id. |\n| POST | /bundles/{bundleId} | Generates customized software development kit (SDK) and or tool packages used to integrate mobile web or mobile app clients with backend AWS resources. |\n| GET | /bundles | List all available bundles. |\n\n### project#projectId\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /project#projectId | Gets details about a project in AWS Mobile Hub. |\n\n### exports\n| Method | Path | Description |\n|--------|------|-------------|\n| POST | /exports/{projectId} | Exports project configuration to a snapshot which can be downloaded and shared. Note that mobile app push credentials are encrypted in exported projects, so they can only be shared successfully within the same AWS account. |\n\n### update#projectId\n| Method | Path | Description |\n|--------|------|-------------|\n| POST | /update#projectId | Update an existing project. |\n\n## Common Questions\n\nMatch user requests to endpoints in references/api-spec.lap. Key patterns:\n- \"Create a project?\" -> POST /projects\n- \"List all projects?\" -> GET /projects\n- \"Delete a project?\" -> DELETE /projects/{projectId}\n- \"Get bundle details?\" -> GET /bundles/{bundleId}\n- \"List all project#projectId?\" -> GET /project#projectId\n- \"List all bundles?\" -> GET /bundles\n- \"Create a update#projectId?\" -> POST /update#projectId\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 aws-mobile -o references/api-spec.lap\n\n# Search for related APIs\nnpx @lap-platform/lapsh search aws-mobile\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 AWS Mobile\n@base http://mobile.{region}.amazonaws.com\n@version 2017-07-01\n@auth ApiKey Authorization in header\n@endpoints 9\n@toc projects(3), bundles(3), project#projectId(1), exports(1), update#projectId(1)\n\n@group projects\n@endpoint POST /projects\n@desc Creates an AWS Mobile Hub project.\n@optional {name: str # Name of the project., region: str # Default region where project resources should be created., snapshotId: str # Unique identifier for an exported snapshot of project configuration. This snapshot identifier is included in the share URL when a project is exported., contents: str # Binary file data.}\n@returns(200) {details: any} # Success\n@errors {480: InternalFailureException, 481: ServiceUnavailableException, 482: UnauthorizedException, 483: TooManyRequestsException, 484: BadRequestException, 485: NotFoundException, 486: LimitExceededException}\n\n@endpoint GET /projects\n@desc Lists projects in AWS Mobile Hub.\n@optional {maxResults: int # Maximum number of records to list in a single response., nextToken: str # Pagination token. Set to null to start listing projects from start. If non-null pagination token is returned in a result, then pass its value in here in another request to list more projects.}\n@returns(200) {projects: [map], nextToken: str} # Success\n@errors {480: InternalFailureException, 481: ServiceUnavailableException, 482: UnauthorizedException, 483: TooManyRequestsException, 484: BadRequestException}\n\n@endpoint DELETE /projects/{projectId}\n@desc Delets a project in AWS Mobile Hub.\n@required {projectId: str # Unique project identifier.}\n@returns(200) {deletedResources: any, orphanedResources: any} # Success\n@errors {480: InternalFailureException, 481: ServiceUnavailableException, 482: UnauthorizedException, 483: TooManyRequestsException, 484: NotFoundException}\n\n@endgroup\n\n@group bundles\n@endpoint GET /bundles/{bundleId}\n@desc Get the bundle details for the requested bundle id.\n@required {bundleId: str # Unique bundle identifier.}\n@returns(200) {details: any} # Success\n@errors {480: InternalFailureException, 481: ServiceUnavailableException, 482: UnauthorizedException, 483: TooManyRequestsException, 484: BadRequestException, 485: NotFoundException}\n\n@endpoint POST /bundles/{bundleId}\n@desc Generates customized software development kit (SDK) and or tool packages used to integrate mobile web or mobile app clients with backend AWS resources.\n@required {bundleId: str # Unique bundle identifier.}\n@optional {projectId: str # Unique project identifier., platform: str(OSX/WINDOWS/LINUX/OBJC/SWIFT/ANDROID/JAVASCRIPT) # Developer desktop or target application platform.}\n@returns(200) {downloadUrl: any} # Success\n@errors {480: InternalFailureException, 481: ServiceUnavailableException, 482: UnauthorizedException, 483: TooManyRequestsException, 484: BadRequestException, 485: NotFoundException}\n\n@endgroup\n\n@group project#projectId\n@endpoint GET /project#projectId\n@desc Gets details about a project in AWS Mobile Hub.\n@required {projectId: str # Unique project identifier.}\n@optional {syncFromResources: bool # If set to true, causes AWS Mobile Hub to synchronize information from other services, e.g., update state of AWS CloudFormation stacks in the AWS Mobile Hub project.}\n@returns(200) {details: map{name: str, projectId: str, region: str, state: str, createdDate: any, lastUpdatedDate: any, consoleUrl: any, resources: [map]}} # Success\n@errors {480: InternalFailureException, 481: ServiceUnavailableException, 482: UnauthorizedException, 483: TooManyRequestsException, 484: BadRequestException, 485: NotFoundException}\n\n@endgroup\n\n@group exports\n@endpoint POST /exports/{projectId}\n@desc Exports project configuration to a snapshot which can be downloaded and shared. Note that mobile app push credentials are encrypted in exported projects, so they can only be shared successfully within the same AWS account.\n@required {projectId: str # Unique project identifier.}\n@returns(200) {downloadUrl: any, shareUrl: any, snapshotId: any} # Success\n@errors {480: InternalFailureException, 481: ServiceUnavailableException, 482: UnauthorizedException, 483: TooManyRequestsException, 484: BadRequestException, 485: NotFoundException}\n\n@endgroup\n\n@group bundles\n@endpoint GET /bundles\n@desc List all available bundles.\n@optional {maxResults: int # Maximum number of records to list in a single response., nextToken: str # Pagination token. Set to null to start listing bundles from start. If non-null pagination token is returned in a result, then pass its value in here in another request to list more bundles.}\n@returns(200) {bundleList: any, nextToken: any} # Success\n@errors {480: InternalFailureException, 481: ServiceUnavailableException, 482: UnauthorizedException, 483: TooManyRequestsException, 484: BadRequestException}\n\n@endgroup\n\n@group update#projectId\n@endpoint POST /update#projectId\n@desc Update an existing project.\n@required {projectId: str # Unique project identifier.}\n@optional {contents: str # Binary file data.}\n@returns(200) {details: any} # Success\n@errors {480: InternalFailureException, 481: ServiceUnavailableException, 482: UnauthorizedException, 483: TooManyRequestsException, 484: BadRequestException, 485: NotFoundException, 486: AccountActionRequiredException, 487: LimitExceededException}\n\n@endgroup\n\n@end\n"}}