@aws-sdk/client-bedrock 3.949.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
|
@@ -29,13 +29,10 @@ import {
|
|
|
29
29
|
BodyLengthCalculator as __BodyLengthCalculator,
|
|
30
30
|
CheckOptionalClientConfig as __CheckOptionalClientConfig,
|
|
31
31
|
ChecksumConstructor as __ChecksumConstructor,
|
|
32
|
-
ClientProtocol,
|
|
33
32
|
Decoder as __Decoder,
|
|
34
33
|
Encoder as __Encoder,
|
|
35
34
|
HashConstructor as __HashConstructor,
|
|
36
35
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
37
|
-
HttpRequest,
|
|
38
|
-
HttpResponse,
|
|
39
36
|
Logger as __Logger,
|
|
40
37
|
Provider as __Provider,
|
|
41
38
|
StreamCollector as __StreamCollector,
|
|
@@ -669,7 +666,6 @@ export interface ClientDefaults
|
|
|
669
666
|
retryMode?: string | __Provider<string>;
|
|
670
667
|
logger?: __Logger;
|
|
671
668
|
extensions?: RuntimeExtension[];
|
|
672
|
-
protocol?: ClientProtocol<HttpRequest, HttpResponse>;
|
|
673
669
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
674
670
|
}
|
|
675
671
|
export type BedrockClientConfigType = Partial<
|
|
@@ -4,6 +4,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
|
4
4
|
export { RuntimeExtension } from "./runtimeExtensions";
|
|
5
5
|
export { BedrockExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
|
+
export * from "./schemas/schemas_0";
|
|
7
8
|
export * from "./pagination";
|
|
8
9
|
export * from "./models/enums";
|
|
9
10
|
export * from "./models/errors";
|
|
@@ -26,8 +26,16 @@ export declare const getRuntimeConfig: (config: BedrockClientConfig) => {
|
|
|
26
26
|
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
27
27
|
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
28
28
|
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
29
|
-
apiVersion: string;
|
|
30
29
|
cacheMiddleware?: boolean | undefined;
|
|
30
|
+
protocol:
|
|
31
|
+
| import("@smithy/types").ClientProtocol<any, any>
|
|
32
|
+
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
33
|
+
| typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
34
|
+
protocolSettings: {
|
|
35
|
+
defaultNamespace?: string;
|
|
36
|
+
[setting: string]: unknown;
|
|
37
|
+
};
|
|
38
|
+
apiVersion: string;
|
|
31
39
|
urlParser: import("@smithy/types").UrlParser;
|
|
32
40
|
base64Decoder: import("@smithy/types").Decoder;
|
|
33
41
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -38,10 +46,6 @@ export declare const getRuntimeConfig: (config: BedrockClientConfig) => {
|
|
|
38
46
|
profile?: string;
|
|
39
47
|
logger: import("@smithy/types").Logger;
|
|
40
48
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
41
|
-
protocol: import("@smithy/types").ClientProtocol<
|
|
42
|
-
import("@smithy/types").HttpRequest,
|
|
43
|
-
import("@smithy/types").HttpResponse
|
|
44
|
-
>;
|
|
45
49
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
46
50
|
userAgentAppId?:
|
|
47
51
|
| string
|
|
@@ -53,8 +53,16 @@ export declare const getRuntimeConfig: (config: BedrockClientConfig) => {
|
|
|
53
53
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
54
54
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
55
55
|
userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
|
|
56
|
-
apiVersion: string;
|
|
57
56
|
cacheMiddleware?: boolean | undefined;
|
|
57
|
+
protocol:
|
|
58
|
+
| import("@smithy/types").ClientProtocol<any, any>
|
|
59
|
+
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
60
|
+
| typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
61
|
+
protocolSettings: {
|
|
62
|
+
defaultNamespace?: string;
|
|
63
|
+
[setting: string]: unknown;
|
|
64
|
+
};
|
|
65
|
+
apiVersion: string;
|
|
58
66
|
urlParser: import("@smithy/types").UrlParser;
|
|
59
67
|
base64Decoder: import("@smithy/types").Decoder;
|
|
60
68
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -65,10 +73,6 @@ export declare const getRuntimeConfig: (config: BedrockClientConfig) => {
|
|
|
65
73
|
profile?: string;
|
|
66
74
|
logger: import("@smithy/types").Logger;
|
|
67
75
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
68
|
-
protocol: import("@smithy/types").ClientProtocol<
|
|
69
|
-
import("@smithy/types").HttpRequest,
|
|
70
|
-
import("@smithy/types").HttpResponse
|
|
71
|
-
>;
|
|
72
76
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
73
77
|
retryStrategy?:
|
|
74
78
|
| import("@smithy/types").RetryStrategy
|
|
@@ -8,8 +8,16 @@ export declare const getRuntimeConfig: (config: BedrockClientConfig) => {
|
|
|
8
8
|
| Record<string, unknown>
|
|
9
9
|
| import("@smithy/protocol-http").HttpHandler<any>
|
|
10
10
|
| import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
11
|
-
apiVersion: string;
|
|
12
11
|
cacheMiddleware?: boolean;
|
|
12
|
+
protocol:
|
|
13
|
+
| import("@smithy/types").ClientProtocol<any, any>
|
|
14
|
+
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
15
|
+
| typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
16
|
+
protocolSettings: {
|
|
17
|
+
defaultNamespace?: string;
|
|
18
|
+
[setting: string]: unknown;
|
|
19
|
+
};
|
|
20
|
+
apiVersion: string;
|
|
13
21
|
urlParser: import("@smithy/types").UrlParser;
|
|
14
22
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
15
23
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -37,10 +45,6 @@ export declare const getRuntimeConfig: (config: BedrockClientConfig) => {
|
|
|
37
45
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
38
46
|
logger: import("@smithy/types").Logger;
|
|
39
47
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
40
|
-
protocol: import("@smithy/types").ClientProtocol<
|
|
41
|
-
import("@smithy/types").HttpRequest,
|
|
42
|
-
import("@smithy/types").HttpResponse
|
|
43
|
-
>;
|
|
44
48
|
defaultsMode:
|
|
45
49
|
| import("@smithy/smithy-client").DefaultsMode
|
|
46
50
|
| import("@smithy/types").Provider<
|
|
@@ -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 { IdentityProviderConfig } from "@smithy/types";
|
|
4
5
|
import { BedrockClientConfig } from "./BedrockClient";
|
|
@@ -40,10 +41,14 @@ export declare const getRuntimeConfig: (config: BedrockClientConfig) => {
|
|
|
40
41
|
}
|
|
41
42
|
)[];
|
|
42
43
|
logger: import("@smithy/types").Logger;
|
|
43
|
-
protocol:
|
|
44
|
-
import("@smithy/types").
|
|
45
|
-
import("@smithy/types").
|
|
46
|
-
|
|
44
|
+
protocol:
|
|
45
|
+
| import("@smithy/types").ClientProtocol<any, any>
|
|
46
|
+
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
47
|
+
| typeof AwsRestJsonProtocol;
|
|
48
|
+
protocolSettings: {
|
|
49
|
+
[setting: string]: unknown;
|
|
50
|
+
defaultNamespace?: string;
|
|
51
|
+
};
|
|
47
52
|
serviceId: string;
|
|
48
53
|
urlParser: import("@smithy/types").UrlParser;
|
|
49
54
|
utf8Decoder: import("@smithy/types").Decoder;
|