@aws-sdk/client-bedrock 3.890.0 → 3.892.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.
Files changed (100) hide show
  1. package/dist-cjs/index.js +1 -1
  2. package/dist-es/models/models_0.js +1 -0
  3. package/dist-es/protocols/Aws_restJson1.js +0 -1
  4. package/dist-types/commands/BatchDeleteEvaluationJobCommand.d.ts +2 -0
  5. package/dist-types/commands/CancelAutomatedReasoningPolicyBuildWorkflowCommand.d.ts +2 -0
  6. package/dist-types/commands/CreateAutomatedReasoningPolicyCommand.d.ts +2 -0
  7. package/dist-types/commands/CreateAutomatedReasoningPolicyTestCaseCommand.d.ts +2 -0
  8. package/dist-types/commands/CreateAutomatedReasoningPolicyVersionCommand.d.ts +2 -0
  9. package/dist-types/commands/CreateCustomModelCommand.d.ts +2 -0
  10. package/dist-types/commands/CreateCustomModelDeploymentCommand.d.ts +2 -0
  11. package/dist-types/commands/CreateEvaluationJobCommand.d.ts +2 -0
  12. package/dist-types/commands/CreateFoundationModelAgreementCommand.d.ts +2 -0
  13. package/dist-types/commands/CreateGuardrailCommand.d.ts +2 -0
  14. package/dist-types/commands/CreateGuardrailVersionCommand.d.ts +2 -0
  15. package/dist-types/commands/CreateInferenceProfileCommand.d.ts +2 -0
  16. package/dist-types/commands/CreateMarketplaceModelEndpointCommand.d.ts +2 -0
  17. package/dist-types/commands/CreateModelCopyJobCommand.d.ts +2 -0
  18. package/dist-types/commands/CreateModelCustomizationJobCommand.d.ts +2 -0
  19. package/dist-types/commands/CreateModelImportJobCommand.d.ts +2 -0
  20. package/dist-types/commands/CreateModelInvocationJobCommand.d.ts +2 -0
  21. package/dist-types/commands/CreatePromptRouterCommand.d.ts +2 -0
  22. package/dist-types/commands/CreateProvisionedModelThroughputCommand.d.ts +2 -0
  23. package/dist-types/commands/DeleteAutomatedReasoningPolicyBuildWorkflowCommand.d.ts +5 -0
  24. package/dist-types/commands/DeleteAutomatedReasoningPolicyCommand.d.ts +2 -0
  25. package/dist-types/commands/DeleteAutomatedReasoningPolicyTestCaseCommand.d.ts +2 -0
  26. package/dist-types/commands/DeleteCustomModelCommand.d.ts +2 -0
  27. package/dist-types/commands/DeleteCustomModelDeploymentCommand.d.ts +2 -0
  28. package/dist-types/commands/DeleteFoundationModelAgreementCommand.d.ts +2 -0
  29. package/dist-types/commands/DeleteGuardrailCommand.d.ts +2 -0
  30. package/dist-types/commands/DeleteImportedModelCommand.d.ts +2 -0
  31. package/dist-types/commands/DeleteInferenceProfileCommand.d.ts +2 -0
  32. package/dist-types/commands/DeleteMarketplaceModelEndpointCommand.d.ts +2 -0
  33. package/dist-types/commands/DeleteModelInvocationLoggingConfigurationCommand.d.ts +2 -0
  34. package/dist-types/commands/DeletePromptRouterCommand.d.ts +2 -0
  35. package/dist-types/commands/DeleteProvisionedModelThroughputCommand.d.ts +2 -0
  36. package/dist-types/commands/DeregisterMarketplaceModelEndpointCommand.d.ts +2 -0
  37. package/dist-types/commands/ExportAutomatedReasoningPolicyVersionCommand.d.ts +2 -0
  38. package/dist-types/commands/GetAutomatedReasoningPolicyAnnotationsCommand.d.ts +2 -0
  39. package/dist-types/commands/GetAutomatedReasoningPolicyBuildWorkflowCommand.d.ts +2 -0
  40. package/dist-types/commands/GetAutomatedReasoningPolicyBuildWorkflowResultAssetsCommand.d.ts +2 -0
  41. package/dist-types/commands/GetAutomatedReasoningPolicyCommand.d.ts +2 -0
  42. package/dist-types/commands/GetAutomatedReasoningPolicyNextScenarioCommand.d.ts +2 -0
  43. package/dist-types/commands/GetAutomatedReasoningPolicyTestCaseCommand.d.ts +2 -0
  44. package/dist-types/commands/GetAutomatedReasoningPolicyTestResultCommand.d.ts +2 -0
  45. package/dist-types/commands/GetCustomModelCommand.d.ts +2 -0
  46. package/dist-types/commands/GetCustomModelDeploymentCommand.d.ts +2 -0
  47. package/dist-types/commands/GetEvaluationJobCommand.d.ts +2 -0
  48. package/dist-types/commands/GetFoundationModelAvailabilityCommand.d.ts +2 -0
  49. package/dist-types/commands/GetFoundationModelCommand.d.ts +2 -0
  50. package/dist-types/commands/GetGuardrailCommand.d.ts +2 -0
  51. package/dist-types/commands/GetImportedModelCommand.d.ts +2 -0
  52. package/dist-types/commands/GetInferenceProfileCommand.d.ts +2 -0
  53. package/dist-types/commands/GetMarketplaceModelEndpointCommand.d.ts +2 -0
  54. package/dist-types/commands/GetModelCopyJobCommand.d.ts +2 -0
  55. package/dist-types/commands/GetModelCustomizationJobCommand.d.ts +2 -0
  56. package/dist-types/commands/GetModelImportJobCommand.d.ts +2 -0
  57. package/dist-types/commands/GetModelInvocationJobCommand.d.ts +2 -0
  58. package/dist-types/commands/GetModelInvocationLoggingConfigurationCommand.d.ts +2 -0
  59. package/dist-types/commands/GetPromptRouterCommand.d.ts +2 -0
  60. package/dist-types/commands/GetProvisionedModelThroughputCommand.d.ts +2 -0
  61. package/dist-types/commands/GetUseCaseForModelAccessCommand.d.ts +2 -0
  62. package/dist-types/commands/ListAutomatedReasoningPoliciesCommand.d.ts +2 -0
  63. package/dist-types/commands/ListAutomatedReasoningPolicyBuildWorkflowsCommand.d.ts +2 -0
  64. package/dist-types/commands/ListAutomatedReasoningPolicyTestCasesCommand.d.ts +2 -0
  65. package/dist-types/commands/ListAutomatedReasoningPolicyTestResultsCommand.d.ts +2 -0
  66. package/dist-types/commands/ListCustomModelDeploymentsCommand.d.ts +2 -0
  67. package/dist-types/commands/ListCustomModelsCommand.d.ts +2 -0
  68. package/dist-types/commands/ListEvaluationJobsCommand.d.ts +2 -0
  69. package/dist-types/commands/ListFoundationModelAgreementOffersCommand.d.ts +2 -0
  70. package/dist-types/commands/ListFoundationModelsCommand.d.ts +2 -0
  71. package/dist-types/commands/ListGuardrailsCommand.d.ts +2 -0
  72. package/dist-types/commands/ListImportedModelsCommand.d.ts +2 -0
  73. package/dist-types/commands/ListInferenceProfilesCommand.d.ts +2 -0
  74. package/dist-types/commands/ListMarketplaceModelEndpointsCommand.d.ts +2 -0
  75. package/dist-types/commands/ListModelCopyJobsCommand.d.ts +2 -0
  76. package/dist-types/commands/ListModelCustomizationJobsCommand.d.ts +2 -0
  77. package/dist-types/commands/ListModelImportJobsCommand.d.ts +2 -0
  78. package/dist-types/commands/ListModelInvocationJobsCommand.d.ts +2 -0
  79. package/dist-types/commands/ListPromptRoutersCommand.d.ts +2 -0
  80. package/dist-types/commands/ListProvisionedModelThroughputsCommand.d.ts +2 -0
  81. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -0
  82. package/dist-types/commands/PutModelInvocationLoggingConfigurationCommand.d.ts +2 -0
  83. package/dist-types/commands/PutUseCaseForModelAccessCommand.d.ts +2 -0
  84. package/dist-types/commands/RegisterMarketplaceModelEndpointCommand.d.ts +2 -0
  85. package/dist-types/commands/StartAutomatedReasoningPolicyBuildWorkflowCommand.d.ts +2 -0
  86. package/dist-types/commands/StartAutomatedReasoningPolicyTestWorkflowCommand.d.ts +2 -0
  87. package/dist-types/commands/StopEvaluationJobCommand.d.ts +2 -0
  88. package/dist-types/commands/StopModelCustomizationJobCommand.d.ts +2 -0
  89. package/dist-types/commands/StopModelInvocationJobCommand.d.ts +2 -0
  90. package/dist-types/commands/TagResourceCommand.d.ts +2 -0
  91. package/dist-types/commands/UntagResourceCommand.d.ts +2 -0
  92. package/dist-types/commands/UpdateAutomatedReasoningPolicyAnnotationsCommand.d.ts +2 -0
  93. package/dist-types/commands/UpdateAutomatedReasoningPolicyCommand.d.ts +2 -0
  94. package/dist-types/commands/UpdateAutomatedReasoningPolicyTestCaseCommand.d.ts +2 -1
  95. package/dist-types/commands/UpdateGuardrailCommand.d.ts +2 -0
  96. package/dist-types/commands/UpdateMarketplaceModelEndpointCommand.d.ts +2 -0
  97. package/dist-types/commands/UpdateProvisionedModelThroughputCommand.d.ts +2 -0
  98. package/dist-types/models/models_0.d.ts +12 -17
  99. package/dist-types/ts3.4/models/models_0.d.ts +6 -7
  100. package/package.json +11 -11
@@ -33,6 +33,8 @@ declare const GetModelInvocationJobCommand_base: {
33
33
  * ```javascript
34
34
  * import { BedrockClient, GetModelInvocationJobCommand } from "@aws-sdk/client-bedrock"; // ES Modules import
35
35
  * // const { BedrockClient, GetModelInvocationJobCommand } = 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 = { // GetModelInvocationJobRequest
38
40
  * jobIdentifier: "STRING_VALUE", // required
@@ -33,6 +33,8 @@ declare const GetModelInvocationLoggingConfigurationCommand_base: {
33
33
  * ```javascript
34
34
  * import { BedrockClient, GetModelInvocationLoggingConfigurationCommand } from "@aws-sdk/client-bedrock"; // ES Modules import
35
35
  * // const { BedrockClient, GetModelInvocationLoggingConfigurationCommand } = 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 GetModelInvocationLoggingConfigurationCommand(input);
@@ -33,6 +33,8 @@ declare const GetPromptRouterCommand_base: {
33
33
  * ```javascript
34
34
  * import { BedrockClient, GetPromptRouterCommand } from "@aws-sdk/client-bedrock"; // ES Modules import
35
35
  * // const { BedrockClient, GetPromptRouterCommand } = 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 = { // GetPromptRouterRequest
38
40
  * promptRouterArn: "STRING_VALUE", // required
@@ -33,6 +33,8 @@ declare const GetProvisionedModelThroughputCommand_base: {
33
33
  * ```javascript
34
34
  * import { BedrockClient, GetProvisionedModelThroughputCommand } from "@aws-sdk/client-bedrock"; // ES Modules import
35
35
  * // const { BedrockClient, GetProvisionedModelThroughputCommand } = 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 = { // GetProvisionedModelThroughputRequest
38
40
  * provisionedModelId: "STRING_VALUE", // required
@@ -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
@@ -42,7 +44,6 @@ declare const UpdateAutomatedReasoningPolicyTestCaseCommand_base: {
42
44
  * lastUpdatedAt: new Date("TIMESTAMP"), // required
43
45
  * expectedAggregatedFindingsResult: "VALID" || "INVALID" || "SATISFIABLE" || "IMPOSSIBLE" || "TRANSLATION_AMBIGUOUS" || "TOO_COMPLEX" || "NO_TRANSLATION", // required
44
46
  * confidenceThreshold: Number("double"),
45
- * kmsKeyArn: "STRING_VALUE",
46
47
  * clientRequestToken: "STRING_VALUE",
47
48
  * };
48
49
  * const command = new UpdateAutomatedReasoningPolicyTestCaseCommand(input);
@@ -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
@@ -540,6 +540,18 @@ export interface DeleteAutomatedReasoningPolicyBuildWorkflowRequest {
540
540
  */
541
541
  export interface DeleteAutomatedReasoningPolicyBuildWorkflowResponse {
542
542
  }
543
+ /**
544
+ * <p>Thrown when attempting to delete or modify a resource that is currently being used by other resources or operations. For example, trying to delete an Automated Reasoning policy that is referenced by an active guardrail.</p>
545
+ * @public
546
+ */
547
+ export declare class ResourceInUseException extends __BaseException {
548
+ readonly name: "ResourceInUseException";
549
+ readonly $fault: "client";
550
+ /**
551
+ * @internal
552
+ */
553
+ constructor(opts: __ExceptionOptionType<ResourceInUseException, __BaseException>);
554
+ }
543
555
  /**
544
556
  * @public
545
557
  */
@@ -565,18 +577,6 @@ export interface DeleteAutomatedReasoningPolicyTestCaseRequest {
565
577
  */
566
578
  export interface DeleteAutomatedReasoningPolicyTestCaseResponse {
567
579
  }
568
- /**
569
- * <p>Thrown when attempting to delete or modify a resource that is currently being used by other resources or operations. For example, trying to delete an Automated Reasoning policy that is referenced by an active guardrail.</p>
570
- * @public
571
- */
572
- export declare class ResourceInUseException extends __BaseException {
573
- readonly name: "ResourceInUseException";
574
- readonly $fault: "client";
575
- /**
576
- * @internal
577
- */
578
- constructor(opts: __ExceptionOptionType<ResourceInUseException, __BaseException>);
579
- }
580
580
  /**
581
581
  * @public
582
582
  */
@@ -3233,11 +3233,6 @@ export interface UpdateAutomatedReasoningPolicyTestCaseRequest {
3233
3233
  * @public
3234
3234
  */
3235
3235
  confidenceThreshold?: number | undefined;
3236
- /**
3237
- * <p>The KMS key ARN for encrypting the test at rest. If not provided, the key will not be updated. Use <code>DISCARD</code> to remove the key.</p>
3238
- * @public
3239
- */
3240
- kmsKeyArn?: string | undefined;
3241
3236
  /**
3242
3237
  * <p>A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error.</p>
3243
3238
  * @public
@@ -173,12 +173,6 @@ export interface DeleteAutomatedReasoningPolicyBuildWorkflowRequest {
173
173
  lastUpdatedAt: Date | undefined;
174
174
  }
175
175
  export interface DeleteAutomatedReasoningPolicyBuildWorkflowResponse {}
176
- export interface DeleteAutomatedReasoningPolicyTestCaseRequest {
177
- policyArn: string | undefined;
178
- testCaseId: string | undefined;
179
- lastUpdatedAt: Date | undefined;
180
- }
181
- export interface DeleteAutomatedReasoningPolicyTestCaseResponse {}
182
176
  export declare class ResourceInUseException extends __BaseException {
183
177
  readonly name: "ResourceInUseException";
184
178
  readonly $fault: "client";
@@ -186,6 +180,12 @@ export declare class ResourceInUseException extends __BaseException {
186
180
  opts: __ExceptionOptionType<ResourceInUseException, __BaseException>
187
181
  );
188
182
  }
183
+ export interface DeleteAutomatedReasoningPolicyTestCaseRequest {
184
+ policyArn: string | undefined;
185
+ testCaseId: string | undefined;
186
+ lastUpdatedAt: Date | undefined;
187
+ }
188
+ export interface DeleteAutomatedReasoningPolicyTestCaseResponse {}
189
189
  export interface ExportAutomatedReasoningPolicyVersionRequest {
190
190
  policyArn: string | undefined;
191
191
  }
@@ -1392,7 +1392,6 @@ export interface UpdateAutomatedReasoningPolicyTestCaseRequest {
1392
1392
  lastUpdatedAt: Date | undefined;
1393
1393
  expectedAggregatedFindingsResult: AutomatedReasoningCheckResult | undefined;
1394
1394
  confidenceThreshold?: number | undefined;
1395
- kmsKeyArn?: string | undefined;
1396
1395
  clientRequestToken?: string | undefined;
1397
1396
  }
1398
1397
  export interface UpdateAutomatedReasoningPolicyTestCaseResponse {
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.890.0",
4
+ "version": "3.892.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",
@@ -21,17 +21,17 @@
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
23
  "@aws-sdk/core": "3.890.0",
24
- "@aws-sdk/credential-provider-node": "3.890.0",
25
- "@aws-sdk/middleware-host-header": "3.887.0",
26
- "@aws-sdk/middleware-logger": "3.887.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.887.0",
28
- "@aws-sdk/middleware-user-agent": "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
29
  "@aws-sdk/region-config-resolver": "3.890.0",
30
- "@aws-sdk/token-providers": "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.890.0",
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.890.0",
34
+ "@aws-sdk/util-user-agent-node": "3.891.0",
35
35
  "@smithy/config-resolver": "^4.2.2",
36
36
  "@smithy/core": "^3.11.0",
37
37
  "@smithy/fetch-http-handler": "^5.2.1",
@@ -39,7 +39,7 @@
39
39
  "@smithy/invalid-dependency": "^4.1.1",
40
40
  "@smithy/middleware-content-length": "^4.1.1",
41
41
  "@smithy/middleware-endpoint": "^4.2.2",
42
- "@smithy/middleware-retry": "^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
45
  "@smithy/node-config-provider": "^4.2.2",
@@ -55,7 +55,7 @@
55
55
  "@smithy/util-defaults-mode-node": "^4.1.2",
56
56
  "@smithy/util-endpoints": "^3.1.2",
57
57
  "@smithy/util-middleware": "^4.1.1",
58
- "@smithy/util-retry": "^4.1.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",