Amazon Bedrock Bedrock Enforcedguardrailsconfiguration API
The Bedrock Enforcedguardrailsconfiguration API from Amazon Bedrock — 2 operation(s) for bedrock enforcedguardrailsconfiguration.
The Bedrock Enforcedguardrailsconfiguration API from Amazon Bedrock — 2 operation(s) for bedrock enforcedguardrailsconfiguration.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/amazon-bedrock:amazon-bedrock-enforcedguardrailsconfiguration-api"
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.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.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: []
tags:
- name: Enforcedguardrailsconfiguration
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'
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/DeleteEnforcedGuardrailConfigurationRequest'
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'
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/ListEnforcedGuardrailsConfigurationRequest'
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:
$ref: '#/components/schemas/PutEnforcedGuardrailConfigurationRequest'
tags:
- Enforcedguardrailsconfiguration
components:
schemas:
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.
DeleteEnforcedGuardrailConfigurationRequest:
type: object
properties:
configId:
type: string
description: Unique ID for the account enforced configuration.
required:
- configId
ThrottlingException:
type: object
properties:
message:
type: string
ValidationException:
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
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
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.
InternalServerException:
type: object
properties:
message:
type: string
AccessDeniedException:
type: object
properties:
message:
type: string
ListEnforcedGuardrailsConfigurationRequest:
type: object
properties:
nextToken:
type: string
description: Opaque continuation token of previous paginated response.
ResourceNotFoundException:
type: object
properties:
message:
type: string
PutEnforcedGuardrailConfigurationRequest:
type: object
properties:
configId:
type: string
description: Unique ID for the account enforced configuration.
guardrailInferenceConfig:
$ref: '#/components/schemas/AccountEnforcedGuardrailInferenceInputConfiguration'
required:
- guardrailInferenceConfig
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
DeleteEnforcedGuardrailConfigurationResponse:
type: object
properties: {}
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
x-provenance:
method: harvested
publisher: Amazon Web Services
source: https://raw.githubusercontent.com/aws/api-models-aws/582e55931c45b944739742a2c1620b6026dd2d13/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)