@aws-sdk/client-bedrock-runtime 3.422.1 → 3.423.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 (27) 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/commands/InvokeModelCommand.d.ts +1 -1
  6. package/dist-types/commands/InvokeModelWithResponseStreamCommand.d.ts +4 -1
  7. package/dist-types/models/models_0.d.ts +21 -1
  8. package/dist-types/ts3.4/BedrockRuntime.d.ts +41 -24
  9. package/dist-types/ts3.4/BedrockRuntimeClient.d.ts +139 -174
  10. package/dist-types/ts3.4/commands/InvokeModelCommand.d.ts +49 -120
  11. package/dist-types/ts3.4/commands/InvokeModelWithResponseStreamCommand.d.ts +49 -134
  12. package/dist-types/ts3.4/commands/index.d.ts +2 -2
  13. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +33 -22
  14. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -5
  15. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -2
  16. package/dist-types/ts3.4/extensionConfiguration.d.ts +7 -8
  17. package/dist-types/ts3.4/index.d.ts +6 -11
  18. package/dist-types/ts3.4/models/BedrockRuntimeServiceException.d.ts +8 -13
  19. package/dist-types/ts3.4/models/index.d.ts +1 -1
  20. package/dist-types/ts3.4/models/models_0.d.ts +198 -355
  21. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +32 -20
  22. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +98 -47
  23. package/dist-types/ts3.4/runtimeConfig.d.ts +98 -47
  24. package/dist-types/ts3.4/runtimeConfig.native.d.ts +89 -46
  25. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +19 -19
  26. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -17
  27. package/package.json +3 -3
@@ -1,47 +1,98 @@
1
- import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
2
- import { BedrockRuntimeClientConfig } from "./BedrockRuntimeClient";
3
- /**
4
- * @internal
5
- */
6
- export declare const getRuntimeConfig: (config: BedrockRuntimeClientConfig) => {
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
- };
1
+ import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
2
+ import { BedrockRuntimeClientConfig } from "./BedrockRuntimeClient";
3
+ export declare const getRuntimeConfig: (config: BedrockRuntimeClientConfig) => {
4
+ runtime: string;
5
+ defaultsMode: import("@smithy/types").Provider<
6
+ import("@smithy/smithy-client").ResolvedDefaultsMode
7
+ >;
8
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
+ credentialDefaultProvider: (
10
+ input: any
11
+ ) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
12
+ defaultUserAgentProvider: import("@smithy/types").Provider<
13
+ import("@smithy/types").UserAgent
14
+ >;
15
+ eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
16
+ maxAttempts: number | import("@smithy/types").Provider<number>;
17
+ region: string | import("@smithy/types").Provider<any>;
18
+ requestHandler:
19
+ | (import("@smithy/types").RequestHandler<
20
+ any,
21
+ any,
22
+ import("@smithy/types").HttpHandlerOptions
23
+ > &
24
+ import("@smithy/types").RequestHandler<
25
+ import("@smithy/protocol-http").HttpRequest,
26
+ import("@smithy/protocol-http").HttpResponse,
27
+ import("@smithy/types").HttpHandlerOptions
28
+ > & {
29
+ updateHttpClientConfig(key: never, value: never): void;
30
+ httpHandlerConfigs(): {};
31
+ })
32
+ | RequestHandler;
33
+ retryMode: string | import("@smithy/types").Provider<string>;
34
+ sha256: import("@smithy/types").HashConstructor;
35
+ streamCollector: import("@smithy/types").StreamCollector;
36
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
37
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
38
+ apiVersion: string;
39
+ urlParser: import("@smithy/types").UrlParser;
40
+ base64Decoder: import("@smithy/types").Decoder;
41
+ base64Encoder: import("@smithy/types").Encoder;
42
+ utf8Decoder: import("@smithy/types").Decoder;
43
+ utf8Encoder: import("@smithy/types").Encoder;
44
+ disableHostPrefix: boolean;
45
+ serviceId: string;
46
+ logger: import("@smithy/types").Logger;
47
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
48
+ endpoint?:
49
+ | ((
50
+ | string
51
+ | import("@smithy/types").Endpoint
52
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
53
+ | import("@smithy/types").EndpointV2
54
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
55
+ ) &
56
+ (
57
+ | string
58
+ | import("@smithy/types").Provider<string>
59
+ | import("@smithy/types").Endpoint
60
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
61
+ | import("@smithy/types").EndpointV2
62
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
63
+ ))
64
+ | undefined;
65
+ endpointProvider: (
66
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
67
+ context?: {
68
+ logger?: import("@smithy/types").Logger | undefined;
69
+ }
70
+ ) => import("@smithy/types").EndpointV2;
71
+ tls?: boolean | undefined;
72
+ retryStrategy?:
73
+ | import("@smithy/types").RetryStrategy
74
+ | import("@smithy/types").RetryStrategyV2
75
+ | undefined;
76
+ credentials?:
77
+ | import("@smithy/types").AwsCredentialIdentity
78
+ | import("@smithy/types").Provider<
79
+ import("@smithy/types").AwsCredentialIdentity
80
+ >
81
+ | undefined;
82
+ signer?:
83
+ | import("@smithy/types").RequestSigner
84
+ | ((
85
+ authScheme?: import("@smithy/types").AuthScheme | undefined
86
+ ) => Promise<import("@smithy/types").RequestSigner>)
87
+ | undefined;
88
+ signingEscapePath?: boolean | undefined;
89
+ systemClockOffset?: number | undefined;
90
+ signingRegion?: string | undefined;
91
+ signerConstructor?:
92
+ | (new (
93
+ options: import("@smithy/signature-v4").SignatureV4Init &
94
+ import("@smithy/signature-v4").SignatureV4CryptoInit
95
+ ) => import("@smithy/types").RequestSigner)
96
+ | undefined;
97
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
98
+ };
@@ -1,47 +1,98 @@
1
- import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
2
- import { BedrockRuntimeClientConfig } from "./BedrockRuntimeClient";
3
- /**
4
- * @internal
5
- */
6
- export declare const getRuntimeConfig: (config: BedrockRuntimeClientConfig) => {
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
- };
1
+ import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
2
+ import { BedrockRuntimeClientConfig } from "./BedrockRuntimeClient";
3
+ export declare const getRuntimeConfig: (config: BedrockRuntimeClientConfig) => {
4
+ runtime: string;
5
+ defaultsMode: import("@smithy/types").Provider<
6
+ import("@smithy/smithy-client").ResolvedDefaultsMode
7
+ >;
8
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
+ credentialDefaultProvider: (
10
+ input: any
11
+ ) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
12
+ defaultUserAgentProvider: import("@smithy/types").Provider<
13
+ import("@smithy/types").UserAgent
14
+ >;
15
+ eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
16
+ maxAttempts: number | import("@smithy/types").Provider<number>;
17
+ region: string | import("@smithy/types").Provider<string>;
18
+ requestHandler:
19
+ | (import("@smithy/types").RequestHandler<
20
+ any,
21
+ any,
22
+ import("@smithy/types").HttpHandlerOptions
23
+ > &
24
+ import("@smithy/types").RequestHandler<
25
+ import("@smithy/protocol-http").HttpRequest,
26
+ import("@smithy/protocol-http").HttpResponse,
27
+ import("@smithy/types").HttpHandlerOptions
28
+ > & {
29
+ updateHttpClientConfig(key: never, value: never): void;
30
+ httpHandlerConfigs(): {};
31
+ })
32
+ | RequestHandler;
33
+ retryMode: string | import("@smithy/types").Provider<string>;
34
+ sha256: import("@smithy/types").HashConstructor;
35
+ streamCollector: import("@smithy/types").StreamCollector;
36
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
37
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
38
+ apiVersion: string;
39
+ urlParser: import("@smithy/types").UrlParser;
40
+ base64Decoder: import("@smithy/types").Decoder;
41
+ base64Encoder: import("@smithy/types").Encoder;
42
+ utf8Decoder: import("@smithy/types").Decoder;
43
+ utf8Encoder: import("@smithy/types").Encoder;
44
+ disableHostPrefix: boolean;
45
+ serviceId: string;
46
+ logger: import("@smithy/types").Logger;
47
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
48
+ endpoint?:
49
+ | ((
50
+ | string
51
+ | import("@smithy/types").Endpoint
52
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
53
+ | import("@smithy/types").EndpointV2
54
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
55
+ ) &
56
+ (
57
+ | string
58
+ | import("@smithy/types").Provider<string>
59
+ | import("@smithy/types").Endpoint
60
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
61
+ | import("@smithy/types").EndpointV2
62
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
63
+ ))
64
+ | undefined;
65
+ endpointProvider: (
66
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
67
+ context?: {
68
+ logger?: import("@smithy/types").Logger | undefined;
69
+ }
70
+ ) => import("@smithy/types").EndpointV2;
71
+ tls?: boolean | undefined;
72
+ retryStrategy?:
73
+ | import("@smithy/types").RetryStrategy
74
+ | import("@smithy/types").RetryStrategyV2
75
+ | undefined;
76
+ credentials?:
77
+ | import("@smithy/types").AwsCredentialIdentity
78
+ | import("@smithy/types").Provider<
79
+ import("@smithy/types").AwsCredentialIdentity
80
+ >
81
+ | undefined;
82
+ signer?:
83
+ | import("@smithy/types").RequestSigner
84
+ | ((
85
+ authScheme?: import("@smithy/types").AuthScheme | undefined
86
+ ) => Promise<import("@smithy/types").RequestSigner>)
87
+ | undefined;
88
+ signingEscapePath?: boolean | undefined;
89
+ systemClockOffset?: number | undefined;
90
+ signingRegion?: string | undefined;
91
+ signerConstructor?:
92
+ | (new (
93
+ options: import("@smithy/signature-v4").SignatureV4Init &
94
+ import("@smithy/signature-v4").SignatureV4CryptoInit
95
+ ) => import("@smithy/types").RequestSigner)
96
+ | undefined;
97
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
98
+ };
@@ -1,46 +1,89 @@
1
- import { BedrockRuntimeClientConfig } from "./BedrockRuntimeClient";
2
- /**
3
- * @internal
4
- */
5
- export declare const getRuntimeConfig: (config: BedrockRuntimeClientConfig) => {
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
- };
1
+ import { BedrockRuntimeClientConfig } from "./BedrockRuntimeClient";
2
+ export declare const getRuntimeConfig: (config: BedrockRuntimeClientConfig) => {
3
+ runtime: string;
4
+ sha256: import("@smithy/types").HashConstructor;
5
+ requestHandler:
6
+ | (import("@smithy/types").RequestHandler<
7
+ any,
8
+ any,
9
+ import("@smithy/types").HttpHandlerOptions
10
+ > &
11
+ import("@smithy/types").RequestHandler<
12
+ import("@smithy/protocol-http").HttpRequest,
13
+ import("@smithy/protocol-http").HttpResponse,
14
+ import("@smithy/types").HttpHandlerOptions
15
+ > & {
16
+ updateHttpClientConfig(key: never, value: never): void;
17
+ httpHandlerConfigs(): {};
18
+ })
19
+ | import("@smithy/fetch-http-handler").FetchHttpHandler;
20
+ apiVersion: string;
21
+ urlParser: import("@smithy/types").UrlParser;
22
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
23
+ streamCollector: import("@smithy/types").StreamCollector;
24
+ base64Decoder: import("@smithy/types").Decoder;
25
+ base64Encoder: import("@smithy/types").Encoder;
26
+ utf8Decoder: import("@smithy/types").Decoder;
27
+ utf8Encoder: import("@smithy/types").Encoder;
28
+ disableHostPrefix: boolean;
29
+ serviceId: string;
30
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
31
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
32
+ region: string | import("@smithy/types").Provider<any>;
33
+ credentialDefaultProvider: (
34
+ input: any
35
+ ) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
36
+ defaultUserAgentProvider: import("@smithy/types").Provider<
37
+ import("@smithy/types").UserAgent
38
+ >;
39
+ maxAttempts: number | import("@smithy/types").Provider<number>;
40
+ retryMode: string | import("@smithy/types").Provider<string>;
41
+ logger: import("@smithy/types").Logger;
42
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
43
+ eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
44
+ defaultsMode:
45
+ | import("@smithy/smithy-client").DefaultsMode
46
+ | import("@smithy/types").Provider<
47
+ import("@smithy/smithy-client").DefaultsMode
48
+ >;
49
+ endpoint?:
50
+ | string
51
+ | import("@smithy/types").Endpoint
52
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
53
+ | import("@smithy/types").EndpointV2
54
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
55
+ | undefined;
56
+ endpointProvider: (
57
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
58
+ context?: {
59
+ logger?: import("@smithy/types").Logger | undefined;
60
+ }
61
+ ) => import("@smithy/types").EndpointV2;
62
+ tls?: boolean | undefined;
63
+ retryStrategy?:
64
+ | import("@smithy/types").RetryStrategy
65
+ | import("@smithy/types").RetryStrategyV2
66
+ | undefined;
67
+ credentials?:
68
+ | import("@smithy/types").AwsCredentialIdentity
69
+ | import("@smithy/types").Provider<
70
+ import("@smithy/types").AwsCredentialIdentity
71
+ >
72
+ | undefined;
73
+ signer?:
74
+ | import("@smithy/types").RequestSigner
75
+ | ((
76
+ authScheme?: import("@smithy/types").AuthScheme | undefined
77
+ ) => Promise<import("@smithy/types").RequestSigner>)
78
+ | undefined;
79
+ signingEscapePath?: boolean | undefined;
80
+ systemClockOffset?: number | undefined;
81
+ signingRegion?: string | undefined;
82
+ signerConstructor?:
83
+ | (new (
84
+ options: import("@smithy/signature-v4").SignatureV4Init &
85
+ import("@smithy/signature-v4").SignatureV4CryptoInit
86
+ ) => import("@smithy/types").RequestSigner)
87
+ | undefined;
88
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
89
+ };
@@ -1,19 +1,19 @@
1
- import { BedrockRuntimeClientConfig } from "./BedrockRuntimeClient";
2
- /**
3
- * @internal
4
- */
5
- export declare const getRuntimeConfig: (config: BedrockRuntimeClientConfig) => {
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
- };
1
+ import { BedrockRuntimeClientConfig } from "./BedrockRuntimeClient";
2
+ export declare const getRuntimeConfig: (config: BedrockRuntimeClientConfig) => {
3
+ apiVersion: string;
4
+ base64Decoder: import("@smithy/types").Decoder;
5
+ base64Encoder: import("@smithy/types").Encoder;
6
+ disableHostPrefix: boolean;
7
+ endpointProvider: (
8
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
9
+ context?: {
10
+ logger?: import("@smithy/types").Logger | undefined;
11
+ }
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
+ };
@@ -1,17 +1,11 @@
1
- import { BedrockRuntimeExtensionConfiguration } from "./extensionConfiguration";
2
- /**
3
- * @public
4
- */
5
- export interface RuntimeExtension {
6
- configure(extensionConfiguration: BedrockRuntimeExtensionConfiguration): 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;
1
+ import { BedrockRuntimeExtensionConfiguration } from "./extensionConfiguration";
2
+ export interface RuntimeExtension {
3
+ configure(extensionConfiguration: BedrockRuntimeExtensionConfiguration): void;
4
+ }
5
+ export interface RuntimeExtensionsConfig {
6
+ extensions: RuntimeExtension[];
7
+ }
8
+ export declare const resolveRuntimeExtensions: (
9
+ runtimeConfig: any,
10
+ extensions: RuntimeExtension[]
11
+ ) => any;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-bedrock-runtime",
3
3
  "description": "AWS SDK for JavaScript Bedrock Runtime Client for Node.js, Browser and React Native",
4
- "version": "3.422.1",
4
+ "version": "3.423.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,8 +21,8 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.421.0",
25
- "@aws-sdk/credential-provider-node": "3.421.0",
24
+ "@aws-sdk/client-sts": "3.423.0",
25
+ "@aws-sdk/credential-provider-node": "3.423.0",
26
26
  "@aws-sdk/middleware-host-header": "3.418.0",
27
27
  "@aws-sdk/middleware-logger": "3.418.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.418.0",