@aws-sdk/client-bedrock-agentcore 3.847.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/LICENSE +201 -0
- package/README.md +413 -0
- package/dist-cjs/BedrockAgentCore.js +63 -0
- package/dist-cjs/BedrockAgentCoreClient.js +54 -0
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
- package/dist-cjs/commands/CreateEventCommand.js +27 -0
- package/dist-cjs/commands/DeleteEventCommand.js +26 -0
- package/dist-cjs/commands/DeleteMemoryRecordCommand.js +26 -0
- package/dist-cjs/commands/GetBrowserSessionCommand.js +26 -0
- package/dist-cjs/commands/GetCodeInterpreterSessionCommand.js +26 -0
- package/dist-cjs/commands/GetEventCommand.js +27 -0
- package/dist-cjs/commands/GetMemoryRecordCommand.js +27 -0
- package/dist-cjs/commands/GetResourceApiKeyCommand.js +27 -0
- package/dist-cjs/commands/GetResourceOauth2TokenCommand.js +27 -0
- package/dist-cjs/commands/GetWorkloadAccessTokenCommand.js +27 -0
- package/dist-cjs/commands/GetWorkloadAccessTokenForJWTCommand.js +27 -0
- package/dist-cjs/commands/GetWorkloadAccessTokenForUserIdCommand.js +27 -0
- package/dist-cjs/commands/InvokeAgentRuntimeCommand.js +27 -0
- package/dist-cjs/commands/InvokeCodeInterpreterCommand.js +31 -0
- package/dist-cjs/commands/ListActorsCommand.js +26 -0
- package/dist-cjs/commands/ListBrowserSessionsCommand.js +26 -0
- package/dist-cjs/commands/ListCodeInterpreterSessionsCommand.js +26 -0
- package/dist-cjs/commands/ListEventsCommand.js +27 -0
- package/dist-cjs/commands/ListMemoryRecordsCommand.js +27 -0
- package/dist-cjs/commands/ListSessionsCommand.js +26 -0
- package/dist-cjs/commands/RetrieveMemoryRecordsCommand.js +27 -0
- package/dist-cjs/commands/StartBrowserSessionCommand.js +26 -0
- package/dist-cjs/commands/StartCodeInterpreterSessionCommand.js +26 -0
- package/dist-cjs/commands/StopBrowserSessionCommand.js +26 -0
- package/dist-cjs/commands/StopCodeInterpreterSessionCommand.js +26 -0
- package/dist-cjs/commands/UpdateBrowserStreamCommand.js +26 -0
- package/dist-cjs/commands/index.js +29 -0
- package/dist-cjs/endpoint/EndpointParameters.js +17 -0
- package/dist-cjs/endpoint/endpointResolver.js +18 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/BedrockAgentCoreServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +468 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListActorsPaginator.js +7 -0
- package/dist-cjs/pagination/ListEventsPaginator.js +7 -0
- package/dist-cjs/pagination/ListMemoryRecordsPaginator.js +7 -0
- package/dist-cjs/pagination/ListSessionsPaginator.js +7 -0
- package/dist-cjs/pagination/RetrieveMemoryRecordsPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +9 -0
- package/dist-cjs/protocols/Aws_restJson1.js +1423 -0
- package/dist-cjs/runtimeConfig.browser.js +41 -0
- package/dist-cjs/runtimeConfig.js +58 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +36 -0
- package/dist-cjs/runtimeExtensions.js +13 -0
- package/dist-es/BedrockAgentCore.js +59 -0
- package/dist-es/BedrockAgentCoreClient.js +50 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
- package/dist-es/commands/CreateEventCommand.js +23 -0
- package/dist-es/commands/DeleteEventCommand.js +22 -0
- package/dist-es/commands/DeleteMemoryRecordCommand.js +22 -0
- package/dist-es/commands/GetBrowserSessionCommand.js +22 -0
- package/dist-es/commands/GetCodeInterpreterSessionCommand.js +22 -0
- package/dist-es/commands/GetEventCommand.js +23 -0
- package/dist-es/commands/GetMemoryRecordCommand.js +23 -0
- package/dist-es/commands/GetResourceApiKeyCommand.js +23 -0
- package/dist-es/commands/GetResourceOauth2TokenCommand.js +23 -0
- package/dist-es/commands/GetWorkloadAccessTokenCommand.js +23 -0
- package/dist-es/commands/GetWorkloadAccessTokenForJWTCommand.js +23 -0
- package/dist-es/commands/GetWorkloadAccessTokenForUserIdCommand.js +23 -0
- package/dist-es/commands/InvokeAgentRuntimeCommand.js +23 -0
- package/dist-es/commands/InvokeCodeInterpreterCommand.js +27 -0
- package/dist-es/commands/ListActorsCommand.js +22 -0
- package/dist-es/commands/ListBrowserSessionsCommand.js +22 -0
- package/dist-es/commands/ListCodeInterpreterSessionsCommand.js +22 -0
- package/dist-es/commands/ListEventsCommand.js +23 -0
- package/dist-es/commands/ListMemoryRecordsCommand.js +23 -0
- package/dist-es/commands/ListSessionsCommand.js +22 -0
- package/dist-es/commands/RetrieveMemoryRecordsCommand.js +23 -0
- package/dist-es/commands/StartBrowserSessionCommand.js +22 -0
- package/dist-es/commands/StartCodeInterpreterSessionCommand.js +22 -0
- package/dist-es/commands/StopBrowserSessionCommand.js +22 -0
- package/dist-es/commands/StopCodeInterpreterSessionCommand.js +22 -0
- package/dist-es/commands/UpdateBrowserStreamCommand.js +22 -0
- package/dist-es/commands/index.js +26 -0
- package/dist-es/endpoint/EndpointParameters.js +13 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/BedrockAgentCoreServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +421 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListActorsPaginator.js +4 -0
- package/dist-es/pagination/ListEventsPaginator.js +4 -0
- package/dist-es/pagination/ListMemoryRecordsPaginator.js +4 -0
- package/dist-es/pagination/ListSessionsPaginator.js +4 -0
- package/dist-es/pagination/RetrieveMemoryRecordsPaginator.js +4 -0
- package/dist-es/pagination/index.js +6 -0
- package/dist-es/protocols/Aws_restJson1.js +1367 -0
- package/dist-es/runtimeConfig.browser.js +36 -0
- package/dist-es/runtimeConfig.js +53 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +32 -0
- package/dist-es/runtimeExtensions.js +9 -0
- package/dist-types/BedrockAgentCore.d.ts +192 -0
- package/dist-types/BedrockAgentCoreClient.d.ts +223 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
- package/dist-types/commands/CreateEventCommand.d.ts +133 -0
- package/dist-types/commands/DeleteEventCommand.d.ts +96 -0
- package/dist-types/commands/DeleteMemoryRecordCommand.d.ts +94 -0
- package/dist-types/commands/GetBrowserSessionCommand.d.ts +108 -0
- package/dist-types/commands/GetCodeInterpreterSessionCommand.d.ts +93 -0
- package/dist-types/commands/GetEventCommand.d.ts +117 -0
- package/dist-types/commands/GetMemoryRecordCommand.d.ts +104 -0
- package/dist-types/commands/GetResourceApiKeyCommand.d.ts +91 -0
- package/dist-types/commands/GetResourceOauth2TokenCommand.d.ts +102 -0
- package/dist-types/commands/GetWorkloadAccessTokenCommand.d.ts +90 -0
- package/dist-types/commands/GetWorkloadAccessTokenForJWTCommand.d.ts +91 -0
- package/dist-types/commands/GetWorkloadAccessTokenForUserIdCommand.d.ts +91 -0
- package/dist-types/commands/InvokeAgentRuntimeCommand.d.ts +126 -0
- package/dist-types/commands/InvokeCodeInterpreterCommand.d.ts +174 -0
- package/dist-types/commands/ListActorsCommand.d.ts +100 -0
- package/dist-types/commands/ListBrowserSessionsCommand.d.ts +100 -0
- package/dist-types/commands/ListCodeInterpreterSessionsCommand.d.ts +100 -0
- package/dist-types/commands/ListEventsCommand.d.ts +128 -0
- package/dist-types/commands/ListMemoryRecordsCommand.d.ts +111 -0
- package/dist-types/commands/ListSessionsCommand.d.ts +103 -0
- package/dist-types/commands/RetrieveMemoryRecordsCommand.d.ts +115 -0
- package/dist-types/commands/StartBrowserSessionCommand.d.ts +111 -0
- package/dist-types/commands/StartCodeInterpreterSessionCommand.d.ts +98 -0
- package/dist-types/commands/StopBrowserSessionCommand.d.ts +97 -0
- package/dist-types/commands/StopCodeInterpreterSessionCommand.d.ts +97 -0
- package/dist-types/commands/UpdateBrowserStreamCommand.d.ts +111 -0
- package/dist-types/commands/index.d.ts +26 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +38 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +14 -0
- package/dist-types/models/BedrockAgentCoreServiceException.d.ts +14 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +2440 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListActorsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListEventsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListMemoryRecordsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListSessionsPaginator.d.ts +7 -0
- package/dist-types/pagination/RetrieveMemoryRecordsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +6 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +236 -0
- package/dist-types/runtimeConfig.browser.d.ts +52 -0
- package/dist-types/runtimeConfig.d.ts +52 -0
- package/dist-types/runtimeConfig.native.d.ts +51 -0
- package/dist-types/runtimeConfig.shared.d.ts +22 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/BedrockAgentCore.d.ts +449 -0
- package/dist-types/ts3.4/BedrockAgentCoreClient.d.ts +288 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +47 -0
- package/dist-types/ts3.4/commands/CreateEventCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteEventCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteMemoryRecordCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetBrowserSessionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetCodeInterpreterSessionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetEventCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetMemoryRecordCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetResourceApiKeyCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetResourceOauth2TokenCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetWorkloadAccessTokenCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetWorkloadAccessTokenForJWTCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetWorkloadAccessTokenForUserIdCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/InvokeAgentRuntimeCommand.d.ts +66 -0
- package/dist-types/ts3.4/commands/InvokeCodeInterpreterCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListActorsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListBrowserSessionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListCodeInterpreterSessionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListEventsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListMemoryRecordsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListSessionsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/RetrieveMemoryRecordsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StartBrowserSessionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StartCodeInterpreterSessionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StopBrowserSessionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StopCodeInterpreterSessionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateBrowserStreamCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +26 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +9 -0
- package/dist-types/ts3.4/models/BedrockAgentCoreServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +872 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListActorsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListEventsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListMemoryRecordsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListSessionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/RetrieveMemoryRecordsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +6 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +321 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +96 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +93 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +100 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +24 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +13 -0
- package/package.json +105 -0
|
@@ -0,0 +1,468 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetEventOutputFilterSensitiveLog = exports.CreateEventOutputFilterSensitiveLog = exports.EventFilterSensitiveLog = exports.CreateEventInputFilterSensitiveLog = exports.PayloadTypeFilterSensitiveLog = exports.ConversationalFilterSensitiveLog = exports.ContentFilterSensitiveLog = exports.InvokeCodeInterpreterResponseFilterSensitiveLog = exports.CodeInterpreterStreamOutputFilterSensitiveLog = exports.InvokeCodeInterpreterRequestFilterSensitiveLog = exports.ToolArgumentsFilterSensitiveLog = exports.InputContentBlockFilterSensitiveLog = exports.GetWorkloadAccessTokenForUserIdResponseFilterSensitiveLog = exports.GetWorkloadAccessTokenForJWTResponseFilterSensitiveLog = exports.GetWorkloadAccessTokenForJWTRequestFilterSensitiveLog = exports.GetWorkloadAccessTokenResponseFilterSensitiveLog = exports.GetResourceOauth2TokenResponseFilterSensitiveLog = exports.GetResourceOauth2TokenRequestFilterSensitiveLog = exports.GetResourceApiKeyResponseFilterSensitiveLog = exports.GetResourceApiKeyRequestFilterSensitiveLog = exports.InvokeAgentRuntimeResponseFilterSensitiveLog = exports.InvokeAgentRuntimeRequestFilterSensitiveLog = exports.MemoryContent = exports.ThrottledException = exports.ServiceException = exports.InvalidInputException = exports.PayloadType = exports.Role = exports.Content = exports.CodeInterpreterStreamOutput = exports.TaskStatus = exports.ContentBlockType = exports.ResourceContentType = exports.ToolName = exports.ProgrammingLanguage = exports.Oauth2FlowType = exports.UnauthorizedException = exports.CodeInterpreterSessionStatus = exports.StreamUpdate = exports.ConflictException = exports.AutomationStreamStatus = exports.BrowserSessionStatus = exports.ValidationException = exports.ValidationExceptionReason = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.RuntimeClientError = exports.ResourceNotFoundException = exports.InternalServerException = exports.AccessDeniedException = void 0;
|
|
4
|
+
exports.RetrieveMemoryRecordsOutputFilterSensitiveLog = exports.RetrieveMemoryRecordsInputFilterSensitiveLog = exports.SearchCriteriaFilterSensitiveLog = exports.ListMemoryRecordsOutputFilterSensitiveLog = exports.MemoryRecordSummaryFilterSensitiveLog = exports.ListEventsOutputFilterSensitiveLog = exports.GetMemoryRecordOutputFilterSensitiveLog = exports.MemoryRecordFilterSensitiveLog = exports.MemoryContentFilterSensitiveLog = void 0;
|
|
5
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
6
|
+
const BedrockAgentCoreServiceException_1 = require("./BedrockAgentCoreServiceException");
|
|
7
|
+
class AccessDeniedException extends BedrockAgentCoreServiceException_1.BedrockAgentCoreServiceException {
|
|
8
|
+
name = "AccessDeniedException";
|
|
9
|
+
$fault = "client";
|
|
10
|
+
constructor(opts) {
|
|
11
|
+
super({
|
|
12
|
+
name: "AccessDeniedException",
|
|
13
|
+
$fault: "client",
|
|
14
|
+
...opts,
|
|
15
|
+
});
|
|
16
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
20
|
+
class InternalServerException extends BedrockAgentCoreServiceException_1.BedrockAgentCoreServiceException {
|
|
21
|
+
name = "InternalServerException";
|
|
22
|
+
$fault = "server";
|
|
23
|
+
constructor(opts) {
|
|
24
|
+
super({
|
|
25
|
+
name: "InternalServerException",
|
|
26
|
+
$fault: "server",
|
|
27
|
+
...opts,
|
|
28
|
+
});
|
|
29
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
exports.InternalServerException = InternalServerException;
|
|
33
|
+
class ResourceNotFoundException extends BedrockAgentCoreServiceException_1.BedrockAgentCoreServiceException {
|
|
34
|
+
name = "ResourceNotFoundException";
|
|
35
|
+
$fault = "client";
|
|
36
|
+
constructor(opts) {
|
|
37
|
+
super({
|
|
38
|
+
name: "ResourceNotFoundException",
|
|
39
|
+
$fault: "client",
|
|
40
|
+
...opts,
|
|
41
|
+
});
|
|
42
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
46
|
+
class RuntimeClientError extends BedrockAgentCoreServiceException_1.BedrockAgentCoreServiceException {
|
|
47
|
+
name = "RuntimeClientError";
|
|
48
|
+
$fault = "client";
|
|
49
|
+
constructor(opts) {
|
|
50
|
+
super({
|
|
51
|
+
name: "RuntimeClientError",
|
|
52
|
+
$fault: "client",
|
|
53
|
+
...opts,
|
|
54
|
+
});
|
|
55
|
+
Object.setPrototypeOf(this, RuntimeClientError.prototype);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
exports.RuntimeClientError = RuntimeClientError;
|
|
59
|
+
class ServiceQuotaExceededException extends BedrockAgentCoreServiceException_1.BedrockAgentCoreServiceException {
|
|
60
|
+
name = "ServiceQuotaExceededException";
|
|
61
|
+
$fault = "client";
|
|
62
|
+
constructor(opts) {
|
|
63
|
+
super({
|
|
64
|
+
name: "ServiceQuotaExceededException",
|
|
65
|
+
$fault: "client",
|
|
66
|
+
...opts,
|
|
67
|
+
});
|
|
68
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
72
|
+
class ThrottlingException extends BedrockAgentCoreServiceException_1.BedrockAgentCoreServiceException {
|
|
73
|
+
name = "ThrottlingException";
|
|
74
|
+
$fault = "client";
|
|
75
|
+
constructor(opts) {
|
|
76
|
+
super({
|
|
77
|
+
name: "ThrottlingException",
|
|
78
|
+
$fault: "client",
|
|
79
|
+
...opts,
|
|
80
|
+
});
|
|
81
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
exports.ThrottlingException = ThrottlingException;
|
|
85
|
+
exports.ValidationExceptionReason = {
|
|
86
|
+
CANNOT_PARSE: "CannotParse",
|
|
87
|
+
FIELD_VALIDATION_FAILED: "FieldValidationFailed",
|
|
88
|
+
IDEMPOTENT_PARAMETER_MISMATCH_EXCEPTION: "IdempotentParameterMismatchException",
|
|
89
|
+
RESOURCE_CONFLICT: "ResourceConflict",
|
|
90
|
+
ROOT_EVENT_IN_OTHER_SESSION: "EventInOtherSession",
|
|
91
|
+
};
|
|
92
|
+
class ValidationException extends BedrockAgentCoreServiceException_1.BedrockAgentCoreServiceException {
|
|
93
|
+
name = "ValidationException";
|
|
94
|
+
$fault = "client";
|
|
95
|
+
reason;
|
|
96
|
+
fieldList;
|
|
97
|
+
constructor(opts) {
|
|
98
|
+
super({
|
|
99
|
+
name: "ValidationException",
|
|
100
|
+
$fault: "client",
|
|
101
|
+
...opts,
|
|
102
|
+
});
|
|
103
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
104
|
+
this.reason = opts.reason;
|
|
105
|
+
this.fieldList = opts.fieldList;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
exports.ValidationException = ValidationException;
|
|
109
|
+
exports.BrowserSessionStatus = {
|
|
110
|
+
READY: "READY",
|
|
111
|
+
TERMINATED: "TERMINATED",
|
|
112
|
+
};
|
|
113
|
+
exports.AutomationStreamStatus = {
|
|
114
|
+
DISABLED: "DISABLED",
|
|
115
|
+
ENABLED: "ENABLED",
|
|
116
|
+
};
|
|
117
|
+
class ConflictException extends BedrockAgentCoreServiceException_1.BedrockAgentCoreServiceException {
|
|
118
|
+
name = "ConflictException";
|
|
119
|
+
$fault = "client";
|
|
120
|
+
constructor(opts) {
|
|
121
|
+
super({
|
|
122
|
+
name: "ConflictException",
|
|
123
|
+
$fault: "client",
|
|
124
|
+
...opts,
|
|
125
|
+
});
|
|
126
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
exports.ConflictException = ConflictException;
|
|
130
|
+
var StreamUpdate;
|
|
131
|
+
(function (StreamUpdate) {
|
|
132
|
+
StreamUpdate.visit = (value, visitor) => {
|
|
133
|
+
if (value.automationStreamUpdate !== undefined)
|
|
134
|
+
return visitor.automationStreamUpdate(value.automationStreamUpdate);
|
|
135
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
136
|
+
};
|
|
137
|
+
})(StreamUpdate || (exports.StreamUpdate = StreamUpdate = {}));
|
|
138
|
+
exports.CodeInterpreterSessionStatus = {
|
|
139
|
+
READY: "READY",
|
|
140
|
+
TERMINATED: "TERMINATED",
|
|
141
|
+
};
|
|
142
|
+
class UnauthorizedException extends BedrockAgentCoreServiceException_1.BedrockAgentCoreServiceException {
|
|
143
|
+
name = "UnauthorizedException";
|
|
144
|
+
$fault = "client";
|
|
145
|
+
constructor(opts) {
|
|
146
|
+
super({
|
|
147
|
+
name: "UnauthorizedException",
|
|
148
|
+
$fault: "client",
|
|
149
|
+
...opts,
|
|
150
|
+
});
|
|
151
|
+
Object.setPrototypeOf(this, UnauthorizedException.prototype);
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
exports.UnauthorizedException = UnauthorizedException;
|
|
155
|
+
exports.Oauth2FlowType = {
|
|
156
|
+
M2M: "M2M",
|
|
157
|
+
USER_FEDERATION: "USER_FEDERATION",
|
|
158
|
+
};
|
|
159
|
+
exports.ProgrammingLanguage = {
|
|
160
|
+
JAVASCRIPT: "javascript",
|
|
161
|
+
PYTHON: "python",
|
|
162
|
+
TYPESCRIPT: "typescript",
|
|
163
|
+
};
|
|
164
|
+
exports.ToolName = {
|
|
165
|
+
EXECUTE_CODE: "executeCode",
|
|
166
|
+
EXECUTE_COMMAND: "executeCommand",
|
|
167
|
+
GET_TASK: "getTask",
|
|
168
|
+
LIST_FILES: "listFiles",
|
|
169
|
+
READ_FILES: "readFiles",
|
|
170
|
+
REMOVE_FILES: "removeFiles",
|
|
171
|
+
START_COMMAND_EXECUTION: "startCommandExecution",
|
|
172
|
+
STOP_TASK: "stopTask",
|
|
173
|
+
WRITE_FILES: "writeFiles",
|
|
174
|
+
};
|
|
175
|
+
exports.ResourceContentType = {
|
|
176
|
+
BLOB: "blob",
|
|
177
|
+
TEXT: "text",
|
|
178
|
+
};
|
|
179
|
+
exports.ContentBlockType = {
|
|
180
|
+
EMBEDDED_RESOURCE: "resource",
|
|
181
|
+
IMAGE: "image",
|
|
182
|
+
RESOURCE_LINK: "resource_link",
|
|
183
|
+
TEXT: "text",
|
|
184
|
+
};
|
|
185
|
+
exports.TaskStatus = {
|
|
186
|
+
CANCELED: "canceled",
|
|
187
|
+
COMPLETED: "completed",
|
|
188
|
+
FAILED: "failed",
|
|
189
|
+
SUBMITTED: "submitted",
|
|
190
|
+
WORKING: "working",
|
|
191
|
+
};
|
|
192
|
+
var CodeInterpreterStreamOutput;
|
|
193
|
+
(function (CodeInterpreterStreamOutput) {
|
|
194
|
+
CodeInterpreterStreamOutput.visit = (value, visitor) => {
|
|
195
|
+
if (value.result !== undefined)
|
|
196
|
+
return visitor.result(value.result);
|
|
197
|
+
if (value.accessDeniedException !== undefined)
|
|
198
|
+
return visitor.accessDeniedException(value.accessDeniedException);
|
|
199
|
+
if (value.conflictException !== undefined)
|
|
200
|
+
return visitor.conflictException(value.conflictException);
|
|
201
|
+
if (value.internalServerException !== undefined)
|
|
202
|
+
return visitor.internalServerException(value.internalServerException);
|
|
203
|
+
if (value.resourceNotFoundException !== undefined)
|
|
204
|
+
return visitor.resourceNotFoundException(value.resourceNotFoundException);
|
|
205
|
+
if (value.serviceQuotaExceededException !== undefined)
|
|
206
|
+
return visitor.serviceQuotaExceededException(value.serviceQuotaExceededException);
|
|
207
|
+
if (value.throttlingException !== undefined)
|
|
208
|
+
return visitor.throttlingException(value.throttlingException);
|
|
209
|
+
if (value.validationException !== undefined)
|
|
210
|
+
return visitor.validationException(value.validationException);
|
|
211
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
212
|
+
};
|
|
213
|
+
})(CodeInterpreterStreamOutput || (exports.CodeInterpreterStreamOutput = CodeInterpreterStreamOutput = {}));
|
|
214
|
+
var Content;
|
|
215
|
+
(function (Content) {
|
|
216
|
+
Content.visit = (value, visitor) => {
|
|
217
|
+
if (value.text !== undefined)
|
|
218
|
+
return visitor.text(value.text);
|
|
219
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
220
|
+
};
|
|
221
|
+
})(Content || (exports.Content = Content = {}));
|
|
222
|
+
exports.Role = {
|
|
223
|
+
ASSISTANT: "ASSISTANT",
|
|
224
|
+
OTHER: "OTHER",
|
|
225
|
+
TOOL: "TOOL",
|
|
226
|
+
USER: "USER",
|
|
227
|
+
};
|
|
228
|
+
var PayloadType;
|
|
229
|
+
(function (PayloadType) {
|
|
230
|
+
PayloadType.visit = (value, visitor) => {
|
|
231
|
+
if (value.conversational !== undefined)
|
|
232
|
+
return visitor.conversational(value.conversational);
|
|
233
|
+
if (value.blob !== undefined)
|
|
234
|
+
return visitor.blob(value.blob);
|
|
235
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
236
|
+
};
|
|
237
|
+
})(PayloadType || (exports.PayloadType = PayloadType = {}));
|
|
238
|
+
class InvalidInputException extends BedrockAgentCoreServiceException_1.BedrockAgentCoreServiceException {
|
|
239
|
+
name = "InvalidInputException";
|
|
240
|
+
$fault = "client";
|
|
241
|
+
constructor(opts) {
|
|
242
|
+
super({
|
|
243
|
+
name: "InvalidInputException",
|
|
244
|
+
$fault: "client",
|
|
245
|
+
...opts,
|
|
246
|
+
});
|
|
247
|
+
Object.setPrototypeOf(this, InvalidInputException.prototype);
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
exports.InvalidInputException = InvalidInputException;
|
|
251
|
+
class ServiceException extends BedrockAgentCoreServiceException_1.BedrockAgentCoreServiceException {
|
|
252
|
+
name = "ServiceException";
|
|
253
|
+
$fault = "server";
|
|
254
|
+
constructor(opts) {
|
|
255
|
+
super({
|
|
256
|
+
name: "ServiceException",
|
|
257
|
+
$fault: "server",
|
|
258
|
+
...opts,
|
|
259
|
+
});
|
|
260
|
+
Object.setPrototypeOf(this, ServiceException.prototype);
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
exports.ServiceException = ServiceException;
|
|
264
|
+
class ThrottledException extends BedrockAgentCoreServiceException_1.BedrockAgentCoreServiceException {
|
|
265
|
+
name = "ThrottledException";
|
|
266
|
+
$fault = "client";
|
|
267
|
+
constructor(opts) {
|
|
268
|
+
super({
|
|
269
|
+
name: "ThrottledException",
|
|
270
|
+
$fault: "client",
|
|
271
|
+
...opts,
|
|
272
|
+
});
|
|
273
|
+
Object.setPrototypeOf(this, ThrottledException.prototype);
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
exports.ThrottledException = ThrottledException;
|
|
277
|
+
var MemoryContent;
|
|
278
|
+
(function (MemoryContent) {
|
|
279
|
+
MemoryContent.visit = (value, visitor) => {
|
|
280
|
+
if (value.text !== undefined)
|
|
281
|
+
return visitor.text(value.text);
|
|
282
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
283
|
+
};
|
|
284
|
+
})(MemoryContent || (exports.MemoryContent = MemoryContent = {}));
|
|
285
|
+
const InvokeAgentRuntimeRequestFilterSensitiveLog = (obj) => ({
|
|
286
|
+
...obj,
|
|
287
|
+
...(obj.payload && { payload: smithy_client_1.SENSITIVE_STRING }),
|
|
288
|
+
});
|
|
289
|
+
exports.InvokeAgentRuntimeRequestFilterSensitiveLog = InvokeAgentRuntimeRequestFilterSensitiveLog;
|
|
290
|
+
const InvokeAgentRuntimeResponseFilterSensitiveLog = (obj) => ({
|
|
291
|
+
...obj,
|
|
292
|
+
...(obj.response && { response: smithy_client_1.SENSITIVE_STRING }),
|
|
293
|
+
});
|
|
294
|
+
exports.InvokeAgentRuntimeResponseFilterSensitiveLog = InvokeAgentRuntimeResponseFilterSensitiveLog;
|
|
295
|
+
const GetResourceApiKeyRequestFilterSensitiveLog = (obj) => ({
|
|
296
|
+
...obj,
|
|
297
|
+
...(obj.workloadIdentityToken && { workloadIdentityToken: smithy_client_1.SENSITIVE_STRING }),
|
|
298
|
+
});
|
|
299
|
+
exports.GetResourceApiKeyRequestFilterSensitiveLog = GetResourceApiKeyRequestFilterSensitiveLog;
|
|
300
|
+
const GetResourceApiKeyResponseFilterSensitiveLog = (obj) => ({
|
|
301
|
+
...obj,
|
|
302
|
+
...(obj.apiKey && { apiKey: smithy_client_1.SENSITIVE_STRING }),
|
|
303
|
+
});
|
|
304
|
+
exports.GetResourceApiKeyResponseFilterSensitiveLog = GetResourceApiKeyResponseFilterSensitiveLog;
|
|
305
|
+
const GetResourceOauth2TokenRequestFilterSensitiveLog = (obj) => ({
|
|
306
|
+
...obj,
|
|
307
|
+
...(obj.workloadIdentityToken && { workloadIdentityToken: smithy_client_1.SENSITIVE_STRING }),
|
|
308
|
+
...(obj.customParameters && { customParameters: smithy_client_1.SENSITIVE_STRING }),
|
|
309
|
+
});
|
|
310
|
+
exports.GetResourceOauth2TokenRequestFilterSensitiveLog = GetResourceOauth2TokenRequestFilterSensitiveLog;
|
|
311
|
+
const GetResourceOauth2TokenResponseFilterSensitiveLog = (obj) => ({
|
|
312
|
+
...obj,
|
|
313
|
+
...(obj.accessToken && { accessToken: smithy_client_1.SENSITIVE_STRING }),
|
|
314
|
+
});
|
|
315
|
+
exports.GetResourceOauth2TokenResponseFilterSensitiveLog = GetResourceOauth2TokenResponseFilterSensitiveLog;
|
|
316
|
+
const GetWorkloadAccessTokenResponseFilterSensitiveLog = (obj) => ({
|
|
317
|
+
...obj,
|
|
318
|
+
...(obj.workloadAccessToken && { workloadAccessToken: smithy_client_1.SENSITIVE_STRING }),
|
|
319
|
+
});
|
|
320
|
+
exports.GetWorkloadAccessTokenResponseFilterSensitiveLog = GetWorkloadAccessTokenResponseFilterSensitiveLog;
|
|
321
|
+
const GetWorkloadAccessTokenForJWTRequestFilterSensitiveLog = (obj) => ({
|
|
322
|
+
...obj,
|
|
323
|
+
...(obj.userToken && { userToken: smithy_client_1.SENSITIVE_STRING }),
|
|
324
|
+
});
|
|
325
|
+
exports.GetWorkloadAccessTokenForJWTRequestFilterSensitiveLog = GetWorkloadAccessTokenForJWTRequestFilterSensitiveLog;
|
|
326
|
+
const GetWorkloadAccessTokenForJWTResponseFilterSensitiveLog = (obj) => ({
|
|
327
|
+
...obj,
|
|
328
|
+
...(obj.workloadAccessToken && { workloadAccessToken: smithy_client_1.SENSITIVE_STRING }),
|
|
329
|
+
});
|
|
330
|
+
exports.GetWorkloadAccessTokenForJWTResponseFilterSensitiveLog = GetWorkloadAccessTokenForJWTResponseFilterSensitiveLog;
|
|
331
|
+
const GetWorkloadAccessTokenForUserIdResponseFilterSensitiveLog = (obj) => ({
|
|
332
|
+
...obj,
|
|
333
|
+
...(obj.workloadAccessToken && { workloadAccessToken: smithy_client_1.SENSITIVE_STRING }),
|
|
334
|
+
});
|
|
335
|
+
exports.GetWorkloadAccessTokenForUserIdResponseFilterSensitiveLog = GetWorkloadAccessTokenForUserIdResponseFilterSensitiveLog;
|
|
336
|
+
const InputContentBlockFilterSensitiveLog = (obj) => ({
|
|
337
|
+
...obj,
|
|
338
|
+
...(obj.blob && { blob: smithy_client_1.SENSITIVE_STRING }),
|
|
339
|
+
});
|
|
340
|
+
exports.InputContentBlockFilterSensitiveLog = InputContentBlockFilterSensitiveLog;
|
|
341
|
+
const ToolArgumentsFilterSensitiveLog = (obj) => ({
|
|
342
|
+
...obj,
|
|
343
|
+
...(obj.content && { content: obj.content.map((item) => (0, exports.InputContentBlockFilterSensitiveLog)(item)) }),
|
|
344
|
+
});
|
|
345
|
+
exports.ToolArgumentsFilterSensitiveLog = ToolArgumentsFilterSensitiveLog;
|
|
346
|
+
const InvokeCodeInterpreterRequestFilterSensitiveLog = (obj) => ({
|
|
347
|
+
...obj,
|
|
348
|
+
...(obj.arguments && { arguments: (0, exports.ToolArgumentsFilterSensitiveLog)(obj.arguments) }),
|
|
349
|
+
});
|
|
350
|
+
exports.InvokeCodeInterpreterRequestFilterSensitiveLog = InvokeCodeInterpreterRequestFilterSensitiveLog;
|
|
351
|
+
const CodeInterpreterStreamOutputFilterSensitiveLog = (obj) => {
|
|
352
|
+
if (obj.result !== undefined)
|
|
353
|
+
return { result: obj.result };
|
|
354
|
+
if (obj.accessDeniedException !== undefined)
|
|
355
|
+
return { accessDeniedException: obj.accessDeniedException };
|
|
356
|
+
if (obj.conflictException !== undefined)
|
|
357
|
+
return { conflictException: obj.conflictException };
|
|
358
|
+
if (obj.internalServerException !== undefined)
|
|
359
|
+
return { internalServerException: obj.internalServerException };
|
|
360
|
+
if (obj.resourceNotFoundException !== undefined)
|
|
361
|
+
return { resourceNotFoundException: obj.resourceNotFoundException };
|
|
362
|
+
if (obj.serviceQuotaExceededException !== undefined)
|
|
363
|
+
return { serviceQuotaExceededException: obj.serviceQuotaExceededException };
|
|
364
|
+
if (obj.throttlingException !== undefined)
|
|
365
|
+
return { throttlingException: obj.throttlingException };
|
|
366
|
+
if (obj.validationException !== undefined)
|
|
367
|
+
return { validationException: obj.validationException };
|
|
368
|
+
if (obj.$unknown !== undefined)
|
|
369
|
+
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
370
|
+
};
|
|
371
|
+
exports.CodeInterpreterStreamOutputFilterSensitiveLog = CodeInterpreterStreamOutputFilterSensitiveLog;
|
|
372
|
+
const InvokeCodeInterpreterResponseFilterSensitiveLog = (obj) => ({
|
|
373
|
+
...obj,
|
|
374
|
+
...(obj.stream && { stream: "STREAMING_CONTENT" }),
|
|
375
|
+
});
|
|
376
|
+
exports.InvokeCodeInterpreterResponseFilterSensitiveLog = InvokeCodeInterpreterResponseFilterSensitiveLog;
|
|
377
|
+
const ContentFilterSensitiveLog = (obj) => {
|
|
378
|
+
if (obj.text !== undefined)
|
|
379
|
+
return { text: smithy_client_1.SENSITIVE_STRING };
|
|
380
|
+
if (obj.$unknown !== undefined)
|
|
381
|
+
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
382
|
+
};
|
|
383
|
+
exports.ContentFilterSensitiveLog = ContentFilterSensitiveLog;
|
|
384
|
+
const ConversationalFilterSensitiveLog = (obj) => ({
|
|
385
|
+
...obj,
|
|
386
|
+
...(obj.content && { content: (0, exports.ContentFilterSensitiveLog)(obj.content) }),
|
|
387
|
+
});
|
|
388
|
+
exports.ConversationalFilterSensitiveLog = ConversationalFilterSensitiveLog;
|
|
389
|
+
const PayloadTypeFilterSensitiveLog = (obj) => {
|
|
390
|
+
if (obj.conversational !== undefined)
|
|
391
|
+
return { conversational: (0, exports.ConversationalFilterSensitiveLog)(obj.conversational) };
|
|
392
|
+
if (obj.blob !== undefined)
|
|
393
|
+
return { blob: obj.blob };
|
|
394
|
+
if (obj.$unknown !== undefined)
|
|
395
|
+
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
396
|
+
};
|
|
397
|
+
exports.PayloadTypeFilterSensitiveLog = PayloadTypeFilterSensitiveLog;
|
|
398
|
+
const CreateEventInputFilterSensitiveLog = (obj) => ({
|
|
399
|
+
...obj,
|
|
400
|
+
...(obj.payload && { payload: obj.payload.map((item) => (0, exports.PayloadTypeFilterSensitiveLog)(item)) }),
|
|
401
|
+
});
|
|
402
|
+
exports.CreateEventInputFilterSensitiveLog = CreateEventInputFilterSensitiveLog;
|
|
403
|
+
const EventFilterSensitiveLog = (obj) => ({
|
|
404
|
+
...obj,
|
|
405
|
+
...(obj.payload && { payload: obj.payload.map((item) => (0, exports.PayloadTypeFilterSensitiveLog)(item)) }),
|
|
406
|
+
});
|
|
407
|
+
exports.EventFilterSensitiveLog = EventFilterSensitiveLog;
|
|
408
|
+
const CreateEventOutputFilterSensitiveLog = (obj) => ({
|
|
409
|
+
...obj,
|
|
410
|
+
...(obj.event && { event: (0, exports.EventFilterSensitiveLog)(obj.event) }),
|
|
411
|
+
});
|
|
412
|
+
exports.CreateEventOutputFilterSensitiveLog = CreateEventOutputFilterSensitiveLog;
|
|
413
|
+
const GetEventOutputFilterSensitiveLog = (obj) => ({
|
|
414
|
+
...obj,
|
|
415
|
+
...(obj.event && { event: (0, exports.EventFilterSensitiveLog)(obj.event) }),
|
|
416
|
+
});
|
|
417
|
+
exports.GetEventOutputFilterSensitiveLog = GetEventOutputFilterSensitiveLog;
|
|
418
|
+
const MemoryContentFilterSensitiveLog = (obj) => {
|
|
419
|
+
if (obj.text !== undefined)
|
|
420
|
+
return { text: smithy_client_1.SENSITIVE_STRING };
|
|
421
|
+
if (obj.$unknown !== undefined)
|
|
422
|
+
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
423
|
+
};
|
|
424
|
+
exports.MemoryContentFilterSensitiveLog = MemoryContentFilterSensitiveLog;
|
|
425
|
+
const MemoryRecordFilterSensitiveLog = (obj) => ({
|
|
426
|
+
...obj,
|
|
427
|
+
...(obj.content && { content: (0, exports.MemoryContentFilterSensitiveLog)(obj.content) }),
|
|
428
|
+
});
|
|
429
|
+
exports.MemoryRecordFilterSensitiveLog = MemoryRecordFilterSensitiveLog;
|
|
430
|
+
const GetMemoryRecordOutputFilterSensitiveLog = (obj) => ({
|
|
431
|
+
...obj,
|
|
432
|
+
...(obj.memoryRecord && { memoryRecord: (0, exports.MemoryRecordFilterSensitiveLog)(obj.memoryRecord) }),
|
|
433
|
+
});
|
|
434
|
+
exports.GetMemoryRecordOutputFilterSensitiveLog = GetMemoryRecordOutputFilterSensitiveLog;
|
|
435
|
+
const ListEventsOutputFilterSensitiveLog = (obj) => ({
|
|
436
|
+
...obj,
|
|
437
|
+
...(obj.events && { events: obj.events.map((item) => (0, exports.EventFilterSensitiveLog)(item)) }),
|
|
438
|
+
});
|
|
439
|
+
exports.ListEventsOutputFilterSensitiveLog = ListEventsOutputFilterSensitiveLog;
|
|
440
|
+
const MemoryRecordSummaryFilterSensitiveLog = (obj) => ({
|
|
441
|
+
...obj,
|
|
442
|
+
...(obj.content && { content: (0, exports.MemoryContentFilterSensitiveLog)(obj.content) }),
|
|
443
|
+
});
|
|
444
|
+
exports.MemoryRecordSummaryFilterSensitiveLog = MemoryRecordSummaryFilterSensitiveLog;
|
|
445
|
+
const ListMemoryRecordsOutputFilterSensitiveLog = (obj) => ({
|
|
446
|
+
...obj,
|
|
447
|
+
...(obj.memoryRecordSummaries && {
|
|
448
|
+
memoryRecordSummaries: obj.memoryRecordSummaries.map((item) => (0, exports.MemoryRecordSummaryFilterSensitiveLog)(item)),
|
|
449
|
+
}),
|
|
450
|
+
});
|
|
451
|
+
exports.ListMemoryRecordsOutputFilterSensitiveLog = ListMemoryRecordsOutputFilterSensitiveLog;
|
|
452
|
+
const SearchCriteriaFilterSensitiveLog = (obj) => ({
|
|
453
|
+
...obj,
|
|
454
|
+
...(obj.searchQuery && { searchQuery: smithy_client_1.SENSITIVE_STRING }),
|
|
455
|
+
});
|
|
456
|
+
exports.SearchCriteriaFilterSensitiveLog = SearchCriteriaFilterSensitiveLog;
|
|
457
|
+
const RetrieveMemoryRecordsInputFilterSensitiveLog = (obj) => ({
|
|
458
|
+
...obj,
|
|
459
|
+
...(obj.searchCriteria && { searchCriteria: (0, exports.SearchCriteriaFilterSensitiveLog)(obj.searchCriteria) }),
|
|
460
|
+
});
|
|
461
|
+
exports.RetrieveMemoryRecordsInputFilterSensitiveLog = RetrieveMemoryRecordsInputFilterSensitiveLog;
|
|
462
|
+
const RetrieveMemoryRecordsOutputFilterSensitiveLog = (obj) => ({
|
|
463
|
+
...obj,
|
|
464
|
+
...(obj.memoryRecordSummaries && {
|
|
465
|
+
memoryRecordSummaries: obj.memoryRecordSummaries.map((item) => (0, exports.MemoryRecordSummaryFilterSensitiveLog)(item)),
|
|
466
|
+
}),
|
|
467
|
+
});
|
|
468
|
+
exports.RetrieveMemoryRecordsOutputFilterSensitiveLog = RetrieveMemoryRecordsOutputFilterSensitiveLog;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListActors = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
5
|
+
const BedrockAgentCoreClient_1 = require("../BedrockAgentCoreClient");
|
|
6
|
+
const ListActorsCommand_1 = require("../commands/ListActorsCommand");
|
|
7
|
+
exports.paginateListActors = (0, core_1.createPaginator)(BedrockAgentCoreClient_1.BedrockAgentCoreClient, ListActorsCommand_1.ListActorsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListEvents = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
5
|
+
const BedrockAgentCoreClient_1 = require("../BedrockAgentCoreClient");
|
|
6
|
+
const ListEventsCommand_1 = require("../commands/ListEventsCommand");
|
|
7
|
+
exports.paginateListEvents = (0, core_1.createPaginator)(BedrockAgentCoreClient_1.BedrockAgentCoreClient, ListEventsCommand_1.ListEventsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListMemoryRecords = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
5
|
+
const BedrockAgentCoreClient_1 = require("../BedrockAgentCoreClient");
|
|
6
|
+
const ListMemoryRecordsCommand_1 = require("../commands/ListMemoryRecordsCommand");
|
|
7
|
+
exports.paginateListMemoryRecords = (0, core_1.createPaginator)(BedrockAgentCoreClient_1.BedrockAgentCoreClient, ListMemoryRecordsCommand_1.ListMemoryRecordsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListSessions = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
5
|
+
const BedrockAgentCoreClient_1 = require("../BedrockAgentCoreClient");
|
|
6
|
+
const ListSessionsCommand_1 = require("../commands/ListSessionsCommand");
|
|
7
|
+
exports.paginateListSessions = (0, core_1.createPaginator)(BedrockAgentCoreClient_1.BedrockAgentCoreClient, ListSessionsCommand_1.ListSessionsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateRetrieveMemoryRecords = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
5
|
+
const BedrockAgentCoreClient_1 = require("../BedrockAgentCoreClient");
|
|
6
|
+
const RetrieveMemoryRecordsCommand_1 = require("../commands/RetrieveMemoryRecordsCommand");
|
|
7
|
+
exports.paginateRetrieveMemoryRecords = (0, core_1.createPaginator)(BedrockAgentCoreClient_1.BedrockAgentCoreClient, RetrieveMemoryRecordsCommand_1.RetrieveMemoryRecordsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./Interfaces"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./ListActorsPaginator"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./ListEventsPaginator"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./ListMemoryRecordsPaginator"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./ListSessionsPaginator"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./RetrieveMemoryRecordsPaginator"), exports);
|