naftiko: 1.0.0-alpha2 info: label: Amazon Detective — Organizations description: 'Amazon Detective — Organizations. 5 operations. Lead operation: Amazon Detective Describe Organization Configuration. Self-contained Naftiko capability covering one Amazon Detective business surface.' tags: - Amazon Detective - Organizations created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: AMAZON_DETECTIVE_API_KEY: AMAZON_DETECTIVE_API_KEY capability: consumes: - type: http namespace: amazon-detective-organizations baseUri: https://api.detective.{region}.amazonaws.com description: Amazon Detective — Organizations business capability. Self-contained, no shared references. resources: - name: orgs-describeOrganizationConfiguration path: /orgs/describeOrganizationConfiguration operations: - name: describeorganizationconfiguration method: POST description: Amazon Detective Describe Organization Configuration outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: orgs-disableAdminAccount path: /orgs/disableAdminAccount operations: - name: disableorganizationadminaccount method: POST description: Amazon Detective Disable Organization Admin Account outputRawFormat: json outputParameters: - name: result type: object value: $. - name: orgs-enableAdminAccount path: /orgs/enableAdminAccount operations: - name: enableorganizationadminaccount method: POST description: Amazon Detective Enable Organization Admin Account outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: orgs-listAdminAccounts path: /orgs/listAdminAccounts operations: - name: listorganizationadminaccounts method: POST description: Amazon Detective List Organization Admin Accounts outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: orgs-updateOrganizationConfiguration path: /orgs/updateOrganizationConfiguration operations: - name: updateorganizationconfiguration method: POST description: Amazon Detective Update Organization Configuration 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_DETECTIVE_API_KEY}}' placement: header exposes: - type: rest namespace: amazon-detective-organizations-rest port: 8080 description: REST adapter for Amazon Detective — Organizations. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/orgs/describeorganizationconfiguration name: orgs-describeorganizationconfiguration description: REST surface for orgs-describeOrganizationConfiguration. operations: - method: POST name: describeorganizationconfiguration description: Amazon Detective Describe Organization Configuration call: amazon-detective-organizations.describeorganizationconfiguration with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/orgs/disableadminaccount name: orgs-disableadminaccount description: REST surface for orgs-disableAdminAccount. operations: - method: POST name: disableorganizationadminaccount description: Amazon Detective Disable Organization Admin Account call: amazon-detective-organizations.disableorganizationadminaccount outputParameters: - type: object mapping: $. - path: /v1/orgs/enableadminaccount name: orgs-enableadminaccount description: REST surface for orgs-enableAdminAccount. operations: - method: POST name: enableorganizationadminaccount description: Amazon Detective Enable Organization Admin Account call: amazon-detective-organizations.enableorganizationadminaccount with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/orgs/listadminaccounts name: orgs-listadminaccounts description: REST surface for orgs-listAdminAccounts. operations: - method: POST name: listorganizationadminaccounts description: Amazon Detective List Organization Admin Accounts call: amazon-detective-organizations.listorganizationadminaccounts with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/orgs/updateorganizationconfiguration name: orgs-updateorganizationconfiguration description: REST surface for orgs-updateOrganizationConfiguration. operations: - method: POST name: updateorganizationconfiguration description: Amazon Detective Update Organization Configuration call: amazon-detective-organizations.updateorganizationconfiguration with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: amazon-detective-organizations-mcp port: 9090 transport: http description: MCP adapter for Amazon Detective — Organizations. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: amazon-detective-describe-organization-configuration description: Amazon Detective Describe Organization Configuration hints: readOnly: false destructive: false idempotent: false call: amazon-detective-organizations.describeorganizationconfiguration with: body: tools.body outputParameters: - type: object mapping: $. - name: amazon-detective-disable-organization-admin description: Amazon Detective Disable Organization Admin Account hints: readOnly: false destructive: false idempotent: false call: amazon-detective-organizations.disableorganizationadminaccount outputParameters: - type: object mapping: $. - name: amazon-detective-enable-organization-admin description: Amazon Detective Enable Organization Admin Account hints: readOnly: false destructive: false idempotent: false call: amazon-detective-organizations.enableorganizationadminaccount with: body: tools.body outputParameters: - type: object mapping: $. - name: amazon-detective-list-organization-admin description: Amazon Detective List Organization Admin Accounts hints: readOnly: true destructive: false idempotent: false call: amazon-detective-organizations.listorganizationadminaccounts with: body: tools.body outputParameters: - type: object mapping: $. - name: amazon-detective-update-organization-configuration description: Amazon Detective Update Organization Configuration hints: readOnly: false destructive: false idempotent: false call: amazon-detective-organizations.updateorganizationconfiguration with: body: tools.body outputParameters: - type: object mapping: $.