Amazon Bedrock Bedrock Vpcconfigurations API

The Bedrock Vpcconfigurations API from Amazon Bedrock — 2 operation(s) for bedrock vpcconfigurations.

GitHub OpenAPI

Operations 4

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /knowledgebases/{knowledgeBaseId}/vpcconfigurations/ Connect a knowledge base to a VPC resource · Create Vpc Configuration #
Ask an LLM
“How do I let a knowledge base reach a private resource in my VPC?”
“Can I choose the protocol and port the knowledge base uses to connect to my VPC resource?”
Tell an agent
Create a VPC configuration {name} for knowledge base {knowledgeBaseId} on VPC {vpcId}, subnets {subnetIds}, port {port}, protocol {protocol}, target {resourceTarget}, resolution mode {resolutionMode}.
Connect {knowledgeBaseId} to {resourceTarget} on {port} via {vpcId} with subnets {subnetIds}, protocol {protocol}, resolution {resolutionMode}.
GET /knowledgebases/{knowledgeBaseId}/vpcconfigurations/ List VPC configurations for a knowledge base · List Vpc Configurations #
Ask an LLM
“Which VPC configurations does my knowledge base connect through?”
“Can I list only the VPC configurations with a particular status?”
Tell an agent
List VPC configurations for knowledge base {knowledgeBaseId}.
Show VPC configurations for {knowledgeBaseId} with status {status}.
DELETE /knowledgebases/{knowledgeBaseId}/vpcconfigurations/{vpcConfigurationId} Delete a VPC configuration · Delete Vpc Configuration #
Ask an LLM
“How do I disconnect a knowledge base from a VPC resource?”
“Can I delete a VPC configuration that is still deleting?”
Tell an agent destructive · confirm first
Delete VPC configuration {vpcConfigurationId} from knowledge base {knowledgeBaseId}.
Remove the VPC connection {vpcConfigurationId} on {knowledgeBaseId}.
GET /knowledgebases/{knowledgeBaseId}/vpcconfigurations/{vpcConfigurationId} Get a VPC configuration's status · Get Vpc Configuration #
Ask an LLM
“Is my VPC configuration still creating or has it failed?”
“What status is a particular VPC configuration in?”
Tell an agent
Get VPC configuration {vpcConfigurationId} for knowledge base {knowledgeBaseId}.
Check the status of VPC configuration {vpcConfigurationId} on {knowledgeBaseId}.

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-bedrock:amazon-bedrock-vpcconfigurations-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-bedrock-vpcconfigurations-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Amazon Bedrock Vpcconfigurations API
  version: '2023-04-20'
  description: Generated from AWS's published Smithy model for Amazon Bedrock. 4 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://bedrock-agent.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /knowledgebases/{knowledgeBaseId}/vpcconfigurations/:
    post:
      operationId: CreateVpcConfiguration
      summary: Create Vpc Configuration
      description: 'Creates a VPC configuration that lets a knowledge base connect to a resource in your private VPC. This
        operation is asynchronous: it returns a vpcConfigurationId with status CREATING. Poll GetVpcConfiguration until the
        status becomes CREATED or CREATE_FAILED.'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateVpcConfigurationResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '409':
          description: ConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConflictException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '402':
          description: ServiceQuotaExceededException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceQuotaExceededException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BedrockAgentValidationException'
      parameters:
      - name: knowledgeBaseId
        in: path
        required: true
        schema:
          type: string
        description: The unique identifier of the knowledge base to associate this VPC configuration with.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                clientToken:
                  type: string
                  description: A unique, case-sensitive identifier to ensure that the operation completes no more than one
                    time. If this token matches a previous request, the service ignores the request but does not return an
                    error.
                vpcId:
                  type: string
                  description: The identifier of the VPC that the knowledge base connects through to reach the resource.
                subnetIds:
                  type: array
                  items:
                    type: string
                  description: The subnets, in the VPC identified by vpcId, that the knowledge base uses to connect to the
                    resource.
                resourceTarget:
                  type: string
                  description: 'The private IPv4 address or DNS name of the resource you want the knowledge base to reach.
                    The target must be privately reachable from inside your VPC, such as an internal load balancer or a private
                    IP. The following are not supported: Internet-facing endpoints Loopback addresses Link-local addresses
                    Wildcard addresses Multicast addresses IPv6 literals'
                port:
                  type: integer
                  description: The port on which to reach the resource.
                protocol:
                  type: string
                  enum:
                  - HTTP
                  - HTTPS
                  description: The protocol used to connect to the resource. Specify HTTP for plaintext or HTTPS for TLS.
                    When you specify HTTPS, you must also provide tlsServerName.
                resolutionMode:
                  type: string
                  enum:
                  - PUBLIC
                  - IN_VPC
                  description: 'Controls how a domain-name resourceTarget is resolved. This applies only when the target is
                    a domain name; it has no effect for IP-address targets, which have no name to resolve. In all cases the
                    resolved address must be reachable from inside your VPC. Valid values: IN_VPC (default, recommended) –
                    The target domain name is resolved privately, using the DNS resolvers of the VPC, such as private Route
                    53 hosted zones or on-premises DNS reachable from the VPC. Use this for targets that are private to your
                    VPC, such as internal load balancers, private hosted-zone names, or on-premises hosts. PUBLI'
                hostHeader:
                  type: string
                  description: An optional HTTP Host header value to send when invoking the resource. Set this only if your
                    resource (or an upstream router or ingress) routes by the Host header and that host differs from the target.
                    This setting is independent of tlsServerName.
                tlsServerName:
                  type: string
                  description: The expected TLS server name. The service matches this value against the Subject Alternative
                    Names on your resource's TLS certificate during invocation. This field is required when protocol is HTTPS.
                    Set it to a hostname on your certificate, such as app.internal.example.com. You can use a single leftmost
                    wildcard, such as *.example.com. The value must be a hostname without a port.
                name:
                  type: string
                  description: An optional human-readable name for the VPC configuration. If you don't specify a name, the
                    VPC configuration has no name.
                description:
                  type: string
                  description: An optional description of the VPC configuration. If you don't specify a description, the VPC
                    configuration has no description.
              required:
              - vpcId
              - subnetIds
              - resourceTarget
              - port
              - protocol
              - resolutionMode
      tags:
      - Vpcconfigurations
    get:
      operationId: ListVpcConfigurations
      summary: List Vpc Configurations
      description: Returns a paginated list of the VPC configurations for a knowledge base. You can optionally filter by status.
        Use the nextToken parameter to retrieve additional results.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListVpcConfigurationsResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BedrockAgentValidationException'
      parameters:
      - name: knowledgeBaseId
        in: path
        required: true
        schema:
          type: string
        description: The unique identifier of the knowledge base whose VPC configurations you want to list.
      - name: status
        in: query
        schema:
          type: string
          enum:
          - CREATING
          - CREATED
          - DELETING
          - CREATE_FAILED
          - DELETE_FAILED
        description: The status to filter the results by. Only VPC configurations with the specified status are returned.
      - name: maxResults
        in: query
        schema:
          type: integer
        description: The maximum number of results to return in the response. If more results are available, the response
          returns a nextToken.
      - name: nextToken
        in: query
        schema:
          type: string
        description: A pagination token to retrieve the next page of results, returned in a previous response when more results
          are available.
      tags:
      - Vpcconfigurations
  /knowledgebases/{knowledgeBaseId}/vpcconfigurations/{vpcConfigurationId}:
    delete:
      operationId: DeleteVpcConfiguration
      summary: Delete Vpc Configuration
      description: 'Deletes a VPC configuration. This operation is asynchronous: it returns status DELETING. Poll GetVpcConfiguration
        until it returns a ResourceNotFoundException, indicating the configuration is deleted. Delete requests are idempotent
        and safe to retry.'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteVpcConfigurationResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '409':
          description: ConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConflictException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BedrockAgentValidationException'
      parameters:
      - name: knowledgeBaseId
        in: path
        required: true
        schema:
          type: string
        description: The unique identifier of the knowledge base that owns the VPC configuration.
      - name: vpcConfigurationId
        in: path
        required: true
        schema:
          type: string
        description: The unique identifier of the VPC configuration to delete.
      tags:
      - Vpcconfigurations
    get:
      operationId: GetVpcConfiguration
      summary: Get Vpc Configuration
      description: Returns the details and current status of a single VPC configuration. Use this operation to poll for the
        outcome of an asynchronous create or delete.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetVpcConfigurationResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BedrockAgentValidationException'
      parameters:
      - name: knowledgeBaseId
        in: path
        required: true
        schema:
          type: string
        description: The unique identifier of the knowledge base that owns the VPC configuration.
      - name: vpcConfigurationId
        in: path
        required: true
        schema:
          type: string
        description: The unique identifier of the VPC configuration to retrieve.
      tags:
      - Vpcconfigurations
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: bedrock
  schemas:
    AccessDeniedException:
      type: object
      properties:
        message:
          type: string
    BedrockAgentValidationException:
      type: object
      properties:
        message:
          type: string
        fieldList:
          type: array
          items:
            $ref: '#/components/schemas/ValidationExceptionField'
          description: A list of objects containing fields that caused validation errors and their corresponding validation
            error messages.
    ConflictException:
      type: object
      properties:
        message:
          type: string
    CreateVpcConfigurationResponse:
      type: object
      properties:
        vpcConfigurationId:
          type: string
          description: The unique identifier of the VPC configuration that was created.
        status:
          type: string
          enum:
          - CREATING
          - CREATED
          - DELETING
          - CREATE_FAILED
          - DELETE_FAILED
          description: The current status of the VPC configuration. Immediately after creation this is CREATING.
      required:
      - vpcConfigurationId
      - status
    DeleteVpcConfigurationResponse:
      type: object
      properties:
        vpcConfigurationId:
          type: string
          description: The unique identifier of the VPC configuration being deleted.
        status:
          type: string
          enum:
          - CREATING
          - CREATED
          - DELETING
          - CREATE_FAILED
          - DELETE_FAILED
          description: The current status of the VPC configuration. Immediately after a delete request this is DELETING.
      required:
      - vpcConfigurationId
      - status
    GetVpcConfigurationResponse:
      type: object
      properties:
        vpcConfiguration:
          $ref: '#/components/schemas/VpcConfiguration'
      required:
      - vpcConfiguration
    InternalServerException:
      type: object
      properties:
        message:
          type: string
    ListVpcConfigurationsResponse:
      type: object
      properties:
        items:
          type: array
          items:
            $ref: '#/components/schemas/VpcConfigurationSummary'
          description: A list of VPC configuration summaries.
        nextToken:
          type: string
          description: A pagination token to retrieve the next page of results, present when the total number of results exceeds
            the maximum number of results.
      required:
      - items
    ResourceNotFoundException:
      type: object
      properties:
        message:
          type: string
    ServiceQuotaExceededException:
      type: object
      properties:
        message:
          type: string
    ThrottlingException:
      type: object
      properties:
        message:
          type: string
    ValidationExceptionField:
      type: object
      properties:
        name:
          type: string
          description: The name of the field.
        message:
          type: string
          description: A message describing why this field failed validation.
      required:
      - name
      - message
    VpcConfiguration:
      type: object
      properties:
        vpcConfigurationId:
          type: string
          description: The unique identifier of the VPC configuration.
        status:
          type: string
          enum:
          - CREATING
          - CREATED
          - DELETING
          - CREATE_FAILED
          - DELETE_FAILED
          description: The current lifecycle status of the VPC configuration.
        statusMessage:
          type: string
          description: Additional detail about the current status, such as the cause of a CREATE_FAILED or DELETE_FAILED status.
        vpcId:
          type: string
          description: The identifier of the VPC that the knowledge base connects through to reach the resource.
        subnetIds:
          type: array
          items:
            type: string
          description: The subnets that the knowledge base uses to connect to the resource.
        resourceTarget:
          type: string
          description: The private IPv4 address or DNS name of the resource.
        port:
          type: integer
          description: The port on which the resource is reached.
        protocol:
          type: string
          enum:
          - HTTP
          - HTTPS
          description: The protocol used to connect to the resource.
        resolutionMode:
          type: string
          enum:
          - PUBLIC
          - IN_VPC
          description: Specifies how the resource target is resolved.
        hostHeader:
          type: string
          description: The HTTP Host header value sent when invoking the resource, if configured.
        tlsServerName:
          type: string
          description: The expected TLS server name that the service matches against the Subject Alternative Names on the
            resource's TLS certificate. Present when protocol is HTTPS.
        name:
          type: string
          description: The human-readable name of the VPC configuration, if provided.
        description:
          type: string
          description: The description of the VPC configuration, if provided.
        createdAt:
          type: string
          format: date-time
          description: The time at which the VPC configuration was created.
        updatedAt:
          type: string
          format: date-time
          description: The time at which the VPC configuration was last updated.
      required:
      - vpcConfigurationId
      - status
      - vpcId
      - subnetIds
      - resourceTarget
      - port
      - protocol
      - resolutionMode
      - createdAt
      - updatedAt
    VpcConfigurationSummary:
      type: object
      properties:
        vpcConfigurationId:
          type: string
          description: The unique identifier of the VPC configuration.
        status:
          type: string
          enum:
          - CREATING
          - CREATED
          - DELETING
          - CREATE_FAILED
          - DELETE_FAILED
          description: The current lifecycle status of the VPC configuration.
        statusMessage:
          type: string
          description: Additional detail about the current status, such as the cause of a failure.
        vpcId:
          type: string
          description: The identifier of the VPC that the knowledge base connects through to reach the resource.
        resourceTarget:
          type: string
          description: The private IPv4 address or DNS name of the resource.
        port:
          type: integer
          description: The port on which the resource is reached.
        protocol:
          type: string
          enum:
          - HTTP
          - HTTPS
          description: The protocol used to connect to the resource.
        resolutionMode:
          type: string
          enum:
          - PUBLIC
          - IN_VPC
          description: Specifies how the resource target is resolved.
        hostHeader:
          type: string
          description: The HTTP Host header value sent when invoking the resource, if configured.
        tlsServerName:
          type: string
          description: The expected TLS server name that the service matches against the Subject Alternative Names on the
            resource's TLS certificate. Present when protocol is HTTPS.
        name:
          type: string
          description: The human-readable name of the VPC configuration, if provided.
        description:
          type: string
          description: The description of the VPC configuration, if provided.
        createdAt:
          type: string
          format: date-time
          description: The time at which the VPC configuration was created.
      required:
      - vpcConfigurationId
      - status
      - vpcId
      - resourceTarget
      - port
      - protocol
      - resolutionMode
      - createdAt
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/bedrock-agent/service/2023-06-05/bedrock-agent-2023-06-05.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)