@aws-sdk/client-bedrock-agentcore 3.907.0 → 3.909.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 +106 -16
- package/dist-es/BedrockAgentCore.js +2 -0
- package/dist-es/commands/CompleteResourceTokenAuthCommand.js +23 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +28 -0
- package/dist-es/protocols/Aws_restJson1.js +56 -16
- package/dist-types/BedrockAgentCore.d.ts +7 -0
- package/dist-types/BedrockAgentCoreClient.d.ts +3 -2
- package/dist-types/commands/CompleteResourceTokenAuthCommand.d.ts +94 -0
- package/dist-types/commands/GetResourceOauth2TokenCommand.d.ts +4 -0
- package/dist-types/commands/InvokeAgentRuntimeCommand.d.ts +2 -1
- package/dist-types/commands/InvokeCodeInterpreterCommand.d.ts +2 -0
- package/dist-types/commands/StartBrowserSessionCommand.d.ts +2 -0
- package/dist-types/commands/StartCodeInterpreterSessionCommand.d.ts +2 -0
- package/dist-types/commands/StopBrowserSessionCommand.d.ts +2 -0
- package/dist-types/commands/StopCodeInterpreterSessionCommand.d.ts +2 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +157 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
- package/dist-types/ts3.4/BedrockAgentCore.d.ts +17 -0
- package/dist-types/ts3.4/BedrockAgentCoreClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/CompleteResourceTokenAuthCommand.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 +58 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/package.json +15 -15
package/README.md
CHANGED
|
@@ -226,6 +226,14 @@ BatchUpdateMemoryRecords
|
|
|
226
226
|
|
|
227
227
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock-agentcore/command/BatchUpdateMemoryRecordsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agentcore/Interface/BatchUpdateMemoryRecordsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agentcore/Interface/BatchUpdateMemoryRecordsCommandOutput/)
|
|
228
228
|
|
|
229
|
+
</details>
|
|
230
|
+
<details>
|
|
231
|
+
<summary>
|
|
232
|
+
CompleteResourceTokenAuth
|
|
233
|
+
</summary>
|
|
234
|
+
|
|
235
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/bedrock-agentcore/command/CompleteResourceTokenAuthCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agentcore/Interface/CompleteResourceTokenAuthCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-bedrock-agentcore/Interface/CompleteResourceTokenAuthCommandOutput/)
|
|
236
|
+
|
|
229
237
|
</details>
|
|
230
238
|
<details>
|
|
231
239
|
<summary>
|
package/dist-cjs/index.js
CHANGED
|
@@ -259,10 +259,24 @@ const CodeInterpreterSessionStatus = {
|
|
|
259
259
|
READY: "READY",
|
|
260
260
|
TERMINATED: "TERMINATED",
|
|
261
261
|
};
|
|
262
|
+
exports.UserIdentifier = void 0;
|
|
263
|
+
(function (UserIdentifier) {
|
|
264
|
+
UserIdentifier.visit = (value, visitor) => {
|
|
265
|
+
if (value.userToken !== undefined)
|
|
266
|
+
return visitor.userToken(value.userToken);
|
|
267
|
+
if (value.userId !== undefined)
|
|
268
|
+
return visitor.userId(value.userId);
|
|
269
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
270
|
+
};
|
|
271
|
+
})(exports.UserIdentifier || (exports.UserIdentifier = {}));
|
|
262
272
|
const Oauth2FlowType = {
|
|
263
273
|
M2M: "M2M",
|
|
264
274
|
USER_FEDERATION: "USER_FEDERATION",
|
|
265
275
|
};
|
|
276
|
+
const SessionStatus = {
|
|
277
|
+
FAILED: "FAILED",
|
|
278
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
279
|
+
};
|
|
266
280
|
const ProgrammingLanguage = {
|
|
267
281
|
JAVASCRIPT: "javascript",
|
|
268
282
|
PYTHON: "python",
|
|
@@ -427,6 +441,18 @@ const InvokeAgentRuntimeResponseFilterSensitiveLog = (obj) => ({
|
|
|
427
441
|
...obj,
|
|
428
442
|
...(obj.response && { response: smithyClient.SENSITIVE_STRING }),
|
|
429
443
|
});
|
|
444
|
+
const UserIdentifierFilterSensitiveLog = (obj) => {
|
|
445
|
+
if (obj.userToken !== undefined)
|
|
446
|
+
return { userToken: smithyClient.SENSITIVE_STRING };
|
|
447
|
+
if (obj.userId !== undefined)
|
|
448
|
+
return { userId: obj.userId };
|
|
449
|
+
if (obj.$unknown !== undefined)
|
|
450
|
+
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
451
|
+
};
|
|
452
|
+
const CompleteResourceTokenAuthRequestFilterSensitiveLog = (obj) => ({
|
|
453
|
+
...obj,
|
|
454
|
+
...(obj.userIdentifier && { userIdentifier: UserIdentifierFilterSensitiveLog(obj.userIdentifier) }),
|
|
455
|
+
});
|
|
430
456
|
const GetResourceApiKeyRequestFilterSensitiveLog = (obj) => ({
|
|
431
457
|
...obj,
|
|
432
458
|
...(obj.workloadIdentityToken && { workloadIdentityToken: smithyClient.SENSITIVE_STRING }),
|
|
@@ -439,9 +465,11 @@ const GetResourceOauth2TokenRequestFilterSensitiveLog = (obj) => ({
|
|
|
439
465
|
...obj,
|
|
440
466
|
...(obj.workloadIdentityToken && { workloadIdentityToken: smithyClient.SENSITIVE_STRING }),
|
|
441
467
|
...(obj.customParameters && { customParameters: smithyClient.SENSITIVE_STRING }),
|
|
468
|
+
...(obj.customState && { customState: smithyClient.SENSITIVE_STRING }),
|
|
442
469
|
});
|
|
443
470
|
const GetResourceOauth2TokenResponseFilterSensitiveLog = (obj) => ({
|
|
444
471
|
...obj,
|
|
472
|
+
...(obj.authorizationUrl && { authorizationUrl: smithyClient.SENSITIVE_STRING }),
|
|
445
473
|
...(obj.accessToken && { accessToken: smithyClient.SENSITIVE_STRING }),
|
|
446
474
|
});
|
|
447
475
|
const GetWorkloadAccessTokenResponseFilterSensitiveLog = (obj) => ({
|
|
@@ -638,6 +666,20 @@ const se_BatchUpdateMemoryRecordsCommand = async (input, context) => {
|
|
|
638
666
|
b.m("POST").h(headers).b(body);
|
|
639
667
|
return b.build();
|
|
640
668
|
};
|
|
669
|
+
const se_CompleteResourceTokenAuthCommand = async (input, context) => {
|
|
670
|
+
const b = core.requestBuilder(input, context);
|
|
671
|
+
const headers = {
|
|
672
|
+
"content-type": "application/json",
|
|
673
|
+
};
|
|
674
|
+
b.bp("/identities/CompleteResourceTokenAuth");
|
|
675
|
+
let body;
|
|
676
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
677
|
+
sessionUri: [],
|
|
678
|
+
userIdentifier: (_) => smithyClient._json(_),
|
|
679
|
+
}));
|
|
680
|
+
b.m("POST").h(headers).b(body);
|
|
681
|
+
return b.build();
|
|
682
|
+
};
|
|
641
683
|
const se_CreateEventCommand = async (input, context) => {
|
|
642
684
|
const b = core.requestBuilder(input, context);
|
|
643
685
|
const headers = {
|
|
@@ -763,11 +805,13 @@ const se_GetResourceOauth2TokenCommand = async (input, context) => {
|
|
|
763
805
|
let body;
|
|
764
806
|
body = JSON.stringify(smithyClient.take(input, {
|
|
765
807
|
customParameters: (_) => smithyClient._json(_),
|
|
808
|
+
customState: [],
|
|
766
809
|
forceAuthentication: [],
|
|
767
810
|
oauth2Flow: [],
|
|
768
811
|
resourceCredentialProviderName: [],
|
|
769
812
|
resourceOauth2ReturnUrl: [],
|
|
770
813
|
scopes: (_) => smithyClient._json(_),
|
|
814
|
+
sessionUri: [],
|
|
771
815
|
workloadIdentityToken: [],
|
|
772
816
|
}));
|
|
773
817
|
b.m("POST").h(headers).b(body);
|
|
@@ -832,6 +876,7 @@ const se_InvokeAgentRuntimeCommand = async (input, context) => {
|
|
|
832
876
|
b.p("agentRuntimeArn", () => input.agentRuntimeArn, "{agentRuntimeArn}", false);
|
|
833
877
|
const query = smithyClient.map({
|
|
834
878
|
[_q]: [, input[_q]],
|
|
879
|
+
[_aI]: [, input[_aI]],
|
|
835
880
|
});
|
|
836
881
|
let body;
|
|
837
882
|
if (input.payload !== undefined) {
|
|
@@ -845,6 +890,8 @@ const se_InvokeCodeInterpreterCommand = async (input, context) => {
|
|
|
845
890
|
const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
|
|
846
891
|
"content-type": "application/json",
|
|
847
892
|
[_xacisi]: input[_sI],
|
|
893
|
+
[_xati]: input[_tI],
|
|
894
|
+
[_t]: input[_tP],
|
|
848
895
|
});
|
|
849
896
|
b.bp("/code-interpreters/{codeInterpreterIdentifier}/tools/invoke");
|
|
850
897
|
b.p("codeInterpreterIdentifier", () => input.codeInterpreterIdentifier, "{codeInterpreterIdentifier}", false);
|
|
@@ -974,9 +1021,11 @@ const se_RetrieveMemoryRecordsCommand = async (input, context) => {
|
|
|
974
1021
|
};
|
|
975
1022
|
const se_StartBrowserSessionCommand = async (input, context) => {
|
|
976
1023
|
const b = core.requestBuilder(input, context);
|
|
977
|
-
const headers = {
|
|
1024
|
+
const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
|
|
978
1025
|
"content-type": "application/json",
|
|
979
|
-
|
|
1026
|
+
[_xati]: input[_tI],
|
|
1027
|
+
[_t]: input[_tP],
|
|
1028
|
+
});
|
|
980
1029
|
b.bp("/browsers/{browserIdentifier}/sessions/start");
|
|
981
1030
|
b.p("browserIdentifier", () => input.browserIdentifier, "{browserIdentifier}", false);
|
|
982
1031
|
let body;
|
|
@@ -991,9 +1040,11 @@ const se_StartBrowserSessionCommand = async (input, context) => {
|
|
|
991
1040
|
};
|
|
992
1041
|
const se_StartCodeInterpreterSessionCommand = async (input, context) => {
|
|
993
1042
|
const b = core.requestBuilder(input, context);
|
|
994
|
-
const headers = {
|
|
1043
|
+
const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
|
|
995
1044
|
"content-type": "application/json",
|
|
996
|
-
|
|
1045
|
+
[_xati]: input[_tI],
|
|
1046
|
+
[_t]: input[_tP],
|
|
1047
|
+
});
|
|
997
1048
|
b.bp("/code-interpreters/{codeInterpreterIdentifier}/sessions/start");
|
|
998
1049
|
b.p("codeInterpreterIdentifier", () => input.codeInterpreterIdentifier, "{codeInterpreterIdentifier}", false);
|
|
999
1050
|
let body;
|
|
@@ -1007,9 +1058,11 @@ const se_StartCodeInterpreterSessionCommand = async (input, context) => {
|
|
|
1007
1058
|
};
|
|
1008
1059
|
const se_StopBrowserSessionCommand = async (input, context) => {
|
|
1009
1060
|
const b = core.requestBuilder(input, context);
|
|
1010
|
-
const headers = {
|
|
1061
|
+
const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
|
|
1011
1062
|
"content-type": "application/json",
|
|
1012
|
-
|
|
1063
|
+
[_xati]: input[_tI],
|
|
1064
|
+
[_t]: input[_tP],
|
|
1065
|
+
});
|
|
1013
1066
|
b.bp("/browsers/{browserIdentifier}/sessions/stop");
|
|
1014
1067
|
b.p("browserIdentifier", () => input.browserIdentifier, "{browserIdentifier}", false);
|
|
1015
1068
|
const query = smithyClient.map({
|
|
@@ -1024,9 +1077,11 @@ const se_StopBrowserSessionCommand = async (input, context) => {
|
|
|
1024
1077
|
};
|
|
1025
1078
|
const se_StopCodeInterpreterSessionCommand = async (input, context) => {
|
|
1026
1079
|
const b = core.requestBuilder(input, context);
|
|
1027
|
-
const headers = {
|
|
1080
|
+
const headers = smithyClient.map({}, smithyClient.isSerializableHeaderValue, {
|
|
1028
1081
|
"content-type": "application/json",
|
|
1029
|
-
|
|
1082
|
+
[_xati]: input[_tI],
|
|
1083
|
+
[_t]: input[_tP],
|
|
1084
|
+
});
|
|
1030
1085
|
b.bp("/code-interpreters/{codeInterpreterIdentifier}/sessions/stop");
|
|
1031
1086
|
b.p("codeInterpreterIdentifier", () => input.codeInterpreterIdentifier, "{codeInterpreterIdentifier}", false);
|
|
1032
1087
|
const query = smithyClient.map({
|
|
@@ -1076,7 +1131,7 @@ const se_UpdateBrowserStreamCommand = async (input, context) => {
|
|
|
1076
1131
|
return b.build();
|
|
1077
1132
|
};
|
|
1078
1133
|
const de_BatchCreateMemoryRecordsCommand = async (output, context) => {
|
|
1079
|
-
if (output.statusCode !==
|
|
1134
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1080
1135
|
return de_CommandError(output, context);
|
|
1081
1136
|
}
|
|
1082
1137
|
const contents = smithyClient.map({
|
|
@@ -1120,13 +1175,23 @@ const de_BatchUpdateMemoryRecordsCommand = async (output, context) => {
|
|
|
1120
1175
|
Object.assign(contents, doc);
|
|
1121
1176
|
return contents;
|
|
1122
1177
|
};
|
|
1123
|
-
const
|
|
1178
|
+
const de_CompleteResourceTokenAuthCommand = async (output, context) => {
|
|
1124
1179
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1125
1180
|
return de_CommandError(output, context);
|
|
1126
1181
|
}
|
|
1127
1182
|
const contents = smithyClient.map({
|
|
1128
1183
|
$metadata: deserializeMetadata(output),
|
|
1129
1184
|
});
|
|
1185
|
+
await smithyClient.collectBody(output.body, context);
|
|
1186
|
+
return contents;
|
|
1187
|
+
};
|
|
1188
|
+
const de_CreateEventCommand = async (output, context) => {
|
|
1189
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1190
|
+
return de_CommandError(output, context);
|
|
1191
|
+
}
|
|
1192
|
+
const contents = smithyClient.map({
|
|
1193
|
+
$metadata: deserializeMetadata(output),
|
|
1194
|
+
});
|
|
1130
1195
|
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1131
1196
|
const doc = smithyClient.take(data, {
|
|
1132
1197
|
event: (_) => de_Event(_),
|
|
@@ -1273,6 +1338,8 @@ const de_GetResourceOauth2TokenCommand = async (output, context) => {
|
|
|
1273
1338
|
const doc = smithyClient.take(data, {
|
|
1274
1339
|
accessToken: smithyClient.expectString,
|
|
1275
1340
|
authorizationUrl: smithyClient.expectString,
|
|
1341
|
+
sessionStatus: smithyClient.expectString,
|
|
1342
|
+
sessionUri: smithyClient.expectString,
|
|
1276
1343
|
});
|
|
1277
1344
|
Object.assign(contents, doc);
|
|
1278
1345
|
return contents;
|
|
@@ -1580,21 +1647,21 @@ const de_CommandError = async (output, context) => {
|
|
|
1580
1647
|
case "ValidationException":
|
|
1581
1648
|
case "com.amazonaws.bedrockagentcore#ValidationException":
|
|
1582
1649
|
throw await de_ValidationExceptionRes(parsedOutput);
|
|
1583
|
-
case "InvalidInputException":
|
|
1584
|
-
case "com.amazonaws.bedrockagentcore#InvalidInputException":
|
|
1585
|
-
throw await de_InvalidInputExceptionRes(parsedOutput);
|
|
1586
1650
|
case "InternalServerException":
|
|
1587
1651
|
case "com.amazonaws.bedrockagentcore#InternalServerException":
|
|
1588
1652
|
throw await de_InternalServerExceptionRes(parsedOutput);
|
|
1589
|
-
case "RuntimeClientError":
|
|
1590
|
-
case "com.amazonaws.bedrockagentcore#RuntimeClientError":
|
|
1591
|
-
throw await de_RuntimeClientErrorRes(parsedOutput);
|
|
1592
1653
|
case "ThrottlingException":
|
|
1593
1654
|
case "com.amazonaws.bedrockagentcore#ThrottlingException":
|
|
1594
1655
|
throw await de_ThrottlingExceptionRes(parsedOutput);
|
|
1595
1656
|
case "UnauthorizedException":
|
|
1596
1657
|
case "com.amazonaws.bedrockagentcore#UnauthorizedException":
|
|
1597
1658
|
throw await de_UnauthorizedExceptionRes(parsedOutput);
|
|
1659
|
+
case "InvalidInputException":
|
|
1660
|
+
case "com.amazonaws.bedrockagentcore#InvalidInputException":
|
|
1661
|
+
throw await de_InvalidInputExceptionRes(parsedOutput);
|
|
1662
|
+
case "RuntimeClientError":
|
|
1663
|
+
case "com.amazonaws.bedrockagentcore#RuntimeClientError":
|
|
1664
|
+
throw await de_RuntimeClientErrorRes(parsedOutput);
|
|
1598
1665
|
case "ConflictException":
|
|
1599
1666
|
case "com.amazonaws.bedrockagentcore#ConflictException":
|
|
1600
1667
|
throw await de_ConflictExceptionRes(parsedOutput);
|
|
@@ -2119,6 +2186,7 @@ const deserializeMetadata = (output) => ({
|
|
|
2119
2186
|
});
|
|
2120
2187
|
const collectBodyString = (streamBody, context) => smithyClient.collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
2121
2188
|
const _a = "accept";
|
|
2189
|
+
const _aI = "accountId";
|
|
2122
2190
|
const _b = "baggage";
|
|
2123
2191
|
const _cT = "contentType";
|
|
2124
2192
|
const _ct = "content-type";
|
|
@@ -2191,6 +2259,23 @@ class BatchUpdateMemoryRecordsCommand extends smithyClient.Command
|
|
|
2191
2259
|
.build() {
|
|
2192
2260
|
}
|
|
2193
2261
|
|
|
2262
|
+
class CompleteResourceTokenAuthCommand extends smithyClient.Command
|
|
2263
|
+
.classBuilder()
|
|
2264
|
+
.ep(commonParams)
|
|
2265
|
+
.m(function (Command, cs, config, o) {
|
|
2266
|
+
return [
|
|
2267
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2268
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2269
|
+
];
|
|
2270
|
+
})
|
|
2271
|
+
.s("AmazonBedrockAgentCore", "CompleteResourceTokenAuth", {})
|
|
2272
|
+
.n("BedrockAgentCoreClient", "CompleteResourceTokenAuthCommand")
|
|
2273
|
+
.f(CompleteResourceTokenAuthRequestFilterSensitiveLog, void 0)
|
|
2274
|
+
.ser(se_CompleteResourceTokenAuthCommand)
|
|
2275
|
+
.de(de_CompleteResourceTokenAuthCommand)
|
|
2276
|
+
.build() {
|
|
2277
|
+
}
|
|
2278
|
+
|
|
2194
2279
|
class CreateEventCommand extends smithyClient.Command
|
|
2195
2280
|
.classBuilder()
|
|
2196
2281
|
.ep(commonParams)
|
|
@@ -2675,6 +2760,7 @@ const commands = {
|
|
|
2675
2760
|
BatchCreateMemoryRecordsCommand,
|
|
2676
2761
|
BatchDeleteMemoryRecordsCommand,
|
|
2677
2762
|
BatchUpdateMemoryRecordsCommand,
|
|
2763
|
+
CompleteResourceTokenAuthCommand,
|
|
2678
2764
|
CreateEventCommand,
|
|
2679
2765
|
DeleteEventCommand,
|
|
2680
2766
|
DeleteMemoryRecordCommand,
|
|
@@ -2739,6 +2825,8 @@ exports.BedrockAgentCoreServiceException = BedrockAgentCoreServiceException;
|
|
|
2739
2825
|
exports.BrowserSessionStatus = BrowserSessionStatus;
|
|
2740
2826
|
exports.CodeInterpreterSessionStatus = CodeInterpreterSessionStatus;
|
|
2741
2827
|
exports.CodeInterpreterStreamOutputFilterSensitiveLog = CodeInterpreterStreamOutputFilterSensitiveLog;
|
|
2828
|
+
exports.CompleteResourceTokenAuthCommand = CompleteResourceTokenAuthCommand;
|
|
2829
|
+
exports.CompleteResourceTokenAuthRequestFilterSensitiveLog = CompleteResourceTokenAuthRequestFilterSensitiveLog;
|
|
2742
2830
|
exports.ConflictException = ConflictException;
|
|
2743
2831
|
exports.ContentBlockType = ContentBlockType;
|
|
2744
2832
|
exports.ContentFilterSensitiveLog = ContentFilterSensitiveLog;
|
|
@@ -2806,6 +2894,7 @@ exports.RuntimeClientError = RuntimeClientError;
|
|
|
2806
2894
|
exports.SearchCriteriaFilterSensitiveLog = SearchCriteriaFilterSensitiveLog;
|
|
2807
2895
|
exports.ServiceException = ServiceException;
|
|
2808
2896
|
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
2897
|
+
exports.SessionStatus = SessionStatus;
|
|
2809
2898
|
exports.StartBrowserSessionCommand = StartBrowserSessionCommand;
|
|
2810
2899
|
exports.StartCodeInterpreterSessionCommand = StartCodeInterpreterSessionCommand;
|
|
2811
2900
|
exports.StopBrowserSessionCommand = StopBrowserSessionCommand;
|
|
@@ -2818,6 +2907,7 @@ exports.ToolArgumentsFilterSensitiveLog = ToolArgumentsFilterSensitiveLog;
|
|
|
2818
2907
|
exports.ToolName = ToolName;
|
|
2819
2908
|
exports.UnauthorizedException = UnauthorizedException;
|
|
2820
2909
|
exports.UpdateBrowserStreamCommand = UpdateBrowserStreamCommand;
|
|
2910
|
+
exports.UserIdentifierFilterSensitiveLog = UserIdentifierFilterSensitiveLog;
|
|
2821
2911
|
exports.ValidationException = ValidationException;
|
|
2822
2912
|
exports.ValidationExceptionReason = ValidationExceptionReason;
|
|
2823
2913
|
exports.paginateListActors = paginateListActors;
|
|
@@ -3,6 +3,7 @@ import { BedrockAgentCoreClient } from "./BedrockAgentCoreClient";
|
|
|
3
3
|
import { BatchCreateMemoryRecordsCommand, } from "./commands/BatchCreateMemoryRecordsCommand";
|
|
4
4
|
import { BatchDeleteMemoryRecordsCommand, } from "./commands/BatchDeleteMemoryRecordsCommand";
|
|
5
5
|
import { BatchUpdateMemoryRecordsCommand, } from "./commands/BatchUpdateMemoryRecordsCommand";
|
|
6
|
+
import { CompleteResourceTokenAuthCommand, } from "./commands/CompleteResourceTokenAuthCommand";
|
|
6
7
|
import { CreateEventCommand } from "./commands/CreateEventCommand";
|
|
7
8
|
import { DeleteEventCommand } from "./commands/DeleteEventCommand";
|
|
8
9
|
import { DeleteMemoryRecordCommand, } from "./commands/DeleteMemoryRecordCommand";
|
|
@@ -35,6 +36,7 @@ const commands = {
|
|
|
35
36
|
BatchCreateMemoryRecordsCommand,
|
|
36
37
|
BatchDeleteMemoryRecordsCommand,
|
|
37
38
|
BatchUpdateMemoryRecordsCommand,
|
|
39
|
+
CompleteResourceTokenAuthCommand,
|
|
38
40
|
CreateEventCommand,
|
|
39
41
|
DeleteEventCommand,
|
|
40
42
|
DeleteMemoryRecordCommand,
|
|
@@ -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 { CompleteResourceTokenAuthRequestFilterSensitiveLog, } from "../models/models_0";
|
|
6
|
+
import { de_CompleteResourceTokenAuthCommand, se_CompleteResourceTokenAuthCommand } from "../protocols/Aws_restJson1";
|
|
7
|
+
export { $Command };
|
|
8
|
+
export class CompleteResourceTokenAuthCommand 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("AmazonBedrockAgentCore", "CompleteResourceTokenAuth", {})
|
|
18
|
+
.n("BedrockAgentCoreClient", "CompleteResourceTokenAuthCommand")
|
|
19
|
+
.f(CompleteResourceTokenAuthRequestFilterSensitiveLog, void 0)
|
|
20
|
+
.ser(se_CompleteResourceTokenAuthCommand)
|
|
21
|
+
.de(de_CompleteResourceTokenAuthCommand)
|
|
22
|
+
.build() {
|
|
23
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./BatchCreateMemoryRecordsCommand";
|
|
2
2
|
export * from "./BatchDeleteMemoryRecordsCommand";
|
|
3
3
|
export * from "./BatchUpdateMemoryRecordsCommand";
|
|
4
|
+
export * from "./CompleteResourceTokenAuthCommand";
|
|
4
5
|
export * from "./CreateEventCommand";
|
|
5
6
|
export * from "./DeleteEventCommand";
|
|
6
7
|
export * from "./DeleteMemoryRecordCommand";
|
|
@@ -139,10 +139,24 @@ export const CodeInterpreterSessionStatus = {
|
|
|
139
139
|
READY: "READY",
|
|
140
140
|
TERMINATED: "TERMINATED",
|
|
141
141
|
};
|
|
142
|
+
export var UserIdentifier;
|
|
143
|
+
(function (UserIdentifier) {
|
|
144
|
+
UserIdentifier.visit = (value, visitor) => {
|
|
145
|
+
if (value.userToken !== undefined)
|
|
146
|
+
return visitor.userToken(value.userToken);
|
|
147
|
+
if (value.userId !== undefined)
|
|
148
|
+
return visitor.userId(value.userId);
|
|
149
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
150
|
+
};
|
|
151
|
+
})(UserIdentifier || (UserIdentifier = {}));
|
|
142
152
|
export const Oauth2FlowType = {
|
|
143
153
|
M2M: "M2M",
|
|
144
154
|
USER_FEDERATION: "USER_FEDERATION",
|
|
145
155
|
};
|
|
156
|
+
export const SessionStatus = {
|
|
157
|
+
FAILED: "FAILED",
|
|
158
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
159
|
+
};
|
|
146
160
|
export const ProgrammingLanguage = {
|
|
147
161
|
JAVASCRIPT: "javascript",
|
|
148
162
|
PYTHON: "python",
|
|
@@ -307,6 +321,18 @@ export const InvokeAgentRuntimeResponseFilterSensitiveLog = (obj) => ({
|
|
|
307
321
|
...obj,
|
|
308
322
|
...(obj.response && { response: SENSITIVE_STRING }),
|
|
309
323
|
});
|
|
324
|
+
export const UserIdentifierFilterSensitiveLog = (obj) => {
|
|
325
|
+
if (obj.userToken !== undefined)
|
|
326
|
+
return { userToken: SENSITIVE_STRING };
|
|
327
|
+
if (obj.userId !== undefined)
|
|
328
|
+
return { userId: obj.userId };
|
|
329
|
+
if (obj.$unknown !== undefined)
|
|
330
|
+
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
331
|
+
};
|
|
332
|
+
export const CompleteResourceTokenAuthRequestFilterSensitiveLog = (obj) => ({
|
|
333
|
+
...obj,
|
|
334
|
+
...(obj.userIdentifier && { userIdentifier: UserIdentifierFilterSensitiveLog(obj.userIdentifier) }),
|
|
335
|
+
});
|
|
310
336
|
export const GetResourceApiKeyRequestFilterSensitiveLog = (obj) => ({
|
|
311
337
|
...obj,
|
|
312
338
|
...(obj.workloadIdentityToken && { workloadIdentityToken: SENSITIVE_STRING }),
|
|
@@ -319,9 +345,11 @@ export const GetResourceOauth2TokenRequestFilterSensitiveLog = (obj) => ({
|
|
|
319
345
|
...obj,
|
|
320
346
|
...(obj.workloadIdentityToken && { workloadIdentityToken: SENSITIVE_STRING }),
|
|
321
347
|
...(obj.customParameters && { customParameters: SENSITIVE_STRING }),
|
|
348
|
+
...(obj.customState && { customState: SENSITIVE_STRING }),
|
|
322
349
|
});
|
|
323
350
|
export const GetResourceOauth2TokenResponseFilterSensitiveLog = (obj) => ({
|
|
324
351
|
...obj,
|
|
352
|
+
...(obj.authorizationUrl && { authorizationUrl: SENSITIVE_STRING }),
|
|
325
353
|
...(obj.accessToken && { accessToken: SENSITIVE_STRING }),
|
|
326
354
|
});
|
|
327
355
|
export const GetWorkloadAccessTokenResponseFilterSensitiveLog = (obj) => ({
|
|
@@ -47,6 +47,20 @@ export const se_BatchUpdateMemoryRecordsCommand = async (input, context) => {
|
|
|
47
47
|
b.m("POST").h(headers).b(body);
|
|
48
48
|
return b.build();
|
|
49
49
|
};
|
|
50
|
+
export const se_CompleteResourceTokenAuthCommand = async (input, context) => {
|
|
51
|
+
const b = rb(input, context);
|
|
52
|
+
const headers = {
|
|
53
|
+
"content-type": "application/json",
|
|
54
|
+
};
|
|
55
|
+
b.bp("/identities/CompleteResourceTokenAuth");
|
|
56
|
+
let body;
|
|
57
|
+
body = JSON.stringify(take(input, {
|
|
58
|
+
sessionUri: [],
|
|
59
|
+
userIdentifier: (_) => _json(_),
|
|
60
|
+
}));
|
|
61
|
+
b.m("POST").h(headers).b(body);
|
|
62
|
+
return b.build();
|
|
63
|
+
};
|
|
50
64
|
export const se_CreateEventCommand = async (input, context) => {
|
|
51
65
|
const b = rb(input, context);
|
|
52
66
|
const headers = {
|
|
@@ -172,11 +186,13 @@ export const se_GetResourceOauth2TokenCommand = async (input, context) => {
|
|
|
172
186
|
let body;
|
|
173
187
|
body = JSON.stringify(take(input, {
|
|
174
188
|
customParameters: (_) => _json(_),
|
|
189
|
+
customState: [],
|
|
175
190
|
forceAuthentication: [],
|
|
176
191
|
oauth2Flow: [],
|
|
177
192
|
resourceCredentialProviderName: [],
|
|
178
193
|
resourceOauth2ReturnUrl: [],
|
|
179
194
|
scopes: (_) => _json(_),
|
|
195
|
+
sessionUri: [],
|
|
180
196
|
workloadIdentityToken: [],
|
|
181
197
|
}));
|
|
182
198
|
b.m("POST").h(headers).b(body);
|
|
@@ -241,6 +257,7 @@ export const se_InvokeAgentRuntimeCommand = async (input, context) => {
|
|
|
241
257
|
b.p("agentRuntimeArn", () => input.agentRuntimeArn, "{agentRuntimeArn}", false);
|
|
242
258
|
const query = map({
|
|
243
259
|
[_q]: [, input[_q]],
|
|
260
|
+
[_aI]: [, input[_aI]],
|
|
244
261
|
});
|
|
245
262
|
let body;
|
|
246
263
|
if (input.payload !== undefined) {
|
|
@@ -254,6 +271,8 @@ export const se_InvokeCodeInterpreterCommand = async (input, context) => {
|
|
|
254
271
|
const headers = map({}, isSerializableHeaderValue, {
|
|
255
272
|
"content-type": "application/json",
|
|
256
273
|
[_xacisi]: input[_sI],
|
|
274
|
+
[_xati]: input[_tI],
|
|
275
|
+
[_t]: input[_tP],
|
|
257
276
|
});
|
|
258
277
|
b.bp("/code-interpreters/{codeInterpreterIdentifier}/tools/invoke");
|
|
259
278
|
b.p("codeInterpreterIdentifier", () => input.codeInterpreterIdentifier, "{codeInterpreterIdentifier}", false);
|
|
@@ -383,9 +402,11 @@ export const se_RetrieveMemoryRecordsCommand = async (input, context) => {
|
|
|
383
402
|
};
|
|
384
403
|
export const se_StartBrowserSessionCommand = async (input, context) => {
|
|
385
404
|
const b = rb(input, context);
|
|
386
|
-
const headers = {
|
|
405
|
+
const headers = map({}, isSerializableHeaderValue, {
|
|
387
406
|
"content-type": "application/json",
|
|
388
|
-
|
|
407
|
+
[_xati]: input[_tI],
|
|
408
|
+
[_t]: input[_tP],
|
|
409
|
+
});
|
|
389
410
|
b.bp("/browsers/{browserIdentifier}/sessions/start");
|
|
390
411
|
b.p("browserIdentifier", () => input.browserIdentifier, "{browserIdentifier}", false);
|
|
391
412
|
let body;
|
|
@@ -400,9 +421,11 @@ export const se_StartBrowserSessionCommand = async (input, context) => {
|
|
|
400
421
|
};
|
|
401
422
|
export const se_StartCodeInterpreterSessionCommand = async (input, context) => {
|
|
402
423
|
const b = rb(input, context);
|
|
403
|
-
const headers = {
|
|
424
|
+
const headers = map({}, isSerializableHeaderValue, {
|
|
404
425
|
"content-type": "application/json",
|
|
405
|
-
|
|
426
|
+
[_xati]: input[_tI],
|
|
427
|
+
[_t]: input[_tP],
|
|
428
|
+
});
|
|
406
429
|
b.bp("/code-interpreters/{codeInterpreterIdentifier}/sessions/start");
|
|
407
430
|
b.p("codeInterpreterIdentifier", () => input.codeInterpreterIdentifier, "{codeInterpreterIdentifier}", false);
|
|
408
431
|
let body;
|
|
@@ -416,9 +439,11 @@ export const se_StartCodeInterpreterSessionCommand = async (input, context) => {
|
|
|
416
439
|
};
|
|
417
440
|
export const se_StopBrowserSessionCommand = async (input, context) => {
|
|
418
441
|
const b = rb(input, context);
|
|
419
|
-
const headers = {
|
|
442
|
+
const headers = map({}, isSerializableHeaderValue, {
|
|
420
443
|
"content-type": "application/json",
|
|
421
|
-
|
|
444
|
+
[_xati]: input[_tI],
|
|
445
|
+
[_t]: input[_tP],
|
|
446
|
+
});
|
|
422
447
|
b.bp("/browsers/{browserIdentifier}/sessions/stop");
|
|
423
448
|
b.p("browserIdentifier", () => input.browserIdentifier, "{browserIdentifier}", false);
|
|
424
449
|
const query = map({
|
|
@@ -433,9 +458,11 @@ export const se_StopBrowserSessionCommand = async (input, context) => {
|
|
|
433
458
|
};
|
|
434
459
|
export const se_StopCodeInterpreterSessionCommand = async (input, context) => {
|
|
435
460
|
const b = rb(input, context);
|
|
436
|
-
const headers = {
|
|
461
|
+
const headers = map({}, isSerializableHeaderValue, {
|
|
437
462
|
"content-type": "application/json",
|
|
438
|
-
|
|
463
|
+
[_xati]: input[_tI],
|
|
464
|
+
[_t]: input[_tP],
|
|
465
|
+
});
|
|
439
466
|
b.bp("/code-interpreters/{codeInterpreterIdentifier}/sessions/stop");
|
|
440
467
|
b.p("codeInterpreterIdentifier", () => input.codeInterpreterIdentifier, "{codeInterpreterIdentifier}", false);
|
|
441
468
|
const query = map({
|
|
@@ -485,7 +512,7 @@ export const se_UpdateBrowserStreamCommand = async (input, context) => {
|
|
|
485
512
|
return b.build();
|
|
486
513
|
};
|
|
487
514
|
export const de_BatchCreateMemoryRecordsCommand = async (output, context) => {
|
|
488
|
-
if (output.statusCode !==
|
|
515
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
489
516
|
return de_CommandError(output, context);
|
|
490
517
|
}
|
|
491
518
|
const contents = map({
|
|
@@ -529,13 +556,23 @@ export const de_BatchUpdateMemoryRecordsCommand = async (output, context) => {
|
|
|
529
556
|
Object.assign(contents, doc);
|
|
530
557
|
return contents;
|
|
531
558
|
};
|
|
532
|
-
export const
|
|
559
|
+
export const de_CompleteResourceTokenAuthCommand = async (output, context) => {
|
|
533
560
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
534
561
|
return de_CommandError(output, context);
|
|
535
562
|
}
|
|
536
563
|
const contents = map({
|
|
537
564
|
$metadata: deserializeMetadata(output),
|
|
538
565
|
});
|
|
566
|
+
await collectBody(output.body, context);
|
|
567
|
+
return contents;
|
|
568
|
+
};
|
|
569
|
+
export const de_CreateEventCommand = async (output, context) => {
|
|
570
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
571
|
+
return de_CommandError(output, context);
|
|
572
|
+
}
|
|
573
|
+
const contents = map({
|
|
574
|
+
$metadata: deserializeMetadata(output),
|
|
575
|
+
});
|
|
539
576
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
540
577
|
const doc = take(data, {
|
|
541
578
|
event: (_) => de_Event(_, context),
|
|
@@ -682,6 +719,8 @@ export const de_GetResourceOauth2TokenCommand = async (output, context) => {
|
|
|
682
719
|
const doc = take(data, {
|
|
683
720
|
accessToken: __expectString,
|
|
684
721
|
authorizationUrl: __expectString,
|
|
722
|
+
sessionStatus: __expectString,
|
|
723
|
+
sessionUri: __expectString,
|
|
685
724
|
});
|
|
686
725
|
Object.assign(contents, doc);
|
|
687
726
|
return contents;
|
|
@@ -989,21 +1028,21 @@ const de_CommandError = async (output, context) => {
|
|
|
989
1028
|
case "ValidationException":
|
|
990
1029
|
case "com.amazonaws.bedrockagentcore#ValidationException":
|
|
991
1030
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
992
|
-
case "InvalidInputException":
|
|
993
|
-
case "com.amazonaws.bedrockagentcore#InvalidInputException":
|
|
994
|
-
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
995
1031
|
case "InternalServerException":
|
|
996
1032
|
case "com.amazonaws.bedrockagentcore#InternalServerException":
|
|
997
1033
|
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
998
|
-
case "RuntimeClientError":
|
|
999
|
-
case "com.amazonaws.bedrockagentcore#RuntimeClientError":
|
|
1000
|
-
throw await de_RuntimeClientErrorRes(parsedOutput, context);
|
|
1001
1034
|
case "ThrottlingException":
|
|
1002
1035
|
case "com.amazonaws.bedrockagentcore#ThrottlingException":
|
|
1003
1036
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1004
1037
|
case "UnauthorizedException":
|
|
1005
1038
|
case "com.amazonaws.bedrockagentcore#UnauthorizedException":
|
|
1006
1039
|
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
1040
|
+
case "InvalidInputException":
|
|
1041
|
+
case "com.amazonaws.bedrockagentcore#InvalidInputException":
|
|
1042
|
+
throw await de_InvalidInputExceptionRes(parsedOutput, context);
|
|
1043
|
+
case "RuntimeClientError":
|
|
1044
|
+
case "com.amazonaws.bedrockagentcore#RuntimeClientError":
|
|
1045
|
+
throw await de_RuntimeClientErrorRes(parsedOutput, context);
|
|
1007
1046
|
case "ConflictException":
|
|
1008
1047
|
case "com.amazonaws.bedrockagentcore#ConflictException":
|
|
1009
1048
|
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
@@ -1531,6 +1570,7 @@ const deserializeMetadata = (output) => ({
|
|
|
1531
1570
|
});
|
|
1532
1571
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
1533
1572
|
const _a = "accept";
|
|
1573
|
+
const _aI = "accountId";
|
|
1534
1574
|
const _b = "baggage";
|
|
1535
1575
|
const _cT = "contentType";
|
|
1536
1576
|
const _ct = "content-type";
|
|
@@ -3,6 +3,7 @@ import { BedrockAgentCoreClient } from "./BedrockAgentCoreClient";
|
|
|
3
3
|
import { BatchCreateMemoryRecordsCommandInput, BatchCreateMemoryRecordsCommandOutput } from "./commands/BatchCreateMemoryRecordsCommand";
|
|
4
4
|
import { BatchDeleteMemoryRecordsCommandInput, BatchDeleteMemoryRecordsCommandOutput } from "./commands/BatchDeleteMemoryRecordsCommand";
|
|
5
5
|
import { BatchUpdateMemoryRecordsCommandInput, BatchUpdateMemoryRecordsCommandOutput } from "./commands/BatchUpdateMemoryRecordsCommand";
|
|
6
|
+
import { CompleteResourceTokenAuthCommandInput, CompleteResourceTokenAuthCommandOutput } from "./commands/CompleteResourceTokenAuthCommand";
|
|
6
7
|
import { CreateEventCommandInput, CreateEventCommandOutput } from "./commands/CreateEventCommand";
|
|
7
8
|
import { DeleteEventCommandInput, DeleteEventCommandOutput } from "./commands/DeleteEventCommand";
|
|
8
9
|
import { DeleteMemoryRecordCommandInput, DeleteMemoryRecordCommandOutput } from "./commands/DeleteMemoryRecordCommand";
|
|
@@ -50,6 +51,12 @@ export interface BedrockAgentCore {
|
|
|
50
51
|
batchUpdateMemoryRecords(args: BatchUpdateMemoryRecordsCommandInput, options?: __HttpHandlerOptions): Promise<BatchUpdateMemoryRecordsCommandOutput>;
|
|
51
52
|
batchUpdateMemoryRecords(args: BatchUpdateMemoryRecordsCommandInput, cb: (err: any, data?: BatchUpdateMemoryRecordsCommandOutput) => void): void;
|
|
52
53
|
batchUpdateMemoryRecords(args: BatchUpdateMemoryRecordsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchUpdateMemoryRecordsCommandOutput) => void): void;
|
|
54
|
+
/**
|
|
55
|
+
* @see {@link CompleteResourceTokenAuthCommand}
|
|
56
|
+
*/
|
|
57
|
+
completeResourceTokenAuth(args: CompleteResourceTokenAuthCommandInput, options?: __HttpHandlerOptions): Promise<CompleteResourceTokenAuthCommandOutput>;
|
|
58
|
+
completeResourceTokenAuth(args: CompleteResourceTokenAuthCommandInput, cb: (err: any, data?: CompleteResourceTokenAuthCommandOutput) => void): void;
|
|
59
|
+
completeResourceTokenAuth(args: CompleteResourceTokenAuthCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CompleteResourceTokenAuthCommandOutput) => void): void;
|
|
53
60
|
/**
|
|
54
61
|
* @see {@link CreateEventCommand}
|
|
55
62
|
*/
|
|
@@ -11,6 +11,7 @@ import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/
|
|
|
11
11
|
import { BatchCreateMemoryRecordsCommandInput, BatchCreateMemoryRecordsCommandOutput } from "./commands/BatchCreateMemoryRecordsCommand";
|
|
12
12
|
import { BatchDeleteMemoryRecordsCommandInput, BatchDeleteMemoryRecordsCommandOutput } from "./commands/BatchDeleteMemoryRecordsCommand";
|
|
13
13
|
import { BatchUpdateMemoryRecordsCommandInput, BatchUpdateMemoryRecordsCommandOutput } from "./commands/BatchUpdateMemoryRecordsCommand";
|
|
14
|
+
import { CompleteResourceTokenAuthCommandInput, CompleteResourceTokenAuthCommandOutput } from "./commands/CompleteResourceTokenAuthCommand";
|
|
14
15
|
import { CreateEventCommandInput, CreateEventCommandOutput } from "./commands/CreateEventCommand";
|
|
15
16
|
import { DeleteEventCommandInput, DeleteEventCommandOutput } from "./commands/DeleteEventCommand";
|
|
16
17
|
import { DeleteMemoryRecordCommandInput, DeleteMemoryRecordCommandOutput } from "./commands/DeleteMemoryRecordCommand";
|
|
@@ -45,11 +46,11 @@ export { __Client };
|
|
|
45
46
|
/**
|
|
46
47
|
* @public
|
|
47
48
|
*/
|
|
48
|
-
export type ServiceInputTypes = BatchCreateMemoryRecordsCommandInput | BatchDeleteMemoryRecordsCommandInput | BatchUpdateMemoryRecordsCommandInput | CreateEventCommandInput | DeleteEventCommandInput | DeleteMemoryRecordCommandInput | GetAgentCardCommandInput | GetBrowserSessionCommandInput | GetCodeInterpreterSessionCommandInput | GetEventCommandInput | GetMemoryRecordCommandInput | GetResourceApiKeyCommandInput | GetResourceOauth2TokenCommandInput | GetWorkloadAccessTokenCommandInput | GetWorkloadAccessTokenForJWTCommandInput | GetWorkloadAccessTokenForUserIdCommandInput | InvokeAgentRuntimeCommandInput | InvokeCodeInterpreterCommandInput | ListActorsCommandInput | ListBrowserSessionsCommandInput | ListCodeInterpreterSessionsCommandInput | ListEventsCommandInput | ListMemoryRecordsCommandInput | ListSessionsCommandInput | RetrieveMemoryRecordsCommandInput | StartBrowserSessionCommandInput | StartCodeInterpreterSessionCommandInput | StopBrowserSessionCommandInput | StopCodeInterpreterSessionCommandInput | StopRuntimeSessionCommandInput | UpdateBrowserStreamCommandInput;
|
|
49
|
+
export type ServiceInputTypes = BatchCreateMemoryRecordsCommandInput | BatchDeleteMemoryRecordsCommandInput | BatchUpdateMemoryRecordsCommandInput | CompleteResourceTokenAuthCommandInput | CreateEventCommandInput | DeleteEventCommandInput | DeleteMemoryRecordCommandInput | GetAgentCardCommandInput | GetBrowserSessionCommandInput | GetCodeInterpreterSessionCommandInput | GetEventCommandInput | GetMemoryRecordCommandInput | GetResourceApiKeyCommandInput | GetResourceOauth2TokenCommandInput | GetWorkloadAccessTokenCommandInput | GetWorkloadAccessTokenForJWTCommandInput | GetWorkloadAccessTokenForUserIdCommandInput | InvokeAgentRuntimeCommandInput | InvokeCodeInterpreterCommandInput | ListActorsCommandInput | ListBrowserSessionsCommandInput | ListCodeInterpreterSessionsCommandInput | ListEventsCommandInput | ListMemoryRecordsCommandInput | ListSessionsCommandInput | RetrieveMemoryRecordsCommandInput | StartBrowserSessionCommandInput | StartCodeInterpreterSessionCommandInput | StopBrowserSessionCommandInput | StopCodeInterpreterSessionCommandInput | StopRuntimeSessionCommandInput | UpdateBrowserStreamCommandInput;
|
|
49
50
|
/**
|
|
50
51
|
* @public
|
|
51
52
|
*/
|
|
52
|
-
export type ServiceOutputTypes = BatchCreateMemoryRecordsCommandOutput | BatchDeleteMemoryRecordsCommandOutput | BatchUpdateMemoryRecordsCommandOutput | CreateEventCommandOutput | DeleteEventCommandOutput | DeleteMemoryRecordCommandOutput | GetAgentCardCommandOutput | GetBrowserSessionCommandOutput | GetCodeInterpreterSessionCommandOutput | GetEventCommandOutput | GetMemoryRecordCommandOutput | GetResourceApiKeyCommandOutput | GetResourceOauth2TokenCommandOutput | GetWorkloadAccessTokenCommandOutput | GetWorkloadAccessTokenForJWTCommandOutput | GetWorkloadAccessTokenForUserIdCommandOutput | InvokeAgentRuntimeCommandOutput | InvokeCodeInterpreterCommandOutput | ListActorsCommandOutput | ListBrowserSessionsCommandOutput | ListCodeInterpreterSessionsCommandOutput | ListEventsCommandOutput | ListMemoryRecordsCommandOutput | ListSessionsCommandOutput | RetrieveMemoryRecordsCommandOutput | StartBrowserSessionCommandOutput | StartCodeInterpreterSessionCommandOutput | StopBrowserSessionCommandOutput | StopCodeInterpreterSessionCommandOutput | StopRuntimeSessionCommandOutput | UpdateBrowserStreamCommandOutput;
|
|
53
|
+
export type ServiceOutputTypes = BatchCreateMemoryRecordsCommandOutput | BatchDeleteMemoryRecordsCommandOutput | BatchUpdateMemoryRecordsCommandOutput | CompleteResourceTokenAuthCommandOutput | CreateEventCommandOutput | DeleteEventCommandOutput | DeleteMemoryRecordCommandOutput | GetAgentCardCommandOutput | GetBrowserSessionCommandOutput | GetCodeInterpreterSessionCommandOutput | GetEventCommandOutput | GetMemoryRecordCommandOutput | GetResourceApiKeyCommandOutput | GetResourceOauth2TokenCommandOutput | GetWorkloadAccessTokenCommandOutput | GetWorkloadAccessTokenForJWTCommandOutput | GetWorkloadAccessTokenForUserIdCommandOutput | InvokeAgentRuntimeCommandOutput | InvokeCodeInterpreterCommandOutput | ListActorsCommandOutput | ListBrowserSessionsCommandOutput | ListCodeInterpreterSessionsCommandOutput | ListEventsCommandOutput | ListMemoryRecordsCommandOutput | ListSessionsCommandOutput | RetrieveMemoryRecordsCommandOutput | StartBrowserSessionCommandOutput | StartCodeInterpreterSessionCommandOutput | StopBrowserSessionCommandOutput | StopCodeInterpreterSessionCommandOutput | StopRuntimeSessionCommandOutput | UpdateBrowserStreamCommandOutput;
|
|
53
54
|
/**
|
|
54
55
|
* @public
|
|
55
56
|
*/
|