@aws-sdk/client-bedrock-runtime 3.1075.0 → 3.1076.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/dist-cjs/index.js +2283 -17
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +7 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +7 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +7 -1
- package/package.json +13 -13
- package/dist-cjs/auth/httpAuthSchemeProvider.js +0 -57
- package/dist-cjs/endpoint/bdd.js +0 -46
- package/dist-cjs/endpoint/endpointResolver.js +0 -14
- package/dist-cjs/models/BedrockRuntimeServiceException.js +0 -8
- package/dist-cjs/models/errors.js +0 -154
- package/dist-cjs/runtimeConfig.browser.js +0 -37
- package/dist-cjs/runtimeConfig.js +0 -74
- package/dist-cjs/runtimeConfig.native.js +0 -16
- package/dist-cjs/runtimeConfig.shared.js +0 -44
- package/dist-cjs/schemas/schemas_0.js +0 -1876
package/dist-cjs/index.js
CHANGED
|
@@ -1,24 +1,78 @@
|
|
|
1
|
-
|
|
2
|
-
const { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
1
|
+
const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
3
2
|
const { resolveEventStreamConfig, getEventStreamPlugin } = require("@aws-sdk/middleware-eventstream");
|
|
4
3
|
const { resolveWebSocketConfig, getWebSocketPlugin } = require("@aws-sdk/middleware-websocket");
|
|
5
|
-
const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
|
|
6
|
-
const { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
|
|
4
|
+
const { memoizeIdentityProvider, isIdentityExpired, doesIdentityRequireRefresh, HttpBearerAuthSigner, getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
|
|
5
|
+
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
|
|
7
6
|
exports.$Command = Command;
|
|
8
7
|
exports.__Client = Client;
|
|
9
|
-
const { resolveRegionConfig } = require("@smithy/core/config");
|
|
10
|
-
const { resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
11
|
-
const { resolveEventStreamSerdeConfig } = require("@smithy/core/event-streams");
|
|
12
|
-
const { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
|
|
13
|
-
const { resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
|
|
14
|
-
const { getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
15
|
-
const {
|
|
16
|
-
const {
|
|
17
|
-
const {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
const {
|
|
21
|
-
|
|
8
|
+
const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
|
|
9
|
+
const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
10
|
+
const { eventStreamSerdeProvider, resolveEventStreamSerdeConfig } = require("@smithy/core/event-streams");
|
|
11
|
+
const { parseUrl, getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
|
|
12
|
+
const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
|
|
13
|
+
const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
14
|
+
const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
|
|
15
|
+
const { defaultProvider } = require("@aws-sdk/credential-provider-node");
|
|
16
|
+
const { eventStreamPayloadHandlerProvider } = require("@aws-sdk/eventstream-handler-node");
|
|
17
|
+
const { fromEnvSigningName, nodeProvider } = require("@aws-sdk/token-providers");
|
|
18
|
+
const { toUtf8, fromUtf8, toBase64, fromBase64, Hash, calculateBodyLength } = require("@smithy/core/serde");
|
|
19
|
+
const { streamCollector, NodeHttp2Handler } = require("@smithy/node-http-handler");
|
|
20
|
+
const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
|
|
21
|
+
|
|
22
|
+
const defaultBedrockRuntimeHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
23
|
+
return {
|
|
24
|
+
operation: getSmithyContext(context).operation,
|
|
25
|
+
region: await normalizeProvider(config.region)() || (() => {
|
|
26
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
27
|
+
})(),
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
31
|
+
return {
|
|
32
|
+
schemeId: "aws.auth#sigv4",
|
|
33
|
+
signingProperties: {
|
|
34
|
+
name: "bedrock",
|
|
35
|
+
region: authParameters.region,
|
|
36
|
+
},
|
|
37
|
+
propertiesExtractor: (config, context) => ({
|
|
38
|
+
signingProperties: {
|
|
39
|
+
config,
|
|
40
|
+
context,
|
|
41
|
+
},
|
|
42
|
+
}),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function createSmithyApiHttpBearerAuthHttpAuthOption(authParameters) {
|
|
46
|
+
return {
|
|
47
|
+
schemeId: "smithy.api#httpBearerAuth",
|
|
48
|
+
propertiesExtractor: ({ profile, filepath, configFilepath, ignoreCache, }, context) => ({
|
|
49
|
+
identityProperties: {
|
|
50
|
+
profile,
|
|
51
|
+
filepath,
|
|
52
|
+
configFilepath,
|
|
53
|
+
ignoreCache,
|
|
54
|
+
},
|
|
55
|
+
}),
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
const defaultBedrockRuntimeHttpAuthSchemeProvider = (authParameters) => {
|
|
59
|
+
const options = [];
|
|
60
|
+
switch (authParameters.operation) {
|
|
61
|
+
default: {
|
|
62
|
+
options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
|
|
63
|
+
options.push(createSmithyApiHttpBearerAuthHttpAuthOption());
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
return options;
|
|
67
|
+
};
|
|
68
|
+
const resolveHttpAuthSchemeConfig = (config) => {
|
|
69
|
+
const token = memoizeIdentityProvider(config.token, isIdentityExpired, doesIdentityRequireRefresh);
|
|
70
|
+
const config_0 = resolveAwsSdkSigV4Config(config);
|
|
71
|
+
return Object.assign(config_0, {
|
|
72
|
+
authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
|
|
73
|
+
token,
|
|
74
|
+
});
|
|
75
|
+
};
|
|
22
76
|
|
|
23
77
|
const resolveClientEndpointParameters = (options) => {
|
|
24
78
|
return Object.assign(options, {
|
|
@@ -34,6 +88,2002 @@ const commonParams = {
|
|
|
34
88
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
35
89
|
};
|
|
36
90
|
|
|
91
|
+
var version = "3.1075.0";
|
|
92
|
+
var packageInfo = {
|
|
93
|
+
version: version};
|
|
94
|
+
|
|
95
|
+
const k = "ref";
|
|
96
|
+
const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
|
|
97
|
+
const _data = {
|
|
98
|
+
conditions: [
|
|
99
|
+
[c, [g]],
|
|
100
|
+
[c, j],
|
|
101
|
+
["aws.partition", j, d],
|
|
102
|
+
[e, [{ [k]: "UseFIPS" }, b]],
|
|
103
|
+
[e, [{ [k]: "UseDualStack" }, b]],
|
|
104
|
+
[e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]],
|
|
105
|
+
[e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]]
|
|
106
|
+
],
|
|
107
|
+
results: [
|
|
108
|
+
[a],
|
|
109
|
+
[a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
|
|
110
|
+
[a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
|
|
111
|
+
[g, i],
|
|
112
|
+
["https://bedrock-runtime-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
|
|
113
|
+
[a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
|
|
114
|
+
["https://bedrock-runtime-fips.{Region}.{PartitionResult#dnsSuffix}", i],
|
|
115
|
+
[a, "FIPS is enabled but this partition does not support FIPS"],
|
|
116
|
+
["https://bedrock-runtime.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
|
|
117
|
+
[a, "DualStack is enabled but this partition does not support DualStack"],
|
|
118
|
+
["https://bedrock-runtime.{Region}.{PartitionResult#dnsSuffix}", i],
|
|
119
|
+
[a, "Invalid Configuration: Missing Region"]
|
|
120
|
+
]
|
|
121
|
+
};
|
|
122
|
+
const root = 2;
|
|
123
|
+
const r = 100_000_000;
|
|
124
|
+
const nodes = new Int32Array([
|
|
125
|
+
-1, 1, -1,
|
|
126
|
+
0, 12, 3,
|
|
127
|
+
1, 4, r + 11,
|
|
128
|
+
2, 5, r + 11,
|
|
129
|
+
3, 8, 6,
|
|
130
|
+
4, 7, r + 10,
|
|
131
|
+
5, r + 8, r + 9,
|
|
132
|
+
4, 10, 9,
|
|
133
|
+
6, r + 6, r + 7,
|
|
134
|
+
5, 11, r + 5,
|
|
135
|
+
6, r + 4, r + 5,
|
|
136
|
+
3, r + 1, 13,
|
|
137
|
+
4, r + 2, r + 3,
|
|
138
|
+
]);
|
|
139
|
+
const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
|
140
|
+
|
|
141
|
+
const cache = new EndpointCache({
|
|
142
|
+
size: 50,
|
|
143
|
+
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
|
144
|
+
});
|
|
145
|
+
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
146
|
+
return cache.get(endpointParams, () => decideEndpoint(bdd, {
|
|
147
|
+
endpointParams: endpointParams,
|
|
148
|
+
logger: context.logger,
|
|
149
|
+
}));
|
|
150
|
+
};
|
|
151
|
+
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
152
|
+
|
|
153
|
+
class BedrockRuntimeServiceException extends ServiceException {
|
|
154
|
+
constructor(options) {
|
|
155
|
+
super(options);
|
|
156
|
+
Object.setPrototypeOf(this, BedrockRuntimeServiceException.prototype);
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
class AccessDeniedException extends BedrockRuntimeServiceException {
|
|
161
|
+
name = "AccessDeniedException";
|
|
162
|
+
$fault = "client";
|
|
163
|
+
constructor(opts) {
|
|
164
|
+
super({
|
|
165
|
+
name: "AccessDeniedException",
|
|
166
|
+
$fault: "client",
|
|
167
|
+
...opts,
|
|
168
|
+
});
|
|
169
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
class InternalServerException extends BedrockRuntimeServiceException {
|
|
173
|
+
name = "InternalServerException";
|
|
174
|
+
$fault = "server";
|
|
175
|
+
constructor(opts) {
|
|
176
|
+
super({
|
|
177
|
+
name: "InternalServerException",
|
|
178
|
+
$fault: "server",
|
|
179
|
+
...opts,
|
|
180
|
+
});
|
|
181
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
class ThrottlingException extends BedrockRuntimeServiceException {
|
|
185
|
+
name = "ThrottlingException";
|
|
186
|
+
$fault = "client";
|
|
187
|
+
constructor(opts) {
|
|
188
|
+
super({
|
|
189
|
+
name: "ThrottlingException",
|
|
190
|
+
$fault: "client",
|
|
191
|
+
...opts,
|
|
192
|
+
});
|
|
193
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
class ValidationException extends BedrockRuntimeServiceException {
|
|
197
|
+
name = "ValidationException";
|
|
198
|
+
$fault = "client";
|
|
199
|
+
constructor(opts) {
|
|
200
|
+
super({
|
|
201
|
+
name: "ValidationException",
|
|
202
|
+
$fault: "client",
|
|
203
|
+
...opts,
|
|
204
|
+
});
|
|
205
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
class ConflictException extends BedrockRuntimeServiceException {
|
|
209
|
+
name = "ConflictException";
|
|
210
|
+
$fault = "client";
|
|
211
|
+
constructor(opts) {
|
|
212
|
+
super({
|
|
213
|
+
name: "ConflictException",
|
|
214
|
+
$fault: "client",
|
|
215
|
+
...opts,
|
|
216
|
+
});
|
|
217
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
class ResourceNotFoundException extends BedrockRuntimeServiceException {
|
|
221
|
+
name = "ResourceNotFoundException";
|
|
222
|
+
$fault = "client";
|
|
223
|
+
constructor(opts) {
|
|
224
|
+
super({
|
|
225
|
+
name: "ResourceNotFoundException",
|
|
226
|
+
$fault: "client",
|
|
227
|
+
...opts,
|
|
228
|
+
});
|
|
229
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
class ServiceQuotaExceededException extends BedrockRuntimeServiceException {
|
|
233
|
+
name = "ServiceQuotaExceededException";
|
|
234
|
+
$fault = "client";
|
|
235
|
+
constructor(opts) {
|
|
236
|
+
super({
|
|
237
|
+
name: "ServiceQuotaExceededException",
|
|
238
|
+
$fault: "client",
|
|
239
|
+
...opts,
|
|
240
|
+
});
|
|
241
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
class ServiceUnavailableException extends BedrockRuntimeServiceException {
|
|
245
|
+
name = "ServiceUnavailableException";
|
|
246
|
+
$fault = "server";
|
|
247
|
+
constructor(opts) {
|
|
248
|
+
super({
|
|
249
|
+
name: "ServiceUnavailableException",
|
|
250
|
+
$fault: "server",
|
|
251
|
+
...opts,
|
|
252
|
+
});
|
|
253
|
+
Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
class ModelErrorException extends BedrockRuntimeServiceException {
|
|
257
|
+
name = "ModelErrorException";
|
|
258
|
+
$fault = "client";
|
|
259
|
+
originalStatusCode;
|
|
260
|
+
resourceName;
|
|
261
|
+
constructor(opts) {
|
|
262
|
+
super({
|
|
263
|
+
name: "ModelErrorException",
|
|
264
|
+
$fault: "client",
|
|
265
|
+
...opts,
|
|
266
|
+
});
|
|
267
|
+
Object.setPrototypeOf(this, ModelErrorException.prototype);
|
|
268
|
+
this.originalStatusCode = opts.originalStatusCode;
|
|
269
|
+
this.resourceName = opts.resourceName;
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
class ModelNotReadyException extends BedrockRuntimeServiceException {
|
|
273
|
+
name = "ModelNotReadyException";
|
|
274
|
+
$fault = "client";
|
|
275
|
+
$retryable = {};
|
|
276
|
+
constructor(opts) {
|
|
277
|
+
super({
|
|
278
|
+
name: "ModelNotReadyException",
|
|
279
|
+
$fault: "client",
|
|
280
|
+
...opts,
|
|
281
|
+
});
|
|
282
|
+
Object.setPrototypeOf(this, ModelNotReadyException.prototype);
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
class ModelTimeoutException extends BedrockRuntimeServiceException {
|
|
286
|
+
name = "ModelTimeoutException";
|
|
287
|
+
$fault = "client";
|
|
288
|
+
constructor(opts) {
|
|
289
|
+
super({
|
|
290
|
+
name: "ModelTimeoutException",
|
|
291
|
+
$fault: "client",
|
|
292
|
+
...opts,
|
|
293
|
+
});
|
|
294
|
+
Object.setPrototypeOf(this, ModelTimeoutException.prototype);
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
class ModelStreamErrorException extends BedrockRuntimeServiceException {
|
|
298
|
+
name = "ModelStreamErrorException";
|
|
299
|
+
$fault = "client";
|
|
300
|
+
originalStatusCode;
|
|
301
|
+
originalMessage;
|
|
302
|
+
constructor(opts) {
|
|
303
|
+
super({
|
|
304
|
+
name: "ModelStreamErrorException",
|
|
305
|
+
$fault: "client",
|
|
306
|
+
...opts,
|
|
307
|
+
});
|
|
308
|
+
Object.setPrototypeOf(this, ModelStreamErrorException.prototype);
|
|
309
|
+
this.originalStatusCode = opts.originalStatusCode;
|
|
310
|
+
this.originalMessage = opts.originalMessage;
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
const _A = "Accept";
|
|
315
|
+
const _AB = "AudioBlock";
|
|
316
|
+
const _ADE = "AccessDeniedException";
|
|
317
|
+
const _AG = "ApplyGuardrail";
|
|
318
|
+
const _AGD = "AppliedGuardrailDetails";
|
|
319
|
+
const _AGR = "ApplyGuardrailRequest";
|
|
320
|
+
const _AGRp = "ApplyGuardrailResponse";
|
|
321
|
+
const _AIM = "AsyncInvokeMessage";
|
|
322
|
+
const _AIODC = "AsyncInvokeOutputDataConfig";
|
|
323
|
+
const _AIS = "AsyncInvokeSummary";
|
|
324
|
+
const _AISODC = "AsyncInvokeS3OutputDataConfig";
|
|
325
|
+
const _AISs = "AsyncInvokeSummaries";
|
|
326
|
+
const _AS = "AudioSource";
|
|
327
|
+
const _ATC = "AnyToolChoice";
|
|
328
|
+
const _ATCu = "AutoToolChoice";
|
|
329
|
+
const _B = "Body";
|
|
330
|
+
const _BIPP = "BidirectionalInputPayloadPart";
|
|
331
|
+
const _BOPP = "BidirectionalOutputPayloadPart";
|
|
332
|
+
const _C = "Citation";
|
|
333
|
+
const _CB = "ContentBlocks";
|
|
334
|
+
const _CBD = "ContentBlockDelta";
|
|
335
|
+
const _CBDE = "ContentBlockDeltaEvent";
|
|
336
|
+
const _CBS = "ContentBlockStart";
|
|
337
|
+
const _CBSE = "ContentBlockStartEvent";
|
|
338
|
+
const _CBSEo = "ContentBlockStopEvent";
|
|
339
|
+
const _CBo = "ContentBlock";
|
|
340
|
+
const _CC = "CitationsConfig";
|
|
341
|
+
const _CCB = "CitationsContentBlock";
|
|
342
|
+
const _CD = "CacheDetail";
|
|
343
|
+
const _CDL = "CacheDetailsList";
|
|
344
|
+
const _CDi = "CitationsDelta";
|
|
345
|
+
const _CE = "ConflictException";
|
|
346
|
+
const _CGC = "CitationGeneratedContent";
|
|
347
|
+
const _CGCL = "CitationGeneratedContentList";
|
|
348
|
+
const _CL = "CitationLocation";
|
|
349
|
+
const _CM = "ConverseMetrics";
|
|
350
|
+
const _CO = "ConverseOutput";
|
|
351
|
+
const _CPB = "CachePointBlock";
|
|
352
|
+
const _CR = "ConverseRequest";
|
|
353
|
+
const _CRo = "ConverseResponse";
|
|
354
|
+
const _CS = "ConverseStream";
|
|
355
|
+
const _CSC = "CitationSourceContent";
|
|
356
|
+
const _CSCD = "CitationSourceContentDelta";
|
|
357
|
+
const _CSCL = "CitationSourceContentList";
|
|
358
|
+
const _CSCLD = "CitationSourceContentListDelta";
|
|
359
|
+
const _CSM = "ConverseStreamMetrics";
|
|
360
|
+
const _CSME = "ConverseStreamMetadataEvent";
|
|
361
|
+
const _CSO = "ConverseStreamOutput";
|
|
362
|
+
const _CSR = "ConverseStreamRequest";
|
|
363
|
+
const _CSRo = "ConverseStreamResponse";
|
|
364
|
+
const _CST = "ConverseStreamTrace";
|
|
365
|
+
const _CT = "ConverseTrace";
|
|
366
|
+
const _CTI = "CountTokensInput";
|
|
367
|
+
const _CTR = "ConverseTokensRequest";
|
|
368
|
+
const _CTRo = "CountTokensRequest";
|
|
369
|
+
const _CTRou = "CountTokensResponse";
|
|
370
|
+
const _CT_ = "Content-Type";
|
|
371
|
+
const _CTo = "CountTokens";
|
|
372
|
+
const _Ci = "Citations";
|
|
373
|
+
const _Co = "Converse";
|
|
374
|
+
const _DB = "DocumentBlock";
|
|
375
|
+
const _DCB = "DocumentContentBlocks";
|
|
376
|
+
const _DCBo = "DocumentContentBlock";
|
|
377
|
+
const _DCL = "DocumentCharLocation";
|
|
378
|
+
const _DCLo = "DocumentChunkLocation";
|
|
379
|
+
const _DPL = "DocumentPageLocation";
|
|
380
|
+
const _DS = "DocumentSource";
|
|
381
|
+
const _EB = "ErrorBlock";
|
|
382
|
+
const _GA = "GuardrailAssessment";
|
|
383
|
+
const _GAI = "GetAsyncInvoke";
|
|
384
|
+
const _GAIR = "GetAsyncInvokeRequest";
|
|
385
|
+
const _GAIRe = "GetAsyncInvokeResponse";
|
|
386
|
+
const _GAL = "GuardrailAssessmentList";
|
|
387
|
+
const _GALM = "GuardrailAssessmentListMap";
|
|
388
|
+
const _GAM = "GuardrailAssessmentMap";
|
|
389
|
+
const _GARDSL = "GuardrailAutomatedReasoningDifferenceScenarioList";
|
|
390
|
+
const _GARF = "GuardrailAutomatedReasoningFinding";
|
|
391
|
+
const _GARFL = "GuardrailAutomatedReasoningFindingList";
|
|
392
|
+
const _GARIF = "GuardrailAutomatedReasoningImpossibleFinding";
|
|
393
|
+
const _GARIFu = "GuardrailAutomatedReasoningInvalidFinding";
|
|
394
|
+
const _GARITR = "GuardrailAutomatedReasoningInputTextReference";
|
|
395
|
+
const _GARITRL = "GuardrailAutomatedReasoningInputTextReferenceList";
|
|
396
|
+
const _GARLW = "GuardrailAutomatedReasoningLogicWarning";
|
|
397
|
+
const _GARNTF = "GuardrailAutomatedReasoningNoTranslationsFinding";
|
|
398
|
+
const _GARPA = "GuardrailAutomatedReasoningPolicyAssessment";
|
|
399
|
+
const _GARR = "GuardrailAutomatedReasoningRule";
|
|
400
|
+
const _GARRL = "GuardrailAutomatedReasoningRuleList";
|
|
401
|
+
const _GARS = "GuardrailAutomatedReasoningScenario";
|
|
402
|
+
const _GARSF = "GuardrailAutomatedReasoningSatisfiableFinding";
|
|
403
|
+
const _GARSL = "GuardrailAutomatedReasoningStatementList";
|
|
404
|
+
const _GARSLC = "GuardrailAutomatedReasoningStatementLogicContent";
|
|
405
|
+
const _GARSNLC = "GuardrailAutomatedReasoningStatementNaturalLanguageContent";
|
|
406
|
+
const _GARSu = "GuardrailAutomatedReasoningStatement";
|
|
407
|
+
const _GART = "GuardrailAutomatedReasoningTranslation";
|
|
408
|
+
const _GARTAF = "GuardrailAutomatedReasoningTranslationAmbiguousFinding";
|
|
409
|
+
const _GARTCF = "GuardrailAutomatedReasoningTooComplexFinding";
|
|
410
|
+
const _GARTL = "GuardrailAutomatedReasoningTranslationList";
|
|
411
|
+
const _GARTO = "GuardrailAutomatedReasoningTranslationOption";
|
|
412
|
+
const _GARTOL = "GuardrailAutomatedReasoningTranslationOptionList";
|
|
413
|
+
const _GARVF = "GuardrailAutomatedReasoningValidFinding";
|
|
414
|
+
const _GC = "GuardrailConfiguration";
|
|
415
|
+
const _GCB = "GuardrailContentBlock";
|
|
416
|
+
const _GCBL = "GuardrailContentBlockList";
|
|
417
|
+
const _GCC = "GuardrailChecksConfig";
|
|
418
|
+
const _GCCB = "GuardrailChecksContentBlock";
|
|
419
|
+
const _GCCBL = "GuardrailChecksContentBlockList";
|
|
420
|
+
const _GCCBu = "GuardrailConverseContentBlock";
|
|
421
|
+
const _GCCFC = "GuardrailChecksContentFilterConfig";
|
|
422
|
+
const _GCCFCC = "GuardrailChecksContentFilterCategoryConfig";
|
|
423
|
+
const _GCCFCCL = "GuardrailChecksContentFilterCategoryConfigList";
|
|
424
|
+
const _GCCFR = "GuardrailChecksContentFilterResult";
|
|
425
|
+
const _GCCFRE = "GuardrailChecksContentFilterResultEntry";
|
|
426
|
+
const _GCCFRL = "GuardrailChecksContentFilterResultList";
|
|
427
|
+
const _GCCFU = "GuardrailChecksContentFilterUsage";
|
|
428
|
+
const _GCF = "GuardrailContentFilter";
|
|
429
|
+
const _GCFL = "GuardrailContentFilterList";
|
|
430
|
+
const _GCGF = "GuardrailContextualGroundingFilter";
|
|
431
|
+
const _GCGFu = "GuardrailContextualGroundingFilters";
|
|
432
|
+
const _GCGPA = "GuardrailContextualGroundingPolicyAssessment";
|
|
433
|
+
const _GCIB = "GuardrailConverseImageBlock";
|
|
434
|
+
const _GCIS = "GuardrailConverseImageSource";
|
|
435
|
+
const _GCM = "GuardrailChecksMessage";
|
|
436
|
+
const _GCML = "GuardrailChecksMessageList";
|
|
437
|
+
const _GCPA = "GuardrailContentPolicyAssessment";
|
|
438
|
+
const _GCPAC = "GuardrailChecksPromptAttackConfig";
|
|
439
|
+
const _GCPACC = "GuardrailChecksPromptAttackCategoryConfig";
|
|
440
|
+
const _GCPACCL = "GuardrailChecksPromptAttackCategoryConfigList";
|
|
441
|
+
const _GCPAR = "GuardrailChecksPromptAttackResult";
|
|
442
|
+
const _GCPARE = "GuardrailChecksPromptAttackResultEntry";
|
|
443
|
+
const _GCPARL = "GuardrailChecksPromptAttackResultList";
|
|
444
|
+
const _GCPAU = "GuardrailChecksPromptAttackUsage";
|
|
445
|
+
const _GCR = "GuardrailChecksResults";
|
|
446
|
+
const _GCSIC = "GuardrailChecksSensitiveInformationConfig";
|
|
447
|
+
const _GCSIEC = "GuardrailChecksSensitiveInformationEntityConfig";
|
|
448
|
+
const _GCSIECL = "GuardrailChecksSensitiveInformationEntityConfigList";
|
|
449
|
+
const _GCSIR = "GuardrailChecksSensitiveInformationResult";
|
|
450
|
+
const _GCSIRE = "GuardrailChecksSensitiveInformationResultEntry";
|
|
451
|
+
const _GCSIRL = "GuardrailChecksSensitiveInformationResultList";
|
|
452
|
+
const _GCSIU = "GuardrailChecksSensitiveInformationUsage";
|
|
453
|
+
const _GCTB = "GuardrailConverseTextBlock";
|
|
454
|
+
const _GCTC = "GuardrailChecksTextContent";
|
|
455
|
+
const _GCUR = "GuardrailChecksUsageResults";
|
|
456
|
+
const _GCW = "GuardrailCustomWord";
|
|
457
|
+
const _GCWL = "GuardrailCustomWordList";
|
|
458
|
+
const _GCu = "GuardrailCoverage";
|
|
459
|
+
const _GIB = "GuardrailImageBlock";
|
|
460
|
+
const _GIC = "GuardrailImageCoverage";
|
|
461
|
+
const _GIM = "GuardrailInvocationMetrics";
|
|
462
|
+
const _GIS = "GuardrailImageSource";
|
|
463
|
+
const _GMW = "GuardrailManagedWord";
|
|
464
|
+
const _GMWL = "GuardrailManagedWordList";
|
|
465
|
+
const _GOC = "GuardrailOutputContent";
|
|
466
|
+
const _GOCL = "GuardrailOutputContentList";
|
|
467
|
+
const _GPEF = "GuardrailPiiEntityFilter";
|
|
468
|
+
const _GPEFL = "GuardrailPiiEntityFilterList";
|
|
469
|
+
const _GRF = "GuardrailRegexFilter";
|
|
470
|
+
const _GRFL = "GuardrailRegexFilterList";
|
|
471
|
+
const _GSC = "GuardrailStreamConfiguration";
|
|
472
|
+
const _GSIPA = "GuardrailSensitiveInformationPolicyAssessment";
|
|
473
|
+
const _GT = "GuardrailTopic";
|
|
474
|
+
const _GTA = "GuardrailTraceAssessment";
|
|
475
|
+
const _GTB = "GuardrailTextBlock";
|
|
476
|
+
const _GTCC = "GuardrailTextCharactersCoverage";
|
|
477
|
+
const _GTL = "GuardrailTopicList";
|
|
478
|
+
const _GTPA = "GuardrailTopicPolicyAssessment";
|
|
479
|
+
const _GU = "GuardrailUsage";
|
|
480
|
+
const _GWPA = "GuardrailWordPolicyAssessment";
|
|
481
|
+
const _IB = "ImageBlock";
|
|
482
|
+
const _IBD = "ImageBlockDelta";
|
|
483
|
+
const _IBS = "ImageBlockStart";
|
|
484
|
+
const _IC = "InferenceConfiguration";
|
|
485
|
+
const _IGC = "InvokeGuardrailChecks";
|
|
486
|
+
const _IGCR = "InvokeGuardrailChecksRequest";
|
|
487
|
+
const _IGCRn = "InvokeGuardrailChecksResponse";
|
|
488
|
+
const _IM = "InvokeModel";
|
|
489
|
+
const _IMR = "InvokeModelRequest";
|
|
490
|
+
const _IMRn = "InvokeModelResponse";
|
|
491
|
+
const _IMTR = "InvokeModelTokensRequest";
|
|
492
|
+
const _IMWBS = "InvokeModelWithBidirectionalStream";
|
|
493
|
+
const _IMWBSI = "InvokeModelWithBidirectionalStreamInput";
|
|
494
|
+
const _IMWBSO = "InvokeModelWithBidirectionalStreamOutput";
|
|
495
|
+
const _IMWBSR = "InvokeModelWithBidirectionalStreamRequest";
|
|
496
|
+
const _IMWBSRn = "InvokeModelWithBidirectionalStreamResponse";
|
|
497
|
+
const _IMWRS = "InvokeModelWithResponseStream";
|
|
498
|
+
const _IMWRSR = "InvokeModelWithResponseStreamRequest";
|
|
499
|
+
const _IMWRSRn = "InvokeModelWithResponseStreamResponse";
|
|
500
|
+
const _IS = "ImageSource";
|
|
501
|
+
const _ISE = "InternalServerException";
|
|
502
|
+
const _JSD = "JsonSchemaDefinition";
|
|
503
|
+
const _LAI = "ListAsyncInvokes";
|
|
504
|
+
const _LAIR = "ListAsyncInvokesRequest";
|
|
505
|
+
const _LAIRi = "ListAsyncInvokesResponse";
|
|
506
|
+
const _M = "Message";
|
|
507
|
+
const _MEE = "ModelErrorException";
|
|
508
|
+
const _MIP = "ModelInputPayload";
|
|
509
|
+
const _MNRE = "ModelNotReadyException";
|
|
510
|
+
const _MSE = "MessageStartEvent";
|
|
511
|
+
const _MSEE = "ModelStreamErrorException";
|
|
512
|
+
const _MSEe = "MessageStopEvent";
|
|
513
|
+
const _MTE = "ModelTimeoutException";
|
|
514
|
+
const _Me = "Messages";
|
|
515
|
+
const _OC = "OutputConfig";
|
|
516
|
+
const _OF = "OutputFormat";
|
|
517
|
+
const _OFS = "OutputFormatStructure";
|
|
518
|
+
const _PB = "PartBody";
|
|
519
|
+
const _PC = "PerformanceConfiguration";
|
|
520
|
+
const _PP = "PayloadPart";
|
|
521
|
+
const _PRT = "PromptRouterTrace";
|
|
522
|
+
const _PVM = "PromptVariableMap";
|
|
523
|
+
const _PVV = "PromptVariableValues";
|
|
524
|
+
const _RCB = "ReasoningContentBlock";
|
|
525
|
+
const _RCBD = "ReasoningContentBlockDelta";
|
|
526
|
+
const _RM = "RequestMetadata";
|
|
527
|
+
const _RMJ = "RequestMetadataJson";
|
|
528
|
+
const _RNFE = "ResourceNotFoundException";
|
|
529
|
+
const _RS = "ResponseStream";
|
|
530
|
+
const _RTB = "ReasoningTextBlock";
|
|
531
|
+
const _SAI = "StartAsyncInvoke";
|
|
532
|
+
const _SAIR = "StartAsyncInvokeRequest";
|
|
533
|
+
const _SAIRt = "StartAsyncInvokeResponse";
|
|
534
|
+
const _SCB = "SystemContentBlocks";
|
|
535
|
+
const _SCBy = "SystemContentBlock";
|
|
536
|
+
const _SL = "S3Location";
|
|
537
|
+
const _SQEE = "ServiceQuotaExceededException";
|
|
538
|
+
const _SRB = "SearchResultBlock";
|
|
539
|
+
const _SRCB = "SearchResultContentBlock";
|
|
540
|
+
const _SRCBe = "SearchResultContentBlocks";
|
|
541
|
+
const _SRL = "SearchResultLocation";
|
|
542
|
+
const _ST = "ServiceTier";
|
|
543
|
+
const _STC = "SpecificToolChoice";
|
|
544
|
+
const _STy = "SystemTool";
|
|
545
|
+
const _SUE = "ServiceUnavailableException";
|
|
546
|
+
const _T = "Tag";
|
|
547
|
+
const _TC = "ToolConfiguration";
|
|
548
|
+
const _TCo = "ToolChoice";
|
|
549
|
+
const _TE = "ThrottlingException";
|
|
550
|
+
const _TIS = "ToolInputSchema";
|
|
551
|
+
const _TL = "TagList";
|
|
552
|
+
const _TRB = "ToolResultBlock";
|
|
553
|
+
const _TRBD = "ToolResultBlocksDelta";
|
|
554
|
+
const _TRBDo = "ToolResultBlockDelta";
|
|
555
|
+
const _TRBS = "ToolResultBlockStart";
|
|
556
|
+
const _TRCB = "ToolResultContentBlocks";
|
|
557
|
+
const _TRCBo = "ToolResultContentBlock";
|
|
558
|
+
const _TS = "ToolSpecification";
|
|
559
|
+
const _TU = "TokenUsage";
|
|
560
|
+
const _TUB = "ToolUseBlock";
|
|
561
|
+
const _TUBD = "ToolUseBlockDelta";
|
|
562
|
+
const _TUBS = "ToolUseBlockStart";
|
|
563
|
+
const _To = "Tools";
|
|
564
|
+
const _Too = "Tool";
|
|
565
|
+
const _VB = "VideoBlock";
|
|
566
|
+
const _VE = "ValidationException";
|
|
567
|
+
const _VS = "VideoSource";
|
|
568
|
+
const _WL = "WebLocation";
|
|
569
|
+
const _XABA = "X-Amzn-Bedrock-Accept";
|
|
570
|
+
const _XABCT = "X-Amzn-Bedrock-Content-Type";
|
|
571
|
+
const _XABG = "X-Amzn-Bedrock-GuardrailIdentifier";
|
|
572
|
+
const _XABG_ = "X-Amzn-Bedrock-GuardrailVersion";
|
|
573
|
+
const _XABPL = "X-Amzn-Bedrock-PerformanceConfig-Latency";
|
|
574
|
+
const _XABRM = "X-Amzn-Bedrock-Request-Metadata";
|
|
575
|
+
const _XABST = "X-Amzn-Bedrock-Service-Tier";
|
|
576
|
+
const _XABT = "X-Amzn-Bedrock-Trace";
|
|
577
|
+
const _a = "action";
|
|
578
|
+
const _aGD = "appliedGuardrailDetails";
|
|
579
|
+
const _aIS = "asyncInvokeSummaries";
|
|
580
|
+
const _aMRF = "additionalModelRequestFields";
|
|
581
|
+
const _aMRFP = "additionalModelResponseFieldPaths";
|
|
582
|
+
const _aMRFd = "additionalModelResponseFields";
|
|
583
|
+
const _aR = "actionReason";
|
|
584
|
+
const _aRP = "automatedReasoningPolicy";
|
|
585
|
+
const _aRPU = "automatedReasoningPolicyUnits";
|
|
586
|
+
const _aRPu = "automatedReasoningPolicies";
|
|
587
|
+
const _ac = "accept";
|
|
588
|
+
const _an = "any";
|
|
589
|
+
const _as = "assessments";
|
|
590
|
+
const _au = "audio";
|
|
591
|
+
const _aut = "auto";
|
|
592
|
+
const _b = "bytes";
|
|
593
|
+
const _bO = "bucketOwner";
|
|
594
|
+
const _bOe = "beginOffset";
|
|
595
|
+
const _bo = "body";
|
|
596
|
+
const _c = "client";
|
|
597
|
+
const _cBD = "contentBlockDelta";
|
|
598
|
+
const _cBI = "contentBlockIndex";
|
|
599
|
+
const _cBS = "contentBlockStart";
|
|
600
|
+
const _cBSo = "contentBlockStop";
|
|
601
|
+
const _cC = "citationsContent";
|
|
602
|
+
const _cD = "cacheDetails";
|
|
603
|
+
const _cF = "contentFilter";
|
|
604
|
+
const _cFS = "claimsFalseScenario";
|
|
605
|
+
const _cGP = "contextualGroundingPolicy";
|
|
606
|
+
const _cGPU = "contextualGroundingPolicyUnits";
|
|
607
|
+
const _cI = "contentIndex";
|
|
608
|
+
const _cP = "contentPolicy";
|
|
609
|
+
const _cPIU = "contentPolicyImageUnits";
|
|
610
|
+
const _cPU = "contentPolicyUnits";
|
|
611
|
+
const _cPa = "cachePoint";
|
|
612
|
+
const _cR = "contradictingRules";
|
|
613
|
+
const _cRIT = "cacheReadInputTokens";
|
|
614
|
+
const _cRT = "clientRequestToken";
|
|
615
|
+
const _cS = "confidenceScore";
|
|
616
|
+
const _cT = "contentType";
|
|
617
|
+
const _cTS = "claimsTrueScenario";
|
|
618
|
+
const _cW = "customWords";
|
|
619
|
+
const _cWIT = "cacheWriteInputTokens";
|
|
620
|
+
const _ca = "category";
|
|
621
|
+
const _cat = "categories";
|
|
622
|
+
const _ch = "checks";
|
|
623
|
+
const _chu = "chunk";
|
|
624
|
+
const _ci = "citations";
|
|
625
|
+
const _cit = "citation";
|
|
626
|
+
const _cl = "claims";
|
|
627
|
+
const _co = "content";
|
|
628
|
+
const _con = "context";
|
|
629
|
+
const _conf = "confidence";
|
|
630
|
+
const _conv = "converse";
|
|
631
|
+
const _d = "delta";
|
|
632
|
+
const _dC = "documentChar";
|
|
633
|
+
const _dCo = "documentChunk";
|
|
634
|
+
const _dI = "documentIndex";
|
|
635
|
+
const _dP = "documentPage";
|
|
636
|
+
const _dS = "differenceScenarios";
|
|
637
|
+
const _de = "detected";
|
|
638
|
+
const _des = "description";
|
|
639
|
+
const _do = "domain";
|
|
640
|
+
const _doc = "document";
|
|
641
|
+
const _e = "error";
|
|
642
|
+
const _eO = "endOffset";
|
|
643
|
+
const _eT = "endTime";
|
|
644
|
+
const _en = "enabled";
|
|
645
|
+
const _end = "end";
|
|
646
|
+
const _ent = "entities";
|
|
647
|
+
const _f = "format";
|
|
648
|
+
const _fM = "failureMessage";
|
|
649
|
+
const _fS = "filterStrength";
|
|
650
|
+
const _fi = "findings";
|
|
651
|
+
const _fil = "filters";
|
|
652
|
+
const _g = "guardrail";
|
|
653
|
+
const _gA = "guardrailArn";
|
|
654
|
+
const _gC = "guardrailCoverage";
|
|
655
|
+
const _gCu = "guardrailConfig";
|
|
656
|
+
const _gCua = "guardContent";
|
|
657
|
+
const _gI = "guardrailId";
|
|
658
|
+
const _gIu = "guardrailIdentifier";
|
|
659
|
+
const _gO = "guardrailOrigin";
|
|
660
|
+
const _gOu = "guardrailOwnership";
|
|
661
|
+
const _gPL = "guardrailProcessingLatency";
|
|
662
|
+
const _gV = "guardrailVersion";
|
|
663
|
+
const _gu = "guarded";
|
|
664
|
+
const _h = "http";
|
|
665
|
+
const _hE = "httpError";
|
|
666
|
+
const _hH = "httpHeader";
|
|
667
|
+
const _hQ = "httpQuery";
|
|
668
|
+
const _i = "input";
|
|
669
|
+
const _iA = "invocationArn";
|
|
670
|
+
const _iAn = "inputAssessment";
|
|
671
|
+
const _iC = "inferenceConfig";
|
|
672
|
+
const _iM = "invocationMetrics";
|
|
673
|
+
const _iMI = "invokedModelId";
|
|
674
|
+
const _iMn = "invokeModel";
|
|
675
|
+
const _iS = "inputSchema";
|
|
676
|
+
const _iSE = "internalServerException";
|
|
677
|
+
const _iT = "inputTokens";
|
|
678
|
+
const _id = "identifier";
|
|
679
|
+
const _im = "images";
|
|
680
|
+
const _ima = "image";
|
|
681
|
+
const _imp = "impossible";
|
|
682
|
+
const _in = "invalid";
|
|
683
|
+
const _j = "json";
|
|
684
|
+
const _jS = "jsonSchema";
|
|
685
|
+
const _k = "key";
|
|
686
|
+
const _kKI = "kmsKeyId";
|
|
687
|
+
const _l = "location";
|
|
688
|
+
const _lM = "latencyMs";
|
|
689
|
+
const _lMT = "lastModifiedTime";
|
|
690
|
+
const _lW = "logicWarning";
|
|
691
|
+
const _la = "latency";
|
|
692
|
+
const _lo = "logic";
|
|
693
|
+
const _m = "message";
|
|
694
|
+
const _mA = "modelArn";
|
|
695
|
+
const _mI = "modelId";
|
|
696
|
+
const _mIe = "messageIndex";
|
|
697
|
+
const _mIo = "modelInput";
|
|
698
|
+
const _mO = "modelOutput";
|
|
699
|
+
const _mR = "maxResults";
|
|
700
|
+
const _mS = "messageStart";
|
|
701
|
+
const _mSEE = "modelStreamErrorException";
|
|
702
|
+
const _mSe = "messageStop";
|
|
703
|
+
const _mT = "maxTokens";
|
|
704
|
+
const _mTE = "modelTimeoutException";
|
|
705
|
+
const _mWL = "managedWordLists";
|
|
706
|
+
const _ma = "match";
|
|
707
|
+
const _me = "messages";
|
|
708
|
+
const _met = "metrics";
|
|
709
|
+
const _meta = "metadata";
|
|
710
|
+
const _n = "name";
|
|
711
|
+
const _nL = "naturalLanguage";
|
|
712
|
+
const _nT = "nextToken";
|
|
713
|
+
const _nTo = "noTranslations";
|
|
714
|
+
const _o = "outputs";
|
|
715
|
+
const _oA = "outputAssessments";
|
|
716
|
+
const _oC = "outputConfig";
|
|
717
|
+
const _oDC = "outputDataConfig";
|
|
718
|
+
const _oM = "originalMessage";
|
|
719
|
+
const _oS = "outputScope";
|
|
720
|
+
const _oSC = "originalStatusCode";
|
|
721
|
+
const _oT = "outputTokens";
|
|
722
|
+
const _op = "options";
|
|
723
|
+
const _ou = "output";
|
|
724
|
+
const _p = "premises";
|
|
725
|
+
const _pA = "promptAttack";
|
|
726
|
+
const _pC = "performanceConfig";
|
|
727
|
+
const _pCL = "performanceConfigLatency";
|
|
728
|
+
const _pE = "piiEntities";
|
|
729
|
+
const _pR = "promptRouter";
|
|
730
|
+
const _pV = "promptVariables";
|
|
731
|
+
const _pVA = "policyVersionArn";
|
|
732
|
+
const _q = "qualifiers";
|
|
733
|
+
const _r = "results";
|
|
734
|
+
const _rC = "reasoningContent";
|
|
735
|
+
const _rCe = "redactedContent";
|
|
736
|
+
const _rM = "requestMetadata";
|
|
737
|
+
const _rN = "resourceName";
|
|
738
|
+
const _rT = "reasoningText";
|
|
739
|
+
const _re = "regex";
|
|
740
|
+
const _reg = "regexes";
|
|
741
|
+
const _ro = "role";
|
|
742
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.bedrockruntime";
|
|
743
|
+
const _sB = "sortBy";
|
|
744
|
+
const _sC = "sourceContent";
|
|
745
|
+
const _sE = "statusEquals";
|
|
746
|
+
const _sI = "sensitiveInformation";
|
|
747
|
+
const _sIP = "sensitiveInformationPolicy";
|
|
748
|
+
const _sIPFU = "sensitiveInformationPolicyFreeUnits";
|
|
749
|
+
const _sIPU = "sensitiveInformationPolicyUnits";
|
|
750
|
+
const _sL = "s3Location";
|
|
751
|
+
const _sO = "sortOrder";
|
|
752
|
+
const _sODC = "s3OutputDataConfig";
|
|
753
|
+
const _sPM = "streamProcessingMode";
|
|
754
|
+
const _sR = "stopReason";
|
|
755
|
+
const _sRI = "searchResultIndex";
|
|
756
|
+
const _sRL = "searchResultLocation";
|
|
757
|
+
const _sRe = "searchResult";
|
|
758
|
+
const _sRu = "supportingRules";
|
|
759
|
+
const _sS = "severityScore";
|
|
760
|
+
const _sSt = "stopSequences";
|
|
761
|
+
const _sT = "submitTime";
|
|
762
|
+
const _sTA = "submitTimeAfter";
|
|
763
|
+
const _sTB = "submitTimeBefore";
|
|
764
|
+
const _sTe = "serviceTier";
|
|
765
|
+
const _sTy = "systemTool";
|
|
766
|
+
const _sU = "s3Uri";
|
|
767
|
+
const _sUE = "serviceUnavailableException";
|
|
768
|
+
const _sa = "satisfiable";
|
|
769
|
+
const _sc = "score";
|
|
770
|
+
const _sch = "schema";
|
|
771
|
+
const _se = "server";
|
|
772
|
+
const _si = "signature";
|
|
773
|
+
const _so = "source";
|
|
774
|
+
const _st = "status";
|
|
775
|
+
const _sta = "start";
|
|
776
|
+
const _stat = "statements";
|
|
777
|
+
const _str = "stream";
|
|
778
|
+
const _stre = "streaming";
|
|
779
|
+
const _stri = "strict";
|
|
780
|
+
const _stru = "structure";
|
|
781
|
+
const _sy = "system";
|
|
782
|
+
const _t = "ttl";
|
|
783
|
+
const _tA = "translationAmbiguous";
|
|
784
|
+
const _tC = "toolConfig";
|
|
785
|
+
const _tCe = "textCharacters";
|
|
786
|
+
const _tCo = "toolChoice";
|
|
787
|
+
const _tCoo = "tooComplex";
|
|
788
|
+
const _tE = "throttlingException";
|
|
789
|
+
const _tF = "textFormat";
|
|
790
|
+
const _tP = "topicPolicy";
|
|
791
|
+
const _tPU = "topicPolicyUnits";
|
|
792
|
+
const _tPo = "topP";
|
|
793
|
+
const _tR = "toolResult";
|
|
794
|
+
const _tS = "toolSpec";
|
|
795
|
+
const _tT = "totalTokens";
|
|
796
|
+
const _tU = "textUnits";
|
|
797
|
+
const _tUI = "toolUseId";
|
|
798
|
+
const _tUo = "toolUse";
|
|
799
|
+
const _ta = "tags";
|
|
800
|
+
const _te = "text";
|
|
801
|
+
const _tem = "temperature";
|
|
802
|
+
const _th = "threshold";
|
|
803
|
+
const _ti = "title";
|
|
804
|
+
const _to = "total";
|
|
805
|
+
const _too = "tools";
|
|
806
|
+
const _tool = "tool";
|
|
807
|
+
const _top = "topics";
|
|
808
|
+
const _tr = "trace";
|
|
809
|
+
const _tra = "translation";
|
|
810
|
+
const _tran = "translations";
|
|
811
|
+
const _tru = "truncated";
|
|
812
|
+
const _ty = "type";
|
|
813
|
+
const _u = "usage";
|
|
814
|
+
const _uC = "untranslatedClaims";
|
|
815
|
+
const _uP = "untranslatedPremises";
|
|
816
|
+
const _ur = "uri";
|
|
817
|
+
const _url = "url";
|
|
818
|
+
const _v = "value";
|
|
819
|
+
const _vE = "validationException";
|
|
820
|
+
const _va = "valid";
|
|
821
|
+
const _vi = "video";
|
|
822
|
+
const _w = "web";
|
|
823
|
+
const _wP = "wordPolicy";
|
|
824
|
+
const _wPU = "wordPolicyUnits";
|
|
825
|
+
const n0 = "com.amazonaws.bedrockruntime";
|
|
826
|
+
const _s_registry = TypeRegistry.for(_s);
|
|
827
|
+
var BedrockRuntimeServiceException$ = [-3, _s, "BedrockRuntimeServiceException", 0, [], []];
|
|
828
|
+
_s_registry.registerError(BedrockRuntimeServiceException$, BedrockRuntimeServiceException);
|
|
829
|
+
const n0_registry = TypeRegistry.for(n0);
|
|
830
|
+
var AccessDeniedException$ = [-3, n0, _ADE,
|
|
831
|
+
{ [_e]: _c, [_hE]: 403 },
|
|
832
|
+
[_m],
|
|
833
|
+
[0]
|
|
834
|
+
];
|
|
835
|
+
n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
|
|
836
|
+
var ConflictException$ = [-3, n0, _CE,
|
|
837
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
838
|
+
[_m],
|
|
839
|
+
[0]
|
|
840
|
+
];
|
|
841
|
+
n0_registry.registerError(ConflictException$, ConflictException);
|
|
842
|
+
var InternalServerException$ = [-3, n0, _ISE,
|
|
843
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
844
|
+
[_m],
|
|
845
|
+
[0]
|
|
846
|
+
];
|
|
847
|
+
n0_registry.registerError(InternalServerException$, InternalServerException);
|
|
848
|
+
var ModelErrorException$ = [-3, n0, _MEE,
|
|
849
|
+
{ [_e]: _c, [_hE]: 424 },
|
|
850
|
+
[_m, _oSC, _rN],
|
|
851
|
+
[0, 1, 0]
|
|
852
|
+
];
|
|
853
|
+
n0_registry.registerError(ModelErrorException$, ModelErrorException);
|
|
854
|
+
var ModelNotReadyException$ = [-3, n0, _MNRE,
|
|
855
|
+
{ [_e]: _c, [_hE]: 429 },
|
|
856
|
+
[_m],
|
|
857
|
+
[0]
|
|
858
|
+
];
|
|
859
|
+
n0_registry.registerError(ModelNotReadyException$, ModelNotReadyException);
|
|
860
|
+
var ModelStreamErrorException$ = [-3, n0, _MSEE,
|
|
861
|
+
{ [_e]: _c, [_hE]: 424 },
|
|
862
|
+
[_m, _oSC, _oM],
|
|
863
|
+
[0, 1, 0]
|
|
864
|
+
];
|
|
865
|
+
n0_registry.registerError(ModelStreamErrorException$, ModelStreamErrorException);
|
|
866
|
+
var ModelTimeoutException$ = [-3, n0, _MTE,
|
|
867
|
+
{ [_e]: _c, [_hE]: 408 },
|
|
868
|
+
[_m],
|
|
869
|
+
[0]
|
|
870
|
+
];
|
|
871
|
+
n0_registry.registerError(ModelTimeoutException$, ModelTimeoutException);
|
|
872
|
+
var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
873
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
874
|
+
[_m],
|
|
875
|
+
[0]
|
|
876
|
+
];
|
|
877
|
+
n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
878
|
+
var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
879
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
880
|
+
[_m],
|
|
881
|
+
[0]
|
|
882
|
+
];
|
|
883
|
+
n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
|
|
884
|
+
var ServiceUnavailableException$ = [-3, n0, _SUE,
|
|
885
|
+
{ [_e]: _se, [_hE]: 503 },
|
|
886
|
+
[_m],
|
|
887
|
+
[0]
|
|
888
|
+
];
|
|
889
|
+
n0_registry.registerError(ServiceUnavailableException$, ServiceUnavailableException);
|
|
890
|
+
var ThrottlingException$ = [-3, n0, _TE,
|
|
891
|
+
{ [_e]: _c, [_hE]: 429 },
|
|
892
|
+
[_m],
|
|
893
|
+
[0]
|
|
894
|
+
];
|
|
895
|
+
n0_registry.registerError(ThrottlingException$, ThrottlingException);
|
|
896
|
+
var ValidationException$ = [-3, n0, _VE,
|
|
897
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
898
|
+
[_m],
|
|
899
|
+
[0]
|
|
900
|
+
];
|
|
901
|
+
n0_registry.registerError(ValidationException$, ValidationException);
|
|
902
|
+
const errorTypeRegistries = [
|
|
903
|
+
_s_registry,
|
|
904
|
+
n0_registry,
|
|
905
|
+
];
|
|
906
|
+
var AsyncInvokeMessage = [0, n0, _AIM, 8, 0];
|
|
907
|
+
var Body = [0, n0, _B, 8, 21];
|
|
908
|
+
var GuardrailAutomatedReasoningStatementLogicContent = [0, n0, _GARSLC, 8, 0];
|
|
909
|
+
var GuardrailAutomatedReasoningStatementNaturalLanguageContent = [0, n0, _GARSNLC, 8, 0];
|
|
910
|
+
var GuardrailChecksTextContent = [0, n0, _GCTC, 8, 0];
|
|
911
|
+
var ModelInputPayload = [0, n0, _MIP, 8, 15];
|
|
912
|
+
var PartBody = [0, n0, _PB, 8, 21];
|
|
913
|
+
var RequestMetadataJson = [0, n0, _RMJ, 8, 0];
|
|
914
|
+
var AnyToolChoice$ = [3, n0, _ATC,
|
|
915
|
+
0,
|
|
916
|
+
[],
|
|
917
|
+
[]
|
|
918
|
+
];
|
|
919
|
+
var AppliedGuardrailDetails$ = [3, n0, _AGD,
|
|
920
|
+
0,
|
|
921
|
+
[_gI, _gV, _gA, _gO, _gOu],
|
|
922
|
+
[0, 0, 0, 64 | 0, 0]
|
|
923
|
+
];
|
|
924
|
+
var ApplyGuardrailRequest$ = [3, n0, _AGR,
|
|
925
|
+
0,
|
|
926
|
+
[_gIu, _gV, _so, _co, _oS],
|
|
927
|
+
[[0, 1], [0, 1], 0, [() => GuardrailContentBlockList, 0], 0], 4
|
|
928
|
+
];
|
|
929
|
+
var ApplyGuardrailResponse$ = [3, n0, _AGRp,
|
|
930
|
+
0,
|
|
931
|
+
[_u, _a, _o, _as, _aR, _gC],
|
|
932
|
+
[() => GuardrailUsage$, 0, () => GuardrailOutputContentList, [() => GuardrailAssessmentList, 0], 0, () => GuardrailCoverage$], 4
|
|
933
|
+
];
|
|
934
|
+
var AsyncInvokeS3OutputDataConfig$ = [3, n0, _AISODC,
|
|
935
|
+
0,
|
|
936
|
+
[_sU, _kKI, _bO],
|
|
937
|
+
[0, 0, 0], 1
|
|
938
|
+
];
|
|
939
|
+
var AsyncInvokeSummary$ = [3, n0, _AIS,
|
|
940
|
+
0,
|
|
941
|
+
[_iA, _mA, _sT, _oDC, _cRT, _st, _fM, _lMT, _eT],
|
|
942
|
+
[0, 0, 5, () => AsyncInvokeOutputDataConfig$, 0, 0, [() => AsyncInvokeMessage, 0], 5, 5], 4
|
|
943
|
+
];
|
|
944
|
+
var AudioBlock$ = [3, n0, _AB,
|
|
945
|
+
0,
|
|
946
|
+
[_f, _so, _e],
|
|
947
|
+
[0, [() => AudioSource$, 0], [() => ErrorBlock$, 0]], 2
|
|
948
|
+
];
|
|
949
|
+
var AutoToolChoice$ = [3, n0, _ATCu,
|
|
950
|
+
0,
|
|
951
|
+
[],
|
|
952
|
+
[]
|
|
953
|
+
];
|
|
954
|
+
var BidirectionalInputPayloadPart$ = [3, n0, _BIPP,
|
|
955
|
+
8,
|
|
956
|
+
[_b],
|
|
957
|
+
[[() => PartBody, 0]]
|
|
958
|
+
];
|
|
959
|
+
var BidirectionalOutputPayloadPart$ = [3, n0, _BOPP,
|
|
960
|
+
8,
|
|
961
|
+
[_b],
|
|
962
|
+
[[() => PartBody, 0]]
|
|
963
|
+
];
|
|
964
|
+
var CacheDetail$ = [3, n0, _CD,
|
|
965
|
+
0,
|
|
966
|
+
[_t, _iT],
|
|
967
|
+
[0, 1], 2
|
|
968
|
+
];
|
|
969
|
+
var CachePointBlock$ = [3, n0, _CPB,
|
|
970
|
+
0,
|
|
971
|
+
[_ty, _t],
|
|
972
|
+
[0, 0], 1
|
|
973
|
+
];
|
|
974
|
+
var Citation$ = [3, n0, _C,
|
|
975
|
+
0,
|
|
976
|
+
[_ti, _so, _sC, _l],
|
|
977
|
+
[0, 0, () => CitationSourceContentList, () => CitationLocation$]
|
|
978
|
+
];
|
|
979
|
+
var CitationsConfig$ = [3, n0, _CC,
|
|
980
|
+
0,
|
|
981
|
+
[_en],
|
|
982
|
+
[2], 1
|
|
983
|
+
];
|
|
984
|
+
var CitationsContentBlock$ = [3, n0, _CCB,
|
|
985
|
+
0,
|
|
986
|
+
[_co, _ci],
|
|
987
|
+
[() => CitationGeneratedContentList, () => Citations]
|
|
988
|
+
];
|
|
989
|
+
var CitationsDelta$ = [3, n0, _CDi,
|
|
990
|
+
0,
|
|
991
|
+
[_ti, _so, _sC, _l],
|
|
992
|
+
[0, 0, () => CitationSourceContentListDelta, () => CitationLocation$]
|
|
993
|
+
];
|
|
994
|
+
var CitationSourceContentDelta$ = [3, n0, _CSCD,
|
|
995
|
+
0,
|
|
996
|
+
[_te],
|
|
997
|
+
[0]
|
|
998
|
+
];
|
|
999
|
+
var ContentBlockDeltaEvent$ = [3, n0, _CBDE,
|
|
1000
|
+
0,
|
|
1001
|
+
[_d, _cBI],
|
|
1002
|
+
[[() => ContentBlockDelta$, 0], 1], 2
|
|
1003
|
+
];
|
|
1004
|
+
var ContentBlockStartEvent$ = [3, n0, _CBSE,
|
|
1005
|
+
0,
|
|
1006
|
+
[_sta, _cBI],
|
|
1007
|
+
[() => ContentBlockStart$, 1], 2
|
|
1008
|
+
];
|
|
1009
|
+
var ContentBlockStopEvent$ = [3, n0, _CBSEo,
|
|
1010
|
+
0,
|
|
1011
|
+
[_cBI],
|
|
1012
|
+
[1], 1
|
|
1013
|
+
];
|
|
1014
|
+
var ConverseMetrics$ = [3, n0, _CM,
|
|
1015
|
+
0,
|
|
1016
|
+
[_lM],
|
|
1017
|
+
[1], 1
|
|
1018
|
+
];
|
|
1019
|
+
var ConverseRequest$ = [3, n0, _CR,
|
|
1020
|
+
0,
|
|
1021
|
+
[_mI, _me, _sy, _iC, _tC, _gCu, _aMRF, _pV, _aMRFP, _rM, _pC, _sTe, _oC],
|
|
1022
|
+
[[0, 1], [() => Messages, 0], [() => SystemContentBlocks, 0], () => InferenceConfiguration$, () => ToolConfiguration$, () => GuardrailConfiguration$, 15, [() => PromptVariableMap, 0], 64 | 0, [() => RequestMetadata, 0], () => PerformanceConfiguration$, () => ServiceTier$, [() => OutputConfig$, 0]], 1
|
|
1023
|
+
];
|
|
1024
|
+
var ConverseResponse$ = [3, n0, _CRo,
|
|
1025
|
+
0,
|
|
1026
|
+
[_ou, _sR, _u, _met, _aMRFd, _tr, _pC, _sTe],
|
|
1027
|
+
[[() => ConverseOutput$, 0], 0, () => TokenUsage$, () => ConverseMetrics$, 15, [() => ConverseTrace$, 0], () => PerformanceConfiguration$, () => ServiceTier$], 4
|
|
1028
|
+
];
|
|
1029
|
+
var ConverseStreamMetadataEvent$ = [3, n0, _CSME,
|
|
1030
|
+
0,
|
|
1031
|
+
[_u, _met, _tr, _pC, _sTe],
|
|
1032
|
+
[() => TokenUsage$, () => ConverseStreamMetrics$, [() => ConverseStreamTrace$, 0], () => PerformanceConfiguration$, () => ServiceTier$], 2
|
|
1033
|
+
];
|
|
1034
|
+
var ConverseStreamMetrics$ = [3, n0, _CSM,
|
|
1035
|
+
0,
|
|
1036
|
+
[_lM],
|
|
1037
|
+
[1], 1
|
|
1038
|
+
];
|
|
1039
|
+
var ConverseStreamRequest$ = [3, n0, _CSR,
|
|
1040
|
+
0,
|
|
1041
|
+
[_mI, _me, _sy, _iC, _tC, _gCu, _aMRF, _pV, _aMRFP, _rM, _pC, _sTe, _oC],
|
|
1042
|
+
[[0, 1], [() => Messages, 0], [() => SystemContentBlocks, 0], () => InferenceConfiguration$, () => ToolConfiguration$, () => GuardrailStreamConfiguration$, 15, [() => PromptVariableMap, 0], 64 | 0, [() => RequestMetadata, 0], () => PerformanceConfiguration$, () => ServiceTier$, [() => OutputConfig$, 0]], 1
|
|
1043
|
+
];
|
|
1044
|
+
var ConverseStreamResponse$ = [3, n0, _CSRo,
|
|
1045
|
+
0,
|
|
1046
|
+
[_str],
|
|
1047
|
+
[[() => ConverseStreamOutput$, 16]]
|
|
1048
|
+
];
|
|
1049
|
+
var ConverseStreamTrace$ = [3, n0, _CST,
|
|
1050
|
+
0,
|
|
1051
|
+
[_g, _pR],
|
|
1052
|
+
[[() => GuardrailTraceAssessment$, 0], () => PromptRouterTrace$]
|
|
1053
|
+
];
|
|
1054
|
+
var ConverseTokensRequest$ = [3, n0, _CTR,
|
|
1055
|
+
0,
|
|
1056
|
+
[_me, _sy, _tC, _aMRF],
|
|
1057
|
+
[[() => Messages, 0], [() => SystemContentBlocks, 0], () => ToolConfiguration$, 15]
|
|
1058
|
+
];
|
|
1059
|
+
var ConverseTrace$ = [3, n0, _CT,
|
|
1060
|
+
0,
|
|
1061
|
+
[_g, _pR],
|
|
1062
|
+
[[() => GuardrailTraceAssessment$, 0], () => PromptRouterTrace$]
|
|
1063
|
+
];
|
|
1064
|
+
var CountTokensRequest$ = [3, n0, _CTRo,
|
|
1065
|
+
0,
|
|
1066
|
+
[_mI, _i],
|
|
1067
|
+
[[0, 1], [() => CountTokensInput$, 0]], 2
|
|
1068
|
+
];
|
|
1069
|
+
var CountTokensResponse$ = [3, n0, _CTRou,
|
|
1070
|
+
0,
|
|
1071
|
+
[_iT],
|
|
1072
|
+
[1], 1
|
|
1073
|
+
];
|
|
1074
|
+
var DocumentBlock$ = [3, n0, _DB,
|
|
1075
|
+
0,
|
|
1076
|
+
[_n, _so, _f, _con, _ci],
|
|
1077
|
+
[0, () => DocumentSource$, 0, 0, () => CitationsConfig$], 2
|
|
1078
|
+
];
|
|
1079
|
+
var DocumentCharLocation$ = [3, n0, _DCL,
|
|
1080
|
+
0,
|
|
1081
|
+
[_dI, _sta, _end],
|
|
1082
|
+
[1, 1, 1]
|
|
1083
|
+
];
|
|
1084
|
+
var DocumentChunkLocation$ = [3, n0, _DCLo,
|
|
1085
|
+
0,
|
|
1086
|
+
[_dI, _sta, _end],
|
|
1087
|
+
[1, 1, 1]
|
|
1088
|
+
];
|
|
1089
|
+
var DocumentPageLocation$ = [3, n0, _DPL,
|
|
1090
|
+
0,
|
|
1091
|
+
[_dI, _sta, _end],
|
|
1092
|
+
[1, 1, 1]
|
|
1093
|
+
];
|
|
1094
|
+
var ErrorBlock$ = [3, n0, _EB,
|
|
1095
|
+
8,
|
|
1096
|
+
[_m],
|
|
1097
|
+
[0]
|
|
1098
|
+
];
|
|
1099
|
+
var GetAsyncInvokeRequest$ = [3, n0, _GAIR,
|
|
1100
|
+
0,
|
|
1101
|
+
[_iA],
|
|
1102
|
+
[[0, 1]], 1
|
|
1103
|
+
];
|
|
1104
|
+
var GetAsyncInvokeResponse$ = [3, n0, _GAIRe,
|
|
1105
|
+
0,
|
|
1106
|
+
[_iA, _mA, _st, _sT, _oDC, _cRT, _fM, _lMT, _eT],
|
|
1107
|
+
[0, 0, 0, 5, () => AsyncInvokeOutputDataConfig$, 0, [() => AsyncInvokeMessage, 0], 5, 5], 5
|
|
1108
|
+
];
|
|
1109
|
+
var GuardrailAssessment$ = [3, n0, _GA,
|
|
1110
|
+
0,
|
|
1111
|
+
[_tP, _cP, _wP, _sIP, _cGP, _aRP, _iM, _aGD],
|
|
1112
|
+
[() => GuardrailTopicPolicyAssessment$, () => GuardrailContentPolicyAssessment$, () => GuardrailWordPolicyAssessment$, () => GuardrailSensitiveInformationPolicyAssessment$, () => GuardrailContextualGroundingPolicyAssessment$, [() => GuardrailAutomatedReasoningPolicyAssessment$, 0], () => GuardrailInvocationMetrics$, () => AppliedGuardrailDetails$]
|
|
1113
|
+
];
|
|
1114
|
+
var GuardrailAutomatedReasoningImpossibleFinding$ = [3, n0, _GARIF,
|
|
1115
|
+
0,
|
|
1116
|
+
[_tra, _cR, _lW],
|
|
1117
|
+
[[() => GuardrailAutomatedReasoningTranslation$, 0], () => GuardrailAutomatedReasoningRuleList, [() => GuardrailAutomatedReasoningLogicWarning$, 0]]
|
|
1118
|
+
];
|
|
1119
|
+
var GuardrailAutomatedReasoningInputTextReference$ = [3, n0, _GARITR,
|
|
1120
|
+
0,
|
|
1121
|
+
[_te],
|
|
1122
|
+
[[() => GuardrailAutomatedReasoningStatementNaturalLanguageContent, 0]]
|
|
1123
|
+
];
|
|
1124
|
+
var GuardrailAutomatedReasoningInvalidFinding$ = [3, n0, _GARIFu,
|
|
1125
|
+
0,
|
|
1126
|
+
[_tra, _cR, _lW],
|
|
1127
|
+
[[() => GuardrailAutomatedReasoningTranslation$, 0], () => GuardrailAutomatedReasoningRuleList, [() => GuardrailAutomatedReasoningLogicWarning$, 0]]
|
|
1128
|
+
];
|
|
1129
|
+
var GuardrailAutomatedReasoningLogicWarning$ = [3, n0, _GARLW,
|
|
1130
|
+
0,
|
|
1131
|
+
[_ty, _p, _cl],
|
|
1132
|
+
[0, [() => GuardrailAutomatedReasoningStatementList, 0], [() => GuardrailAutomatedReasoningStatementList, 0]]
|
|
1133
|
+
];
|
|
1134
|
+
var GuardrailAutomatedReasoningNoTranslationsFinding$ = [3, n0, _GARNTF,
|
|
1135
|
+
0,
|
|
1136
|
+
[],
|
|
1137
|
+
[]
|
|
1138
|
+
];
|
|
1139
|
+
var GuardrailAutomatedReasoningPolicyAssessment$ = [3, n0, _GARPA,
|
|
1140
|
+
0,
|
|
1141
|
+
[_fi],
|
|
1142
|
+
[[() => GuardrailAutomatedReasoningFindingList, 0]]
|
|
1143
|
+
];
|
|
1144
|
+
var GuardrailAutomatedReasoningRule$ = [3, n0, _GARR,
|
|
1145
|
+
0,
|
|
1146
|
+
[_id, _pVA],
|
|
1147
|
+
[0, 0]
|
|
1148
|
+
];
|
|
1149
|
+
var GuardrailAutomatedReasoningSatisfiableFinding$ = [3, n0, _GARSF,
|
|
1150
|
+
0,
|
|
1151
|
+
[_tra, _cTS, _cFS, _lW],
|
|
1152
|
+
[[() => GuardrailAutomatedReasoningTranslation$, 0], [() => GuardrailAutomatedReasoningScenario$, 0], [() => GuardrailAutomatedReasoningScenario$, 0], [() => GuardrailAutomatedReasoningLogicWarning$, 0]]
|
|
1153
|
+
];
|
|
1154
|
+
var GuardrailAutomatedReasoningScenario$ = [3, n0, _GARS,
|
|
1155
|
+
0,
|
|
1156
|
+
[_stat],
|
|
1157
|
+
[[() => GuardrailAutomatedReasoningStatementList, 0]]
|
|
1158
|
+
];
|
|
1159
|
+
var GuardrailAutomatedReasoningStatement$ = [3, n0, _GARSu,
|
|
1160
|
+
0,
|
|
1161
|
+
[_lo, _nL],
|
|
1162
|
+
[[() => GuardrailAutomatedReasoningStatementLogicContent, 0], [() => GuardrailAutomatedReasoningStatementNaturalLanguageContent, 0]]
|
|
1163
|
+
];
|
|
1164
|
+
var GuardrailAutomatedReasoningTooComplexFinding$ = [3, n0, _GARTCF,
|
|
1165
|
+
0,
|
|
1166
|
+
[],
|
|
1167
|
+
[]
|
|
1168
|
+
];
|
|
1169
|
+
var GuardrailAutomatedReasoningTranslation$ = [3, n0, _GART,
|
|
1170
|
+
0,
|
|
1171
|
+
[_p, _cl, _uP, _uC, _conf],
|
|
1172
|
+
[[() => GuardrailAutomatedReasoningStatementList, 0], [() => GuardrailAutomatedReasoningStatementList, 0], [() => GuardrailAutomatedReasoningInputTextReferenceList, 0], [() => GuardrailAutomatedReasoningInputTextReferenceList, 0], 1]
|
|
1173
|
+
];
|
|
1174
|
+
var GuardrailAutomatedReasoningTranslationAmbiguousFinding$ = [3, n0, _GARTAF,
|
|
1175
|
+
0,
|
|
1176
|
+
[_op, _dS],
|
|
1177
|
+
[[() => GuardrailAutomatedReasoningTranslationOptionList, 0], [() => GuardrailAutomatedReasoningDifferenceScenarioList, 0]]
|
|
1178
|
+
];
|
|
1179
|
+
var GuardrailAutomatedReasoningTranslationOption$ = [3, n0, _GARTO,
|
|
1180
|
+
0,
|
|
1181
|
+
[_tran],
|
|
1182
|
+
[[() => GuardrailAutomatedReasoningTranslationList, 0]]
|
|
1183
|
+
];
|
|
1184
|
+
var GuardrailAutomatedReasoningValidFinding$ = [3, n0, _GARVF,
|
|
1185
|
+
0,
|
|
1186
|
+
[_tra, _cTS, _sRu, _lW],
|
|
1187
|
+
[[() => GuardrailAutomatedReasoningTranslation$, 0], [() => GuardrailAutomatedReasoningScenario$, 0], () => GuardrailAutomatedReasoningRuleList, [() => GuardrailAutomatedReasoningLogicWarning$, 0]]
|
|
1188
|
+
];
|
|
1189
|
+
var GuardrailChecksConfig$ = [3, n0, _GCC,
|
|
1190
|
+
0,
|
|
1191
|
+
[_cF, _pA, _sI],
|
|
1192
|
+
[() => GuardrailChecksContentFilterConfig$, () => GuardrailChecksPromptAttackConfig$, () => GuardrailChecksSensitiveInformationConfig$]
|
|
1193
|
+
];
|
|
1194
|
+
var GuardrailChecksContentFilterCategoryConfig$ = [3, n0, _GCCFCC,
|
|
1195
|
+
0,
|
|
1196
|
+
[_ca],
|
|
1197
|
+
[0], 1
|
|
1198
|
+
];
|
|
1199
|
+
var GuardrailChecksContentFilterConfig$ = [3, n0, _GCCFC,
|
|
1200
|
+
0,
|
|
1201
|
+
[_cat],
|
|
1202
|
+
[() => GuardrailChecksContentFilterCategoryConfigList], 1
|
|
1203
|
+
];
|
|
1204
|
+
var GuardrailChecksContentFilterResult$ = [3, n0, _GCCFR,
|
|
1205
|
+
0,
|
|
1206
|
+
[_r],
|
|
1207
|
+
[() => GuardrailChecksContentFilterResultList], 1
|
|
1208
|
+
];
|
|
1209
|
+
var GuardrailChecksContentFilterResultEntry$ = [3, n0, _GCCFRE,
|
|
1210
|
+
0,
|
|
1211
|
+
[_ca, _sS],
|
|
1212
|
+
[0, 1], 2
|
|
1213
|
+
];
|
|
1214
|
+
var GuardrailChecksContentFilterUsage$ = [3, n0, _GCCFU,
|
|
1215
|
+
0,
|
|
1216
|
+
[_tU],
|
|
1217
|
+
[1], 1
|
|
1218
|
+
];
|
|
1219
|
+
var GuardrailChecksMessage$ = [3, n0, _GCM,
|
|
1220
|
+
0,
|
|
1221
|
+
[_ro, _co],
|
|
1222
|
+
[0, [() => GuardrailChecksContentBlockList, 0]], 2
|
|
1223
|
+
];
|
|
1224
|
+
var GuardrailChecksPromptAttackCategoryConfig$ = [3, n0, _GCPACC,
|
|
1225
|
+
0,
|
|
1226
|
+
[_ca],
|
|
1227
|
+
[0], 1
|
|
1228
|
+
];
|
|
1229
|
+
var GuardrailChecksPromptAttackConfig$ = [3, n0, _GCPAC,
|
|
1230
|
+
0,
|
|
1231
|
+
[_cat],
|
|
1232
|
+
[() => GuardrailChecksPromptAttackCategoryConfigList], 1
|
|
1233
|
+
];
|
|
1234
|
+
var GuardrailChecksPromptAttackResult$ = [3, n0, _GCPAR,
|
|
1235
|
+
0,
|
|
1236
|
+
[_r],
|
|
1237
|
+
[() => GuardrailChecksPromptAttackResultList], 1
|
|
1238
|
+
];
|
|
1239
|
+
var GuardrailChecksPromptAttackResultEntry$ = [3, n0, _GCPARE,
|
|
1240
|
+
0,
|
|
1241
|
+
[_ca, _sS],
|
|
1242
|
+
[0, 1], 2
|
|
1243
|
+
];
|
|
1244
|
+
var GuardrailChecksPromptAttackUsage$ = [3, n0, _GCPAU,
|
|
1245
|
+
0,
|
|
1246
|
+
[_tU],
|
|
1247
|
+
[1], 1
|
|
1248
|
+
];
|
|
1249
|
+
var GuardrailChecksResults$ = [3, n0, _GCR,
|
|
1250
|
+
0,
|
|
1251
|
+
[_cF, _pA, _sI],
|
|
1252
|
+
[() => GuardrailChecksContentFilterResult$, () => GuardrailChecksPromptAttackResult$, () => GuardrailChecksSensitiveInformationResult$]
|
|
1253
|
+
];
|
|
1254
|
+
var GuardrailChecksSensitiveInformationConfig$ = [3, n0, _GCSIC,
|
|
1255
|
+
0,
|
|
1256
|
+
[_ent],
|
|
1257
|
+
[() => GuardrailChecksSensitiveInformationEntityConfigList], 1
|
|
1258
|
+
];
|
|
1259
|
+
var GuardrailChecksSensitiveInformationEntityConfig$ = [3, n0, _GCSIEC,
|
|
1260
|
+
0,
|
|
1261
|
+
[_ty],
|
|
1262
|
+
[0], 1
|
|
1263
|
+
];
|
|
1264
|
+
var GuardrailChecksSensitiveInformationResult$ = [3, n0, _GCSIR,
|
|
1265
|
+
0,
|
|
1266
|
+
[_r, _tru],
|
|
1267
|
+
[() => GuardrailChecksSensitiveInformationResultList, 2], 1
|
|
1268
|
+
];
|
|
1269
|
+
var GuardrailChecksSensitiveInformationResultEntry$ = [3, n0, _GCSIRE,
|
|
1270
|
+
0,
|
|
1271
|
+
[_ty, _cS, _bOe, _eO, _mIe, _cI],
|
|
1272
|
+
[0, 1, 1, 1, 1, 1], 6
|
|
1273
|
+
];
|
|
1274
|
+
var GuardrailChecksSensitiveInformationUsage$ = [3, n0, _GCSIU,
|
|
1275
|
+
0,
|
|
1276
|
+
[_tU],
|
|
1277
|
+
[1], 1
|
|
1278
|
+
];
|
|
1279
|
+
var GuardrailChecksUsageResults$ = [3, n0, _GCUR,
|
|
1280
|
+
0,
|
|
1281
|
+
[_cF, _pA, _sI],
|
|
1282
|
+
[() => GuardrailChecksContentFilterUsage$, () => GuardrailChecksPromptAttackUsage$, () => GuardrailChecksSensitiveInformationUsage$]
|
|
1283
|
+
];
|
|
1284
|
+
var GuardrailConfiguration$ = [3, n0, _GC,
|
|
1285
|
+
0,
|
|
1286
|
+
[_gIu, _gV, _tr],
|
|
1287
|
+
[0, 0, 0]
|
|
1288
|
+
];
|
|
1289
|
+
var GuardrailContentFilter$ = [3, n0, _GCF,
|
|
1290
|
+
0,
|
|
1291
|
+
[_ty, _conf, _a, _fS, _de],
|
|
1292
|
+
[0, 0, 0, 0, 2], 3
|
|
1293
|
+
];
|
|
1294
|
+
var GuardrailContentPolicyAssessment$ = [3, n0, _GCPA,
|
|
1295
|
+
0,
|
|
1296
|
+
[_fil],
|
|
1297
|
+
[() => GuardrailContentFilterList], 1
|
|
1298
|
+
];
|
|
1299
|
+
var GuardrailContextualGroundingFilter$ = [3, n0, _GCGF,
|
|
1300
|
+
0,
|
|
1301
|
+
[_ty, _th, _sc, _a, _de],
|
|
1302
|
+
[0, 1, 1, 0, 2], 4
|
|
1303
|
+
];
|
|
1304
|
+
var GuardrailContextualGroundingPolicyAssessment$ = [3, n0, _GCGPA,
|
|
1305
|
+
0,
|
|
1306
|
+
[_fil],
|
|
1307
|
+
[() => GuardrailContextualGroundingFilters]
|
|
1308
|
+
];
|
|
1309
|
+
var GuardrailConverseImageBlock$ = [3, n0, _GCIB,
|
|
1310
|
+
8,
|
|
1311
|
+
[_f, _so],
|
|
1312
|
+
[0, [() => GuardrailConverseImageSource$, 0]], 2
|
|
1313
|
+
];
|
|
1314
|
+
var GuardrailConverseTextBlock$ = [3, n0, _GCTB,
|
|
1315
|
+
0,
|
|
1316
|
+
[_te, _q],
|
|
1317
|
+
[0, 64 | 0], 1
|
|
1318
|
+
];
|
|
1319
|
+
var GuardrailCoverage$ = [3, n0, _GCu,
|
|
1320
|
+
0,
|
|
1321
|
+
[_tCe, _im],
|
|
1322
|
+
[() => GuardrailTextCharactersCoverage$, () => GuardrailImageCoverage$]
|
|
1323
|
+
];
|
|
1324
|
+
var GuardrailCustomWord$ = [3, n0, _GCW,
|
|
1325
|
+
0,
|
|
1326
|
+
[_ma, _a, _de],
|
|
1327
|
+
[0, 0, 2], 2
|
|
1328
|
+
];
|
|
1329
|
+
var GuardrailImageBlock$ = [3, n0, _GIB,
|
|
1330
|
+
8,
|
|
1331
|
+
[_f, _so],
|
|
1332
|
+
[0, [() => GuardrailImageSource$, 0]], 2
|
|
1333
|
+
];
|
|
1334
|
+
var GuardrailImageCoverage$ = [3, n0, _GIC,
|
|
1335
|
+
0,
|
|
1336
|
+
[_gu, _to],
|
|
1337
|
+
[1, 1]
|
|
1338
|
+
];
|
|
1339
|
+
var GuardrailInvocationMetrics$ = [3, n0, _GIM,
|
|
1340
|
+
0,
|
|
1341
|
+
[_gPL, _u, _gC],
|
|
1342
|
+
[1, () => GuardrailUsage$, () => GuardrailCoverage$]
|
|
1343
|
+
];
|
|
1344
|
+
var GuardrailManagedWord$ = [3, n0, _GMW,
|
|
1345
|
+
0,
|
|
1346
|
+
[_ma, _ty, _a, _de],
|
|
1347
|
+
[0, 0, 0, 2], 3
|
|
1348
|
+
];
|
|
1349
|
+
var GuardrailOutputContent$ = [3, n0, _GOC,
|
|
1350
|
+
0,
|
|
1351
|
+
[_te],
|
|
1352
|
+
[0]
|
|
1353
|
+
];
|
|
1354
|
+
var GuardrailPiiEntityFilter$ = [3, n0, _GPEF,
|
|
1355
|
+
0,
|
|
1356
|
+
[_ma, _ty, _a, _de],
|
|
1357
|
+
[0, 0, 0, 2], 3
|
|
1358
|
+
];
|
|
1359
|
+
var GuardrailRegexFilter$ = [3, n0, _GRF,
|
|
1360
|
+
0,
|
|
1361
|
+
[_a, _n, _ma, _re, _de],
|
|
1362
|
+
[0, 0, 0, 0, 2], 1
|
|
1363
|
+
];
|
|
1364
|
+
var GuardrailSensitiveInformationPolicyAssessment$ = [3, n0, _GSIPA,
|
|
1365
|
+
0,
|
|
1366
|
+
[_pE, _reg],
|
|
1367
|
+
[() => GuardrailPiiEntityFilterList, () => GuardrailRegexFilterList], 2
|
|
1368
|
+
];
|
|
1369
|
+
var GuardrailStreamConfiguration$ = [3, n0, _GSC,
|
|
1370
|
+
0,
|
|
1371
|
+
[_gIu, _gV, _tr, _sPM],
|
|
1372
|
+
[0, 0, 0, 0]
|
|
1373
|
+
];
|
|
1374
|
+
var GuardrailTextBlock$ = [3, n0, _GTB,
|
|
1375
|
+
0,
|
|
1376
|
+
[_te, _q],
|
|
1377
|
+
[0, 64 | 0], 1
|
|
1378
|
+
];
|
|
1379
|
+
var GuardrailTextCharactersCoverage$ = [3, n0, _GTCC,
|
|
1380
|
+
0,
|
|
1381
|
+
[_gu, _to],
|
|
1382
|
+
[1, 1]
|
|
1383
|
+
];
|
|
1384
|
+
var GuardrailTopic$ = [3, n0, _GT,
|
|
1385
|
+
0,
|
|
1386
|
+
[_n, _ty, _a, _de],
|
|
1387
|
+
[0, 0, 0, 2], 3
|
|
1388
|
+
];
|
|
1389
|
+
var GuardrailTopicPolicyAssessment$ = [3, n0, _GTPA,
|
|
1390
|
+
0,
|
|
1391
|
+
[_top],
|
|
1392
|
+
[() => GuardrailTopicList], 1
|
|
1393
|
+
];
|
|
1394
|
+
var GuardrailTraceAssessment$ = [3, n0, _GTA,
|
|
1395
|
+
0,
|
|
1396
|
+
[_mO, _iAn, _oA, _aR],
|
|
1397
|
+
[64 | 0, [() => GuardrailAssessmentMap, 0], [() => GuardrailAssessmentListMap, 0], 0]
|
|
1398
|
+
];
|
|
1399
|
+
var GuardrailUsage$ = [3, n0, _GU,
|
|
1400
|
+
0,
|
|
1401
|
+
[_tPU, _cPU, _wPU, _sIPU, _sIPFU, _cGPU, _cPIU, _aRPU, _aRPu],
|
|
1402
|
+
[1, 1, 1, 1, 1, 1, 1, 1, 1], 6
|
|
1403
|
+
];
|
|
1404
|
+
var GuardrailWordPolicyAssessment$ = [3, n0, _GWPA,
|
|
1405
|
+
0,
|
|
1406
|
+
[_cW, _mWL],
|
|
1407
|
+
[() => GuardrailCustomWordList, () => GuardrailManagedWordList], 2
|
|
1408
|
+
];
|
|
1409
|
+
var ImageBlock$ = [3, n0, _IB,
|
|
1410
|
+
0,
|
|
1411
|
+
[_f, _so, _e],
|
|
1412
|
+
[0, [() => ImageSource$, 0], [() => ErrorBlock$, 0]], 2
|
|
1413
|
+
];
|
|
1414
|
+
var ImageBlockDelta$ = [3, n0, _IBD,
|
|
1415
|
+
0,
|
|
1416
|
+
[_so, _e],
|
|
1417
|
+
[[() => ImageSource$, 0], [() => ErrorBlock$, 0]]
|
|
1418
|
+
];
|
|
1419
|
+
var ImageBlockStart$ = [3, n0, _IBS,
|
|
1420
|
+
0,
|
|
1421
|
+
[_f],
|
|
1422
|
+
[0], 1
|
|
1423
|
+
];
|
|
1424
|
+
var InferenceConfiguration$ = [3, n0, _IC,
|
|
1425
|
+
0,
|
|
1426
|
+
[_mT, _tem, _tPo, _sSt],
|
|
1427
|
+
[1, 1, 1, 64 | 0]
|
|
1428
|
+
];
|
|
1429
|
+
var InvokeGuardrailChecksRequest$ = [3, n0, _IGCR,
|
|
1430
|
+
0,
|
|
1431
|
+
[_me, _ch],
|
|
1432
|
+
[[() => GuardrailChecksMessageList, 0], () => GuardrailChecksConfig$], 2
|
|
1433
|
+
];
|
|
1434
|
+
var InvokeGuardrailChecksResponse$ = [3, n0, _IGCRn,
|
|
1435
|
+
0,
|
|
1436
|
+
[_r, _u],
|
|
1437
|
+
[() => GuardrailChecksResults$, () => GuardrailChecksUsageResults$], 2
|
|
1438
|
+
];
|
|
1439
|
+
var InvokeModelRequest$ = [3, n0, _IMR,
|
|
1440
|
+
0,
|
|
1441
|
+
[_mI, _bo, _cT, _ac, _tr, _gIu, _gV, _pCL, _sTe, _rM],
|
|
1442
|
+
[[0, 1], [() => Body, 16], [0, { [_hH]: _CT_ }], [0, { [_hH]: _A }], [0, { [_hH]: _XABT }], [0, { [_hH]: _XABG }], [0, { [_hH]: _XABG_ }], [0, { [_hH]: _XABPL }], [0, { [_hH]: _XABST }], [() => RequestMetadataJson, { [_hH]: _XABRM }]], 1
|
|
1443
|
+
];
|
|
1444
|
+
var InvokeModelResponse$ = [3, n0, _IMRn,
|
|
1445
|
+
0,
|
|
1446
|
+
[_bo, _cT, _pCL, _sTe],
|
|
1447
|
+
[[() => Body, 16], [0, { [_hH]: _CT_ }], [0, { [_hH]: _XABPL }], [0, { [_hH]: _XABST }]], 2
|
|
1448
|
+
];
|
|
1449
|
+
var InvokeModelTokensRequest$ = [3, n0, _IMTR,
|
|
1450
|
+
0,
|
|
1451
|
+
[_bo],
|
|
1452
|
+
[[() => Body, 0]], 1
|
|
1453
|
+
];
|
|
1454
|
+
var InvokeModelWithBidirectionalStreamRequest$ = [3, n0, _IMWBSR,
|
|
1455
|
+
0,
|
|
1456
|
+
[_mI, _bo],
|
|
1457
|
+
[[0, 1], [() => InvokeModelWithBidirectionalStreamInput$, 16]], 2
|
|
1458
|
+
];
|
|
1459
|
+
var InvokeModelWithBidirectionalStreamResponse$ = [3, n0, _IMWBSRn,
|
|
1460
|
+
0,
|
|
1461
|
+
[_bo],
|
|
1462
|
+
[[() => InvokeModelWithBidirectionalStreamOutput$, 16]], 1
|
|
1463
|
+
];
|
|
1464
|
+
var InvokeModelWithResponseStreamRequest$ = [3, n0, _IMWRSR,
|
|
1465
|
+
0,
|
|
1466
|
+
[_mI, _bo, _cT, _ac, _tr, _gIu, _gV, _pCL, _sTe, _rM],
|
|
1467
|
+
[[0, 1], [() => Body, 16], [0, { [_hH]: _CT_ }], [0, { [_hH]: _XABA }], [0, { [_hH]: _XABT }], [0, { [_hH]: _XABG }], [0, { [_hH]: _XABG_ }], [0, { [_hH]: _XABPL }], [0, { [_hH]: _XABST }], [() => RequestMetadataJson, { [_hH]: _XABRM }]], 1
|
|
1468
|
+
];
|
|
1469
|
+
var InvokeModelWithResponseStreamResponse$ = [3, n0, _IMWRSRn,
|
|
1470
|
+
0,
|
|
1471
|
+
[_bo, _cT, _pCL, _sTe],
|
|
1472
|
+
[[() => ResponseStream$, 16], [0, { [_hH]: _XABCT }], [0, { [_hH]: _XABPL }], [0, { [_hH]: _XABST }]], 2
|
|
1473
|
+
];
|
|
1474
|
+
var JsonSchemaDefinition$ = [3, n0, _JSD,
|
|
1475
|
+
0,
|
|
1476
|
+
[_sch, _n, _des],
|
|
1477
|
+
[0, 0, 0], 1
|
|
1478
|
+
];
|
|
1479
|
+
var ListAsyncInvokesRequest$ = [3, n0, _LAIR,
|
|
1480
|
+
0,
|
|
1481
|
+
[_sTA, _sTB, _sE, _mR, _nT, _sB, _sO],
|
|
1482
|
+
[[5, { [_hQ]: _sTA }], [5, { [_hQ]: _sTB }], [0, { [_hQ]: _sE }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }], [0, { [_hQ]: _sB }], [0, { [_hQ]: _sO }]]
|
|
1483
|
+
];
|
|
1484
|
+
var ListAsyncInvokesResponse$ = [3, n0, _LAIRi,
|
|
1485
|
+
0,
|
|
1486
|
+
[_nT, _aIS],
|
|
1487
|
+
[0, [() => AsyncInvokeSummaries, 0]]
|
|
1488
|
+
];
|
|
1489
|
+
var Message$ = [3, n0, _M,
|
|
1490
|
+
0,
|
|
1491
|
+
[_ro, _co],
|
|
1492
|
+
[0, [() => ContentBlocks, 0]], 2
|
|
1493
|
+
];
|
|
1494
|
+
var MessageStartEvent$ = [3, n0, _MSE,
|
|
1495
|
+
0,
|
|
1496
|
+
[_ro],
|
|
1497
|
+
[0], 1
|
|
1498
|
+
];
|
|
1499
|
+
var MessageStopEvent$ = [3, n0, _MSEe,
|
|
1500
|
+
0,
|
|
1501
|
+
[_sR, _aMRFd],
|
|
1502
|
+
[0, 15], 1
|
|
1503
|
+
];
|
|
1504
|
+
var OutputConfig$ = [3, n0, _OC,
|
|
1505
|
+
0,
|
|
1506
|
+
[_tF],
|
|
1507
|
+
[[() => OutputFormat$, 0]]
|
|
1508
|
+
];
|
|
1509
|
+
var OutputFormat$ = [3, n0, _OF,
|
|
1510
|
+
0,
|
|
1511
|
+
[_ty, _stru],
|
|
1512
|
+
[0, [() => OutputFormatStructure$, 0]], 2
|
|
1513
|
+
];
|
|
1514
|
+
var PayloadPart$ = [3, n0, _PP,
|
|
1515
|
+
8,
|
|
1516
|
+
[_b],
|
|
1517
|
+
[[() => PartBody, 0]]
|
|
1518
|
+
];
|
|
1519
|
+
var PerformanceConfiguration$ = [3, n0, _PC,
|
|
1520
|
+
0,
|
|
1521
|
+
[_la],
|
|
1522
|
+
[0]
|
|
1523
|
+
];
|
|
1524
|
+
var PromptRouterTrace$ = [3, n0, _PRT,
|
|
1525
|
+
0,
|
|
1526
|
+
[_iMI],
|
|
1527
|
+
[0]
|
|
1528
|
+
];
|
|
1529
|
+
var ReasoningTextBlock$ = [3, n0, _RTB,
|
|
1530
|
+
8,
|
|
1531
|
+
[_te, _si],
|
|
1532
|
+
[0, 0], 1
|
|
1533
|
+
];
|
|
1534
|
+
var S3Location$ = [3, n0, _SL,
|
|
1535
|
+
0,
|
|
1536
|
+
[_ur, _bO],
|
|
1537
|
+
[0, 0], 1
|
|
1538
|
+
];
|
|
1539
|
+
var SearchResultBlock$ = [3, n0, _SRB,
|
|
1540
|
+
0,
|
|
1541
|
+
[_so, _ti, _co, _ci],
|
|
1542
|
+
[0, 0, () => SearchResultContentBlocks, () => CitationsConfig$], 3
|
|
1543
|
+
];
|
|
1544
|
+
var SearchResultContentBlock$ = [3, n0, _SRCB,
|
|
1545
|
+
0,
|
|
1546
|
+
[_te],
|
|
1547
|
+
[0], 1
|
|
1548
|
+
];
|
|
1549
|
+
var SearchResultLocation$ = [3, n0, _SRL,
|
|
1550
|
+
0,
|
|
1551
|
+
[_sRI, _sta, _end],
|
|
1552
|
+
[1, 1, 1]
|
|
1553
|
+
];
|
|
1554
|
+
var ServiceTier$ = [3, n0, _ST,
|
|
1555
|
+
0,
|
|
1556
|
+
[_ty],
|
|
1557
|
+
[0], 1
|
|
1558
|
+
];
|
|
1559
|
+
var SpecificToolChoice$ = [3, n0, _STC,
|
|
1560
|
+
0,
|
|
1561
|
+
[_n],
|
|
1562
|
+
[0], 1
|
|
1563
|
+
];
|
|
1564
|
+
var StartAsyncInvokeRequest$ = [3, n0, _SAIR,
|
|
1565
|
+
0,
|
|
1566
|
+
[_mI, _mIo, _oDC, _cRT, _ta],
|
|
1567
|
+
[0, [() => ModelInputPayload, 0], () => AsyncInvokeOutputDataConfig$, [0, 4], () => TagList], 3
|
|
1568
|
+
];
|
|
1569
|
+
var StartAsyncInvokeResponse$ = [3, n0, _SAIRt,
|
|
1570
|
+
0,
|
|
1571
|
+
[_iA],
|
|
1572
|
+
[0], 1
|
|
1573
|
+
];
|
|
1574
|
+
var SystemTool$ = [3, n0, _STy,
|
|
1575
|
+
0,
|
|
1576
|
+
[_n],
|
|
1577
|
+
[0], 1
|
|
1578
|
+
];
|
|
1579
|
+
var Tag$ = [3, n0, _T,
|
|
1580
|
+
0,
|
|
1581
|
+
[_k, _v],
|
|
1582
|
+
[0, 0], 2
|
|
1583
|
+
];
|
|
1584
|
+
var TokenUsage$ = [3, n0, _TU,
|
|
1585
|
+
0,
|
|
1586
|
+
[_iT, _oT, _tT, _cRIT, _cWIT, _cD],
|
|
1587
|
+
[1, 1, 1, 1, 1, () => CacheDetailsList], 3
|
|
1588
|
+
];
|
|
1589
|
+
var ToolConfiguration$ = [3, n0, _TC,
|
|
1590
|
+
0,
|
|
1591
|
+
[_too, _tCo],
|
|
1592
|
+
[() => Tools, () => ToolChoice$], 1
|
|
1593
|
+
];
|
|
1594
|
+
var ToolResultBlock$ = [3, n0, _TRB,
|
|
1595
|
+
0,
|
|
1596
|
+
[_tUI, _co, _st, _ty],
|
|
1597
|
+
[0, [() => ToolResultContentBlocks, 0], 0, 0], 2
|
|
1598
|
+
];
|
|
1599
|
+
var ToolResultBlockStart$ = [3, n0, _TRBS,
|
|
1600
|
+
0,
|
|
1601
|
+
[_tUI, _ty, _st],
|
|
1602
|
+
[0, 0, 0], 1
|
|
1603
|
+
];
|
|
1604
|
+
var ToolSpecification$ = [3, n0, _TS,
|
|
1605
|
+
0,
|
|
1606
|
+
[_n, _iS, _des, _stri],
|
|
1607
|
+
[0, () => ToolInputSchema$, 0, 2], 2
|
|
1608
|
+
];
|
|
1609
|
+
var ToolUseBlock$ = [3, n0, _TUB,
|
|
1610
|
+
0,
|
|
1611
|
+
[_tUI, _n, _i, _ty],
|
|
1612
|
+
[0, 0, 15, 0], 3
|
|
1613
|
+
];
|
|
1614
|
+
var ToolUseBlockDelta$ = [3, n0, _TUBD,
|
|
1615
|
+
0,
|
|
1616
|
+
[_i],
|
|
1617
|
+
[0], 1
|
|
1618
|
+
];
|
|
1619
|
+
var ToolUseBlockStart$ = [3, n0, _TUBS,
|
|
1620
|
+
0,
|
|
1621
|
+
[_tUI, _n, _ty],
|
|
1622
|
+
[0, 0, 0], 2
|
|
1623
|
+
];
|
|
1624
|
+
var VideoBlock$ = [3, n0, _VB,
|
|
1625
|
+
0,
|
|
1626
|
+
[_f, _so],
|
|
1627
|
+
[0, () => VideoSource$], 2
|
|
1628
|
+
];
|
|
1629
|
+
var WebLocation$ = [3, n0, _WL,
|
|
1630
|
+
0,
|
|
1631
|
+
[_url, _do],
|
|
1632
|
+
[0, 0]
|
|
1633
|
+
];
|
|
1634
|
+
var AsyncInvokeSummaries = [1, n0, _AISs,
|
|
1635
|
+
0, [() => AsyncInvokeSummary$,
|
|
1636
|
+
0]
|
|
1637
|
+
];
|
|
1638
|
+
var CacheDetailsList = [1, n0, _CDL,
|
|
1639
|
+
0, () => CacheDetail$
|
|
1640
|
+
];
|
|
1641
|
+
var CitationGeneratedContentList = [1, n0, _CGCL,
|
|
1642
|
+
0, () => CitationGeneratedContent$
|
|
1643
|
+
];
|
|
1644
|
+
var Citations = [1, n0, _Ci,
|
|
1645
|
+
0, () => Citation$
|
|
1646
|
+
];
|
|
1647
|
+
var CitationSourceContentList = [1, n0, _CSCL,
|
|
1648
|
+
0, () => CitationSourceContent$
|
|
1649
|
+
];
|
|
1650
|
+
var CitationSourceContentListDelta = [1, n0, _CSCLD,
|
|
1651
|
+
0, () => CitationSourceContentDelta$
|
|
1652
|
+
];
|
|
1653
|
+
var ContentBlocks = [1, n0, _CB,
|
|
1654
|
+
0, [() => ContentBlock$,
|
|
1655
|
+
0]
|
|
1656
|
+
];
|
|
1657
|
+
var DocumentContentBlocks = [1, n0, _DCB,
|
|
1658
|
+
0, () => DocumentContentBlock$
|
|
1659
|
+
];
|
|
1660
|
+
var GuardrailAssessmentList = [1, n0, _GAL,
|
|
1661
|
+
0, [() => GuardrailAssessment$,
|
|
1662
|
+
0]
|
|
1663
|
+
];
|
|
1664
|
+
var GuardrailAutomatedReasoningDifferenceScenarioList = [1, n0, _GARDSL,
|
|
1665
|
+
0, [() => GuardrailAutomatedReasoningScenario$,
|
|
1666
|
+
0]
|
|
1667
|
+
];
|
|
1668
|
+
var GuardrailAutomatedReasoningFindingList = [1, n0, _GARFL,
|
|
1669
|
+
0, [() => GuardrailAutomatedReasoningFinding$,
|
|
1670
|
+
0]
|
|
1671
|
+
];
|
|
1672
|
+
var GuardrailAutomatedReasoningInputTextReferenceList = [1, n0, _GARITRL,
|
|
1673
|
+
0, [() => GuardrailAutomatedReasoningInputTextReference$,
|
|
1674
|
+
0]
|
|
1675
|
+
];
|
|
1676
|
+
var GuardrailAutomatedReasoningRuleList = [1, n0, _GARRL,
|
|
1677
|
+
0, () => GuardrailAutomatedReasoningRule$
|
|
1678
|
+
];
|
|
1679
|
+
var GuardrailAutomatedReasoningStatementList = [1, n0, _GARSL,
|
|
1680
|
+
0, [() => GuardrailAutomatedReasoningStatement$,
|
|
1681
|
+
0]
|
|
1682
|
+
];
|
|
1683
|
+
var GuardrailAutomatedReasoningTranslationList = [1, n0, _GARTL,
|
|
1684
|
+
0, [() => GuardrailAutomatedReasoningTranslation$,
|
|
1685
|
+
0]
|
|
1686
|
+
];
|
|
1687
|
+
var GuardrailAutomatedReasoningTranslationOptionList = [1, n0, _GARTOL,
|
|
1688
|
+
0, [() => GuardrailAutomatedReasoningTranslationOption$,
|
|
1689
|
+
0]
|
|
1690
|
+
];
|
|
1691
|
+
var GuardrailChecksContentBlockList = [1, n0, _GCCBL,
|
|
1692
|
+
0, [() => GuardrailChecksContentBlock$,
|
|
1693
|
+
0]
|
|
1694
|
+
];
|
|
1695
|
+
var GuardrailChecksContentFilterCategoryConfigList = [1, n0, _GCCFCCL,
|
|
1696
|
+
0, () => GuardrailChecksContentFilterCategoryConfig$
|
|
1697
|
+
];
|
|
1698
|
+
var GuardrailChecksContentFilterResultList = [1, n0, _GCCFRL,
|
|
1699
|
+
0, () => GuardrailChecksContentFilterResultEntry$
|
|
1700
|
+
];
|
|
1701
|
+
var GuardrailChecksMessageList = [1, n0, _GCML,
|
|
1702
|
+
0, [() => GuardrailChecksMessage$,
|
|
1703
|
+
0]
|
|
1704
|
+
];
|
|
1705
|
+
var GuardrailChecksPromptAttackCategoryConfigList = [1, n0, _GCPACCL,
|
|
1706
|
+
0, () => GuardrailChecksPromptAttackCategoryConfig$
|
|
1707
|
+
];
|
|
1708
|
+
var GuardrailChecksPromptAttackResultList = [1, n0, _GCPARL,
|
|
1709
|
+
0, () => GuardrailChecksPromptAttackResultEntry$
|
|
1710
|
+
];
|
|
1711
|
+
var GuardrailChecksSensitiveInformationEntityConfigList = [1, n0, _GCSIECL,
|
|
1712
|
+
0, () => GuardrailChecksSensitiveInformationEntityConfig$
|
|
1713
|
+
];
|
|
1714
|
+
var GuardrailChecksSensitiveInformationResultList = [1, n0, _GCSIRL,
|
|
1715
|
+
0, () => GuardrailChecksSensitiveInformationResultEntry$
|
|
1716
|
+
];
|
|
1717
|
+
var GuardrailContentBlockList = [1, n0, _GCBL,
|
|
1718
|
+
0, [() => GuardrailContentBlock$,
|
|
1719
|
+
0]
|
|
1720
|
+
];
|
|
1721
|
+
var GuardrailContentFilterList = [1, n0, _GCFL,
|
|
1722
|
+
0, () => GuardrailContentFilter$
|
|
1723
|
+
];
|
|
1724
|
+
var GuardrailContextualGroundingFilters = [1, n0, _GCGFu,
|
|
1725
|
+
0, () => GuardrailContextualGroundingFilter$
|
|
1726
|
+
];
|
|
1727
|
+
var GuardrailCustomWordList = [1, n0, _GCWL,
|
|
1728
|
+
0, () => GuardrailCustomWord$
|
|
1729
|
+
];
|
|
1730
|
+
var GuardrailManagedWordList = [1, n0, _GMWL,
|
|
1731
|
+
0, () => GuardrailManagedWord$
|
|
1732
|
+
];
|
|
1733
|
+
var GuardrailOutputContentList = [1, n0, _GOCL,
|
|
1734
|
+
0, () => GuardrailOutputContent$
|
|
1735
|
+
];
|
|
1736
|
+
var GuardrailPiiEntityFilterList = [1, n0, _GPEFL,
|
|
1737
|
+
0, () => GuardrailPiiEntityFilter$
|
|
1738
|
+
];
|
|
1739
|
+
var GuardrailRegexFilterList = [1, n0, _GRFL,
|
|
1740
|
+
0, () => GuardrailRegexFilter$
|
|
1741
|
+
];
|
|
1742
|
+
var GuardrailTopicList = [1, n0, _GTL,
|
|
1743
|
+
0, () => GuardrailTopic$
|
|
1744
|
+
];
|
|
1745
|
+
var Messages = [1, n0, _Me,
|
|
1746
|
+
0, [() => Message$,
|
|
1747
|
+
0]
|
|
1748
|
+
];
|
|
1749
|
+
var SearchResultContentBlocks = [1, n0, _SRCBe,
|
|
1750
|
+
0, () => SearchResultContentBlock$
|
|
1751
|
+
];
|
|
1752
|
+
var SystemContentBlocks = [1, n0, _SCB,
|
|
1753
|
+
0, [() => SystemContentBlock$,
|
|
1754
|
+
0]
|
|
1755
|
+
];
|
|
1756
|
+
var TagList = [1, n0, _TL,
|
|
1757
|
+
0, () => Tag$
|
|
1758
|
+
];
|
|
1759
|
+
var ToolResultBlocksDelta = [1, n0, _TRBD,
|
|
1760
|
+
0, () => ToolResultBlockDelta$
|
|
1761
|
+
];
|
|
1762
|
+
var ToolResultContentBlocks = [1, n0, _TRCB,
|
|
1763
|
+
0, [() => ToolResultContentBlock$,
|
|
1764
|
+
0]
|
|
1765
|
+
];
|
|
1766
|
+
var Tools = [1, n0, _To,
|
|
1767
|
+
0, () => Tool$
|
|
1768
|
+
];
|
|
1769
|
+
var GuardrailAssessmentListMap = [2, n0, _GALM,
|
|
1770
|
+
0, [0,
|
|
1771
|
+
0],
|
|
1772
|
+
[() => GuardrailAssessmentList,
|
|
1773
|
+
0]
|
|
1774
|
+
];
|
|
1775
|
+
var GuardrailAssessmentMap = [2, n0, _GAM,
|
|
1776
|
+
0, [0,
|
|
1777
|
+
0],
|
|
1778
|
+
[() => GuardrailAssessment$,
|
|
1779
|
+
0]
|
|
1780
|
+
];
|
|
1781
|
+
var PromptVariableMap = [2, n0, _PVM,
|
|
1782
|
+
8, 0, () => PromptVariableValues$
|
|
1783
|
+
];
|
|
1784
|
+
var RequestMetadata = [2, n0, _RM,
|
|
1785
|
+
8, 0, 0
|
|
1786
|
+
];
|
|
1787
|
+
var AsyncInvokeOutputDataConfig$ = [4, n0, _AIODC,
|
|
1788
|
+
0,
|
|
1789
|
+
[_sODC],
|
|
1790
|
+
[() => AsyncInvokeS3OutputDataConfig$]
|
|
1791
|
+
];
|
|
1792
|
+
var AudioSource$ = [4, n0, _AS,
|
|
1793
|
+
8,
|
|
1794
|
+
[_b, _sL],
|
|
1795
|
+
[21, () => S3Location$]
|
|
1796
|
+
];
|
|
1797
|
+
var CitationGeneratedContent$ = [4, n0, _CGC,
|
|
1798
|
+
0,
|
|
1799
|
+
[_te],
|
|
1800
|
+
[0]
|
|
1801
|
+
];
|
|
1802
|
+
var CitationLocation$ = [4, n0, _CL,
|
|
1803
|
+
0,
|
|
1804
|
+
[_w, _dC, _dP, _dCo, _sRL],
|
|
1805
|
+
[() => WebLocation$, () => DocumentCharLocation$, () => DocumentPageLocation$, () => DocumentChunkLocation$, () => SearchResultLocation$]
|
|
1806
|
+
];
|
|
1807
|
+
var CitationSourceContent$ = [4, n0, _CSC,
|
|
1808
|
+
0,
|
|
1809
|
+
[_te],
|
|
1810
|
+
[0]
|
|
1811
|
+
];
|
|
1812
|
+
var ContentBlock$ = [4, n0, _CBo,
|
|
1813
|
+
0,
|
|
1814
|
+
[_te, _ima, _doc, _vi, _au, _tUo, _tR, _gCua, _cPa, _rC, _cC, _sRe],
|
|
1815
|
+
[0, [() => ImageBlock$, 0], () => DocumentBlock$, () => VideoBlock$, [() => AudioBlock$, 0], () => ToolUseBlock$, [() => ToolResultBlock$, 0], [() => GuardrailConverseContentBlock$, 0], () => CachePointBlock$, [() => ReasoningContentBlock$, 0], () => CitationsContentBlock$, () => SearchResultBlock$]
|
|
1816
|
+
];
|
|
1817
|
+
var ContentBlockDelta$ = [4, n0, _CBD,
|
|
1818
|
+
0,
|
|
1819
|
+
[_te, _tUo, _tR, _rC, _cit, _ima],
|
|
1820
|
+
[0, () => ToolUseBlockDelta$, () => ToolResultBlocksDelta, [() => ReasoningContentBlockDelta$, 0], () => CitationsDelta$, [() => ImageBlockDelta$, 0]]
|
|
1821
|
+
];
|
|
1822
|
+
var ContentBlockStart$ = [4, n0, _CBS,
|
|
1823
|
+
0,
|
|
1824
|
+
[_tUo, _tR, _ima],
|
|
1825
|
+
[() => ToolUseBlockStart$, () => ToolResultBlockStart$, () => ImageBlockStart$]
|
|
1826
|
+
];
|
|
1827
|
+
var ConverseOutput$ = [4, n0, _CO,
|
|
1828
|
+
0,
|
|
1829
|
+
[_m],
|
|
1830
|
+
[[() => Message$, 0]]
|
|
1831
|
+
];
|
|
1832
|
+
var ConverseStreamOutput$ = [4, n0, _CSO,
|
|
1833
|
+
{ [_stre]: 1 },
|
|
1834
|
+
[_mS, _cBS, _cBD, _cBSo, _mSe, _meta, _iSE, _mSEE, _vE, _tE, _sUE],
|
|
1835
|
+
[() => MessageStartEvent$, () => ContentBlockStartEvent$, [() => ContentBlockDeltaEvent$, 0], () => ContentBlockStopEvent$, () => MessageStopEvent$, [() => ConverseStreamMetadataEvent$, 0], [() => InternalServerException$, 0], [() => ModelStreamErrorException$, 0], [() => ValidationException$, 0], [() => ThrottlingException$, 0], [() => ServiceUnavailableException$, 0]]
|
|
1836
|
+
];
|
|
1837
|
+
var CountTokensInput$ = [4, n0, _CTI,
|
|
1838
|
+
0,
|
|
1839
|
+
[_iMn, _conv],
|
|
1840
|
+
[[() => InvokeModelTokensRequest$, 0], [() => ConverseTokensRequest$, 0]]
|
|
1841
|
+
];
|
|
1842
|
+
var DocumentContentBlock$ = [4, n0, _DCBo,
|
|
1843
|
+
0,
|
|
1844
|
+
[_te],
|
|
1845
|
+
[0]
|
|
1846
|
+
];
|
|
1847
|
+
var DocumentSource$ = [4, n0, _DS,
|
|
1848
|
+
0,
|
|
1849
|
+
[_b, _sL, _te, _co],
|
|
1850
|
+
[21, () => S3Location$, 0, () => DocumentContentBlocks]
|
|
1851
|
+
];
|
|
1852
|
+
var GuardrailAutomatedReasoningFinding$ = [4, n0, _GARF,
|
|
1853
|
+
0,
|
|
1854
|
+
[_va, _in, _sa, _imp, _tA, _tCoo, _nTo],
|
|
1855
|
+
[[() => GuardrailAutomatedReasoningValidFinding$, 0], [() => GuardrailAutomatedReasoningInvalidFinding$, 0], [() => GuardrailAutomatedReasoningSatisfiableFinding$, 0], [() => GuardrailAutomatedReasoningImpossibleFinding$, 0], [() => GuardrailAutomatedReasoningTranslationAmbiguousFinding$, 0], () => GuardrailAutomatedReasoningTooComplexFinding$, () => GuardrailAutomatedReasoningNoTranslationsFinding$]
|
|
1856
|
+
];
|
|
1857
|
+
var GuardrailChecksContentBlock$ = [4, n0, _GCCB,
|
|
1858
|
+
0,
|
|
1859
|
+
[_te],
|
|
1860
|
+
[[() => GuardrailChecksTextContent, 0]]
|
|
1861
|
+
];
|
|
1862
|
+
var GuardrailContentBlock$ = [4, n0, _GCB,
|
|
1863
|
+
0,
|
|
1864
|
+
[_te, _ima],
|
|
1865
|
+
[() => GuardrailTextBlock$, [() => GuardrailImageBlock$, 0]]
|
|
1866
|
+
];
|
|
1867
|
+
var GuardrailConverseContentBlock$ = [4, n0, _GCCBu,
|
|
1868
|
+
0,
|
|
1869
|
+
[_te, _ima],
|
|
1870
|
+
[() => GuardrailConverseTextBlock$, [() => GuardrailConverseImageBlock$, 0]]
|
|
1871
|
+
];
|
|
1872
|
+
var GuardrailConverseImageSource$ = [4, n0, _GCIS,
|
|
1873
|
+
8,
|
|
1874
|
+
[_b],
|
|
1875
|
+
[21]
|
|
1876
|
+
];
|
|
1877
|
+
var GuardrailImageSource$ = [4, n0, _GIS,
|
|
1878
|
+
8,
|
|
1879
|
+
[_b],
|
|
1880
|
+
[21]
|
|
1881
|
+
];
|
|
1882
|
+
var ImageSource$ = [4, n0, _IS,
|
|
1883
|
+
8,
|
|
1884
|
+
[_b, _sL],
|
|
1885
|
+
[21, () => S3Location$]
|
|
1886
|
+
];
|
|
1887
|
+
var InvokeModelWithBidirectionalStreamInput$ = [4, n0, _IMWBSI,
|
|
1888
|
+
{ [_stre]: 1 },
|
|
1889
|
+
[_chu],
|
|
1890
|
+
[[() => BidirectionalInputPayloadPart$, 0]]
|
|
1891
|
+
];
|
|
1892
|
+
var InvokeModelWithBidirectionalStreamOutput$ = [4, n0, _IMWBSO,
|
|
1893
|
+
{ [_stre]: 1 },
|
|
1894
|
+
[_chu, _iSE, _mSEE, _vE, _tE, _mTE, _sUE],
|
|
1895
|
+
[[() => BidirectionalOutputPayloadPart$, 0], [() => InternalServerException$, 0], [() => ModelStreamErrorException$, 0], [() => ValidationException$, 0], [() => ThrottlingException$, 0], [() => ModelTimeoutException$, 0], [() => ServiceUnavailableException$, 0]]
|
|
1896
|
+
];
|
|
1897
|
+
var OutputFormatStructure$ = [4, n0, _OFS,
|
|
1898
|
+
8,
|
|
1899
|
+
[_jS],
|
|
1900
|
+
[() => JsonSchemaDefinition$]
|
|
1901
|
+
];
|
|
1902
|
+
var PromptVariableValues$ = [4, n0, _PVV,
|
|
1903
|
+
0,
|
|
1904
|
+
[_te],
|
|
1905
|
+
[0]
|
|
1906
|
+
];
|
|
1907
|
+
var ReasoningContentBlock$ = [4, n0, _RCB,
|
|
1908
|
+
8,
|
|
1909
|
+
[_rT, _rCe],
|
|
1910
|
+
[[() => ReasoningTextBlock$, 0], 21]
|
|
1911
|
+
];
|
|
1912
|
+
var ReasoningContentBlockDelta$ = [4, n0, _RCBD,
|
|
1913
|
+
8,
|
|
1914
|
+
[_te, _rCe, _si],
|
|
1915
|
+
[0, 21, 0]
|
|
1916
|
+
];
|
|
1917
|
+
var ResponseStream$ = [4, n0, _RS,
|
|
1918
|
+
{ [_stre]: 1 },
|
|
1919
|
+
[_chu, _iSE, _mSEE, _vE, _tE, _mTE, _sUE],
|
|
1920
|
+
[[() => PayloadPart$, 0], [() => InternalServerException$, 0], [() => ModelStreamErrorException$, 0], [() => ValidationException$, 0], [() => ThrottlingException$, 0], [() => ModelTimeoutException$, 0], [() => ServiceUnavailableException$, 0]]
|
|
1921
|
+
];
|
|
1922
|
+
var SystemContentBlock$ = [4, n0, _SCBy,
|
|
1923
|
+
0,
|
|
1924
|
+
[_te, _gCua, _cPa],
|
|
1925
|
+
[0, [() => GuardrailConverseContentBlock$, 0], () => CachePointBlock$]
|
|
1926
|
+
];
|
|
1927
|
+
var Tool$ = [4, n0, _Too,
|
|
1928
|
+
0,
|
|
1929
|
+
[_tS, _sTy, _cPa],
|
|
1930
|
+
[() => ToolSpecification$, () => SystemTool$, () => CachePointBlock$]
|
|
1931
|
+
];
|
|
1932
|
+
var ToolChoice$ = [4, n0, _TCo,
|
|
1933
|
+
0,
|
|
1934
|
+
[_aut, _an, _tool],
|
|
1935
|
+
[() => AutoToolChoice$, () => AnyToolChoice$, () => SpecificToolChoice$]
|
|
1936
|
+
];
|
|
1937
|
+
var ToolInputSchema$ = [4, n0, _TIS,
|
|
1938
|
+
0,
|
|
1939
|
+
[_j],
|
|
1940
|
+
[15]
|
|
1941
|
+
];
|
|
1942
|
+
var ToolResultBlockDelta$ = [4, n0, _TRBDo,
|
|
1943
|
+
0,
|
|
1944
|
+
[_te, _j],
|
|
1945
|
+
[0, 15]
|
|
1946
|
+
];
|
|
1947
|
+
var ToolResultContentBlock$ = [4, n0, _TRCBo,
|
|
1948
|
+
0,
|
|
1949
|
+
[_j, _te, _ima, _doc, _vi, _sRe],
|
|
1950
|
+
[15, 0, [() => ImageBlock$, 0], () => DocumentBlock$, () => VideoBlock$, () => SearchResultBlock$]
|
|
1951
|
+
];
|
|
1952
|
+
var VideoSource$ = [4, n0, _VS,
|
|
1953
|
+
0,
|
|
1954
|
+
[_b, _sL],
|
|
1955
|
+
[21, () => S3Location$]
|
|
1956
|
+
];
|
|
1957
|
+
var ApplyGuardrail$ = [9, n0, _AG,
|
|
1958
|
+
{ [_h]: ["POST", "/guardrail/{guardrailIdentifier}/version/{guardrailVersion}/apply", 200] }, () => ApplyGuardrailRequest$, () => ApplyGuardrailResponse$
|
|
1959
|
+
];
|
|
1960
|
+
var Converse$ = [9, n0, _Co,
|
|
1961
|
+
{ [_h]: ["POST", "/model/{modelId}/converse", 200] }, () => ConverseRequest$, () => ConverseResponse$
|
|
1962
|
+
];
|
|
1963
|
+
var ConverseStream$ = [9, n0, _CS,
|
|
1964
|
+
{ [_h]: ["POST", "/model/{modelId}/converse-stream", 200] }, () => ConverseStreamRequest$, () => ConverseStreamResponse$
|
|
1965
|
+
];
|
|
1966
|
+
var CountTokens$ = [9, n0, _CTo,
|
|
1967
|
+
{ [_h]: ["POST", "/model/{modelId}/count-tokens", 200] }, () => CountTokensRequest$, () => CountTokensResponse$
|
|
1968
|
+
];
|
|
1969
|
+
var GetAsyncInvoke$ = [9, n0, _GAI,
|
|
1970
|
+
{ [_h]: ["GET", "/async-invoke/{invocationArn}", 200] }, () => GetAsyncInvokeRequest$, () => GetAsyncInvokeResponse$
|
|
1971
|
+
];
|
|
1972
|
+
var InvokeGuardrailChecks$ = [9, n0, _IGC,
|
|
1973
|
+
{ [_h]: ["POST", "/guardrail-checks/invoke", 200] }, () => InvokeGuardrailChecksRequest$, () => InvokeGuardrailChecksResponse$
|
|
1974
|
+
];
|
|
1975
|
+
var InvokeModel$ = [9, n0, _IM,
|
|
1976
|
+
{ [_h]: ["POST", "/model/{modelId}/invoke", 200] }, () => InvokeModelRequest$, () => InvokeModelResponse$
|
|
1977
|
+
];
|
|
1978
|
+
var InvokeModelWithBidirectionalStream$ = [9, n0, _IMWBS,
|
|
1979
|
+
{ [_h]: ["POST", "/model/{modelId}/invoke-with-bidirectional-stream", 200] }, () => InvokeModelWithBidirectionalStreamRequest$, () => InvokeModelWithBidirectionalStreamResponse$
|
|
1980
|
+
];
|
|
1981
|
+
var InvokeModelWithResponseStream$ = [9, n0, _IMWRS,
|
|
1982
|
+
{ [_h]: ["POST", "/model/{modelId}/invoke-with-response-stream", 200] }, () => InvokeModelWithResponseStreamRequest$, () => InvokeModelWithResponseStreamResponse$
|
|
1983
|
+
];
|
|
1984
|
+
var ListAsyncInvokes$ = [9, n0, _LAI,
|
|
1985
|
+
{ [_h]: ["GET", "/async-invoke", 200] }, () => ListAsyncInvokesRequest$, () => ListAsyncInvokesResponse$
|
|
1986
|
+
];
|
|
1987
|
+
var StartAsyncInvoke$ = [9, n0, _SAI,
|
|
1988
|
+
{ [_h]: ["POST", "/async-invoke", 200] }, () => StartAsyncInvokeRequest$, () => StartAsyncInvokeResponse$
|
|
1989
|
+
];
|
|
1990
|
+
|
|
1991
|
+
const getRuntimeConfig$1 = (config) => {
|
|
1992
|
+
return {
|
|
1993
|
+
apiVersion: "2023-09-30",
|
|
1994
|
+
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
1995
|
+
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
1996
|
+
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
1997
|
+
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
1998
|
+
extensions: config?.extensions ?? [],
|
|
1999
|
+
httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultBedrockRuntimeHttpAuthSchemeProvider,
|
|
2000
|
+
httpAuthSchemes: config?.httpAuthSchemes ?? [
|
|
2001
|
+
{
|
|
2002
|
+
schemeId: "aws.auth#sigv4",
|
|
2003
|
+
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
|
|
2004
|
+
signer: new AwsSdkSigV4Signer(),
|
|
2005
|
+
},
|
|
2006
|
+
{
|
|
2007
|
+
schemeId: "smithy.api#httpBearerAuth",
|
|
2008
|
+
identityProvider: (ipc) => ipc.getIdentityProvider("smithy.api#httpBearerAuth"),
|
|
2009
|
+
signer: new HttpBearerAuthSigner(),
|
|
2010
|
+
},
|
|
2011
|
+
],
|
|
2012
|
+
logger: config?.logger ?? new NoOpLogger(),
|
|
2013
|
+
protocol: config?.protocol ?? AwsRestJsonProtocol,
|
|
2014
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
2015
|
+
defaultNamespace: "com.amazonaws.bedrockruntime",
|
|
2016
|
+
errorTypeRegistries,
|
|
2017
|
+
version: "2023-09-30",
|
|
2018
|
+
serviceTarget: "AmazonBedrockFrontendService",
|
|
2019
|
+
},
|
|
2020
|
+
serviceId: config?.serviceId ?? "Bedrock Runtime",
|
|
2021
|
+
urlParser: config?.urlParser ?? parseUrl,
|
|
2022
|
+
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
2023
|
+
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
2024
|
+
};
|
|
2025
|
+
};
|
|
2026
|
+
|
|
2027
|
+
const getRuntimeConfig = (config) => {
|
|
2028
|
+
emitWarningIfUnsupportedVersion(process.version);
|
|
2029
|
+
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
2030
|
+
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
2031
|
+
const clientSharedValues = getRuntimeConfig$1(config);
|
|
2032
|
+
emitWarningIfUnsupportedVersion$1(process.version);
|
|
2033
|
+
const loaderConfig = {
|
|
2034
|
+
profile: config?.profile,
|
|
2035
|
+
logger: clientSharedValues.logger,
|
|
2036
|
+
signingName: "bedrock",
|
|
2037
|
+
};
|
|
2038
|
+
return {
|
|
2039
|
+
...clientSharedValues,
|
|
2040
|
+
...config,
|
|
2041
|
+
runtime: "node",
|
|
2042
|
+
defaultsMode,
|
|
2043
|
+
authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
2044
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
2045
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
|
|
2046
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
2047
|
+
eventStreamPayloadHandlerProvider: config?.eventStreamPayloadHandlerProvider ?? eventStreamPayloadHandlerProvider,
|
|
2048
|
+
eventStreamSerdeProvider: config?.eventStreamSerdeProvider ?? eventStreamSerdeProvider,
|
|
2049
|
+
httpAuthSchemes: config?.httpAuthSchemes ?? [
|
|
2050
|
+
{
|
|
2051
|
+
schemeId: "aws.auth#sigv4",
|
|
2052
|
+
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
|
|
2053
|
+
signer: new AwsSdkSigV4Signer(),
|
|
2054
|
+
},
|
|
2055
|
+
{
|
|
2056
|
+
schemeId: "smithy.api#httpBearerAuth",
|
|
2057
|
+
identityProvider: (ipc) => ipc.getIdentityProvider("smithy.api#httpBearerAuth") || (async (idProps) => {
|
|
2058
|
+
try {
|
|
2059
|
+
return await fromEnvSigningName({ signingName: "bedrock" })();
|
|
2060
|
+
}
|
|
2061
|
+
catch (error) {
|
|
2062
|
+
return await nodeProvider(idProps)(idProps);
|
|
2063
|
+
}
|
|
2064
|
+
}),
|
|
2065
|
+
signer: new HttpBearerAuthSigner(),
|
|
2066
|
+
},
|
|
2067
|
+
],
|
|
2068
|
+
maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
2069
|
+
region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
2070
|
+
requestHandler: NodeHttp2Handler.create(config?.requestHandler ?? (async () => ({
|
|
2071
|
+
...await defaultConfigProvider(),
|
|
2072
|
+
disableConcurrentStreams: true
|
|
2073
|
+
}))),
|
|
2074
|
+
retryMode: config?.retryMode ??
|
|
2075
|
+
loadConfig({
|
|
2076
|
+
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
2077
|
+
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
2078
|
+
}, config),
|
|
2079
|
+
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
2080
|
+
streamCollector: config?.streamCollector ?? streamCollector,
|
|
2081
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
2082
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
2083
|
+
userAgentAppId: config?.userAgentAppId ?? loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
|
|
2084
|
+
};
|
|
2085
|
+
};
|
|
2086
|
+
|
|
37
2087
|
const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
38
2088
|
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
39
2089
|
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
@@ -591,62 +2641,278 @@ const Trace = {
|
|
|
591
2641
|
ENABLED_FULL: "ENABLED_FULL",
|
|
592
2642
|
};
|
|
593
2643
|
|
|
2644
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
2645
|
+
exports.AccessDeniedException$ = AccessDeniedException$;
|
|
2646
|
+
exports.AnyToolChoice$ = AnyToolChoice$;
|
|
2647
|
+
exports.AppliedGuardrailDetails$ = AppliedGuardrailDetails$;
|
|
2648
|
+
exports.ApplyGuardrail$ = ApplyGuardrail$;
|
|
594
2649
|
exports.ApplyGuardrailCommand = ApplyGuardrailCommand;
|
|
2650
|
+
exports.ApplyGuardrailRequest$ = ApplyGuardrailRequest$;
|
|
2651
|
+
exports.ApplyGuardrailResponse$ = ApplyGuardrailResponse$;
|
|
2652
|
+
exports.AsyncInvokeOutputDataConfig$ = AsyncInvokeOutputDataConfig$;
|
|
2653
|
+
exports.AsyncInvokeS3OutputDataConfig$ = AsyncInvokeS3OutputDataConfig$;
|
|
595
2654
|
exports.AsyncInvokeStatus = AsyncInvokeStatus;
|
|
2655
|
+
exports.AsyncInvokeSummary$ = AsyncInvokeSummary$;
|
|
2656
|
+
exports.AudioBlock$ = AudioBlock$;
|
|
596
2657
|
exports.AudioFormat = AudioFormat;
|
|
2658
|
+
exports.AudioSource$ = AudioSource$;
|
|
2659
|
+
exports.AutoToolChoice$ = AutoToolChoice$;
|
|
597
2660
|
exports.BedrockRuntime = BedrockRuntime;
|
|
598
2661
|
exports.BedrockRuntimeClient = BedrockRuntimeClient;
|
|
2662
|
+
exports.BedrockRuntimeServiceException = BedrockRuntimeServiceException;
|
|
2663
|
+
exports.BedrockRuntimeServiceException$ = BedrockRuntimeServiceException$;
|
|
2664
|
+
exports.BidirectionalInputPayloadPart$ = BidirectionalInputPayloadPart$;
|
|
2665
|
+
exports.BidirectionalOutputPayloadPart$ = BidirectionalOutputPayloadPart$;
|
|
2666
|
+
exports.CacheDetail$ = CacheDetail$;
|
|
2667
|
+
exports.CachePointBlock$ = CachePointBlock$;
|
|
599
2668
|
exports.CachePointType = CachePointType;
|
|
600
2669
|
exports.CacheTTL = CacheTTL;
|
|
2670
|
+
exports.Citation$ = Citation$;
|
|
2671
|
+
exports.CitationGeneratedContent$ = CitationGeneratedContent$;
|
|
2672
|
+
exports.CitationLocation$ = CitationLocation$;
|
|
2673
|
+
exports.CitationSourceContent$ = CitationSourceContent$;
|
|
2674
|
+
exports.CitationSourceContentDelta$ = CitationSourceContentDelta$;
|
|
2675
|
+
exports.CitationsConfig$ = CitationsConfig$;
|
|
2676
|
+
exports.CitationsContentBlock$ = CitationsContentBlock$;
|
|
2677
|
+
exports.CitationsDelta$ = CitationsDelta$;
|
|
2678
|
+
exports.ConflictException = ConflictException;
|
|
2679
|
+
exports.ConflictException$ = ConflictException$;
|
|
2680
|
+
exports.ContentBlock$ = ContentBlock$;
|
|
2681
|
+
exports.ContentBlockDelta$ = ContentBlockDelta$;
|
|
2682
|
+
exports.ContentBlockDeltaEvent$ = ContentBlockDeltaEvent$;
|
|
2683
|
+
exports.ContentBlockStart$ = ContentBlockStart$;
|
|
2684
|
+
exports.ContentBlockStartEvent$ = ContentBlockStartEvent$;
|
|
2685
|
+
exports.ContentBlockStopEvent$ = ContentBlockStopEvent$;
|
|
601
2686
|
exports.ConversationRole = ConversationRole;
|
|
2687
|
+
exports.Converse$ = Converse$;
|
|
602
2688
|
exports.ConverseCommand = ConverseCommand;
|
|
2689
|
+
exports.ConverseMetrics$ = ConverseMetrics$;
|
|
2690
|
+
exports.ConverseOutput$ = ConverseOutput$;
|
|
2691
|
+
exports.ConverseRequest$ = ConverseRequest$;
|
|
2692
|
+
exports.ConverseResponse$ = ConverseResponse$;
|
|
2693
|
+
exports.ConverseStream$ = ConverseStream$;
|
|
603
2694
|
exports.ConverseStreamCommand = ConverseStreamCommand;
|
|
2695
|
+
exports.ConverseStreamMetadataEvent$ = ConverseStreamMetadataEvent$;
|
|
2696
|
+
exports.ConverseStreamMetrics$ = ConverseStreamMetrics$;
|
|
2697
|
+
exports.ConverseStreamOutput$ = ConverseStreamOutput$;
|
|
2698
|
+
exports.ConverseStreamRequest$ = ConverseStreamRequest$;
|
|
2699
|
+
exports.ConverseStreamResponse$ = ConverseStreamResponse$;
|
|
2700
|
+
exports.ConverseStreamTrace$ = ConverseStreamTrace$;
|
|
2701
|
+
exports.ConverseTokensRequest$ = ConverseTokensRequest$;
|
|
2702
|
+
exports.ConverseTrace$ = ConverseTrace$;
|
|
2703
|
+
exports.CountTokens$ = CountTokens$;
|
|
604
2704
|
exports.CountTokensCommand = CountTokensCommand;
|
|
2705
|
+
exports.CountTokensInput$ = CountTokensInput$;
|
|
2706
|
+
exports.CountTokensRequest$ = CountTokensRequest$;
|
|
2707
|
+
exports.CountTokensResponse$ = CountTokensResponse$;
|
|
2708
|
+
exports.DocumentBlock$ = DocumentBlock$;
|
|
2709
|
+
exports.DocumentCharLocation$ = DocumentCharLocation$;
|
|
2710
|
+
exports.DocumentChunkLocation$ = DocumentChunkLocation$;
|
|
2711
|
+
exports.DocumentContentBlock$ = DocumentContentBlock$;
|
|
605
2712
|
exports.DocumentFormat = DocumentFormat;
|
|
2713
|
+
exports.DocumentPageLocation$ = DocumentPageLocation$;
|
|
2714
|
+
exports.DocumentSource$ = DocumentSource$;
|
|
2715
|
+
exports.ErrorBlock$ = ErrorBlock$;
|
|
2716
|
+
exports.GetAsyncInvoke$ = GetAsyncInvoke$;
|
|
606
2717
|
exports.GetAsyncInvokeCommand = GetAsyncInvokeCommand;
|
|
2718
|
+
exports.GetAsyncInvokeRequest$ = GetAsyncInvokeRequest$;
|
|
2719
|
+
exports.GetAsyncInvokeResponse$ = GetAsyncInvokeResponse$;
|
|
607
2720
|
exports.GuardrailAction = GuardrailAction;
|
|
2721
|
+
exports.GuardrailAssessment$ = GuardrailAssessment$;
|
|
2722
|
+
exports.GuardrailAutomatedReasoningFinding$ = GuardrailAutomatedReasoningFinding$;
|
|
2723
|
+
exports.GuardrailAutomatedReasoningImpossibleFinding$ = GuardrailAutomatedReasoningImpossibleFinding$;
|
|
2724
|
+
exports.GuardrailAutomatedReasoningInputTextReference$ = GuardrailAutomatedReasoningInputTextReference$;
|
|
2725
|
+
exports.GuardrailAutomatedReasoningInvalidFinding$ = GuardrailAutomatedReasoningInvalidFinding$;
|
|
2726
|
+
exports.GuardrailAutomatedReasoningLogicWarning$ = GuardrailAutomatedReasoningLogicWarning$;
|
|
608
2727
|
exports.GuardrailAutomatedReasoningLogicWarningType = GuardrailAutomatedReasoningLogicWarningType;
|
|
2728
|
+
exports.GuardrailAutomatedReasoningNoTranslationsFinding$ = GuardrailAutomatedReasoningNoTranslationsFinding$;
|
|
2729
|
+
exports.GuardrailAutomatedReasoningPolicyAssessment$ = GuardrailAutomatedReasoningPolicyAssessment$;
|
|
2730
|
+
exports.GuardrailAutomatedReasoningRule$ = GuardrailAutomatedReasoningRule$;
|
|
2731
|
+
exports.GuardrailAutomatedReasoningSatisfiableFinding$ = GuardrailAutomatedReasoningSatisfiableFinding$;
|
|
2732
|
+
exports.GuardrailAutomatedReasoningScenario$ = GuardrailAutomatedReasoningScenario$;
|
|
2733
|
+
exports.GuardrailAutomatedReasoningStatement$ = GuardrailAutomatedReasoningStatement$;
|
|
2734
|
+
exports.GuardrailAutomatedReasoningTooComplexFinding$ = GuardrailAutomatedReasoningTooComplexFinding$;
|
|
2735
|
+
exports.GuardrailAutomatedReasoningTranslation$ = GuardrailAutomatedReasoningTranslation$;
|
|
2736
|
+
exports.GuardrailAutomatedReasoningTranslationAmbiguousFinding$ = GuardrailAutomatedReasoningTranslationAmbiguousFinding$;
|
|
2737
|
+
exports.GuardrailAutomatedReasoningTranslationOption$ = GuardrailAutomatedReasoningTranslationOption$;
|
|
2738
|
+
exports.GuardrailAutomatedReasoningValidFinding$ = GuardrailAutomatedReasoningValidFinding$;
|
|
2739
|
+
exports.GuardrailChecksConfig$ = GuardrailChecksConfig$;
|
|
2740
|
+
exports.GuardrailChecksContentBlock$ = GuardrailChecksContentBlock$;
|
|
609
2741
|
exports.GuardrailChecksContentFilterCategory = GuardrailChecksContentFilterCategory;
|
|
2742
|
+
exports.GuardrailChecksContentFilterCategoryConfig$ = GuardrailChecksContentFilterCategoryConfig$;
|
|
2743
|
+
exports.GuardrailChecksContentFilterConfig$ = GuardrailChecksContentFilterConfig$;
|
|
2744
|
+
exports.GuardrailChecksContentFilterResult$ = GuardrailChecksContentFilterResult$;
|
|
2745
|
+
exports.GuardrailChecksContentFilterResultEntry$ = GuardrailChecksContentFilterResultEntry$;
|
|
2746
|
+
exports.GuardrailChecksContentFilterUsage$ = GuardrailChecksContentFilterUsage$;
|
|
2747
|
+
exports.GuardrailChecksMessage$ = GuardrailChecksMessage$;
|
|
610
2748
|
exports.GuardrailChecksPromptAttackCategory = GuardrailChecksPromptAttackCategory;
|
|
2749
|
+
exports.GuardrailChecksPromptAttackCategoryConfig$ = GuardrailChecksPromptAttackCategoryConfig$;
|
|
2750
|
+
exports.GuardrailChecksPromptAttackConfig$ = GuardrailChecksPromptAttackConfig$;
|
|
2751
|
+
exports.GuardrailChecksPromptAttackResult$ = GuardrailChecksPromptAttackResult$;
|
|
2752
|
+
exports.GuardrailChecksPromptAttackResultEntry$ = GuardrailChecksPromptAttackResultEntry$;
|
|
2753
|
+
exports.GuardrailChecksPromptAttackUsage$ = GuardrailChecksPromptAttackUsage$;
|
|
2754
|
+
exports.GuardrailChecksResults$ = GuardrailChecksResults$;
|
|
611
2755
|
exports.GuardrailChecksRole = GuardrailChecksRole;
|
|
2756
|
+
exports.GuardrailChecksSensitiveInformationConfig$ = GuardrailChecksSensitiveInformationConfig$;
|
|
2757
|
+
exports.GuardrailChecksSensitiveInformationEntityConfig$ = GuardrailChecksSensitiveInformationEntityConfig$;
|
|
612
2758
|
exports.GuardrailChecksSensitiveInformationEntityType = GuardrailChecksSensitiveInformationEntityType;
|
|
2759
|
+
exports.GuardrailChecksSensitiveInformationResult$ = GuardrailChecksSensitiveInformationResult$;
|
|
2760
|
+
exports.GuardrailChecksSensitiveInformationResultEntry$ = GuardrailChecksSensitiveInformationResultEntry$;
|
|
2761
|
+
exports.GuardrailChecksSensitiveInformationUsage$ = GuardrailChecksSensitiveInformationUsage$;
|
|
2762
|
+
exports.GuardrailChecksUsageResults$ = GuardrailChecksUsageResults$;
|
|
2763
|
+
exports.GuardrailConfiguration$ = GuardrailConfiguration$;
|
|
2764
|
+
exports.GuardrailContentBlock$ = GuardrailContentBlock$;
|
|
2765
|
+
exports.GuardrailContentFilter$ = GuardrailContentFilter$;
|
|
613
2766
|
exports.GuardrailContentFilterConfidence = GuardrailContentFilterConfidence;
|
|
614
2767
|
exports.GuardrailContentFilterStrength = GuardrailContentFilterStrength;
|
|
615
2768
|
exports.GuardrailContentFilterType = GuardrailContentFilterType;
|
|
616
2769
|
exports.GuardrailContentPolicyAction = GuardrailContentPolicyAction;
|
|
2770
|
+
exports.GuardrailContentPolicyAssessment$ = GuardrailContentPolicyAssessment$;
|
|
617
2771
|
exports.GuardrailContentQualifier = GuardrailContentQualifier;
|
|
618
2772
|
exports.GuardrailContentSource = GuardrailContentSource;
|
|
2773
|
+
exports.GuardrailContextualGroundingFilter$ = GuardrailContextualGroundingFilter$;
|
|
619
2774
|
exports.GuardrailContextualGroundingFilterType = GuardrailContextualGroundingFilterType;
|
|
620
2775
|
exports.GuardrailContextualGroundingPolicyAction = GuardrailContextualGroundingPolicyAction;
|
|
2776
|
+
exports.GuardrailContextualGroundingPolicyAssessment$ = GuardrailContextualGroundingPolicyAssessment$;
|
|
2777
|
+
exports.GuardrailConverseContentBlock$ = GuardrailConverseContentBlock$;
|
|
621
2778
|
exports.GuardrailConverseContentQualifier = GuardrailConverseContentQualifier;
|
|
2779
|
+
exports.GuardrailConverseImageBlock$ = GuardrailConverseImageBlock$;
|
|
622
2780
|
exports.GuardrailConverseImageFormat = GuardrailConverseImageFormat;
|
|
2781
|
+
exports.GuardrailConverseImageSource$ = GuardrailConverseImageSource$;
|
|
2782
|
+
exports.GuardrailConverseTextBlock$ = GuardrailConverseTextBlock$;
|
|
2783
|
+
exports.GuardrailCoverage$ = GuardrailCoverage$;
|
|
2784
|
+
exports.GuardrailCustomWord$ = GuardrailCustomWord$;
|
|
2785
|
+
exports.GuardrailImageBlock$ = GuardrailImageBlock$;
|
|
2786
|
+
exports.GuardrailImageCoverage$ = GuardrailImageCoverage$;
|
|
623
2787
|
exports.GuardrailImageFormat = GuardrailImageFormat;
|
|
2788
|
+
exports.GuardrailImageSource$ = GuardrailImageSource$;
|
|
2789
|
+
exports.GuardrailInvocationMetrics$ = GuardrailInvocationMetrics$;
|
|
2790
|
+
exports.GuardrailManagedWord$ = GuardrailManagedWord$;
|
|
624
2791
|
exports.GuardrailManagedWordType = GuardrailManagedWordType;
|
|
625
2792
|
exports.GuardrailOrigin = GuardrailOrigin;
|
|
2793
|
+
exports.GuardrailOutputContent$ = GuardrailOutputContent$;
|
|
626
2794
|
exports.GuardrailOutputScope = GuardrailOutputScope;
|
|
627
2795
|
exports.GuardrailOwnership = GuardrailOwnership;
|
|
2796
|
+
exports.GuardrailPiiEntityFilter$ = GuardrailPiiEntityFilter$;
|
|
628
2797
|
exports.GuardrailPiiEntityType = GuardrailPiiEntityType;
|
|
2798
|
+
exports.GuardrailRegexFilter$ = GuardrailRegexFilter$;
|
|
629
2799
|
exports.GuardrailSensitiveInformationPolicyAction = GuardrailSensitiveInformationPolicyAction;
|
|
2800
|
+
exports.GuardrailSensitiveInformationPolicyAssessment$ = GuardrailSensitiveInformationPolicyAssessment$;
|
|
2801
|
+
exports.GuardrailStreamConfiguration$ = GuardrailStreamConfiguration$;
|
|
630
2802
|
exports.GuardrailStreamProcessingMode = GuardrailStreamProcessingMode;
|
|
2803
|
+
exports.GuardrailTextBlock$ = GuardrailTextBlock$;
|
|
2804
|
+
exports.GuardrailTextCharactersCoverage$ = GuardrailTextCharactersCoverage$;
|
|
2805
|
+
exports.GuardrailTopic$ = GuardrailTopic$;
|
|
631
2806
|
exports.GuardrailTopicPolicyAction = GuardrailTopicPolicyAction;
|
|
2807
|
+
exports.GuardrailTopicPolicyAssessment$ = GuardrailTopicPolicyAssessment$;
|
|
632
2808
|
exports.GuardrailTopicType = GuardrailTopicType;
|
|
633
2809
|
exports.GuardrailTrace = GuardrailTrace;
|
|
2810
|
+
exports.GuardrailTraceAssessment$ = GuardrailTraceAssessment$;
|
|
2811
|
+
exports.GuardrailUsage$ = GuardrailUsage$;
|
|
634
2812
|
exports.GuardrailWordPolicyAction = GuardrailWordPolicyAction;
|
|
2813
|
+
exports.GuardrailWordPolicyAssessment$ = GuardrailWordPolicyAssessment$;
|
|
2814
|
+
exports.ImageBlock$ = ImageBlock$;
|
|
2815
|
+
exports.ImageBlockDelta$ = ImageBlockDelta$;
|
|
2816
|
+
exports.ImageBlockStart$ = ImageBlockStart$;
|
|
635
2817
|
exports.ImageFormat = ImageFormat;
|
|
2818
|
+
exports.ImageSource$ = ImageSource$;
|
|
2819
|
+
exports.InferenceConfiguration$ = InferenceConfiguration$;
|
|
2820
|
+
exports.InternalServerException = InternalServerException;
|
|
2821
|
+
exports.InternalServerException$ = InternalServerException$;
|
|
2822
|
+
exports.InvokeGuardrailChecks$ = InvokeGuardrailChecks$;
|
|
636
2823
|
exports.InvokeGuardrailChecksCommand = InvokeGuardrailChecksCommand;
|
|
2824
|
+
exports.InvokeGuardrailChecksRequest$ = InvokeGuardrailChecksRequest$;
|
|
2825
|
+
exports.InvokeGuardrailChecksResponse$ = InvokeGuardrailChecksResponse$;
|
|
2826
|
+
exports.InvokeModel$ = InvokeModel$;
|
|
637
2827
|
exports.InvokeModelCommand = InvokeModelCommand;
|
|
2828
|
+
exports.InvokeModelRequest$ = InvokeModelRequest$;
|
|
2829
|
+
exports.InvokeModelResponse$ = InvokeModelResponse$;
|
|
2830
|
+
exports.InvokeModelTokensRequest$ = InvokeModelTokensRequest$;
|
|
2831
|
+
exports.InvokeModelWithBidirectionalStream$ = InvokeModelWithBidirectionalStream$;
|
|
638
2832
|
exports.InvokeModelWithBidirectionalStreamCommand = InvokeModelWithBidirectionalStreamCommand;
|
|
2833
|
+
exports.InvokeModelWithBidirectionalStreamInput$ = InvokeModelWithBidirectionalStreamInput$;
|
|
2834
|
+
exports.InvokeModelWithBidirectionalStreamOutput$ = InvokeModelWithBidirectionalStreamOutput$;
|
|
2835
|
+
exports.InvokeModelWithBidirectionalStreamRequest$ = InvokeModelWithBidirectionalStreamRequest$;
|
|
2836
|
+
exports.InvokeModelWithBidirectionalStreamResponse$ = InvokeModelWithBidirectionalStreamResponse$;
|
|
2837
|
+
exports.InvokeModelWithResponseStream$ = InvokeModelWithResponseStream$;
|
|
639
2838
|
exports.InvokeModelWithResponseStreamCommand = InvokeModelWithResponseStreamCommand;
|
|
2839
|
+
exports.InvokeModelWithResponseStreamRequest$ = InvokeModelWithResponseStreamRequest$;
|
|
2840
|
+
exports.InvokeModelWithResponseStreamResponse$ = InvokeModelWithResponseStreamResponse$;
|
|
2841
|
+
exports.JsonSchemaDefinition$ = JsonSchemaDefinition$;
|
|
2842
|
+
exports.ListAsyncInvokes$ = ListAsyncInvokes$;
|
|
640
2843
|
exports.ListAsyncInvokesCommand = ListAsyncInvokesCommand;
|
|
2844
|
+
exports.ListAsyncInvokesRequest$ = ListAsyncInvokesRequest$;
|
|
2845
|
+
exports.ListAsyncInvokesResponse$ = ListAsyncInvokesResponse$;
|
|
2846
|
+
exports.Message$ = Message$;
|
|
2847
|
+
exports.MessageStartEvent$ = MessageStartEvent$;
|
|
2848
|
+
exports.MessageStopEvent$ = MessageStopEvent$;
|
|
2849
|
+
exports.ModelErrorException = ModelErrorException;
|
|
2850
|
+
exports.ModelErrorException$ = ModelErrorException$;
|
|
2851
|
+
exports.ModelNotReadyException = ModelNotReadyException;
|
|
2852
|
+
exports.ModelNotReadyException$ = ModelNotReadyException$;
|
|
2853
|
+
exports.ModelStreamErrorException = ModelStreamErrorException;
|
|
2854
|
+
exports.ModelStreamErrorException$ = ModelStreamErrorException$;
|
|
2855
|
+
exports.ModelTimeoutException = ModelTimeoutException;
|
|
2856
|
+
exports.ModelTimeoutException$ = ModelTimeoutException$;
|
|
2857
|
+
exports.OutputConfig$ = OutputConfig$;
|
|
2858
|
+
exports.OutputFormat$ = OutputFormat$;
|
|
2859
|
+
exports.OutputFormatStructure$ = OutputFormatStructure$;
|
|
641
2860
|
exports.OutputFormatType = OutputFormatType;
|
|
2861
|
+
exports.PayloadPart$ = PayloadPart$;
|
|
642
2862
|
exports.PerformanceConfigLatency = PerformanceConfigLatency;
|
|
2863
|
+
exports.PerformanceConfiguration$ = PerformanceConfiguration$;
|
|
2864
|
+
exports.PromptRouterTrace$ = PromptRouterTrace$;
|
|
2865
|
+
exports.PromptVariableValues$ = PromptVariableValues$;
|
|
2866
|
+
exports.ReasoningContentBlock$ = ReasoningContentBlock$;
|
|
2867
|
+
exports.ReasoningContentBlockDelta$ = ReasoningContentBlockDelta$;
|
|
2868
|
+
exports.ReasoningTextBlock$ = ReasoningTextBlock$;
|
|
2869
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
2870
|
+
exports.ResourceNotFoundException$ = ResourceNotFoundException$;
|
|
2871
|
+
exports.ResponseStream$ = ResponseStream$;
|
|
2872
|
+
exports.S3Location$ = S3Location$;
|
|
2873
|
+
exports.SearchResultBlock$ = SearchResultBlock$;
|
|
2874
|
+
exports.SearchResultContentBlock$ = SearchResultContentBlock$;
|
|
2875
|
+
exports.SearchResultLocation$ = SearchResultLocation$;
|
|
2876
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
2877
|
+
exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;
|
|
2878
|
+
exports.ServiceTier$ = ServiceTier$;
|
|
643
2879
|
exports.ServiceTierType = ServiceTierType;
|
|
2880
|
+
exports.ServiceUnavailableException = ServiceUnavailableException;
|
|
2881
|
+
exports.ServiceUnavailableException$ = ServiceUnavailableException$;
|
|
644
2882
|
exports.SortAsyncInvocationBy = SortAsyncInvocationBy;
|
|
645
2883
|
exports.SortOrder = SortOrder;
|
|
2884
|
+
exports.SpecificToolChoice$ = SpecificToolChoice$;
|
|
2885
|
+
exports.StartAsyncInvoke$ = StartAsyncInvoke$;
|
|
646
2886
|
exports.StartAsyncInvokeCommand = StartAsyncInvokeCommand;
|
|
2887
|
+
exports.StartAsyncInvokeRequest$ = StartAsyncInvokeRequest$;
|
|
2888
|
+
exports.StartAsyncInvokeResponse$ = StartAsyncInvokeResponse$;
|
|
647
2889
|
exports.StopReason = StopReason;
|
|
2890
|
+
exports.SystemContentBlock$ = SystemContentBlock$;
|
|
2891
|
+
exports.SystemTool$ = SystemTool$;
|
|
2892
|
+
exports.Tag$ = Tag$;
|
|
2893
|
+
exports.ThrottlingException = ThrottlingException;
|
|
2894
|
+
exports.ThrottlingException$ = ThrottlingException$;
|
|
2895
|
+
exports.TokenUsage$ = TokenUsage$;
|
|
2896
|
+
exports.Tool$ = Tool$;
|
|
2897
|
+
exports.ToolChoice$ = ToolChoice$;
|
|
2898
|
+
exports.ToolConfiguration$ = ToolConfiguration$;
|
|
2899
|
+
exports.ToolInputSchema$ = ToolInputSchema$;
|
|
2900
|
+
exports.ToolResultBlock$ = ToolResultBlock$;
|
|
2901
|
+
exports.ToolResultBlockDelta$ = ToolResultBlockDelta$;
|
|
2902
|
+
exports.ToolResultBlockStart$ = ToolResultBlockStart$;
|
|
2903
|
+
exports.ToolResultContentBlock$ = ToolResultContentBlock$;
|
|
648
2904
|
exports.ToolResultStatus = ToolResultStatus;
|
|
2905
|
+
exports.ToolSpecification$ = ToolSpecification$;
|
|
2906
|
+
exports.ToolUseBlock$ = ToolUseBlock$;
|
|
2907
|
+
exports.ToolUseBlockDelta$ = ToolUseBlockDelta$;
|
|
2908
|
+
exports.ToolUseBlockStart$ = ToolUseBlockStart$;
|
|
649
2909
|
exports.ToolUseType = ToolUseType;
|
|
650
2910
|
exports.Trace = Trace;
|
|
2911
|
+
exports.ValidationException = ValidationException;
|
|
2912
|
+
exports.ValidationException$ = ValidationException$;
|
|
2913
|
+
exports.VideoBlock$ = VideoBlock$;
|
|
651
2914
|
exports.VideoFormat = VideoFormat;
|
|
2915
|
+
exports.VideoSource$ = VideoSource$;
|
|
2916
|
+
exports.WebLocation$ = WebLocation$;
|
|
2917
|
+
exports.errorTypeRegistries = errorTypeRegistries;
|
|
652
2918
|
exports.paginateListAsyncInvokes = paginateListAsyncInvokes;
|