@aws-sdk/client-bedrock 3.943.0 → 3.946.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/README.md +8 -0
- package/dist-cjs/index.js +306 -1079
- package/dist-cjs/runtimeConfig.browser.js +2 -2
- package/dist-cjs/runtimeConfig.js +3 -4
- package/dist-es/Bedrock.js +2 -0
- package/dist-es/BedrockClient.js +2 -2
- package/dist-es/commands/UpdateCustomModelDeploymentCommand.js +16 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/enums.js +11 -0
- package/dist-es/runtimeConfig.browser.js +2 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/schemas/schemas_0.js +279 -1079
- package/dist-types/Bedrock.d.ts +8 -1
- package/dist-types/BedrockClient.d.ts +13 -12
- 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 +21 -4
- 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 -3
- 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 +21 -4
- package/dist-types/commands/GetCustomModelDeploymentCommand.d.ts +7 -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 +21 -4
- 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 +4 -4
- 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 +4 -4
- 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 +90 -0
- 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/commands/index.d.ts +1 -0
- 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/enums.d.ts +27 -0
- package/dist-types/models/errors.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +166 -164
- package/dist-types/models/models_1.d.ts +164 -2
- 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 +9 -1
- package/dist-types/ts3.4/Bedrock.d.ts +17 -0
- package/dist-types/ts3.4/BedrockClient.d.ts +9 -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/commands/DeleteInferenceProfileCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/GetInferenceProfileCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListInferenceProfilesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateCustomModelDeploymentCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/BedrockServiceException.d.ts +1 -1
- package/dist-types/ts3.4/models/enums.d.ts +15 -0
- package/dist-types/ts3.4/models/models_0.d.ts +57 -39
- package/dist-types/ts3.4/models/models_1.d.ts +45 -5
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +8 -0
- package/package.json +14 -13
|
@@ -172,6 +172,7 @@ export declare var CustomMetricBedrockEvaluatorModel: StaticStructureSchema;
|
|
|
172
172
|
export declare var CustomMetricDefinition: StaticStructureSchema;
|
|
173
173
|
export declare var CustomMetricEvaluatorModelConfig: StaticStructureSchema;
|
|
174
174
|
export declare var CustomModelDeploymentSummary: StaticStructureSchema;
|
|
175
|
+
export declare var CustomModelDeploymentUpdateDetails: StaticStructureSchema;
|
|
175
176
|
export declare var CustomModelSummary: StaticStructureSchema;
|
|
176
177
|
export declare var CustomModelUnits: StaticStructureSchema;
|
|
177
178
|
export declare var DataProcessingDetails: StaticStructureSchema;
|
|
@@ -324,6 +325,7 @@ export declare var KbInferenceConfig: StaticStructureSchema;
|
|
|
324
325
|
export declare var KnowledgeBaseRetrievalConfiguration: StaticStructureSchema;
|
|
325
326
|
export declare var KnowledgeBaseRetrieveAndGenerateConfiguration: StaticStructureSchema;
|
|
326
327
|
export declare var KnowledgeBaseVectorSearchConfiguration: StaticStructureSchema;
|
|
328
|
+
export declare var LambdaGraderConfig: StaticStructureSchema;
|
|
327
329
|
export declare var LegalTerm: StaticStructureSchema;
|
|
328
330
|
export declare var ListAutomatedReasoningPoliciesRequest: StaticStructureSchema;
|
|
329
331
|
export declare var ListAutomatedReasoningPoliciesResponse: StaticStructureSchema;
|
|
@@ -402,6 +404,8 @@ export declare var ResourceInUseException: StaticErrorSchema;
|
|
|
402
404
|
export declare var ResourceNotFoundException: StaticErrorSchema;
|
|
403
405
|
export declare var RetrieveAndGenerateConfiguration: StaticStructureSchema;
|
|
404
406
|
export declare var RetrieveConfig: StaticStructureSchema;
|
|
407
|
+
export declare var RFTConfig: StaticStructureSchema;
|
|
408
|
+
export declare var RFTHyperParameters: StaticStructureSchema;
|
|
405
409
|
export declare var RoutingCriteria: StaticStructureSchema;
|
|
406
410
|
export declare var S3Config: StaticStructureSchema;
|
|
407
411
|
export declare var S3DataSource: StaticStructureSchema;
|
|
@@ -440,6 +444,8 @@ export declare var UpdateAutomatedReasoningPolicyRequest: StaticStructureSchema;
|
|
|
440
444
|
export declare var UpdateAutomatedReasoningPolicyResponse: StaticStructureSchema;
|
|
441
445
|
export declare var UpdateAutomatedReasoningPolicyTestCaseRequest: StaticStructureSchema;
|
|
442
446
|
export declare var UpdateAutomatedReasoningPolicyTestCaseResponse: StaticStructureSchema;
|
|
447
|
+
export declare var UpdateCustomModelDeploymentRequest: StaticStructureSchema;
|
|
448
|
+
export declare var UpdateCustomModelDeploymentResponse: StaticStructureSchema;
|
|
443
449
|
export declare var UpdateGuardrailRequest: StaticStructureSchema;
|
|
444
450
|
export declare var UpdateGuardrailResponse: StaticStructureSchema;
|
|
445
451
|
export declare var UpdateMarketplaceModelEndpointRequest: StaticStructureSchema;
|
|
@@ -580,6 +586,7 @@ export declare var EvaluationInferenceConfig: StaticStructureSchema;
|
|
|
580
586
|
export declare var EvaluationModelConfig: StaticStructureSchema;
|
|
581
587
|
export declare var EvaluationPrecomputedRagSourceConfig: StaticStructureSchema;
|
|
582
588
|
export declare var EvaluatorModelConfig: StaticStructureSchema;
|
|
589
|
+
export declare var GraderConfig: StaticStructureSchema;
|
|
583
590
|
export declare var InferenceProfileModelSource: StaticStructureSchema;
|
|
584
591
|
export declare var InvocationLogSource: StaticStructureSchema;
|
|
585
592
|
export declare var KnowledgeBaseConfig: StaticStructureSchema;
|
|
@@ -685,6 +692,7 @@ export declare var UntagResource: StaticOperationSchema;
|
|
|
685
692
|
export declare var UpdateAutomatedReasoningPolicy: StaticOperationSchema;
|
|
686
693
|
export declare var UpdateAutomatedReasoningPolicyAnnotations: StaticOperationSchema;
|
|
687
694
|
export declare var UpdateAutomatedReasoningPolicyTestCase: StaticOperationSchema;
|
|
695
|
+
export declare var UpdateCustomModelDeployment: StaticOperationSchema;
|
|
688
696
|
export declare var UpdateGuardrail: StaticOperationSchema;
|
|
689
697
|
export declare var UpdateMarketplaceModelEndpoint: StaticOperationSchema;
|
|
690
698
|
export declare var UpdateProvisionedModelThroughput: StaticOperationSchema;
|
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.946.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.946.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.946.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.946.0",
|
|
29
30
|
"@aws-sdk/region-config-resolver": "3.936.0",
|
|
30
|
-
"@aws-sdk/token-providers": "3.
|
|
31
|
+
"@aws-sdk/token-providers": "3.946.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.946.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",
|