@aws-sdk/client-bedrock 3.952.0 → 3.953.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +1720 -1206
- package/dist-cjs/runtimeConfig.shared.js +6 -1
- package/dist-es/commands/BatchDeleteEvaluationJobCommand.js +2 -2
- package/dist-es/commands/CancelAutomatedReasoningPolicyBuildWorkflowCommand.js +2 -2
- package/dist-es/commands/CreateAutomatedReasoningPolicyCommand.js +2 -2
- package/dist-es/commands/CreateAutomatedReasoningPolicyTestCaseCommand.js +2 -2
- package/dist-es/commands/CreateAutomatedReasoningPolicyVersionCommand.js +2 -2
- package/dist-es/commands/CreateCustomModelCommand.js +2 -2
- package/dist-es/commands/CreateCustomModelDeploymentCommand.js +2 -2
- package/dist-es/commands/CreateEvaluationJobCommand.js +2 -2
- package/dist-es/commands/CreateFoundationModelAgreementCommand.js +2 -2
- package/dist-es/commands/CreateGuardrailCommand.js +2 -2
- package/dist-es/commands/CreateGuardrailVersionCommand.js +2 -2
- package/dist-es/commands/CreateInferenceProfileCommand.js +2 -2
- package/dist-es/commands/CreateMarketplaceModelEndpointCommand.js +2 -2
- package/dist-es/commands/CreateModelCopyJobCommand.js +2 -2
- package/dist-es/commands/CreateModelCustomizationJobCommand.js +2 -2
- package/dist-es/commands/CreateModelImportJobCommand.js +2 -2
- package/dist-es/commands/CreateModelInvocationJobCommand.js +2 -2
- package/dist-es/commands/CreatePromptRouterCommand.js +2 -2
- package/dist-es/commands/CreateProvisionedModelThroughputCommand.js +2 -2
- package/dist-es/commands/DeleteAutomatedReasoningPolicyBuildWorkflowCommand.js +2 -2
- package/dist-es/commands/DeleteAutomatedReasoningPolicyCommand.js +2 -2
- package/dist-es/commands/DeleteAutomatedReasoningPolicyTestCaseCommand.js +2 -2
- package/dist-es/commands/DeleteCustomModelCommand.js +2 -2
- package/dist-es/commands/DeleteCustomModelDeploymentCommand.js +2 -2
- package/dist-es/commands/DeleteEnforcedGuardrailConfigurationCommand.js +2 -2
- package/dist-es/commands/DeleteFoundationModelAgreementCommand.js +2 -2
- package/dist-es/commands/DeleteGuardrailCommand.js +2 -2
- package/dist-es/commands/DeleteImportedModelCommand.js +2 -2
- package/dist-es/commands/DeleteInferenceProfileCommand.js +2 -2
- package/dist-es/commands/DeleteMarketplaceModelEndpointCommand.js +2 -2
- package/dist-es/commands/DeleteModelInvocationLoggingConfigurationCommand.js +2 -2
- package/dist-es/commands/DeletePromptRouterCommand.js +2 -2
- package/dist-es/commands/DeleteProvisionedModelThroughputCommand.js +2 -2
- package/dist-es/commands/DeregisterMarketplaceModelEndpointCommand.js +2 -2
- package/dist-es/commands/ExportAutomatedReasoningPolicyVersionCommand.js +2 -2
- package/dist-es/commands/GetAutomatedReasoningPolicyAnnotationsCommand.js +2 -2
- package/dist-es/commands/GetAutomatedReasoningPolicyBuildWorkflowCommand.js +2 -2
- package/dist-es/commands/GetAutomatedReasoningPolicyBuildWorkflowResultAssetsCommand.js +2 -2
- package/dist-es/commands/GetAutomatedReasoningPolicyCommand.js +2 -2
- package/dist-es/commands/GetAutomatedReasoningPolicyNextScenarioCommand.js +2 -2
- package/dist-es/commands/GetAutomatedReasoningPolicyTestCaseCommand.js +2 -2
- package/dist-es/commands/GetAutomatedReasoningPolicyTestResultCommand.js +2 -2
- package/dist-es/commands/GetCustomModelCommand.js +2 -2
- package/dist-es/commands/GetCustomModelDeploymentCommand.js +2 -2
- package/dist-es/commands/GetEvaluationJobCommand.js +2 -2
- package/dist-es/commands/GetFoundationModelAvailabilityCommand.js +2 -2
- package/dist-es/commands/GetFoundationModelCommand.js +2 -2
- package/dist-es/commands/GetGuardrailCommand.js +2 -2
- package/dist-es/commands/GetImportedModelCommand.js +2 -2
- package/dist-es/commands/GetInferenceProfileCommand.js +2 -2
- package/dist-es/commands/GetMarketplaceModelEndpointCommand.js +2 -2
- package/dist-es/commands/GetModelCopyJobCommand.js +2 -2
- package/dist-es/commands/GetModelCustomizationJobCommand.js +2 -2
- package/dist-es/commands/GetModelImportJobCommand.js +2 -2
- package/dist-es/commands/GetModelInvocationJobCommand.js +2 -2
- package/dist-es/commands/GetModelInvocationLoggingConfigurationCommand.js +2 -2
- package/dist-es/commands/GetPromptRouterCommand.js +2 -2
- package/dist-es/commands/GetProvisionedModelThroughputCommand.js +2 -2
- package/dist-es/commands/GetUseCaseForModelAccessCommand.js +2 -2
- package/dist-es/commands/ListAutomatedReasoningPoliciesCommand.js +2 -2
- package/dist-es/commands/ListAutomatedReasoningPolicyBuildWorkflowsCommand.js +2 -2
- package/dist-es/commands/ListAutomatedReasoningPolicyTestCasesCommand.js +2 -2
- package/dist-es/commands/ListAutomatedReasoningPolicyTestResultsCommand.js +2 -2
- package/dist-es/commands/ListCustomModelDeploymentsCommand.js +2 -2
- package/dist-es/commands/ListCustomModelsCommand.js +2 -2
- package/dist-es/commands/ListEnforcedGuardrailsConfigurationCommand.js +2 -2
- package/dist-es/commands/ListEvaluationJobsCommand.js +2 -2
- package/dist-es/commands/ListFoundationModelAgreementOffersCommand.js +2 -2
- package/dist-es/commands/ListFoundationModelsCommand.js +2 -2
- package/dist-es/commands/ListGuardrailsCommand.js +2 -2
- package/dist-es/commands/ListImportedModelsCommand.js +2 -2
- package/dist-es/commands/ListInferenceProfilesCommand.js +2 -2
- package/dist-es/commands/ListMarketplaceModelEndpointsCommand.js +2 -2
- package/dist-es/commands/ListModelCopyJobsCommand.js +2 -2
- package/dist-es/commands/ListModelCustomizationJobsCommand.js +2 -2
- package/dist-es/commands/ListModelImportJobsCommand.js +2 -2
- package/dist-es/commands/ListModelInvocationJobsCommand.js +2 -2
- package/dist-es/commands/ListPromptRoutersCommand.js +2 -2
- package/dist-es/commands/ListProvisionedModelThroughputsCommand.js +2 -2
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-es/commands/PutEnforcedGuardrailConfigurationCommand.js +2 -2
- package/dist-es/commands/PutModelInvocationLoggingConfigurationCommand.js +2 -2
- package/dist-es/commands/PutUseCaseForModelAccessCommand.js +2 -2
- package/dist-es/commands/RegisterMarketplaceModelEndpointCommand.js +2 -2
- package/dist-es/commands/StartAutomatedReasoningPolicyBuildWorkflowCommand.js +2 -2
- package/dist-es/commands/StartAutomatedReasoningPolicyTestWorkflowCommand.js +2 -2
- package/dist-es/commands/StopEvaluationJobCommand.js +2 -2
- package/dist-es/commands/StopModelCustomizationJobCommand.js +2 -2
- package/dist-es/commands/StopModelInvocationJobCommand.js +2 -2
- package/dist-es/commands/TagResourceCommand.js +2 -2
- package/dist-es/commands/UntagResourceCommand.js +2 -2
- package/dist-es/commands/UpdateAutomatedReasoningPolicyAnnotationsCommand.js +2 -2
- package/dist-es/commands/UpdateAutomatedReasoningPolicyCommand.js +2 -2
- package/dist-es/commands/UpdateAutomatedReasoningPolicyTestCaseCommand.js +2 -2
- package/dist-es/commands/UpdateCustomModelDeploymentCommand.js +2 -2
- package/dist-es/commands/UpdateGuardrailCommand.js +2 -2
- package/dist-es/commands/UpdateMarketplaceModelEndpointCommand.js +2 -2
- package/dist-es/commands/UpdateProvisionedModelThroughputCommand.js +2 -2
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.shared.js +6 -1
- package/dist-es/schemas/schemas_0.js +1166 -1187
- package/dist-types/BedrockClient.d.ts +1 -10
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +6 -2
- package/dist-types/runtimeConfig.d.ts +6 -2
- package/dist-types/runtimeConfig.native.d.ts +6 -2
- package/dist-types/runtimeConfig.shared.d.ts +6 -1
- package/dist-types/schemas/schemas_0.d.ts +536 -692
- package/dist-types/ts3.4/BedrockClient.d.ts +0 -4
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +535 -694
- package/package.json +35 -35
|
@@ -5,7 +5,7 @@ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/m
|
|
|
5
5
|
import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
6
6
|
import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
7
7
|
import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
|
|
8
|
-
import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type
|
|
8
|
+
import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type Logger as __Logger, type Provider as __Provider, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
9
|
import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
10
|
import { BatchDeleteEvaluationJobCommandInput, BatchDeleteEvaluationJobCommandOutput } from "./commands/BatchDeleteEvaluationJobCommand";
|
|
11
11
|
import { CancelAutomatedReasoningPolicyBuildWorkflowCommandInput, CancelAutomatedReasoningPolicyBuildWorkflowCommandOutput } from "./commands/CancelAutomatedReasoningPolicyBuildWorkflowCommand";
|
|
@@ -239,15 +239,6 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
239
239
|
* Optional extensions
|
|
240
240
|
*/
|
|
241
241
|
extensions?: RuntimeExtension[];
|
|
242
|
-
/**
|
|
243
|
-
* The protocol controlling the message type (e.g. HTTP) and format (e.g. JSON)
|
|
244
|
-
* may be overridden. A default will always be set by the client.
|
|
245
|
-
* Available options depend on the service's supported protocols and will not be validated by
|
|
246
|
-
* the client.
|
|
247
|
-
* @alpha
|
|
248
|
-
*
|
|
249
|
-
*/
|
|
250
|
-
protocol?: ClientProtocol<HttpRequest, HttpResponse>;
|
|
251
242
|
/**
|
|
252
243
|
* The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
253
244
|
*/
|
package/dist-types/index.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
|
9
9
|
export type { RuntimeExtension } from "./runtimeExtensions";
|
|
10
10
|
export type { BedrockExtensionConfiguration } from "./extensionConfiguration";
|
|
11
11
|
export * from "./commands";
|
|
12
|
+
export * from "./schemas/schemas_0";
|
|
12
13
|
export * from "./pagination";
|
|
13
14
|
export * from "./models/enums";
|
|
14
15
|
export * from "./models/errors";
|
|
@@ -17,8 +17,13 @@ export declare const getRuntimeConfig: (config: BedrockClientConfig) => {
|
|
|
17
17
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
18
18
|
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
19
19
|
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
20
|
-
apiVersion: string;
|
|
21
20
|
cacheMiddleware?: boolean | undefined;
|
|
21
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
22
|
+
protocolSettings: {
|
|
23
|
+
defaultNamespace?: string;
|
|
24
|
+
[setting: string]: unknown;
|
|
25
|
+
};
|
|
26
|
+
apiVersion: string;
|
|
22
27
|
urlParser: import("@smithy/types").UrlParser;
|
|
23
28
|
base64Decoder: import("@smithy/types").Decoder;
|
|
24
29
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -29,7 +34,6 @@ export declare const getRuntimeConfig: (config: BedrockClientConfig) => {
|
|
|
29
34
|
profile?: string;
|
|
30
35
|
logger: import("@smithy/types").Logger;
|
|
31
36
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
32
|
-
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
33
37
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
34
38
|
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
35
39
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
@@ -31,8 +31,13 @@ export declare const getRuntimeConfig: (config: BedrockClientConfig) => {
|
|
|
31
31
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
32
32
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
33
33
|
userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
|
|
34
|
-
apiVersion: string;
|
|
35
34
|
cacheMiddleware?: boolean | undefined;
|
|
35
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
36
|
+
protocolSettings: {
|
|
37
|
+
defaultNamespace?: string;
|
|
38
|
+
[setting: string]: unknown;
|
|
39
|
+
};
|
|
40
|
+
apiVersion: string;
|
|
36
41
|
urlParser: import("@smithy/types").UrlParser;
|
|
37
42
|
base64Decoder: import("@smithy/types").Decoder;
|
|
38
43
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -43,7 +48,6 @@ export declare const getRuntimeConfig: (config: BedrockClientConfig) => {
|
|
|
43
48
|
profile?: string;
|
|
44
49
|
logger: import("@smithy/types").Logger;
|
|
45
50
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
46
|
-
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
47
51
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
48
52
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
49
53
|
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;
|
|
@@ -6,8 +6,13 @@ export declare const getRuntimeConfig: (config: BedrockClientConfig) => {
|
|
|
6
6
|
runtime: string;
|
|
7
7
|
sha256: import("@smithy/types").HashConstructor;
|
|
8
8
|
requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
9
|
-
apiVersion: string;
|
|
10
9
|
cacheMiddleware?: boolean;
|
|
10
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
11
|
+
protocolSettings: {
|
|
12
|
+
defaultNamespace?: string;
|
|
13
|
+
[setting: string]: unknown;
|
|
14
|
+
};
|
|
15
|
+
apiVersion: string;
|
|
11
16
|
urlParser: import("@smithy/types").UrlParser;
|
|
12
17
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
13
18
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -27,7 +32,6 @@ export declare const getRuntimeConfig: (config: BedrockClientConfig) => {
|
|
|
27
32
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
28
33
|
logger: import("@smithy/types").Logger;
|
|
29
34
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
30
|
-
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
31
35
|
defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
|
|
32
36
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
33
37
|
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { HttpBearerAuthSigner } from "@smithy/core";
|
|
3
4
|
import type { IdentityProviderConfig } from "@smithy/types";
|
|
4
5
|
import type { BedrockClientConfig } from "./BedrockClient";
|
|
@@ -25,7 +26,11 @@ export declare const getRuntimeConfig: (config: BedrockClientConfig) => {
|
|
|
25
26
|
signer: HttpBearerAuthSigner;
|
|
26
27
|
})[];
|
|
27
28
|
logger: import("@smithy/types").Logger;
|
|
28
|
-
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").
|
|
29
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof AwsRestJsonProtocol;
|
|
30
|
+
protocolSettings: {
|
|
31
|
+
[setting: string]: unknown;
|
|
32
|
+
defaultNamespace?: string;
|
|
33
|
+
};
|
|
29
34
|
serviceId: string;
|
|
30
35
|
urlParser: import("@smithy/types").UrlParser;
|
|
31
36
|
utf8Decoder: import("@smithy/types").Decoder;
|