@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,106 @@
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 { ListPromptRoutersRequest, ListPromptRoutersResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListPromptRoutersCommand}.
14
+ */
15
+ export interface ListPromptRoutersCommandInput extends ListPromptRoutersRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListPromptRoutersCommand}.
21
+ */
22
+ export interface ListPromptRoutersCommandOutput extends ListPromptRoutersResponse, __MetadataBearer {
23
+ }
24
+ declare const ListPromptRoutersCommand_base: {
25
+ new (input: ListPromptRoutersCommandInput): import("@smithy/smithy-client").CommandImpl<ListPromptRoutersCommandInput, ListPromptRoutersCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [ListPromptRoutersCommandInput]): import("@smithy/smithy-client").CommandImpl<ListPromptRoutersCommandInput, ListPromptRoutersCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Retrieves a list of prompt routers.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { BedrockClient, ListPromptRoutersCommand } from "@aws-sdk/client-bedrock"; // ES Modules import
35
+ * // const { BedrockClient, ListPromptRoutersCommand } = require("@aws-sdk/client-bedrock"); // CommonJS import
36
+ * const client = new BedrockClient(config);
37
+ * const input = { // ListPromptRoutersRequest
38
+ * maxResults: Number("int"),
39
+ * nextToken: "STRING_VALUE",
40
+ * };
41
+ * const command = new ListPromptRoutersCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // ListPromptRoutersResponse
44
+ * // promptRouterSummaries: [ // PromptRouterSummaries
45
+ * // { // PromptRouterSummary
46
+ * // promptRouterName: "STRING_VALUE", // required
47
+ * // routingCriteria: { // RoutingCriteria
48
+ * // responseQualityDifference: Number("double"), // required
49
+ * // },
50
+ * // description: "STRING_VALUE",
51
+ * // createdAt: new Date("TIMESTAMP"),
52
+ * // updatedAt: new Date("TIMESTAMP"),
53
+ * // promptRouterArn: "STRING_VALUE", // required
54
+ * // models: [ // PromptRouterTargetModels // required
55
+ * // { // PromptRouterTargetModel
56
+ * // modelArn: "STRING_VALUE",
57
+ * // },
58
+ * // ],
59
+ * // fallbackModel: {
60
+ * // modelArn: "STRING_VALUE",
61
+ * // },
62
+ * // status: "AVAILABLE", // required
63
+ * // type: "custom" || "default", // required
64
+ * // },
65
+ * // ],
66
+ * // nextToken: "STRING_VALUE",
67
+ * // };
68
+ *
69
+ * ```
70
+ *
71
+ * @param ListPromptRoutersCommandInput - {@link ListPromptRoutersCommandInput}
72
+ * @returns {@link ListPromptRoutersCommandOutput}
73
+ * @see {@link ListPromptRoutersCommandInput} for command's `input` shape.
74
+ * @see {@link ListPromptRoutersCommandOutput} for command's `response` shape.
75
+ * @see {@link BedrockClientResolvedConfig | config} for BedrockClient's `config` shape.
76
+ *
77
+ * @throws {@link AccessDeniedException} (client fault)
78
+ * <p>The request is denied because of missing access permissions.</p>
79
+ *
80
+ * @throws {@link InternalServerException} (server fault)
81
+ * <p>An internal server error occurred. Retry your request.</p>
82
+ *
83
+ * @throws {@link ThrottlingException} (client fault)
84
+ * <p>The number of requests exceeds the limit. Resubmit your request later.</p>
85
+ *
86
+ * @throws {@link ValidationException} (client fault)
87
+ * <p>Input validation failed. Check your request parameters and retry the request.</p>
88
+ *
89
+ * @throws {@link BedrockServiceException}
90
+ * <p>Base exception class for all service exceptions from Bedrock service.</p>
91
+ *
92
+ * @public
93
+ */
94
+ export declare class ListPromptRoutersCommand extends ListPromptRoutersCommand_base {
95
+ /** @internal type navigation helper, not in runtime. */
96
+ protected static __types: {
97
+ api: {
98
+ input: ListPromptRoutersRequest;
99
+ output: ListPromptRoutersResponse;
100
+ };
101
+ sdk: {
102
+ input: ListPromptRoutersCommandInput;
103
+ output: ListPromptRoutersCommandOutput;
104
+ };
105
+ };
106
+ }
@@ -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);
@@ -0,0 +1,116 @@
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 { RegisterMarketplaceModelEndpointRequest, RegisterMarketplaceModelEndpointResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link RegisterMarketplaceModelEndpointCommand}.
14
+ */
15
+ export interface RegisterMarketplaceModelEndpointCommandInput extends RegisterMarketplaceModelEndpointRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link RegisterMarketplaceModelEndpointCommand}.
21
+ */
22
+ export interface RegisterMarketplaceModelEndpointCommandOutput extends RegisterMarketplaceModelEndpointResponse, __MetadataBearer {
23
+ }
24
+ declare const RegisterMarketplaceModelEndpointCommand_base: {
25
+ new (input: RegisterMarketplaceModelEndpointCommandInput): import("@smithy/smithy-client").CommandImpl<RegisterMarketplaceModelEndpointCommandInput, RegisterMarketplaceModelEndpointCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: RegisterMarketplaceModelEndpointCommandInput): import("@smithy/smithy-client").CommandImpl<RegisterMarketplaceModelEndpointCommandInput, RegisterMarketplaceModelEndpointCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Registers an existing Amazon SageMaker endpoint with Amazon Bedrock Marketplace, allowing it to be used with
31
+ * Amazon Bedrock APIs.</p>
32
+ * @example
33
+ * Use a bare-bones client and the command you need to make an API call.
34
+ * ```javascript
35
+ * import { BedrockClient, RegisterMarketplaceModelEndpointCommand } from "@aws-sdk/client-bedrock"; // ES Modules import
36
+ * // const { BedrockClient, RegisterMarketplaceModelEndpointCommand } = require("@aws-sdk/client-bedrock"); // CommonJS import
37
+ * const client = new BedrockClient(config);
38
+ * const input = { // RegisterMarketplaceModelEndpointRequest
39
+ * endpointIdentifier: "STRING_VALUE", // required
40
+ * modelSourceIdentifier: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new RegisterMarketplaceModelEndpointCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // RegisterMarketplaceModelEndpointResponse
45
+ * // marketplaceModelEndpoint: { // MarketplaceModelEndpoint
46
+ * // endpointArn: "STRING_VALUE", // required
47
+ * // modelSourceIdentifier: "STRING_VALUE", // required
48
+ * // status: "REGISTERED" || "INCOMPATIBLE_ENDPOINT",
49
+ * // statusMessage: "STRING_VALUE",
50
+ * // createdAt: new Date("TIMESTAMP"), // required
51
+ * // updatedAt: new Date("TIMESTAMP"), // required
52
+ * // endpointConfig: { // EndpointConfig Union: only one key present
53
+ * // sageMaker: { // SageMakerEndpoint
54
+ * // initialInstanceCount: Number("int"), // required
55
+ * // instanceType: "STRING_VALUE", // required
56
+ * // executionRole: "STRING_VALUE", // required
57
+ * // kmsEncryptionKey: "STRING_VALUE",
58
+ * // vpc: { // VpcConfig
59
+ * // subnetIds: [ // SubnetIds // required
60
+ * // "STRING_VALUE",
61
+ * // ],
62
+ * // securityGroupIds: [ // SecurityGroupIds // required
63
+ * // "STRING_VALUE",
64
+ * // ],
65
+ * // },
66
+ * // },
67
+ * // },
68
+ * // endpointStatus: "STRING_VALUE", // required
69
+ * // endpointStatusMessage: "STRING_VALUE",
70
+ * // },
71
+ * // };
72
+ *
73
+ * ```
74
+ *
75
+ * @param RegisterMarketplaceModelEndpointCommandInput - {@link RegisterMarketplaceModelEndpointCommandInput}
76
+ * @returns {@link RegisterMarketplaceModelEndpointCommandOutput}
77
+ * @see {@link RegisterMarketplaceModelEndpointCommandInput} for command's `input` shape.
78
+ * @see {@link RegisterMarketplaceModelEndpointCommandOutput} for command's `response` shape.
79
+ * @see {@link BedrockClientResolvedConfig | config} for BedrockClient's `config` shape.
80
+ *
81
+ * @throws {@link AccessDeniedException} (client fault)
82
+ * <p>The request is denied because of missing access permissions.</p>
83
+ *
84
+ * @throws {@link InternalServerException} (server fault)
85
+ * <p>An internal server error occurred. Retry your request.</p>
86
+ *
87
+ * @throws {@link ResourceNotFoundException} (client fault)
88
+ * <p>The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again.</p>
89
+ *
90
+ * @throws {@link ServiceUnavailableException} (server fault)
91
+ * <p>Returned if the service cannot complete the request.</p>
92
+ *
93
+ * @throws {@link ThrottlingException} (client fault)
94
+ * <p>The number of requests exceeds the limit. Resubmit your request later.</p>
95
+ *
96
+ * @throws {@link ValidationException} (client fault)
97
+ * <p>Input validation failed. Check your request parameters and retry the request.</p>
98
+ *
99
+ * @throws {@link BedrockServiceException}
100
+ * <p>Base exception class for all service exceptions from Bedrock service.</p>
101
+ *
102
+ * @public
103
+ */
104
+ export declare class RegisterMarketplaceModelEndpointCommand extends RegisterMarketplaceModelEndpointCommand_base {
105
+ /** @internal type navigation helper, not in runtime. */
106
+ protected static __types: {
107
+ api: {
108
+ input: RegisterMarketplaceModelEndpointRequest;
109
+ output: RegisterMarketplaceModelEndpointResponse;
110
+ };
111
+ sdk: {
112
+ input: RegisterMarketplaceModelEndpointCommandInput;
113
+ output: RegisterMarketplaceModelEndpointCommandOutput;
114
+ };
115
+ };
116
+ }
@@ -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
@@ -92,6 +92,12 @@ declare const UpdateGuardrailCommand_base: {
92
92
  * type: "SEXUAL" || "VIOLENCE" || "HATE" || "INSULTS" || "MISCONDUCT" || "PROMPT_ATTACK", // required
93
93
  * inputStrength: "NONE" || "LOW" || "MEDIUM" || "HIGH", // required
94
94
  * outputStrength: "NONE" || "LOW" || "MEDIUM" || "HIGH", // required
95
+ * inputModalities: [ // GuardrailModalities
96
+ * "TEXT" || "IMAGE",
97
+ * ],
98
+ * outputModalities: [
99
+ * "TEXT" || "IMAGE",
100
+ * ],
95
101
  * },
96
102
  * ],
97
103
  * },
@@ -0,0 +1,135 @@
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 { UpdateMarketplaceModelEndpointRequest, UpdateMarketplaceModelEndpointResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateMarketplaceModelEndpointCommand}.
14
+ */
15
+ export interface UpdateMarketplaceModelEndpointCommandInput extends UpdateMarketplaceModelEndpointRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateMarketplaceModelEndpointCommand}.
21
+ */
22
+ export interface UpdateMarketplaceModelEndpointCommandOutput extends UpdateMarketplaceModelEndpointResponse, __MetadataBearer {
23
+ }
24
+ declare const UpdateMarketplaceModelEndpointCommand_base: {
25
+ new (input: UpdateMarketplaceModelEndpointCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateMarketplaceModelEndpointCommandInput, UpdateMarketplaceModelEndpointCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: UpdateMarketplaceModelEndpointCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateMarketplaceModelEndpointCommandInput, UpdateMarketplaceModelEndpointCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Updates the configuration of an existing endpoint for a model from Amazon Bedrock
31
+ * Marketplace.</p>
32
+ * @example
33
+ * Use a bare-bones client and the command you need to make an API call.
34
+ * ```javascript
35
+ * import { BedrockClient, UpdateMarketplaceModelEndpointCommand } from "@aws-sdk/client-bedrock"; // ES Modules import
36
+ * // const { BedrockClient, UpdateMarketplaceModelEndpointCommand } = require("@aws-sdk/client-bedrock"); // CommonJS import
37
+ * const client = new BedrockClient(config);
38
+ * const input = { // UpdateMarketplaceModelEndpointRequest
39
+ * endpointArn: "STRING_VALUE", // required
40
+ * endpointConfig: { // EndpointConfig Union: only one key present
41
+ * sageMaker: { // SageMakerEndpoint
42
+ * initialInstanceCount: Number("int"), // required
43
+ * instanceType: "STRING_VALUE", // required
44
+ * executionRole: "STRING_VALUE", // required
45
+ * kmsEncryptionKey: "STRING_VALUE",
46
+ * vpc: { // VpcConfig
47
+ * subnetIds: [ // SubnetIds // required
48
+ * "STRING_VALUE",
49
+ * ],
50
+ * securityGroupIds: [ // SecurityGroupIds // required
51
+ * "STRING_VALUE",
52
+ * ],
53
+ * },
54
+ * },
55
+ * },
56
+ * clientRequestToken: "STRING_VALUE",
57
+ * };
58
+ * const command = new UpdateMarketplaceModelEndpointCommand(input);
59
+ * const response = await client.send(command);
60
+ * // { // UpdateMarketplaceModelEndpointResponse
61
+ * // marketplaceModelEndpoint: { // MarketplaceModelEndpoint
62
+ * // endpointArn: "STRING_VALUE", // required
63
+ * // modelSourceIdentifier: "STRING_VALUE", // required
64
+ * // status: "REGISTERED" || "INCOMPATIBLE_ENDPOINT",
65
+ * // statusMessage: "STRING_VALUE",
66
+ * // createdAt: new Date("TIMESTAMP"), // required
67
+ * // updatedAt: new Date("TIMESTAMP"), // required
68
+ * // endpointConfig: { // EndpointConfig Union: only one key present
69
+ * // sageMaker: { // SageMakerEndpoint
70
+ * // initialInstanceCount: Number("int"), // required
71
+ * // instanceType: "STRING_VALUE", // required
72
+ * // executionRole: "STRING_VALUE", // required
73
+ * // kmsEncryptionKey: "STRING_VALUE",
74
+ * // vpc: { // VpcConfig
75
+ * // subnetIds: [ // SubnetIds // required
76
+ * // "STRING_VALUE",
77
+ * // ],
78
+ * // securityGroupIds: [ // SecurityGroupIds // required
79
+ * // "STRING_VALUE",
80
+ * // ],
81
+ * // },
82
+ * // },
83
+ * // },
84
+ * // endpointStatus: "STRING_VALUE", // required
85
+ * // endpointStatusMessage: "STRING_VALUE",
86
+ * // },
87
+ * // };
88
+ *
89
+ * ```
90
+ *
91
+ * @param UpdateMarketplaceModelEndpointCommandInput - {@link UpdateMarketplaceModelEndpointCommandInput}
92
+ * @returns {@link UpdateMarketplaceModelEndpointCommandOutput}
93
+ * @see {@link UpdateMarketplaceModelEndpointCommandInput} for command's `input` shape.
94
+ * @see {@link UpdateMarketplaceModelEndpointCommandOutput} for command's `response` shape.
95
+ * @see {@link BedrockClientResolvedConfig | config} for BedrockClient's `config` shape.
96
+ *
97
+ * @throws {@link AccessDeniedException} (client fault)
98
+ * <p>The request is denied because of missing access permissions.</p>
99
+ *
100
+ * @throws {@link ConflictException} (client fault)
101
+ * <p>Error occurred because of a conflict while performing an operation.</p>
102
+ *
103
+ * @throws {@link InternalServerException} (server fault)
104
+ * <p>An internal server error occurred. Retry your request.</p>
105
+ *
106
+ * @throws {@link ResourceNotFoundException} (client fault)
107
+ * <p>The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again.</p>
108
+ *
109
+ * @throws {@link ServiceQuotaExceededException} (client fault)
110
+ * <p>The number of requests exceeds the service quota. Resubmit your request later.</p>
111
+ *
112
+ * @throws {@link ThrottlingException} (client fault)
113
+ * <p>The number of requests exceeds the limit. Resubmit your request later.</p>
114
+ *
115
+ * @throws {@link ValidationException} (client fault)
116
+ * <p>Input validation failed. Check your request parameters and retry the request.</p>
117
+ *
118
+ * @throws {@link BedrockServiceException}
119
+ * <p>Base exception class for all service exceptions from Bedrock service.</p>
120
+ *
121
+ * @public
122
+ */
123
+ export declare class UpdateMarketplaceModelEndpointCommand extends UpdateMarketplaceModelEndpointCommand_base {
124
+ /** @internal type navigation helper, not in runtime. */
125
+ protected static __types: {
126
+ api: {
127
+ input: UpdateMarketplaceModelEndpointRequest;
128
+ output: UpdateMarketplaceModelEndpointResponse;
129
+ };
130
+ sdk: {
131
+ input: UpdateMarketplaceModelEndpointCommandInput;
132
+ output: UpdateMarketplaceModelEndpointCommandOutput;
133
+ };
134
+ };
135
+ }
@@ -3,6 +3,7 @@ export * from "./CreateEvaluationJobCommand";
3
3
  export * from "./CreateGuardrailCommand";
4
4
  export * from "./CreateGuardrailVersionCommand";
5
5
  export * from "./CreateInferenceProfileCommand";
6
+ export * from "./CreateMarketplaceModelEndpointCommand";
6
7
  export * from "./CreateModelCopyJobCommand";
7
8
  export * from "./CreateModelCustomizationJobCommand";
8
9
  export * from "./CreateModelImportJobCommand";
@@ -12,19 +13,23 @@ export * from "./DeleteCustomModelCommand";
12
13
  export * from "./DeleteGuardrailCommand";
13
14
  export * from "./DeleteImportedModelCommand";
14
15
  export * from "./DeleteInferenceProfileCommand";
16
+ export * from "./DeleteMarketplaceModelEndpointCommand";
15
17
  export * from "./DeleteModelInvocationLoggingConfigurationCommand";
16
18
  export * from "./DeleteProvisionedModelThroughputCommand";
19
+ export * from "./DeregisterMarketplaceModelEndpointCommand";
17
20
  export * from "./GetCustomModelCommand";
18
21
  export * from "./GetEvaluationJobCommand";
19
22
  export * from "./GetFoundationModelCommand";
20
23
  export * from "./GetGuardrailCommand";
21
24
  export * from "./GetImportedModelCommand";
22
25
  export * from "./GetInferenceProfileCommand";
26
+ export * from "./GetMarketplaceModelEndpointCommand";
23
27
  export * from "./GetModelCopyJobCommand";
24
28
  export * from "./GetModelCustomizationJobCommand";
25
29
  export * from "./GetModelImportJobCommand";
26
30
  export * from "./GetModelInvocationJobCommand";
27
31
  export * from "./GetModelInvocationLoggingConfigurationCommand";
32
+ export * from "./GetPromptRouterCommand";
28
33
  export * from "./GetProvisionedModelThroughputCommand";
29
34
  export * from "./ListCustomModelsCommand";
30
35
  export * from "./ListEvaluationJobsCommand";
@@ -32,17 +37,21 @@ export * from "./ListFoundationModelsCommand";
32
37
  export * from "./ListGuardrailsCommand";
33
38
  export * from "./ListImportedModelsCommand";
34
39
  export * from "./ListInferenceProfilesCommand";
40
+ export * from "./ListMarketplaceModelEndpointsCommand";
35
41
  export * from "./ListModelCopyJobsCommand";
36
42
  export * from "./ListModelCustomizationJobsCommand";
37
43
  export * from "./ListModelImportJobsCommand";
38
44
  export * from "./ListModelInvocationJobsCommand";
45
+ export * from "./ListPromptRoutersCommand";
39
46
  export * from "./ListProvisionedModelThroughputsCommand";
40
47
  export * from "./ListTagsForResourceCommand";
41
48
  export * from "./PutModelInvocationLoggingConfigurationCommand";
49
+ export * from "./RegisterMarketplaceModelEndpointCommand";
42
50
  export * from "./StopEvaluationJobCommand";
43
51
  export * from "./StopModelCustomizationJobCommand";
44
52
  export * from "./StopModelInvocationJobCommand";
45
53
  export * from "./TagResourceCommand";
46
54
  export * from "./UntagResourceCommand";
47
55
  export * from "./UpdateGuardrailCommand";
56
+ export * from "./UpdateMarketplaceModelEndpointCommand";
48
57
  export * from "./UpdateProvisionedModelThroughputCommand";