@aws-sdk/client-bedrock 3.888.0 → 3.891.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-types/commands/BatchDeleteEvaluationJobCommand.d.ts +2 -0
- package/dist-types/commands/CancelAutomatedReasoningPolicyBuildWorkflowCommand.d.ts +2 -0
- package/dist-types/commands/CreateAutomatedReasoningPolicyCommand.d.ts +2 -0
- package/dist-types/commands/CreateAutomatedReasoningPolicyTestCaseCommand.d.ts +2 -0
- package/dist-types/commands/CreateAutomatedReasoningPolicyVersionCommand.d.ts +2 -0
- package/dist-types/commands/CreateCustomModelCommand.d.ts +2 -0
- package/dist-types/commands/CreateCustomModelDeploymentCommand.d.ts +2 -0
- package/dist-types/commands/CreateEvaluationJobCommand.d.ts +2 -0
- package/dist-types/commands/CreateFoundationModelAgreementCommand.d.ts +2 -0
- package/dist-types/commands/CreateGuardrailCommand.d.ts +2 -0
- package/dist-types/commands/CreateGuardrailVersionCommand.d.ts +2 -0
- package/dist-types/commands/CreateInferenceProfileCommand.d.ts +2 -0
- package/dist-types/commands/CreateMarketplaceModelEndpointCommand.d.ts +2 -0
- package/dist-types/commands/CreateModelCopyJobCommand.d.ts +2 -0
- package/dist-types/commands/CreateModelCustomizationJobCommand.d.ts +2 -0
- package/dist-types/commands/CreateModelImportJobCommand.d.ts +2 -0
- package/dist-types/commands/CreateModelInvocationJobCommand.d.ts +2 -0
- package/dist-types/commands/CreatePromptRouterCommand.d.ts +2 -0
- package/dist-types/commands/CreateProvisionedModelThroughputCommand.d.ts +2 -0
- package/dist-types/commands/DeleteAutomatedReasoningPolicyBuildWorkflowCommand.d.ts +2 -0
- package/dist-types/commands/DeleteAutomatedReasoningPolicyCommand.d.ts +2 -0
- package/dist-types/commands/DeleteAutomatedReasoningPolicyTestCaseCommand.d.ts +2 -0
- package/dist-types/commands/DeleteCustomModelCommand.d.ts +2 -0
- package/dist-types/commands/DeleteCustomModelDeploymentCommand.d.ts +2 -0
- package/dist-types/commands/DeleteFoundationModelAgreementCommand.d.ts +2 -0
- package/dist-types/commands/DeleteGuardrailCommand.d.ts +2 -0
- package/dist-types/commands/DeleteImportedModelCommand.d.ts +2 -0
- package/dist-types/commands/DeleteInferenceProfileCommand.d.ts +2 -0
- package/dist-types/commands/DeleteMarketplaceModelEndpointCommand.d.ts +2 -0
- package/dist-types/commands/DeleteModelInvocationLoggingConfigurationCommand.d.ts +2 -0
- package/dist-types/commands/DeletePromptRouterCommand.d.ts +2 -0
- package/dist-types/commands/DeleteProvisionedModelThroughputCommand.d.ts +2 -0
- package/dist-types/commands/DeregisterMarketplaceModelEndpointCommand.d.ts +2 -0
- package/dist-types/commands/ExportAutomatedReasoningPolicyVersionCommand.d.ts +2 -0
- package/dist-types/commands/GetAutomatedReasoningPolicyAnnotationsCommand.d.ts +2 -0
- package/dist-types/commands/GetAutomatedReasoningPolicyBuildWorkflowCommand.d.ts +2 -0
- package/dist-types/commands/GetAutomatedReasoningPolicyBuildWorkflowResultAssetsCommand.d.ts +2 -0
- package/dist-types/commands/GetAutomatedReasoningPolicyCommand.d.ts +2 -0
- package/dist-types/commands/GetAutomatedReasoningPolicyNextScenarioCommand.d.ts +2 -0
- package/dist-types/commands/GetAutomatedReasoningPolicyTestCaseCommand.d.ts +2 -0
- package/dist-types/commands/GetAutomatedReasoningPolicyTestResultCommand.d.ts +2 -0
- package/dist-types/commands/GetCustomModelCommand.d.ts +2 -0
- package/dist-types/commands/GetCustomModelDeploymentCommand.d.ts +2 -0
- package/dist-types/commands/GetEvaluationJobCommand.d.ts +2 -0
- package/dist-types/commands/GetFoundationModelAvailabilityCommand.d.ts +2 -0
- package/dist-types/commands/GetFoundationModelCommand.d.ts +2 -0
- package/dist-types/commands/GetGuardrailCommand.d.ts +2 -0
- package/dist-types/commands/GetImportedModelCommand.d.ts +2 -0
- package/dist-types/commands/GetInferenceProfileCommand.d.ts +2 -0
- package/dist-types/commands/GetMarketplaceModelEndpointCommand.d.ts +2 -0
- package/dist-types/commands/GetModelCopyJobCommand.d.ts +2 -0
- package/dist-types/commands/GetModelCustomizationJobCommand.d.ts +2 -0
- package/dist-types/commands/GetModelImportJobCommand.d.ts +2 -0
- package/dist-types/commands/GetModelInvocationJobCommand.d.ts +2 -0
- package/dist-types/commands/GetModelInvocationLoggingConfigurationCommand.d.ts +2 -0
- package/dist-types/commands/GetPromptRouterCommand.d.ts +2 -0
- package/dist-types/commands/GetProvisionedModelThroughputCommand.d.ts +2 -0
- package/dist-types/commands/GetUseCaseForModelAccessCommand.d.ts +2 -0
- package/dist-types/commands/ListAutomatedReasoningPoliciesCommand.d.ts +2 -0
- package/dist-types/commands/ListAutomatedReasoningPolicyBuildWorkflowsCommand.d.ts +2 -0
- package/dist-types/commands/ListAutomatedReasoningPolicyTestCasesCommand.d.ts +2 -0
- package/dist-types/commands/ListAutomatedReasoningPolicyTestResultsCommand.d.ts +2 -0
- package/dist-types/commands/ListCustomModelDeploymentsCommand.d.ts +2 -0
- package/dist-types/commands/ListCustomModelsCommand.d.ts +2 -0
- package/dist-types/commands/ListEvaluationJobsCommand.d.ts +2 -0
- package/dist-types/commands/ListFoundationModelAgreementOffersCommand.d.ts +2 -0
- package/dist-types/commands/ListFoundationModelsCommand.d.ts +2 -0
- package/dist-types/commands/ListGuardrailsCommand.d.ts +2 -0
- package/dist-types/commands/ListImportedModelsCommand.d.ts +2 -0
- package/dist-types/commands/ListInferenceProfilesCommand.d.ts +2 -0
- package/dist-types/commands/ListMarketplaceModelEndpointsCommand.d.ts +2 -0
- package/dist-types/commands/ListModelCopyJobsCommand.d.ts +2 -0
- package/dist-types/commands/ListModelCustomizationJobsCommand.d.ts +2 -0
- package/dist-types/commands/ListModelImportJobsCommand.d.ts +2 -0
- package/dist-types/commands/ListModelInvocationJobsCommand.d.ts +2 -0
- package/dist-types/commands/ListPromptRoutersCommand.d.ts +2 -0
- package/dist-types/commands/ListProvisionedModelThroughputsCommand.d.ts +2 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -0
- package/dist-types/commands/PutModelInvocationLoggingConfigurationCommand.d.ts +2 -0
- package/dist-types/commands/PutUseCaseForModelAccessCommand.d.ts +2 -0
- package/dist-types/commands/RegisterMarketplaceModelEndpointCommand.d.ts +2 -0
- package/dist-types/commands/StartAutomatedReasoningPolicyBuildWorkflowCommand.d.ts +2 -0
- package/dist-types/commands/StartAutomatedReasoningPolicyTestWorkflowCommand.d.ts +2 -0
- package/dist-types/commands/StopEvaluationJobCommand.d.ts +2 -0
- package/dist-types/commands/StopModelCustomizationJobCommand.d.ts +2 -0
- package/dist-types/commands/StopModelInvocationJobCommand.d.ts +2 -0
- package/dist-types/commands/TagResourceCommand.d.ts +2 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -0
- package/dist-types/commands/UpdateAutomatedReasoningPolicyAnnotationsCommand.d.ts +2 -0
- package/dist-types/commands/UpdateAutomatedReasoningPolicyCommand.d.ts +2 -0
- package/dist-types/commands/UpdateAutomatedReasoningPolicyTestCaseCommand.d.ts +2 -0
- package/dist-types/commands/UpdateGuardrailCommand.d.ts +2 -0
- package/dist-types/commands/UpdateMarketplaceModelEndpointCommand.d.ts +2 -0
- package/dist-types/commands/UpdateProvisionedModelThroughputCommand.d.ts +2 -0
- package/package.json +20 -20
|
@@ -33,6 +33,8 @@ declare const GetUseCaseForModelAccessCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { BedrockClient, GetUseCaseForModelAccessCommand } from "@aws-sdk/client-bedrock"; // ES Modules import
|
|
35
35
|
* // const { BedrockClient, GetUseCaseForModelAccessCommand } = require("@aws-sdk/client-bedrock"); // CommonJS import
|
|
36
|
+
* // import type { BedrockClientConfig } from "@aws-sdk/client-bedrock";
|
|
37
|
+
* const config = {}; // type is BedrockClientConfig
|
|
36
38
|
* const client = new BedrockClient(config);
|
|
37
39
|
* const input = {};
|
|
38
40
|
* const command = new GetUseCaseForModelAccessCommand(input);
|
|
@@ -33,6 +33,8 @@ declare const ListAutomatedReasoningPoliciesCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { BedrockClient, ListAutomatedReasoningPoliciesCommand } from "@aws-sdk/client-bedrock"; // ES Modules import
|
|
35
35
|
* // const { BedrockClient, ListAutomatedReasoningPoliciesCommand } = require("@aws-sdk/client-bedrock"); // CommonJS import
|
|
36
|
+
* // import type { BedrockClientConfig } from "@aws-sdk/client-bedrock";
|
|
37
|
+
* const config = {}; // type is BedrockClientConfig
|
|
36
38
|
* const client = new BedrockClient(config);
|
|
37
39
|
* const input = { // ListAutomatedReasoningPoliciesRequest
|
|
38
40
|
* policyArn: "STRING_VALUE",
|
|
@@ -33,6 +33,8 @@ declare const ListAutomatedReasoningPolicyBuildWorkflowsCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { BedrockClient, ListAutomatedReasoningPolicyBuildWorkflowsCommand } from "@aws-sdk/client-bedrock"; // ES Modules import
|
|
35
35
|
* // const { BedrockClient, ListAutomatedReasoningPolicyBuildWorkflowsCommand } = require("@aws-sdk/client-bedrock"); // CommonJS import
|
|
36
|
+
* // import type { BedrockClientConfig } from "@aws-sdk/client-bedrock";
|
|
37
|
+
* const config = {}; // type is BedrockClientConfig
|
|
36
38
|
* const client = new BedrockClient(config);
|
|
37
39
|
* const input = { // ListAutomatedReasoningPolicyBuildWorkflowsRequest
|
|
38
40
|
* policyArn: "STRING_VALUE", // required
|
|
@@ -33,6 +33,8 @@ declare const ListAutomatedReasoningPolicyTestCasesCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { BedrockClient, ListAutomatedReasoningPolicyTestCasesCommand } from "@aws-sdk/client-bedrock"; // ES Modules import
|
|
35
35
|
* // const { BedrockClient, ListAutomatedReasoningPolicyTestCasesCommand } = require("@aws-sdk/client-bedrock"); // CommonJS import
|
|
36
|
+
* // import type { BedrockClientConfig } from "@aws-sdk/client-bedrock";
|
|
37
|
+
* const config = {}; // type is BedrockClientConfig
|
|
36
38
|
* const client = new BedrockClient(config);
|
|
37
39
|
* const input = { // ListAutomatedReasoningPolicyTestCasesRequest
|
|
38
40
|
* policyArn: "STRING_VALUE", // required
|
|
@@ -33,6 +33,8 @@ declare const ListAutomatedReasoningPolicyTestResultsCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { BedrockClient, ListAutomatedReasoningPolicyTestResultsCommand } from "@aws-sdk/client-bedrock"; // ES Modules import
|
|
35
35
|
* // const { BedrockClient, ListAutomatedReasoningPolicyTestResultsCommand } = require("@aws-sdk/client-bedrock"); // CommonJS import
|
|
36
|
+
* // import type { BedrockClientConfig } from "@aws-sdk/client-bedrock";
|
|
37
|
+
* const config = {}; // type is BedrockClientConfig
|
|
36
38
|
* const client = new BedrockClient(config);
|
|
37
39
|
* const input = { // ListAutomatedReasoningPolicyTestResultsRequest
|
|
38
40
|
* policyArn: "STRING_VALUE", // required
|
|
@@ -33,6 +33,8 @@ declare const ListCustomModelDeploymentsCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { BedrockClient, ListCustomModelDeploymentsCommand } from "@aws-sdk/client-bedrock"; // ES Modules import
|
|
35
35
|
* // const { BedrockClient, ListCustomModelDeploymentsCommand } = require("@aws-sdk/client-bedrock"); // CommonJS import
|
|
36
|
+
* // import type { BedrockClientConfig } from "@aws-sdk/client-bedrock";
|
|
37
|
+
* const config = {}; // type is BedrockClientConfig
|
|
36
38
|
* const client = new BedrockClient(config);
|
|
37
39
|
* const input = { // ListCustomModelDeploymentsRequest
|
|
38
40
|
* createdBefore: new Date("TIMESTAMP"),
|
|
@@ -33,6 +33,8 @@ declare const ListCustomModelsCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { BedrockClient, ListCustomModelsCommand } from "@aws-sdk/client-bedrock"; // ES Modules import
|
|
35
35
|
* // const { BedrockClient, ListCustomModelsCommand } = require("@aws-sdk/client-bedrock"); // CommonJS import
|
|
36
|
+
* // import type { BedrockClientConfig } from "@aws-sdk/client-bedrock";
|
|
37
|
+
* const config = {}; // type is BedrockClientConfig
|
|
36
38
|
* const client = new BedrockClient(config);
|
|
37
39
|
* const input = { // ListCustomModelsRequest
|
|
38
40
|
* creationTimeBefore: new Date("TIMESTAMP"),
|
|
@@ -33,6 +33,8 @@ declare const ListEvaluationJobsCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { BedrockClient, ListEvaluationJobsCommand } from "@aws-sdk/client-bedrock"; // ES Modules import
|
|
35
35
|
* // const { BedrockClient, ListEvaluationJobsCommand } = require("@aws-sdk/client-bedrock"); // CommonJS import
|
|
36
|
+
* // import type { BedrockClientConfig } from "@aws-sdk/client-bedrock";
|
|
37
|
+
* const config = {}; // type is BedrockClientConfig
|
|
36
38
|
* const client = new BedrockClient(config);
|
|
37
39
|
* const input = { // ListEvaluationJobsRequest
|
|
38
40
|
* creationTimeAfter: new Date("TIMESTAMP"),
|
|
@@ -33,6 +33,8 @@ declare const ListFoundationModelAgreementOffersCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { BedrockClient, ListFoundationModelAgreementOffersCommand } from "@aws-sdk/client-bedrock"; // ES Modules import
|
|
35
35
|
* // const { BedrockClient, ListFoundationModelAgreementOffersCommand } = require("@aws-sdk/client-bedrock"); // CommonJS import
|
|
36
|
+
* // import type { BedrockClientConfig } from "@aws-sdk/client-bedrock";
|
|
37
|
+
* const config = {}; // type is BedrockClientConfig
|
|
36
38
|
* const client = new BedrockClient(config);
|
|
37
39
|
* const input = { // ListFoundationModelAgreementOffersRequest
|
|
38
40
|
* modelId: "STRING_VALUE", // required
|
|
@@ -33,6 +33,8 @@ declare const ListFoundationModelsCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { BedrockClient, ListFoundationModelsCommand } from "@aws-sdk/client-bedrock"; // ES Modules import
|
|
35
35
|
* // const { BedrockClient, ListFoundationModelsCommand } = require("@aws-sdk/client-bedrock"); // CommonJS import
|
|
36
|
+
* // import type { BedrockClientConfig } from "@aws-sdk/client-bedrock";
|
|
37
|
+
* const config = {}; // type is BedrockClientConfig
|
|
36
38
|
* const client = new BedrockClient(config);
|
|
37
39
|
* const input = { // ListFoundationModelsRequest
|
|
38
40
|
* byProvider: "STRING_VALUE",
|
|
@@ -33,6 +33,8 @@ declare const ListGuardrailsCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { BedrockClient, ListGuardrailsCommand } from "@aws-sdk/client-bedrock"; // ES Modules import
|
|
35
35
|
* // const { BedrockClient, ListGuardrailsCommand } = require("@aws-sdk/client-bedrock"); // CommonJS import
|
|
36
|
+
* // import type { BedrockClientConfig } from "@aws-sdk/client-bedrock";
|
|
37
|
+
* const config = {}; // type is BedrockClientConfig
|
|
36
38
|
* const client = new BedrockClient(config);
|
|
37
39
|
* const input = { // ListGuardrailsRequest
|
|
38
40
|
* guardrailIdentifier: "STRING_VALUE",
|
|
@@ -33,6 +33,8 @@ declare const ListImportedModelsCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { BedrockClient, ListImportedModelsCommand } from "@aws-sdk/client-bedrock"; // ES Modules import
|
|
35
35
|
* // const { BedrockClient, ListImportedModelsCommand } = require("@aws-sdk/client-bedrock"); // CommonJS import
|
|
36
|
+
* // import type { BedrockClientConfig } from "@aws-sdk/client-bedrock";
|
|
37
|
+
* const config = {}; // type is BedrockClientConfig
|
|
36
38
|
* const client = new BedrockClient(config);
|
|
37
39
|
* const input = { // ListImportedModelsRequest
|
|
38
40
|
* creationTimeBefore: new Date("TIMESTAMP"),
|
|
@@ -33,6 +33,8 @@ declare const ListInferenceProfilesCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { BedrockClient, ListInferenceProfilesCommand } from "@aws-sdk/client-bedrock"; // ES Modules import
|
|
35
35
|
* // const { BedrockClient, ListInferenceProfilesCommand } = require("@aws-sdk/client-bedrock"); // CommonJS import
|
|
36
|
+
* // import type { BedrockClientConfig } from "@aws-sdk/client-bedrock";
|
|
37
|
+
* const config = {}; // type is BedrockClientConfig
|
|
36
38
|
* const client = new BedrockClient(config);
|
|
37
39
|
* const input = { // ListInferenceProfilesRequest
|
|
38
40
|
* maxResults: Number("int"),
|
|
@@ -33,6 +33,8 @@ declare const ListMarketplaceModelEndpointsCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { BedrockClient, ListMarketplaceModelEndpointsCommand } from "@aws-sdk/client-bedrock"; // ES Modules import
|
|
35
35
|
* // const { BedrockClient, ListMarketplaceModelEndpointsCommand } = require("@aws-sdk/client-bedrock"); // CommonJS import
|
|
36
|
+
* // import type { BedrockClientConfig } from "@aws-sdk/client-bedrock";
|
|
37
|
+
* const config = {}; // type is BedrockClientConfig
|
|
36
38
|
* const client = new BedrockClient(config);
|
|
37
39
|
* const input = { // ListMarketplaceModelEndpointsRequest
|
|
38
40
|
* maxResults: Number("int"),
|
|
@@ -33,6 +33,8 @@ declare const ListModelCopyJobsCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { BedrockClient, ListModelCopyJobsCommand } from "@aws-sdk/client-bedrock"; // ES Modules import
|
|
35
35
|
* // const { BedrockClient, ListModelCopyJobsCommand } = require("@aws-sdk/client-bedrock"); // CommonJS import
|
|
36
|
+
* // import type { BedrockClientConfig } from "@aws-sdk/client-bedrock";
|
|
37
|
+
* const config = {}; // type is BedrockClientConfig
|
|
36
38
|
* const client = new BedrockClient(config);
|
|
37
39
|
* const input = { // ListModelCopyJobsRequest
|
|
38
40
|
* creationTimeAfter: new Date("TIMESTAMP"),
|
|
@@ -33,6 +33,8 @@ declare const ListModelCustomizationJobsCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { BedrockClient, ListModelCustomizationJobsCommand } from "@aws-sdk/client-bedrock"; // ES Modules import
|
|
35
35
|
* // const { BedrockClient, ListModelCustomizationJobsCommand } = require("@aws-sdk/client-bedrock"); // CommonJS import
|
|
36
|
+
* // import type { BedrockClientConfig } from "@aws-sdk/client-bedrock";
|
|
37
|
+
* const config = {}; // type is BedrockClientConfig
|
|
36
38
|
* const client = new BedrockClient(config);
|
|
37
39
|
* const input = { // ListModelCustomizationJobsRequest
|
|
38
40
|
* creationTimeAfter: new Date("TIMESTAMP"),
|
|
@@ -33,6 +33,8 @@ declare const ListModelImportJobsCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { BedrockClient, ListModelImportJobsCommand } from "@aws-sdk/client-bedrock"; // ES Modules import
|
|
35
35
|
* // const { BedrockClient, ListModelImportJobsCommand } = require("@aws-sdk/client-bedrock"); // CommonJS import
|
|
36
|
+
* // import type { BedrockClientConfig } from "@aws-sdk/client-bedrock";
|
|
37
|
+
* const config = {}; // type is BedrockClientConfig
|
|
36
38
|
* const client = new BedrockClient(config);
|
|
37
39
|
* const input = { // ListModelImportJobsRequest
|
|
38
40
|
* creationTimeAfter: new Date("TIMESTAMP"),
|
|
@@ -33,6 +33,8 @@ declare const ListModelInvocationJobsCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { BedrockClient, ListModelInvocationJobsCommand } from "@aws-sdk/client-bedrock"; // ES Modules import
|
|
35
35
|
* // const { BedrockClient, ListModelInvocationJobsCommand } = require("@aws-sdk/client-bedrock"); // CommonJS import
|
|
36
|
+
* // import type { BedrockClientConfig } from "@aws-sdk/client-bedrock";
|
|
37
|
+
* const config = {}; // type is BedrockClientConfig
|
|
36
38
|
* const client = new BedrockClient(config);
|
|
37
39
|
* const input = { // ListModelInvocationJobsRequest
|
|
38
40
|
* submitTimeAfter: new Date("TIMESTAMP"),
|
|
@@ -33,6 +33,8 @@ declare const ListPromptRoutersCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { BedrockClient, ListPromptRoutersCommand } from "@aws-sdk/client-bedrock"; // ES Modules import
|
|
35
35
|
* // const { BedrockClient, ListPromptRoutersCommand } = require("@aws-sdk/client-bedrock"); // CommonJS import
|
|
36
|
+
* // import type { BedrockClientConfig } from "@aws-sdk/client-bedrock";
|
|
37
|
+
* const config = {}; // type is BedrockClientConfig
|
|
36
38
|
* const client = new BedrockClient(config);
|
|
37
39
|
* const input = { // ListPromptRoutersRequest
|
|
38
40
|
* maxResults: Number("int"),
|
|
@@ -33,6 +33,8 @@ declare const ListProvisionedModelThroughputsCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { BedrockClient, ListProvisionedModelThroughputsCommand } from "@aws-sdk/client-bedrock"; // ES Modules import
|
|
35
35
|
* // const { BedrockClient, ListProvisionedModelThroughputsCommand } = require("@aws-sdk/client-bedrock"); // CommonJS import
|
|
36
|
+
* // import type { BedrockClientConfig } from "@aws-sdk/client-bedrock";
|
|
37
|
+
* const config = {}; // type is BedrockClientConfig
|
|
36
38
|
* const client = new BedrockClient(config);
|
|
37
39
|
* const input = { // ListProvisionedModelThroughputsRequest
|
|
38
40
|
* creationTimeAfter: new Date("TIMESTAMP"),
|
|
@@ -33,6 +33,8 @@ declare const ListTagsForResourceCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { BedrockClient, ListTagsForResourceCommand } from "@aws-sdk/client-bedrock"; // ES Modules import
|
|
35
35
|
* // const { BedrockClient, ListTagsForResourceCommand } = require("@aws-sdk/client-bedrock"); // CommonJS import
|
|
36
|
+
* // import type { BedrockClientConfig } from "@aws-sdk/client-bedrock";
|
|
37
|
+
* const config = {}; // type is BedrockClientConfig
|
|
36
38
|
* const client = new BedrockClient(config);
|
|
37
39
|
* const input = { // ListTagsForResourceRequest
|
|
38
40
|
* resourceARN: "STRING_VALUE", // required
|
|
@@ -33,6 +33,8 @@ declare const PutModelInvocationLoggingConfigurationCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { BedrockClient, PutModelInvocationLoggingConfigurationCommand } from "@aws-sdk/client-bedrock"; // ES Modules import
|
|
35
35
|
* // const { BedrockClient, PutModelInvocationLoggingConfigurationCommand } = require("@aws-sdk/client-bedrock"); // CommonJS import
|
|
36
|
+
* // import type { BedrockClientConfig } from "@aws-sdk/client-bedrock";
|
|
37
|
+
* const config = {}; // type is BedrockClientConfig
|
|
36
38
|
* const client = new BedrockClient(config);
|
|
37
39
|
* const input = { // PutModelInvocationLoggingConfigurationRequest
|
|
38
40
|
* loggingConfig: { // LoggingConfig
|
|
@@ -33,6 +33,8 @@ declare const PutUseCaseForModelAccessCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { BedrockClient, PutUseCaseForModelAccessCommand } from "@aws-sdk/client-bedrock"; // ES Modules import
|
|
35
35
|
* // const { BedrockClient, PutUseCaseForModelAccessCommand } = require("@aws-sdk/client-bedrock"); // CommonJS import
|
|
36
|
+
* // import type { BedrockClientConfig } from "@aws-sdk/client-bedrock";
|
|
37
|
+
* const config = {}; // type is BedrockClientConfig
|
|
36
38
|
* const client = new BedrockClient(config);
|
|
37
39
|
* const input = { // PutUseCaseForModelAccessRequest
|
|
38
40
|
* formData: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") // required
|
|
@@ -33,6 +33,8 @@ declare const RegisterMarketplaceModelEndpointCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { BedrockClient, RegisterMarketplaceModelEndpointCommand } from "@aws-sdk/client-bedrock"; // ES Modules import
|
|
35
35
|
* // const { BedrockClient, RegisterMarketplaceModelEndpointCommand } = require("@aws-sdk/client-bedrock"); // CommonJS import
|
|
36
|
+
* // import type { BedrockClientConfig } from "@aws-sdk/client-bedrock";
|
|
37
|
+
* const config = {}; // type is BedrockClientConfig
|
|
36
38
|
* const client = new BedrockClient(config);
|
|
37
39
|
* const input = { // RegisterMarketplaceModelEndpointRequest
|
|
38
40
|
* endpointIdentifier: "STRING_VALUE", // required
|
|
@@ -33,6 +33,8 @@ declare const StartAutomatedReasoningPolicyBuildWorkflowCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { BedrockClient, StartAutomatedReasoningPolicyBuildWorkflowCommand } from "@aws-sdk/client-bedrock"; // ES Modules import
|
|
35
35
|
* // const { BedrockClient, StartAutomatedReasoningPolicyBuildWorkflowCommand } = require("@aws-sdk/client-bedrock"); // CommonJS import
|
|
36
|
+
* // import type { BedrockClientConfig } from "@aws-sdk/client-bedrock";
|
|
37
|
+
* const config = {}; // type is BedrockClientConfig
|
|
36
38
|
* const client = new BedrockClient(config);
|
|
37
39
|
* const input = { // StartAutomatedReasoningPolicyBuildWorkflowRequest
|
|
38
40
|
* policyArn: "STRING_VALUE", // required
|
|
@@ -33,6 +33,8 @@ declare const StartAutomatedReasoningPolicyTestWorkflowCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { BedrockClient, StartAutomatedReasoningPolicyTestWorkflowCommand } from "@aws-sdk/client-bedrock"; // ES Modules import
|
|
35
35
|
* // const { BedrockClient, StartAutomatedReasoningPolicyTestWorkflowCommand } = require("@aws-sdk/client-bedrock"); // CommonJS import
|
|
36
|
+
* // import type { BedrockClientConfig } from "@aws-sdk/client-bedrock";
|
|
37
|
+
* const config = {}; // type is BedrockClientConfig
|
|
36
38
|
* const client = new BedrockClient(config);
|
|
37
39
|
* const input = { // StartAutomatedReasoningPolicyTestWorkflowRequest
|
|
38
40
|
* policyArn: "STRING_VALUE", // required
|
|
@@ -33,6 +33,8 @@ declare const StopEvaluationJobCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { BedrockClient, StopEvaluationJobCommand } from "@aws-sdk/client-bedrock"; // ES Modules import
|
|
35
35
|
* // const { BedrockClient, StopEvaluationJobCommand } = require("@aws-sdk/client-bedrock"); // CommonJS import
|
|
36
|
+
* // import type { BedrockClientConfig } from "@aws-sdk/client-bedrock";
|
|
37
|
+
* const config = {}; // type is BedrockClientConfig
|
|
36
38
|
* const client = new BedrockClient(config);
|
|
37
39
|
* const input = { // StopEvaluationJobRequest
|
|
38
40
|
* jobIdentifier: "STRING_VALUE", // required
|
|
@@ -33,6 +33,8 @@ declare const StopModelCustomizationJobCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { BedrockClient, StopModelCustomizationJobCommand } from "@aws-sdk/client-bedrock"; // ES Modules import
|
|
35
35
|
* // const { BedrockClient, StopModelCustomizationJobCommand } = require("@aws-sdk/client-bedrock"); // CommonJS import
|
|
36
|
+
* // import type { BedrockClientConfig } from "@aws-sdk/client-bedrock";
|
|
37
|
+
* const config = {}; // type is BedrockClientConfig
|
|
36
38
|
* const client = new BedrockClient(config);
|
|
37
39
|
* const input = { // StopModelCustomizationJobRequest
|
|
38
40
|
* jobIdentifier: "STRING_VALUE", // required
|
|
@@ -33,6 +33,8 @@ declare const StopModelInvocationJobCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { BedrockClient, StopModelInvocationJobCommand } from "@aws-sdk/client-bedrock"; // ES Modules import
|
|
35
35
|
* // const { BedrockClient, StopModelInvocationJobCommand } = require("@aws-sdk/client-bedrock"); // CommonJS import
|
|
36
|
+
* // import type { BedrockClientConfig } from "@aws-sdk/client-bedrock";
|
|
37
|
+
* const config = {}; // type is BedrockClientConfig
|
|
36
38
|
* const client = new BedrockClient(config);
|
|
37
39
|
* const input = { // StopModelInvocationJobRequest
|
|
38
40
|
* jobIdentifier: "STRING_VALUE", // required
|
|
@@ -33,6 +33,8 @@ declare const TagResourceCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { BedrockClient, TagResourceCommand } from "@aws-sdk/client-bedrock"; // ES Modules import
|
|
35
35
|
* // const { BedrockClient, TagResourceCommand } = require("@aws-sdk/client-bedrock"); // CommonJS import
|
|
36
|
+
* // import type { BedrockClientConfig } from "@aws-sdk/client-bedrock";
|
|
37
|
+
* const config = {}; // type is BedrockClientConfig
|
|
36
38
|
* const client = new BedrockClient(config);
|
|
37
39
|
* const input = { // TagResourceRequest
|
|
38
40
|
* resourceARN: "STRING_VALUE", // required
|
|
@@ -33,6 +33,8 @@ declare const UntagResourceCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { BedrockClient, UntagResourceCommand } from "@aws-sdk/client-bedrock"; // ES Modules import
|
|
35
35
|
* // const { BedrockClient, UntagResourceCommand } = require("@aws-sdk/client-bedrock"); // CommonJS import
|
|
36
|
+
* // import type { BedrockClientConfig } from "@aws-sdk/client-bedrock";
|
|
37
|
+
* const config = {}; // type is BedrockClientConfig
|
|
36
38
|
* const client = new BedrockClient(config);
|
|
37
39
|
* const input = { // UntagResourceRequest
|
|
38
40
|
* resourceARN: "STRING_VALUE", // required
|
|
@@ -33,6 +33,8 @@ declare const UpdateAutomatedReasoningPolicyAnnotationsCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { BedrockClient, UpdateAutomatedReasoningPolicyAnnotationsCommand } from "@aws-sdk/client-bedrock"; // ES Modules import
|
|
35
35
|
* // const { BedrockClient, UpdateAutomatedReasoningPolicyAnnotationsCommand } = require("@aws-sdk/client-bedrock"); // CommonJS import
|
|
36
|
+
* // import type { BedrockClientConfig } from "@aws-sdk/client-bedrock";
|
|
37
|
+
* const config = {}; // type is BedrockClientConfig
|
|
36
38
|
* const client = new BedrockClient(config);
|
|
37
39
|
* const input = { // UpdateAutomatedReasoningPolicyAnnotationsRequest
|
|
38
40
|
* policyArn: "STRING_VALUE", // required
|
|
@@ -33,6 +33,8 @@ declare const UpdateAutomatedReasoningPolicyCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { BedrockClient, UpdateAutomatedReasoningPolicyCommand } from "@aws-sdk/client-bedrock"; // ES Modules import
|
|
35
35
|
* // const { BedrockClient, UpdateAutomatedReasoningPolicyCommand } = require("@aws-sdk/client-bedrock"); // CommonJS import
|
|
36
|
+
* // import type { BedrockClientConfig } from "@aws-sdk/client-bedrock";
|
|
37
|
+
* const config = {}; // type is BedrockClientConfig
|
|
36
38
|
* const client = new BedrockClient(config);
|
|
37
39
|
* const input = { // UpdateAutomatedReasoningPolicyRequest
|
|
38
40
|
* policyArn: "STRING_VALUE", // required
|
|
@@ -33,6 +33,8 @@ declare const UpdateAutomatedReasoningPolicyTestCaseCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { BedrockClient, UpdateAutomatedReasoningPolicyTestCaseCommand } from "@aws-sdk/client-bedrock"; // ES Modules import
|
|
35
35
|
* // const { BedrockClient, UpdateAutomatedReasoningPolicyTestCaseCommand } = require("@aws-sdk/client-bedrock"); // CommonJS import
|
|
36
|
+
* // import type { BedrockClientConfig } from "@aws-sdk/client-bedrock";
|
|
37
|
+
* const config = {}; // type is BedrockClientConfig
|
|
36
38
|
* const client = new BedrockClient(config);
|
|
37
39
|
* const input = { // UpdateAutomatedReasoningPolicyTestCaseRequest
|
|
38
40
|
* policyArn: "STRING_VALUE", // required
|
|
@@ -33,6 +33,8 @@ declare const UpdateGuardrailCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { BedrockClient, UpdateGuardrailCommand } from "@aws-sdk/client-bedrock"; // ES Modules import
|
|
35
35
|
* // const { BedrockClient, UpdateGuardrailCommand } = require("@aws-sdk/client-bedrock"); // CommonJS import
|
|
36
|
+
* // import type { BedrockClientConfig } from "@aws-sdk/client-bedrock";
|
|
37
|
+
* const config = {}; // type is BedrockClientConfig
|
|
36
38
|
* const client = new BedrockClient(config);
|
|
37
39
|
* const input = { // UpdateGuardrailRequest
|
|
38
40
|
* guardrailIdentifier: "STRING_VALUE", // required
|
|
@@ -33,6 +33,8 @@ declare const UpdateMarketplaceModelEndpointCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { BedrockClient, UpdateMarketplaceModelEndpointCommand } from "@aws-sdk/client-bedrock"; // ES Modules import
|
|
35
35
|
* // const { BedrockClient, UpdateMarketplaceModelEndpointCommand } = require("@aws-sdk/client-bedrock"); // CommonJS import
|
|
36
|
+
* // import type { BedrockClientConfig } from "@aws-sdk/client-bedrock";
|
|
37
|
+
* const config = {}; // type is BedrockClientConfig
|
|
36
38
|
* const client = new BedrockClient(config);
|
|
37
39
|
* const input = { // UpdateMarketplaceModelEndpointRequest
|
|
38
40
|
* endpointArn: "STRING_VALUE", // required
|
|
@@ -33,6 +33,8 @@ declare const UpdateProvisionedModelThroughputCommand_base: {
|
|
|
33
33
|
* ```javascript
|
|
34
34
|
* import { BedrockClient, UpdateProvisionedModelThroughputCommand } from "@aws-sdk/client-bedrock"; // ES Modules import
|
|
35
35
|
* // const { BedrockClient, UpdateProvisionedModelThroughputCommand } = require("@aws-sdk/client-bedrock"); // CommonJS import
|
|
36
|
+
* // import type { BedrockClientConfig } from "@aws-sdk/client-bedrock";
|
|
37
|
+
* const config = {}; // type is BedrockClientConfig
|
|
36
38
|
* const client = new BedrockClient(config);
|
|
37
39
|
* const input = { // UpdateProvisionedModelThroughputRequest
|
|
38
40
|
* provisionedModelId: "STRING_VALUE", // required
|
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.891.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",
|
|
@@ -20,42 +20,42 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
26
|
-
"@aws-sdk/middleware-logger": "3.
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
30
|
-
"@aws-sdk/token-providers": "3.
|
|
23
|
+
"@aws-sdk/core": "3.890.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.891.0",
|
|
25
|
+
"@aws-sdk/middleware-host-header": "3.891.0",
|
|
26
|
+
"@aws-sdk/middleware-logger": "3.891.0",
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.891.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.891.0",
|
|
29
|
+
"@aws-sdk/region-config-resolver": "3.890.0",
|
|
30
|
+
"@aws-sdk/token-providers": "3.891.0",
|
|
31
31
|
"@aws-sdk/types": "3.887.0",
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.891.0",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "3.887.0",
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
35
|
-
"@smithy/config-resolver": "^4.2.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.891.0",
|
|
35
|
+
"@smithy/config-resolver": "^4.2.2",
|
|
36
36
|
"@smithy/core": "^3.11.0",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.2.1",
|
|
38
38
|
"@smithy/hash-node": "^4.1.1",
|
|
39
39
|
"@smithy/invalid-dependency": "^4.1.1",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.1.1",
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.2.
|
|
42
|
-
"@smithy/middleware-retry": "^4.2.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.2.2",
|
|
42
|
+
"@smithy/middleware-retry": "^4.2.3",
|
|
43
43
|
"@smithy/middleware-serde": "^4.1.1",
|
|
44
44
|
"@smithy/middleware-stack": "^4.1.1",
|
|
45
|
-
"@smithy/node-config-provider": "^4.2.
|
|
45
|
+
"@smithy/node-config-provider": "^4.2.2",
|
|
46
46
|
"@smithy/node-http-handler": "^4.2.1",
|
|
47
47
|
"@smithy/protocol-http": "^5.2.1",
|
|
48
|
-
"@smithy/smithy-client": "^4.6.
|
|
48
|
+
"@smithy/smithy-client": "^4.6.2",
|
|
49
49
|
"@smithy/types": "^4.5.0",
|
|
50
50
|
"@smithy/url-parser": "^4.1.1",
|
|
51
51
|
"@smithy/util-base64": "^4.1.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.1.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.1.0",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.1.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.1.
|
|
56
|
-
"@smithy/util-endpoints": "^3.1.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.1.2",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.1.2",
|
|
56
|
+
"@smithy/util-endpoints": "^3.1.2",
|
|
57
57
|
"@smithy/util-middleware": "^4.1.1",
|
|
58
|
-
"@smithy/util-retry": "^4.1.
|
|
58
|
+
"@smithy/util-retry": "^4.1.2",
|
|
59
59
|
"@smithy/util-utf8": "^4.1.0",
|
|
60
60
|
"@types/uuid": "^9.0.1",
|
|
61
61
|
"tslib": "^2.6.2",
|