Amazon B2B Data Interchange Profiles API

Manage customer profiles representing private networks

GitHub OpenAPI

Operations 5

POST /#CreateProfile Create Profile #
POST /#GetProfile Get Profile #
POST /#UpdateProfile Update Profile #
POST /#DeleteProfile Delete Profile #
POST /#ListProfiles List Profiles #

Documentation

Specifications

Schemas & Data

Other Resources

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-b2b-data-interchange:amazon-b2b-data-interchange-profiles-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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

amazon-b2b-data-interchange-profiles-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: AWS B2B Data Interchange Profiles API
  version: '2022-06-23'
  description: Generated from AWS's published Smithy model for AWS B2B Data Interchange. 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://b2bi.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /#CreateProfile:
    post:
      operationId: CreateProfile
      summary: Create Profile
      description: Creates a customer profile. You can have up to five customer profiles, each representing a distinct private
        network. A profile is the mechanism used to create the concept of a private network.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/CreateProfileResponse'
              example:
                businessName: John's Trucking
                createdAt: '2023-11-01T21:51:05.504Z'
                email: john@example.com
                logging: ENABLED
                logGroupName: b2bi/p-60fbc37c87f04fce9-Logs
                name: Shipping Profile
                phone: '5555555555'
                profileArn: arn:aws:b2bi:us-west-2:123456789012:profile/p-60fbc37c87f04fce9
                profileId: p-60fbc37c87f04fce9
        '403':
          description: AccessDeniedException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '409':
          description: ConflictException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/ConflictException'
        '500':
          description: InternalServerException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '402':
          description: ServiceQuotaExceededException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/ServiceQuotaExceededException'
        '429':
          description: ThrottlingException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/ValidationException'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - B2BI.CreateProfile
      requestBody:
        required: true
        content:
          application/x-amz-json-1.0:
            schema:
              $ref: '#/components/schemas/CreateProfileRequest'
            example:
              businessName: John's Shipping
              clientToken: foo
              email: john@example.com
              logging: ENABLED
              name: Shipping Profile
              phone: '5555555555'
              tags:
              - Key: sampleKey
                Value: sampleValue
      tags:
      - Profiles
  /#GetProfile:
    post:
      operationId: GetProfile
      summary: Get Profile
      description: Retrieves the details for the profile specified by the profile ID. A profile is the mechanism used to create
        the concept of a private network.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/GetProfileResponse'
              example:
                businessName: John's Trucking
                createdAt: '2023-11-01T21:51:05.504Z'
                email: john@example.com
                logging: ENABLED
                logGroupName: b2bi/p-60fbc37c87f04fce9-Logs
                name: Shipping Profile
                phone: '5555555555'
                profileArn: arn:aws:b2bi:us-west-2:123456789012:profile/p-60fbc37c87f04fce9
                profileId: p-60fbc37c87f04fce9
        '403':
          description: AccessDeniedException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '500':
          description: InternalServerException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/ValidationException'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - B2BI.GetProfile
      requestBody:
        required: true
        content:
          application/x-amz-json-1.0:
            schema:
              $ref: '#/components/schemas/GetProfileRequest'
            example:
              profileId: p-60fbc37c87f04fce9
      tags:
      - Profiles
  /#UpdateProfile:
    post:
      operationId: UpdateProfile
      summary: Update Profile
      description: Updates the specified parameters for a profile. A profile is the mechanism used to create the concept of
        a private network.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/UpdateProfileResponse'
              example:
                businessName: John's Trucking
                createdAt: '2023-11-01T21:51:05.504Z'
                email: john@example.com
                logging: ENABLED
                logGroupName: b2bi/p-60fbc37c87f04fce9-Logs
                modifiedAt: '2023-11-02T21:51:05.504Z'
                name: Shipping Profile
                phone: '5555555555'
                profileArn: arn:aws:b2bi:us-west-2:123456789012:profile/p-60fbc37c87f04fce9
                profileId: p-60fbc37c87f04fce9
        '403':
          description: AccessDeniedException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '409':
          description: ConflictException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/ConflictException'
        '500':
          description: InternalServerException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '402':
          description: ServiceQuotaExceededException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/ServiceQuotaExceededException'
        '429':
          description: ThrottlingException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/ValidationException'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - B2BI.UpdateProfile
      requestBody:
        required: true
        content:
          application/x-amz-json-1.0:
            schema:
              $ref: '#/components/schemas/UpdateProfileRequest'
            example:
              businessName: John's Shipping
              email: john@example.com
              name: Shipping Profile
              phone: '5555555555'
              profileId: p-60fbc37c87f04fce9
      tags:
      - Profiles
  /#DeleteProfile:
    post:
      operationId: DeleteProfile
      summary: Delete Profile
      description: Deletes the specified profile. A profile is the mechanism used to create the concept of a private network.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.0:
              schema:
                type: string
        '403':
          description: AccessDeniedException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '409':
          description: ConflictException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/ConflictException'
        '500':
          description: InternalServerException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/ValidationException'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - B2BI.DeleteProfile
      requestBody:
        required: true
        content:
          application/x-amz-json-1.0:
            schema:
              $ref: '#/components/schemas/DeleteProfileRequest'
            example:
              profileId: p-60fbc37c87f04fce9
      tags:
      - Profiles
  /#ListProfiles:
    post:
      operationId: ListProfiles
      summary: List Profiles
      description: Lists the profiles associated with your Amazon Web Services account for your current or specified region.
        A profile is the mechanism used to create the concept of a private network.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/ListProfilesResponse'
              example:
                nextToken: foo
                profiles:
                - businessName: John's Trucking
                  createdAt: '2023-11-01T21:51:05.504Z'
                  logging: ENABLED
                  logGroupName: b2bi/p-60fbc37c87f04fce9-Logs
                  name: Shipping Profile
                  profileId: p-60fbc37c87f04fce9
        '403':
          description: AccessDeniedException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '500':
          description: InternalServerException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '429':
          description: ThrottlingException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/ValidationException'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - B2BI.ListProfiles
      requestBody:
        required: true
        content:
          application/x-amz-json-1.0:
            schema:
              $ref: '#/components/schemas/ListProfilesRequest'
            example:
              maxResults: 50
              nextToken: foo
      tags:
      - Profiles
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: b2bi
  schemas:
    AccessDeniedException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    ConflictException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    CreateProfileRequest:
      type: object
      properties:
        name:
          type: string
          description: Specifies the name of the profile.
        email:
          type: string
          description: Specifies the email address associated with this customer profile.
        phone:
          type: string
          description: Specifies the phone number associated with the profile.
        businessName:
          type: string
          description: Specifies the name for the business associated with this profile.
        logging:
          type: string
          enum:
          - ENABLED
          - DISABLED
          description: Specifies whether or not logging is enabled for this profile.
        clientToken:
          type: string
          description: Reserved for future use.
        tags:
          type: array
          items:
            $ref: '#/components/schemas/Tag'
          description: Specifies the key-value pairs assigned to ARNs that you can use to group and search for resources by
            type. You can attach this metadata to resources (capabilities, partnerships, and so on) for any purpose.
      required:
      - name
      - phone
      - businessName
      - logging
    CreateProfileResponse:
      type: object
      properties:
        profileId:
          type: string
          description: Returns the unique, system-generated identifier for the profile.
        profileArn:
          type: string
          description: Returns an Amazon Resource Name (ARN) for the profile.
        name:
          type: string
          description: Returns the name of the profile, used to identify it.
        businessName:
          type: string
          description: Returns the name for the business associated with this profile.
        phone:
          type: string
          description: Returns the phone number associated with the profile.
        email:
          type: string
          description: Returns the email address associated with this customer profile.
        logging:
          type: string
          enum:
          - ENABLED
          - DISABLED
          description: Returns whether or not logging is turned on for this profile.
        logGroupName:
          type: string
          description: Returns the name of the logging group.
        createdAt:
          type: string
          format: date-time
          description: Returns a timestamp representing the time the profile was created.
      required:
      - profileId
      - profileArn
      - name
      - businessName
      - phone
      - createdAt
    DeleteProfileRequest:
      type: object
      properties:
        profileId:
          type: string
          description: Specifies the unique, system-generated identifier for the profile.
      required:
      - profileId
    GetProfileRequest:
      type: object
      properties:
        profileId:
          type: string
          description: Specifies the unique, system-generated identifier for the profile.
      required:
      - profileId
    GetProfileResponse:
      type: object
      properties:
        profileId:
          type: string
          description: Returns the unique, system-generated identifier for the profile.
        profileArn:
          type: string
          description: Returns an Amazon Resource Name (ARN) for a specific Amazon Web Services resource, such as a capability,
            partnership, profile, or transformer.
        name:
          type: string
          description: Returns the name of the profile, used to identify it.
        email:
          type: string
          description: Returns the email address associated with this customer profile.
        phone:
          type: string
          description: Returns the phone number associated with the profile.
        businessName:
          type: string
          description: Returns the name for the business associated with this profile.
        logging:
          type: string
          enum:
          - ENABLED
          - DISABLED
          description: Returns whether or not logging is enabled for this profile.
        logGroupName:
          type: string
          description: Returns the name of the logging group.
        createdAt:
          type: string
          format: date-time
          description: Returns a timestamp for creation date and time of the transformer.
        modifiedAt:
          type: string
          format: date-time
          description: Returns a timestamp for last time the profile was modified.
      required:
      - profileId
      - profileArn
      - name
      - phone
      - businessName
      - createdAt
    InternalServerException:
      type: object
      properties:
        message:
          type: string
        retryAfterSeconds:
          type: integer
          description: The server attempts to retry a failed command.
      required:
      - message
    ListProfilesRequest:
      type: object
      properties:
        nextToken:
          type: string
          description: When additional results are obtained from the command, a NextToken parameter is returned in the output.
            You can then pass the NextToken parameter in a subsequent command to continue listing additional resources.
        maxResults:
          type: integer
          description: Specifies the maximum number of profiles to return.
    ListProfilesResponse:
      type: object
      properties:
        profiles:
          type: array
          items:
            $ref: '#/components/schemas/ProfileSummary'
          description: Returns an array of ProfileSummary objects.
        nextToken:
          type: string
          description: When additional results are obtained from the command, a NextToken parameter is returned in the output.
            You can then pass the NextToken parameter in a subsequent command to continue listing additional resources.
      required:
      - profiles
    ProfileSummary:
      type: object
      properties:
        profileId:
          type: string
          description: Returns the unique, system-generated identifier for the profile.
        name:
          type: string
          description: Returns the display name for profile.
        businessName:
          type: string
          description: Returns the name for the business associated with this profile.
        logging:
          type: string
          enum:
          - ENABLED
          - DISABLED
          description: Specifies whether or not logging is enabled for this profile.
        logGroupName:
          type: string
          description: Returns the name of the logging group.
        createdAt:
          type: string
          format: date-time
          description: Returns the timestamp for creation date and time of the profile.
        modifiedAt:
          type: string
          format: date-time
          description: Returns the timestamp that identifies the most recent date and time that the profile was modified.
      required:
      - profileId
      - name
      - businessName
      - createdAt
    ResourceNotFoundException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    ServiceQuotaExceededException:
      type: object
      properties:
        message:
          type: string
        resourceId:
          type: string
          description: The ID for the resource that exceeded the quota, which caused the exception.
        resourceType:
          type: string
          description: The resource type (profile, partnership, transformer, or capability) that exceeded the quota, which
            caused the exception.
        serviceCode:
          type: string
          description: The code responsible for exceeding the quota, which caused the exception.
        quotaCode:
          type: string
          description: The quota that was exceeded, which caused the exception.
      required:
      - message
      - resourceId
      - resourceType
      - serviceCode
      - quotaCode
    Tag:
      type: object
      properties:
        Key:
          type: string
          description: Specifies the name assigned to the tag that you create.
        Value:
          type: string
          description: Contains one or more values that you assigned to the key name that you create.
      required:
      - Key
      - Value
    ThrottlingException:
      type: object
      properties:
        message:
          type: string
        retryAfterSeconds:
          type: integer
          description: The server attempts to retry a command that was throttled.
      required:
      - message
    UpdateProfileRequest:
      type: object
      properties:
        profileId:
          type: string
          description: Specifies the unique, system-generated identifier for the profile.
        name:
          type: string
          description: The name of the profile, used to identify it.
        email:
          type: string
          description: Specifies the email address associated with this customer profile.
        phone:
          type: string
          description: Specifies the phone number associated with the profile.
        businessName:
          type: string
          description: Specifies the name for the business associated with this profile.
      required:
      - profileId
    UpdateProfileResponse:
      type: object
      properties:
        profileId:
          type: string
          description: Returns the unique, system-generated identifier for the profile.
        profileArn:
          type: string
          description: Returns an Amazon Resource Name (ARN) for the profile.
        name:
          type: string
          description: Returns the name of the profile.
        email:
          type: string
          description: Returns the email address associated with this customer profile.
        phone:
          type: string
          description: Returns the phone number associated with the profile.
        businessName:
          type: string
          description: Returns the name for the business associated with this profile.
        logging:
          type: string
          enum:
          - ENABLED
          - DISABLED
          description: Specifies whether or not logging is enabled for this profile.
        logGroupName:
          type: string
          description: Returns the name of the logging group.
        createdAt:
          type: string
          format: date-time
          description: Returns a timestamp for creation date and time of the profile.
        modifiedAt:
          type: string
          format: date-time
          description: Returns a timestamp for last time the profile was modified.
      required:
      - profileId
      - profileArn
      - name
      - phone
      - businessName
      - createdAt
    ValidationException:
      type: object
      properties:
        Message:
          type: string
      required:
      - Message
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/b2bi/service/2022-06-23/b2bi-2022-06-23.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)