@aws-sdk/client-bedrock 3.703.0 → 3.706.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 (71) hide show
  1. package/README.md +72 -0
  2. package/dist-cjs/index.js +717 -30
  3. package/dist-es/Bedrock.js +18 -0
  4. package/dist-es/commands/CreateMarketplaceModelEndpointCommand.js +22 -0
  5. package/dist-es/commands/CreateModelCustomizationJobCommand.js +2 -1
  6. package/dist-es/commands/DeleteMarketplaceModelEndpointCommand.js +22 -0
  7. package/dist-es/commands/DeregisterMarketplaceModelEndpointCommand.js +22 -0
  8. package/dist-es/commands/GetCustomModelCommand.js +2 -1
  9. package/dist-es/commands/GetMarketplaceModelEndpointCommand.js +22 -0
  10. package/dist-es/commands/GetModelCustomizationJobCommand.js +2 -1
  11. package/dist-es/commands/GetPromptRouterCommand.js +23 -0
  12. package/dist-es/commands/ListMarketplaceModelEndpointsCommand.js +22 -0
  13. package/dist-es/commands/ListPromptRoutersCommand.js +23 -0
  14. package/dist-es/commands/RegisterMarketplaceModelEndpointCommand.js +22 -0
  15. package/dist-es/commands/UpdateMarketplaceModelEndpointCommand.js +22 -0
  16. package/dist-es/commands/index.js +9 -0
  17. package/dist-es/models/models_0.js +173 -20
  18. package/dist-es/pagination/ListMarketplaceModelEndpointsPaginator.js +4 -0
  19. package/dist-es/pagination/ListPromptRoutersPaginator.js +4 -0
  20. package/dist-es/pagination/index.js +2 -0
  21. package/dist-es/protocols/Aws_restJson1.js +317 -1
  22. package/dist-types/Bedrock.d.ts +65 -0
  23. package/dist-types/BedrockClient.d.ts +11 -2
  24. package/dist-types/commands/CreateGuardrailCommand.d.ts +7 -1
  25. package/dist-types/commands/CreateMarketplaceModelEndpointCommand.d.ts +143 -0
  26. package/dist-types/commands/CreateModelCustomizationJobCommand.d.ts +43 -3
  27. package/dist-types/commands/DeleteMarketplaceModelEndpointCommand.d.ts +84 -0
  28. package/dist-types/commands/DeregisterMarketplaceModelEndpointCommand.d.ts +89 -0
  29. package/dist-types/commands/GetCustomModelCommand.d.ts +42 -2
  30. package/dist-types/commands/GetFoundationModelCommand.d.ts +1 -1
  31. package/dist-types/commands/GetGuardrailCommand.d.ts +6 -0
  32. package/dist-types/commands/GetMarketplaceModelEndpointCommand.d.ts +111 -0
  33. package/dist-types/commands/GetModelCustomizationJobCommand.d.ts +43 -3
  34. package/dist-types/commands/GetModelInvocationJobCommand.d.ts +1 -1
  35. package/dist-types/commands/GetModelInvocationLoggingConfigurationCommand.d.ts +1 -0
  36. package/dist-types/commands/GetPromptRouterCommand.d.ts +103 -0
  37. package/dist-types/commands/ListCustomModelsCommand.d.ts +1 -1
  38. package/dist-types/commands/ListFoundationModelsCommand.d.ts +2 -2
  39. package/dist-types/commands/ListMarketplaceModelEndpointsCommand.d.ts +99 -0
  40. package/dist-types/commands/ListModelCustomizationJobsCommand.d.ts +1 -1
  41. package/dist-types/commands/ListModelInvocationJobsCommand.d.ts +1 -1
  42. package/dist-types/commands/ListPromptRoutersCommand.d.ts +106 -0
  43. package/dist-types/commands/PutModelInvocationLoggingConfigurationCommand.d.ts +1 -0
  44. package/dist-types/commands/RegisterMarketplaceModelEndpointCommand.d.ts +116 -0
  45. package/dist-types/commands/StopModelInvocationJobCommand.d.ts +1 -1
  46. package/dist-types/commands/UpdateGuardrailCommand.d.ts +6 -0
  47. package/dist-types/commands/UpdateMarketplaceModelEndpointCommand.d.ts +135 -0
  48. package/dist-types/commands/index.d.ts +9 -0
  49. package/dist-types/models/models_0.d.ts +1163 -139
  50. package/dist-types/pagination/ListMarketplaceModelEndpointsPaginator.d.ts +7 -0
  51. package/dist-types/pagination/ListPromptRoutersPaginator.d.ts +7 -0
  52. package/dist-types/pagination/index.d.ts +2 -0
  53. package/dist-types/protocols/Aws_restJson1.d.ts +81 -0
  54. package/dist-types/ts3.4/Bedrock.d.ts +161 -0
  55. package/dist-types/ts3.4/BedrockClient.d.ts +54 -0
  56. package/dist-types/ts3.4/commands/CreateMarketplaceModelEndpointCommand.d.ts +51 -0
  57. package/dist-types/ts3.4/commands/DeleteMarketplaceModelEndpointCommand.d.ts +51 -0
  58. package/dist-types/ts3.4/commands/DeregisterMarketplaceModelEndpointCommand.d.ts +51 -0
  59. package/dist-types/ts3.4/commands/GetMarketplaceModelEndpointCommand.d.ts +51 -0
  60. package/dist-types/ts3.4/commands/GetPromptRouterCommand.d.ts +50 -0
  61. package/dist-types/ts3.4/commands/ListMarketplaceModelEndpointsCommand.d.ts +51 -0
  62. package/dist-types/ts3.4/commands/ListPromptRoutersCommand.d.ts +51 -0
  63. package/dist-types/ts3.4/commands/RegisterMarketplaceModelEndpointCommand.d.ts +51 -0
  64. package/dist-types/ts3.4/commands/UpdateMarketplaceModelEndpointCommand.d.ts +51 -0
  65. package/dist-types/ts3.4/commands/index.d.ts +9 -0
  66. package/dist-types/ts3.4/models/models_0.d.ts +363 -44
  67. package/dist-types/ts3.4/pagination/ListMarketplaceModelEndpointsPaginator.d.ts +11 -0
  68. package/dist-types/ts3.4/pagination/ListPromptRoutersPaginator.d.ts +11 -0
  69. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  70. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +108 -0
  71. package/package.json +1 -1
@@ -0,0 +1,89 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
4
+ import { DeregisterMarketplaceModelEndpointRequest, DeregisterMarketplaceModelEndpointResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DeregisterMarketplaceModelEndpointCommand}.
14
+ */
15
+ export interface DeregisterMarketplaceModelEndpointCommandInput extends DeregisterMarketplaceModelEndpointRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeregisterMarketplaceModelEndpointCommand}.
21
+ */
22
+ export interface DeregisterMarketplaceModelEndpointCommandOutput extends DeregisterMarketplaceModelEndpointResponse, __MetadataBearer {
23
+ }
24
+ declare const DeregisterMarketplaceModelEndpointCommand_base: {
25
+ new (input: DeregisterMarketplaceModelEndpointCommandInput): import("@smithy/smithy-client").CommandImpl<DeregisterMarketplaceModelEndpointCommandInput, DeregisterMarketplaceModelEndpointCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: DeregisterMarketplaceModelEndpointCommandInput): import("@smithy/smithy-client").CommandImpl<DeregisterMarketplaceModelEndpointCommandInput, DeregisterMarketplaceModelEndpointCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Deregisters an endpoint for a model from Amazon Bedrock Marketplace. This operation removes the
31
+ * endpoint's association with Amazon Bedrock but does not delete the underlying Amazon SageMaker
32
+ * endpoint.</p>
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { BedrockClient, DeregisterMarketplaceModelEndpointCommand } from "@aws-sdk/client-bedrock"; // ES Modules import
37
+ * // const { BedrockClient, DeregisterMarketplaceModelEndpointCommand } = require("@aws-sdk/client-bedrock"); // CommonJS import
38
+ * const client = new BedrockClient(config);
39
+ * const input = { // DeregisterMarketplaceModelEndpointRequest
40
+ * endpointArn: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new DeregisterMarketplaceModelEndpointCommand(input);
43
+ * const response = await client.send(command);
44
+ * // {};
45
+ *
46
+ * ```
47
+ *
48
+ * @param DeregisterMarketplaceModelEndpointCommandInput - {@link DeregisterMarketplaceModelEndpointCommandInput}
49
+ * @returns {@link DeregisterMarketplaceModelEndpointCommandOutput}
50
+ * @see {@link DeregisterMarketplaceModelEndpointCommandInput} for command's `input` shape.
51
+ * @see {@link DeregisterMarketplaceModelEndpointCommandOutput} for command's `response` shape.
52
+ * @see {@link BedrockClientResolvedConfig | config} for BedrockClient's `config` shape.
53
+ *
54
+ * @throws {@link AccessDeniedException} (client fault)
55
+ * <p>The request is denied because of missing access permissions.</p>
56
+ *
57
+ * @throws {@link InternalServerException} (server fault)
58
+ * <p>An internal server error occurred. Retry your request.</p>
59
+ *
60
+ * @throws {@link ResourceNotFoundException} (client fault)
61
+ * <p>The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again.</p>
62
+ *
63
+ * @throws {@link ServiceUnavailableException} (server fault)
64
+ * <p>Returned if the service cannot complete the request.</p>
65
+ *
66
+ * @throws {@link ThrottlingException} (client fault)
67
+ * <p>The number of requests exceeds the limit. Resubmit your request later.</p>
68
+ *
69
+ * @throws {@link ValidationException} (client fault)
70
+ * <p>Input validation failed. Check your request parameters and retry the request.</p>
71
+ *
72
+ * @throws {@link BedrockServiceException}
73
+ * <p>Base exception class for all service exceptions from Bedrock service.</p>
74
+ *
75
+ * @public
76
+ */
77
+ export declare class DeregisterMarketplaceModelEndpointCommand extends DeregisterMarketplaceModelEndpointCommand_base {
78
+ /** @internal type navigation helper, not in runtime. */
79
+ protected static __types: {
80
+ api: {
81
+ input: DeregisterMarketplaceModelEndpointRequest;
82
+ output: {};
83
+ };
84
+ sdk: {
85
+ input: DeregisterMarketplaceModelEndpointCommandInput;
86
+ output: DeregisterMarketplaceModelEndpointCommandOutput;
87
+ };
88
+ };
89
+ }
@@ -45,13 +45,45 @@ declare const GetCustomModelCommand_base: {
45
45
  * // jobName: "STRING_VALUE",
46
46
  * // jobArn: "STRING_VALUE", // required
47
47
  * // baseModelArn: "STRING_VALUE", // required
48
- * // customizationType: "FINE_TUNING" || "CONTINUED_PRE_TRAINING",
48
+ * // customizationType: "FINE_TUNING" || "CONTINUED_PRE_TRAINING" || "DISTILLATION",
49
49
  * // modelKmsKeyArn: "STRING_VALUE",
50
50
  * // hyperParameters: { // ModelCustomizationHyperParameters
51
51
  * // "<keys>": "STRING_VALUE",
52
52
  * // },
53
53
  * // trainingDataConfig: { // TrainingDataConfig
54
- * // s3Uri: "STRING_VALUE", // required
54
+ * // s3Uri: "STRING_VALUE",
55
+ * // invocationLogsConfig: { // InvocationLogsConfig
56
+ * // usePromptResponse: true || false,
57
+ * // invocationLogSource: { // InvocationLogSource Union: only one key present
58
+ * // s3Uri: "STRING_VALUE",
59
+ * // },
60
+ * // requestMetadataFilters: { // RequestMetadataFilters Union: only one key present
61
+ * // equals: { // RequestMetadataMap
62
+ * // "<keys>": "STRING_VALUE",
63
+ * // },
64
+ * // notEquals: {
65
+ * // "<keys>": "STRING_VALUE",
66
+ * // },
67
+ * // andAll: [ // RequestMetadataFiltersList
68
+ * // { // RequestMetadataBaseFilters
69
+ * // equals: {
70
+ * // "<keys>": "STRING_VALUE",
71
+ * // },
72
+ * // notEquals: {
73
+ * // "<keys>": "STRING_VALUE",
74
+ * // },
75
+ * // },
76
+ * // ],
77
+ * // orAll: [
78
+ * // {
79
+ * // equals: {
80
+ * // "<keys>": "STRING_VALUE",
81
+ * // },
82
+ * // notEquals: "<RequestMetadataMap>",
83
+ * // },
84
+ * // ],
85
+ * // },
86
+ * // },
55
87
  * // },
56
88
  * // validationDataConfig: { // ValidationDataConfig
57
89
  * // validators: [ // Validators // required
@@ -72,6 +104,14 @@ declare const GetCustomModelCommand_base: {
72
104
  * // },
73
105
  * // ],
74
106
  * // creationTime: new Date("TIMESTAMP"), // required
107
+ * // customizationConfig: { // CustomizationConfig Union: only one key present
108
+ * // distillationConfig: { // DistillationConfig
109
+ * // teacherModelConfig: { // TeacherModelConfig
110
+ * // teacherModelIdentifier: "STRING_VALUE", // required
111
+ * // maxResponseLengthForInference: Number("int"),
112
+ * // },
113
+ * // },
114
+ * // },
75
115
  * // };
76
116
  *
77
117
  * ```
@@ -53,7 +53,7 @@ declare const GetFoundationModelCommand_base: {
53
53
  * // ],
54
54
  * // responseStreamingSupported: true || false,
55
55
  * // customizationsSupported: [ // ModelCustomizationList
56
- * // "FINE_TUNING" || "CONTINUED_PRE_TRAINING",
56
+ * // "FINE_TUNING" || "CONTINUED_PRE_TRAINING" || "DISTILLATION",
57
57
  * // ],
58
58
  * // inferenceTypesSupported: [ // InferenceTypeList
59
59
  * // "ON_DEMAND" || "PROVISIONED",
@@ -65,6 +65,12 @@ declare const GetGuardrailCommand_base: {
65
65
  * // type: "SEXUAL" || "VIOLENCE" || "HATE" || "INSULTS" || "MISCONDUCT" || "PROMPT_ATTACK", // required
66
66
  * // inputStrength: "NONE" || "LOW" || "MEDIUM" || "HIGH", // required
67
67
  * // outputStrength: "NONE" || "LOW" || "MEDIUM" || "HIGH", // required
68
+ * // inputModalities: [ // GuardrailModalities
69
+ * // "TEXT" || "IMAGE",
70
+ * // ],
71
+ * // outputModalities: [
72
+ * // "TEXT" || "IMAGE",
73
+ * // ],
68
74
  * // },
69
75
  * // ],
70
76
  * // },
@@ -0,0 +1,111 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
4
+ import { GetMarketplaceModelEndpointRequest, GetMarketplaceModelEndpointResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetMarketplaceModelEndpointCommand}.
14
+ */
15
+ export interface GetMarketplaceModelEndpointCommandInput extends GetMarketplaceModelEndpointRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetMarketplaceModelEndpointCommand}.
21
+ */
22
+ export interface GetMarketplaceModelEndpointCommandOutput extends GetMarketplaceModelEndpointResponse, __MetadataBearer {
23
+ }
24
+ declare const GetMarketplaceModelEndpointCommand_base: {
25
+ new (input: GetMarketplaceModelEndpointCommandInput): import("@smithy/smithy-client").CommandImpl<GetMarketplaceModelEndpointCommandInput, GetMarketplaceModelEndpointCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: GetMarketplaceModelEndpointCommandInput): import("@smithy/smithy-client").CommandImpl<GetMarketplaceModelEndpointCommandInput, GetMarketplaceModelEndpointCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Retrieves details about a specific endpoint for a model from Amazon Bedrock Marketplace.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { BedrockClient, GetMarketplaceModelEndpointCommand } from "@aws-sdk/client-bedrock"; // ES Modules import
35
+ * // const { BedrockClient, GetMarketplaceModelEndpointCommand } = require("@aws-sdk/client-bedrock"); // CommonJS import
36
+ * const client = new BedrockClient(config);
37
+ * const input = { // GetMarketplaceModelEndpointRequest
38
+ * endpointArn: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new GetMarketplaceModelEndpointCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // GetMarketplaceModelEndpointResponse
43
+ * // marketplaceModelEndpoint: { // MarketplaceModelEndpoint
44
+ * // endpointArn: "STRING_VALUE", // required
45
+ * // modelSourceIdentifier: "STRING_VALUE", // required
46
+ * // status: "REGISTERED" || "INCOMPATIBLE_ENDPOINT",
47
+ * // statusMessage: "STRING_VALUE",
48
+ * // createdAt: new Date("TIMESTAMP"), // required
49
+ * // updatedAt: new Date("TIMESTAMP"), // required
50
+ * // endpointConfig: { // EndpointConfig Union: only one key present
51
+ * // sageMaker: { // SageMakerEndpoint
52
+ * // initialInstanceCount: Number("int"), // required
53
+ * // instanceType: "STRING_VALUE", // required
54
+ * // executionRole: "STRING_VALUE", // required
55
+ * // kmsEncryptionKey: "STRING_VALUE",
56
+ * // vpc: { // VpcConfig
57
+ * // subnetIds: [ // SubnetIds // required
58
+ * // "STRING_VALUE",
59
+ * // ],
60
+ * // securityGroupIds: [ // SecurityGroupIds // required
61
+ * // "STRING_VALUE",
62
+ * // ],
63
+ * // },
64
+ * // },
65
+ * // },
66
+ * // endpointStatus: "STRING_VALUE", // required
67
+ * // endpointStatusMessage: "STRING_VALUE",
68
+ * // },
69
+ * // };
70
+ *
71
+ * ```
72
+ *
73
+ * @param GetMarketplaceModelEndpointCommandInput - {@link GetMarketplaceModelEndpointCommandInput}
74
+ * @returns {@link GetMarketplaceModelEndpointCommandOutput}
75
+ * @see {@link GetMarketplaceModelEndpointCommandInput} for command's `input` shape.
76
+ * @see {@link GetMarketplaceModelEndpointCommandOutput} for command's `response` shape.
77
+ * @see {@link BedrockClientResolvedConfig | config} for BedrockClient's `config` shape.
78
+ *
79
+ * @throws {@link AccessDeniedException} (client fault)
80
+ * <p>The request is denied because of missing access permissions.</p>
81
+ *
82
+ * @throws {@link InternalServerException} (server fault)
83
+ * <p>An internal server error occurred. Retry your request.</p>
84
+ *
85
+ * @throws {@link ResourceNotFoundException} (client fault)
86
+ * <p>The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again.</p>
87
+ *
88
+ * @throws {@link ThrottlingException} (client fault)
89
+ * <p>The number of requests exceeds the limit. Resubmit your request later.</p>
90
+ *
91
+ * @throws {@link ValidationException} (client fault)
92
+ * <p>Input validation failed. Check your request parameters and retry the request.</p>
93
+ *
94
+ * @throws {@link BedrockServiceException}
95
+ * <p>Base exception class for all service exceptions from Bedrock service.</p>
96
+ *
97
+ * @public
98
+ */
99
+ export declare class GetMarketplaceModelEndpointCommand extends GetMarketplaceModelEndpointCommand_base {
100
+ /** @internal type navigation helper, not in runtime. */
101
+ protected static __types: {
102
+ api: {
103
+ input: GetMarketplaceModelEndpointRequest;
104
+ output: GetMarketplaceModelEndpointResponse;
105
+ };
106
+ sdk: {
107
+ input: GetMarketplaceModelEndpointCommandInput;
108
+ output: GetMarketplaceModelEndpointCommandOutput;
109
+ };
110
+ };
111
+ }
@@ -53,11 +53,43 @@ declare const GetModelCustomizationJobCommand_base: {
53
53
  * // lastModifiedTime: new Date("TIMESTAMP"),
54
54
  * // endTime: new Date("TIMESTAMP"),
55
55
  * // baseModelArn: "STRING_VALUE", // required
56
- * // hyperParameters: { // ModelCustomizationHyperParameters // required
56
+ * // hyperParameters: { // ModelCustomizationHyperParameters
57
57
  * // "<keys>": "STRING_VALUE",
58
58
  * // },
59
59
  * // trainingDataConfig: { // TrainingDataConfig
60
- * // s3Uri: "STRING_VALUE", // required
60
+ * // s3Uri: "STRING_VALUE",
61
+ * // invocationLogsConfig: { // InvocationLogsConfig
62
+ * // usePromptResponse: true || false,
63
+ * // invocationLogSource: { // InvocationLogSource Union: only one key present
64
+ * // s3Uri: "STRING_VALUE",
65
+ * // },
66
+ * // requestMetadataFilters: { // RequestMetadataFilters Union: only one key present
67
+ * // equals: { // RequestMetadataMap
68
+ * // "<keys>": "STRING_VALUE",
69
+ * // },
70
+ * // notEquals: {
71
+ * // "<keys>": "STRING_VALUE",
72
+ * // },
73
+ * // andAll: [ // RequestMetadataFiltersList
74
+ * // { // RequestMetadataBaseFilters
75
+ * // equals: {
76
+ * // "<keys>": "STRING_VALUE",
77
+ * // },
78
+ * // notEquals: {
79
+ * // "<keys>": "STRING_VALUE",
80
+ * // },
81
+ * // },
82
+ * // ],
83
+ * // orAll: [
84
+ * // {
85
+ * // equals: {
86
+ * // "<keys>": "STRING_VALUE",
87
+ * // },
88
+ * // notEquals: "<RequestMetadataMap>",
89
+ * // },
90
+ * // ],
91
+ * // },
92
+ * // },
61
93
  * // },
62
94
  * // validationDataConfig: { // ValidationDataConfig
63
95
  * // validators: [ // Validators // required
@@ -69,7 +101,7 @@ declare const GetModelCustomizationJobCommand_base: {
69
101
  * // outputDataConfig: { // OutputDataConfig
70
102
  * // s3Uri: "STRING_VALUE", // required
71
103
  * // },
72
- * // customizationType: "FINE_TUNING" || "CONTINUED_PRE_TRAINING",
104
+ * // customizationType: "FINE_TUNING" || "CONTINUED_PRE_TRAINING" || "DISTILLATION",
73
105
  * // outputModelKmsKeyArn: "STRING_VALUE",
74
106
  * // trainingMetrics: { // TrainingMetrics
75
107
  * // trainingLoss: Number("float"),
@@ -87,6 +119,14 @@ declare const GetModelCustomizationJobCommand_base: {
87
119
  * // "STRING_VALUE",
88
120
  * // ],
89
121
  * // },
122
+ * // customizationConfig: { // CustomizationConfig Union: only one key present
123
+ * // distillationConfig: { // DistillationConfig
124
+ * // teacherModelConfig: { // TeacherModelConfig
125
+ * // teacherModelIdentifier: "STRING_VALUE", // required
126
+ * // maxResponseLengthForInference: Number("int"),
127
+ * // },
128
+ * // },
129
+ * // },
90
130
  * // };
91
131
  *
92
132
  * ```
@@ -27,7 +27,7 @@ declare const GetModelInvocationJobCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Gets details about a batch inference job. 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>
30
+ * <p>Gets details about a batch inference job. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/batch-inference-monitor">Monitor batch inference jobs</a>
31
31
  * </p>
32
32
  * @example
33
33
  * Use a bare-bones client and the command you need to make an API call.
@@ -54,6 +54,7 @@ declare const GetModelInvocationLoggingConfigurationCommand_base: {
54
54
  * // textDataDeliveryEnabled: true || false,
55
55
  * // imageDataDeliveryEnabled: true || false,
56
56
  * // embeddingDataDeliveryEnabled: true || false,
57
+ * // videoDataDeliveryEnabled: true || false,
57
58
  * // },
58
59
  * // };
59
60
  *
@@ -0,0 +1,103 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
4
+ import { GetPromptRouterRequest, GetPromptRouterResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetPromptRouterCommand}.
14
+ */
15
+ export interface GetPromptRouterCommandInput extends GetPromptRouterRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetPromptRouterCommand}.
21
+ */
22
+ export interface GetPromptRouterCommandOutput extends GetPromptRouterResponse, __MetadataBearer {
23
+ }
24
+ declare const GetPromptRouterCommand_base: {
25
+ new (input: GetPromptRouterCommandInput): import("@smithy/smithy-client").CommandImpl<GetPromptRouterCommandInput, GetPromptRouterCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: GetPromptRouterCommandInput): import("@smithy/smithy-client").CommandImpl<GetPromptRouterCommandInput, GetPromptRouterCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Retrieves details about a prompt router.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { BedrockClient, GetPromptRouterCommand } from "@aws-sdk/client-bedrock"; // ES Modules import
35
+ * // const { BedrockClient, GetPromptRouterCommand } = require("@aws-sdk/client-bedrock"); // CommonJS import
36
+ * const client = new BedrockClient(config);
37
+ * const input = { // GetPromptRouterRequest
38
+ * promptRouterArn: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new GetPromptRouterCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // GetPromptRouterResponse
43
+ * // promptRouterName: "STRING_VALUE", // required
44
+ * // routingCriteria: { // RoutingCriteria
45
+ * // responseQualityDifference: Number("double"), // required
46
+ * // },
47
+ * // description: "STRING_VALUE",
48
+ * // createdAt: new Date("TIMESTAMP"),
49
+ * // updatedAt: new Date("TIMESTAMP"),
50
+ * // promptRouterArn: "STRING_VALUE", // required
51
+ * // models: [ // PromptRouterTargetModels // required
52
+ * // { // PromptRouterTargetModel
53
+ * // modelArn: "STRING_VALUE",
54
+ * // },
55
+ * // ],
56
+ * // fallbackModel: {
57
+ * // modelArn: "STRING_VALUE",
58
+ * // },
59
+ * // status: "AVAILABLE", // required
60
+ * // type: "custom" || "default", // required
61
+ * // };
62
+ *
63
+ * ```
64
+ *
65
+ * @param GetPromptRouterCommandInput - {@link GetPromptRouterCommandInput}
66
+ * @returns {@link GetPromptRouterCommandOutput}
67
+ * @see {@link GetPromptRouterCommandInput} for command's `input` shape.
68
+ * @see {@link GetPromptRouterCommandOutput} for command's `response` shape.
69
+ * @see {@link BedrockClientResolvedConfig | config} for BedrockClient's `config` shape.
70
+ *
71
+ * @throws {@link AccessDeniedException} (client fault)
72
+ * <p>The request is denied because of missing access permissions.</p>
73
+ *
74
+ * @throws {@link InternalServerException} (server fault)
75
+ * <p>An internal server error occurred. Retry your request.</p>
76
+ *
77
+ * @throws {@link ResourceNotFoundException} (client fault)
78
+ * <p>The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again.</p>
79
+ *
80
+ * @throws {@link ThrottlingException} (client fault)
81
+ * <p>The number of requests exceeds the limit. Resubmit your request later.</p>
82
+ *
83
+ * @throws {@link ValidationException} (client fault)
84
+ * <p>Input validation failed. Check your request parameters and retry the request.</p>
85
+ *
86
+ * @throws {@link BedrockServiceException}
87
+ * <p>Base exception class for all service exceptions from Bedrock service.</p>
88
+ *
89
+ * @public
90
+ */
91
+ export declare class GetPromptRouterCommand extends GetPromptRouterCommand_base {
92
+ /** @internal type navigation helper, not in runtime. */
93
+ protected static __types: {
94
+ api: {
95
+ input: GetPromptRouterRequest;
96
+ output: GetPromptRouterResponse;
97
+ };
98
+ sdk: {
99
+ input: GetPromptRouterCommandInput;
100
+ output: GetPromptRouterCommandOutput;
101
+ };
102
+ };
103
+ }
@@ -58,7 +58,7 @@ declare const ListCustomModelsCommand_base: {
58
58
  * // creationTime: new Date("TIMESTAMP"), // required
59
59
  * // baseModelArn: "STRING_VALUE", // required
60
60
  * // baseModelName: "STRING_VALUE", // required
61
- * // customizationType: "FINE_TUNING" || "CONTINUED_PRE_TRAINING",
61
+ * // customizationType: "FINE_TUNING" || "CONTINUED_PRE_TRAINING" || "DISTILLATION",
62
62
  * // ownerAccountId: "STRING_VALUE",
63
63
  * // },
64
64
  * // ],
@@ -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",
@@ -0,0 +1,99 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
4
+ import { ListMarketplaceModelEndpointsRequest, ListMarketplaceModelEndpointsResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListMarketplaceModelEndpointsCommand}.
14
+ */
15
+ export interface ListMarketplaceModelEndpointsCommandInput extends ListMarketplaceModelEndpointsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListMarketplaceModelEndpointsCommand}.
21
+ */
22
+ export interface ListMarketplaceModelEndpointsCommandOutput extends ListMarketplaceModelEndpointsResponse, __MetadataBearer {
23
+ }
24
+ declare const ListMarketplaceModelEndpointsCommand_base: {
25
+ new (input: ListMarketplaceModelEndpointsCommandInput): import("@smithy/smithy-client").CommandImpl<ListMarketplaceModelEndpointsCommandInput, ListMarketplaceModelEndpointsCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [ListMarketplaceModelEndpointsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListMarketplaceModelEndpointsCommandInput, ListMarketplaceModelEndpointsCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Lists the endpoints for models from Amazon Bedrock Marketplace in your Amazon Web Services
31
+ * account.</p>
32
+ * @example
33
+ * Use a bare-bones client and the command you need to make an API call.
34
+ * ```javascript
35
+ * import { BedrockClient, ListMarketplaceModelEndpointsCommand } from "@aws-sdk/client-bedrock"; // ES Modules import
36
+ * // const { BedrockClient, ListMarketplaceModelEndpointsCommand } = require("@aws-sdk/client-bedrock"); // CommonJS import
37
+ * const client = new BedrockClient(config);
38
+ * const input = { // ListMarketplaceModelEndpointsRequest
39
+ * maxResults: Number("int"),
40
+ * nextToken: "STRING_VALUE",
41
+ * modelSourceEquals: "STRING_VALUE",
42
+ * };
43
+ * const command = new ListMarketplaceModelEndpointsCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // ListMarketplaceModelEndpointsResponse
46
+ * // marketplaceModelEndpoints: [ // MarketplaceModelEndpointSummaries
47
+ * // { // MarketplaceModelEndpointSummary
48
+ * // endpointArn: "STRING_VALUE", // required
49
+ * // modelSourceIdentifier: "STRING_VALUE", // required
50
+ * // status: "REGISTERED" || "INCOMPATIBLE_ENDPOINT",
51
+ * // statusMessage: "STRING_VALUE",
52
+ * // createdAt: new Date("TIMESTAMP"), // required
53
+ * // updatedAt: new Date("TIMESTAMP"), // required
54
+ * // },
55
+ * // ],
56
+ * // nextToken: "STRING_VALUE",
57
+ * // };
58
+ *
59
+ * ```
60
+ *
61
+ * @param ListMarketplaceModelEndpointsCommandInput - {@link ListMarketplaceModelEndpointsCommandInput}
62
+ * @returns {@link ListMarketplaceModelEndpointsCommandOutput}
63
+ * @see {@link ListMarketplaceModelEndpointsCommandInput} for command's `input` shape.
64
+ * @see {@link ListMarketplaceModelEndpointsCommandOutput} for command's `response` shape.
65
+ * @see {@link BedrockClientResolvedConfig | config} for BedrockClient's `config` shape.
66
+ *
67
+ * @throws {@link AccessDeniedException} (client fault)
68
+ * <p>The request is denied because of missing access permissions.</p>
69
+ *
70
+ * @throws {@link InternalServerException} (server fault)
71
+ * <p>An internal server error occurred. Retry your request.</p>
72
+ *
73
+ * @throws {@link ResourceNotFoundException} (client fault)
74
+ * <p>The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again.</p>
75
+ *
76
+ * @throws {@link ThrottlingException} (client fault)
77
+ * <p>The number of requests exceeds the limit. Resubmit your request later.</p>
78
+ *
79
+ * @throws {@link ValidationException} (client fault)
80
+ * <p>Input validation failed. Check your request parameters and retry the request.</p>
81
+ *
82
+ * @throws {@link BedrockServiceException}
83
+ * <p>Base exception class for all service exceptions from Bedrock service.</p>
84
+ *
85
+ * @public
86
+ */
87
+ export declare class ListMarketplaceModelEndpointsCommand extends ListMarketplaceModelEndpointsCommand_base {
88
+ /** @internal type navigation helper, not in runtime. */
89
+ protected static __types: {
90
+ api: {
91
+ input: ListMarketplaceModelEndpointsRequest;
92
+ output: ListMarketplaceModelEndpointsResponse;
93
+ };
94
+ sdk: {
95
+ input: ListMarketplaceModelEndpointsCommandInput;
96
+ output: ListMarketplaceModelEndpointsCommandOutput;
97
+ };
98
+ };
99
+ }
@@ -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