@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
@@ -3651,6 +3651,7 @@ export type ManagedInstanceScalingStatus = (typeof ManagedInstanceScalingStatus)
3651
3651
  * @enum
3652
3652
  */
3653
3653
  export declare const RoutingStrategy: {
3654
+ readonly KV_AWARE: "KV_AWARE";
3654
3655
  readonly LEAST_OUTSTANDING_REQUESTS: "LEAST_OUTSTANDING_REQUESTS";
3655
3656
  readonly PREFIX_AWARE: "PREFIX_AWARE";
3656
3657
  readonly RANDOM: "RANDOM";
@@ -3910,6 +3911,46 @@ export declare const FlatInvocations: {
3910
3911
  * @public
3911
3912
  */
3912
3913
  export type FlatInvocations = (typeof FlatInvocations)[keyof typeof FlatInvocations];
3914
+ /**
3915
+ * @public
3916
+ * @enum
3917
+ */
3918
+ export declare const RoutingStatus: {
3919
+ /**
3920
+ * <p>The destination is serving, and the inference router can send it requests.</p>
3921
+ */
3922
+ readonly ROUTABLE: "Routable";
3923
+ /**
3924
+ * <p>SageMaker AI couldn't check the destination. The destination might be serving.</p>
3925
+ */
3926
+ readonly UNKNOWN: "Unknown";
3927
+ /**
3928
+ * <p>The destination can't serve requests now, or it doesn't exist in your account.</p>
3929
+ */
3930
+ readonly UNROUTABLE: "Unroutable";
3931
+ };
3932
+ /**
3933
+ * @public
3934
+ */
3935
+ export type RoutingStatus = (typeof RoutingStatus)[keyof typeof RoutingStatus];
3936
+ /**
3937
+ * @public
3938
+ * @enum
3939
+ */
3940
+ export declare const InferenceRouterRoutingPreference: {
3941
+ /**
3942
+ * <p>Prefer destinations by instance type first and by Region second. Supported only for asynchronous routing targets.</p>
3943
+ */
3944
+ readonly INSTANCE_POOL_ORDER: "InstancePoolOrder";
3945
+ /**
3946
+ * <p>Use destinations in the inference router's own Region first. When the request leaves the Region, the router spreads it across healthy destinations in other Regions.</p>
3947
+ */
3948
+ readonly LOCAL_REGION_FIRST: "LocalRegionFirst";
3949
+ };
3950
+ /**
3951
+ * @public
3952
+ */
3953
+ export type InferenceRouterRoutingPreference = (typeof InferenceRouterRoutingPreference)[keyof typeof InferenceRouterRoutingPreference];
3913
3954
  /**
3914
3955
  * @public
3915
3956
  * @enum
@@ -3917,6 +3958,9 @@ export type FlatInvocations = (typeof FlatInvocations)[keyof typeof FlatInvocati
3917
3958
  export declare const JobCategory: {
3918
3959
  readonly AGENT_RFT: "AgentRFT";
3919
3960
  readonly AGENT_RFT_EVALUATION: "AgentRFTEvaluation";
3961
+ readonly DATA_QUALITY_EVALUATION: "DataQualityEvaluation";
3962
+ readonly DATA_TRANSFORMATION: "DataTransformation";
3963
+ readonly SYNTHETIC_DATA_GENERATION: "SyntheticDataGeneration";
3920
3964
  };
3921
3965
  /**
3922
3966
  * @public
@@ -5050,6 +5094,36 @@ export declare const RecommendationJobStatus: {
5050
5094
  * @public
5051
5095
  */
5052
5096
  export type RecommendationJobStatus = (typeof RecommendationJobStatus)[keyof typeof RecommendationJobStatus];
5097
+ /**
5098
+ * @public
5099
+ * @enum
5100
+ */
5101
+ export declare const InferenceRouterStatus: {
5102
+ /**
5103
+ * <p>The inference router is being created.</p>
5104
+ */
5105
+ readonly CREATING: "Creating";
5106
+ /**
5107
+ * <p>The inference router is being deleted.</p>
5108
+ */
5109
+ readonly DELETING: "Deleting";
5110
+ /**
5111
+ * <p>The inference router's latest change couldn't be applied. For the reason, see <code>StatusReason</code>.</p>
5112
+ */
5113
+ readonly FAILED: "Failed";
5114
+ /**
5115
+ * <p>The inference router's latest change has been applied, and the router is ready.</p>
5116
+ */
5117
+ readonly IN_SERVICE: "InService";
5118
+ /**
5119
+ * <p>An update to the inference router is being applied.</p>
5120
+ */
5121
+ readonly UPDATING: "Updating";
5122
+ };
5123
+ /**
5124
+ * @public
5125
+ */
5126
+ export type InferenceRouterStatus = (typeof InferenceRouterStatus)[keyof typeof InferenceRouterStatus];
5053
5127
  /**
5054
5128
  * @public
5055
5129
  * @enum
@@ -5077,16 +5151,24 @@ export declare const JobSecondaryStatus: {
5077
5151
  readonly DELETING: "Deleting";
5078
5152
  readonly DOWNLOADING: "Downloading";
5079
5153
  readonly EVALUATING: "Evaluating";
5154
+ readonly EXECUTING: "Executing";
5080
5155
  readonly FAILED: "Failed";
5156
+ readonly FINALIZING: "Finalizing";
5157
+ readonly GENERATING: "Generating";
5081
5158
  readonly INTERRUPTED: "Interrupted";
5082
5159
  readonly MAX_RUNTIME_EXCEEDED: "MaxRuntimeExceeded";
5160
+ readonly PARTIAL_GENERATION: "PartialGeneration";
5083
5161
  readonly PENDING: "Pending";
5162
+ readonly PREPARING: "Preparing";
5163
+ readonly PUBLISHING: "Publishing";
5084
5164
  readonly RESTARTING: "Restarting";
5085
5165
  readonly STARTING: "Starting";
5086
5166
  readonly STOPPED: "Stopped";
5087
5167
  readonly STOPPING: "Stopping";
5088
5168
  readonly TRAINING: "Training";
5169
+ readonly TRANSFORMING: "Transforming";
5089
5170
  readonly UPLOADING: "Uploading";
5171
+ readonly VALIDATING: "Validating";
5090
5172
  };
5091
5173
  /**
5092
5174
  * @public
@@ -56,3 +56,17 @@ export declare class ResourceInUse extends __BaseException {
56
56
  */
57
57
  constructor(opts: __ExceptionOptionType<ResourceInUse, __BaseException>);
58
58
  }
59
+ /**
60
+ * <p>The resource that you are trying to create already exists. Use a different resource name, or delete the existing resource before retrying.</p>
61
+ * @public
62
+ */
63
+ export declare class ResourceAlreadyExists extends __BaseException {
64
+ static readonly shapeId: string;
65
+ readonly name: "ResourceAlreadyExists";
66
+ readonly $fault: "client";
67
+ Message?: string | undefined;
68
+ /**
69
+ * @internal
70
+ */
71
+ constructor(opts: __ExceptionOptionType<ResourceAlreadyExists, __BaseException>);
72
+ }
@@ -1,6 +1,6 @@
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, InstanceGroupStatus, IPAddressType, JobCategory, JobType, ManagedInstanceScalingScaleInStrategy, ManagedInstanceScalingStatus, ManagedStorageType, MetricPublishFrequencyInSeconds, MlTools, ModelApprovalStatus, ModelCacheSetting, ModelCardStatus, ModelInfrastructureType, ModelPackageRegistrationType, ModelRegistrationMode, 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, 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
4
  /**
5
5
  * <p>The configuration details for the restricted instance groups (RIG) environment.</p>
6
6
  * @public
@@ -3578,6 +3578,22 @@ export interface CreateEndpointOutput {
3578
3578
  */
3579
3579
  EndpointArn: string | undefined;
3580
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
+ }
3581
3597
  /**
3582
3598
  * <p>Configuration to control how SageMaker AI captures inference data.</p>
3583
3599
  * @public
@@ -3768,7 +3784,7 @@ export interface PrefixAwareRoutingConfig {
3768
3784
  */
3769
3785
  export interface ProductionVariantRoutingConfig {
3770
3786
  /**
3771
- * <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>
3772
3788
  * @public
3773
3789
  */
3774
3790
  RoutingStrategy: RoutingStrategy | undefined;
@@ -3964,6 +3980,11 @@ export interface CreateEndpointConfigInput {
3964
3980
  * @public
3965
3981
  */
3966
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;
3967
3988
  }
3968
3989
  /**
3969
3990
  * @public
@@ -5987,6 +6008,152 @@ export interface CreateInferenceRecommendationsJobResponse {
5987
6008
  */
5988
6009
  JobArn: string | undefined;
5989
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
+ }
5990
6157
  /**
5991
6158
  * @public
5992
6159
  */
@@ -7038,265 +7205,3 @@ export interface ModelDataQuality {
7038
7205
  */
7039
7206
  Constraints?: MetricsSource | undefined;
7040
7207
  }
7041
- /**
7042
- * <p>Model quality statistics and constraints.</p>
7043
- * @public
7044
- */
7045
- export interface ModelQuality {
7046
- /**
7047
- * <p>Model quality statistics.</p>
7048
- * @public
7049
- */
7050
- Statistics?: MetricsSource | undefined;
7051
- /**
7052
- * <p>Model quality constraints.</p>
7053
- * @public
7054
- */
7055
- Constraints?: MetricsSource | undefined;
7056
- }
7057
- /**
7058
- * <p>Contains metrics captured from a model.</p>
7059
- * @public
7060
- */
7061
- export interface ModelMetrics {
7062
- /**
7063
- * <p>Metrics that measure the quality of a model.</p>
7064
- * @public
7065
- */
7066
- ModelQuality?: ModelQuality | undefined;
7067
- /**
7068
- * <p>Metrics that measure the quality of the input data for a model.</p>
7069
- * @public
7070
- */
7071
- ModelDataQuality?: ModelDataQuality | undefined;
7072
- /**
7073
- * <p>Metrics that measure bias in a model.</p>
7074
- * @public
7075
- */
7076
- Bias?: Bias | undefined;
7077
- /**
7078
- * <p>Metrics that help explain a model.</p>
7079
- * @public
7080
- */
7081
- Explainability?: Explainability | undefined;
7082
- }
7083
- /**
7084
- * <p>An optional Key Management Service key to encrypt, decrypt, and re-encrypt model package information for regulated workloads with highly sensitive data.</p>
7085
- * @public
7086
- */
7087
- export interface ModelPackageSecurityConfig {
7088
- /**
7089
- * <p>The KMS Key ID (<code>KMSKeyId</code>) used for encryption of model package information.</p>
7090
- * @public
7091
- */
7092
- KmsKeyId: string | undefined;
7093
- }
7094
- /**
7095
- * <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>
7096
- * @public
7097
- */
7098
- export interface SourceAlgorithm {
7099
- /**
7100
- * <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>
7101
- * @public
7102
- */
7103
- ModelDataUrl?: string | undefined;
7104
- /**
7105
- * <p>Specifies the location of ML model data to deploy during endpoint creation.</p>
7106
- * @public
7107
- */
7108
- ModelDataSource?: ModelDataSource | undefined;
7109
- /**
7110
- * <p>The ETag associated with Model Data URL.</p>
7111
- * @public
7112
- */
7113
- ModelDataETag?: string | undefined;
7114
- /**
7115
- * <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>
7116
- * @public
7117
- */
7118
- AlgorithmName: string | undefined;
7119
- }
7120
- /**
7121
- * <p>A list of algorithms that were used to create a model package.</p>
7122
- * @public
7123
- */
7124
- export interface SourceAlgorithmSpecification {
7125
- /**
7126
- * <p>A list of the algorithms that were used to create a model package.</p>
7127
- * @public
7128
- */
7129
- SourceAlgorithms: SourceAlgorithm[] | undefined;
7130
- }
7131
- /**
7132
- * <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>
7133
- * @public
7134
- */
7135
- export interface ModelPackageValidationProfile {
7136
- /**
7137
- * <p>The name of the profile for the model package.</p>
7138
- * @public
7139
- */
7140
- ProfileName: string | undefined;
7141
- /**
7142
- * <p>The <code>TransformJobDefinition</code> object that describes the transform job used for the validation of the model package.</p>
7143
- * @public
7144
- */
7145
- TransformJobDefinition: TransformJobDefinition | undefined;
7146
- }
7147
- /**
7148
- * <p>Specifies batch transform jobs that SageMaker runs to validate your model package.</p>
7149
- * @public
7150
- */
7151
- export interface ModelPackageValidationSpecification {
7152
- /**
7153
- * <p>The IAM roles to be used for the validation of the model package.</p>
7154
- * @public
7155
- */
7156
- ValidationRole: string | undefined;
7157
- /**
7158
- * <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>
7159
- * @public
7160
- */
7161
- ValidationProfiles: ModelPackageValidationProfile[] | undefined;
7162
- }
7163
- /**
7164
- * @public
7165
- */
7166
- export interface CreateModelPackageInput {
7167
- /**
7168
- * <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>
7169
- * @public
7170
- */
7171
- ModelPackageName?: string | undefined;
7172
- /**
7173
- * <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>
7174
- * @public
7175
- */
7176
- ModelPackageGroupName?: string | undefined;
7177
- /**
7178
- * <p>A description of the model package.</p>
7179
- * @public
7180
- */
7181
- ModelPackageDescription?: string | undefined;
7182
- /**
7183
- * <p> The package registration type of the model package input. </p>
7184
- * @public
7185
- */
7186
- ModelPackageRegistrationType?: ModelPackageRegistrationType | undefined;
7187
- /**
7188
- * <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>
7189
- * @public
7190
- */
7191
- InferenceSpecification?: InferenceSpecification | undefined;
7192
- /**
7193
- * <p>Specifies configurations for one or more transform jobs that SageMaker runs to test the model package.</p>
7194
- * @public
7195
- */
7196
- ValidationSpecification?: ModelPackageValidationSpecification | undefined;
7197
- /**
7198
- * <p>Details about the algorithm that was used to create the model package.</p>
7199
- * @public
7200
- */
7201
- SourceAlgorithmSpecification?: SourceAlgorithmSpecification | undefined;
7202
- /**
7203
- * <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>
7204
- * @public
7205
- */
7206
- CertifyForMarketplace?: boolean | undefined;
7207
- /**
7208
- * <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>
7209
- * @public
7210
- */
7211
- Tags?: Tag[] | undefined;
7212
- /**
7213
- * <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>
7214
- * @public
7215
- */
7216
- ModelApprovalStatus?: ModelApprovalStatus | undefined;
7217
- /**
7218
- * <p>Metadata properties of the tracking entity, trial, or trial component.</p>
7219
- * @public
7220
- */
7221
- MetadataProperties?: MetadataProperties | undefined;
7222
- /**
7223
- * <p>A structure that contains model metrics reports.</p>
7224
- * @public
7225
- */
7226
- ModelMetrics?: ModelMetrics | undefined;
7227
- /**
7228
- * <p>A unique token that guarantees that the call to this API is idempotent.</p>
7229
- * @public
7230
- */
7231
- ClientToken?: string | undefined;
7232
- /**
7233
- * <p>The machine learning domain of your model package and its components. Common machine learning domains include computer vision and natural language processing.</p>
7234
- * @public
7235
- */
7236
- Domain?: string | undefined;
7237
- /**
7238
- * <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>
7239
- * @public
7240
- */
7241
- Task?: string | undefined;
7242
- /**
7243
- * <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>
7244
- * @public
7245
- */
7246
- SamplePayloadUrl?: string | undefined;
7247
- /**
7248
- * <p>The metadata properties associated with the model package versions.</p>
7249
- * @public
7250
- */
7251
- CustomerMetadataProperties?: Record<string, string> | undefined;
7252
- /**
7253
- * <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>
7254
- * @public
7255
- */
7256
- DriftCheckBaselines?: DriftCheckBaselines | undefined;
7257
- /**
7258
- * <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>
7259
- * @public
7260
- */
7261
- AdditionalInferenceSpecifications?: AdditionalInferenceSpecificationDefinition[] | undefined;
7262
- /**
7263
- * <p>Indicates if you want to skip model validation.</p>
7264
- * @public
7265
- */
7266
- SkipModelValidation?: SkipModelValidation | undefined;
7267
- /**
7268
- * <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>
7269
- * @public
7270
- */
7271
- SourceUri?: string | undefined;
7272
- /**
7273
- * <p>The KMS Key ID (<code>KMSKeyId</code>) used for encryption of model package information.</p>
7274
- * @public
7275
- */
7276
- SecurityConfig?: ModelPackageSecurityConfig | undefined;
7277
- /**
7278
- * <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>
7279
- * @public
7280
- */
7281
- ModelCard?: ModelPackageModelCard | undefined;
7282
- /**
7283
- * <p> A structure describing the current state of the model in its life cycle. </p>
7284
- * @public
7285
- */
7286
- ModelLifeCycle?: ModelLifeCycle | undefined;
7287
- /**
7288
- * <p>The storage type of the model package.</p>
7289
- * @public
7290
- */
7291
- ManagedStorageType?: ManagedStorageType | undefined;
7292
- }
7293
- /**
7294
- * @public
7295
- */
7296
- export interface CreateModelPackageOutput {
7297
- /**
7298
- * <p>The Amazon Resource Name (ARN) of the new model package.</p>
7299
- * @public
7300
- */
7301
- ModelPackageArn: string | undefined;
7302
- }