Amazon Bedrock Bedrock Enforcedguardrailsconfiguration API

The Bedrock Enforcedguardrailsconfiguration API from Amazon Bedrock — 2 operation(s) for bedrock enforcedguardrailsconfiguration.

GitHub OpenAPI

Operations 3

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

DELETE /enforcedGuardrailsConfiguration/{configId} Delete an enforced guardrail configuration · Delete Enforced Guardrail Configuration #
Ask an LLM
“How do I remove an enforced guardrail configuration from my account?”
“Can I delete an account-level guardrail config?”
Tell an agent destructive · confirm first
Delete enforced guardrail configuration {configId}.
Remove the account-level guardrail {configId}.
GET /enforcedGuardrailsConfiguration List enforced guardrail configurations · List Enforced Guardrails Configuration #
Ask an LLM
“Which enforced guardrail configurations exist on my account?”
“Can I page through my account-level guardrail configs?”
Tell an agent
List my enforced guardrail configurations.
Show the next page of account guardrail configs after {nextToken}.
PUT /enforcedGuardrailsConfiguration Set an enforced guardrail configuration · Put Enforced Guardrail Configuration #
Ask an LLM
“How do I set an enforced guardrail configuration for my account?”
“Can I change the inference settings of an account guardrail?”
Tell an agent
Set enforced guardrail configuration {configId} with inference config {guardrailInferenceConfig}.
Create an account-level guardrail using {guardrailInferenceConfig}.

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-enforcedguardrailsconfiguration-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-enforcedguardrailsconfiguration-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Amazon Bedrock Enforcedguardrailsconfiguration API
  version: '2023-04-20'
  description: Generated from AWS's published Smithy model for Amazon Bedrock. 3 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.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /enforcedGuardrailsConfiguration/{configId}:
    delete:
      operationId: DeleteEnforcedGuardrailConfiguration
      summary: Delete Enforced Guardrail Configuration
      description: Deletes the account-level enforced guardrail configuration.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteEnforcedGuardrailConfigurationResponse'
        '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/ValidationException'
      parameters:
      - name: configId
        in: path
        required: true
        schema:
          type: string
        description: Unique ID for the account enforced configuration.
      tags:
      - Enforcedguardrailsconfiguration
  /enforcedGuardrailsConfiguration:
    get:
      operationId: ListEnforcedGuardrailsConfiguration
      summary: List Enforced Guardrails Configuration
      description: Lists the account-level enforced guardrail configurations.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListEnforcedGuardrailsConfigurationResponse'
        '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/ValidationException'
      parameters:
      - name: nextToken
        in: query
        schema:
          type: string
        description: Opaque continuation token of previous paginated response.
      tags:
      - Enforcedguardrailsconfiguration
    put:
      operationId: PutEnforcedGuardrailConfiguration
      summary: Put Enforced Guardrail Configuration
      description: Sets the account-level enforced guardrail configuration.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PutEnforcedGuardrailConfigurationResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '400':
          description: ConflictException; ValidationException
          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'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                configId:
                  type: string
                  description: Unique ID for the account enforced configuration.
                guardrailInferenceConfig:
                  $ref: '#/components/schemas/AccountEnforcedGuardrailInferenceInputConfiguration'
              required:
              - guardrailInferenceConfig
      tags:
      - Enforcedguardrailsconfiguration
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
    AccountEnforcedGuardrailInferenceInputConfiguration:
      type: object
      properties:
        guardrailIdentifier:
          type: string
          description: Identifier for the guardrail, could be the ID or the ARN.
        guardrailVersion:
          type: string
          description: Numerical guardrail version.
        selectiveContentGuarding:
          $ref: '#/components/schemas/SelectiveContentGuarding'
        modelEnforcement:
          $ref: '#/components/schemas/ModelEnforcement'
      required:
      - guardrailIdentifier
      - guardrailVersion
    AccountEnforcedGuardrailOutputConfiguration:
      type: object
      properties:
        configId:
          type: string
          description: Unique ID for the account enforced configuration.
        guardrailArn:
          type: string
          description: ARN representation for the guardrail.
        guardrailId:
          type: string
          description: Unique ID for the guardrail.
        inputTags:
          type: string
          enum:
          - HONOR
          - IGNORE
          description: Whether to honor or ignore input tags at runtime.
        selectiveContentGuarding:
          $ref: '#/components/schemas/SelectiveContentGuarding'
        guardrailVersion:
          type: string
          description: Numerical guardrail version.
        createdAt:
          type: string
          format: date-time
          description: Timestamp.
        createdBy:
          type: string
          description: The ARN of the role used to update the configuration.
        updatedAt:
          type: string
          format: date-time
          description: Timestamp.
        updatedBy:
          type: string
          description: The ARN of the role used to update the configuration.
        owner:
          type: string
          description: Configuration owner type.
        modelEnforcement:
          $ref: '#/components/schemas/ModelEnforcement'
    ConflictException:
      type: object
      properties:
        message:
          type: string
    DeleteEnforcedGuardrailConfigurationResponse:
      type: object
      properties: {}
    InternalServerException:
      type: object
      properties:
        message:
          type: string
    ListEnforcedGuardrailsConfigurationResponse:
      type: object
      properties:
        guardrailsConfig:
          type: array
          items:
            $ref: '#/components/schemas/AccountEnforcedGuardrailOutputConfiguration'
          description: Array of AccountEnforcedGuardrailOutputConfiguration objects.
        nextToken:
          type: string
          description: Opaque continuation token of previous paginated response.
      required:
      - guardrailsConfig
    ModelEnforcement:
      type: object
      properties:
        includedModels:
          type: array
          items:
            type: string
          description: Models to enforce the guardrail on.
        excludedModels:
          type: array
          items:
            type: string
          description: Models to exclude from enforcement of the guardrail.
      required:
      - includedModels
      - excludedModels
    PutEnforcedGuardrailConfigurationResponse:
      type: object
      properties:
        configId:
          type: string
          description: Unique ID for the account enforced configuration.
        updatedAt:
          type: string
          format: date-time
          description: Timestamp.
        updatedBy:
          type: string
          description: The ARN of the role used to update the configuration.
    ResourceNotFoundException:
      type: object
      properties:
        message:
          type: string
    SelectiveContentGuarding:
      type: object
      properties:
        system:
          type: string
          enum:
          - SELECTIVE
          - COMPREHENSIVE
          description: Selective guarding mode for system prompts."
        messages:
          type: string
          enum:
          - SELECTIVE
          - COMPREHENSIVE
          description: Selective guarding mode for user messages.
    ThrottlingException:
      type: object
      properties:
        message:
          type: string
    ValidationException:
      type: object
      properties:
        message:
          type: string
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/bedrock/service/2023-04-20/bedrock-2023-04-20.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)