@aws-sdk/client-sagemaker 3.1169.0 → 3.1171.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 +56 -0
- package/dist-cjs/index.js +334 -13
- package/dist-es/SageMaker.js +18 -0
- package/dist-es/commands/CreateInferenceRouterCommand.js +4 -0
- package/dist-es/commands/DeleteEndpointPolicyCommand.js +4 -0
- package/dist-es/commands/DeleteInferenceRouterCommand.js +4 -0
- package/dist-es/commands/DescribeInferenceRouterCommand.js +4 -0
- package/dist-es/commands/GetEndpointPolicyCommand.js +4 -0
- package/dist-es/commands/ListInferenceRoutersCommand.js +4 -0
- package/dist-es/commands/PutEndpointPolicyCommand.js +4 -0
- package/dist-es/commands/UpdateInferenceRouterCommand.js +4 -0
- package/dist-es/commands/index.js +8 -0
- package/dist-es/models/enums.js +28 -0
- package/dist-es/models/errors.js +15 -0
- package/dist-es/pagination/ListInferenceRoutersPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +211 -13
- package/dist-types/SageMaker.d.ts +64 -0
- package/dist-types/SageMakerClient.d.ts +10 -2
- package/dist-types/commands/CreateEndpointConfigCommand.d.ts +6 -2
- package/dist-types/commands/CreateInferenceRouterCommand.d.ts +113 -0
- package/dist-types/commands/CreateJobCommand.d.ts +2 -2
- package/dist-types/commands/CreateModelPackageCommand.d.ts +1 -1
- package/dist-types/commands/DeleteEndpointPolicyCommand.d.ts +72 -0
- package/dist-types/commands/DeleteInferenceRouterCommand.d.ts +75 -0
- package/dist-types/commands/DeleteJobCommand.d.ts +1 -1
- package/dist-types/commands/DescribeComputeQuotaCommand.d.ts +2 -1
- package/dist-types/commands/DescribeContextCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDataQualityJobDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDeviceCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDeviceFleetCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDomainCommand.d.ts +1 -1
- package/dist-types/commands/DescribeEndpointCommand.d.ts +8 -4
- package/dist-types/commands/DescribeEndpointConfigCommand.d.ts +6 -2
- package/dist-types/commands/DescribeInferenceRouterCommand.d.ts +105 -0
- package/dist-types/commands/DescribeJobCommand.d.ts +4 -4
- package/dist-types/commands/DescribeJobSchemaVersionCommand.d.ts +2 -2
- package/dist-types/commands/GetEndpointPolicyCommand.d.ts +76 -0
- package/dist-types/commands/ListAIRecommendationJobsCommand.d.ts +2 -1
- package/dist-types/commands/ListAIWorkloadConfigsCommand.d.ts +1 -1
- package/dist-types/commands/ListAlgorithmsCommand.d.ts +1 -1
- package/dist-types/commands/ListAliasesCommand.d.ts +1 -1
- package/dist-types/commands/ListAppImageConfigsCommand.d.ts +1 -1
- package/dist-types/commands/ListAppsCommand.d.ts +1 -1
- package/dist-types/commands/ListArtifactsCommand.d.ts +1 -1
- package/dist-types/commands/ListAssociationsCommand.d.ts +1 -1
- package/dist-types/commands/ListAutoMLJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListInferenceRoutersCommand.d.ts +80 -0
- package/dist-types/commands/ListJobSchemaVersionsCommand.d.ts +1 -1
- package/dist-types/commands/ListJobsCommand.d.ts +3 -3
- package/dist-types/commands/PutEndpointPolicyCommand.d.ts +75 -0
- package/dist-types/commands/SearchCommand.d.ts +5 -5
- package/dist-types/commands/StartPipelineExecutionCommand.d.ts +2 -1
- package/dist-types/commands/StartSessionCommand.d.ts +1 -1
- package/dist-types/commands/StopAIBenchmarkJobCommand.d.ts +1 -1
- package/dist-types/commands/StopAIRecommendationJobCommand.d.ts +1 -1
- package/dist-types/commands/StopAutoMLJobCommand.d.ts +1 -1
- package/dist-types/commands/StopCompilationJobCommand.d.ts +1 -1
- package/dist-types/commands/StopEdgeDeploymentStageCommand.d.ts +1 -1
- package/dist-types/commands/StopEdgePackagingJobCommand.d.ts +1 -1
- package/dist-types/commands/StopHyperParameterTuningJobCommand.d.ts +1 -1
- package/dist-types/commands/StopInferenceExperimentCommand.d.ts +1 -1
- package/dist-types/commands/StopInferenceRecommendationsJobCommand.d.ts +1 -1
- package/dist-types/commands/StopJobCommand.d.ts +2 -2
- package/dist-types/commands/StopLabelingJobCommand.d.ts +1 -1
- package/dist-types/commands/StopMlflowTrackingServerCommand.d.ts +1 -1
- package/dist-types/commands/StopMonitoringScheduleCommand.d.ts +1 -1
- package/dist-types/commands/UpdateInferenceRouterCommand.d.ts +106 -0
- package/dist-types/commands/index.d.ts +8 -0
- package/dist-types/models/enums.d.ts +82 -0
- package/dist-types/models/errors.d.ts +14 -0
- package/dist-types/models/models_1.d.ts +170 -265
- package/dist-types/models/models_2.d.ts +290 -521
- package/dist-types/models/models_3.d.ts +4721 -4582
- package/dist-types/models/models_4.d.ts +555 -250
- package/dist-types/models/models_5.d.ts +272 -2
- package/dist-types/pagination/ListInferenceRoutersPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +32 -0
- package/dist-types/ts3.4/SageMaker.d.ts +144 -0
- package/dist-types/ts3.4/SageMakerClient.d.ts +48 -0
- package/dist-types/ts3.4/commands/CreateInferenceRouterCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/CreateModelPackageCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteEndpointPolicyCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteInferenceRouterCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DescribeComputeQuotaCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DescribeContextCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeDataQualityJobDefinitionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeDeviceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeDeviceFleetCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeDomainCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeInferenceRouterCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetEndpointPolicyCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListAIRecommendationJobsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ListAIWorkloadConfigsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListAlgorithmsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListAliasesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListAppImageConfigsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListAppsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListArtifactsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListAssociationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListAutoMLJobsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListInferenceRoutersCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/PutEndpointPolicyCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/StartPipelineExecutionCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/StartSessionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopAIBenchmarkJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopAIRecommendationJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopAutoMLJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopCompilationJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopEdgeDeploymentStageCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopEdgePackagingJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopHyperParameterTuningJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopInferenceExperimentCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopInferenceRecommendationsJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopLabelingJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopMlflowTrackingServerCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopMonitoringScheduleCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateInferenceRouterCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +8 -0
- package/dist-types/ts3.4/models/enums.d.ts +33 -0
- package/dist-types/ts3.4/models/errors.d.ts +7 -0
- package/dist-types/ts3.4/models/models_1.d.ts +43 -67
- package/dist-types/ts3.4/models/models_2.d.ts +80 -131
- package/dist-types/ts3.4/models/models_3.d.ts +165 -137
- package/dist-types/ts3.4/models/models_4.d.ts +153 -76
- package/dist-types/ts3.4/models/models_5.d.ts +80 -0
- package/dist-types/ts3.4/pagination/ListInferenceRoutersPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +32 -0
- package/package.json +1 -1
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { ListInferenceRoutersInput, ListInferenceRoutersOutput } from "../models/models_4";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link ListInferenceRoutersCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface ListInferenceRoutersCommandInput extends ListInferenceRoutersInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link ListInferenceRoutersCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface ListInferenceRoutersCommandOutput extends ListInferenceRoutersOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const ListInferenceRoutersCommand_base: {
|
|
22
|
+
new (input: ListInferenceRoutersCommandInput): import("@smithy/core/client").CommandImpl<ListInferenceRoutersCommandInput, ListInferenceRoutersCommandOutput, import("..").SageMakerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (...[input]: [] | [ListInferenceRoutersCommandInput]): import("@smithy/core/client").CommandImpl<ListInferenceRoutersCommandInput, ListInferenceRoutersCommandOutput, import("..").SageMakerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Lists the inference routers in your account in the current Amazon Web Services Region. A router that you just created might not appear in the list right away.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { SageMakerClient, ListInferenceRoutersCommand } from "@aws-sdk/client-sagemaker"; // ES Modules import
|
|
32
|
+
* // const { SageMakerClient, ListInferenceRoutersCommand } = require("@aws-sdk/client-sagemaker"); // CommonJS import
|
|
33
|
+
* // import type { SageMakerClientConfig } from "@aws-sdk/client-sagemaker";
|
|
34
|
+
* const config = {}; // type is SageMakerClientConfig
|
|
35
|
+
* const client = new SageMakerClient(config);
|
|
36
|
+
* const input = { // ListInferenceRoutersInput
|
|
37
|
+
* MaxResults: Number("int"),
|
|
38
|
+
* NextToken: "STRING_VALUE",
|
|
39
|
+
* };
|
|
40
|
+
* const command = new ListInferenceRoutersCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // ListInferenceRoutersOutput
|
|
43
|
+
* // InferenceRouters: [ // InferenceRouterSummaryList // required
|
|
44
|
+
* // { // InferenceRouterSummary
|
|
45
|
+
* // InferenceRouterName: "STRING_VALUE", // required
|
|
46
|
+
* // InferenceRouterArn: "STRING_VALUE", // required
|
|
47
|
+
* // CreationTime: new Date("TIMESTAMP"), // required
|
|
48
|
+
* // LastModifiedTime: new Date("TIMESTAMP"), // required
|
|
49
|
+
* // },
|
|
50
|
+
* // ],
|
|
51
|
+
* // NextToken: "STRING_VALUE",
|
|
52
|
+
* // };
|
|
53
|
+
*
|
|
54
|
+
* ```
|
|
55
|
+
*
|
|
56
|
+
* @param ListInferenceRoutersCommandInput - {@link ListInferenceRoutersCommandInput}
|
|
57
|
+
* @returns {@link ListInferenceRoutersCommandOutput}
|
|
58
|
+
* @see {@link ListInferenceRoutersCommandInput} for command's `input` shape.
|
|
59
|
+
* @see {@link ListInferenceRoutersCommandOutput} for command's `response` shape.
|
|
60
|
+
* @see {@link SageMakerClientResolvedConfig | config} for SageMakerClient's `config` shape.
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link SageMakerServiceException}
|
|
63
|
+
* <p>Base exception class for all service exceptions from SageMaker service.</p>
|
|
64
|
+
*
|
|
65
|
+
*
|
|
66
|
+
* @public
|
|
67
|
+
*/
|
|
68
|
+
export declare class ListInferenceRoutersCommand extends ListInferenceRoutersCommand_base {
|
|
69
|
+
/** @internal type navigation helper, not in runtime. */
|
|
70
|
+
protected static __types: {
|
|
71
|
+
api: {
|
|
72
|
+
input: ListInferenceRoutersInput;
|
|
73
|
+
output: ListInferenceRoutersOutput;
|
|
74
|
+
};
|
|
75
|
+
sdk: {
|
|
76
|
+
input: ListInferenceRoutersCommandInput;
|
|
77
|
+
output: ListInferenceRoutersCommandOutput;
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
}
|
|
@@ -34,7 +34,7 @@ declare const ListJobSchemaVersionsCommand_base: {
|
|
|
34
34
|
* const config = {}; // type is SageMakerClientConfig
|
|
35
35
|
* const client = new SageMakerClient(config);
|
|
36
36
|
* const input = { // ListJobSchemaVersionsRequest
|
|
37
|
-
* JobCategory: "AgentRFT" || "AgentRFTEvaluation", // required
|
|
37
|
+
* JobCategory: "AgentRFT" || "SyntheticDataGeneration" || "DataQualityEvaluation" || "AgentRFTEvaluation" || "DataTransformation", // required
|
|
38
38
|
* NextToken: "STRING_VALUE",
|
|
39
39
|
* MaxResults: Number("int"),
|
|
40
40
|
* };
|
|
@@ -34,7 +34,7 @@ declare const ListJobsCommand_base: {
|
|
|
34
34
|
* const config = {}; // type is SageMakerClientConfig
|
|
35
35
|
* const client = new SageMakerClient(config);
|
|
36
36
|
* const input = { // ListJobsRequest
|
|
37
|
-
* JobCategory: "AgentRFT" || "AgentRFTEvaluation", // required
|
|
37
|
+
* JobCategory: "AgentRFT" || "SyntheticDataGeneration" || "DataQualityEvaluation" || "AgentRFTEvaluation" || "DataTransformation", // required
|
|
38
38
|
* NextToken: "STRING_VALUE",
|
|
39
39
|
* MaxResults: Number("int"),
|
|
40
40
|
* CreationTimeAfter: new Date("TIMESTAMP"),
|
|
@@ -54,9 +54,9 @@ declare const ListJobsCommand_base: {
|
|
|
54
54
|
* // { // JobSummary
|
|
55
55
|
* // JobArn: "STRING_VALUE", // required
|
|
56
56
|
* // JobName: "STRING_VALUE", // required
|
|
57
|
-
* // JobCategory: "AgentRFT" || "AgentRFTEvaluation", // required
|
|
57
|
+
* // JobCategory: "AgentRFT" || "SyntheticDataGeneration" || "DataQualityEvaluation" || "AgentRFTEvaluation" || "DataTransformation", // required
|
|
58
58
|
* // JobStatus: "InProgress" || "Completed" || "Failed" || "Stopping" || "Stopped" || "Deleting" || "DeleteFailed", // required
|
|
59
|
-
* // JobSecondaryStatus: "Starting" || "Downloading" || "Training" || "Uploading" || "Stopping" || "Stopped" || "MaxRuntimeExceeded" || "Interrupted" || "Failed" || "Completed" || "Restarting" || "Pending" || "Evaluating" || "Deleting" || "DeleteFailed", // required
|
|
59
|
+
* // JobSecondaryStatus: "Starting" || "Downloading" || "Training" || "Uploading" || "Stopping" || "Stopped" || "MaxRuntimeExceeded" || "Interrupted" || "Failed" || "Completed" || "Restarting" || "Pending" || "Generating" || "PartialGeneration" || "Evaluating" || "Validating" || "Preparing" || "Executing" || "Publishing" || "Finalizing" || "Transforming" || "Deleting" || "DeleteFailed", // required
|
|
60
60
|
* // CreationTime: new Date("TIMESTAMP"), // required
|
|
61
61
|
* // LastModifiedTime: new Date("TIMESTAMP"), // required
|
|
62
62
|
* // EndTime: new Date("TIMESTAMP"),
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { PutEndpointPolicyRequest, PutEndpointPolicyResponse } from "../models/models_4";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link PutEndpointPolicyCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface PutEndpointPolicyCommandInput extends PutEndpointPolicyRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link PutEndpointPolicyCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface PutEndpointPolicyCommandOutput extends PutEndpointPolicyResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const PutEndpointPolicyCommand_base: {
|
|
22
|
+
new (input: PutEndpointPolicyCommandInput): import("@smithy/core/client").CommandImpl<PutEndpointPolicyCommandInput, PutEndpointPolicyCommandOutput, import("..").SageMakerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: PutEndpointPolicyCommandInput): import("@smithy/core/client").CommandImpl<PutEndpointPolicyCommandInput, PutEndpointPolicyCommandOutput, import("..").SageMakerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Attaches a resource-based policy to an endpoint. With an endpoint policy, you can allow other Amazon Web Services accounts to send requests to your endpoint, or to inference components on it, through an inference router. The policy that you specify replaces the endpoint's existing policy, if it has one.</p> <p>You can't attach a policy to an endpoint whose status is <code>Deleting</code> or <code>Failed</code>. SageMaker AI rejects a policy that doesn't follow the endpoint policy rules. For information about the policy rules, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/inference-router-cross-account.html">Use destinations in other accounts</a>.</p> <p>Policy changes typically take effect within 30 seconds, and can take up to 5 minutes. If you delete the endpoint, its policy is also deleted, and a new endpoint with the same name has no policy.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { SageMakerClient, PutEndpointPolicyCommand } from "@aws-sdk/client-sagemaker"; // ES Modules import
|
|
32
|
+
* // const { SageMakerClient, PutEndpointPolicyCommand } = require("@aws-sdk/client-sagemaker"); // CommonJS import
|
|
33
|
+
* // import type { SageMakerClientConfig } from "@aws-sdk/client-sagemaker";
|
|
34
|
+
* const config = {}; // type is SageMakerClientConfig
|
|
35
|
+
* const client = new SageMakerClient(config);
|
|
36
|
+
* const input = { // PutEndpointPolicyRequest
|
|
37
|
+
* EndpointName: "STRING_VALUE", // required
|
|
38
|
+
* ResourcePolicy: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new PutEndpointPolicyCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // PutEndpointPolicyResponse
|
|
43
|
+
* // EndpointArn: "STRING_VALUE",
|
|
44
|
+
* // };
|
|
45
|
+
*
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
48
|
+
* @param PutEndpointPolicyCommandInput - {@link PutEndpointPolicyCommandInput}
|
|
49
|
+
* @returns {@link PutEndpointPolicyCommandOutput}
|
|
50
|
+
* @see {@link PutEndpointPolicyCommandInput} for command's `input` shape.
|
|
51
|
+
* @see {@link PutEndpointPolicyCommandOutput} for command's `response` shape.
|
|
52
|
+
* @see {@link SageMakerClientResolvedConfig | config} for SageMakerClient's `config` shape.
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link ResourceNotFound} (client fault)
|
|
55
|
+
* <p>Resource being access is not found.</p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link SageMakerServiceException}
|
|
58
|
+
* <p>Base exception class for all service exceptions from SageMaker service.</p>
|
|
59
|
+
*
|
|
60
|
+
*
|
|
61
|
+
* @public
|
|
62
|
+
*/
|
|
63
|
+
export declare class PutEndpointPolicyCommand extends PutEndpointPolicyCommand_base {
|
|
64
|
+
/** @internal type navigation helper, not in runtime. */
|
|
65
|
+
protected static __types: {
|
|
66
|
+
api: {
|
|
67
|
+
input: PutEndpointPolicyRequest;
|
|
68
|
+
output: PutEndpointPolicyResponse;
|
|
69
|
+
};
|
|
70
|
+
sdk: {
|
|
71
|
+
input: PutEndpointPolicyCommandInput;
|
|
72
|
+
output: PutEndpointPolicyCommandOutput;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
}
|
|
@@ -979,7 +979,7 @@ declare const SearchCommand_base: {
|
|
|
979
979
|
* // },
|
|
980
980
|
* // },
|
|
981
981
|
* // RoutingConfig: { // ProductionVariantRoutingConfig
|
|
982
|
-
* // RoutingStrategy: "LEAST_OUTSTANDING_REQUESTS" || "RANDOM" || "PREFIX_AWARE", // required
|
|
982
|
+
* // RoutingStrategy: "LEAST_OUTSTANDING_REQUESTS" || "RANDOM" || "PREFIX_AWARE" || "KV_AWARE", // required
|
|
983
983
|
* // PrefixAwareRoutingConfig: { // PrefixAwareRoutingConfig
|
|
984
984
|
* // PrefixLength: Number("int"),
|
|
985
985
|
* // ConcurrencyThreshold: Number("int"),
|
|
@@ -1196,7 +1196,7 @@ declare const SearchCommand_base: {
|
|
|
1196
1196
|
* // },
|
|
1197
1197
|
* // },
|
|
1198
1198
|
* // RoutingConfig: {
|
|
1199
|
-
* // RoutingStrategy: "LEAST_OUTSTANDING_REQUESTS" || "RANDOM" || "PREFIX_AWARE", // required
|
|
1199
|
+
* // RoutingStrategy: "LEAST_OUTSTANDING_REQUESTS" || "RANDOM" || "PREFIX_AWARE" || "KV_AWARE", // required
|
|
1200
1200
|
* // PrefixAwareRoutingConfig: {
|
|
1201
1201
|
* // PrefixLength: Number("int"),
|
|
1202
1202
|
* // ConcurrencyThreshold: Number("int"),
|
|
@@ -2366,17 +2366,17 @@ declare const SearchCommand_base: {
|
|
|
2366
2366
|
* // JobName: "STRING_VALUE",
|
|
2367
2367
|
* // JobArn: "STRING_VALUE",
|
|
2368
2368
|
* // RoleArn: "STRING_VALUE",
|
|
2369
|
-
* // JobCategory: "AgentRFT" || "AgentRFTEvaluation",
|
|
2369
|
+
* // JobCategory: "AgentRFT" || "SyntheticDataGeneration" || "DataQualityEvaluation" || "AgentRFTEvaluation" || "DataTransformation",
|
|
2370
2370
|
* // JobConfigSchemaVersion: "STRING_VALUE",
|
|
2371
2371
|
* // JobConfigDocument: "STRING_VALUE",
|
|
2372
2372
|
* // CreationTime: new Date("TIMESTAMP"),
|
|
2373
2373
|
* // LastModifiedTime: new Date("TIMESTAMP"),
|
|
2374
2374
|
* // EndTime: new Date("TIMESTAMP"),
|
|
2375
2375
|
* // JobStatus: "InProgress" || "Completed" || "Failed" || "Stopping" || "Stopped" || "Deleting" || "DeleteFailed",
|
|
2376
|
-
* // SecondaryStatus: "Starting" || "Downloading" || "Training" || "Uploading" || "Stopping" || "Stopped" || "MaxRuntimeExceeded" || "Interrupted" || "Failed" || "Completed" || "Restarting" || "Pending" || "Evaluating" || "Deleting" || "DeleteFailed",
|
|
2376
|
+
* // SecondaryStatus: "Starting" || "Downloading" || "Training" || "Uploading" || "Stopping" || "Stopped" || "MaxRuntimeExceeded" || "Interrupted" || "Failed" || "Completed" || "Restarting" || "Pending" || "Generating" || "PartialGeneration" || "Evaluating" || "Validating" || "Preparing" || "Executing" || "Publishing" || "Finalizing" || "Transforming" || "Deleting" || "DeleteFailed",
|
|
2377
2377
|
* // SecondaryStatusTransitions: [ // JobSecondaryStatusTransitions
|
|
2378
2378
|
* // { // JobSecondaryStatusTransition
|
|
2379
|
-
* // Status: "Starting" || "Downloading" || "Training" || "Uploading" || "Stopping" || "Stopped" || "MaxRuntimeExceeded" || "Interrupted" || "Failed" || "Completed" || "Restarting" || "Pending" || "Evaluating" || "Deleting" || "DeleteFailed", // required
|
|
2379
|
+
* // Status: "Starting" || "Downloading" || "Training" || "Uploading" || "Stopping" || "Stopped" || "MaxRuntimeExceeded" || "Interrupted" || "Failed" || "Completed" || "Restarting" || "Pending" || "Generating" || "PartialGeneration" || "Evaluating" || "Validating" || "Preparing" || "Executing" || "Publishing" || "Finalizing" || "Transforming" || "Deleting" || "DeleteFailed", // required
|
|
2380
2380
|
* // StartTime: new Date("TIMESTAMP"), // required
|
|
2381
2381
|
* // EndTime: new Date("TIMESTAMP"),
|
|
2382
2382
|
* // StatusMessage: "STRING_VALUE",
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { StartPipelineExecutionRequest
|
|
2
|
+
import type { StartPipelineExecutionRequest } from "../models/models_4";
|
|
3
|
+
import type { StartPipelineExecutionResponse } from "../models/models_5";
|
|
3
4
|
/**
|
|
4
5
|
* @public
|
|
5
6
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { StopAIBenchmarkJobRequest, StopAIBenchmarkJobResponse } from "../models/
|
|
2
|
+
import type { StopAIBenchmarkJobRequest, StopAIBenchmarkJobResponse } from "../models/models_5";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { StopAIRecommendationJobRequest, StopAIRecommendationJobResponse } from "../models/
|
|
2
|
+
import type { StopAIRecommendationJobRequest, StopAIRecommendationJobResponse } from "../models/models_5";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { StopInferenceExperimentRequest, StopInferenceExperimentResponse } from "../models/
|
|
2
|
+
import type { StopInferenceExperimentRequest, StopInferenceExperimentResponse } from "../models/models_5";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { StopJobRequest, StopJobResponse } from "../models/
|
|
2
|
+
import type { StopJobRequest, StopJobResponse } from "../models/models_5";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -35,7 +35,7 @@ declare const StopJobCommand_base: {
|
|
|
35
35
|
* const client = new SageMakerClient(config);
|
|
36
36
|
* const input = { // StopJobRequest
|
|
37
37
|
* JobName: "STRING_VALUE", // required
|
|
38
|
-
* JobCategory: "AgentRFT" || "AgentRFTEvaluation", // required
|
|
38
|
+
* JobCategory: "AgentRFT" || "SyntheticDataGeneration" || "DataQualityEvaluation" || "AgentRFTEvaluation" || "DataTransformation", // required
|
|
39
39
|
* };
|
|
40
40
|
* const command = new StopJobCommand(input);
|
|
41
41
|
* const response = await client.send(command);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { StopMlflowTrackingServerRequest, StopMlflowTrackingServerResponse } from "../models/
|
|
2
|
+
import type { StopMlflowTrackingServerRequest, StopMlflowTrackingServerResponse } from "../models/models_5";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { UpdateInferenceRouterInput, UpdateInferenceRouterOutput } from "../models/models_5";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link UpdateInferenceRouterCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface UpdateInferenceRouterCommandInput extends UpdateInferenceRouterInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link UpdateInferenceRouterCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface UpdateInferenceRouterCommandOutput extends UpdateInferenceRouterOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const UpdateInferenceRouterCommand_base: {
|
|
22
|
+
new (input: UpdateInferenceRouterCommandInput): import("@smithy/core/client").CommandImpl<UpdateInferenceRouterCommandInput, UpdateInferenceRouterCommandOutput, import("..").SageMakerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: UpdateInferenceRouterCommandInput): import("@smithy/core/client").CommandImpl<UpdateInferenceRouterCommandInput, UpdateInferenceRouterCommandOutput, import("..").SageMakerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Updates the routing targets of an inference router. The routing targets that you specify replace all of the router's existing routing targets. To change one routing target, call <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_DescribeInferenceRouter.html">DescribeInferenceRouter</a>, edit the routing targets, and send all of them.</p> <p>The update is applied in full or not at all, and each request uses either the previous configuration or the new one. Updates typically take effect within about 2 minutes.</p> <p>If the router is being created, updated, or deleted, or another request changes it at the same time, you get a <code>ConflictException</code>. Describe the router, and then send your update again.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { SageMakerClient, UpdateInferenceRouterCommand } from "@aws-sdk/client-sagemaker"; // ES Modules import
|
|
32
|
+
* // const { SageMakerClient, UpdateInferenceRouterCommand } = require("@aws-sdk/client-sagemaker"); // CommonJS import
|
|
33
|
+
* // import type { SageMakerClientConfig } from "@aws-sdk/client-sagemaker";
|
|
34
|
+
* const config = {}; // type is SageMakerClientConfig
|
|
35
|
+
* const client = new SageMakerClient(config);
|
|
36
|
+
* const input = { // UpdateInferenceRouterInput
|
|
37
|
+
* InferenceRouterName: "STRING_VALUE", // required
|
|
38
|
+
* RoutingTargets: [ // RoutingTargetList // required
|
|
39
|
+
* { // RoutingTarget
|
|
40
|
+
* Name: "STRING_VALUE", // required
|
|
41
|
+
* Destinations: [ // DestinationList // required
|
|
42
|
+
* { // Destination
|
|
43
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
44
|
+
* RoutingStatus: "Routable" || "Unroutable" || "Unknown",
|
|
45
|
+
* },
|
|
46
|
+
* ],
|
|
47
|
+
* AsyncInferenceConfig: { // RoutingTargetAsyncInferenceConfig
|
|
48
|
+
* OutputConfig: { // RoutingTargetAsyncInferenceOutputConfig
|
|
49
|
+
* S3OutputPath: "STRING_VALUE", // required
|
|
50
|
+
* S3FailurePath: "STRING_VALUE", // required
|
|
51
|
+
* KmsKeyId: "STRING_VALUE",
|
|
52
|
+
* NotificationConfig: { // RoutingTargetAsyncInferenceNotificationConfig
|
|
53
|
+
* SuccessTopic: "STRING_VALUE",
|
|
54
|
+
* ErrorTopic: "STRING_VALUE",
|
|
55
|
+
* },
|
|
56
|
+
* },
|
|
57
|
+
* ClientConfig: { // RoutingTargetAsyncInferenceClientConfig
|
|
58
|
+
* MaxTimeInBacklogSeconds: Number("int"),
|
|
59
|
+
* },
|
|
60
|
+
* },
|
|
61
|
+
* RoutingPreference: "LocalRegionFirst" || "InstancePoolOrder",
|
|
62
|
+
* },
|
|
63
|
+
* ],
|
|
64
|
+
* };
|
|
65
|
+
* const command = new UpdateInferenceRouterCommand(input);
|
|
66
|
+
* const response = await client.send(command);
|
|
67
|
+
* // { // UpdateInferenceRouterOutput
|
|
68
|
+
* // InferenceRouterArn: "STRING_VALUE", // required
|
|
69
|
+
* // };
|
|
70
|
+
*
|
|
71
|
+
* ```
|
|
72
|
+
*
|
|
73
|
+
* @param UpdateInferenceRouterCommandInput - {@link UpdateInferenceRouterCommandInput}
|
|
74
|
+
* @returns {@link UpdateInferenceRouterCommandOutput}
|
|
75
|
+
* @see {@link UpdateInferenceRouterCommandInput} for command's `input` shape.
|
|
76
|
+
* @see {@link UpdateInferenceRouterCommandOutput} for command's `response` shape.
|
|
77
|
+
* @see {@link SageMakerClientResolvedConfig | config} for SageMakerClient's `config` shape.
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link ConflictException} (client fault)
|
|
80
|
+
* <p>There was a conflict when you attempted to modify a SageMaker entity such as an <code>Experiment</code> or <code>Artifact</code>.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link ResourceLimitExceeded} (client fault)
|
|
83
|
+
* <p> You have exceeded an SageMaker resource limit. For example, you might have too many training jobs created. </p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link ResourceNotFound} (client fault)
|
|
86
|
+
* <p>Resource being access is not found.</p>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link SageMakerServiceException}
|
|
89
|
+
* <p>Base exception class for all service exceptions from SageMaker service.</p>
|
|
90
|
+
*
|
|
91
|
+
*
|
|
92
|
+
* @public
|
|
93
|
+
*/
|
|
94
|
+
export declare class UpdateInferenceRouterCommand extends UpdateInferenceRouterCommand_base {
|
|
95
|
+
/** @internal type navigation helper, not in runtime. */
|
|
96
|
+
protected static __types: {
|
|
97
|
+
api: {
|
|
98
|
+
input: UpdateInferenceRouterInput;
|
|
99
|
+
output: UpdateInferenceRouterOutput;
|
|
100
|
+
};
|
|
101
|
+
sdk: {
|
|
102
|
+
input: UpdateInferenceRouterCommandInput;
|
|
103
|
+
output: UpdateInferenceRouterCommandOutput;
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
}
|
|
@@ -46,6 +46,7 @@ export * from "./CreateImageVersionCommand";
|
|
|
46
46
|
export * from "./CreateInferenceComponentCommand";
|
|
47
47
|
export * from "./CreateInferenceExperimentCommand";
|
|
48
48
|
export * from "./CreateInferenceRecommendationsJobCommand";
|
|
49
|
+
export * from "./CreateInferenceRouterCommand";
|
|
49
50
|
export * from "./CreateJobCommand";
|
|
50
51
|
export * from "./CreateLabelingJobCommand";
|
|
51
52
|
export * from "./CreateMlflowAppCommand";
|
|
@@ -105,6 +106,7 @@ export * from "./DeleteEdgeDeploymentPlanCommand";
|
|
|
105
106
|
export * from "./DeleteEdgeDeploymentStageCommand";
|
|
106
107
|
export * from "./DeleteEndpointCommand";
|
|
107
108
|
export * from "./DeleteEndpointConfigCommand";
|
|
109
|
+
export * from "./DeleteEndpointPolicyCommand";
|
|
108
110
|
export * from "./DeleteExperimentCommand";
|
|
109
111
|
export * from "./DeleteFeatureGroupCommand";
|
|
110
112
|
export * from "./DeleteFlowDefinitionCommand";
|
|
@@ -117,6 +119,7 @@ export * from "./DeleteImageCommand";
|
|
|
117
119
|
export * from "./DeleteImageVersionCommand";
|
|
118
120
|
export * from "./DeleteInferenceComponentCommand";
|
|
119
121
|
export * from "./DeleteInferenceExperimentCommand";
|
|
122
|
+
export * from "./DeleteInferenceRouterCommand";
|
|
120
123
|
export * from "./DeleteJobCommand";
|
|
121
124
|
export * from "./DeleteMlflowAppCommand";
|
|
122
125
|
export * from "./DeleteMlflowTrackingServerCommand";
|
|
@@ -188,6 +191,7 @@ export * from "./DescribeImageVersionCommand";
|
|
|
188
191
|
export * from "./DescribeInferenceComponentCommand";
|
|
189
192
|
export * from "./DescribeInferenceExperimentCommand";
|
|
190
193
|
export * from "./DescribeInferenceRecommendationsJobCommand";
|
|
194
|
+
export * from "./DescribeInferenceRouterCommand";
|
|
191
195
|
export * from "./DescribeJobCommand";
|
|
192
196
|
export * from "./DescribeJobSchemaVersionCommand";
|
|
193
197
|
export * from "./DescribeLabelingJobCommand";
|
|
@@ -232,6 +236,7 @@ export * from "./DisassociateTrialComponentCommand";
|
|
|
232
236
|
export * from "./EnableSagemakerServicecatalogPortfolioCommand";
|
|
233
237
|
export * from "./ExtendTrainingPlanCommand";
|
|
234
238
|
export * from "./GetDeviceFleetReportCommand";
|
|
239
|
+
export * from "./GetEndpointPolicyCommand";
|
|
235
240
|
export * from "./GetLineageGroupPolicyCommand";
|
|
236
241
|
export * from "./GetModelPackageGroupPolicyCommand";
|
|
237
242
|
export * from "./GetSagemakerServicecatalogPortfolioStatusCommand";
|
|
@@ -283,6 +288,7 @@ export * from "./ListInferenceComponentsCommand";
|
|
|
283
288
|
export * from "./ListInferenceExperimentsCommand";
|
|
284
289
|
export * from "./ListInferenceRecommendationsJobStepsCommand";
|
|
285
290
|
export * from "./ListInferenceRecommendationsJobsCommand";
|
|
291
|
+
export * from "./ListInferenceRoutersCommand";
|
|
286
292
|
export * from "./ListJobSchemaVersionsCommand";
|
|
287
293
|
export * from "./ListJobsCommand";
|
|
288
294
|
export * from "./ListLabelingJobsCommand";
|
|
@@ -332,6 +338,7 @@ export * from "./ListUltraServersByReservedCapacityCommand";
|
|
|
332
338
|
export * from "./ListUserProfilesCommand";
|
|
333
339
|
export * from "./ListWorkforcesCommand";
|
|
334
340
|
export * from "./ListWorkteamsCommand";
|
|
341
|
+
export * from "./PutEndpointPolicyCommand";
|
|
335
342
|
export * from "./PutModelPackageGroupPolicyCommand";
|
|
336
343
|
export * from "./QueryLineageCommand";
|
|
337
344
|
export * from "./RegisterDevicesCommand";
|
|
@@ -395,6 +402,7 @@ export * from "./UpdateImageVersionCommand";
|
|
|
395
402
|
export * from "./UpdateInferenceComponentCommand";
|
|
396
403
|
export * from "./UpdateInferenceComponentRuntimeConfigCommand";
|
|
397
404
|
export * from "./UpdateInferenceExperimentCommand";
|
|
405
|
+
export * from "./UpdateInferenceRouterCommand";
|
|
398
406
|
export * from "./UpdateMlflowAppCommand";
|
|
399
407
|
export * from "./UpdateMlflowTrackingServerCommand";
|
|
400
408
|
export * from "./UpdateModelCardCommand";
|