@aws-sdk/client-bedrock-agentcore-control 3.940.0 → 3.943.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.
- package/README.md +216 -0
- package/dist-cjs/index.js +2140 -143
- package/dist-es/BedrockAgentCoreControl.js +54 -0
- package/dist-es/commands/CreateEvaluatorCommand.js +16 -0
- package/dist-es/commands/CreateOnlineEvaluationConfigCommand.js +16 -0
- package/dist-es/commands/CreatePolicyCommand.js +16 -0
- package/dist-es/commands/CreatePolicyEngineCommand.js +16 -0
- package/dist-es/commands/DeleteEvaluatorCommand.js +16 -0
- package/dist-es/commands/DeleteOnlineEvaluationConfigCommand.js +16 -0
- package/dist-es/commands/DeletePolicyCommand.js +16 -0
- package/dist-es/commands/DeletePolicyEngineCommand.js +16 -0
- package/dist-es/commands/DeleteResourcePolicyCommand.js +16 -0
- package/dist-es/commands/GetEvaluatorCommand.js +16 -0
- package/dist-es/commands/GetOnlineEvaluationConfigCommand.js +16 -0
- package/dist-es/commands/GetPolicyCommand.js +16 -0
- package/dist-es/commands/GetPolicyEngineCommand.js +16 -0
- package/dist-es/commands/GetPolicyGenerationCommand.js +16 -0
- package/dist-es/commands/GetResourcePolicyCommand.js +16 -0
- package/dist-es/commands/ListEvaluatorsCommand.js +16 -0
- package/dist-es/commands/ListOnlineEvaluationConfigsCommand.js +16 -0
- package/dist-es/commands/ListPoliciesCommand.js +16 -0
- package/dist-es/commands/ListPolicyEnginesCommand.js +16 -0
- package/dist-es/commands/ListPolicyGenerationAssetsCommand.js +16 -0
- package/dist-es/commands/ListPolicyGenerationsCommand.js +16 -0
- package/dist-es/commands/PutResourcePolicyCommand.js +16 -0
- package/dist-es/commands/StartPolicyGenerationCommand.js +16 -0
- package/dist-es/commands/UpdateEvaluatorCommand.js +16 -0
- package/dist-es/commands/UpdateOnlineEvaluationConfigCommand.js +16 -0
- package/dist-es/commands/UpdatePolicyCommand.js +16 -0
- package/dist-es/commands/UpdatePolicyEngineCommand.js +16 -0
- package/dist-es/commands/index.js +27 -0
- package/dist-es/models/enums.js +104 -0
- package/dist-es/models/models_1.js +1 -0
- package/dist-es/pagination/ListEvaluatorsPaginator.js +4 -0
- package/dist-es/pagination/ListOnlineEvaluationConfigsPaginator.js +4 -0
- package/dist-es/pagination/ListPoliciesPaginator.js +4 -0
- package/dist-es/pagination/ListPolicyEnginesPaginator.js +4 -0
- package/dist-es/pagination/ListPolicyGenerationAssetsPaginator.js +4 -0
- package/dist-es/pagination/ListPolicyGenerationsPaginator.js +4 -0
- package/dist-es/pagination/index.js +6 -0
- package/dist-es/schemas/schemas_0.js +1320 -97
- package/dist-es/waiters/index.js +5 -0
- package/dist-es/waiters/waitForPolicyActive.js +58 -0
- package/dist-es/waiters/waitForPolicyDeleted.js +43 -0
- package/dist-es/waiters/waitForPolicyEngineActive.js +58 -0
- package/dist-es/waiters/waitForPolicyEngineDeleted.js +43 -0
- package/dist-es/waiters/waitForPolicyGenerationCompleted.js +58 -0
- package/dist-types/BedrockAgentCoreControl.d.ts +192 -0
- package/dist-types/BedrockAgentCoreControlClient.d.ts +29 -2
- package/dist-types/commands/CreateAgentRuntimeCommand.d.ts +18 -0
- package/dist-types/commands/CreateEvaluatorCommand.d.ts +132 -0
- package/dist-types/commands/CreateGatewayCommand.d.ts +44 -0
- package/dist-types/commands/CreateGatewayTargetCommand.d.ts +49 -1
- package/dist-types/commands/CreateMemoryCommand.d.ts +52 -5
- package/dist-types/commands/CreateOnlineEvaluationConfigCommand.d.ts +140 -0
- package/dist-types/commands/CreatePolicyCommand.d.ts +119 -0
- package/dist-types/commands/CreatePolicyEngineCommand.d.ts +103 -0
- package/dist-types/commands/CreateWorkloadIdentityCommand.d.ts +1 -1
- package/dist-types/commands/DeleteEvaluatorCommand.d.ts +94 -0
- package/dist-types/commands/DeleteMemoryCommand.d.ts +3 -0
- package/dist-types/commands/DeleteOnlineEvaluationConfigCommand.d.ts +94 -0
- package/dist-types/commands/DeletePolicyCommand.d.ts +108 -0
- package/dist-types/commands/DeletePolicyEngineCommand.d.ts +101 -0
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +87 -0
- package/dist-types/commands/DeleteWorkloadIdentityCommand.d.ts +1 -1
- package/dist-types/commands/GetAgentRuntimeCommand.d.ts +19 -0
- package/dist-types/commands/GetEvaluatorCommand.d.ts +131 -0
- package/dist-types/commands/GetGatewayCommand.d.ts +22 -0
- package/dist-types/commands/GetGatewayTargetCommand.d.ts +26 -1
- package/dist-types/commands/GetMemoryCommand.d.ts +27 -5
- package/dist-types/commands/GetOnlineEvaluationConfigCommand.d.ts +137 -0
- package/dist-types/commands/GetPolicyCommand.d.ts +105 -0
- package/dist-types/commands/GetPolicyEngineCommand.d.ts +98 -0
- package/dist-types/commands/GetPolicyGenerationCommand.d.ts +103 -0
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +89 -0
- package/dist-types/commands/GetWorkloadIdentityCommand.d.ts +1 -1
- package/dist-types/commands/ListEvaluatorsCommand.d.ts +101 -0
- package/dist-types/commands/ListOnlineEvaluationConfigsCommand.d.ts +100 -0
- package/dist-types/commands/ListPoliciesCommand.d.ts +113 -0
- package/dist-types/commands/ListPolicyEnginesCommand.d.ts +101 -0
- package/dist-types/commands/ListPolicyGenerationAssetsCommand.d.ts +109 -0
- package/dist-types/commands/ListPolicyGenerationsCommand.d.ts +109 -0
- package/dist-types/commands/ListWorkloadIdentitiesCommand.d.ts +1 -1
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +90 -0
- package/dist-types/commands/SetTokenVaultCMKCommand.d.ts +1 -1
- package/dist-types/commands/StartPolicyGenerationCommand.d.ts +116 -0
- package/dist-types/commands/SynchronizeGatewayTargetsCommand.d.ts +26 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAgentRuntimeCommand.d.ts +18 -0
- package/dist-types/commands/UpdateEvaluatorCommand.d.ts +135 -0
- package/dist-types/commands/UpdateGatewayCommand.d.ts +44 -0
- package/dist-types/commands/UpdateGatewayTargetCommand.d.ts +49 -1
- package/dist-types/commands/UpdateMemoryCommand.d.ts +73 -8
- package/dist-types/commands/UpdateOnlineEvaluationConfigCommand.d.ts +138 -0
- package/dist-types/commands/UpdatePolicyCommand.d.ts +115 -0
- package/dist-types/commands/UpdatePolicyEngineCommand.d.ts +102 -0
- package/dist-types/commands/UpdateWorkloadIdentityCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +27 -0
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/enums.d.ts +232 -0
- package/dist-types/models/models_0.d.ts +4160 -2169
- package/dist-types/models/models_1.d.ts +1009 -0
- package/dist-types/pagination/ListEvaluatorsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListOnlineEvaluationConfigsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListPoliciesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListPolicyEnginesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListPolicyGenerationAssetsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListPolicyGenerationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +6 -0
- package/dist-types/schemas/schemas_0.d.ts +156 -0
- package/dist-types/ts3.4/BedrockAgentCoreControl.d.ts +462 -0
- package/dist-types/ts3.4/BedrockAgentCoreControlClient.d.ts +162 -0
- package/dist-types/ts3.4/commands/CreateEvaluatorCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/CreateGatewayTargetCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateOnlineEvaluationConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreatePolicyCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/CreatePolicyEngineCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateWorkloadIdentityCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteEvaluatorCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/DeleteOnlineEvaluationConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeletePolicyCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeletePolicyEngineCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteWorkloadIdentityCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetEvaluatorCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetGatewayTargetCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/GetOnlineEvaluationConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetPolicyCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetPolicyEngineCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetPolicyGenerationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetWorkloadIdentityCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListEvaluatorsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListOnlineEvaluationConfigsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListPoliciesCommand.d.ts +48 -0
- package/dist-types/ts3.4/commands/ListPolicyEnginesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListPolicyGenerationAssetsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListPolicyGenerationsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListWorkloadIdentitiesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/SetTokenVaultCMKCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartPolicyGenerationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/SynchronizeGatewayTargetsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateEvaluatorCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/UpdateGatewayTargetCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateOnlineEvaluationConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdatePolicyCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UpdatePolicyEngineCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateWorkloadIdentityCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +27 -0
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +132 -0
- package/dist-types/ts3.4/models/models_0.d.ts +835 -188
- package/dist-types/ts3.4/models/models_1.d.ts +331 -0
- package/dist-types/ts3.4/pagination/ListEvaluatorsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListOnlineEvaluationConfigsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListPoliciesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListPolicyEnginesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListPolicyGenerationAssetsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListPolicyGenerationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +6 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +156 -0
- package/dist-types/ts3.4/waiters/index.d.ts +5 -0
- package/dist-types/ts3.4/waiters/waitForPolicyActive.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForPolicyDeleted.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForPolicyEngineActive.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForPolicyEngineDeleted.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForPolicyGenerationCompleted.d.ts +11 -0
- package/dist-types/waiters/index.d.ts +5 -0
- package/dist-types/waiters/waitForPolicyActive.d.ts +14 -0
- package/dist-types/waiters/waitForPolicyDeleted.d.ts +14 -0
- package/dist-types/waiters/waitForPolicyEngineActive.d.ts +14 -0
- package/dist-types/waiters/waitForPolicyEngineDeleted.d.ts +14 -0
- package/dist-types/waiters/waitForPolicyGenerationCompleted.d.ts +14 -0
- package/package.json +5 -5
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreControlClient";
|
|
4
|
+
import { DeletePolicyRequest, DeletePolicyResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeletePolicyCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeletePolicyCommandInput extends DeletePolicyRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeletePolicyCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeletePolicyCommandOutput extends DeletePolicyResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeletePolicyCommand_base: {
|
|
25
|
+
new (input: DeletePolicyCommandInput): import("@smithy/smithy-client").CommandImpl<DeletePolicyCommandInput, DeletePolicyCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeletePolicyCommandInput): import("@smithy/smithy-client").CommandImpl<DeletePolicyCommandInput, DeletePolicyCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Deletes an existing policy from the AgentCore Policy system. Once deleted, the policy can no longer be used for agent behavior control and all references to it become invalid. This is an asynchronous operation. Use the <code>GetPolicy</code> operation to poll the <code>status</code> field to track completion.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { BedrockAgentCoreControlClient, DeletePolicyCommand } from "@aws-sdk/client-bedrock-agentcore-control"; // ES Modules import
|
|
35
|
+
* // const { BedrockAgentCoreControlClient, DeletePolicyCommand } = require("@aws-sdk/client-bedrock-agentcore-control"); // CommonJS import
|
|
36
|
+
* // import type { BedrockAgentCoreControlClientConfig } from "@aws-sdk/client-bedrock-agentcore-control";
|
|
37
|
+
* const config = {}; // type is BedrockAgentCoreControlClientConfig
|
|
38
|
+
* const client = new BedrockAgentCoreControlClient(config);
|
|
39
|
+
* const input = { // DeletePolicyRequest
|
|
40
|
+
* policyEngineId: "STRING_VALUE", // required
|
|
41
|
+
* policyId: "STRING_VALUE", // required
|
|
42
|
+
* };
|
|
43
|
+
* const command = new DeletePolicyCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // DeletePolicyResponse
|
|
46
|
+
* // policyId: "STRING_VALUE", // required
|
|
47
|
+
* // name: "STRING_VALUE", // required
|
|
48
|
+
* // policyEngineId: "STRING_VALUE", // required
|
|
49
|
+
* // definition: { // PolicyDefinition Union: only one key present
|
|
50
|
+
* // cedar: { // CedarPolicy
|
|
51
|
+
* // statement: "STRING_VALUE", // required
|
|
52
|
+
* // },
|
|
53
|
+
* // },
|
|
54
|
+
* // description: "STRING_VALUE",
|
|
55
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
56
|
+
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
57
|
+
* // policyArn: "STRING_VALUE", // required
|
|
58
|
+
* // status: "CREATING" || "ACTIVE" || "UPDATING" || "DELETING" || "CREATE_FAILED" || "UPDATE_FAILED" || "DELETE_FAILED", // required
|
|
59
|
+
* // statusReasons: [ // PolicyStatusReasons // required
|
|
60
|
+
* // "STRING_VALUE",
|
|
61
|
+
* // ],
|
|
62
|
+
* // };
|
|
63
|
+
*
|
|
64
|
+
* ```
|
|
65
|
+
*
|
|
66
|
+
* @param DeletePolicyCommandInput - {@link DeletePolicyCommandInput}
|
|
67
|
+
* @returns {@link DeletePolicyCommandOutput}
|
|
68
|
+
* @see {@link DeletePolicyCommandInput} for command's `input` shape.
|
|
69
|
+
* @see {@link DeletePolicyCommandOutput} for command's `response` shape.
|
|
70
|
+
* @see {@link BedrockAgentCoreControlClientResolvedConfig | config} for BedrockAgentCoreControlClient's `config` shape.
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
73
|
+
* <p>This exception is thrown when a request is denied per access permissions</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ConflictException} (client fault)
|
|
76
|
+
* <p>This exception is thrown when there is a conflict performing an operation</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link InternalServerException} (server fault)
|
|
79
|
+
* <p>This exception is thrown if there was an unexpected error during processing of request</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
82
|
+
* <p>This exception is thrown when a resource referenced by the operation does not exist</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
85
|
+
* <p>This exception is thrown when the number of requests exceeds the limit</p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link ValidationException} (client fault)
|
|
88
|
+
* <p>The input fails to satisfy the constraints specified by the service.</p>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link BedrockAgentCoreControlServiceException}
|
|
91
|
+
* <p>Base exception class for all service exceptions from BedrockAgentCoreControl service.</p>
|
|
92
|
+
*
|
|
93
|
+
*
|
|
94
|
+
* @public
|
|
95
|
+
*/
|
|
96
|
+
export declare class DeletePolicyCommand extends DeletePolicyCommand_base {
|
|
97
|
+
/** @internal type navigation helper, not in runtime. */
|
|
98
|
+
protected static __types: {
|
|
99
|
+
api: {
|
|
100
|
+
input: DeletePolicyRequest;
|
|
101
|
+
output: DeletePolicyResponse;
|
|
102
|
+
};
|
|
103
|
+
sdk: {
|
|
104
|
+
input: DeletePolicyCommandInput;
|
|
105
|
+
output: DeletePolicyCommandOutput;
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreControlClient";
|
|
4
|
+
import { DeletePolicyEngineRequest, DeletePolicyEngineResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeletePolicyEngineCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeletePolicyEngineCommandInput extends DeletePolicyEngineRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeletePolicyEngineCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeletePolicyEngineCommandOutput extends DeletePolicyEngineResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeletePolicyEngineCommand_base: {
|
|
25
|
+
new (input: DeletePolicyEngineCommandInput): import("@smithy/smithy-client").CommandImpl<DeletePolicyEngineCommandInput, DeletePolicyEngineCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeletePolicyEngineCommandInput): import("@smithy/smithy-client").CommandImpl<DeletePolicyEngineCommandInput, DeletePolicyEngineCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>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 <code>GetPolicyEngine</code> operation to poll the <code>status</code> field to track completion.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { BedrockAgentCoreControlClient, DeletePolicyEngineCommand } from "@aws-sdk/client-bedrock-agentcore-control"; // ES Modules import
|
|
35
|
+
* // const { BedrockAgentCoreControlClient, DeletePolicyEngineCommand } = require("@aws-sdk/client-bedrock-agentcore-control"); // CommonJS import
|
|
36
|
+
* // import type { BedrockAgentCoreControlClientConfig } from "@aws-sdk/client-bedrock-agentcore-control";
|
|
37
|
+
* const config = {}; // type is BedrockAgentCoreControlClientConfig
|
|
38
|
+
* const client = new BedrockAgentCoreControlClient(config);
|
|
39
|
+
* const input = { // DeletePolicyEngineRequest
|
|
40
|
+
* policyEngineId: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new DeletePolicyEngineCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // DeletePolicyEngineResponse
|
|
45
|
+
* // policyEngineId: "STRING_VALUE", // required
|
|
46
|
+
* // name: "STRING_VALUE", // required
|
|
47
|
+
* // description: "STRING_VALUE",
|
|
48
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
49
|
+
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
50
|
+
* // policyEngineArn: "STRING_VALUE", // required
|
|
51
|
+
* // status: "CREATING" || "ACTIVE" || "UPDATING" || "DELETING" || "CREATE_FAILED" || "UPDATE_FAILED" || "DELETE_FAILED", // required
|
|
52
|
+
* // statusReasons: [ // PolicyStatusReasons // required
|
|
53
|
+
* // "STRING_VALUE",
|
|
54
|
+
* // ],
|
|
55
|
+
* // };
|
|
56
|
+
*
|
|
57
|
+
* ```
|
|
58
|
+
*
|
|
59
|
+
* @param DeletePolicyEngineCommandInput - {@link DeletePolicyEngineCommandInput}
|
|
60
|
+
* @returns {@link DeletePolicyEngineCommandOutput}
|
|
61
|
+
* @see {@link DeletePolicyEngineCommandInput} for command's `input` shape.
|
|
62
|
+
* @see {@link DeletePolicyEngineCommandOutput} for command's `response` shape.
|
|
63
|
+
* @see {@link BedrockAgentCoreControlClientResolvedConfig | config} for BedrockAgentCoreControlClient's `config` shape.
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
66
|
+
* <p>This exception is thrown when a request is denied per access permissions</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ConflictException} (client fault)
|
|
69
|
+
* <p>This exception is thrown when there is a conflict performing an operation</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link InternalServerException} (server fault)
|
|
72
|
+
* <p>This exception is thrown if there was an unexpected error during processing of request</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
75
|
+
* <p>This exception is thrown when a resource referenced by the operation does not exist</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
78
|
+
* <p>This exception is thrown when the number of requests exceeds the limit</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link ValidationException} (client fault)
|
|
81
|
+
* <p>The input fails to satisfy the constraints specified by the service.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link BedrockAgentCoreControlServiceException}
|
|
84
|
+
* <p>Base exception class for all service exceptions from BedrockAgentCoreControl service.</p>
|
|
85
|
+
*
|
|
86
|
+
*
|
|
87
|
+
* @public
|
|
88
|
+
*/
|
|
89
|
+
export declare class DeletePolicyEngineCommand extends DeletePolicyEngineCommand_base {
|
|
90
|
+
/** @internal type navigation helper, not in runtime. */
|
|
91
|
+
protected static __types: {
|
|
92
|
+
api: {
|
|
93
|
+
input: DeletePolicyEngineRequest;
|
|
94
|
+
output: DeletePolicyEngineResponse;
|
|
95
|
+
};
|
|
96
|
+
sdk: {
|
|
97
|
+
input: DeletePolicyEngineCommandInput;
|
|
98
|
+
output: DeletePolicyEngineCommandOutput;
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreControlClient";
|
|
4
|
+
import { DeleteResourcePolicyRequest, DeleteResourcePolicyResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteResourcePolicyCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteResourcePolicyCommandInput extends DeleteResourcePolicyRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteResourcePolicyCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteResourcePolicyCommandOutput extends DeleteResourcePolicyResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteResourcePolicyCommand_base: {
|
|
25
|
+
new (input: DeleteResourcePolicyCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeleteResourcePolicyCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Deletes the resource-based policy for a specified resource.</p> <note> <p>This feature is currently available only for AgentCore Runtime and Gateway.</p> </note>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { BedrockAgentCoreControlClient, DeleteResourcePolicyCommand } from "@aws-sdk/client-bedrock-agentcore-control"; // ES Modules import
|
|
35
|
+
* // const { BedrockAgentCoreControlClient, DeleteResourcePolicyCommand } = require("@aws-sdk/client-bedrock-agentcore-control"); // CommonJS import
|
|
36
|
+
* // import type { BedrockAgentCoreControlClientConfig } from "@aws-sdk/client-bedrock-agentcore-control";
|
|
37
|
+
* const config = {}; // type is BedrockAgentCoreControlClientConfig
|
|
38
|
+
* const client = new BedrockAgentCoreControlClient(config);
|
|
39
|
+
* const input = { // DeleteResourcePolicyRequest
|
|
40
|
+
* resourceArn: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new DeleteResourcePolicyCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // {};
|
|
45
|
+
*
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
48
|
+
* @param DeleteResourcePolicyCommandInput - {@link DeleteResourcePolicyCommandInput}
|
|
49
|
+
* @returns {@link DeleteResourcePolicyCommandOutput}
|
|
50
|
+
* @see {@link DeleteResourcePolicyCommandInput} for command's `input` shape.
|
|
51
|
+
* @see {@link DeleteResourcePolicyCommandOutput} for command's `response` shape.
|
|
52
|
+
* @see {@link BedrockAgentCoreControlClientResolvedConfig | config} for BedrockAgentCoreControlClient's `config` shape.
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
55
|
+
* <p>This exception is thrown when a request is denied per access permissions</p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link InternalServerException} (server fault)
|
|
58
|
+
* <p>This exception is thrown if there was an unexpected error during processing of request</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
61
|
+
* <p>This exception is thrown when a resource referenced by the operation does not exist</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
64
|
+
* <p>This exception is thrown when the number of requests exceeds the limit</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ValidationException} (client fault)
|
|
67
|
+
* <p>The input fails to satisfy the constraints specified by the service.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link BedrockAgentCoreControlServiceException}
|
|
70
|
+
* <p>Base exception class for all service exceptions from BedrockAgentCoreControl service.</p>
|
|
71
|
+
*
|
|
72
|
+
*
|
|
73
|
+
* @public
|
|
74
|
+
*/
|
|
75
|
+
export declare class DeleteResourcePolicyCommand extends DeleteResourcePolicyCommand_base {
|
|
76
|
+
/** @internal type navigation helper, not in runtime. */
|
|
77
|
+
protected static __types: {
|
|
78
|
+
api: {
|
|
79
|
+
input: DeleteResourcePolicyRequest;
|
|
80
|
+
output: {};
|
|
81
|
+
};
|
|
82
|
+
sdk: {
|
|
83
|
+
input: DeleteResourcePolicyCommandInput;
|
|
84
|
+
output: DeleteResourcePolicyCommandOutput;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreControlClient";
|
|
4
|
-
import { DeleteWorkloadIdentityRequest, DeleteWorkloadIdentityResponse } from "../models/
|
|
4
|
+
import { DeleteWorkloadIdentityRequest, DeleteWorkloadIdentityResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -66,6 +66,7 @@ declare const GetAgentRuntimeCommand_base: {
|
|
|
66
66
|
* // idleRuntimeSessionTimeout: Number("int"),
|
|
67
67
|
* // maxLifetime: Number("int"),
|
|
68
68
|
* // },
|
|
69
|
+
* // failureReason: "STRING_VALUE",
|
|
69
70
|
* // description: "STRING_VALUE",
|
|
70
71
|
* // workloadIdentityDetails: { // WorkloadIdentityDetails
|
|
71
72
|
* // workloadIdentityArn: "STRING_VALUE", // required
|
|
@@ -103,6 +104,24 @@ declare const GetAgentRuntimeCommand_base: {
|
|
|
103
104
|
* // allowedClients: [ // AllowedClientsList
|
|
104
105
|
* // "STRING_VALUE",
|
|
105
106
|
* // ],
|
|
107
|
+
* // allowedScopes: [ // AllowedScopesType
|
|
108
|
+
* // "STRING_VALUE",
|
|
109
|
+
* // ],
|
|
110
|
+
* // customClaims: [ // CustomClaimValidationsType
|
|
111
|
+
* // { // CustomClaimValidationType
|
|
112
|
+
* // inboundTokenClaimName: "STRING_VALUE", // required
|
|
113
|
+
* // inboundTokenClaimValueType: "STRING" || "STRING_ARRAY", // required
|
|
114
|
+
* // authorizingClaimMatchValue: { // AuthorizingClaimMatchValueType
|
|
115
|
+
* // claimMatchValue: { // ClaimMatchValueType Union: only one key present
|
|
116
|
+
* // matchValueString: "STRING_VALUE",
|
|
117
|
+
* // matchValueStringList: [ // MatchValueStringList
|
|
118
|
+
* // "STRING_VALUE",
|
|
119
|
+
* // ],
|
|
120
|
+
* // },
|
|
121
|
+
* // claimMatchOperator: "EQUALS" || "CONTAINS" || "CONTAINS_ANY", // required
|
|
122
|
+
* // },
|
|
123
|
+
* // },
|
|
124
|
+
* // ],
|
|
106
125
|
* // },
|
|
107
126
|
* // },
|
|
108
127
|
* // requestHeaderConfiguration: { // RequestHeaderConfiguration Union: only one key present
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreControlClient";
|
|
4
|
+
import { GetEvaluatorRequest, GetEvaluatorResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetEvaluatorCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetEvaluatorCommandInput extends GetEvaluatorRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetEvaluatorCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetEvaluatorCommandOutput extends GetEvaluatorResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetEvaluatorCommand_base: {
|
|
25
|
+
new (input: GetEvaluatorCommandInput): import("@smithy/smithy-client").CommandImpl<GetEvaluatorCommandInput, GetEvaluatorCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetEvaluatorCommandInput): import("@smithy/smithy-client").CommandImpl<GetEvaluatorCommandInput, GetEvaluatorCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p> Retrieves detailed information about an evaluator, including its configuration, status, and metadata. Works with both built-in and custom evaluators. </p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { BedrockAgentCoreControlClient, GetEvaluatorCommand } from "@aws-sdk/client-bedrock-agentcore-control"; // ES Modules import
|
|
35
|
+
* // const { BedrockAgentCoreControlClient, GetEvaluatorCommand } = require("@aws-sdk/client-bedrock-agentcore-control"); // CommonJS import
|
|
36
|
+
* // import type { BedrockAgentCoreControlClientConfig } from "@aws-sdk/client-bedrock-agentcore-control";
|
|
37
|
+
* const config = {}; // type is BedrockAgentCoreControlClientConfig
|
|
38
|
+
* const client = new BedrockAgentCoreControlClient(config);
|
|
39
|
+
* const input = { // GetEvaluatorRequest
|
|
40
|
+
* evaluatorId: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new GetEvaluatorCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // GetEvaluatorResponse
|
|
45
|
+
* // evaluatorArn: "STRING_VALUE", // required
|
|
46
|
+
* // evaluatorId: "STRING_VALUE", // required
|
|
47
|
+
* // evaluatorName: "STRING_VALUE", // required
|
|
48
|
+
* // description: "STRING_VALUE",
|
|
49
|
+
* // evaluatorConfig: { // EvaluatorConfig Union: only one key present
|
|
50
|
+
* // llmAsAJudge: { // LlmAsAJudgeEvaluatorConfig
|
|
51
|
+
* // instructions: "STRING_VALUE", // required
|
|
52
|
+
* // ratingScale: { // RatingScale Union: only one key present
|
|
53
|
+
* // numerical: [ // NumericalScaleDefinitions
|
|
54
|
+
* // { // NumericalScaleDefinition
|
|
55
|
+
* // definition: "STRING_VALUE", // required
|
|
56
|
+
* // value: Number("double"), // required
|
|
57
|
+
* // label: "STRING_VALUE", // required
|
|
58
|
+
* // },
|
|
59
|
+
* // ],
|
|
60
|
+
* // categorical: [ // CategoricalScaleDefinitions
|
|
61
|
+
* // { // CategoricalScaleDefinition
|
|
62
|
+
* // definition: "STRING_VALUE", // required
|
|
63
|
+
* // label: "STRING_VALUE", // required
|
|
64
|
+
* // },
|
|
65
|
+
* // ],
|
|
66
|
+
* // },
|
|
67
|
+
* // modelConfig: { // EvaluatorModelConfig Union: only one key present
|
|
68
|
+
* // bedrockEvaluatorModelConfig: { // BedrockEvaluatorModelConfig
|
|
69
|
+
* // modelId: "STRING_VALUE", // required
|
|
70
|
+
* // inferenceConfig: { // InferenceConfiguration
|
|
71
|
+
* // maxTokens: Number("int"),
|
|
72
|
+
* // temperature: Number("float"),
|
|
73
|
+
* // topP: Number("float"),
|
|
74
|
+
* // stopSequences: [ // NonEmptyStringList
|
|
75
|
+
* // "STRING_VALUE",
|
|
76
|
+
* // ],
|
|
77
|
+
* // },
|
|
78
|
+
* // additionalModelRequestFields: "DOCUMENT_VALUE",
|
|
79
|
+
* // },
|
|
80
|
+
* // },
|
|
81
|
+
* // },
|
|
82
|
+
* // },
|
|
83
|
+
* // level: "TOOL_CALL" || "TRACE" || "SESSION", // required
|
|
84
|
+
* // status: "ACTIVE" || "CREATING" || "CREATE_FAILED" || "UPDATING" || "UPDATE_FAILED" || "DELETING", // required
|
|
85
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
86
|
+
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
87
|
+
* // lockedForModification: true || false,
|
|
88
|
+
* // };
|
|
89
|
+
*
|
|
90
|
+
* ```
|
|
91
|
+
*
|
|
92
|
+
* @param GetEvaluatorCommandInput - {@link GetEvaluatorCommandInput}
|
|
93
|
+
* @returns {@link GetEvaluatorCommandOutput}
|
|
94
|
+
* @see {@link GetEvaluatorCommandInput} for command's `input` shape.
|
|
95
|
+
* @see {@link GetEvaluatorCommandOutput} for command's `response` shape.
|
|
96
|
+
* @see {@link BedrockAgentCoreControlClientResolvedConfig | config} for BedrockAgentCoreControlClient's `config` shape.
|
|
97
|
+
*
|
|
98
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
99
|
+
* <p>This exception is thrown when a request is denied per access permissions</p>
|
|
100
|
+
*
|
|
101
|
+
* @throws {@link InternalServerException} (server fault)
|
|
102
|
+
* <p>This exception is thrown if there was an unexpected error during processing of request</p>
|
|
103
|
+
*
|
|
104
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
105
|
+
* <p>This exception is thrown when a resource referenced by the operation does not exist</p>
|
|
106
|
+
*
|
|
107
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
108
|
+
* <p>This exception is thrown when the number of requests exceeds the limit</p>
|
|
109
|
+
*
|
|
110
|
+
* @throws {@link ValidationException} (client fault)
|
|
111
|
+
* <p>The input fails to satisfy the constraints specified by the service.</p>
|
|
112
|
+
*
|
|
113
|
+
* @throws {@link BedrockAgentCoreControlServiceException}
|
|
114
|
+
* <p>Base exception class for all service exceptions from BedrockAgentCoreControl service.</p>
|
|
115
|
+
*
|
|
116
|
+
*
|
|
117
|
+
* @public
|
|
118
|
+
*/
|
|
119
|
+
export declare class GetEvaluatorCommand extends GetEvaluatorCommand_base {
|
|
120
|
+
/** @internal type navigation helper, not in runtime. */
|
|
121
|
+
protected static __types: {
|
|
122
|
+
api: {
|
|
123
|
+
input: GetEvaluatorRequest;
|
|
124
|
+
output: GetEvaluatorResponse;
|
|
125
|
+
};
|
|
126
|
+
sdk: {
|
|
127
|
+
input: GetEvaluatorCommandInput;
|
|
128
|
+
output: GetEvaluatorCommandOutput;
|
|
129
|
+
};
|
|
130
|
+
};
|
|
131
|
+
}
|
|
@@ -74,6 +74,24 @@ declare const GetGatewayCommand_base: {
|
|
|
74
74
|
* // allowedClients: [ // AllowedClientsList
|
|
75
75
|
* // "STRING_VALUE",
|
|
76
76
|
* // ],
|
|
77
|
+
* // allowedScopes: [ // AllowedScopesType
|
|
78
|
+
* // "STRING_VALUE",
|
|
79
|
+
* // ],
|
|
80
|
+
* // customClaims: [ // CustomClaimValidationsType
|
|
81
|
+
* // { // CustomClaimValidationType
|
|
82
|
+
* // inboundTokenClaimName: "STRING_VALUE", // required
|
|
83
|
+
* // inboundTokenClaimValueType: "STRING" || "STRING_ARRAY", // required
|
|
84
|
+
* // authorizingClaimMatchValue: { // AuthorizingClaimMatchValueType
|
|
85
|
+
* // claimMatchValue: { // ClaimMatchValueType Union: only one key present
|
|
86
|
+
* // matchValueString: "STRING_VALUE",
|
|
87
|
+
* // matchValueStringList: [ // MatchValueStringList
|
|
88
|
+
* // "STRING_VALUE",
|
|
89
|
+
* // ],
|
|
90
|
+
* // },
|
|
91
|
+
* // claimMatchOperator: "EQUALS" || "CONTAINS" || "CONTAINS_ANY", // required
|
|
92
|
+
* // },
|
|
93
|
+
* // },
|
|
94
|
+
* // ],
|
|
77
95
|
* // },
|
|
78
96
|
* // },
|
|
79
97
|
* // kmsKeyArn: "STRING_VALUE",
|
|
@@ -92,6 +110,10 @@ declare const GetGatewayCommand_base: {
|
|
|
92
110
|
* // },
|
|
93
111
|
* // },
|
|
94
112
|
* // ],
|
|
113
|
+
* // policyEngineConfiguration: { // GatewayPolicyEngineConfiguration
|
|
114
|
+
* // arn: "STRING_VALUE", // required
|
|
115
|
+
* // mode: "LOG_ONLY" || "ENFORCE", // required
|
|
116
|
+
* // },
|
|
95
117
|
* // workloadIdentityDetails: { // WorkloadIdentityDetails
|
|
96
118
|
* // workloadIdentityArn: "STRING_VALUE", // required
|
|
97
119
|
* // },
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreControlClient";
|
|
4
|
-
import { GetGatewayTargetRequest
|
|
4
|
+
import { GetGatewayTargetRequest } from "../models/models_0";
|
|
5
|
+
import { GetGatewayTargetResponse } from "../models/models_1";
|
|
5
6
|
/**
|
|
6
7
|
* @public
|
|
7
8
|
*/
|
|
@@ -109,6 +110,28 @@ declare const GetGatewayTargetCommand_base: {
|
|
|
109
110
|
* // mcpServer: { // McpServerTargetConfiguration
|
|
110
111
|
* // endpoint: "STRING_VALUE", // required
|
|
111
112
|
* // },
|
|
113
|
+
* // apiGateway: { // ApiGatewayTargetConfiguration
|
|
114
|
+
* // restApiId: "STRING_VALUE", // required
|
|
115
|
+
* // stage: "STRING_VALUE", // required
|
|
116
|
+
* // apiGatewayToolConfiguration: { // ApiGatewayToolConfiguration
|
|
117
|
+
* // toolOverrides: [ // ApiGatewayToolOverrides
|
|
118
|
+
* // { // ApiGatewayToolOverride
|
|
119
|
+
* // name: "STRING_VALUE", // required
|
|
120
|
+
* // description: "STRING_VALUE",
|
|
121
|
+
* // path: "STRING_VALUE", // required
|
|
122
|
+
* // method: "GET" || "DELETE" || "HEAD" || "OPTIONS" || "PATCH" || "PUT" || "POST", // required
|
|
123
|
+
* // },
|
|
124
|
+
* // ],
|
|
125
|
+
* // toolFilters: [ // ApiGatewayToolFilters // required
|
|
126
|
+
* // { // ApiGatewayToolFilter
|
|
127
|
+
* // filterPath: "STRING_VALUE", // required
|
|
128
|
+
* // methods: [ // RestApiMethods // required
|
|
129
|
+
* // "GET" || "DELETE" || "HEAD" || "OPTIONS" || "PATCH" || "PUT" || "POST",
|
|
130
|
+
* // ],
|
|
131
|
+
* // },
|
|
132
|
+
* // ],
|
|
133
|
+
* // },
|
|
134
|
+
* // },
|
|
112
135
|
* // },
|
|
113
136
|
* // },
|
|
114
137
|
* // credentialProviderConfigurations: [ // CredentialProviderConfigurations // required
|
|
@@ -123,6 +146,8 @@ declare const GetGatewayTargetCommand_base: {
|
|
|
123
146
|
* // customParameters: { // OAuthCustomParameters
|
|
124
147
|
* // "<keys>": "STRING_VALUE",
|
|
125
148
|
* // },
|
|
149
|
+
* // grantType: "CLIENT_CREDENTIALS" || "AUTHORIZATION_CODE",
|
|
150
|
+
* // defaultReturnUrl: "STRING_VALUE",
|
|
126
151
|
* // },
|
|
127
152
|
* // apiKeyCredentialProvider: { // GatewayApiKeyCredentialProvider
|
|
128
153
|
* // providerArn: "STRING_VALUE", // required
|
|
@@ -60,7 +60,7 @@ declare const GetMemoryCommand_base: {
|
|
|
60
60
|
* // name: "STRING_VALUE", // required
|
|
61
61
|
* // description: "STRING_VALUE",
|
|
62
62
|
* // configuration: { // StrategyConfiguration
|
|
63
|
-
* // type: "SEMANTIC_OVERRIDE" || "SUMMARY_OVERRIDE" || "USER_PREFERENCE_OVERRIDE" || "SELF_MANAGED",
|
|
63
|
+
* // type: "SEMANTIC_OVERRIDE" || "SUMMARY_OVERRIDE" || "USER_PREFERENCE_OVERRIDE" || "SELF_MANAGED" || "EPISODIC_OVERRIDE",
|
|
64
64
|
* // extraction: { // ExtractionConfiguration Union: only one key present
|
|
65
65
|
* // customExtractionConfiguration: { // CustomExtractionConfiguration Union: only one key present
|
|
66
66
|
* // semanticExtractionOverride: { // SemanticExtractionOverride
|
|
@@ -71,6 +71,10 @@ declare const GetMemoryCommand_base: {
|
|
|
71
71
|
* // appendToPrompt: "STRING_VALUE", // required
|
|
72
72
|
* // modelId: "STRING_VALUE", // required
|
|
73
73
|
* // },
|
|
74
|
+
* // episodicExtractionOverride: { // EpisodicExtractionOverride
|
|
75
|
+
* // appendToPrompt: "STRING_VALUE", // required
|
|
76
|
+
* // modelId: "STRING_VALUE", // required
|
|
77
|
+
* // },
|
|
74
78
|
* // },
|
|
75
79
|
* // },
|
|
76
80
|
* // consolidation: { // ConsolidationConfiguration Union: only one key present
|
|
@@ -87,6 +91,26 @@ declare const GetMemoryCommand_base: {
|
|
|
87
91
|
* // appendToPrompt: "STRING_VALUE", // required
|
|
88
92
|
* // modelId: "STRING_VALUE", // required
|
|
89
93
|
* // },
|
|
94
|
+
* // episodicConsolidationOverride: { // EpisodicConsolidationOverride
|
|
95
|
+
* // appendToPrompt: "STRING_VALUE", // required
|
|
96
|
+
* // modelId: "STRING_VALUE", // required
|
|
97
|
+
* // },
|
|
98
|
+
* // },
|
|
99
|
+
* // },
|
|
100
|
+
* // reflection: { // ReflectionConfiguration Union: only one key present
|
|
101
|
+
* // customReflectionConfiguration: { // CustomReflectionConfiguration Union: only one key present
|
|
102
|
+
* // episodicReflectionOverride: { // EpisodicReflectionOverride
|
|
103
|
+
* // appendToPrompt: "STRING_VALUE", // required
|
|
104
|
+
* // modelId: "STRING_VALUE", // required
|
|
105
|
+
* // namespaces: [ // NamespacesList
|
|
106
|
+
* // "STRING_VALUE",
|
|
107
|
+
* // ],
|
|
108
|
+
* // },
|
|
109
|
+
* // },
|
|
110
|
+
* // episodicReflectionConfiguration: { // EpisodicReflectionConfiguration
|
|
111
|
+
* // namespaces: [ // required
|
|
112
|
+
* // "STRING_VALUE",
|
|
113
|
+
* // ],
|
|
90
114
|
* // },
|
|
91
115
|
* // },
|
|
92
116
|
* // selfManagedConfiguration: { // SelfManagedConfiguration
|
|
@@ -110,10 +134,8 @@ declare const GetMemoryCommand_base: {
|
|
|
110
134
|
* // historicalContextWindowSize: Number("int"), // required
|
|
111
135
|
* // },
|
|
112
136
|
* // },
|
|
113
|
-
* // type: "SEMANTIC" || "SUMMARIZATION" || "USER_PREFERENCE" || "CUSTOM", // required
|
|
114
|
-
* // namespaces:
|
|
115
|
-
* // "STRING_VALUE",
|
|
116
|
-
* // ],
|
|
137
|
+
* // type: "SEMANTIC" || "SUMMARIZATION" || "USER_PREFERENCE" || "CUSTOM" || "EPISODIC", // required
|
|
138
|
+
* // namespaces: "<NamespacesList>", // required
|
|
117
139
|
* // createdAt: new Date("TIMESTAMP"),
|
|
118
140
|
* // updatedAt: new Date("TIMESTAMP"),
|
|
119
141
|
* // status: "CREATING" || "ACTIVE" || "DELETING" || "FAILED",
|