aws-sdk-sagemaker 1.233.0 → 1.235.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -273,6 +273,7 @@ module Aws::SageMaker
273
273
  ClusterSummaries = Shapes::ListShape.new(name: 'ClusterSummaries')
274
274
  ClusterSummary = Shapes::StructureShape.new(name: 'ClusterSummary')
275
275
  ClusterThreadsPerCore = Shapes::IntegerShape.new(name: 'ClusterThreadsPerCore')
276
+ CodeEditorAppImageConfig = Shapes::StructureShape.new(name: 'CodeEditorAppImageConfig')
276
277
  CodeEditorAppSettings = Shapes::StructureShape.new(name: 'CodeEditorAppSettings')
277
278
  CodeRepositories = Shapes::ListShape.new(name: 'CodeRepositories')
278
279
  CodeRepository = Shapes::StructureShape.new(name: 'CodeRepository')
@@ -2378,6 +2379,7 @@ module Aws::SageMaker
2378
2379
  AppImageConfigDetails.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModifiedTime"))
2379
2380
  AppImageConfigDetails.add_member(:kernel_gateway_image_config, Shapes::ShapeRef.new(shape: KernelGatewayImageConfig, location_name: "KernelGatewayImageConfig"))
2380
2381
  AppImageConfigDetails.add_member(:jupyter_lab_app_image_config, Shapes::ShapeRef.new(shape: JupyterLabAppImageConfig, location_name: "JupyterLabAppImageConfig"))
2382
+ AppImageConfigDetails.add_member(:code_editor_app_image_config, Shapes::ShapeRef.new(shape: CodeEditorAppImageConfig, location_name: "CodeEditorAppImageConfig"))
2381
2383
  AppImageConfigDetails.struct_class = Types::AppImageConfigDetails
2382
2384
 
2383
2385
  AppImageConfigList.member = Shapes::ShapeRef.new(shape: AppImageConfigDetails)
@@ -2870,7 +2872,12 @@ module Aws::SageMaker
2870
2872
  ClusterSummary.add_member(:cluster_status, Shapes::ShapeRef.new(shape: ClusterStatus, required: true, location_name: "ClusterStatus"))
2871
2873
  ClusterSummary.struct_class = Types::ClusterSummary
2872
2874
 
2875
+ CodeEditorAppImageConfig.add_member(:file_system_config, Shapes::ShapeRef.new(shape: FileSystemConfig, location_name: "FileSystemConfig"))
2876
+ CodeEditorAppImageConfig.add_member(:container_config, Shapes::ShapeRef.new(shape: ContainerConfig, location_name: "ContainerConfig"))
2877
+ CodeEditorAppImageConfig.struct_class = Types::CodeEditorAppImageConfig
2878
+
2873
2879
  CodeEditorAppSettings.add_member(:default_resource_spec, Shapes::ShapeRef.new(shape: ResourceSpec, location_name: "DefaultResourceSpec"))
2880
+ CodeEditorAppSettings.add_member(:custom_images, Shapes::ShapeRef.new(shape: CustomImages, location_name: "CustomImages"))
2874
2881
  CodeEditorAppSettings.add_member(:lifecycle_config_arns, Shapes::ShapeRef.new(shape: LifecycleConfigArns, location_name: "LifecycleConfigArns"))
2875
2882
  CodeEditorAppSettings.struct_class = Types::CodeEditorAppSettings
2876
2883
 
@@ -3021,6 +3028,7 @@ module Aws::SageMaker
3021
3028
  CreateAppImageConfigRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
3022
3029
  CreateAppImageConfigRequest.add_member(:kernel_gateway_image_config, Shapes::ShapeRef.new(shape: KernelGatewayImageConfig, location_name: "KernelGatewayImageConfig"))
3023
3030
  CreateAppImageConfigRequest.add_member(:jupyter_lab_app_image_config, Shapes::ShapeRef.new(shape: JupyterLabAppImageConfig, location_name: "JupyterLabAppImageConfig"))
3031
+ CreateAppImageConfigRequest.add_member(:code_editor_app_image_config, Shapes::ShapeRef.new(shape: CodeEditorAppImageConfig, location_name: "CodeEditorAppImageConfig"))
3024
3032
  CreateAppImageConfigRequest.struct_class = Types::CreateAppImageConfigRequest
3025
3033
 
3026
3034
  CreateAppImageConfigResponse.add_member(:app_image_config_arn, Shapes::ShapeRef.new(shape: AppImageConfigArn, location_name: "AppImageConfigArn"))
@@ -4119,6 +4127,7 @@ module Aws::SageMaker
4119
4127
  DescribeAppImageConfigResponse.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModifiedTime"))
4120
4128
  DescribeAppImageConfigResponse.add_member(:kernel_gateway_image_config, Shapes::ShapeRef.new(shape: KernelGatewayImageConfig, location_name: "KernelGatewayImageConfig"))
4121
4129
  DescribeAppImageConfigResponse.add_member(:jupyter_lab_app_image_config, Shapes::ShapeRef.new(shape: JupyterLabAppImageConfig, location_name: "JupyterLabAppImageConfig"))
4130
+ DescribeAppImageConfigResponse.add_member(:code_editor_app_image_config, Shapes::ShapeRef.new(shape: CodeEditorAppImageConfig, location_name: "CodeEditorAppImageConfig"))
4122
4131
  DescribeAppImageConfigResponse.struct_class = Types::DescribeAppImageConfigResponse
4123
4132
 
4124
4133
  DescribeAppRequest.add_member(:domain_id, Shapes::ShapeRef.new(shape: DomainId, required: true, location_name: "DomainId"))
@@ -9466,6 +9475,7 @@ module Aws::SageMaker
9466
9475
  UpdateAppImageConfigRequest.add_member(:app_image_config_name, Shapes::ShapeRef.new(shape: AppImageConfigName, required: true, location_name: "AppImageConfigName"))
9467
9476
  UpdateAppImageConfigRequest.add_member(:kernel_gateway_image_config, Shapes::ShapeRef.new(shape: KernelGatewayImageConfig, location_name: "KernelGatewayImageConfig"))
9468
9477
  UpdateAppImageConfigRequest.add_member(:jupyter_lab_app_image_config, Shapes::ShapeRef.new(shape: JupyterLabAppImageConfig, location_name: "JupyterLabAppImageConfig"))
9478
+ UpdateAppImageConfigRequest.add_member(:code_editor_app_image_config, Shapes::ShapeRef.new(shape: CodeEditorAppImageConfig, location_name: "CodeEditorAppImageConfig"))
9469
9479
  UpdateAppImageConfigRequest.struct_class = Types::UpdateAppImageConfigRequest
9470
9480
 
9471
9481
  UpdateAppImageConfigResponse.add_member(:app_image_config_arn, Shapes::ShapeRef.new(shape: AppImageConfigArn, location_name: "AppImageConfigArn"))
@@ -1336,6 +1336,11 @@ module Aws::SageMaker
1336
1336
  # environment variables and entry point.
1337
1337
  # @return [Types::JupyterLabAppImageConfig]
1338
1338
  #
1339
+ # @!attribute [rw] code_editor_app_image_config
1340
+ # The configuration for the file system and the runtime, such as the
1341
+ # environment variables and entry point.
1342
+ # @return [Types::CodeEditorAppImageConfig]
1343
+ #
1339
1344
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/AppImageConfigDetails AWS API Documentation
1340
1345
  #
1341
1346
  class AppImageConfigDetails < Struct.new(
@@ -1344,7 +1349,8 @@ module Aws::SageMaker
1344
1349
  :creation_time,
1345
1350
  :last_modified_time,
1346
1351
  :kernel_gateway_image_config,
1347
- :jupyter_lab_app_image_config)
1352
+ :jupyter_lab_app_image_config,
1353
+ :code_editor_app_image_config)
1348
1354
  SENSITIVE = []
1349
1355
  include Aws::Structure
1350
1356
  end
@@ -4055,15 +4061,25 @@ module Aws::SageMaker
4055
4061
  include Aws::Structure
4056
4062
  end
4057
4063
 
4058
- # The LifeCycle configuration for a SageMaker HyperPod cluster.
4064
+ # The lifecycle configuration for a SageMaker HyperPod cluster.
4059
4065
  #
4060
4066
  # @!attribute [rw] source_s3_uri
4061
- # An Amazon S3 bucket path where your LifeCycle scripts are stored.
4067
+ # An Amazon S3 bucket path where your lifecycle scripts are stored.
4068
+ #
4069
+ # Make sure that the S3 bucket path starts with `s3://sagemaker-`. The
4070
+ # [IAM role for SageMaker HyperPod][1] has the managed [
4071
+ # `AmazonSageMakerClusterInstanceRolePolicy` ][2] attached, which
4072
+ # allows access to S3 buckets with the specific prefix `sagemaker-`.
4073
+ #
4074
+ #
4075
+ #
4076
+ # [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-hyperpod-prerequisites.html#sagemaker-hyperpod-prerequisites-iam-role-for-hyperpod
4077
+ # [2]: https://docs.aws.amazon.com/sagemaker/latest/dg/security-iam-awsmanpol-cluster.html
4062
4078
  # @return [String]
4063
4079
  #
4064
4080
  # @!attribute [rw] on_create
4065
- # The directory of the LifeCycle script under `SourceS3Uri`. This
4066
- # LifeCycle script runs during cluster creation.
4081
+ # The file name of the entrypoint script of lifecycle scripts under
4082
+ # `SourceS3Uri`. This entrypoint script runs during cluster creation.
4067
4083
  # @return [String]
4068
4084
  #
4069
4085
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ClusterLifeCycleConfig AWS API Documentation
@@ -4185,6 +4201,28 @@ module Aws::SageMaker
4185
4201
  include Aws::Structure
4186
4202
  end
4187
4203
 
4204
+ # The configuration for the file system and kernels in a SageMaker image
4205
+ # running as a Code Editor app. The `FileSystemConfig` object is not
4206
+ # supported.
4207
+ #
4208
+ # @!attribute [rw] file_system_config
4209
+ # The Amazon Elastic File System storage configuration for a SageMaker
4210
+ # image.
4211
+ # @return [Types::FileSystemConfig]
4212
+ #
4213
+ # @!attribute [rw] container_config
4214
+ # The configuration used to run the application image container.
4215
+ # @return [Types::ContainerConfig]
4216
+ #
4217
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CodeEditorAppImageConfig AWS API Documentation
4218
+ #
4219
+ class CodeEditorAppImageConfig < Struct.new(
4220
+ :file_system_config,
4221
+ :container_config)
4222
+ SENSITIVE = []
4223
+ include Aws::Structure
4224
+ end
4225
+
4188
4226
  # The Code Editor application settings.
4189
4227
  #
4190
4228
  # For more information about Code Editor, see [Get started with Code
@@ -4199,6 +4237,11 @@ module Aws::SageMaker
4199
4237
  # version, and the instance type that the version runs on.
4200
4238
  # @return [Types::ResourceSpec]
4201
4239
  #
4240
+ # @!attribute [rw] custom_images
4241
+ # A list of custom SageMaker images that are configured to run as a
4242
+ # Code Editor app.
4243
+ # @return [Array<Types::CustomImage>]
4244
+ #
4202
4245
  # @!attribute [rw] lifecycle_config_arns
4203
4246
  # The Amazon Resource Name (ARN) of the Code Editor application
4204
4247
  # lifecycle configuration.
@@ -4208,6 +4251,7 @@ module Aws::SageMaker
4208
4251
  #
4209
4252
  class CodeEditorAppSettings < Struct.new(
4210
4253
  :default_resource_spec,
4254
+ :custom_images,
4211
4255
  :lifecycle_config_arns)
4212
4256
  SENSITIVE = []
4213
4257
  include Aws::Structure
@@ -4988,13 +5032,21 @@ module Aws::SageMaker
4988
5032
  # visible in JupyterLab.
4989
5033
  # @return [Types::JupyterLabAppImageConfig]
4990
5034
  #
5035
+ # @!attribute [rw] code_editor_app_image_config
5036
+ # The `CodeEditorAppImageConfig`. You can only specify one image
5037
+ # kernel in the AppImageConfig API. This kernel is shown to users
5038
+ # before the image starts. After the image runs, all kernels are
5039
+ # visible in Code Editor.
5040
+ # @return [Types::CodeEditorAppImageConfig]
5041
+ #
4991
5042
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateAppImageConfigRequest AWS API Documentation
4992
5043
  #
4993
5044
  class CreateAppImageConfigRequest < Struct.new(
4994
5045
  :app_image_config_name,
4995
5046
  :tags,
4996
5047
  :kernel_gateway_image_config,
4997
- :jupyter_lab_app_image_config)
5048
+ :jupyter_lab_app_image_config,
5049
+ :code_editor_app_image_config)
4998
5050
  SENSITIVE = []
4999
5051
  include Aws::Structure
5000
5052
  end
@@ -6251,7 +6303,7 @@ module Aws::SageMaker
6251
6303
  #
6252
6304
  # The name:
6253
6305
  #
6254
- # * Must start and end with an alphanumeric character.
6306
+ # * Must start with an alphanumeric character.
6255
6307
  #
6256
6308
  # * Can only include alphanumeric characters, underscores, and
6257
6309
  # hyphens. Spaces are not allowed.
@@ -6269,7 +6321,7 @@ module Aws::SageMaker
6269
6321
  #
6270
6322
  # This name:
6271
6323
  #
6272
- # * Must start and end with an alphanumeric character.
6324
+ # * Must start with an alphanumeric character.
6273
6325
  #
6274
6326
  # * Can only contains alphanumeric characters, hyphens, underscores.
6275
6327
  # Spaces are not allowed.
@@ -11486,6 +11538,10 @@ module Aws::SageMaker
11486
11538
  # The configuration of the JupyterLab app.
11487
11539
  # @return [Types::JupyterLabAppImageConfig]
11488
11540
  #
11541
+ # @!attribute [rw] code_editor_app_image_config
11542
+ # The configuration of the Code Editor app.
11543
+ # @return [Types::CodeEditorAppImageConfig]
11544
+ #
11489
11545
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeAppImageConfigResponse AWS API Documentation
11490
11546
  #
11491
11547
  class DescribeAppImageConfigResponse < Struct.new(
@@ -11494,7 +11550,8 @@ module Aws::SageMaker
11494
11550
  :creation_time,
11495
11551
  :last_modified_time,
11496
11552
  :kernel_gateway_image_config,
11497
- :jupyter_lab_app_image_config)
11553
+ :jupyter_lab_app_image_config,
11554
+ :code_editor_app_image_config)
11498
11555
  SENSITIVE = []
11499
11556
  include Aws::Structure
11500
11557
  end
@@ -19029,7 +19086,7 @@ module Aws::SageMaker
19029
19086
  #
19030
19087
  # The name:
19031
19088
  #
19032
- # * Must start and end with an alphanumeric character.
19089
+ # * Must start with an alphanumeric character.
19033
19090
  #
19034
19091
  # * Can only include alphanumeric characters, underscores, and
19035
19092
  # hyphens. Spaces are not allowed.
@@ -42782,12 +42839,17 @@ module Aws::SageMaker
42782
42839
  # The JupyterLab app running on the image.
42783
42840
  # @return [Types::JupyterLabAppImageConfig]
42784
42841
  #
42842
+ # @!attribute [rw] code_editor_app_image_config
42843
+ # The Code Editor app running on the image.
42844
+ # @return [Types::CodeEditorAppImageConfig]
42845
+ #
42785
42846
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateAppImageConfigRequest AWS API Documentation
42786
42847
  #
42787
42848
  class UpdateAppImageConfigRequest < Struct.new(
42788
42849
  :app_image_config_name,
42789
42850
  :kernel_gateway_image_config,
42790
- :jupyter_lab_app_image_config)
42851
+ :jupyter_lab_app_image_config,
42852
+ :code_editor_app_image_config)
42791
42853
  SENSITIVE = []
42792
42854
  include Aws::Structure
42793
42855
  end
@@ -53,6 +53,6 @@ require_relative 'aws-sdk-sagemaker/customizations'
53
53
  # @!group service
54
54
  module Aws::SageMaker
55
55
 
56
- GEM_VERSION = '1.233.0'
56
+ GEM_VERSION = '1.235.0'
57
57
 
58
58
  end