naftiko: 1.0.0-alpha2 info: label: Amazon Connect Service API — Contact Flows description: 'Amazon Connect Service API — Contact Flows. 4 operations. Lead operation: Amazon Connect List Contact Flows. Self-contained Naftiko capability covering one Amazon Connect business surface.' tags: - Amazon Connect - Contact Flows created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: AMAZON_CONNECT_API_KEY: AMAZON_CONNECT_API_KEY capability: consumes: - type: http namespace: amazon-connect-contact-flows baseUri: https://connect.amazonaws.com description: Amazon Connect Service API — Contact Flows business capability. Self-contained, no shared references. resources: - name: contact-flows-InstanceId path: /contact-flows/{InstanceId} operations: - name: listcontactflows method: GET description: Amazon Connect List Contact Flows outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: InstanceId in: path type: string description: The identifier of the Amazon Connect instance. required: true - name: contactFlowTypes in: query type: array description: The type of contact flow. - name: nextToken in: query type: string - name: maxResults in: query type: integer - name: createcontactflow method: POST description: Amazon Connect Create Contact Flow outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: InstanceId in: path type: string description: The identifier of the Amazon Connect instance. required: true - name: body in: body type: object description: Request body (JSON). required: true - name: contact-flows-InstanceId-ContactFlowId path: /contact-flows/{InstanceId}/{ContactFlowId} operations: - name: describecontactflow method: GET description: Amazon Connect Describe Contact Flow outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: InstanceId in: path type: string description: The identifier of the Amazon Connect instance. required: true - name: ContactFlowId in: path type: string description: The identifier of the contact flow. required: true - name: deletecontactflow method: DELETE description: Amazon Connect Delete Contact Flow outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: InstanceId in: path type: string description: The identifier of the Amazon Connect instance. required: true - name: ContactFlowId in: path type: string description: The identifier of the contact flow. required: true authentication: type: bearer token: '{{env.AMAZON_CONNECT_API_KEY}}' exposes: - type: rest namespace: amazon-connect-contact-flows-rest port: 8080 description: REST adapter for Amazon Connect Service API — Contact Flows. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/contact-flows/{instanceid} name: contact-flows-instanceid description: REST surface for contact-flows-InstanceId. operations: - method: GET name: listcontactflows description: Amazon Connect List Contact Flows call: amazon-connect-contact-flows.listcontactflows with: InstanceId: rest.InstanceId contactFlowTypes: rest.contactFlowTypes nextToken: rest.nextToken maxResults: rest.maxResults outputParameters: - type: object mapping: $. - method: POST name: createcontactflow description: Amazon Connect Create Contact Flow call: amazon-connect-contact-flows.createcontactflow with: InstanceId: rest.InstanceId body: rest.body outputParameters: - type: object mapping: $. - path: /v1/contact-flows/{instanceid}/{contactflowid} name: contact-flows-instanceid-contactflowid description: REST surface for contact-flows-InstanceId-ContactFlowId. operations: - method: GET name: describecontactflow description: Amazon Connect Describe Contact Flow call: amazon-connect-contact-flows.describecontactflow with: InstanceId: rest.InstanceId ContactFlowId: rest.ContactFlowId outputParameters: - type: object mapping: $. - method: DELETE name: deletecontactflow description: Amazon Connect Delete Contact Flow call: amazon-connect-contact-flows.deletecontactflow with: InstanceId: rest.InstanceId ContactFlowId: rest.ContactFlowId outputParameters: - type: object mapping: $. - type: mcp namespace: amazon-connect-contact-flows-mcp port: 9090 transport: http description: MCP adapter for Amazon Connect Service API — Contact Flows. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: amazon-connect-list-contact-flows description: Amazon Connect List Contact Flows hints: readOnly: true destructive: false idempotent: true call: amazon-connect-contact-flows.listcontactflows with: InstanceId: tools.InstanceId contactFlowTypes: tools.contactFlowTypes nextToken: tools.nextToken maxResults: tools.maxResults outputParameters: - type: object mapping: $. - name: amazon-connect-create-contact-flow description: Amazon Connect Create Contact Flow hints: readOnly: false destructive: false idempotent: false call: amazon-connect-contact-flows.createcontactflow with: InstanceId: tools.InstanceId body: tools.body outputParameters: - type: object mapping: $. - name: amazon-connect-describe-contact-flow description: Amazon Connect Describe Contact Flow hints: readOnly: true destructive: false idempotent: true call: amazon-connect-contact-flows.describecontactflow with: InstanceId: tools.InstanceId ContactFlowId: tools.ContactFlowId outputParameters: - type: object mapping: $. - name: amazon-connect-delete-contact-flow description: Amazon Connect Delete Contact Flow hints: readOnly: false destructive: true idempotent: true call: amazon-connect-contact-flows.deletecontactflow with: InstanceId: tools.InstanceId ContactFlowId: tools.ContactFlowId outputParameters: - type: object mapping: $.