Amazon Bedrock Bedrock Resource Policy API
The Bedrock Resource Policy API from Amazon Bedrock — 2 operation(s) for bedrock resource policy.
The Bedrock Resource Policy API from Amazon Bedrock — 2 operation(s) for bedrock resource policy.
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-resource-policy-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 Resource Policy 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: Resource Policy
paths:
/resource-policy/{resourceArn}:
delete:
operationId: DeleteResourcePolicy
summary: Delete Resource Policy
description: Deletes a previously created Bedrock resource policy.
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/DeleteResourcePolicyResponse'
'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/DeleteResourcePolicyRequest'
tags:
- Resource Policy
get:
operationId: GetResourcePolicy
summary: Get Resource Policy
description: Gets the resource policy document for a Bedrock resource
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/GetResourcePolicyResponse'
'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/GetResourcePolicyRequest'
tags:
- Resource Policy
/resource-policy:
post:
operationId: PutResourcePolicy
summary: Put Resource Policy
description: Adds a resource policy for a Bedrock resource.
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/PutResourcePolicyResponse'
'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'
'429':
description: ThrottlingException
content:
application/json:
schema:
$ref: '#/components/schemas/ThrottlingException'
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/PutResourcePolicyRequest'
tags:
- Resource Policy
components:
schemas:
ValidationException:
type: object
properties:
message:
type: string
ThrottlingException:
type: object
properties:
message:
type: string
PutResourcePolicyResponse:
type: object
properties:
resourceArn:
type: string
description: The ARN of the Bedrock resource to which this resource policy applies.
GetResourcePolicyRequest:
type: object
properties:
resourceArn:
type: string
description: The ARN of the Bedrock resource to which this resource policy applies.
required:
- resourceArn
DeleteResourcePolicyRequest:
type: object
properties:
resourceArn:
type: string
description: The ARN of the Bedrock resource to which this resource policy applies.
required:
- resourceArn
ConflictException:
type: object
properties:
message:
type: string
GetResourcePolicyResponse:
type: object
properties:
resourcePolicy:
type: string
description: The JSON string representing the Bedrock resource policy.
AccessDeniedException:
type: object
properties:
message:
type: string
InternalServerException:
type: object
properties:
message:
type: string
PutResourcePolicyRequest:
type: object
properties:
resourceArn:
type: string
description: The ARN of the Bedrock resource to which this resource policy applies.
resourcePolicy:
type: string
description: The JSON string representing the Bedrock resource policy.
required:
- resourceArn
- resourcePolicy
DeleteResourcePolicyResponse:
type: object
properties: {}
ResourceNotFoundException:
type: object
properties:
message:
type: string
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)