Amazon Supply Chain Supply Chain Namespaces API

The Supply Chain Namespaces API from Amazon Supply Chain — 1 operation(s) for supply chain namespaces.

Operations 5

PUT /api/datalake/instance/{instanceId}/namespaces/{name} Create Data Lake Namespace #
GET /api/datalake/instance/{instanceId}/namespaces/{name} Get Data Lake Namespace #
PATCH /api/datalake/instance/{instanceId}/namespaces/{name} Update Data Lake Namespace #
DELETE /api/datalake/instance/{instanceId}/namespaces/{name} Delete Data Lake Namespace #
GET /api/datalake/instance/{instanceId}/namespaces List Data Lake Namespaces #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/amazon-supply-chain:amazon-supply-chain-namespaces-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

amazon-supply-chain-namespaces-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: AWS Supply Chain Namespaces API
  version: '2024-01-01'
  description: Generated from AWS's published Smithy model for AWS Supply Chain. 5 operation(s).
  contact:
    name: Amazon Web Services
    url: https://aws.amazon.com/contact-us/
  license:
    name: Apache 2.0
    identifier: Apache-2.0
    url: https://github.com/aws/api-models-aws/blob/main/LICENSE
servers:
- url: https://scn.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /api/datalake/instance/{instanceId}/namespaces/{name}:
    put:
      operationId: CreateDataLakeNamespace
      summary: Create Data Lake Namespace
      description: Enables you to programmatically create an Amazon Web Services Supply Chain data lake namespace. Developers
        can create the namespaces for a given instance ID.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateDataLakeNamespaceResponse'
              example:
                namespace:
                  arn: arn:aws:scn:us-east-1:012345678910:instance/1877dd20-dee9-4639-8e99-cb67acf21fe5/namespaces/my_namespace
                  instanceId: 1877dd20-dee9-4639-8e99-cb67acf21fe5
                  name: my_namespace
                  description: This is my AWS Supply Chain namespace
                  createdTime: 1736892560.751
                  lastModifiedTime: 1736892560.751
        '403':
          description: AccessDeniedException; AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '409':
          description: ConflictException; ConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConflictException'
        '500':
          description: InternalServerException; InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '402':
          description: ServiceQuotaExceededException; ServiceQuotaExceededException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceQuotaExceededException'
        '429':
          description: ThrottlingException; ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException; ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateDataLakeNamespaceRequest'
            example:
              instanceId: 1877dd20-dee9-4639-8e99-cb67acf21fe5
              name: my_namespace
              description: This is my AWS Supply Chain namespace
              tags:
                tagKey1: tagValue1
                tagKey2: tagValue2
      tags:
      - Namespaces
    get:
      operationId: GetDataLakeNamespace
      summary: Get Data Lake Namespace
      description: Enables you to programmatically view an Amazon Web Services Supply Chain data lake namespace. Developers
        can view the data lake namespace information such as description for a given instance ID and namespace name.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetDataLakeNamespaceResponse'
              example:
                namespace:
                  arn: arn:aws:scn:us-east-1:012345678910:instance/1877dd20-dee9-4639-8e99-cb67acf21fe5/namespaces/my_namespace
                  instanceId: 1877dd20-dee9-4639-8e99-cb67acf21fe5
                  name: my_namespace
                  description: This is my AWS Supply Chain namespace
                  createdTime: 1736892560.751
                  lastModifiedTime: 1736892560.751
        '403':
          description: AccessDeniedException; AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '500':
          description: InternalServerException; InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '404':
          description: ResourceNotFoundException; ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '429':
          description: ThrottlingException; ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException; ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
        '409':
          description: ConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConflictException'
        '402':
          description: ServiceQuotaExceededException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceQuotaExceededException'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GetDataLakeNamespaceRequest'
            example:
              instanceId: 1877dd20-dee9-4639-8e99-cb67acf21fe5
              name: my_namespace
      tags:
      - Namespaces
    patch:
      operationId: UpdateDataLakeNamespace
      summary: Update Data Lake Namespace
      description: Enables you to programmatically update an Amazon Web Services Supply Chain data lake namespace. Developers
        can update the description of a data lake namespace for a given instance ID and namespace name.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpdateDataLakeNamespaceResponse'
              example:
                namespace:
                  arn: arn:aws:scn:us-east-1:012345678910:instance/1877dd20-dee9-4639-8e99-cb67acf21fe5/namespaces/my_namespace
                  instanceId: 1877dd20-dee9-4639-8e99-cb67acf21fe5
                  name: my_namespace
                  description: This is an updated AWS Supply Chain namespace
                  createdTime: 1736892560.751
                  lastModifiedTime: 1736892586.156
        '403':
          description: AccessDeniedException; AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '500':
          description: InternalServerException; InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '404':
          description: ResourceNotFoundException; ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '429':
          description: ThrottlingException; ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException; ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
        '409':
          description: ConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConflictException'
        '402':
          description: ServiceQuotaExceededException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceQuotaExceededException'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateDataLakeNamespaceRequest'
            example:
              instanceId: 1877dd20-dee9-4639-8e99-cb67acf21fe5
              name: my_namespace
              description: This is an updated AWS Supply Chain namespace
      tags:
      - Namespaces
    delete:
      operationId: DeleteDataLakeNamespace
      summary: Delete Data Lake Namespace
      description: Enables you to programmatically delete an Amazon Web Services Supply Chain data lake namespace and its
        underling datasets. Developers can delete the existing namespaces for a given instance ID and namespace name.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteDataLakeNamespaceResponse'
              example:
                instanceId: 1877dd20-dee9-4639-8e99-cb67acf21fe5
                name: my_namespace
        '403':
          description: AccessDeniedException; AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '500':
          description: InternalServerException; InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '404':
          description: ResourceNotFoundException; ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '429':
          description: ThrottlingException; ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException; ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
        '409':
          description: ConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConflictException'
        '402':
          description: ServiceQuotaExceededException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceQuotaExceededException'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DeleteDataLakeNamespaceRequest'
            example:
              instanceId: 1877dd20-dee9-4639-8e99-cb67acf21fe5
              name: my_namespace
      tags:
      - Namespaces
  /api/datalake/instance/{instanceId}/namespaces:
    get:
      operationId: ListDataLakeNamespaces
      summary: List Data Lake Namespaces
      description: Enables you to programmatically view the list of Amazon Web Services Supply Chain data lake namespaces.
        Developers can view the namespaces and the corresponding information such as description for a given instance ID.
        Note that this API only return custom namespaces, instance pre-defined namespaces are not included.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListDataLakeNamespacesResponse'
              example:
                namespaces:
                - arn: arn:aws:scn:us-east-1:012345678910:instance/1877dd20-dee9-4639-8e99-cb67acf21fe5/namespaces/custom_namespace
                  instanceId: 1877dd20-dee9-4639-8e99-cb67acf21fe5
                  name: custom_namespace
                  createdTime: 1736892060.751
                  lastModifiedTime: 1736892060.751
                - arn: arn:aws:scn:us-east-1:012345678910:instance/1877dd20-dee9-4639-8e99-cb67acf21fe5/namespaces/my_namespace
                  instanceId: 1877dd20-dee9-4639-8e99-cb67acf21fe5
                  name: my_namespace
                  createdTime: 1736892560.751
                  lastModifiedTime: 1736892586.156
        '403':
          description: AccessDeniedException; AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '500':
          description: InternalServerException; InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '429':
          description: ThrottlingException; ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException; ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
        '409':
          description: ConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConflictException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '402':
          description: ServiceQuotaExceededException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceQuotaExceededException'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ListDataLakeNamespacesRequest'
            example:
              instanceId: 1877dd20-dee9-4639-8e99-cb67acf21fe5
      tags:
      - Namespaces
components:
  securitySchemes:
    sigv4:
      type: apiKey
      in: header
      name: Authorization
      description: AWS Signature Version 4. The Authorization header carries an AWS4-HMAC-SHA256 signature over the canonical
        request, with X-Amz-Date (and X-Amz-Security-Token for temporary credentials). Not a bearer token.
      x-aws-sigv4:
        signingName: scn
  schemas:
    AccessDeniedException:
      type: object
      properties:
        message:
          type: string
    ConflictException:
      type: object
      properties:
        message:
          type: string
    CreateDataLakeNamespaceRequest:
      type: object
      properties:
        instanceId:
          type: string
          description: The Amazon Web Services Supply Chain instance identifier.
        name:
          type: string
          description: The name of the namespace. Noted you cannot create namespace with name starting with asc, default,
            scn, aws, amazon, amzn
        description:
          type: string
          description: The description of the namespace.
        tags:
          type: object
          additionalProperties:
            type: string
          description: The tags of the namespace.
      required:
      - instanceId
      - name
    CreateDataLakeNamespaceResponse:
      type: object
      properties:
        namespace:
          $ref: '#/components/schemas/DataLakeNamespace'
      required:
      - namespace
    DataLakeNamespace:
      type: object
      properties:
        instanceId:
          type: string
          description: The Amazon Web Services Supply Chain instance identifier.
        name:
          type: string
          description: The name of the namespace.
        arn:
          type: string
          description: The arn of the namespace.
        description:
          type: string
          description: The description of the namespace.
        createdTime:
          type: string
          description: The creation time of the namespace.
        lastModifiedTime:
          type: string
          description: The last modified time of the namespace.
      required:
      - instanceId
      - name
      - arn
      - createdTime
      - lastModifiedTime
    DeleteDataLakeNamespaceRequest:
      type: object
      properties:
        instanceId:
          type: string
          description: The AWS Supply Chain instance identifier.
        name:
          type: string
          description: The name of the namespace. Noted you cannot delete pre-defined namespace like asc, default which are
            only deleted through instance deletion.
      required:
      - instanceId
      - name
    DeleteDataLakeNamespaceResponse:
      type: object
      properties:
        instanceId:
          type: string
          description: The AWS Supply Chain instance identifier.
        name:
          type: string
          description: The name of deleted namespace.
      required:
      - instanceId
      - name
    GetDataLakeNamespaceRequest:
      type: object
      properties:
        instanceId:
          type: string
          description: The Amazon Web Services Supply Chain instance identifier.
        name:
          type: string
          description: 'The name of the namespace. Besides the namespaces user created, you can also specify the pre-defined
            namespaces: asc - Pre-defined namespace containing Amazon Web Services Supply Chain supported datasets, see https://docs.aws.amazon.com/aws-supply-chain/latest/userguide/data-model-asc.html.
            default - Pre-defined namespace containing datasets with custom user-defined schemas.'
      required:
      - instanceId
      - name
    GetDataLakeNamespaceResponse:
      type: object
      properties:
        namespace:
          $ref: '#/components/schemas/DataLakeNamespace'
      required:
      - namespace
    InternalServerException:
      type: object
      properties:
        message:
          type: string
    ListDataLakeNamespacesRequest:
      type: object
      properties:
        instanceId:
          type: string
          description: The Amazon Web Services Supply Chain instance identifier.
        nextToken:
          type: string
          description: The pagination token to fetch next page of namespaces.
        maxResults:
          type: integer
          description: The max number of namespaces to fetch in this paginated request.
      required:
      - instanceId
    ListDataLakeNamespacesResponse:
      type: object
      properties:
        namespaces:
          type: array
          items:
            $ref: '#/components/schemas/DataLakeNamespace'
          description: The list of fetched namespace details. Noted it only contains custom namespaces, pre-defined namespaces
            are not included.
        nextToken:
          type: string
          description: The pagination token to fetch next page of namespaces.
      required:
      - namespaces
    ResourceNotFoundException:
      type: object
      properties:
        message:
          type: string
    ServiceQuotaExceededException:
      type: object
      properties:
        message:
          type: string
    ThrottlingException:
      type: object
      properties:
        message:
          type: string
    UpdateDataLakeNamespaceRequest:
      type: object
      properties:
        instanceId:
          type: string
          description: The Amazon Web Services Chain instance identifier.
        name:
          type: string
          description: The name of the namespace. Noted you cannot update namespace with name starting with asc, default,
            scn, aws, amazon, amzn
        description:
          type: string
          description: The updated description of the data lake namespace.
      required:
      - instanceId
      - name
    UpdateDataLakeNamespaceResponse:
      type: object
      properties:
        namespace:
          $ref: '#/components/schemas/DataLakeNamespace'
      required:
      - namespace
    ValidationException:
      type: object
      properties:
        message:
          type: string
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/582e55931c45b944739742a2c1620b6026dd2d13/models/supplychain/service/2024-01-01/supplychain-2024-01-01.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)