@aws-sdk/client-bedrock-agentcore-control 3.1070.0 → 3.1072.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 +42 -0
- package/dist-cjs/index.js +143 -1
- package/dist-cjs/schemas/schemas_0.js +475 -94
- package/dist-es/BedrockAgentCoreControl.js +16 -0
- package/dist-es/commands/CreateHarnessEndpointCommand.js +16 -0
- package/dist-es/commands/DeleteHarnessEndpointCommand.js +16 -0
- package/dist-es/commands/GetHarnessEndpointCommand.js +16 -0
- package/dist-es/commands/ListHarnessEndpointsCommand.js +16 -0
- package/dist-es/commands/ListHarnessVersionsCommand.js +16 -0
- package/dist-es/commands/UpdateHarnessEndpointCommand.js +16 -0
- package/dist-es/commands/index.js +6 -0
- package/dist-es/models/enums.js +43 -0
- package/dist-es/pagination/ListHarnessEndpointsPaginator.js +4 -0
- package/dist-es/pagination/ListHarnessVersionsPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/schemas/schemas_0.js +435 -94
- package/dist-types/BedrockAgentCoreControl.d.ts +56 -0
- package/dist-types/BedrockAgentCoreControlClient.d.ts +8 -2
- package/dist-types/commands/CreateAgentRuntimeCommand.d.ts +10 -0
- package/dist-types/commands/CreateGatewayCommand.d.ts +43 -0
- package/dist-types/commands/CreateGatewayTargetCommand.d.ts +139 -1
- package/dist-types/commands/CreateHarnessCommand.d.ts +51 -2
- package/dist-types/commands/CreateHarnessEndpointCommand.d.ts +116 -0
- package/dist-types/commands/CreateMemoryCommand.d.ts +1 -0
- package/dist-types/commands/CreatePaymentManagerCommand.d.ts +20 -0
- package/dist-types/commands/CreatePolicyCommand.d.ts +8 -0
- package/dist-types/commands/CreateRegistryCommand.d.ts +11 -1
- package/dist-types/commands/DeleteHarnessCommand.d.ts +27 -1
- package/dist-types/commands/DeleteHarnessEndpointCommand.d.ts +108 -0
- package/dist-types/commands/DeletePolicyCommand.d.ts +4 -0
- package/dist-types/commands/DeleteRegistryCommand.d.ts +1 -1
- package/dist-types/commands/GetAgentRuntimeCommand.d.ts +10 -0
- package/dist-types/commands/GetGatewayCommand.d.ts +26 -0
- package/dist-types/commands/GetGatewayTargetCommand.d.ts +69 -0
- package/dist-types/commands/GetHarnessCommand.d.ts +28 -2
- package/dist-types/commands/GetHarnessEndpointCommand.d.ts +104 -0
- package/dist-types/commands/GetMemoryCommand.d.ts +1 -0
- package/dist-types/commands/GetPaymentManagerCommand.d.ts +10 -0
- package/dist-types/commands/GetPolicyCommand.d.ts +4 -0
- package/dist-types/commands/GetPolicySummaryCommand.d.ts +1 -0
- package/dist-types/commands/GetRegistryCommand.d.ts +11 -1
- package/dist-types/commands/ListGatewayTargetsCommand.d.ts +12 -0
- package/dist-types/commands/ListHarnessEndpointsCommand.d.ts +108 -0
- package/dist-types/commands/ListHarnessVersionsCommand.d.ts +105 -0
- package/dist-types/commands/ListHarnessesCommand.d.ts +3 -2
- package/dist-types/commands/ListMemoriesCommand.d.ts +1 -0
- package/dist-types/commands/ListPoliciesCommand.d.ts +4 -0
- package/dist-types/commands/ListPolicyGenerationAssetsCommand.d.ts +3 -0
- package/dist-types/commands/ListPolicySummariesCommand.d.ts +1 -0
- package/dist-types/commands/ListRegistriesCommand.d.ts +1 -1
- package/dist-types/commands/ListRegistryRecordsCommand.d.ts +2 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/SetTokenVaultCMKCommand.d.ts +1 -1
- package/dist-types/commands/SubmitRegistryRecordForApprovalCommand.d.ts +1 -1
- package/dist-types/commands/SynchronizeGatewayTargetsCommand.d.ts +69 -0
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAgentRuntimeCommand.d.ts +10 -0
- package/dist-types/commands/UpdateGatewayCommand.d.ts +51 -0
- package/dist-types/commands/UpdateGatewayTargetCommand.d.ts +139 -1
- package/dist-types/commands/UpdateHarnessCommand.d.ts +51 -2
- package/dist-types/commands/UpdateHarnessEndpointCommand.d.ts +113 -0
- package/dist-types/commands/UpdateMemoryCommand.d.ts +1 -0
- package/dist-types/commands/UpdatePaymentManagerCommand.d.ts +10 -0
- package/dist-types/commands/UpdatePolicyCommand.d.ts +8 -0
- package/dist-types/commands/UpdateRegistryCommand.d.ts +21 -1
- package/dist-types/commands/UpdateRegistryRecordCommand.d.ts +1 -1
- package/dist-types/commands/UpdateRegistryRecordStatusCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +6 -0
- package/dist-types/models/enums.d.ts +99 -0
- package/dist-types/models/models_0.d.ts +904 -1144
- package/dist-types/models/models_1.d.ts +4595 -4209
- package/dist-types/models/models_2.d.ts +883 -6
- package/dist-types/pagination/ListHarnessEndpointsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListHarnessVersionsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/schemas/schemas_0.d.ts +46 -0
- package/dist-types/ts3.4/BedrockAgentCoreControl.d.ts +116 -0
- package/dist-types/ts3.4/BedrockAgentCoreControlClient.d.ts +36 -0
- package/dist-types/ts3.4/commands/CreateHarnessCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateHarnessEndpointCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/CreateRegistryCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteHarnessCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteHarnessEndpointCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/DeleteRegistryCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetHarnessCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetHarnessEndpointCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/GetRegistryCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListHarnessEndpointsCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/ListHarnessVersionsCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/ListHarnessesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListRegistriesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListRegistryRecordsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SetTokenVaultCMKCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SubmitRegistryRecordForApprovalCommand.d.ts +1 -1
- 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/UpdateHarnessCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateHarnessEndpointCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/UpdateRegistryCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateRegistryRecordCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateRegistryRecordStatusCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +6 -0
- package/dist-types/ts3.4/models/enums.d.ts +56 -0
- package/dist-types/ts3.4/models/models_0.d.ts +269 -402
- package/dist-types/ts3.4/models/models_1.d.ts +447 -211
- package/dist-types/ts3.4/models/models_2.d.ts +262 -3
- package/dist-types/ts3.4/pagination/ListHarnessEndpointsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListHarnessVersionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +46 -0
- package/package.json +3 -3
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreControlClient";
|
|
4
|
-
import type { UntagResourceRequest, UntagResourceResponse } from "../models/
|
|
4
|
+
import type { UntagResourceRequest, UntagResourceResponse } from "../models/models_2";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -142,6 +142,16 @@ declare const UpdateAgentRuntimeCommand_base: {
|
|
|
142
142
|
* },
|
|
143
143
|
* },
|
|
144
144
|
* ],
|
|
145
|
+
* allowedWorkloadConfiguration: { // AllowedWorkloadConfiguration
|
|
146
|
+
* hostingEnvironments: [ // HostingEnvironmentListType
|
|
147
|
+
* { // HostingEnvironment
|
|
148
|
+
* arn: "STRING_VALUE", // required
|
|
149
|
+
* },
|
|
150
|
+
* ],
|
|
151
|
+
* workloadIdentities: [ // WorkloadIdentityNameListType
|
|
152
|
+
* "STRING_VALUE",
|
|
153
|
+
* ],
|
|
154
|
+
* },
|
|
145
155
|
* },
|
|
146
156
|
* },
|
|
147
157
|
* requestHeaderConfiguration: { // RequestHeaderConfiguration Union: only one key present
|
|
@@ -130,9 +130,24 @@ declare const UpdateGatewayCommand_base: {
|
|
|
130
130
|
* },
|
|
131
131
|
* },
|
|
132
132
|
* ],
|
|
133
|
+
* allowedWorkloadConfiguration: { // AllowedWorkloadConfiguration
|
|
134
|
+
* hostingEnvironments: [ // HostingEnvironmentListType
|
|
135
|
+
* { // HostingEnvironment
|
|
136
|
+
* arn: "STRING_VALUE", // required
|
|
137
|
+
* },
|
|
138
|
+
* ],
|
|
139
|
+
* workloadIdentities: [ // WorkloadIdentityNameListType
|
|
140
|
+
* "STRING_VALUE",
|
|
141
|
+
* ],
|
|
142
|
+
* },
|
|
133
143
|
* },
|
|
134
144
|
* },
|
|
135
145
|
* kmsKeyArn: "STRING_VALUE",
|
|
146
|
+
* customTransformConfiguration: { // CustomTransformConfiguration
|
|
147
|
+
* lambda: { // LambdaTransformConfiguration
|
|
148
|
+
* arn: "STRING_VALUE",
|
|
149
|
+
* },
|
|
150
|
+
* },
|
|
136
151
|
* interceptorConfigurations: [ // GatewayInterceptorConfigurations
|
|
137
152
|
* { // GatewayInterceptorConfiguration
|
|
138
153
|
* interceptor: { // InterceptorConfiguration Union: only one key present
|
|
@@ -145,6 +160,13 @@ declare const UpdateGatewayCommand_base: {
|
|
|
145
160
|
* ],
|
|
146
161
|
* inputConfiguration: { // InterceptorInputConfiguration
|
|
147
162
|
* passRequestHeaders: true || false, // required
|
|
163
|
+
* payloadFilter: { // InterceptorPayloadFilter
|
|
164
|
+
* exclude: [ // InterceptorPayloadExclusionSelectorList // required
|
|
165
|
+
* { // InterceptorPayloadExclusionSelector Union: only one key present
|
|
166
|
+
* field: "RESPONSE_BODY",
|
|
167
|
+
* },
|
|
168
|
+
* ],
|
|
169
|
+
* },
|
|
148
170
|
* },
|
|
149
171
|
* },
|
|
150
172
|
* ],
|
|
@@ -153,6 +175,9 @@ declare const UpdateGatewayCommand_base: {
|
|
|
153
175
|
* mode: "LOG_ONLY" || "ENFORCE", // required
|
|
154
176
|
* },
|
|
155
177
|
* exceptionLevel: "DEBUG",
|
|
178
|
+
* wafConfiguration: { // WafConfiguration
|
|
179
|
+
* failureMode: "FAIL_CLOSE" || "FAIL_OPEN",
|
|
180
|
+
* },
|
|
156
181
|
* };
|
|
157
182
|
* const command = new UpdateGatewayCommand(input);
|
|
158
183
|
* const response = await client.send(command);
|
|
@@ -256,9 +281,24 @@ declare const UpdateGatewayCommand_base: {
|
|
|
256
281
|
* // },
|
|
257
282
|
* // },
|
|
258
283
|
* // ],
|
|
284
|
+
* // allowedWorkloadConfiguration: { // AllowedWorkloadConfiguration
|
|
285
|
+
* // hostingEnvironments: [ // HostingEnvironmentListType
|
|
286
|
+
* // { // HostingEnvironment
|
|
287
|
+
* // arn: "STRING_VALUE", // required
|
|
288
|
+
* // },
|
|
289
|
+
* // ],
|
|
290
|
+
* // workloadIdentities: [ // WorkloadIdentityNameListType
|
|
291
|
+
* // "STRING_VALUE",
|
|
292
|
+
* // ],
|
|
293
|
+
* // },
|
|
259
294
|
* // },
|
|
260
295
|
* // },
|
|
261
296
|
* // kmsKeyArn: "STRING_VALUE",
|
|
297
|
+
* // customTransformConfiguration: { // CustomTransformConfiguration
|
|
298
|
+
* // lambda: { // LambdaTransformConfiguration
|
|
299
|
+
* // arn: "STRING_VALUE",
|
|
300
|
+
* // },
|
|
301
|
+
* // },
|
|
262
302
|
* // interceptorConfigurations: [ // GatewayInterceptorConfigurations
|
|
263
303
|
* // { // GatewayInterceptorConfiguration
|
|
264
304
|
* // interceptor: { // InterceptorConfiguration Union: only one key present
|
|
@@ -271,6 +311,13 @@ declare const UpdateGatewayCommand_base: {
|
|
|
271
311
|
* // ],
|
|
272
312
|
* // inputConfiguration: { // InterceptorInputConfiguration
|
|
273
313
|
* // passRequestHeaders: true || false, // required
|
|
314
|
+
* // payloadFilter: { // InterceptorPayloadFilter
|
|
315
|
+
* // exclude: [ // InterceptorPayloadExclusionSelectorList // required
|
|
316
|
+
* // { // InterceptorPayloadExclusionSelector Union: only one key present
|
|
317
|
+
* // field: "RESPONSE_BODY",
|
|
318
|
+
* // },
|
|
319
|
+
* // ],
|
|
320
|
+
* // },
|
|
274
321
|
* // },
|
|
275
322
|
* // },
|
|
276
323
|
* // ],
|
|
@@ -282,6 +329,10 @@ declare const UpdateGatewayCommand_base: {
|
|
|
282
329
|
* // workloadIdentityArn: "STRING_VALUE", // required
|
|
283
330
|
* // },
|
|
284
331
|
* // exceptionLevel: "DEBUG",
|
|
332
|
+
* // webAclArn: "STRING_VALUE",
|
|
333
|
+
* // wafConfiguration: { // WafConfiguration
|
|
334
|
+
* // failureMode: "FAIL_CLOSE" || "FAIL_OPEN",
|
|
335
|
+
* // },
|
|
285
336
|
* // };
|
|
286
337
|
*
|
|
287
338
|
* ```
|
|
@@ -41,7 +41,7 @@ declare const UpdateGatewayTargetCommand_base: {
|
|
|
41
41
|
* const input = { // UpdateGatewayTargetRequest
|
|
42
42
|
* gatewayIdentifier: "STRING_VALUE", // required
|
|
43
43
|
* targetId: "STRING_VALUE", // required
|
|
44
|
-
* name: "STRING_VALUE",
|
|
44
|
+
* name: "STRING_VALUE",
|
|
45
45
|
* description: "STRING_VALUE",
|
|
46
46
|
* targetConfiguration: { // TargetConfiguration Union: only one key present
|
|
47
47
|
* mcp: { // McpTargetConfiguration Union: only one key present
|
|
@@ -130,11 +130,80 @@ declare const UpdateGatewayTargetCommand_base: {
|
|
|
130
130
|
* ],
|
|
131
131
|
* },
|
|
132
132
|
* },
|
|
133
|
+
* connector: { // ConnectorTargetConfiguration
|
|
134
|
+
* source: { // ConnectorSource
|
|
135
|
+
* connectorId: "STRING_VALUE", // required
|
|
136
|
+
* },
|
|
137
|
+
* enabled: [ // EnabledConnectors
|
|
138
|
+
* "STRING_VALUE",
|
|
139
|
+
* ],
|
|
140
|
+
* configurations: [ // ConnectorConfigurations
|
|
141
|
+
* { // ConnectorConfiguration
|
|
142
|
+
* name: "STRING_VALUE", // required
|
|
143
|
+
* description: "STRING_VALUE",
|
|
144
|
+
* parameterValues: "DOCUMENT_VALUE",
|
|
145
|
+
* parameterOverrides: [ // ConnectorParameterOverrides
|
|
146
|
+
* { // ConnectorParameterOverride
|
|
147
|
+
* path: "STRING_VALUE", // required
|
|
148
|
+
* description: "STRING_VALUE",
|
|
149
|
+
* visible: true || false,
|
|
150
|
+
* },
|
|
151
|
+
* ],
|
|
152
|
+
* },
|
|
153
|
+
* ],
|
|
154
|
+
* },
|
|
133
155
|
* },
|
|
134
156
|
* http: { // HttpTargetConfiguration Union: only one key present
|
|
135
157
|
* agentcoreRuntime: { // RuntimeTargetConfiguration
|
|
136
158
|
* arn: "STRING_VALUE", // required
|
|
137
159
|
* qualifier: "STRING_VALUE",
|
|
160
|
+
* schema: { // HttpApiSchemaConfiguration
|
|
161
|
+
* source: {// Union: only one key present
|
|
162
|
+
* s3: "<S3Configuration>",
|
|
163
|
+
* inlinePayload: "STRING_VALUE",
|
|
164
|
+
* },
|
|
165
|
+
* },
|
|
166
|
+
* },
|
|
167
|
+
* passthrough: { // PassthroughTargetConfiguration
|
|
168
|
+
* endpoint: "STRING_VALUE", // required
|
|
169
|
+
* protocolType: "MCP" || "A2A" || "INFERENCE" || "CUSTOM", // required
|
|
170
|
+
* schema: {
|
|
171
|
+
* source: {// Union: only one key present
|
|
172
|
+
* s3: "<S3Configuration>",
|
|
173
|
+
* inlinePayload: "STRING_VALUE",
|
|
174
|
+
* },
|
|
175
|
+
* },
|
|
176
|
+
* stickinessConfiguration: { // StickinessConfiguration
|
|
177
|
+
* identifier: "STRING_VALUE", // required
|
|
178
|
+
* timeout: Number("int"),
|
|
179
|
+
* },
|
|
180
|
+
* },
|
|
181
|
+
* },
|
|
182
|
+
* inference: { // InferenceTargetConfiguration Union: only one key present
|
|
183
|
+
* connector: { // InferenceConnectorTargetConfiguration
|
|
184
|
+
* source: { // InferenceConnectorSource
|
|
185
|
+
* connectorId: "STRING_VALUE", // required
|
|
186
|
+
* },
|
|
187
|
+
* },
|
|
188
|
+
* provider: { // InferenceProviderTargetConfiguration
|
|
189
|
+
* endpoint: "STRING_VALUE", // required
|
|
190
|
+
* modelMapping: { // ModelMapping
|
|
191
|
+
* providerPrefix: { // ProviderPrefix
|
|
192
|
+
* strip: true || false,
|
|
193
|
+
* separator: "STRING_VALUE",
|
|
194
|
+
* },
|
|
195
|
+
* },
|
|
196
|
+
* operations: [ // InferenceOperationConfigurations
|
|
197
|
+
* { // InferenceOperationConfiguration
|
|
198
|
+
* path: "STRING_VALUE", // required
|
|
199
|
+
* providerPath: "STRING_VALUE",
|
|
200
|
+
* models: [ // ModelEntries
|
|
201
|
+
* { // ModelEntry
|
|
202
|
+
* model: "STRING_VALUE", // required
|
|
203
|
+
* },
|
|
204
|
+
* ],
|
|
205
|
+
* },
|
|
206
|
+
* ],
|
|
138
207
|
* },
|
|
139
208
|
* },
|
|
140
209
|
* },
|
|
@@ -297,11 +366,80 @@ declare const UpdateGatewayTargetCommand_base: {
|
|
|
297
366
|
* // ],
|
|
298
367
|
* // },
|
|
299
368
|
* // },
|
|
369
|
+
* // connector: { // ConnectorTargetConfiguration
|
|
370
|
+
* // source: { // ConnectorSource
|
|
371
|
+
* // connectorId: "STRING_VALUE", // required
|
|
372
|
+
* // },
|
|
373
|
+
* // enabled: [ // EnabledConnectors
|
|
374
|
+
* // "STRING_VALUE",
|
|
375
|
+
* // ],
|
|
376
|
+
* // configurations: [ // ConnectorConfigurations
|
|
377
|
+
* // { // ConnectorConfiguration
|
|
378
|
+
* // name: "STRING_VALUE", // required
|
|
379
|
+
* // description: "STRING_VALUE",
|
|
380
|
+
* // parameterValues: "DOCUMENT_VALUE",
|
|
381
|
+
* // parameterOverrides: [ // ConnectorParameterOverrides
|
|
382
|
+
* // { // ConnectorParameterOverride
|
|
383
|
+
* // path: "STRING_VALUE", // required
|
|
384
|
+
* // description: "STRING_VALUE",
|
|
385
|
+
* // visible: true || false,
|
|
386
|
+
* // },
|
|
387
|
+
* // ],
|
|
388
|
+
* // },
|
|
389
|
+
* // ],
|
|
390
|
+
* // },
|
|
300
391
|
* // },
|
|
301
392
|
* // http: { // HttpTargetConfiguration Union: only one key present
|
|
302
393
|
* // agentcoreRuntime: { // RuntimeTargetConfiguration
|
|
303
394
|
* // arn: "STRING_VALUE", // required
|
|
304
395
|
* // qualifier: "STRING_VALUE",
|
|
396
|
+
* // schema: { // HttpApiSchemaConfiguration
|
|
397
|
+
* // source: {// Union: only one key present
|
|
398
|
+
* // s3: "<S3Configuration>",
|
|
399
|
+
* // inlinePayload: "STRING_VALUE",
|
|
400
|
+
* // },
|
|
401
|
+
* // },
|
|
402
|
+
* // },
|
|
403
|
+
* // passthrough: { // PassthroughTargetConfiguration
|
|
404
|
+
* // endpoint: "STRING_VALUE", // required
|
|
405
|
+
* // protocolType: "MCP" || "A2A" || "INFERENCE" || "CUSTOM", // required
|
|
406
|
+
* // schema: {
|
|
407
|
+
* // source: {// Union: only one key present
|
|
408
|
+
* // s3: "<S3Configuration>",
|
|
409
|
+
* // inlinePayload: "STRING_VALUE",
|
|
410
|
+
* // },
|
|
411
|
+
* // },
|
|
412
|
+
* // stickinessConfiguration: { // StickinessConfiguration
|
|
413
|
+
* // identifier: "STRING_VALUE", // required
|
|
414
|
+
* // timeout: Number("int"),
|
|
415
|
+
* // },
|
|
416
|
+
* // },
|
|
417
|
+
* // },
|
|
418
|
+
* // inference: { // InferenceTargetConfiguration Union: only one key present
|
|
419
|
+
* // connector: { // InferenceConnectorTargetConfiguration
|
|
420
|
+
* // source: { // InferenceConnectorSource
|
|
421
|
+
* // connectorId: "STRING_VALUE", // required
|
|
422
|
+
* // },
|
|
423
|
+
* // },
|
|
424
|
+
* // provider: { // InferenceProviderTargetConfiguration
|
|
425
|
+
* // endpoint: "STRING_VALUE", // required
|
|
426
|
+
* // modelMapping: { // ModelMapping
|
|
427
|
+
* // providerPrefix: { // ProviderPrefix
|
|
428
|
+
* // strip: true || false,
|
|
429
|
+
* // separator: "STRING_VALUE",
|
|
430
|
+
* // },
|
|
431
|
+
* // },
|
|
432
|
+
* // operations: [ // InferenceOperationConfigurations
|
|
433
|
+
* // { // InferenceOperationConfiguration
|
|
434
|
+
* // path: "STRING_VALUE", // required
|
|
435
|
+
* // providerPath: "STRING_VALUE",
|
|
436
|
+
* // models: [ // ModelEntries
|
|
437
|
+
* // { // ModelEntry
|
|
438
|
+
* // model: "STRING_VALUE", // required
|
|
439
|
+
* // },
|
|
440
|
+
* // ],
|
|
441
|
+
* // },
|
|
442
|
+
* // ],
|
|
305
443
|
* // },
|
|
306
444
|
* // },
|
|
307
445
|
* // },
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreControlClient";
|
|
4
|
-
import type { UpdateHarnessRequest, UpdateHarnessResponse } from "../models/
|
|
4
|
+
import type { UpdateHarnessRequest, UpdateHarnessResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -29,7 +29,7 @@ declare const UpdateHarnessCommand_base: {
|
|
|
29
29
|
};
|
|
30
30
|
};
|
|
31
31
|
/**
|
|
32
|
-
* <p>Operation to update a
|
|
32
|
+
* <p>Operation to update a harness.</p>
|
|
33
33
|
* @example
|
|
34
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
35
|
* ```javascript
|
|
@@ -158,6 +158,16 @@ declare const UpdateHarnessCommand_base: {
|
|
|
158
158
|
* },
|
|
159
159
|
* },
|
|
160
160
|
* ],
|
|
161
|
+
* allowedWorkloadConfiguration: { // AllowedWorkloadConfiguration
|
|
162
|
+
* hostingEnvironments: [ // HostingEnvironmentListType
|
|
163
|
+
* { // HostingEnvironment
|
|
164
|
+
* arn: "STRING_VALUE", // required
|
|
165
|
+
* },
|
|
166
|
+
* ],
|
|
167
|
+
* workloadIdentities: [ // WorkloadIdentityNameListType
|
|
168
|
+
* "STRING_VALUE",
|
|
169
|
+
* ],
|
|
170
|
+
* },
|
|
161
171
|
* },
|
|
162
172
|
* },
|
|
163
173
|
* },
|
|
@@ -258,6 +268,11 @@ declare const UpdateHarnessCommand_base: {
|
|
|
258
268
|
* username: "STRING_VALUE",
|
|
259
269
|
* },
|
|
260
270
|
* },
|
|
271
|
+
* awsSkills: { // HarnessSkillAwsSkillsSource
|
|
272
|
+
* paths: [ // HarnessAwsSkillPaths
|
|
273
|
+
* "STRING_VALUE",
|
|
274
|
+
* ],
|
|
275
|
+
* },
|
|
261
276
|
* },
|
|
262
277
|
* ],
|
|
263
278
|
* allowedTools: [ // HarnessAllowedTools
|
|
@@ -277,6 +292,15 @@ declare const UpdateHarnessCommand_base: {
|
|
|
277
292
|
* },
|
|
278
293
|
* },
|
|
279
294
|
* },
|
|
295
|
+
* managedMemoryConfiguration: { // HarnessManagedMemoryConfiguration
|
|
296
|
+
* arn: "STRING_VALUE",
|
|
297
|
+
* strategies: [ // HarnessManagedMemoryStrategyList
|
|
298
|
+
* "SEMANTIC" || "SUMMARIZATION" || "USER_PREFERENCE" || "EPISODIC",
|
|
299
|
+
* ],
|
|
300
|
+
* eventExpiryDuration: Number("int"),
|
|
301
|
+
* encryptionKeyArn: "STRING_VALUE",
|
|
302
|
+
* },
|
|
303
|
+
* disabled: {},
|
|
280
304
|
* },
|
|
281
305
|
* },
|
|
282
306
|
* truncation: { // HarnessTruncationConfiguration
|
|
@@ -304,6 +328,7 @@ declare const UpdateHarnessCommand_base: {
|
|
|
304
328
|
* // harnessName: "STRING_VALUE", // required
|
|
305
329
|
* // arn: "STRING_VALUE", // required
|
|
306
330
|
* // status: "CREATING" || "CREATE_FAILED" || "UPDATING" || "UPDATE_FAILED" || "READY" || "DELETING" || "DELETE_FAILED", // required
|
|
331
|
+
* // harnessVersion: "STRING_VALUE",
|
|
307
332
|
* // executionRoleArn: "STRING_VALUE", // required
|
|
308
333
|
* // createdAt: new Date("TIMESTAMP"), // required
|
|
309
334
|
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
@@ -404,6 +429,11 @@ declare const UpdateHarnessCommand_base: {
|
|
|
404
429
|
* // username: "STRING_VALUE",
|
|
405
430
|
* // },
|
|
406
431
|
* // },
|
|
432
|
+
* // awsSkills: { // HarnessSkillAwsSkillsSource
|
|
433
|
+
* // paths: [ // HarnessAwsSkillPaths
|
|
434
|
+
* // "STRING_VALUE",
|
|
435
|
+
* // ],
|
|
436
|
+
* // },
|
|
407
437
|
* // },
|
|
408
438
|
* // ],
|
|
409
439
|
* // allowedTools: [ // HarnessAllowedTools // required
|
|
@@ -538,6 +568,16 @@ declare const UpdateHarnessCommand_base: {
|
|
|
538
568
|
* // },
|
|
539
569
|
* // },
|
|
540
570
|
* // ],
|
|
571
|
+
* // allowedWorkloadConfiguration: { // AllowedWorkloadConfiguration
|
|
572
|
+
* // hostingEnvironments: [ // HostingEnvironmentListType
|
|
573
|
+
* // { // HostingEnvironment
|
|
574
|
+
* // arn: "STRING_VALUE", // required
|
|
575
|
+
* // },
|
|
576
|
+
* // ],
|
|
577
|
+
* // workloadIdentities: [ // WorkloadIdentityNameListType
|
|
578
|
+
* // "STRING_VALUE",
|
|
579
|
+
* // ],
|
|
580
|
+
* // },
|
|
541
581
|
* // },
|
|
542
582
|
* // },
|
|
543
583
|
* // memory: { // HarnessMemoryConfiguration Union: only one key present
|
|
@@ -553,6 +593,15 @@ declare const UpdateHarnessCommand_base: {
|
|
|
553
593
|
* // },
|
|
554
594
|
* // },
|
|
555
595
|
* // },
|
|
596
|
+
* // managedMemoryConfiguration: { // HarnessManagedMemoryConfiguration
|
|
597
|
+
* // arn: "STRING_VALUE",
|
|
598
|
+
* // strategies: [ // HarnessManagedMemoryStrategyList
|
|
599
|
+
* // "SEMANTIC" || "SUMMARIZATION" || "USER_PREFERENCE" || "EPISODIC",
|
|
600
|
+
* // ],
|
|
601
|
+
* // eventExpiryDuration: Number("int"),
|
|
602
|
+
* // encryptionKeyArn: "STRING_VALUE",
|
|
603
|
+
* // },
|
|
604
|
+
* // disabled: {},
|
|
556
605
|
* // },
|
|
557
606
|
* // maxIterations: Number("int"),
|
|
558
607
|
* // maxTokens: Number("int"),
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreControlClient";
|
|
4
|
+
import type { UpdateHarnessEndpointRequest, UpdateHarnessEndpointResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UpdateHarnessEndpointCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateHarnessEndpointCommandInput extends UpdateHarnessEndpointRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateHarnessEndpointCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateHarnessEndpointCommandOutput extends UpdateHarnessEndpointResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UpdateHarnessEndpointCommand_base: {
|
|
25
|
+
new (input: UpdateHarnessEndpointCommandInput): import("@smithy/core/client").CommandImpl<UpdateHarnessEndpointCommandInput, UpdateHarnessEndpointCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UpdateHarnessEndpointCommandInput): import("@smithy/core/client").CommandImpl<UpdateHarnessEndpointCommandInput, UpdateHarnessEndpointCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Operation to update a harness endpoint.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { BedrockAgentCoreControlClient, UpdateHarnessEndpointCommand } from "@aws-sdk/client-bedrock-agentcore-control"; // ES Modules import
|
|
37
|
+
* // const { BedrockAgentCoreControlClient, UpdateHarnessEndpointCommand } = require("@aws-sdk/client-bedrock-agentcore-control"); // CommonJS import
|
|
38
|
+
* // import type { BedrockAgentCoreControlClientConfig } from "@aws-sdk/client-bedrock-agentcore-control";
|
|
39
|
+
* const config = {}; // type is BedrockAgentCoreControlClientConfig
|
|
40
|
+
* const client = new BedrockAgentCoreControlClient(config);
|
|
41
|
+
* const input = { // UpdateHarnessEndpointRequest
|
|
42
|
+
* harnessId: "STRING_VALUE", // required
|
|
43
|
+
* endpointName: "STRING_VALUE", // required
|
|
44
|
+
* targetVersion: "STRING_VALUE",
|
|
45
|
+
* description: "STRING_VALUE",
|
|
46
|
+
* clientToken: "STRING_VALUE",
|
|
47
|
+
* };
|
|
48
|
+
* const command = new UpdateHarnessEndpointCommand(input);
|
|
49
|
+
* const response = await client.send(command);
|
|
50
|
+
* // { // UpdateHarnessEndpointResponse
|
|
51
|
+
* // endpoint: { // HarnessEndpoint
|
|
52
|
+
* // harnessId: "STRING_VALUE", // required
|
|
53
|
+
* // harnessName: "STRING_VALUE", // required
|
|
54
|
+
* // endpointName: "STRING_VALUE", // required
|
|
55
|
+
* // arn: "STRING_VALUE", // required
|
|
56
|
+
* // status: "CREATING" || "CREATE_FAILED" || "UPDATING" || "UPDATE_FAILED" || "READY" || "DELETING" || "DELETE_FAILED", // required
|
|
57
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
58
|
+
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
59
|
+
* // liveVersion: "STRING_VALUE",
|
|
60
|
+
* // targetVersion: "STRING_VALUE",
|
|
61
|
+
* // description: "STRING_VALUE",
|
|
62
|
+
* // failureReason: "STRING_VALUE",
|
|
63
|
+
* // },
|
|
64
|
+
* // };
|
|
65
|
+
*
|
|
66
|
+
* ```
|
|
67
|
+
*
|
|
68
|
+
* @param UpdateHarnessEndpointCommandInput - {@link UpdateHarnessEndpointCommandInput}
|
|
69
|
+
* @returns {@link UpdateHarnessEndpointCommandOutput}
|
|
70
|
+
* @see {@link UpdateHarnessEndpointCommandInput} for command's `input` shape.
|
|
71
|
+
* @see {@link UpdateHarnessEndpointCommandOutput} for command's `response` shape.
|
|
72
|
+
* @see {@link BedrockAgentCoreControlClientResolvedConfig | config} for BedrockAgentCoreControlClient's `config` shape.
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
75
|
+
* <p>This exception is thrown when a request is denied per access permissions</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link ConflictException} (client fault)
|
|
78
|
+
* <p>This exception is thrown when there is a conflict performing an operation</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link InternalServerException} (server fault)
|
|
81
|
+
* <p>This exception is thrown if there was an unexpected error during processing of request</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
84
|
+
* <p>This exception is thrown when a resource referenced by the operation does not exist</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
87
|
+
* <p>This exception is thrown when a request is made beyond the service quota</p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
90
|
+
* <p>This exception is thrown when the number of requests exceeds the limit</p>
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link ValidationException} (client fault)
|
|
93
|
+
* <p>The input fails to satisfy the constraints specified by the service.</p>
|
|
94
|
+
*
|
|
95
|
+
* @throws {@link BedrockAgentCoreControlServiceException}
|
|
96
|
+
* <p>Base exception class for all service exceptions from BedrockAgentCoreControl service.</p>
|
|
97
|
+
*
|
|
98
|
+
*
|
|
99
|
+
* @public
|
|
100
|
+
*/
|
|
101
|
+
export declare class UpdateHarnessEndpointCommand extends UpdateHarnessEndpointCommand_base {
|
|
102
|
+
/** @internal type navigation helper, not in runtime. */
|
|
103
|
+
protected static __types: {
|
|
104
|
+
api: {
|
|
105
|
+
input: UpdateHarnessEndpointRequest;
|
|
106
|
+
output: UpdateHarnessEndpointResponse;
|
|
107
|
+
};
|
|
108
|
+
sdk: {
|
|
109
|
+
input: UpdateHarnessEndpointCommandInput;
|
|
110
|
+
output: UpdateHarnessEndpointCommandOutput;
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
}
|
|
@@ -112,6 +112,16 @@ declare const UpdatePaymentManagerCommand_base: {
|
|
|
112
112
|
* },
|
|
113
113
|
* },
|
|
114
114
|
* ],
|
|
115
|
+
* allowedWorkloadConfiguration: { // AllowedWorkloadConfiguration
|
|
116
|
+
* hostingEnvironments: [ // HostingEnvironmentListType
|
|
117
|
+
* { // HostingEnvironment
|
|
118
|
+
* arn: "STRING_VALUE", // required
|
|
119
|
+
* },
|
|
120
|
+
* ],
|
|
121
|
+
* workloadIdentities: [ // WorkloadIdentityNameListType
|
|
122
|
+
* "STRING_VALUE",
|
|
123
|
+
* ],
|
|
124
|
+
* },
|
|
115
125
|
* },
|
|
116
126
|
* },
|
|
117
127
|
* roleArn: "STRING_VALUE",
|
|
@@ -52,8 +52,12 @@ declare const UpdatePolicyCommand_base: {
|
|
|
52
52
|
* policyGenerationId: "STRING_VALUE", // required
|
|
53
53
|
* policyGenerationAssetId: "STRING_VALUE", // required
|
|
54
54
|
* },
|
|
55
|
+
* policy: { // PolicyStatement
|
|
56
|
+
* statement: "STRING_VALUE", // required
|
|
57
|
+
* },
|
|
55
58
|
* },
|
|
56
59
|
* validationMode: "FAIL_ON_ANY_FINDINGS" || "IGNORE_ALL_FINDINGS",
|
|
60
|
+
* enforcementMode: "ACTIVE" || "LOG_ONLY",
|
|
57
61
|
* };
|
|
58
62
|
* const command = new UpdatePolicyCommand(input);
|
|
59
63
|
* const response = await client.send(command);
|
|
@@ -65,6 +69,7 @@ declare const UpdatePolicyCommand_base: {
|
|
|
65
69
|
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
66
70
|
* // policyArn: "STRING_VALUE", // required
|
|
67
71
|
* // status: "CREATING" || "ACTIVE" || "UPDATING" || "DELETING" || "CREATE_FAILED" || "UPDATE_FAILED" || "DELETE_FAILED", // required
|
|
72
|
+
* // enforcementMode: "ACTIVE" || "LOG_ONLY",
|
|
68
73
|
* // definition: { // PolicyDefinition Union: only one key present
|
|
69
74
|
* // cedar: { // CedarPolicy
|
|
70
75
|
* // statement: "STRING_VALUE", // required
|
|
@@ -73,6 +78,9 @@ declare const UpdatePolicyCommand_base: {
|
|
|
73
78
|
* // policyGenerationId: "STRING_VALUE", // required
|
|
74
79
|
* // policyGenerationAssetId: "STRING_VALUE", // required
|
|
75
80
|
* // },
|
|
81
|
+
* // policy: { // PolicyStatement
|
|
82
|
+
* // statement: "STRING_VALUE", // required
|
|
83
|
+
* // },
|
|
76
84
|
* // },
|
|
77
85
|
* // description: "STRING_VALUE",
|
|
78
86
|
* // statusReasons: [ // PolicyStatusReasons // required
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreControlClient";
|
|
4
|
-
import type { UpdateRegistryRequest, UpdateRegistryResponse } from "../models/
|
|
4
|
+
import type { UpdateRegistryRequest, UpdateRegistryResponse } from "../models/models_2";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -115,6 +115,16 @@ declare const UpdateRegistryCommand_base: {
|
|
|
115
115
|
* },
|
|
116
116
|
* },
|
|
117
117
|
* ],
|
|
118
|
+
* allowedWorkloadConfiguration: { // AllowedWorkloadConfiguration
|
|
119
|
+
* hostingEnvironments: [ // HostingEnvironmentListType
|
|
120
|
+
* { // HostingEnvironment
|
|
121
|
+
* arn: "STRING_VALUE", // required
|
|
122
|
+
* },
|
|
123
|
+
* ],
|
|
124
|
+
* workloadIdentities: [ // WorkloadIdentityNameListType
|
|
125
|
+
* "STRING_VALUE",
|
|
126
|
+
* ],
|
|
127
|
+
* },
|
|
118
128
|
* },
|
|
119
129
|
* },
|
|
120
130
|
* },
|
|
@@ -202,6 +212,16 @@ declare const UpdateRegistryCommand_base: {
|
|
|
202
212
|
* // },
|
|
203
213
|
* // },
|
|
204
214
|
* // ],
|
|
215
|
+
* // allowedWorkloadConfiguration: { // AllowedWorkloadConfiguration
|
|
216
|
+
* // hostingEnvironments: [ // HostingEnvironmentListType
|
|
217
|
+
* // { // HostingEnvironment
|
|
218
|
+
* // arn: "STRING_VALUE", // required
|
|
219
|
+
* // },
|
|
220
|
+
* // ],
|
|
221
|
+
* // workloadIdentities: [ // WorkloadIdentityNameListType
|
|
222
|
+
* // "STRING_VALUE",
|
|
223
|
+
* // ],
|
|
224
|
+
* // },
|
|
205
225
|
* // },
|
|
206
226
|
* // },
|
|
207
227
|
* // approvalConfiguration: { // ApprovalConfiguration
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreControlClient";
|
|
4
|
-
import type { UpdateRegistryRecordRequest, UpdateRegistryRecordResponse } from "../models/
|
|
4
|
+
import type { UpdateRegistryRecordRequest, UpdateRegistryRecordResponse } from "../models/models_2";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreControlClient";
|
|
4
|
-
import type { UpdateRegistryRecordStatusRequest, UpdateRegistryRecordStatusResponse } from "../models/
|
|
4
|
+
import type { UpdateRegistryRecordStatusRequest, UpdateRegistryRecordStatusResponse } from "../models/models_2";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|