@aws-sdk/client-bedrock-agent-runtime 3.461.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/LICENSE +201 -0
- package/README.md +229 -0
- package/dist-cjs/BedrockAgentRuntime.js +17 -0
- package/dist-cjs/BedrockAgentRuntimeClient.js +45 -0
- package/dist-cjs/commands/InvokeAgentCommand.js +52 -0
- package/dist-cjs/commands/RetrieveAndGenerateCommand.js +52 -0
- package/dist-cjs/commands/RetrieveCommand.js +52 -0
- package/dist-cjs/commands/index.js +6 -0
- package/dist-cjs/endpoint/EndpointParameters.js +12 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +12 -0
- package/dist-cjs/models/BedrockAgentRuntimeServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +439 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/RetrievePaginator.js +28 -0
- package/dist-cjs/pagination/index.js +5 -0
- package/dist-cjs/protocols/Aws_restJson1.js +689 -0
- package/dist-cjs/runtimeConfig.browser.js +41 -0
- package/dist-cjs/runtimeConfig.js +52 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +24 -0
- package/dist-cjs/runtimeExtensions.js +22 -0
- package/dist-es/BedrockAgentRuntime.js +13 -0
- package/dist-es/BedrockAgentRuntimeClient.js +41 -0
- package/dist-es/commands/InvokeAgentCommand.js +48 -0
- package/dist-es/commands/RetrieveAndGenerateCommand.js +48 -0
- package/dist-es/commands/RetrieveCommand.js +48 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/endpoint/EndpointParameters.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +7 -0
- package/dist-es/models/BedrockAgentRuntimeServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +396 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/RetrievePaginator.js +24 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +680 -0
- package/dist-es/runtimeConfig.browser.js +36 -0
- package/dist-es/runtimeConfig.js +47 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +20 -0
- package/dist-es/runtimeExtensions.js +18 -0
- package/dist-types/BedrockAgentRuntime.d.ts +31 -0
- package/dist-types/BedrockAgentRuntimeClient.d.ts +177 -0
- package/dist-types/commands/InvokeAgentCommand.d.ts +321 -0
- package/dist-types/commands/RetrieveAndGenerateCommand.d.ts +142 -0
- package/dist-types/commands/RetrieveCommand.d.ts +123 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +22 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +8 -0
- package/dist-types/index.d.ts +15 -0
- package/dist-types/models/BedrockAgentRuntimeServiceException.d.ts +13 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +1598 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/RetrievePaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +29 -0
- package/dist-types/runtimeConfig.browser.d.ts +47 -0
- package/dist-types/runtimeConfig.d.ts +47 -0
- package/dist-types/runtimeConfig.native.d.ts +46 -0
- package/dist-types/runtimeConfig.shared.d.ts +19 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/BedrockAgentRuntime.d.ts +58 -0
- package/dist-types/ts3.4/BedrockAgentRuntimeClient.d.ts +147 -0
- package/dist-types/ts3.4/commands/InvokeAgentCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/RetrieveAndGenerateCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/RetrieveCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +33 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +7 -0
- package/dist-types/ts3.4/index.d.ts +10 -0
- package/dist-types/ts3.4/models/BedrockAgentRuntimeServiceException.d.ts +8 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +737 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/RetrievePaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +44 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +100 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +100 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +91 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +13 -0
- package/package.json +105 -0
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { PaginationConfiguration } from "@smithy/types";
|
|
2
|
+
import { BedrockAgentRuntimeClient } from "../BedrockAgentRuntimeClient";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export interface BedrockAgentRuntimePaginationConfiguration extends PaginationConfiguration {
|
|
7
|
+
client: BedrockAgentRuntimeClient;
|
|
8
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import { RetrieveCommandInput, RetrieveCommandOutput } from "../commands/RetrieveCommand";
|
|
3
|
+
import { BedrockAgentRuntimePaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare function paginateRetrieve(config: BedrockAgentRuntimePaginationConfiguration, input: RetrieveCommandInput, ...additionalArguments: any): Paginator<RetrieveCommandOutput>;
|
|
@@ -0,0 +1,29 @@
|
|
|
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 { InvokeAgentCommandInput, InvokeAgentCommandOutput } from "../commands/InvokeAgentCommand";
|
|
4
|
+
import { RetrieveAndGenerateCommandInput, RetrieveAndGenerateCommandOutput } from "../commands/RetrieveAndGenerateCommand";
|
|
5
|
+
import { RetrieveCommandInput, RetrieveCommandOutput } from "../commands/RetrieveCommand";
|
|
6
|
+
/**
|
|
7
|
+
* serializeAws_restJson1InvokeAgentCommand
|
|
8
|
+
*/
|
|
9
|
+
export declare const se_InvokeAgentCommand: (input: InvokeAgentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
10
|
+
/**
|
|
11
|
+
* serializeAws_restJson1RetrieveCommand
|
|
12
|
+
*/
|
|
13
|
+
export declare const se_RetrieveCommand: (input: RetrieveCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
14
|
+
/**
|
|
15
|
+
* serializeAws_restJson1RetrieveAndGenerateCommand
|
|
16
|
+
*/
|
|
17
|
+
export declare const se_RetrieveAndGenerateCommand: (input: RetrieveAndGenerateCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
18
|
+
/**
|
|
19
|
+
* deserializeAws_restJson1InvokeAgentCommand
|
|
20
|
+
*/
|
|
21
|
+
export declare const de_InvokeAgentCommand: (output: __HttpResponse, context: __SerdeContext & __EventStreamSerdeContext) => Promise<InvokeAgentCommandOutput>;
|
|
22
|
+
/**
|
|
23
|
+
* deserializeAws_restJson1RetrieveCommand
|
|
24
|
+
*/
|
|
25
|
+
export declare const de_RetrieveCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RetrieveCommandOutput>;
|
|
26
|
+
/**
|
|
27
|
+
* deserializeAws_restJson1RetrieveAndGenerateCommand
|
|
28
|
+
*/
|
|
29
|
+
export declare const de_RetrieveAndGenerateCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RetrieveAndGenerateCommandOutput>;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
|
|
2
|
+
import { BedrockAgentRuntimeClientConfig } from "./BedrockAgentRuntimeClient";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const getRuntimeConfig: (config: BedrockAgentRuntimeClientConfig) => {
|
|
7
|
+
runtime: string;
|
|
8
|
+
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
|
+
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
+
credentialDefaultProvider: (input: any) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
|
+
defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
|
|
12
|
+
eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
|
|
13
|
+
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
14
|
+
region: string | import("@smithy/types").Provider<any>;
|
|
15
|
+
requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
|
|
16
|
+
updateHttpClientConfig(key: never, value: never): void;
|
|
17
|
+
httpHandlerConfigs(): {};
|
|
18
|
+
}) | RequestHandler;
|
|
19
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
20
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
21
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
22
|
+
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
23
|
+
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
24
|
+
apiVersion: string;
|
|
25
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
26
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
27
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
28
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
29
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
30
|
+
disableHostPrefix: boolean;
|
|
31
|
+
serviceId: string;
|
|
32
|
+
logger: import("@smithy/types").Logger;
|
|
33
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
34
|
+
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
35
|
+
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
36
|
+
logger?: import("@smithy/types").Logger | undefined;
|
|
37
|
+
}) => import("@smithy/types").EndpointV2;
|
|
38
|
+
tls?: boolean | undefined;
|
|
39
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
40
|
+
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").Provider<import("@smithy/types").AwsCredentialIdentity> | undefined;
|
|
41
|
+
signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined;
|
|
42
|
+
signingEscapePath?: boolean | undefined;
|
|
43
|
+
systemClockOffset?: number | undefined;
|
|
44
|
+
signingRegion?: string | undefined;
|
|
45
|
+
signerConstructor?: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | undefined;
|
|
46
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
47
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
|
|
2
|
+
import { BedrockAgentRuntimeClientConfig } from "./BedrockAgentRuntimeClient";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const getRuntimeConfig: (config: BedrockAgentRuntimeClientConfig) => {
|
|
7
|
+
runtime: string;
|
|
8
|
+
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
|
+
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
+
credentialDefaultProvider: (input: any) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
|
+
defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
|
|
12
|
+
eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
|
|
13
|
+
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
14
|
+
region: string | import("@smithy/types").Provider<string>;
|
|
15
|
+
requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
|
|
16
|
+
updateHttpClientConfig(key: never, value: never): void;
|
|
17
|
+
httpHandlerConfigs(): {};
|
|
18
|
+
}) | RequestHandler;
|
|
19
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
20
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
21
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
22
|
+
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
23
|
+
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
24
|
+
apiVersion: string;
|
|
25
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
26
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
27
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
28
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
29
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
30
|
+
disableHostPrefix: boolean;
|
|
31
|
+
serviceId: string;
|
|
32
|
+
logger: import("@smithy/types").Logger;
|
|
33
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
34
|
+
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
35
|
+
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
36
|
+
logger?: import("@smithy/types").Logger | undefined;
|
|
37
|
+
}) => import("@smithy/types").EndpointV2;
|
|
38
|
+
tls?: boolean | undefined;
|
|
39
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
40
|
+
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").Provider<import("@smithy/types").AwsCredentialIdentity> | undefined;
|
|
41
|
+
signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined;
|
|
42
|
+
signingEscapePath?: boolean | undefined;
|
|
43
|
+
systemClockOffset?: number | undefined;
|
|
44
|
+
signingRegion?: string | undefined;
|
|
45
|
+
signerConstructor?: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | undefined;
|
|
46
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
47
|
+
};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { BedrockAgentRuntimeClientConfig } from "./BedrockAgentRuntimeClient";
|
|
2
|
+
/**
|
|
3
|
+
* @internal
|
|
4
|
+
*/
|
|
5
|
+
export declare const getRuntimeConfig: (config: BedrockAgentRuntimeClientConfig) => {
|
|
6
|
+
runtime: string;
|
|
7
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
8
|
+
requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
|
|
9
|
+
updateHttpClientConfig(key: never, value: never): void;
|
|
10
|
+
httpHandlerConfigs(): {};
|
|
11
|
+
}) | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
12
|
+
apiVersion: string;
|
|
13
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
14
|
+
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
15
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
16
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
17
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
18
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
19
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
20
|
+
disableHostPrefix: boolean;
|
|
21
|
+
serviceId: string;
|
|
22
|
+
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
23
|
+
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
24
|
+
region: string | import("@smithy/types").Provider<any>;
|
|
25
|
+
credentialDefaultProvider: (input: any) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
26
|
+
defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
|
|
27
|
+
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
28
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
29
|
+
logger: import("@smithy/types").Logger;
|
|
30
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
31
|
+
eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
|
|
32
|
+
defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
|
|
33
|
+
endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
|
|
34
|
+
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
35
|
+
logger?: import("@smithy/types").Logger | undefined;
|
|
36
|
+
}) => import("@smithy/types").EndpointV2;
|
|
37
|
+
tls?: boolean | undefined;
|
|
38
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
39
|
+
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").Provider<import("@smithy/types").AwsCredentialIdentity> | undefined;
|
|
40
|
+
signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined;
|
|
41
|
+
signingEscapePath?: boolean | undefined;
|
|
42
|
+
systemClockOffset?: number | undefined;
|
|
43
|
+
signingRegion?: string | undefined;
|
|
44
|
+
signerConstructor?: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | undefined;
|
|
45
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
46
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { BedrockAgentRuntimeClientConfig } from "./BedrockAgentRuntimeClient";
|
|
2
|
+
/**
|
|
3
|
+
* @internal
|
|
4
|
+
*/
|
|
5
|
+
export declare const getRuntimeConfig: (config: BedrockAgentRuntimeClientConfig) => {
|
|
6
|
+
apiVersion: string;
|
|
7
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
8
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
9
|
+
disableHostPrefix: boolean;
|
|
10
|
+
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
11
|
+
logger?: import("@smithy/types").Logger | undefined;
|
|
12
|
+
}) => import("@smithy/types").EndpointV2;
|
|
13
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
14
|
+
logger: import("@smithy/types").Logger;
|
|
15
|
+
serviceId: string;
|
|
16
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
17
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
18
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
19
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { BedrockAgentRuntimeExtensionConfiguration } from "./extensionConfiguration";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export interface RuntimeExtension {
|
|
6
|
+
configure(extensionConfiguration: BedrockAgentRuntimeExtensionConfiguration): void;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
export interface RuntimeExtensionsConfig {
|
|
12
|
+
extensions: RuntimeExtension[];
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @internal
|
|
16
|
+
*/
|
|
17
|
+
export declare const resolveRuntimeExtensions: (runtimeConfig: any, extensions: RuntimeExtension[]) => any;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
|
+
import { BedrockAgentRuntimeClient } from "./BedrockAgentRuntimeClient";
|
|
3
|
+
import {
|
|
4
|
+
InvokeAgentCommandInput,
|
|
5
|
+
InvokeAgentCommandOutput,
|
|
6
|
+
} from "./commands/InvokeAgentCommand";
|
|
7
|
+
import {
|
|
8
|
+
RetrieveAndGenerateCommandInput,
|
|
9
|
+
RetrieveAndGenerateCommandOutput,
|
|
10
|
+
} from "./commands/RetrieveAndGenerateCommand";
|
|
11
|
+
import {
|
|
12
|
+
RetrieveCommandInput,
|
|
13
|
+
RetrieveCommandOutput,
|
|
14
|
+
} from "./commands/RetrieveCommand";
|
|
15
|
+
export interface BedrockAgentRuntime {
|
|
16
|
+
invokeAgent(
|
|
17
|
+
args: InvokeAgentCommandInput,
|
|
18
|
+
options?: __HttpHandlerOptions
|
|
19
|
+
): Promise<InvokeAgentCommandOutput>;
|
|
20
|
+
invokeAgent(
|
|
21
|
+
args: InvokeAgentCommandInput,
|
|
22
|
+
cb: (err: any, data?: InvokeAgentCommandOutput) => void
|
|
23
|
+
): void;
|
|
24
|
+
invokeAgent(
|
|
25
|
+
args: InvokeAgentCommandInput,
|
|
26
|
+
options: __HttpHandlerOptions,
|
|
27
|
+
cb: (err: any, data?: InvokeAgentCommandOutput) => void
|
|
28
|
+
): void;
|
|
29
|
+
retrieve(
|
|
30
|
+
args: RetrieveCommandInput,
|
|
31
|
+
options?: __HttpHandlerOptions
|
|
32
|
+
): Promise<RetrieveCommandOutput>;
|
|
33
|
+
retrieve(
|
|
34
|
+
args: RetrieveCommandInput,
|
|
35
|
+
cb: (err: any, data?: RetrieveCommandOutput) => void
|
|
36
|
+
): void;
|
|
37
|
+
retrieve(
|
|
38
|
+
args: RetrieveCommandInput,
|
|
39
|
+
options: __HttpHandlerOptions,
|
|
40
|
+
cb: (err: any, data?: RetrieveCommandOutput) => void
|
|
41
|
+
): void;
|
|
42
|
+
retrieveAndGenerate(
|
|
43
|
+
args: RetrieveAndGenerateCommandInput,
|
|
44
|
+
options?: __HttpHandlerOptions
|
|
45
|
+
): Promise<RetrieveAndGenerateCommandOutput>;
|
|
46
|
+
retrieveAndGenerate(
|
|
47
|
+
args: RetrieveAndGenerateCommandInput,
|
|
48
|
+
cb: (err: any, data?: RetrieveAndGenerateCommandOutput) => void
|
|
49
|
+
): void;
|
|
50
|
+
retrieveAndGenerate(
|
|
51
|
+
args: RetrieveAndGenerateCommandInput,
|
|
52
|
+
options: __HttpHandlerOptions,
|
|
53
|
+
cb: (err: any, data?: RetrieveAndGenerateCommandOutput) => void
|
|
54
|
+
): void;
|
|
55
|
+
}
|
|
56
|
+
export declare class BedrockAgentRuntime
|
|
57
|
+
extends BedrockAgentRuntimeClient
|
|
58
|
+
implements BedrockAgentRuntime {}
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
import {
|
|
2
|
+
HostHeaderInputConfig,
|
|
3
|
+
HostHeaderResolvedConfig,
|
|
4
|
+
} from "@aws-sdk/middleware-host-header";
|
|
5
|
+
import {
|
|
6
|
+
AwsAuthInputConfig,
|
|
7
|
+
AwsAuthResolvedConfig,
|
|
8
|
+
} from "@aws-sdk/middleware-signing";
|
|
9
|
+
import {
|
|
10
|
+
UserAgentInputConfig,
|
|
11
|
+
UserAgentResolvedConfig,
|
|
12
|
+
} from "@aws-sdk/middleware-user-agent";
|
|
13
|
+
import { Credentials as __Credentials } from "@aws-sdk/types";
|
|
14
|
+
import {
|
|
15
|
+
RegionInputConfig,
|
|
16
|
+
RegionResolvedConfig,
|
|
17
|
+
} from "@smithy/config-resolver";
|
|
18
|
+
import {
|
|
19
|
+
EventStreamSerdeInputConfig,
|
|
20
|
+
EventStreamSerdeResolvedConfig,
|
|
21
|
+
} from "@smithy/eventstream-serde-config-resolver";
|
|
22
|
+
import {
|
|
23
|
+
EndpointInputConfig,
|
|
24
|
+
EndpointResolvedConfig,
|
|
25
|
+
} from "@smithy/middleware-endpoint";
|
|
26
|
+
import {
|
|
27
|
+
RetryInputConfig,
|
|
28
|
+
RetryResolvedConfig,
|
|
29
|
+
} from "@smithy/middleware-retry";
|
|
30
|
+
import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
|
|
31
|
+
import {
|
|
32
|
+
Client as __Client,
|
|
33
|
+
DefaultsMode as __DefaultsMode,
|
|
34
|
+
SmithyConfiguration as __SmithyConfiguration,
|
|
35
|
+
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
36
|
+
} from "@smithy/smithy-client";
|
|
37
|
+
import {
|
|
38
|
+
BodyLengthCalculator as __BodyLengthCalculator,
|
|
39
|
+
CheckOptionalClientConfig as __CheckOptionalClientConfig,
|
|
40
|
+
ChecksumConstructor as __ChecksumConstructor,
|
|
41
|
+
Decoder as __Decoder,
|
|
42
|
+
Encoder as __Encoder,
|
|
43
|
+
EventStreamSerdeProvider as __EventStreamSerdeProvider,
|
|
44
|
+
HashConstructor as __HashConstructor,
|
|
45
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
46
|
+
Logger as __Logger,
|
|
47
|
+
Provider as __Provider,
|
|
48
|
+
Provider,
|
|
49
|
+
StreamCollector as __StreamCollector,
|
|
50
|
+
UrlParser as __UrlParser,
|
|
51
|
+
UserAgent as __UserAgent,
|
|
52
|
+
} from "@smithy/types";
|
|
53
|
+
import {
|
|
54
|
+
InvokeAgentCommandInput,
|
|
55
|
+
InvokeAgentCommandOutput,
|
|
56
|
+
} from "./commands/InvokeAgentCommand";
|
|
57
|
+
import {
|
|
58
|
+
RetrieveAndGenerateCommandInput,
|
|
59
|
+
RetrieveAndGenerateCommandOutput,
|
|
60
|
+
} from "./commands/RetrieveAndGenerateCommand";
|
|
61
|
+
import {
|
|
62
|
+
RetrieveCommandInput,
|
|
63
|
+
RetrieveCommandOutput,
|
|
64
|
+
} from "./commands/RetrieveCommand";
|
|
65
|
+
import {
|
|
66
|
+
ClientInputEndpointParameters,
|
|
67
|
+
ClientResolvedEndpointParameters,
|
|
68
|
+
EndpointParameters,
|
|
69
|
+
} from "./endpoint/EndpointParameters";
|
|
70
|
+
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
71
|
+
export { __Client };
|
|
72
|
+
export type ServiceInputTypes =
|
|
73
|
+
| InvokeAgentCommandInput
|
|
74
|
+
| RetrieveAndGenerateCommandInput
|
|
75
|
+
| RetrieveCommandInput;
|
|
76
|
+
export type ServiceOutputTypes =
|
|
77
|
+
| InvokeAgentCommandOutput
|
|
78
|
+
| RetrieveAndGenerateCommandOutput
|
|
79
|
+
| RetrieveCommandOutput;
|
|
80
|
+
export interface ClientDefaults
|
|
81
|
+
extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
82
|
+
requestHandler?: __HttpHandler;
|
|
83
|
+
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
84
|
+
urlParser?: __UrlParser;
|
|
85
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
86
|
+
streamCollector?: __StreamCollector;
|
|
87
|
+
base64Decoder?: __Decoder;
|
|
88
|
+
base64Encoder?: __Encoder;
|
|
89
|
+
utf8Decoder?: __Decoder;
|
|
90
|
+
utf8Encoder?: __Encoder;
|
|
91
|
+
runtime?: string;
|
|
92
|
+
disableHostPrefix?: boolean;
|
|
93
|
+
serviceId?: string;
|
|
94
|
+
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
95
|
+
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
96
|
+
region?: string | __Provider<string>;
|
|
97
|
+
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
98
|
+
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
99
|
+
maxAttempts?: number | __Provider<number>;
|
|
100
|
+
retryMode?: string | __Provider<string>;
|
|
101
|
+
logger?: __Logger;
|
|
102
|
+
extensions?: RuntimeExtension[];
|
|
103
|
+
eventStreamSerdeProvider?: __EventStreamSerdeProvider;
|
|
104
|
+
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
105
|
+
}
|
|
106
|
+
export type BedrockAgentRuntimeClientConfigType = Partial<
|
|
107
|
+
__SmithyConfiguration<__HttpHandlerOptions>
|
|
108
|
+
> &
|
|
109
|
+
ClientDefaults &
|
|
110
|
+
RegionInputConfig &
|
|
111
|
+
EndpointInputConfig<EndpointParameters> &
|
|
112
|
+
RetryInputConfig &
|
|
113
|
+
HostHeaderInputConfig &
|
|
114
|
+
AwsAuthInputConfig &
|
|
115
|
+
UserAgentInputConfig &
|
|
116
|
+
EventStreamSerdeInputConfig &
|
|
117
|
+
ClientInputEndpointParameters;
|
|
118
|
+
export interface BedrockAgentRuntimeClientConfig
|
|
119
|
+
extends BedrockAgentRuntimeClientConfigType {}
|
|
120
|
+
export type BedrockAgentRuntimeClientResolvedConfigType =
|
|
121
|
+
__SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
122
|
+
Required<ClientDefaults> &
|
|
123
|
+
RuntimeExtensionsConfig &
|
|
124
|
+
RegionResolvedConfig &
|
|
125
|
+
EndpointResolvedConfig<EndpointParameters> &
|
|
126
|
+
RetryResolvedConfig &
|
|
127
|
+
HostHeaderResolvedConfig &
|
|
128
|
+
AwsAuthResolvedConfig &
|
|
129
|
+
UserAgentResolvedConfig &
|
|
130
|
+
EventStreamSerdeResolvedConfig &
|
|
131
|
+
ClientResolvedEndpointParameters;
|
|
132
|
+
export interface BedrockAgentRuntimeClientResolvedConfig
|
|
133
|
+
extends BedrockAgentRuntimeClientResolvedConfigType {}
|
|
134
|
+
export declare class BedrockAgentRuntimeClient extends __Client<
|
|
135
|
+
__HttpHandlerOptions,
|
|
136
|
+
ServiceInputTypes,
|
|
137
|
+
ServiceOutputTypes,
|
|
138
|
+
BedrockAgentRuntimeClientResolvedConfig
|
|
139
|
+
> {
|
|
140
|
+
readonly config: BedrockAgentRuntimeClientResolvedConfig;
|
|
141
|
+
constructor(
|
|
142
|
+
...[
|
|
143
|
+
configuration,
|
|
144
|
+
]: __CheckOptionalClientConfig<BedrockAgentRuntimeClientConfig>
|
|
145
|
+
);
|
|
146
|
+
destroy(): void;
|
|
147
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@smithy/types";
|
|
9
|
+
import {
|
|
10
|
+
BedrockAgentRuntimeClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../BedrockAgentRuntimeClient";
|
|
14
|
+
import { InvokeAgentRequest, InvokeAgentResponse } from "../models/models_0";
|
|
15
|
+
export { __MetadataBearer, $Command };
|
|
16
|
+
export interface InvokeAgentCommandInput extends InvokeAgentRequest {}
|
|
17
|
+
export interface InvokeAgentCommandOutput
|
|
18
|
+
extends InvokeAgentResponse,
|
|
19
|
+
__MetadataBearer {}
|
|
20
|
+
export declare class InvokeAgentCommand extends $Command<
|
|
21
|
+
InvokeAgentCommandInput,
|
|
22
|
+
InvokeAgentCommandOutput,
|
|
23
|
+
BedrockAgentRuntimeClientResolvedConfig
|
|
24
|
+
> {
|
|
25
|
+
readonly input: InvokeAgentCommandInput;
|
|
26
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
27
|
+
constructor(input: InvokeAgentCommandInput);
|
|
28
|
+
resolveMiddleware(
|
|
29
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
30
|
+
configuration: BedrockAgentRuntimeClientResolvedConfig,
|
|
31
|
+
options?: __HttpHandlerOptions
|
|
32
|
+
): Handler<InvokeAgentCommandInput, InvokeAgentCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@smithy/types";
|
|
9
|
+
import {
|
|
10
|
+
BedrockAgentRuntimeClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../BedrockAgentRuntimeClient";
|
|
14
|
+
import {
|
|
15
|
+
RetrieveAndGenerateRequest,
|
|
16
|
+
RetrieveAndGenerateResponse,
|
|
17
|
+
} from "../models/models_0";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
19
|
+
export interface RetrieveAndGenerateCommandInput
|
|
20
|
+
extends RetrieveAndGenerateRequest {}
|
|
21
|
+
export interface RetrieveAndGenerateCommandOutput
|
|
22
|
+
extends RetrieveAndGenerateResponse,
|
|
23
|
+
__MetadataBearer {}
|
|
24
|
+
export declare class RetrieveAndGenerateCommand extends $Command<
|
|
25
|
+
RetrieveAndGenerateCommandInput,
|
|
26
|
+
RetrieveAndGenerateCommandOutput,
|
|
27
|
+
BedrockAgentRuntimeClientResolvedConfig
|
|
28
|
+
> {
|
|
29
|
+
readonly input: RetrieveAndGenerateCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
+
constructor(input: RetrieveAndGenerateCommandInput);
|
|
32
|
+
resolveMiddleware(
|
|
33
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
34
|
+
configuration: BedrockAgentRuntimeClientResolvedConfig,
|
|
35
|
+
options?: __HttpHandlerOptions
|
|
36
|
+
): Handler<RetrieveAndGenerateCommandInput, RetrieveAndGenerateCommandOutput>;
|
|
37
|
+
private serialize;
|
|
38
|
+
private deserialize;
|
|
39
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@smithy/types";
|
|
9
|
+
import {
|
|
10
|
+
BedrockAgentRuntimeClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../BedrockAgentRuntimeClient";
|
|
14
|
+
import { RetrieveRequest, RetrieveResponse } from "../models/models_0";
|
|
15
|
+
export { __MetadataBearer, $Command };
|
|
16
|
+
export interface RetrieveCommandInput extends RetrieveRequest {}
|
|
17
|
+
export interface RetrieveCommandOutput
|
|
18
|
+
extends RetrieveResponse,
|
|
19
|
+
__MetadataBearer {}
|
|
20
|
+
export declare class RetrieveCommand extends $Command<
|
|
21
|
+
RetrieveCommandInput,
|
|
22
|
+
RetrieveCommandOutput,
|
|
23
|
+
BedrockAgentRuntimeClientResolvedConfig
|
|
24
|
+
> {
|
|
25
|
+
readonly input: RetrieveCommandInput;
|
|
26
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
27
|
+
constructor(input: RetrieveCommandInput);
|
|
28
|
+
resolveMiddleware(
|
|
29
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
30
|
+
configuration: BedrockAgentRuntimeClientResolvedConfig,
|
|
31
|
+
options?: __HttpHandlerOptions
|
|
32
|
+
): Handler<RetrieveCommandInput, RetrieveCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
2
|
+
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
3
|
+
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
|
+
export interface BedrockAgentRuntimeExtensionConfiguration
|
|
5
|
+
extends HttpHandlerExtensionConfiguration,
|
|
6
|
+
DefaultExtensionConfiguration,
|
|
7
|
+
AwsRegionExtensionConfiguration {}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * from "./BedrockAgentRuntimeClient";
|
|
2
|
+
export * from "./BedrockAgentRuntime";
|
|
3
|
+
export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
4
|
+
export { RuntimeExtension } from "./runtimeExtensions";
|
|
5
|
+
export { BedrockAgentRuntimeExtensionConfiguration } from "./extensionConfiguration";
|
|
6
|
+
export * from "./commands";
|
|
7
|
+
export * from "./pagination";
|
|
8
|
+
export * from "./models";
|
|
9
|
+
import "@aws-sdk/util-endpoints";
|
|
10
|
+
export { BedrockAgentRuntimeServiceException } from "./models/BedrockAgentRuntimeServiceException";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ServiceException as __ServiceException,
|
|
3
|
+
ServiceExceptionOptions as __ServiceExceptionOptions,
|
|
4
|
+
} from "@smithy/smithy-client";
|
|
5
|
+
export { __ServiceException, __ServiceExceptionOptions };
|
|
6
|
+
export declare class BedrockAgentRuntimeServiceException extends __ServiceException {
|
|
7
|
+
constructor(options: __ServiceExceptionOptions);
|
|
8
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./models_0";
|