@aws-sdk/client-bedrock-runtime 3.928.0 → 3.930.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.
Files changed (34) hide show
  1. package/dist-cjs/index.js +1760 -2549
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/BedrockRuntimeClient.js +2 -0
  4. package/dist-es/commands/ApplyGuardrailCommand.js +3 -10
  5. package/dist-es/commands/ConverseCommand.js +3 -10
  6. package/dist-es/commands/ConverseStreamCommand.js +3 -10
  7. package/dist-es/commands/CountTokensCommand.js +3 -10
  8. package/dist-es/commands/GetAsyncInvokeCommand.js +3 -10
  9. package/dist-es/commands/InvokeModelCommand.js +3 -10
  10. package/dist-es/commands/InvokeModelWithBidirectionalStreamCommand.js +2 -7
  11. package/dist-es/commands/InvokeModelWithResponseStreamCommand.js +3 -10
  12. package/dist-es/commands/ListAsyncInvokesCommand.js +3 -10
  13. package/dist-es/commands/StartAsyncInvokeCommand.js +3 -10
  14. package/dist-es/models/models_0.js +0 -810
  15. package/dist-es/runtimeConfig.shared.js +2 -0
  16. package/dist-es/schemas/schemas_0.js +1720 -0
  17. package/dist-types/BedrockRuntimeClient.d.ts +10 -1
  18. package/dist-types/models/models_0.d.ts +124 -271
  19. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  20. package/dist-types/runtimeConfig.d.ts +1 -0
  21. package/dist-types/runtimeConfig.native.d.ts +1 -0
  22. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  23. package/dist-types/schemas/schemas_0.d.ts +211 -0
  24. package/dist-types/ts3.4/BedrockRuntimeClient.d.ts +4 -0
  25. package/dist-types/ts3.4/models/models_0.d.ts +0 -223
  26. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  27. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  28. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  29. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  30. package/dist-types/ts3.4/schemas/schemas_0.d.ts +218 -0
  31. package/package.json +41 -42
  32. package/dist-es/protocols/Aws_restJson1.js +0 -1589
  33. package/dist-types/protocols/Aws_restJson1.d.ts +0 -92
  34. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -128
@@ -1,92 +0,0 @@
1
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
2
- import { EventStreamSerdeContext as __EventStreamSerdeContext, SerdeContext as __SerdeContext } from "@smithy/types";
3
- import { ApplyGuardrailCommandInput, ApplyGuardrailCommandOutput } from "../commands/ApplyGuardrailCommand";
4
- import { ConverseCommandInput, ConverseCommandOutput } from "../commands/ConverseCommand";
5
- import { ConverseStreamCommandInput, ConverseStreamCommandOutput } from "../commands/ConverseStreamCommand";
6
- import { CountTokensCommandInput, CountTokensCommandOutput } from "../commands/CountTokensCommand";
7
- import { GetAsyncInvokeCommandInput, GetAsyncInvokeCommandOutput } from "../commands/GetAsyncInvokeCommand";
8
- import { InvokeModelCommandInput, InvokeModelCommandOutput } from "../commands/InvokeModelCommand";
9
- import { InvokeModelWithBidirectionalStreamCommandInput, InvokeModelWithBidirectionalStreamCommandOutput } from "../commands/InvokeModelWithBidirectionalStreamCommand";
10
- import { InvokeModelWithResponseStreamCommandInput, InvokeModelWithResponseStreamCommandOutput } from "../commands/InvokeModelWithResponseStreamCommand";
11
- import { ListAsyncInvokesCommandInput, ListAsyncInvokesCommandOutput } from "../commands/ListAsyncInvokesCommand";
12
- import { StartAsyncInvokeCommandInput, StartAsyncInvokeCommandOutput } from "../commands/StartAsyncInvokeCommand";
13
- /**
14
- * serializeAws_restJson1ApplyGuardrailCommand
15
- */
16
- export declare const se_ApplyGuardrailCommand: (input: ApplyGuardrailCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
17
- /**
18
- * serializeAws_restJson1ConverseCommand
19
- */
20
- export declare const se_ConverseCommand: (input: ConverseCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
21
- /**
22
- * serializeAws_restJson1ConverseStreamCommand
23
- */
24
- export declare const se_ConverseStreamCommand: (input: ConverseStreamCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
25
- /**
26
- * serializeAws_restJson1CountTokensCommand
27
- */
28
- export declare const se_CountTokensCommand: (input: CountTokensCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
29
- /**
30
- * serializeAws_restJson1GetAsyncInvokeCommand
31
- */
32
- export declare const se_GetAsyncInvokeCommand: (input: GetAsyncInvokeCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
33
- /**
34
- * serializeAws_restJson1InvokeModelCommand
35
- */
36
- export declare const se_InvokeModelCommand: (input: InvokeModelCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
37
- /**
38
- * serializeAws_restJson1InvokeModelWithBidirectionalStreamCommand
39
- */
40
- export declare const se_InvokeModelWithBidirectionalStreamCommand: (input: InvokeModelWithBidirectionalStreamCommandInput, context: __SerdeContext & __EventStreamSerdeContext) => Promise<__HttpRequest>;
41
- /**
42
- * serializeAws_restJson1InvokeModelWithResponseStreamCommand
43
- */
44
- export declare const se_InvokeModelWithResponseStreamCommand: (input: InvokeModelWithResponseStreamCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
45
- /**
46
- * serializeAws_restJson1ListAsyncInvokesCommand
47
- */
48
- export declare const se_ListAsyncInvokesCommand: (input: ListAsyncInvokesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
49
- /**
50
- * serializeAws_restJson1StartAsyncInvokeCommand
51
- */
52
- export declare const se_StartAsyncInvokeCommand: (input: StartAsyncInvokeCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
53
- /**
54
- * deserializeAws_restJson1ApplyGuardrailCommand
55
- */
56
- export declare const de_ApplyGuardrailCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ApplyGuardrailCommandOutput>;
57
- /**
58
- * deserializeAws_restJson1ConverseCommand
59
- */
60
- export declare const de_ConverseCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ConverseCommandOutput>;
61
- /**
62
- * deserializeAws_restJson1ConverseStreamCommand
63
- */
64
- export declare const de_ConverseStreamCommand: (output: __HttpResponse, context: __SerdeContext & __EventStreamSerdeContext) => Promise<ConverseStreamCommandOutput>;
65
- /**
66
- * deserializeAws_restJson1CountTokensCommand
67
- */
68
- export declare const de_CountTokensCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CountTokensCommandOutput>;
69
- /**
70
- * deserializeAws_restJson1GetAsyncInvokeCommand
71
- */
72
- export declare const de_GetAsyncInvokeCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetAsyncInvokeCommandOutput>;
73
- /**
74
- * deserializeAws_restJson1InvokeModelCommand
75
- */
76
- export declare const de_InvokeModelCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<InvokeModelCommandOutput>;
77
- /**
78
- * deserializeAws_restJson1InvokeModelWithBidirectionalStreamCommand
79
- */
80
- export declare const de_InvokeModelWithBidirectionalStreamCommand: (output: __HttpResponse, context: __SerdeContext & __EventStreamSerdeContext) => Promise<InvokeModelWithBidirectionalStreamCommandOutput>;
81
- /**
82
- * deserializeAws_restJson1InvokeModelWithResponseStreamCommand
83
- */
84
- export declare const de_InvokeModelWithResponseStreamCommand: (output: __HttpResponse, context: __SerdeContext & __EventStreamSerdeContext) => Promise<InvokeModelWithResponseStreamCommandOutput>;
85
- /**
86
- * deserializeAws_restJson1ListAsyncInvokesCommand
87
- */
88
- export declare const de_ListAsyncInvokesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListAsyncInvokesCommandOutput>;
89
- /**
90
- * deserializeAws_restJson1StartAsyncInvokeCommand
91
- */
92
- export declare const de_StartAsyncInvokeCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StartAsyncInvokeCommandOutput>;
@@ -1,128 +0,0 @@
1
- import {
2
- HttpRequest as __HttpRequest,
3
- HttpResponse as __HttpResponse,
4
- } from "@smithy/protocol-http";
5
- import {
6
- EventStreamSerdeContext as __EventStreamSerdeContext,
7
- SerdeContext as __SerdeContext,
8
- } from "@smithy/types";
9
- import {
10
- ApplyGuardrailCommandInput,
11
- ApplyGuardrailCommandOutput,
12
- } from "../commands/ApplyGuardrailCommand";
13
- import {
14
- ConverseCommandInput,
15
- ConverseCommandOutput,
16
- } from "../commands/ConverseCommand";
17
- import {
18
- ConverseStreamCommandInput,
19
- ConverseStreamCommandOutput,
20
- } from "../commands/ConverseStreamCommand";
21
- import {
22
- CountTokensCommandInput,
23
- CountTokensCommandOutput,
24
- } from "../commands/CountTokensCommand";
25
- import {
26
- GetAsyncInvokeCommandInput,
27
- GetAsyncInvokeCommandOutput,
28
- } from "../commands/GetAsyncInvokeCommand";
29
- import {
30
- InvokeModelCommandInput,
31
- InvokeModelCommandOutput,
32
- } from "../commands/InvokeModelCommand";
33
- import {
34
- InvokeModelWithBidirectionalStreamCommandInput,
35
- InvokeModelWithBidirectionalStreamCommandOutput,
36
- } from "../commands/InvokeModelWithBidirectionalStreamCommand";
37
- import {
38
- InvokeModelWithResponseStreamCommandInput,
39
- InvokeModelWithResponseStreamCommandOutput,
40
- } from "../commands/InvokeModelWithResponseStreamCommand";
41
- import {
42
- ListAsyncInvokesCommandInput,
43
- ListAsyncInvokesCommandOutput,
44
- } from "../commands/ListAsyncInvokesCommand";
45
- import {
46
- StartAsyncInvokeCommandInput,
47
- StartAsyncInvokeCommandOutput,
48
- } from "../commands/StartAsyncInvokeCommand";
49
- export declare const se_ApplyGuardrailCommand: (
50
- input: ApplyGuardrailCommandInput,
51
- context: __SerdeContext
52
- ) => Promise<__HttpRequest>;
53
- export declare const se_ConverseCommand: (
54
- input: ConverseCommandInput,
55
- context: __SerdeContext
56
- ) => Promise<__HttpRequest>;
57
- export declare const se_ConverseStreamCommand: (
58
- input: ConverseStreamCommandInput,
59
- context: __SerdeContext
60
- ) => Promise<__HttpRequest>;
61
- export declare const se_CountTokensCommand: (
62
- input: CountTokensCommandInput,
63
- context: __SerdeContext
64
- ) => Promise<__HttpRequest>;
65
- export declare const se_GetAsyncInvokeCommand: (
66
- input: GetAsyncInvokeCommandInput,
67
- context: __SerdeContext
68
- ) => Promise<__HttpRequest>;
69
- export declare const se_InvokeModelCommand: (
70
- input: InvokeModelCommandInput,
71
- context: __SerdeContext
72
- ) => Promise<__HttpRequest>;
73
- export declare const se_InvokeModelWithBidirectionalStreamCommand: (
74
- input: InvokeModelWithBidirectionalStreamCommandInput,
75
- context: __SerdeContext & __EventStreamSerdeContext
76
- ) => Promise<__HttpRequest>;
77
- export declare const se_InvokeModelWithResponseStreamCommand: (
78
- input: InvokeModelWithResponseStreamCommandInput,
79
- context: __SerdeContext
80
- ) => Promise<__HttpRequest>;
81
- export declare const se_ListAsyncInvokesCommand: (
82
- input: ListAsyncInvokesCommandInput,
83
- context: __SerdeContext
84
- ) => Promise<__HttpRequest>;
85
- export declare const se_StartAsyncInvokeCommand: (
86
- input: StartAsyncInvokeCommandInput,
87
- context: __SerdeContext
88
- ) => Promise<__HttpRequest>;
89
- export declare const de_ApplyGuardrailCommand: (
90
- output: __HttpResponse,
91
- context: __SerdeContext
92
- ) => Promise<ApplyGuardrailCommandOutput>;
93
- export declare const de_ConverseCommand: (
94
- output: __HttpResponse,
95
- context: __SerdeContext
96
- ) => Promise<ConverseCommandOutput>;
97
- export declare const de_ConverseStreamCommand: (
98
- output: __HttpResponse,
99
- context: __SerdeContext & __EventStreamSerdeContext
100
- ) => Promise<ConverseStreamCommandOutput>;
101
- export declare const de_CountTokensCommand: (
102
- output: __HttpResponse,
103
- context: __SerdeContext
104
- ) => Promise<CountTokensCommandOutput>;
105
- export declare const de_GetAsyncInvokeCommand: (
106
- output: __HttpResponse,
107
- context: __SerdeContext
108
- ) => Promise<GetAsyncInvokeCommandOutput>;
109
- export declare const de_InvokeModelCommand: (
110
- output: __HttpResponse,
111
- context: __SerdeContext
112
- ) => Promise<InvokeModelCommandOutput>;
113
- export declare const de_InvokeModelWithBidirectionalStreamCommand: (
114
- output: __HttpResponse,
115
- context: __SerdeContext & __EventStreamSerdeContext
116
- ) => Promise<InvokeModelWithBidirectionalStreamCommandOutput>;
117
- export declare const de_InvokeModelWithResponseStreamCommand: (
118
- output: __HttpResponse,
119
- context: __SerdeContext & __EventStreamSerdeContext
120
- ) => Promise<InvokeModelWithResponseStreamCommandOutput>;
121
- export declare const de_ListAsyncInvokesCommand: (
122
- output: __HttpResponse,
123
- context: __SerdeContext
124
- ) => Promise<ListAsyncInvokesCommandOutput>;
125
- export declare const de_StartAsyncInvokeCommand: (
126
- output: __HttpResponse,
127
- context: __SerdeContext
128
- ) => Promise<StartAsyncInvokeCommandOutput>;