@aws-sdk/client-bedrock 3.699.0 → 3.705.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 (27) hide show
  1. package/dist-cjs/index.js +770 -36
  2. package/dist-es/commands/CreateModelCustomizationJobCommand.js +2 -1
  3. package/dist-es/commands/GetCustomModelCommand.js +2 -1
  4. package/dist-es/commands/GetModelCustomizationJobCommand.js +2 -1
  5. package/dist-es/models/models_0.js +291 -24
  6. package/dist-es/protocols/Aws_restJson1.js +410 -3
  7. package/dist-types/commands/BatchDeleteEvaluationJobCommand.d.ts +3 -1
  8. package/dist-types/commands/CreateEvaluationJobCommand.d.ts +156 -2
  9. package/dist-types/commands/CreateGuardrailCommand.d.ts +1 -1
  10. package/dist-types/commands/CreateModelCustomizationJobCommand.d.ts +43 -3
  11. package/dist-types/commands/GetCustomModelCommand.d.ts +42 -2
  12. package/dist-types/commands/GetEvaluationJobCommand.d.ts +156 -3
  13. package/dist-types/commands/GetFoundationModelCommand.d.ts +1 -1
  14. package/dist-types/commands/GetModelCustomizationJobCommand.d.ts +43 -3
  15. package/dist-types/commands/GetModelInvocationJobCommand.d.ts +1 -1
  16. package/dist-types/commands/GetModelInvocationLoggingConfigurationCommand.d.ts +1 -0
  17. package/dist-types/commands/ListCustomModelsCommand.d.ts +1 -1
  18. package/dist-types/commands/ListEvaluationJobsCommand.d.ts +10 -2
  19. package/dist-types/commands/ListFoundationModelsCommand.d.ts +2 -2
  20. package/dist-types/commands/ListModelCustomizationJobsCommand.d.ts +1 -1
  21. package/dist-types/commands/ListModelInvocationJobsCommand.d.ts +1 -1
  22. package/dist-types/commands/PutModelInvocationLoggingConfigurationCommand.d.ts +1 -0
  23. package/dist-types/commands/StopEvaluationJobCommand.d.ts +1 -1
  24. package/dist-types/commands/StopModelInvocationJobCommand.d.ts +1 -1
  25. package/dist-types/models/models_0.d.ts +1585 -175
  26. package/dist-types/ts3.4/models/models_0.d.ts +683 -55
  27. package/package.json +1 -1
@@ -27,7 +27,7 @@ declare const ListEvaluationJobsCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Lists model evaluation jobs.</p>
30
+ * <p>Lists all existing evaluation jobs.</p>
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
@@ -38,6 +38,7 @@ declare const ListEvaluationJobsCommand_base: {
38
38
  * creationTimeAfter: new Date("TIMESTAMP"),
39
39
  * creationTimeBefore: new Date("TIMESTAMP"),
40
40
  * statusEquals: "InProgress" || "Completed" || "Failed" || "Stopping" || "Stopped" || "Deleting",
41
+ * applicationTypeEquals: "ModelEvaluation" || "RagEvaluation",
41
42
  * nameContains: "STRING_VALUE",
42
43
  * maxResults: Number("int"),
43
44
  * nextToken: "STRING_VALUE",
@@ -58,9 +59,16 @@ declare const ListEvaluationJobsCommand_base: {
58
59
  * // evaluationTaskTypes: [ // EvaluationTaskTypes // required
59
60
  * // "Summarization" || "Classification" || "QuestionAndAnswer" || "Generation" || "Custom",
60
61
  * // ],
61
- * // modelIdentifiers: [ // EvaluationModelIdentifiers // required
62
+ * // modelIdentifiers: [ // EvaluationModelIdentifiers
62
63
  * // "STRING_VALUE",
63
64
  * // ],
65
+ * // ragIdentifiers: [ // RAGIdentifiers
66
+ * // "STRING_VALUE",
67
+ * // ],
68
+ * // evaluatorModelIdentifiers: [ // EvaluatorModelIdentifiers
69
+ * // "STRING_VALUE",
70
+ * // ],
71
+ * // applicationType: "ModelEvaluation" || "RagEvaluation",
64
72
  * // },
65
73
  * // ],
66
74
  * // };
@@ -36,7 +36,7 @@ declare const ListFoundationModelsCommand_base: {
36
36
  * const client = new BedrockClient(config);
37
37
  * const input = { // ListFoundationModelsRequest
38
38
  * byProvider: "STRING_VALUE",
39
- * byCustomizationType: "FINE_TUNING" || "CONTINUED_PRE_TRAINING",
39
+ * byCustomizationType: "FINE_TUNING" || "CONTINUED_PRE_TRAINING" || "DISTILLATION",
40
40
  * byOutputModality: "TEXT" || "IMAGE" || "EMBEDDING",
41
41
  * byInferenceType: "ON_DEMAND" || "PROVISIONED",
42
42
  * };
@@ -57,7 +57,7 @@ declare const ListFoundationModelsCommand_base: {
57
57
  * // ],
58
58
  * // responseStreamingSupported: true || false,
59
59
  * // customizationsSupported: [ // ModelCustomizationList
60
- * // "FINE_TUNING" || "CONTINUED_PRE_TRAINING",
60
+ * // "FINE_TUNING" || "CONTINUED_PRE_TRAINING" || "DISTILLATION",
61
61
  * // ],
62
62
  * // inferenceTypesSupported: [ // InferenceTypeList
63
63
  * // "ON_DEMAND" || "PROVISIONED",
@@ -61,7 +61,7 @@ declare const ListModelCustomizationJobsCommand_base: {
61
61
  * // endTime: new Date("TIMESTAMP"),
62
62
  * // customModelArn: "STRING_VALUE",
63
63
  * // customModelName: "STRING_VALUE",
64
- * // customizationType: "FINE_TUNING" || "CONTINUED_PRE_TRAINING",
64
+ * // customizationType: "FINE_TUNING" || "CONTINUED_PRE_TRAINING" || "DISTILLATION",
65
65
  * // },
66
66
  * // ],
67
67
  * // };
@@ -27,7 +27,7 @@ declare const ListModelInvocationJobsCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Lists all batch inference jobs in the account. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/batch-inference-manage.html#batch-inference-view">View details about a batch inference job</a>.</p>
30
+ * <p>Lists all batch inference jobs in the account. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/batch-inference-view.html">View details about a batch inference job</a>.</p>
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
@@ -51,6 +51,7 @@ declare const PutModelInvocationLoggingConfigurationCommand_base: {
51
51
  * textDataDeliveryEnabled: true || false,
52
52
  * imageDataDeliveryEnabled: true || false,
53
53
  * embeddingDataDeliveryEnabled: true || false,
54
+ * videoDataDeliveryEnabled: true || false,
54
55
  * },
55
56
  * };
56
57
  * const command = new PutModelInvocationLoggingConfigurationCommand(input);
@@ -27,7 +27,7 @@ declare const StopEvaluationJobCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Stops an in progress model evaluation job.</p>
30
+ * <p>Stops an evaluation job that is current being created or running.</p>
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
@@ -27,7 +27,7 @@ declare const StopModelInvocationJobCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Stops a batch inference job. You're only charged for tokens that were already processed. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/batch-inference-manage.html#batch-inference-stop">Stop a batch inference job</a>.</p>
30
+ * <p>Stops a batch inference job. You're only charged for tokens that were already processed. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/batch-inference-stop.html">Stop a batch inference job</a>.</p>
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript