@aws-sdk/client-bedrock 3.944.0 → 3.947.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 +219 -1079
- package/dist-cjs/runtimeConfig.browser.js +2 -2
- package/dist-cjs/runtimeConfig.js +3 -4
- package/dist-es/BedrockClient.js +2 -2
- package/dist-es/runtimeConfig.browser.js +2 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/schemas/schemas_0.js +219 -1080
- package/dist-types/Bedrock.d.ts +1 -1
- package/dist-types/BedrockClient.d.ts +10 -10
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +2 -2
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +2 -2
- package/dist-types/commands/BatchDeleteEvaluationJobCommand.d.ts +3 -3
- package/dist-types/commands/CancelAutomatedReasoningPolicyBuildWorkflowCommand.d.ts +3 -3
- package/dist-types/commands/CreateAutomatedReasoningPolicyCommand.d.ts +3 -3
- package/dist-types/commands/CreateAutomatedReasoningPolicyTestCaseCommand.d.ts +3 -3
- package/dist-types/commands/CreateAutomatedReasoningPolicyVersionCommand.d.ts +3 -3
- package/dist-types/commands/CreateCustomModelCommand.d.ts +3 -3
- package/dist-types/commands/CreateCustomModelDeploymentCommand.d.ts +3 -3
- package/dist-types/commands/CreateEvaluationJobCommand.d.ts +4 -4
- package/dist-types/commands/CreateFoundationModelAgreementCommand.d.ts +3 -3
- package/dist-types/commands/CreateGuardrailCommand.d.ts +3 -3
- package/dist-types/commands/CreateGuardrailVersionCommand.d.ts +3 -3
- package/dist-types/commands/CreateInferenceProfileCommand.d.ts +3 -3
- package/dist-types/commands/CreateMarketplaceModelEndpointCommand.d.ts +3 -3
- package/dist-types/commands/CreateModelCopyJobCommand.d.ts +3 -3
- package/dist-types/commands/CreateModelCustomizationJobCommand.d.ts +3 -3
- package/dist-types/commands/CreateModelImportJobCommand.d.ts +3 -3
- package/dist-types/commands/CreateModelInvocationJobCommand.d.ts +3 -3
- package/dist-types/commands/CreatePromptRouterCommand.d.ts +3 -3
- package/dist-types/commands/CreateProvisionedModelThroughputCommand.d.ts +3 -3
- package/dist-types/commands/DeleteAutomatedReasoningPolicyBuildWorkflowCommand.d.ts +3 -3
- package/dist-types/commands/DeleteAutomatedReasoningPolicyCommand.d.ts +3 -3
- package/dist-types/commands/DeleteAutomatedReasoningPolicyTestCaseCommand.d.ts +3 -3
- package/dist-types/commands/DeleteCustomModelCommand.d.ts +3 -3
- package/dist-types/commands/DeleteCustomModelDeploymentCommand.d.ts +3 -3
- package/dist-types/commands/DeleteEnforcedGuardrailConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/DeleteFoundationModelAgreementCommand.d.ts +3 -3
- package/dist-types/commands/DeleteGuardrailCommand.d.ts +3 -3
- package/dist-types/commands/DeleteImportedModelCommand.d.ts +3 -3
- package/dist-types/commands/DeleteInferenceProfileCommand.d.ts +4 -4
- package/dist-types/commands/DeleteMarketplaceModelEndpointCommand.d.ts +3 -3
- package/dist-types/commands/DeleteModelInvocationLoggingConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/DeletePromptRouterCommand.d.ts +3 -3
- package/dist-types/commands/DeleteProvisionedModelThroughputCommand.d.ts +3 -3
- package/dist-types/commands/DeregisterMarketplaceModelEndpointCommand.d.ts +3 -3
- package/dist-types/commands/ExportAutomatedReasoningPolicyVersionCommand.d.ts +3 -3
- package/dist-types/commands/GetAutomatedReasoningPolicyAnnotationsCommand.d.ts +3 -3
- package/dist-types/commands/GetAutomatedReasoningPolicyBuildWorkflowCommand.d.ts +3 -3
- package/dist-types/commands/GetAutomatedReasoningPolicyBuildWorkflowResultAssetsCommand.d.ts +3 -3
- package/dist-types/commands/GetAutomatedReasoningPolicyCommand.d.ts +3 -3
- package/dist-types/commands/GetAutomatedReasoningPolicyNextScenarioCommand.d.ts +3 -3
- package/dist-types/commands/GetAutomatedReasoningPolicyTestCaseCommand.d.ts +3 -3
- package/dist-types/commands/GetAutomatedReasoningPolicyTestResultCommand.d.ts +3 -3
- package/dist-types/commands/GetCustomModelCommand.d.ts +3 -3
- package/dist-types/commands/GetCustomModelDeploymentCommand.d.ts +3 -3
- package/dist-types/commands/GetEvaluationJobCommand.d.ts +4 -4
- package/dist-types/commands/GetFoundationModelAvailabilityCommand.d.ts +3 -3
- package/dist-types/commands/GetFoundationModelCommand.d.ts +3 -3
- package/dist-types/commands/GetGuardrailCommand.d.ts +3 -3
- package/dist-types/commands/GetImportedModelCommand.d.ts +3 -3
- package/dist-types/commands/GetInferenceProfileCommand.d.ts +3 -3
- package/dist-types/commands/GetMarketplaceModelEndpointCommand.d.ts +3 -3
- package/dist-types/commands/GetModelCopyJobCommand.d.ts +3 -3
- package/dist-types/commands/GetModelCustomizationJobCommand.d.ts +3 -3
- package/dist-types/commands/GetModelImportJobCommand.d.ts +3 -3
- package/dist-types/commands/GetModelInvocationJobCommand.d.ts +3 -3
- package/dist-types/commands/GetModelInvocationLoggingConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/GetPromptRouterCommand.d.ts +3 -3
- package/dist-types/commands/GetProvisionedModelThroughputCommand.d.ts +3 -3
- package/dist-types/commands/GetUseCaseForModelAccessCommand.d.ts +3 -3
- package/dist-types/commands/ListAutomatedReasoningPoliciesCommand.d.ts +3 -3
- package/dist-types/commands/ListAutomatedReasoningPolicyBuildWorkflowsCommand.d.ts +3 -3
- package/dist-types/commands/ListAutomatedReasoningPolicyTestCasesCommand.d.ts +3 -3
- package/dist-types/commands/ListAutomatedReasoningPolicyTestResultsCommand.d.ts +3 -3
- package/dist-types/commands/ListCustomModelDeploymentsCommand.d.ts +3 -3
- package/dist-types/commands/ListCustomModelsCommand.d.ts +3 -3
- package/dist-types/commands/ListEnforcedGuardrailsConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/ListEvaluationJobsCommand.d.ts +3 -3
- package/dist-types/commands/ListFoundationModelAgreementOffersCommand.d.ts +3 -3
- package/dist-types/commands/ListFoundationModelsCommand.d.ts +3 -3
- package/dist-types/commands/ListGuardrailsCommand.d.ts +3 -3
- package/dist-types/commands/ListImportedModelsCommand.d.ts +3 -3
- package/dist-types/commands/ListInferenceProfilesCommand.d.ts +3 -3
- package/dist-types/commands/ListMarketplaceModelEndpointsCommand.d.ts +3 -3
- package/dist-types/commands/ListModelCopyJobsCommand.d.ts +3 -3
- package/dist-types/commands/ListModelCustomizationJobsCommand.d.ts +3 -3
- package/dist-types/commands/ListModelImportJobsCommand.d.ts +3 -3
- package/dist-types/commands/ListModelInvocationJobsCommand.d.ts +3 -3
- package/dist-types/commands/ListPromptRoutersCommand.d.ts +3 -3
- package/dist-types/commands/ListProvisionedModelThroughputsCommand.d.ts +3 -3
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -3
- package/dist-types/commands/PutEnforcedGuardrailConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/PutModelInvocationLoggingConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/PutUseCaseForModelAccessCommand.d.ts +3 -3
- package/dist-types/commands/RegisterMarketplaceModelEndpointCommand.d.ts +3 -3
- package/dist-types/commands/StartAutomatedReasoningPolicyBuildWorkflowCommand.d.ts +3 -3
- package/dist-types/commands/StartAutomatedReasoningPolicyTestWorkflowCommand.d.ts +3 -3
- package/dist-types/commands/StopEvaluationJobCommand.d.ts +3 -3
- package/dist-types/commands/StopModelCustomizationJobCommand.d.ts +3 -3
- package/dist-types/commands/StopModelInvocationJobCommand.d.ts +3 -3
- package/dist-types/commands/TagResourceCommand.d.ts +3 -3
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
- package/dist-types/commands/UpdateAutomatedReasoningPolicyAnnotationsCommand.d.ts +3 -3
- package/dist-types/commands/UpdateAutomatedReasoningPolicyCommand.d.ts +3 -3
- package/dist-types/commands/UpdateAutomatedReasoningPolicyTestCaseCommand.d.ts +3 -3
- package/dist-types/commands/UpdateCustomModelDeploymentCommand.d.ts +3 -3
- package/dist-types/commands/UpdateGuardrailCommand.d.ts +3 -3
- package/dist-types/commands/UpdateMarketplaceModelEndpointCommand.d.ts +3 -3
- package/dist-types/commands/UpdateProvisionedModelThroughputCommand.d.ts +3 -3
- package/dist-types/endpoint/EndpointParameters.d.ts +13 -1
- package/dist-types/endpoint/endpointResolver.d.ts +5 -2
- package/dist-types/extensionConfiguration.d.ts +4 -4
- package/dist-types/models/BedrockServiceException.d.ts +1 -1
- package/dist-types/models/errors.d.ts +1 -1
- package/dist-types/models/models_1.d.ts +1 -1
- package/dist-types/pagination/Interfaces.d.ts +1 -1
- package/dist-types/pagination/ListAutomatedReasoningPoliciesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListAutomatedReasoningPolicyBuildWorkflowsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListAutomatedReasoningPolicyTestCasesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListAutomatedReasoningPolicyTestResultsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListCustomModelDeploymentsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListCustomModelsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListEnforcedGuardrailsConfigurationPaginator.d.ts +1 -1
- package/dist-types/pagination/ListEvaluationJobsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListGuardrailsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListImportedModelsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListInferenceProfilesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListMarketplaceModelEndpointsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListModelCopyJobsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListModelCustomizationJobsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListModelImportJobsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListModelInvocationJobsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListPromptRoutersPaginator.d.ts +1 -1
- package/dist-types/pagination/ListProvisionedModelThroughputsPaginator.d.ts +1 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/runtimeConfig.shared.d.ts +2 -2
- package/dist-types/runtimeExtensions.d.ts +1 -1
- package/dist-types/schemas/schemas_0.d.ts +1 -2
- package/dist-types/ts3.4/BedrockClient.d.ts +3 -3
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/dist-types/ts3.4/models/BedrockServiceException.d.ts +1 -1
- package/dist-types/ts3.4/models/models_1.d.ts +5 -5
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +0 -1
- package/package.json +14 -13
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
|
|
4
|
-
import { UntagResourceRequest, UntagResourceResponse } from "../models/models_1";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
|
|
4
|
+
import type { UntagResourceRequest, UntagResourceResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
|
|
4
|
-
import { UpdateAutomatedReasoningPolicyAnnotationsRequest, UpdateAutomatedReasoningPolicyAnnotationsResponse } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
|
|
4
|
+
import type { UpdateAutomatedReasoningPolicyAnnotationsRequest, UpdateAutomatedReasoningPolicyAnnotationsResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
|
|
4
|
-
import { UpdateAutomatedReasoningPolicyRequest, UpdateAutomatedReasoningPolicyResponse } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
|
|
4
|
+
import type { UpdateAutomatedReasoningPolicyRequest, UpdateAutomatedReasoningPolicyResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
|
|
4
|
-
import { UpdateAutomatedReasoningPolicyTestCaseRequest, UpdateAutomatedReasoningPolicyTestCaseResponse } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
|
|
4
|
+
import type { UpdateAutomatedReasoningPolicyTestCaseRequest, UpdateAutomatedReasoningPolicyTestCaseResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
|
|
4
|
-
import { UpdateCustomModelDeploymentRequest, UpdateCustomModelDeploymentResponse } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
|
|
4
|
+
import type { UpdateCustomModelDeploymentRequest, UpdateCustomModelDeploymentResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
|
|
4
|
-
import { UpdateGuardrailRequest, UpdateGuardrailResponse } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
|
|
4
|
+
import type { UpdateGuardrailRequest, UpdateGuardrailResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
|
|
4
|
-
import { UpdateMarketplaceModelEndpointRequest, UpdateMarketplaceModelEndpointResponse } from "../models/models_0";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
|
|
4
|
+
import type { UpdateMarketplaceModelEndpointRequest, UpdateMarketplaceModelEndpointResponse } from "../models/models_0";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
-
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
|
|
4
|
-
import { UpdateProvisionedModelThroughputRequest, UpdateProvisionedModelThroughputResponse } from "../models/models_1";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
|
|
4
|
+
import type { UpdateProvisionedModelThroughputRequest, UpdateProvisionedModelThroughputResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
|
|
1
|
+
import type { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
|
|
2
2
|
/**
|
|
3
3
|
* @public
|
|
4
4
|
*/
|
|
@@ -8,10 +8,19 @@ export interface ClientInputEndpointParameters {
|
|
|
8
8
|
useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
9
9
|
endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
|
|
10
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* @public
|
|
13
|
+
*/
|
|
11
14
|
export type ClientResolvedEndpointParameters = Omit<ClientInputEndpointParameters, "endpoint"> & {
|
|
12
15
|
defaultSigningName: string;
|
|
13
16
|
};
|
|
17
|
+
/**
|
|
18
|
+
* @internal
|
|
19
|
+
*/
|
|
14
20
|
export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientResolvedEndpointParameters;
|
|
21
|
+
/**
|
|
22
|
+
* @internal
|
|
23
|
+
*/
|
|
15
24
|
export declare const commonParams: {
|
|
16
25
|
readonly UseFIPS: {
|
|
17
26
|
readonly type: "builtInParams";
|
|
@@ -30,6 +39,9 @@ export declare const commonParams: {
|
|
|
30
39
|
readonly name: "useDualstackEndpoint";
|
|
31
40
|
};
|
|
32
41
|
};
|
|
42
|
+
/**
|
|
43
|
+
* @internal
|
|
44
|
+
*/
|
|
33
45
|
export interface EndpointParameters extends __EndpointParameters {
|
|
34
46
|
Region?: string | undefined;
|
|
35
47
|
UseDualStack?: boolean | undefined;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
import { EndpointV2, Logger } from "@smithy/types";
|
|
2
|
-
import { EndpointParameters } from "./EndpointParameters";
|
|
1
|
+
import type { EndpointV2, Logger } from "@smithy/types";
|
|
2
|
+
import type { EndpointParameters } from "./EndpointParameters";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
3
6
|
export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: {
|
|
4
7
|
logger?: Logger;
|
|
5
8
|
}) => EndpointV2;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
2
|
-
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
3
|
-
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
|
-
import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
1
|
+
import type { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
2
|
+
import type { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
3
|
+
import type { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
|
+
import type { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
5
5
|
/**
|
|
6
6
|
* @internal
|
|
7
7
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { type ServiceExceptionOptions as __ServiceExceptionOptions, ServiceException as __ServiceException } from "@smithy/smithy-client";
|
|
2
2
|
export type { __ServiceExceptionOptions };
|
|
3
3
|
export { __ServiceException };
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
1
|
+
import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { BedrockServiceException as __BaseException } from "./BedrockServiceException";
|
|
3
3
|
/**
|
|
4
4
|
* <p>The request is denied because of missing access permissions.</p>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ApplicationType, AuthorizationStatus, CommitmentDuration, CustomizationType, EntitlementAvailability, EvaluationJobStatus, EvaluationJobType, FineTuningJobStatus, FoundationModelLifecycleStatus, InferenceProfileStatus, InferenceProfileType, InferenceType, JobStatusDetails, ModelCopyJobStatus, ModelCustomization, ModelCustomizationJobStatus, ModelImportJobStatus, ModelInvocationJobStatus, ModelModality, OfferType, PromptRouterStatus, PromptRouterType, ProvisionedModelStatus, RegionAvailability, RetrieveAndGenerateType, S3InputFormat, SearchType, SortByProvisionedModels, SortJobsBy, SortModelsBy, SortOrder } from "./enums";
|
|
2
|
-
import { AgreementAvailability, CustomizationConfig, EvaluationConfig,
|
|
2
|
+
import { type AgreementAvailability, type CustomizationConfig, type EvaluationConfig, type EvaluationOutputDataConfig, type ExternalSourcesRetrieveAndGenerateConfiguration, type GenerationConfiguration, type ImplicitFilterConfiguration, type ModelDataSource, type OrchestrationConfiguration, type OutputDataConfig, type TrainingDataConfig, type TrainingMetrics, type ValidationDataConfig, type VectorSearchRerankingConfiguration, type VpcConfig, EvaluationModelConfig, EvaluationPrecomputedRagSourceConfig, FilterAttribute, Tag, ValidatorMetric } from "./models_0";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Paginator } from "@smithy/types";
|
|
1
|
+
import type { Paginator } from "@smithy/types";
|
|
2
2
|
import { ListAutomatedReasoningPoliciesCommandInput, ListAutomatedReasoningPoliciesCommandOutput } from "../commands/ListAutomatedReasoningPoliciesCommand";
|
|
3
3
|
import { BedrockPaginationConfiguration } from "./Interfaces";
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Paginator } from "@smithy/types";
|
|
1
|
+
import type { Paginator } from "@smithy/types";
|
|
2
2
|
import { ListAutomatedReasoningPolicyBuildWorkflowsCommandInput, ListAutomatedReasoningPolicyBuildWorkflowsCommandOutput } from "../commands/ListAutomatedReasoningPolicyBuildWorkflowsCommand";
|
|
3
3
|
import { BedrockPaginationConfiguration } from "./Interfaces";
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Paginator } from "@smithy/types";
|
|
1
|
+
import type { Paginator } from "@smithy/types";
|
|
2
2
|
import { ListAutomatedReasoningPolicyTestCasesCommandInput, ListAutomatedReasoningPolicyTestCasesCommandOutput } from "../commands/ListAutomatedReasoningPolicyTestCasesCommand";
|
|
3
3
|
import { BedrockPaginationConfiguration } from "./Interfaces";
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Paginator } from "@smithy/types";
|
|
1
|
+
import type { Paginator } from "@smithy/types";
|
|
2
2
|
import { ListAutomatedReasoningPolicyTestResultsCommandInput, ListAutomatedReasoningPolicyTestResultsCommandOutput } from "../commands/ListAutomatedReasoningPolicyTestResultsCommand";
|
|
3
3
|
import { BedrockPaginationConfiguration } from "./Interfaces";
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Paginator } from "@smithy/types";
|
|
1
|
+
import type { Paginator } from "@smithy/types";
|
|
2
2
|
import { ListCustomModelDeploymentsCommandInput, ListCustomModelDeploymentsCommandOutput } from "../commands/ListCustomModelDeploymentsCommand";
|
|
3
3
|
import { BedrockPaginationConfiguration } from "./Interfaces";
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Paginator } from "@smithy/types";
|
|
1
|
+
import type { Paginator } from "@smithy/types";
|
|
2
2
|
import { ListCustomModelsCommandInput, ListCustomModelsCommandOutput } from "../commands/ListCustomModelsCommand";
|
|
3
3
|
import { BedrockPaginationConfiguration } from "./Interfaces";
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Paginator } from "@smithy/types";
|
|
1
|
+
import type { Paginator } from "@smithy/types";
|
|
2
2
|
import { ListEnforcedGuardrailsConfigurationCommandInput, ListEnforcedGuardrailsConfigurationCommandOutput } from "../commands/ListEnforcedGuardrailsConfigurationCommand";
|
|
3
3
|
import { BedrockPaginationConfiguration } from "./Interfaces";
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Paginator } from "@smithy/types";
|
|
1
|
+
import type { Paginator } from "@smithy/types";
|
|
2
2
|
import { ListEvaluationJobsCommandInput, ListEvaluationJobsCommandOutput } from "../commands/ListEvaluationJobsCommand";
|
|
3
3
|
import { BedrockPaginationConfiguration } from "./Interfaces";
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Paginator } from "@smithy/types";
|
|
1
|
+
import type { Paginator } from "@smithy/types";
|
|
2
2
|
import { ListGuardrailsCommandInput, ListGuardrailsCommandOutput } from "../commands/ListGuardrailsCommand";
|
|
3
3
|
import { BedrockPaginationConfiguration } from "./Interfaces";
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Paginator } from "@smithy/types";
|
|
1
|
+
import type { Paginator } from "@smithy/types";
|
|
2
2
|
import { ListImportedModelsCommandInput, ListImportedModelsCommandOutput } from "../commands/ListImportedModelsCommand";
|
|
3
3
|
import { BedrockPaginationConfiguration } from "./Interfaces";
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Paginator } from "@smithy/types";
|
|
1
|
+
import type { Paginator } from "@smithy/types";
|
|
2
2
|
import { ListInferenceProfilesCommandInput, ListInferenceProfilesCommandOutput } from "../commands/ListInferenceProfilesCommand";
|
|
3
3
|
import { BedrockPaginationConfiguration } from "./Interfaces";
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Paginator } from "@smithy/types";
|
|
1
|
+
import type { Paginator } from "@smithy/types";
|
|
2
2
|
import { ListMarketplaceModelEndpointsCommandInput, ListMarketplaceModelEndpointsCommandOutput } from "../commands/ListMarketplaceModelEndpointsCommand";
|
|
3
3
|
import { BedrockPaginationConfiguration } from "./Interfaces";
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Paginator } from "@smithy/types";
|
|
1
|
+
import type { Paginator } from "@smithy/types";
|
|
2
2
|
import { ListModelCopyJobsCommandInput, ListModelCopyJobsCommandOutput } from "../commands/ListModelCopyJobsCommand";
|
|
3
3
|
import { BedrockPaginationConfiguration } from "./Interfaces";
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Paginator } from "@smithy/types";
|
|
1
|
+
import type { Paginator } from "@smithy/types";
|
|
2
2
|
import { ListModelCustomizationJobsCommandInput, ListModelCustomizationJobsCommandOutput } from "../commands/ListModelCustomizationJobsCommand";
|
|
3
3
|
import { BedrockPaginationConfiguration } from "./Interfaces";
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Paginator } from "@smithy/types";
|
|
1
|
+
import type { Paginator } from "@smithy/types";
|
|
2
2
|
import { ListModelImportJobsCommandInput, ListModelImportJobsCommandOutput } from "../commands/ListModelImportJobsCommand";
|
|
3
3
|
import { BedrockPaginationConfiguration } from "./Interfaces";
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Paginator } from "@smithy/types";
|
|
1
|
+
import type { Paginator } from "@smithy/types";
|
|
2
2
|
import { ListModelInvocationJobsCommandInput, ListModelInvocationJobsCommandOutput } from "../commands/ListModelInvocationJobsCommand";
|
|
3
3
|
import { BedrockPaginationConfiguration } from "./Interfaces";
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Paginator } from "@smithy/types";
|
|
1
|
+
import type { Paginator } from "@smithy/types";
|
|
2
2
|
import { ListPromptRoutersCommandInput, ListPromptRoutersCommandOutput } from "../commands/ListPromptRoutersCommand";
|
|
3
3
|
import { BedrockPaginationConfiguration } from "./Interfaces";
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Paginator } from "@smithy/types";
|
|
1
|
+
import type { Paginator } from "@smithy/types";
|
|
2
2
|
import { ListProvisionedModelThroughputsCommandInput, ListProvisionedModelThroughputsCommandOutput } from "../commands/ListProvisionedModelThroughputsCommand";
|
|
3
3
|
import { BedrockPaginationConfiguration } from "./Interfaces";
|
|
4
4
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
2
|
import { HttpBearerAuthSigner } from "@smithy/core";
|
|
3
3
|
import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
|
|
4
|
-
import { IdentityProviderConfig } from "@smithy/types";
|
|
5
|
-
import { BedrockClientConfig } from "./BedrockClient";
|
|
4
|
+
import type { IdentityProviderConfig } from "@smithy/types";
|
|
5
|
+
import type { BedrockClientConfig } from "./BedrockClient";
|
|
6
6
|
/**
|
|
7
7
|
* @internal
|
|
8
8
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
2
|
import { HttpBearerAuthSigner } from "@smithy/core";
|
|
3
|
-
import { IdentityProviderConfig } from "@smithy/types";
|
|
4
|
-
import { BedrockClientConfig } from "./BedrockClient";
|
|
3
|
+
import type { IdentityProviderConfig } from "@smithy/types";
|
|
4
|
+
import type { BedrockClientConfig } from "./BedrockClient";
|
|
5
5
|
/**
|
|
6
6
|
* @internal
|
|
7
7
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { StaticErrorSchema, StaticListSchema, StaticMapSchema, StaticOperationSchema, StaticSimpleSchema, StaticStructureSchema } from "@smithy/types";
|
|
1
|
+
import type { StaticErrorSchema, StaticListSchema, StaticMapSchema, StaticOperationSchema, StaticSimpleSchema, StaticStructureSchema } from "@smithy/types";
|
|
2
2
|
export declare var AutomatedReasoningLogicStatementContent: StaticSimpleSchema;
|
|
3
3
|
export declare var AutomatedReasoningNaturalLanguageStatementContent: StaticSimpleSchema;
|
|
4
4
|
export declare var AutomatedReasoningPolicyAnnotationFeedbackNaturalLanguage: StaticSimpleSchema;
|
|
@@ -455,7 +455,6 @@ export declare var VectorSearchBedrockRerankingConfiguration: StaticStructureSch
|
|
|
455
455
|
export declare var VectorSearchBedrockRerankingModelConfiguration: StaticStructureSchema;
|
|
456
456
|
export declare var VectorSearchRerankingConfiguration: StaticStructureSchema;
|
|
457
457
|
export declare var VpcConfig: StaticStructureSchema;
|
|
458
|
-
export declare var __Unit: "unit";
|
|
459
458
|
export declare var BedrockServiceException: StaticErrorSchema;
|
|
460
459
|
export declare var AccountEnforcedGuardrailsOutputConfiguration: StaticListSchema;
|
|
461
460
|
export declare var AutomatedEvaluationCustomMetrics: StaticListSchema;
|
|
@@ -20,13 +20,12 @@ import {
|
|
|
20
20
|
} from "@smithy/middleware-retry";
|
|
21
21
|
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
22
22
|
import {
|
|
23
|
-
Client as __Client,
|
|
24
23
|
DefaultsMode as __DefaultsMode,
|
|
25
24
|
SmithyConfiguration as __SmithyConfiguration,
|
|
26
25
|
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
26
|
+
Client as __Client,
|
|
27
27
|
} from "@smithy/smithy-client";
|
|
28
28
|
import {
|
|
29
|
-
AwsCredentialIdentityProvider,
|
|
30
29
|
BodyLengthCalculator as __BodyLengthCalculator,
|
|
31
30
|
CheckOptionalClientConfig as __CheckOptionalClientConfig,
|
|
32
31
|
ChecksumConstructor as __ChecksumConstructor,
|
|
@@ -39,9 +38,10 @@ import {
|
|
|
39
38
|
HttpResponse,
|
|
40
39
|
Logger as __Logger,
|
|
41
40
|
Provider as __Provider,
|
|
42
|
-
Provider,
|
|
43
41
|
StreamCollector as __StreamCollector,
|
|
44
42
|
UrlParser as __UrlParser,
|
|
43
|
+
AwsCredentialIdentityProvider,
|
|
44
|
+
Provider,
|
|
45
45
|
UserAgent as __UserAgent,
|
|
46
46
|
} from "@smithy/types";
|
|
47
47
|
import {
|
|
@@ -4,12 +4,12 @@ import {
|
|
|
4
4
|
AwsSdkSigV4PreviouslyResolved,
|
|
5
5
|
} from "@aws-sdk/core";
|
|
6
6
|
import {
|
|
7
|
-
HandlerExecutionContext,
|
|
8
7
|
HttpAuthScheme,
|
|
9
8
|
HttpAuthSchemeParameters,
|
|
10
9
|
HttpAuthSchemeParametersProvider,
|
|
11
10
|
HttpAuthSchemeProvider,
|
|
12
11
|
Provider,
|
|
12
|
+
HandlerExecutionContext,
|
|
13
13
|
TokenIdentity,
|
|
14
14
|
TokenIdentityProvider,
|
|
15
15
|
} from "@smithy/types";
|
|
@@ -35,23 +35,23 @@ import {
|
|
|
35
35
|
AgreementAvailability,
|
|
36
36
|
CustomizationConfig,
|
|
37
37
|
EvaluationConfig,
|
|
38
|
-
EvaluationModelConfig,
|
|
39
38
|
EvaluationOutputDataConfig,
|
|
40
|
-
EvaluationPrecomputedRagSourceConfig,
|
|
41
39
|
ExternalSourcesRetrieveAndGenerateConfiguration,
|
|
42
|
-
FilterAttribute,
|
|
43
40
|
GenerationConfiguration,
|
|
44
41
|
ImplicitFilterConfiguration,
|
|
45
42
|
ModelDataSource,
|
|
46
43
|
OrchestrationConfiguration,
|
|
47
44
|
OutputDataConfig,
|
|
48
|
-
Tag,
|
|
49
45
|
TrainingDataConfig,
|
|
50
46
|
TrainingMetrics,
|
|
51
47
|
ValidationDataConfig,
|
|
52
|
-
ValidatorMetric,
|
|
53
48
|
VectorSearchRerankingConfiguration,
|
|
54
49
|
VpcConfig,
|
|
50
|
+
EvaluationModelConfig,
|
|
51
|
+
EvaluationPrecomputedRagSourceConfig,
|
|
52
|
+
FilterAttribute,
|
|
53
|
+
Tag,
|
|
54
|
+
ValidatorMetric,
|
|
55
55
|
} from "./models_0";
|
|
56
56
|
export interface DeleteInferenceProfileResponse {}
|
|
57
57
|
export interface GetInferenceProfileRequest {
|
|
@@ -462,7 +462,6 @@ export declare var VectorSearchBedrockRerankingConfiguration: StaticStructureSch
|
|
|
462
462
|
export declare var VectorSearchBedrockRerankingModelConfiguration: StaticStructureSchema;
|
|
463
463
|
export declare var VectorSearchRerankingConfiguration: StaticStructureSchema;
|
|
464
464
|
export declare var VpcConfig: StaticStructureSchema;
|
|
465
|
-
export declare var __Unit: "unit";
|
|
466
465
|
export declare var BedrockServiceException: StaticErrorSchema;
|
|
467
466
|
export declare var AccountEnforcedGuardrailsOutputConfiguration: StaticListSchema;
|
|
468
467
|
export declare var AutomatedEvaluationCustomMetrics: StaticListSchema;
|
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.
|
|
4
|
+
"version": "3.947.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-bedrock",
|
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
12
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
|
|
13
13
|
"extract:docs": "api-extractor run --local",
|
|
14
|
-
"generate:client": "node ../../scripts/generate-clients/single-service --solo bedrock"
|
|
14
|
+
"generate:client": "node ../../scripts/generate-clients/single-service --solo bedrock",
|
|
15
|
+
"test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
|
|
15
16
|
},
|
|
16
17
|
"main": "./dist-cjs/index.js",
|
|
17
18
|
"types": "./dist-types/index.d.ts",
|
|
@@ -20,39 +21,39 @@
|
|
|
20
21
|
"dependencies": {
|
|
21
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/core": "3.947.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.947.0",
|
|
25
26
|
"@aws-sdk/middleware-host-header": "3.936.0",
|
|
26
27
|
"@aws-sdk/middleware-logger": "3.936.0",
|
|
27
28
|
"@aws-sdk/middleware-recursion-detection": "3.936.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "3.947.0",
|
|
29
30
|
"@aws-sdk/region-config-resolver": "3.936.0",
|
|
30
|
-
"@aws-sdk/token-providers": "3.
|
|
31
|
+
"@aws-sdk/token-providers": "3.947.0",
|
|
31
32
|
"@aws-sdk/types": "3.936.0",
|
|
32
33
|
"@aws-sdk/util-endpoints": "3.936.0",
|
|
33
34
|
"@aws-sdk/util-user-agent-browser": "3.936.0",
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.947.0",
|
|
35
36
|
"@smithy/config-resolver": "^4.4.3",
|
|
36
|
-
"@smithy/core": "^3.18.
|
|
37
|
+
"@smithy/core": "^3.18.7",
|
|
37
38
|
"@smithy/fetch-http-handler": "^5.3.6",
|
|
38
39
|
"@smithy/hash-node": "^4.2.5",
|
|
39
40
|
"@smithy/invalid-dependency": "^4.2.5",
|
|
40
41
|
"@smithy/middleware-content-length": "^4.2.5",
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
42
|
+
"@smithy/middleware-endpoint": "^4.3.14",
|
|
43
|
+
"@smithy/middleware-retry": "^4.4.14",
|
|
43
44
|
"@smithy/middleware-serde": "^4.2.6",
|
|
44
45
|
"@smithy/middleware-stack": "^4.2.5",
|
|
45
46
|
"@smithy/node-config-provider": "^4.3.5",
|
|
46
47
|
"@smithy/node-http-handler": "^4.4.5",
|
|
47
48
|
"@smithy/protocol-http": "^5.3.5",
|
|
48
|
-
"@smithy/smithy-client": "^4.9.
|
|
49
|
+
"@smithy/smithy-client": "^4.9.10",
|
|
49
50
|
"@smithy/types": "^4.9.0",
|
|
50
51
|
"@smithy/url-parser": "^4.2.5",
|
|
51
52
|
"@smithy/util-base64": "^4.3.0",
|
|
52
53
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
53
54
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^4.3.13",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^4.2.16",
|
|
56
57
|
"@smithy/util-endpoints": "^3.2.5",
|
|
57
58
|
"@smithy/util-middleware": "^4.2.5",
|
|
58
59
|
"@smithy/util-retry": "^4.2.5",
|