@aws-sdk/client-bedrock-runtime 3.1077.0 → 3.1078.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 +25 -132
- package/dist-es/commandBuilder.js +14 -0
- package/dist-es/commands/ApplyGuardrailCommand.js +2 -14
- package/dist-es/commands/ConverseCommand.js +2 -14
- package/dist-es/commands/ConverseStreamCommand.js +2 -18
- package/dist-es/commands/CountTokensCommand.js +2 -14
- package/dist-es/commands/GetAsyncInvokeCommand.js +2 -14
- package/dist-es/commands/InvokeGuardrailChecksCommand.js +2 -14
- package/dist-es/commands/InvokeModelCommand.js +2 -14
- package/dist-es/commands/InvokeModelWithBidirectionalStreamCommand.js +2 -27
- package/dist-es/commands/InvokeModelWithResponseStreamCommand.js +2 -18
- package/dist-es/commands/ListAsyncInvokesCommand.js +2 -14
- package/dist-es/commands/StartAsyncInvokeCommand.js +2 -14
- package/dist-es/index.js +1 -0
- package/dist-types/commandBuilder.d.ts +22 -0
- package/dist-types/commands/ApplyGuardrailCommand.d.ts +3 -8
- package/dist-types/commands/ConverseCommand.d.ts +3 -8
- package/dist-types/commands/ConverseStreamCommand.d.ts +3 -8
- package/dist-types/commands/CountTokensCommand.d.ts +3 -8
- package/dist-types/commands/GetAsyncInvokeCommand.d.ts +3 -8
- package/dist-types/commands/InvokeGuardrailChecksCommand.d.ts +3 -8
- package/dist-types/commands/InvokeModelCommand.d.ts +3 -8
- package/dist-types/commands/InvokeModelWithBidirectionalStreamCommand.d.ts +3 -8
- package/dist-types/commands/InvokeModelWithResponseStreamCommand.d.ts +3 -8
- package/dist-types/commands/ListAsyncInvokesCommand.d.ts +3 -8
- package/dist-types/commands/StartAsyncInvokeCommand.d.ts +3 -8
- package/dist-types/index.d.ts +1 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +52 -0
- package/dist-types/ts3.4/commands/ApplyGuardrailCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ConverseCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ConverseStreamCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CountTokensCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetAsyncInvokeCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/InvokeGuardrailChecksCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/InvokeModelCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/InvokeModelWithBidirectionalStreamCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/InvokeModelWithResponseStreamCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListAsyncInvokesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/StartAsyncInvokeCommand.d.ts +7 -16
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/package.json +13 -13
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { BedrockRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockRuntimeClient";
|
|
4
2
|
import type { GetAsyncInvokeRequest, GetAsyncInvokeResponse } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface GetAsyncInvokeCommandInput extends GetAsyncInvokeRequest {
|
|
|
22
19
|
export interface GetAsyncInvokeCommandOutput extends GetAsyncInvokeResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const GetAsyncInvokeCommand_base: {
|
|
25
|
-
new (input: GetAsyncInvokeCommandInput): import("@smithy/core/client").CommandImpl<GetAsyncInvokeCommandInput, GetAsyncInvokeCommandOutput, BedrockRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: GetAsyncInvokeCommandInput): import("@smithy/core/client").CommandImpl<GetAsyncInvokeCommandInput, GetAsyncInvokeCommandOutput, BedrockRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: GetAsyncInvokeCommandInput): import("@smithy/core/client").CommandImpl<GetAsyncInvokeCommandInput, GetAsyncInvokeCommandOutput, import("..").BedrockRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: GetAsyncInvokeCommandInput): import("@smithy/core/client").CommandImpl<GetAsyncInvokeCommandInput, GetAsyncInvokeCommandOutput, import("..").BedrockRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Retrieve information about an asynchronous invocation.</p>
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { BedrockRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockRuntimeClient";
|
|
4
2
|
import type { InvokeGuardrailChecksRequest, InvokeGuardrailChecksResponse } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface InvokeGuardrailChecksCommandInput extends InvokeGuardrailChecks
|
|
|
22
19
|
export interface InvokeGuardrailChecksCommandOutput extends InvokeGuardrailChecksResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const InvokeGuardrailChecksCommand_base: {
|
|
25
|
-
new (input: InvokeGuardrailChecksCommandInput): import("@smithy/core/client").CommandImpl<InvokeGuardrailChecksCommandInput, InvokeGuardrailChecksCommandOutput, BedrockRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: InvokeGuardrailChecksCommandInput): import("@smithy/core/client").CommandImpl<InvokeGuardrailChecksCommandInput, InvokeGuardrailChecksCommandOutput, BedrockRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: InvokeGuardrailChecksCommandInput): import("@smithy/core/client").CommandImpl<InvokeGuardrailChecksCommandInput, InvokeGuardrailChecksCommandOutput, import("..").BedrockRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: InvokeGuardrailChecksCommandInput): import("@smithy/core/client").CommandImpl<InvokeGuardrailChecksCommandInput, InvokeGuardrailChecksCommandOutput, import("..").BedrockRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Evaluates messages against inline guardrail checks. You specify the check configurations directly in the request, and Amazon Bedrock returns per-check results with severity or confidence scores.</p>
|
|
@@ -1,13 +1,10 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import { Uint8ArrayBlobAdapter } from "@smithy/core/serde";
|
|
3
2
|
import type { BlobPayloadInputTypes, MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
|
-
import type { BedrockRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockRuntimeClient";
|
|
5
3
|
import type { InvokeModelRequest, InvokeModelResponse } from "../models/models_0";
|
|
6
4
|
/**
|
|
7
5
|
* @public
|
|
8
6
|
*/
|
|
9
7
|
export type { __MetadataBearer };
|
|
10
|
-
export { $Command };
|
|
11
8
|
/**
|
|
12
9
|
* @public
|
|
13
10
|
*/
|
|
@@ -35,11 +32,9 @@ export type InvokeModelCommandOutputType = Omit<InvokeModelResponse, "body"> & {
|
|
|
35
32
|
export interface InvokeModelCommandOutput extends InvokeModelCommandOutputType, __MetadataBearer {
|
|
36
33
|
}
|
|
37
34
|
declare const InvokeModelCommand_base: {
|
|
38
|
-
new (input: InvokeModelCommandInput): import("@smithy/core/client").CommandImpl<InvokeModelCommandInput, InvokeModelCommandOutput, BedrockRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
39
|
-
new (input: InvokeModelCommandInput): import("@smithy/core/client").CommandImpl<InvokeModelCommandInput, InvokeModelCommandOutput, BedrockRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
40
|
-
getEndpointParameterInstructions():
|
|
41
|
-
[x: string]: unknown;
|
|
42
|
-
};
|
|
35
|
+
new (input: InvokeModelCommandInput): import("@smithy/core/client").CommandImpl<InvokeModelCommandInput, InvokeModelCommandOutput, import("..").BedrockRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
36
|
+
new (input: InvokeModelCommandInput): import("@smithy/core/client").CommandImpl<InvokeModelCommandInput, InvokeModelCommandOutput, import("..").BedrockRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
37
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
43
38
|
};
|
|
44
39
|
/**
|
|
45
40
|
* <p>Invokes the specified Amazon Bedrock model to run inference using the prompt and inference parameters provided in the request body. You use model inference to generate text, images, and embeddings.</p> <p>For example code, see <i>Invoke model code examples</i> in the <i>Amazon Bedrock User Guide</i>. </p> <p>This operation requires permission for the <code>bedrock:InvokeModel</code> action.</p> <important> <p>To deny all inference access to resources that you specify in the modelId field, you need to deny access to the <code>bedrock:InvokeModel</code> and <code>bedrock:InvokeModelWithResponseStream</code> actions. Doing this also denies access to the resource through the Converse API actions (<a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_Converse.html">Converse</a> and <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_ConverseStream.html">ConverseStream</a>). For more information see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/security_iam_id-based-policy-examples.html#security_iam_id-based-policy-examples-deny-inference">Deny access for inference on specific models</a>. </p> </important> <p>For troubleshooting some of the common errors you might encounter when using the <code>InvokeModel</code> API, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/troubleshooting-api-error-codes.html">Troubleshooting Amazon Bedrock API Error Codes</a> in the Amazon Bedrock User Guide</p>
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { BedrockRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockRuntimeClient";
|
|
4
2
|
import type { InvokeModelWithBidirectionalStreamRequest, InvokeModelWithBidirectionalStreamResponse } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface InvokeModelWithBidirectionalStreamCommandInput extends InvokeMo
|
|
|
22
19
|
export interface InvokeModelWithBidirectionalStreamCommandOutput extends InvokeModelWithBidirectionalStreamResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const InvokeModelWithBidirectionalStreamCommand_base: {
|
|
25
|
-
new (input: InvokeModelWithBidirectionalStreamCommandInput): import("@smithy/core/client").CommandImpl<InvokeModelWithBidirectionalStreamCommandInput, InvokeModelWithBidirectionalStreamCommandOutput, BedrockRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: InvokeModelWithBidirectionalStreamCommandInput): import("@smithy/core/client").CommandImpl<InvokeModelWithBidirectionalStreamCommandInput, InvokeModelWithBidirectionalStreamCommandOutput, BedrockRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: InvokeModelWithBidirectionalStreamCommandInput): import("@smithy/core/client").CommandImpl<InvokeModelWithBidirectionalStreamCommandInput, InvokeModelWithBidirectionalStreamCommandOutput, import("..").BedrockRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: InvokeModelWithBidirectionalStreamCommandInput): import("@smithy/core/client").CommandImpl<InvokeModelWithBidirectionalStreamCommandInput, InvokeModelWithBidirectionalStreamCommandOutput, import("..").BedrockRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Invoke the specified Amazon Bedrock model to run inference using the bidirectional stream. The response is returned in a stream that remains open for 8 minutes. A single session can contain multiple prompts and responses from the model. The prompts to the model are provided as audio files and the model's responses are spoken back to the user and transcribed.</p> <p>It is possible for users to interrupt the model's response with a new prompt, which will halt the response speech. The model will retain contextual awareness of the conversation while pivoting to respond to the new prompt.</p>
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { BlobPayloadInputTypes, MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { BedrockRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockRuntimeClient";
|
|
4
2
|
import type { InvokeModelWithResponseStreamRequest, InvokeModelWithResponseStreamResponse } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*/
|
|
@@ -28,11 +25,9 @@ export interface InvokeModelWithResponseStreamCommandInput extends InvokeModelWi
|
|
|
28
25
|
export interface InvokeModelWithResponseStreamCommandOutput extends InvokeModelWithResponseStreamResponse, __MetadataBearer {
|
|
29
26
|
}
|
|
30
27
|
declare const InvokeModelWithResponseStreamCommand_base: {
|
|
31
|
-
new (input: InvokeModelWithResponseStreamCommandInput): import("@smithy/core/client").CommandImpl<InvokeModelWithResponseStreamCommandInput, InvokeModelWithResponseStreamCommandOutput, BedrockRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
32
|
-
new (input: InvokeModelWithResponseStreamCommandInput): import("@smithy/core/client").CommandImpl<InvokeModelWithResponseStreamCommandInput, InvokeModelWithResponseStreamCommandOutput, BedrockRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
33
|
-
getEndpointParameterInstructions():
|
|
34
|
-
[x: string]: unknown;
|
|
35
|
-
};
|
|
28
|
+
new (input: InvokeModelWithResponseStreamCommandInput): import("@smithy/core/client").CommandImpl<InvokeModelWithResponseStreamCommandInput, InvokeModelWithResponseStreamCommandOutput, import("..").BedrockRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
29
|
+
new (input: InvokeModelWithResponseStreamCommandInput): import("@smithy/core/client").CommandImpl<InvokeModelWithResponseStreamCommandInput, InvokeModelWithResponseStreamCommandOutput, import("..").BedrockRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
30
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
36
31
|
};
|
|
37
32
|
/**
|
|
38
33
|
* <p>Invoke the specified Amazon Bedrock model to run inference using the prompt and inference parameters provided in the request body. The response is returned in a stream.</p> <p>To see if a model supports streaming, call <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_GetFoundationModel.html">GetFoundationModel</a> and check the <code>responseStreamingSupported</code> field in the response.</p> <note> <p>The CLI doesn't support streaming operations in Amazon Bedrock, including <code>InvokeModelWithResponseStream</code>.</p> </note> <p>For example code, see <i>Invoke model with streaming code example</i> in the <i>Amazon Bedrock User Guide</i>. </p> <p>This operation requires permissions to perform the <code>bedrock:InvokeModelWithResponseStream</code> action. </p> <important> <p>To deny all inference access to resources that you specify in the modelId field, you need to deny access to the <code>bedrock:InvokeModel</code> and <code>bedrock:InvokeModelWithResponseStream</code> actions. Doing this also denies access to the resource through the Converse API actions (<a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_Converse.html">Converse</a> and <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_ConverseStream.html">ConverseStream</a>). For more information see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/security_iam_id-based-policy-examples.html#security_iam_id-based-policy-examples-deny-inference">Deny access for inference on specific models</a>. </p> </important> <p>For troubleshooting some of the common errors you might encounter when using the <code>InvokeModelWithResponseStream</code> API, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/troubleshooting-api-error-codes.html">Troubleshooting Amazon Bedrock API Error Codes</a> in the Amazon Bedrock User Guide</p>
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { BedrockRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockRuntimeClient";
|
|
4
2
|
import type { ListAsyncInvokesRequest, ListAsyncInvokesResponse } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface ListAsyncInvokesCommandInput extends ListAsyncInvokesRequest {
|
|
|
22
19
|
export interface ListAsyncInvokesCommandOutput extends ListAsyncInvokesResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const ListAsyncInvokesCommand_base: {
|
|
25
|
-
new (input: ListAsyncInvokesCommandInput): import("@smithy/core/client").CommandImpl<ListAsyncInvokesCommandInput, ListAsyncInvokesCommandOutput, BedrockRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (...[input]: [] | [ListAsyncInvokesCommandInput]): import("@smithy/core/client").CommandImpl<ListAsyncInvokesCommandInput, ListAsyncInvokesCommandOutput, BedrockRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: ListAsyncInvokesCommandInput): import("@smithy/core/client").CommandImpl<ListAsyncInvokesCommandInput, ListAsyncInvokesCommandOutput, import("..").BedrockRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (...[input]: [] | [ListAsyncInvokesCommandInput]): import("@smithy/core/client").CommandImpl<ListAsyncInvokesCommandInput, ListAsyncInvokesCommandOutput, import("..").BedrockRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Lists asynchronous invocations.</p>
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { BedrockRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockRuntimeClient";
|
|
4
2
|
import type { StartAsyncInvokeRequest, StartAsyncInvokeResponse } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface StartAsyncInvokeCommandInput extends StartAsyncInvokeRequest {
|
|
|
22
19
|
export interface StartAsyncInvokeCommandOutput extends StartAsyncInvokeResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const StartAsyncInvokeCommand_base: {
|
|
25
|
-
new (input: StartAsyncInvokeCommandInput): import("@smithy/core/client").CommandImpl<StartAsyncInvokeCommandInput, StartAsyncInvokeCommandOutput, BedrockRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: StartAsyncInvokeCommandInput): import("@smithy/core/client").CommandImpl<StartAsyncInvokeCommandInput, StartAsyncInvokeCommandOutput, BedrockRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: StartAsyncInvokeCommandInput): import("@smithy/core/client").CommandImpl<StartAsyncInvokeCommandInput, StartAsyncInvokeCommandOutput, import("..").BedrockRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: StartAsyncInvokeCommandInput): import("@smithy/core/client").CommandImpl<StartAsyncInvokeCommandInput, StartAsyncInvokeCommandOutput, import("..").BedrockRuntimeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Starts an asynchronous invocation.</p> <p>This operation requires permission for the <code>bedrock:InvokeModel</code> action.</p> <important> <p>To deny all inference access to resources that you specify in the modelId field, you need to deny access to the <code>bedrock:InvokeModel</code> and <code>bedrock:InvokeModelWithResponseStream</code> actions. Doing this also denies access to the resource through the Converse API actions (<a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_Converse.html">Converse</a> and <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_ConverseStream.html">ConverseStream</a>). For more information see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/security_iam_id-based-policy-examples.html#security_iam_id-based-policy-examples-deny-inference">Deny access for inference on specific models</a>. </p> </important>
|
package/dist-types/index.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ export type { ClientInputEndpointParameters } from "./endpoint/EndpointParameter
|
|
|
9
9
|
export type { RuntimeExtension } from "./runtimeExtensions";
|
|
10
10
|
export type { BedrockRuntimeExtensionConfiguration } from "./extensionConfiguration";
|
|
11
11
|
export * from "./commands";
|
|
12
|
+
export { Command as $Command } from "@smithy/core/client";
|
|
12
13
|
export * from "./schemas/schemas_0";
|
|
13
14
|
export * from "./pagination";
|
|
14
15
|
export * from "./models/enums";
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
BedrockRuntimeClientResolvedConfig,
|
|
4
|
+
ServiceInputTypes,
|
|
5
|
+
ServiceOutputTypes,
|
|
6
|
+
} from "./BedrockRuntimeClient";
|
|
7
|
+
export declare const command: <
|
|
8
|
+
I extends ServiceInputTypes,
|
|
9
|
+
O extends ServiceOutputTypes
|
|
10
|
+
>(
|
|
11
|
+
added: EndpointParameterInstructions,
|
|
12
|
+
plugins: (
|
|
13
|
+
CommandCtor: any,
|
|
14
|
+
clientStack: any,
|
|
15
|
+
config: any,
|
|
16
|
+
options: any
|
|
17
|
+
) => import("@smithy/types").Pluggable<any, any>[],
|
|
18
|
+
op: string,
|
|
19
|
+
$: import("@smithy/types").StaticOperationSchema,
|
|
20
|
+
smithyContext?: Record<string, unknown>
|
|
21
|
+
) => {
|
|
22
|
+
new (input: I): import("@smithy/core/client").CommandImpl<
|
|
23
|
+
I,
|
|
24
|
+
O,
|
|
25
|
+
BedrockRuntimeClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
...[input]: import("@smithy/types").OptionalParameter<I>
|
|
31
|
+
): import("@smithy/core/client").CommandImpl<
|
|
32
|
+
I,
|
|
33
|
+
O,
|
|
34
|
+
BedrockRuntimeClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare const _ep0: EndpointParameterInstructions;
|
|
41
|
+
export declare const _mw0: (
|
|
42
|
+
Command: any,
|
|
43
|
+
cs: any,
|
|
44
|
+
config: any,
|
|
45
|
+
o: any
|
|
46
|
+
) => never[];
|
|
47
|
+
export declare const _mw1: (
|
|
48
|
+
Command: any,
|
|
49
|
+
cs: any,
|
|
50
|
+
config: any,
|
|
51
|
+
o: any
|
|
52
|
+
) => import("@smithy/types").Pluggable<any, any>[];
|
|
@@ -1,16 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import {
|
|
4
|
-
BedrockRuntimeClientResolvedConfig,
|
|
5
|
-
ServiceInputTypes,
|
|
6
|
-
ServiceOutputTypes,
|
|
7
|
-
} from "../BedrockRuntimeClient";
|
|
8
2
|
import {
|
|
9
3
|
ApplyGuardrailRequest,
|
|
10
4
|
ApplyGuardrailResponse,
|
|
11
5
|
} from "../models/models_0";
|
|
12
6
|
export { __MetadataBearer };
|
|
13
|
-
export { $Command };
|
|
14
7
|
export interface ApplyGuardrailCommandInput extends ApplyGuardrailRequest {}
|
|
15
8
|
export interface ApplyGuardrailCommandOutput
|
|
16
9
|
extends ApplyGuardrailResponse,
|
|
@@ -21,22 +14,20 @@ declare const ApplyGuardrailCommand_base: {
|
|
|
21
14
|
): import("@smithy/core/client").CommandImpl<
|
|
22
15
|
ApplyGuardrailCommandInput,
|
|
23
16
|
ApplyGuardrailCommandOutput,
|
|
24
|
-
BedrockRuntimeClientResolvedConfig,
|
|
25
|
-
ServiceInputTypes,
|
|
26
|
-
ServiceOutputTypes
|
|
17
|
+
import("..").BedrockRuntimeClientResolvedConfig,
|
|
18
|
+
import("..").ServiceInputTypes,
|
|
19
|
+
import("..").ServiceOutputTypes
|
|
27
20
|
>;
|
|
28
21
|
new (
|
|
29
22
|
input: ApplyGuardrailCommandInput
|
|
30
23
|
): import("@smithy/core/client").CommandImpl<
|
|
31
24
|
ApplyGuardrailCommandInput,
|
|
32
25
|
ApplyGuardrailCommandOutput,
|
|
33
|
-
BedrockRuntimeClientResolvedConfig,
|
|
34
|
-
ServiceInputTypes,
|
|
35
|
-
ServiceOutputTypes
|
|
26
|
+
import("..").BedrockRuntimeClientResolvedConfig,
|
|
27
|
+
import("..").ServiceInputTypes,
|
|
28
|
+
import("..").ServiceOutputTypes
|
|
36
29
|
>;
|
|
37
|
-
getEndpointParameterInstructions():
|
|
38
|
-
[x: string]: unknown;
|
|
39
|
-
};
|
|
30
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
40
31
|
};
|
|
41
32
|
export declare class ApplyGuardrailCommand extends ApplyGuardrailCommand_base {
|
|
42
33
|
protected static __types: {
|
|
@@ -1,13 +1,6 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import {
|
|
4
|
-
BedrockRuntimeClientResolvedConfig,
|
|
5
|
-
ServiceInputTypes,
|
|
6
|
-
ServiceOutputTypes,
|
|
7
|
-
} from "../BedrockRuntimeClient";
|
|
8
2
|
import { ConverseRequest, ConverseResponse } from "../models/models_0";
|
|
9
3
|
export { __MetadataBearer };
|
|
10
|
-
export { $Command };
|
|
11
4
|
export interface ConverseCommandInput extends ConverseRequest {}
|
|
12
5
|
export interface ConverseCommandOutput
|
|
13
6
|
extends ConverseResponse,
|
|
@@ -16,20 +9,18 @@ declare const ConverseCommand_base: {
|
|
|
16
9
|
new (input: ConverseCommandInput): import("@smithy/core/client").CommandImpl<
|
|
17
10
|
ConverseCommandInput,
|
|
18
11
|
ConverseCommandOutput,
|
|
19
|
-
BedrockRuntimeClientResolvedConfig,
|
|
20
|
-
ServiceInputTypes,
|
|
21
|
-
ServiceOutputTypes
|
|
12
|
+
import("..").BedrockRuntimeClientResolvedConfig,
|
|
13
|
+
import("..").ServiceInputTypes,
|
|
14
|
+
import("..").ServiceOutputTypes
|
|
22
15
|
>;
|
|
23
16
|
new (input: ConverseCommandInput): import("@smithy/core/client").CommandImpl<
|
|
24
17
|
ConverseCommandInput,
|
|
25
18
|
ConverseCommandOutput,
|
|
26
|
-
BedrockRuntimeClientResolvedConfig,
|
|
27
|
-
ServiceInputTypes,
|
|
28
|
-
ServiceOutputTypes
|
|
19
|
+
import("..").BedrockRuntimeClientResolvedConfig,
|
|
20
|
+
import("..").ServiceInputTypes,
|
|
21
|
+
import("..").ServiceOutputTypes
|
|
29
22
|
>;
|
|
30
|
-
getEndpointParameterInstructions():
|
|
31
|
-
[x: string]: unknown;
|
|
32
|
-
};
|
|
23
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
33
24
|
};
|
|
34
25
|
export declare class ConverseCommand extends ConverseCommand_base {
|
|
35
26
|
protected static __types: {
|
|
@@ -1,16 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import {
|
|
4
|
-
BedrockRuntimeClientResolvedConfig,
|
|
5
|
-
ServiceInputTypes,
|
|
6
|
-
ServiceOutputTypes,
|
|
7
|
-
} from "../BedrockRuntimeClient";
|
|
8
2
|
import {
|
|
9
3
|
ConverseStreamRequest,
|
|
10
4
|
ConverseStreamResponse,
|
|
11
5
|
} from "../models/models_0";
|
|
12
6
|
export { __MetadataBearer };
|
|
13
|
-
export { $Command };
|
|
14
7
|
export interface ConverseStreamCommandInput extends ConverseStreamRequest {}
|
|
15
8
|
export interface ConverseStreamCommandOutput
|
|
16
9
|
extends ConverseStreamResponse,
|
|
@@ -21,22 +14,20 @@ declare const ConverseStreamCommand_base: {
|
|
|
21
14
|
): import("@smithy/core/client").CommandImpl<
|
|
22
15
|
ConverseStreamCommandInput,
|
|
23
16
|
ConverseStreamCommandOutput,
|
|
24
|
-
BedrockRuntimeClientResolvedConfig,
|
|
25
|
-
ServiceInputTypes,
|
|
26
|
-
ServiceOutputTypes
|
|
17
|
+
import("..").BedrockRuntimeClientResolvedConfig,
|
|
18
|
+
import("..").ServiceInputTypes,
|
|
19
|
+
import("..").ServiceOutputTypes
|
|
27
20
|
>;
|
|
28
21
|
new (
|
|
29
22
|
input: ConverseStreamCommandInput
|
|
30
23
|
): import("@smithy/core/client").CommandImpl<
|
|
31
24
|
ConverseStreamCommandInput,
|
|
32
25
|
ConverseStreamCommandOutput,
|
|
33
|
-
BedrockRuntimeClientResolvedConfig,
|
|
34
|
-
ServiceInputTypes,
|
|
35
|
-
ServiceOutputTypes
|
|
26
|
+
import("..").BedrockRuntimeClientResolvedConfig,
|
|
27
|
+
import("..").ServiceInputTypes,
|
|
28
|
+
import("..").ServiceOutputTypes
|
|
36
29
|
>;
|
|
37
|
-
getEndpointParameterInstructions():
|
|
38
|
-
[x: string]: unknown;
|
|
39
|
-
};
|
|
30
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
40
31
|
};
|
|
41
32
|
export declare class ConverseStreamCommand extends ConverseStreamCommand_base {
|
|
42
33
|
protected static __types: {
|
|
@@ -1,13 +1,6 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import {
|
|
4
|
-
BedrockRuntimeClientResolvedConfig,
|
|
5
|
-
ServiceInputTypes,
|
|
6
|
-
ServiceOutputTypes,
|
|
7
|
-
} from "../BedrockRuntimeClient";
|
|
8
2
|
import { CountTokensRequest, CountTokensResponse } from "../models/models_0";
|
|
9
3
|
export { __MetadataBearer };
|
|
10
|
-
export { $Command };
|
|
11
4
|
export interface CountTokensCommandInput extends CountTokensRequest {}
|
|
12
5
|
export interface CountTokensCommandOutput
|
|
13
6
|
extends CountTokensResponse,
|
|
@@ -18,22 +11,20 @@ declare const CountTokensCommand_base: {
|
|
|
18
11
|
): import("@smithy/core/client").CommandImpl<
|
|
19
12
|
CountTokensCommandInput,
|
|
20
13
|
CountTokensCommandOutput,
|
|
21
|
-
BedrockRuntimeClientResolvedConfig,
|
|
22
|
-
ServiceInputTypes,
|
|
23
|
-
ServiceOutputTypes
|
|
14
|
+
import("..").BedrockRuntimeClientResolvedConfig,
|
|
15
|
+
import("..").ServiceInputTypes,
|
|
16
|
+
import("..").ServiceOutputTypes
|
|
24
17
|
>;
|
|
25
18
|
new (
|
|
26
19
|
input: CountTokensCommandInput
|
|
27
20
|
): import("@smithy/core/client").CommandImpl<
|
|
28
21
|
CountTokensCommandInput,
|
|
29
22
|
CountTokensCommandOutput,
|
|
30
|
-
BedrockRuntimeClientResolvedConfig,
|
|
31
|
-
ServiceInputTypes,
|
|
32
|
-
ServiceOutputTypes
|
|
23
|
+
import("..").BedrockRuntimeClientResolvedConfig,
|
|
24
|
+
import("..").ServiceInputTypes,
|
|
25
|
+
import("..").ServiceOutputTypes
|
|
33
26
|
>;
|
|
34
|
-
getEndpointParameterInstructions():
|
|
35
|
-
[x: string]: unknown;
|
|
36
|
-
};
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
37
28
|
};
|
|
38
29
|
export declare class CountTokensCommand extends CountTokensCommand_base {
|
|
39
30
|
protected static __types: {
|
|
@@ -1,16 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import {
|
|
4
|
-
BedrockRuntimeClientResolvedConfig,
|
|
5
|
-
ServiceInputTypes,
|
|
6
|
-
ServiceOutputTypes,
|
|
7
|
-
} from "../BedrockRuntimeClient";
|
|
8
2
|
import {
|
|
9
3
|
GetAsyncInvokeRequest,
|
|
10
4
|
GetAsyncInvokeResponse,
|
|
11
5
|
} from "../models/models_0";
|
|
12
6
|
export { __MetadataBearer };
|
|
13
|
-
export { $Command };
|
|
14
7
|
export interface GetAsyncInvokeCommandInput extends GetAsyncInvokeRequest {}
|
|
15
8
|
export interface GetAsyncInvokeCommandOutput
|
|
16
9
|
extends GetAsyncInvokeResponse,
|
|
@@ -21,22 +14,20 @@ declare const GetAsyncInvokeCommand_base: {
|
|
|
21
14
|
): import("@smithy/core/client").CommandImpl<
|
|
22
15
|
GetAsyncInvokeCommandInput,
|
|
23
16
|
GetAsyncInvokeCommandOutput,
|
|
24
|
-
BedrockRuntimeClientResolvedConfig,
|
|
25
|
-
ServiceInputTypes,
|
|
26
|
-
ServiceOutputTypes
|
|
17
|
+
import("..").BedrockRuntimeClientResolvedConfig,
|
|
18
|
+
import("..").ServiceInputTypes,
|
|
19
|
+
import("..").ServiceOutputTypes
|
|
27
20
|
>;
|
|
28
21
|
new (
|
|
29
22
|
input: GetAsyncInvokeCommandInput
|
|
30
23
|
): import("@smithy/core/client").CommandImpl<
|
|
31
24
|
GetAsyncInvokeCommandInput,
|
|
32
25
|
GetAsyncInvokeCommandOutput,
|
|
33
|
-
BedrockRuntimeClientResolvedConfig,
|
|
34
|
-
ServiceInputTypes,
|
|
35
|
-
ServiceOutputTypes
|
|
26
|
+
import("..").BedrockRuntimeClientResolvedConfig,
|
|
27
|
+
import("..").ServiceInputTypes,
|
|
28
|
+
import("..").ServiceOutputTypes
|
|
36
29
|
>;
|
|
37
|
-
getEndpointParameterInstructions():
|
|
38
|
-
[x: string]: unknown;
|
|
39
|
-
};
|
|
30
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
40
31
|
};
|
|
41
32
|
export declare class GetAsyncInvokeCommand extends GetAsyncInvokeCommand_base {
|
|
42
33
|
protected static __types: {
|
|
@@ -1,16 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import {
|
|
4
|
-
BedrockRuntimeClientResolvedConfig,
|
|
5
|
-
ServiceInputTypes,
|
|
6
|
-
ServiceOutputTypes,
|
|
7
|
-
} from "../BedrockRuntimeClient";
|
|
8
2
|
import {
|
|
9
3
|
InvokeGuardrailChecksRequest,
|
|
10
4
|
InvokeGuardrailChecksResponse,
|
|
11
5
|
} from "../models/models_0";
|
|
12
6
|
export { __MetadataBearer };
|
|
13
|
-
export { $Command };
|
|
14
7
|
export interface InvokeGuardrailChecksCommandInput
|
|
15
8
|
extends InvokeGuardrailChecksRequest {}
|
|
16
9
|
export interface InvokeGuardrailChecksCommandOutput
|
|
@@ -22,22 +15,20 @@ declare const InvokeGuardrailChecksCommand_base: {
|
|
|
22
15
|
): import("@smithy/core/client").CommandImpl<
|
|
23
16
|
InvokeGuardrailChecksCommandInput,
|
|
24
17
|
InvokeGuardrailChecksCommandOutput,
|
|
25
|
-
BedrockRuntimeClientResolvedConfig,
|
|
26
|
-
ServiceInputTypes,
|
|
27
|
-
ServiceOutputTypes
|
|
18
|
+
import("..").BedrockRuntimeClientResolvedConfig,
|
|
19
|
+
import("..").ServiceInputTypes,
|
|
20
|
+
import("..").ServiceOutputTypes
|
|
28
21
|
>;
|
|
29
22
|
new (
|
|
30
23
|
input: InvokeGuardrailChecksCommandInput
|
|
31
24
|
): import("@smithy/core/client").CommandImpl<
|
|
32
25
|
InvokeGuardrailChecksCommandInput,
|
|
33
26
|
InvokeGuardrailChecksCommandOutput,
|
|
34
|
-
BedrockRuntimeClientResolvedConfig,
|
|
35
|
-
ServiceInputTypes,
|
|
36
|
-
ServiceOutputTypes
|
|
27
|
+
import("..").BedrockRuntimeClientResolvedConfig,
|
|
28
|
+
import("..").ServiceInputTypes,
|
|
29
|
+
import("..").ServiceOutputTypes
|
|
37
30
|
>;
|
|
38
|
-
getEndpointParameterInstructions():
|
|
39
|
-
[x: string]: unknown;
|
|
40
|
-
};
|
|
31
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
41
32
|
};
|
|
42
33
|
export declare class InvokeGuardrailChecksCommand extends InvokeGuardrailChecksCommand_base {
|
|
43
34
|
protected static __types: {
|
|
@@ -1,17 +1,10 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import { Uint8ArrayBlobAdapter } from "@smithy/core/serde";
|
|
3
2
|
import {
|
|
4
3
|
BlobPayloadInputTypes,
|
|
5
4
|
MetadataBearer as __MetadataBearer,
|
|
6
5
|
} from "@smithy/types";
|
|
7
|
-
import {
|
|
8
|
-
BedrockRuntimeClientResolvedConfig,
|
|
9
|
-
ServiceInputTypes,
|
|
10
|
-
ServiceOutputTypes,
|
|
11
|
-
} from "../BedrockRuntimeClient";
|
|
12
6
|
import { InvokeModelRequest, InvokeModelResponse } from "../models/models_0";
|
|
13
7
|
export { __MetadataBearer };
|
|
14
|
-
export { $Command };
|
|
15
8
|
export type InvokeModelCommandInputType = Pick<
|
|
16
9
|
InvokeModelRequest,
|
|
17
10
|
Exclude<keyof InvokeModelRequest, "body">
|
|
@@ -34,22 +27,20 @@ declare const InvokeModelCommand_base: {
|
|
|
34
27
|
): import("@smithy/core/client").CommandImpl<
|
|
35
28
|
InvokeModelCommandInput,
|
|
36
29
|
InvokeModelCommandOutput,
|
|
37
|
-
BedrockRuntimeClientResolvedConfig,
|
|
38
|
-
ServiceInputTypes,
|
|
39
|
-
ServiceOutputTypes
|
|
30
|
+
import("..").BedrockRuntimeClientResolvedConfig,
|
|
31
|
+
import("..").ServiceInputTypes,
|
|
32
|
+
import("..").ServiceOutputTypes
|
|
40
33
|
>;
|
|
41
34
|
new (
|
|
42
35
|
input: InvokeModelCommandInput
|
|
43
36
|
): import("@smithy/core/client").CommandImpl<
|
|
44
37
|
InvokeModelCommandInput,
|
|
45
38
|
InvokeModelCommandOutput,
|
|
46
|
-
BedrockRuntimeClientResolvedConfig,
|
|
47
|
-
ServiceInputTypes,
|
|
48
|
-
ServiceOutputTypes
|
|
39
|
+
import("..").BedrockRuntimeClientResolvedConfig,
|
|
40
|
+
import("..").ServiceInputTypes,
|
|
41
|
+
import("..").ServiceOutputTypes
|
|
49
42
|
>;
|
|
50
|
-
getEndpointParameterInstructions():
|
|
51
|
-
[x: string]: unknown;
|
|
52
|
-
};
|
|
43
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
53
44
|
};
|
|
54
45
|
export declare class InvokeModelCommand extends InvokeModelCommand_base {
|
|
55
46
|
protected static __types: {
|
|
@@ -1,16 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import {
|
|
4
|
-
BedrockRuntimeClientResolvedConfig,
|
|
5
|
-
ServiceInputTypes,
|
|
6
|
-
ServiceOutputTypes,
|
|
7
|
-
} from "../BedrockRuntimeClient";
|
|
8
2
|
import {
|
|
9
3
|
InvokeModelWithBidirectionalStreamRequest,
|
|
10
4
|
InvokeModelWithBidirectionalStreamResponse,
|
|
11
5
|
} from "../models/models_0";
|
|
12
6
|
export { __MetadataBearer };
|
|
13
|
-
export { $Command };
|
|
14
7
|
export interface InvokeModelWithBidirectionalStreamCommandInput
|
|
15
8
|
extends InvokeModelWithBidirectionalStreamRequest {}
|
|
16
9
|
export interface InvokeModelWithBidirectionalStreamCommandOutput
|
|
@@ -22,22 +15,20 @@ declare const InvokeModelWithBidirectionalStreamCommand_base: {
|
|
|
22
15
|
): import("@smithy/core/client").CommandImpl<
|
|
23
16
|
InvokeModelWithBidirectionalStreamCommandInput,
|
|
24
17
|
InvokeModelWithBidirectionalStreamCommandOutput,
|
|
25
|
-
BedrockRuntimeClientResolvedConfig,
|
|
26
|
-
ServiceInputTypes,
|
|
27
|
-
ServiceOutputTypes
|
|
18
|
+
import("..").BedrockRuntimeClientResolvedConfig,
|
|
19
|
+
import("..").ServiceInputTypes,
|
|
20
|
+
import("..").ServiceOutputTypes
|
|
28
21
|
>;
|
|
29
22
|
new (
|
|
30
23
|
input: InvokeModelWithBidirectionalStreamCommandInput
|
|
31
24
|
): import("@smithy/core/client").CommandImpl<
|
|
32
25
|
InvokeModelWithBidirectionalStreamCommandInput,
|
|
33
26
|
InvokeModelWithBidirectionalStreamCommandOutput,
|
|
34
|
-
BedrockRuntimeClientResolvedConfig,
|
|
35
|
-
ServiceInputTypes,
|
|
36
|
-
ServiceOutputTypes
|
|
27
|
+
import("..").BedrockRuntimeClientResolvedConfig,
|
|
28
|
+
import("..").ServiceInputTypes,
|
|
29
|
+
import("..").ServiceOutputTypes
|
|
37
30
|
>;
|
|
38
|
-
getEndpointParameterInstructions():
|
|
39
|
-
[x: string]: unknown;
|
|
40
|
-
};
|
|
31
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
41
32
|
};
|
|
42
33
|
export declare class InvokeModelWithBidirectionalStreamCommand extends InvokeModelWithBidirectionalStreamCommand_base {
|
|
43
34
|
protected static __types: {
|