naftiko: 1.0.0-alpha2 info: label: Amazon Rekognition — Face Collections description: 'Amazon Rekognition — Face Collections. 3 operations. Lead operation: Amazon Rekognition Create Collection. Self-contained Naftiko capability covering one Amazon Rekognition business surface.' tags: - Amazon Rekognition - Face Collections created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: AMAZON_REKOGNITION_API_KEY: AMAZON_REKOGNITION_API_KEY capability: consumes: - type: http namespace: amazon-rekognition-face-collections baseUri: https://rekognition.amazonaws.com description: Amazon Rekognition — Face Collections business capability. Self-contained, no shared references. resources: - name: '#CreateCollection' path: /#CreateCollection operations: - name: createcollection method: POST description: Amazon Rekognition Create Collection outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: '#IndexFaces' path: /#IndexFaces operations: - name: indexfaces method: POST description: Amazon Rekognition Index Faces outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: '#ListCollections' path: /#ListCollections operations: - name: listcollections method: POST description: Amazon Rekognition List Collections outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: apikey key: Authorization value: '{{env.AMAZON_REKOGNITION_API_KEY}}' placement: header exposes: - type: rest namespace: amazon-rekognition-face-collections-rest port: 8080 description: REST adapter for Amazon Rekognition — Face Collections. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/createcollection name: createcollection description: 'REST surface for #CreateCollection.' operations: - method: POST name: createcollection description: Amazon Rekognition Create Collection call: amazon-rekognition-face-collections.createcollection with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/indexfaces name: indexfaces description: 'REST surface for #IndexFaces.' operations: - method: POST name: indexfaces description: Amazon Rekognition Index Faces call: amazon-rekognition-face-collections.indexfaces with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/listcollections name: listcollections description: 'REST surface for #ListCollections.' operations: - method: POST name: listcollections description: Amazon Rekognition List Collections call: amazon-rekognition-face-collections.listcollections with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: amazon-rekognition-face-collections-mcp port: 9090 transport: http description: MCP adapter for Amazon Rekognition — Face Collections. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: amazon-rekognition-create-collection description: Amazon Rekognition Create Collection hints: readOnly: false destructive: false idempotent: false call: amazon-rekognition-face-collections.createcollection with: body: tools.body outputParameters: - type: object mapping: $. - name: amazon-rekognition-index-faces description: Amazon Rekognition Index Faces hints: readOnly: false destructive: false idempotent: false call: amazon-rekognition-face-collections.indexfaces with: body: tools.body outputParameters: - type: object mapping: $. - name: amazon-rekognition-list-collections description: Amazon Rekognition List Collections hints: readOnly: true destructive: false idempotent: false call: amazon-rekognition-face-collections.listcollections with: body: tools.body outputParameters: - type: object mapping: $.