@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.
Files changed (163) hide show
  1. package/README.md +8 -0
  2. package/dist-cjs/index.js +306 -1079
  3. package/dist-cjs/runtimeConfig.browser.js +2 -2
  4. package/dist-cjs/runtimeConfig.js +3 -4
  5. package/dist-es/Bedrock.js +2 -0
  6. package/dist-es/BedrockClient.js +2 -2
  7. package/dist-es/commands/UpdateCustomModelDeploymentCommand.js +16 -0
  8. package/dist-es/commands/index.js +1 -0
  9. package/dist-es/models/enums.js +11 -0
  10. package/dist-es/runtimeConfig.browser.js +2 -2
  11. package/dist-es/runtimeConfig.js +2 -3
  12. package/dist-es/schemas/schemas_0.js +279 -1079
  13. package/dist-types/Bedrock.d.ts +8 -1
  14. package/dist-types/BedrockClient.d.ts +13 -12
  15. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +2 -2
  16. package/dist-types/auth/httpAuthSchemeProvider.d.ts +2 -2
  17. package/dist-types/commands/BatchDeleteEvaluationJobCommand.d.ts +3 -3
  18. package/dist-types/commands/CancelAutomatedReasoningPolicyBuildWorkflowCommand.d.ts +3 -3
  19. package/dist-types/commands/CreateAutomatedReasoningPolicyCommand.d.ts +3 -3
  20. package/dist-types/commands/CreateAutomatedReasoningPolicyTestCaseCommand.d.ts +3 -3
  21. package/dist-types/commands/CreateAutomatedReasoningPolicyVersionCommand.d.ts +3 -3
  22. package/dist-types/commands/CreateCustomModelCommand.d.ts +3 -3
  23. package/dist-types/commands/CreateCustomModelDeploymentCommand.d.ts +3 -3
  24. package/dist-types/commands/CreateEvaluationJobCommand.d.ts +4 -4
  25. package/dist-types/commands/CreateFoundationModelAgreementCommand.d.ts +3 -3
  26. package/dist-types/commands/CreateGuardrailCommand.d.ts +3 -3
  27. package/dist-types/commands/CreateGuardrailVersionCommand.d.ts +3 -3
  28. package/dist-types/commands/CreateInferenceProfileCommand.d.ts +3 -3
  29. package/dist-types/commands/CreateMarketplaceModelEndpointCommand.d.ts +3 -3
  30. package/dist-types/commands/CreateModelCopyJobCommand.d.ts +3 -3
  31. package/dist-types/commands/CreateModelCustomizationJobCommand.d.ts +21 -4
  32. package/dist-types/commands/CreateModelImportJobCommand.d.ts +3 -3
  33. package/dist-types/commands/CreateModelInvocationJobCommand.d.ts +3 -3
  34. package/dist-types/commands/CreatePromptRouterCommand.d.ts +3 -3
  35. package/dist-types/commands/CreateProvisionedModelThroughputCommand.d.ts +3 -3
  36. package/dist-types/commands/DeleteAutomatedReasoningPolicyBuildWorkflowCommand.d.ts +3 -3
  37. package/dist-types/commands/DeleteAutomatedReasoningPolicyCommand.d.ts +3 -3
  38. package/dist-types/commands/DeleteAutomatedReasoningPolicyTestCaseCommand.d.ts +3 -3
  39. package/dist-types/commands/DeleteCustomModelCommand.d.ts +3 -3
  40. package/dist-types/commands/DeleteCustomModelDeploymentCommand.d.ts +3 -3
  41. package/dist-types/commands/DeleteEnforcedGuardrailConfigurationCommand.d.ts +3 -3
  42. package/dist-types/commands/DeleteFoundationModelAgreementCommand.d.ts +3 -3
  43. package/dist-types/commands/DeleteGuardrailCommand.d.ts +3 -3
  44. package/dist-types/commands/DeleteImportedModelCommand.d.ts +3 -3
  45. package/dist-types/commands/DeleteInferenceProfileCommand.d.ts +4 -3
  46. package/dist-types/commands/DeleteMarketplaceModelEndpointCommand.d.ts +3 -3
  47. package/dist-types/commands/DeleteModelInvocationLoggingConfigurationCommand.d.ts +3 -3
  48. package/dist-types/commands/DeletePromptRouterCommand.d.ts +3 -3
  49. package/dist-types/commands/DeleteProvisionedModelThroughputCommand.d.ts +3 -3
  50. package/dist-types/commands/DeregisterMarketplaceModelEndpointCommand.d.ts +3 -3
  51. package/dist-types/commands/ExportAutomatedReasoningPolicyVersionCommand.d.ts +3 -3
  52. package/dist-types/commands/GetAutomatedReasoningPolicyAnnotationsCommand.d.ts +3 -3
  53. package/dist-types/commands/GetAutomatedReasoningPolicyBuildWorkflowCommand.d.ts +3 -3
  54. package/dist-types/commands/GetAutomatedReasoningPolicyBuildWorkflowResultAssetsCommand.d.ts +3 -3
  55. package/dist-types/commands/GetAutomatedReasoningPolicyCommand.d.ts +3 -3
  56. package/dist-types/commands/GetAutomatedReasoningPolicyNextScenarioCommand.d.ts +3 -3
  57. package/dist-types/commands/GetAutomatedReasoningPolicyTestCaseCommand.d.ts +3 -3
  58. package/dist-types/commands/GetAutomatedReasoningPolicyTestResultCommand.d.ts +3 -3
  59. package/dist-types/commands/GetCustomModelCommand.d.ts +21 -4
  60. package/dist-types/commands/GetCustomModelDeploymentCommand.d.ts +7 -3
  61. package/dist-types/commands/GetEvaluationJobCommand.d.ts +4 -4
  62. package/dist-types/commands/GetFoundationModelAvailabilityCommand.d.ts +3 -3
  63. package/dist-types/commands/GetFoundationModelCommand.d.ts +3 -3
  64. package/dist-types/commands/GetGuardrailCommand.d.ts +3 -3
  65. package/dist-types/commands/GetImportedModelCommand.d.ts +3 -3
  66. package/dist-types/commands/GetInferenceProfileCommand.d.ts +3 -3
  67. package/dist-types/commands/GetMarketplaceModelEndpointCommand.d.ts +3 -3
  68. package/dist-types/commands/GetModelCopyJobCommand.d.ts +3 -3
  69. package/dist-types/commands/GetModelCustomizationJobCommand.d.ts +21 -4
  70. package/dist-types/commands/GetModelImportJobCommand.d.ts +3 -3
  71. package/dist-types/commands/GetModelInvocationJobCommand.d.ts +3 -3
  72. package/dist-types/commands/GetModelInvocationLoggingConfigurationCommand.d.ts +3 -3
  73. package/dist-types/commands/GetPromptRouterCommand.d.ts +3 -3
  74. package/dist-types/commands/GetProvisionedModelThroughputCommand.d.ts +3 -3
  75. package/dist-types/commands/GetUseCaseForModelAccessCommand.d.ts +3 -3
  76. package/dist-types/commands/ListAutomatedReasoningPoliciesCommand.d.ts +3 -3
  77. package/dist-types/commands/ListAutomatedReasoningPolicyBuildWorkflowsCommand.d.ts +3 -3
  78. package/dist-types/commands/ListAutomatedReasoningPolicyTestCasesCommand.d.ts +3 -3
  79. package/dist-types/commands/ListAutomatedReasoningPolicyTestResultsCommand.d.ts +3 -3
  80. package/dist-types/commands/ListCustomModelDeploymentsCommand.d.ts +3 -3
  81. package/dist-types/commands/ListCustomModelsCommand.d.ts +4 -4
  82. package/dist-types/commands/ListEnforcedGuardrailsConfigurationCommand.d.ts +3 -3
  83. package/dist-types/commands/ListEvaluationJobsCommand.d.ts +3 -3
  84. package/dist-types/commands/ListFoundationModelAgreementOffersCommand.d.ts +3 -3
  85. package/dist-types/commands/ListFoundationModelsCommand.d.ts +3 -3
  86. package/dist-types/commands/ListGuardrailsCommand.d.ts +3 -3
  87. package/dist-types/commands/ListImportedModelsCommand.d.ts +3 -3
  88. package/dist-types/commands/ListInferenceProfilesCommand.d.ts +3 -3
  89. package/dist-types/commands/ListMarketplaceModelEndpointsCommand.d.ts +3 -3
  90. package/dist-types/commands/ListModelCopyJobsCommand.d.ts +3 -3
  91. package/dist-types/commands/ListModelCustomizationJobsCommand.d.ts +4 -4
  92. package/dist-types/commands/ListModelImportJobsCommand.d.ts +3 -3
  93. package/dist-types/commands/ListModelInvocationJobsCommand.d.ts +3 -3
  94. package/dist-types/commands/ListPromptRoutersCommand.d.ts +3 -3
  95. package/dist-types/commands/ListProvisionedModelThroughputsCommand.d.ts +3 -3
  96. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -3
  97. package/dist-types/commands/PutEnforcedGuardrailConfigurationCommand.d.ts +3 -3
  98. package/dist-types/commands/PutModelInvocationLoggingConfigurationCommand.d.ts +3 -3
  99. package/dist-types/commands/PutUseCaseForModelAccessCommand.d.ts +3 -3
  100. package/dist-types/commands/RegisterMarketplaceModelEndpointCommand.d.ts +3 -3
  101. package/dist-types/commands/StartAutomatedReasoningPolicyBuildWorkflowCommand.d.ts +3 -3
  102. package/dist-types/commands/StartAutomatedReasoningPolicyTestWorkflowCommand.d.ts +3 -3
  103. package/dist-types/commands/StopEvaluationJobCommand.d.ts +3 -3
  104. package/dist-types/commands/StopModelCustomizationJobCommand.d.ts +3 -3
  105. package/dist-types/commands/StopModelInvocationJobCommand.d.ts +3 -3
  106. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  107. package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
  108. package/dist-types/commands/UpdateAutomatedReasoningPolicyAnnotationsCommand.d.ts +3 -3
  109. package/dist-types/commands/UpdateAutomatedReasoningPolicyCommand.d.ts +3 -3
  110. package/dist-types/commands/UpdateAutomatedReasoningPolicyTestCaseCommand.d.ts +3 -3
  111. package/dist-types/commands/UpdateCustomModelDeploymentCommand.d.ts +90 -0
  112. package/dist-types/commands/UpdateGuardrailCommand.d.ts +3 -3
  113. package/dist-types/commands/UpdateMarketplaceModelEndpointCommand.d.ts +3 -3
  114. package/dist-types/commands/UpdateProvisionedModelThroughputCommand.d.ts +3 -3
  115. package/dist-types/commands/index.d.ts +1 -0
  116. package/dist-types/endpoint/EndpointParameters.d.ts +13 -1
  117. package/dist-types/endpoint/endpointResolver.d.ts +5 -2
  118. package/dist-types/extensionConfiguration.d.ts +4 -4
  119. package/dist-types/models/BedrockServiceException.d.ts +1 -1
  120. package/dist-types/models/enums.d.ts +27 -0
  121. package/dist-types/models/errors.d.ts +1 -1
  122. package/dist-types/models/models_0.d.ts +166 -164
  123. package/dist-types/models/models_1.d.ts +164 -2
  124. package/dist-types/pagination/Interfaces.d.ts +1 -1
  125. package/dist-types/pagination/ListAutomatedReasoningPoliciesPaginator.d.ts +1 -1
  126. package/dist-types/pagination/ListAutomatedReasoningPolicyBuildWorkflowsPaginator.d.ts +1 -1
  127. package/dist-types/pagination/ListAutomatedReasoningPolicyTestCasesPaginator.d.ts +1 -1
  128. package/dist-types/pagination/ListAutomatedReasoningPolicyTestResultsPaginator.d.ts +1 -1
  129. package/dist-types/pagination/ListCustomModelDeploymentsPaginator.d.ts +1 -1
  130. package/dist-types/pagination/ListCustomModelsPaginator.d.ts +1 -1
  131. package/dist-types/pagination/ListEnforcedGuardrailsConfigurationPaginator.d.ts +1 -1
  132. package/dist-types/pagination/ListEvaluationJobsPaginator.d.ts +1 -1
  133. package/dist-types/pagination/ListGuardrailsPaginator.d.ts +1 -1
  134. package/dist-types/pagination/ListImportedModelsPaginator.d.ts +1 -1
  135. package/dist-types/pagination/ListInferenceProfilesPaginator.d.ts +1 -1
  136. package/dist-types/pagination/ListMarketplaceModelEndpointsPaginator.d.ts +1 -1
  137. package/dist-types/pagination/ListModelCopyJobsPaginator.d.ts +1 -1
  138. package/dist-types/pagination/ListModelCustomizationJobsPaginator.d.ts +1 -1
  139. package/dist-types/pagination/ListModelImportJobsPaginator.d.ts +1 -1
  140. package/dist-types/pagination/ListModelInvocationJobsPaginator.d.ts +1 -1
  141. package/dist-types/pagination/ListPromptRoutersPaginator.d.ts +1 -1
  142. package/dist-types/pagination/ListProvisionedModelThroughputsPaginator.d.ts +1 -1
  143. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  144. package/dist-types/runtimeConfig.d.ts +2 -2
  145. package/dist-types/runtimeConfig.native.d.ts +1 -1
  146. package/dist-types/runtimeConfig.shared.d.ts +2 -2
  147. package/dist-types/runtimeExtensions.d.ts +1 -1
  148. package/dist-types/schemas/schemas_0.d.ts +9 -1
  149. package/dist-types/ts3.4/Bedrock.d.ts +17 -0
  150. package/dist-types/ts3.4/BedrockClient.d.ts +9 -3
  151. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  152. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +1 -1
  153. package/dist-types/ts3.4/commands/DeleteInferenceProfileCommand.d.ts +2 -4
  154. package/dist-types/ts3.4/commands/GetInferenceProfileCommand.d.ts +1 -1
  155. package/dist-types/ts3.4/commands/ListInferenceProfilesCommand.d.ts +1 -1
  156. package/dist-types/ts3.4/commands/UpdateCustomModelDeploymentCommand.d.ts +51 -0
  157. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  158. package/dist-types/ts3.4/models/BedrockServiceException.d.ts +1 -1
  159. package/dist-types/ts3.4/models/enums.d.ts +15 -0
  160. package/dist-types/ts3.4/models/models_0.d.ts +57 -39
  161. package/dist-types/ts3.4/models/models_1.d.ts +45 -5
  162. package/dist-types/ts3.4/schemas/schemas_0.d.ts +8 -0
  163. package/package.json +14 -13
@@ -1,4 +1,4 @@
1
- import { Paginator } from "@smithy/types";
1
+ import type { Paginator } from "@smithy/types";
2
2
  import { ListModelCustomizationJobsCommandInput, ListModelCustomizationJobsCommandOutput } from "../commands/ListModelCustomizationJobsCommand";
3
3
  import { BedrockPaginationConfiguration } from "./Interfaces";
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { Paginator } from "@smithy/types";
1
+ import type { Paginator } from "@smithy/types";
2
2
  import { ListModelImportJobsCommandInput, ListModelImportJobsCommandOutput } from "../commands/ListModelImportJobsCommand";
3
3
  import { BedrockPaginationConfiguration } from "./Interfaces";
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { Paginator } from "@smithy/types";
1
+ import type { Paginator } from "@smithy/types";
2
2
  import { ListModelInvocationJobsCommandInput, ListModelInvocationJobsCommandOutput } from "../commands/ListModelInvocationJobsCommand";
3
3
  import { BedrockPaginationConfiguration } from "./Interfaces";
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { Paginator } from "@smithy/types";
1
+ import type { Paginator } from "@smithy/types";
2
2
  import { ListPromptRoutersCommandInput, ListPromptRoutersCommandOutput } from "../commands/ListPromptRoutersCommand";
3
3
  import { BedrockPaginationConfiguration } from "./Interfaces";
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { Paginator } from "@smithy/types";
1
+ import type { Paginator } from "@smithy/types";
2
2
  import { ListProvisionedModelThroughputsCommandInput, ListProvisionedModelThroughputsCommandOutput } from "../commands/ListProvisionedModelThroughputsCommand";
3
3
  import { BedrockPaginationConfiguration } from "./Interfaces";
4
4
  /**
@@ -1,5 +1,5 @@
1
1
  import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
2
- import { BedrockClientConfig } from "./BedrockClient";
2
+ import type { BedrockClientConfig } from "./BedrockClient";
3
3
  /**
4
4
  * @internal
5
5
  */
@@ -1,8 +1,8 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core";
2
2
  import { HttpBearerAuthSigner } from "@smithy/core";
3
3
  import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
4
- import { IdentityProviderConfig } from "@smithy/types";
5
- import { BedrockClientConfig } from "./BedrockClient";
4
+ import type { IdentityProviderConfig } from "@smithy/types";
5
+ import type { BedrockClientConfig } from "./BedrockClient";
6
6
  /**
7
7
  * @internal
8
8
  */
@@ -1,4 +1,4 @@
1
- import { BedrockClientConfig } from "./BedrockClient";
1
+ import type { BedrockClientConfig } from "./BedrockClient";
2
2
  /**
3
3
  * @internal
4
4
  */
@@ -1,7 +1,7 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core";
2
2
  import { HttpBearerAuthSigner } from "@smithy/core";
3
- import { IdentityProviderConfig } from "@smithy/types";
4
- import { BedrockClientConfig } from "./BedrockClient";
3
+ import type { IdentityProviderConfig } from "@smithy/types";
4
+ import type { BedrockClientConfig } from "./BedrockClient";
5
5
  /**
6
6
  * @internal
7
7
  */
@@ -1,4 +1,4 @@
1
- import { BedrockExtensionConfiguration } from "./extensionConfiguration";
1
+ import type { BedrockExtensionConfiguration } from "./extensionConfiguration";
2
2
  /**
3
3
  * @public
4
4
  */
@@ -1,4 +1,4 @@
1
- import { StaticErrorSchema, StaticListSchema, StaticMapSchema, StaticOperationSchema, StaticSimpleSchema, StaticStructureSchema } from "@smithy/types";
1
+ import type { StaticErrorSchema, StaticListSchema, StaticMapSchema, StaticOperationSchema, StaticSimpleSchema, StaticStructureSchema } from "@smithy/types";
2
2
  export declare var AutomatedReasoningLogicStatementContent: StaticSimpleSchema;
3
3
  export declare var AutomatedReasoningNaturalLanguageStatementContent: StaticSimpleSchema;
4
4
  export declare var AutomatedReasoningPolicyAnnotationFeedbackNaturalLanguage: StaticSimpleSchema;
@@ -165,6 +165,7 @@ export declare var CustomMetricBedrockEvaluatorModel: StaticStructureSchema;
165
165
  export declare var CustomMetricDefinition: StaticStructureSchema;
166
166
  export declare var CustomMetricEvaluatorModelConfig: StaticStructureSchema;
167
167
  export declare var CustomModelDeploymentSummary: StaticStructureSchema;
168
+ export declare var CustomModelDeploymentUpdateDetails: StaticStructureSchema;
168
169
  export declare var CustomModelSummary: StaticStructureSchema;
169
170
  export declare var CustomModelUnits: StaticStructureSchema;
170
171
  export declare var DataProcessingDetails: StaticStructureSchema;
@@ -317,6 +318,7 @@ export declare var KbInferenceConfig: StaticStructureSchema;
317
318
  export declare var KnowledgeBaseRetrievalConfiguration: StaticStructureSchema;
318
319
  export declare var KnowledgeBaseRetrieveAndGenerateConfiguration: StaticStructureSchema;
319
320
  export declare var KnowledgeBaseVectorSearchConfiguration: StaticStructureSchema;
321
+ export declare var LambdaGraderConfig: StaticStructureSchema;
320
322
  export declare var LegalTerm: StaticStructureSchema;
321
323
  export declare var ListAutomatedReasoningPoliciesRequest: StaticStructureSchema;
322
324
  export declare var ListAutomatedReasoningPoliciesResponse: StaticStructureSchema;
@@ -395,6 +397,8 @@ export declare var ResourceInUseException: StaticErrorSchema;
395
397
  export declare var ResourceNotFoundException: StaticErrorSchema;
396
398
  export declare var RetrieveAndGenerateConfiguration: StaticStructureSchema;
397
399
  export declare var RetrieveConfig: StaticStructureSchema;
400
+ export declare var RFTConfig: StaticStructureSchema;
401
+ export declare var RFTHyperParameters: StaticStructureSchema;
398
402
  export declare var RoutingCriteria: StaticStructureSchema;
399
403
  export declare var S3Config: StaticStructureSchema;
400
404
  export declare var S3DataSource: StaticStructureSchema;
@@ -433,6 +437,8 @@ export declare var UpdateAutomatedReasoningPolicyRequest: StaticStructureSchema;
433
437
  export declare var UpdateAutomatedReasoningPolicyResponse: StaticStructureSchema;
434
438
  export declare var UpdateAutomatedReasoningPolicyTestCaseRequest: StaticStructureSchema;
435
439
  export declare var UpdateAutomatedReasoningPolicyTestCaseResponse: StaticStructureSchema;
440
+ export declare var UpdateCustomModelDeploymentRequest: StaticStructureSchema;
441
+ export declare var UpdateCustomModelDeploymentResponse: StaticStructureSchema;
436
442
  export declare var UpdateGuardrailRequest: StaticStructureSchema;
437
443
  export declare var UpdateGuardrailResponse: StaticStructureSchema;
438
444
  export declare var UpdateMarketplaceModelEndpointRequest: StaticStructureSchema;
@@ -573,6 +579,7 @@ export declare var EvaluationInferenceConfig: StaticStructureSchema;
573
579
  export declare var EvaluationModelConfig: StaticStructureSchema;
574
580
  export declare var EvaluationPrecomputedRagSourceConfig: StaticStructureSchema;
575
581
  export declare var EvaluatorModelConfig: StaticStructureSchema;
582
+ export declare var GraderConfig: StaticStructureSchema;
576
583
  export declare var InferenceProfileModelSource: StaticStructureSchema;
577
584
  export declare var InvocationLogSource: StaticStructureSchema;
578
585
  export declare var KnowledgeBaseConfig: StaticStructureSchema;
@@ -678,6 +685,7 @@ export declare var UntagResource: StaticOperationSchema;
678
685
  export declare var UpdateAutomatedReasoningPolicy: StaticOperationSchema;
679
686
  export declare var UpdateAutomatedReasoningPolicyAnnotations: StaticOperationSchema;
680
687
  export declare var UpdateAutomatedReasoningPolicyTestCase: StaticOperationSchema;
688
+ export declare var UpdateCustomModelDeployment: StaticOperationSchema;
681
689
  export declare var UpdateGuardrail: StaticOperationSchema;
682
690
  export declare var UpdateMarketplaceModelEndpoint: StaticOperationSchema;
683
691
  export declare var UpdateProvisionedModelThroughput: StaticOperationSchema;
@@ -376,6 +376,10 @@ import {
376
376
  UpdateAutomatedReasoningPolicyTestCaseCommandInput,
377
377
  UpdateAutomatedReasoningPolicyTestCaseCommandOutput,
378
378
  } from "./commands/UpdateAutomatedReasoningPolicyTestCaseCommand";
379
+ import {
380
+ UpdateCustomModelDeploymentCommandInput,
381
+ UpdateCustomModelDeploymentCommandOutput,
382
+ } from "./commands/UpdateCustomModelDeploymentCommand";
379
383
  import {
380
384
  UpdateGuardrailCommandInput,
381
385
  UpdateGuardrailCommandOutput,
@@ -1792,6 +1796,19 @@ export interface Bedrock {
1792
1796
  data?: UpdateAutomatedReasoningPolicyTestCaseCommandOutput
1793
1797
  ) => void
1794
1798
  ): void;
1799
+ updateCustomModelDeployment(
1800
+ args: UpdateCustomModelDeploymentCommandInput,
1801
+ options?: __HttpHandlerOptions
1802
+ ): Promise<UpdateCustomModelDeploymentCommandOutput>;
1803
+ updateCustomModelDeployment(
1804
+ args: UpdateCustomModelDeploymentCommandInput,
1805
+ cb: (err: any, data?: UpdateCustomModelDeploymentCommandOutput) => void
1806
+ ): void;
1807
+ updateCustomModelDeployment(
1808
+ args: UpdateCustomModelDeploymentCommandInput,
1809
+ options: __HttpHandlerOptions,
1810
+ cb: (err: any, data?: UpdateCustomModelDeploymentCommandOutput) => void
1811
+ ): void;
1795
1812
  updateGuardrail(
1796
1813
  args: UpdateGuardrailCommandInput,
1797
1814
  options?: __HttpHandlerOptions
@@ -20,13 +20,12 @@ import {
20
20
  } from "@smithy/middleware-retry";
21
21
  import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
22
22
  import {
23
- Client as __Client,
24
23
  DefaultsMode as __DefaultsMode,
25
24
  SmithyConfiguration as __SmithyConfiguration,
26
25
  SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
26
+ Client as __Client,
27
27
  } from "@smithy/smithy-client";
28
28
  import {
29
- AwsCredentialIdentityProvider,
30
29
  BodyLengthCalculator as __BodyLengthCalculator,
31
30
  CheckOptionalClientConfig as __CheckOptionalClientConfig,
32
31
  ChecksumConstructor as __ChecksumConstructor,
@@ -39,9 +38,10 @@ import {
39
38
  HttpResponse,
40
39
  Logger as __Logger,
41
40
  Provider as __Provider,
42
- Provider,
43
41
  StreamCollector as __StreamCollector,
44
42
  UrlParser as __UrlParser,
43
+ AwsCredentialIdentityProvider,
44
+ Provider,
45
45
  UserAgent as __UserAgent,
46
46
  } from "@smithy/types";
47
47
  import {
@@ -424,6 +424,10 @@ import {
424
424
  UpdateAutomatedReasoningPolicyTestCaseCommandInput,
425
425
  UpdateAutomatedReasoningPolicyTestCaseCommandOutput,
426
426
  } from "./commands/UpdateAutomatedReasoningPolicyTestCaseCommand";
427
+ import {
428
+ UpdateCustomModelDeploymentCommandInput,
429
+ UpdateCustomModelDeploymentCommandOutput,
430
+ } from "./commands/UpdateCustomModelDeploymentCommand";
427
431
  import {
428
432
  UpdateGuardrailCommandInput,
429
433
  UpdateGuardrailCommandOutput,
@@ -538,6 +542,7 @@ export type ServiceInputTypes =
538
542
  | UpdateAutomatedReasoningPolicyAnnotationsCommandInput
539
543
  | UpdateAutomatedReasoningPolicyCommandInput
540
544
  | UpdateAutomatedReasoningPolicyTestCaseCommandInput
545
+ | UpdateCustomModelDeploymentCommandInput
541
546
  | UpdateGuardrailCommandInput
542
547
  | UpdateMarketplaceModelEndpointCommandInput
543
548
  | UpdateProvisionedModelThroughputCommandInput;
@@ -636,6 +641,7 @@ export type ServiceOutputTypes =
636
641
  | UpdateAutomatedReasoningPolicyAnnotationsCommandOutput
637
642
  | UpdateAutomatedReasoningPolicyCommandOutput
638
643
  | UpdateAutomatedReasoningPolicyTestCaseCommandOutput
644
+ | UpdateCustomModelDeploymentCommandOutput
639
645
  | UpdateGuardrailCommandOutput
640
646
  | UpdateMarketplaceModelEndpointCommandOutput
641
647
  | UpdateProvisionedModelThroughputCommandOutput;
@@ -1,7 +1,7 @@
1
1
  import {
2
+ HttpAuthScheme,
2
3
  AwsCredentialIdentity,
3
4
  AwsCredentialIdentityProvider,
4
- HttpAuthScheme,
5
5
  TokenIdentity,
6
6
  TokenIdentityProvider,
7
7
  } from "@smithy/types";
@@ -4,12 +4,12 @@ import {
4
4
  AwsSdkSigV4PreviouslyResolved,
5
5
  } from "@aws-sdk/core";
6
6
  import {
7
- HandlerExecutionContext,
8
7
  HttpAuthScheme,
9
8
  HttpAuthSchemeParameters,
10
9
  HttpAuthSchemeParametersProvider,
11
10
  HttpAuthSchemeProvider,
12
11
  Provider,
12
+ HandlerExecutionContext,
13
13
  TokenIdentity,
14
14
  TokenIdentityProvider,
15
15
  } from "@smithy/types";
@@ -5,10 +5,8 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../BedrockClient";
8
- import {
9
- DeleteInferenceProfileRequest,
10
- DeleteInferenceProfileResponse,
11
- } from "../models/models_0";
8
+ import { DeleteInferenceProfileRequest } from "../models/models_0";
9
+ import { DeleteInferenceProfileResponse } from "../models/models_1";
12
10
  export { __MetadataBearer };
13
11
  export { $Command };
14
12
  export interface DeleteInferenceProfileCommandInput
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  GetInferenceProfileRequest,
10
10
  GetInferenceProfileResponse,
11
- } from "../models/models_0";
11
+ } from "../models/models_1";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface GetInferenceProfileCommandInput
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  ListInferenceProfilesRequest,
10
10
  ListInferenceProfilesResponse,
11
- } from "../models/models_0";
11
+ } from "../models/models_1";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface ListInferenceProfilesCommandInput
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ BedrockClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../BedrockClient";
8
+ import {
9
+ UpdateCustomModelDeploymentRequest,
10
+ UpdateCustomModelDeploymentResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface UpdateCustomModelDeploymentCommandInput
15
+ extends UpdateCustomModelDeploymentRequest {}
16
+ export interface UpdateCustomModelDeploymentCommandOutput
17
+ extends UpdateCustomModelDeploymentResponse,
18
+ __MetadataBearer {}
19
+ declare const UpdateCustomModelDeploymentCommand_base: {
20
+ new (
21
+ input: UpdateCustomModelDeploymentCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ UpdateCustomModelDeploymentCommandInput,
24
+ UpdateCustomModelDeploymentCommandOutput,
25
+ BedrockClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: UpdateCustomModelDeploymentCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ UpdateCustomModelDeploymentCommandInput,
33
+ UpdateCustomModelDeploymentCommandOutput,
34
+ BedrockClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class UpdateCustomModelDeploymentCommand extends UpdateCustomModelDeploymentCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: UpdateCustomModelDeploymentRequest;
44
+ output: UpdateCustomModelDeploymentResponse;
45
+ };
46
+ sdk: {
47
+ input: UpdateCustomModelDeploymentCommandInput;
48
+ output: UpdateCustomModelDeploymentCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -92,6 +92,7 @@ export * from "./UntagResourceCommand";
92
92
  export * from "./UpdateAutomatedReasoningPolicyAnnotationsCommand";
93
93
  export * from "./UpdateAutomatedReasoningPolicyCommand";
94
94
  export * from "./UpdateAutomatedReasoningPolicyTestCaseCommand";
95
+ export * from "./UpdateCustomModelDeploymentCommand";
95
96
  export * from "./UpdateGuardrailCommand";
96
97
  export * from "./UpdateMarketplaceModelEndpointCommand";
97
98
  export * from "./UpdateProvisionedModelThroughputCommand";
@@ -1,6 +1,6 @@
1
1
  import {
2
- ServiceException as __ServiceException,
3
2
  ServiceExceptionOptions as __ServiceExceptionOptions,
3
+ ServiceException as __ServiceException,
4
4
  } from "@smithy/smithy-client";
5
5
  export { __ServiceExceptionOptions };
6
6
  export { __ServiceException };
@@ -106,6 +106,13 @@ export declare const CustomModelDeploymentStatus: {
106
106
  };
107
107
  export type CustomModelDeploymentStatus =
108
108
  (typeof CustomModelDeploymentStatus)[keyof typeof CustomModelDeploymentStatus];
109
+ export declare const CustomModelDeploymentUpdateStatus: {
110
+ readonly UPDATE_COMPLETED: "UpdateCompleted";
111
+ readonly UPDATE_FAILED: "UpdateFailed";
112
+ readonly UPDATING: "Updating";
113
+ };
114
+ export type CustomModelDeploymentUpdateStatus =
115
+ (typeof CustomModelDeploymentUpdateStatus)[keyof typeof CustomModelDeploymentUpdateStatus];
109
116
  export declare const SortModelsBy: {
110
117
  readonly CREATION_TIME: "CreationTime";
111
118
  };
@@ -115,11 +122,19 @@ export declare const SortOrder: {
115
122
  readonly DESCENDING: "Descending";
116
123
  };
117
124
  export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
125
+ export declare const ReasoningEffort: {
126
+ readonly HIGH: "high";
127
+ readonly LOW: "low";
128
+ readonly MEDIUM: "medium";
129
+ };
130
+ export type ReasoningEffort =
131
+ (typeof ReasoningEffort)[keyof typeof ReasoningEffort];
118
132
  export declare const CustomizationType: {
119
133
  readonly CONTINUED_PRE_TRAINING: "CONTINUED_PRE_TRAINING";
120
134
  readonly DISTILLATION: "DISTILLATION";
121
135
  readonly FINE_TUNING: "FINE_TUNING";
122
136
  readonly IMPORTED: "IMPORTED";
137
+ readonly REINFORCEMENT_FINE_TUNING: "REINFORCEMENT_FINE_TUNING";
123
138
  };
124
139
  export type CustomizationType =
125
140
  (typeof CustomizationType)[keyof typeof CustomizationType];
@@ -16,6 +16,7 @@ import {
16
16
  ConfigurationOwner,
17
17
  CustomizationType,
18
18
  CustomModelDeploymentStatus,
19
+ CustomModelDeploymentUpdateStatus,
19
20
  EvaluationJobStatus,
20
21
  EvaluationJobType,
21
22
  EvaluationTaskType,
@@ -36,11 +37,11 @@ import {
36
37
  GuardrailTopicType,
37
38
  GuardrailWordAction,
38
39
  InferenceProfileStatus,
39
- InferenceProfileType,
40
40
  InputTags,
41
41
  ModelStatus,
42
42
  PerformanceConfigLatency,
43
43
  QueryTransformationType,
44
+ ReasoningEffort,
44
45
  RerankingMetadataSelectionMode,
45
46
  SortJobsBy,
46
47
  SortModelsBy,
@@ -1422,6 +1423,10 @@ export interface DeleteCustomModelDeploymentResponse {}
1422
1423
  export interface GetCustomModelDeploymentRequest {
1423
1424
  customModelDeploymentIdentifier: string | undefined;
1424
1425
  }
1426
+ export interface CustomModelDeploymentUpdateDetails {
1427
+ modelArn: string | undefined;
1428
+ updateStatus: CustomModelDeploymentUpdateStatus | undefined;
1429
+ }
1425
1430
  export interface GetCustomModelDeploymentResponse {
1426
1431
  customModelDeploymentArn: string | undefined;
1427
1432
  modelDeploymentName: string | undefined;
@@ -1429,6 +1434,7 @@ export interface GetCustomModelDeploymentResponse {
1429
1434
  createdAt: Date | undefined;
1430
1435
  status: CustomModelDeploymentStatus | undefined;
1431
1436
  description?: string | undefined;
1437
+ updateDetails?: CustomModelDeploymentUpdateDetails | undefined;
1432
1438
  failureMessage?: string | undefined;
1433
1439
  lastUpdatedAt?: Date | undefined;
1434
1440
  }
@@ -1456,6 +1462,13 @@ export interface ListCustomModelDeploymentsResponse {
1456
1462
  nextToken?: string | undefined;
1457
1463
  modelDeploymentSummaries?: CustomModelDeploymentSummary[] | undefined;
1458
1464
  }
1465
+ export interface UpdateCustomModelDeploymentRequest {
1466
+ modelArn: string | undefined;
1467
+ customModelDeploymentIdentifier: string | undefined;
1468
+ }
1469
+ export interface UpdateCustomModelDeploymentResponse {
1470
+ customModelDeploymentArn: string | undefined;
1471
+ }
1459
1472
  export interface S3DataSource {
1460
1473
  s3Uri: string | undefined;
1461
1474
  }
@@ -1501,20 +1514,63 @@ export interface TeacherModelConfig {
1501
1514
  export interface DistillationConfig {
1502
1515
  teacherModelConfig: TeacherModelConfig | undefined;
1503
1516
  }
1517
+ export interface LambdaGraderConfig {
1518
+ lambdaArn: string | undefined;
1519
+ }
1520
+ export type GraderConfig =
1521
+ | GraderConfig.LambdaGraderMember
1522
+ | GraderConfig.$UnknownMember;
1523
+ export declare namespace GraderConfig {
1524
+ interface LambdaGraderMember {
1525
+ lambdaGrader: LambdaGraderConfig;
1526
+ $unknown?: never;
1527
+ }
1528
+ interface $UnknownMember {
1529
+ lambdaGrader?: never;
1530
+ $unknown: [string, any];
1531
+ }
1532
+ interface Visitor<T> {
1533
+ lambdaGrader: (value: LambdaGraderConfig) => T;
1534
+ _: (name: string, value: any) => T;
1535
+ }
1536
+ }
1537
+ export interface RFTHyperParameters {
1538
+ epochCount?: number | undefined;
1539
+ batchSize?: number | undefined;
1540
+ learningRate?: number | undefined;
1541
+ maxPromptLength?: number | undefined;
1542
+ trainingSamplePerPrompt?: number | undefined;
1543
+ inferenceMaxTokens?: number | undefined;
1544
+ reasoningEffort?: ReasoningEffort | undefined;
1545
+ evalInterval?: number | undefined;
1546
+ }
1547
+ export interface RFTConfig {
1548
+ graderConfig?: GraderConfig | undefined;
1549
+ hyperParameters?: RFTHyperParameters | undefined;
1550
+ }
1504
1551
  export type CustomizationConfig =
1505
1552
  | CustomizationConfig.DistillationConfigMember
1553
+ | CustomizationConfig.RftConfigMember
1506
1554
  | CustomizationConfig.$UnknownMember;
1507
1555
  export declare namespace CustomizationConfig {
1508
1556
  interface DistillationConfigMember {
1509
1557
  distillationConfig: DistillationConfig;
1558
+ rftConfig?: never;
1559
+ $unknown?: never;
1560
+ }
1561
+ interface RftConfigMember {
1562
+ distillationConfig?: never;
1563
+ rftConfig: RFTConfig;
1510
1564
  $unknown?: never;
1511
1565
  }
1512
1566
  interface $UnknownMember {
1513
1567
  distillationConfig?: never;
1568
+ rftConfig?: never;
1514
1569
  $unknown: [string, any];
1515
1570
  }
1516
1571
  interface Visitor<T> {
1517
1572
  distillationConfig: (value: DistillationConfig) => T;
1573
+ rftConfig: (value: RFTConfig) => T;
1518
1574
  _: (name: string, value: any) => T;
1519
1575
  }
1520
1576
  }
@@ -2427,41 +2483,3 @@ export interface CreateInferenceProfileResponse {
2427
2483
  export interface DeleteInferenceProfileRequest {
2428
2484
  inferenceProfileIdentifier: string | undefined;
2429
2485
  }
2430
- export interface DeleteInferenceProfileResponse {}
2431
- export interface GetInferenceProfileRequest {
2432
- inferenceProfileIdentifier: string | undefined;
2433
- }
2434
- export interface InferenceProfileModel {
2435
- modelArn?: string | undefined;
2436
- }
2437
- export interface GetInferenceProfileResponse {
2438
- inferenceProfileName: string | undefined;
2439
- description?: string | undefined;
2440
- createdAt?: Date | undefined;
2441
- updatedAt?: Date | undefined;
2442
- inferenceProfileArn: string | undefined;
2443
- models: InferenceProfileModel[] | undefined;
2444
- inferenceProfileId: string | undefined;
2445
- status: InferenceProfileStatus | undefined;
2446
- type: InferenceProfileType | undefined;
2447
- }
2448
- export interface ListInferenceProfilesRequest {
2449
- maxResults?: number | undefined;
2450
- nextToken?: string | undefined;
2451
- typeEquals?: InferenceProfileType | undefined;
2452
- }
2453
- export interface InferenceProfileSummary {
2454
- inferenceProfileName: string | undefined;
2455
- description?: string | undefined;
2456
- createdAt?: Date | undefined;
2457
- updatedAt?: Date | undefined;
2458
- inferenceProfileArn: string | undefined;
2459
- models: InferenceProfileModel[] | undefined;
2460
- inferenceProfileId: string | undefined;
2461
- status: InferenceProfileStatus | undefined;
2462
- type: InferenceProfileType | undefined;
2463
- }
2464
- export interface ListInferenceProfilesResponse {
2465
- inferenceProfileSummaries?: InferenceProfileSummary[] | undefined;
2466
- nextToken?: string | undefined;
2467
- }
@@ -8,6 +8,8 @@ import {
8
8
  EvaluationJobType,
9
9
  FineTuningJobStatus,
10
10
  FoundationModelLifecycleStatus,
11
+ InferenceProfileStatus,
12
+ InferenceProfileType,
11
13
  InferenceType,
12
14
  JobStatusDetails,
13
15
  ModelCopyJobStatus,
@@ -33,24 +35,62 @@ import {
33
35
  AgreementAvailability,
34
36
  CustomizationConfig,
35
37
  EvaluationConfig,
36
- EvaluationModelConfig,
37
38
  EvaluationOutputDataConfig,
38
- EvaluationPrecomputedRagSourceConfig,
39
39
  ExternalSourcesRetrieveAndGenerateConfiguration,
40
- FilterAttribute,
41
40
  GenerationConfiguration,
42
41
  ImplicitFilterConfiguration,
43
42
  ModelDataSource,
44
43
  OrchestrationConfiguration,
45
44
  OutputDataConfig,
46
- Tag,
47
45
  TrainingDataConfig,
48
46
  TrainingMetrics,
49
47
  ValidationDataConfig,
50
- ValidatorMetric,
51
48
  VectorSearchRerankingConfiguration,
52
49
  VpcConfig,
50
+ EvaluationModelConfig,
51
+ EvaluationPrecomputedRagSourceConfig,
52
+ FilterAttribute,
53
+ Tag,
54
+ ValidatorMetric,
53
55
  } from "./models_0";
56
+ export interface DeleteInferenceProfileResponse {}
57
+ export interface GetInferenceProfileRequest {
58
+ inferenceProfileIdentifier: string | undefined;
59
+ }
60
+ export interface InferenceProfileModel {
61
+ modelArn?: string | undefined;
62
+ }
63
+ export interface GetInferenceProfileResponse {
64
+ inferenceProfileName: string | undefined;
65
+ description?: string | undefined;
66
+ createdAt?: Date | undefined;
67
+ updatedAt?: Date | undefined;
68
+ inferenceProfileArn: string | undefined;
69
+ models: InferenceProfileModel[] | undefined;
70
+ inferenceProfileId: string | undefined;
71
+ status: InferenceProfileStatus | undefined;
72
+ type: InferenceProfileType | undefined;
73
+ }
74
+ export interface ListInferenceProfilesRequest {
75
+ maxResults?: number | undefined;
76
+ nextToken?: string | undefined;
77
+ typeEquals?: InferenceProfileType | undefined;
78
+ }
79
+ export interface InferenceProfileSummary {
80
+ inferenceProfileName: string | undefined;
81
+ description?: string | undefined;
82
+ createdAt?: Date | undefined;
83
+ updatedAt?: Date | undefined;
84
+ inferenceProfileArn: string | undefined;
85
+ models: InferenceProfileModel[] | undefined;
86
+ inferenceProfileId: string | undefined;
87
+ status: InferenceProfileStatus | undefined;
88
+ type: InferenceProfileType | undefined;
89
+ }
90
+ export interface ListInferenceProfilesResponse {
91
+ inferenceProfileSummaries?: InferenceProfileSummary[] | undefined;
92
+ nextToken?: string | undefined;
93
+ }
54
94
  export interface DeleteModelInvocationLoggingConfigurationRequest {}
55
95
  export interface DeleteModelInvocationLoggingConfigurationResponse {}
56
96
  export interface GetModelInvocationLoggingConfigurationRequest {}