@aws-sdk/client-bedrock-agentcore-control 3.891.0 → 3.894.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 +25 -1
- package/dist-cjs/index.js +5139 -11
- package/dist-es/BedrockAgentCoreControl.js +6 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +22 -0
- package/dist-es/commands/TagResourceCommand.js +22 -0
- package/dist-es/commands/UntagResourceCommand.js +22 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +49 -35
- package/dist-es/protocols/Aws_restJson1.js +88 -9
- package/dist-types/BedrockAgentCoreControl.d.ts +22 -1
- package/dist-types/BedrockAgentCoreControlClient.d.ts +6 -3
- package/dist-types/commands/CreateAgentRuntimeCommand.d.ts +19 -3
- package/dist-types/commands/CreateAgentRuntimeEndpointCommand.d.ts +4 -1
- package/dist-types/commands/CreateBrowserCommand.d.ts +12 -1
- package/dist-types/commands/CreateCodeInterpreterCommand.d.ts +12 -1
- package/dist-types/commands/CreateGatewayTargetCommand.d.ts +1 -1
- package/dist-types/commands/CreateMemoryCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAgentRuntimeCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAgentRuntimeEndpointCommand.d.ts +1 -1
- package/dist-types/commands/DeleteGatewayCommand.d.ts +1 -1
- package/dist-types/commands/DeleteGatewayTargetCommand.d.ts +1 -1
- package/dist-types/commands/DeleteMemoryCommand.d.ts +1 -1
- package/dist-types/commands/GetAgentRuntimeCommand.d.ts +16 -3
- package/dist-types/commands/GetBrowserCommand.d.ts +10 -1
- package/dist-types/commands/GetCodeInterpreterCommand.d.ts +10 -1
- package/dist-types/commands/GetGatewayTargetCommand.d.ts +1 -1
- package/dist-types/commands/GetMemoryCommand.d.ts +1 -1
- package/dist-types/commands/ListAgentRuntimeEndpointsCommand.d.ts +2 -2
- package/dist-types/commands/ListAgentRuntimeVersionsCommand.d.ts +2 -2
- package/dist-types/commands/ListAgentRuntimesCommand.d.ts +2 -2
- package/dist-types/commands/ListGatewayTargetsCommand.d.ts +1 -1
- package/dist-types/commands/ListGatewaysCommand.d.ts +1 -1
- package/dist-types/commands/ListMemoriesCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +91 -0
- package/dist-types/commands/TagResourceCommand.d.ts +93 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +90 -0
- package/dist-types/commands/UpdateAgentRuntimeCommand.d.ts +15 -2
- package/dist-types/commands/UpdateAgentRuntimeEndpointCommand.d.ts +1 -1
- package/dist-types/commands/UpdateGatewayCommand.d.ts +1 -1
- package/dist-types/commands/UpdateGatewayTargetCommand.d.ts +1 -1
- package/dist-types/commands/UpdateMemoryCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/index.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +547 -378
- package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
- package/dist-types/ts3.4/BedrockAgentCoreControl.d.ts +51 -0
- package/dist-types/ts3.4/BedrockAgentCoreControlClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +133 -79
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +36 -0
- package/package.json +19 -19
- package/dist-cjs/BedrockAgentCoreControl.js +0 -113
- package/dist-cjs/BedrockAgentCoreControlClient.js +0 -52
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +0 -43
- package/dist-cjs/commands/CreateAgentRuntimeCommand.js +0 -27
- package/dist-cjs/commands/CreateAgentRuntimeEndpointCommand.js +0 -27
- package/dist-cjs/commands/CreateApiKeyCredentialProviderCommand.js +0 -27
- package/dist-cjs/commands/CreateBrowserCommand.js +0 -27
- package/dist-cjs/commands/CreateCodeInterpreterCommand.js +0 -27
- package/dist-cjs/commands/CreateGatewayCommand.js +0 -27
- package/dist-cjs/commands/CreateGatewayTargetCommand.js +0 -27
- package/dist-cjs/commands/CreateMemoryCommand.js +0 -27
- package/dist-cjs/commands/CreateOauth2CredentialProviderCommand.js +0 -27
- package/dist-cjs/commands/CreateWorkloadIdentityCommand.js +0 -26
- package/dist-cjs/commands/DeleteAgentRuntimeCommand.js +0 -26
- package/dist-cjs/commands/DeleteAgentRuntimeEndpointCommand.js +0 -27
- package/dist-cjs/commands/DeleteApiKeyCredentialProviderCommand.js +0 -26
- package/dist-cjs/commands/DeleteBrowserCommand.js +0 -26
- package/dist-cjs/commands/DeleteCodeInterpreterCommand.js +0 -26
- package/dist-cjs/commands/DeleteGatewayCommand.js +0 -26
- package/dist-cjs/commands/DeleteGatewayTargetCommand.js +0 -26
- package/dist-cjs/commands/DeleteMemoryCommand.js +0 -26
- package/dist-cjs/commands/DeleteOauth2CredentialProviderCommand.js +0 -26
- package/dist-cjs/commands/DeleteWorkloadIdentityCommand.js +0 -26
- package/dist-cjs/commands/GetAgentRuntimeCommand.js +0 -27
- package/dist-cjs/commands/GetAgentRuntimeEndpointCommand.js +0 -27
- package/dist-cjs/commands/GetApiKeyCredentialProviderCommand.js +0 -26
- package/dist-cjs/commands/GetBrowserCommand.js +0 -27
- package/dist-cjs/commands/GetCodeInterpreterCommand.js +0 -27
- package/dist-cjs/commands/GetGatewayCommand.js +0 -27
- package/dist-cjs/commands/GetGatewayTargetCommand.js +0 -27
- package/dist-cjs/commands/GetMemoryCommand.js +0 -27
- package/dist-cjs/commands/GetOauth2CredentialProviderCommand.js +0 -26
- package/dist-cjs/commands/GetTokenVaultCommand.js +0 -26
- package/dist-cjs/commands/GetWorkloadIdentityCommand.js +0 -26
- package/dist-cjs/commands/ListAgentRuntimeEndpointsCommand.js +0 -27
- package/dist-cjs/commands/ListAgentRuntimeVersionsCommand.js +0 -27
- package/dist-cjs/commands/ListAgentRuntimesCommand.js +0 -27
- package/dist-cjs/commands/ListApiKeyCredentialProvidersCommand.js +0 -26
- package/dist-cjs/commands/ListBrowsersCommand.js +0 -27
- package/dist-cjs/commands/ListCodeInterpretersCommand.js +0 -27
- package/dist-cjs/commands/ListGatewayTargetsCommand.js +0 -27
- package/dist-cjs/commands/ListGatewaysCommand.js +0 -27
- package/dist-cjs/commands/ListMemoriesCommand.js +0 -26
- package/dist-cjs/commands/ListOauth2CredentialProvidersCommand.js +0 -26
- package/dist-cjs/commands/ListWorkloadIdentitiesCommand.js +0 -26
- package/dist-cjs/commands/SetTokenVaultCMKCommand.js +0 -26
- package/dist-cjs/commands/UpdateAgentRuntimeCommand.js +0 -27
- package/dist-cjs/commands/UpdateAgentRuntimeEndpointCommand.js +0 -27
- package/dist-cjs/commands/UpdateApiKeyCredentialProviderCommand.js +0 -27
- package/dist-cjs/commands/UpdateGatewayCommand.js +0 -27
- package/dist-cjs/commands/UpdateGatewayTargetCommand.js +0 -27
- package/dist-cjs/commands/UpdateMemoryCommand.js +0 -27
- package/dist-cjs/commands/UpdateOauth2CredentialProviderCommand.js +0 -27
- package/dist-cjs/commands/UpdateWorkloadIdentityCommand.js +0 -26
- package/dist-cjs/commands/index.js +0 -54
- package/dist-cjs/endpoint/EndpointParameters.js +0 -17
- package/dist-cjs/extensionConfiguration.js +0 -2
- package/dist-cjs/models/BedrockAgentCoreControlServiceException.js +0 -12
- package/dist-cjs/models/index.js +0 -4
- package/dist-cjs/models/models_0.js +0 -1213
- package/dist-cjs/pagination/Interfaces.js +0 -2
- package/dist-cjs/pagination/ListAgentRuntimeEndpointsPaginator.js +0 -7
- package/dist-cjs/pagination/ListAgentRuntimeVersionsPaginator.js +0 -7
- package/dist-cjs/pagination/ListAgentRuntimesPaginator.js +0 -7
- package/dist-cjs/pagination/ListApiKeyCredentialProvidersPaginator.js +0 -7
- package/dist-cjs/pagination/ListBrowsersPaginator.js +0 -7
- package/dist-cjs/pagination/ListCodeInterpretersPaginator.js +0 -7
- package/dist-cjs/pagination/ListGatewayTargetsPaginator.js +0 -7
- package/dist-cjs/pagination/ListGatewaysPaginator.js +0 -7
- package/dist-cjs/pagination/ListMemoriesPaginator.js +0 -7
- package/dist-cjs/pagination/ListOauth2CredentialProvidersPaginator.js +0 -7
- package/dist-cjs/pagination/ListWorkloadIdentitiesPaginator.js +0 -7
- package/dist-cjs/pagination/index.js +0 -15
- package/dist-cjs/protocols/Aws_restJson1.js +0 -2325
- package/dist-cjs/runtimeExtensions.js +0 -13
- package/dist-cjs/waiters/index.js +0 -4
- package/dist-cjs/waiters/waitForMemoryCreated.js +0 -54
|
@@ -1,1213 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ModifyConsolidationConfiguration = exports.CustomConsolidationConfigurationInput = exports.ThrottledException = exports.ServiceException = exports.MemoryStrategyType = exports.MemoryStrategyStatus = exports.OverrideType = exports.ExtractionConfiguration = exports.CustomExtractionConfiguration = exports.ConsolidationConfiguration = exports.CustomConsolidationConfiguration = exports.MemoryStatus = exports.MemoryStrategyInput = exports.CustomConfigurationInput = exports.KeyType = exports.TargetStatus = exports.ApiSchemaConfiguration = exports.SchemaType = exports.CredentialProviderType = exports.CredentialProvider = exports.ApiKeyCredentialLocation = exports.GatewayStatus = exports.GatewayProtocolType = exports.GatewayProtocolConfiguration = exports.SearchType = exports.ExceptionLevel = exports.AuthorizerType = exports.CodeInterpreterStatus = exports.CodeInterpreterNetworkMode = exports.ResourceType = exports.BrowserStatus = exports.BrowserNetworkMode = exports.UnauthorizedException = exports.ResourceLimitExceededException = exports.EncryptionFailure = exports.DecryptionFailure = exports.ServerProtocol = exports.NetworkMode = exports.AuthorizerConfiguration = exports.ValidationException = exports.ValidationExceptionReason = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ConflictException = exports.AgentEndpointStatus = exports.AgentArtifact = exports.AgentStatus = exports.AccessDeniedException = void 0;
|
|
4
|
-
exports.SummaryOverrideConsolidationConfigurationInputFilterSensitiveLog = exports.SemanticOverrideConfigurationInputFilterSensitiveLog = exports.SemanticOverrideExtractionConfigurationInputFilterSensitiveLog = exports.SemanticOverrideConsolidationConfigurationInputFilterSensitiveLog = exports.ListGatewayTargetsResponseFilterSensitiveLog = exports.TargetSummaryFilterSensitiveLog = exports.ApiSchemaConfigurationFilterSensitiveLog = exports.CredentialProviderConfigurationFilterSensitiveLog = exports.CredentialProviderFilterSensitiveLog = exports.OAuthCredentialProviderFilterSensitiveLog = exports.UpdateGatewayResponseFilterSensitiveLog = exports.UpdateGatewayRequestFilterSensitiveLog = exports.ListGatewaysResponseFilterSensitiveLog = exports.GatewaySummaryFilterSensitiveLog = exports.GetGatewayResponseFilterSensitiveLog = exports.CreateGatewayResponseFilterSensitiveLog = exports.CreateGatewayRequestFilterSensitiveLog = exports.ListCodeInterpretersResponseFilterSensitiveLog = exports.CodeInterpreterSummaryFilterSensitiveLog = exports.GetCodeInterpreterResponseFilterSensitiveLog = exports.CreateCodeInterpreterRequestFilterSensitiveLog = exports.ListBrowsersResponseFilterSensitiveLog = exports.BrowserSummaryFilterSensitiveLog = exports.GetBrowserResponseFilterSensitiveLog = exports.CreateBrowserRequestFilterSensitiveLog = exports.UpdateApiKeyCredentialProviderRequestFilterSensitiveLog = exports.CreateApiKeyCredentialProviderRequestFilterSensitiveLog = exports.UpdateAgentRuntimeRequestFilterSensitiveLog = exports.ListAgentRuntimeVersionsResponseFilterSensitiveLog = exports.ListAgentRuntimesResponseFilterSensitiveLog = exports.GetAgentRuntimeResponseFilterSensitiveLog = exports.CreateAgentRuntimeRequestFilterSensitiveLog = exports.UpdateAgentRuntimeEndpointRequestFilterSensitiveLog = exports.ListAgentRuntimeEndpointsResponseFilterSensitiveLog = exports.GetAgentRuntimeEndpointResponseFilterSensitiveLog = exports.GetAgentRuntimeEndpointRequestFilterSensitiveLog = exports.DeleteAgentRuntimeEndpointRequestFilterSensitiveLog = exports.CreateAgentRuntimeEndpointRequestFilterSensitiveLog = exports.AgentEndpointFilterSensitiveLog = exports.AgentFilterSensitiveLog = exports.TargetConfiguration = exports.McpTargetConfiguration = exports.ToolSchema = exports.ConcurrentModificationException = exports.Oauth2ProviderConfigOutput = exports.Oauth2ProviderConfigInput = exports.Oauth2Discovery = exports.CredentialProviderVendorType = exports.ModifyExtractionConfiguration = exports.CustomExtractionConfigurationInput = void 0;
|
|
5
|
-
exports.UpdateGatewayTargetResponseFilterSensitiveLog = exports.UpdateGatewayTargetRequestFilterSensitiveLog = exports.GetGatewayTargetResponseFilterSensitiveLog = exports.CreateGatewayTargetResponseFilterSensitiveLog = exports.CreateGatewayTargetRequestFilterSensitiveLog = exports.TargetConfigurationFilterSensitiveLog = exports.McpTargetConfigurationFilterSensitiveLog = exports.UpdateOauth2CredentialProviderRequestFilterSensitiveLog = exports.CreateOauth2CredentialProviderRequestFilterSensitiveLog = exports.Oauth2ProviderConfigInputFilterSensitiveLog = exports.SlackOauth2ProviderConfigInputFilterSensitiveLog = exports.SalesforceOauth2ProviderConfigInputFilterSensitiveLog = exports.MicrosoftOauth2ProviderConfigInputFilterSensitiveLog = exports.GoogleOauth2ProviderConfigInputFilterSensitiveLog = exports.GithubOauth2ProviderConfigInputFilterSensitiveLog = exports.CustomOauth2ProviderConfigInputFilterSensitiveLog = exports.UpdateMemoryOutputFilterSensitiveLog = exports.UpdateMemoryInputFilterSensitiveLog = exports.ModifyMemoryStrategiesFilterSensitiveLog = exports.ModifyMemoryStrategyInputFilterSensitiveLog = exports.ModifyStrategyConfigurationFilterSensitiveLog = exports.ModifyExtractionConfigurationFilterSensitiveLog = exports.CustomExtractionConfigurationInputFilterSensitiveLog = exports.ModifyConsolidationConfigurationFilterSensitiveLog = exports.CustomConsolidationConfigurationInputFilterSensitiveLog = exports.GetMemoryOutputFilterSensitiveLog = exports.CreateMemoryOutputFilterSensitiveLog = exports.MemoryFilterSensitiveLog = exports.MemoryStrategyFilterSensitiveLog = exports.StrategyConfigurationFilterSensitiveLog = exports.ExtractionConfigurationFilterSensitiveLog = exports.CustomExtractionConfigurationFilterSensitiveLog = exports.UserPreferenceExtractionOverrideFilterSensitiveLog = exports.SemanticExtractionOverrideFilterSensitiveLog = exports.ConsolidationConfigurationFilterSensitiveLog = exports.CustomConsolidationConfigurationFilterSensitiveLog = exports.UserPreferenceConsolidationOverrideFilterSensitiveLog = exports.SummaryConsolidationOverrideFilterSensitiveLog = exports.SemanticConsolidationOverrideFilterSensitiveLog = exports.CreateMemoryInputFilterSensitiveLog = exports.MemoryStrategyInputFilterSensitiveLog = exports.UserPreferenceMemoryStrategyInputFilterSensitiveLog = exports.SummaryMemoryStrategyInputFilterSensitiveLog = exports.SemanticMemoryStrategyInputFilterSensitiveLog = exports.CustomMemoryStrategyInputFilterSensitiveLog = exports.CustomConfigurationInputFilterSensitiveLog = exports.UserPreferenceOverrideConfigurationInputFilterSensitiveLog = exports.UserPreferenceOverrideExtractionConfigurationInputFilterSensitiveLog = exports.UserPreferenceOverrideConsolidationConfigurationInputFilterSensitiveLog = exports.SummaryOverrideConfigurationInputFilterSensitiveLog = void 0;
|
|
6
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
-
const BedrockAgentCoreControlServiceException_1 = require("./BedrockAgentCoreControlServiceException");
|
|
8
|
-
class AccessDeniedException extends BedrockAgentCoreControlServiceException_1.BedrockAgentCoreControlServiceException {
|
|
9
|
-
name = "AccessDeniedException";
|
|
10
|
-
$fault = "client";
|
|
11
|
-
constructor(opts) {
|
|
12
|
-
super({
|
|
13
|
-
name: "AccessDeniedException",
|
|
14
|
-
$fault: "client",
|
|
15
|
-
...opts,
|
|
16
|
-
});
|
|
17
|
-
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
exports.AccessDeniedException = AccessDeniedException;
|
|
21
|
-
exports.AgentStatus = {
|
|
22
|
-
CREATE_FAILED: "CREATE_FAILED",
|
|
23
|
-
CREATING: "CREATING",
|
|
24
|
-
DELETING: "DELETING",
|
|
25
|
-
READY: "READY",
|
|
26
|
-
UPDATE_FAILED: "UPDATE_FAILED",
|
|
27
|
-
UPDATING: "UPDATING",
|
|
28
|
-
};
|
|
29
|
-
var AgentArtifact;
|
|
30
|
-
(function (AgentArtifact) {
|
|
31
|
-
AgentArtifact.visit = (value, visitor) => {
|
|
32
|
-
if (value.containerConfiguration !== undefined)
|
|
33
|
-
return visitor.containerConfiguration(value.containerConfiguration);
|
|
34
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
35
|
-
};
|
|
36
|
-
})(AgentArtifact || (exports.AgentArtifact = AgentArtifact = {}));
|
|
37
|
-
exports.AgentEndpointStatus = {
|
|
38
|
-
CREATE_FAILED: "CREATE_FAILED",
|
|
39
|
-
CREATING: "CREATING",
|
|
40
|
-
DELETING: "DELETING",
|
|
41
|
-
READY: "READY",
|
|
42
|
-
UPDATE_FAILED: "UPDATE_FAILED",
|
|
43
|
-
UPDATING: "UPDATING",
|
|
44
|
-
};
|
|
45
|
-
class ConflictException extends BedrockAgentCoreControlServiceException_1.BedrockAgentCoreControlServiceException {
|
|
46
|
-
name = "ConflictException";
|
|
47
|
-
$fault = "client";
|
|
48
|
-
constructor(opts) {
|
|
49
|
-
super({
|
|
50
|
-
name: "ConflictException",
|
|
51
|
-
$fault: "client",
|
|
52
|
-
...opts,
|
|
53
|
-
});
|
|
54
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
exports.ConflictException = ConflictException;
|
|
58
|
-
class InternalServerException extends BedrockAgentCoreControlServiceException_1.BedrockAgentCoreControlServiceException {
|
|
59
|
-
name = "InternalServerException";
|
|
60
|
-
$fault = "server";
|
|
61
|
-
constructor(opts) {
|
|
62
|
-
super({
|
|
63
|
-
name: "InternalServerException",
|
|
64
|
-
$fault: "server",
|
|
65
|
-
...opts,
|
|
66
|
-
});
|
|
67
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
exports.InternalServerException = InternalServerException;
|
|
71
|
-
class ResourceNotFoundException extends BedrockAgentCoreControlServiceException_1.BedrockAgentCoreControlServiceException {
|
|
72
|
-
name = "ResourceNotFoundException";
|
|
73
|
-
$fault = "client";
|
|
74
|
-
constructor(opts) {
|
|
75
|
-
super({
|
|
76
|
-
name: "ResourceNotFoundException",
|
|
77
|
-
$fault: "client",
|
|
78
|
-
...opts,
|
|
79
|
-
});
|
|
80
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
84
|
-
class ServiceQuotaExceededException extends BedrockAgentCoreControlServiceException_1.BedrockAgentCoreControlServiceException {
|
|
85
|
-
name = "ServiceQuotaExceededException";
|
|
86
|
-
$fault = "client";
|
|
87
|
-
constructor(opts) {
|
|
88
|
-
super({
|
|
89
|
-
name: "ServiceQuotaExceededException",
|
|
90
|
-
$fault: "client",
|
|
91
|
-
...opts,
|
|
92
|
-
});
|
|
93
|
-
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
97
|
-
class ThrottlingException extends BedrockAgentCoreControlServiceException_1.BedrockAgentCoreControlServiceException {
|
|
98
|
-
name = "ThrottlingException";
|
|
99
|
-
$fault = "client";
|
|
100
|
-
constructor(opts) {
|
|
101
|
-
super({
|
|
102
|
-
name: "ThrottlingException",
|
|
103
|
-
$fault: "client",
|
|
104
|
-
...opts,
|
|
105
|
-
});
|
|
106
|
-
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
exports.ThrottlingException = ThrottlingException;
|
|
110
|
-
exports.ValidationExceptionReason = {
|
|
111
|
-
CANNOT_PARSE: "CannotParse",
|
|
112
|
-
FIELD_VALIDATION_FAILED: "FieldValidationFailed",
|
|
113
|
-
IDEMPOTENT_PARAMETER_MISMATCH_EXCEPTION: "IdempotentParameterMismatchException",
|
|
114
|
-
RESOURCE_CONFLICT: "ResourceConflict",
|
|
115
|
-
ROOT_EVENT_IN_OTHER_SESSION: "EventInOtherSession",
|
|
116
|
-
};
|
|
117
|
-
class ValidationException extends BedrockAgentCoreControlServiceException_1.BedrockAgentCoreControlServiceException {
|
|
118
|
-
name = "ValidationException";
|
|
119
|
-
$fault = "client";
|
|
120
|
-
reason;
|
|
121
|
-
fieldList;
|
|
122
|
-
constructor(opts) {
|
|
123
|
-
super({
|
|
124
|
-
name: "ValidationException",
|
|
125
|
-
$fault: "client",
|
|
126
|
-
...opts,
|
|
127
|
-
});
|
|
128
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
129
|
-
this.reason = opts.reason;
|
|
130
|
-
this.fieldList = opts.fieldList;
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
exports.ValidationException = ValidationException;
|
|
134
|
-
var AuthorizerConfiguration;
|
|
135
|
-
(function (AuthorizerConfiguration) {
|
|
136
|
-
AuthorizerConfiguration.visit = (value, visitor) => {
|
|
137
|
-
if (value.customJWTAuthorizer !== undefined)
|
|
138
|
-
return visitor.customJWTAuthorizer(value.customJWTAuthorizer);
|
|
139
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
140
|
-
};
|
|
141
|
-
})(AuthorizerConfiguration || (exports.AuthorizerConfiguration = AuthorizerConfiguration = {}));
|
|
142
|
-
exports.NetworkMode = {
|
|
143
|
-
PUBLIC: "PUBLIC",
|
|
144
|
-
};
|
|
145
|
-
exports.ServerProtocol = {
|
|
146
|
-
HTTP: "HTTP",
|
|
147
|
-
MCP: "MCP",
|
|
148
|
-
};
|
|
149
|
-
class DecryptionFailure extends BedrockAgentCoreControlServiceException_1.BedrockAgentCoreControlServiceException {
|
|
150
|
-
name = "DecryptionFailure";
|
|
151
|
-
$fault = "client";
|
|
152
|
-
constructor(opts) {
|
|
153
|
-
super({
|
|
154
|
-
name: "DecryptionFailure",
|
|
155
|
-
$fault: "client",
|
|
156
|
-
...opts,
|
|
157
|
-
});
|
|
158
|
-
Object.setPrototypeOf(this, DecryptionFailure.prototype);
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
exports.DecryptionFailure = DecryptionFailure;
|
|
162
|
-
class EncryptionFailure extends BedrockAgentCoreControlServiceException_1.BedrockAgentCoreControlServiceException {
|
|
163
|
-
name = "EncryptionFailure";
|
|
164
|
-
$fault = "client";
|
|
165
|
-
constructor(opts) {
|
|
166
|
-
super({
|
|
167
|
-
name: "EncryptionFailure",
|
|
168
|
-
$fault: "client",
|
|
169
|
-
...opts,
|
|
170
|
-
});
|
|
171
|
-
Object.setPrototypeOf(this, EncryptionFailure.prototype);
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
exports.EncryptionFailure = EncryptionFailure;
|
|
175
|
-
class ResourceLimitExceededException extends BedrockAgentCoreControlServiceException_1.BedrockAgentCoreControlServiceException {
|
|
176
|
-
name = "ResourceLimitExceededException";
|
|
177
|
-
$fault = "client";
|
|
178
|
-
constructor(opts) {
|
|
179
|
-
super({
|
|
180
|
-
name: "ResourceLimitExceededException",
|
|
181
|
-
$fault: "client",
|
|
182
|
-
...opts,
|
|
183
|
-
});
|
|
184
|
-
Object.setPrototypeOf(this, ResourceLimitExceededException.prototype);
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
exports.ResourceLimitExceededException = ResourceLimitExceededException;
|
|
188
|
-
class UnauthorizedException extends BedrockAgentCoreControlServiceException_1.BedrockAgentCoreControlServiceException {
|
|
189
|
-
name = "UnauthorizedException";
|
|
190
|
-
$fault = "client";
|
|
191
|
-
constructor(opts) {
|
|
192
|
-
super({
|
|
193
|
-
name: "UnauthorizedException",
|
|
194
|
-
$fault: "client",
|
|
195
|
-
...opts,
|
|
196
|
-
});
|
|
197
|
-
Object.setPrototypeOf(this, UnauthorizedException.prototype);
|
|
198
|
-
}
|
|
199
|
-
}
|
|
200
|
-
exports.UnauthorizedException = UnauthorizedException;
|
|
201
|
-
exports.BrowserNetworkMode = {
|
|
202
|
-
PUBLIC: "PUBLIC",
|
|
203
|
-
};
|
|
204
|
-
exports.BrowserStatus = {
|
|
205
|
-
CREATE_FAILED: "CREATE_FAILED",
|
|
206
|
-
CREATING: "CREATING",
|
|
207
|
-
DELETED: "DELETED",
|
|
208
|
-
DELETE_FAILED: "DELETE_FAILED",
|
|
209
|
-
DELETING: "DELETING",
|
|
210
|
-
READY: "READY",
|
|
211
|
-
};
|
|
212
|
-
exports.ResourceType = {
|
|
213
|
-
CUSTOM: "CUSTOM",
|
|
214
|
-
SYSTEM: "SYSTEM",
|
|
215
|
-
};
|
|
216
|
-
exports.CodeInterpreterNetworkMode = {
|
|
217
|
-
PUBLIC: "PUBLIC",
|
|
218
|
-
SANDBOX: "SANDBOX",
|
|
219
|
-
};
|
|
220
|
-
exports.CodeInterpreterStatus = {
|
|
221
|
-
CREATE_FAILED: "CREATE_FAILED",
|
|
222
|
-
CREATING: "CREATING",
|
|
223
|
-
DELETED: "DELETED",
|
|
224
|
-
DELETE_FAILED: "DELETE_FAILED",
|
|
225
|
-
DELETING: "DELETING",
|
|
226
|
-
READY: "READY",
|
|
227
|
-
};
|
|
228
|
-
exports.AuthorizerType = {
|
|
229
|
-
CUSTOM_JWT: "CUSTOM_JWT",
|
|
230
|
-
};
|
|
231
|
-
exports.ExceptionLevel = {
|
|
232
|
-
DEBUG: "DEBUG",
|
|
233
|
-
};
|
|
234
|
-
exports.SearchType = {
|
|
235
|
-
SEMANTIC: "SEMANTIC",
|
|
236
|
-
};
|
|
237
|
-
var GatewayProtocolConfiguration;
|
|
238
|
-
(function (GatewayProtocolConfiguration) {
|
|
239
|
-
GatewayProtocolConfiguration.visit = (value, visitor) => {
|
|
240
|
-
if (value.mcp !== undefined)
|
|
241
|
-
return visitor.mcp(value.mcp);
|
|
242
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
243
|
-
};
|
|
244
|
-
})(GatewayProtocolConfiguration || (exports.GatewayProtocolConfiguration = GatewayProtocolConfiguration = {}));
|
|
245
|
-
exports.GatewayProtocolType = {
|
|
246
|
-
MCP: "MCP",
|
|
247
|
-
};
|
|
248
|
-
exports.GatewayStatus = {
|
|
249
|
-
CREATING: "CREATING",
|
|
250
|
-
DELETING: "DELETING",
|
|
251
|
-
FAILED: "FAILED",
|
|
252
|
-
READY: "READY",
|
|
253
|
-
UPDATE_UNSUCCESSFUL: "UPDATE_UNSUCCESSFUL",
|
|
254
|
-
UPDATING: "UPDATING",
|
|
255
|
-
};
|
|
256
|
-
exports.ApiKeyCredentialLocation = {
|
|
257
|
-
HEADER: "HEADER",
|
|
258
|
-
QUERY_PARAMETER: "QUERY_PARAMETER",
|
|
259
|
-
};
|
|
260
|
-
var CredentialProvider;
|
|
261
|
-
(function (CredentialProvider) {
|
|
262
|
-
CredentialProvider.visit = (value, visitor) => {
|
|
263
|
-
if (value.oauthCredentialProvider !== undefined)
|
|
264
|
-
return visitor.oauthCredentialProvider(value.oauthCredentialProvider);
|
|
265
|
-
if (value.apiKeyCredentialProvider !== undefined)
|
|
266
|
-
return visitor.apiKeyCredentialProvider(value.apiKeyCredentialProvider);
|
|
267
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
268
|
-
};
|
|
269
|
-
})(CredentialProvider || (exports.CredentialProvider = CredentialProvider = {}));
|
|
270
|
-
exports.CredentialProviderType = {
|
|
271
|
-
API_KEY: "API_KEY",
|
|
272
|
-
GATEWAY_IAM_ROLE: "GATEWAY_IAM_ROLE",
|
|
273
|
-
OAUTH: "OAUTH",
|
|
274
|
-
};
|
|
275
|
-
exports.SchemaType = {
|
|
276
|
-
ARRAY: "array",
|
|
277
|
-
BOOLEAN: "boolean",
|
|
278
|
-
INTEGER: "integer",
|
|
279
|
-
NUMBER: "number",
|
|
280
|
-
OBJECT: "object",
|
|
281
|
-
STRING: "string",
|
|
282
|
-
};
|
|
283
|
-
var ApiSchemaConfiguration;
|
|
284
|
-
(function (ApiSchemaConfiguration) {
|
|
285
|
-
ApiSchemaConfiguration.visit = (value, visitor) => {
|
|
286
|
-
if (value.s3 !== undefined)
|
|
287
|
-
return visitor.s3(value.s3);
|
|
288
|
-
if (value.inlinePayload !== undefined)
|
|
289
|
-
return visitor.inlinePayload(value.inlinePayload);
|
|
290
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
291
|
-
};
|
|
292
|
-
})(ApiSchemaConfiguration || (exports.ApiSchemaConfiguration = ApiSchemaConfiguration = {}));
|
|
293
|
-
exports.TargetStatus = {
|
|
294
|
-
CREATING: "CREATING",
|
|
295
|
-
DELETING: "DELETING",
|
|
296
|
-
FAILED: "FAILED",
|
|
297
|
-
READY: "READY",
|
|
298
|
-
UPDATE_UNSUCCESSFUL: "UPDATE_UNSUCCESSFUL",
|
|
299
|
-
UPDATING: "UPDATING",
|
|
300
|
-
};
|
|
301
|
-
exports.KeyType = {
|
|
302
|
-
CustomerManagedKey: "CustomerManagedKey",
|
|
303
|
-
ServiceManagedKey: "ServiceManagedKey",
|
|
304
|
-
};
|
|
305
|
-
var CustomConfigurationInput;
|
|
306
|
-
(function (CustomConfigurationInput) {
|
|
307
|
-
CustomConfigurationInput.visit = (value, visitor) => {
|
|
308
|
-
if (value.semanticOverride !== undefined)
|
|
309
|
-
return visitor.semanticOverride(value.semanticOverride);
|
|
310
|
-
if (value.summaryOverride !== undefined)
|
|
311
|
-
return visitor.summaryOverride(value.summaryOverride);
|
|
312
|
-
if (value.userPreferenceOverride !== undefined)
|
|
313
|
-
return visitor.userPreferenceOverride(value.userPreferenceOverride);
|
|
314
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
315
|
-
};
|
|
316
|
-
})(CustomConfigurationInput || (exports.CustomConfigurationInput = CustomConfigurationInput = {}));
|
|
317
|
-
var MemoryStrategyInput;
|
|
318
|
-
(function (MemoryStrategyInput) {
|
|
319
|
-
MemoryStrategyInput.visit = (value, visitor) => {
|
|
320
|
-
if (value.semanticMemoryStrategy !== undefined)
|
|
321
|
-
return visitor.semanticMemoryStrategy(value.semanticMemoryStrategy);
|
|
322
|
-
if (value.summaryMemoryStrategy !== undefined)
|
|
323
|
-
return visitor.summaryMemoryStrategy(value.summaryMemoryStrategy);
|
|
324
|
-
if (value.userPreferenceMemoryStrategy !== undefined)
|
|
325
|
-
return visitor.userPreferenceMemoryStrategy(value.userPreferenceMemoryStrategy);
|
|
326
|
-
if (value.customMemoryStrategy !== undefined)
|
|
327
|
-
return visitor.customMemoryStrategy(value.customMemoryStrategy);
|
|
328
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
329
|
-
};
|
|
330
|
-
})(MemoryStrategyInput || (exports.MemoryStrategyInput = MemoryStrategyInput = {}));
|
|
331
|
-
exports.MemoryStatus = {
|
|
332
|
-
ACTIVE: "ACTIVE",
|
|
333
|
-
CREATING: "CREATING",
|
|
334
|
-
DELETING: "DELETING",
|
|
335
|
-
FAILED: "FAILED",
|
|
336
|
-
};
|
|
337
|
-
var CustomConsolidationConfiguration;
|
|
338
|
-
(function (CustomConsolidationConfiguration) {
|
|
339
|
-
CustomConsolidationConfiguration.visit = (value, visitor) => {
|
|
340
|
-
if (value.semanticConsolidationOverride !== undefined)
|
|
341
|
-
return visitor.semanticConsolidationOverride(value.semanticConsolidationOverride);
|
|
342
|
-
if (value.summaryConsolidationOverride !== undefined)
|
|
343
|
-
return visitor.summaryConsolidationOverride(value.summaryConsolidationOverride);
|
|
344
|
-
if (value.userPreferenceConsolidationOverride !== undefined)
|
|
345
|
-
return visitor.userPreferenceConsolidationOverride(value.userPreferenceConsolidationOverride);
|
|
346
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
347
|
-
};
|
|
348
|
-
})(CustomConsolidationConfiguration || (exports.CustomConsolidationConfiguration = CustomConsolidationConfiguration = {}));
|
|
349
|
-
var ConsolidationConfiguration;
|
|
350
|
-
(function (ConsolidationConfiguration) {
|
|
351
|
-
ConsolidationConfiguration.visit = (value, visitor) => {
|
|
352
|
-
if (value.customConsolidationConfiguration !== undefined)
|
|
353
|
-
return visitor.customConsolidationConfiguration(value.customConsolidationConfiguration);
|
|
354
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
355
|
-
};
|
|
356
|
-
})(ConsolidationConfiguration || (exports.ConsolidationConfiguration = ConsolidationConfiguration = {}));
|
|
357
|
-
var CustomExtractionConfiguration;
|
|
358
|
-
(function (CustomExtractionConfiguration) {
|
|
359
|
-
CustomExtractionConfiguration.visit = (value, visitor) => {
|
|
360
|
-
if (value.semanticExtractionOverride !== undefined)
|
|
361
|
-
return visitor.semanticExtractionOverride(value.semanticExtractionOverride);
|
|
362
|
-
if (value.userPreferenceExtractionOverride !== undefined)
|
|
363
|
-
return visitor.userPreferenceExtractionOverride(value.userPreferenceExtractionOverride);
|
|
364
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
365
|
-
};
|
|
366
|
-
})(CustomExtractionConfiguration || (exports.CustomExtractionConfiguration = CustomExtractionConfiguration = {}));
|
|
367
|
-
var ExtractionConfiguration;
|
|
368
|
-
(function (ExtractionConfiguration) {
|
|
369
|
-
ExtractionConfiguration.visit = (value, visitor) => {
|
|
370
|
-
if (value.customExtractionConfiguration !== undefined)
|
|
371
|
-
return visitor.customExtractionConfiguration(value.customExtractionConfiguration);
|
|
372
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
373
|
-
};
|
|
374
|
-
})(ExtractionConfiguration || (exports.ExtractionConfiguration = ExtractionConfiguration = {}));
|
|
375
|
-
exports.OverrideType = {
|
|
376
|
-
SEMANTIC_OVERRIDE: "SEMANTIC_OVERRIDE",
|
|
377
|
-
SUMMARY_OVERRIDE: "SUMMARY_OVERRIDE",
|
|
378
|
-
USER_PREFERENCE_OVERRIDE: "USER_PREFERENCE_OVERRIDE",
|
|
379
|
-
};
|
|
380
|
-
exports.MemoryStrategyStatus = {
|
|
381
|
-
ACTIVE: "ACTIVE",
|
|
382
|
-
CREATING: "CREATING",
|
|
383
|
-
DELETING: "DELETING",
|
|
384
|
-
FAILED: "FAILED",
|
|
385
|
-
};
|
|
386
|
-
exports.MemoryStrategyType = {
|
|
387
|
-
CUSTOM: "CUSTOM",
|
|
388
|
-
SEMANTIC: "SEMANTIC",
|
|
389
|
-
SUMMARIZATION: "SUMMARIZATION",
|
|
390
|
-
USER_PREFERENCE: "USER_PREFERENCE",
|
|
391
|
-
};
|
|
392
|
-
class ServiceException extends BedrockAgentCoreControlServiceException_1.BedrockAgentCoreControlServiceException {
|
|
393
|
-
name = "ServiceException";
|
|
394
|
-
$fault = "server";
|
|
395
|
-
$retryable = {};
|
|
396
|
-
constructor(opts) {
|
|
397
|
-
super({
|
|
398
|
-
name: "ServiceException",
|
|
399
|
-
$fault: "server",
|
|
400
|
-
...opts,
|
|
401
|
-
});
|
|
402
|
-
Object.setPrototypeOf(this, ServiceException.prototype);
|
|
403
|
-
}
|
|
404
|
-
}
|
|
405
|
-
exports.ServiceException = ServiceException;
|
|
406
|
-
class ThrottledException extends BedrockAgentCoreControlServiceException_1.BedrockAgentCoreControlServiceException {
|
|
407
|
-
name = "ThrottledException";
|
|
408
|
-
$fault = "client";
|
|
409
|
-
$retryable = {};
|
|
410
|
-
constructor(opts) {
|
|
411
|
-
super({
|
|
412
|
-
name: "ThrottledException",
|
|
413
|
-
$fault: "client",
|
|
414
|
-
...opts,
|
|
415
|
-
});
|
|
416
|
-
Object.setPrototypeOf(this, ThrottledException.prototype);
|
|
417
|
-
}
|
|
418
|
-
}
|
|
419
|
-
exports.ThrottledException = ThrottledException;
|
|
420
|
-
var CustomConsolidationConfigurationInput;
|
|
421
|
-
(function (CustomConsolidationConfigurationInput) {
|
|
422
|
-
CustomConsolidationConfigurationInput.visit = (value, visitor) => {
|
|
423
|
-
if (value.semanticConsolidationOverride !== undefined)
|
|
424
|
-
return visitor.semanticConsolidationOverride(value.semanticConsolidationOverride);
|
|
425
|
-
if (value.summaryConsolidationOverride !== undefined)
|
|
426
|
-
return visitor.summaryConsolidationOverride(value.summaryConsolidationOverride);
|
|
427
|
-
if (value.userPreferenceConsolidationOverride !== undefined)
|
|
428
|
-
return visitor.userPreferenceConsolidationOverride(value.userPreferenceConsolidationOverride);
|
|
429
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
430
|
-
};
|
|
431
|
-
})(CustomConsolidationConfigurationInput || (exports.CustomConsolidationConfigurationInput = CustomConsolidationConfigurationInput = {}));
|
|
432
|
-
var ModifyConsolidationConfiguration;
|
|
433
|
-
(function (ModifyConsolidationConfiguration) {
|
|
434
|
-
ModifyConsolidationConfiguration.visit = (value, visitor) => {
|
|
435
|
-
if (value.customConsolidationConfiguration !== undefined)
|
|
436
|
-
return visitor.customConsolidationConfiguration(value.customConsolidationConfiguration);
|
|
437
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
438
|
-
};
|
|
439
|
-
})(ModifyConsolidationConfiguration || (exports.ModifyConsolidationConfiguration = ModifyConsolidationConfiguration = {}));
|
|
440
|
-
var CustomExtractionConfigurationInput;
|
|
441
|
-
(function (CustomExtractionConfigurationInput) {
|
|
442
|
-
CustomExtractionConfigurationInput.visit = (value, visitor) => {
|
|
443
|
-
if (value.semanticExtractionOverride !== undefined)
|
|
444
|
-
return visitor.semanticExtractionOverride(value.semanticExtractionOverride);
|
|
445
|
-
if (value.userPreferenceExtractionOverride !== undefined)
|
|
446
|
-
return visitor.userPreferenceExtractionOverride(value.userPreferenceExtractionOverride);
|
|
447
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
448
|
-
};
|
|
449
|
-
})(CustomExtractionConfigurationInput || (exports.CustomExtractionConfigurationInput = CustomExtractionConfigurationInput = {}));
|
|
450
|
-
var ModifyExtractionConfiguration;
|
|
451
|
-
(function (ModifyExtractionConfiguration) {
|
|
452
|
-
ModifyExtractionConfiguration.visit = (value, visitor) => {
|
|
453
|
-
if (value.customExtractionConfiguration !== undefined)
|
|
454
|
-
return visitor.customExtractionConfiguration(value.customExtractionConfiguration);
|
|
455
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
456
|
-
};
|
|
457
|
-
})(ModifyExtractionConfiguration || (exports.ModifyExtractionConfiguration = ModifyExtractionConfiguration = {}));
|
|
458
|
-
exports.CredentialProviderVendorType = {
|
|
459
|
-
CustomOauth2: "CustomOauth2",
|
|
460
|
-
GithubOauth2: "GithubOauth2",
|
|
461
|
-
GoogleOauth2: "GoogleOauth2",
|
|
462
|
-
MicrosoftOauth2: "MicrosoftOauth2",
|
|
463
|
-
SalesforceOauth2: "SalesforceOauth2",
|
|
464
|
-
SlackOauth2: "SlackOauth2",
|
|
465
|
-
};
|
|
466
|
-
var Oauth2Discovery;
|
|
467
|
-
(function (Oauth2Discovery) {
|
|
468
|
-
Oauth2Discovery.visit = (value, visitor) => {
|
|
469
|
-
if (value.discoveryUrl !== undefined)
|
|
470
|
-
return visitor.discoveryUrl(value.discoveryUrl);
|
|
471
|
-
if (value.authorizationServerMetadata !== undefined)
|
|
472
|
-
return visitor.authorizationServerMetadata(value.authorizationServerMetadata);
|
|
473
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
474
|
-
};
|
|
475
|
-
})(Oauth2Discovery || (exports.Oauth2Discovery = Oauth2Discovery = {}));
|
|
476
|
-
var Oauth2ProviderConfigInput;
|
|
477
|
-
(function (Oauth2ProviderConfigInput) {
|
|
478
|
-
Oauth2ProviderConfigInput.visit = (value, visitor) => {
|
|
479
|
-
if (value.customOauth2ProviderConfig !== undefined)
|
|
480
|
-
return visitor.customOauth2ProviderConfig(value.customOauth2ProviderConfig);
|
|
481
|
-
if (value.googleOauth2ProviderConfig !== undefined)
|
|
482
|
-
return visitor.googleOauth2ProviderConfig(value.googleOauth2ProviderConfig);
|
|
483
|
-
if (value.githubOauth2ProviderConfig !== undefined)
|
|
484
|
-
return visitor.githubOauth2ProviderConfig(value.githubOauth2ProviderConfig);
|
|
485
|
-
if (value.slackOauth2ProviderConfig !== undefined)
|
|
486
|
-
return visitor.slackOauth2ProviderConfig(value.slackOauth2ProviderConfig);
|
|
487
|
-
if (value.salesforceOauth2ProviderConfig !== undefined)
|
|
488
|
-
return visitor.salesforceOauth2ProviderConfig(value.salesforceOauth2ProviderConfig);
|
|
489
|
-
if (value.microsoftOauth2ProviderConfig !== undefined)
|
|
490
|
-
return visitor.microsoftOauth2ProviderConfig(value.microsoftOauth2ProviderConfig);
|
|
491
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
492
|
-
};
|
|
493
|
-
})(Oauth2ProviderConfigInput || (exports.Oauth2ProviderConfigInput = Oauth2ProviderConfigInput = {}));
|
|
494
|
-
var Oauth2ProviderConfigOutput;
|
|
495
|
-
(function (Oauth2ProviderConfigOutput) {
|
|
496
|
-
Oauth2ProviderConfigOutput.visit = (value, visitor) => {
|
|
497
|
-
if (value.customOauth2ProviderConfig !== undefined)
|
|
498
|
-
return visitor.customOauth2ProviderConfig(value.customOauth2ProviderConfig);
|
|
499
|
-
if (value.googleOauth2ProviderConfig !== undefined)
|
|
500
|
-
return visitor.googleOauth2ProviderConfig(value.googleOauth2ProviderConfig);
|
|
501
|
-
if (value.githubOauth2ProviderConfig !== undefined)
|
|
502
|
-
return visitor.githubOauth2ProviderConfig(value.githubOauth2ProviderConfig);
|
|
503
|
-
if (value.slackOauth2ProviderConfig !== undefined)
|
|
504
|
-
return visitor.slackOauth2ProviderConfig(value.slackOauth2ProviderConfig);
|
|
505
|
-
if (value.salesforceOauth2ProviderConfig !== undefined)
|
|
506
|
-
return visitor.salesforceOauth2ProviderConfig(value.salesforceOauth2ProviderConfig);
|
|
507
|
-
if (value.microsoftOauth2ProviderConfig !== undefined)
|
|
508
|
-
return visitor.microsoftOauth2ProviderConfig(value.microsoftOauth2ProviderConfig);
|
|
509
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
510
|
-
};
|
|
511
|
-
})(Oauth2ProviderConfigOutput || (exports.Oauth2ProviderConfigOutput = Oauth2ProviderConfigOutput = {}));
|
|
512
|
-
class ConcurrentModificationException extends BedrockAgentCoreControlServiceException_1.BedrockAgentCoreControlServiceException {
|
|
513
|
-
name = "ConcurrentModificationException";
|
|
514
|
-
$fault = "client";
|
|
515
|
-
constructor(opts) {
|
|
516
|
-
super({
|
|
517
|
-
name: "ConcurrentModificationException",
|
|
518
|
-
$fault: "client",
|
|
519
|
-
...opts,
|
|
520
|
-
});
|
|
521
|
-
Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
|
|
522
|
-
}
|
|
523
|
-
}
|
|
524
|
-
exports.ConcurrentModificationException = ConcurrentModificationException;
|
|
525
|
-
var ToolSchema;
|
|
526
|
-
(function (ToolSchema) {
|
|
527
|
-
ToolSchema.visit = (value, visitor) => {
|
|
528
|
-
if (value.s3 !== undefined)
|
|
529
|
-
return visitor.s3(value.s3);
|
|
530
|
-
if (value.inlinePayload !== undefined)
|
|
531
|
-
return visitor.inlinePayload(value.inlinePayload);
|
|
532
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
533
|
-
};
|
|
534
|
-
})(ToolSchema || (exports.ToolSchema = ToolSchema = {}));
|
|
535
|
-
var McpTargetConfiguration;
|
|
536
|
-
(function (McpTargetConfiguration) {
|
|
537
|
-
McpTargetConfiguration.visit = (value, visitor) => {
|
|
538
|
-
if (value.openApiSchema !== undefined)
|
|
539
|
-
return visitor.openApiSchema(value.openApiSchema);
|
|
540
|
-
if (value.smithyModel !== undefined)
|
|
541
|
-
return visitor.smithyModel(value.smithyModel);
|
|
542
|
-
if (value.lambda !== undefined)
|
|
543
|
-
return visitor.lambda(value.lambda);
|
|
544
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
545
|
-
};
|
|
546
|
-
})(McpTargetConfiguration || (exports.McpTargetConfiguration = McpTargetConfiguration = {}));
|
|
547
|
-
var TargetConfiguration;
|
|
548
|
-
(function (TargetConfiguration) {
|
|
549
|
-
TargetConfiguration.visit = (value, visitor) => {
|
|
550
|
-
if (value.mcp !== undefined)
|
|
551
|
-
return visitor.mcp(value.mcp);
|
|
552
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
553
|
-
};
|
|
554
|
-
})(TargetConfiguration || (exports.TargetConfiguration = TargetConfiguration = {}));
|
|
555
|
-
const AgentFilterSensitiveLog = (obj) => ({
|
|
556
|
-
...obj,
|
|
557
|
-
...(obj.description && { description: smithy_client_1.SENSITIVE_STRING }),
|
|
558
|
-
});
|
|
559
|
-
exports.AgentFilterSensitiveLog = AgentFilterSensitiveLog;
|
|
560
|
-
const AgentEndpointFilterSensitiveLog = (obj) => ({
|
|
561
|
-
...obj,
|
|
562
|
-
...(obj.name && { name: smithy_client_1.SENSITIVE_STRING }),
|
|
563
|
-
});
|
|
564
|
-
exports.AgentEndpointFilterSensitiveLog = AgentEndpointFilterSensitiveLog;
|
|
565
|
-
const CreateAgentRuntimeEndpointRequestFilterSensitiveLog = (obj) => ({
|
|
566
|
-
...obj,
|
|
567
|
-
...(obj.name && { name: smithy_client_1.SENSITIVE_STRING }),
|
|
568
|
-
});
|
|
569
|
-
exports.CreateAgentRuntimeEndpointRequestFilterSensitiveLog = CreateAgentRuntimeEndpointRequestFilterSensitiveLog;
|
|
570
|
-
const DeleteAgentRuntimeEndpointRequestFilterSensitiveLog = (obj) => ({
|
|
571
|
-
...obj,
|
|
572
|
-
...(obj.endpointName && { endpointName: smithy_client_1.SENSITIVE_STRING }),
|
|
573
|
-
});
|
|
574
|
-
exports.DeleteAgentRuntimeEndpointRequestFilterSensitiveLog = DeleteAgentRuntimeEndpointRequestFilterSensitiveLog;
|
|
575
|
-
const GetAgentRuntimeEndpointRequestFilterSensitiveLog = (obj) => ({
|
|
576
|
-
...obj,
|
|
577
|
-
...(obj.endpointName && { endpointName: smithy_client_1.SENSITIVE_STRING }),
|
|
578
|
-
});
|
|
579
|
-
exports.GetAgentRuntimeEndpointRequestFilterSensitiveLog = GetAgentRuntimeEndpointRequestFilterSensitiveLog;
|
|
580
|
-
const GetAgentRuntimeEndpointResponseFilterSensitiveLog = (obj) => ({
|
|
581
|
-
...obj,
|
|
582
|
-
...(obj.name && { name: smithy_client_1.SENSITIVE_STRING }),
|
|
583
|
-
});
|
|
584
|
-
exports.GetAgentRuntimeEndpointResponseFilterSensitiveLog = GetAgentRuntimeEndpointResponseFilterSensitiveLog;
|
|
585
|
-
const ListAgentRuntimeEndpointsResponseFilterSensitiveLog = (obj) => ({
|
|
586
|
-
...obj,
|
|
587
|
-
...(obj.runtimeEndpoints && {
|
|
588
|
-
runtimeEndpoints: obj.runtimeEndpoints.map((item) => (0, exports.AgentEndpointFilterSensitiveLog)(item)),
|
|
589
|
-
}),
|
|
590
|
-
});
|
|
591
|
-
exports.ListAgentRuntimeEndpointsResponseFilterSensitiveLog = ListAgentRuntimeEndpointsResponseFilterSensitiveLog;
|
|
592
|
-
const UpdateAgentRuntimeEndpointRequestFilterSensitiveLog = (obj) => ({
|
|
593
|
-
...obj,
|
|
594
|
-
...(obj.endpointName && { endpointName: smithy_client_1.SENSITIVE_STRING }),
|
|
595
|
-
});
|
|
596
|
-
exports.UpdateAgentRuntimeEndpointRequestFilterSensitiveLog = UpdateAgentRuntimeEndpointRequestFilterSensitiveLog;
|
|
597
|
-
const CreateAgentRuntimeRequestFilterSensitiveLog = (obj) => ({
|
|
598
|
-
...obj,
|
|
599
|
-
...(obj.description && { description: smithy_client_1.SENSITIVE_STRING }),
|
|
600
|
-
...(obj.agentRuntimeArtifact && { agentRuntimeArtifact: obj.agentRuntimeArtifact }),
|
|
601
|
-
...(obj.environmentVariables && { environmentVariables: smithy_client_1.SENSITIVE_STRING }),
|
|
602
|
-
...(obj.authorizerConfiguration && { authorizerConfiguration: obj.authorizerConfiguration }),
|
|
603
|
-
});
|
|
604
|
-
exports.CreateAgentRuntimeRequestFilterSensitiveLog = CreateAgentRuntimeRequestFilterSensitiveLog;
|
|
605
|
-
const GetAgentRuntimeResponseFilterSensitiveLog = (obj) => ({
|
|
606
|
-
...obj,
|
|
607
|
-
...(obj.description && { description: smithy_client_1.SENSITIVE_STRING }),
|
|
608
|
-
...(obj.agentRuntimeArtifact && { agentRuntimeArtifact: obj.agentRuntimeArtifact }),
|
|
609
|
-
...(obj.environmentVariables && { environmentVariables: smithy_client_1.SENSITIVE_STRING }),
|
|
610
|
-
...(obj.authorizerConfiguration && { authorizerConfiguration: obj.authorizerConfiguration }),
|
|
611
|
-
});
|
|
612
|
-
exports.GetAgentRuntimeResponseFilterSensitiveLog = GetAgentRuntimeResponseFilterSensitiveLog;
|
|
613
|
-
const ListAgentRuntimesResponseFilterSensitiveLog = (obj) => ({
|
|
614
|
-
...obj,
|
|
615
|
-
...(obj.agentRuntimes && { agentRuntimes: obj.agentRuntimes.map((item) => (0, exports.AgentFilterSensitiveLog)(item)) }),
|
|
616
|
-
});
|
|
617
|
-
exports.ListAgentRuntimesResponseFilterSensitiveLog = ListAgentRuntimesResponseFilterSensitiveLog;
|
|
618
|
-
const ListAgentRuntimeVersionsResponseFilterSensitiveLog = (obj) => ({
|
|
619
|
-
...obj,
|
|
620
|
-
...(obj.agentRuntimes && { agentRuntimes: obj.agentRuntimes.map((item) => (0, exports.AgentFilterSensitiveLog)(item)) }),
|
|
621
|
-
});
|
|
622
|
-
exports.ListAgentRuntimeVersionsResponseFilterSensitiveLog = ListAgentRuntimeVersionsResponseFilterSensitiveLog;
|
|
623
|
-
const UpdateAgentRuntimeRequestFilterSensitiveLog = (obj) => ({
|
|
624
|
-
...obj,
|
|
625
|
-
...(obj.description && { description: smithy_client_1.SENSITIVE_STRING }),
|
|
626
|
-
...(obj.agentRuntimeArtifact && { agentRuntimeArtifact: obj.agentRuntimeArtifact }),
|
|
627
|
-
...(obj.environmentVariables && { environmentVariables: smithy_client_1.SENSITIVE_STRING }),
|
|
628
|
-
...(obj.authorizerConfiguration && { authorizerConfiguration: obj.authorizerConfiguration }),
|
|
629
|
-
});
|
|
630
|
-
exports.UpdateAgentRuntimeRequestFilterSensitiveLog = UpdateAgentRuntimeRequestFilterSensitiveLog;
|
|
631
|
-
const CreateApiKeyCredentialProviderRequestFilterSensitiveLog = (obj) => ({
|
|
632
|
-
...obj,
|
|
633
|
-
...(obj.apiKey && { apiKey: smithy_client_1.SENSITIVE_STRING }),
|
|
634
|
-
});
|
|
635
|
-
exports.CreateApiKeyCredentialProviderRequestFilterSensitiveLog = CreateApiKeyCredentialProviderRequestFilterSensitiveLog;
|
|
636
|
-
const UpdateApiKeyCredentialProviderRequestFilterSensitiveLog = (obj) => ({
|
|
637
|
-
...obj,
|
|
638
|
-
...(obj.apiKey && { apiKey: smithy_client_1.SENSITIVE_STRING }),
|
|
639
|
-
});
|
|
640
|
-
exports.UpdateApiKeyCredentialProviderRequestFilterSensitiveLog = UpdateApiKeyCredentialProviderRequestFilterSensitiveLog;
|
|
641
|
-
const CreateBrowserRequestFilterSensitiveLog = (obj) => ({
|
|
642
|
-
...obj,
|
|
643
|
-
...(obj.description && { description: smithy_client_1.SENSITIVE_STRING }),
|
|
644
|
-
});
|
|
645
|
-
exports.CreateBrowserRequestFilterSensitiveLog = CreateBrowserRequestFilterSensitiveLog;
|
|
646
|
-
const GetBrowserResponseFilterSensitiveLog = (obj) => ({
|
|
647
|
-
...obj,
|
|
648
|
-
...(obj.description && { description: smithy_client_1.SENSITIVE_STRING }),
|
|
649
|
-
});
|
|
650
|
-
exports.GetBrowserResponseFilterSensitiveLog = GetBrowserResponseFilterSensitiveLog;
|
|
651
|
-
const BrowserSummaryFilterSensitiveLog = (obj) => ({
|
|
652
|
-
...obj,
|
|
653
|
-
...(obj.description && { description: smithy_client_1.SENSITIVE_STRING }),
|
|
654
|
-
});
|
|
655
|
-
exports.BrowserSummaryFilterSensitiveLog = BrowserSummaryFilterSensitiveLog;
|
|
656
|
-
const ListBrowsersResponseFilterSensitiveLog = (obj) => ({
|
|
657
|
-
...obj,
|
|
658
|
-
...(obj.browserSummaries && {
|
|
659
|
-
browserSummaries: obj.browserSummaries.map((item) => (0, exports.BrowserSummaryFilterSensitiveLog)(item)),
|
|
660
|
-
}),
|
|
661
|
-
});
|
|
662
|
-
exports.ListBrowsersResponseFilterSensitiveLog = ListBrowsersResponseFilterSensitiveLog;
|
|
663
|
-
const CreateCodeInterpreterRequestFilterSensitiveLog = (obj) => ({
|
|
664
|
-
...obj,
|
|
665
|
-
...(obj.description && { description: smithy_client_1.SENSITIVE_STRING }),
|
|
666
|
-
});
|
|
667
|
-
exports.CreateCodeInterpreterRequestFilterSensitiveLog = CreateCodeInterpreterRequestFilterSensitiveLog;
|
|
668
|
-
const GetCodeInterpreterResponseFilterSensitiveLog = (obj) => ({
|
|
669
|
-
...obj,
|
|
670
|
-
...(obj.description && { description: smithy_client_1.SENSITIVE_STRING }),
|
|
671
|
-
});
|
|
672
|
-
exports.GetCodeInterpreterResponseFilterSensitiveLog = GetCodeInterpreterResponseFilterSensitiveLog;
|
|
673
|
-
const CodeInterpreterSummaryFilterSensitiveLog = (obj) => ({
|
|
674
|
-
...obj,
|
|
675
|
-
...(obj.description && { description: smithy_client_1.SENSITIVE_STRING }),
|
|
676
|
-
});
|
|
677
|
-
exports.CodeInterpreterSummaryFilterSensitiveLog = CodeInterpreterSummaryFilterSensitiveLog;
|
|
678
|
-
const ListCodeInterpretersResponseFilterSensitiveLog = (obj) => ({
|
|
679
|
-
...obj,
|
|
680
|
-
...(obj.codeInterpreterSummaries && {
|
|
681
|
-
codeInterpreterSummaries: obj.codeInterpreterSummaries.map((item) => (0, exports.CodeInterpreterSummaryFilterSensitiveLog)(item)),
|
|
682
|
-
}),
|
|
683
|
-
});
|
|
684
|
-
exports.ListCodeInterpretersResponseFilterSensitiveLog = ListCodeInterpretersResponseFilterSensitiveLog;
|
|
685
|
-
const CreateGatewayRequestFilterSensitiveLog = (obj) => ({
|
|
686
|
-
...obj,
|
|
687
|
-
...(obj.name && { name: smithy_client_1.SENSITIVE_STRING }),
|
|
688
|
-
...(obj.description && { description: smithy_client_1.SENSITIVE_STRING }),
|
|
689
|
-
...(obj.protocolConfiguration && { protocolConfiguration: obj.protocolConfiguration }),
|
|
690
|
-
...(obj.authorizerConfiguration && { authorizerConfiguration: obj.authorizerConfiguration }),
|
|
691
|
-
});
|
|
692
|
-
exports.CreateGatewayRequestFilterSensitiveLog = CreateGatewayRequestFilterSensitiveLog;
|
|
693
|
-
const CreateGatewayResponseFilterSensitiveLog = (obj) => ({
|
|
694
|
-
...obj,
|
|
695
|
-
...(obj.name && { name: smithy_client_1.SENSITIVE_STRING }),
|
|
696
|
-
...(obj.description && { description: smithy_client_1.SENSITIVE_STRING }),
|
|
697
|
-
...(obj.protocolConfiguration && { protocolConfiguration: obj.protocolConfiguration }),
|
|
698
|
-
...(obj.authorizerConfiguration && { authorizerConfiguration: obj.authorizerConfiguration }),
|
|
699
|
-
});
|
|
700
|
-
exports.CreateGatewayResponseFilterSensitiveLog = CreateGatewayResponseFilterSensitiveLog;
|
|
701
|
-
const GetGatewayResponseFilterSensitiveLog = (obj) => ({
|
|
702
|
-
...obj,
|
|
703
|
-
...(obj.name && { name: smithy_client_1.SENSITIVE_STRING }),
|
|
704
|
-
...(obj.description && { description: smithy_client_1.SENSITIVE_STRING }),
|
|
705
|
-
...(obj.protocolConfiguration && { protocolConfiguration: obj.protocolConfiguration }),
|
|
706
|
-
...(obj.authorizerConfiguration && { authorizerConfiguration: obj.authorizerConfiguration }),
|
|
707
|
-
});
|
|
708
|
-
exports.GetGatewayResponseFilterSensitiveLog = GetGatewayResponseFilterSensitiveLog;
|
|
709
|
-
const GatewaySummaryFilterSensitiveLog = (obj) => ({
|
|
710
|
-
...obj,
|
|
711
|
-
...(obj.name && { name: smithy_client_1.SENSITIVE_STRING }),
|
|
712
|
-
...(obj.description && { description: smithy_client_1.SENSITIVE_STRING }),
|
|
713
|
-
});
|
|
714
|
-
exports.GatewaySummaryFilterSensitiveLog = GatewaySummaryFilterSensitiveLog;
|
|
715
|
-
const ListGatewaysResponseFilterSensitiveLog = (obj) => ({
|
|
716
|
-
...obj,
|
|
717
|
-
...(obj.items && { items: obj.items.map((item) => (0, exports.GatewaySummaryFilterSensitiveLog)(item)) }),
|
|
718
|
-
});
|
|
719
|
-
exports.ListGatewaysResponseFilterSensitiveLog = ListGatewaysResponseFilterSensitiveLog;
|
|
720
|
-
const UpdateGatewayRequestFilterSensitiveLog = (obj) => ({
|
|
721
|
-
...obj,
|
|
722
|
-
...(obj.name && { name: smithy_client_1.SENSITIVE_STRING }),
|
|
723
|
-
...(obj.description && { description: smithy_client_1.SENSITIVE_STRING }),
|
|
724
|
-
...(obj.protocolConfiguration && { protocolConfiguration: obj.protocolConfiguration }),
|
|
725
|
-
...(obj.authorizerConfiguration && { authorizerConfiguration: obj.authorizerConfiguration }),
|
|
726
|
-
});
|
|
727
|
-
exports.UpdateGatewayRequestFilterSensitiveLog = UpdateGatewayRequestFilterSensitiveLog;
|
|
728
|
-
const UpdateGatewayResponseFilterSensitiveLog = (obj) => ({
|
|
729
|
-
...obj,
|
|
730
|
-
...(obj.name && { name: smithy_client_1.SENSITIVE_STRING }),
|
|
731
|
-
...(obj.description && { description: smithy_client_1.SENSITIVE_STRING }),
|
|
732
|
-
...(obj.protocolConfiguration && { protocolConfiguration: obj.protocolConfiguration }),
|
|
733
|
-
...(obj.authorizerConfiguration && { authorizerConfiguration: obj.authorizerConfiguration }),
|
|
734
|
-
});
|
|
735
|
-
exports.UpdateGatewayResponseFilterSensitiveLog = UpdateGatewayResponseFilterSensitiveLog;
|
|
736
|
-
const OAuthCredentialProviderFilterSensitiveLog = (obj) => ({
|
|
737
|
-
...obj,
|
|
738
|
-
...(obj.customParameters && { customParameters: smithy_client_1.SENSITIVE_STRING }),
|
|
739
|
-
});
|
|
740
|
-
exports.OAuthCredentialProviderFilterSensitiveLog = OAuthCredentialProviderFilterSensitiveLog;
|
|
741
|
-
const CredentialProviderFilterSensitiveLog = (obj) => {
|
|
742
|
-
if (obj.oauthCredentialProvider !== undefined)
|
|
743
|
-
return { oauthCredentialProvider: (0, exports.OAuthCredentialProviderFilterSensitiveLog)(obj.oauthCredentialProvider) };
|
|
744
|
-
if (obj.apiKeyCredentialProvider !== undefined)
|
|
745
|
-
return { apiKeyCredentialProvider: obj.apiKeyCredentialProvider };
|
|
746
|
-
if (obj.$unknown !== undefined)
|
|
747
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
748
|
-
};
|
|
749
|
-
exports.CredentialProviderFilterSensitiveLog = CredentialProviderFilterSensitiveLog;
|
|
750
|
-
const CredentialProviderConfigurationFilterSensitiveLog = (obj) => ({
|
|
751
|
-
...obj,
|
|
752
|
-
...(obj.credentialProvider && { credentialProvider: (0, exports.CredentialProviderFilterSensitiveLog)(obj.credentialProvider) }),
|
|
753
|
-
});
|
|
754
|
-
exports.CredentialProviderConfigurationFilterSensitiveLog = CredentialProviderConfigurationFilterSensitiveLog;
|
|
755
|
-
const ApiSchemaConfigurationFilterSensitiveLog = (obj) => {
|
|
756
|
-
if (obj.s3 !== undefined)
|
|
757
|
-
return { s3: obj.s3 };
|
|
758
|
-
if (obj.inlinePayload !== undefined)
|
|
759
|
-
return { inlinePayload: smithy_client_1.SENSITIVE_STRING };
|
|
760
|
-
if (obj.$unknown !== undefined)
|
|
761
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
762
|
-
};
|
|
763
|
-
exports.ApiSchemaConfigurationFilterSensitiveLog = ApiSchemaConfigurationFilterSensitiveLog;
|
|
764
|
-
const TargetSummaryFilterSensitiveLog = (obj) => ({
|
|
765
|
-
...obj,
|
|
766
|
-
...(obj.name && { name: smithy_client_1.SENSITIVE_STRING }),
|
|
767
|
-
...(obj.description && { description: smithy_client_1.SENSITIVE_STRING }),
|
|
768
|
-
});
|
|
769
|
-
exports.TargetSummaryFilterSensitiveLog = TargetSummaryFilterSensitiveLog;
|
|
770
|
-
const ListGatewayTargetsResponseFilterSensitiveLog = (obj) => ({
|
|
771
|
-
...obj,
|
|
772
|
-
...(obj.items && { items: obj.items.map((item) => (0, exports.TargetSummaryFilterSensitiveLog)(item)) }),
|
|
773
|
-
});
|
|
774
|
-
exports.ListGatewayTargetsResponseFilterSensitiveLog = ListGatewayTargetsResponseFilterSensitiveLog;
|
|
775
|
-
const SemanticOverrideConsolidationConfigurationInputFilterSensitiveLog = (obj) => ({
|
|
776
|
-
...obj,
|
|
777
|
-
...(obj.appendToPrompt && { appendToPrompt: smithy_client_1.SENSITIVE_STRING }),
|
|
778
|
-
});
|
|
779
|
-
exports.SemanticOverrideConsolidationConfigurationInputFilterSensitiveLog = SemanticOverrideConsolidationConfigurationInputFilterSensitiveLog;
|
|
780
|
-
const SemanticOverrideExtractionConfigurationInputFilterSensitiveLog = (obj) => ({
|
|
781
|
-
...obj,
|
|
782
|
-
...(obj.appendToPrompt && { appendToPrompt: smithy_client_1.SENSITIVE_STRING }),
|
|
783
|
-
});
|
|
784
|
-
exports.SemanticOverrideExtractionConfigurationInputFilterSensitiveLog = SemanticOverrideExtractionConfigurationInputFilterSensitiveLog;
|
|
785
|
-
const SemanticOverrideConfigurationInputFilterSensitiveLog = (obj) => ({
|
|
786
|
-
...obj,
|
|
787
|
-
...(obj.extraction && { extraction: (0, exports.SemanticOverrideExtractionConfigurationInputFilterSensitiveLog)(obj.extraction) }),
|
|
788
|
-
...(obj.consolidation && {
|
|
789
|
-
consolidation: (0, exports.SemanticOverrideConsolidationConfigurationInputFilterSensitiveLog)(obj.consolidation),
|
|
790
|
-
}),
|
|
791
|
-
});
|
|
792
|
-
exports.SemanticOverrideConfigurationInputFilterSensitiveLog = SemanticOverrideConfigurationInputFilterSensitiveLog;
|
|
793
|
-
const SummaryOverrideConsolidationConfigurationInputFilterSensitiveLog = (obj) => ({
|
|
794
|
-
...obj,
|
|
795
|
-
...(obj.appendToPrompt && { appendToPrompt: smithy_client_1.SENSITIVE_STRING }),
|
|
796
|
-
});
|
|
797
|
-
exports.SummaryOverrideConsolidationConfigurationInputFilterSensitiveLog = SummaryOverrideConsolidationConfigurationInputFilterSensitiveLog;
|
|
798
|
-
const SummaryOverrideConfigurationInputFilterSensitiveLog = (obj) => ({
|
|
799
|
-
...obj,
|
|
800
|
-
...(obj.consolidation && {
|
|
801
|
-
consolidation: (0, exports.SummaryOverrideConsolidationConfigurationInputFilterSensitiveLog)(obj.consolidation),
|
|
802
|
-
}),
|
|
803
|
-
});
|
|
804
|
-
exports.SummaryOverrideConfigurationInputFilterSensitiveLog = SummaryOverrideConfigurationInputFilterSensitiveLog;
|
|
805
|
-
const UserPreferenceOverrideConsolidationConfigurationInputFilterSensitiveLog = (obj) => ({
|
|
806
|
-
...obj,
|
|
807
|
-
...(obj.appendToPrompt && { appendToPrompt: smithy_client_1.SENSITIVE_STRING }),
|
|
808
|
-
});
|
|
809
|
-
exports.UserPreferenceOverrideConsolidationConfigurationInputFilterSensitiveLog = UserPreferenceOverrideConsolidationConfigurationInputFilterSensitiveLog;
|
|
810
|
-
const UserPreferenceOverrideExtractionConfigurationInputFilterSensitiveLog = (obj) => ({
|
|
811
|
-
...obj,
|
|
812
|
-
...(obj.appendToPrompt && { appendToPrompt: smithy_client_1.SENSITIVE_STRING }),
|
|
813
|
-
});
|
|
814
|
-
exports.UserPreferenceOverrideExtractionConfigurationInputFilterSensitiveLog = UserPreferenceOverrideExtractionConfigurationInputFilterSensitiveLog;
|
|
815
|
-
const UserPreferenceOverrideConfigurationInputFilterSensitiveLog = (obj) => ({
|
|
816
|
-
...obj,
|
|
817
|
-
...(obj.extraction && {
|
|
818
|
-
extraction: (0, exports.UserPreferenceOverrideExtractionConfigurationInputFilterSensitiveLog)(obj.extraction),
|
|
819
|
-
}),
|
|
820
|
-
...(obj.consolidation && {
|
|
821
|
-
consolidation: (0, exports.UserPreferenceOverrideConsolidationConfigurationInputFilterSensitiveLog)(obj.consolidation),
|
|
822
|
-
}),
|
|
823
|
-
});
|
|
824
|
-
exports.UserPreferenceOverrideConfigurationInputFilterSensitiveLog = UserPreferenceOverrideConfigurationInputFilterSensitiveLog;
|
|
825
|
-
const CustomConfigurationInputFilterSensitiveLog = (obj) => {
|
|
826
|
-
if (obj.semanticOverride !== undefined)
|
|
827
|
-
return { semanticOverride: (0, exports.SemanticOverrideConfigurationInputFilterSensitiveLog)(obj.semanticOverride) };
|
|
828
|
-
if (obj.summaryOverride !== undefined)
|
|
829
|
-
return { summaryOverride: (0, exports.SummaryOverrideConfigurationInputFilterSensitiveLog)(obj.summaryOverride) };
|
|
830
|
-
if (obj.userPreferenceOverride !== undefined)
|
|
831
|
-
return {
|
|
832
|
-
userPreferenceOverride: (0, exports.UserPreferenceOverrideConfigurationInputFilterSensitiveLog)(obj.userPreferenceOverride),
|
|
833
|
-
};
|
|
834
|
-
if (obj.$unknown !== undefined)
|
|
835
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
836
|
-
};
|
|
837
|
-
exports.CustomConfigurationInputFilterSensitiveLog = CustomConfigurationInputFilterSensitiveLog;
|
|
838
|
-
const CustomMemoryStrategyInputFilterSensitiveLog = (obj) => ({
|
|
839
|
-
...obj,
|
|
840
|
-
...(obj.description && { description: smithy_client_1.SENSITIVE_STRING }),
|
|
841
|
-
...(obj.configuration && { configuration: (0, exports.CustomConfigurationInputFilterSensitiveLog)(obj.configuration) }),
|
|
842
|
-
});
|
|
843
|
-
exports.CustomMemoryStrategyInputFilterSensitiveLog = CustomMemoryStrategyInputFilterSensitiveLog;
|
|
844
|
-
const SemanticMemoryStrategyInputFilterSensitiveLog = (obj) => ({
|
|
845
|
-
...obj,
|
|
846
|
-
...(obj.description && { description: smithy_client_1.SENSITIVE_STRING }),
|
|
847
|
-
});
|
|
848
|
-
exports.SemanticMemoryStrategyInputFilterSensitiveLog = SemanticMemoryStrategyInputFilterSensitiveLog;
|
|
849
|
-
const SummaryMemoryStrategyInputFilterSensitiveLog = (obj) => ({
|
|
850
|
-
...obj,
|
|
851
|
-
...(obj.description && { description: smithy_client_1.SENSITIVE_STRING }),
|
|
852
|
-
});
|
|
853
|
-
exports.SummaryMemoryStrategyInputFilterSensitiveLog = SummaryMemoryStrategyInputFilterSensitiveLog;
|
|
854
|
-
const UserPreferenceMemoryStrategyInputFilterSensitiveLog = (obj) => ({
|
|
855
|
-
...obj,
|
|
856
|
-
...(obj.description && { description: smithy_client_1.SENSITIVE_STRING }),
|
|
857
|
-
});
|
|
858
|
-
exports.UserPreferenceMemoryStrategyInputFilterSensitiveLog = UserPreferenceMemoryStrategyInputFilterSensitiveLog;
|
|
859
|
-
const MemoryStrategyInputFilterSensitiveLog = (obj) => {
|
|
860
|
-
if (obj.semanticMemoryStrategy !== undefined)
|
|
861
|
-
return { semanticMemoryStrategy: (0, exports.SemanticMemoryStrategyInputFilterSensitiveLog)(obj.semanticMemoryStrategy) };
|
|
862
|
-
if (obj.summaryMemoryStrategy !== undefined)
|
|
863
|
-
return { summaryMemoryStrategy: (0, exports.SummaryMemoryStrategyInputFilterSensitiveLog)(obj.summaryMemoryStrategy) };
|
|
864
|
-
if (obj.userPreferenceMemoryStrategy !== undefined)
|
|
865
|
-
return {
|
|
866
|
-
userPreferenceMemoryStrategy: (0, exports.UserPreferenceMemoryStrategyInputFilterSensitiveLog)(obj.userPreferenceMemoryStrategy),
|
|
867
|
-
};
|
|
868
|
-
if (obj.customMemoryStrategy !== undefined)
|
|
869
|
-
return { customMemoryStrategy: (0, exports.CustomMemoryStrategyInputFilterSensitiveLog)(obj.customMemoryStrategy) };
|
|
870
|
-
if (obj.$unknown !== undefined)
|
|
871
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
872
|
-
};
|
|
873
|
-
exports.MemoryStrategyInputFilterSensitiveLog = MemoryStrategyInputFilterSensitiveLog;
|
|
874
|
-
const CreateMemoryInputFilterSensitiveLog = (obj) => ({
|
|
875
|
-
...obj,
|
|
876
|
-
...(obj.description && { description: smithy_client_1.SENSITIVE_STRING }),
|
|
877
|
-
...(obj.memoryStrategies && {
|
|
878
|
-
memoryStrategies: obj.memoryStrategies.map((item) => (0, exports.MemoryStrategyInputFilterSensitiveLog)(item)),
|
|
879
|
-
}),
|
|
880
|
-
});
|
|
881
|
-
exports.CreateMemoryInputFilterSensitiveLog = CreateMemoryInputFilterSensitiveLog;
|
|
882
|
-
const SemanticConsolidationOverrideFilterSensitiveLog = (obj) => ({
|
|
883
|
-
...obj,
|
|
884
|
-
...(obj.appendToPrompt && { appendToPrompt: smithy_client_1.SENSITIVE_STRING }),
|
|
885
|
-
});
|
|
886
|
-
exports.SemanticConsolidationOverrideFilterSensitiveLog = SemanticConsolidationOverrideFilterSensitiveLog;
|
|
887
|
-
const SummaryConsolidationOverrideFilterSensitiveLog = (obj) => ({
|
|
888
|
-
...obj,
|
|
889
|
-
...(obj.appendToPrompt && { appendToPrompt: smithy_client_1.SENSITIVE_STRING }),
|
|
890
|
-
});
|
|
891
|
-
exports.SummaryConsolidationOverrideFilterSensitiveLog = SummaryConsolidationOverrideFilterSensitiveLog;
|
|
892
|
-
const UserPreferenceConsolidationOverrideFilterSensitiveLog = (obj) => ({
|
|
893
|
-
...obj,
|
|
894
|
-
...(obj.appendToPrompt && { appendToPrompt: smithy_client_1.SENSITIVE_STRING }),
|
|
895
|
-
});
|
|
896
|
-
exports.UserPreferenceConsolidationOverrideFilterSensitiveLog = UserPreferenceConsolidationOverrideFilterSensitiveLog;
|
|
897
|
-
const CustomConsolidationConfigurationFilterSensitiveLog = (obj) => {
|
|
898
|
-
if (obj.semanticConsolidationOverride !== undefined)
|
|
899
|
-
return {
|
|
900
|
-
semanticConsolidationOverride: (0, exports.SemanticConsolidationOverrideFilterSensitiveLog)(obj.semanticConsolidationOverride),
|
|
901
|
-
};
|
|
902
|
-
if (obj.summaryConsolidationOverride !== undefined)
|
|
903
|
-
return {
|
|
904
|
-
summaryConsolidationOverride: (0, exports.SummaryConsolidationOverrideFilterSensitiveLog)(obj.summaryConsolidationOverride),
|
|
905
|
-
};
|
|
906
|
-
if (obj.userPreferenceConsolidationOverride !== undefined)
|
|
907
|
-
return {
|
|
908
|
-
userPreferenceConsolidationOverride: (0, exports.UserPreferenceConsolidationOverrideFilterSensitiveLog)(obj.userPreferenceConsolidationOverride),
|
|
909
|
-
};
|
|
910
|
-
if (obj.$unknown !== undefined)
|
|
911
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
912
|
-
};
|
|
913
|
-
exports.CustomConsolidationConfigurationFilterSensitiveLog = CustomConsolidationConfigurationFilterSensitiveLog;
|
|
914
|
-
const ConsolidationConfigurationFilterSensitiveLog = (obj) => {
|
|
915
|
-
if (obj.customConsolidationConfiguration !== undefined)
|
|
916
|
-
return {
|
|
917
|
-
customConsolidationConfiguration: (0, exports.CustomConsolidationConfigurationFilterSensitiveLog)(obj.customConsolidationConfiguration),
|
|
918
|
-
};
|
|
919
|
-
if (obj.$unknown !== undefined)
|
|
920
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
921
|
-
};
|
|
922
|
-
exports.ConsolidationConfigurationFilterSensitiveLog = ConsolidationConfigurationFilterSensitiveLog;
|
|
923
|
-
const SemanticExtractionOverrideFilterSensitiveLog = (obj) => ({
|
|
924
|
-
...obj,
|
|
925
|
-
...(obj.appendToPrompt && { appendToPrompt: smithy_client_1.SENSITIVE_STRING }),
|
|
926
|
-
});
|
|
927
|
-
exports.SemanticExtractionOverrideFilterSensitiveLog = SemanticExtractionOverrideFilterSensitiveLog;
|
|
928
|
-
const UserPreferenceExtractionOverrideFilterSensitiveLog = (obj) => ({
|
|
929
|
-
...obj,
|
|
930
|
-
...(obj.appendToPrompt && { appendToPrompt: smithy_client_1.SENSITIVE_STRING }),
|
|
931
|
-
});
|
|
932
|
-
exports.UserPreferenceExtractionOverrideFilterSensitiveLog = UserPreferenceExtractionOverrideFilterSensitiveLog;
|
|
933
|
-
const CustomExtractionConfigurationFilterSensitiveLog = (obj) => {
|
|
934
|
-
if (obj.semanticExtractionOverride !== undefined)
|
|
935
|
-
return { semanticExtractionOverride: (0, exports.SemanticExtractionOverrideFilterSensitiveLog)(obj.semanticExtractionOverride) };
|
|
936
|
-
if (obj.userPreferenceExtractionOverride !== undefined)
|
|
937
|
-
return {
|
|
938
|
-
userPreferenceExtractionOverride: (0, exports.UserPreferenceExtractionOverrideFilterSensitiveLog)(obj.userPreferenceExtractionOverride),
|
|
939
|
-
};
|
|
940
|
-
if (obj.$unknown !== undefined)
|
|
941
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
942
|
-
};
|
|
943
|
-
exports.CustomExtractionConfigurationFilterSensitiveLog = CustomExtractionConfigurationFilterSensitiveLog;
|
|
944
|
-
const ExtractionConfigurationFilterSensitiveLog = (obj) => {
|
|
945
|
-
if (obj.customExtractionConfiguration !== undefined)
|
|
946
|
-
return {
|
|
947
|
-
customExtractionConfiguration: (0, exports.CustomExtractionConfigurationFilterSensitiveLog)(obj.customExtractionConfiguration),
|
|
948
|
-
};
|
|
949
|
-
if (obj.$unknown !== undefined)
|
|
950
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
951
|
-
};
|
|
952
|
-
exports.ExtractionConfigurationFilterSensitiveLog = ExtractionConfigurationFilterSensitiveLog;
|
|
953
|
-
const StrategyConfigurationFilterSensitiveLog = (obj) => ({
|
|
954
|
-
...obj,
|
|
955
|
-
...(obj.extraction && { extraction: (0, exports.ExtractionConfigurationFilterSensitiveLog)(obj.extraction) }),
|
|
956
|
-
...(obj.consolidation && { consolidation: (0, exports.ConsolidationConfigurationFilterSensitiveLog)(obj.consolidation) }),
|
|
957
|
-
});
|
|
958
|
-
exports.StrategyConfigurationFilterSensitiveLog = StrategyConfigurationFilterSensitiveLog;
|
|
959
|
-
const MemoryStrategyFilterSensitiveLog = (obj) => ({
|
|
960
|
-
...obj,
|
|
961
|
-
...(obj.description && { description: smithy_client_1.SENSITIVE_STRING }),
|
|
962
|
-
...(obj.configuration && { configuration: (0, exports.StrategyConfigurationFilterSensitiveLog)(obj.configuration) }),
|
|
963
|
-
});
|
|
964
|
-
exports.MemoryStrategyFilterSensitiveLog = MemoryStrategyFilterSensitiveLog;
|
|
965
|
-
const MemoryFilterSensitiveLog = (obj) => ({
|
|
966
|
-
...obj,
|
|
967
|
-
...(obj.description && { description: smithy_client_1.SENSITIVE_STRING }),
|
|
968
|
-
...(obj.strategies && { strategies: obj.strategies.map((item) => (0, exports.MemoryStrategyFilterSensitiveLog)(item)) }),
|
|
969
|
-
});
|
|
970
|
-
exports.MemoryFilterSensitiveLog = MemoryFilterSensitiveLog;
|
|
971
|
-
const CreateMemoryOutputFilterSensitiveLog = (obj) => ({
|
|
972
|
-
...obj,
|
|
973
|
-
...(obj.memory && { memory: (0, exports.MemoryFilterSensitiveLog)(obj.memory) }),
|
|
974
|
-
});
|
|
975
|
-
exports.CreateMemoryOutputFilterSensitiveLog = CreateMemoryOutputFilterSensitiveLog;
|
|
976
|
-
const GetMemoryOutputFilterSensitiveLog = (obj) => ({
|
|
977
|
-
...obj,
|
|
978
|
-
...(obj.memory && { memory: (0, exports.MemoryFilterSensitiveLog)(obj.memory) }),
|
|
979
|
-
});
|
|
980
|
-
exports.GetMemoryOutputFilterSensitiveLog = GetMemoryOutputFilterSensitiveLog;
|
|
981
|
-
const CustomConsolidationConfigurationInputFilterSensitiveLog = (obj) => {
|
|
982
|
-
if (obj.semanticConsolidationOverride !== undefined)
|
|
983
|
-
return {
|
|
984
|
-
semanticConsolidationOverride: (0, exports.SemanticOverrideConsolidationConfigurationInputFilterSensitiveLog)(obj.semanticConsolidationOverride),
|
|
985
|
-
};
|
|
986
|
-
if (obj.summaryConsolidationOverride !== undefined)
|
|
987
|
-
return {
|
|
988
|
-
summaryConsolidationOverride: (0, exports.SummaryOverrideConsolidationConfigurationInputFilterSensitiveLog)(obj.summaryConsolidationOverride),
|
|
989
|
-
};
|
|
990
|
-
if (obj.userPreferenceConsolidationOverride !== undefined)
|
|
991
|
-
return {
|
|
992
|
-
userPreferenceConsolidationOverride: (0, exports.UserPreferenceOverrideConsolidationConfigurationInputFilterSensitiveLog)(obj.userPreferenceConsolidationOverride),
|
|
993
|
-
};
|
|
994
|
-
if (obj.$unknown !== undefined)
|
|
995
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
996
|
-
};
|
|
997
|
-
exports.CustomConsolidationConfigurationInputFilterSensitiveLog = CustomConsolidationConfigurationInputFilterSensitiveLog;
|
|
998
|
-
const ModifyConsolidationConfigurationFilterSensitiveLog = (obj) => {
|
|
999
|
-
if (obj.customConsolidationConfiguration !== undefined)
|
|
1000
|
-
return {
|
|
1001
|
-
customConsolidationConfiguration: (0, exports.CustomConsolidationConfigurationInputFilterSensitiveLog)(obj.customConsolidationConfiguration),
|
|
1002
|
-
};
|
|
1003
|
-
if (obj.$unknown !== undefined)
|
|
1004
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
1005
|
-
};
|
|
1006
|
-
exports.ModifyConsolidationConfigurationFilterSensitiveLog = ModifyConsolidationConfigurationFilterSensitiveLog;
|
|
1007
|
-
const CustomExtractionConfigurationInputFilterSensitiveLog = (obj) => {
|
|
1008
|
-
if (obj.semanticExtractionOverride !== undefined)
|
|
1009
|
-
return {
|
|
1010
|
-
semanticExtractionOverride: (0, exports.SemanticOverrideExtractionConfigurationInputFilterSensitiveLog)(obj.semanticExtractionOverride),
|
|
1011
|
-
};
|
|
1012
|
-
if (obj.userPreferenceExtractionOverride !== undefined)
|
|
1013
|
-
return {
|
|
1014
|
-
userPreferenceExtractionOverride: (0, exports.UserPreferenceOverrideExtractionConfigurationInputFilterSensitiveLog)(obj.userPreferenceExtractionOverride),
|
|
1015
|
-
};
|
|
1016
|
-
if (obj.$unknown !== undefined)
|
|
1017
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
1018
|
-
};
|
|
1019
|
-
exports.CustomExtractionConfigurationInputFilterSensitiveLog = CustomExtractionConfigurationInputFilterSensitiveLog;
|
|
1020
|
-
const ModifyExtractionConfigurationFilterSensitiveLog = (obj) => {
|
|
1021
|
-
if (obj.customExtractionConfiguration !== undefined)
|
|
1022
|
-
return {
|
|
1023
|
-
customExtractionConfiguration: (0, exports.CustomExtractionConfigurationInputFilterSensitiveLog)(obj.customExtractionConfiguration),
|
|
1024
|
-
};
|
|
1025
|
-
if (obj.$unknown !== undefined)
|
|
1026
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
1027
|
-
};
|
|
1028
|
-
exports.ModifyExtractionConfigurationFilterSensitiveLog = ModifyExtractionConfigurationFilterSensitiveLog;
|
|
1029
|
-
const ModifyStrategyConfigurationFilterSensitiveLog = (obj) => ({
|
|
1030
|
-
...obj,
|
|
1031
|
-
...(obj.extraction && { extraction: (0, exports.ModifyExtractionConfigurationFilterSensitiveLog)(obj.extraction) }),
|
|
1032
|
-
...(obj.consolidation && { consolidation: (0, exports.ModifyConsolidationConfigurationFilterSensitiveLog)(obj.consolidation) }),
|
|
1033
|
-
});
|
|
1034
|
-
exports.ModifyStrategyConfigurationFilterSensitiveLog = ModifyStrategyConfigurationFilterSensitiveLog;
|
|
1035
|
-
const ModifyMemoryStrategyInputFilterSensitiveLog = (obj) => ({
|
|
1036
|
-
...obj,
|
|
1037
|
-
...(obj.description && { description: smithy_client_1.SENSITIVE_STRING }),
|
|
1038
|
-
...(obj.configuration && { configuration: (0, exports.ModifyStrategyConfigurationFilterSensitiveLog)(obj.configuration) }),
|
|
1039
|
-
});
|
|
1040
|
-
exports.ModifyMemoryStrategyInputFilterSensitiveLog = ModifyMemoryStrategyInputFilterSensitiveLog;
|
|
1041
|
-
const ModifyMemoryStrategiesFilterSensitiveLog = (obj) => ({
|
|
1042
|
-
...obj,
|
|
1043
|
-
...(obj.addMemoryStrategies && {
|
|
1044
|
-
addMemoryStrategies: obj.addMemoryStrategies.map((item) => (0, exports.MemoryStrategyInputFilterSensitiveLog)(item)),
|
|
1045
|
-
}),
|
|
1046
|
-
...(obj.modifyMemoryStrategies && {
|
|
1047
|
-
modifyMemoryStrategies: obj.modifyMemoryStrategies.map((item) => (0, exports.ModifyMemoryStrategyInputFilterSensitiveLog)(item)),
|
|
1048
|
-
}),
|
|
1049
|
-
});
|
|
1050
|
-
exports.ModifyMemoryStrategiesFilterSensitiveLog = ModifyMemoryStrategiesFilterSensitiveLog;
|
|
1051
|
-
const UpdateMemoryInputFilterSensitiveLog = (obj) => ({
|
|
1052
|
-
...obj,
|
|
1053
|
-
...(obj.description && { description: smithy_client_1.SENSITIVE_STRING }),
|
|
1054
|
-
...(obj.memoryStrategies && { memoryStrategies: (0, exports.ModifyMemoryStrategiesFilterSensitiveLog)(obj.memoryStrategies) }),
|
|
1055
|
-
});
|
|
1056
|
-
exports.UpdateMemoryInputFilterSensitiveLog = UpdateMemoryInputFilterSensitiveLog;
|
|
1057
|
-
const UpdateMemoryOutputFilterSensitiveLog = (obj) => ({
|
|
1058
|
-
...obj,
|
|
1059
|
-
...(obj.memory && { memory: (0, exports.MemoryFilterSensitiveLog)(obj.memory) }),
|
|
1060
|
-
});
|
|
1061
|
-
exports.UpdateMemoryOutputFilterSensitiveLog = UpdateMemoryOutputFilterSensitiveLog;
|
|
1062
|
-
const CustomOauth2ProviderConfigInputFilterSensitiveLog = (obj) => ({
|
|
1063
|
-
...obj,
|
|
1064
|
-
...(obj.oauthDiscovery && { oauthDiscovery: obj.oauthDiscovery }),
|
|
1065
|
-
...(obj.clientSecret && { clientSecret: smithy_client_1.SENSITIVE_STRING }),
|
|
1066
|
-
});
|
|
1067
|
-
exports.CustomOauth2ProviderConfigInputFilterSensitiveLog = CustomOauth2ProviderConfigInputFilterSensitiveLog;
|
|
1068
|
-
const GithubOauth2ProviderConfigInputFilterSensitiveLog = (obj) => ({
|
|
1069
|
-
...obj,
|
|
1070
|
-
...(obj.clientSecret && { clientSecret: smithy_client_1.SENSITIVE_STRING }),
|
|
1071
|
-
});
|
|
1072
|
-
exports.GithubOauth2ProviderConfigInputFilterSensitiveLog = GithubOauth2ProviderConfigInputFilterSensitiveLog;
|
|
1073
|
-
const GoogleOauth2ProviderConfigInputFilterSensitiveLog = (obj) => ({
|
|
1074
|
-
...obj,
|
|
1075
|
-
...(obj.clientSecret && { clientSecret: smithy_client_1.SENSITIVE_STRING }),
|
|
1076
|
-
});
|
|
1077
|
-
exports.GoogleOauth2ProviderConfigInputFilterSensitiveLog = GoogleOauth2ProviderConfigInputFilterSensitiveLog;
|
|
1078
|
-
const MicrosoftOauth2ProviderConfigInputFilterSensitiveLog = (obj) => ({
|
|
1079
|
-
...obj,
|
|
1080
|
-
...(obj.clientSecret && { clientSecret: smithy_client_1.SENSITIVE_STRING }),
|
|
1081
|
-
});
|
|
1082
|
-
exports.MicrosoftOauth2ProviderConfigInputFilterSensitiveLog = MicrosoftOauth2ProviderConfigInputFilterSensitiveLog;
|
|
1083
|
-
const SalesforceOauth2ProviderConfigInputFilterSensitiveLog = (obj) => ({
|
|
1084
|
-
...obj,
|
|
1085
|
-
...(obj.clientSecret && { clientSecret: smithy_client_1.SENSITIVE_STRING }),
|
|
1086
|
-
});
|
|
1087
|
-
exports.SalesforceOauth2ProviderConfigInputFilterSensitiveLog = SalesforceOauth2ProviderConfigInputFilterSensitiveLog;
|
|
1088
|
-
const SlackOauth2ProviderConfigInputFilterSensitiveLog = (obj) => ({
|
|
1089
|
-
...obj,
|
|
1090
|
-
...(obj.clientSecret && { clientSecret: smithy_client_1.SENSITIVE_STRING }),
|
|
1091
|
-
});
|
|
1092
|
-
exports.SlackOauth2ProviderConfigInputFilterSensitiveLog = SlackOauth2ProviderConfigInputFilterSensitiveLog;
|
|
1093
|
-
const Oauth2ProviderConfigInputFilterSensitiveLog = (obj) => {
|
|
1094
|
-
if (obj.customOauth2ProviderConfig !== undefined)
|
|
1095
|
-
return {
|
|
1096
|
-
customOauth2ProviderConfig: (0, exports.CustomOauth2ProviderConfigInputFilterSensitiveLog)(obj.customOauth2ProviderConfig),
|
|
1097
|
-
};
|
|
1098
|
-
if (obj.googleOauth2ProviderConfig !== undefined)
|
|
1099
|
-
return {
|
|
1100
|
-
googleOauth2ProviderConfig: (0, exports.GoogleOauth2ProviderConfigInputFilterSensitiveLog)(obj.googleOauth2ProviderConfig),
|
|
1101
|
-
};
|
|
1102
|
-
if (obj.githubOauth2ProviderConfig !== undefined)
|
|
1103
|
-
return {
|
|
1104
|
-
githubOauth2ProviderConfig: (0, exports.GithubOauth2ProviderConfigInputFilterSensitiveLog)(obj.githubOauth2ProviderConfig),
|
|
1105
|
-
};
|
|
1106
|
-
if (obj.slackOauth2ProviderConfig !== undefined)
|
|
1107
|
-
return {
|
|
1108
|
-
slackOauth2ProviderConfig: (0, exports.SlackOauth2ProviderConfigInputFilterSensitiveLog)(obj.slackOauth2ProviderConfig),
|
|
1109
|
-
};
|
|
1110
|
-
if (obj.salesforceOauth2ProviderConfig !== undefined)
|
|
1111
|
-
return {
|
|
1112
|
-
salesforceOauth2ProviderConfig: (0, exports.SalesforceOauth2ProviderConfigInputFilterSensitiveLog)(obj.salesforceOauth2ProviderConfig),
|
|
1113
|
-
};
|
|
1114
|
-
if (obj.microsoftOauth2ProviderConfig !== undefined)
|
|
1115
|
-
return {
|
|
1116
|
-
microsoftOauth2ProviderConfig: (0, exports.MicrosoftOauth2ProviderConfigInputFilterSensitiveLog)(obj.microsoftOauth2ProviderConfig),
|
|
1117
|
-
};
|
|
1118
|
-
if (obj.$unknown !== undefined)
|
|
1119
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
1120
|
-
};
|
|
1121
|
-
exports.Oauth2ProviderConfigInputFilterSensitiveLog = Oauth2ProviderConfigInputFilterSensitiveLog;
|
|
1122
|
-
const CreateOauth2CredentialProviderRequestFilterSensitiveLog = (obj) => ({
|
|
1123
|
-
...obj,
|
|
1124
|
-
...(obj.oauth2ProviderConfigInput && {
|
|
1125
|
-
oauth2ProviderConfigInput: (0, exports.Oauth2ProviderConfigInputFilterSensitiveLog)(obj.oauth2ProviderConfigInput),
|
|
1126
|
-
}),
|
|
1127
|
-
});
|
|
1128
|
-
exports.CreateOauth2CredentialProviderRequestFilterSensitiveLog = CreateOauth2CredentialProviderRequestFilterSensitiveLog;
|
|
1129
|
-
const UpdateOauth2CredentialProviderRequestFilterSensitiveLog = (obj) => ({
|
|
1130
|
-
...obj,
|
|
1131
|
-
...(obj.oauth2ProviderConfigInput && {
|
|
1132
|
-
oauth2ProviderConfigInput: (0, exports.Oauth2ProviderConfigInputFilterSensitiveLog)(obj.oauth2ProviderConfigInput),
|
|
1133
|
-
}),
|
|
1134
|
-
});
|
|
1135
|
-
exports.UpdateOauth2CredentialProviderRequestFilterSensitiveLog = UpdateOauth2CredentialProviderRequestFilterSensitiveLog;
|
|
1136
|
-
const McpTargetConfigurationFilterSensitiveLog = (obj) => {
|
|
1137
|
-
if (obj.openApiSchema !== undefined)
|
|
1138
|
-
return { openApiSchema: (0, exports.ApiSchemaConfigurationFilterSensitiveLog)(obj.openApiSchema) };
|
|
1139
|
-
if (obj.smithyModel !== undefined)
|
|
1140
|
-
return { smithyModel: (0, exports.ApiSchemaConfigurationFilterSensitiveLog)(obj.smithyModel) };
|
|
1141
|
-
if (obj.lambda !== undefined)
|
|
1142
|
-
return { lambda: obj.lambda };
|
|
1143
|
-
if (obj.$unknown !== undefined)
|
|
1144
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
1145
|
-
};
|
|
1146
|
-
exports.McpTargetConfigurationFilterSensitiveLog = McpTargetConfigurationFilterSensitiveLog;
|
|
1147
|
-
const TargetConfigurationFilterSensitiveLog = (obj) => {
|
|
1148
|
-
if (obj.mcp !== undefined)
|
|
1149
|
-
return { mcp: (0, exports.McpTargetConfigurationFilterSensitiveLog)(obj.mcp) };
|
|
1150
|
-
if (obj.$unknown !== undefined)
|
|
1151
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
1152
|
-
};
|
|
1153
|
-
exports.TargetConfigurationFilterSensitiveLog = TargetConfigurationFilterSensitiveLog;
|
|
1154
|
-
const CreateGatewayTargetRequestFilterSensitiveLog = (obj) => ({
|
|
1155
|
-
...obj,
|
|
1156
|
-
...(obj.name && { name: smithy_client_1.SENSITIVE_STRING }),
|
|
1157
|
-
...(obj.description && { description: smithy_client_1.SENSITIVE_STRING }),
|
|
1158
|
-
...(obj.targetConfiguration && {
|
|
1159
|
-
targetConfiguration: (0, exports.TargetConfigurationFilterSensitiveLog)(obj.targetConfiguration),
|
|
1160
|
-
}),
|
|
1161
|
-
...(obj.credentialProviderConfigurations && {
|
|
1162
|
-
credentialProviderConfigurations: obj.credentialProviderConfigurations.map((item) => (0, exports.CredentialProviderConfigurationFilterSensitiveLog)(item)),
|
|
1163
|
-
}),
|
|
1164
|
-
});
|
|
1165
|
-
exports.CreateGatewayTargetRequestFilterSensitiveLog = CreateGatewayTargetRequestFilterSensitiveLog;
|
|
1166
|
-
const CreateGatewayTargetResponseFilterSensitiveLog = (obj) => ({
|
|
1167
|
-
...obj,
|
|
1168
|
-
...(obj.name && { name: smithy_client_1.SENSITIVE_STRING }),
|
|
1169
|
-
...(obj.description && { description: smithy_client_1.SENSITIVE_STRING }),
|
|
1170
|
-
...(obj.targetConfiguration && {
|
|
1171
|
-
targetConfiguration: (0, exports.TargetConfigurationFilterSensitiveLog)(obj.targetConfiguration),
|
|
1172
|
-
}),
|
|
1173
|
-
...(obj.credentialProviderConfigurations && {
|
|
1174
|
-
credentialProviderConfigurations: obj.credentialProviderConfigurations.map((item) => (0, exports.CredentialProviderConfigurationFilterSensitiveLog)(item)),
|
|
1175
|
-
}),
|
|
1176
|
-
});
|
|
1177
|
-
exports.CreateGatewayTargetResponseFilterSensitiveLog = CreateGatewayTargetResponseFilterSensitiveLog;
|
|
1178
|
-
const GetGatewayTargetResponseFilterSensitiveLog = (obj) => ({
|
|
1179
|
-
...obj,
|
|
1180
|
-
...(obj.name && { name: smithy_client_1.SENSITIVE_STRING }),
|
|
1181
|
-
...(obj.description && { description: smithy_client_1.SENSITIVE_STRING }),
|
|
1182
|
-
...(obj.targetConfiguration && {
|
|
1183
|
-
targetConfiguration: (0, exports.TargetConfigurationFilterSensitiveLog)(obj.targetConfiguration),
|
|
1184
|
-
}),
|
|
1185
|
-
...(obj.credentialProviderConfigurations && {
|
|
1186
|
-
credentialProviderConfigurations: obj.credentialProviderConfigurations.map((item) => (0, exports.CredentialProviderConfigurationFilterSensitiveLog)(item)),
|
|
1187
|
-
}),
|
|
1188
|
-
});
|
|
1189
|
-
exports.GetGatewayTargetResponseFilterSensitiveLog = GetGatewayTargetResponseFilterSensitiveLog;
|
|
1190
|
-
const UpdateGatewayTargetRequestFilterSensitiveLog = (obj) => ({
|
|
1191
|
-
...obj,
|
|
1192
|
-
...(obj.name && { name: smithy_client_1.SENSITIVE_STRING }),
|
|
1193
|
-
...(obj.description && { description: smithy_client_1.SENSITIVE_STRING }),
|
|
1194
|
-
...(obj.targetConfiguration && {
|
|
1195
|
-
targetConfiguration: (0, exports.TargetConfigurationFilterSensitiveLog)(obj.targetConfiguration),
|
|
1196
|
-
}),
|
|
1197
|
-
...(obj.credentialProviderConfigurations && {
|
|
1198
|
-
credentialProviderConfigurations: obj.credentialProviderConfigurations.map((item) => (0, exports.CredentialProviderConfigurationFilterSensitiveLog)(item)),
|
|
1199
|
-
}),
|
|
1200
|
-
});
|
|
1201
|
-
exports.UpdateGatewayTargetRequestFilterSensitiveLog = UpdateGatewayTargetRequestFilterSensitiveLog;
|
|
1202
|
-
const UpdateGatewayTargetResponseFilterSensitiveLog = (obj) => ({
|
|
1203
|
-
...obj,
|
|
1204
|
-
...(obj.name && { name: smithy_client_1.SENSITIVE_STRING }),
|
|
1205
|
-
...(obj.description && { description: smithy_client_1.SENSITIVE_STRING }),
|
|
1206
|
-
...(obj.targetConfiguration && {
|
|
1207
|
-
targetConfiguration: (0, exports.TargetConfigurationFilterSensitiveLog)(obj.targetConfiguration),
|
|
1208
|
-
}),
|
|
1209
|
-
...(obj.credentialProviderConfigurations && {
|
|
1210
|
-
credentialProviderConfigurations: obj.credentialProviderConfigurations.map((item) => (0, exports.CredentialProviderConfigurationFilterSensitiveLog)(item)),
|
|
1211
|
-
}),
|
|
1212
|
-
});
|
|
1213
|
-
exports.UpdateGatewayTargetResponseFilterSensitiveLog = UpdateGatewayTargetResponseFilterSensitiveLog;
|