@aws-sdk/client-sagemaker 3.118.0 → 3.121.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 (53) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/dist-cjs/SageMaker.js +45 -0
  3. package/dist-cjs/commands/DescribeFeatureMetadataCommand.js +36 -0
  4. package/dist-cjs/commands/DescribeInferenceRecommendationsJobCommand.js +2 -1
  5. package/dist-cjs/commands/ListProjectsCommand.js +3 -3
  6. package/dist-cjs/commands/ListStudioLifecycleConfigsCommand.js +1 -2
  7. package/dist-cjs/commands/UpdateFeatureGroupCommand.js +36 -0
  8. package/dist-cjs/commands/UpdateFeatureMetadataCommand.js +36 -0
  9. package/dist-cjs/commands/index.js +3 -0
  10. package/dist-cjs/models/models_1.js +31 -34
  11. package/dist-cjs/models/models_2.js +46 -41
  12. package/dist-cjs/models/models_3.js +56 -3
  13. package/dist-cjs/protocols/Aws_json1_1.js +1551 -1014
  14. package/dist-es/SageMaker.js +45 -0
  15. package/dist-es/commands/DescribeFeatureMetadataCommand.js +39 -0
  16. package/dist-es/commands/DescribeInferenceRecommendationsJobCommand.js +2 -1
  17. package/dist-es/commands/ListProjectsCommand.js +1 -1
  18. package/dist-es/commands/ListStudioLifecycleConfigsCommand.js +1 -2
  19. package/dist-es/commands/UpdateFeatureGroupCommand.js +39 -0
  20. package/dist-es/commands/UpdateFeatureMetadataCommand.js +39 -0
  21. package/dist-es/commands/index.js +3 -0
  22. package/dist-es/models/models_1.js +22 -25
  23. package/dist-es/models/models_2.js +30 -27
  24. package/dist-es/models/models_3.js +39 -0
  25. package/dist-es/protocols/Aws_json1_1.js +1574 -1004
  26. package/dist-types/SageMaker.d.ts +21 -0
  27. package/dist-types/SageMakerClient.d.ts +5 -2
  28. package/dist-types/commands/DescribeFeatureMetadataCommand.d.ts +35 -0
  29. package/dist-types/commands/DescribeInferenceRecommendationsJobCommand.d.ts +2 -1
  30. package/dist-types/commands/ListProjectsCommand.d.ts +1 -1
  31. package/dist-types/commands/ListStudioLifecycleConfigsCommand.d.ts +1 -2
  32. package/dist-types/commands/UpdateFeatureGroupCommand.d.ts +35 -0
  33. package/dist-types/commands/UpdateFeatureMetadataCommand.d.ts +35 -0
  34. package/dist-types/commands/index.d.ts +3 -0
  35. package/dist-types/models/models_0.d.ts +6 -6
  36. package/dist-types/models/models_1.d.ts +119 -144
  37. package/dist-types/models/models_2.d.ts +190 -152
  38. package/dist-types/models/models_3.d.ts +215 -7
  39. package/dist-types/protocols/Aws_json1_1.d.ts +9 -0
  40. package/dist-types/ts3.4/SageMaker.d.ts +15 -0
  41. package/dist-types/ts3.4/SageMakerClient.d.ts +5 -2
  42. package/dist-types/ts3.4/commands/DescribeFeatureMetadataCommand.d.ts +17 -0
  43. package/dist-types/ts3.4/commands/DescribeInferenceRecommendationsJobCommand.d.ts +2 -1
  44. package/dist-types/ts3.4/commands/ListProjectsCommand.d.ts +1 -1
  45. package/dist-types/ts3.4/commands/ListStudioLifecycleConfigsCommand.d.ts +1 -2
  46. package/dist-types/ts3.4/commands/UpdateFeatureGroupCommand.d.ts +17 -0
  47. package/dist-types/ts3.4/commands/UpdateFeatureMetadataCommand.d.ts +17 -0
  48. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  49. package/dist-types/ts3.4/models/models_1.d.ts +66 -78
  50. package/dist-types/ts3.4/models/models_2.d.ts +107 -86
  51. package/dist-types/ts3.4/models/models_3.d.ts +123 -3
  52. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +9 -0
  53. package/package.json +6 -6
@@ -1,4 +1,4 @@
1
- import { ActionSource, ActionStatus, AdditionalInferenceSpecificationDefinition, AlgorithmSpecification, AlgorithmStatus, AlgorithmStatusDetails, AlgorithmValidationSpecification, AnnotationConsolidationConfig, AppNetworkAccessType, AppSecurityGroupManagement, AppSpecification, AppStatus, AppType, ArtifactSource, AsyncInferenceConfig, AthenaDatasetDefinition, AuthMode, AutoMLCandidate, AutoMLChannel, AutoMLJobArtifacts, AutoMLJobCompletionCriteria, AutoMLJobConfig, AutoMLJobObjective, AutoMLJobSecondaryStatus, AutoMLJobStatus, AutoMLOutputDataConfig, AutoMLPartialFailureReason, BatchStrategy, Bias, CaptureStatus, CategoricalParameter, Channel, CheckpointConfig, CognitoConfig, CognitoMemberDefinition, CollectionConfiguration, CompilationJobStatus, ContainerDefinition, ContentClassifier, ContextSource, DataCaptureConfig, DataQualityAppSpecification, DataQualityBaselineConfig, DataQualityJobInput, DeploymentConfig, DomainSettings, EdgeOutputConfig, EdgePresetDeploymentType, EndpointInput, FeatureDefinition, FlowDefinitionOutputConfig, GitConfig, HumanLoopActivationConfig, HumanLoopConfig, HumanLoopRequestSource, HyperParameterTrainingJobDefinition, HyperParameterTuningJobConfig, HyperParameterTuningJobObjectiveType, HyperParameterTuningJobWarmStartConfig, InferenceSpecification, InputConfig, KernelGatewayImageConfig, MetadataProperties, MetricsSource, ModelApprovalStatus, ModelDeployConfig, MonitoringConstraintsResource, MonitoringNetworkConfig, MonitoringOutputConfig, MonitoringResources, MonitoringStatisticsResource, MonitoringStoppingCondition, NeoVpcConfig, ObjectiveStatus, OfflineStoreConfig, OnlineStoreConfig, OutputConfig, OutputDataConfig, ProblemType, ProcessingInstanceType, ProcessingS3DataDistributionType, ProcessingS3InputMode, ProcessingS3UploadMode, ProductionVariant, ProductionVariantAcceleratorType, ProductionVariantInstanceType, ProductionVariantServerlessConfig, PublicWorkforceTaskPrice, ResourceConfig, ResourceSpec, RetryStrategy, StoppingCondition, Tag, TrainingSpecification, TransformInput, TransformJobDefinition, TransformOutput, TransformResources, UserContext, UserSettings, VpcConfig } from "./models_0";
1
+ import { ActionSource, ActionStatus, AdditionalInferenceSpecificationDefinition, AlgorithmSpecification, AlgorithmStatus, AlgorithmStatusDetails, AlgorithmValidationSpecification, AnnotationConsolidationConfig, AppNetworkAccessType, AppSecurityGroupManagement, AppSpecification, AppStatus, AppType, ArtifactSource, AsyncInferenceConfig, AthenaDatasetDefinition, AuthMode, AutoMLCandidate, AutoMLChannel, AutoMLJobArtifacts, AutoMLJobCompletionCriteria, AutoMLJobConfig, AutoMLJobObjective, AutoMLJobSecondaryStatus, AutoMLJobStatus, AutoMLOutputDataConfig, AutoMLPartialFailureReason, BatchStrategy, Bias, CaptureStatus, CategoricalParameter, Channel, CheckpointConfig, CognitoConfig, CognitoMemberDefinition, CollectionConfiguration, CompilationJobStatus, ContainerDefinition, ContentClassifier, ContextSource, DataCaptureConfig, DataQualityAppSpecification, DataQualityBaselineConfig, DataQualityJobInput, DeploymentConfig, DomainSettings, EdgeOutputConfig, EdgePresetDeploymentType, EndpointInput, FeatureDefinition, FeatureType, FlowDefinitionOutputConfig, GitConfig, HumanLoopActivationConfig, HumanLoopConfig, HumanLoopRequestSource, HyperParameterTrainingJobDefinition, HyperParameterTuningJobConfig, HyperParameterTuningJobObjectiveType, HyperParameterTuningJobWarmStartConfig, InferenceSpecification, InputConfig, KernelGatewayImageConfig, MetadataProperties, MetricsSource, ModelApprovalStatus, ModelDeployConfig, MonitoringConstraintsResource, MonitoringNetworkConfig, MonitoringOutputConfig, MonitoringResources, MonitoringStatisticsResource, MonitoringStoppingCondition, NeoVpcConfig, ObjectiveStatus, OfflineStoreConfig, OnlineStoreConfig, OutputConfig, OutputDataConfig, ProblemType, ProcessingInstanceType, ProcessingS3DataDistributionType, ProcessingS3InputMode, ProcessingS3UploadMode, ProductionVariant, ProductionVariantAcceleratorType, ProductionVariantInstanceType, ProductionVariantServerlessConfig, PublicWorkforceTaskPrice, ResourceConfig, ResourceSpec, RetryStrategy, StoppingCondition, Tag, TrainingSpecification, TransformInput, TransformJobDefinition, TransformOutput, TransformResources, UserContext, UserSettings, VpcConfig } from "./models_0";
2
2
  export interface CreateImageResponse {
3
3
  /**
4
4
  * <p>The Amazon Resource Name (ARN) of the image.</p>
@@ -2987,11 +2987,11 @@ export interface DriftCheckBias {
2987
2987
  */
2988
2988
  ConfigFile?: FileSource;
2989
2989
  /**
2990
- * <p></p>
2990
+ * <p>The pre-training constraints.</p>
2991
2991
  */
2992
2992
  PreTrainingConstraints?: MetricsSource;
2993
2993
  /**
2994
- * <p></p>
2994
+ * <p>The post-training constraints.</p>
2995
2995
  */
2996
2996
  PostTrainingConstraints?: MetricsSource;
2997
2997
  }
@@ -3007,7 +3007,7 @@ export declare namespace DriftCheckBias {
3007
3007
  */
3008
3008
  export interface DriftCheckExplainability {
3009
3009
  /**
3010
- * <p></p>
3010
+ * <p>The drift check explainability constraints.</p>
3011
3011
  */
3012
3012
  Constraints?: MetricsSource;
3013
3013
  /**
@@ -3027,11 +3027,11 @@ export declare namespace DriftCheckExplainability {
3027
3027
  */
3028
3028
  export interface DriftCheckModelDataQuality {
3029
3029
  /**
3030
- * <p></p>
3030
+ * <p>The drift check model data quality statistics.</p>
3031
3031
  */
3032
3032
  Statistics?: MetricsSource;
3033
3033
  /**
3034
- * <p></p>
3034
+ * <p>The drift check model data quality constraints.</p>
3035
3035
  */
3036
3036
  Constraints?: MetricsSource;
3037
3037
  }
@@ -3047,11 +3047,11 @@ export declare namespace DriftCheckModelDataQuality {
3047
3047
  */
3048
3048
  export interface DriftCheckModelQuality {
3049
3049
  /**
3050
- * <p></p>
3050
+ * <p>The drift check model quality statistics.</p>
3051
3051
  */
3052
3052
  Statistics?: MetricsSource;
3053
3053
  /**
3054
- * <p></p>
3054
+ * <p>The drift check model quality constraints.</p>
3055
3055
  */
3056
3056
  Constraints?: MetricsSource;
3057
3057
  }
@@ -8580,6 +8580,30 @@ export declare enum FeatureGroupStatus {
8580
8580
  DELETE_FAILED = "DeleteFailed",
8581
8581
  DELETING = "Deleting"
8582
8582
  }
8583
+ export declare enum LastUpdateStatusValue {
8584
+ FAILED = "Failed",
8585
+ IN_PROGRESS = "InProgress",
8586
+ SUCCESSFUL = "Successful"
8587
+ }
8588
+ /**
8589
+ * <p>A value that indicates whether the update was successful.</p>
8590
+ */
8591
+ export interface LastUpdateStatus {
8592
+ /**
8593
+ * <p>A value that indicates whether the update was made successful.</p>
8594
+ */
8595
+ Status: LastUpdateStatusValue | string | undefined;
8596
+ /**
8597
+ * <p>If the update wasn't successful, indicates the reason why it failed.</p>
8598
+ */
8599
+ FailureReason?: string;
8600
+ }
8601
+ export declare namespace LastUpdateStatus {
8602
+ /**
8603
+ * @internal
8604
+ */
8605
+ const filterSensitiveLog: (obj: LastUpdateStatus) => any;
8606
+ }
8583
8607
  export declare enum OfflineStoreStatusValue {
8584
8608
  ACTIVE = "Active",
8585
8609
  BLOCKED = "Blocked",
@@ -8636,6 +8660,10 @@ export interface DescribeFeatureGroupResponse {
8636
8660
  * <p>A timestamp indicating when SageMaker created the <code>FeatureGroup</code>.</p>
8637
8661
  */
8638
8662
  CreationTime: Date | undefined;
8663
+ /**
8664
+ * <p>A timestamp indicating when the feature group was last updated.</p>
8665
+ */
8666
+ LastModifiedTime?: Date;
8639
8667
  /**
8640
8668
  * <p>The configuration for the <code>OnlineStore</code>.</p>
8641
8669
  */
@@ -8662,6 +8690,10 @@ export interface DescribeFeatureGroupResponse {
8662
8690
  * </p>
8663
8691
  */
8664
8692
  OfflineStoreStatus?: OfflineStoreStatus;
8693
+ /**
8694
+ * <p>A value indicating whether the update made to the feature group was successful.</p>
8695
+ */
8696
+ LastUpdateStatus?: LastUpdateStatus;
8665
8697
  /**
8666
8698
  * <p>The reason that the <code>FeatureGroup</code> failed to be replicated in the
8667
8699
  * <code>OfflineStore</code>. This is failure can occur because:</p>
@@ -8686,6 +8718,10 @@ export interface DescribeFeatureGroupResponse {
8686
8718
  * (<code>FeatureDefinitions</code>).</p>
8687
8719
  */
8688
8720
  NextToken: string | undefined;
8721
+ /**
8722
+ * <p>The size of the <code>OnlineStore</code> in bytes.</p>
8723
+ */
8724
+ OnlineStoreTotalSizeBytes?: number;
8689
8725
  }
8690
8726
  export declare namespace DescribeFeatureGroupResponse {
8691
8727
  /**
@@ -8693,6 +8729,81 @@ export declare namespace DescribeFeatureGroupResponse {
8693
8729
  */
8694
8730
  const filterSensitiveLog: (obj: DescribeFeatureGroupResponse) => any;
8695
8731
  }
8732
+ export interface DescribeFeatureMetadataRequest {
8733
+ /**
8734
+ * <p>The name of the feature group containing the feature.</p>
8735
+ */
8736
+ FeatureGroupName: string | undefined;
8737
+ /**
8738
+ * <p>The name of the feature.</p>
8739
+ */
8740
+ FeatureName: string | undefined;
8741
+ }
8742
+ export declare namespace DescribeFeatureMetadataRequest {
8743
+ /**
8744
+ * @internal
8745
+ */
8746
+ const filterSensitiveLog: (obj: DescribeFeatureMetadataRequest) => any;
8747
+ }
8748
+ /**
8749
+ * <p>A key-value pair that you specify to describe the feature.</p>
8750
+ */
8751
+ export interface FeatureParameter {
8752
+ /**
8753
+ * <p>A key that must contain a value to describe the feature.</p>
8754
+ */
8755
+ Key?: string;
8756
+ /**
8757
+ * <p>The value that belongs to a key.</p>
8758
+ */
8759
+ Value?: string;
8760
+ }
8761
+ export declare namespace FeatureParameter {
8762
+ /**
8763
+ * @internal
8764
+ */
8765
+ const filterSensitiveLog: (obj: FeatureParameter) => any;
8766
+ }
8767
+ export interface DescribeFeatureMetadataResponse {
8768
+ /**
8769
+ * <p>The Amazon Resource Number (ARN) of the feature group that contains the feature.</p>
8770
+ */
8771
+ FeatureGroupArn: string | undefined;
8772
+ /**
8773
+ * <p>The name of the feature group that you've specified.</p>
8774
+ */
8775
+ FeatureGroupName: string | undefined;
8776
+ /**
8777
+ * <p>The name of the feature that you've specified.</p>
8778
+ */
8779
+ FeatureName: string | undefined;
8780
+ /**
8781
+ * <p>The data type of the feature.</p>
8782
+ */
8783
+ FeatureType: FeatureType | string | undefined;
8784
+ /**
8785
+ * <p>A timestamp indicating when the feature was created.</p>
8786
+ */
8787
+ CreationTime: Date | undefined;
8788
+ /**
8789
+ * <p>A timestamp indicating when the metadata for the feature group was modified. For example, if you add a parameter describing the feature, the timestamp changes to reflect the last time you </p>
8790
+ */
8791
+ LastModifiedTime: Date | undefined;
8792
+ /**
8793
+ * <p>The description you added to describe the feature.</p>
8794
+ */
8795
+ Description?: string;
8796
+ /**
8797
+ * <p>The key-value pairs that you added to describe the feature.</p>
8798
+ */
8799
+ Parameters?: FeatureParameter[];
8800
+ }
8801
+ export declare namespace DescribeFeatureMetadataResponse {
8802
+ /**
8803
+ * @internal
8804
+ */
8805
+ const filterSensitiveLog: (obj: DescribeFeatureMetadataResponse) => any;
8806
+ }
8696
8807
  export interface DescribeFlowDefinitionRequest {
8697
8808
  /**
8698
8809
  * <p>The name of the flow definition.</p>
@@ -9333,139 +9444,3 @@ export declare namespace RecommendationMetrics {
9333
9444
  */
9334
9445
  const filterSensitiveLog: (obj: RecommendationMetrics) => any;
9335
9446
  }
9336
- /**
9337
- * <p>A list of environment parameters suggested by the Amazon SageMaker Inference Recommender.</p>
9338
- */
9339
- export interface EnvironmentParameter {
9340
- /**
9341
- * <p>The environment key suggested by the Amazon SageMaker Inference Recommender.</p>
9342
- */
9343
- Key: string | undefined;
9344
- /**
9345
- * <p>The value type suggested by the Amazon SageMaker Inference Recommender.</p>
9346
- */
9347
- ValueType: string | undefined;
9348
- /**
9349
- * <p>The value suggested by the Amazon SageMaker Inference Recommender.</p>
9350
- */
9351
- Value: string | undefined;
9352
- }
9353
- export declare namespace EnvironmentParameter {
9354
- /**
9355
- * @internal
9356
- */
9357
- const filterSensitiveLog: (obj: EnvironmentParameter) => any;
9358
- }
9359
- /**
9360
- * <p>Defines the model configuration. Includes the specification name and environment parameters.</p>
9361
- */
9362
- export interface ModelConfiguration {
9363
- /**
9364
- * <p>The inference specification name in the model package version.</p>
9365
- */
9366
- InferenceSpecificationName?: string;
9367
- /**
9368
- * <p>Defines the environment parameters that includes key, value types, and values.</p>
9369
- */
9370
- EnvironmentParameters?: EnvironmentParameter[];
9371
- }
9372
- export declare namespace ModelConfiguration {
9373
- /**
9374
- * @internal
9375
- */
9376
- const filterSensitiveLog: (obj: ModelConfiguration) => any;
9377
- }
9378
- /**
9379
- * <p>A list of recommendations made by Amazon SageMaker Inference Recommender.</p>
9380
- */
9381
- export interface InferenceRecommendation {
9382
- /**
9383
- * <p>The metrics used to decide what recommendation to make.</p>
9384
- */
9385
- Metrics: RecommendationMetrics | undefined;
9386
- /**
9387
- * <p>Defines the endpoint configuration parameters.</p>
9388
- */
9389
- EndpointConfiguration: EndpointOutputConfiguration | undefined;
9390
- /**
9391
- * <p>Defines the model configuration.</p>
9392
- */
9393
- ModelConfiguration: ModelConfiguration | undefined;
9394
- }
9395
- export declare namespace InferenceRecommendation {
9396
- /**
9397
- * @internal
9398
- */
9399
- const filterSensitiveLog: (obj: InferenceRecommendation) => any;
9400
- }
9401
- export declare enum RecommendationJobStatus {
9402
- COMPLETED = "COMPLETED",
9403
- FAILED = "FAILED",
9404
- IN_PROGRESS = "IN_PROGRESS",
9405
- PENDING = "PENDING",
9406
- STOPPED = "STOPPED",
9407
- STOPPING = "STOPPING"
9408
- }
9409
- export interface DescribeInferenceRecommendationsJobResponse {
9410
- /**
9411
- * <p>The name of the job. The name must be unique within an
9412
- * Amazon Web Services Region in the Amazon Web Services account.</p>
9413
- */
9414
- JobName: string | undefined;
9415
- /**
9416
- * <p>The job description that you provided when you initiated the job.</p>
9417
- */
9418
- JobDescription?: string;
9419
- /**
9420
- * <p>The job type that you provided when you initiated the job.</p>
9421
- */
9422
- JobType: RecommendationJobType | string | undefined;
9423
- /**
9424
- * <p>The Amazon Resource Name (ARN) of the job.</p>
9425
- */
9426
- JobArn: string | undefined;
9427
- /**
9428
- * <p>The Amazon Resource Name (ARN) of the Amazon Web Services
9429
- * Identity and Access Management (IAM) role you provided when you initiated the job.</p>
9430
- */
9431
- RoleArn: string | undefined;
9432
- /**
9433
- * <p>The status of the job.</p>
9434
- */
9435
- Status: RecommendationJobStatus | string | undefined;
9436
- /**
9437
- * <p>A timestamp that shows when the job was created.</p>
9438
- */
9439
- CreationTime: Date | undefined;
9440
- /**
9441
- * <p>A timestamp that shows when the job completed.</p>
9442
- */
9443
- CompletionTime?: Date;
9444
- /**
9445
- * <p>A timestamp that shows when the job was last modified.</p>
9446
- */
9447
- LastModifiedTime: Date | undefined;
9448
- /**
9449
- * <p>If the job fails, provides information why the job failed.</p>
9450
- */
9451
- FailureReason?: string;
9452
- /**
9453
- * <p>Returns information about the versioned model package Amazon Resource Name (ARN),
9454
- * the traffic pattern, and endpoint configurations you provided when you initiated the job.</p>
9455
- */
9456
- InputConfig: RecommendationJobInputConfig | undefined;
9457
- /**
9458
- * <p>The stopping conditions that you provided when you initiated the job.</p>
9459
- */
9460
- StoppingConditions?: RecommendationJobStoppingConditions;
9461
- /**
9462
- * <p>The recommendations made by Inference Recommender.</p>
9463
- */
9464
- InferenceRecommendations?: InferenceRecommendation[];
9465
- }
9466
- export declare namespace DescribeInferenceRecommendationsJobResponse {
9467
- /**
9468
- * @internal
9469
- */
9470
- const filterSensitiveLog: (obj: DescribeInferenceRecommendationsJobResponse) => any;
9471
- }