Amazon Bedrock Bedrock Policy Engines API

The Bedrock Policy Engines API from Amazon Bedrock — 2 operation(s) for bedrock policy engines.

GitHub OpenAPI

Operations 5

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 /policy-engines Create a policy engine · Create Policy Engine #
Ask an LLM
“How do I create a policy engine to authorize agent tool calls?”
“Can I encrypt a new policy engine with a KMS key?”
Tell an agent
Create a policy engine named {name}.
Create policy engine {name} described as {description} using KMS key {encryptionKeyArn}.
GET /policy-engines List policy engines · List Policy Engines #
Ask an LLM
“Which policy engines exist in my AgentCore Policy account?”
“Can I page through all policy engines?”
Tell an agent
List my policy engines.
Show the next {maxResults} policy engines after token {nextToken}.
GET /policy-engines/{policyEngineId} Get a policy engine · Get Policy Engine #
Ask an LLM
“What is the current status of a policy engine?”
“Can I read one policy engine's full configuration?”
Tell an agent
Get policy engine {policyEngineId}.
Show the status of policy engine {policyEngineId}.
PATCH /policy-engines/{policyEngineId} Update a policy engine's description · Update Policy Engine #
Ask an LLM
“Can I change the description of an existing policy engine?”
“Is it possible to rename a policy engine after creation?”
Tell an agent
Update policy engine {policyEngineId} with the description {description}.
Change the description of policy engine {policyEngineId} to {description}.
DELETE /policy-engines/{policyEngineId} Delete a policy engine · Delete Policy Engine #
Ask an LLM
“How do I delete a policy engine I no longer use?”
“Can I remove a policy engine that still has policies attached?”
Tell an agent destructive · confirm first
Delete policy engine {policyEngineId}.
Remove the unused policy engine {policyEngineId}.

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-policy-engines-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-policy-engines-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Amazon Bedrock Policy Engines API
  version: '2023-04-20'
  description: Generated from AWS's published Smithy model for Amazon Bedrock. 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://bedrock-agentcore-control.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /policy-engines:
    post:
      operationId: CreatePolicyEngine
      summary: Create Policy Engine
      description: Creates a new policy engine within the AgentCore Policy system. A policy engine is a collection of policies
        that evaluates and authorizes agent tool calls. When associated with Gateways (each Gateway can be associated with
        at most one policy engine, but multiple Gateways can be associated with the same engine), the policy engine intercepts
        all agent requests and determines whether to allow or deny each action based on the defined policies. This is an asynchronous
        operation. Use the GetPolicyEngine operation to poll the status field to track completion.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreatePolicyEngineResponse'
        '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'
        '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/BedrockAgentcoreControlValidationException'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  description: The customer-assigned immutable name for the policy engine. This name identifies the policy
                    engine and cannot be changed after creation.
                description:
                  type: string
                  description: A human-readable description of the policy engine's purpose and scope (1-4,096 characters).
                    This helps administrators understand the policy engine's role in the overall governance strategy. Document
                    which Gateway this engine will be associated with, what types of tools or workflows it governs, and the
                    team or service responsible for maintaining it. Clear descriptions are essential when managing multiple
                    policy engines across different services or environments.
                clientToken:
                  type: string
                  description: A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
                    If you retry a request with the same client token, the service returns the same response without creating
                    a duplicate policy engine.
                encryptionKeyArn:
                  type: string
                  description: The Amazon Resource Name (ARN) of the KMS key used to encrypt the policy engine data.
                tags:
                  type: object
                  additionalProperties:
                    type: string
                  description: A map of tag keys and values to assign to an AgentCore Policy. Tags enable you to categorize
                    your resources in different ways, for example, by purpose, owner, or environment.
              required:
              - name
      tags:
      - Policy Engines
    get:
      operationId: ListPolicyEngines
      summary: List Policy Engines
      description: Retrieves a list of policy engines within the AgentCore Policy system. This operation supports pagination
        to help administrators discover and manage policy engines across their account. Each policy engine serves as a container
        for related policies.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListPolicyEnginesResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BedrockAgentcoreControlValidationException'
      parameters:
      - name: nextToken
        in: query
        schema:
          type: string
        description: A pagination token returned from a previous ListPolicyEngines call. Use this token to retrieve the next
          page of results when the response is paginated.
      - name: maxResults
        in: query
        schema:
          type: integer
        description: The maximum number of policy engines to return in a single response. If not specified, the default is
          10 policy engines per page, with a maximum of 100 per page.
      tags:
      - Policy Engines
  /policy-engines/{policyEngineId}:
    get:
      operationId: GetPolicyEngine
      summary: Get Policy Engine
      description: Retrieves detailed information about a specific policy engine within the AgentCore Policy system. This
        operation returns the complete policy engine configuration, metadata, and current status, allowing administrators
        to review and manage policy engine settings.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetPolicyEngineResponse'
        '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/BedrockAgentcoreControlValidationException'
      parameters:
      - name: policyEngineId
        in: path
        required: true
        schema:
          type: string
        description: The unique identifier of the policy engine to be retrieved. This must be a valid policy engine ID that
          exists within the account.
      tags:
      - Policy Engines
    patch:
      operationId: UpdatePolicyEngine
      summary: Update Policy Engine
      description: Updates an existing policy engine within the AgentCore Policy system. This operation allows modification
        of the policy engine description while maintaining its identity. This is an asynchronous operation. Use the GetPolicyEngine
        operation to poll the status field to track completion.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpdatePolicyEngineResponse'
        '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/BedrockAgentcoreControlValidationException'
      parameters:
      - name: policyEngineId
        in: path
        required: true
        schema:
          type: string
        description: The unique identifier of the policy engine to be updated.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                description:
                  $ref: '#/components/schemas/UpdatedDescription'
      tags:
      - Policy Engines
    delete:
      operationId: DeletePolicyEngine
      summary: Delete Policy Engine
      description: Deletes an existing policy engine from the AgentCore Policy system. The policy engine must not have any
        associated policies before deletion. Once deleted, the policy engine and all its configurations become unavailable
        for policy management and evaluation. This is an asynchronous operation. Use the GetPolicyEngine operation to poll
        the status field to track completion.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeletePolicyEngineResponse'
        '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/BedrockAgentcoreControlValidationException'
      parameters:
      - name: policyEngineId
        in: path
        required: true
        schema:
          type: string
        description: The unique identifier of the policy engine to be deleted. This must be a valid policy engine ID that
          exists within the account.
      tags:
      - Policy Engines
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-agentcore
  schemas:
    AccessDeniedException:
      type: object
      properties:
        message:
          type: string
    BedrockAgentcoreControlValidationException:
      type: object
      properties:
        message:
          type: string
        reason:
          type: string
          enum:
          - CannotParse
          - FieldValidationFailed
          - IdempotentParameterMismatchException
          - EventInOtherSession
          - ResourceConflict
        fieldList:
          type: array
          items:
            $ref: '#/components/schemas/ValidationExceptionField'
      required:
      - message
      - reason
    ConflictException:
      type: object
      properties:
        message:
          type: string
    CreatePolicyEngineResponse:
      type: object
      properties:
        policyEngineId:
          type: string
          description: The unique identifier for the created policy engine. This system-generated identifier consists of the
            user name plus a 10-character generated suffix and is used for all subsequent policy engine operations.
        name:
          type: string
          description: The customer-assigned name of the created policy engine. This matches the name provided in the request
            and serves as the human-readable identifier.
        createdAt:
          type: string
          format: date-time
          description: The timestamp when the policy engine was created. This is automatically set by the service and used
            for auditing and lifecycle management.
        updatedAt:
          type: string
          format: date-time
          description: The timestamp when the policy engine was last updated. For newly created policy engines, this matches
            the createdAt timestamp.
        policyEngineArn:
          type: string
          description: The Amazon Resource Name (ARN) of the created policy engine. This globally unique identifier can be
            used for cross-service references and IAM policy statements.
        status:
          type: string
          enum:
          - CREATING
          - ACTIVE
          - UPDATING
          - DELETING
          - CREATE_FAILED
          - UPDATE_FAILED
          - DELETE_FAILED
          description: The current status of the policy engine. A status of ACTIVE indicates the policy engine is ready for
            use.
        encryptionKeyArn:
          type: string
          description: The Amazon Resource Name (ARN) of the KMS key used to encrypt the policy engine data.
        description:
          type: string
          description: A human-readable description of the policy engine's purpose.
        statusReasons:
          type: array
          items:
            type: string
          description: Additional information about the policy engine status. This provides details about any failures or
            the current state of the policy engine creation process.
      required:
      - policyEngineId
      - name
      - createdAt
      - updatedAt
      - policyEngineArn
      - status
      - statusReasons
    DeletePolicyEngineResponse:
      type: object
      properties:
        policyEngineId:
          type: string
          description: The unique identifier of the policy engine being deleted. This confirms which policy engine the deletion
            operation targets.
        name:
          type: string
          description: The customer-assigned name of the deleted policy engine.
        createdAt:
          type: string
          format: date-time
          description: The timestamp when the deleted policy engine was originally created.
        updatedAt:
          type: string
          format: date-time
          description: The timestamp when the deleted policy engine was last modified before deletion. This tracks the final
            state of the policy engine before it was removed from the system.
        policyEngineArn:
          type: string
          description: The Amazon Resource Name (ARN) of the deleted policy engine. This globally unique identifier confirms
            which policy engine resource was successfully removed.
        status:
          type: string
          enum:
          - CREATING
          - ACTIVE
          - UPDATING
          - DELETING
          - CREATE_FAILED
          - UPDATE_FAILED
          - DELETE_FAILED
          description: The status of the policy engine deletion operation. This provides status about any issues that occurred
            during the deletion process.
        encryptionKeyArn:
          type: string
          description: The Amazon Resource Name (ARN) of the KMS key used to encrypt the policy engine data.
        description:
          type: string
          description: The human-readable description of the deleted policy engine.
        statusReasons:
          type: array
          items:
            type: string
          description: Additional information about the deletion status. This provides details about the deletion process
            or any issues that may have occurred.
      required:
      - policyEngineId
      - name
      - createdAt
      - updatedAt
      - policyEngineArn
      - status
      - statusReasons
    GetPolicyEngineResponse:
      type: object
      properties:
        policyEngineId:
          type: string
          description: The unique identifier of the retrieved policy engine. This matches the policy engine ID provided in
            the request and serves as the system identifier.
        name:
          type: string
          description: The customer-assigned name of the policy engine. This is the human-readable identifier that was specified
            when the policy engine was created.
        createdAt:
          type: string
          format: date-time
          description: The timestamp when the policy engine was originally created.
        updatedAt:
          type: string
          format: date-time
          description: The timestamp when the policy engine was last modified. This tracks the most recent changes to the
            policy engine configuration.
        policyEngineArn:
          type: string
          description: The Amazon Resource Name (ARN) of the policy engine. This globally unique identifier can be used for
            cross-service references and IAM policy statements.
        status:
          type: string
          enum:
          - CREATING
          - ACTIVE
          - UPDATING
          - DELETING
          - CREATE_FAILED
          - UPDATE_FAILED
          - DELETE_FAILED
          description: The current status of the policy engine.
        encryptionKeyArn:
          type: string
          description: The Amazon Resource Name (ARN) of the KMS key used to encrypt the policy engine data.
        description:
          type: string
          description: The human-readable description of the policy engine's purpose and scope. This helps administrators
            understand the policy engine's role in governance.
        statusReasons:
          type: array
          items:
            type: string
          description: Additional information about the policy engine status. This provides details about any failures or
            the current state of the policy engine.
      required:
      - policyEngineId
      - name
      - createdAt
      - updatedAt
      - policyEngineArn
      - status
      - statusReasons
    InternalServerException:
      type: object
      properties:
        message:
          type: string
    ListPolicyEnginesResponse:
      type: object
      properties:
        policyEngines:
          type: array
          items:
            $ref: '#/components/schemas/PolicyEngine'
          description: An array of policy engine objects that exist in the account. Each policy engine object contains the
            engine metadata, status, and key identifiers for further operations.
        nextToken:
          type: string
          description: A pagination token that can be used in subsequent ListPolicyEngines calls to retrieve additional results.
            This token is only present when there are more results available.
      required:
      - policyEngines
    PolicyEngine:
      type: object
      properties:
        policyEngineId:
          type: string
          description: The unique identifier for the policy engine. This system-generated identifier consists of the user
            name plus a 10-character generated suffix and serves as the primary key for policy engine operations.
        name:
          type: string
          description: The customer-assigned immutable name for the policy engine. This human-readable identifier must be
            unique within the account and cannot exceed 48 characters.
        createdAt:
          type: string
          format: date-time
          description: The timestamp when the policy engine was originally created. This is automatically set by the service
            and used for auditing and lifecycle management.
        updatedAt:
          type: string
          format: date-time
          description: The timestamp when the policy engine was last modified. This tracks the most recent changes to the
            policy engine configuration or metadata.
        policyEngineArn:
          type: string
          description: The Amazon Resource Name (ARN) of the policy engine. This globally unique identifier can be used for
            cross-service references and IAM policy statements.
        status:
          type: string
          enum:
          - CREATING
          - ACTIVE
          - UPDATING
          - DELETING
          - CREATE_FAILED
          - UPDATE_FAILED
          - DELETE_FAILED
          description: The current status of the policy engine.
        encryptionKeyArn:
          type: string
          description: The Amazon Resource Name (ARN) of the KMS key used to encrypt the policy engine data.
        description:
          type: string
          description: A human-readable description of the policy engine's purpose and scope. Limited to 4,096 characters,
            this helps administrators understand the policy engine's role in the overall governance strategy.
        statusReasons:
          type: array
          items:
            type: string
          description: Additional information about the policy engine status. This provides details about any failures or
            the current state of the policy engine lifecycle.
      required:
      - policyEngineId
      - name
      - createdAt
      - updatedAt
      - policyEngineArn
      - status
      - statusReasons
    ResourceNotFoundException:
      type: object
      properties:
        message:
          type: string
    ServiceQuotaExceededException:
      type: object
      properties:
        message:
          type: string
    ThrottlingException:
      type: object
      properties:
        message:
          type: string
    UpdatePolicyEngineResponse:
      type: object
      properties:
        policyEngineId:
          type: string
          description: The unique identifier of the updated policy engine.
        name:
          type: string
          description: The name of the updated policy engine.
        createdAt:
          type: string
          format: date-time
          description: The original creation timestamp of the policy engine.
        updatedAt:
          type: string
          format: date-time
          description: The timestamp when the policy engine was last updated.
        policyEngineArn:
          type: string
          description: The ARN of the updated policy engine.
        status:
          type: string
          enum:
          - CREATING
          - ACTIVE
          - UPDATING
          - DELETING
          - CREATE_FAILED
          - UPDATE_FAILED
          - DELETE_FAILED
          description: The current status of the updated policy engine.
        encryptionKeyArn:
          type: string
          description: The Amazon Resource Name (ARN) of the KMS key used to encrypt the policy engine data.
        description:
          type: string
          description: The updated description of the policy engine.
        statusReasons:
          type: array
          items:
            type: string
          description: Additional information about the update status.
      required:
      - policyEngineId
      - name
      - createdAt
      - updatedAt
      - policyEngineArn
      - status
      - statusReasons
    UpdatedDescription:
      type: object
      properties:
        optionalValue:
          type: string
          description: Represents an optional value that is used to update the human-readable description of the resource.
            If not specified, it will clear the current description of the resource.
    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
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/bedrock-agentcore-control/service/2023-06-05/bedrock-agentcore-control-2023-06-05.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)