@aws-sdk/client-sagemaker 3.541.0 → 3.549.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 (27) hide show
  1. package/dist-cjs/index.js +9 -0
  2. package/dist-es/protocols/Aws_json1_1.js +9 -0
  3. package/dist-types/commands/CreateAppImageConfigCommand.d.ts +18 -0
  4. package/dist-types/commands/CreateDomainCommand.d.ts +7 -0
  5. package/dist-types/commands/CreateStudioLifecycleConfigCommand.d.ts +2 -1
  6. package/dist-types/commands/CreateUserProfileCommand.d.ts +7 -0
  7. package/dist-types/commands/DescribeAppImageConfigCommand.d.ts +18 -0
  8. package/dist-types/commands/DescribeDomainCommand.d.ts +7 -0
  9. package/dist-types/commands/DescribeSpaceCommand.d.ts +2 -1
  10. package/dist-types/commands/DescribeUserProfileCommand.d.ts +7 -0
  11. package/dist-types/commands/ListAppImageConfigsCommand.d.ts +18 -0
  12. package/dist-types/commands/UpdateAppImageConfigCommand.d.ts +18 -0
  13. package/dist-types/commands/UpdateDomainCommand.d.ts +7 -0
  14. package/dist-types/commands/UpdateUserProfileCommand.d.ts +7 -0
  15. package/dist-types/models/models_0.d.ts +57 -303
  16. package/dist-types/models/models_1.d.ts +304 -33
  17. package/dist-types/models/models_2.d.ts +17 -87
  18. package/dist-types/models/models_3.d.ts +87 -13
  19. package/dist-types/models/models_4.d.ts +18 -2
  20. package/dist-types/ts3.4/commands/CreateStudioLifecycleConfigCommand.d.ts +2 -4
  21. package/dist-types/ts3.4/commands/DescribeSpaceCommand.d.ts +2 -4
  22. package/dist-types/ts3.4/models/models_0.d.ts +12 -11
  23. package/dist-types/ts3.4/models/models_1.d.ts +14 -10
  24. package/dist-types/ts3.4/models/models_2.d.ts +7 -20
  25. package/dist-types/ts3.4/models/models_3.d.ts +19 -3
  26. package/dist-types/ts3.4/models/models_4.d.ts +5 -1
  27. package/package.json +6 -6
@@ -4139,6 +4139,23 @@ export interface FileSystemConfig {
4139
4139
  */
4140
4140
  DefaultGid?: number;
4141
4141
  }
4142
+ /**
4143
+ * <p>The configuration for the file system and kernels in a SageMaker image running as a Code Editor app.
4144
+ * The <code>FileSystemConfig</code> object is not supported.</p>
4145
+ * @public
4146
+ */
4147
+ export interface CodeEditorAppImageConfig {
4148
+ /**
4149
+ * <p>The Amazon Elastic File System storage configuration for a SageMaker image.</p>
4150
+ * @public
4151
+ */
4152
+ FileSystemConfig?: FileSystemConfig;
4153
+ /**
4154
+ * <p>The configuration used to run the application image container.</p>
4155
+ * @public
4156
+ */
4157
+ ContainerConfig?: ContainerConfig;
4158
+ }
4142
4159
  /**
4143
4160
  * <p>The configuration for the file system and kernels in a SageMaker image running as a JupyterLab app. The <code>FileSystemConfig</code> object is not supported.</p>
4144
4161
  * @public
@@ -4223,6 +4240,12 @@ export interface AppImageConfigDetails {
4223
4240
  * @public
4224
4241
  */
4225
4242
  JupyterLabAppImageConfig?: JupyterLabAppImageConfig;
4243
+ /**
4244
+ * <p>The configuration for the file system and the runtime,
4245
+ * such as the environment variables and entry point.</p>
4246
+ * @public
4247
+ */
4248
+ CodeEditorAppImageConfig?: CodeEditorAppImageConfig;
4226
4249
  }
4227
4250
  /**
4228
4251
  * @public
@@ -8362,6 +8385,28 @@ export interface ClusterSummary {
8362
8385
  */
8363
8386
  ClusterStatus: ClusterStatus | undefined;
8364
8387
  }
8388
+ /**
8389
+ * <p>A custom SageMaker image. For more information, see
8390
+ * <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/studio-byoi.html">Bring your own SageMaker image</a>.</p>
8391
+ * @public
8392
+ */
8393
+ export interface CustomImage {
8394
+ /**
8395
+ * <p>The name of the CustomImage. Must be unique to your account.</p>
8396
+ * @public
8397
+ */
8398
+ ImageName: string | undefined;
8399
+ /**
8400
+ * <p>The version number of the CustomImage.</p>
8401
+ * @public
8402
+ */
8403
+ ImageVersionNumber?: number;
8404
+ /**
8405
+ * <p>The name of the AppImageConfig.</p>
8406
+ * @public
8407
+ */
8408
+ AppImageConfigName: string | undefined;
8409
+ }
8365
8410
  /**
8366
8411
  * <p>The Code Editor application settings.</p>
8367
8412
  * <p>For more information about Code Editor, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/code-editor.html">Get started with Code
@@ -8375,6 +8420,11 @@ export interface CodeEditorAppSettings {
8375
8420
  * @public
8376
8421
  */
8377
8422
  DefaultResourceSpec?: ResourceSpec;
8423
+ /**
8424
+ * <p>A list of custom SageMaker images that are configured to run as a Code Editor app.</p>
8425
+ * @public
8426
+ */
8427
+ CustomImages?: CustomImage[];
8378
8428
  /**
8379
8429
  * <p>The Amazon Resource Name (ARN) of the Code Editor application
8380
8430
  * lifecycle configuration.</p>
@@ -9680,6 +9730,13 @@ export interface CreateAppImageConfigRequest {
9680
9730
  * @public
9681
9731
  */
9682
9732
  JupyterLabAppImageConfig?: JupyterLabAppImageConfig;
9733
+ /**
9734
+ * <p>The <code>CodeEditorAppImageConfig</code>. You can only specify one image kernel
9735
+ * in the AppImageConfig API. This kernel is shown to users before the image starts.
9736
+ * After the image runs, all kernels are visible in Code Editor.</p>
9737
+ * @public
9738
+ */
9739
+ CodeEditorAppImageConfig?: CodeEditorAppImageConfig;
9683
9740
  }
9684
9741
  /**
9685
9742
  * @public
@@ -10509,306 +10566,3 @@ export interface TargetPlatform {
10509
10566
  */
10510
10567
  Accelerator?: TargetPlatformAccelerator;
10511
10568
  }
10512
- /**
10513
- * <p>Contains information about the output location for the compiled model and the target
10514
- * device that the model runs on. <code>TargetDevice</code> and <code>TargetPlatform</code>
10515
- * are mutually exclusive, so you need to choose one between the two to specify your target
10516
- * device or platform. If you cannot find your device you want to use from the
10517
- * <code>TargetDevice</code> list, use <code>TargetPlatform</code> to describe the
10518
- * platform of your edge device and <code>CompilerOptions</code> if there are specific
10519
- * settings that are required or recommended to use for particular TargetPlatform.</p>
10520
- * @public
10521
- */
10522
- export interface OutputConfig {
10523
- /**
10524
- * <p>Identifies the S3 bucket where you want Amazon SageMaker to store the model artifacts. For
10525
- * example, <code>s3://bucket-name/key-name-prefix</code>.</p>
10526
- * @public
10527
- */
10528
- S3OutputLocation: string | undefined;
10529
- /**
10530
- * <p>Identifies the target device or the machine learning instance that you want to run
10531
- * your model on after the compilation has completed. Alternatively, you can specify OS,
10532
- * architecture, and accelerator using <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_TargetPlatform.html">TargetPlatform</a>
10533
- * fields. It can be used instead of <code>TargetPlatform</code>.</p>
10534
- * <note>
10535
- * <p>Currently <code>ml_trn1</code> is available only in US East (N. Virginia) Region,
10536
- * and <code>ml_inf2</code> is available only in US East (Ohio) Region.</p>
10537
- * </note>
10538
- * @public
10539
- */
10540
- TargetDevice?: TargetDevice;
10541
- /**
10542
- * <p>Contains information about a target platform that you want your model to run on, such
10543
- * as OS, architecture, and accelerators. It is an alternative of
10544
- * <code>TargetDevice</code>.</p>
10545
- * <p>The following examples show how to configure the <code>TargetPlatform</code> and
10546
- * <code>CompilerOptions</code> JSON strings for popular target platforms: </p>
10547
- * <ul>
10548
- * <li>
10549
- * <p>Raspberry Pi 3 Model B+</p>
10550
- * <p>
10551
- * <code>"TargetPlatform": \{"Os": "LINUX", "Arch": "ARM_EABIHF"\},</code>
10552
- * </p>
10553
- * <p>
10554
- * <code> "CompilerOptions": \{'mattr': ['+neon']\}</code>
10555
- * </p>
10556
- * </li>
10557
- * <li>
10558
- * <p>Jetson TX2</p>
10559
- * <p>
10560
- * <code>"TargetPlatform": \{"Os": "LINUX", "Arch": "ARM64", "Accelerator":
10561
- * "NVIDIA"\},</code>
10562
- * </p>
10563
- * <p>
10564
- * <code> "CompilerOptions": \{'gpu-code': 'sm_62', 'trt-ver': '6.0.1',
10565
- * 'cuda-ver': '10.0'\}</code>
10566
- * </p>
10567
- * </li>
10568
- * <li>
10569
- * <p>EC2 m5.2xlarge instance OS</p>
10570
- * <p>
10571
- * <code>"TargetPlatform": \{"Os": "LINUX", "Arch": "X86_64", "Accelerator":
10572
- * "NVIDIA"\},</code>
10573
- * </p>
10574
- * <p>
10575
- * <code> "CompilerOptions": \{'mcpu': 'skylake-avx512'\}</code>
10576
- * </p>
10577
- * </li>
10578
- * <li>
10579
- * <p>RK3399</p>
10580
- * <p>
10581
- * <code>"TargetPlatform": \{"Os": "LINUX", "Arch": "ARM64", "Accelerator":
10582
- * "MALI"\}</code>
10583
- * </p>
10584
- * </li>
10585
- * <li>
10586
- * <p>ARMv7 phone (CPU)</p>
10587
- * <p>
10588
- * <code>"TargetPlatform": \{"Os": "ANDROID", "Arch": "ARM_EABI"\},</code>
10589
- * </p>
10590
- * <p>
10591
- * <code> "CompilerOptions": \{'ANDROID_PLATFORM': 25, 'mattr':
10592
- * ['+neon']\}</code>
10593
- * </p>
10594
- * </li>
10595
- * <li>
10596
- * <p>ARMv8 phone (CPU)</p>
10597
- * <p>
10598
- * <code>"TargetPlatform": \{"Os": "ANDROID", "Arch": "ARM64"\},</code>
10599
- * </p>
10600
- * <p>
10601
- * <code> "CompilerOptions": \{'ANDROID_PLATFORM': 29\}</code>
10602
- * </p>
10603
- * </li>
10604
- * </ul>
10605
- * @public
10606
- */
10607
- TargetPlatform?: TargetPlatform;
10608
- /**
10609
- * <p>Specifies additional parameters for compiler options in JSON format. The compiler
10610
- * options are <code>TargetPlatform</code> specific. It is required for NVIDIA accelerators
10611
- * and highly recommended for CPU compilations. For any other cases, it is optional to
10612
- * specify <code>CompilerOptions.</code>
10613
- * </p>
10614
- * <ul>
10615
- * <li>
10616
- * <p>
10617
- * <code>DTYPE</code>: Specifies the data type for the input. When compiling for
10618
- * <code>ml_*</code> (except for <code>ml_inf</code>) instances using PyTorch
10619
- * framework, provide the data type (dtype) of the model's input.
10620
- * <code>"float32"</code> is used if <code>"DTYPE"</code> is not specified.
10621
- * Options for data type are:</p>
10622
- * <ul>
10623
- * <li>
10624
- * <p>float32: Use either <code>"float"</code> or
10625
- * <code>"float32"</code>.</p>
10626
- * </li>
10627
- * <li>
10628
- * <p>int64: Use either <code>"int64"</code> or <code>"long"</code>.</p>
10629
- * </li>
10630
- * </ul>
10631
- * <p> For example, <code>\{"dtype" : "float32"\}</code>.</p>
10632
- * </li>
10633
- * <li>
10634
- * <p>
10635
- * <code>CPU</code>: Compilation for CPU supports the following compiler
10636
- * options.</p>
10637
- * <ul>
10638
- * <li>
10639
- * <p>
10640
- * <code>mcpu</code>: CPU micro-architecture. For example, <code>\{'mcpu':
10641
- * 'skylake-avx512'\}</code>
10642
- * </p>
10643
- * </li>
10644
- * <li>
10645
- * <p>
10646
- * <code>mattr</code>: CPU flags. For example, <code>\{'mattr': ['+neon',
10647
- * '+vfpv4']\}</code>
10648
- * </p>
10649
- * </li>
10650
- * </ul>
10651
- * </li>
10652
- * <li>
10653
- * <p>
10654
- * <code>ARM</code>: Details of ARM CPU compilations.</p>
10655
- * <ul>
10656
- * <li>
10657
- * <p>
10658
- * <code>NEON</code>: NEON is an implementation of the Advanced SIMD
10659
- * extension used in ARMv7 processors.</p>
10660
- * <p>For example, add <code>\{'mattr': ['+neon']\}</code> to the compiler
10661
- * options if compiling for ARM 32-bit platform with the NEON
10662
- * support.</p>
10663
- * </li>
10664
- * </ul>
10665
- * </li>
10666
- * <li>
10667
- * <p>
10668
- * <code>NVIDIA</code>: Compilation for NVIDIA GPU supports the following
10669
- * compiler options.</p>
10670
- * <ul>
10671
- * <li>
10672
- * <p>
10673
- * <code>gpu_code</code>: Specifies the targeted architecture.</p>
10674
- * </li>
10675
- * <li>
10676
- * <p>
10677
- * <code>trt-ver</code>: Specifies the TensorRT versions in x.y.z.
10678
- * format.</p>
10679
- * </li>
10680
- * <li>
10681
- * <p>
10682
- * <code>cuda-ver</code>: Specifies the CUDA version in x.y
10683
- * format.</p>
10684
- * </li>
10685
- * </ul>
10686
- * <p>For example, <code>\{'gpu-code': 'sm_72', 'trt-ver': '6.0.1', 'cuda-ver':
10687
- * '10.1'\}</code>
10688
- * </p>
10689
- * </li>
10690
- * <li>
10691
- * <p>
10692
- * <code>ANDROID</code>: Compilation for the Android OS supports the following
10693
- * compiler options:</p>
10694
- * <ul>
10695
- * <li>
10696
- * <p>
10697
- * <code>ANDROID_PLATFORM</code>: Specifies the Android API levels.
10698
- * Available levels range from 21 to 29. For example,
10699
- * <code>\{'ANDROID_PLATFORM': 28\}</code>.</p>
10700
- * </li>
10701
- * <li>
10702
- * <p>
10703
- * <code>mattr</code>: Add <code>\{'mattr': ['+neon']\}</code> to compiler
10704
- * options if compiling for ARM 32-bit platform with NEON support.</p>
10705
- * </li>
10706
- * </ul>
10707
- * </li>
10708
- * <li>
10709
- * <p>
10710
- * <code>INFERENTIA</code>: Compilation for target ml_inf1 uses compiler options
10711
- * passed in as a JSON string. For example, <code>"CompilerOptions": "\"--verbose 1
10712
- * --num-neuroncores 2 -O2\""</code>. </p>
10713
- * <p>For information about supported compiler options, see <a href="https://awsdocs-neuron.readthedocs-hosted.com/en/latest/compiler/neuronx-cc/api-reference-guide/neuron-compiler-cli-reference-guide.html"> Neuron Compiler CLI Reference Guide</a>. </p>
10714
- * </li>
10715
- * <li>
10716
- * <p>
10717
- * <code>CoreML</code>: Compilation for the CoreML <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_OutputConfig.html">OutputConfig</a>
10718
- * <code>TargetDevice</code> supports the following compiler options:</p>
10719
- * <ul>
10720
- * <li>
10721
- * <p>
10722
- * <code>class_labels</code>: Specifies the classification labels file
10723
- * name inside input tar.gz file. For example, <code>\{"class_labels":
10724
- * "imagenet_labels_1000.txt"\}</code>. Labels inside the txt file
10725
- * should be separated by newlines.</p>
10726
- * </li>
10727
- * </ul>
10728
- * </li>
10729
- * <li>
10730
- * <p>
10731
- * <code>EIA</code>: Compilation for the Elastic Inference Accelerator supports
10732
- * the following compiler options:</p>
10733
- * <ul>
10734
- * <li>
10735
- * <p>
10736
- * <code>precision_mode</code>: Specifies the precision of compiled
10737
- * artifacts. Supported values are <code>"FP16"</code> and
10738
- * <code>"FP32"</code>. Default is <code>"FP32"</code>.</p>
10739
- * </li>
10740
- * <li>
10741
- * <p>
10742
- * <code>signature_def_key</code>: Specifies the signature to use for
10743
- * models in SavedModel format. Defaults is TensorFlow's default signature
10744
- * def key.</p>
10745
- * </li>
10746
- * <li>
10747
- * <p>
10748
- * <code>output_names</code>: Specifies a list of output tensor names for
10749
- * models in FrozenGraph format. Set at most one API field, either:
10750
- * <code>signature_def_key</code> or <code>output_names</code>.</p>
10751
- * </li>
10752
- * </ul>
10753
- * <p>For example: <code>\{"precision_mode": "FP32", "output_names":
10754
- * ["output:0"]\}</code>
10755
- * </p>
10756
- * </li>
10757
- * </ul>
10758
- * @public
10759
- */
10760
- CompilerOptions?: string;
10761
- /**
10762
- * <p>The Amazon Web Services Key Management Service key (Amazon Web Services KMS) that Amazon SageMaker
10763
- * uses to encrypt your output models with Amazon S3 server-side encryption after compilation
10764
- * job. If you don't provide a KMS key ID, Amazon SageMaker uses the default KMS key for Amazon S3 for your
10765
- * role's account. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/UsingKMSEncryption.html">KMS-Managed Encryption
10766
- * Keys</a> in the <i>Amazon Simple Storage Service Developer
10767
- * Guide.</i>
10768
- * </p>
10769
- * <p>The KmsKeyId can be any of the following formats: </p>
10770
- * <ul>
10771
- * <li>
10772
- * <p>Key ID: <code>1234abcd-12ab-34cd-56ef-1234567890ab</code>
10773
- * </p>
10774
- * </li>
10775
- * <li>
10776
- * <p>Key ARN:
10777
- * <code>arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab</code>
10778
- * </p>
10779
- * </li>
10780
- * <li>
10781
- * <p>Alias name: <code>alias/ExampleAlias</code>
10782
- * </p>
10783
- * </li>
10784
- * <li>
10785
- * <p>Alias name ARN:
10786
- * <code>arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias</code>
10787
- * </p>
10788
- * </li>
10789
- * </ul>
10790
- * @public
10791
- */
10792
- KmsKeyId?: string;
10793
- }
10794
- /**
10795
- * <p>The <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_VpcConfig.html">VpcConfig</a> configuration object that specifies the VPC that you want the
10796
- * compilation jobs to connect to. For more information on controlling access to your Amazon S3
10797
- * buckets used for compilation job, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/neo-vpc.html">Give Amazon SageMaker Compilation Jobs Access to
10798
- * Resources in Your Amazon VPC</a>.</p>
10799
- * @public
10800
- */
10801
- export interface NeoVpcConfig {
10802
- /**
10803
- * <p>The VPC security group IDs. IDs have the form of <code>sg-xxxxxxxx</code>. Specify the
10804
- * security groups for the VPC that is specified in the <code>Subnets</code> field.</p>
10805
- * @public
10806
- */
10807
- SecurityGroupIds: string[] | undefined;
10808
- /**
10809
- * <p>The ID of the subnets in the VPC that you want to connect the compilation job to for
10810
- * accessing the model in Amazon S3.</p>
10811
- * @public
10812
- */
10813
- Subnets: string[] | undefined;
10814
- }