@aws-sdk/client-bedrock-agentcore-control 3.1037.0 → 3.1039.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 +84 -0
- package/dist-cjs/index.js +217 -2
- package/dist-cjs/schemas/schemas_0.js +529 -98
- package/dist-es/BedrockAgentCoreControl.js +30 -0
- package/dist-es/commands/CreateConfigurationBundleCommand.js +16 -0
- package/dist-es/commands/CreateGatewayRuleCommand.js +16 -0
- package/dist-es/commands/DeleteConfigurationBundleCommand.js +16 -0
- package/dist-es/commands/DeleteGatewayRuleCommand.js +16 -0
- package/dist-es/commands/GetConfigurationBundleCommand.js +16 -0
- package/dist-es/commands/GetConfigurationBundleVersionCommand.js +16 -0
- package/dist-es/commands/GetGatewayRuleCommand.js +16 -0
- package/dist-es/commands/ListConfigurationBundleVersionsCommand.js +16 -0
- package/dist-es/commands/ListConfigurationBundlesCommand.js +16 -0
- package/dist-es/commands/ListGatewayRulesCommand.js +16 -0
- package/dist-es/commands/UpdateConfigurationBundleCommand.js +16 -0
- package/dist-es/commands/UpdateGatewayRuleCommand.js +16 -0
- package/dist-es/commands/index.js +12 -0
- package/dist-es/models/enums.js +30 -0
- package/dist-es/pagination/ListConfigurationBundleVersionsPaginator.js +4 -0
- package/dist-es/pagination/ListConfigurationBundlesPaginator.js +4 -0
- package/dist-es/pagination/ListGatewayRulesPaginator.js +4 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/schemas/schemas_0.js +516 -86
- package/dist-es/waiters/waitForMemoryCreated.js +1 -1
- package/dist-es/waiters/waitForPolicyActive.js +1 -1
- package/dist-es/waiters/waitForPolicyDeleted.js +2 -2
- package/dist-es/waiters/waitForPolicyEngineActive.js +1 -1
- package/dist-es/waiters/waitForPolicyEngineDeleted.js +2 -2
- package/dist-types/BedrockAgentCoreControl.d.ts +113 -6
- package/dist-types/BedrockAgentCoreControlClient.d.ts +14 -2
- package/dist-types/commands/CreateConfigurationBundleCommand.d.ts +111 -0
- package/dist-types/commands/CreateEvaluatorCommand.d.ts +1 -0
- package/dist-types/commands/CreateGatewayCommand.d.ts +4 -4
- package/dist-types/commands/CreateGatewayRuleCommand.d.ts +232 -0
- package/dist-types/commands/CreateGatewayTargetCommand.d.ts +17 -4
- package/dist-types/commands/CreateMemoryCommand.d.ts +2 -1
- package/dist-types/commands/DeleteConfigurationBundleCommand.d.ts +93 -0
- package/dist-types/commands/DeleteGatewayRuleCommand.d.ts +94 -0
- package/dist-types/commands/DeleteMemoryCommand.d.ts +1 -1
- package/dist-types/commands/GetConfigurationBundleCommand.d.ts +112 -0
- package/dist-types/commands/GetConfigurationBundleVersionCommand.d.ts +112 -0
- package/dist-types/commands/GetEvaluatorCommand.d.ts +2 -0
- package/dist-types/commands/GetGatewayCommand.d.ts +2 -2
- package/dist-types/commands/GetGatewayRuleCommand.d.ts +162 -0
- package/dist-types/commands/GetGatewayTargetCommand.d.ts +9 -2
- package/dist-types/commands/GetMemoryCommand.d.ts +1 -1
- package/dist-types/commands/ListConfigurationBundleVersionsCommand.d.ts +115 -0
- package/dist-types/commands/ListConfigurationBundlesCommand.d.ts +95 -0
- package/dist-types/commands/ListEvaluatorsCommand.d.ts +1 -0
- package/dist-types/commands/ListGatewayRulesCommand.d.ts +168 -0
- package/dist-types/commands/ListGatewaysCommand.d.ts +2 -2
- package/dist-types/commands/ListMemoriesCommand.d.ts +1 -1
- package/dist-types/commands/SynchronizeGatewayTargetsCommand.d.ts +9 -2
- package/dist-types/commands/UpdateConfigurationBundleCommand.d.ts +112 -0
- package/dist-types/commands/UpdateEvaluatorCommand.d.ts +1 -0
- package/dist-types/commands/UpdateGatewayCommand.d.ts +4 -4
- package/dist-types/commands/UpdateGatewayRuleCommand.d.ts +230 -0
- package/dist-types/commands/UpdateGatewayTargetCommand.d.ts +17 -4
- package/dist-types/commands/UpdateMemoryCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +12 -0
- package/dist-types/models/enums.d.ts +70 -0
- package/dist-types/models/models_0.d.ts +2866 -2901
- package/dist-types/models/models_1.d.ts +1406 -4
- package/dist-types/pagination/ListConfigurationBundleVersionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListConfigurationBundlesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListGatewayRulesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/schemas/schemas_0.d.ts +61 -0
- package/dist-types/ts3.4/BedrockAgentCoreControl.d.ts +233 -6
- package/dist-types/ts3.4/BedrockAgentCoreControlClient.d.ts +72 -0
- package/dist-types/ts3.4/commands/CreateConfigurationBundleCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateGatewayRuleCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateMemoryCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DeleteConfigurationBundleCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteGatewayRuleCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteMemoryCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetConfigurationBundleCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetConfigurationBundleVersionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetGatewayRuleCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetMemoryCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListConfigurationBundleVersionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListConfigurationBundlesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListGatewayRulesCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListMemoriesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateConfigurationBundleCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateGatewayRuleCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateMemoryCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +12 -0
- package/dist-types/ts3.4/models/enums.d.ts +39 -0
- package/dist-types/ts3.4/models/models_0.d.ts +405 -571
- package/dist-types/ts3.4/models/models_1.d.ts +592 -7
- package/dist-types/ts3.4/pagination/ListConfigurationBundleVersionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListConfigurationBundlesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListGatewayRulesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +61 -0
- package/dist-types/ts3.4/waiters/waitForMemoryCreated.d.ts +9 -3
- package/dist-types/ts3.4/waiters/waitForPolicyActive.d.ts +9 -3
- package/dist-types/ts3.4/waiters/waitForPolicyDeleted.d.ts +10 -3
- package/dist-types/ts3.4/waiters/waitForPolicyEngineActive.d.ts +11 -3
- package/dist-types/ts3.4/waiters/waitForPolicyEngineDeleted.d.ts +12 -3
- package/dist-types/ts3.4/waiters/waitForPolicyGenerationCompleted.d.ts +11 -3
- package/dist-types/waiters/waitForMemoryCreated.d.ts +4 -3
- package/dist-types/waiters/waitForPolicyActive.d.ts +4 -3
- package/dist-types/waiters/waitForPolicyDeleted.d.ts +5 -3
- package/dist-types/waiters/waitForPolicyEngineActive.d.ts +4 -3
- package/dist-types/waiters/waitForPolicyEngineDeleted.d.ts +5 -3
- package/dist-types/waiters/waitForPolicyGenerationCompleted.d.ts +4 -3
- package/package.json +8 -8
|
@@ -0,0 +1,112 @@
|
|
|
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 { GetConfigurationBundleVersionRequest, GetConfigurationBundleVersionResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetConfigurationBundleVersionCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetConfigurationBundleVersionCommandInput extends GetConfigurationBundleVersionRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetConfigurationBundleVersionCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetConfigurationBundleVersionCommandOutput extends GetConfigurationBundleVersionResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetConfigurationBundleVersionCommand_base: {
|
|
25
|
+
new (input: GetConfigurationBundleVersionCommandInput): import("@smithy/smithy-client").CommandImpl<GetConfigurationBundleVersionCommandInput, GetConfigurationBundleVersionCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetConfigurationBundleVersionCommandInput): import("@smithy/smithy-client").CommandImpl<GetConfigurationBundleVersionCommandInput, GetConfigurationBundleVersionCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Gets a specific version of a configuration bundle by its version identifier.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { BedrockAgentCoreControlClient, GetConfigurationBundleVersionCommand } from "@aws-sdk/client-bedrock-agentcore-control"; // ES Modules import
|
|
35
|
+
* // const { BedrockAgentCoreControlClient, GetConfigurationBundleVersionCommand } = 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 = { // GetConfigurationBundleVersionRequest
|
|
40
|
+
* bundleId: "STRING_VALUE", // required
|
|
41
|
+
* versionId: "STRING_VALUE", // required
|
|
42
|
+
* };
|
|
43
|
+
* const command = new GetConfigurationBundleVersionCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // GetConfigurationBundleVersionResponse
|
|
46
|
+
* // bundleArn: "STRING_VALUE", // required
|
|
47
|
+
* // bundleId: "STRING_VALUE", // required
|
|
48
|
+
* // bundleName: "STRING_VALUE", // required
|
|
49
|
+
* // description: "STRING_VALUE",
|
|
50
|
+
* // versionId: "STRING_VALUE", // required
|
|
51
|
+
* // components: { // ComponentConfigurationMap // required
|
|
52
|
+
* // "<keys>": { // ComponentConfiguration
|
|
53
|
+
* // configuration: "DOCUMENT_VALUE", // required
|
|
54
|
+
* // },
|
|
55
|
+
* // },
|
|
56
|
+
* // lineageMetadata: { // VersionLineageMetadata
|
|
57
|
+
* // parentVersionIds: [ // ConfigurationBundleVersionList
|
|
58
|
+
* // "STRING_VALUE",
|
|
59
|
+
* // ],
|
|
60
|
+
* // branchName: "STRING_VALUE",
|
|
61
|
+
* // createdBy: { // VersionCreatedBySource
|
|
62
|
+
* // name: "STRING_VALUE", // required
|
|
63
|
+
* // arn: "STRING_VALUE",
|
|
64
|
+
* // },
|
|
65
|
+
* // commitMessage: "STRING_VALUE",
|
|
66
|
+
* // },
|
|
67
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
68
|
+
* // versionCreatedAt: new Date("TIMESTAMP"), // required
|
|
69
|
+
* // };
|
|
70
|
+
*
|
|
71
|
+
* ```
|
|
72
|
+
*
|
|
73
|
+
* @param GetConfigurationBundleVersionCommandInput - {@link GetConfigurationBundleVersionCommandInput}
|
|
74
|
+
* @returns {@link GetConfigurationBundleVersionCommandOutput}
|
|
75
|
+
* @see {@link GetConfigurationBundleVersionCommandInput} for command's `input` shape.
|
|
76
|
+
* @see {@link GetConfigurationBundleVersionCommandOutput} for command's `response` shape.
|
|
77
|
+
* @see {@link BedrockAgentCoreControlClientResolvedConfig | config} for BedrockAgentCoreControlClient's `config` shape.
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
80
|
+
* <p>This exception is thrown when a request is denied per access permissions</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link InternalServerException} (server fault)
|
|
83
|
+
* <p>This exception is thrown if there was an unexpected error during processing of request</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
86
|
+
* <p>This exception is thrown when a resource referenced by the operation does not exist</p>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
89
|
+
* <p>This exception is thrown when the number of requests exceeds the limit</p>
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link ValidationException} (client fault)
|
|
92
|
+
* <p>The input fails to satisfy the constraints specified by the service.</p>
|
|
93
|
+
*
|
|
94
|
+
* @throws {@link BedrockAgentCoreControlServiceException}
|
|
95
|
+
* <p>Base exception class for all service exceptions from BedrockAgentCoreControl service.</p>
|
|
96
|
+
*
|
|
97
|
+
*
|
|
98
|
+
* @public
|
|
99
|
+
*/
|
|
100
|
+
export declare class GetConfigurationBundleVersionCommand extends GetConfigurationBundleVersionCommand_base {
|
|
101
|
+
/** @internal type navigation helper, not in runtime. */
|
|
102
|
+
protected static __types: {
|
|
103
|
+
api: {
|
|
104
|
+
input: GetConfigurationBundleVersionRequest;
|
|
105
|
+
output: GetConfigurationBundleVersionResponse;
|
|
106
|
+
};
|
|
107
|
+
sdk: {
|
|
108
|
+
input: GetConfigurationBundleVersionCommandInput;
|
|
109
|
+
output: GetConfigurationBundleVersionCommandOutput;
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
}
|
|
@@ -38,6 +38,7 @@ declare const GetEvaluatorCommand_base: {
|
|
|
38
38
|
* const client = new BedrockAgentCoreControlClient(config);
|
|
39
39
|
* const input = { // GetEvaluatorRequest
|
|
40
40
|
* evaluatorId: "STRING_VALUE", // required
|
|
41
|
+
* includedData: "ALL_DATA" || "METADATA_ONLY",
|
|
41
42
|
* };
|
|
42
43
|
* const command = new GetEvaluatorCommand(input);
|
|
43
44
|
* const response = await client.send(command);
|
|
@@ -91,6 +92,7 @@ declare const GetEvaluatorCommand_base: {
|
|
|
91
92
|
* // createdAt: new Date("TIMESTAMP"), // required
|
|
92
93
|
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
93
94
|
* // lockedForModification: true || false,
|
|
95
|
+
* // kmsKeyArn: "STRING_VALUE",
|
|
94
96
|
* // };
|
|
95
97
|
*
|
|
96
98
|
* ```
|
|
@@ -54,7 +54,7 @@ declare const GetGatewayCommand_base: {
|
|
|
54
54
|
* // name: "STRING_VALUE", // required
|
|
55
55
|
* // description: "STRING_VALUE",
|
|
56
56
|
* // roleArn: "STRING_VALUE",
|
|
57
|
-
* // protocolType: "MCP",
|
|
57
|
+
* // protocolType: "MCP",
|
|
58
58
|
* // protocolConfiguration: { // GatewayProtocolConfiguration Union: only one key present
|
|
59
59
|
* // mcp: { // MCPGatewayConfiguration
|
|
60
60
|
* // supportedVersions: [ // McpSupportedVersions
|
|
@@ -64,7 +64,7 @@ declare const GetGatewayCommand_base: {
|
|
|
64
64
|
* // searchType: "SEMANTIC",
|
|
65
65
|
* // },
|
|
66
66
|
* // },
|
|
67
|
-
* // authorizerType: "CUSTOM_JWT" || "AWS_IAM" || "NONE", // required
|
|
67
|
+
* // authorizerType: "CUSTOM_JWT" || "AWS_IAM" || "NONE" || "AUTHENTICATE_ONLY", // required
|
|
68
68
|
* // authorizerConfiguration: { // AuthorizerConfiguration Union: only one key present
|
|
69
69
|
* // customJWTAuthorizer: { // CustomJWTAuthorizerConfiguration
|
|
70
70
|
* // discoveryUrl: "STRING_VALUE", // required
|
|
@@ -0,0 +1,162 @@
|
|
|
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 { GetGatewayRuleRequest, GetGatewayRuleResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetGatewayRuleCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetGatewayRuleCommandInput extends GetGatewayRuleRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetGatewayRuleCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetGatewayRuleCommandOutput extends GetGatewayRuleResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetGatewayRuleCommand_base: {
|
|
25
|
+
new (input: GetGatewayRuleCommandInput): import("@smithy/smithy-client").CommandImpl<GetGatewayRuleCommandInput, GetGatewayRuleCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetGatewayRuleCommandInput): import("@smithy/smithy-client").CommandImpl<GetGatewayRuleCommandInput, GetGatewayRuleCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Retrieves detailed information about a specific gateway rule.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { BedrockAgentCoreControlClient, GetGatewayRuleCommand } from "@aws-sdk/client-bedrock-agentcore-control"; // ES Modules import
|
|
35
|
+
* // const { BedrockAgentCoreControlClient, GetGatewayRuleCommand } = 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 = { // GetGatewayRuleRequest
|
|
40
|
+
* gatewayIdentifier: "STRING_VALUE", // required
|
|
41
|
+
* ruleId: "STRING_VALUE", // required
|
|
42
|
+
* };
|
|
43
|
+
* const command = new GetGatewayRuleCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // GetGatewayRuleResponse
|
|
46
|
+
* // ruleId: "STRING_VALUE", // required
|
|
47
|
+
* // gatewayArn: "STRING_VALUE", // required
|
|
48
|
+
* // priority: Number("int"), // required
|
|
49
|
+
* // conditions: [ // Conditions
|
|
50
|
+
* // { // Condition Union: only one key present
|
|
51
|
+
* // matchPrincipals: { // MatchPrincipals
|
|
52
|
+
* // anyOf: [ // MatchPrincipalEntries // required
|
|
53
|
+
* // { // MatchPrincipalEntry Union: only one key present
|
|
54
|
+
* // iamPrincipal: { // IamPrincipal
|
|
55
|
+
* // arn: "STRING_VALUE", // required
|
|
56
|
+
* // operator: "StringEquals" || "StringLike",
|
|
57
|
+
* // },
|
|
58
|
+
* // },
|
|
59
|
+
* // ],
|
|
60
|
+
* // },
|
|
61
|
+
* // matchPaths: { // MatchPaths
|
|
62
|
+
* // anyOf: [ // MatchPathPatterns // required
|
|
63
|
+
* // "STRING_VALUE",
|
|
64
|
+
* // ],
|
|
65
|
+
* // },
|
|
66
|
+
* // },
|
|
67
|
+
* // ],
|
|
68
|
+
* // actions: [ // Actions // required
|
|
69
|
+
* // { // Action Union: only one key present
|
|
70
|
+
* // configurationBundle: { // ConfigurationBundleAction Union: only one key present
|
|
71
|
+
* // staticOverride: { // StaticOverride
|
|
72
|
+
* // bundleArn: "STRING_VALUE", // required
|
|
73
|
+
* // bundleVersion: "STRING_VALUE", // required
|
|
74
|
+
* // },
|
|
75
|
+
* // weightedOverride: { // WeightedOverride
|
|
76
|
+
* // trafficSplit: [ // TrafficSplitEntries // required
|
|
77
|
+
* // { // TrafficSplitEntry
|
|
78
|
+
* // name: "STRING_VALUE", // required
|
|
79
|
+
* // weight: Number("int"), // required
|
|
80
|
+
* // configurationBundle: { // ConfigurationBundleReference
|
|
81
|
+
* // bundleArn: "STRING_VALUE", // required
|
|
82
|
+
* // bundleVersion: "STRING_VALUE", // required
|
|
83
|
+
* // },
|
|
84
|
+
* // description: "STRING_VALUE",
|
|
85
|
+
* // metadata: { // TrafficSplitMetadataMap
|
|
86
|
+
* // "<keys>": "STRING_VALUE",
|
|
87
|
+
* // },
|
|
88
|
+
* // },
|
|
89
|
+
* // ],
|
|
90
|
+
* // },
|
|
91
|
+
* // },
|
|
92
|
+
* // routeToTarget: { // RouteToTargetAction Union: only one key present
|
|
93
|
+
* // staticRoute: { // StaticRoute
|
|
94
|
+
* // targetName: "STRING_VALUE", // required
|
|
95
|
+
* // },
|
|
96
|
+
* // weightedRoute: { // WeightedRoute
|
|
97
|
+
* // trafficSplit: [ // TargetTrafficSplitEntries // required
|
|
98
|
+
* // { // TargetTrafficSplitEntry
|
|
99
|
+
* // name: "STRING_VALUE", // required
|
|
100
|
+
* // weight: Number("int"), // required
|
|
101
|
+
* // targetName: "STRING_VALUE", // required
|
|
102
|
+
* // description: "STRING_VALUE",
|
|
103
|
+
* // metadata: {
|
|
104
|
+
* // "<keys>": "STRING_VALUE",
|
|
105
|
+
* // },
|
|
106
|
+
* // },
|
|
107
|
+
* // ],
|
|
108
|
+
* // },
|
|
109
|
+
* // },
|
|
110
|
+
* // },
|
|
111
|
+
* // ],
|
|
112
|
+
* // description: "STRING_VALUE",
|
|
113
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
114
|
+
* // status: "CREATING" || "ACTIVE" || "UPDATING" || "DELETING", // required
|
|
115
|
+
* // system: { // SystemManagedBlock
|
|
116
|
+
* // managedBy: "STRING_VALUE", // required
|
|
117
|
+
* // },
|
|
118
|
+
* // updatedAt: new Date("TIMESTAMP"),
|
|
119
|
+
* // };
|
|
120
|
+
*
|
|
121
|
+
* ```
|
|
122
|
+
*
|
|
123
|
+
* @param GetGatewayRuleCommandInput - {@link GetGatewayRuleCommandInput}
|
|
124
|
+
* @returns {@link GetGatewayRuleCommandOutput}
|
|
125
|
+
* @see {@link GetGatewayRuleCommandInput} for command's `input` shape.
|
|
126
|
+
* @see {@link GetGatewayRuleCommandOutput} for command's `response` shape.
|
|
127
|
+
* @see {@link BedrockAgentCoreControlClientResolvedConfig | config} for BedrockAgentCoreControlClient's `config` shape.
|
|
128
|
+
*
|
|
129
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
130
|
+
* <p>This exception is thrown when a request is denied per access permissions</p>
|
|
131
|
+
*
|
|
132
|
+
* @throws {@link InternalServerException} (server fault)
|
|
133
|
+
* <p>This exception is thrown if there was an unexpected error during processing of request</p>
|
|
134
|
+
*
|
|
135
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
136
|
+
* <p>This exception is thrown when a resource referenced by the operation does not exist</p>
|
|
137
|
+
*
|
|
138
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
139
|
+
* <p>This exception is thrown when the number of requests exceeds the limit</p>
|
|
140
|
+
*
|
|
141
|
+
* @throws {@link ValidationException} (client fault)
|
|
142
|
+
* <p>The input fails to satisfy the constraints specified by the service.</p>
|
|
143
|
+
*
|
|
144
|
+
* @throws {@link BedrockAgentCoreControlServiceException}
|
|
145
|
+
* <p>Base exception class for all service exceptions from BedrockAgentCoreControl service.</p>
|
|
146
|
+
*
|
|
147
|
+
*
|
|
148
|
+
* @public
|
|
149
|
+
*/
|
|
150
|
+
export declare class GetGatewayRuleCommand extends GetGatewayRuleCommand_base {
|
|
151
|
+
/** @internal type navigation helper, not in runtime. */
|
|
152
|
+
protected static __types: {
|
|
153
|
+
api: {
|
|
154
|
+
input: GetGatewayRuleRequest;
|
|
155
|
+
output: GetGatewayRuleResponse;
|
|
156
|
+
};
|
|
157
|
+
sdk: {
|
|
158
|
+
input: GetGatewayRuleCommandInput;
|
|
159
|
+
output: GetGatewayRuleCommandOutput;
|
|
160
|
+
};
|
|
161
|
+
};
|
|
162
|
+
}
|
|
@@ -116,8 +116,8 @@ declare const GetGatewayTargetCommand_base: {
|
|
|
116
116
|
* // },
|
|
117
117
|
* // inlinePayload: "STRING_VALUE",
|
|
118
118
|
* // },
|
|
119
|
-
* // resourcePriority: Number("int"),
|
|
120
119
|
* // listingMode: "DEFAULT" || "DYNAMIC",
|
|
120
|
+
* // resourcePriority: Number("int"),
|
|
121
121
|
* // },
|
|
122
122
|
* // apiGateway: { // ApiGatewayTargetConfiguration
|
|
123
123
|
* // restApiId: "STRING_VALUE", // required
|
|
@@ -142,10 +142,16 @@ declare const GetGatewayTargetCommand_base: {
|
|
|
142
142
|
* // },
|
|
143
143
|
* // },
|
|
144
144
|
* // },
|
|
145
|
+
* // http: { // HttpTargetConfiguration Union: only one key present
|
|
146
|
+
* // agentcoreRuntime: { // RuntimeTargetConfiguration
|
|
147
|
+
* // arn: "STRING_VALUE", // required
|
|
148
|
+
* // qualifier: "STRING_VALUE",
|
|
149
|
+
* // },
|
|
150
|
+
* // },
|
|
145
151
|
* // },
|
|
146
152
|
* // credentialProviderConfigurations: [ // CredentialProviderConfigurations // required
|
|
147
153
|
* // { // CredentialProviderConfiguration
|
|
148
|
-
* // credentialProviderType: "GATEWAY_IAM_ROLE" || "OAUTH" || "API_KEY", // required
|
|
154
|
+
* // credentialProviderType: "GATEWAY_IAM_ROLE" || "OAUTH" || "API_KEY" || "CALLER_IAM_CREDENTIALS" || "JWT_PASSTHROUGH", // required
|
|
149
155
|
* // credentialProvider: { // CredentialProvider Union: only one key present
|
|
150
156
|
* // oauthCredentialProvider: { // OAuthCredentialProvider
|
|
151
157
|
* // providerArn: "STRING_VALUE", // required
|
|
@@ -215,6 +221,7 @@ declare const GetGatewayTargetCommand_base: {
|
|
|
215
221
|
* // userId: "STRING_VALUE",
|
|
216
222
|
* // },
|
|
217
223
|
* // },
|
|
224
|
+
* // protocolType: "MCP" || "HTTP",
|
|
218
225
|
* // };
|
|
219
226
|
*
|
|
220
227
|
* ```
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreControlClient";
|
|
4
|
-
import type { GetMemoryInput, GetMemoryOutput } from "../models/
|
|
4
|
+
import type { GetMemoryInput, GetMemoryOutput } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -0,0 +1,115 @@
|
|
|
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 { ListConfigurationBundleVersionsRequest, ListConfigurationBundleVersionsResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListConfigurationBundleVersionsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListConfigurationBundleVersionsCommandInput extends ListConfigurationBundleVersionsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListConfigurationBundleVersionsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListConfigurationBundleVersionsCommandOutput extends ListConfigurationBundleVersionsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListConfigurationBundleVersionsCommand_base: {
|
|
25
|
+
new (input: ListConfigurationBundleVersionsCommandInput): import("@smithy/smithy-client").CommandImpl<ListConfigurationBundleVersionsCommandInput, ListConfigurationBundleVersionsCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ListConfigurationBundleVersionsCommandInput): import("@smithy/smithy-client").CommandImpl<ListConfigurationBundleVersionsCommandInput, ListConfigurationBundleVersionsCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Lists all versions of a configuration bundle, with optional filtering by branch name or creation source.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { BedrockAgentCoreControlClient, ListConfigurationBundleVersionsCommand } from "@aws-sdk/client-bedrock-agentcore-control"; // ES Modules import
|
|
35
|
+
* // const { BedrockAgentCoreControlClient, ListConfigurationBundleVersionsCommand } = 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 = { // ListConfigurationBundleVersionsRequest
|
|
40
|
+
* bundleId: "STRING_VALUE", // required
|
|
41
|
+
* nextToken: "STRING_VALUE",
|
|
42
|
+
* maxResults: Number("int"),
|
|
43
|
+
* filter: { // VersionFilter
|
|
44
|
+
* branchName: "STRING_VALUE",
|
|
45
|
+
* createdByName: "STRING_VALUE",
|
|
46
|
+
* latestPerBranch: true || false,
|
|
47
|
+
* },
|
|
48
|
+
* };
|
|
49
|
+
* const command = new ListConfigurationBundleVersionsCommand(input);
|
|
50
|
+
* const response = await client.send(command);
|
|
51
|
+
* // { // ListConfigurationBundleVersionsResponse
|
|
52
|
+
* // versions: [ // ConfigurationBundleVersionSummaryList // required
|
|
53
|
+
* // { // ConfigurationBundleVersionSummary
|
|
54
|
+
* // bundleArn: "STRING_VALUE", // required
|
|
55
|
+
* // bundleId: "STRING_VALUE", // required
|
|
56
|
+
* // versionId: "STRING_VALUE", // required
|
|
57
|
+
* // lineageMetadata: { // VersionLineageMetadata
|
|
58
|
+
* // parentVersionIds: [ // ConfigurationBundleVersionList
|
|
59
|
+
* // "STRING_VALUE",
|
|
60
|
+
* // ],
|
|
61
|
+
* // branchName: "STRING_VALUE",
|
|
62
|
+
* // createdBy: { // VersionCreatedBySource
|
|
63
|
+
* // name: "STRING_VALUE", // required
|
|
64
|
+
* // arn: "STRING_VALUE",
|
|
65
|
+
* // },
|
|
66
|
+
* // commitMessage: "STRING_VALUE",
|
|
67
|
+
* // },
|
|
68
|
+
* // versionCreatedAt: new Date("TIMESTAMP"), // required
|
|
69
|
+
* // },
|
|
70
|
+
* // ],
|
|
71
|
+
* // nextToken: "STRING_VALUE",
|
|
72
|
+
* // };
|
|
73
|
+
*
|
|
74
|
+
* ```
|
|
75
|
+
*
|
|
76
|
+
* @param ListConfigurationBundleVersionsCommandInput - {@link ListConfigurationBundleVersionsCommandInput}
|
|
77
|
+
* @returns {@link ListConfigurationBundleVersionsCommandOutput}
|
|
78
|
+
* @see {@link ListConfigurationBundleVersionsCommandInput} for command's `input` shape.
|
|
79
|
+
* @see {@link ListConfigurationBundleVersionsCommandOutput} for command's `response` shape.
|
|
80
|
+
* @see {@link BedrockAgentCoreControlClientResolvedConfig | config} for BedrockAgentCoreControlClient's `config` shape.
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
83
|
+
* <p>This exception is thrown when a request is denied per access permissions</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link InternalServerException} (server fault)
|
|
86
|
+
* <p>This exception is thrown if there was an unexpected error during processing of request</p>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
89
|
+
* <p>This exception is thrown when a resource referenced by the operation does not exist</p>
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
92
|
+
* <p>This exception is thrown when the number of requests exceeds the limit</p>
|
|
93
|
+
*
|
|
94
|
+
* @throws {@link ValidationException} (client fault)
|
|
95
|
+
* <p>The input fails to satisfy the constraints specified by the service.</p>
|
|
96
|
+
*
|
|
97
|
+
* @throws {@link BedrockAgentCoreControlServiceException}
|
|
98
|
+
* <p>Base exception class for all service exceptions from BedrockAgentCoreControl service.</p>
|
|
99
|
+
*
|
|
100
|
+
*
|
|
101
|
+
* @public
|
|
102
|
+
*/
|
|
103
|
+
export declare class ListConfigurationBundleVersionsCommand extends ListConfigurationBundleVersionsCommand_base {
|
|
104
|
+
/** @internal type navigation helper, not in runtime. */
|
|
105
|
+
protected static __types: {
|
|
106
|
+
api: {
|
|
107
|
+
input: ListConfigurationBundleVersionsRequest;
|
|
108
|
+
output: ListConfigurationBundleVersionsResponse;
|
|
109
|
+
};
|
|
110
|
+
sdk: {
|
|
111
|
+
input: ListConfigurationBundleVersionsCommandInput;
|
|
112
|
+
output: ListConfigurationBundleVersionsCommandOutput;
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
}
|
|
@@ -0,0 +1,95 @@
|
|
|
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 { ListConfigurationBundlesRequest, ListConfigurationBundlesResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListConfigurationBundlesCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListConfigurationBundlesCommandInput extends ListConfigurationBundlesRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListConfigurationBundlesCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListConfigurationBundlesCommandOutput extends ListConfigurationBundlesResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListConfigurationBundlesCommand_base: {
|
|
25
|
+
new (input: ListConfigurationBundlesCommandInput): import("@smithy/smithy-client").CommandImpl<ListConfigurationBundlesCommandInput, ListConfigurationBundlesCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [ListConfigurationBundlesCommandInput]): import("@smithy/smithy-client").CommandImpl<ListConfigurationBundlesCommandInput, ListConfigurationBundlesCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Lists all configuration bundles in the account.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { BedrockAgentCoreControlClient, ListConfigurationBundlesCommand } from "@aws-sdk/client-bedrock-agentcore-control"; // ES Modules import
|
|
35
|
+
* // const { BedrockAgentCoreControlClient, ListConfigurationBundlesCommand } = 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 = { // ListConfigurationBundlesRequest
|
|
40
|
+
* nextToken: "STRING_VALUE",
|
|
41
|
+
* maxResults: Number("int"),
|
|
42
|
+
* };
|
|
43
|
+
* const command = new ListConfigurationBundlesCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // ListConfigurationBundlesResponse
|
|
46
|
+
* // bundles: [ // ConfigurationBundleSummaryList // required
|
|
47
|
+
* // { // ConfigurationBundleSummary
|
|
48
|
+
* // bundleArn: "STRING_VALUE", // required
|
|
49
|
+
* // bundleId: "STRING_VALUE", // required
|
|
50
|
+
* // bundleName: "STRING_VALUE", // required
|
|
51
|
+
* // description: "STRING_VALUE",
|
|
52
|
+
* // },
|
|
53
|
+
* // ],
|
|
54
|
+
* // nextToken: "STRING_VALUE",
|
|
55
|
+
* // };
|
|
56
|
+
*
|
|
57
|
+
* ```
|
|
58
|
+
*
|
|
59
|
+
* @param ListConfigurationBundlesCommandInput - {@link ListConfigurationBundlesCommandInput}
|
|
60
|
+
* @returns {@link ListConfigurationBundlesCommandOutput}
|
|
61
|
+
* @see {@link ListConfigurationBundlesCommandInput} for command's `input` shape.
|
|
62
|
+
* @see {@link ListConfigurationBundlesCommandOutput} 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 InternalServerException} (server fault)
|
|
69
|
+
* <p>This exception is thrown if there was an unexpected error during processing of request</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
72
|
+
* <p>This exception is thrown when the number of requests exceeds the limit</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ValidationException} (client fault)
|
|
75
|
+
* <p>The input fails to satisfy the constraints specified by the service.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link BedrockAgentCoreControlServiceException}
|
|
78
|
+
* <p>Base exception class for all service exceptions from BedrockAgentCoreControl service.</p>
|
|
79
|
+
*
|
|
80
|
+
*
|
|
81
|
+
* @public
|
|
82
|
+
*/
|
|
83
|
+
export declare class ListConfigurationBundlesCommand extends ListConfigurationBundlesCommand_base {
|
|
84
|
+
/** @internal type navigation helper, not in runtime. */
|
|
85
|
+
protected static __types: {
|
|
86
|
+
api: {
|
|
87
|
+
input: ListConfigurationBundlesRequest;
|
|
88
|
+
output: ListConfigurationBundlesResponse;
|
|
89
|
+
};
|
|
90
|
+
sdk: {
|
|
91
|
+
input: ListConfigurationBundlesCommandInput;
|
|
92
|
+
output: ListConfigurationBundlesCommandOutput;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
}
|
|
@@ -55,6 +55,7 @@ declare const ListEvaluatorsCommand_base: {
|
|
|
55
55
|
* // createdAt: new Date("TIMESTAMP"), // required
|
|
56
56
|
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
57
57
|
* // lockedForModification: true || false,
|
|
58
|
+
* // kmsKeyArn: "STRING_VALUE",
|
|
58
59
|
* // },
|
|
59
60
|
* // ],
|
|
60
61
|
* // nextToken: "STRING_VALUE",
|