{"files":{"SKILL.md":"---\nname: awsserverlessapplicationrepository\ndescription: \"AWSServerlessApplicationRepository API skill. Use when working with AWSServerlessApplicationRepository for applications. Covers 14 endpoints.\"\nversion: 1.0.0\ngenerator: lapsh\n---\n\n# AWSServerlessApplicationRepository\nAPI version: 2017-09-08\n\n## Auth\nAWS SigV4\n\n## Base URL\nNot specified.\n\n## Setup\n1. Configure auth: AWS SigV4\n2. GET /applications -- lists applications owned by the requester.\n3. POST /applications -- create first application\n\n## Endpoints\n14 endpoints across 1 group. See references/api-spec.lap for full details.\n\n### Applications\n| Method | Path | Description |\n|--------|------|-------------|\n| POST | /applications | Creates an application, optionally including an AWS SAM file to create the first application version in the same call. |\n| PUT | /applications/{applicationId}/versions/{semanticVersion} | Creates an application version. |\n| POST | /applications/{applicationId}/changesets | Creates an AWS CloudFormation change set for the given application. |\n| POST | /applications/{applicationId}/templates | Creates an AWS CloudFormation template. |\n| DELETE | /applications/{applicationId} | Deletes the specified application. |\n| GET | /applications/{applicationId} | Gets the specified application. |\n| GET | /applications/{applicationId}/policy | Retrieves the policy for the application. |\n| GET | /applications/{applicationId}/templates/{templateId} | Gets the specified AWS CloudFormation template. |\n| GET | /applications/{applicationId}/dependencies | Retrieves the list of applications nested in the containing application. |\n| GET | /applications/{applicationId}/versions | Lists versions for the specified application. |\n| GET | /applications | Lists applications owned by the requester. |\n| PUT | /applications/{applicationId}/policy | Sets the permission policy for an application. For the list of actions supported for this operation, see\n Application \n Permissions\n . |\n| POST | /applications/{applicationId}/unshare | Unshares an application from an AWS Organization.This operation can be called only from the organization's master account. |\n| PATCH | /applications/{applicationId} | Updates the specified application. |\n\n## Common Questions\nMatch user requests to endpoints in references/api-spec.lap. Key patterns:\n- \"Create a application?\" -> POST /applications\n- \"Update a version?\" -> PUT /applications/{applicationId}/versions/{semanticVersion}\n- \"Create a changeset?\" -> POST /applications/{applicationId}/changesets\n- \"Create a template?\" -> POST /applications/{applicationId}/templates\n- \"Delete a application?\" -> DELETE /applications/{applicationId}\n- \"Get application details?\" -> GET /applications/{applicationId}\n- \"List all policy?\" -> GET /applications/{applicationId}/policy\n- \"Get template details?\" -> GET /applications/{applicationId}/templates/{templateId}\n- \"List all dependencies?\" -> GET /applications/{applicationId}/dependencies\n- \"List all versions?\" -> GET /applications/{applicationId}/versions\n- \"List all applications?\" -> GET /applications\n- \"Create a unshare?\" -> POST /applications/{applicationId}/unshare\n- \"Partially update a application?\" -> PATCH /applications/{applicationId}\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 AWSServerlessApplicationRepository\n@version 2017-09-08\n@auth AWS SigV4\n@endpoints 14\n@toc applications(14)\n\n@endpoint POST /applications\n@desc Creates an application, optionally including an AWS SAM file to create the first application version in the same call.\n@required {Author: str, Description: str, Name: str}\n@optional {HomePageUrl: str, Labels: [str], LicenseBody: str, LicenseUrl: str, ReadmeBody: str, ReadmeUrl: str, SemanticVersion: str, SourceCodeArchiveUrl: str, SourceCodeUrl: str, SpdxLicenseId: str, TemplateBody: str, TemplateUrl: str}\n@returns(200) {ApplicationId: str?, Author: str?, CreationTime: str?, Description: str?, HomePageUrl: str?, IsVerifiedAuthor: bool?, Labels: [str]?, LicenseUrl: str?, Name: str?, ReadmeUrl: str?, SpdxLicenseId: str?, VerifiedAuthorUrl: str?, Version: Version?{ApplicationId: str, CreationTime: str, ParameterDefinitions: [ParameterDefinition], RequiredCapabilities: [str], ResourcesSupported: bool, SemanticVersion: str, SourceCodeArchiveUrl: str?, SourceCodeUrl: str?, TemplateUrl: str}}\n\n@endpoint PUT /applications/{applicationId}/versions/{semanticVersion}\n@desc Creates an application version.\n@required {ApplicationId: str, SemanticVersion: str}\n@optional {SourceCodeArchiveUrl: str, SourceCodeUrl: str, TemplateBody: str, TemplateUrl: str}\n@returns(200) {ApplicationId: str?, CreationTime: str?, ParameterDefinitions: [ParameterDefinition]?, RequiredCapabilities: [str]?, ResourcesSupported: bool?, SemanticVersion: str?, SourceCodeArchiveUrl: str?, SourceCodeUrl: str?, TemplateUrl: str?}\n\n@endpoint POST /applications/{applicationId}/changesets\n@desc Creates an AWS CloudFormation change set for the given application.\n@required {ApplicationId: str, StackName: str}\n@optional {Capabilities: [str], ChangeSetName: str, ClientToken: str, Description: str, NotificationArns: [str], ParameterOverrides: [ParameterValue], ResourceTypes: [str], RollbackConfiguration: RollbackConfiguration, SemanticVersion: str, Tags: [Tag], TemplateId: str}\n@returns(200) {ApplicationId: str?, ChangeSetId: str?, SemanticVersion: str?, StackId: str?}\n\n@endpoint POST /applications/{applicationId}/templates\n@desc Creates an AWS CloudFormation template.\n@required {ApplicationId: str}\n@optional {SemanticVersion: str}\n@returns(200) {ApplicationId: str?, CreationTime: str?, ExpirationTime: str?, SemanticVersion: str?, Status: str?, TemplateId: str?, TemplateUrl: str?}\n\n@endpoint DELETE /applications/{applicationId}\n@desc Deletes the specified application.\n@required {ApplicationId: str}\n\n@endpoint GET /applications/{applicationId}\n@desc Gets the specified application.\n@required {ApplicationId: str}\n@optional {semanticVersion: str}\n@returns(200) {ApplicationId: str?, Author: str?, CreationTime: str?, Description: str?, HomePageUrl: str?, IsVerifiedAuthor: bool?, Labels: [str]?, LicenseUrl: str?, Name: str?, ReadmeUrl: str?, SpdxLicenseId: str?, VerifiedAuthorUrl: str?, Version: Version?{ApplicationId: str, CreationTime: str, ParameterDefinitions: [ParameterDefinition], RequiredCapabilities: [str], ResourcesSupported: bool, SemanticVersion: str, SourceCodeArchiveUrl: str?, SourceCodeUrl: str?, TemplateUrl: str}}\n\n@endpoint GET /applications/{applicationId}/policy\n@desc Retrieves the policy for the application.\n@required {ApplicationId: str}\n@returns(200) {Statements: [ApplicationPolicyStatement]?}\n\n@endpoint GET /applications/{applicationId}/templates/{templateId}\n@desc Gets the specified AWS CloudFormation template.\n@required {ApplicationId: str, TemplateId: str}\n@returns(200) {ApplicationId: str?, CreationTime: str?, ExpirationTime: str?, SemanticVersion: str?, Status: str?, TemplateId: str?, TemplateUrl: str?}\n\n@endpoint GET /applications/{applicationId}/dependencies\n@desc Retrieves the list of applications nested in the containing application.\n@required {ApplicationId: str}\n@optional {maxItems: int, nextToken: str, semanticVersion: str}\n@returns(200) {Dependencies: [ApplicationDependencySummary]?, NextToken: str?}\n\n@endpoint GET /applications/{applicationId}/versions\n@desc Lists versions for the specified application.\n@required {ApplicationId: str}\n@optional {maxItems: int, nextToken: str}\n@returns(200) {NextToken: str?, Versions: [VersionSummary]?}\n\n@endpoint GET /applications\n@desc Lists applications owned by the requester.\n@optional {maxItems: int, nextToken: str}\n@returns(200) {Applications: [ApplicationSummary]?, NextToken: str?}\n\n@endpoint PUT /applications/{applicationId}/policy\n@desc Sets the permission policy for an application. For the list of actions supported for this operation, see\n@required {ApplicationId: str, Statements: [ApplicationPolicyStatement]}\n@returns(200) {Statements: [ApplicationPolicyStatement]?}\n\n@endpoint POST /applications/{applicationId}/unshare\n@desc Unshares an application from an AWS Organization.This operation can be called only from the organization's master account.\n@required {ApplicationId: str, OrganizationId: str}\n\n@endpoint PATCH /applications/{applicationId}\n@desc Updates the specified application.\n@required {ApplicationId: str}\n@optional {Author: str, Description: str, HomePageUrl: str, Labels: [str], ReadmeBody: str, ReadmeUrl: str}\n@returns(200) {ApplicationId: str?, Author: str?, CreationTime: str?, Description: str?, HomePageUrl: str?, IsVerifiedAuthor: bool?, Labels: [str]?, LicenseUrl: str?, Name: str?, ReadmeUrl: str?, SpdxLicenseId: str?, VerifiedAuthorUrl: str?, Version: Version?{ApplicationId: str, CreationTime: str, ParameterDefinitions: [ParameterDefinition], RequiredCapabilities: [str], ResourcesSupported: bool, SemanticVersion: str, SourceCodeArchiveUrl: str?, SourceCodeUrl: str?, TemplateUrl: str}}\n\n@end\n"}}