@aws-sdk/client-sagemaker 3.1169.0 → 3.1170.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 (132) hide show
  1. package/README.md +56 -0
  2. package/dist-cjs/index.js +334 -13
  3. package/dist-es/SageMaker.js +18 -0
  4. package/dist-es/commands/CreateInferenceRouterCommand.js +4 -0
  5. package/dist-es/commands/DeleteEndpointPolicyCommand.js +4 -0
  6. package/dist-es/commands/DeleteInferenceRouterCommand.js +4 -0
  7. package/dist-es/commands/DescribeInferenceRouterCommand.js +4 -0
  8. package/dist-es/commands/GetEndpointPolicyCommand.js +4 -0
  9. package/dist-es/commands/ListInferenceRoutersCommand.js +4 -0
  10. package/dist-es/commands/PutEndpointPolicyCommand.js +4 -0
  11. package/dist-es/commands/UpdateInferenceRouterCommand.js +4 -0
  12. package/dist-es/commands/index.js +8 -0
  13. package/dist-es/models/enums.js +28 -0
  14. package/dist-es/models/errors.js +15 -0
  15. package/dist-es/pagination/ListInferenceRoutersPaginator.js +4 -0
  16. package/dist-es/pagination/index.js +1 -0
  17. package/dist-es/schemas/schemas_0.js +211 -13
  18. package/dist-types/SageMaker.d.ts +64 -0
  19. package/dist-types/SageMakerClient.d.ts +10 -2
  20. package/dist-types/commands/CreateEndpointConfigCommand.d.ts +6 -2
  21. package/dist-types/commands/CreateInferenceRouterCommand.d.ts +113 -0
  22. package/dist-types/commands/CreateJobCommand.d.ts +2 -2
  23. package/dist-types/commands/CreateModelPackageCommand.d.ts +1 -1
  24. package/dist-types/commands/DeleteEndpointPolicyCommand.d.ts +72 -0
  25. package/dist-types/commands/DeleteInferenceRouterCommand.d.ts +75 -0
  26. package/dist-types/commands/DeleteJobCommand.d.ts +1 -1
  27. package/dist-types/commands/DescribeComputeQuotaCommand.d.ts +2 -1
  28. package/dist-types/commands/DescribeContextCommand.d.ts +1 -1
  29. package/dist-types/commands/DescribeDataQualityJobDefinitionCommand.d.ts +1 -1
  30. package/dist-types/commands/DescribeDeviceCommand.d.ts +1 -1
  31. package/dist-types/commands/DescribeDeviceFleetCommand.d.ts +1 -1
  32. package/dist-types/commands/DescribeDomainCommand.d.ts +1 -1
  33. package/dist-types/commands/DescribeEndpointCommand.d.ts +8 -4
  34. package/dist-types/commands/DescribeEndpointConfigCommand.d.ts +6 -2
  35. package/dist-types/commands/DescribeInferenceRouterCommand.d.ts +105 -0
  36. package/dist-types/commands/DescribeJobCommand.d.ts +4 -4
  37. package/dist-types/commands/DescribeJobSchemaVersionCommand.d.ts +2 -2
  38. package/dist-types/commands/GetEndpointPolicyCommand.d.ts +76 -0
  39. package/dist-types/commands/ListAIRecommendationJobsCommand.d.ts +2 -1
  40. package/dist-types/commands/ListAIWorkloadConfigsCommand.d.ts +1 -1
  41. package/dist-types/commands/ListAlgorithmsCommand.d.ts +1 -1
  42. package/dist-types/commands/ListAliasesCommand.d.ts +1 -1
  43. package/dist-types/commands/ListAppImageConfigsCommand.d.ts +1 -1
  44. package/dist-types/commands/ListAppsCommand.d.ts +1 -1
  45. package/dist-types/commands/ListArtifactsCommand.d.ts +1 -1
  46. package/dist-types/commands/ListAssociationsCommand.d.ts +1 -1
  47. package/dist-types/commands/ListAutoMLJobsCommand.d.ts +1 -1
  48. package/dist-types/commands/ListInferenceRoutersCommand.d.ts +80 -0
  49. package/dist-types/commands/ListJobSchemaVersionsCommand.d.ts +1 -1
  50. package/dist-types/commands/ListJobsCommand.d.ts +3 -3
  51. package/dist-types/commands/PutEndpointPolicyCommand.d.ts +75 -0
  52. package/dist-types/commands/SearchCommand.d.ts +5 -5
  53. package/dist-types/commands/StartPipelineExecutionCommand.d.ts +2 -1
  54. package/dist-types/commands/StartSessionCommand.d.ts +1 -1
  55. package/dist-types/commands/StopAIBenchmarkJobCommand.d.ts +1 -1
  56. package/dist-types/commands/StopAIRecommendationJobCommand.d.ts +1 -1
  57. package/dist-types/commands/StopAutoMLJobCommand.d.ts +1 -1
  58. package/dist-types/commands/StopCompilationJobCommand.d.ts +1 -1
  59. package/dist-types/commands/StopEdgeDeploymentStageCommand.d.ts +1 -1
  60. package/dist-types/commands/StopEdgePackagingJobCommand.d.ts +1 -1
  61. package/dist-types/commands/StopHyperParameterTuningJobCommand.d.ts +1 -1
  62. package/dist-types/commands/StopInferenceExperimentCommand.d.ts +1 -1
  63. package/dist-types/commands/StopInferenceRecommendationsJobCommand.d.ts +1 -1
  64. package/dist-types/commands/StopJobCommand.d.ts +2 -2
  65. package/dist-types/commands/StopLabelingJobCommand.d.ts +1 -1
  66. package/dist-types/commands/StopMlflowTrackingServerCommand.d.ts +1 -1
  67. package/dist-types/commands/StopMonitoringScheduleCommand.d.ts +1 -1
  68. package/dist-types/commands/UpdateInferenceRouterCommand.d.ts +106 -0
  69. package/dist-types/commands/index.d.ts +8 -0
  70. package/dist-types/models/enums.d.ts +82 -0
  71. package/dist-types/models/errors.d.ts +14 -0
  72. package/dist-types/models/models_1.d.ts +170 -265
  73. package/dist-types/models/models_2.d.ts +290 -521
  74. package/dist-types/models/models_3.d.ts +4721 -4582
  75. package/dist-types/models/models_4.d.ts +555 -250
  76. package/dist-types/models/models_5.d.ts +272 -2
  77. package/dist-types/pagination/ListInferenceRoutersPaginator.d.ts +7 -0
  78. package/dist-types/pagination/index.d.ts +1 -0
  79. package/dist-types/schemas/schemas_0.d.ts +32 -0
  80. package/dist-types/ts3.4/SageMaker.d.ts +144 -0
  81. package/dist-types/ts3.4/SageMakerClient.d.ts +48 -0
  82. package/dist-types/ts3.4/commands/CreateInferenceRouterCommand.d.ts +39 -0
  83. package/dist-types/ts3.4/commands/CreateModelPackageCommand.d.ts +1 -1
  84. package/dist-types/ts3.4/commands/DeleteEndpointPolicyCommand.d.ts +39 -0
  85. package/dist-types/ts3.4/commands/DeleteInferenceRouterCommand.d.ts +38 -0
  86. package/dist-types/ts3.4/commands/DescribeComputeQuotaCommand.d.ts +2 -1
  87. package/dist-types/ts3.4/commands/DescribeContextCommand.d.ts +1 -1
  88. package/dist-types/ts3.4/commands/DescribeDataQualityJobDefinitionCommand.d.ts +1 -1
  89. package/dist-types/ts3.4/commands/DescribeDeviceCommand.d.ts +1 -1
  90. package/dist-types/ts3.4/commands/DescribeDeviceFleetCommand.d.ts +1 -1
  91. package/dist-types/ts3.4/commands/DescribeDomainCommand.d.ts +1 -1
  92. package/dist-types/ts3.4/commands/DescribeInferenceRouterCommand.d.ts +39 -0
  93. package/dist-types/ts3.4/commands/GetEndpointPolicyCommand.d.ts +39 -0
  94. package/dist-types/ts3.4/commands/ListAIRecommendationJobsCommand.d.ts +2 -4
  95. package/dist-types/ts3.4/commands/ListAIWorkloadConfigsCommand.d.ts +1 -1
  96. package/dist-types/ts3.4/commands/ListAlgorithmsCommand.d.ts +1 -1
  97. package/dist-types/ts3.4/commands/ListAliasesCommand.d.ts +1 -1
  98. package/dist-types/ts3.4/commands/ListAppImageConfigsCommand.d.ts +1 -1
  99. package/dist-types/ts3.4/commands/ListAppsCommand.d.ts +1 -1
  100. package/dist-types/ts3.4/commands/ListArtifactsCommand.d.ts +1 -1
  101. package/dist-types/ts3.4/commands/ListAssociationsCommand.d.ts +1 -1
  102. package/dist-types/ts3.4/commands/ListAutoMLJobsCommand.d.ts +1 -1
  103. package/dist-types/ts3.4/commands/ListInferenceRoutersCommand.d.ts +39 -0
  104. package/dist-types/ts3.4/commands/PutEndpointPolicyCommand.d.ts +39 -0
  105. package/dist-types/ts3.4/commands/StartPipelineExecutionCommand.d.ts +2 -1
  106. package/dist-types/ts3.4/commands/StartSessionCommand.d.ts +1 -1
  107. package/dist-types/ts3.4/commands/StopAIBenchmarkJobCommand.d.ts +1 -1
  108. package/dist-types/ts3.4/commands/StopAIRecommendationJobCommand.d.ts +1 -1
  109. package/dist-types/ts3.4/commands/StopAutoMLJobCommand.d.ts +1 -1
  110. package/dist-types/ts3.4/commands/StopCompilationJobCommand.d.ts +1 -1
  111. package/dist-types/ts3.4/commands/StopEdgeDeploymentStageCommand.d.ts +1 -1
  112. package/dist-types/ts3.4/commands/StopEdgePackagingJobCommand.d.ts +1 -1
  113. package/dist-types/ts3.4/commands/StopHyperParameterTuningJobCommand.d.ts +1 -1
  114. package/dist-types/ts3.4/commands/StopInferenceExperimentCommand.d.ts +1 -1
  115. package/dist-types/ts3.4/commands/StopInferenceRecommendationsJobCommand.d.ts +1 -1
  116. package/dist-types/ts3.4/commands/StopJobCommand.d.ts +1 -1
  117. package/dist-types/ts3.4/commands/StopLabelingJobCommand.d.ts +1 -1
  118. package/dist-types/ts3.4/commands/StopMlflowTrackingServerCommand.d.ts +1 -1
  119. package/dist-types/ts3.4/commands/StopMonitoringScheduleCommand.d.ts +1 -1
  120. package/dist-types/ts3.4/commands/UpdateInferenceRouterCommand.d.ts +39 -0
  121. package/dist-types/ts3.4/commands/index.d.ts +8 -0
  122. package/dist-types/ts3.4/models/enums.d.ts +33 -0
  123. package/dist-types/ts3.4/models/errors.d.ts +7 -0
  124. package/dist-types/ts3.4/models/models_1.d.ts +43 -67
  125. package/dist-types/ts3.4/models/models_2.d.ts +80 -131
  126. package/dist-types/ts3.4/models/models_3.d.ts +165 -137
  127. package/dist-types/ts3.4/models/models_4.d.ts +153 -76
  128. package/dist-types/ts3.4/models/models_5.d.ts +80 -0
  129. package/dist-types/ts3.4/pagination/ListInferenceRoutersPaginator.d.ts +11 -0
  130. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  131. package/dist-types/ts3.4/schemas/schemas_0.d.ts +32 -0
  132. package/package.json +1 -1
@@ -0,0 +1,72 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { DeleteEndpointPolicyRequest, DeleteEndpointPolicyResponse } from "../models/models_2";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link DeleteEndpointPolicyCommand}.
11
+ */
12
+ export interface DeleteEndpointPolicyCommandInput extends DeleteEndpointPolicyRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link DeleteEndpointPolicyCommand}.
18
+ */
19
+ export interface DeleteEndpointPolicyCommandOutput extends DeleteEndpointPolicyResponse, __MetadataBearer {
20
+ }
21
+ declare const DeleteEndpointPolicyCommand_base: {
22
+ new (input: DeleteEndpointPolicyCommandInput): import("@smithy/core/client").CommandImpl<DeleteEndpointPolicyCommandInput, DeleteEndpointPolicyCommandOutput, import("..").SageMakerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DeleteEndpointPolicyCommandInput): import("@smithy/core/client").CommandImpl<DeleteEndpointPolicyCommandInput, DeleteEndpointPolicyCommandOutput, import("..").SageMakerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Deletes the resource-based policy that is attached to an endpoint. After you delete the policy, other accounts can no longer send requests to the endpoint through an inference router. The endpoint continues to serve requests from your account. If the endpoint doesn't have a policy, the operation succeeds.</p> <p>The change typically takes effect within 30 seconds, and can take up to 5 minutes. To revoke access for one account only, use <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_PutEndpointPolicy.html">PutEndpointPolicy</a> to replace the policy with one that doesn't include that account.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { SageMakerClient, DeleteEndpointPolicyCommand } from "@aws-sdk/client-sagemaker"; // ES Modules import
32
+ * // const { SageMakerClient, DeleteEndpointPolicyCommand } = 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 = { // DeleteEndpointPolicyRequest
37
+ * EndpointName: "STRING_VALUE", // required
38
+ * };
39
+ * const command = new DeleteEndpointPolicyCommand(input);
40
+ * const response = await client.send(command);
41
+ * // {};
42
+ *
43
+ * ```
44
+ *
45
+ * @param DeleteEndpointPolicyCommandInput - {@link DeleteEndpointPolicyCommandInput}
46
+ * @returns {@link DeleteEndpointPolicyCommandOutput}
47
+ * @see {@link DeleteEndpointPolicyCommandInput} for command's `input` shape.
48
+ * @see {@link DeleteEndpointPolicyCommandOutput} for command's `response` shape.
49
+ * @see {@link SageMakerClientResolvedConfig | config} for SageMakerClient's `config` shape.
50
+ *
51
+ * @throws {@link ResourceNotFound} (client fault)
52
+ * <p>Resource being access is not found.</p>
53
+ *
54
+ * @throws {@link SageMakerServiceException}
55
+ * <p>Base exception class for all service exceptions from SageMaker service.</p>
56
+ *
57
+ *
58
+ * @public
59
+ */
60
+ export declare class DeleteEndpointPolicyCommand extends DeleteEndpointPolicyCommand_base {
61
+ /** @internal type navigation helper, not in runtime. */
62
+ protected static __types: {
63
+ api: {
64
+ input: DeleteEndpointPolicyRequest;
65
+ output: {};
66
+ };
67
+ sdk: {
68
+ input: DeleteEndpointPolicyCommandInput;
69
+ output: DeleteEndpointPolicyCommandOutput;
70
+ };
71
+ };
72
+ }
@@ -0,0 +1,75 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { DeleteInferenceRouterInput } from "../models/models_2";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link DeleteInferenceRouterCommand}.
11
+ */
12
+ export interface DeleteInferenceRouterCommandInput extends DeleteInferenceRouterInput {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link DeleteInferenceRouterCommand}.
18
+ */
19
+ export interface DeleteInferenceRouterCommandOutput extends __MetadataBearer {
20
+ }
21
+ declare const DeleteInferenceRouterCommand_base: {
22
+ new (input: DeleteInferenceRouterCommandInput): import("@smithy/core/client").CommandImpl<DeleteInferenceRouterCommandInput, DeleteInferenceRouterCommandOutput, import("..").SageMakerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DeleteInferenceRouterCommandInput): import("@smithy/core/client").CommandImpl<DeleteInferenceRouterCommandInput, DeleteInferenceRouterCommandOutput, import("..").SageMakerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Deletes an inference router. The endpoints and inference components that the router sends requests to aren't deleted.</p> <p>If the router is being created, updated, or deleted, you get a <code>ConflictException</code>.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { SageMakerClient, DeleteInferenceRouterCommand } from "@aws-sdk/client-sagemaker"; // ES Modules import
32
+ * // const { SageMakerClient, DeleteInferenceRouterCommand } = 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 = { // DeleteInferenceRouterInput
37
+ * InferenceRouterName: "STRING_VALUE", // required
38
+ * };
39
+ * const command = new DeleteInferenceRouterCommand(input);
40
+ * const response = await client.send(command);
41
+ * // {};
42
+ *
43
+ * ```
44
+ *
45
+ * @param DeleteInferenceRouterCommandInput - {@link DeleteInferenceRouterCommandInput}
46
+ * @returns {@link DeleteInferenceRouterCommandOutput}
47
+ * @see {@link DeleteInferenceRouterCommandInput} for command's `input` shape.
48
+ * @see {@link DeleteInferenceRouterCommandOutput} for command's `response` shape.
49
+ * @see {@link SageMakerClientResolvedConfig | config} for SageMakerClient's `config` shape.
50
+ *
51
+ * @throws {@link ConflictException} (client fault)
52
+ * <p>There was a conflict when you attempted to modify a SageMaker entity such as an <code>Experiment</code> or <code>Artifact</code>.</p>
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 DeleteInferenceRouterCommand extends DeleteInferenceRouterCommand_base {
64
+ /** @internal type navigation helper, not in runtime. */
65
+ protected static __types: {
66
+ api: {
67
+ input: DeleteInferenceRouterInput;
68
+ output: {};
69
+ };
70
+ sdk: {
71
+ input: DeleteInferenceRouterCommandInput;
72
+ output: DeleteInferenceRouterCommandOutput;
73
+ };
74
+ };
75
+ }
@@ -35,7 +35,7 @@ declare const DeleteJobCommand_base: {
35
35
  * const client = new SageMakerClient(config);
36
36
  * const input = { // DeleteJobRequest
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 DeleteJobCommand(input);
41
41
  * const response = await client.send(command);
@@ -1,5 +1,6 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { DescribeComputeQuotaRequest, DescribeComputeQuotaResponse } from "../models/models_2";
2
+ import type { DescribeComputeQuotaRequest } from "../models/models_2";
3
+ import type { DescribeComputeQuotaResponse } from "../models/models_3";
3
4
  /**
4
5
  * @public
5
6
  */
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { DescribeContextRequest, DescribeContextResponse } from "../models/models_2";
2
+ import type { DescribeContextRequest, DescribeContextResponse } from "../models/models_3";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { DescribeDataQualityJobDefinitionRequest, DescribeDataQualityJobDefinitionResponse } from "../models/models_2";
2
+ import type { DescribeDataQualityJobDefinitionRequest, DescribeDataQualityJobDefinitionResponse } from "../models/models_3";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { DescribeDeviceRequest, DescribeDeviceResponse } from "../models/models_2";
2
+ import type { DescribeDeviceRequest, DescribeDeviceResponse } from "../models/models_3";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { DescribeDeviceFleetRequest, DescribeDeviceFleetResponse } from "../models/models_2";
2
+ import type { DescribeDeviceFleetRequest, DescribeDeviceFleetResponse } from "../models/models_3";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { DescribeDomainRequest, DescribeDomainResponse } from "../models/models_2";
2
+ import type { DescribeDomainRequest, DescribeDomainResponse } from "../models/models_3";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -90,7 +90,7 @@ declare const DescribeEndpointCommand_base: {
90
90
  * // },
91
91
  * // },
92
92
  * // RoutingConfig: { // ProductionVariantRoutingConfig
93
- * // RoutingStrategy: "LEAST_OUTSTANDING_REQUESTS" || "RANDOM" || "PREFIX_AWARE", // required
93
+ * // RoutingStrategy: "LEAST_OUTSTANDING_REQUESTS" || "RANDOM" || "PREFIX_AWARE" || "KV_AWARE", // required
94
94
  * // PrefixAwareRoutingConfig: { // PrefixAwareRoutingConfig
95
95
  * // PrefixLength: Number("int"),
96
96
  * // ConcurrencyThreshold: Number("int"),
@@ -237,7 +237,7 @@ declare const DescribeEndpointCommand_base: {
237
237
  * // },
238
238
  * // },
239
239
  * // RoutingConfig: {
240
- * // RoutingStrategy: "LEAST_OUTSTANDING_REQUESTS" || "RANDOM" || "PREFIX_AWARE", // required
240
+ * // RoutingStrategy: "LEAST_OUTSTANDING_REQUESTS" || "RANDOM" || "PREFIX_AWARE" || "KV_AWARE", // required
241
241
  * // PrefixAwareRoutingConfig: {
242
242
  * // PrefixLength: Number("int"),
243
243
  * // ConcurrencyThreshold: Number("int"),
@@ -299,7 +299,7 @@ declare const DescribeEndpointCommand_base: {
299
299
  * // },
300
300
  * // },
301
301
  * // RoutingConfig: {
302
- * // RoutingStrategy: "LEAST_OUTSTANDING_REQUESTS" || "RANDOM" || "PREFIX_AWARE", // required
302
+ * // RoutingStrategy: "LEAST_OUTSTANDING_REQUESTS" || "RANDOM" || "PREFIX_AWARE" || "KV_AWARE", // required
303
303
  * // PrefixAwareRoutingConfig: {
304
304
  * // PrefixLength: Number("int"),
305
305
  * // ConcurrencyThreshold: Number("int"),
@@ -393,7 +393,7 @@ declare const DescribeEndpointCommand_base: {
393
393
  * // },
394
394
  * // },
395
395
  * // RoutingConfig: {
396
- * // RoutingStrategy: "LEAST_OUTSTANDING_REQUESTS" || "RANDOM" || "PREFIX_AWARE", // required
396
+ * // RoutingStrategy: "LEAST_OUTSTANDING_REQUESTS" || "RANDOM" || "PREFIX_AWARE" || "KV_AWARE", // required
397
397
  * // PrefixAwareRoutingConfig: {
398
398
  * // PrefixLength: Number("int"),
399
399
  * // ConcurrencyThreshold: Number("int"),
@@ -428,6 +428,10 @@ declare const DescribeEndpointCommand_base: {
428
428
  * // EnableDetailedObservability: true || false,
429
429
  * // MetricPublishFrequencyInSeconds: 10 || 30 || 60 || 120 || 180 || 240 || 300,
430
430
  * // },
431
+ * // CrossRegionTrafficConfig: { // CrossRegionTrafficConfig
432
+ * // MaxInvocationsPerSecondPerInstance: Number("int"), // required
433
+ * // MaxCrossRegionPercentPerEndpoint: Number("int"), // required
434
+ * // },
431
435
  * // };
432
436
  *
433
437
  * ```
@@ -81,7 +81,7 @@ declare const DescribeEndpointConfigCommand_base: {
81
81
  * // },
82
82
  * // },
83
83
  * // RoutingConfig: { // ProductionVariantRoutingConfig
84
- * // RoutingStrategy: "LEAST_OUTSTANDING_REQUESTS" || "RANDOM" || "PREFIX_AWARE", // required
84
+ * // RoutingStrategy: "LEAST_OUTSTANDING_REQUESTS" || "RANDOM" || "PREFIX_AWARE" || "KV_AWARE", // required
85
85
  * // PrefixAwareRoutingConfig: { // PrefixAwareRoutingConfig
86
86
  * // PrefixLength: Number("int"),
87
87
  * // ConcurrencyThreshold: Number("int"),
@@ -217,7 +217,7 @@ declare const DescribeEndpointConfigCommand_base: {
217
217
  * // },
218
218
  * // },
219
219
  * // RoutingConfig: {
220
- * // RoutingStrategy: "LEAST_OUTSTANDING_REQUESTS" || "RANDOM" || "PREFIX_AWARE", // required
220
+ * // RoutingStrategy: "LEAST_OUTSTANDING_REQUESTS" || "RANDOM" || "PREFIX_AWARE" || "KV_AWARE", // required
221
221
  * // PrefixAwareRoutingConfig: {
222
222
  * // PrefixLength: Number("int"),
223
223
  * // ConcurrencyThreshold: Number("int"),
@@ -252,6 +252,10 @@ declare const DescribeEndpointConfigCommand_base: {
252
252
  * // EnableDetailedObservability: true || false,
253
253
  * // MetricPublishFrequencyInSeconds: 10 || 30 || 60 || 120 || 180 || 240 || 300,
254
254
  * // },
255
+ * // CrossRegionTrafficConfig: { // CrossRegionTrafficConfig
256
+ * // MaxInvocationsPerSecondPerInstance: Number("int"), // required
257
+ * // MaxCrossRegionPercentPerEndpoint: Number("int"), // required
258
+ * // },
255
259
  * // };
256
260
  *
257
261
  * ```
@@ -0,0 +1,105 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { DescribeInferenceRouterInput, DescribeInferenceRouterOutput } from "../models/models_3";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link DescribeInferenceRouterCommand}.
11
+ */
12
+ export interface DescribeInferenceRouterCommandInput extends DescribeInferenceRouterInput {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link DescribeInferenceRouterCommand}.
18
+ */
19
+ export interface DescribeInferenceRouterCommandOutput extends DescribeInferenceRouterOutput, __MetadataBearer {
20
+ }
21
+ declare const DescribeInferenceRouterCommand_base: {
22
+ new (input: DescribeInferenceRouterCommandInput): import("@smithy/core/client").CommandImpl<DescribeInferenceRouterCommandInput, DescribeInferenceRouterCommandOutput, import("..").SageMakerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DescribeInferenceRouterCommandInput): import("@smithy/core/client").CommandImpl<DescribeInferenceRouterCommandInput, DescribeInferenceRouterCommandOutput, import("..").SageMakerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Returns information about an inference router, including the routing status of each destination.</p> <p>SageMaker AI checks each destination with your permissions when you call this operation, so callers with different permissions can see a different <code>RoutingStatus</code>. To get the router's tags, use <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_ListTags.html">ListTags</a>.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { SageMakerClient, DescribeInferenceRouterCommand } from "@aws-sdk/client-sagemaker"; // ES Modules import
32
+ * // const { SageMakerClient, DescribeInferenceRouterCommand } = 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 = { // DescribeInferenceRouterInput
37
+ * InferenceRouterName: "STRING_VALUE", // required
38
+ * };
39
+ * const command = new DescribeInferenceRouterCommand(input);
40
+ * const response = await client.send(command);
41
+ * // { // DescribeInferenceRouterOutput
42
+ * // InferenceRouterName: "STRING_VALUE", // required
43
+ * // InferenceRouterArn: "STRING_VALUE", // required
44
+ * // RoutingTargets: [ // RoutingTargetList // required
45
+ * // { // RoutingTarget
46
+ * // Name: "STRING_VALUE", // required
47
+ * // Destinations: [ // DestinationList // required
48
+ * // { // Destination
49
+ * // ResourceArn: "STRING_VALUE", // required
50
+ * // RoutingStatus: "Routable" || "Unroutable" || "Unknown",
51
+ * // },
52
+ * // ],
53
+ * // AsyncInferenceConfig: { // RoutingTargetAsyncInferenceConfig
54
+ * // OutputConfig: { // RoutingTargetAsyncInferenceOutputConfig
55
+ * // S3OutputPath: "STRING_VALUE", // required
56
+ * // S3FailurePath: "STRING_VALUE", // required
57
+ * // KmsKeyId: "STRING_VALUE",
58
+ * // NotificationConfig: { // RoutingTargetAsyncInferenceNotificationConfig
59
+ * // SuccessTopic: "STRING_VALUE",
60
+ * // ErrorTopic: "STRING_VALUE",
61
+ * // },
62
+ * // },
63
+ * // ClientConfig: { // RoutingTargetAsyncInferenceClientConfig
64
+ * // MaxTimeInBacklogSeconds: Number("int"),
65
+ * // },
66
+ * // },
67
+ * // RoutingPreference: "LocalRegionFirst" || "InstancePoolOrder",
68
+ * // },
69
+ * // ],
70
+ * // Status: "InService" || "Creating" || "Updating" || "Failed" || "Deleting", // required
71
+ * // StatusReason: "STRING_VALUE",
72
+ * // CreationTime: new Date("TIMESTAMP"), // required
73
+ * // LastModifiedTime: new Date("TIMESTAMP"), // required
74
+ * // };
75
+ *
76
+ * ```
77
+ *
78
+ * @param DescribeInferenceRouterCommandInput - {@link DescribeInferenceRouterCommandInput}
79
+ * @returns {@link DescribeInferenceRouterCommandOutput}
80
+ * @see {@link DescribeInferenceRouterCommandInput} for command's `input` shape.
81
+ * @see {@link DescribeInferenceRouterCommandOutput} for command's `response` shape.
82
+ * @see {@link SageMakerClientResolvedConfig | config} for SageMakerClient's `config` shape.
83
+ *
84
+ * @throws {@link ResourceNotFound} (client fault)
85
+ * <p>Resource being access is not found.</p>
86
+ *
87
+ * @throws {@link SageMakerServiceException}
88
+ * <p>Base exception class for all service exceptions from SageMaker service.</p>
89
+ *
90
+ *
91
+ * @public
92
+ */
93
+ export declare class DescribeInferenceRouterCommand extends DescribeInferenceRouterCommand_base {
94
+ /** @internal type navigation helper, not in runtime. */
95
+ protected static __types: {
96
+ api: {
97
+ input: DescribeInferenceRouterInput;
98
+ output: DescribeInferenceRouterOutput;
99
+ };
100
+ sdk: {
101
+ input: DescribeInferenceRouterCommandInput;
102
+ output: DescribeInferenceRouterCommandOutput;
103
+ };
104
+ };
105
+ }
@@ -35,7 +35,7 @@ declare const DescribeJobCommand_base: {
35
35
  * const client = new SageMakerClient(config);
36
36
  * const input = { // DescribeJobRequest
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 DescribeJobCommand(input);
41
41
  * const response = await client.send(command);
@@ -43,17 +43,17 @@ declare const DescribeJobCommand_base: {
43
43
  * // JobName: "STRING_VALUE", // required
44
44
  * // JobArn: "STRING_VALUE", // required
45
45
  * // RoleArn: "STRING_VALUE", // required
46
- * // JobCategory: "AgentRFT" || "AgentRFTEvaluation", // required
46
+ * // JobCategory: "AgentRFT" || "SyntheticDataGeneration" || "DataQualityEvaluation" || "AgentRFTEvaluation" || "DataTransformation", // required
47
47
  * // JobConfigSchemaVersion: "STRING_VALUE", // required
48
48
  * // JobConfigDocument: "STRING_VALUE",
49
49
  * // CreationTime: new Date("TIMESTAMP"), // required
50
50
  * // LastModifiedTime: new Date("TIMESTAMP"), // required
51
51
  * // EndTime: new Date("TIMESTAMP"),
52
52
  * // JobStatus: "InProgress" || "Completed" || "Failed" || "Stopping" || "Stopped" || "Deleting" || "DeleteFailed", // required
53
- * // SecondaryStatus: "Starting" || "Downloading" || "Training" || "Uploading" || "Stopping" || "Stopped" || "MaxRuntimeExceeded" || "Interrupted" || "Failed" || "Completed" || "Restarting" || "Pending" || "Evaluating" || "Deleting" || "DeleteFailed", // required
53
+ * // SecondaryStatus: "Starting" || "Downloading" || "Training" || "Uploading" || "Stopping" || "Stopped" || "MaxRuntimeExceeded" || "Interrupted" || "Failed" || "Completed" || "Restarting" || "Pending" || "Generating" || "PartialGeneration" || "Evaluating" || "Validating" || "Preparing" || "Executing" || "Publishing" || "Finalizing" || "Transforming" || "Deleting" || "DeleteFailed", // required
54
54
  * // SecondaryStatusTransitions: [ // JobSecondaryStatusTransitions // required
55
55
  * // { // JobSecondaryStatusTransition
56
- * // Status: "Starting" || "Downloading" || "Training" || "Uploading" || "Stopping" || "Stopped" || "MaxRuntimeExceeded" || "Interrupted" || "Failed" || "Completed" || "Restarting" || "Pending" || "Evaluating" || "Deleting" || "DeleteFailed", // required
56
+ * // 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
57
57
  * // StartTime: new Date("TIMESTAMP"), // required
58
58
  * // EndTime: new Date("TIMESTAMP"),
59
59
  * // StatusMessage: "STRING_VALUE",
@@ -34,13 +34,13 @@ declare const DescribeJobSchemaVersionCommand_base: {
34
34
  * const config = {}; // type is SageMakerClientConfig
35
35
  * const client = new SageMakerClient(config);
36
36
  * const input = { // DescribeJobSchemaVersionRequest
37
- * JobCategory: "AgentRFT" || "AgentRFTEvaluation", // required
37
+ * JobCategory: "AgentRFT" || "SyntheticDataGeneration" || "DataQualityEvaluation" || "AgentRFTEvaluation" || "DataTransformation", // required
38
38
  * JobConfigSchemaVersion: "STRING_VALUE",
39
39
  * };
40
40
  * const command = new DescribeJobSchemaVersionCommand(input);
41
41
  * const response = await client.send(command);
42
42
  * // { // DescribeJobSchemaVersionResponse
43
- * // JobCategory: "AgentRFT" || "AgentRFTEvaluation", // required
43
+ * // JobCategory: "AgentRFT" || "SyntheticDataGeneration" || "DataQualityEvaluation" || "AgentRFTEvaluation" || "DataTransformation", // required
44
44
  * // JobConfigSchemaVersion: "STRING_VALUE", // required
45
45
  * // JobConfigSchema: "STRING_VALUE", // required
46
46
  * // };
@@ -0,0 +1,76 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { GetEndpointPolicyRequest, GetEndpointPolicyResponse } from "../models/models_3";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link GetEndpointPolicyCommand}.
11
+ */
12
+ export interface GetEndpointPolicyCommandInput extends GetEndpointPolicyRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link GetEndpointPolicyCommand}.
18
+ */
19
+ export interface GetEndpointPolicyCommandOutput extends GetEndpointPolicyResponse, __MetadataBearer {
20
+ }
21
+ declare const GetEndpointPolicyCommand_base: {
22
+ new (input: GetEndpointPolicyCommandInput): import("@smithy/core/client").CommandImpl<GetEndpointPolicyCommandInput, GetEndpointPolicyCommandOutput, import("..").SageMakerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: GetEndpointPolicyCommandInput): import("@smithy/core/client").CommandImpl<GetEndpointPolicyCommandInput, GetEndpointPolicyCommandOutput, import("..").SageMakerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Returns the resource-based policy that is attached to an endpoint. If the endpoint doesn't have a policy, you get a <code>ValidationException</code>.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { SageMakerClient, GetEndpointPolicyCommand } from "@aws-sdk/client-sagemaker"; // ES Modules import
32
+ * // const { SageMakerClient, GetEndpointPolicyCommand } = 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 = { // GetEndpointPolicyRequest
37
+ * EndpointName: "STRING_VALUE", // required
38
+ * };
39
+ * const command = new GetEndpointPolicyCommand(input);
40
+ * const response = await client.send(command);
41
+ * // { // GetEndpointPolicyResponse
42
+ * // EndpointName: "STRING_VALUE",
43
+ * // EndpointArn: "STRING_VALUE",
44
+ * // ResourcePolicy: "STRING_VALUE",
45
+ * // };
46
+ *
47
+ * ```
48
+ *
49
+ * @param GetEndpointPolicyCommandInput - {@link GetEndpointPolicyCommandInput}
50
+ * @returns {@link GetEndpointPolicyCommandOutput}
51
+ * @see {@link GetEndpointPolicyCommandInput} for command's `input` shape.
52
+ * @see {@link GetEndpointPolicyCommandOutput} for command's `response` shape.
53
+ * @see {@link SageMakerClientResolvedConfig | config} for SageMakerClient's `config` shape.
54
+ *
55
+ * @throws {@link ResourceNotFound} (client fault)
56
+ * <p>Resource being access is not found.</p>
57
+ *
58
+ * @throws {@link SageMakerServiceException}
59
+ * <p>Base exception class for all service exceptions from SageMaker service.</p>
60
+ *
61
+ *
62
+ * @public
63
+ */
64
+ export declare class GetEndpointPolicyCommand extends GetEndpointPolicyCommand_base {
65
+ /** @internal type navigation helper, not in runtime. */
66
+ protected static __types: {
67
+ api: {
68
+ input: GetEndpointPolicyRequest;
69
+ output: GetEndpointPolicyResponse;
70
+ };
71
+ sdk: {
72
+ input: GetEndpointPolicyCommandInput;
73
+ output: GetEndpointPolicyCommandOutput;
74
+ };
75
+ };
76
+ }
@@ -1,5 +1,6 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { ListAIRecommendationJobsRequest, ListAIRecommendationJobsResponse } from "../models/models_3";
2
+ import type { ListAIRecommendationJobsRequest } from "../models/models_3";
3
+ import type { ListAIRecommendationJobsResponse } from "../models/models_4";
3
4
  /**
4
5
  * @public
5
6
  */
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { ListAIWorkloadConfigsRequest, ListAIWorkloadConfigsResponse } from "../models/models_3";
2
+ import type { ListAIWorkloadConfigsRequest, ListAIWorkloadConfigsResponse } from "../models/models_4";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { ListAlgorithmsInput, ListAlgorithmsOutput } from "../models/models_3";
2
+ import type { ListAlgorithmsInput, ListAlgorithmsOutput } from "../models/models_4";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { ListAliasesRequest, ListAliasesResponse } from "../models/models_3";
2
+ import type { ListAliasesRequest, ListAliasesResponse } from "../models/models_4";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { ListAppImageConfigsRequest, ListAppImageConfigsResponse } from "../models/models_3";
2
+ import type { ListAppImageConfigsRequest, ListAppImageConfigsResponse } from "../models/models_4";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { ListAppsRequest, ListAppsResponse } from "../models/models_3";
2
+ import type { ListAppsRequest, ListAppsResponse } from "../models/models_4";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { ListArtifactsRequest, ListArtifactsResponse } from "../models/models_3";
2
+ import type { ListArtifactsRequest, ListArtifactsResponse } from "../models/models_4";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { ListAssociationsRequest, ListAssociationsResponse } from "../models/models_3";
2
+ import type { ListAssociationsRequest, ListAssociationsResponse } from "../models/models_4";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { ListAutoMLJobsRequest, ListAutoMLJobsResponse } from "../models/models_3";
2
+ import type { ListAutoMLJobsRequest, ListAutoMLJobsResponse } from "../models/models_4";
3
3
  /**
4
4
  * @public
5
5
  */