@aws-sdk/client-bedrock 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 (82) hide show
  1. package/README.md +40 -0
  2. package/dist-cjs/Bedrock.js +10 -0
  3. package/dist-cjs/commands/CreateProvisionedModelThroughputCommand.js +51 -0
  4. package/dist-cjs/commands/DeleteProvisionedModelThroughputCommand.js +51 -0
  5. package/dist-cjs/commands/GetProvisionedModelThroughputCommand.js +51 -0
  6. package/dist-cjs/commands/ListProvisionedModelThroughputsCommand.js +51 -0
  7. package/dist-cjs/commands/UpdateProvisionedModelThroughputCommand.js +51 -0
  8. package/dist-cjs/commands/index.js +5 -0
  9. package/dist-cjs/models/models_0.js +25 -12
  10. package/dist-cjs/pagination/ListProvisionedModelThroughputsPaginator.js +29 -0
  11. package/dist-cjs/pagination/index.js +1 -0
  12. package/dist-cjs/protocols/Aws_restJson1.js +386 -1
  13. package/dist-es/Bedrock.js +10 -0
  14. package/dist-es/commands/CreateProvisionedModelThroughputCommand.js +47 -0
  15. package/dist-es/commands/DeleteProvisionedModelThroughputCommand.js +47 -0
  16. package/dist-es/commands/GetProvisionedModelThroughputCommand.js +47 -0
  17. package/dist-es/commands/ListProvisionedModelThroughputsCommand.js +47 -0
  18. package/dist-es/commands/UpdateProvisionedModelThroughputCommand.js +47 -0
  19. package/dist-es/commands/index.js +5 -0
  20. package/dist-es/models/models_0.js +22 -9
  21. package/dist-es/pagination/ListProvisionedModelThroughputsPaginator.js +25 -0
  22. package/dist-es/pagination/index.js +1 -0
  23. package/dist-es/protocols/Aws_restJson1.js +376 -1
  24. package/dist-types/Bedrock.d.ts +35 -0
  25. package/dist-types/BedrockClient.d.ts +7 -2
  26. package/dist-types/commands/CreateModelCustomizationJobCommand.d.ts +8 -8
  27. package/dist-types/commands/CreateProvisionedModelThroughputCommand.d.ts +106 -0
  28. package/dist-types/commands/DeleteProvisionedModelThroughputCommand.d.ts +89 -0
  29. package/dist-types/commands/GetModelCustomizationJobCommand.d.ts +1 -1
  30. package/dist-types/commands/GetProvisionedModelThroughputCommand.d.ts +100 -0
  31. package/dist-types/commands/ListModelCustomizationJobsCommand.d.ts +1 -1
  32. package/dist-types/commands/ListProvisionedModelThroughputsCommand.d.ts +109 -0
  33. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  34. package/dist-types/commands/UpdateProvisionedModelThroughputCommand.d.ts +88 -0
  35. package/dist-types/commands/index.d.ts +5 -0
  36. package/dist-types/models/models_0.d.ts +370 -36
  37. package/dist-types/pagination/ListProvisionedModelThroughputsPaginator.d.ts +7 -0
  38. package/dist-types/pagination/index.d.ts +1 -0
  39. package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
  40. package/dist-types/ts3.4/Bedrock.d.ts +363 -115
  41. package/dist-types/ts3.4/BedrockClient.d.ts +238 -182
  42. package/dist-types/ts3.4/commands/CreateModelCustomizationJobCommand.d.ts +42 -149
  43. package/dist-types/ts3.4/commands/CreateProvisionedModelThroughputCommand.d.ts +42 -0
  44. package/dist-types/ts3.4/commands/DeleteCustomModelCommand.d.ts +39 -89
  45. package/dist-types/ts3.4/commands/DeleteModelInvocationLoggingConfigurationCommand.d.ts +42 -78
  46. package/dist-types/ts3.4/commands/DeleteProvisionedModelThroughputCommand.d.ts +42 -0
  47. package/dist-types/ts3.4/commands/GetCustomModelCommand.d.ts +38 -118
  48. package/dist-types/ts3.4/commands/GetFoundationModelCommand.d.ts +39 -106
  49. package/dist-types/ts3.4/commands/GetModelCustomizationJobCommand.d.ts +42 -133
  50. package/dist-types/ts3.4/commands/GetModelInvocationLoggingConfigurationCommand.d.ts +42 -96
  51. package/dist-types/ts3.4/commands/GetProvisionedModelThroughputCommand.d.ts +42 -0
  52. package/dist-types/ts3.4/commands/ListCustomModelsCommand.d.ts +38 -103
  53. package/dist-types/ts3.4/commands/ListFoundationModelsCommand.d.ts +42 -108
  54. package/dist-types/ts3.4/commands/ListModelCustomizationJobsCommand.d.ts +42 -107
  55. package/dist-types/ts3.4/commands/ListProvisionedModelThroughputsCommand.d.ts +42 -0
  56. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -94
  57. package/dist-types/ts3.4/commands/PutModelInvocationLoggingConfigurationCommand.d.ts +42 -99
  58. package/dist-types/ts3.4/commands/StopModelCustomizationJobCommand.d.ts +42 -89
  59. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +35 -96
  60. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +38 -89
  61. package/dist-types/ts3.4/commands/UpdateProvisionedModelThroughputCommand.d.ts +42 -0
  62. package/dist-types/ts3.4/commands/index.d.ts +20 -15
  63. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +33 -22
  64. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -5
  65. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -2
  66. package/dist-types/ts3.4/extensionConfiguration.d.ts +7 -8
  67. package/dist-types/ts3.4/index.d.ts +7 -12
  68. package/dist-types/ts3.4/models/BedrockServiceException.d.ts +8 -13
  69. package/dist-types/ts3.4/models/index.d.ts +1 -1
  70. package/dist-types/ts3.4/models/models_0.d.ts +412 -1144
  71. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -8
  72. package/dist-types/ts3.4/pagination/ListCustomModelsPaginator.d.ts +11 -7
  73. package/dist-types/ts3.4/pagination/ListModelCustomizationJobsPaginator.d.ts +11 -7
  74. package/dist-types/ts3.4/pagination/ListProvisionedModelThroughputsPaginator.d.ts +11 -0
  75. package/dist-types/ts3.4/pagination/index.d.ts +4 -3
  76. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +245 -137
  77. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +97 -46
  78. package/dist-types/ts3.4/runtimeConfig.d.ts +97 -46
  79. package/dist-types/ts3.4/runtimeConfig.native.d.ts +88 -45
  80. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +19 -19
  81. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -17
  82. package/package.json +3 -3
@@ -1,46 +1,97 @@
1
- import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
2
- import { BedrockClientConfig } from "./BedrockClient";
3
- /**
4
- * @internal
5
- */
6
- export declare const getRuntimeConfig: (config: BedrockClientConfig) => {
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
- maxAttempts: number | import("@smithy/types").Provider<number>;
13
- region: string | import("@smithy/types").Provider<string>;
14
- 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> & {
15
- updateHttpClientConfig(key: never, value: never): void;
16
- httpHandlerConfigs(): {};
17
- }) | RequestHandler;
18
- retryMode: string | import("@smithy/types").Provider<string>;
19
- sha256: import("@smithy/types").HashConstructor;
20
- streamCollector: import("@smithy/types").StreamCollector;
21
- useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
22
- useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
23
- apiVersion: string;
24
- urlParser: import("@smithy/types").UrlParser;
25
- base64Decoder: import("@smithy/types").Decoder;
26
- base64Encoder: import("@smithy/types").Encoder;
27
- utf8Decoder: import("@smithy/types").Decoder;
28
- utf8Encoder: import("@smithy/types").Encoder;
29
- disableHostPrefix: boolean;
30
- serviceId: string;
31
- logger: import("@smithy/types").Logger;
32
- extensions: import("./runtimeExtensions").RuntimeExtension[];
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>) & (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;
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 { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
2
+ import { BedrockClientConfig } from "./BedrockClient";
3
+ export declare const getRuntimeConfig: (config: BedrockClientConfig) => {
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
+ maxAttempts: number | import("@smithy/types").Provider<number>;
16
+ region: string | import("@smithy/types").Provider<string>;
17
+ requestHandler:
18
+ | (import("@smithy/types").RequestHandler<
19
+ any,
20
+ any,
21
+ import("@smithy/types").HttpHandlerOptions
22
+ > &
23
+ import("@smithy/types").RequestHandler<
24
+ import("@smithy/protocol-http").HttpRequest,
25
+ import("@smithy/protocol-http").HttpResponse,
26
+ import("@smithy/types").HttpHandlerOptions
27
+ > & {
28
+ updateHttpClientConfig(key: never, value: never): void;
29
+ httpHandlerConfigs(): {};
30
+ })
31
+ | RequestHandler;
32
+ retryMode: string | import("@smithy/types").Provider<string>;
33
+ sha256: import("@smithy/types").HashConstructor;
34
+ streamCollector: import("@smithy/types").StreamCollector;
35
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
36
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
37
+ apiVersion: string;
38
+ urlParser: import("@smithy/types").UrlParser;
39
+ base64Decoder: import("@smithy/types").Decoder;
40
+ base64Encoder: import("@smithy/types").Encoder;
41
+ utf8Decoder: import("@smithy/types").Decoder;
42
+ utf8Encoder: import("@smithy/types").Encoder;
43
+ disableHostPrefix: boolean;
44
+ serviceId: string;
45
+ logger: import("@smithy/types").Logger;
46
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
47
+ endpoint?:
48
+ | ((
49
+ | string
50
+ | import("@smithy/types").Endpoint
51
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
52
+ | import("@smithy/types").EndpointV2
53
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
54
+ ) &
55
+ (
56
+ | string
57
+ | import("@smithy/types").Provider<string>
58
+ | import("@smithy/types").Endpoint
59
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
60
+ | import("@smithy/types").EndpointV2
61
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
62
+ ))
63
+ | undefined;
64
+ endpointProvider: (
65
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
66
+ context?: {
67
+ logger?: import("@smithy/types").Logger | undefined;
68
+ }
69
+ ) => import("@smithy/types").EndpointV2;
70
+ tls?: boolean | undefined;
71
+ retryStrategy?:
72
+ | import("@smithy/types").RetryStrategy
73
+ | import("@smithy/types").RetryStrategyV2
74
+ | undefined;
75
+ credentials?:
76
+ | import("@smithy/types").AwsCredentialIdentity
77
+ | import("@smithy/types").Provider<
78
+ import("@smithy/types").AwsCredentialIdentity
79
+ >
80
+ | undefined;
81
+ signer?:
82
+ | import("@smithy/types").RequestSigner
83
+ | ((
84
+ authScheme?: import("@smithy/types").AuthScheme | undefined
85
+ ) => Promise<import("@smithy/types").RequestSigner>)
86
+ | undefined;
87
+ signingEscapePath?: boolean | undefined;
88
+ systemClockOffset?: number | undefined;
89
+ signingRegion?: string | undefined;
90
+ signerConstructor?:
91
+ | (new (
92
+ options: import("@smithy/signature-v4").SignatureV4Init &
93
+ import("@smithy/signature-v4").SignatureV4CryptoInit
94
+ ) => import("@smithy/types").RequestSigner)
95
+ | undefined;
96
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
97
+ };
@@ -1,45 +1,88 @@
1
- import { BedrockClientConfig } from "./BedrockClient";
2
- /**
3
- * @internal
4
- */
5
- export declare const getRuntimeConfig: (config: BedrockClientConfig) => {
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
- defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
32
- 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;
33
- endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
34
- logger?: import("@smithy/types").Logger | undefined;
35
- }) => import("@smithy/types").EndpointV2;
36
- tls?: boolean | undefined;
37
- retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
38
- credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").Provider<import("@smithy/types").AwsCredentialIdentity> | undefined;
39
- signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined;
40
- signingEscapePath?: boolean | undefined;
41
- systemClockOffset?: number | undefined;
42
- signingRegion?: string | undefined;
43
- signerConstructor?: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | undefined;
44
- customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
45
- };
1
+ import { BedrockClientConfig } from "./BedrockClient";
2
+ export declare const getRuntimeConfig: (config: BedrockClientConfig) => {
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
+ defaultsMode:
44
+ | import("@smithy/smithy-client").DefaultsMode
45
+ | import("@smithy/types").Provider<
46
+ import("@smithy/smithy-client").DefaultsMode
47
+ >;
48
+ endpoint?:
49
+ | string
50
+ | import("@smithy/types").Endpoint
51
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
52
+ | import("@smithy/types").EndpointV2
53
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
54
+ | undefined;
55
+ endpointProvider: (
56
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
57
+ context?: {
58
+ logger?: import("@smithy/types").Logger | undefined;
59
+ }
60
+ ) => import("@smithy/types").EndpointV2;
61
+ tls?: boolean | undefined;
62
+ retryStrategy?:
63
+ | import("@smithy/types").RetryStrategy
64
+ | import("@smithy/types").RetryStrategyV2
65
+ | undefined;
66
+ credentials?:
67
+ | import("@smithy/types").AwsCredentialIdentity
68
+ | import("@smithy/types").Provider<
69
+ import("@smithy/types").AwsCredentialIdentity
70
+ >
71
+ | undefined;
72
+ signer?:
73
+ | import("@smithy/types").RequestSigner
74
+ | ((
75
+ authScheme?: import("@smithy/types").AuthScheme | undefined
76
+ ) => Promise<import("@smithy/types").RequestSigner>)
77
+ | undefined;
78
+ signingEscapePath?: boolean | undefined;
79
+ systemClockOffset?: number | undefined;
80
+ signingRegion?: string | undefined;
81
+ signerConstructor?:
82
+ | (new (
83
+ options: import("@smithy/signature-v4").SignatureV4Init &
84
+ import("@smithy/signature-v4").SignatureV4CryptoInit
85
+ ) => import("@smithy/types").RequestSigner)
86
+ | undefined;
87
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
88
+ };
@@ -1,19 +1,19 @@
1
- import { BedrockClientConfig } from "./BedrockClient";
2
- /**
3
- * @internal
4
- */
5
- export declare const getRuntimeConfig: (config: BedrockClientConfig) => {
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 { BedrockClientConfig } from "./BedrockClient";
2
+ export declare const getRuntimeConfig: (config: BedrockClientConfig) => {
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 { BedrockExtensionConfiguration } from "./extensionConfiguration";
2
- /**
3
- * @public
4
- */
5
- export interface RuntimeExtension {
6
- configure(extensionConfiguration: BedrockExtensionConfiguration): 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 { BedrockExtensionConfiguration } from "./extensionConfiguration";
2
+ export interface RuntimeExtension {
3
+ configure(extensionConfiguration: BedrockExtensionConfiguration): 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",
3
3
  "description": "AWS SDK for JavaScript Bedrock 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",