@aws-sdk/client-bedrock-agentcore-control 3.940.0 → 3.946.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 +2060 -545
- package/dist-cjs/runtimeConfig.browser.js +2 -2
- package/dist-cjs/runtimeConfig.js +3 -4
- package/dist-es/BedrockAgentCoreControl.js +54 -0
- package/dist-es/BedrockAgentCoreControlClient.js +2 -2
- 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/runtimeConfig.browser.js +2 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/schemas/schemas_0.js +1276 -535
- 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 +193 -1
- package/dist-types/BedrockAgentCoreControlClient.d.ts +39 -12
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +2 -2
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +2 -2
- package/dist-types/commands/CreateAgentRuntimeCommand.d.ts +21 -3
- package/dist-types/commands/CreateAgentRuntimeEndpointCommand.d.ts +3 -3
- package/dist-types/commands/CreateApiKeyCredentialProviderCommand.d.ts +3 -3
- package/dist-types/commands/CreateBrowserCommand.d.ts +3 -3
- package/dist-types/commands/CreateCodeInterpreterCommand.d.ts +3 -3
- package/dist-types/commands/CreateEvaluatorCommand.d.ts +132 -0
- package/dist-types/commands/CreateGatewayCommand.d.ts +47 -3
- package/dist-types/commands/CreateGatewayTargetCommand.d.ts +51 -3
- package/dist-types/commands/CreateMemoryCommand.d.ts +55 -8
- package/dist-types/commands/CreateOauth2CredentialProviderCommand.d.ts +3 -3
- 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 +3 -3
- package/dist-types/commands/DeleteAgentRuntimeCommand.d.ts +3 -3
- package/dist-types/commands/DeleteAgentRuntimeEndpointCommand.d.ts +3 -3
- package/dist-types/commands/DeleteApiKeyCredentialProviderCommand.d.ts +3 -3
- package/dist-types/commands/DeleteBrowserCommand.d.ts +3 -3
- package/dist-types/commands/DeleteCodeInterpreterCommand.d.ts +3 -3
- package/dist-types/commands/DeleteEvaluatorCommand.d.ts +94 -0
- package/dist-types/commands/DeleteGatewayCommand.d.ts +3 -3
- package/dist-types/commands/DeleteGatewayTargetCommand.d.ts +3 -3
- package/dist-types/commands/DeleteMemoryCommand.d.ts +6 -3
- package/dist-types/commands/DeleteOauth2CredentialProviderCommand.d.ts +3 -3
- 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 +3 -3
- package/dist-types/commands/GetAgentRuntimeCommand.d.ts +22 -3
- package/dist-types/commands/GetAgentRuntimeEndpointCommand.d.ts +3 -3
- package/dist-types/commands/GetApiKeyCredentialProviderCommand.d.ts +3 -3
- package/dist-types/commands/GetBrowserCommand.d.ts +3 -3
- package/dist-types/commands/GetCodeInterpreterCommand.d.ts +3 -3
- package/dist-types/commands/GetEvaluatorCommand.d.ts +131 -0
- package/dist-types/commands/GetGatewayCommand.d.ts +25 -3
- package/dist-types/commands/GetGatewayTargetCommand.d.ts +28 -3
- package/dist-types/commands/GetMemoryCommand.d.ts +30 -8
- package/dist-types/commands/GetOauth2CredentialProviderCommand.d.ts +3 -3
- 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/GetTokenVaultCommand.d.ts +3 -3
- package/dist-types/commands/GetWorkloadIdentityCommand.d.ts +3 -3
- package/dist-types/commands/ListAgentRuntimeEndpointsCommand.d.ts +3 -3
- package/dist-types/commands/ListAgentRuntimeVersionsCommand.d.ts +3 -3
- package/dist-types/commands/ListAgentRuntimesCommand.d.ts +3 -3
- package/dist-types/commands/ListApiKeyCredentialProvidersCommand.d.ts +3 -3
- package/dist-types/commands/ListBrowsersCommand.d.ts +3 -3
- package/dist-types/commands/ListCodeInterpretersCommand.d.ts +3 -3
- package/dist-types/commands/ListEvaluatorsCommand.d.ts +101 -0
- package/dist-types/commands/ListGatewayTargetsCommand.d.ts +3 -3
- package/dist-types/commands/ListGatewaysCommand.d.ts +3 -3
- package/dist-types/commands/ListMemoriesCommand.d.ts +3 -3
- package/dist-types/commands/ListOauth2CredentialProvidersCommand.d.ts +3 -3
- 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/ListTagsForResourceCommand.d.ts +3 -3
- package/dist-types/commands/ListWorkloadIdentitiesCommand.d.ts +3 -3
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +90 -0
- package/dist-types/commands/SetTokenVaultCMKCommand.d.ts +3 -3
- package/dist-types/commands/StartPolicyGenerationCommand.d.ts +116 -0
- package/dist-types/commands/SynchronizeGatewayTargetsCommand.d.ts +28 -3
- package/dist-types/commands/TagResourceCommand.d.ts +3 -3
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
- package/dist-types/commands/UpdateAgentRuntimeCommand.d.ts +21 -3
- package/dist-types/commands/UpdateAgentRuntimeEndpointCommand.d.ts +3 -3
- package/dist-types/commands/UpdateApiKeyCredentialProviderCommand.d.ts +3 -3
- package/dist-types/commands/UpdateEvaluatorCommand.d.ts +135 -0
- package/dist-types/commands/UpdateGatewayCommand.d.ts +47 -3
- package/dist-types/commands/UpdateGatewayTargetCommand.d.ts +51 -3
- package/dist-types/commands/UpdateMemoryCommand.d.ts +76 -11
- package/dist-types/commands/UpdateOauth2CredentialProviderCommand.d.ts +3 -3
- 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 +3 -3
- package/dist-types/commands/index.d.ts +27 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +13 -1
- package/dist-types/endpoint/endpointResolver.d.ts +5 -2
- package/dist-types/extensionConfiguration.d.ts +4 -4
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/BedrockAgentCoreControlServiceException.d.ts +1 -1
- package/dist-types/models/enums.d.ts +232 -0
- package/dist-types/models/errors.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +4160 -2169
- package/dist-types/models/models_1.d.ts +1009 -0
- package/dist-types/pagination/Interfaces.d.ts +1 -1
- package/dist-types/pagination/ListAgentRuntimeEndpointsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListAgentRuntimeVersionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListAgentRuntimesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListApiKeyCredentialProvidersPaginator.d.ts +1 -1
- package/dist-types/pagination/ListBrowsersPaginator.d.ts +1 -1
- package/dist-types/pagination/ListCodeInterpretersPaginator.d.ts +1 -1
- package/dist-types/pagination/ListEvaluatorsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListGatewayTargetsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListGatewaysPaginator.d.ts +1 -1
- package/dist-types/pagination/ListMemoriesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListOauth2CredentialProvidersPaginator.d.ts +1 -1
- 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/ListWorkloadIdentitiesPaginator.d.ts +1 -1
- package/dist-types/pagination/index.d.ts +6 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/runtimeConfig.shared.d.ts +1 -1
- package/dist-types/runtimeExtensions.d.ts +1 -1
- package/dist-types/schemas/schemas_0.d.ts +157 -1
- package/dist-types/ts3.4/BedrockAgentCoreControl.d.ts +462 -0
- package/dist-types/ts3.4/BedrockAgentCoreControlClient.d.ts +165 -3
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- 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/BedrockAgentCoreControlServiceException.d.ts +1 -1
- 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 +13 -12
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreControlClient";
|
|
4
|
+
import type { GetPolicyGenerationRequest, GetPolicyGenerationResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetPolicyGenerationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetPolicyGenerationCommandInput extends GetPolicyGenerationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetPolicyGenerationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetPolicyGenerationCommandOutput extends GetPolicyGenerationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetPolicyGenerationCommand_base: {
|
|
25
|
+
new (input: GetPolicyGenerationCommandInput): import("@smithy/smithy-client").CommandImpl<GetPolicyGenerationCommandInput, GetPolicyGenerationCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetPolicyGenerationCommandInput): import("@smithy/smithy-client").CommandImpl<GetPolicyGenerationCommandInput, GetPolicyGenerationCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Retrieves information about a policy generation request within the AgentCore Policy system. Policy generation converts natural language descriptions into Cedar policy statements using AI-powered translation, enabling non-technical users to create policies.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { BedrockAgentCoreControlClient, GetPolicyGenerationCommand } from "@aws-sdk/client-bedrock-agentcore-control"; // ES Modules import
|
|
35
|
+
* // const { BedrockAgentCoreControlClient, GetPolicyGenerationCommand } = 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 = { // GetPolicyGenerationRequest
|
|
40
|
+
* policyGenerationId: "STRING_VALUE", // required
|
|
41
|
+
* policyEngineId: "STRING_VALUE", // required
|
|
42
|
+
* };
|
|
43
|
+
* const command = new GetPolicyGenerationCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // GetPolicyGenerationResponse
|
|
46
|
+
* // policyEngineId: "STRING_VALUE", // required
|
|
47
|
+
* // policyGenerationId: "STRING_VALUE", // required
|
|
48
|
+
* // name: "STRING_VALUE", // required
|
|
49
|
+
* // policyGenerationArn: "STRING_VALUE", // required
|
|
50
|
+
* // resource: { // Resource Union: only one key present
|
|
51
|
+
* // arn: "STRING_VALUE",
|
|
52
|
+
* // },
|
|
53
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
54
|
+
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
55
|
+
* // status: "GENERATING" || "GENERATED" || "GENERATE_FAILED" || "DELETE_FAILED", // required
|
|
56
|
+
* // statusReasons: [ // PolicyStatusReasons // required
|
|
57
|
+
* // "STRING_VALUE",
|
|
58
|
+
* // ],
|
|
59
|
+
* // findings: "STRING_VALUE",
|
|
60
|
+
* // };
|
|
61
|
+
*
|
|
62
|
+
* ```
|
|
63
|
+
*
|
|
64
|
+
* @param GetPolicyGenerationCommandInput - {@link GetPolicyGenerationCommandInput}
|
|
65
|
+
* @returns {@link GetPolicyGenerationCommandOutput}
|
|
66
|
+
* @see {@link GetPolicyGenerationCommandInput} for command's `input` shape.
|
|
67
|
+
* @see {@link GetPolicyGenerationCommandOutput} for command's `response` shape.
|
|
68
|
+
* @see {@link BedrockAgentCoreControlClientResolvedConfig | config} for BedrockAgentCoreControlClient's `config` shape.
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
71
|
+
* <p>This exception is thrown when a request is denied per access permissions</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link InternalServerException} (server fault)
|
|
74
|
+
* <p>This exception is thrown if there was an unexpected error during processing of request</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
77
|
+
* <p>This exception is thrown when a resource referenced by the operation does not exist</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
80
|
+
* <p>This exception is thrown when the number of requests exceeds the limit</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link ValidationException} (client fault)
|
|
83
|
+
* <p>The input fails to satisfy the constraints specified by the service.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link BedrockAgentCoreControlServiceException}
|
|
86
|
+
* <p>Base exception class for all service exceptions from BedrockAgentCoreControl service.</p>
|
|
87
|
+
*
|
|
88
|
+
*
|
|
89
|
+
* @public
|
|
90
|
+
*/
|
|
91
|
+
export declare class GetPolicyGenerationCommand extends GetPolicyGenerationCommand_base {
|
|
92
|
+
/** @internal type navigation helper, not in runtime. */
|
|
93
|
+
protected static __types: {
|
|
94
|
+
api: {
|
|
95
|
+
input: GetPolicyGenerationRequest;
|
|
96
|
+
output: GetPolicyGenerationResponse;
|
|
97
|
+
};
|
|
98
|
+
sdk: {
|
|
99
|
+
input: GetPolicyGenerationCommandInput;
|
|
100
|
+
output: GetPolicyGenerationCommandOutput;
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreControlClient";
|
|
4
|
+
import type { GetResourcePolicyRequest, GetResourcePolicyResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetResourcePolicyCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetResourcePolicyCommandInput extends GetResourcePolicyRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetResourcePolicyCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetResourcePolicyCommandOutput extends GetResourcePolicyResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetResourcePolicyCommand_base: {
|
|
25
|
+
new (input: GetResourcePolicyCommandInput): import("@smithy/smithy-client").CommandImpl<GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetResourcePolicyCommandInput): import("@smithy/smithy-client").CommandImpl<GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Retrieves 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, GetResourcePolicyCommand } from "@aws-sdk/client-bedrock-agentcore-control"; // ES Modules import
|
|
35
|
+
* // const { BedrockAgentCoreControlClient, GetResourcePolicyCommand } = 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 = { // GetResourcePolicyRequest
|
|
40
|
+
* resourceArn: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new GetResourcePolicyCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // GetResourcePolicyResponse
|
|
45
|
+
* // policy: "STRING_VALUE",
|
|
46
|
+
* // };
|
|
47
|
+
*
|
|
48
|
+
* ```
|
|
49
|
+
*
|
|
50
|
+
* @param GetResourcePolicyCommandInput - {@link GetResourcePolicyCommandInput}
|
|
51
|
+
* @returns {@link GetResourcePolicyCommandOutput}
|
|
52
|
+
* @see {@link GetResourcePolicyCommandInput} for command's `input` shape.
|
|
53
|
+
* @see {@link GetResourcePolicyCommandOutput} for command's `response` shape.
|
|
54
|
+
* @see {@link BedrockAgentCoreControlClientResolvedConfig | config} for BedrockAgentCoreControlClient's `config` shape.
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
57
|
+
* <p>This exception is thrown when a request is denied per access permissions</p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link InternalServerException} (server fault)
|
|
60
|
+
* <p>This exception is thrown if there was an unexpected error during processing of request</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
63
|
+
* <p>This exception is thrown when a resource referenced by the operation does not exist</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
66
|
+
* <p>This exception is thrown when the number of requests exceeds the limit</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ValidationException} (client fault)
|
|
69
|
+
* <p>The input fails to satisfy the constraints specified by the service.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link BedrockAgentCoreControlServiceException}
|
|
72
|
+
* <p>Base exception class for all service exceptions from BedrockAgentCoreControl service.</p>
|
|
73
|
+
*
|
|
74
|
+
*
|
|
75
|
+
* @public
|
|
76
|
+
*/
|
|
77
|
+
export declare class GetResourcePolicyCommand extends GetResourcePolicyCommand_base {
|
|
78
|
+
/** @internal type navigation helper, not in runtime. */
|
|
79
|
+
protected static __types: {
|
|
80
|
+
api: {
|
|
81
|
+
input: GetResourcePolicyRequest;
|
|
82
|
+
output: GetResourcePolicyResponse;
|
|
83
|
+
};
|
|
84
|
+
sdk: {
|
|
85
|
+
input: GetResourcePolicyCommandInput;
|
|
86
|
+
output: GetResourcePolicyCommandOutput;
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
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 { GetTokenVaultRequest, GetTokenVaultResponse } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreControlClient";
|
|
4
|
+
import type { GetTokenVaultRequest, GetTokenVaultResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
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 { GetWorkloadIdentityRequest, GetWorkloadIdentityResponse } from "../models/
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreControlClient";
|
|
4
|
+
import type { GetWorkloadIdentityRequest, GetWorkloadIdentityResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
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 { ListAgentRuntimeEndpointsRequest, ListAgentRuntimeEndpointsResponse } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreControlClient";
|
|
4
|
+
import type { ListAgentRuntimeEndpointsRequest, ListAgentRuntimeEndpointsResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
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 { ListAgentRuntimeVersionsRequest, ListAgentRuntimeVersionsResponse } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreControlClient";
|
|
4
|
+
import type { ListAgentRuntimeVersionsRequest, ListAgentRuntimeVersionsResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
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 { ListAgentRuntimesRequest, ListAgentRuntimesResponse } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreControlClient";
|
|
4
|
+
import type { ListAgentRuntimesRequest, ListAgentRuntimesResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
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 { ListApiKeyCredentialProvidersRequest, ListApiKeyCredentialProvidersResponse } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreControlClient";
|
|
4
|
+
import type { ListApiKeyCredentialProvidersRequest, ListApiKeyCredentialProvidersResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
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 { ListBrowsersRequest, ListBrowsersResponse } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreControlClient";
|
|
4
|
+
import type { ListBrowsersRequest, ListBrowsersResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
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 { ListCodeInterpretersRequest, ListCodeInterpretersResponse } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreControlClient";
|
|
4
|
+
import type { ListCodeInterpretersRequest, ListCodeInterpretersResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreControlClient";
|
|
4
|
+
import type { ListEvaluatorsRequest, ListEvaluatorsResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListEvaluatorsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListEvaluatorsCommandInput extends ListEvaluatorsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListEvaluatorsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListEvaluatorsCommandOutput extends ListEvaluatorsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListEvaluatorsCommand_base: {
|
|
25
|
+
new (input: ListEvaluatorsCommandInput): import("@smithy/smithy-client").CommandImpl<ListEvaluatorsCommandInput, ListEvaluatorsCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [ListEvaluatorsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListEvaluatorsCommandInput, ListEvaluatorsCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p> Lists all available evaluators, including both builtin evaluators provided by the service and custom evaluators created by the user. </p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { BedrockAgentCoreControlClient, ListEvaluatorsCommand } from "@aws-sdk/client-bedrock-agentcore-control"; // ES Modules import
|
|
35
|
+
* // const { BedrockAgentCoreControlClient, ListEvaluatorsCommand } = 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 = { // ListEvaluatorsRequest
|
|
40
|
+
* nextToken: "STRING_VALUE",
|
|
41
|
+
* maxResults: Number("int"),
|
|
42
|
+
* };
|
|
43
|
+
* const command = new ListEvaluatorsCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // ListEvaluatorsResponse
|
|
46
|
+
* // evaluators: [ // EvaluatorSummaryList // required
|
|
47
|
+
* // { // EvaluatorSummary
|
|
48
|
+
* // evaluatorArn: "STRING_VALUE", // required
|
|
49
|
+
* // evaluatorId: "STRING_VALUE", // required
|
|
50
|
+
* // evaluatorName: "STRING_VALUE", // required
|
|
51
|
+
* // description: "STRING_VALUE",
|
|
52
|
+
* // evaluatorType: "Builtin" || "Custom", // required
|
|
53
|
+
* // level: "TOOL_CALL" || "TRACE" || "SESSION",
|
|
54
|
+
* // status: "ACTIVE" || "CREATING" || "CREATE_FAILED" || "UPDATING" || "UPDATE_FAILED" || "DELETING", // required
|
|
55
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
56
|
+
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
57
|
+
* // lockedForModification: true || false,
|
|
58
|
+
* // },
|
|
59
|
+
* // ],
|
|
60
|
+
* // nextToken: "STRING_VALUE",
|
|
61
|
+
* // };
|
|
62
|
+
*
|
|
63
|
+
* ```
|
|
64
|
+
*
|
|
65
|
+
* @param ListEvaluatorsCommandInput - {@link ListEvaluatorsCommandInput}
|
|
66
|
+
* @returns {@link ListEvaluatorsCommandOutput}
|
|
67
|
+
* @see {@link ListEvaluatorsCommandInput} for command's `input` shape.
|
|
68
|
+
* @see {@link ListEvaluatorsCommandOutput} for command's `response` shape.
|
|
69
|
+
* @see {@link BedrockAgentCoreControlClientResolvedConfig | config} for BedrockAgentCoreControlClient's `config` shape.
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
72
|
+
* <p>This exception is thrown when a request is denied per access permissions</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link InternalServerException} (server fault)
|
|
75
|
+
* <p>This exception is thrown if there was an unexpected error during processing of request</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 ListEvaluatorsCommand extends ListEvaluatorsCommand_base {
|
|
90
|
+
/** @internal type navigation helper, not in runtime. */
|
|
91
|
+
protected static __types: {
|
|
92
|
+
api: {
|
|
93
|
+
input: ListEvaluatorsRequest;
|
|
94
|
+
output: ListEvaluatorsResponse;
|
|
95
|
+
};
|
|
96
|
+
sdk: {
|
|
97
|
+
input: ListEvaluatorsCommandInput;
|
|
98
|
+
output: ListEvaluatorsCommandOutput;
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
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 { ListGatewayTargetsRequest, ListGatewayTargetsResponse } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreControlClient";
|
|
4
|
+
import type { ListGatewayTargetsRequest, ListGatewayTargetsResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
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 { ListGatewaysRequest, ListGatewaysResponse } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreControlClient";
|
|
4
|
+
import type { ListGatewaysRequest, ListGatewaysResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
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 { ListMemoriesInput, ListMemoriesOutput } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreControlClient";
|
|
4
|
+
import type { ListMemoriesInput, ListMemoriesOutput } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
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 { ListOauth2CredentialProvidersRequest, ListOauth2CredentialProvidersResponse } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreControlClient";
|
|
4
|
+
import type { ListOauth2CredentialProvidersRequest, ListOauth2CredentialProvidersResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreControlClient";
|
|
4
|
+
import type { ListOnlineEvaluationConfigsRequest, ListOnlineEvaluationConfigsResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListOnlineEvaluationConfigsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListOnlineEvaluationConfigsCommandInput extends ListOnlineEvaluationConfigsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListOnlineEvaluationConfigsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListOnlineEvaluationConfigsCommandOutput extends ListOnlineEvaluationConfigsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListOnlineEvaluationConfigsCommand_base: {
|
|
25
|
+
new (input: ListOnlineEvaluationConfigsCommandInput): import("@smithy/smithy-client").CommandImpl<ListOnlineEvaluationConfigsCommandInput, ListOnlineEvaluationConfigsCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [ListOnlineEvaluationConfigsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListOnlineEvaluationConfigsCommandInput, ListOnlineEvaluationConfigsCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p> Lists all online evaluation configurations in the account, providing summary information about each configuration's status and settings. </p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { BedrockAgentCoreControlClient, ListOnlineEvaluationConfigsCommand } from "@aws-sdk/client-bedrock-agentcore-control"; // ES Modules import
|
|
35
|
+
* // const { BedrockAgentCoreControlClient, ListOnlineEvaluationConfigsCommand } = 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 = { // ListOnlineEvaluationConfigsRequest
|
|
40
|
+
* nextToken: "STRING_VALUE",
|
|
41
|
+
* maxResults: Number("int"),
|
|
42
|
+
* };
|
|
43
|
+
* const command = new ListOnlineEvaluationConfigsCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // ListOnlineEvaluationConfigsResponse
|
|
46
|
+
* // onlineEvaluationConfigs: [ // OnlineEvaluationConfigSummaryList // required
|
|
47
|
+
* // { // OnlineEvaluationConfigSummary
|
|
48
|
+
* // onlineEvaluationConfigArn: "STRING_VALUE", // required
|
|
49
|
+
* // onlineEvaluationConfigId: "STRING_VALUE", // required
|
|
50
|
+
* // onlineEvaluationConfigName: "STRING_VALUE", // required
|
|
51
|
+
* // description: "STRING_VALUE",
|
|
52
|
+
* // status: "ACTIVE" || "CREATING" || "CREATE_FAILED" || "UPDATING" || "UPDATE_FAILED" || "DELETING", // required
|
|
53
|
+
* // executionStatus: "ENABLED" || "DISABLED", // required
|
|
54
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
55
|
+
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
56
|
+
* // failureReason: "STRING_VALUE",
|
|
57
|
+
* // },
|
|
58
|
+
* // ],
|
|
59
|
+
* // nextToken: "STRING_VALUE",
|
|
60
|
+
* // };
|
|
61
|
+
*
|
|
62
|
+
* ```
|
|
63
|
+
*
|
|
64
|
+
* @param ListOnlineEvaluationConfigsCommandInput - {@link ListOnlineEvaluationConfigsCommandInput}
|
|
65
|
+
* @returns {@link ListOnlineEvaluationConfigsCommandOutput}
|
|
66
|
+
* @see {@link ListOnlineEvaluationConfigsCommandInput} for command's `input` shape.
|
|
67
|
+
* @see {@link ListOnlineEvaluationConfigsCommandOutput} for command's `response` shape.
|
|
68
|
+
* @see {@link BedrockAgentCoreControlClientResolvedConfig | config} for BedrockAgentCoreControlClient's `config` shape.
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
71
|
+
* <p>This exception is thrown when a request is denied per access permissions</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link InternalServerException} (server fault)
|
|
74
|
+
* <p>This exception is thrown if there was an unexpected error during processing of request</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
77
|
+
* <p>This exception is thrown when the number of requests exceeds the limit</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link ValidationException} (client fault)
|
|
80
|
+
* <p>The input fails to satisfy the constraints specified by the service.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link BedrockAgentCoreControlServiceException}
|
|
83
|
+
* <p>Base exception class for all service exceptions from BedrockAgentCoreControl service.</p>
|
|
84
|
+
*
|
|
85
|
+
*
|
|
86
|
+
* @public
|
|
87
|
+
*/
|
|
88
|
+
export declare class ListOnlineEvaluationConfigsCommand extends ListOnlineEvaluationConfigsCommand_base {
|
|
89
|
+
/** @internal type navigation helper, not in runtime. */
|
|
90
|
+
protected static __types: {
|
|
91
|
+
api: {
|
|
92
|
+
input: ListOnlineEvaluationConfigsRequest;
|
|
93
|
+
output: ListOnlineEvaluationConfigsResponse;
|
|
94
|
+
};
|
|
95
|
+
sdk: {
|
|
96
|
+
input: ListOnlineEvaluationConfigsCommandInput;
|
|
97
|
+
output: ListOnlineEvaluationConfigsCommandOutput;
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
}
|