@aws-sdk/client-bedrock-agentcore-control 3.948.0 → 3.952.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -27,7 +27,7 @@ declare const CreatePolicyCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Creates a policy within the AgentCore Policy system. Policies provide real-time, deterministic control over agentic interactions with AgentCore Gateway. Using the Cedar policy language, you can define fine-grained policies that specify which interactions with Gateway tools are permitted based on input parameters and OAuth claims, ensuring agents operate within defined boundaries and business rules. The policy is validated during creation against the Cedar schema generated from the Gateway's tools' input schemas, which defines the available tools, their parameters, and expected data types. This is an asynchronous operation. Use the <a href="https://docs.aws.amazon.com/bedrock-agentcore/latest/
|
|
30
|
+
* <p>Creates a policy within the AgentCore Policy system. Policies provide real-time, deterministic control over agentic interactions with AgentCore Gateway. Using the Cedar policy language, you can define fine-grained policies that specify which interactions with Gateway tools are permitted based on input parameters and OAuth claims, ensuring agents operate within defined boundaries and business rules. The policy is validated during creation against the Cedar schema generated from the Gateway's tools' input schemas, which defines the available tools, their parameters, and expected data types. This is an asynchronous operation. Use the <a href="https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_GetPolicy.html">GetPolicy</a> operation to poll the <code>status</code> field to track completion.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -27,7 +27,7 @@ declare const CreatePolicyEngineCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>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 <a href="https://docs.aws.amazon.com/bedrock-agentcore/latest/
|
|
30
|
+
* <p>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 <a href="https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_GetPolicyEngine.html">GetPolicyEngine</a> operation to poll the <code>status</code> field to track completion.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -7402,7 +7402,7 @@ export interface GetPolicyEngineResponse {
|
|
|
7402
7402
|
*/
|
|
7403
7403
|
export interface ListPolicyEnginesRequest {
|
|
7404
7404
|
/**
|
|
7405
|
-
* <p>A pagination token returned from a previous <a href="https://docs.aws.amazon.com/bedrock-agentcore/latest/
|
|
7405
|
+
* <p>A pagination token returned from a previous <a href="https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_ListPolicyEngines.html">ListPolicyEngines</a> call. Use this token to retrieve the next page of results when the response is paginated.</p>
|
|
7406
7406
|
* @public
|
|
7407
7407
|
*/
|
|
7408
7408
|
nextToken?: string | undefined;
|
|
@@ -7468,7 +7468,7 @@ export interface ListPolicyEnginesResponse {
|
|
|
7468
7468
|
*/
|
|
7469
7469
|
policyEngines: PolicyEngine[] | undefined;
|
|
7470
7470
|
/**
|
|
7471
|
-
* <p>A pagination token that can be used in subsequent <a href="https://docs.aws.amazon.com/bedrock-agentcore/latest/
|
|
7471
|
+
* <p>A pagination token that can be used in subsequent <a href="https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_ListPolicyEngines.html">ListPolicyEngines</a> calls to retrieve additional results. This token is only present when there are more results available. </p>
|
|
7472
7472
|
* @public
|
|
7473
7473
|
*/
|
|
7474
7474
|
nextToken?: string | undefined;
|
|
@@ -7538,7 +7538,7 @@ export interface UpdatePolicyEngineResponse {
|
|
|
7538
7538
|
*/
|
|
7539
7539
|
export interface GetPolicyGenerationRequest {
|
|
7540
7540
|
/**
|
|
7541
|
-
* <p>The unique identifier of the policy generation request to be retrieved. This must be a valid generation ID from a previous <a href="https://docs.aws.amazon.com/bedrock-agentcore/latest/
|
|
7541
|
+
* <p>The unique identifier of the policy generation request to be retrieved. This must be a valid generation ID from a previous <a href="https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_StartPolicyGeneration.html">StartPolicyGeneration</a> call.</p>
|
|
7542
7542
|
* @public
|
|
7543
7543
|
*/
|
|
7544
7544
|
policyGenerationId: string | undefined;
|
|
@@ -7641,7 +7641,7 @@ export interface GetPolicyGenerationResponse {
|
|
|
7641
7641
|
*/
|
|
7642
7642
|
export interface ListPolicyGenerationAssetsRequest {
|
|
7643
7643
|
/**
|
|
7644
|
-
* <p>The unique identifier of the policy generation request whose assets are to be retrieved. This must be a valid generation ID from a previous <a href="https://docs.aws.amazon.com/bedrock-agentcore/latest/
|
|
7644
|
+
* <p>The unique identifier of the policy generation request whose assets are to be retrieved. This must be a valid generation ID from a previous <a href="https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_StartPolicyGeneration.html">StartPolicyGeneration</a> call that has completed processing.</p>
|
|
7645
7645
|
* @public
|
|
7646
7646
|
*/
|
|
7647
7647
|
policyGenerationId: string | undefined;
|
|
@@ -7651,7 +7651,7 @@ export interface ListPolicyGenerationAssetsRequest {
|
|
|
7651
7651
|
*/
|
|
7652
7652
|
policyEngineId: string | undefined;
|
|
7653
7653
|
/**
|
|
7654
|
-
* <p>A pagination token returned from a previous <a href="https://docs.aws.amazon.com/bedrock-agentcore/latest/
|
|
7654
|
+
* <p>A pagination token returned from a previous <a href="https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_ListPolicyGenerationAssets.html">ListPolicyGenerationAssets</a> call. Use this token to retrieve the next page of assets when the response is paginated due to large numbers of generated policy options.</p>
|
|
7655
7655
|
* @public
|
|
7656
7656
|
*/
|
|
7657
7657
|
nextToken?: string | undefined;
|
|
@@ -7757,7 +7757,7 @@ export interface ListPolicyGenerationAssetsResponse {
|
|
|
7757
7757
|
*/
|
|
7758
7758
|
policyGenerationAssets?: PolicyGenerationAsset[] | undefined;
|
|
7759
7759
|
/**
|
|
7760
|
-
* <p>A pagination token that can be used in subsequent <a href="https://docs.aws.amazon.com/bedrock-agentcore/latest/
|
|
7760
|
+
* <p>A pagination token that can be used in subsequent <a href="https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_ListPolicyGenerationAssets.html">ListPolicyGenerationAssets</a> calls to retrieve additional assets. This token is only present when there are more generated policy assets available beyond the current response.</p>
|
|
7761
7761
|
* @public
|
|
7762
7762
|
*/
|
|
7763
7763
|
nextToken?: string | undefined;
|
|
@@ -8206,7 +8206,7 @@ export interface GetPolicyResponse {
|
|
|
8206
8206
|
*/
|
|
8207
8207
|
export interface ListPoliciesRequest {
|
|
8208
8208
|
/**
|
|
8209
|
-
* <p>A pagination token returned from a previous <a href="https://docs.aws.amazon.com/bedrock-agentcore/latest/
|
|
8209
|
+
* <p>A pagination token returned from a previous <a href="https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_ListPolicies.html">ListPolicies</a> call. Use this token to retrieve the next page of results when the response is paginated.</p>
|
|
8210
8210
|
* @public
|
|
8211
8211
|
*/
|
|
8212
8212
|
nextToken?: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-bedrock-agentcore-control",
|
|
3
3
|
"description": "AWS SDK for JavaScript Bedrock Agentcore Control Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.952.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-bedrock-agentcore-control",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
24
|
"@aws-sdk/core": "3.947.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.952.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.936.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.936.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.948.0",
|