@aws-sdk/client-bedrock 3.826.0 → 3.830.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.
- package/README.md +8 -0
- package/dist-cjs/index.js +218 -153
- package/dist-es/Bedrock.js +2 -0
- package/dist-es/commands/CreateCustomModelCommand.js +22 -0
- package/dist-es/commands/CreateEvaluationJobCommand.js +1 -1
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +105 -141
- package/dist-es/models/models_1.js +43 -1
- package/dist-es/protocols/Aws_restJson1.js +39 -1
- package/dist-types/Bedrock.d.ts +7 -0
- package/dist-types/BedrockClient.d.ts +3 -2
- package/dist-types/commands/BatchDeleteEvaluationJobCommand.d.ts +1 -3
- package/dist-types/commands/CreateCustomModelCommand.d.ts +143 -0
- package/dist-types/commands/CreateEvaluationJobCommand.d.ts +2 -1
- package/dist-types/commands/CreateGuardrailCommand.d.ts +2 -34
- package/dist-types/commands/CreateGuardrailVersionCommand.d.ts +1 -2
- package/dist-types/commands/CreateInferenceProfileCommand.d.ts +1 -2
- package/dist-types/commands/CreateMarketplaceModelEndpointCommand.d.ts +1 -2
- package/dist-types/commands/CreateModelCopyJobCommand.d.ts +1 -2
- package/dist-types/commands/CreateModelCustomizationJobCommand.d.ts +3 -12
- package/dist-types/commands/CreateModelImportJobCommand.d.ts +2 -5
- package/dist-types/commands/CreateModelInvocationJobCommand.d.ts +1 -2
- package/dist-types/commands/CreatePromptRouterCommand.d.ts +1 -2
- package/dist-types/commands/CreateProvisionedModelThroughputCommand.d.ts +1 -2
- package/dist-types/commands/DeleteGuardrailCommand.d.ts +1 -9
- package/dist-types/commands/DeleteImportedModelCommand.d.ts +1 -3
- package/dist-types/commands/DeregisterMarketplaceModelEndpointCommand.d.ts +1 -3
- package/dist-types/commands/GetCustomModelCommand.d.ts +6 -4
- package/dist-types/commands/GetModelCustomizationJobCommand.d.ts +3 -4
- package/dist-types/commands/GetModelImportJobCommand.d.ts +1 -3
- package/dist-types/commands/GetModelInvocationJobCommand.d.ts +1 -2
- package/dist-types/commands/ListCustomModelsCommand.d.ts +4 -3
- package/dist-types/commands/ListGuardrailsCommand.d.ts +1 -2
- package/dist-types/commands/ListImportedModelsCommand.d.ts +1 -3
- package/dist-types/commands/ListMarketplaceModelEndpointsCommand.d.ts +1 -2
- package/dist-types/commands/ListModelCopyJobsCommand.d.ts +1 -2
- package/dist-types/commands/ListModelCustomizationJobsCommand.d.ts +3 -5
- package/dist-types/commands/ListModelImportJobsCommand.d.ts +1 -3
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -2
- package/dist-types/commands/RegisterMarketplaceModelEndpointCommand.d.ts +1 -2
- package/dist-types/commands/TagResourceCommand.d.ts +2 -3
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateGuardrailCommand.d.ts +1 -37
- package/dist-types/commands/UpdateMarketplaceModelEndpointCommand.d.ts +1 -2
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +7 -7
- package/dist-types/models/models_0.d.ts +1188 -2462
- package/dist-types/models/models_1.d.ts +153 -3
- package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/Bedrock.d.ts +17 -0
- package/dist-types/ts3.4/BedrockClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/CreateCustomModelCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateEvaluationJobCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +7 -7
- package/dist-types/ts3.4/models/models_0.d.ts +255 -308
- package/dist-types/ts3.4/models/models_1.d.ts +79 -1
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -2
- package/package.json +5 -5
|
@@ -0,0 +1,143 @@
|
|
|
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 { CreateCustomModelRequest, CreateCustomModelResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateCustomModelCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateCustomModelCommandInput extends CreateCustomModelRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateCustomModelCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateCustomModelCommandOutput extends CreateCustomModelResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateCustomModelCommand_base: {
|
|
25
|
+
new (input: CreateCustomModelCommandInput): import("@smithy/smithy-client").CommandImpl<CreateCustomModelCommandInput, CreateCustomModelCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateCustomModelCommandInput): import("@smithy/smithy-client").CommandImpl<CreateCustomModelCommandInput, CreateCustomModelCommandOutput, BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Creates a new custom model in Amazon Bedrock from an existing SageMaker AI-trained Amazon Nova model stored in an Amazon-managed Amazon S3 bucket. After the model is active, you can use it for inference.</p> <p>To use the model for inference, you must purchase Provisioned Throughput for it. You can't use On-demand inference with these custom models. For more information about Provisioned Throughput, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/prov-throughput.html">Provisioned Throughput</a>.</p> <p>The model appears in <code>ListCustomModels</code> with a <code>customizationType</code> of <code>imported</code>. To track the status of the new model, you use the <code>GetCustomModel</code> API operation. The model can be in the following states:</p> <ul> <li> <p> <code>Creating</code> - Initial state during validation and registration</p> </li> <li> <p> <code>Active</code> - Model is ready for use in inference</p> </li> <li> <p> <code>Failed</code> - Creation process encountered an error</p> </li> </ul> <p>For more information about creating custom models, including specific model requirements, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/create-custom-model-from-existing.html">Import a SageMaker AI-trained Amazon Nova model</a> in the Amazon Bedrock User Guide. </p> <note> <p>You use the <code>CreateCustomModel</code> API to import only SageMaker AI-trained Amazon Nova models. To import open-source models, you use the <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_CreateModelImportJob.html">CreateModelImportJob</a>. </p> </note> <p> <b>Related APIs</b> </p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_GetCustomModel.html">GetCustomModel</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_ListCustomModels.html">ListCustomModels</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_DeleteCustomModel.html">DeleteCustomModel</a> </p> </li> </ul>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { BedrockClient, CreateCustomModelCommand } from "@aws-sdk/client-bedrock"; // ES Modules import
|
|
35
|
+
* // const { BedrockClient, CreateCustomModelCommand } = require("@aws-sdk/client-bedrock"); // CommonJS import
|
|
36
|
+
* const client = new BedrockClient(config);
|
|
37
|
+
* const input = { // CreateCustomModelRequest
|
|
38
|
+
* modelName: "STRING_VALUE", // required
|
|
39
|
+
* modelSourceConfig: { // ModelDataSource Union: only one key present
|
|
40
|
+
* s3DataSource: { // S3DataSource
|
|
41
|
+
* s3Uri: "STRING_VALUE", // required
|
|
42
|
+
* },
|
|
43
|
+
* },
|
|
44
|
+
* modelKmsKeyArn: "STRING_VALUE",
|
|
45
|
+
* roleArn: "STRING_VALUE",
|
|
46
|
+
* modelTags: [ // TagList
|
|
47
|
+
* { // Tag
|
|
48
|
+
* key: "STRING_VALUE", // required
|
|
49
|
+
* value: "STRING_VALUE", // required
|
|
50
|
+
* },
|
|
51
|
+
* ],
|
|
52
|
+
* clientRequestToken: "STRING_VALUE",
|
|
53
|
+
* };
|
|
54
|
+
* const command = new CreateCustomModelCommand(input);
|
|
55
|
+
* const response = await client.send(command);
|
|
56
|
+
* // { // CreateCustomModelResponse
|
|
57
|
+
* // modelArn: "STRING_VALUE", // required
|
|
58
|
+
* // };
|
|
59
|
+
*
|
|
60
|
+
* ```
|
|
61
|
+
*
|
|
62
|
+
* @param CreateCustomModelCommandInput - {@link CreateCustomModelCommandInput}
|
|
63
|
+
* @returns {@link CreateCustomModelCommandOutput}
|
|
64
|
+
* @see {@link CreateCustomModelCommandInput} for command's `input` shape.
|
|
65
|
+
* @see {@link CreateCustomModelCommandOutput} for command's `response` shape.
|
|
66
|
+
* @see {@link BedrockClientResolvedConfig | config} for BedrockClient's `config` shape.
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
69
|
+
* <p>The request is denied because of missing access permissions.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ConflictException} (client fault)
|
|
72
|
+
* <p>Error occurred because of a conflict while performing an operation.</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 ServiceQuotaExceededException} (client fault)
|
|
81
|
+
* <p>The number of requests exceeds the service quota. Resubmit your request later.</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 TooManyTagsException} (client fault)
|
|
87
|
+
* <p>The request contains more tags than can be associated with a resource (50 tags per resource). The maximum number of tags includes both existing tags and those included in your current request. </p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link ValidationException} (client fault)
|
|
90
|
+
* <p>Input validation failed. Check your request parameters and retry the request.</p>
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link BedrockServiceException}
|
|
93
|
+
* <p>Base exception class for all service exceptions from Bedrock service.</p>
|
|
94
|
+
*
|
|
95
|
+
*
|
|
96
|
+
* @example Successful CreateCustomModel API call
|
|
97
|
+
* ```javascript
|
|
98
|
+
* //
|
|
99
|
+
* const input = {
|
|
100
|
+
* clientRequestToken: "foo",
|
|
101
|
+
* modelKmsKeyArn: "arn:aws:kms:us-east-1:123456789012:key/1234abcd-12ab-34cd-56ef-1234567890ab",
|
|
102
|
+
* modelName: "SampleModel",
|
|
103
|
+
* modelSourceConfig: {
|
|
104
|
+
* s3DataSource: {
|
|
105
|
+
* s3Uri: "s3://my-bucket/folder"
|
|
106
|
+
* }
|
|
107
|
+
* },
|
|
108
|
+
* modelTags: [
|
|
109
|
+
* {
|
|
110
|
+
* key: "foo",
|
|
111
|
+
* value: "foo"
|
|
112
|
+
* },
|
|
113
|
+
* {
|
|
114
|
+
* key: "foo",
|
|
115
|
+
* value: "foo"
|
|
116
|
+
* }
|
|
117
|
+
* ],
|
|
118
|
+
* roleArn: "arn:aws:iam::123456789012:role/SampleRole"
|
|
119
|
+
* };
|
|
120
|
+
* const command = new CreateCustomModelCommand(input);
|
|
121
|
+
* const response = await client.send(command);
|
|
122
|
+
* /* response is
|
|
123
|
+
* {
|
|
124
|
+
* modelArn: "arn:aws:bedrock:us-east-1:123456789012:custom-model/imported/abcdef123456"
|
|
125
|
+
* }
|
|
126
|
+
* *\/
|
|
127
|
+
* ```
|
|
128
|
+
*
|
|
129
|
+
* @public
|
|
130
|
+
*/
|
|
131
|
+
export declare class CreateCustomModelCommand extends CreateCustomModelCommand_base {
|
|
132
|
+
/** @internal type navigation helper, not in runtime. */
|
|
133
|
+
protected static __types: {
|
|
134
|
+
api: {
|
|
135
|
+
input: CreateCustomModelRequest;
|
|
136
|
+
output: CreateCustomModelResponse;
|
|
137
|
+
};
|
|
138
|
+
sdk: {
|
|
139
|
+
input: CreateCustomModelCommandInput;
|
|
140
|
+
output: CreateCustomModelCommandOutput;
|
|
141
|
+
};
|
|
142
|
+
};
|
|
143
|
+
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
|
|
4
|
-
import {
|
|
4
|
+
import { CreateEvaluationJobResponse } from "../models/models_0";
|
|
5
|
+
import { CreateEvaluationJobRequest } from "../models/models_1";
|
|
5
6
|
/**
|
|
6
7
|
* @public
|
|
7
8
|
*/
|
|
@@ -27,38 +27,7 @@ declare const CreateGuardrailCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Creates a guardrail to block topics and to implement safeguards for your generative AI applications.</p>
|
|
31
|
-
* <p>You can configure the following policies in a guardrail to avoid undesirable and harmful content, filter
|
|
32
|
-
* out denied topics and words, and remove sensitive information for privacy protection.</p>
|
|
33
|
-
* <ul>
|
|
34
|
-
* <li>
|
|
35
|
-
* <p>
|
|
36
|
-
* <b>Content filters</b> - Adjust filter strengths
|
|
37
|
-
* to block input prompts or model responses containing harmful content.</p>
|
|
38
|
-
* </li>
|
|
39
|
-
* <li>
|
|
40
|
-
* <p>
|
|
41
|
-
* <b>Denied topics</b> - Define a set of topics that
|
|
42
|
-
* are undesirable in the context of your application. These topics will be blocked if
|
|
43
|
-
* detected in user queries or model responses.</p>
|
|
44
|
-
* </li>
|
|
45
|
-
* <li>
|
|
46
|
-
* <p>
|
|
47
|
-
* <b>Word filters</b> - Configure filters to block
|
|
48
|
-
* undesirable words, phrases, and profanity. Such words can include offensive terms,
|
|
49
|
-
* competitor names etc.</p>
|
|
50
|
-
* </li>
|
|
51
|
-
* <li>
|
|
52
|
-
* <p>
|
|
53
|
-
* <b>Sensitive information filters</b> - Block or
|
|
54
|
-
* mask sensitive information such as personally identifiable information (PII) or custom
|
|
55
|
-
* regex in user inputs and model responses.</p>
|
|
56
|
-
* </li>
|
|
57
|
-
* </ul>
|
|
58
|
-
* <p>In addition to the above policies, you can also configure the messages to be returned to
|
|
59
|
-
* the user if a user input or model response is in violation of the policies defined in the guardrail.</p>
|
|
60
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails.html">Amazon Bedrock Guardrails</a> in
|
|
61
|
-
* the <i>Amazon Bedrock User Guide</i>.</p>
|
|
30
|
+
* <p>Creates a guardrail to block topics and to implement safeguards for your generative AI applications.</p> <p>You can configure the following policies in a guardrail to avoid undesirable and harmful content, filter out denied topics and words, and remove sensitive information for privacy protection.</p> <ul> <li> <p> <b>Content filters</b> - Adjust filter strengths to block input prompts or model responses containing harmful content.</p> </li> <li> <p> <b>Denied topics</b> - Define a set of topics that are undesirable in the context of your application. These topics will be blocked if detected in user queries or model responses.</p> </li> <li> <p> <b>Word filters</b> - Configure filters to block undesirable words, phrases, and profanity. Such words can include offensive terms, competitor names etc.</p> </li> <li> <p> <b>Sensitive information filters</b> - Block or mask sensitive information such as personally identifiable information (PII) or custom regex in user inputs and model responses.</p> </li> </ul> <p>In addition to the above policies, you can also configure the messages to be returned to the user if a user input or model response is in violation of the policies defined in the guardrail.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails.html">Amazon Bedrock Guardrails</a> in the <i>Amazon Bedrock User Guide</i>.</p>
|
|
62
31
|
* @example
|
|
63
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
64
33
|
* ```javascript
|
|
@@ -207,8 +176,7 @@ declare const CreateGuardrailCommand_base: {
|
|
|
207
176
|
* <p>The number of requests exceeds the limit. Resubmit your request later.</p>
|
|
208
177
|
*
|
|
209
178
|
* @throws {@link TooManyTagsException} (client fault)
|
|
210
|
-
* <p>The request contains more tags than can be associated with a resource (50 tags per resource).
|
|
211
|
-
* The maximum number of tags includes both existing tags and those included in your current request. </p>
|
|
179
|
+
* <p>The request contains more tags than can be associated with a resource (50 tags per resource). The maximum number of tags includes both existing tags and those included in your current request. </p>
|
|
212
180
|
*
|
|
213
181
|
* @throws {@link ValidationException} (client fault)
|
|
214
182
|
* <p>Input validation failed. Check your request parameters and retry the request.</p>
|
|
@@ -27,8 +27,7 @@ declare const CreateGuardrailVersionCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Creates a version of the guardrail. Use this API to create a snapshot of the
|
|
31
|
-
* guardrail when you are satisfied with a configuration, or to compare the configuration with another version.</p>
|
|
30
|
+
* <p>Creates a version of the guardrail. Use this API to create a snapshot of the guardrail when you are satisfied with a configuration, or to compare the configuration with another version.</p>
|
|
32
31
|
* @example
|
|
33
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
33
|
* ```javascript
|
|
@@ -82,8 +82,7 @@ declare const CreateInferenceProfileCommand_base: {
|
|
|
82
82
|
* <p>The number of requests exceeds the limit. Resubmit your request later.</p>
|
|
83
83
|
*
|
|
84
84
|
* @throws {@link TooManyTagsException} (client fault)
|
|
85
|
-
* <p>The request contains more tags than can be associated with a resource (50 tags per resource).
|
|
86
|
-
* The maximum number of tags includes both existing tags and those included in your current request. </p>
|
|
85
|
+
* <p>The request contains more tags than can be associated with a resource (50 tags per resource). The maximum number of tags includes both existing tags and those included in your current request. </p>
|
|
87
86
|
*
|
|
88
87
|
* @throws {@link ValidationException} (client fault)
|
|
89
88
|
* <p>Input validation failed. Check your request parameters and retry the request.</p>
|
|
@@ -27,8 +27,7 @@ declare const CreateMarketplaceModelEndpointCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Creates an endpoint for a model from Amazon Bedrock Marketplace. The endpoint is hosted by
|
|
31
|
-
* Amazon SageMaker.</p>
|
|
30
|
+
* <p>Creates an endpoint for a model from Amazon Bedrock Marketplace. The endpoint is hosted by Amazon SageMaker.</p>
|
|
32
31
|
* @example
|
|
33
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
33
|
* ```javascript
|
|
@@ -70,8 +70,7 @@ declare const CreateModelCopyJobCommand_base: {
|
|
|
70
70
|
* <p>The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again.</p>
|
|
71
71
|
*
|
|
72
72
|
* @throws {@link TooManyTagsException} (client fault)
|
|
73
|
-
* <p>The request contains more tags than can be associated with a resource (50 tags per resource).
|
|
74
|
-
* The maximum number of tags includes both existing tags and those included in your current request. </p>
|
|
73
|
+
* <p>The request contains more tags than can be associated with a resource (50 tags per resource). The maximum number of tags includes both existing tags and those included in your current request. </p>
|
|
75
74
|
*
|
|
76
75
|
* @throws {@link BedrockServiceException}
|
|
77
76
|
* <p>Base exception class for all service exceptions from Bedrock service.</p>
|
|
@@ -27,15 +27,7 @@ declare const CreateModelCustomizationJobCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Creates a fine-tuning job to customize a base model.</p>
|
|
31
|
-
* <p>You specify the base foundation model and the location of the training data.
|
|
32
|
-
* After the model-customization job completes successfully, your custom model resource will be ready to use. Amazon Bedrock returns validation loss metrics and output generations after the job completes.
|
|
33
|
-
* </p>
|
|
34
|
-
* <p>For information on the format of training and validation data, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/model-customization-prepare.html">Prepare the datasets</a>.</p>
|
|
35
|
-
* <p>
|
|
36
|
-
* Model-customization jobs are asynchronous and the completion time depends on the base model and the training/validation data size.
|
|
37
|
-
* To monitor a job, use the <code>GetModelCustomizationJob</code> operation to retrieve the job status.</p>
|
|
38
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/custom-models.html">Custom models</a> in the <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html">Amazon Bedrock User Guide</a>.</p>
|
|
30
|
+
* <p>Creates a fine-tuning job to customize a base model.</p> <p>You specify the base foundation model and the location of the training data. After the model-customization job completes successfully, your custom model resource will be ready to use. Amazon Bedrock returns validation loss metrics and output generations after the job completes. </p> <p>For information on the format of training and validation data, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/model-customization-prepare.html">Prepare the datasets</a>.</p> <p> Model-customization jobs are asynchronous and the completion time depends on the base model and the training/validation data size. To monitor a job, use the <code>GetModelCustomizationJob</code> operation to retrieve the job status.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/custom-models.html">Custom models</a> in the <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html">Amazon Bedrock User Guide</a>.</p>
|
|
39
31
|
* @example
|
|
40
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
41
33
|
* ```javascript
|
|
@@ -48,7 +40,7 @@ declare const CreateModelCustomizationJobCommand_base: {
|
|
|
48
40
|
* roleArn: "STRING_VALUE", // required
|
|
49
41
|
* clientRequestToken: "STRING_VALUE",
|
|
50
42
|
* baseModelIdentifier: "STRING_VALUE", // required
|
|
51
|
-
* customizationType: "FINE_TUNING" || "CONTINUED_PRE_TRAINING" || "DISTILLATION",
|
|
43
|
+
* customizationType: "FINE_TUNING" || "CONTINUED_PRE_TRAINING" || "DISTILLATION" || "IMPORTED",
|
|
52
44
|
* customModelKmsKeyId: "STRING_VALUE",
|
|
53
45
|
* jobTags: [ // TagList
|
|
54
46
|
* { // Tag
|
|
@@ -160,8 +152,7 @@ declare const CreateModelCustomizationJobCommand_base: {
|
|
|
160
152
|
* <p>The number of requests exceeds the limit. Resubmit your request later.</p>
|
|
161
153
|
*
|
|
162
154
|
* @throws {@link TooManyTagsException} (client fault)
|
|
163
|
-
* <p>The request contains more tags than can be associated with a resource (50 tags per resource).
|
|
164
|
-
* The maximum number of tags includes both existing tags and those included in your current request. </p>
|
|
155
|
+
* <p>The request contains more tags than can be associated with a resource (50 tags per resource). The maximum number of tags includes both existing tags and those included in your current request. </p>
|
|
165
156
|
*
|
|
166
157
|
* @throws {@link ValidationException} (client fault)
|
|
167
158
|
* <p>Input validation failed. Check your request parameters and retry the request.</p>
|
|
@@ -27,9 +27,7 @@ declare const CreateModelImportJobCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Creates a model import job to import model that you have customized in other environments, such as Amazon SageMaker. For more information,
|
|
31
|
-
* see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/model-customization-import-model.html">Import a customized model</a>
|
|
32
|
-
* </p>
|
|
30
|
+
* <p>Creates a model import job to import model that you have customized in other environments, such as Amazon SageMaker. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/model-customization-import-model.html">Import a customized model</a> </p>
|
|
33
31
|
* @example
|
|
34
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
33
|
* ```javascript
|
|
@@ -101,8 +99,7 @@ declare const CreateModelImportJobCommand_base: {
|
|
|
101
99
|
* <p>The number of requests exceeds the limit. Resubmit your request later.</p>
|
|
102
100
|
*
|
|
103
101
|
* @throws {@link TooManyTagsException} (client fault)
|
|
104
|
-
* <p>The request contains more tags than can be associated with a resource (50 tags per resource).
|
|
105
|
-
* The maximum number of tags includes both existing tags and those included in your current request. </p>
|
|
102
|
+
* <p>The request contains more tags than can be associated with a resource (50 tags per resource). The maximum number of tags includes both existing tags and those included in your current request. </p>
|
|
106
103
|
*
|
|
107
104
|
* @throws {@link ValidationException} (client fault)
|
|
108
105
|
* <p>Input validation failed. Check your request parameters and retry the request.</p>
|
|
@@ -27,8 +27,7 @@ declare const CreateModelInvocationJobCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Creates a batch inference job to invoke a model on multiple prompts. Format your data according to <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/batch-inference-data">Format your inference data</a> and upload it to an Amazon S3 bucket. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/batch-inference.html">Process multiple prompts with batch inference</a>.</p>
|
|
31
|
-
* <p>The response returns a <code>jobArn</code> that you can use to stop or get details about the job.</p>
|
|
30
|
+
* <p>Creates a batch inference job to invoke a model on multiple prompts. Format your data according to <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/batch-inference-data">Format your inference data</a> and upload it to an Amazon S3 bucket. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/batch-inference.html">Process multiple prompts with batch inference</a>.</p> <p>The response returns a <code>jobArn</code> that you can use to stop or get details about the job.</p>
|
|
32
31
|
* @example
|
|
33
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
33
|
* ```javascript
|
|
@@ -89,8 +89,7 @@ declare const CreatePromptRouterCommand_base: {
|
|
|
89
89
|
* <p>The number of requests exceeds the limit. Resubmit your request later.</p>
|
|
90
90
|
*
|
|
91
91
|
* @throws {@link TooManyTagsException} (client fault)
|
|
92
|
-
* <p>The request contains more tags than can be associated with a resource (50 tags per resource).
|
|
93
|
-
* The maximum number of tags includes both existing tags and those included in your current request. </p>
|
|
92
|
+
* <p>The request contains more tags than can be associated with a resource (50 tags per resource). The maximum number of tags includes both existing tags and those included in your current request. </p>
|
|
94
93
|
*
|
|
95
94
|
* @throws {@link ValidationException} (client fault)
|
|
96
95
|
* <p>Input validation failed. Check your request parameters and retry the request.</p>
|
|
@@ -77,8 +77,7 @@ declare const CreateProvisionedModelThroughputCommand_base: {
|
|
|
77
77
|
* <p>The number of requests exceeds the limit. Resubmit your request later.</p>
|
|
78
78
|
*
|
|
79
79
|
* @throws {@link TooManyTagsException} (client fault)
|
|
80
|
-
* <p>The request contains more tags than can be associated with a resource (50 tags per resource).
|
|
81
|
-
* The maximum number of tags includes both existing tags and those included in your current request. </p>
|
|
80
|
+
* <p>The request contains more tags than can be associated with a resource (50 tags per resource). The maximum number of tags includes both existing tags and those included in your current request. </p>
|
|
82
81
|
*
|
|
83
82
|
* @throws {@link ValidationException} (client fault)
|
|
84
83
|
* <p>Input validation failed. Check your request parameters and retry the request.</p>
|
|
@@ -27,15 +27,7 @@ declare const DeleteGuardrailCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Deletes a guardrail.</p>
|
|
31
|
-
* <ul>
|
|
32
|
-
* <li>
|
|
33
|
-
* <p>To delete a guardrail, only specify the ARN of the guardrail in the <code>guardrailIdentifier</code> field. If you delete a guardrail, all of its versions will be deleted.</p>
|
|
34
|
-
* </li>
|
|
35
|
-
* <li>
|
|
36
|
-
* <p>To delete a version of a guardrail, specify the ARN of the guardrail in the <code>guardrailIdentifier</code> field and the version in the <code>guardrailVersion</code> field.</p>
|
|
37
|
-
* </li>
|
|
38
|
-
* </ul>
|
|
30
|
+
* <p>Deletes a guardrail.</p> <ul> <li> <p>To delete a guardrail, only specify the ARN of the guardrail in the <code>guardrailIdentifier</code> field. If you delete a guardrail, all of its versions will be deleted.</p> </li> <li> <p>To delete a version of a guardrail, specify the ARN of the guardrail in the <code>guardrailIdentifier</code> field and the version in the <code>guardrailVersion</code> field.</p> </li> </ul>
|
|
39
31
|
* @example
|
|
40
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
41
33
|
* ```javascript
|
|
@@ -27,9 +27,7 @@ declare const DeleteImportedModelCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Deletes a custom model that you imported earlier. For more information,
|
|
31
|
-
* see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/model-customization-import-model.html">Import a customized model</a> in the <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html">Amazon Bedrock User Guide</a>.
|
|
32
|
-
* </p>
|
|
30
|
+
* <p>Deletes a custom model that you imported earlier. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/model-customization-import-model.html">Import a customized model</a> in the <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html">Amazon Bedrock User Guide</a>. </p>
|
|
33
31
|
* @example
|
|
34
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
33
|
* ```javascript
|
|
@@ -27,9 +27,7 @@ declare const DeregisterMarketplaceModelEndpointCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
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>
|
|
30
|
+
* <p>Deregisters an endpoint for a model from Amazon Bedrock Marketplace. This operation removes the endpoint's association with Amazon Bedrock but does not delete the underlying Amazon SageMaker endpoint.</p>
|
|
33
31
|
* @example
|
|
34
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
33
|
* ```javascript
|
|
@@ -27,7 +27,7 @@ declare const GetCustomModelCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Get the properties associated with a Amazon Bedrock custom model that you have created.For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/custom-models.html">Custom models</a> in the <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html">Amazon Bedrock User Guide</a>.</p>
|
|
30
|
+
* <p>Get the properties associated with a Amazon Bedrock custom model that you have created. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/custom-models.html">Custom models</a> in the <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html">Amazon Bedrock User Guide</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
|
|
@@ -43,9 +43,9 @@ declare const GetCustomModelCommand_base: {
|
|
|
43
43
|
* // modelArn: "STRING_VALUE", // required
|
|
44
44
|
* // modelName: "STRING_VALUE", // required
|
|
45
45
|
* // jobName: "STRING_VALUE",
|
|
46
|
-
* // jobArn: "STRING_VALUE",
|
|
47
|
-
* // baseModelArn: "STRING_VALUE",
|
|
48
|
-
* // customizationType: "FINE_TUNING" || "CONTINUED_PRE_TRAINING" || "DISTILLATION",
|
|
46
|
+
* // jobArn: "STRING_VALUE",
|
|
47
|
+
* // baseModelArn: "STRING_VALUE",
|
|
48
|
+
* // customizationType: "FINE_TUNING" || "CONTINUED_PRE_TRAINING" || "DISTILLATION" || "IMPORTED",
|
|
49
49
|
* // modelKmsKeyArn: "STRING_VALUE",
|
|
50
50
|
* // hyperParameters: { // ModelCustomizationHyperParameters
|
|
51
51
|
* // "<keys>": "STRING_VALUE",
|
|
@@ -112,6 +112,8 @@ declare const GetCustomModelCommand_base: {
|
|
|
112
112
|
* // },
|
|
113
113
|
* // },
|
|
114
114
|
* // },
|
|
115
|
+
* // modelStatus: "Active" || "Creating" || "Failed",
|
|
116
|
+
* // failureMessage: "STRING_VALUE",
|
|
115
117
|
* // };
|
|
116
118
|
*
|
|
117
119
|
* ```
|
|
@@ -27,8 +27,7 @@ declare const GetModelCustomizationJobCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Retrieves the properties associated with a model-customization job, including the status of the job.
|
|
31
|
-
* For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/custom-models.html">Custom models</a> in the <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html">Amazon Bedrock User Guide</a>.</p>
|
|
30
|
+
* <p>Retrieves the properties associated with a model-customization job, including the status of the job. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/custom-models.html">Custom models</a> in the <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html">Amazon Bedrock User Guide</a>.</p>
|
|
32
31
|
* @example
|
|
33
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
33
|
* ```javascript
|
|
@@ -48,7 +47,6 @@ declare const GetModelCustomizationJobCommand_base: {
|
|
|
48
47
|
* // clientRequestToken: "STRING_VALUE",
|
|
49
48
|
* // roleArn: "STRING_VALUE", // required
|
|
50
49
|
* // status: "InProgress" || "Completed" || "Failed" || "Stopping" || "Stopped",
|
|
51
|
-
* // failureMessage: "STRING_VALUE",
|
|
52
50
|
* // statusDetails: { // StatusDetails
|
|
53
51
|
* // validationDetails: { // ValidationDetails
|
|
54
52
|
* // status: "InProgress" || "Completed" || "Stopping" || "Stopped" || "Failed" || "NotStarted",
|
|
@@ -66,6 +64,7 @@ declare const GetModelCustomizationJobCommand_base: {
|
|
|
66
64
|
* // lastModifiedTime: new Date("TIMESTAMP"),
|
|
67
65
|
* // },
|
|
68
66
|
* // },
|
|
67
|
+
* // failureMessage: "STRING_VALUE",
|
|
69
68
|
* // creationTime: new Date("TIMESTAMP"), // required
|
|
70
69
|
* // lastModifiedTime: new Date("TIMESTAMP"),
|
|
71
70
|
* // endTime: new Date("TIMESTAMP"),
|
|
@@ -118,7 +117,7 @@ declare const GetModelCustomizationJobCommand_base: {
|
|
|
118
117
|
* // outputDataConfig: { // OutputDataConfig
|
|
119
118
|
* // s3Uri: "STRING_VALUE", // required
|
|
120
119
|
* // },
|
|
121
|
-
* // customizationType: "FINE_TUNING" || "CONTINUED_PRE_TRAINING" || "DISTILLATION",
|
|
120
|
+
* // customizationType: "FINE_TUNING" || "CONTINUED_PRE_TRAINING" || "DISTILLATION" || "IMPORTED",
|
|
122
121
|
* // outputModelKmsKeyArn: "STRING_VALUE",
|
|
123
122
|
* // trainingMetrics: { // TrainingMetrics
|
|
124
123
|
* // trainingLoss: Number("float"),
|
|
@@ -27,9 +27,7 @@ declare const GetModelImportJobCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Retrieves the properties associated with import model job, including the status of the
|
|
31
|
-
* job. For more information,
|
|
32
|
-
* see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/model-customization-import-model.html">Import a customized model</a> in the <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html">Amazon Bedrock User Guide</a>.</p>
|
|
30
|
+
* <p>Retrieves the properties associated with import model job, including the status of the job. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/model-customization-import-model.html">Import a customized model</a> in the <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html">Amazon Bedrock User Guide</a>.</p>
|
|
33
31
|
* @example
|
|
34
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
33
|
* ```javascript
|
|
@@ -27,8 +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-monitor">Monitor batch inference jobs</a>
|
|
31
|
-
* </p>
|
|
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> </p>
|
|
32
31
|
* @example
|
|
33
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
33
|
* ```javascript
|
|
@@ -27,8 +27,7 @@ declare const ListCustomModelsCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Returns a list of the custom models that you have created with the <code>CreateModelCustomizationJob</code> operation.</p>
|
|
31
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/custom-models.html">Custom models</a> in the <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html">Amazon Bedrock User Guide</a>.</p>
|
|
30
|
+
* <p>Returns a list of the custom models that you have created with the <code>CreateModelCustomizationJob</code> operation.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/custom-models.html">Custom models</a> in the <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html">Amazon Bedrock User Guide</a>.</p>
|
|
32
31
|
* @example
|
|
33
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
33
|
* ```javascript
|
|
@@ -46,6 +45,7 @@ declare const ListCustomModelsCommand_base: {
|
|
|
46
45
|
* sortBy: "CreationTime",
|
|
47
46
|
* sortOrder: "Ascending" || "Descending",
|
|
48
47
|
* isOwned: true || false,
|
|
48
|
+
* modelStatus: "Active" || "Creating" || "Failed",
|
|
49
49
|
* };
|
|
50
50
|
* const command = new ListCustomModelsCommand(input);
|
|
51
51
|
* const response = await client.send(command);
|
|
@@ -58,8 +58,9 @@ 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" || "DISTILLATION",
|
|
61
|
+
* // customizationType: "FINE_TUNING" || "CONTINUED_PRE_TRAINING" || "DISTILLATION" || "IMPORTED",
|
|
62
62
|
* // ownerAccountId: "STRING_VALUE",
|
|
63
|
+
* // modelStatus: "Active" || "Creating" || "Failed",
|
|
63
64
|
* // },
|
|
64
65
|
* // ],
|
|
65
66
|
* // };
|
|
@@ -27,8 +27,7 @@ declare const ListGuardrailsCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Lists details about all the guardrails in an account. To list the <code>DRAFT</code> version of all your guardrails, don't specify the <code>guardrailIdentifier</code> field. To list all versions of a guardrail, specify the ARN of the guardrail in the <code>guardrailIdentifier</code> field.</p>
|
|
31
|
-
* <p>You can set the maximum number of results to return in a response in the <code>maxResults</code> field. If there are more results than the number you set, the response returns a <code>nextToken</code> that you can send in another <code>ListGuardrails</code> request to see the next batch of results.</p>
|
|
30
|
+
* <p>Lists details about all the guardrails in an account. To list the <code>DRAFT</code> version of all your guardrails, don't specify the <code>guardrailIdentifier</code> field. To list all versions of a guardrail, specify the ARN of the guardrail in the <code>guardrailIdentifier</code> field.</p> <p>You can set the maximum number of results to return in a response in the <code>maxResults</code> field. If there are more results than the number you set, the response returns a <code>nextToken</code> that you can send in another <code>ListGuardrails</code> request to see the next batch of results.</p>
|
|
32
31
|
* @example
|
|
33
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
33
|
* ```javascript
|
|
@@ -27,9 +27,7 @@ declare const ListImportedModelsCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Returns a list of models you've imported. You can filter the results to return based on one or more criteria.
|
|
31
|
-
* For more information,
|
|
32
|
-
* see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/model-customization-import-model.html">Import a customized model</a> in the <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html">Amazon Bedrock User Guide</a>.</p>
|
|
30
|
+
* <p>Returns a list of models you've imported. You can filter the results to return based on one or more criteria. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/model-customization-import-model.html">Import a customized model</a> in the <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html">Amazon Bedrock User Guide</a>.</p>
|
|
33
31
|
* @example
|
|
34
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
33
|
* ```javascript
|
|
@@ -27,8 +27,7 @@ declare const ListMarketplaceModelEndpointsCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Lists the endpoints for models from Amazon Bedrock Marketplace in your Amazon Web Services
|
|
31
|
-
* account.</p>
|
|
30
|
+
* <p>Lists the endpoints for models from Amazon Bedrock Marketplace in your Amazon Web Services account.</p>
|
|
32
31
|
* @example
|
|
33
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
33
|
* ```javascript
|
|
@@ -27,8 +27,7 @@ declare const ListModelCopyJobsCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Returns a list of model copy jobs that you have submitted. You can filter the jobs to return based on
|
|
31
|
-
* one or more criteria. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/copy-model.html">Copy models to be used in other regions</a> in the <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html">Amazon Bedrock User Guide</a>.</p>
|
|
30
|
+
* <p>Returns a list of model copy jobs that you have submitted. You can filter the jobs to return based on one or more criteria. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/copy-model.html">Copy models to be used in other regions</a> in the <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html">Amazon Bedrock User Guide</a>.</p>
|
|
32
31
|
* @example
|
|
33
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
33
|
* ```javascript
|
|
@@ -27,9 +27,7 @@ declare const ListModelCustomizationJobsCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Returns a list of model customization jobs that you have submitted. You can filter the jobs to return based on
|
|
31
|
-
* one or more criteria.</p>
|
|
32
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/custom-models.html">Custom models</a> in the <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html">Amazon Bedrock User Guide</a>.</p>
|
|
30
|
+
* <p>Returns a list of model customization jobs that you have submitted. You can filter the jobs to return based on one or more criteria.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/custom-models.html">Custom models</a> in the <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html">Amazon Bedrock User Guide</a>.</p>
|
|
33
31
|
* @example
|
|
34
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
33
|
* ```javascript
|
|
@@ -56,7 +54,6 @@ declare const ListModelCustomizationJobsCommand_base: {
|
|
|
56
54
|
* // baseModelArn: "STRING_VALUE", // required
|
|
57
55
|
* // jobName: "STRING_VALUE", // required
|
|
58
56
|
* // status: "InProgress" || "Completed" || "Failed" || "Stopping" || "Stopped", // required
|
|
59
|
-
* // lastModifiedTime: new Date("TIMESTAMP"),
|
|
60
57
|
* // statusDetails: { // StatusDetails
|
|
61
58
|
* // validationDetails: { // ValidationDetails
|
|
62
59
|
* // status: "InProgress" || "Completed" || "Stopping" || "Stopped" || "Failed" || "NotStarted",
|
|
@@ -74,11 +71,12 @@ declare const ListModelCustomizationJobsCommand_base: {
|
|
|
74
71
|
* // lastModifiedTime: new Date("TIMESTAMP"),
|
|
75
72
|
* // },
|
|
76
73
|
* // },
|
|
74
|
+
* // lastModifiedTime: new Date("TIMESTAMP"),
|
|
77
75
|
* // creationTime: new Date("TIMESTAMP"), // required
|
|
78
76
|
* // endTime: new Date("TIMESTAMP"),
|
|
79
77
|
* // customModelArn: "STRING_VALUE",
|
|
80
78
|
* // customModelName: "STRING_VALUE",
|
|
81
|
-
* // customizationType: "FINE_TUNING" || "CONTINUED_PRE_TRAINING" || "DISTILLATION",
|
|
79
|
+
* // customizationType: "FINE_TUNING" || "CONTINUED_PRE_TRAINING" || "DISTILLATION" || "IMPORTED",
|
|
82
80
|
* // },
|
|
83
81
|
* // ],
|
|
84
82
|
* // };
|
|
@@ -27,9 +27,7 @@ declare const ListModelImportJobsCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Returns a list of import jobs you've submitted. You can filter the results to return based on one or more criteria.
|
|
31
|
-
* For more information,
|
|
32
|
-
* see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/model-customization-import-model.html">Import a customized model</a> in the <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html">Amazon Bedrock User Guide</a>.</p>
|
|
30
|
+
* <p>Returns a list of import jobs you've submitted. You can filter the results to return based on one or more criteria. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/model-customization-import-model.html">Import a customized model</a> in the <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html">Amazon Bedrock User Guide</a>.</p>
|
|
33
31
|
* @example
|
|
34
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
33
|
* ```javascript
|