@aws-sdk/client-sagemaker 3.382.0 → 3.383.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 (48) hide show
  1. package/README.md +8 -0
  2. package/dist-cjs/SageMaker.js +2 -0
  3. package/dist-cjs/commands/GetScalingConfigurationRecommendationCommand.js +46 -0
  4. package/dist-cjs/commands/index.js +1 -0
  5. package/dist-cjs/models/models_1.js +8 -1
  6. package/dist-cjs/models/models_2.js +20 -1
  7. package/dist-cjs/protocols/Aws_json1_1.js +92 -10
  8. package/dist-es/SageMaker.js +2 -0
  9. package/dist-es/commands/GetScalingConfigurationRecommendationCommand.js +42 -0
  10. package/dist-es/commands/index.js +1 -0
  11. package/dist-es/models/models_1.js +7 -0
  12. package/dist-es/models/models_2.js +18 -0
  13. package/dist-es/protocols/Aws_json1_1.js +80 -0
  14. package/dist-types/SageMaker.d.ts +7 -0
  15. package/dist-types/SageMakerClient.d.ts +3 -2
  16. package/dist-types/commands/DeleteFlowDefinitionCommand.d.ts +1 -1
  17. package/dist-types/commands/GetDeviceFleetReportCommand.d.ts +1 -1
  18. package/dist-types/commands/GetLineageGroupPolicyCommand.d.ts +1 -1
  19. package/dist-types/commands/GetModelPackageGroupPolicyCommand.d.ts +1 -1
  20. package/dist-types/commands/GetScalingConfigurationRecommendationCommand.d.ts +118 -0
  21. package/dist-types/commands/PutModelPackageGroupPolicyCommand.d.ts +1 -1
  22. package/dist-types/commands/QueryLineageCommand.d.ts +1 -1
  23. package/dist-types/commands/RegisterDevicesCommand.d.ts +1 -1
  24. package/dist-types/commands/RenderUiTemplateCommand.d.ts +1 -2
  25. package/dist-types/commands/index.d.ts +1 -0
  26. package/dist-types/models/models_1.d.ts +36 -15
  27. package/dist-types/models/models_2.d.ts +149 -133
  28. package/dist-types/models/models_3.d.ts +246 -329
  29. package/dist-types/models/models_4.d.ts +329 -3
  30. package/dist-types/protocols/Aws_json1_1.d.ts +9 -0
  31. package/dist-types/ts3.4/SageMaker.d.ts +23 -0
  32. package/dist-types/ts3.4/SageMakerClient.d.ts +6 -0
  33. package/dist-types/ts3.4/commands/DeleteFlowDefinitionCommand.d.ts +1 -1
  34. package/dist-types/ts3.4/commands/GetDeviceFleetReportCommand.d.ts +1 -1
  35. package/dist-types/ts3.4/commands/GetLineageGroupPolicyCommand.d.ts +1 -1
  36. package/dist-types/ts3.4/commands/GetModelPackageGroupPolicyCommand.d.ts +1 -1
  37. package/dist-types/ts3.4/commands/GetScalingConfigurationRecommendationCommand.d.ts +42 -0
  38. package/dist-types/ts3.4/commands/PutModelPackageGroupPolicyCommand.d.ts +1 -1
  39. package/dist-types/ts3.4/commands/QueryLineageCommand.d.ts +1 -1
  40. package/dist-types/ts3.4/commands/RegisterDevicesCommand.d.ts +1 -1
  41. package/dist-types/ts3.4/commands/RenderUiTemplateCommand.d.ts +4 -2
  42. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  43. package/dist-types/ts3.4/models/models_1.d.ts +13 -4
  44. package/dist-types/ts3.4/models/models_2.d.ts +64 -34
  45. package/dist-types/ts3.4/models/models_3.d.ts +63 -74
  46. package/dist-types/ts3.4/models/models_4.d.ts +74 -2
  47. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +12 -0
  48. package/package.json +1 -1
@@ -1,5 +1,20 @@
1
- import { ActionSource, ActionStatus, AdditionalInferenceSpecificationDefinition, AgentVersion, AlgorithmSpecification, AlgorithmStatus, AlgorithmStatusDetails, AlgorithmValidationSpecification, AppNetworkAccessType, AppSecurityGroupManagement, AppSpecification, AppStatus, AppType, ArtifactSource, AssociationEdgeType, AsyncInferenceConfig, AuthMode, AutoMLCandidate, AutoMLChannel, AutoMLDataSplitConfig, AutoMLJobArtifacts, AutoMLJobChannel, AutoMLJobCompletionCriteria, AutoMLJobConfig, AutoMLJobObjective, AutoMLJobSecondaryStatus, AutoMLJobStatus, AutoMLOutputDataConfig, AutoMLPartialFailureReason, AutoMLProblemTypeConfig, AutoMLProblemTypeConfigName, AutoMLResolvedAttributes, AutoMLSecurityConfig, Autotune, BatchDataCaptureConfig, BatchStrategy, Channel, CheckpointConfig, CognitoConfig, CompilationJobStatus, ContainerDefinition, ContextSource, DataQualityAppSpecification, DataQualityBaselineConfig, DataQualityJobInput, DefaultSpaceSettings, EdgeOutputConfig, EdgePresetDeploymentType, GitConfig, HyperParameterTuningJobObjectiveType, InferenceSpecification, InputConfig, KernelGatewayImageConfig, MetadataProperties, ModelApprovalStatus, ModelDeployConfig, ModelPackageStatus, MonitoringNetworkConfig, MonitoringOutputConfig, MonitoringResources, MonitoringStoppingCondition, NeoVpcConfig, ObjectiveStatus, OutputConfig, OutputDataConfig, ProblemType, ProductionVariantInstanceType, ResourceConfig, ResourceSpec, StoppingCondition, Tag, TrainingSpecification, TransformInput, TransformOutput, TransformResources, UserContext, VpcConfig } from "./models_0";
2
- import { _InstanceType, DataCaptureConfig, DataCaptureConfigSummary, DataProcessing, DebugHookConfig, DebugRuleConfiguration, DebugRuleEvaluationStatus, DeploymentConfig, DeviceSelectionConfig, DirectInternetAccess, DomainSettings, DriftCheckBaselines, EdgeDeploymentConfig, EdgeDeploymentModelConfig, EndpointInfo, ExecutionRoleIdentityConfig, ExperimentConfig, ExplainerConfig, FeatureDefinition, FeatureType, FlowDefinitionOutputConfig, HubS3StorageConfig, HumanLoopActivationConfig, HumanLoopConfig, HumanLoopRequestSource, HumanTaskConfig, HyperParameterTrainingJobDefinition, HyperParameterTuningJobConfig, HyperParameterTuningJobWarmStartConfig, InferenceExecutionConfig, InferenceExperimentDataStorageConfig, InferenceExperimentSchedule, InferenceExperimentType, InstanceMetadataServiceConfiguration, JobType, LabelingJobAlgorithmsConfig, LabelingJobInputConfig, LabelingJobOutputConfig, LabelingJobStoppingConditions, MemberDefinition, ModelBiasAppSpecification, ModelBiasBaselineConfig, ModelBiasJobInput, ModelCardExportOutputConfig, ModelCardSecurityConfig, ModelCardStatus, ModelClientConfig, ModelExplainabilityAppSpecification, ModelExplainabilityBaselineConfig, ModelExplainabilityJobInput, ModelInfrastructureConfig, ModelMetrics, ModelPackageValidationSpecification, ModelQualityAppSpecification, ModelQualityBaselineConfig, ModelQualityJobInput, MonitoringScheduleConfig, MonitoringType, NetworkConfig, NotebookInstanceAcceleratorType, NotebookInstanceLifecycleHook, NotificationConfiguration, OfflineStoreConfig, OnlineStoreConfig, ParallelismConfiguration, ProcessingInput, ProcessingOutputConfig, ProcessingResources, ProcessingStoppingCondition, Processor, ProductionVariant, ProductionVariantAcceleratorType, ProductionVariantServerlessConfig, ProfilerConfig, ProfilerRuleConfiguration, RecommendationJobInputConfig, RecommendationJobStoppingConditions, RecommendationJobType, RetryStrategy, RootAccess, RuleEvaluationStatus, ServiceCatalogProvisioningDetails, ShadowModeConfig, SourceAlgorithmSpecification, SourceIpConfig, SpaceSettings, StudioLifecycleConfigAppType, TensorBoardOutputConfig, TrialComponentArtifact, TrialComponentParameterValue, TrialComponentStatus, UserSettings, VendorGuidance } from "./models_1";
1
+ import { ActionSource, ActionStatus, AdditionalInferenceSpecificationDefinition, AlgorithmSpecification, AlgorithmStatus, AlgorithmStatusDetails, AlgorithmValidationSpecification, AppNetworkAccessType, AppSecurityGroupManagement, AppSpecification, AppStatus, AppType, ArtifactSource, AssociationEdgeType, AsyncInferenceConfig, AuthMode, AutoMLCandidate, AutoMLChannel, AutoMLDataSplitConfig, AutoMLJobArtifacts, AutoMLJobChannel, AutoMLJobCompletionCriteria, AutoMLJobConfig, AutoMLJobObjective, AutoMLJobSecondaryStatus, AutoMLJobStatus, AutoMLOutputDataConfig, AutoMLPartialFailureReason, AutoMLProblemTypeConfig, AutoMLProblemTypeConfigName, AutoMLResolvedAttributes, AutoMLSecurityConfig, Autotune, BatchDataCaptureConfig, BatchStrategy, Channel, CheckpointConfig, CognitoConfig, CompilationJobStatus, ContainerDefinition, ContextSource, DataQualityAppSpecification, DataQualityBaselineConfig, DataQualityJobInput, DefaultSpaceSettings, EdgeOutputConfig, EdgePresetDeploymentType, GitConfig, HyperParameterTuningJobObjectiveType, InferenceSpecification, InputConfig, KernelGatewayImageConfig, MetadataProperties, ModelApprovalStatus, ModelDeployConfig, ModelPackageStatus, MonitoringNetworkConfig, MonitoringOutputConfig, MonitoringResources, MonitoringStoppingCondition, NeoVpcConfig, ObjectiveStatus, OutputConfig, OutputDataConfig, ProblemType, ProductionVariantInstanceType, ResourceConfig, ResourceSpec, StoppingCondition, Tag, TrainingSpecification, TransformInput, TransformOutput, TransformResources, UserContext, VpcConfig } from "./models_0";
2
+ import { _InstanceType, CustomizedMetricSpecification, DataCaptureConfig, DataCaptureConfigSummary, DataProcessing, DebugHookConfig, DebugRuleConfiguration, DebugRuleEvaluationStatus, DeploymentConfig, DeviceSelectionConfig, DirectInternetAccess, DomainSettings, DriftCheckBaselines, EdgeDeploymentConfig, EdgeDeploymentModelConfig, EndpointInfo, ExecutionRoleIdentityConfig, ExperimentConfig, ExplainerConfig, FeatureDefinition, FeatureType, FlowDefinitionOutputConfig, HubS3StorageConfig, HumanLoopActivationConfig, HumanLoopConfig, HumanLoopRequestSource, HumanTaskConfig, HyperParameterTrainingJobDefinition, HyperParameterTuningJobConfig, HyperParameterTuningJobWarmStartConfig, InferenceExecutionConfig, InferenceExperimentDataStorageConfig, InferenceExperimentSchedule, InferenceExperimentType, InstanceMetadataServiceConfiguration, JobType, LabelingJobAlgorithmsConfig, LabelingJobInputConfig, LabelingJobOutputConfig, LabelingJobStoppingConditions, MemberDefinition, ModelBiasAppSpecification, ModelBiasBaselineConfig, ModelBiasJobInput, ModelCardExportOutputConfig, ModelCardSecurityConfig, ModelCardStatus, ModelClientConfig, ModelExplainabilityAppSpecification, ModelExplainabilityBaselineConfig, ModelExplainabilityJobInput, ModelInfrastructureConfig, ModelMetrics, ModelPackageValidationSpecification, ModelQualityAppSpecification, ModelQualityBaselineConfig, ModelQualityJobInput, MonitoringScheduleConfig, MonitoringType, NetworkConfig, NotebookInstanceAcceleratorType, NotebookInstanceLifecycleHook, NotificationConfiguration, OfflineStoreConfig, OnlineStoreConfig, ParallelismConfiguration, ProcessingInput, ProcessingOutputConfig, ProcessingResources, ProcessingStoppingCondition, Processor, ProductionVariant, ProductionVariantAcceleratorType, ProductionVariantServerlessConfig, ProfilerConfig, ProfilerRuleConfiguration, RecommendationJobInputConfig, RecommendationJobStoppingConditions, RecommendationJobType, RetryStrategy, RootAccess, RuleEvaluationStatus, ServiceCatalogProvisioningDetails, ShadowModeConfig, SourceAlgorithmSpecification, SourceIpConfig, SpaceSettings, StudioLifecycleConfigAppType, TensorBoardOutputConfig, TrialComponentArtifact, TrialComponentParameterValue, TrialComponentStatus, UserSettings, VendorGuidance } from "./models_1";
3
+ /**
4
+ * @public
5
+ */
6
+ export interface DeleteFlowDefinitionRequest {
7
+ /**
8
+ * @public
9
+ * <p>The name of the flow definition you are deleting.</p>
10
+ */
11
+ FlowDefinitionName: string | undefined;
12
+ }
13
+ /**
14
+ * @public
15
+ */
16
+ export interface DeleteFlowDefinitionResponse {
17
+ }
3
18
  /**
4
19
  * @public
5
20
  */
@@ -8701,6 +8716,138 @@ export interface DomainSettingsForUpdate {
8701
8716
  */
8702
8717
  SecurityGroupIds?: string[];
8703
8718
  }
8719
+ /**
8720
+ * @public
8721
+ * <p>A specification for a predefined metric.</p>
8722
+ */
8723
+ export interface PredefinedMetricSpecification {
8724
+ /**
8725
+ * @public
8726
+ * <p>The metric type. You can only apply SageMaker metric types to SageMaker endpoints.</p>
8727
+ */
8728
+ PredefinedMetricType?: string;
8729
+ }
8730
+ /**
8731
+ * @public
8732
+ * <p>An object containing information about a metric.</p>
8733
+ */
8734
+ export type MetricSpecification = MetricSpecification.CustomizedMember | MetricSpecification.PredefinedMember | MetricSpecification.$UnknownMember;
8735
+ /**
8736
+ * @public
8737
+ */
8738
+ export declare namespace MetricSpecification {
8739
+ /**
8740
+ * @public
8741
+ * <p>Information about a predefined metric.</p>
8742
+ */
8743
+ interface PredefinedMember {
8744
+ Predefined: PredefinedMetricSpecification;
8745
+ Customized?: never;
8746
+ $unknown?: never;
8747
+ }
8748
+ /**
8749
+ * @public
8750
+ * <p>Information about a customized metric.</p>
8751
+ */
8752
+ interface CustomizedMember {
8753
+ Predefined?: never;
8754
+ Customized: CustomizedMetricSpecification;
8755
+ $unknown?: never;
8756
+ }
8757
+ /**
8758
+ * @public
8759
+ */
8760
+ interface $UnknownMember {
8761
+ Predefined?: never;
8762
+ Customized?: never;
8763
+ $unknown: [string, any];
8764
+ }
8765
+ interface Visitor<T> {
8766
+ Predefined: (value: PredefinedMetricSpecification) => T;
8767
+ Customized: (value: CustomizedMetricSpecification) => T;
8768
+ _: (name: string, value: any) => T;
8769
+ }
8770
+ const visit: <T>(value: MetricSpecification, visitor: Visitor<T>) => T;
8771
+ }
8772
+ /**
8773
+ * @public
8774
+ * <p>A target tracking scaling policy. Includes support for predefined or customized metrics.</p>
8775
+ * <p>When using the <a href="https://docs.aws.amazon.com/autoscaling/application/APIReference/API_PutScalingPolicy.html">PutScalingPolicy</a> API,
8776
+ * this parameter is required when you are creating a policy with the policy type <code>TargetTrackingScaling</code>.</p>
8777
+ */
8778
+ export interface TargetTrackingScalingPolicyConfiguration {
8779
+ /**
8780
+ * @public
8781
+ * <p>An object containing information about a metric.</p>
8782
+ */
8783
+ MetricSpecification?: MetricSpecification;
8784
+ /**
8785
+ * @public
8786
+ * <p>The recommended target value to specify for the metric when creating a scaling policy.</p>
8787
+ */
8788
+ TargetValue?: number;
8789
+ }
8790
+ /**
8791
+ * @public
8792
+ * <p>An object containing a recommended scaling policy.</p>
8793
+ */
8794
+ export type ScalingPolicy = ScalingPolicy.TargetTrackingMember | ScalingPolicy.$UnknownMember;
8795
+ /**
8796
+ * @public
8797
+ */
8798
+ export declare namespace ScalingPolicy {
8799
+ /**
8800
+ * @public
8801
+ * <p>A target tracking scaling policy. Includes support for predefined or customized metrics.</p>
8802
+ */
8803
+ interface TargetTrackingMember {
8804
+ TargetTracking: TargetTrackingScalingPolicyConfiguration;
8805
+ $unknown?: never;
8806
+ }
8807
+ /**
8808
+ * @public
8809
+ */
8810
+ interface $UnknownMember {
8811
+ TargetTracking?: never;
8812
+ $unknown: [string, any];
8813
+ }
8814
+ interface Visitor<T> {
8815
+ TargetTracking: (value: TargetTrackingScalingPolicyConfiguration) => T;
8816
+ _: (name: string, value: any) => T;
8817
+ }
8818
+ const visit: <T>(value: ScalingPolicy, visitor: Visitor<T>) => T;
8819
+ }
8820
+ /**
8821
+ * @public
8822
+ * <p>An object with the recommended values for you to specify when creating an autoscaling policy.</p>
8823
+ */
8824
+ export interface DynamicScalingConfiguration {
8825
+ /**
8826
+ * @public
8827
+ * <p>The recommended minimum capacity to specify for your autoscaling policy.</p>
8828
+ */
8829
+ MinCapacity?: number;
8830
+ /**
8831
+ * @public
8832
+ * <p>The recommended maximum capacity to specify for your autoscaling policy.</p>
8833
+ */
8834
+ MaxCapacity?: number;
8835
+ /**
8836
+ * @public
8837
+ * <p>The recommended scale in cooldown time for your autoscaling policy.</p>
8838
+ */
8839
+ ScaleInCooldown?: number;
8840
+ /**
8841
+ * @public
8842
+ * <p>The recommended scale out cooldown time for your autoscaling policy.</p>
8843
+ */
8844
+ ScaleOutCooldown?: number;
8845
+ /**
8846
+ * @public
8847
+ * <p>An object of the scaling policies for each metric.</p>
8848
+ */
8849
+ ScalingPolicies?: ScalingPolicy[];
8850
+ }
8704
8851
  /**
8705
8852
  * @public
8706
8853
  * <p>A directed edge connecting two lineage entities.</p>
@@ -9723,137 +9870,6 @@ export interface Filter {
9723
9870
  */
9724
9871
  Value?: string;
9725
9872
  }
9726
- /**
9727
- * @public
9728
- * <p>Contains summary information about the flow definition.</p>
9729
- */
9730
- export interface FlowDefinitionSummary {
9731
- /**
9732
- * @public
9733
- * <p>The name of the flow definition.</p>
9734
- */
9735
- FlowDefinitionName: string | undefined;
9736
- /**
9737
- * @public
9738
- * <p>The Amazon Resource Name (ARN) of the flow definition.</p>
9739
- */
9740
- FlowDefinitionArn: string | undefined;
9741
- /**
9742
- * @public
9743
- * <p>The status of the flow definition. Valid values:</p>
9744
- */
9745
- FlowDefinitionStatus: FlowDefinitionStatus | string | undefined;
9746
- /**
9747
- * @public
9748
- * <p>The timestamp when SageMaker created the flow definition.</p>
9749
- */
9750
- CreationTime: Date | undefined;
9751
- /**
9752
- * @public
9753
- * <p>The reason why the flow definition creation failed. A failure reason is returned only when the flow definition status is <code>Failed</code>.</p>
9754
- */
9755
- FailureReason?: string;
9756
- }
9757
- /**
9758
- * @public
9759
- */
9760
- export interface GetDeviceFleetReportRequest {
9761
- /**
9762
- * @public
9763
- * <p>The name of the fleet.</p>
9764
- */
9765
- DeviceFleetName: string | undefined;
9766
- }
9767
- /**
9768
- * @public
9769
- */
9770
- export interface GetDeviceFleetReportResponse {
9771
- /**
9772
- * @public
9773
- * <p>The Amazon Resource Name (ARN) of the device.</p>
9774
- */
9775
- DeviceFleetArn: string | undefined;
9776
- /**
9777
- * @public
9778
- * <p>The name of the fleet.</p>
9779
- */
9780
- DeviceFleetName: string | undefined;
9781
- /**
9782
- * @public
9783
- * <p>The output configuration for storing sample data collected by the fleet.</p>
9784
- */
9785
- OutputConfig?: EdgeOutputConfig;
9786
- /**
9787
- * @public
9788
- * <p>Description of the fleet.</p>
9789
- */
9790
- Description?: string;
9791
- /**
9792
- * @public
9793
- * <p>Timestamp of when the report was generated.</p>
9794
- */
9795
- ReportGenerated?: Date;
9796
- /**
9797
- * @public
9798
- * <p>Status of devices.</p>
9799
- */
9800
- DeviceStats?: DeviceStats;
9801
- /**
9802
- * @public
9803
- * <p>The versions of Edge Manager agent deployed on the fleet.</p>
9804
- */
9805
- AgentVersions?: AgentVersion[];
9806
- /**
9807
- * @public
9808
- * <p>Status of model on device.</p>
9809
- */
9810
- ModelStats?: EdgeModelStat[];
9811
- }
9812
- /**
9813
- * @public
9814
- */
9815
- export interface GetLineageGroupPolicyRequest {
9816
- /**
9817
- * @public
9818
- * <p>The name or Amazon Resource Name (ARN) of the lineage group.</p>
9819
- */
9820
- LineageGroupName: string | undefined;
9821
- }
9822
- /**
9823
- * @public
9824
- */
9825
- export interface GetLineageGroupPolicyResponse {
9826
- /**
9827
- * @public
9828
- * <p>The Amazon Resource Name (ARN) of the lineage group.</p>
9829
- */
9830
- LineageGroupArn?: string;
9831
- /**
9832
- * @public
9833
- * <p>The resource policy that gives access to the lineage group in another account.</p>
9834
- */
9835
- ResourcePolicy?: string;
9836
- }
9837
- /**
9838
- * @public
9839
- */
9840
- export interface GetModelPackageGroupPolicyInput {
9841
- /**
9842
- * @public
9843
- * <p>The name of the model group for which to get the resource policy.</p>
9844
- */
9845
- ModelPackageGroupName: string | undefined;
9846
- }
9847
- /**
9848
- * @public
9849
- */
9850
- export interface GetModelPackageGroupPolicyOutput {
9851
- /**
9852
- * @public
9853
- * <p>The resource policy for the model group.</p>
9854
- */
9855
- ResourcePolicy: string | undefined;
9856
- }
9857
9873
  /**
9858
9874
  * @internal
9859
9875
  */