@aws-sdk/client-bedrock-agentcore-control 3.906.0 → 3.908.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 +8 -0
- package/dist-cjs/index.js +136 -3
- package/dist-es/BedrockAgentCoreControl.js +2 -0
- package/dist-es/commands/SynchronizeGatewayTargetsCommand.js +23 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +52 -0
- package/dist-es/protocols/Aws_restJson1.js +63 -3
- package/dist-types/BedrockAgentCoreControl.d.ts +7 -0
- package/dist-types/BedrockAgentCoreControlClient.d.ts +3 -2
- package/dist-types/commands/CreateGatewayCommand.d.ts +1 -1
- package/dist-types/commands/CreateGatewayTargetCommand.d.ts +9 -2
- package/dist-types/commands/CreateMemoryCommand.d.ts +41 -1
- package/dist-types/commands/DeleteGatewayTargetCommand.d.ts +1 -1
- package/dist-types/commands/GetGatewayTargetCommand.d.ts +5 -1
- package/dist-types/commands/GetMemoryCommand.d.ts +21 -1
- package/dist-types/commands/ListGatewayTargetsCommand.d.ts +1 -1
- package/dist-types/commands/SynchronizeGatewayTargetsCommand.d.ts +192 -0
- package/dist-types/commands/UpdateGatewayTargetCommand.d.ts +9 -2
- package/dist-types/commands/UpdateMemoryCommand.d.ts +61 -1
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +462 -8
- package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
- package/dist-types/ts3.4/BedrockAgentCoreControl.d.ts +17 -0
- package/dist-types/ts3.4/BedrockAgentCoreControlClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/SynchronizeGatewayTargetsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +188 -2
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/package.json +15 -15
package/README.md
CHANGED
|
@@ -557,6 +557,14 @@ SetTokenVaultCMK
|
|
|
557
557
|
|
|
558
558
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock-agentcore-control/command/SetTokenVaultCMKCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agentcore-control/Interface/SetTokenVaultCMKCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agentcore-control/Interface/SetTokenVaultCMKCommandOutput/)
|
|
559
559
|
|
|
560
|
+
</details>
|
|
561
|
+
<details>
|
|
562
|
+
<summary>
|
|
563
|
+
SynchronizeGatewayTargets
|
|
564
|
+
</summary>
|
|
565
|
+
|
|
566
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock-agentcore-control/command/SynchronizeGatewayTargetsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agentcore-control/Interface/SynchronizeGatewayTargetsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agentcore-control/Interface/SynchronizeGatewayTargetsCommandOutput/)
|
|
567
|
+
|
|
560
568
|
</details>
|
|
561
569
|
<details>
|
|
562
570
|
<summary>
|
package/dist-cjs/index.js
CHANGED
|
@@ -411,6 +411,8 @@ const TargetStatus = {
|
|
|
411
411
|
DELETING: "DELETING",
|
|
412
412
|
FAILED: "FAILED",
|
|
413
413
|
READY: "READY",
|
|
414
|
+
SYNCHRONIZE_UNSUCCESSFUL: "SYNCHRONIZE_UNSUCCESSFUL",
|
|
415
|
+
SYNCHRONIZING: "SYNCHRONIZING",
|
|
414
416
|
UPDATE_UNSUCCESSFUL: "UPDATE_UNSUCCESSFUL",
|
|
415
417
|
UPDATING: "UPDATING",
|
|
416
418
|
};
|
|
@@ -418,6 +420,18 @@ const KeyType = {
|
|
|
418
420
|
CustomerManagedKey: "CustomerManagedKey",
|
|
419
421
|
ServiceManagedKey: "ServiceManagedKey",
|
|
420
422
|
};
|
|
423
|
+
exports.TriggerConditionInput = void 0;
|
|
424
|
+
(function (TriggerConditionInput) {
|
|
425
|
+
TriggerConditionInput.visit = (value, visitor) => {
|
|
426
|
+
if (value.messageBasedTrigger !== undefined)
|
|
427
|
+
return visitor.messageBasedTrigger(value.messageBasedTrigger);
|
|
428
|
+
if (value.tokenBasedTrigger !== undefined)
|
|
429
|
+
return visitor.tokenBasedTrigger(value.tokenBasedTrigger);
|
|
430
|
+
if (value.timeBasedTrigger !== undefined)
|
|
431
|
+
return visitor.timeBasedTrigger(value.timeBasedTrigger);
|
|
432
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
433
|
+
};
|
|
434
|
+
})(exports.TriggerConditionInput || (exports.TriggerConditionInput = {}));
|
|
421
435
|
exports.CustomConfigurationInput = void 0;
|
|
422
436
|
(function (CustomConfigurationInput) {
|
|
423
437
|
CustomConfigurationInput.visit = (value, visitor) => {
|
|
@@ -427,6 +441,8 @@ exports.CustomConfigurationInput = void 0;
|
|
|
427
441
|
return visitor.summaryOverride(value.summaryOverride);
|
|
428
442
|
if (value.userPreferenceOverride !== undefined)
|
|
429
443
|
return visitor.userPreferenceOverride(value.userPreferenceOverride);
|
|
444
|
+
if (value.selfManagedConfiguration !== undefined)
|
|
445
|
+
return visitor.selfManagedConfiguration(value.selfManagedConfiguration);
|
|
430
446
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
431
447
|
};
|
|
432
448
|
})(exports.CustomConfigurationInput || (exports.CustomConfigurationInput = {}));
|
|
@@ -488,7 +504,20 @@ exports.ExtractionConfiguration = void 0;
|
|
|
488
504
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
489
505
|
};
|
|
490
506
|
})(exports.ExtractionConfiguration || (exports.ExtractionConfiguration = {}));
|
|
507
|
+
exports.TriggerCondition = void 0;
|
|
508
|
+
(function (TriggerCondition) {
|
|
509
|
+
TriggerCondition.visit = (value, visitor) => {
|
|
510
|
+
if (value.messageBasedTrigger !== undefined)
|
|
511
|
+
return visitor.messageBasedTrigger(value.messageBasedTrigger);
|
|
512
|
+
if (value.tokenBasedTrigger !== undefined)
|
|
513
|
+
return visitor.tokenBasedTrigger(value.tokenBasedTrigger);
|
|
514
|
+
if (value.timeBasedTrigger !== undefined)
|
|
515
|
+
return visitor.timeBasedTrigger(value.timeBasedTrigger);
|
|
516
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
517
|
+
};
|
|
518
|
+
})(exports.TriggerCondition || (exports.TriggerCondition = {}));
|
|
491
519
|
const OverrideType = {
|
|
520
|
+
SELF_MANAGED: "SELF_MANAGED",
|
|
492
521
|
SEMANTIC_OVERRIDE: "SEMANTIC_OVERRIDE",
|
|
493
522
|
SUMMARY_OVERRIDE: "SUMMARY_OVERRIDE",
|
|
494
523
|
USER_PREFERENCE_OVERRIDE: "USER_PREFERENCE_OVERRIDE",
|
|
@@ -654,6 +683,8 @@ exports.McpTargetConfiguration = void 0;
|
|
|
654
683
|
return visitor.smithyModel(value.smithyModel);
|
|
655
684
|
if (value.lambda !== undefined)
|
|
656
685
|
return visitor.lambda(value.lambda);
|
|
686
|
+
if (value.mcpServer !== undefined)
|
|
687
|
+
return visitor.mcpServer(value.mcpServer);
|
|
657
688
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
658
689
|
};
|
|
659
690
|
})(exports.McpTargetConfiguration || (exports.McpTargetConfiguration = {}));
|
|
@@ -903,6 +934,8 @@ const CustomConfigurationInputFilterSensitiveLog = (obj) => {
|
|
|
903
934
|
return {
|
|
904
935
|
userPreferenceOverride: UserPreferenceOverrideConfigurationInputFilterSensitiveLog(obj.userPreferenceOverride),
|
|
905
936
|
};
|
|
937
|
+
if (obj.selfManagedConfiguration !== undefined)
|
|
938
|
+
return { selfManagedConfiguration: obj.selfManagedConfiguration };
|
|
906
939
|
if (obj.$unknown !== undefined)
|
|
907
940
|
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
908
941
|
};
|
|
@@ -1010,6 +1043,7 @@ const StrategyConfigurationFilterSensitiveLog = (obj) => ({
|
|
|
1010
1043
|
...obj,
|
|
1011
1044
|
...(obj.extraction && { extraction: ExtractionConfigurationFilterSensitiveLog(obj.extraction) }),
|
|
1012
1045
|
...(obj.consolidation && { consolidation: ConsolidationConfigurationFilterSensitiveLog(obj.consolidation) }),
|
|
1046
|
+
...(obj.selfManagedConfiguration && { selfManagedConfiguration: obj.selfManagedConfiguration }),
|
|
1013
1047
|
});
|
|
1014
1048
|
const MemoryStrategyFilterSensitiveLog = (obj) => ({
|
|
1015
1049
|
...obj,
|
|
@@ -1077,6 +1111,7 @@ const ModifyStrategyConfigurationFilterSensitiveLog = (obj) => ({
|
|
|
1077
1111
|
...obj,
|
|
1078
1112
|
...(obj.extraction && { extraction: ModifyExtractionConfigurationFilterSensitiveLog(obj.extraction) }),
|
|
1079
1113
|
...(obj.consolidation && { consolidation: ModifyConsolidationConfigurationFilterSensitiveLog(obj.consolidation) }),
|
|
1114
|
+
...(obj.selfManagedConfiguration && { selfManagedConfiguration: obj.selfManagedConfiguration }),
|
|
1080
1115
|
});
|
|
1081
1116
|
const ModifyMemoryStrategyInputFilterSensitiveLog = (obj) => ({
|
|
1082
1117
|
...obj,
|
|
@@ -1173,6 +1208,8 @@ const McpTargetConfigurationFilterSensitiveLog = (obj) => {
|
|
|
1173
1208
|
return { smithyModel: ApiSchemaConfigurationFilterSensitiveLog(obj.smithyModel) };
|
|
1174
1209
|
if (obj.lambda !== undefined)
|
|
1175
1210
|
return { lambda: obj.lambda };
|
|
1211
|
+
if (obj.mcpServer !== undefined)
|
|
1212
|
+
return { mcpServer: obj.mcpServer };
|
|
1176
1213
|
if (obj.$unknown !== undefined)
|
|
1177
1214
|
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
1178
1215
|
};
|
|
@@ -1204,6 +1241,17 @@ const CreateGatewayTargetResponseFilterSensitiveLog = (obj) => ({
|
|
|
1204
1241
|
credentialProviderConfigurations: obj.credentialProviderConfigurations.map((item) => CredentialProviderConfigurationFilterSensitiveLog(item)),
|
|
1205
1242
|
}),
|
|
1206
1243
|
});
|
|
1244
|
+
const GatewayTargetFilterSensitiveLog = (obj) => ({
|
|
1245
|
+
...obj,
|
|
1246
|
+
...(obj.name && { name: smithyClient.SENSITIVE_STRING }),
|
|
1247
|
+
...(obj.description && { description: smithyClient.SENSITIVE_STRING }),
|
|
1248
|
+
...(obj.targetConfiguration && {
|
|
1249
|
+
targetConfiguration: TargetConfigurationFilterSensitiveLog(obj.targetConfiguration),
|
|
1250
|
+
}),
|
|
1251
|
+
...(obj.credentialProviderConfigurations && {
|
|
1252
|
+
credentialProviderConfigurations: obj.credentialProviderConfigurations.map((item) => CredentialProviderConfigurationFilterSensitiveLog(item)),
|
|
1253
|
+
}),
|
|
1254
|
+
});
|
|
1207
1255
|
const GetGatewayTargetResponseFilterSensitiveLog = (obj) => ({
|
|
1208
1256
|
...obj,
|
|
1209
1257
|
...(obj.name && { name: smithyClient.SENSITIVE_STRING }),
|
|
@@ -1237,6 +1285,10 @@ const UpdateGatewayTargetResponseFilterSensitiveLog = (obj) => ({
|
|
|
1237
1285
|
credentialProviderConfigurations: obj.credentialProviderConfigurations.map((item) => CredentialProviderConfigurationFilterSensitiveLog(item)),
|
|
1238
1286
|
}),
|
|
1239
1287
|
});
|
|
1288
|
+
const SynchronizeGatewayTargetsResponseFilterSensitiveLog = (obj) => ({
|
|
1289
|
+
...obj,
|
|
1290
|
+
...(obj.targets && { targets: obj.targets.map((item) => GatewayTargetFilterSensitiveLog(item)) }),
|
|
1291
|
+
});
|
|
1240
1292
|
|
|
1241
1293
|
const se_CreateAgentRuntimeCommand = async (input, context) => {
|
|
1242
1294
|
const b = core.requestBuilder(input, context);
|
|
@@ -1825,6 +1877,20 @@ const se_SetTokenVaultCMKCommand = async (input, context) => {
|
|
|
1825
1877
|
b.m("POST").h(headers).b(body);
|
|
1826
1878
|
return b.build();
|
|
1827
1879
|
};
|
|
1880
|
+
const se_SynchronizeGatewayTargetsCommand = async (input, context) => {
|
|
1881
|
+
const b = core.requestBuilder(input, context);
|
|
1882
|
+
const headers = {
|
|
1883
|
+
"content-type": "application/json",
|
|
1884
|
+
};
|
|
1885
|
+
b.bp("/gateways/{gatewayIdentifier}/synchronizeTargets");
|
|
1886
|
+
b.p("gatewayIdentifier", () => input.gatewayIdentifier, "{gatewayIdentifier}", false);
|
|
1887
|
+
let body;
|
|
1888
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
1889
|
+
targetIdList: (_) => smithyClient._json(_),
|
|
1890
|
+
}));
|
|
1891
|
+
b.m("PUT").h(headers).b(body);
|
|
1892
|
+
return b.build();
|
|
1893
|
+
};
|
|
1828
1894
|
const se_TagResourceCommand = async (input, context) => {
|
|
1829
1895
|
const b = core.requestBuilder(input, context);
|
|
1830
1896
|
const headers = {
|
|
@@ -2122,6 +2188,7 @@ const de_CreateGatewayTargetCommand = async (output, context) => {
|
|
|
2122
2188
|
credentialProviderConfigurations: smithyClient._json,
|
|
2123
2189
|
description: smithyClient.expectString,
|
|
2124
2190
|
gatewayArn: smithyClient.expectString,
|
|
2191
|
+
lastSynchronizedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
2125
2192
|
name: smithyClient.expectString,
|
|
2126
2193
|
status: smithyClient.expectString,
|
|
2127
2194
|
statusReasons: smithyClient._json,
|
|
@@ -2133,7 +2200,7 @@ const de_CreateGatewayTargetCommand = async (output, context) => {
|
|
|
2133
2200
|
return contents;
|
|
2134
2201
|
};
|
|
2135
2202
|
const de_CreateMemoryCommand = async (output, context) => {
|
|
2136
|
-
if (output.statusCode !==
|
|
2203
|
+
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
2137
2204
|
return de_CommandError(output, context);
|
|
2138
2205
|
}
|
|
2139
2206
|
const contents = smithyClient.map({
|
|
@@ -2282,7 +2349,7 @@ const de_DeleteGatewayTargetCommand = async (output, context) => {
|
|
|
2282
2349
|
return contents;
|
|
2283
2350
|
};
|
|
2284
2351
|
const de_DeleteMemoryCommand = async (output, context) => {
|
|
2285
|
-
if (output.statusCode !==
|
|
2352
|
+
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
2286
2353
|
return de_CommandError(output, context);
|
|
2287
2354
|
}
|
|
2288
2355
|
const contents = smithyClient.map({
|
|
@@ -2478,6 +2545,7 @@ const de_GetGatewayTargetCommand = async (output, context) => {
|
|
|
2478
2545
|
credentialProviderConfigurations: smithyClient._json,
|
|
2479
2546
|
description: smithyClient.expectString,
|
|
2480
2547
|
gatewayArn: smithyClient.expectString,
|
|
2548
|
+
lastSynchronizedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
2481
2549
|
name: smithyClient.expectString,
|
|
2482
2550
|
status: smithyClient.expectString,
|
|
2483
2551
|
statusReasons: smithyClient._json,
|
|
@@ -2751,6 +2819,20 @@ const de_SetTokenVaultCMKCommand = async (output, context) => {
|
|
|
2751
2819
|
Object.assign(contents, doc);
|
|
2752
2820
|
return contents;
|
|
2753
2821
|
};
|
|
2822
|
+
const de_SynchronizeGatewayTargetsCommand = async (output, context) => {
|
|
2823
|
+
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
2824
|
+
return de_CommandError(output, context);
|
|
2825
|
+
}
|
|
2826
|
+
const contents = smithyClient.map({
|
|
2827
|
+
$metadata: deserializeMetadata(output),
|
|
2828
|
+
});
|
|
2829
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
2830
|
+
const doc = smithyClient.take(data, {
|
|
2831
|
+
targets: (_) => de_GatewayTargetList(_),
|
|
2832
|
+
});
|
|
2833
|
+
Object.assign(contents, doc);
|
|
2834
|
+
return contents;
|
|
2835
|
+
};
|
|
2754
2836
|
const de_TagResourceCommand = async (output, context) => {
|
|
2755
2837
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
2756
2838
|
return de_CommandError(output, context);
|
|
@@ -2872,6 +2954,7 @@ const de_UpdateGatewayTargetCommand = async (output, context) => {
|
|
|
2872
2954
|
credentialProviderConfigurations: smithyClient._json,
|
|
2873
2955
|
description: smithyClient.expectString,
|
|
2874
2956
|
gatewayArn: smithyClient.expectString,
|
|
2957
|
+
lastSynchronizedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
2875
2958
|
name: smithyClient.expectString,
|
|
2876
2959
|
status: smithyClient.expectString,
|
|
2877
2960
|
statusReasons: smithyClient._json,
|
|
@@ -2883,7 +2966,7 @@ const de_UpdateGatewayTargetCommand = async (output, context) => {
|
|
|
2883
2966
|
return contents;
|
|
2884
2967
|
};
|
|
2885
2968
|
const de_UpdateMemoryCommand = async (output, context) => {
|
|
2886
|
-
if (output.statusCode !==
|
|
2969
|
+
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
2887
2970
|
return de_CommandError(output, context);
|
|
2888
2971
|
}
|
|
2889
2972
|
const contents = smithyClient.map({
|
|
@@ -3186,6 +3269,7 @@ const se_McpLambdaTargetConfiguration = (input, context) => {
|
|
|
3186
3269
|
const se_McpTargetConfiguration = (input, context) => {
|
|
3187
3270
|
return exports.McpTargetConfiguration.visit(input, {
|
|
3188
3271
|
lambda: (value) => ({ lambda: se_McpLambdaTargetConfiguration(value) }),
|
|
3272
|
+
mcpServer: (value) => ({ mcpServer: smithyClient._json(value) }),
|
|
3189
3273
|
openApiSchema: (value) => ({ openApiSchema: smithyClient._json(value) }),
|
|
3190
3274
|
smithyModel: (value) => ({ smithyModel: smithyClient._json(value) }),
|
|
3191
3275
|
_: (name, value) => ({ [name]: value }),
|
|
@@ -3352,6 +3436,29 @@ const de_GatewaySummary = (output, context) => {
|
|
|
3352
3436
|
updatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
3353
3437
|
});
|
|
3354
3438
|
};
|
|
3439
|
+
const de_GatewayTarget = (output, context) => {
|
|
3440
|
+
return smithyClient.take(output, {
|
|
3441
|
+
createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
3442
|
+
credentialProviderConfigurations: smithyClient._json,
|
|
3443
|
+
description: smithyClient.expectString,
|
|
3444
|
+
gatewayArn: smithyClient.expectString,
|
|
3445
|
+
lastSynchronizedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
3446
|
+
name: smithyClient.expectString,
|
|
3447
|
+
status: smithyClient.expectString,
|
|
3448
|
+
statusReasons: smithyClient._json,
|
|
3449
|
+
targetConfiguration: (_) => de_TargetConfiguration(core$1.awsExpectUnion(_)),
|
|
3450
|
+
targetId: smithyClient.expectString,
|
|
3451
|
+
updatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
3452
|
+
});
|
|
3453
|
+
};
|
|
3454
|
+
const de_GatewayTargetList = (output, context) => {
|
|
3455
|
+
const retVal = (output || [])
|
|
3456
|
+
.filter((e) => e != null)
|
|
3457
|
+
.map((entry) => {
|
|
3458
|
+
return de_GatewayTarget(entry);
|
|
3459
|
+
});
|
|
3460
|
+
return retVal;
|
|
3461
|
+
};
|
|
3355
3462
|
const de_McpLambdaTargetConfiguration = (output, context) => {
|
|
3356
3463
|
return smithyClient.take(output, {
|
|
3357
3464
|
lambdaArn: smithyClient.expectString,
|
|
@@ -3364,6 +3471,11 @@ const de_McpTargetConfiguration = (output, context) => {
|
|
|
3364
3471
|
lambda: de_McpLambdaTargetConfiguration(output.lambda),
|
|
3365
3472
|
};
|
|
3366
3473
|
}
|
|
3474
|
+
if (output.mcpServer != null) {
|
|
3475
|
+
return {
|
|
3476
|
+
mcpServer: smithyClient._json(output.mcpServer),
|
|
3477
|
+
};
|
|
3478
|
+
}
|
|
3367
3479
|
if (output.openApiSchema != null) {
|
|
3368
3480
|
return {
|
|
3369
3481
|
openApiSchema: smithyClient._json(core$1.awsExpectUnion(output.openApiSchema)),
|
|
@@ -4282,6 +4394,23 @@ class SetTokenVaultCMKCommand extends smithyClient.Command
|
|
|
4282
4394
|
.build() {
|
|
4283
4395
|
}
|
|
4284
4396
|
|
|
4397
|
+
class SynchronizeGatewayTargetsCommand extends smithyClient.Command
|
|
4398
|
+
.classBuilder()
|
|
4399
|
+
.ep(commonParams)
|
|
4400
|
+
.m(function (Command, cs, config, o) {
|
|
4401
|
+
return [
|
|
4402
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
4403
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
4404
|
+
];
|
|
4405
|
+
})
|
|
4406
|
+
.s("AmazonBedrockAgentCoreControl", "SynchronizeGatewayTargets", {})
|
|
4407
|
+
.n("BedrockAgentCoreControlClient", "SynchronizeGatewayTargetsCommand")
|
|
4408
|
+
.f(void 0, SynchronizeGatewayTargetsResponseFilterSensitiveLog)
|
|
4409
|
+
.ser(se_SynchronizeGatewayTargetsCommand)
|
|
4410
|
+
.de(de_SynchronizeGatewayTargetsCommand)
|
|
4411
|
+
.build() {
|
|
4412
|
+
}
|
|
4413
|
+
|
|
4285
4414
|
class TagResourceCommand extends smithyClient.Command
|
|
4286
4415
|
.classBuilder()
|
|
4287
4416
|
.ep(commonParams)
|
|
@@ -4497,6 +4626,7 @@ const commands = {
|
|
|
4497
4626
|
ListTagsForResourceCommand,
|
|
4498
4627
|
ListWorkloadIdentitiesCommand,
|
|
4499
4628
|
SetTokenVaultCMKCommand,
|
|
4629
|
+
SynchronizeGatewayTargetsCommand,
|
|
4500
4630
|
TagResourceCommand,
|
|
4501
4631
|
UntagResourceCommand,
|
|
4502
4632
|
UpdateAgentRuntimeCommand,
|
|
@@ -4661,6 +4791,7 @@ exports.ExtractionConfigurationFilterSensitiveLog = ExtractionConfigurationFilte
|
|
|
4661
4791
|
exports.GatewayProtocolType = GatewayProtocolType;
|
|
4662
4792
|
exports.GatewayStatus = GatewayStatus;
|
|
4663
4793
|
exports.GatewaySummaryFilterSensitiveLog = GatewaySummaryFilterSensitiveLog;
|
|
4794
|
+
exports.GatewayTargetFilterSensitiveLog = GatewayTargetFilterSensitiveLog;
|
|
4664
4795
|
exports.GetAgentRuntimeCommand = GetAgentRuntimeCommand;
|
|
4665
4796
|
exports.GetAgentRuntimeEndpointCommand = GetAgentRuntimeEndpointCommand;
|
|
4666
4797
|
exports.GetAgentRuntimeEndpointRequestFilterSensitiveLog = GetAgentRuntimeEndpointRequestFilterSensitiveLog;
|
|
@@ -4742,6 +4873,8 @@ exports.SummaryConsolidationOverrideFilterSensitiveLog = SummaryConsolidationOve
|
|
|
4742
4873
|
exports.SummaryMemoryStrategyInputFilterSensitiveLog = SummaryMemoryStrategyInputFilterSensitiveLog;
|
|
4743
4874
|
exports.SummaryOverrideConfigurationInputFilterSensitiveLog = SummaryOverrideConfigurationInputFilterSensitiveLog;
|
|
4744
4875
|
exports.SummaryOverrideConsolidationConfigurationInputFilterSensitiveLog = SummaryOverrideConsolidationConfigurationInputFilterSensitiveLog;
|
|
4876
|
+
exports.SynchronizeGatewayTargetsCommand = SynchronizeGatewayTargetsCommand;
|
|
4877
|
+
exports.SynchronizeGatewayTargetsResponseFilterSensitiveLog = SynchronizeGatewayTargetsResponseFilterSensitiveLog;
|
|
4745
4878
|
exports.TagResourceCommand = TagResourceCommand;
|
|
4746
4879
|
exports.TargetConfigurationFilterSensitiveLog = TargetConfigurationFilterSensitiveLog;
|
|
4747
4880
|
exports.TargetStatus = TargetStatus;
|
|
@@ -44,6 +44,7 @@ import { ListOauth2CredentialProvidersCommand, } from "./commands/ListOauth2Cred
|
|
|
44
44
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
45
45
|
import { ListWorkloadIdentitiesCommand, } from "./commands/ListWorkloadIdentitiesCommand";
|
|
46
46
|
import { SetTokenVaultCMKCommand, } from "./commands/SetTokenVaultCMKCommand";
|
|
47
|
+
import { SynchronizeGatewayTargetsCommand, } from "./commands/SynchronizeGatewayTargetsCommand";
|
|
47
48
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
48
49
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
49
50
|
import { UpdateAgentRuntimeCommand, } from "./commands/UpdateAgentRuntimeCommand";
|
|
@@ -99,6 +100,7 @@ const commands = {
|
|
|
99
100
|
ListTagsForResourceCommand,
|
|
100
101
|
ListWorkloadIdentitiesCommand,
|
|
101
102
|
SetTokenVaultCMKCommand,
|
|
103
|
+
SynchronizeGatewayTargetsCommand,
|
|
102
104
|
TagResourceCommand,
|
|
103
105
|
UntagResourceCommand,
|
|
104
106
|
UpdateAgentRuntimeCommand,
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { SynchronizeGatewayTargetsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
|
+
import { de_SynchronizeGatewayTargetsCommand, se_SynchronizeGatewayTargetsCommand } from "../protocols/Aws_restJson1";
|
|
7
|
+
export { $Command };
|
|
8
|
+
export class SynchronizeGatewayTargetsCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep(commonParams)
|
|
11
|
+
.m(function (Command, cs, config, o) {
|
|
12
|
+
return [
|
|
13
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
+
];
|
|
16
|
+
})
|
|
17
|
+
.s("AmazonBedrockAgentCoreControl", "SynchronizeGatewayTargets", {})
|
|
18
|
+
.n("BedrockAgentCoreControlClient", "SynchronizeGatewayTargetsCommand")
|
|
19
|
+
.f(void 0, SynchronizeGatewayTargetsResponseFilterSensitiveLog)
|
|
20
|
+
.ser(se_SynchronizeGatewayTargetsCommand)
|
|
21
|
+
.de(de_SynchronizeGatewayTargetsCommand)
|
|
22
|
+
.build() {
|
|
23
|
+
}
|
|
@@ -42,6 +42,7 @@ export * from "./ListOauth2CredentialProvidersCommand";
|
|
|
42
42
|
export * from "./ListTagsForResourceCommand";
|
|
43
43
|
export * from "./ListWorkloadIdentitiesCommand";
|
|
44
44
|
export * from "./SetTokenVaultCMKCommand";
|
|
45
|
+
export * from "./SynchronizeGatewayTargetsCommand";
|
|
45
46
|
export * from "./TagResourceCommand";
|
|
46
47
|
export * from "./UntagResourceCommand";
|
|
47
48
|
export * from "./UpdateAgentRuntimeCommand";
|
|
@@ -292,6 +292,8 @@ export const TargetStatus = {
|
|
|
292
292
|
DELETING: "DELETING",
|
|
293
293
|
FAILED: "FAILED",
|
|
294
294
|
READY: "READY",
|
|
295
|
+
SYNCHRONIZE_UNSUCCESSFUL: "SYNCHRONIZE_UNSUCCESSFUL",
|
|
296
|
+
SYNCHRONIZING: "SYNCHRONIZING",
|
|
295
297
|
UPDATE_UNSUCCESSFUL: "UPDATE_UNSUCCESSFUL",
|
|
296
298
|
UPDATING: "UPDATING",
|
|
297
299
|
};
|
|
@@ -299,6 +301,18 @@ export const KeyType = {
|
|
|
299
301
|
CustomerManagedKey: "CustomerManagedKey",
|
|
300
302
|
ServiceManagedKey: "ServiceManagedKey",
|
|
301
303
|
};
|
|
304
|
+
export var TriggerConditionInput;
|
|
305
|
+
(function (TriggerConditionInput) {
|
|
306
|
+
TriggerConditionInput.visit = (value, visitor) => {
|
|
307
|
+
if (value.messageBasedTrigger !== undefined)
|
|
308
|
+
return visitor.messageBasedTrigger(value.messageBasedTrigger);
|
|
309
|
+
if (value.tokenBasedTrigger !== undefined)
|
|
310
|
+
return visitor.tokenBasedTrigger(value.tokenBasedTrigger);
|
|
311
|
+
if (value.timeBasedTrigger !== undefined)
|
|
312
|
+
return visitor.timeBasedTrigger(value.timeBasedTrigger);
|
|
313
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
314
|
+
};
|
|
315
|
+
})(TriggerConditionInput || (TriggerConditionInput = {}));
|
|
302
316
|
export var CustomConfigurationInput;
|
|
303
317
|
(function (CustomConfigurationInput) {
|
|
304
318
|
CustomConfigurationInput.visit = (value, visitor) => {
|
|
@@ -308,6 +322,8 @@ export var CustomConfigurationInput;
|
|
|
308
322
|
return visitor.summaryOverride(value.summaryOverride);
|
|
309
323
|
if (value.userPreferenceOverride !== undefined)
|
|
310
324
|
return visitor.userPreferenceOverride(value.userPreferenceOverride);
|
|
325
|
+
if (value.selfManagedConfiguration !== undefined)
|
|
326
|
+
return visitor.selfManagedConfiguration(value.selfManagedConfiguration);
|
|
311
327
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
312
328
|
};
|
|
313
329
|
})(CustomConfigurationInput || (CustomConfigurationInput = {}));
|
|
@@ -369,7 +385,20 @@ export var ExtractionConfiguration;
|
|
|
369
385
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
370
386
|
};
|
|
371
387
|
})(ExtractionConfiguration || (ExtractionConfiguration = {}));
|
|
388
|
+
export var TriggerCondition;
|
|
389
|
+
(function (TriggerCondition) {
|
|
390
|
+
TriggerCondition.visit = (value, visitor) => {
|
|
391
|
+
if (value.messageBasedTrigger !== undefined)
|
|
392
|
+
return visitor.messageBasedTrigger(value.messageBasedTrigger);
|
|
393
|
+
if (value.tokenBasedTrigger !== undefined)
|
|
394
|
+
return visitor.tokenBasedTrigger(value.tokenBasedTrigger);
|
|
395
|
+
if (value.timeBasedTrigger !== undefined)
|
|
396
|
+
return visitor.timeBasedTrigger(value.timeBasedTrigger);
|
|
397
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
398
|
+
};
|
|
399
|
+
})(TriggerCondition || (TriggerCondition = {}));
|
|
372
400
|
export const OverrideType = {
|
|
401
|
+
SELF_MANAGED: "SELF_MANAGED",
|
|
373
402
|
SEMANTIC_OVERRIDE: "SEMANTIC_OVERRIDE",
|
|
374
403
|
SUMMARY_OVERRIDE: "SUMMARY_OVERRIDE",
|
|
375
404
|
USER_PREFERENCE_OVERRIDE: "USER_PREFERENCE_OVERRIDE",
|
|
@@ -535,6 +564,8 @@ export var McpTargetConfiguration;
|
|
|
535
564
|
return visitor.smithyModel(value.smithyModel);
|
|
536
565
|
if (value.lambda !== undefined)
|
|
537
566
|
return visitor.lambda(value.lambda);
|
|
567
|
+
if (value.mcpServer !== undefined)
|
|
568
|
+
return visitor.mcpServer(value.mcpServer);
|
|
538
569
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
539
570
|
};
|
|
540
571
|
})(McpTargetConfiguration || (McpTargetConfiguration = {}));
|
|
@@ -784,6 +815,8 @@ export const CustomConfigurationInputFilterSensitiveLog = (obj) => {
|
|
|
784
815
|
return {
|
|
785
816
|
userPreferenceOverride: UserPreferenceOverrideConfigurationInputFilterSensitiveLog(obj.userPreferenceOverride),
|
|
786
817
|
};
|
|
818
|
+
if (obj.selfManagedConfiguration !== undefined)
|
|
819
|
+
return { selfManagedConfiguration: obj.selfManagedConfiguration };
|
|
787
820
|
if (obj.$unknown !== undefined)
|
|
788
821
|
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
789
822
|
};
|
|
@@ -891,6 +924,7 @@ export const StrategyConfigurationFilterSensitiveLog = (obj) => ({
|
|
|
891
924
|
...obj,
|
|
892
925
|
...(obj.extraction && { extraction: ExtractionConfigurationFilterSensitiveLog(obj.extraction) }),
|
|
893
926
|
...(obj.consolidation && { consolidation: ConsolidationConfigurationFilterSensitiveLog(obj.consolidation) }),
|
|
927
|
+
...(obj.selfManagedConfiguration && { selfManagedConfiguration: obj.selfManagedConfiguration }),
|
|
894
928
|
});
|
|
895
929
|
export const MemoryStrategyFilterSensitiveLog = (obj) => ({
|
|
896
930
|
...obj,
|
|
@@ -958,6 +992,7 @@ export const ModifyStrategyConfigurationFilterSensitiveLog = (obj) => ({
|
|
|
958
992
|
...obj,
|
|
959
993
|
...(obj.extraction && { extraction: ModifyExtractionConfigurationFilterSensitiveLog(obj.extraction) }),
|
|
960
994
|
...(obj.consolidation && { consolidation: ModifyConsolidationConfigurationFilterSensitiveLog(obj.consolidation) }),
|
|
995
|
+
...(obj.selfManagedConfiguration && { selfManagedConfiguration: obj.selfManagedConfiguration }),
|
|
961
996
|
});
|
|
962
997
|
export const ModifyMemoryStrategyInputFilterSensitiveLog = (obj) => ({
|
|
963
998
|
...obj,
|
|
@@ -1054,6 +1089,8 @@ export const McpTargetConfigurationFilterSensitiveLog = (obj) => {
|
|
|
1054
1089
|
return { smithyModel: ApiSchemaConfigurationFilterSensitiveLog(obj.smithyModel) };
|
|
1055
1090
|
if (obj.lambda !== undefined)
|
|
1056
1091
|
return { lambda: obj.lambda };
|
|
1092
|
+
if (obj.mcpServer !== undefined)
|
|
1093
|
+
return { mcpServer: obj.mcpServer };
|
|
1057
1094
|
if (obj.$unknown !== undefined)
|
|
1058
1095
|
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
1059
1096
|
};
|
|
@@ -1085,6 +1122,17 @@ export const CreateGatewayTargetResponseFilterSensitiveLog = (obj) => ({
|
|
|
1085
1122
|
credentialProviderConfigurations: obj.credentialProviderConfigurations.map((item) => CredentialProviderConfigurationFilterSensitiveLog(item)),
|
|
1086
1123
|
}),
|
|
1087
1124
|
});
|
|
1125
|
+
export const GatewayTargetFilterSensitiveLog = (obj) => ({
|
|
1126
|
+
...obj,
|
|
1127
|
+
...(obj.name && { name: SENSITIVE_STRING }),
|
|
1128
|
+
...(obj.description && { description: SENSITIVE_STRING }),
|
|
1129
|
+
...(obj.targetConfiguration && {
|
|
1130
|
+
targetConfiguration: TargetConfigurationFilterSensitiveLog(obj.targetConfiguration),
|
|
1131
|
+
}),
|
|
1132
|
+
...(obj.credentialProviderConfigurations && {
|
|
1133
|
+
credentialProviderConfigurations: obj.credentialProviderConfigurations.map((item) => CredentialProviderConfigurationFilterSensitiveLog(item)),
|
|
1134
|
+
}),
|
|
1135
|
+
});
|
|
1088
1136
|
export const GetGatewayTargetResponseFilterSensitiveLog = (obj) => ({
|
|
1089
1137
|
...obj,
|
|
1090
1138
|
...(obj.name && { name: SENSITIVE_STRING }),
|
|
@@ -1118,3 +1166,7 @@ export const UpdateGatewayTargetResponseFilterSensitiveLog = (obj) => ({
|
|
|
1118
1166
|
credentialProviderConfigurations: obj.credentialProviderConfigurations.map((item) => CredentialProviderConfigurationFilterSensitiveLog(item)),
|
|
1119
1167
|
}),
|
|
1120
1168
|
});
|
|
1169
|
+
export const SynchronizeGatewayTargetsResponseFilterSensitiveLog = (obj) => ({
|
|
1170
|
+
...obj,
|
|
1171
|
+
...(obj.targets && { targets: obj.targets.map((item) => GatewayTargetFilterSensitiveLog(item)) }),
|
|
1172
|
+
});
|
|
@@ -591,6 +591,20 @@ export const se_SetTokenVaultCMKCommand = async (input, context) => {
|
|
|
591
591
|
b.m("POST").h(headers).b(body);
|
|
592
592
|
return b.build();
|
|
593
593
|
};
|
|
594
|
+
export const se_SynchronizeGatewayTargetsCommand = async (input, context) => {
|
|
595
|
+
const b = rb(input, context);
|
|
596
|
+
const headers = {
|
|
597
|
+
"content-type": "application/json",
|
|
598
|
+
};
|
|
599
|
+
b.bp("/gateways/{gatewayIdentifier}/synchronizeTargets");
|
|
600
|
+
b.p("gatewayIdentifier", () => input.gatewayIdentifier, "{gatewayIdentifier}", false);
|
|
601
|
+
let body;
|
|
602
|
+
body = JSON.stringify(take(input, {
|
|
603
|
+
targetIdList: (_) => _json(_),
|
|
604
|
+
}));
|
|
605
|
+
b.m("PUT").h(headers).b(body);
|
|
606
|
+
return b.build();
|
|
607
|
+
};
|
|
594
608
|
export const se_TagResourceCommand = async (input, context) => {
|
|
595
609
|
const b = rb(input, context);
|
|
596
610
|
const headers = {
|
|
@@ -888,6 +902,7 @@ export const de_CreateGatewayTargetCommand = async (output, context) => {
|
|
|
888
902
|
credentialProviderConfigurations: _json,
|
|
889
903
|
description: __expectString,
|
|
890
904
|
gatewayArn: __expectString,
|
|
905
|
+
lastSynchronizedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
891
906
|
name: __expectString,
|
|
892
907
|
status: __expectString,
|
|
893
908
|
statusReasons: _json,
|
|
@@ -899,7 +914,7 @@ export const de_CreateGatewayTargetCommand = async (output, context) => {
|
|
|
899
914
|
return contents;
|
|
900
915
|
};
|
|
901
916
|
export const de_CreateMemoryCommand = async (output, context) => {
|
|
902
|
-
if (output.statusCode !==
|
|
917
|
+
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
903
918
|
return de_CommandError(output, context);
|
|
904
919
|
}
|
|
905
920
|
const contents = map({
|
|
@@ -1048,7 +1063,7 @@ export const de_DeleteGatewayTargetCommand = async (output, context) => {
|
|
|
1048
1063
|
return contents;
|
|
1049
1064
|
};
|
|
1050
1065
|
export const de_DeleteMemoryCommand = async (output, context) => {
|
|
1051
|
-
if (output.statusCode !==
|
|
1066
|
+
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
1052
1067
|
return de_CommandError(output, context);
|
|
1053
1068
|
}
|
|
1054
1069
|
const contents = map({
|
|
@@ -1244,6 +1259,7 @@ export const de_GetGatewayTargetCommand = async (output, context) => {
|
|
|
1244
1259
|
credentialProviderConfigurations: _json,
|
|
1245
1260
|
description: __expectString,
|
|
1246
1261
|
gatewayArn: __expectString,
|
|
1262
|
+
lastSynchronizedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1247
1263
|
name: __expectString,
|
|
1248
1264
|
status: __expectString,
|
|
1249
1265
|
statusReasons: _json,
|
|
@@ -1517,6 +1533,20 @@ export const de_SetTokenVaultCMKCommand = async (output, context) => {
|
|
|
1517
1533
|
Object.assign(contents, doc);
|
|
1518
1534
|
return contents;
|
|
1519
1535
|
};
|
|
1536
|
+
export const de_SynchronizeGatewayTargetsCommand = async (output, context) => {
|
|
1537
|
+
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
1538
|
+
return de_CommandError(output, context);
|
|
1539
|
+
}
|
|
1540
|
+
const contents = map({
|
|
1541
|
+
$metadata: deserializeMetadata(output),
|
|
1542
|
+
});
|
|
1543
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1544
|
+
const doc = take(data, {
|
|
1545
|
+
targets: (_) => de_GatewayTargetList(_, context),
|
|
1546
|
+
});
|
|
1547
|
+
Object.assign(contents, doc);
|
|
1548
|
+
return contents;
|
|
1549
|
+
};
|
|
1520
1550
|
export const de_TagResourceCommand = async (output, context) => {
|
|
1521
1551
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1522
1552
|
return de_CommandError(output, context);
|
|
@@ -1638,6 +1668,7 @@ export const de_UpdateGatewayTargetCommand = async (output, context) => {
|
|
|
1638
1668
|
credentialProviderConfigurations: _json,
|
|
1639
1669
|
description: __expectString,
|
|
1640
1670
|
gatewayArn: __expectString,
|
|
1671
|
+
lastSynchronizedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1641
1672
|
name: __expectString,
|
|
1642
1673
|
status: __expectString,
|
|
1643
1674
|
statusReasons: _json,
|
|
@@ -1649,7 +1680,7 @@ export const de_UpdateGatewayTargetCommand = async (output, context) => {
|
|
|
1649
1680
|
return contents;
|
|
1650
1681
|
};
|
|
1651
1682
|
export const de_UpdateMemoryCommand = async (output, context) => {
|
|
1652
|
-
if (output.statusCode !==
|
|
1683
|
+
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
1653
1684
|
return de_CommandError(output, context);
|
|
1654
1685
|
}
|
|
1655
1686
|
const contents = map({
|
|
@@ -1952,6 +1983,7 @@ const se_McpLambdaTargetConfiguration = (input, context) => {
|
|
|
1952
1983
|
const se_McpTargetConfiguration = (input, context) => {
|
|
1953
1984
|
return McpTargetConfiguration.visit(input, {
|
|
1954
1985
|
lambda: (value) => ({ lambda: se_McpLambdaTargetConfiguration(value, context) }),
|
|
1986
|
+
mcpServer: (value) => ({ mcpServer: _json(value) }),
|
|
1955
1987
|
openApiSchema: (value) => ({ openApiSchema: _json(value) }),
|
|
1956
1988
|
smithyModel: (value) => ({ smithyModel: _json(value) }),
|
|
1957
1989
|
_: (name, value) => ({ [name]: value }),
|
|
@@ -2118,6 +2150,29 @@ const de_GatewaySummary = (output, context) => {
|
|
|
2118
2150
|
updatedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2119
2151
|
});
|
|
2120
2152
|
};
|
|
2153
|
+
const de_GatewayTarget = (output, context) => {
|
|
2154
|
+
return take(output, {
|
|
2155
|
+
createdAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2156
|
+
credentialProviderConfigurations: _json,
|
|
2157
|
+
description: __expectString,
|
|
2158
|
+
gatewayArn: __expectString,
|
|
2159
|
+
lastSynchronizedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2160
|
+
name: __expectString,
|
|
2161
|
+
status: __expectString,
|
|
2162
|
+
statusReasons: _json,
|
|
2163
|
+
targetConfiguration: (_) => de_TargetConfiguration(__expectUnion(_), context),
|
|
2164
|
+
targetId: __expectString,
|
|
2165
|
+
updatedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2166
|
+
});
|
|
2167
|
+
};
|
|
2168
|
+
const de_GatewayTargetList = (output, context) => {
|
|
2169
|
+
const retVal = (output || [])
|
|
2170
|
+
.filter((e) => e != null)
|
|
2171
|
+
.map((entry) => {
|
|
2172
|
+
return de_GatewayTarget(entry, context);
|
|
2173
|
+
});
|
|
2174
|
+
return retVal;
|
|
2175
|
+
};
|
|
2121
2176
|
const de_McpLambdaTargetConfiguration = (output, context) => {
|
|
2122
2177
|
return take(output, {
|
|
2123
2178
|
lambdaArn: __expectString,
|
|
@@ -2130,6 +2185,11 @@ const de_McpTargetConfiguration = (output, context) => {
|
|
|
2130
2185
|
lambda: de_McpLambdaTargetConfiguration(output.lambda, context),
|
|
2131
2186
|
};
|
|
2132
2187
|
}
|
|
2188
|
+
if (output.mcpServer != null) {
|
|
2189
|
+
return {
|
|
2190
|
+
mcpServer: _json(output.mcpServer),
|
|
2191
|
+
};
|
|
2192
|
+
}
|
|
2133
2193
|
if (output.openApiSchema != null) {
|
|
2134
2194
|
return {
|
|
2135
2195
|
openApiSchema: _json(__expectUnion(output.openApiSchema)),
|
|
@@ -44,6 +44,7 @@ import { ListOauth2CredentialProvidersCommandInput, ListOauth2CredentialProvider
|
|
|
44
44
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
45
45
|
import { ListWorkloadIdentitiesCommandInput, ListWorkloadIdentitiesCommandOutput } from "./commands/ListWorkloadIdentitiesCommand";
|
|
46
46
|
import { SetTokenVaultCMKCommandInput, SetTokenVaultCMKCommandOutput } from "./commands/SetTokenVaultCMKCommand";
|
|
47
|
+
import { SynchronizeGatewayTargetsCommandInput, SynchronizeGatewayTargetsCommandOutput } from "./commands/SynchronizeGatewayTargetsCommand";
|
|
47
48
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
48
49
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
49
50
|
import { UpdateAgentRuntimeCommandInput, UpdateAgentRuntimeCommandOutput } from "./commands/UpdateAgentRuntimeCommand";
|
|
@@ -328,6 +329,12 @@ export interface BedrockAgentCoreControl {
|
|
|
328
329
|
setTokenVaultCMK(args: SetTokenVaultCMKCommandInput, options?: __HttpHandlerOptions): Promise<SetTokenVaultCMKCommandOutput>;
|
|
329
330
|
setTokenVaultCMK(args: SetTokenVaultCMKCommandInput, cb: (err: any, data?: SetTokenVaultCMKCommandOutput) => void): void;
|
|
330
331
|
setTokenVaultCMK(args: SetTokenVaultCMKCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SetTokenVaultCMKCommandOutput) => void): void;
|
|
332
|
+
/**
|
|
333
|
+
* @see {@link SynchronizeGatewayTargetsCommand}
|
|
334
|
+
*/
|
|
335
|
+
synchronizeGatewayTargets(args: SynchronizeGatewayTargetsCommandInput, options?: __HttpHandlerOptions): Promise<SynchronizeGatewayTargetsCommandOutput>;
|
|
336
|
+
synchronizeGatewayTargets(args: SynchronizeGatewayTargetsCommandInput, cb: (err: any, data?: SynchronizeGatewayTargetsCommandOutput) => void): void;
|
|
337
|
+
synchronizeGatewayTargets(args: SynchronizeGatewayTargetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SynchronizeGatewayTargetsCommandOutput) => void): void;
|
|
331
338
|
/**
|
|
332
339
|
* @see {@link TagResourceCommand}
|
|
333
340
|
*/
|