@aws-sdk/client-sagemaker 3.232.0 → 3.234.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 (84) hide show
  1. package/dist-cjs/SageMaker.js +30 -0
  2. package/dist-cjs/commands/DescribeAlgorithmCommand.js +3 -3
  3. package/dist-cjs/commands/DescribeAppCommand.js +1 -2
  4. package/dist-cjs/commands/ListAliasesCommand.js +46 -0
  5. package/dist-cjs/commands/ListAssociationsCommand.js +2 -1
  6. package/dist-cjs/commands/ListAutoMLJobsCommand.js +3 -3
  7. package/dist-cjs/commands/ListCandidatesForAutoMLJobCommand.js +3 -3
  8. package/dist-cjs/commands/UpdateFeatureGroupCommand.js +2 -1
  9. package/dist-cjs/commands/UpdateFeatureMetadataCommand.js +2 -2
  10. package/dist-cjs/commands/UpdateHubCommand.js +3 -3
  11. package/dist-cjs/commands/UpdateImageCommand.js +1 -2
  12. package/dist-cjs/commands/UpdateImageVersionCommand.js +46 -0
  13. package/dist-cjs/commands/index.js +2 -0
  14. package/dist-cjs/models/models_1.js +25 -19
  15. package/dist-cjs/models/models_2.js +25 -25
  16. package/dist-cjs/models/models_3.js +26 -26
  17. package/dist-cjs/models/models_4.js +29 -1
  18. package/dist-cjs/pagination/ListAliasesPaginator.js +36 -0
  19. package/dist-cjs/pagination/index.js +1 -0
  20. package/dist-cjs/protocols/Aws_json1_1.js +179 -9
  21. package/dist-es/SageMaker.js +30 -0
  22. package/dist-es/commands/DescribeAlgorithmCommand.js +1 -1
  23. package/dist-es/commands/DescribeAppCommand.js +1 -2
  24. package/dist-es/commands/ListAliasesCommand.js +42 -0
  25. package/dist-es/commands/ListAssociationsCommand.js +2 -1
  26. package/dist-es/commands/ListAutoMLJobsCommand.js +1 -1
  27. package/dist-es/commands/ListCandidatesForAutoMLJobCommand.js +1 -1
  28. package/dist-es/commands/UpdateFeatureGroupCommand.js +2 -1
  29. package/dist-es/commands/UpdateFeatureMetadataCommand.js +1 -1
  30. package/dist-es/commands/UpdateHubCommand.js +1 -1
  31. package/dist-es/commands/UpdateImageCommand.js +1 -2
  32. package/dist-es/commands/UpdateImageVersionCommand.js +42 -0
  33. package/dist-es/commands/index.js +2 -0
  34. package/dist-es/models/models_1.js +18 -9
  35. package/dist-es/models/models_2.js +15 -15
  36. package/dist-es/models/models_3.js +15 -15
  37. package/dist-es/models/models_4.js +21 -0
  38. package/dist-es/pagination/ListAliasesPaginator.js +32 -0
  39. package/dist-es/pagination/index.js +1 -0
  40. package/dist-es/protocols/Aws_json1_1.js +166 -0
  41. package/dist-types/SageMaker.d.ts +14 -0
  42. package/dist-types/SageMakerClient.d.ts +4 -2
  43. package/dist-types/commands/DescribeAlgorithmCommand.d.ts +1 -1
  44. package/dist-types/commands/DescribeAppCommand.d.ts +1 -2
  45. package/dist-types/commands/ListAliasesCommand.d.ts +37 -0
  46. package/dist-types/commands/ListAssociationsCommand.d.ts +2 -1
  47. package/dist-types/commands/ListAutoMLJobsCommand.d.ts +1 -1
  48. package/dist-types/commands/ListCandidatesForAutoMLJobCommand.d.ts +1 -1
  49. package/dist-types/commands/UpdateFeatureGroupCommand.d.ts +2 -1
  50. package/dist-types/commands/UpdateFeatureMetadataCommand.d.ts +1 -1
  51. package/dist-types/commands/UpdateHubCommand.d.ts +1 -1
  52. package/dist-types/commands/UpdateImageCommand.d.ts +1 -2
  53. package/dist-types/commands/UpdateImageVersionCommand.d.ts +37 -0
  54. package/dist-types/commands/index.d.ts +2 -0
  55. package/dist-types/models/models_0.d.ts +12 -12
  56. package/dist-types/models/models_1.d.ts +116 -107
  57. package/dist-types/models/models_2.d.ts +213 -137
  58. package/dist-types/models/models_3.d.ts +129 -97
  59. package/dist-types/models/models_4.d.ts +204 -3
  60. package/dist-types/pagination/ListAliasesPaginator.d.ts +4 -0
  61. package/dist-types/pagination/index.d.ts +1 -0
  62. package/dist-types/protocols/Aws_json1_1.d.ts +6 -0
  63. package/dist-types/ts3.4/SageMaker.d.ts +34 -0
  64. package/dist-types/ts3.4/SageMakerClient.d.ts +12 -0
  65. package/dist-types/ts3.4/commands/DescribeAlgorithmCommand.d.ts +1 -1
  66. package/dist-types/ts3.4/commands/DescribeAppCommand.d.ts +1 -2
  67. package/dist-types/ts3.4/commands/ListAliasesCommand.d.ts +34 -0
  68. package/dist-types/ts3.4/commands/ListAssociationsCommand.d.ts +2 -4
  69. package/dist-types/ts3.4/commands/ListAutoMLJobsCommand.d.ts +1 -1
  70. package/dist-types/ts3.4/commands/ListCandidatesForAutoMLJobCommand.d.ts +1 -1
  71. package/dist-types/ts3.4/commands/UpdateFeatureGroupCommand.d.ts +2 -4
  72. package/dist-types/ts3.4/commands/UpdateFeatureMetadataCommand.d.ts +1 -1
  73. package/dist-types/ts3.4/commands/UpdateHubCommand.d.ts +1 -1
  74. package/dist-types/ts3.4/commands/UpdateImageCommand.d.ts +1 -2
  75. package/dist-types/ts3.4/commands/UpdateImageVersionCommand.d.ts +38 -0
  76. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  77. package/dist-types/ts3.4/models/models_1.d.ts +26 -37
  78. package/dist-types/ts3.4/models/models_2.d.ts +64 -54
  79. package/dist-types/ts3.4/models/models_3.d.ts +56 -42
  80. package/dist-types/ts3.4/models/models_4.d.ts +74 -1
  81. package/dist-types/ts3.4/pagination/ListAliasesPaginator.d.ts +11 -0
  82. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  83. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +24 -0
  84. package/package.json +7 -7
@@ -1,5 +1,5 @@
1
1
  import { LazyJsonString as __LazyJsonString } from "@aws-sdk/smithy-client";
2
- import { ActionSource, ActionStatus, AdditionalInferenceSpecificationDefinition, AlgorithmSpecification, AlgorithmStatus, AlgorithmStatusDetails, AlgorithmValidationSpecification, AnnotationConsolidationConfig, AppSpecification, AppType, ArtifactSource, AthenaDatasetDefinition, AwsManagedHumanLoopRequestSource, BatchDataCaptureConfig, BatchStrategy, BatchTransformInput, Bias, CaptureContentTypeHeader, CaptureStatus, CategoricalParameter, CategoricalParameterRange, Channel, CheckpointConfig, CognitoConfig, CognitoMemberDefinition, CollectionConfiguration, ContainerDefinition, ContentClassifier, ContinuousParameterRange, DataCatalogConfig, DeviceSelectionConfig, EdgeDeploymentConfig, EndpointInput, FeatureDefinition, HyperParameterScalingType, HyperParameterTuningJobObjective, InferenceSpecification, JupyterServerAppSettings, KernelGatewayAppSettings, MetadataProperties, MetricDefinition, MetricsSource, ModelApprovalStatus, MonitoringConstraintsResource, MonitoringNetworkConfig, MonitoringOutputConfig, MonitoringResources, MonitoringStatisticsResource, MonitoringStoppingCondition, OutputDataConfig, ProcessingInstanceType, ProcessingS3DataDistributionType, ProcessingS3InputMode, ProcessingS3UploadMode, ProductionVariantInstanceType, ResourceConfig, S3StorageConfig, StoppingCondition, Tag, TrainingInputMode, TrainingInstanceType, TrainingSpecification, TransformInput, TransformJobDefinition, TransformOutput, TransformResources, UserContext, UserSettings, VpcConfig } from "./models_0";
2
+ import { ActionSource, ActionStatus, AdditionalInferenceSpecificationDefinition, AlgorithmSpecification, AnnotationConsolidationConfig, AppSpecification, AppType, ArtifactSource, AthenaDatasetDefinition, AwsManagedHumanLoopRequestSource, BatchDataCaptureConfig, BatchStrategy, BatchTransformInput, Bias, CaptureContentTypeHeader, CaptureStatus, CategoricalParameter, CategoricalParameterRange, Channel, CheckpointConfig, CognitoConfig, CognitoMemberDefinition, CollectionConfiguration, ContainerDefinition, ContentClassifier, ContinuousParameterRange, DataCatalogConfig, DeviceSelectionConfig, EdgeDeploymentConfig, EndpointInput, FeatureDefinition, HyperParameterScalingType, HyperParameterTuningJobObjective, InferenceSpecification, JupyterServerAppSettings, KernelGatewayAppSettings, MetadataProperties, MetricDefinition, MetricsSource, ModelApprovalStatus, MonitoringConstraintsResource, MonitoringNetworkConfig, MonitoringOutputConfig, MonitoringResources, MonitoringStatisticsResource, MonitoringStoppingCondition, OutputDataConfig, ProcessingInstanceType, ProcessingS3DataDistributionType, ProcessingS3InputMode, ProcessingS3UploadMode, ProductionVariantInstanceType, ResourceConfig, S3StorageConfig, StoppingCondition, Tag, TrainingInputMode, TrainingInstanceType, TransformInput, TransformJobDefinition, TransformOutput, TransformResources, UserContext, UserSettings, VpcConfig } from "./models_0";
3
3
  export declare enum TableFormat {
4
4
  GLUE = "Glue",
5
5
  ICEBERG = "Iceberg"
@@ -1308,22 +1308,20 @@ export interface HyperParameterTuningJobConfig {
1308
1308
  */
1309
1309
  StrategyConfig?: HyperParameterTuningJobStrategyConfig;
1310
1310
  /**
1311
- * <p>The <a>HyperParameterTuningJobObjective</a> object that specifies the
1312
- * objective
1313
- * metric for this tuning job.</p>
1311
+ * <p>The <a>HyperParameterTuningJobObjective</a> specifies the objective metric
1312
+ * used to evaluate the performance of training jobs launched by this tuning job.</p>
1314
1313
  */
1315
1314
  HyperParameterTuningJobObjective?: HyperParameterTuningJobObjective;
1316
1315
  /**
1317
- * <p>The <a>ResourceLimits</a> object that specifies the
1318
- * maximum
1319
- * number of training jobs and parallel training jobs for this tuning
1316
+ * <p>The <a>ResourceLimits</a> object that specifies the maximum number of
1317
+ * training and parallel training jobs that can be used for this hyperparameter tuning
1320
1318
  * job.</p>
1321
1319
  */
1322
1320
  ResourceLimits: ResourceLimits | undefined;
1323
1321
  /**
1324
1322
  * <p>The <a>ParameterRanges</a> object that specifies the ranges of
1325
- * hyperparameters
1326
- * that this tuning job searches.</p>
1323
+ * hyperparameters that this tuning job searches over to find the optimal configuration for
1324
+ * the highest model performance against .your chosen objective metric. </p>
1327
1325
  */
1328
1326
  ParameterRanges?: ParameterRanges;
1329
1327
  /**
@@ -1351,6 +1349,12 @@ export interface HyperParameterTuningJobConfig {
1351
1349
  * <p>The tuning job's completion criteria.</p>
1352
1350
  */
1353
1351
  TuningJobCompletionCriteria?: TuningJobCompletionCriteria;
1352
+ /**
1353
+ * <p>A value used to initialize a pseudo-random number generator. Setting a random seed and
1354
+ * using the same seed later for the same tuning job will allow hyperparameter optimization
1355
+ * to find more a consistent hyperparameter configuration between the two runs.</p>
1356
+ */
1357
+ RandomSeed?: number;
1354
1358
  }
1355
1359
  /**
1356
1360
  * <p>Specifies
@@ -1458,9 +1462,9 @@ export interface HyperParameterTuningInstanceConfig {
1458
1462
  * <note>
1459
1463
  * <p>
1460
1464
  * <code>HyperParameterTuningResourceConfig</code> supports the capabilities of
1461
- * <code>ResourceConfig</code> with the exception of <code>KeepAlivePeriodInSeconds</code>.
1462
- * Hyperparameter tuning jobs use warm pools by default, which reuse clusters between
1463
- * training jobs.</p>
1465
+ * <code>ResourceConfig</code> with the exception of
1466
+ * <code>KeepAlivePeriodInSeconds</code>. Hyperparameter tuning jobs use warm pools
1467
+ * by default, which reuse clusters between training jobs.</p>
1464
1468
  * </note>
1465
1469
  */
1466
1470
  export interface HyperParameterTuningResourceConfig {
@@ -1836,7 +1840,7 @@ export interface CreateImageRequest {
1836
1840
  */
1837
1841
  ImageName: string | undefined;
1838
1842
  /**
1839
- * <p>The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to perform tasks on your behalf.</p>
1843
+ * <p>The ARN of an IAM role that enables Amazon SageMaker to perform tasks on your behalf.</p>
1840
1844
  */
1841
1845
  RoleArn: string | undefined;
1842
1846
  /**
@@ -1846,10 +1850,25 @@ export interface CreateImageRequest {
1846
1850
  }
1847
1851
  export interface CreateImageResponse {
1848
1852
  /**
1849
- * <p>The Amazon Resource Name (ARN) of the image.</p>
1853
+ * <p>The ARN of the image.</p>
1850
1854
  */
1851
1855
  ImageArn?: string;
1852
1856
  }
1857
+ export declare enum JobType {
1858
+ INFERENCE = "INFERENCE",
1859
+ NOTEBOOK_KERNEL = "NOTEBOOK_KERNEL",
1860
+ TRAINING = "TRAINING"
1861
+ }
1862
+ export declare enum Processor {
1863
+ CPU = "CPU",
1864
+ GPU = "GPU"
1865
+ }
1866
+ export declare enum VendorGuidance {
1867
+ ARCHIVED = "ARCHIVED",
1868
+ NOT_PROVIDED = "NOT_PROVIDED",
1869
+ STABLE = "STABLE",
1870
+ TO_BE_ARCHIVED = "TO_BE_ARCHIVED"
1871
+ }
1853
1872
  export interface CreateImageVersionRequest {
1854
1873
  /**
1855
1874
  * <p>The registry path of the container image to use as the starting point for this
@@ -1868,10 +1887,84 @@ export interface CreateImageVersionRequest {
1868
1887
  * <p>The <code>ImageName</code> of the <code>Image</code> to create a version of.</p>
1869
1888
  */
1870
1889
  ImageName: string | undefined;
1890
+ /**
1891
+ * <p>A list of aliases created with the image version.</p>
1892
+ */
1893
+ Aliases?: string[];
1894
+ /**
1895
+ * <p>The stability of the image version, specified by the maintainer.</p>
1896
+ * <ul>
1897
+ * <li>
1898
+ * <p>
1899
+ * <code>NOT_PROVIDED</code>: The maintainers did not provide a status for image version stability.</p>
1900
+ * </li>
1901
+ * <li>
1902
+ * <p>
1903
+ * <code>STABLE</code>: The image version is stable.</p>
1904
+ * </li>
1905
+ * <li>
1906
+ * <p>
1907
+ * <code>TO_BE_ARCHIVED</code>: The image version is set to be archived. Custom image versions that are set to be archived are automatically archived after three months.</p>
1908
+ * </li>
1909
+ * <li>
1910
+ * <p>
1911
+ * <code>ARCHIVED</code>: The image version is archived. Archived image versions are not searchable and are no longer actively supported. </p>
1912
+ * </li>
1913
+ * </ul>
1914
+ */
1915
+ VendorGuidance?: VendorGuidance | string;
1916
+ /**
1917
+ * <p>Indicates SageMaker job type compatibility.</p>
1918
+ * <ul>
1919
+ * <li>
1920
+ * <p>
1921
+ * <code>TRAINING</code>: The image version is compatible with SageMaker training jobs.</p>
1922
+ * </li>
1923
+ * <li>
1924
+ * <p>
1925
+ * <code>INFERENCE</code>: The image version is compatible with SageMaker inference jobs.</p>
1926
+ * </li>
1927
+ * <li>
1928
+ * <p>
1929
+ * <code>NOTEBOOK_KERNEL</code>: The image version is compatible with SageMaker notebook kernels.</p>
1930
+ * </li>
1931
+ * </ul>
1932
+ */
1933
+ JobType?: JobType | string;
1934
+ /**
1935
+ * <p>The machine learning framework vended in the image version.</p>
1936
+ */
1937
+ MLFramework?: string;
1938
+ /**
1939
+ * <p>The supported programming language and its version.</p>
1940
+ */
1941
+ ProgrammingLang?: string;
1942
+ /**
1943
+ * <p>Indicates CPU or GPU compatibility.</p>
1944
+ * <ul>
1945
+ * <li>
1946
+ * <p>
1947
+ * <code>CPU</code>: The image version is compatible with CPU.</p>
1948
+ * </li>
1949
+ * <li>
1950
+ * <p>
1951
+ * <code>GPU</code>: The image version is compatible with GPU.</p>
1952
+ * </li>
1953
+ * </ul>
1954
+ */
1955
+ Processor?: Processor | string;
1956
+ /**
1957
+ * <p>Indicates Horovod compatibility.</p>
1958
+ */
1959
+ Horovod?: boolean;
1960
+ /**
1961
+ * <p>The maintainer description of the image version.</p>
1962
+ */
1963
+ ReleaseNotes?: string;
1871
1964
  }
1872
1965
  export interface CreateImageVersionResponse {
1873
1966
  /**
1874
- * <p>The Amazon Resource Name (ARN) of the image version.</p>
1967
+ * <p>The ARN of the image version.</p>
1875
1968
  */
1876
1969
  ImageVersionArn?: string;
1877
1970
  }
@@ -7663,7 +7756,7 @@ export interface DeleteAppRequest {
7663
7756
  */
7664
7757
  DomainId: string | undefined;
7665
7758
  /**
7666
- * <p>The user profile name.</p>
7759
+ * <p>The user profile name. If this value is not set, then <code>SpaceName</code> must be set.</p>
7667
7760
  */
7668
7761
  UserProfileName?: string;
7669
7762
  /**
@@ -7675,7 +7768,7 @@ export interface DeleteAppRequest {
7675
7768
  */
7676
7769
  AppName: string | undefined;
7677
7770
  /**
7678
- * <p>The name of the space.</p>
7771
+ * <p>The name of the space. If this value is not set, then <code>UserProfileName</code> must be set.</p>
7679
7772
  */
7680
7773
  SpaceName?: string;
7681
7774
  }
@@ -7878,13 +7971,17 @@ export interface DeleteImageResponse {
7878
7971
  }
7879
7972
  export interface DeleteImageVersionRequest {
7880
7973
  /**
7881
- * <p>The name of the image.</p>
7974
+ * <p>The name of the image to delete.</p>
7882
7975
  */
7883
7976
  ImageName: string | undefined;
7884
7977
  /**
7885
7978
  * <p>The version to delete.</p>
7886
7979
  */
7887
- Version: number | undefined;
7980
+ Version?: number;
7981
+ /**
7982
+ * <p>The alias of the image to delete.</p>
7983
+ */
7984
+ Alias?: string;
7888
7985
  }
7889
7986
  export interface DeleteImageVersionResponse {
7890
7987
  }
@@ -8232,82 +8329,6 @@ export interface DescribeActionResponse {
8232
8329
  */
8233
8330
  LineageGroupArn?: string;
8234
8331
  }
8235
- export interface DescribeAlgorithmInput {
8236
- /**
8237
- * <p>The name of the algorithm to describe.</p>
8238
- */
8239
- AlgorithmName: string | undefined;
8240
- }
8241
- export interface DescribeAlgorithmOutput {
8242
- /**
8243
- * <p>The name of the algorithm being described.</p>
8244
- */
8245
- AlgorithmName: string | undefined;
8246
- /**
8247
- * <p>The Amazon Resource Name (ARN) of the algorithm.</p>
8248
- */
8249
- AlgorithmArn: string | undefined;
8250
- /**
8251
- * <p>A brief summary about the algorithm.</p>
8252
- */
8253
- AlgorithmDescription?: string;
8254
- /**
8255
- * <p>A timestamp specifying when the algorithm was created.</p>
8256
- */
8257
- CreationTime: Date | undefined;
8258
- /**
8259
- * <p>Details about training jobs run by this algorithm.</p>
8260
- */
8261
- TrainingSpecification: TrainingSpecification | undefined;
8262
- /**
8263
- * <p>Details about inference jobs that the algorithm runs.</p>
8264
- */
8265
- InferenceSpecification?: InferenceSpecification;
8266
- /**
8267
- * <p>Details about configurations for one or more training jobs that SageMaker runs to test the
8268
- * algorithm.</p>
8269
- */
8270
- ValidationSpecification?: AlgorithmValidationSpecification;
8271
- /**
8272
- * <p>The current status of the algorithm.</p>
8273
- */
8274
- AlgorithmStatus: AlgorithmStatus | string | undefined;
8275
- /**
8276
- * <p>Details about the current status of the algorithm.</p>
8277
- */
8278
- AlgorithmStatusDetails: AlgorithmStatusDetails | undefined;
8279
- /**
8280
- * <p>The product identifier of the algorithm.</p>
8281
- */
8282
- ProductId?: string;
8283
- /**
8284
- * <p>Whether the algorithm is certified to be listed in Amazon Web Services
8285
- * Marketplace.</p>
8286
- */
8287
- CertifyForMarketplace?: boolean;
8288
- }
8289
- export interface DescribeAppRequest {
8290
- /**
8291
- * <p>The domain ID.</p>
8292
- */
8293
- DomainId: string | undefined;
8294
- /**
8295
- * <p>The user profile name.</p>
8296
- */
8297
- UserProfileName?: string;
8298
- /**
8299
- * <p>The type of app.</p>
8300
- */
8301
- AppType: AppType | string | undefined;
8302
- /**
8303
- * <p>The name of the app.</p>
8304
- */
8305
- AppName: string | undefined;
8306
- /**
8307
- * <p>The name of the space.</p>
8308
- */
8309
- SpaceName?: string;
8310
- }
8311
8332
  /**
8312
8333
  * @internal
8313
8334
  */
@@ -9376,15 +9397,3 @@ export declare const DescribeActionRequestFilterSensitiveLog: (obj: DescribeActi
9376
9397
  * @internal
9377
9398
  */
9378
9399
  export declare const DescribeActionResponseFilterSensitiveLog: (obj: DescribeActionResponse) => any;
9379
- /**
9380
- * @internal
9381
- */
9382
- export declare const DescribeAlgorithmInputFilterSensitiveLog: (obj: DescribeAlgorithmInput) => any;
9383
- /**
9384
- * @internal
9385
- */
9386
- export declare const DescribeAlgorithmOutputFilterSensitiveLog: (obj: DescribeAlgorithmOutput) => any;
9387
- /**
9388
- * @internal
9389
- */
9390
- export declare const DescribeAppRequestFilterSensitiveLog: (obj: DescribeAppRequest) => any;