Spot · Capability

Spot Ocean API — Ocean AWS

Spot Ocean API — Ocean AWS. 5 operations. Lead operation: Spot Create Ocean Cluster (aws). Self-contained Naftiko capability covering one Flexera business surface.

Run with Naftiko FlexeraOcean AWS

What You Can Do

POST
Createoceanclusteraws — Spot Create Ocean Cluster (aws)
/v1/ocean/aws/k8s/cluster
GET
Listoceanclustersaws — Spot List Ocean Clusters (aws)
/v1/ocean/aws/k8s/cluster
GET
Getoceanclusteraws — Spot Get Ocean Cluster (aws)
/v1/ocean/aws/k8s/cluster/{oceanclusterid}
PUT
Updateoceanclusteraws — Spot Update Ocean Cluster (aws)
/v1/ocean/aws/k8s/cluster/{oceanclusterid}
DELETE
Deleteoceanclusteraws — Spot Delete Ocean Cluster (aws)
/v1/ocean/aws/k8s/cluster/{oceanclusterid}

MCP Tools

spot-create-ocean-cluster-aws

Spot Create Ocean Cluster (aws)

spot-list-ocean-clusters-aws

Spot List Ocean Clusters (aws)

read-only idempotent
spot-get-ocean-cluster-aws

Spot Get Ocean Cluster (aws)

read-only idempotent
spot-update-ocean-cluster-aws

Spot Update Ocean Cluster (aws)

idempotent
spot-delete-ocean-cluster-aws

Spot Delete Ocean Cluster (aws)

idempotent

Capability Spec

spot-ocean-ocean-aws.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Spot Ocean API — Ocean AWS
  description: 'Spot Ocean API — Ocean AWS. 5 operations. Lead operation: Spot Create Ocean Cluster (aws). Self-contained
    Naftiko capability covering one Flexera business surface.'
  tags:
  - Flexera
  - Ocean AWS
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    FLEXERA_API_KEY: FLEXERA_API_KEY
capability:
  consumes:
  - type: http
    namespace: spot-ocean-ocean-aws
    baseUri: https://api.spotinst.io
    description: Spot Ocean API — Ocean AWS business capability. Self-contained, no shared references.
    resources:
    - name: ocean-aws-k8s-cluster
      path: /ocean/aws/k8s/cluster
      operations:
      - name: createoceanclusteraws
        method: POST
        description: Spot Create Ocean Cluster (aws)
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: accountId
          in: query
          type: string
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: listoceanclustersaws
        method: GET
        description: Spot List Ocean Clusters (aws)
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: accountId
          in: query
          type: string
    - name: ocean-aws-k8s-cluster-oceanClusterId
      path: /ocean/aws/k8s/cluster/{oceanClusterId}
      operations:
      - name: getoceanclusteraws
        method: GET
        description: Spot Get Ocean Cluster (aws)
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: oceanClusterId
          in: path
          type: string
          required: true
        - name: accountId
          in: query
          type: string
      - name: updateoceanclusteraws
        method: PUT
        description: Spot Update Ocean Cluster (aws)
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: oceanClusterId
          in: path
          type: string
          required: true
        - name: accountId
          in: query
          type: string
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deleteoceanclusteraws
        method: DELETE
        description: Spot Delete Ocean Cluster (aws)
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: oceanClusterId
          in: path
          type: string
          required: true
        - name: accountId
          in: query
          type: string
    authentication:
      type: bearer
      token: '{{env.FLEXERA_API_KEY}}'
  exposes:
  - type: rest
    namespace: spot-ocean-ocean-aws-rest
    port: 8080
    description: REST adapter for Spot Ocean API — Ocean AWS. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/ocean/aws/k8s/cluster
      name: ocean-aws-k8s-cluster
      description: REST surface for ocean-aws-k8s-cluster.
      operations:
      - method: POST
        name: createoceanclusteraws
        description: Spot Create Ocean Cluster (aws)
        call: spot-ocean-ocean-aws.createoceanclusteraws
        with:
          accountId: rest.accountId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: listoceanclustersaws
        description: Spot List Ocean Clusters (aws)
        call: spot-ocean-ocean-aws.listoceanclustersaws
        with:
          accountId: rest.accountId
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/ocean/aws/k8s/cluster/{oceanclusterid}
      name: ocean-aws-k8s-cluster-oceanclusterid
      description: REST surface for ocean-aws-k8s-cluster-oceanClusterId.
      operations:
      - method: GET
        name: getoceanclusteraws
        description: Spot Get Ocean Cluster (aws)
        call: spot-ocean-ocean-aws.getoceanclusteraws
        with:
          oceanClusterId: rest.oceanClusterId
          accountId: rest.accountId
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updateoceanclusteraws
        description: Spot Update Ocean Cluster (aws)
        call: spot-ocean-ocean-aws.updateoceanclusteraws
        with:
          oceanClusterId: rest.oceanClusterId
          accountId: rest.accountId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteoceanclusteraws
        description: Spot Delete Ocean Cluster (aws)
        call: spot-ocean-ocean-aws.deleteoceanclusteraws
        with:
          oceanClusterId: rest.oceanClusterId
          accountId: rest.accountId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: spot-ocean-ocean-aws-mcp
    port: 9090
    transport: http
    description: MCP adapter for Spot Ocean API — Ocean AWS. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: spot-create-ocean-cluster-aws
      description: Spot Create Ocean Cluster (aws)
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: spot-ocean-ocean-aws.createoceanclusteraws
      with:
        accountId: tools.accountId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: spot-list-ocean-clusters-aws
      description: Spot List Ocean Clusters (aws)
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: spot-ocean-ocean-aws.listoceanclustersaws
      with:
        accountId: tools.accountId
      outputParameters:
      - type: object
        mapping: $.
    - name: spot-get-ocean-cluster-aws
      description: Spot Get Ocean Cluster (aws)
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: spot-ocean-ocean-aws.getoceanclusteraws
      with:
        oceanClusterId: tools.oceanClusterId
        accountId: tools.accountId
      outputParameters:
      - type: object
        mapping: $.
    - name: spot-update-ocean-cluster-aws
      description: Spot Update Ocean Cluster (aws)
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: spot-ocean-ocean-aws.updateoceanclusteraws
      with:
        oceanClusterId: tools.oceanClusterId
        accountId: tools.accountId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: spot-delete-ocean-cluster-aws
      description: Spot Delete Ocean Cluster (aws)
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: spot-ocean-ocean-aws.deleteoceanclusteraws
      with:
        oceanClusterId: tools.oceanClusterId
        accountId: tools.accountId
      outputParameters:
      - type: object
        mapping: $.