@aws-sdk/client-bedrock 3.751.0 → 3.763.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -0
- package/dist-cjs/index.js +103 -1
- package/dist-es/Bedrock.js +4 -0
- package/dist-es/commands/CreatePromptRouterCommand.js +23 -0
- package/dist-es/commands/DeletePromptRouterCommand.js +22 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +58 -0
- package/dist-types/Bedrock.d.ts +14 -0
- package/dist-types/BedrockClient.d.ts +4 -2
- package/dist-types/commands/CreatePromptRouterCommand.d.ts +115 -0
- package/dist-types/commands/DeletePromptRouterCommand.d.ts +84 -0
- package/dist-types/commands/GetPromptRouterCommand.d.ts +2 -2
- package/dist-types/commands/ListPromptRoutersCommand.d.ts +3 -2
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +86 -11
- package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
- package/dist-types/ts3.4/Bedrock.d.ts +34 -0
- package/dist-types/ts3.4/BedrockClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/CreatePromptRouterCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeletePromptRouterCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +24 -4
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
- package/package.json +12 -12
|
@@ -43,6 +43,10 @@ import {
|
|
|
43
43
|
CreateModelInvocationJobCommandInput,
|
|
44
44
|
CreateModelInvocationJobCommandOutput,
|
|
45
45
|
} from "../commands/CreateModelInvocationJobCommand";
|
|
46
|
+
import {
|
|
47
|
+
CreatePromptRouterCommandInput,
|
|
48
|
+
CreatePromptRouterCommandOutput,
|
|
49
|
+
} from "../commands/CreatePromptRouterCommand";
|
|
46
50
|
import {
|
|
47
51
|
CreateProvisionedModelThroughputCommandInput,
|
|
48
52
|
CreateProvisionedModelThroughputCommandOutput,
|
|
@@ -71,6 +75,10 @@ import {
|
|
|
71
75
|
DeleteModelInvocationLoggingConfigurationCommandInput,
|
|
72
76
|
DeleteModelInvocationLoggingConfigurationCommandOutput,
|
|
73
77
|
} from "../commands/DeleteModelInvocationLoggingConfigurationCommand";
|
|
78
|
+
import {
|
|
79
|
+
DeletePromptRouterCommandInput,
|
|
80
|
+
DeletePromptRouterCommandOutput,
|
|
81
|
+
} from "../commands/DeletePromptRouterCommand";
|
|
74
82
|
import {
|
|
75
83
|
DeleteProvisionedModelThroughputCommandInput,
|
|
76
84
|
DeleteProvisionedModelThroughputCommandOutput,
|
|
@@ -271,6 +279,10 @@ export declare const se_CreateModelInvocationJobCommand: (
|
|
|
271
279
|
input: CreateModelInvocationJobCommandInput,
|
|
272
280
|
context: __SerdeContext
|
|
273
281
|
) => Promise<__HttpRequest>;
|
|
282
|
+
export declare const se_CreatePromptRouterCommand: (
|
|
283
|
+
input: CreatePromptRouterCommandInput,
|
|
284
|
+
context: __SerdeContext
|
|
285
|
+
) => Promise<__HttpRequest>;
|
|
274
286
|
export declare const se_CreateProvisionedModelThroughputCommand: (
|
|
275
287
|
input: CreateProvisionedModelThroughputCommandInput,
|
|
276
288
|
context: __SerdeContext
|
|
@@ -299,6 +311,10 @@ export declare const se_DeleteModelInvocationLoggingConfigurationCommand: (
|
|
|
299
311
|
input: DeleteModelInvocationLoggingConfigurationCommandInput,
|
|
300
312
|
context: __SerdeContext
|
|
301
313
|
) => Promise<__HttpRequest>;
|
|
314
|
+
export declare const se_DeletePromptRouterCommand: (
|
|
315
|
+
input: DeletePromptRouterCommandInput,
|
|
316
|
+
context: __SerdeContext
|
|
317
|
+
) => Promise<__HttpRequest>;
|
|
302
318
|
export declare const se_DeleteProvisionedModelThroughputCommand: (
|
|
303
319
|
input: DeleteProvisionedModelThroughputCommandInput,
|
|
304
320
|
context: __SerdeContext
|
|
@@ -499,6 +515,10 @@ export declare const de_CreateModelInvocationJobCommand: (
|
|
|
499
515
|
output: __HttpResponse,
|
|
500
516
|
context: __SerdeContext
|
|
501
517
|
) => Promise<CreateModelInvocationJobCommandOutput>;
|
|
518
|
+
export declare const de_CreatePromptRouterCommand: (
|
|
519
|
+
output: __HttpResponse,
|
|
520
|
+
context: __SerdeContext
|
|
521
|
+
) => Promise<CreatePromptRouterCommandOutput>;
|
|
502
522
|
export declare const de_CreateProvisionedModelThroughputCommand: (
|
|
503
523
|
output: __HttpResponse,
|
|
504
524
|
context: __SerdeContext
|
|
@@ -527,6 +547,10 @@ export declare const de_DeleteModelInvocationLoggingConfigurationCommand: (
|
|
|
527
547
|
output: __HttpResponse,
|
|
528
548
|
context: __SerdeContext
|
|
529
549
|
) => Promise<DeleteModelInvocationLoggingConfigurationCommandOutput>;
|
|
550
|
+
export declare const de_DeletePromptRouterCommand: (
|
|
551
|
+
output: __HttpResponse,
|
|
552
|
+
context: __SerdeContext
|
|
553
|
+
) => Promise<DeletePromptRouterCommandOutput>;
|
|
530
554
|
export declare const de_DeleteProvisionedModelThroughputCommand: (
|
|
531
555
|
output: __HttpResponse,
|
|
532
556
|
context: __SerdeContext
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-bedrock",
|
|
3
3
|
"description": "AWS SDK for JavaScript Bedrock Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.763.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-bedrock",
|
|
@@ -20,38 +20,38 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.758.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.758.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.734.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.734.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.734.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.758.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.734.0",
|
|
30
30
|
"@aws-sdk/types": "3.734.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.743.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.734.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.758.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.0.1",
|
|
35
|
-
"@smithy/core": "^3.1.
|
|
35
|
+
"@smithy/core": "^3.1.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.0.1",
|
|
37
37
|
"@smithy/hash-node": "^4.0.1",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.0.1",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.0.1",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.0.
|
|
41
|
-
"@smithy/middleware-retry": "^4.0.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.0.6",
|
|
41
|
+
"@smithy/middleware-retry": "^4.0.7",
|
|
42
42
|
"@smithy/middleware-serde": "^4.0.2",
|
|
43
43
|
"@smithy/middleware-stack": "^4.0.1",
|
|
44
44
|
"@smithy/node-config-provider": "^4.0.1",
|
|
45
|
-
"@smithy/node-http-handler": "^4.0.
|
|
45
|
+
"@smithy/node-http-handler": "^4.0.3",
|
|
46
46
|
"@smithy/protocol-http": "^5.0.1",
|
|
47
|
-
"@smithy/smithy-client": "^4.1.
|
|
47
|
+
"@smithy/smithy-client": "^4.1.6",
|
|
48
48
|
"@smithy/types": "^4.1.0",
|
|
49
49
|
"@smithy/url-parser": "^4.0.1",
|
|
50
50
|
"@smithy/util-base64": "^4.0.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.0.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.0.0",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.0.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.0.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.0.7",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.0.7",
|
|
55
55
|
"@smithy/util-endpoints": "^3.0.1",
|
|
56
56
|
"@smithy/util-middleware": "^4.0.1",
|
|
57
57
|
"@smithy/util-retry": "^4.0.1",
|