naftiko: 1.0.0-alpha2 info: label: Amazon Lake Formation API — Resources description: 'Amazon Lake Formation API — Resources. 7 operations. Lead operation: Amazon Lake Formation Grant Permissions. Self-contained Naftiko capability covering one Amazon Lake Formation business surface.' tags: - Amazon Lake Formation - Resources created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: AMAZON_LAKE_FORMATION_API_KEY: AMAZON_LAKE_FORMATION_API_KEY capability: consumes: - type: http namespace: amazon-lake-formation-resources baseUri: https://lakeformation.us-east-1.amazonaws.com description: Amazon Lake Formation API — Resources business capability. Self-contained, no shared references. resources: - name: permissions path: /permissions operations: - name: grantpermissions method: POST description: Amazon Lake Formation Grant Permissions outputRawFormat: json outputParameters: - name: result type: object value: $. - name: revokepermissions method: DELETE description: Amazon Lake Formation Revoke Permissions outputRawFormat: json outputParameters: - name: result type: object value: $. - name: listpermissions method: GET description: Amazon Lake Formation List Permissions outputRawFormat: json outputParameters: - name: result type: object value: $. - name: resources path: /resources operations: - name: registerresource method: POST description: Amazon Lake Formation Register Resource outputRawFormat: json outputParameters: - name: result type: object value: $. - name: listresources method: GET description: Amazon Lake Formation List Resources outputRawFormat: json outputParameters: - name: result type: object value: $. - name: resources-resourceArn path: /resources/{resourceArn} operations: - name: describeresource method: GET description: Amazon Lake Formation Describe Resource outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: resourceArn in: path type: string description: The resource ARN. required: true - name: deregisterresource method: DELETE description: Amazon Lake Formation Deregister Resource outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: resourceArn in: path type: string description: The resource ARN. required: true authentication: type: apikey key: Authorization value: '{{env.AMAZON_LAKE_FORMATION_API_KEY}}' placement: header exposes: - type: rest namespace: amazon-lake-formation-resources-rest port: 8080 description: REST adapter for Amazon Lake Formation API — Resources. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/permissions name: permissions description: REST surface for permissions. operations: - method: POST name: grantpermissions description: Amazon Lake Formation Grant Permissions call: amazon-lake-formation-resources.grantpermissions outputParameters: - type: object mapping: $. - method: DELETE name: revokepermissions description: Amazon Lake Formation Revoke Permissions call: amazon-lake-formation-resources.revokepermissions outputParameters: - type: object mapping: $. - method: GET name: listpermissions description: Amazon Lake Formation List Permissions call: amazon-lake-formation-resources.listpermissions outputParameters: - type: object mapping: $. - path: /v1/resources name: resources description: REST surface for resources. operations: - method: POST name: registerresource description: Amazon Lake Formation Register Resource call: amazon-lake-formation-resources.registerresource outputParameters: - type: object mapping: $. - method: GET name: listresources description: Amazon Lake Formation List Resources call: amazon-lake-formation-resources.listresources outputParameters: - type: object mapping: $. - path: /v1/resources/{resourcearn} name: resources-resourcearn description: REST surface for resources-resourceArn. operations: - method: GET name: describeresource description: Amazon Lake Formation Describe Resource call: amazon-lake-formation-resources.describeresource with: resourceArn: rest.resourceArn outputParameters: - type: object mapping: $. - method: DELETE name: deregisterresource description: Amazon Lake Formation Deregister Resource call: amazon-lake-formation-resources.deregisterresource with: resourceArn: rest.resourceArn outputParameters: - type: object mapping: $. - type: mcp namespace: amazon-lake-formation-resources-mcp port: 9090 transport: http description: MCP adapter for Amazon Lake Formation API — Resources. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: amazon-lake-formation-grant-permissions description: Amazon Lake Formation Grant Permissions hints: readOnly: false destructive: false idempotent: false call: amazon-lake-formation-resources.grantpermissions outputParameters: - type: object mapping: $. - name: amazon-lake-formation-revoke-permissions description: Amazon Lake Formation Revoke Permissions hints: readOnly: false destructive: true idempotent: true call: amazon-lake-formation-resources.revokepermissions outputParameters: - type: object mapping: $. - name: amazon-lake-formation-list-permissions description: Amazon Lake Formation List Permissions hints: readOnly: true destructive: false idempotent: true call: amazon-lake-formation-resources.listpermissions outputParameters: - type: object mapping: $. - name: amazon-lake-formation-register-resource description: Amazon Lake Formation Register Resource hints: readOnly: false destructive: false idempotent: false call: amazon-lake-formation-resources.registerresource outputParameters: - type: object mapping: $. - name: amazon-lake-formation-list-resources description: Amazon Lake Formation List Resources hints: readOnly: true destructive: false idempotent: true call: amazon-lake-formation-resources.listresources outputParameters: - type: object mapping: $. - name: amazon-lake-formation-describe-resource description: Amazon Lake Formation Describe Resource hints: readOnly: true destructive: false idempotent: true call: amazon-lake-formation-resources.describeresource with: resourceArn: tools.resourceArn outputParameters: - type: object mapping: $. - name: amazon-lake-formation-deregister-resource description: Amazon Lake Formation Deregister Resource hints: readOnly: false destructive: true idempotent: true call: amazon-lake-formation-resources.deregisterresource with: resourceArn: tools.resourceArn outputParameters: - type: object mapping: $.