naftiko: 1.0.0-alpha2 info: label: AWS Supply Chain API — Data Lake description: 'AWS Supply Chain API — Data Lake. 7 operations. Lead operation: Amazon List Data Lake Namespaces. Self-contained Naftiko capability covering one Amazon Supply Chain business surface.' tags: - Amazon Supply Chain - Data Lake created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: AMAZON_SUPPLY_CHAIN_API_KEY: AMAZON_SUPPLY_CHAIN_API_KEY capability: consumes: - type: http namespace: amazon-supply-chain-data-lake baseUri: https://scn.amazonaws.com description: AWS Supply Chain API — Data Lake business capability. Self-contained, no shared references. resources: - name: api-instances-instanceId-namespaces path: /api/instances/{instanceId}/namespaces operations: - name: listdatalakenamespaces method: GET description: Amazon List Data Lake Namespaces outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: instanceId in: path type: string required: true - name: maxResults in: query type: integer - name: nextToken in: query type: string - name: createdatalakenamespace method: PUT description: Amazon Create Data Lake Namespace outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: instanceId in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: true - name: api-instances-instanceId-namespaces-namespace-datasets path: /api/instances/{instanceId}/namespaces/{namespace}/datasets operations: - name: listdatalakedatasets method: GET description: Amazon List Data Lake Datasets outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: instanceId in: path type: string description: The instance identifier required: true - name: namespace in: path type: string description: The namespace name required: true - name: maxResults in: query type: integer - name: nextToken in: query type: string - name: createdatalakedataset method: PUT description: Amazon Create Data Lake Dataset outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: instanceId in: path type: string required: true - name: namespace in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: true - name: api-instances-instanceId-namespaces-namespace-datasets-name path: /api/instances/{instanceId}/namespaces/{namespace}/datasets/{name} operations: - name: getdatalakedataset method: GET description: Amazon Get Data Lake Dataset outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: instanceId in: path type: string required: true - name: namespace in: path type: string required: true - name: name in: path type: string required: true - name: updatedatalakedataset method: PATCH description: Amazon Update Data Lake Dataset outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: instanceId in: path type: string required: true - name: namespace in: path type: string required: true - name: name in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: true - name: deletedatalakedataset method: DELETE description: Amazon Delete Data Lake Dataset outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: instanceId in: path type: string required: true - name: namespace in: path type: string required: true - name: name in: path type: string required: true authentication: type: apikey key: Authorization value: '{{env.AMAZON_SUPPLY_CHAIN_API_KEY}}' placement: header exposes: - type: rest namespace: amazon-supply-chain-data-lake-rest port: 8080 description: REST adapter for AWS Supply Chain API — Data Lake. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/instances/{instanceid}/namespaces name: api-instances-instanceid-namespaces description: REST surface for api-instances-instanceId-namespaces. operations: - method: GET name: listdatalakenamespaces description: Amazon List Data Lake Namespaces call: amazon-supply-chain-data-lake.listdatalakenamespaces with: instanceId: rest.instanceId maxResults: rest.maxResults nextToken: rest.nextToken outputParameters: - type: object mapping: $. - method: PUT name: createdatalakenamespace description: Amazon Create Data Lake Namespace call: amazon-supply-chain-data-lake.createdatalakenamespace with: instanceId: rest.instanceId body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/instances/{instanceid}/namespaces/{namespace}/datasets name: api-instances-instanceid-namespaces-namespace-datasets description: REST surface for api-instances-instanceId-namespaces-namespace-datasets. operations: - method: GET name: listdatalakedatasets description: Amazon List Data Lake Datasets call: amazon-supply-chain-data-lake.listdatalakedatasets with: instanceId: rest.instanceId namespace: rest.namespace maxResults: rest.maxResults nextToken: rest.nextToken outputParameters: - type: object mapping: $. - method: PUT name: createdatalakedataset description: Amazon Create Data Lake Dataset call: amazon-supply-chain-data-lake.createdatalakedataset with: instanceId: rest.instanceId namespace: rest.namespace body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/instances/{instanceid}/namespaces/{namespace}/datasets/{name} name: api-instances-instanceid-namespaces-namespace-datasets-name description: REST surface for api-instances-instanceId-namespaces-namespace-datasets-name. operations: - method: GET name: getdatalakedataset description: Amazon Get Data Lake Dataset call: amazon-supply-chain-data-lake.getdatalakedataset with: instanceId: rest.instanceId namespace: rest.namespace name: rest.name outputParameters: - type: object mapping: $. - method: PATCH name: updatedatalakedataset description: Amazon Update Data Lake Dataset call: amazon-supply-chain-data-lake.updatedatalakedataset with: instanceId: rest.instanceId namespace: rest.namespace name: rest.name body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletedatalakedataset description: Amazon Delete Data Lake Dataset call: amazon-supply-chain-data-lake.deletedatalakedataset with: instanceId: rest.instanceId namespace: rest.namespace name: rest.name outputParameters: - type: object mapping: $. - type: mcp namespace: amazon-supply-chain-data-lake-mcp port: 9090 transport: http description: MCP adapter for AWS Supply Chain API — Data Lake. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: amazon-list-data-lake-namespaces description: Amazon List Data Lake Namespaces hints: readOnly: true destructive: false idempotent: true call: amazon-supply-chain-data-lake.listdatalakenamespaces with: instanceId: tools.instanceId maxResults: tools.maxResults nextToken: tools.nextToken outputParameters: - type: object mapping: $. - name: amazon-create-data-lake-namespace description: Amazon Create Data Lake Namespace hints: readOnly: false destructive: false idempotent: true call: amazon-supply-chain-data-lake.createdatalakenamespace with: instanceId: tools.instanceId body: tools.body outputParameters: - type: object mapping: $. - name: amazon-list-data-lake-datasets description: Amazon List Data Lake Datasets hints: readOnly: true destructive: false idempotent: true call: amazon-supply-chain-data-lake.listdatalakedatasets with: instanceId: tools.instanceId namespace: tools.namespace maxResults: tools.maxResults nextToken: tools.nextToken outputParameters: - type: object mapping: $. - name: amazon-create-data-lake-dataset description: Amazon Create Data Lake Dataset hints: readOnly: false destructive: false idempotent: true call: amazon-supply-chain-data-lake.createdatalakedataset with: instanceId: tools.instanceId namespace: tools.namespace body: tools.body outputParameters: - type: object mapping: $. - name: amazon-get-data-lake-dataset description: Amazon Get Data Lake Dataset hints: readOnly: true destructive: false idempotent: true call: amazon-supply-chain-data-lake.getdatalakedataset with: instanceId: tools.instanceId namespace: tools.namespace name: tools.name outputParameters: - type: object mapping: $. - name: amazon-update-data-lake-dataset description: Amazon Update Data Lake Dataset hints: readOnly: false destructive: false idempotent: true call: amazon-supply-chain-data-lake.updatedatalakedataset with: instanceId: tools.instanceId namespace: tools.namespace name: tools.name body: tools.body outputParameters: - type: object mapping: $. - name: amazon-delete-data-lake-dataset description: Amazon Delete Data Lake Dataset hints: readOnly: false destructive: true idempotent: true call: amazon-supply-chain-data-lake.deletedatalakedataset with: instanceId: tools.instanceId namespace: tools.namespace name: tools.name outputParameters: - type: object mapping: $.