@aws-sdk/client-bedrock-agentcore-control 3.1038.0 → 3.1040.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 +239 -0
- package/dist-cjs/schemas/schemas_0.js +674 -138
- 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 +50 -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 +660 -126
- package/dist-types/BedrockAgentCoreControl.d.ts +106 -0
- 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 +19 -6
- package/dist-types/commands/CreateHarnessCommand.d.ts +2 -2
- package/dist-types/commands/CreateMemoryCommand.d.ts +233 -1
- package/dist-types/commands/CreateOauth2CredentialProviderCommand.d.ts +22 -2
- package/dist-types/commands/DeleteConfigurationBundleCommand.d.ts +93 -0
- package/dist-types/commands/DeleteGatewayRuleCommand.d.ts +94 -0
- package/dist-types/commands/DeleteHarnessCommand.d.ts +1 -1
- 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 +10 -3
- package/dist-types/commands/GetHarnessCommand.d.ts +1 -1
- package/dist-types/commands/GetMemoryCommand.d.ts +70 -1
- package/dist-types/commands/GetOauth2CredentialProviderCommand.d.ts +10 -0
- 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 +10 -3
- 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 +19 -6
- package/dist-types/commands/UpdateHarnessCommand.d.ts +2 -2
- package/dist-types/commands/UpdateMemoryCommand.d.ts +236 -1
- package/dist-types/commands/UpdateOauth2CredentialProviderCommand.d.ts +22 -2
- package/dist-types/commands/index.d.ts +12 -0
- package/dist-types/models/enums.d.ts +130 -0
- package/dist-types/models/models_0.d.ts +2979 -3024
- package/dist-types/models/models_1.d.ts +1742 -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 +72 -0
- package/dist-types/ts3.4/BedrockAgentCoreControl.d.ts +226 -0
- 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 +1 -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 +67 -0
- package/dist-types/ts3.4/models/models_0.d.ts +495 -674
- package/dist-types/ts3.4/models/models_1.d.ts +718 -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 +72 -0
- package/package.json +7 -7
|
@@ -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
|
|
@@ -155,7 +161,7 @@ declare const GetGatewayTargetCommand_base: {
|
|
|
155
161
|
* // customParameters: { // OAuthCustomParameters
|
|
156
162
|
* // "<keys>": "STRING_VALUE",
|
|
157
163
|
* // },
|
|
158
|
-
* // grantType: "CLIENT_CREDENTIALS" || "AUTHORIZATION_CODE",
|
|
164
|
+
* // grantType: "CLIENT_CREDENTIALS" || "AUTHORIZATION_CODE" || "TOKEN_EXCHANGE",
|
|
159
165
|
* // defaultReturnUrl: "STRING_VALUE",
|
|
160
166
|
* // },
|
|
161
167
|
* // apiKeyCredentialProvider: { // GatewayApiKeyCredentialProvider
|
|
@@ -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
|
* ```
|
|
@@ -105,7 +105,7 @@ declare const GetHarnessCommand_base: {
|
|
|
105
105
|
* // customParameters: { // OAuthCustomParameters
|
|
106
106
|
* // "<keys>": "STRING_VALUE",
|
|
107
107
|
* // },
|
|
108
|
-
* // grantType: "CLIENT_CREDENTIALS" || "AUTHORIZATION_CODE",
|
|
108
|
+
* // grantType: "CLIENT_CREDENTIALS" || "AUTHORIZATION_CODE" || "TOKEN_EXCHANGE",
|
|
109
109
|
* // defaultReturnUrl: "STRING_VALUE",
|
|
110
110
|
* // },
|
|
111
111
|
* // },
|
|
@@ -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
|
*/
|
|
@@ -109,6 +109,37 @@ declare const GetMemoryCommand_base: {
|
|
|
109
109
|
* // namespaceTemplates: [
|
|
110
110
|
* // "STRING_VALUE",
|
|
111
111
|
* // ],
|
|
112
|
+
* // memoryRecordSchema: { // MemoryRecordSchema
|
|
113
|
+
* // metadataSchema: [ // MetadataSchemaList
|
|
114
|
+
* // { // MetadataSchemaEntry
|
|
115
|
+
* // key: "STRING_VALUE", // required
|
|
116
|
+
* // type: "STRING" || "STRINGLIST" || "NUMBER",
|
|
117
|
+
* // extractionConfig: { // ExtractionConfig Union: only one key present
|
|
118
|
+
* // llmExtractionConfig: { // LlmExtractionConfig
|
|
119
|
+
* // llmExtractionInstruction: "STRING_VALUE",
|
|
120
|
+
* // definition: "STRING_VALUE", // required
|
|
121
|
+
* // validation: { // Validation Union: only one key present
|
|
122
|
+
* // stringValidation: { // StringValidation
|
|
123
|
+
* // allowedValues: [ // AllowedStringValuesList // required
|
|
124
|
+
* // "STRING_VALUE",
|
|
125
|
+
* // ],
|
|
126
|
+
* // },
|
|
127
|
+
* // stringListValidation: { // StringListValidation
|
|
128
|
+
* // allowedValues: [ // AllowedStringListValuesList
|
|
129
|
+
* // "STRING_VALUE",
|
|
130
|
+
* // ],
|
|
131
|
+
* // maxItems: Number("int"),
|
|
132
|
+
* // },
|
|
133
|
+
* // numberValidation: { // NumberValidation
|
|
134
|
+
* // minValue: Number("double"),
|
|
135
|
+
* // maxValue: Number("double"),
|
|
136
|
+
* // },
|
|
137
|
+
* // },
|
|
138
|
+
* // },
|
|
139
|
+
* // },
|
|
140
|
+
* // },
|
|
141
|
+
* // ],
|
|
142
|
+
* // },
|
|
112
143
|
* // },
|
|
113
144
|
* // },
|
|
114
145
|
* // episodicReflectionConfiguration: { // EpisodicReflectionConfiguration
|
|
@@ -118,6 +149,37 @@ declare const GetMemoryCommand_base: {
|
|
|
118
149
|
* // namespaceTemplates: [
|
|
119
150
|
* // "STRING_VALUE",
|
|
120
151
|
* // ],
|
|
152
|
+
* // memoryRecordSchema: {
|
|
153
|
+
* // metadataSchema: [
|
|
154
|
+
* // {
|
|
155
|
+
* // key: "STRING_VALUE", // required
|
|
156
|
+
* // type: "STRING" || "STRINGLIST" || "NUMBER",
|
|
157
|
+
* // extractionConfig: {// Union: only one key present
|
|
158
|
+
* // llmExtractionConfig: {
|
|
159
|
+
* // llmExtractionInstruction: "STRING_VALUE",
|
|
160
|
+
* // definition: "STRING_VALUE", // required
|
|
161
|
+
* // validation: {// Union: only one key present
|
|
162
|
+
* // stringValidation: {
|
|
163
|
+
* // allowedValues: [ // required
|
|
164
|
+
* // "STRING_VALUE",
|
|
165
|
+
* // ],
|
|
166
|
+
* // },
|
|
167
|
+
* // stringListValidation: {
|
|
168
|
+
* // allowedValues: [
|
|
169
|
+
* // "STRING_VALUE",
|
|
170
|
+
* // ],
|
|
171
|
+
* // maxItems: Number("int"),
|
|
172
|
+
* // },
|
|
173
|
+
* // numberValidation: {
|
|
174
|
+
* // minValue: Number("double"),
|
|
175
|
+
* // maxValue: Number("double"),
|
|
176
|
+
* // },
|
|
177
|
+
* // },
|
|
178
|
+
* // },
|
|
179
|
+
* // },
|
|
180
|
+
* // },
|
|
181
|
+
* // ],
|
|
182
|
+
* // },
|
|
121
183
|
* // },
|
|
122
184
|
* // },
|
|
123
185
|
* // selfManagedConfiguration: { // SelfManagedConfiguration
|
|
@@ -147,6 +209,13 @@ declare const GetMemoryCommand_base: {
|
|
|
147
209
|
* // createdAt: new Date("TIMESTAMP"),
|
|
148
210
|
* // updatedAt: new Date("TIMESTAMP"),
|
|
149
211
|
* // status: "CREATING" || "ACTIVE" || "DELETING" || "FAILED",
|
|
212
|
+
* // memoryRecordSchema: "<MemoryRecordSchema>",
|
|
213
|
+
* // },
|
|
214
|
+
* // ],
|
|
215
|
+
* // indexedKeys: [ // IndexedKeysList
|
|
216
|
+
* // { // IndexedKey
|
|
217
|
+
* // key: "STRING_VALUE", // required
|
|
218
|
+
* // type: "STRING" || "STRINGLIST" || "NUMBER", // required
|
|
150
219
|
* // },
|
|
151
220
|
* // ],
|
|
152
221
|
* // streamDeliveryResources: { // StreamDeliveryResources
|
|
@@ -109,6 +109,16 @@ declare const GetOauth2CredentialProviderCommand_base: {
|
|
|
109
109
|
* // },
|
|
110
110
|
* // },
|
|
111
111
|
* // ],
|
|
112
|
+
* // onBehalfOfTokenExchangeConfig: { // OnBehalfOfTokenExchangeConfigType
|
|
113
|
+
* // grantType: "TOKEN_EXCHANGE" || "JWT_AUTHORIZATION_GRANT", // required
|
|
114
|
+
* // tokenExchangeGrantTypeConfig: { // TokenExchangeGrantTypeConfigType
|
|
115
|
+
* // actorTokenContent: "NONE" || "M2M" || "AWS_IAM_ID_TOKEN_JWT", // required
|
|
116
|
+
* // actorTokenScopes: [ // ScopesListType
|
|
117
|
+
* // "STRING_VALUE",
|
|
118
|
+
* // ],
|
|
119
|
+
* // },
|
|
120
|
+
* // },
|
|
121
|
+
* // clientAuthenticationMethod: "CLIENT_SECRET_BASIC" || "CLIENT_SECRET_POST" || "AWS_IAM_ID_TOKEN_JWT",
|
|
112
122
|
* // },
|
|
113
123
|
* // googleOauth2ProviderConfig: { // GoogleOauth2ProviderConfigOutput
|
|
114
124
|
* // oauthDiscovery: {// Union: only one key present
|
|
@@ -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",
|