@aws-sdk/client-bedrock-runtime 3.422.1 → 3.425.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 (28) hide show
  1. package/dist-cjs/models/models_0.js +4 -0
  2. package/dist-cjs/protocols/Aws_restJson1.js +12 -0
  3. package/dist-es/models/models_0.js +4 -0
  4. package/dist-es/protocols/Aws_restJson1.js +12 -0
  5. package/dist-types/BedrockRuntimeClient.d.ts +2 -0
  6. package/dist-types/commands/InvokeModelCommand.d.ts +1 -1
  7. package/dist-types/commands/InvokeModelWithResponseStreamCommand.d.ts +4 -1
  8. package/dist-types/models/models_0.d.ts +21 -1
  9. package/dist-types/ts3.4/BedrockRuntime.d.ts +41 -24
  10. package/dist-types/ts3.4/BedrockRuntimeClient.d.ts +139 -174
  11. package/dist-types/ts3.4/commands/InvokeModelCommand.d.ts +49 -120
  12. package/dist-types/ts3.4/commands/InvokeModelWithResponseStreamCommand.d.ts +49 -134
  13. package/dist-types/ts3.4/commands/index.d.ts +2 -2
  14. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +33 -22
  15. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -5
  16. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -2
  17. package/dist-types/ts3.4/extensionConfiguration.d.ts +7 -8
  18. package/dist-types/ts3.4/index.d.ts +6 -11
  19. package/dist-types/ts3.4/models/BedrockRuntimeServiceException.d.ts +8 -13
  20. package/dist-types/ts3.4/models/index.d.ts +1 -1
  21. package/dist-types/ts3.4/models/models_0.d.ts +198 -355
  22. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +32 -20
  23. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +98 -47
  24. package/dist-types/ts3.4/runtimeConfig.d.ts +98 -47
  25. package/dist-types/ts3.4/runtimeConfig.native.d.ts +89 -46
  26. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +19 -19
  27. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -17
  28. package/package.json +35 -35
@@ -1,120 +1,49 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
3
- import { BlobPayloadInputTypes, Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
- import { Uint8ArrayBlobAdapter } from "@smithy/util-stream";
5
- import { BedrockRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockRuntimeClient";
6
- import { InvokeModelRequest, InvokeModelResponse } from "../models/models_0";
7
- /**
8
- * @public
9
- */
10
- export { __MetadataBearer, $Command };
11
- /**
12
- * @public
13
- */
14
- export type InvokeModelCommandInputType = Pick<InvokeModelRequest, Exclude<keyof InvokeModelRequest, "body">> & {
15
- body: BlobPayloadInputTypes;
16
- };
17
- /**
18
- * @public
19
- *
20
- * The input for {@link InvokeModelCommand}.
21
- */
22
- export interface InvokeModelCommandInput extends InvokeModelCommandInputType {
23
- }
24
- /**
25
- * @public
26
- */
27
- export type InvokeModelCommandOutputType = Pick<InvokeModelResponse, Exclude<keyof InvokeModelResponse, "body">> & {
28
- body: Uint8ArrayBlobAdapter;
29
- };
30
- /**
31
- * @public
32
- *
33
- * The output of {@link InvokeModelCommand}.
34
- */
35
- export interface InvokeModelCommandOutput extends InvokeModelCommandOutputType, __MetadataBearer {
36
- }
37
- /**
38
- * @public
39
- * <p>Invokes the specified Bedrock model to run inference using the input provided in the request body.
40
- * You use InvokeModel to run inference for text models, image models, and embedding models.</p>
41
- * <p>For more information about invoking models, see Using the API in the <a href="https://d2eo22ngex1n9g.cloudfront.net/Documentation/BedrockUserGuide.pdf">Bedrock User Guide</a>.</p>
42
- * <p>For example requests, see Examples (after the Errors section).</p>
43
- * @example
44
- * Use a bare-bones client and the command you need to make an API call.
45
- * ```javascript
46
- * import { BedrockRuntimeClient, InvokeModelCommand } from "@aws-sdk/client-bedrock-runtime"; // ES Modules import
47
- * // const { BedrockRuntimeClient, InvokeModelCommand } = require("@aws-sdk/client-bedrock-runtime"); // CommonJS import
48
- * const client = new BedrockRuntimeClient(config);
49
- * const input = { // InvokeModelRequest
50
- * body: "BLOB_VALUE", // required
51
- * contentType: "STRING_VALUE",
52
- * accept: "STRING_VALUE",
53
- * modelId: "STRING_VALUE", // required
54
- * };
55
- * const command = new InvokeModelCommand(input);
56
- * const response = await client.send(command);
57
- * // { // InvokeModelResponse
58
- * // body: "BLOB_VALUE", // required
59
- * // contentType: "STRING_VALUE", // required
60
- * // };
61
- *
62
- * ```
63
- *
64
- * @param InvokeModelCommandInput - {@link InvokeModelCommandInput}
65
- * @returns {@link InvokeModelCommandOutput}
66
- * @see {@link InvokeModelCommandInput} for command's `input` shape.
67
- * @see {@link InvokeModelCommandOutput} for command's `response` shape.
68
- * @see {@link BedrockRuntimeClientResolvedConfig | config} for BedrockRuntimeClient's `config` shape.
69
- *
70
- * @throws {@link AccessDeniedException} (client fault)
71
- * <p>The request is denied because of missing access permissions.</p>
72
- *
73
- * @throws {@link InternalServerException} (server fault)
74
- * <p>An internal server error occurred. Retry your request.</p>
75
- *
76
- * @throws {@link ModelErrorException} (client fault)
77
- * <p>The request failed due to an error while processing the model.</p>
78
- *
79
- * @throws {@link ModelNotReadyException} (client fault)
80
- * <p>The model specified in the request is not ready to serve inference requests.</p>
81
- *
82
- * @throws {@link ModelTimeoutException} (client fault)
83
- * <p>The request took too long to process. Processing time exceeded the model timeout length.</p>
84
- *
85
- * @throws {@link ResourceNotFoundException} (client fault)
86
- * <p>The specified resource ARN was not found. Check the ARN and try your request again.</p>
87
- *
88
- * @throws {@link ServiceQuotaExceededException} (client fault)
89
- * <p>The number of requests exceeds the service quota. Resubmit your request later.</p>
90
- *
91
- * @throws {@link ThrottlingException} (client fault)
92
- * <p>The number of requests exceeds the limit. Resubmit your request later.</p>
93
- *
94
- * @throws {@link ValidationException} (client fault)
95
- * <p>Input validation failed. Check your request parameters and retry the request.</p>
96
- *
97
- * @throws {@link BedrockRuntimeServiceException}
98
- * <p>Base exception class for all service exceptions from BedrockRuntime service.</p>
99
- *
100
- */
101
- export declare class InvokeModelCommand extends $Command<InvokeModelCommandInput, InvokeModelCommandOutput, BedrockRuntimeClientResolvedConfig> {
102
- readonly input: InvokeModelCommandInput;
103
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
104
- /**
105
- * @public
106
- */
107
- constructor(input: InvokeModelCommandInput);
108
- /**
109
- * @internal
110
- */
111
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BedrockRuntimeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<InvokeModelCommandInput, InvokeModelCommandOutput>;
112
- /**
113
- * @internal
114
- */
115
- private serialize;
116
- /**
117
- * @internal
118
- */
119
- private deserialize;
120
- }
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import {
4
+ BlobPayloadInputTypes,
5
+ Handler,
6
+ HttpHandlerOptions as __HttpHandlerOptions,
7
+ MetadataBearer as __MetadataBearer,
8
+ MiddlewareStack,
9
+ } from "@smithy/types";
10
+ import { Uint8ArrayBlobAdapter } from "@smithy/util-stream";
11
+ import {
12
+ BedrockRuntimeClientResolvedConfig,
13
+ ServiceInputTypes,
14
+ ServiceOutputTypes,
15
+ } from "../BedrockRuntimeClient";
16
+ import { InvokeModelRequest, InvokeModelResponse } from "../models/models_0";
17
+ export { __MetadataBearer, $Command };
18
+ export type InvokeModelCommandInputType = Pick<
19
+ InvokeModelRequest,
20
+ Exclude<keyof InvokeModelRequest, "body">
21
+ > & {
22
+ body: BlobPayloadInputTypes;
23
+ };
24
+ export interface InvokeModelCommandInput extends InvokeModelCommandInputType {}
25
+ export type InvokeModelCommandOutputType = Pick<
26
+ InvokeModelResponse,
27
+ Exclude<keyof InvokeModelResponse, "body">
28
+ > & {
29
+ body: Uint8ArrayBlobAdapter;
30
+ };
31
+ export interface InvokeModelCommandOutput
32
+ extends InvokeModelCommandOutputType,
33
+ __MetadataBearer {}
34
+ export declare class InvokeModelCommand extends $Command<
35
+ InvokeModelCommandInput,
36
+ InvokeModelCommandOutput,
37
+ BedrockRuntimeClientResolvedConfig
38
+ > {
39
+ readonly input: InvokeModelCommandInput;
40
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
41
+ constructor(input: InvokeModelCommandInput);
42
+ resolveMiddleware(
43
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
44
+ configuration: BedrockRuntimeClientResolvedConfig,
45
+ options?: __HttpHandlerOptions
46
+ ): Handler<InvokeModelCommandInput, InvokeModelCommandOutput>;
47
+ private serialize;
48
+ private deserialize;
49
+ }
@@ -1,134 +1,49 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
3
- import { BlobPayloadInputTypes, Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
- import { BedrockRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockRuntimeClient";
5
- import { InvokeModelWithResponseStreamRequest, InvokeModelWithResponseStreamResponse } from "../models/models_0";
6
- /**
7
- * @public
8
- */
9
- export { __MetadataBearer, $Command };
10
- /**
11
- * @public
12
- */
13
- export type InvokeModelWithResponseStreamCommandInputType = Pick<InvokeModelWithResponseStreamRequest, Exclude<keyof InvokeModelWithResponseStreamRequest, "body">> & {
14
- body: BlobPayloadInputTypes;
15
- };
16
- /**
17
- * @public
18
- *
19
- * The input for {@link InvokeModelWithResponseStreamCommand}.
20
- */
21
- export interface InvokeModelWithResponseStreamCommandInput extends InvokeModelWithResponseStreamCommandInputType {
22
- }
23
- /**
24
- * @public
25
- *
26
- * The output of {@link InvokeModelWithResponseStreamCommand}.
27
- */
28
- export interface InvokeModelWithResponseStreamCommandOutput extends InvokeModelWithResponseStreamResponse, __MetadataBearer {
29
- }
30
- /**
31
- * @public
32
- * <p>Invoke the specified Bedrock model to run inference using the input provided.
33
- * Return the response in a stream.</p>
34
- * <p>For more information about invoking models, see Using the API in the <a href="https://d2eo22ngex1n9g.cloudfront.net/Documentation/BedrockUserGuide.pdf">Bedrock User Guide</a>.</p>
35
- * <p>For an example request and response, see Examples (after the Errors section).</p>
36
- * @example
37
- * Use a bare-bones client and the command you need to make an API call.
38
- * ```javascript
39
- * import { BedrockRuntimeClient, InvokeModelWithResponseStreamCommand } from "@aws-sdk/client-bedrock-runtime"; // ES Modules import
40
- * // const { BedrockRuntimeClient, InvokeModelWithResponseStreamCommand } = require("@aws-sdk/client-bedrock-runtime"); // CommonJS import
41
- * const client = new BedrockRuntimeClient(config);
42
- * const input = { // InvokeModelWithResponseStreamRequest
43
- * body: "BLOB_VALUE", // required
44
- * contentType: "STRING_VALUE",
45
- * accept: "STRING_VALUE",
46
- * modelId: "STRING_VALUE", // required
47
- * };
48
- * const command = new InvokeModelWithResponseStreamCommand(input);
49
- * const response = await client.send(command);
50
- * // { // InvokeModelWithResponseStreamResponse
51
- * // body: { // ResponseStream Union: only one key present
52
- * // chunk: { // PayloadPart
53
- * // bytes: "BLOB_VALUE",
54
- * // },
55
- * // internalServerException: { // InternalServerException
56
- * // message: "STRING_VALUE",
57
- * // },
58
- * // modelStreamErrorException: { // ModelStreamErrorException
59
- * // message: "STRING_VALUE",
60
- * // originalStatusCode: Number("int"),
61
- * // originalMessage: "STRING_VALUE",
62
- * // },
63
- * // validationException: { // ValidationException
64
- * // message: "STRING_VALUE",
65
- * // },
66
- * // throttlingException: { // ThrottlingException
67
- * // message: "STRING_VALUE",
68
- * // },
69
- * // },
70
- * // contentType: "STRING_VALUE", // required
71
- * // };
72
- *
73
- * ```
74
- *
75
- * @param InvokeModelWithResponseStreamCommandInput - {@link InvokeModelWithResponseStreamCommandInput}
76
- * @returns {@link InvokeModelWithResponseStreamCommandOutput}
77
- * @see {@link InvokeModelWithResponseStreamCommandInput} for command's `input` shape.
78
- * @see {@link InvokeModelWithResponseStreamCommandOutput} for command's `response` shape.
79
- * @see {@link BedrockRuntimeClientResolvedConfig | config} for BedrockRuntimeClient's `config` shape.
80
- *
81
- * @throws {@link AccessDeniedException} (client fault)
82
- * <p>The request is denied because of missing access permissions.</p>
83
- *
84
- * @throws {@link InternalServerException} (server fault)
85
- * <p>An internal server error occurred. Retry your request.</p>
86
- *
87
- * @throws {@link ModelErrorException} (client fault)
88
- * <p>The request failed due to an error while processing the model.</p>
89
- *
90
- * @throws {@link ModelNotReadyException} (client fault)
91
- * <p>The model specified in the request is not ready to serve inference requests.</p>
92
- *
93
- * @throws {@link ModelStreamErrorException} (client fault)
94
- * <p>An error occurred while streaming the response.</p>
95
- *
96
- * @throws {@link ModelTimeoutException} (client fault)
97
- * <p>The request took too long to process. Processing time exceeded the model timeout length.</p>
98
- *
99
- * @throws {@link ResourceNotFoundException} (client fault)
100
- * <p>The specified resource ARN was not found. Check the ARN and try your request again.</p>
101
- *
102
- * @throws {@link ServiceQuotaExceededException} (client fault)
103
- * <p>The number of requests exceeds the service quota. Resubmit your request later.</p>
104
- *
105
- * @throws {@link ThrottlingException} (client fault)
106
- * <p>The number of requests exceeds the limit. Resubmit your request later.</p>
107
- *
108
- * @throws {@link ValidationException} (client fault)
109
- * <p>Input validation failed. Check your request parameters and retry the request.</p>
110
- *
111
- * @throws {@link BedrockRuntimeServiceException}
112
- * <p>Base exception class for all service exceptions from BedrockRuntime service.</p>
113
- *
114
- */
115
- export declare class InvokeModelWithResponseStreamCommand extends $Command<InvokeModelWithResponseStreamCommandInput, InvokeModelWithResponseStreamCommandOutput, BedrockRuntimeClientResolvedConfig> {
116
- readonly input: InvokeModelWithResponseStreamCommandInput;
117
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
118
- /**
119
- * @public
120
- */
121
- constructor(input: InvokeModelWithResponseStreamCommandInput);
122
- /**
123
- * @internal
124
- */
125
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: BedrockRuntimeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<InvokeModelWithResponseStreamCommandInput, InvokeModelWithResponseStreamCommandOutput>;
126
- /**
127
- * @internal
128
- */
129
- private serialize;
130
- /**
131
- * @internal
132
- */
133
- private deserialize;
134
- }
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import {
4
+ BlobPayloadInputTypes,
5
+ Handler,
6
+ HttpHandlerOptions as __HttpHandlerOptions,
7
+ MetadataBearer as __MetadataBearer,
8
+ MiddlewareStack,
9
+ } from "@smithy/types";
10
+ import {
11
+ BedrockRuntimeClientResolvedConfig,
12
+ ServiceInputTypes,
13
+ ServiceOutputTypes,
14
+ } from "../BedrockRuntimeClient";
15
+ import {
16
+ InvokeModelWithResponseStreamRequest,
17
+ InvokeModelWithResponseStreamResponse,
18
+ } from "../models/models_0";
19
+ export { __MetadataBearer, $Command };
20
+ export type InvokeModelWithResponseStreamCommandInputType = Pick<
21
+ InvokeModelWithResponseStreamRequest,
22
+ Exclude<keyof InvokeModelWithResponseStreamRequest, "body">
23
+ > & {
24
+ body: BlobPayloadInputTypes;
25
+ };
26
+ export interface InvokeModelWithResponseStreamCommandInput
27
+ extends InvokeModelWithResponseStreamCommandInputType {}
28
+ export interface InvokeModelWithResponseStreamCommandOutput
29
+ extends InvokeModelWithResponseStreamResponse,
30
+ __MetadataBearer {}
31
+ export declare class InvokeModelWithResponseStreamCommand extends $Command<
32
+ InvokeModelWithResponseStreamCommandInput,
33
+ InvokeModelWithResponseStreamCommandOutput,
34
+ BedrockRuntimeClientResolvedConfig
35
+ > {
36
+ readonly input: InvokeModelWithResponseStreamCommandInput;
37
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
38
+ constructor(input: InvokeModelWithResponseStreamCommandInput);
39
+ resolveMiddleware(
40
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
41
+ configuration: BedrockRuntimeClientResolvedConfig,
42
+ options?: __HttpHandlerOptions
43
+ ): Handler<
44
+ InvokeModelWithResponseStreamCommandInput,
45
+ InvokeModelWithResponseStreamCommandOutput
46
+ >;
47
+ private serialize;
48
+ private deserialize;
49
+ }
@@ -1,2 +1,2 @@
1
- export * from "./InvokeModelCommand";
2
- export * from "./InvokeModelWithResponseStreamCommand";
1
+ export * from "./InvokeModelCommand";
2
+ export * from "./InvokeModelWithResponseStreamCommand";
@@ -1,22 +1,33 @@
1
- import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
2
- /**
3
- * @public
4
- */
5
- export interface ClientInputEndpointParameters {
6
- region?: string | Provider<string>;
7
- useDualstackEndpoint?: boolean | Provider<boolean>;
8
- useFipsEndpoint?: boolean | Provider<boolean>;
9
- endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
10
- }
11
- export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
12
- defaultSigningName: string;
13
- };
14
- export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
15
- defaultSigningName: string;
16
- };
17
- export interface EndpointParameters extends __EndpointParameters {
18
- Region?: string;
19
- UseDualStack?: boolean;
20
- UseFIPS?: boolean;
21
- Endpoint?: string;
22
- }
1
+ import {
2
+ Endpoint,
3
+ EndpointParameters as __EndpointParameters,
4
+ EndpointV2,
5
+ Provider,
6
+ } from "@smithy/types";
7
+ export interface ClientInputEndpointParameters {
8
+ region?: string | Provider<string>;
9
+ useDualstackEndpoint?: boolean | Provider<boolean>;
10
+ useFipsEndpoint?: boolean | Provider<boolean>;
11
+ endpoint?:
12
+ | string
13
+ | Provider<string>
14
+ | Endpoint
15
+ | Provider<Endpoint>
16
+ | EndpointV2
17
+ | Provider<EndpointV2>;
18
+ }
19
+ export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
20
+ defaultSigningName: string;
21
+ };
22
+ export declare const resolveClientEndpointParameters: <T>(
23
+ options: T & ClientInputEndpointParameters
24
+ ) => T &
25
+ ClientInputEndpointParameters & {
26
+ defaultSigningName: string;
27
+ };
28
+ export interface EndpointParameters extends __EndpointParameters {
29
+ Region?: string;
30
+ UseDualStack?: boolean;
31
+ UseFIPS?: boolean;
32
+ Endpoint?: string;
33
+ }
@@ -1,5 +1,8 @@
1
- import { EndpointV2, Logger } from "@smithy/types";
2
- import { EndpointParameters } from "./EndpointParameters";
3
- export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: {
4
- logger?: Logger;
5
- }) => EndpointV2;
1
+ import { EndpointV2, Logger } from "@smithy/types";
2
+ import { EndpointParameters } from "./EndpointParameters";
3
+ export declare const defaultEndpointResolver: (
4
+ endpointParams: EndpointParameters,
5
+ context?: {
6
+ logger?: Logger;
7
+ }
8
+ ) => EndpointV2;
@@ -1,2 +1,2 @@
1
- import { RuleSetObject } from "@smithy/types";
2
- export declare const ruleSet: RuleSetObject;
1
+ import { RuleSetObject } from "@smithy/types";
2
+ export declare const ruleSet: RuleSetObject;
@@ -1,8 +1,7 @@
1
- import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
2
- import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
3
- import { DefaultExtensionConfiguration } from "@smithy/types";
4
- /**
5
- * @internal
6
- */
7
- export interface BedrockRuntimeExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration {
8
- }
1
+ import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
2
+ import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
3
+ import { DefaultExtensionConfiguration } from "@smithy/types";
4
+ export interface BedrockRuntimeExtensionConfiguration
5
+ extends HttpHandlerExtensionConfiguration,
6
+ DefaultExtensionConfiguration,
7
+ AwsRegionExtensionConfiguration {}
@@ -1,11 +1,6 @@
1
- /**
2
- * <p>Describes the API operations for running inference using Bedrock models.</p>
3
- *
4
- * @packageDocumentation
5
- */
6
- export * from "./BedrockRuntimeClient";
7
- export * from "./BedrockRuntime";
8
- export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
9
- export * from "./commands";
10
- export * from "./models";
11
- export { BedrockRuntimeServiceException } from "./models/BedrockRuntimeServiceException";
1
+ export * from "./BedrockRuntimeClient";
2
+ export * from "./BedrockRuntime";
3
+ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
4
+ export * from "./commands";
5
+ export * from "./models";
6
+ export { BedrockRuntimeServiceException } from "./models/BedrockRuntimeServiceException";
@@ -1,13 +1,8 @@
1
- import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@smithy/smithy-client";
2
- export { __ServiceException, __ServiceExceptionOptions };
3
- /**
4
- * @public
5
- *
6
- * Base exception class for all service exceptions from BedrockRuntime service.
7
- */
8
- export declare class BedrockRuntimeServiceException extends __ServiceException {
9
- /**
10
- * @internal
11
- */
12
- constructor(options: __ServiceExceptionOptions);
13
- }
1
+ import {
2
+ ServiceException as __ServiceException,
3
+ ServiceExceptionOptions as __ServiceExceptionOptions,
4
+ } from "@smithy/smithy-client";
5
+ export { __ServiceException, __ServiceExceptionOptions };
6
+ export declare class BedrockRuntimeServiceException extends __ServiceException {
7
+ constructor(options: __ServiceExceptionOptions);
8
+ }
@@ -1 +1 @@
1
- export * from "./models_0";
1
+ export * from "./models_0";