@aws-sdk/client-sagemaker 3.1168.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 (190) hide show
  1. package/README.md +77 -0
  2. package/dist-cjs/index.js +558 -47
  3. package/dist-es/SageMaker.js +28 -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/DescribeClusterOperationCommand.js +4 -0
  8. package/dist-es/commands/DescribeInferenceRouterCommand.js +4 -0
  9. package/dist-es/commands/GetEndpointPolicyCommand.js +4 -0
  10. package/dist-es/commands/ListClusterExtensionVersionsCommand.js +4 -0
  11. package/dist-es/commands/ListClusterOperationsCommand.js +4 -0
  12. package/dist-es/commands/ListInferenceRoutersCommand.js +4 -0
  13. package/dist-es/commands/PutEndpointPolicyCommand.js +4 -0
  14. package/dist-es/commands/UpdateInferenceRouterCommand.js +4 -0
  15. package/dist-es/commands/index.js +11 -0
  16. package/dist-es/models/enums.js +55 -0
  17. package/dist-es/models/errors.js +15 -0
  18. package/dist-es/pagination/ListClusterExtensionVersionsPaginator.js +4 -0
  19. package/dist-es/pagination/ListClusterOperationsPaginator.js +4 -0
  20. package/dist-es/pagination/ListInferenceRoutersPaginator.js +4 -0
  21. package/dist-es/pagination/index.js +3 -0
  22. package/dist-es/schemas/schemas_0.js +364 -47
  23. package/dist-types/SageMaker.d.ts +99 -0
  24. package/dist-types/SageMakerClient.d.ts +13 -2
  25. package/dist-types/commands/CreateClusterCommand.d.ts +6 -1
  26. package/dist-types/commands/CreateEndpointConfigCommand.d.ts +6 -2
  27. package/dist-types/commands/CreateInferenceRouterCommand.d.ts +113 -0
  28. package/dist-types/commands/CreateJobCommand.d.ts +2 -2
  29. package/dist-types/commands/CreateModelPackageCommand.d.ts +1 -1
  30. package/dist-types/commands/CreateModelPackageGroupCommand.d.ts +1 -1
  31. package/dist-types/commands/DeleteEndpointPolicyCommand.d.ts +72 -0
  32. package/dist-types/commands/DeleteInferenceRouterCommand.d.ts +75 -0
  33. package/dist-types/commands/DeleteJobCommand.d.ts +1 -1
  34. package/dist-types/commands/DescribeClusterCommand.d.ts +6 -1
  35. package/dist-types/commands/DescribeClusterEventCommand.d.ts +1 -0
  36. package/dist-types/commands/DescribeClusterExtensionCommand.d.ts +10 -1
  37. package/dist-types/commands/DescribeClusterOperationCommand.d.ts +106 -0
  38. package/dist-types/commands/DescribeComputeQuotaCommand.d.ts +2 -1
  39. package/dist-types/commands/DescribeContextCommand.d.ts +1 -1
  40. package/dist-types/commands/DescribeDataQualityJobDefinitionCommand.d.ts +1 -1
  41. package/dist-types/commands/DescribeDeviceCommand.d.ts +1 -1
  42. package/dist-types/commands/DescribeDeviceFleetCommand.d.ts +1 -1
  43. package/dist-types/commands/DescribeDomainCommand.d.ts +1 -1
  44. package/dist-types/commands/DescribeEdgeDeploymentPlanCommand.d.ts +1 -1
  45. package/dist-types/commands/DescribeEdgePackagingJobCommand.d.ts +1 -1
  46. package/dist-types/commands/DescribeEndpointCommand.d.ts +9 -6
  47. package/dist-types/commands/DescribeEndpointConfigCommand.d.ts +6 -2
  48. package/dist-types/commands/DescribeInferenceRouterCommand.d.ts +105 -0
  49. package/dist-types/commands/DescribeJobCommand.d.ts +4 -4
  50. package/dist-types/commands/DescribeJobSchemaVersionCommand.d.ts +2 -2
  51. package/dist-types/commands/GetEndpointPolicyCommand.d.ts +76 -0
  52. package/dist-types/commands/ListAIRecommendationJobsCommand.d.ts +2 -1
  53. package/dist-types/commands/ListAIWorkloadConfigsCommand.d.ts +1 -1
  54. package/dist-types/commands/ListAlgorithmsCommand.d.ts +1 -1
  55. package/dist-types/commands/ListAliasesCommand.d.ts +1 -1
  56. package/dist-types/commands/ListAppImageConfigsCommand.d.ts +1 -1
  57. package/dist-types/commands/ListAppsCommand.d.ts +1 -1
  58. package/dist-types/commands/ListArtifactsCommand.d.ts +1 -1
  59. package/dist-types/commands/ListAssociationsCommand.d.ts +1 -1
  60. package/dist-types/commands/ListAutoMLJobsCommand.d.ts +1 -1
  61. package/dist-types/commands/ListCandidatesForAutoMLJobCommand.d.ts +1 -1
  62. package/dist-types/commands/ListClusterEventsCommand.d.ts +3 -1
  63. package/dist-types/commands/ListClusterExtensionVersionsCommand.d.ts +78 -0
  64. package/dist-types/commands/ListClusterExtensionsCommand.d.ts +1 -1
  65. package/dist-types/commands/ListClusterNodesCommand.d.ts +1 -1
  66. package/dist-types/commands/ListClusterOperationsCommand.d.ts +91 -0
  67. package/dist-types/commands/ListClustersCommand.d.ts +1 -2
  68. package/dist-types/commands/ListInferenceRoutersCommand.d.ts +80 -0
  69. package/dist-types/commands/ListJobSchemaVersionsCommand.d.ts +1 -1
  70. package/dist-types/commands/ListJobsCommand.d.ts +3 -3
  71. package/dist-types/commands/PutEndpointPolicyCommand.d.ts +75 -0
  72. package/dist-types/commands/SearchCommand.d.ts +5 -5
  73. package/dist-types/commands/StartPipelineExecutionCommand.d.ts +2 -1
  74. package/dist-types/commands/StartSessionCommand.d.ts +1 -1
  75. package/dist-types/commands/StopAIBenchmarkJobCommand.d.ts +1 -1
  76. package/dist-types/commands/StopAIRecommendationJobCommand.d.ts +1 -1
  77. package/dist-types/commands/StopAutoMLJobCommand.d.ts +1 -1
  78. package/dist-types/commands/StopCompilationJobCommand.d.ts +1 -1
  79. package/dist-types/commands/StopEdgeDeploymentStageCommand.d.ts +1 -1
  80. package/dist-types/commands/StopEdgePackagingJobCommand.d.ts +1 -1
  81. package/dist-types/commands/StopHyperParameterTuningJobCommand.d.ts +1 -1
  82. package/dist-types/commands/StopInferenceExperimentCommand.d.ts +1 -1
  83. package/dist-types/commands/StopInferenceRecommendationsJobCommand.d.ts +1 -1
  84. package/dist-types/commands/StopJobCommand.d.ts +2 -2
  85. package/dist-types/commands/StopLabelingJobCommand.d.ts +1 -1
  86. package/dist-types/commands/StopMlflowTrackingServerCommand.d.ts +1 -1
  87. package/dist-types/commands/StopMonitoringScheduleCommand.d.ts +1 -1
  88. package/dist-types/commands/StopNotebookInstanceCommand.d.ts +1 -1
  89. package/dist-types/commands/StopOptimizationJobCommand.d.ts +1 -1
  90. package/dist-types/commands/StopPipelineExecutionCommand.d.ts +1 -1
  91. package/dist-types/commands/StopProcessingJobCommand.d.ts +1 -1
  92. package/dist-types/commands/StopTrainingJobCommand.d.ts +1 -1
  93. package/dist-types/commands/StopTrainingSessionCommand.d.ts +1 -1
  94. package/dist-types/commands/StopTransformJobCommand.d.ts +1 -1
  95. package/dist-types/commands/UpdateActionCommand.d.ts +1 -1
  96. package/dist-types/commands/UpdateAppImageConfigCommand.d.ts +1 -1
  97. package/dist-types/commands/UpdateClusterCommand.d.ts +6 -1
  98. package/dist-types/commands/UpdateClusterExtensionCommand.d.ts +1 -1
  99. package/dist-types/commands/UpdateInferenceRouterCommand.d.ts +106 -0
  100. package/dist-types/commands/index.d.ts +11 -0
  101. package/dist-types/models/enums.d.ts +149 -0
  102. package/dist-types/models/errors.d.ts +14 -0
  103. package/dist-types/models/models_0.d.ts +112 -107
  104. package/dist-types/models/models_1.d.ts +289 -352
  105. package/dist-types/models/models_2.d.ts +475 -770
  106. package/dist-types/models/models_3.d.ts +4721 -4608
  107. package/dist-types/models/models_4.d.ts +4412 -3887
  108. package/dist-types/models/models_5.d.ts +438 -3
  109. package/dist-types/pagination/ListClusterExtensionVersionsPaginator.d.ts +7 -0
  110. package/dist-types/pagination/ListClusterOperationsPaginator.d.ts +7 -0
  111. package/dist-types/pagination/ListInferenceRoutersPaginator.d.ts +7 -0
  112. package/dist-types/pagination/index.d.ts +3 -0
  113. package/dist-types/schemas/schemas_0.d.ts +48 -0
  114. package/dist-types/ts3.4/SageMaker.d.ts +209 -0
  115. package/dist-types/ts3.4/SageMakerClient.d.ts +66 -0
  116. package/dist-types/ts3.4/commands/CreateInferenceRouterCommand.d.ts +39 -0
  117. package/dist-types/ts3.4/commands/CreateModelPackageCommand.d.ts +1 -1
  118. package/dist-types/ts3.4/commands/CreateModelPackageGroupCommand.d.ts +1 -1
  119. package/dist-types/ts3.4/commands/DeleteEndpointPolicyCommand.d.ts +39 -0
  120. package/dist-types/ts3.4/commands/DeleteInferenceRouterCommand.d.ts +38 -0
  121. package/dist-types/ts3.4/commands/DescribeClusterOperationCommand.d.ts +42 -0
  122. package/dist-types/ts3.4/commands/DescribeComputeQuotaCommand.d.ts +2 -1
  123. package/dist-types/ts3.4/commands/DescribeContextCommand.d.ts +1 -1
  124. package/dist-types/ts3.4/commands/DescribeDataQualityJobDefinitionCommand.d.ts +1 -1
  125. package/dist-types/ts3.4/commands/DescribeDeviceCommand.d.ts +1 -1
  126. package/dist-types/ts3.4/commands/DescribeDeviceFleetCommand.d.ts +1 -1
  127. package/dist-types/ts3.4/commands/DescribeDomainCommand.d.ts +1 -1
  128. package/dist-types/ts3.4/commands/DescribeEdgeDeploymentPlanCommand.d.ts +1 -1
  129. package/dist-types/ts3.4/commands/DescribeEdgePackagingJobCommand.d.ts +1 -1
  130. package/dist-types/ts3.4/commands/DescribeEndpointCommand.d.ts +1 -2
  131. package/dist-types/ts3.4/commands/DescribeInferenceRouterCommand.d.ts +39 -0
  132. package/dist-types/ts3.4/commands/GetEndpointPolicyCommand.d.ts +39 -0
  133. package/dist-types/ts3.4/commands/ListAIRecommendationJobsCommand.d.ts +2 -4
  134. package/dist-types/ts3.4/commands/ListAIWorkloadConfigsCommand.d.ts +1 -1
  135. package/dist-types/ts3.4/commands/ListAlgorithmsCommand.d.ts +1 -1
  136. package/dist-types/ts3.4/commands/ListAliasesCommand.d.ts +1 -1
  137. package/dist-types/ts3.4/commands/ListAppImageConfigsCommand.d.ts +1 -1
  138. package/dist-types/ts3.4/commands/ListAppsCommand.d.ts +1 -1
  139. package/dist-types/ts3.4/commands/ListArtifactsCommand.d.ts +1 -1
  140. package/dist-types/ts3.4/commands/ListAssociationsCommand.d.ts +1 -1
  141. package/dist-types/ts3.4/commands/ListAutoMLJobsCommand.d.ts +1 -1
  142. package/dist-types/ts3.4/commands/ListCandidatesForAutoMLJobCommand.d.ts +1 -1
  143. package/dist-types/ts3.4/commands/ListClusterEventsCommand.d.ts +1 -1
  144. package/dist-types/ts3.4/commands/ListClusterExtensionVersionsCommand.d.ts +42 -0
  145. package/dist-types/ts3.4/commands/ListClusterExtensionsCommand.d.ts +1 -1
  146. package/dist-types/ts3.4/commands/ListClusterNodesCommand.d.ts +1 -1
  147. package/dist-types/ts3.4/commands/ListClusterOperationsCommand.d.ts +39 -0
  148. package/dist-types/ts3.4/commands/ListClustersCommand.d.ts +1 -2
  149. package/dist-types/ts3.4/commands/ListInferenceRoutersCommand.d.ts +39 -0
  150. package/dist-types/ts3.4/commands/PutEndpointPolicyCommand.d.ts +39 -0
  151. package/dist-types/ts3.4/commands/StartPipelineExecutionCommand.d.ts +2 -1
  152. package/dist-types/ts3.4/commands/StartSessionCommand.d.ts +1 -1
  153. package/dist-types/ts3.4/commands/StopAIBenchmarkJobCommand.d.ts +1 -1
  154. package/dist-types/ts3.4/commands/StopAIRecommendationJobCommand.d.ts +1 -1
  155. package/dist-types/ts3.4/commands/StopAutoMLJobCommand.d.ts +1 -1
  156. package/dist-types/ts3.4/commands/StopCompilationJobCommand.d.ts +1 -1
  157. package/dist-types/ts3.4/commands/StopEdgeDeploymentStageCommand.d.ts +1 -1
  158. package/dist-types/ts3.4/commands/StopEdgePackagingJobCommand.d.ts +1 -1
  159. package/dist-types/ts3.4/commands/StopHyperParameterTuningJobCommand.d.ts +1 -1
  160. package/dist-types/ts3.4/commands/StopInferenceExperimentCommand.d.ts +1 -1
  161. package/dist-types/ts3.4/commands/StopInferenceRecommendationsJobCommand.d.ts +1 -1
  162. package/dist-types/ts3.4/commands/StopJobCommand.d.ts +1 -1
  163. package/dist-types/ts3.4/commands/StopLabelingJobCommand.d.ts +1 -1
  164. package/dist-types/ts3.4/commands/StopMlflowTrackingServerCommand.d.ts +1 -1
  165. package/dist-types/ts3.4/commands/StopMonitoringScheduleCommand.d.ts +1 -1
  166. package/dist-types/ts3.4/commands/StopNotebookInstanceCommand.d.ts +1 -1
  167. package/dist-types/ts3.4/commands/StopOptimizationJobCommand.d.ts +1 -1
  168. package/dist-types/ts3.4/commands/StopPipelineExecutionCommand.d.ts +1 -1
  169. package/dist-types/ts3.4/commands/StopProcessingJobCommand.d.ts +1 -1
  170. package/dist-types/ts3.4/commands/StopTrainingJobCommand.d.ts +1 -1
  171. package/dist-types/ts3.4/commands/StopTrainingSessionCommand.d.ts +1 -1
  172. package/dist-types/ts3.4/commands/StopTransformJobCommand.d.ts +1 -1
  173. package/dist-types/ts3.4/commands/UpdateActionCommand.d.ts +1 -1
  174. package/dist-types/ts3.4/commands/UpdateAppImageConfigCommand.d.ts +1 -1
  175. package/dist-types/ts3.4/commands/UpdateInferenceRouterCommand.d.ts +39 -0
  176. package/dist-types/ts3.4/commands/index.d.ts +11 -0
  177. package/dist-types/ts3.4/models/enums.d.ts +69 -0
  178. package/dist-types/ts3.4/models/errors.d.ts +7 -0
  179. package/dist-types/ts3.4/models/models_0.d.ts +31 -28
  180. package/dist-types/ts3.4/models/models_1.d.ts +71 -90
  181. package/dist-types/ts3.4/models/models_2.d.ts +130 -194
  182. package/dist-types/ts3.4/models/models_3.d.ts +231 -214
  183. package/dist-types/ts3.4/models/models_4.d.ts +259 -126
  184. package/dist-types/ts3.4/models/models_5.d.ts +130 -1
  185. package/dist-types/ts3.4/pagination/ListClusterExtensionVersionsPaginator.d.ts +11 -0
  186. package/dist-types/ts3.4/pagination/ListClusterOperationsPaginator.d.ts +11 -0
  187. package/dist-types/ts3.4/pagination/ListInferenceRoutersPaginator.d.ts +11 -0
  188. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  189. package/dist-types/ts3.4/schemas/schemas_0.d.ts +48 -0
  190. package/package.json +1 -1
@@ -1,6 +1,125 @@
1
1
  import { AutomaticJsonStringConversion as __AutomaticJsonStringConversion } from "@smithy/core/serde";
2
- import type { AccountDefaultStatus, ActionStatus, ActivationState, AppInstanceType, AppNetworkAccessType, AppSecurityGroupManagement, AppType, AuthMode, AutoMountHomeEFS, AvailabilityZoneBalanceEnforcementMode, AwsManagedHumanLoopRequestSource, CapacityReservationPreference, ClusterConfigMode, ClusterFSxLustreDeletionPolicy, ClusterImageVersionStatus, ClusterInstanceType, ClusterNodeProvisioningMode, ClusterNodeRecovery, ClusterStatus, CollectionType, CompilationJobStatus, CompleteOnConvergence, ConditionOutcome, ContainerMode, ContentClassifier, DeepHealthCheckType, DeviceSubsetType, EdgePresetDeploymentType, ExecutionRoleIdentityConfig, ExecutionRoleSessionNameMode, FailureHandlingPolicy, FairShare, FeatureStatus, FeatureType, FlatInvocations, Framework, HomeEfsFileSystemCreation, HubContentType, HyperParameterScalingType, HyperParameterTuningAllocationStrategy, HyperParameterTuningJobObjectiveType, HyperParameterTuningJobStrategyType, HyperParameterTuningJobWarmStartType, IdleResourceSharing, InferenceComponentPlacementStrategy, InferenceExecutionMode, InferenceExperimentType, IPAddressType, JobCategory, JobType, ManagedInstanceScalingScaleInStrategy, ManagedInstanceScalingStatus, ManagedStorageType, MetricPublishFrequencyInSeconds, MlTools, ModelApprovalStatus, ModelCacheSetting, ModelCardStatus, ModelInfrastructureType, ModelPackageRegistrationType, ModelRegistrationMode, MonitoringProblemType, NotebookOutputOption, ParameterType, PreemptTeamTasks, ProblemType, ProcessingInstanceType, ProcessingS3DataDistributionType, ProcessingS3InputMode, ProcessingS3UploadMode, Processor, ProductionVariantAcceleratorType, ProductionVariantInferenceAmiVersion, ProductionVariantInstanceType, RecommendationJobSupportedEndpointType, RecommendationJobType, RepositoryAccessMode, ResourceSharingStrategy, RoutingStrategy, RStudioServerProAccessStatus, RStudioServerProUserGroup, SageMakerImageName, SchedulerResourceStatus, SkipModelValidation, StorageType, StudioWebPortal, TableFormat, TagPropagation, TargetDevice, TargetPlatformAccelerator, TargetPlatformArch, TargetPlatformOs, ThroughputMode, TrackingServerSize, TrafficType, TrainingInputMode, TrainingInstanceType, TrainingJobEarlyStoppingType, TtlDurationUnit, VendorGuidance } from "./enums";
3
- import type { AcceleratorPartitionLayout, ActionSource, AdditionalInferenceSpecificationDefinition, AdditionalModelDataSource, AdditionalS3DataSource, AIAdapterSource, AIBenchmarkNetworkConfig, AIBenchmarkOutputConfig, AIBenchmarkTarget, AIDatasetConfig, AIModelSource, AIRecommendationComputeSpec, AIRecommendationInferenceSpecification, AIRecommendationOutputConfig, AIRecommendationPerformanceTarget, AIWorkloadConfigs, AlgorithmValidationSpecification, AmazonQSettings, AnnotationConsolidationConfig, AppLifecycleManagement, ArtifactSource, AsyncInferenceConfig, AuthorizedUrl, AutoMLChannel, AutoMLComputeConfig, AutoMLDataSplitConfig, AutoMLJobChannel, AutoMLJobConfig, AutoMLJobObjective, AutoMLOutputDataConfig, AutoMLProblemTypeConfig, AutoMLSecurityConfig, AutoParameter, AutoRollbackConfig, Autotune, BatchTransformInput, BestObjectiveNotImproving, Bias, BlueGreenUpdatePolicy, CanvasAppSettings, CapacitySize, CaptureContentTypeHeader, CaptureOption, CategoricalParameter, CategoricalParameterRange, CategoricalParameterRangeSpecification, Channel, ChannelSpecification, CheckpointConfig, ClarifyExplainerConfig, ClusterAutoScalingConfig, ClusterInstanceGroupSpecification, ClusterInstanceStorageConfig, ClusterOrchestrator, ClusterRestrictedInstanceGroupsConfig, CodeEditorAppImageConfig, ComputeQuotaResourceConfig, FSxLustreConfig, InferenceSpecification, JupyterLabAppImageConfig, KernelGatewayImageConfig, MetricDefinition, MetricsSource, ModelDataSource, OutputDataConfig, ResourceConfig, ResourceSpec, ScheduledUpdateConfig, StoppingCondition, Tag, TransformJobDefinition, VpcConfig } from "./models_0";
2
+ import type { AccountDefaultStatus, ActionStatus, ActivationState, AppInstanceType, AppNetworkAccessType, AppSecurityGroupManagement, AppType, AuthMode, AutoMountHomeEFS, AvailabilityZoneBalanceEnforcementMode, AwsManagedHumanLoopRequestSource, CapacityReservationPreference, ClusterConfigMode, ClusterFSxLustreDeletionPolicy, ClusterImageVersionStatus, ClusterInstanceType, ClusterNodeProvisioningMode, ClusterNodeRecovery, ClusterStatus, CollectionType, CompilationJobStatus, CompleteOnConvergence, ConditionOutcome, ContainerMode, ContentClassifier, DeepHealthCheckType, DeviceSubsetType, EdgePresetDeploymentType, ExecutionRoleIdentityConfig, ExecutionRoleSessionNameMode, FailureHandlingPolicy, FairShare, FeatureStatus, FeatureType, FlatInvocations, Framework, HomeEfsFileSystemCreation, HubContentType, HyperParameterScalingType, HyperParameterTuningAllocationStrategy, HyperParameterTuningJobObjectiveType, HyperParameterTuningJobStrategyType, HyperParameterTuningJobWarmStartType, IdleResourceSharing, InferenceComponentPlacementStrategy, InferenceExecutionMode, InferenceExperimentType, InferenceRouterRoutingPreference, InstanceGroupStatus, IPAddressType, JobCategory, JobType, ManagedInstanceScalingScaleInStrategy, ManagedInstanceScalingStatus, MetricPublishFrequencyInSeconds, MlTools, ModelCacheSetting, ModelCardStatus, ModelInfrastructureType, ModelRegistrationMode, NotebookOutputOption, ParameterType, PreemptTeamTasks, ProblemType, ProcessingInstanceType, ProcessingS3DataDistributionType, ProcessingS3InputMode, ProcessingS3UploadMode, Processor, ProductionVariantAcceleratorType, ProductionVariantInferenceAmiVersion, ProductionVariantInstanceType, RecommendationJobSupportedEndpointType, RecommendationJobType, RepositoryAccessMode, ResourceSharingStrategy, RoutingStatus, RoutingStrategy, RStudioServerProAccessStatus, RStudioServerProUserGroup, SageMakerImageName, SchedulerResourceStatus, StorageType, StudioWebPortal, TableFormat, TagPropagation, TargetDevice, TargetPlatformAccelerator, TargetPlatformArch, TargetPlatformOs, ThroughputMode, TrackingServerSize, TrafficType, TrainingInputMode, TrainingInstanceType, TrainingJobEarlyStoppingType, TtlDurationUnit, VendorGuidance } from "./enums";
3
+ import type { AcceleratorPartitionLayout, ActionSource, AdditionalModelDataSource, AdditionalS3DataSource, AIAdapterSource, AIBenchmarkNetworkConfig, AIBenchmarkOutputConfig, AIBenchmarkTarget, AIDatasetConfig, AIModelSource, AIRecommendationComputeSpec, AIRecommendationInferenceSpecification, AIRecommendationOutputConfig, AIRecommendationPerformanceTarget, AIWorkloadConfigs, AlgorithmValidationSpecification, AmazonQSettings, AnnotationConsolidationConfig, AppLifecycleManagement, ArtifactSource, AsyncInferenceConfig, AuthorizedUrl, AutoMLChannel, AutoMLComputeConfig, AutoMLDataSplitConfig, AutoMLJobChannel, AutoMLJobConfig, AutoMLJobObjective, AutoMLOutputDataConfig, AutoMLProblemTypeConfig, AutoMLSecurityConfig, AutoParameter, AutoRollbackConfig, Autotune, BatchTransformInput, BestObjectiveNotImproving, BlueGreenUpdatePolicy, CanvasAppSettings, CapacitySize, CaptureContentTypeHeader, CaptureOption, CategoricalParameter, CategoricalParameterRange, CategoricalParameterRangeSpecification, Channel, ChannelSpecification, CheckpointConfig, ClarifyExplainerConfig, ClusterAutoScalingConfig, ClusterInstanceGroupSpecification, ClusterInstanceStorageConfig, ClusterOrchestrator, CodeEditorAppImageConfig, ComputeQuotaResourceConfig, FSxLustreConfig, InferenceSpecification, JupyterLabAppImageConfig, KernelGatewayImageConfig, MetricDefinition, MetricsSource, ModelDataSource, OutputDataConfig, ResourceConfig, ResourceSpec, ScheduledUpdateConfig, StoppingCondition, Tag, VpcConfig } from "./models_0";
4
+ /**
5
+ * <p>The configuration details for the restricted instance groups (RIG) environment.</p>
6
+ * @public
7
+ */
8
+ export interface EnvironmentConfigDetails {
9
+ /**
10
+ * <p>Configuration settings for an Amazon FSx for Lustre file system to be used with the cluster.</p>
11
+ * @public
12
+ */
13
+ FSxLustreConfig?: FSxLustreConfig | undefined;
14
+ /**
15
+ * <p>The Amazon S3 path where output data from the restricted instance group (RIG) environment will be stored.</p>
16
+ * @public
17
+ */
18
+ S3OutputPath?: string | undefined;
19
+ }
20
+ /**
21
+ * <p>The instance group details of the restricted instance group (RIG).</p>
22
+ * @public
23
+ */
24
+ export interface ClusterRestrictedInstanceGroupDetails {
25
+ /**
26
+ * <p>The number of instances that are currently in the restricted instance group of a SageMaker HyperPod cluster.</p>
27
+ * @public
28
+ */
29
+ CurrentCount?: number | undefined;
30
+ /**
31
+ * <p>The number of instances you specified to add to the restricted instance group of a SageMaker HyperPod cluster.</p>
32
+ * @public
33
+ */
34
+ TargetCount?: number | undefined;
35
+ /**
36
+ * <p>The name of the restricted instance group of a SageMaker HyperPod cluster.</p>
37
+ * @public
38
+ */
39
+ InstanceGroupName?: string | undefined;
40
+ /**
41
+ * <p>The instance type of the restricted instance group of a SageMaker HyperPod cluster.</p>
42
+ * @public
43
+ */
44
+ InstanceType?: ClusterInstanceType | undefined;
45
+ /**
46
+ * <p>The execution role for the restricted instance group to assume.</p>
47
+ * @public
48
+ */
49
+ ExecutionRole?: string | undefined;
50
+ /**
51
+ * <p>The number you specified to <code>TreadsPerCore</code> in <code>CreateCluster</code> for enabling or disabling multithreading. For instance types that support multithreading, you can specify 1 for disabling multithreading and 2 for enabling multithreading. For more information, see the reference table of <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/cpu-options-supported-instances-values.html">CPU cores and threads per CPU core per instance type</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
52
+ * @public
53
+ */
54
+ ThreadsPerCore?: number | undefined;
55
+ /**
56
+ * <p>The additional storage configurations for the instances in the SageMaker HyperPod cluster restricted instance group.</p>
57
+ * @public
58
+ */
59
+ InstanceStorageConfigs?: ClusterInstanceStorageConfig[] | undefined;
60
+ /**
61
+ * <p>A flag indicating whether deep health checks should be performed when the cluster's restricted instance group is created or updated.</p>
62
+ * @public
63
+ */
64
+ OnStartDeepHealthChecks?: DeepHealthCheckType[] | undefined;
65
+ /**
66
+ * <p>The current status of the cluster's restricted instance group.</p> <ul> <li> <p> <code>InService</code>: The restricted instance group is active and healthy.</p> </li> <li> <p> <code>Creating</code>: The restricted instance group is being provisioned.</p> </li> <li> <p> <code>Updating</code>: The restricted instance group is being updated.</p> </li> <li> <p> <code>Failed</code>: The restricted instance group has failed to provision or is no longer healthy.</p> </li> <li> <p> <code>Degraded</code>: The restricted instance group is degraded, meaning that some instances have failed to provision or are no longer healthy.</p> </li> <li> <p> <code>Deleting</code>: The restricted instance group is being deleted.</p> </li> </ul>
67
+ * @public
68
+ */
69
+ Status?: InstanceGroupStatus | undefined;
70
+ /**
71
+ * <p>The Amazon Resource Name (ARN) of the training plan to filter clusters by. For more information about reserving GPU capacity for your SageMaker HyperPod clusters using Amazon SageMaker Training Plan, see <code> <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateTrainingPlan.html">CreateTrainingPlan</a> </code>.</p>
72
+ * @public
73
+ */
74
+ TrainingPlanArn?: string | undefined;
75
+ /**
76
+ * <p>The current status of the training plan associated with this cluster restricted instance group.</p>
77
+ * @public
78
+ */
79
+ TrainingPlanStatus?: string | undefined;
80
+ /**
81
+ * <p>Specifies an Amazon Virtual Private Cloud (VPC) that your SageMaker jobs, hosted models, and compute resources have access to. You can control access to and from your resources by configuring a VPC. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/infrastructure-give-access.html">Give SageMaker Access to Resources in your Amazon VPC</a>. </p>
82
+ * @public
83
+ */
84
+ OverrideVpcConfig?: VpcConfig | undefined;
85
+ /**
86
+ * <p>The configuration object of the schedule that SageMaker follows when updating the AMI.</p>
87
+ * @public
88
+ */
89
+ ScheduledUpdateConfig?: ScheduledUpdateConfig | undefined;
90
+ /**
91
+ * <p>The configuration for the restricted instance groups (RIG) environment.</p>
92
+ * @public
93
+ */
94
+ EnvironmentConfig?: EnvironmentConfigDetails | undefined;
95
+ }
96
+ /**
97
+ * <p>The shared environment configuration for the restricted instance groups (RIG).</p>
98
+ * @public
99
+ */
100
+ export interface ClusterSharedEnvironmentConfig {
101
+ /**
102
+ * <p>The deletion policy for the Amazon FSx for Lustre file system in the shared environment.</p>
103
+ * @public
104
+ */
105
+ FSxLustreDeletionPolicy: ClusterFSxLustreDeletionPolicy | undefined;
106
+ /**
107
+ * <p>Configuration settings for an Amazon FSx for Lustre file system in the shared environment.</p>
108
+ * @public
109
+ */
110
+ FSxLustreConfig: FSxLustreConfig | undefined;
111
+ }
112
+ /**
113
+ * <p>The configuration for the restricted instance groups (RIG) in the SageMaker HyperPod cluster.</p>
114
+ * @public
115
+ */
116
+ export interface ClusterRestrictedInstanceGroupsConfig {
117
+ /**
118
+ * <p>The shared environment configuration for the restricted instance groups (RIG).</p>
119
+ * @public
120
+ */
121
+ SharedEnvironmentConfig: ClusterSharedEnvironmentConfig | undefined;
122
+ }
4
123
  /**
5
124
  * <p>The shared environment configuration details for the restricted instance groups (RIG).</p>
6
125
  * @public
@@ -3459,6 +3578,22 @@ export interface CreateEndpointOutput {
3459
3578
  */
3460
3579
  EndpointArn: string | undefined;
3461
3580
  }
3581
+ /**
3582
+ * <p>The cross-Region traffic cap for an endpoint. The cap limits the requests per second that the endpoint accepts from inference routers in other Amazon Web Services Regions. The cap is <code>MaxCrossRegionPercentPerEndpoint</code> percent of <code>MaxInvocationsPerSecondPerInstance</code> multiplied by the number of <code>InService</code> instances, rounded up. All production variants and inference components of the endpoint share it. Requests that you send to the endpoint directly aren't counted. A request over the cap fails with a <code>ThrottlingException</code>.</p>
3583
+ * @public
3584
+ */
3585
+ export interface CrossRegionTrafficConfig {
3586
+ /**
3587
+ * <p>The number of invocations per second that you expect one <code>InService</code> instance to serve. One value applies to every production variant, whatever its instance type.</p>
3588
+ * @public
3589
+ */
3590
+ MaxInvocationsPerSecondPerInstance: number | undefined;
3591
+ /**
3592
+ * <p>The percentage of the endpoint's capacity that requests from inference routers in other Amazon Web Services Regions can use.</p>
3593
+ * @public
3594
+ */
3595
+ MaxCrossRegionPercentPerEndpoint: number | undefined;
3596
+ }
3462
3597
  /**
3463
3598
  * <p>Configuration to control how SageMaker AI captures inference data.</p>
3464
3599
  * @public
@@ -3649,7 +3784,7 @@ export interface PrefixAwareRoutingConfig {
3649
3784
  */
3650
3785
  export interface ProductionVariantRoutingConfig {
3651
3786
  /**
3652
- * <p>Sets how the endpoint routes incoming traffic:</p> <ul> <li> <p> <code>LEAST_OUTSTANDING_REQUESTS</code>: The endpoint routes requests to the specific instances that have more capacity to process them.</p> </li> <li> <p> <code>RANDOM</code>: The endpoint routes each request to a randomly chosen instance.</p> </li> <li> <p> <code>PREFIX_AWARE</code>: The endpoint routes requests that share the same prompt prefix to the same instance and, when that instance hosts more than one copy of the invoked inference component, to the same copy. When the number of in-flight requests on the selected instance or copy reaches the <code>ConcurrencyThreshold</code> value, the endpoint routes the request to another copy on that instance or to another instance. The endpoint applies prefix-aware routing only when two or more instances can serve the request.</p> </li> </ul>
3787
+ * <p>Sets how the endpoint routes incoming traffic:</p> <ul> <li> <p> <code>LEAST_OUTSTANDING_REQUESTS</code>: The endpoint routes requests to the specific instances that have more capacity to process them.</p> </li> <li> <p> <code>RANDOM</code>: The endpoint routes each request to a randomly chosen instance.</p> </li> <li> <p> <code>PREFIX_AWARE</code>: The endpoint routes requests that share the same prompt prefix to the same instance and, when that instance hosts more than one copy of the invoked inference component, to the same copy. When the number of in-flight requests on the selected instance or copy reaches the <code>ConcurrencyThreshold</code> value, the endpoint routes the request to another copy on that instance or to another instance. The endpoint applies prefix-aware routing only when two or more instances can serve the request.</p> </li> <li> <p> <code>KV_AWARE</code>: The endpoint routes each request to an instance that already holds the start of the request's prompt in its key-value (KV) cache, and weighs the length of that match against how busy each instance is. On an endpoint with inference components, the endpoint chooses among the copies of the invoked inference component in the same way. When the endpoint can't find an instance or copy that holds the start of the prompt and isn't too busy, it chooses an instance as it does with <code>LEAST_OUTSTANDING_REQUESTS</code>. <code>KV_AWARE</code> works only with supported containers, such as the SageMaker AI vLLM Deep Learning Container.</p> </li> </ul>
3653
3788
  * @public
3654
3789
  */
3655
3790
  RoutingStrategy: RoutingStrategy | undefined;
@@ -3845,6 +3980,11 @@ export interface CreateEndpointConfigInput {
3845
3980
  * @public
3846
3981
  */
3847
3982
  MetricsConfig?: MetricsConfig | undefined;
3983
+ /**
3984
+ * <p>The cross-Region traffic cap for the endpoint. The cap limits the requests per second that the endpoint accepts from inference routers in other Amazon Web Services Regions. If you don't specify it, these requests aren't limited. You can't specify it with serverless variants or with <code>AsyncInferenceConfig</code>. For information about the cross-Region traffic cap, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/inference-router.html#inference-router-cross-region-limit">Limit requests from other Regions</a>.</p>
3985
+ * @public
3986
+ */
3987
+ CrossRegionTrafficConfig?: CrossRegionTrafficConfig | undefined;
3848
3988
  }
3849
3989
  /**
3850
3990
  * @public
@@ -5868,6 +6008,152 @@ export interface CreateInferenceRecommendationsJobResponse {
5868
6008
  */
5869
6009
  JobArn: string | undefined;
5870
6010
  }
6011
+ /**
6012
+ * <p>How the inference router submits asynchronous requests to the destinations of a routing target.</p>
6013
+ * @public
6014
+ */
6015
+ export interface RoutingTargetAsyncInferenceClientConfig {
6016
+ /**
6017
+ * <p>The maximum time, in seconds, that a request can wait at a destination before the inference router moves it to another destination. The default is 900 seconds.</p>
6018
+ * @public
6019
+ */
6020
+ MaxTimeInBacklogSeconds?: number | undefined;
6021
+ }
6022
+ /**
6023
+ * <p>The Amazon SNS topics that the inference router publishes to. The router publishes one notification for each request. The notification contains the location of the result, not the result itself. The destination endpoints also send their own notifications, if they're configured to.</p>
6024
+ * @public
6025
+ */
6026
+ export interface RoutingTargetAsyncInferenceNotificationConfig {
6027
+ /**
6028
+ * <p>The ARN of the Amazon SNS topic to publish to when a request completes. The topic must be a standard topic, and can be in any Amazon Web Services Region.</p>
6029
+ * @public
6030
+ */
6031
+ SuccessTopic?: string | undefined;
6032
+ /**
6033
+ * <p>The ARN of the Amazon SNS topic to publish to when a request fails, or when the router can't place it on any destination. The topic must be a standard topic, and can be in any Amazon Web Services Region.</p>
6034
+ * @public
6035
+ */
6036
+ ErrorTopic?: string | undefined;
6037
+ }
6038
+ /**
6039
+ * <p>The output settings for the asynchronous requests of a routing target. Every destination writes to the same locations. <code>CreateInferenceRouter</code> and <code>UpdateInferenceRouter</code> don't check who owns the buckets. If another account owns the output bucket, requests fail.</p>
6040
+ * @public
6041
+ */
6042
+ export interface RoutingTargetAsyncInferenceOutputConfig {
6043
+ /**
6044
+ * <p>The Amazon S3 location for the results of successful requests. The bucket must be in the inference router's Amazon Web Services Region and owned by the router's account.</p>
6045
+ * @public
6046
+ */
6047
+ S3OutputPath: string | undefined;
6048
+ /**
6049
+ * <p>The Amazon S3 location for the failure details of failed requests. The bucket must be in the inference router's Amazon Web Services Region and owned by the router's account.</p>
6050
+ * @public
6051
+ */
6052
+ S3FailurePath: string | undefined;
6053
+ /**
6054
+ * <p>The KMS key that encrypts the results in Amazon S3. You can specify a key ID, key ARN, alias name, or alias ARN. If any destination is in a different account or Amazon Web Services Region from the inference router, specify a key ARN or an alias ARN.</p>
6055
+ * @public
6056
+ */
6057
+ KmsKeyId?: string | undefined;
6058
+ /**
6059
+ * <p>The Amazon SNS topics that the inference router publishes to when a request completes or fails.</p>
6060
+ * @public
6061
+ */
6062
+ NotificationConfig?: RoutingTargetAsyncInferenceNotificationConfig | undefined;
6063
+ }
6064
+ /**
6065
+ * <p>The asynchronous inference settings of a routing target.</p>
6066
+ * @public
6067
+ */
6068
+ export interface RoutingTargetAsyncInferenceConfig {
6069
+ /**
6070
+ * <p>The Amazon S3 locations for the results of asynchronous requests, and the notification settings.</p>
6071
+ * @public
6072
+ */
6073
+ OutputConfig: RoutingTargetAsyncInferenceOutputConfig | undefined;
6074
+ /**
6075
+ * <p>How the inference router submits requests to destinations.</p>
6076
+ * @public
6077
+ */
6078
+ ClientConfig?: RoutingTargetAsyncInferenceClientConfig | undefined;
6079
+ }
6080
+ /**
6081
+ * <p>An endpoint or inference component that serves a routing target.</p>
6082
+ * @public
6083
+ */
6084
+ export interface Destination {
6085
+ /**
6086
+ * <p>The Amazon Resource Name (ARN) of the endpoint or inference component. The destination can be in any account, and in any Amazon Web Services Region in the same partition as the inference router. To use a destination in another account, its owner must allow your account to invoke it through your router, in an endpoint policy.</p>
6087
+ * @public
6088
+ */
6089
+ ResourceArn: string | undefined;
6090
+ /**
6091
+ * <p>Whether the inference router can send requests to the destination, as checked when you called <code>DescribeInferenceRouter</code>. This value isn't the destination's own status. SageMaker AI ignores this field in <code>CreateInferenceRouter</code> and <code>UpdateInferenceRouter</code> requests.</p> <dl> <dt>Routable</dt> <dd> <p>The destination is serving and the router can send it requests. A routable destination can still be overloaded.</p> </dd> <dt>Unroutable</dt> <dd> <p>The destination can't serve requests. For example, it's being created or has failed, or it has no capacity and no way to get any. A destination in your account that doesn't exist is also <code>Unroutable</code>.</p> </dd> <dt>Unknown</dt> <dd> <p>SageMaker AI couldn't check the destination, for example because you aren't allowed to describe it or the check timed out. The destination might still be serving.</p> </dd> </dl>
6092
+ * @public
6093
+ */
6094
+ RoutingStatus?: RoutingStatus | undefined;
6095
+ }
6096
+ /**
6097
+ * <p>A model that an inference router serves, and the destinations that can serve it. When you invoke the router, you name the routing target, and the router sends the request to one of its destinations.</p> <p>Every destination in a routing target must serve the same model, with the same request and response format.</p>
6098
+ * @public
6099
+ */
6100
+ export interface RoutingTarget {
6101
+ /**
6102
+ * <p>The name of the routing target. Callers specify this name in the <code>RoutingTargetName</code> parameter when they invoke the inference router. The name must be unique within the router.</p>
6103
+ * @public
6104
+ */
6105
+ Name: string | undefined;
6106
+ /**
6107
+ * <p>The endpoints and inference components that serve the routing target. Each destination can appear only once in a routing target.</p> <p>In an asynchronous routing target, every destination must be an asynchronous inference endpoint. In a real-time routing target, no destination can be one. SageMaker AI checks an endpoint in another account with your credentials, so both your IAM policy and the endpoint policy must allow <code>sagemaker:DescribeEndpoint</code>. If an endpoint can't be checked, for example because it isn't found or can't be read in time, it's accepted, and requests to it fail if it's the wrong mode.</p>
6108
+ * @public
6109
+ */
6110
+ Destinations: Destination[] | undefined;
6111
+ /**
6112
+ * <p>The asynchronous inference settings of the routing target. Specify this setting to make the routing target asynchronous. If you omit it, the routing target serves real-time requests.</p> <p>Asynchronous routing targets aren't available in all Amazon Web Services Regions. For information about asynchronous routing targets and Region availability, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/inference-router-async.html">Send asynchronous requests through an inference router</a>.</p> <p>Because <code>UpdateInferenceRouter</code> replaces all routing targets, include this setting in every update of an asynchronous routing target.</p> <p>For information about asynchronous routing targets, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/inference-router-async.html">Send asynchronous requests through an inference router</a>.</p>
6113
+ * @public
6114
+ */
6115
+ AsyncInferenceConfig?: RoutingTargetAsyncInferenceConfig | undefined;
6116
+ /**
6117
+ * <p>How the inference router chooses among the routing target's destinations. The default is <code>LocalRegionFirst</code>.</p> <dl> <dt>LocalRegionFirst</dt> <dd> <p>The router uses destinations in its own Region first. When the request leaves the Region, the router spreads it across healthy destinations in other Regions.</p> </dd> <dt>InstancePoolOrder</dt> <dd> <p>The router prefers destinations by instance type first and by Region second. Every destination must be an endpoint that lists the same two or more instance types, each with a different priority, in the same priority order. This value is supported only for asynchronous routing targets.</p> </dd> </dl> <p>With either value, the router uses destinations whose health or capacity is reduced after the others, but doesn't exclude them.</p>
6118
+ * @public
6119
+ */
6120
+ RoutingPreference?: InferenceRouterRoutingPreference | undefined;
6121
+ }
6122
+ /**
6123
+ * @public
6124
+ */
6125
+ export interface CreateInferenceRouterInput {
6126
+ /**
6127
+ * <p>The name of the inference router. The name must be unique within your account in the current Amazon Web Services Region. The name is case sensitive.</p>
6128
+ * @public
6129
+ */
6130
+ InferenceRouterName: string | undefined;
6131
+ /**
6132
+ * <p>The routing targets of the inference router. Each routing target is a model that callers name when they invoke the router, and the destinations that serve it.</p>
6133
+ * @public
6134
+ */
6135
+ RoutingTargets: RoutingTarget[] | undefined;
6136
+ /**
6137
+ * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you reuse a client token, use the same request parameters. Otherwise, the request fails.</p>
6138
+ * @public
6139
+ */
6140
+ ClientToken?: string | undefined;
6141
+ /**
6142
+ * <p>A list of key-value pairs to apply to the inference router. For information about tagging, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services resources</a> in the <i>Amazon Web Services General Reference</i>.</p>
6143
+ * @public
6144
+ */
6145
+ Tags?: Tag[] | undefined;
6146
+ }
6147
+ /**
6148
+ * @public
6149
+ */
6150
+ export interface CreateInferenceRouterOutput {
6151
+ /**
6152
+ * <p>The Amazon Resource Name (ARN) of the inference router.</p>
6153
+ * @public
6154
+ */
6155
+ InferenceRouterArn: string | undefined;
6156
+ }
5871
6157
  /**
5872
6158
  * @public
5873
6159
  */
@@ -6919,352 +7205,3 @@ export interface ModelDataQuality {
6919
7205
  */
6920
7206
  Constraints?: MetricsSource | undefined;
6921
7207
  }
6922
- /**
6923
- * <p>Model quality statistics and constraints.</p>
6924
- * @public
6925
- */
6926
- export interface ModelQuality {
6927
- /**
6928
- * <p>Model quality statistics.</p>
6929
- * @public
6930
- */
6931
- Statistics?: MetricsSource | undefined;
6932
- /**
6933
- * <p>Model quality constraints.</p>
6934
- * @public
6935
- */
6936
- Constraints?: MetricsSource | undefined;
6937
- }
6938
- /**
6939
- * <p>Contains metrics captured from a model.</p>
6940
- * @public
6941
- */
6942
- export interface ModelMetrics {
6943
- /**
6944
- * <p>Metrics that measure the quality of a model.</p>
6945
- * @public
6946
- */
6947
- ModelQuality?: ModelQuality | undefined;
6948
- /**
6949
- * <p>Metrics that measure the quality of the input data for a model.</p>
6950
- * @public
6951
- */
6952
- ModelDataQuality?: ModelDataQuality | undefined;
6953
- /**
6954
- * <p>Metrics that measure bias in a model.</p>
6955
- * @public
6956
- */
6957
- Bias?: Bias | undefined;
6958
- /**
6959
- * <p>Metrics that help explain a model.</p>
6960
- * @public
6961
- */
6962
- Explainability?: Explainability | undefined;
6963
- }
6964
- /**
6965
- * <p>An optional Key Management Service key to encrypt, decrypt, and re-encrypt model package information for regulated workloads with highly sensitive data.</p>
6966
- * @public
6967
- */
6968
- export interface ModelPackageSecurityConfig {
6969
- /**
6970
- * <p>The KMS Key ID (<code>KMSKeyId</code>) used for encryption of model package information.</p>
6971
- * @public
6972
- */
6973
- KmsKeyId: string | undefined;
6974
- }
6975
- /**
6976
- * <p>Specifies an algorithm that was used to create the model package. The algorithm must be either an algorithm resource in your SageMaker account or an algorithm in Amazon Web Services Marketplace that you are subscribed to.</p>
6977
- * @public
6978
- */
6979
- export interface SourceAlgorithm {
6980
- /**
6981
- * <p>The Amazon S3 path where the model artifacts, which result from model training, are stored. This path must point to a single <code>gzip</code> compressed tar archive (<code>.tar.gz</code> suffix).</p> <note> <p>The model artifacts must be in an S3 bucket that is in the same Amazon Web Services region as the algorithm.</p> </note>
6982
- * @public
6983
- */
6984
- ModelDataUrl?: string | undefined;
6985
- /**
6986
- * <p>Specifies the location of ML model data to deploy during endpoint creation.</p>
6987
- * @public
6988
- */
6989
- ModelDataSource?: ModelDataSource | undefined;
6990
- /**
6991
- * <p>The ETag associated with Model Data URL.</p>
6992
- * @public
6993
- */
6994
- ModelDataETag?: string | undefined;
6995
- /**
6996
- * <p>The name of an algorithm that was used to create the model package. The algorithm must be either an algorithm resource in your SageMaker account or an algorithm in Amazon Web Services Marketplace that you are subscribed to.</p>
6997
- * @public
6998
- */
6999
- AlgorithmName: string | undefined;
7000
- }
7001
- /**
7002
- * <p>A list of algorithms that were used to create a model package.</p>
7003
- * @public
7004
- */
7005
- export interface SourceAlgorithmSpecification {
7006
- /**
7007
- * <p>A list of the algorithms that were used to create a model package.</p>
7008
- * @public
7009
- */
7010
- SourceAlgorithms: SourceAlgorithm[] | undefined;
7011
- }
7012
- /**
7013
- * <p>Contains data, such as the inputs and targeted instance types that are used in the process of validating the model package.</p> <p>The data provided in the validation profile is made available to your buyers on Amazon Web Services Marketplace.</p>
7014
- * @public
7015
- */
7016
- export interface ModelPackageValidationProfile {
7017
- /**
7018
- * <p>The name of the profile for the model package.</p>
7019
- * @public
7020
- */
7021
- ProfileName: string | undefined;
7022
- /**
7023
- * <p>The <code>TransformJobDefinition</code> object that describes the transform job used for the validation of the model package.</p>
7024
- * @public
7025
- */
7026
- TransformJobDefinition: TransformJobDefinition | undefined;
7027
- }
7028
- /**
7029
- * <p>Specifies batch transform jobs that SageMaker runs to validate your model package.</p>
7030
- * @public
7031
- */
7032
- export interface ModelPackageValidationSpecification {
7033
- /**
7034
- * <p>The IAM roles to be used for the validation of the model package.</p>
7035
- * @public
7036
- */
7037
- ValidationRole: string | undefined;
7038
- /**
7039
- * <p>An array of <code>ModelPackageValidationProfile</code> objects, each of which specifies a batch transform job that SageMaker runs to validate your model package.</p>
7040
- * @public
7041
- */
7042
- ValidationProfiles: ModelPackageValidationProfile[] | undefined;
7043
- }
7044
- /**
7045
- * @public
7046
- */
7047
- export interface CreateModelPackageInput {
7048
- /**
7049
- * <p>The name of the model package. The name must have 1 to 63 characters. Valid characters are a-z, A-Z, 0-9, and - (hyphen).</p> <p>This parameter is required for unversioned models. It is not applicable to versioned models.</p>
7050
- * @public
7051
- */
7052
- ModelPackageName?: string | undefined;
7053
- /**
7054
- * <p>The name or Amazon Resource Name (ARN) of the model package group that this model version belongs to.</p> <p>This parameter is required for versioned models, and does not apply to unversioned models.</p>
7055
- * @public
7056
- */
7057
- ModelPackageGroupName?: string | undefined;
7058
- /**
7059
- * <p>A description of the model package.</p>
7060
- * @public
7061
- */
7062
- ModelPackageDescription?: string | undefined;
7063
- /**
7064
- * <p> The package registration type of the model package input. </p>
7065
- * @public
7066
- */
7067
- ModelPackageRegistrationType?: ModelPackageRegistrationType | undefined;
7068
- /**
7069
- * <p>Specifies details about inference jobs that you can run with models based on this model package, including the following information:</p> <ul> <li> <p>The Amazon ECR paths of containers that contain the inference code and model artifacts.</p> </li> <li> <p>The instance types that the model package supports for transform jobs and real-time endpoints used for inference.</p> </li> <li> <p>The input and output content formats that the model package supports for inference.</p> </li> </ul>
7070
- * @public
7071
- */
7072
- InferenceSpecification?: InferenceSpecification | undefined;
7073
- /**
7074
- * <p>Specifies configurations for one or more transform jobs that SageMaker runs to test the model package.</p>
7075
- * @public
7076
- */
7077
- ValidationSpecification?: ModelPackageValidationSpecification | undefined;
7078
- /**
7079
- * <p>Details about the algorithm that was used to create the model package.</p>
7080
- * @public
7081
- */
7082
- SourceAlgorithmSpecification?: SourceAlgorithmSpecification | undefined;
7083
- /**
7084
- * <p>Whether to certify the model package for listing on Amazon Web Services Marketplace.</p> <p>This parameter is optional for unversioned models, and does not apply to versioned models.</p>
7085
- * @public
7086
- */
7087
- CertifyForMarketplace?: boolean | undefined;
7088
- /**
7089
- * <p>A list of key value pairs associated with the model. For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services resources</a> in the <i>Amazon Web Services General Reference Guide</i>.</p> <p>If you supply <code>ModelPackageGroupName</code>, your model package belongs to the model group you specify and uses the tags associated with the model group. In this case, you cannot supply a <code>tag</code> argument. </p>
7090
- * @public
7091
- */
7092
- Tags?: Tag[] | undefined;
7093
- /**
7094
- * <p>Whether the model is approved for deployment.</p> <p>This parameter is optional for versioned models, and does not apply to unversioned models.</p> <p>For versioned models, the value of this parameter must be set to <code>Approved</code> to deploy the model.</p>
7095
- * @public
7096
- */
7097
- ModelApprovalStatus?: ModelApprovalStatus | undefined;
7098
- /**
7099
- * <p>Metadata properties of the tracking entity, trial, or trial component.</p>
7100
- * @public
7101
- */
7102
- MetadataProperties?: MetadataProperties | undefined;
7103
- /**
7104
- * <p>A structure that contains model metrics reports.</p>
7105
- * @public
7106
- */
7107
- ModelMetrics?: ModelMetrics | undefined;
7108
- /**
7109
- * <p>A unique token that guarantees that the call to this API is idempotent.</p>
7110
- * @public
7111
- */
7112
- ClientToken?: string | undefined;
7113
- /**
7114
- * <p>The machine learning domain of your model package and its components. Common machine learning domains include computer vision and natural language processing.</p>
7115
- * @public
7116
- */
7117
- Domain?: string | undefined;
7118
- /**
7119
- * <p>The machine learning task your model package accomplishes. Common machine learning tasks include object detection and image classification. The following tasks are supported by Inference Recommender: <code>"IMAGE_CLASSIFICATION"</code> | <code>"OBJECT_DETECTION"</code> | <code>"TEXT_GENERATION"</code> |<code>"IMAGE_SEGMENTATION"</code> | <code>"FILL_MASK"</code> | <code>"CLASSIFICATION"</code> | <code>"REGRESSION"</code> | <code>"OTHER"</code>.</p> <p>Specify "OTHER" if none of the tasks listed fit your use case.</p>
7120
- * @public
7121
- */
7122
- Task?: string | undefined;
7123
- /**
7124
- * <p>The Amazon Simple Storage Service (Amazon S3) path where the sample payload is stored. This path must point to a single gzip compressed tar archive (.tar.gz suffix). This archive can hold multiple files that are all equally used in the load test. Each file in the archive must satisfy the size constraints of the <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_runtime_InvokeEndpoint.html#API_runtime_InvokeEndpoint_RequestSyntax">InvokeEndpoint</a> call.</p>
7125
- * @public
7126
- */
7127
- SamplePayloadUrl?: string | undefined;
7128
- /**
7129
- * <p>The metadata properties associated with the model package versions.</p>
7130
- * @public
7131
- */
7132
- CustomerMetadataProperties?: Record<string, string> | undefined;
7133
- /**
7134
- * <p>Represents the drift check baselines that can be used when the model monitor is set using the model package. For more information, see the topic on <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/pipelines-quality-clarify-baseline-lifecycle.html#pipelines-quality-clarify-baseline-drift-detection">Drift Detection against Previous Baselines in SageMaker Pipelines</a> in the <i>Amazon SageMaker Developer Guide</i>. </p>
7135
- * @public
7136
- */
7137
- DriftCheckBaselines?: DriftCheckBaselines | undefined;
7138
- /**
7139
- * <p>An array of additional Inference Specification objects. Each additional Inference Specification specifies artifacts based on this model package that can be used on inference endpoints. Generally used with SageMaker Neo to store the compiled artifacts. </p>
7140
- * @public
7141
- */
7142
- AdditionalInferenceSpecifications?: AdditionalInferenceSpecificationDefinition[] | undefined;
7143
- /**
7144
- * <p>Indicates if you want to skip model validation.</p>
7145
- * @public
7146
- */
7147
- SkipModelValidation?: SkipModelValidation | undefined;
7148
- /**
7149
- * <p>The URI of the source for the model package. If you want to clone a model package, set it to the model package Amazon Resource Name (ARN). If you want to register a model, set it to the model ARN.</p>
7150
- * @public
7151
- */
7152
- SourceUri?: string | undefined;
7153
- /**
7154
- * <p>The KMS Key ID (<code>KMSKeyId</code>) used for encryption of model package information.</p>
7155
- * @public
7156
- */
7157
- SecurityConfig?: ModelPackageSecurityConfig | undefined;
7158
- /**
7159
- * <p>The model card associated with the model package. Since <code>ModelPackageModelCard</code> is tied to a model package, it is a specific usage of a model card and its schema is simplified compared to the schema of <code>ModelCard</code>. The <code>ModelPackageModelCard</code> schema does not include <code>model_package_details</code>, and <code>model_overview</code> is composed of the <code>model_creator</code> and <code>model_artifact</code> properties. For more information about the model package model card schema, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/model-registry-details.html#model-card-schema">Model package model card schema</a>. For more information about the model card associated with the model package, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/model-registry-details.html">View the Details of a Model Version</a>.</p>
7160
- * @public
7161
- */
7162
- ModelCard?: ModelPackageModelCard | undefined;
7163
- /**
7164
- * <p> A structure describing the current state of the model in its life cycle. </p>
7165
- * @public
7166
- */
7167
- ModelLifeCycle?: ModelLifeCycle | undefined;
7168
- /**
7169
- * <p>The storage type of the model package.</p>
7170
- * @public
7171
- */
7172
- ManagedStorageType?: ManagedStorageType | undefined;
7173
- }
7174
- /**
7175
- * @public
7176
- */
7177
- export interface CreateModelPackageOutput {
7178
- /**
7179
- * <p>The Amazon Resource Name (ARN) of the new model package.</p>
7180
- * @public
7181
- */
7182
- ModelPackageArn: string | undefined;
7183
- }
7184
- /**
7185
- * <p>The managed configuration of a model package group.</p>
7186
- * @public
7187
- */
7188
- export interface ManagedConfiguration {
7189
- /**
7190
- * <p>The storage type of the model package.</p>
7191
- * @public
7192
- */
7193
- ManagedStorageType?: ManagedStorageType | undefined;
7194
- }
7195
- /**
7196
- * @public
7197
- */
7198
- export interface CreateModelPackageGroupInput {
7199
- /**
7200
- * <p>The name of the model group.</p>
7201
- * @public
7202
- */
7203
- ModelPackageGroupName: string | undefined;
7204
- /**
7205
- * <p>A description for the model group.</p>
7206
- * @public
7207
- */
7208
- ModelPackageGroupDescription?: string | undefined;
7209
- /**
7210
- * <p>A list of key value pairs associated with the model group. For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services resources</a> in the <i>Amazon Web Services General Reference Guide</i>.</p>
7211
- * @public
7212
- */
7213
- Tags?: Tag[] | undefined;
7214
- /**
7215
- * <p>The managed configuration of the model package group.</p>
7216
- * @public
7217
- */
7218
- ManagedConfiguration?: ManagedConfiguration | undefined;
7219
- }
7220
- /**
7221
- * @public
7222
- */
7223
- export interface CreateModelPackageGroupOutput {
7224
- /**
7225
- * <p>The Amazon Resource Name (ARN) of the model group.</p>
7226
- * @public
7227
- */
7228
- ModelPackageGroupArn: string | undefined;
7229
- }
7230
- /**
7231
- * <p>Container image configuration object for the monitoring job.</p>
7232
- * @public
7233
- */
7234
- export interface ModelQualityAppSpecification {
7235
- /**
7236
- * <p>The address of the container image that the monitoring job runs.</p>
7237
- * @public
7238
- */
7239
- ImageUri: string | undefined;
7240
- /**
7241
- * <p>Specifies the entrypoint for a container that the monitoring job runs.</p>
7242
- * @public
7243
- */
7244
- ContainerEntrypoint?: string[] | undefined;
7245
- /**
7246
- * <p>An array of arguments for the container used to run the monitoring job.</p>
7247
- * @public
7248
- */
7249
- ContainerArguments?: string[] | undefined;
7250
- /**
7251
- * <p>An Amazon S3 URI to a script that is called per row prior to running analysis. It can base64 decode the payload and convert it into a flattened JSON so that the built-in container can use the converted data. Applicable only for the built-in (first party) containers.</p>
7252
- * @public
7253
- */
7254
- RecordPreprocessorSourceUri?: string | undefined;
7255
- /**
7256
- * <p>An Amazon S3 URI to a script that is called after analysis has been performed. Applicable only for the built-in (first party) containers.</p>
7257
- * @public
7258
- */
7259
- PostAnalyticsProcessorSourceUri?: string | undefined;
7260
- /**
7261
- * <p>The machine learning problem type of the model that the monitoring job monitors.</p>
7262
- * @public
7263
- */
7264
- ProblemType?: MonitoringProblemType | undefined;
7265
- /**
7266
- * <p>Sets the environment variables in the container that the monitoring job runs.</p>
7267
- * @public
7268
- */
7269
- Environment?: Record<string, string> | undefined;
7270
- }