aws-sdk-sagemaker 1.78.0 → 1.83.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +433 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-sagemaker.rb +2 -2
- data/lib/aws-sdk-sagemaker/client.rb +37 -5
- data/lib/aws-sdk-sagemaker/client_api.rb +21 -1
- data/lib/aws-sdk-sagemaker/errors.rb +1 -1
- data/lib/aws-sdk-sagemaker/resource.rb +1 -1
- data/lib/aws-sdk-sagemaker/types.rb +256 -10
- data/lib/aws-sdk-sagemaker/waiters.rb +1 -1
- metadata +8 -5
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
1.83.0
|
data/lib/aws-sdk-sagemaker.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -49,6 +49,6 @@ require_relative 'aws-sdk-sagemaker/customizations'
|
|
49
49
|
# @!group service
|
50
50
|
module Aws::SageMaker
|
51
51
|
|
52
|
-
GEM_VERSION = '1.
|
52
|
+
GEM_VERSION = '1.83.0'
|
53
53
|
|
54
54
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -1304,7 +1304,7 @@ module Aws::SageMaker
|
|
1304
1304
|
# },
|
1305
1305
|
# output_config: { # required
|
1306
1306
|
# s3_output_location: "S3Uri", # required
|
1307
|
-
# target_device: "lambda", # accepts lambda, ml_m4, ml_m5, ml_c4, ml_c5, ml_p2, ml_p3, ml_g4dn, ml_inf1, jetson_tx1, jetson_tx2, jetson_nano, jetson_xavier, rasp3b, imx8qm, deeplens, rk3399, rk3288, aisage, sbe_c, qcs605, qcs603, sitara_am57x, amba_cv22, x86_win32, x86_win64, coreml, jacinto_tda4vm
|
1307
|
+
# target_device: "lambda", # accepts lambda, ml_m4, ml_m5, ml_c4, ml_c5, ml_p2, ml_p3, ml_g4dn, ml_inf1, ml_eia2, jetson_tx1, jetson_tx2, jetson_nano, jetson_xavier, rasp3b, imx8qm, deeplens, rk3399, rk3288, aisage, sbe_c, qcs605, qcs603, sitara_am57x, amba_cv22, x86_win32, x86_win64, coreml, jacinto_tda4vm
|
1308
1308
|
# target_platform: {
|
1309
1309
|
# os: "ANDROID", # required, accepts ANDROID, LINUX
|
1310
1310
|
# arch: "X86_64", # required, accepts X86_64, X86, ARM64, ARM_EABI, ARM_EABIHF
|
@@ -2088,6 +2088,10 @@ module Aws::SageMaker
|
|
2088
2088
|
# instance_type: "ml.t2.medium", # required, accepts ml.t2.medium, ml.t2.large, ml.t2.xlarge, ml.t2.2xlarge, ml.m4.xlarge, ml.m4.2xlarge, ml.m4.4xlarge, ml.m4.10xlarge, ml.m4.16xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.12xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.12xlarge, ml.m5d.24xlarge, ml.c4.large, ml.c4.xlarge, ml.c4.2xlarge, ml.c4.4xlarge, ml.c4.8xlarge, ml.p2.xlarge, ml.p2.8xlarge, ml.p2.16xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.18xlarge, ml.c5d.large, ml.c5d.xlarge, ml.c5d.2xlarge, ml.c5d.4xlarge, ml.c5d.9xlarge, ml.c5d.18xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.12xlarge, ml.r5.24xlarge, ml.r5d.large, ml.r5d.xlarge, ml.r5d.2xlarge, ml.r5d.4xlarge, ml.r5d.12xlarge, ml.r5d.24xlarge, ml.inf1.xlarge, ml.inf1.2xlarge, ml.inf1.6xlarge, ml.inf1.24xlarge
|
2089
2089
|
# initial_variant_weight: 1.0,
|
2090
2090
|
# accelerator_type: "ml.eia1.medium", # accepts ml.eia1.medium, ml.eia1.large, ml.eia1.xlarge, ml.eia2.medium, ml.eia2.large, ml.eia2.xlarge
|
2091
|
+
# core_dump_config: {
|
2092
|
+
# destination_s3_uri: "DestinationS3Uri", # required
|
2093
|
+
# kms_key_id: "KmsKeyId",
|
2094
|
+
# },
|
2091
2095
|
# },
|
2092
2096
|
# ],
|
2093
2097
|
# data_capture_config: {
|
@@ -2337,6 +2341,7 @@ module Aws::SageMaker
|
|
2337
2341
|
# s3_storage_config: { # required
|
2338
2342
|
# s3_uri: "S3Uri", # required
|
2339
2343
|
# kms_key_id: "KmsKeyId",
|
2344
|
+
# resolved_output_s3_uri: "S3Uri",
|
2340
2345
|
# },
|
2341
2346
|
# disable_glue_table_creation: false,
|
2342
2347
|
# data_catalog_config: {
|
@@ -3294,6 +3299,10 @@ module Aws::SageMaker
|
|
3294
3299
|
# @option params [Array<Types::ContainerDefinition>] :containers
|
3295
3300
|
# Specifies the containers in the inference pipeline.
|
3296
3301
|
#
|
3302
|
+
# @option params [Types::InferenceExecutionConfig] :inference_execution_config
|
3303
|
+
# Specifies details of how containers in a multi-container endpoint are
|
3304
|
+
# called.
|
3305
|
+
#
|
3297
3306
|
# @option params [required, String] :execution_role_arn
|
3298
3307
|
# The Amazon Resource Name (ARN) of the IAM role that Amazon SageMaker
|
3299
3308
|
# can assume to access model artifacts and docker image for deployment
|
@@ -3349,6 +3358,9 @@ module Aws::SageMaker
|
|
3349
3358
|
# image: "ContainerImage",
|
3350
3359
|
# image_config: {
|
3351
3360
|
# repository_access_mode: "Platform", # required, accepts Platform, Vpc
|
3361
|
+
# repository_auth_config: {
|
3362
|
+
# repository_credentials_provider_arn: "RepositoryCredentialsProviderArn", # required
|
3363
|
+
# },
|
3352
3364
|
# },
|
3353
3365
|
# mode: "SingleModel", # accepts SingleModel, MultiModel
|
3354
3366
|
# model_data_url: "Url",
|
@@ -3366,6 +3378,9 @@ module Aws::SageMaker
|
|
3366
3378
|
# image: "ContainerImage",
|
3367
3379
|
# image_config: {
|
3368
3380
|
# repository_access_mode: "Platform", # required, accepts Platform, Vpc
|
3381
|
+
# repository_auth_config: {
|
3382
|
+
# repository_credentials_provider_arn: "RepositoryCredentialsProviderArn", # required
|
3383
|
+
# },
|
3369
3384
|
# },
|
3370
3385
|
# mode: "SingleModel", # accepts SingleModel, MultiModel
|
3371
3386
|
# model_data_url: "Url",
|
@@ -3378,6 +3393,9 @@ module Aws::SageMaker
|
|
3378
3393
|
# },
|
3379
3394
|
# },
|
3380
3395
|
# ],
|
3396
|
+
# inference_execution_config: {
|
3397
|
+
# mode: "Serial", # required, accepts Serial, Direct
|
3398
|
+
# },
|
3381
3399
|
# execution_role_arn: "RoleArn", # required
|
3382
3400
|
# tags: [
|
3383
3401
|
# {
|
@@ -7629,7 +7647,7 @@ module Aws::SageMaker
|
|
7629
7647
|
# resp.input_config.framework #=> String, one of "TENSORFLOW", "KERAS", "MXNET", "ONNX", "PYTORCH", "XGBOOST", "TFLITE", "DARKNET", "SKLEARN"
|
7630
7648
|
# resp.input_config.framework_version #=> String
|
7631
7649
|
# resp.output_config.s3_output_location #=> String
|
7632
|
-
# resp.output_config.target_device #=> String, one of "lambda", "ml_m4", "ml_m5", "ml_c4", "ml_c5", "ml_p2", "ml_p3", "ml_g4dn", "ml_inf1", "jetson_tx1", "jetson_tx2", "jetson_nano", "jetson_xavier", "rasp3b", "imx8qm", "deeplens", "rk3399", "rk3288", "aisage", "sbe_c", "qcs605", "qcs603", "sitara_am57x", "amba_cv22", "x86_win32", "x86_win64", "coreml", "jacinto_tda4vm"
|
7650
|
+
# resp.output_config.target_device #=> String, one of "lambda", "ml_m4", "ml_m5", "ml_c4", "ml_c5", "ml_p2", "ml_p3", "ml_g4dn", "ml_inf1", "ml_eia2", "jetson_tx1", "jetson_tx2", "jetson_nano", "jetson_xavier", "rasp3b", "imx8qm", "deeplens", "rk3399", "rk3288", "aisage", "sbe_c", "qcs605", "qcs603", "sitara_am57x", "amba_cv22", "x86_win32", "x86_win64", "coreml", "jacinto_tda4vm"
|
7633
7651
|
# resp.output_config.target_platform.os #=> String, one of "ANDROID", "LINUX"
|
7634
7652
|
# resp.output_config.target_platform.arch #=> String, one of "X86_64", "X86", "ARM64", "ARM_EABI", "ARM_EABIHF"
|
7635
7653
|
# resp.output_config.target_platform.accelerator #=> String, one of "INTEL_GRAPHICS", "MALI", "NVIDIA"
|
@@ -8116,6 +8134,8 @@ module Aws::SageMaker
|
|
8116
8134
|
# resp.production_variants[0].instance_type #=> String, one of "ml.t2.medium", "ml.t2.large", "ml.t2.xlarge", "ml.t2.2xlarge", "ml.m4.xlarge", "ml.m4.2xlarge", "ml.m4.4xlarge", "ml.m4.10xlarge", "ml.m4.16xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.12xlarge", "ml.m5.24xlarge", "ml.m5d.large", "ml.m5d.xlarge", "ml.m5d.2xlarge", "ml.m5d.4xlarge", "ml.m5d.12xlarge", "ml.m5d.24xlarge", "ml.c4.large", "ml.c4.xlarge", "ml.c4.2xlarge", "ml.c4.4xlarge", "ml.c4.8xlarge", "ml.p2.xlarge", "ml.p2.8xlarge", "ml.p2.16xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.18xlarge", "ml.c5d.large", "ml.c5d.xlarge", "ml.c5d.2xlarge", "ml.c5d.4xlarge", "ml.c5d.9xlarge", "ml.c5d.18xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.12xlarge", "ml.r5.24xlarge", "ml.r5d.large", "ml.r5d.xlarge", "ml.r5d.2xlarge", "ml.r5d.4xlarge", "ml.r5d.12xlarge", "ml.r5d.24xlarge", "ml.inf1.xlarge", "ml.inf1.2xlarge", "ml.inf1.6xlarge", "ml.inf1.24xlarge"
|
8117
8135
|
# resp.production_variants[0].initial_variant_weight #=> Float
|
8118
8136
|
# resp.production_variants[0].accelerator_type #=> String, one of "ml.eia1.medium", "ml.eia1.large", "ml.eia1.xlarge", "ml.eia2.medium", "ml.eia2.large", "ml.eia2.xlarge"
|
8137
|
+
# resp.production_variants[0].core_dump_config.destination_s3_uri #=> String
|
8138
|
+
# resp.production_variants[0].core_dump_config.kms_key_id #=> String
|
8119
8139
|
# resp.data_capture_config.enable_capture #=> Boolean
|
8120
8140
|
# resp.data_capture_config.initial_sampling_percentage #=> Integer
|
8121
8141
|
# resp.data_capture_config.destination_s3_uri #=> String
|
@@ -8236,6 +8256,7 @@ module Aws::SageMaker
|
|
8236
8256
|
# resp.online_store_config.enable_online_store #=> Boolean
|
8237
8257
|
# resp.offline_store_config.s3_storage_config.s3_uri #=> String
|
8238
8258
|
# resp.offline_store_config.s3_storage_config.kms_key_id #=> String
|
8259
|
+
# resp.offline_store_config.s3_storage_config.resolved_output_s3_uri #=> String
|
8239
8260
|
# resp.offline_store_config.disable_glue_table_creation #=> Boolean
|
8240
8261
|
# resp.offline_store_config.data_catalog_config.table_name #=> String
|
8241
8262
|
# resp.offline_store_config.data_catalog_config.catalog #=> String
|
@@ -8778,6 +8799,7 @@ module Aws::SageMaker
|
|
8778
8799
|
# * {Types::DescribeModelOutput#model_name #model_name} => String
|
8779
8800
|
# * {Types::DescribeModelOutput#primary_container #primary_container} => Types::ContainerDefinition
|
8780
8801
|
# * {Types::DescribeModelOutput#containers #containers} => Array<Types::ContainerDefinition>
|
8802
|
+
# * {Types::DescribeModelOutput#inference_execution_config #inference_execution_config} => Types::InferenceExecutionConfig
|
8781
8803
|
# * {Types::DescribeModelOutput#execution_role_arn #execution_role_arn} => String
|
8782
8804
|
# * {Types::DescribeModelOutput#vpc_config #vpc_config} => Types::VpcConfig
|
8783
8805
|
# * {Types::DescribeModelOutput#creation_time #creation_time} => Time
|
@@ -8796,6 +8818,7 @@ module Aws::SageMaker
|
|
8796
8818
|
# resp.primary_container.container_hostname #=> String
|
8797
8819
|
# resp.primary_container.image #=> String
|
8798
8820
|
# resp.primary_container.image_config.repository_access_mode #=> String, one of "Platform", "Vpc"
|
8821
|
+
# resp.primary_container.image_config.repository_auth_config.repository_credentials_provider_arn #=> String
|
8799
8822
|
# resp.primary_container.mode #=> String, one of "SingleModel", "MultiModel"
|
8800
8823
|
# resp.primary_container.model_data_url #=> String
|
8801
8824
|
# resp.primary_container.environment #=> Hash
|
@@ -8806,12 +8829,14 @@ module Aws::SageMaker
|
|
8806
8829
|
# resp.containers[0].container_hostname #=> String
|
8807
8830
|
# resp.containers[0].image #=> String
|
8808
8831
|
# resp.containers[0].image_config.repository_access_mode #=> String, one of "Platform", "Vpc"
|
8832
|
+
# resp.containers[0].image_config.repository_auth_config.repository_credentials_provider_arn #=> String
|
8809
8833
|
# resp.containers[0].mode #=> String, one of "SingleModel", "MultiModel"
|
8810
8834
|
# resp.containers[0].model_data_url #=> String
|
8811
8835
|
# resp.containers[0].environment #=> Hash
|
8812
8836
|
# resp.containers[0].environment["EnvironmentKey"] #=> String
|
8813
8837
|
# resp.containers[0].model_package_name #=> String
|
8814
8838
|
# resp.containers[0].multi_model_config.model_cache_setting #=> String, one of "Enabled", "Disabled"
|
8839
|
+
# resp.inference_execution_config.mode #=> String, one of "Serial", "Direct"
|
8815
8840
|
# resp.execution_role_arn #=> String
|
8816
8841
|
# resp.vpc_config.security_group_ids #=> Array
|
8817
8842
|
# resp.vpc_config.security_group_ids[0] #=> String
|
@@ -9797,6 +9822,12 @@ module Aws::SageMaker
|
|
9797
9822
|
|
9798
9823
|
# Returns information about a training job.
|
9799
9824
|
#
|
9825
|
+
# Some of the attributes below only appear if the training job
|
9826
|
+
# successfully starts. If the training job fails, `TrainingJobStatus` is
|
9827
|
+
# `Failed` and, depending on the `FailureReason`, attributes like
|
9828
|
+
# `TrainingStartTime`, `TrainingTimeInSeconds`, `TrainingEndTime`, and
|
9829
|
+
# `BillableTimeInSeconds` may not be present in the response.
|
9830
|
+
#
|
9800
9831
|
# @option params [required, String] :training_job_name
|
9801
9832
|
# The name of the training job.
|
9802
9833
|
#
|
@@ -11349,7 +11380,7 @@ module Aws::SageMaker
|
|
11349
11380
|
# resp.compilation_job_summaries[0].creation_time #=> Time
|
11350
11381
|
# resp.compilation_job_summaries[0].compilation_start_time #=> Time
|
11351
11382
|
# resp.compilation_job_summaries[0].compilation_end_time #=> Time
|
11352
|
-
# resp.compilation_job_summaries[0].compilation_target_device #=> String, one of "lambda", "ml_m4", "ml_m5", "ml_c4", "ml_c5", "ml_p2", "ml_p3", "ml_g4dn", "ml_inf1", "jetson_tx1", "jetson_tx2", "jetson_nano", "jetson_xavier", "rasp3b", "imx8qm", "deeplens", "rk3399", "rk3288", "aisage", "sbe_c", "qcs605", "qcs603", "sitara_am57x", "amba_cv22", "x86_win32", "x86_win64", "coreml", "jacinto_tda4vm"
|
11383
|
+
# resp.compilation_job_summaries[0].compilation_target_device #=> String, one of "lambda", "ml_m4", "ml_m5", "ml_c4", "ml_c5", "ml_p2", "ml_p3", "ml_g4dn", "ml_inf1", "ml_eia2", "jetson_tx1", "jetson_tx2", "jetson_nano", "jetson_xavier", "rasp3b", "imx8qm", "deeplens", "rk3399", "rk3288", "aisage", "sbe_c", "qcs605", "qcs603", "sitara_am57x", "amba_cv22", "x86_win32", "x86_win64", "coreml", "jacinto_tda4vm"
|
11353
11384
|
# resp.compilation_job_summaries[0].compilation_target_platform_os #=> String, one of "ANDROID", "LINUX"
|
11354
11385
|
# resp.compilation_job_summaries[0].compilation_target_platform_arch #=> String, one of "X86_64", "X86", "ARM64", "ARM_EABI", "ARM_EABIHF"
|
11355
11386
|
# resp.compilation_job_summaries[0].compilation_target_platform_accelerator #=> String, one of "INTEL_GRAPHICS", "MALI", "NVIDIA"
|
@@ -15396,6 +15427,7 @@ module Aws::SageMaker
|
|
15396
15427
|
# resp.results[0].feature_group.online_store_config.enable_online_store #=> Boolean
|
15397
15428
|
# resp.results[0].feature_group.offline_store_config.s3_storage_config.s3_uri #=> String
|
15398
15429
|
# resp.results[0].feature_group.offline_store_config.s3_storage_config.kms_key_id #=> String
|
15430
|
+
# resp.results[0].feature_group.offline_store_config.s3_storage_config.resolved_output_s3_uri #=> String
|
15399
15431
|
# resp.results[0].feature_group.offline_store_config.disable_glue_table_creation #=> Boolean
|
15400
15432
|
# resp.results[0].feature_group.offline_store_config.data_catalog_config.table_name #=> String
|
15401
15433
|
# resp.results[0].feature_group.offline_store_config.data_catalog_config.catalog #=> String
|
@@ -17285,7 +17317,7 @@ module Aws::SageMaker
|
|
17285
17317
|
params: params,
|
17286
17318
|
config: config)
|
17287
17319
|
context[:gem_name] = 'aws-sdk-sagemaker'
|
17288
|
-
context[:gem_version] = '1.
|
17320
|
+
context[:gem_version] = '1.83.0'
|
17289
17321
|
Seahorse::Client::Request.new(handlers, context)
|
17290
17322
|
end
|
17291
17323
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -672,6 +672,8 @@ module Aws::SageMaker
|
|
672
672
|
ImageVersionStatus = Shapes::StringShape.new(name: 'ImageVersionStatus')
|
673
673
|
ImageVersions = Shapes::ListShape.new(name: 'ImageVersions')
|
674
674
|
Images = Shapes::ListShape.new(name: 'Images')
|
675
|
+
InferenceExecutionConfig = Shapes::StructureShape.new(name: 'InferenceExecutionConfig')
|
676
|
+
InferenceExecutionMode = Shapes::StringShape.new(name: 'InferenceExecutionMode')
|
675
677
|
InferenceSpecification = Shapes::StructureShape.new(name: 'InferenceSpecification')
|
676
678
|
InputConfig = Shapes::StructureShape.new(name: 'InputConfig')
|
677
679
|
InputDataConfig = Shapes::ListShape.new(name: 'InputDataConfig')
|
@@ -1077,6 +1079,7 @@ module Aws::SageMaker
|
|
1077
1079
|
ProductListings = Shapes::ListShape.new(name: 'ProductListings')
|
1078
1080
|
ProductionVariant = Shapes::StructureShape.new(name: 'ProductionVariant')
|
1079
1081
|
ProductionVariantAcceleratorType = Shapes::StringShape.new(name: 'ProductionVariantAcceleratorType')
|
1082
|
+
ProductionVariantCoreDumpConfig = Shapes::StructureShape.new(name: 'ProductionVariantCoreDumpConfig')
|
1080
1083
|
ProductionVariantInstanceType = Shapes::StringShape.new(name: 'ProductionVariantInstanceType')
|
1081
1084
|
ProductionVariantList = Shapes::ListShape.new(name: 'ProductionVariantList')
|
1082
1085
|
ProductionVariantSummary = Shapes::StructureShape.new(name: 'ProductionVariantSummary')
|
@@ -1127,6 +1130,8 @@ module Aws::SageMaker
|
|
1127
1130
|
RenderingError = Shapes::StructureShape.new(name: 'RenderingError')
|
1128
1131
|
RenderingErrorList = Shapes::ListShape.new(name: 'RenderingErrorList')
|
1129
1132
|
RepositoryAccessMode = Shapes::StringShape.new(name: 'RepositoryAccessMode')
|
1133
|
+
RepositoryAuthConfig = Shapes::StructureShape.new(name: 'RepositoryAuthConfig')
|
1134
|
+
RepositoryCredentialsProviderArn = Shapes::StringShape.new(name: 'RepositoryCredentialsProviderArn')
|
1130
1135
|
ResolvedAttributes = Shapes::StructureShape.new(name: 'ResolvedAttributes')
|
1131
1136
|
ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
|
1132
1137
|
ResourceConfig = Shapes::StructureShape.new(name: 'ResourceConfig')
|
@@ -2091,6 +2096,7 @@ module Aws::SageMaker
|
|
2091
2096
|
CreateModelInput.add_member(:model_name, Shapes::ShapeRef.new(shape: ModelName, required: true, location_name: "ModelName"))
|
2092
2097
|
CreateModelInput.add_member(:primary_container, Shapes::ShapeRef.new(shape: ContainerDefinition, location_name: "PrimaryContainer"))
|
2093
2098
|
CreateModelInput.add_member(:containers, Shapes::ShapeRef.new(shape: ContainerDefinitionList, location_name: "Containers"))
|
2099
|
+
CreateModelInput.add_member(:inference_execution_config, Shapes::ShapeRef.new(shape: InferenceExecutionConfig, location_name: "InferenceExecutionConfig"))
|
2094
2100
|
CreateModelInput.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "ExecutionRoleArn"))
|
2095
2101
|
CreateModelInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
2096
2102
|
CreateModelInput.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "VpcConfig"))
|
@@ -3018,6 +3024,7 @@ module Aws::SageMaker
|
|
3018
3024
|
DescribeModelOutput.add_member(:model_name, Shapes::ShapeRef.new(shape: ModelName, required: true, location_name: "ModelName"))
|
3019
3025
|
DescribeModelOutput.add_member(:primary_container, Shapes::ShapeRef.new(shape: ContainerDefinition, location_name: "PrimaryContainer"))
|
3020
3026
|
DescribeModelOutput.add_member(:containers, Shapes::ShapeRef.new(shape: ContainerDefinitionList, location_name: "Containers"))
|
3027
|
+
DescribeModelOutput.add_member(:inference_execution_config, Shapes::ShapeRef.new(shape: InferenceExecutionConfig, location_name: "InferenceExecutionConfig"))
|
3021
3028
|
DescribeModelOutput.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "ExecutionRoleArn"))
|
3022
3029
|
DescribeModelOutput.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "VpcConfig"))
|
3023
3030
|
DescribeModelOutput.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreationTime"))
|
@@ -3788,6 +3795,7 @@ module Aws::SageMaker
|
|
3788
3795
|
Image.struct_class = Types::Image
|
3789
3796
|
|
3790
3797
|
ImageConfig.add_member(:repository_access_mode, Shapes::ShapeRef.new(shape: RepositoryAccessMode, required: true, location_name: "RepositoryAccessMode"))
|
3798
|
+
ImageConfig.add_member(:repository_auth_config, Shapes::ShapeRef.new(shape: RepositoryAuthConfig, location_name: "RepositoryAuthConfig"))
|
3791
3799
|
ImageConfig.struct_class = Types::ImageConfig
|
3792
3800
|
|
3793
3801
|
ImageDeletePropertyList.member = Shapes::ShapeRef.new(shape: ImageDeleteProperty)
|
@@ -3805,6 +3813,9 @@ module Aws::SageMaker
|
|
3805
3813
|
|
3806
3814
|
Images.member = Shapes::ShapeRef.new(shape: Image)
|
3807
3815
|
|
3816
|
+
InferenceExecutionConfig.add_member(:mode, Shapes::ShapeRef.new(shape: InferenceExecutionMode, required: true, location_name: "Mode"))
|
3817
|
+
InferenceExecutionConfig.struct_class = Types::InferenceExecutionConfig
|
3818
|
+
|
3808
3819
|
InferenceSpecification.add_member(:containers, Shapes::ShapeRef.new(shape: ModelPackageContainerDefinitionList, required: true, location_name: "Containers"))
|
3809
3820
|
InferenceSpecification.add_member(:supported_transform_instance_types, Shapes::ShapeRef.new(shape: TransformInstanceTypes, location_name: "SupportedTransformInstanceTypes"))
|
3810
3821
|
InferenceSpecification.add_member(:supported_realtime_inference_instance_types, Shapes::ShapeRef.new(shape: RealtimeInferenceInstanceTypes, location_name: "SupportedRealtimeInferenceInstanceTypes"))
|
@@ -5278,8 +5289,13 @@ module Aws::SageMaker
|
|
5278
5289
|
ProductionVariant.add_member(:instance_type, Shapes::ShapeRef.new(shape: ProductionVariantInstanceType, required: true, location_name: "InstanceType"))
|
5279
5290
|
ProductionVariant.add_member(:initial_variant_weight, Shapes::ShapeRef.new(shape: VariantWeight, location_name: "InitialVariantWeight"))
|
5280
5291
|
ProductionVariant.add_member(:accelerator_type, Shapes::ShapeRef.new(shape: ProductionVariantAcceleratorType, location_name: "AcceleratorType"))
|
5292
|
+
ProductionVariant.add_member(:core_dump_config, Shapes::ShapeRef.new(shape: ProductionVariantCoreDumpConfig, location_name: "CoreDumpConfig"))
|
5281
5293
|
ProductionVariant.struct_class = Types::ProductionVariant
|
5282
5294
|
|
5295
|
+
ProductionVariantCoreDumpConfig.add_member(:destination_s3_uri, Shapes::ShapeRef.new(shape: DestinationS3Uri, required: true, location_name: "DestinationS3Uri"))
|
5296
|
+
ProductionVariantCoreDumpConfig.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "KmsKeyId"))
|
5297
|
+
ProductionVariantCoreDumpConfig.struct_class = Types::ProductionVariantCoreDumpConfig
|
5298
|
+
|
5283
5299
|
ProductionVariantList.member = Shapes::ShapeRef.new(shape: ProductionVariant)
|
5284
5300
|
|
5285
5301
|
ProductionVariantSummary.add_member(:variant_name, Shapes::ShapeRef.new(shape: VariantName, required: true, location_name: "VariantName"))
|
@@ -5400,6 +5416,9 @@ module Aws::SageMaker
|
|
5400
5416
|
|
5401
5417
|
RenderingErrorList.member = Shapes::ShapeRef.new(shape: RenderingError)
|
5402
5418
|
|
5419
|
+
RepositoryAuthConfig.add_member(:repository_credentials_provider_arn, Shapes::ShapeRef.new(shape: RepositoryCredentialsProviderArn, required: true, location_name: "RepositoryCredentialsProviderArn"))
|
5420
|
+
RepositoryAuthConfig.struct_class = Types::RepositoryAuthConfig
|
5421
|
+
|
5403
5422
|
ResolvedAttributes.add_member(:auto_ml_job_objective, Shapes::ShapeRef.new(shape: AutoMLJobObjective, location_name: "AutoMLJobObjective"))
|
5404
5423
|
ResolvedAttributes.add_member(:problem_type, Shapes::ShapeRef.new(shape: ProblemType, location_name: "ProblemType"))
|
5405
5424
|
ResolvedAttributes.add_member(:completion_criteria, Shapes::ShapeRef.new(shape: AutoMLJobCompletionCriteria, location_name: "CompletionCriteria"))
|
@@ -5445,6 +5464,7 @@ module Aws::SageMaker
|
|
5445
5464
|
|
5446
5465
|
S3StorageConfig.add_member(:s3_uri, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "S3Uri"))
|
5447
5466
|
S3StorageConfig.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "KmsKeyId"))
|
5467
|
+
S3StorageConfig.add_member(:resolved_output_s3_uri, Shapes::ShapeRef.new(shape: S3Uri, location_name: "ResolvedOutputS3Uri"))
|
5448
5468
|
S3StorageConfig.struct_class = Types::S3StorageConfig
|
5449
5469
|
|
5450
5470
|
ScheduleConfig.add_member(:schedule_expression, Shapes::ShapeRef.new(shape: ScheduleExpression, required: true, location_name: "ScheduleExpression"))
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -2885,6 +2885,9 @@ module Aws::SageMaker
|
|
2885
2885
|
# image: "ContainerImage",
|
2886
2886
|
# image_config: {
|
2887
2887
|
# repository_access_mode: "Platform", # required, accepts Platform, Vpc
|
2888
|
+
# repository_auth_config: {
|
2889
|
+
# repository_credentials_provider_arn: "RepositoryCredentialsProviderArn", # required
|
2890
|
+
# },
|
2888
2891
|
# },
|
2889
2892
|
# mode: "SingleModel", # accepts SingleModel, MultiModel
|
2890
2893
|
# model_data_url: "Url",
|
@@ -3951,7 +3954,7 @@ module Aws::SageMaker
|
|
3951
3954
|
# },
|
3952
3955
|
# output_config: { # required
|
3953
3956
|
# s3_output_location: "S3Uri", # required
|
3954
|
-
# target_device: "lambda", # accepts lambda, ml_m4, ml_m5, ml_c4, ml_c5, ml_p2, ml_p3, ml_g4dn, ml_inf1, jetson_tx1, jetson_tx2, jetson_nano, jetson_xavier, rasp3b, imx8qm, deeplens, rk3399, rk3288, aisage, sbe_c, qcs605, qcs603, sitara_am57x, amba_cv22, x86_win32, x86_win64, coreml, jacinto_tda4vm
|
3957
|
+
# target_device: "lambda", # accepts lambda, ml_m4, ml_m5, ml_c4, ml_c5, ml_p2, ml_p3, ml_g4dn, ml_inf1, ml_eia2, jetson_tx1, jetson_tx2, jetson_nano, jetson_xavier, rasp3b, imx8qm, deeplens, rk3399, rk3288, aisage, sbe_c, qcs605, qcs603, sitara_am57x, amba_cv22, x86_win32, x86_win64, coreml, jacinto_tda4vm
|
3955
3958
|
# target_platform: {
|
3956
3959
|
# os: "ANDROID", # required, accepts ANDROID, LINUX
|
3957
3960
|
# arch: "X86_64", # required, accepts X86_64, X86, ARM64, ARM_EABI, ARM_EABIHF
|
@@ -4566,6 +4569,10 @@ module Aws::SageMaker
|
|
4566
4569
|
# instance_type: "ml.t2.medium", # required, accepts ml.t2.medium, ml.t2.large, ml.t2.xlarge, ml.t2.2xlarge, ml.m4.xlarge, ml.m4.2xlarge, ml.m4.4xlarge, ml.m4.10xlarge, ml.m4.16xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.12xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.12xlarge, ml.m5d.24xlarge, ml.c4.large, ml.c4.xlarge, ml.c4.2xlarge, ml.c4.4xlarge, ml.c4.8xlarge, ml.p2.xlarge, ml.p2.8xlarge, ml.p2.16xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.18xlarge, ml.c5d.large, ml.c5d.xlarge, ml.c5d.2xlarge, ml.c5d.4xlarge, ml.c5d.9xlarge, ml.c5d.18xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.12xlarge, ml.r5.24xlarge, ml.r5d.large, ml.r5d.xlarge, ml.r5d.2xlarge, ml.r5d.4xlarge, ml.r5d.12xlarge, ml.r5d.24xlarge, ml.inf1.xlarge, ml.inf1.2xlarge, ml.inf1.6xlarge, ml.inf1.24xlarge
|
4567
4570
|
# initial_variant_weight: 1.0,
|
4568
4571
|
# accelerator_type: "ml.eia1.medium", # accepts ml.eia1.medium, ml.eia1.large, ml.eia1.xlarge, ml.eia2.medium, ml.eia2.large, ml.eia2.xlarge
|
4572
|
+
# core_dump_config: {
|
4573
|
+
# destination_s3_uri: "DestinationS3Uri", # required
|
4574
|
+
# kms_key_id: "KmsKeyId",
|
4575
|
+
# },
|
4569
4576
|
# },
|
4570
4577
|
# ],
|
4571
4578
|
# data_capture_config: {
|
@@ -4824,6 +4831,7 @@ module Aws::SageMaker
|
|
4824
4831
|
# s3_storage_config: { # required
|
4825
4832
|
# s3_uri: "S3Uri", # required
|
4826
4833
|
# kms_key_id: "KmsKeyId",
|
4834
|
+
# resolved_output_s3_uri: "S3Uri",
|
4827
4835
|
# },
|
4828
4836
|
# disable_glue_table_creation: false,
|
4829
4837
|
# data_catalog_config: {
|
@@ -6182,6 +6190,9 @@ module Aws::SageMaker
|
|
6182
6190
|
# image: "ContainerImage",
|
6183
6191
|
# image_config: {
|
6184
6192
|
# repository_access_mode: "Platform", # required, accepts Platform, Vpc
|
6193
|
+
# repository_auth_config: {
|
6194
|
+
# repository_credentials_provider_arn: "RepositoryCredentialsProviderArn", # required
|
6195
|
+
# },
|
6185
6196
|
# },
|
6186
6197
|
# mode: "SingleModel", # accepts SingleModel, MultiModel
|
6187
6198
|
# model_data_url: "Url",
|
@@ -6199,6 +6210,9 @@ module Aws::SageMaker
|
|
6199
6210
|
# image: "ContainerImage",
|
6200
6211
|
# image_config: {
|
6201
6212
|
# repository_access_mode: "Platform", # required, accepts Platform, Vpc
|
6213
|
+
# repository_auth_config: {
|
6214
|
+
# repository_credentials_provider_arn: "RepositoryCredentialsProviderArn", # required
|
6215
|
+
# },
|
6202
6216
|
# },
|
6203
6217
|
# mode: "SingleModel", # accepts SingleModel, MultiModel
|
6204
6218
|
# model_data_url: "Url",
|
@@ -6211,6 +6225,9 @@ module Aws::SageMaker
|
|
6211
6225
|
# },
|
6212
6226
|
# },
|
6213
6227
|
# ],
|
6228
|
+
# inference_execution_config: {
|
6229
|
+
# mode: "Serial", # required, accepts Serial, Direct
|
6230
|
+
# },
|
6214
6231
|
# execution_role_arn: "RoleArn", # required
|
6215
6232
|
# tags: [
|
6216
6233
|
# {
|
@@ -6239,6 +6256,11 @@ module Aws::SageMaker
|
|
6239
6256
|
# Specifies the containers in the inference pipeline.
|
6240
6257
|
# @return [Array<Types::ContainerDefinition>]
|
6241
6258
|
#
|
6259
|
+
# @!attribute [rw] inference_execution_config
|
6260
|
+
# Specifies details of how containers in a multi-container endpoint
|
6261
|
+
# are called.
|
6262
|
+
# @return [Types::InferenceExecutionConfig]
|
6263
|
+
#
|
6242
6264
|
# @!attribute [rw] execution_role_arn
|
6243
6265
|
# The Amazon Resource Name (ARN) of the IAM role that Amazon SageMaker
|
6244
6266
|
# can assume to access model artifacts and docker image for deployment
|
@@ -6291,6 +6313,7 @@ module Aws::SageMaker
|
|
6291
6313
|
:model_name,
|
6292
6314
|
:primary_container,
|
6293
6315
|
:containers,
|
6316
|
+
:inference_execution_config,
|
6294
6317
|
:execution_role_arn,
|
6295
6318
|
:tags,
|
6296
6319
|
:vpc_config,
|
@@ -12762,6 +12785,11 @@ module Aws::SageMaker
|
|
12762
12785
|
# The containers in the inference pipeline.
|
12763
12786
|
# @return [Array<Types::ContainerDefinition>]
|
12764
12787
|
#
|
12788
|
+
# @!attribute [rw] inference_execution_config
|
12789
|
+
# Specifies details of how containers in a multi-container endpoint
|
12790
|
+
# are called.
|
12791
|
+
# @return [Types::InferenceExecutionConfig]
|
12792
|
+
#
|
12765
12793
|
# @!attribute [rw] execution_role_arn
|
12766
12794
|
# The Amazon Resource Name (ARN) of the IAM role that you specified
|
12767
12795
|
# for the model.
|
@@ -12796,6 +12824,7 @@ module Aws::SageMaker
|
|
12796
12824
|
:model_name,
|
12797
12825
|
:primary_container,
|
12798
12826
|
:containers,
|
12827
|
+
:inference_execution_config,
|
12799
12828
|
:execution_role_arn,
|
12800
12829
|
:vpc_config,
|
12801
12830
|
:creation_time,
|
@@ -17539,7 +17568,8 @@ module Aws::SageMaker
|
|
17539
17568
|
# (28,800 seconds).
|
17540
17569
|
#
|
17541
17570
|
# * For [3D point cloud][4] and [video frame][5] labeling jobs, the
|
17542
|
-
# maximum is 7 days (604,800 seconds).
|
17571
|
+
# maximum is 7 days (604,800 seconds). If you want to change these
|
17572
|
+
# limits, contact AWS Support.
|
17543
17573
|
#
|
17544
17574
|
#
|
17545
17575
|
#
|
@@ -17561,7 +17591,7 @@ module Aws::SageMaker
|
|
17561
17591
|
#
|
17562
17592
|
# * If you choose a private or vendor workforce, the default value is
|
17563
17593
|
# 10 days (864,000 seconds). For most users, the maximum is also 10
|
17564
|
-
# days.
|
17594
|
+
# days. If you want to change this limit, contact AWS Support.
|
17565
17595
|
# @return [Integer]
|
17566
17596
|
#
|
17567
17597
|
# @!attribute [rw] max_concurrent_task_count
|
@@ -18462,6 +18492,9 @@ module Aws::SageMaker
|
|
18462
18492
|
#
|
18463
18493
|
# {
|
18464
18494
|
# repository_access_mode: "Platform", # required, accepts Platform, Vpc
|
18495
|
+
# repository_auth_config: {
|
18496
|
+
# repository_credentials_provider_arn: "RepositoryCredentialsProviderArn", # required
|
18497
|
+
# },
|
18465
18498
|
# }
|
18466
18499
|
#
|
18467
18500
|
# @!attribute [rw] repository_access_mode
|
@@ -18473,10 +18506,19 @@ module Aws::SageMaker
|
|
18473
18506
|
# your VPC.
|
18474
18507
|
# @return [String]
|
18475
18508
|
#
|
18509
|
+
# @!attribute [rw] repository_auth_config
|
18510
|
+
# (Optional) Specifies an authentication configuration for the private
|
18511
|
+
# docker registry where your model image is hosted. Specify a value
|
18512
|
+
# for this property only if you specified `Vpc` as the value for the
|
18513
|
+
# `RepositoryAccessMode` field, and the private Docker registry where
|
18514
|
+
# the model image is hosted requires authentication.
|
18515
|
+
# @return [Types::RepositoryAuthConfig]
|
18516
|
+
#
|
18476
18517
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ImageConfig AWS API Documentation
|
18477
18518
|
#
|
18478
18519
|
class ImageConfig < Struct.new(
|
18479
|
-
:repository_access_mode
|
18520
|
+
:repository_access_mode,
|
18521
|
+
:repository_auth_config)
|
18480
18522
|
SENSITIVE = []
|
18481
18523
|
include Aws::Structure
|
18482
18524
|
end
|
@@ -18526,6 +18568,33 @@ module Aws::SageMaker
|
|
18526
18568
|
include Aws::Structure
|
18527
18569
|
end
|
18528
18570
|
|
18571
|
+
# Specifies details about how containers in a multi-container endpoint
|
18572
|
+
# are run.
|
18573
|
+
#
|
18574
|
+
# @note When making an API call, you may pass InferenceExecutionConfig
|
18575
|
+
# data as a hash:
|
18576
|
+
#
|
18577
|
+
# {
|
18578
|
+
# mode: "Serial", # required, accepts Serial, Direct
|
18579
|
+
# }
|
18580
|
+
#
|
18581
|
+
# @!attribute [rw] mode
|
18582
|
+
# How containers in a multi-container are run. The following values
|
18583
|
+
# are valid.
|
18584
|
+
#
|
18585
|
+
# * `SERIAL` - Containers run as a serial pipeline.
|
18586
|
+
#
|
18587
|
+
# * `DIRECT` - Only the individual container that you specify is run.
|
18588
|
+
# @return [String]
|
18589
|
+
#
|
18590
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/InferenceExecutionConfig AWS API Documentation
|
18591
|
+
#
|
18592
|
+
class InferenceExecutionConfig < Struct.new(
|
18593
|
+
:mode)
|
18594
|
+
SENSITIVE = []
|
18595
|
+
include Aws::Structure
|
18596
|
+
end
|
18597
|
+
|
18529
18598
|
# Defines how to perform inference generation after a training job is
|
18530
18599
|
# run.
|
18531
18600
|
#
|
@@ -18770,6 +18839,33 @@ module Aws::SageMaker
|
|
18770
18839
|
#
|
18771
18840
|
# * `"CompilerOptions": \{"class_labels":
|
18772
18841
|
# "imagenet_labels_1000.txt"\}`
|
18842
|
+
#
|
18843
|
+
# Depending on the model format, `DataInputConfig` requires the
|
18844
|
+
# following parameters for `ml_eia2` [OutputConfig:TargetDevice][1].
|
18845
|
+
#
|
18846
|
+
# * For TensorFlow models saved in the SavedModel format, specify the
|
18847
|
+
# input names from `signature_def_key` and the input model shapes
|
18848
|
+
# for `DataInputConfig`. Specify the `signature_def_key` in [
|
18849
|
+
# `OutputConfig:CompilerOptions` ][2] if the model does not use
|
18850
|
+
# TensorFlow's default signature def key. For example:
|
18851
|
+
#
|
18852
|
+
# * `"DataInputConfig": \{"inputs": [1, 224, 224, 3]\}`
|
18853
|
+
#
|
18854
|
+
# * `"CompilerOptions": \{"signature_def_key": "serving_custom"\}`
|
18855
|
+
#
|
18856
|
+
# * For TensorFlow models saved as a frozen graph, specify the input
|
18857
|
+
# tensor names and shapes in `DataInputConfig` and the output tensor
|
18858
|
+
# names for `output_names` in [ `OutputConfig:CompilerOptions` ][2].
|
18859
|
+
# For example:
|
18860
|
+
#
|
18861
|
+
# * `"DataInputConfig": \{"input_tensor:0": [1, 224, 224, 3]\}`
|
18862
|
+
#
|
18863
|
+
# * `"CompilerOptions": \{"output_names": ["output_tensor:0"]\}`
|
18864
|
+
#
|
18865
|
+
#
|
18866
|
+
#
|
18867
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_OutputConfig.html#sagemaker-Type-OutputConfig-TargetDevice
|
18868
|
+
# [2]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_OutputConfig.html#sagemaker-Type-OutputConfig-CompilerOptions
|
18773
18869
|
# @return [String]
|
18774
18870
|
#
|
18775
18871
|
# @!attribute [rw] framework
|
@@ -26678,6 +26774,7 @@ module Aws::SageMaker
|
|
26678
26774
|
# s3_storage_config: { # required
|
26679
26775
|
# s3_uri: "S3Uri", # required
|
26680
26776
|
# kms_key_id: "KmsKeyId",
|
26777
|
+
# resolved_output_s3_uri: "S3Uri",
|
26681
26778
|
# },
|
26682
26779
|
# disable_glue_table_creation: false,
|
26683
26780
|
# data_catalog_config: {
|
@@ -26983,7 +27080,7 @@ module Aws::SageMaker
|
|
26983
27080
|
#
|
26984
27081
|
# {
|
26985
27082
|
# s3_output_location: "S3Uri", # required
|
26986
|
-
# target_device: "lambda", # accepts lambda, ml_m4, ml_m5, ml_c4, ml_c5, ml_p2, ml_p3, ml_g4dn, ml_inf1, jetson_tx1, jetson_tx2, jetson_nano, jetson_xavier, rasp3b, imx8qm, deeplens, rk3399, rk3288, aisage, sbe_c, qcs605, qcs603, sitara_am57x, amba_cv22, x86_win32, x86_win64, coreml, jacinto_tda4vm
|
27083
|
+
# target_device: "lambda", # accepts lambda, ml_m4, ml_m5, ml_c4, ml_c5, ml_p2, ml_p3, ml_g4dn, ml_inf1, ml_eia2, jetson_tx1, jetson_tx2, jetson_nano, jetson_xavier, rasp3b, imx8qm, deeplens, rk3399, rk3288, aisage, sbe_c, qcs605, qcs603, sitara_am57x, amba_cv22, x86_win32, x86_win64, coreml, jacinto_tda4vm
|
26987
27084
|
# target_platform: {
|
26988
27085
|
# os: "ANDROID", # required, accepts ANDROID, LINUX
|
26989
27086
|
# arch: "X86_64", # required, accepts X86_64, X86, ARM64, ARM_EABI, ARM_EABIHF
|
@@ -27061,6 +27158,18 @@ module Aws::SageMaker
|
|
27061
27158
|
# for NVIDIA accelerators and highly recommended for CPU compilations.
|
27062
27159
|
# For any other cases, it is optional to specify `CompilerOptions.`
|
27063
27160
|
#
|
27161
|
+
# * `DTYPE`\: Specifies the data type for the input. When compiling
|
27162
|
+
# for `ml_*` (except for `ml_inf`) instances using PyTorch
|
27163
|
+
# framework, provide the data type (dtype) of the model's input.
|
27164
|
+
# `"float32"` is used if `"DTYPE"` is not specified. Options for
|
27165
|
+
# data type are:
|
27166
|
+
#
|
27167
|
+
# * float32: Use either `"float"` or `"float32"`.
|
27168
|
+
#
|
27169
|
+
# * int64: Use either `"int64"` or `"long"`.
|
27170
|
+
#
|
27171
|
+
# For example, `\{"dtype" : "float32"\}`.
|
27172
|
+
#
|
27064
27173
|
# * `CPU`\: Compilation for CPU supports the following compiler
|
27065
27174
|
# options.
|
27066
27175
|
#
|
@@ -27118,6 +27227,24 @@ module Aws::SageMaker
|
|
27118
27227
|
#
|
27119
27228
|
# ^
|
27120
27229
|
#
|
27230
|
+
# * `EIA`\: Compilation for the Elastic Inference Accelerator supports
|
27231
|
+
# the following compiler options:
|
27232
|
+
#
|
27233
|
+
# * `precision_mode`\: Specifies the precision of compiled
|
27234
|
+
# artifacts. Supported values are `"FP16"` and `"FP32"`. Default
|
27235
|
+
# is `"FP32"`.
|
27236
|
+
#
|
27237
|
+
# * `signature_def_key`\: Specifies the signature to use for models
|
27238
|
+
# in SavedModel format. Defaults is TensorFlow's default
|
27239
|
+
# signature def key.
|
27240
|
+
#
|
27241
|
+
# * `output_names`\: Specifies a list of output tensor names for
|
27242
|
+
# models in FrozenGraph format. Set at most one API field, either:
|
27243
|
+
# `signature_def_key` or `output_names`.
|
27244
|
+
#
|
27245
|
+
# For example: `\{"precision_mode": "FP32", "output_names":
|
27246
|
+
# ["output:0"]\}`
|
27247
|
+
#
|
27121
27248
|
#
|
27122
27249
|
#
|
27123
27250
|
# [1]: https://github.com/aws/aws-neuron-sdk/blob/master/docs/neuron-cc/command-line-reference.md
|
@@ -27207,8 +27334,8 @@ module Aws::SageMaker
|
|
27207
27334
|
#
|
27208
27335
|
#
|
27209
27336
|
#
|
27210
|
-
# [1]: https://docs.aws.amazon.com/
|
27211
|
-
# [2]:
|
27337
|
+
# [1]: https://docs.aws.amazon.com/mazonS3/latest/dev/UsingKMSEncryption.html
|
27338
|
+
# [2]: https://docs.aws.amazon.com/kms/latest/developerguide/key-policies.html
|
27212
27339
|
# @return [String]
|
27213
27340
|
#
|
27214
27341
|
# @!attribute [rw] s3_output_path
|
@@ -28350,6 +28477,10 @@ module Aws::SageMaker
|
|
28350
28477
|
# instance_type: "ml.t2.medium", # required, accepts ml.t2.medium, ml.t2.large, ml.t2.xlarge, ml.t2.2xlarge, ml.m4.xlarge, ml.m4.2xlarge, ml.m4.4xlarge, ml.m4.10xlarge, ml.m4.16xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.12xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.12xlarge, ml.m5d.24xlarge, ml.c4.large, ml.c4.xlarge, ml.c4.2xlarge, ml.c4.4xlarge, ml.c4.8xlarge, ml.p2.xlarge, ml.p2.8xlarge, ml.p2.16xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.18xlarge, ml.c5d.large, ml.c5d.xlarge, ml.c5d.2xlarge, ml.c5d.4xlarge, ml.c5d.9xlarge, ml.c5d.18xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.12xlarge, ml.r5.24xlarge, ml.r5d.large, ml.r5d.xlarge, ml.r5d.2xlarge, ml.r5d.4xlarge, ml.r5d.12xlarge, ml.r5d.24xlarge, ml.inf1.xlarge, ml.inf1.2xlarge, ml.inf1.6xlarge, ml.inf1.24xlarge
|
28351
28478
|
# initial_variant_weight: 1.0,
|
28352
28479
|
# accelerator_type: "ml.eia1.medium", # accepts ml.eia1.medium, ml.eia1.large, ml.eia1.xlarge, ml.eia2.medium, ml.eia2.large, ml.eia2.xlarge
|
28480
|
+
# core_dump_config: {
|
28481
|
+
# destination_s3_uri: "DestinationS3Uri", # required
|
28482
|
+
# kms_key_id: "KmsKeyId",
|
28483
|
+
# },
|
28353
28484
|
# }
|
28354
28485
|
#
|
28355
28486
|
# @!attribute [rw] variant_name
|
@@ -28388,6 +28519,11 @@ module Aws::SageMaker
|
|
28388
28519
|
# [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/ei.html
|
28389
28520
|
# @return [String]
|
28390
28521
|
#
|
28522
|
+
# @!attribute [rw] core_dump_config
|
28523
|
+
# Specifies configuration for a core dump from the model container
|
28524
|
+
# when the process crashes.
|
28525
|
+
# @return [Types::ProductionVariantCoreDumpConfig]
|
28526
|
+
#
|
28391
28527
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ProductionVariant AWS API Documentation
|
28392
28528
|
#
|
28393
28529
|
class ProductionVariant < Struct.new(
|
@@ -28396,7 +28532,77 @@ module Aws::SageMaker
|
|
28396
28532
|
:initial_instance_count,
|
28397
28533
|
:instance_type,
|
28398
28534
|
:initial_variant_weight,
|
28399
|
-
:accelerator_type
|
28535
|
+
:accelerator_type,
|
28536
|
+
:core_dump_config)
|
28537
|
+
SENSITIVE = []
|
28538
|
+
include Aws::Structure
|
28539
|
+
end
|
28540
|
+
|
28541
|
+
# Specifies configuration for a core dump from the model container when
|
28542
|
+
# the process crashes.
|
28543
|
+
#
|
28544
|
+
# @note When making an API call, you may pass ProductionVariantCoreDumpConfig
|
28545
|
+
# data as a hash:
|
28546
|
+
#
|
28547
|
+
# {
|
28548
|
+
# destination_s3_uri: "DestinationS3Uri", # required
|
28549
|
+
# kms_key_id: "KmsKeyId",
|
28550
|
+
# }
|
28551
|
+
#
|
28552
|
+
# @!attribute [rw] destination_s3_uri
|
28553
|
+
# The Amazon S3 bucket to send the core dump to.
|
28554
|
+
# @return [String]
|
28555
|
+
#
|
28556
|
+
# @!attribute [rw] kms_key_id
|
28557
|
+
# The AWS Key Management Service (AWS KMS) key that Amazon SageMaker
|
28558
|
+
# uses to encrypt the core dump data at rest using Amazon S3
|
28559
|
+
# server-side encryption. The `KmsKeyId` can be any of the following
|
28560
|
+
# formats:
|
28561
|
+
#
|
28562
|
+
# * // KMS Key ID
|
28563
|
+
#
|
28564
|
+
# `"1234abcd-12ab-34cd-56ef-1234567890ab"`
|
28565
|
+
#
|
28566
|
+
# * // Amazon Resource Name (ARN) of a KMS Key
|
28567
|
+
#
|
28568
|
+
# `"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"`
|
28569
|
+
#
|
28570
|
+
# * // KMS Key Alias
|
28571
|
+
#
|
28572
|
+
# `"alias/ExampleAlias"`
|
28573
|
+
#
|
28574
|
+
# * // Amazon Resource Name (ARN) of a KMS Key Alias
|
28575
|
+
#
|
28576
|
+
# `"arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias"`
|
28577
|
+
#
|
28578
|
+
# If you use a KMS key ID or an alias of your master key, the Amazon
|
28579
|
+
# SageMaker execution role must include permissions to call
|
28580
|
+
# `kms:Encrypt`. If you don't provide a KMS key ID, Amazon SageMaker
|
28581
|
+
# uses the default KMS key for Amazon S3 for your role's account.
|
28582
|
+
# Amazon SageMaker uses server-side encryption with KMS-managed keys
|
28583
|
+
# for `OutputDataConfig`. If you use a bucket policy with an
|
28584
|
+
# `s3:PutObject` permission that only allows objects with server-side
|
28585
|
+
# encryption, set the condition key of
|
28586
|
+
# `s3:x-amz-server-side-encryption` to `"aws:kms"`. For more
|
28587
|
+
# information, see [KMS-Managed Encryption Keys][1] in the *Amazon
|
28588
|
+
# Simple Storage Service Developer Guide.*
|
28589
|
+
#
|
28590
|
+
# The KMS key policy must grant permission to the IAM role that you
|
28591
|
+
# specify in your `CreateEndpoint` and `UpdateEndpoint` requests. For
|
28592
|
+
# more information, see [Using Key Policies in AWS KMS][2] in the *AWS
|
28593
|
+
# Key Management Service Developer Guide*.
|
28594
|
+
#
|
28595
|
+
#
|
28596
|
+
#
|
28597
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingKMSEncryption.html
|
28598
|
+
# [2]: https://docs.aws.amazon.com/kms/latest/developerguide/key-policies.html
|
28599
|
+
# @return [String]
|
28600
|
+
#
|
28601
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ProductionVariantCoreDumpConfig AWS API Documentation
|
28602
|
+
#
|
28603
|
+
class ProductionVariantCoreDumpConfig < Struct.new(
|
28604
|
+
:destination_s3_uri,
|
28605
|
+
:kms_key_id)
|
28400
28606
|
SENSITIVE = []
|
28401
28607
|
include Aws::Structure
|
28402
28608
|
end
|
@@ -29268,6 +29474,40 @@ module Aws::SageMaker
|
|
29268
29474
|
include Aws::Structure
|
29269
29475
|
end
|
29270
29476
|
|
29477
|
+
# Specifies an authentication configuration for the private docker
|
29478
|
+
# registry where your model image is hosted. Specify a value for this
|
29479
|
+
# property only if you specified `Vpc` as the value for the
|
29480
|
+
# `RepositoryAccessMode` field of the `ImageConfig` object that you
|
29481
|
+
# passed to a call to CreateModel and the private Docker registry where
|
29482
|
+
# the model image is hosted requires authentication.
|
29483
|
+
#
|
29484
|
+
# @note When making an API call, you may pass RepositoryAuthConfig
|
29485
|
+
# data as a hash:
|
29486
|
+
#
|
29487
|
+
# {
|
29488
|
+
# repository_credentials_provider_arn: "RepositoryCredentialsProviderArn", # required
|
29489
|
+
# }
|
29490
|
+
#
|
29491
|
+
# @!attribute [rw] repository_credentials_provider_arn
|
29492
|
+
# The Amazon Resource Name (ARN) of an AWS Lambda function that
|
29493
|
+
# provides credentials to authenticate to the private Docker registry
|
29494
|
+
# where your model image is hosted. For information about how to
|
29495
|
+
# create an AWS Lambda function, see [Create a Lambda function with
|
29496
|
+
# the console][1] in the *AWS Lambda Developer Guide*.
|
29497
|
+
#
|
29498
|
+
#
|
29499
|
+
#
|
29500
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/getting-started-create-function.html
|
29501
|
+
# @return [String]
|
29502
|
+
#
|
29503
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/RepositoryAuthConfig AWS API Documentation
|
29504
|
+
#
|
29505
|
+
class RepositoryAuthConfig < Struct.new(
|
29506
|
+
:repository_credentials_provider_arn)
|
29507
|
+
SENSITIVE = []
|
29508
|
+
include Aws::Structure
|
29509
|
+
end
|
29510
|
+
|
29271
29511
|
# The resolved attributes.
|
29272
29512
|
#
|
29273
29513
|
# @!attribute [rw] auto_ml_job_objective
|
@@ -29650,6 +29890,7 @@ module Aws::SageMaker
|
|
29650
29890
|
# {
|
29651
29891
|
# s3_uri: "S3Uri", # required
|
29652
29892
|
# kms_key_id: "KmsKeyId",
|
29893
|
+
# resolved_output_s3_uri: "S3Uri",
|
29653
29894
|
# }
|
29654
29895
|
#
|
29655
29896
|
# @!attribute [rw] s3_uri
|
@@ -29671,11 +29912,16 @@ module Aws::SageMaker
|
|
29671
29912
|
# ^
|
29672
29913
|
# @return [String]
|
29673
29914
|
#
|
29915
|
+
# @!attribute [rw] resolved_output_s3_uri
|
29916
|
+
# The S3 path where offline records are written.
|
29917
|
+
# @return [String]
|
29918
|
+
#
|
29674
29919
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/S3StorageConfig AWS API Documentation
|
29675
29920
|
#
|
29676
29921
|
class S3StorageConfig < Struct.new(
|
29677
29922
|
:s3_uri,
|
29678
|
-
:kms_key_id
|
29923
|
+
:kms_key_id,
|
29924
|
+
:resolved_output_s3_uri)
|
29679
29925
|
SENSITIVE = []
|
29680
29926
|
include Aws::Structure
|
29681
29927
|
end
|