aws-sdk-sagemaker 1.78.0 → 1.79.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-sagemaker.rb +1 -1
- data/lib/aws-sdk-sagemaker/client.rb +16 -1
- data/lib/aws-sdk-sagemaker/client_api.rb +13 -0
- data/lib/aws-sdk-sagemaker/types.rb +130 -5
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '092aef1a06f21bf8626d9a55b3b605f29ce501e799a31325663d4ac74a0b3184'
|
4
|
+
data.tar.gz: 5beebabc21620b5e7105f30374058ab7f63c9a09d8c150e0e726686097f34a68
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f3938f71aab68ffcc260e9e2b574ac15d36450ab84f34054a39706174536947f0d9137072f75405c383c5a519cadb2affc2afb7ed5d8b1dd429688c204594af1
|
7
|
+
data.tar.gz: 0b370b83ccd1bb8f65ed0b720b2672c6de7f939d4e5cd171623338cd3352258a7bf765c503480b7cf6fde2c71c5b936089d548f5cf6077cc784d913b690842ab
|
data/lib/aws-sdk-sagemaker.rb
CHANGED
@@ -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: {
|
@@ -3294,6 +3298,10 @@ module Aws::SageMaker
|
|
3294
3298
|
# @option params [Array<Types::ContainerDefinition>] :containers
|
3295
3299
|
# Specifies the containers in the inference pipeline.
|
3296
3300
|
#
|
3301
|
+
# @option params [Types::InferenceExecutionConfig] :inference_execution_config
|
3302
|
+
# Specifies details of how containers in a multi-container endpoint are
|
3303
|
+
# called.
|
3304
|
+
#
|
3297
3305
|
# @option params [required, String] :execution_role_arn
|
3298
3306
|
# The Amazon Resource Name (ARN) of the IAM role that Amazon SageMaker
|
3299
3307
|
# can assume to access model artifacts and docker image for deployment
|
@@ -3378,6 +3386,9 @@ module Aws::SageMaker
|
|
3378
3386
|
# },
|
3379
3387
|
# },
|
3380
3388
|
# ],
|
3389
|
+
# inference_execution_config: {
|
3390
|
+
# mode: "Serial", # required, accepts Serial, Direct
|
3391
|
+
# },
|
3381
3392
|
# execution_role_arn: "RoleArn", # required
|
3382
3393
|
# tags: [
|
3383
3394
|
# {
|
@@ -8116,6 +8127,8 @@ module Aws::SageMaker
|
|
8116
8127
|
# 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
8128
|
# resp.production_variants[0].initial_variant_weight #=> Float
|
8118
8129
|
# 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"
|
8130
|
+
# resp.production_variants[0].core_dump_config.destination_s3_uri #=> String
|
8131
|
+
# resp.production_variants[0].core_dump_config.kms_key_id #=> String
|
8119
8132
|
# resp.data_capture_config.enable_capture #=> Boolean
|
8120
8133
|
# resp.data_capture_config.initial_sampling_percentage #=> Integer
|
8121
8134
|
# resp.data_capture_config.destination_s3_uri #=> String
|
@@ -8778,6 +8791,7 @@ module Aws::SageMaker
|
|
8778
8791
|
# * {Types::DescribeModelOutput#model_name #model_name} => String
|
8779
8792
|
# * {Types::DescribeModelOutput#primary_container #primary_container} => Types::ContainerDefinition
|
8780
8793
|
# * {Types::DescribeModelOutput#containers #containers} => Array<Types::ContainerDefinition>
|
8794
|
+
# * {Types::DescribeModelOutput#inference_execution_config #inference_execution_config} => Types::InferenceExecutionConfig
|
8781
8795
|
# * {Types::DescribeModelOutput#execution_role_arn #execution_role_arn} => String
|
8782
8796
|
# * {Types::DescribeModelOutput#vpc_config #vpc_config} => Types::VpcConfig
|
8783
8797
|
# * {Types::DescribeModelOutput#creation_time #creation_time} => Time
|
@@ -8812,6 +8826,7 @@ module Aws::SageMaker
|
|
8812
8826
|
# resp.containers[0].environment["EnvironmentKey"] #=> String
|
8813
8827
|
# resp.containers[0].model_package_name #=> String
|
8814
8828
|
# resp.containers[0].multi_model_config.model_cache_setting #=> String, one of "Enabled", "Disabled"
|
8829
|
+
# resp.inference_execution_config.mode #=> String, one of "Serial", "Direct"
|
8815
8830
|
# resp.execution_role_arn #=> String
|
8816
8831
|
# resp.vpc_config.security_group_ids #=> Array
|
8817
8832
|
# resp.vpc_config.security_group_ids[0] #=> String
|
@@ -17285,7 +17300,7 @@ module Aws::SageMaker
|
|
17285
17300
|
params: params,
|
17286
17301
|
config: config)
|
17287
17302
|
context[:gem_name] = 'aws-sdk-sagemaker'
|
17288
|
-
context[:gem_version] = '1.
|
17303
|
+
context[:gem_version] = '1.79.0'
|
17289
17304
|
Seahorse::Client::Request.new(handlers, context)
|
17290
17305
|
end
|
17291
17306
|
|
@@ -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')
|
@@ -2091,6 +2094,7 @@ module Aws::SageMaker
|
|
2091
2094
|
CreateModelInput.add_member(:model_name, Shapes::ShapeRef.new(shape: ModelName, required: true, location_name: "ModelName"))
|
2092
2095
|
CreateModelInput.add_member(:primary_container, Shapes::ShapeRef.new(shape: ContainerDefinition, location_name: "PrimaryContainer"))
|
2093
2096
|
CreateModelInput.add_member(:containers, Shapes::ShapeRef.new(shape: ContainerDefinitionList, location_name: "Containers"))
|
2097
|
+
CreateModelInput.add_member(:inference_execution_config, Shapes::ShapeRef.new(shape: InferenceExecutionConfig, location_name: "InferenceExecutionConfig"))
|
2094
2098
|
CreateModelInput.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "ExecutionRoleArn"))
|
2095
2099
|
CreateModelInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
2096
2100
|
CreateModelInput.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "VpcConfig"))
|
@@ -3018,6 +3022,7 @@ module Aws::SageMaker
|
|
3018
3022
|
DescribeModelOutput.add_member(:model_name, Shapes::ShapeRef.new(shape: ModelName, required: true, location_name: "ModelName"))
|
3019
3023
|
DescribeModelOutput.add_member(:primary_container, Shapes::ShapeRef.new(shape: ContainerDefinition, location_name: "PrimaryContainer"))
|
3020
3024
|
DescribeModelOutput.add_member(:containers, Shapes::ShapeRef.new(shape: ContainerDefinitionList, location_name: "Containers"))
|
3025
|
+
DescribeModelOutput.add_member(:inference_execution_config, Shapes::ShapeRef.new(shape: InferenceExecutionConfig, location_name: "InferenceExecutionConfig"))
|
3021
3026
|
DescribeModelOutput.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "ExecutionRoleArn"))
|
3022
3027
|
DescribeModelOutput.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "VpcConfig"))
|
3023
3028
|
DescribeModelOutput.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreationTime"))
|
@@ -3805,6 +3810,9 @@ module Aws::SageMaker
|
|
3805
3810
|
|
3806
3811
|
Images.member = Shapes::ShapeRef.new(shape: Image)
|
3807
3812
|
|
3813
|
+
InferenceExecutionConfig.add_member(:mode, Shapes::ShapeRef.new(shape: InferenceExecutionMode, required: true, location_name: "Mode"))
|
3814
|
+
InferenceExecutionConfig.struct_class = Types::InferenceExecutionConfig
|
3815
|
+
|
3808
3816
|
InferenceSpecification.add_member(:containers, Shapes::ShapeRef.new(shape: ModelPackageContainerDefinitionList, required: true, location_name: "Containers"))
|
3809
3817
|
InferenceSpecification.add_member(:supported_transform_instance_types, Shapes::ShapeRef.new(shape: TransformInstanceTypes, location_name: "SupportedTransformInstanceTypes"))
|
3810
3818
|
InferenceSpecification.add_member(:supported_realtime_inference_instance_types, Shapes::ShapeRef.new(shape: RealtimeInferenceInstanceTypes, location_name: "SupportedRealtimeInferenceInstanceTypes"))
|
@@ -5278,8 +5286,13 @@ module Aws::SageMaker
|
|
5278
5286
|
ProductionVariant.add_member(:instance_type, Shapes::ShapeRef.new(shape: ProductionVariantInstanceType, required: true, location_name: "InstanceType"))
|
5279
5287
|
ProductionVariant.add_member(:initial_variant_weight, Shapes::ShapeRef.new(shape: VariantWeight, location_name: "InitialVariantWeight"))
|
5280
5288
|
ProductionVariant.add_member(:accelerator_type, Shapes::ShapeRef.new(shape: ProductionVariantAcceleratorType, location_name: "AcceleratorType"))
|
5289
|
+
ProductionVariant.add_member(:core_dump_config, Shapes::ShapeRef.new(shape: ProductionVariantCoreDumpConfig, location_name: "CoreDumpConfig"))
|
5281
5290
|
ProductionVariant.struct_class = Types::ProductionVariant
|
5282
5291
|
|
5292
|
+
ProductionVariantCoreDumpConfig.add_member(:destination_s3_uri, Shapes::ShapeRef.new(shape: DestinationS3Uri, required: true, location_name: "DestinationS3Uri"))
|
5293
|
+
ProductionVariantCoreDumpConfig.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "KmsKeyId"))
|
5294
|
+
ProductionVariantCoreDumpConfig.struct_class = Types::ProductionVariantCoreDumpConfig
|
5295
|
+
|
5283
5296
|
ProductionVariantList.member = Shapes::ShapeRef.new(shape: ProductionVariant)
|
5284
5297
|
|
5285
5298
|
ProductionVariantSummary.add_member(:variant_name, Shapes::ShapeRef.new(shape: VariantName, required: true, location_name: "VariantName"))
|
@@ -4566,6 +4566,10 @@ module Aws::SageMaker
|
|
4566
4566
|
# 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
4567
|
# initial_variant_weight: 1.0,
|
4568
4568
|
# accelerator_type: "ml.eia1.medium", # accepts ml.eia1.medium, ml.eia1.large, ml.eia1.xlarge, ml.eia2.medium, ml.eia2.large, ml.eia2.xlarge
|
4569
|
+
# core_dump_config: {
|
4570
|
+
# destination_s3_uri: "DestinationS3Uri", # required
|
4571
|
+
# kms_key_id: "KmsKeyId",
|
4572
|
+
# },
|
4569
4573
|
# },
|
4570
4574
|
# ],
|
4571
4575
|
# data_capture_config: {
|
@@ -6211,6 +6215,9 @@ module Aws::SageMaker
|
|
6211
6215
|
# },
|
6212
6216
|
# },
|
6213
6217
|
# ],
|
6218
|
+
# inference_execution_config: {
|
6219
|
+
# mode: "Serial", # required, accepts Serial, Direct
|
6220
|
+
# },
|
6214
6221
|
# execution_role_arn: "RoleArn", # required
|
6215
6222
|
# tags: [
|
6216
6223
|
# {
|
@@ -6239,6 +6246,11 @@ module Aws::SageMaker
|
|
6239
6246
|
# Specifies the containers in the inference pipeline.
|
6240
6247
|
# @return [Array<Types::ContainerDefinition>]
|
6241
6248
|
#
|
6249
|
+
# @!attribute [rw] inference_execution_config
|
6250
|
+
# Specifies details of how containers in a multi-container endpoint
|
6251
|
+
# are called.
|
6252
|
+
# @return [Types::InferenceExecutionConfig]
|
6253
|
+
#
|
6242
6254
|
# @!attribute [rw] execution_role_arn
|
6243
6255
|
# The Amazon Resource Name (ARN) of the IAM role that Amazon SageMaker
|
6244
6256
|
# can assume to access model artifacts and docker image for deployment
|
@@ -6291,6 +6303,7 @@ module Aws::SageMaker
|
|
6291
6303
|
:model_name,
|
6292
6304
|
:primary_container,
|
6293
6305
|
:containers,
|
6306
|
+
:inference_execution_config,
|
6294
6307
|
:execution_role_arn,
|
6295
6308
|
:tags,
|
6296
6309
|
:vpc_config,
|
@@ -12762,6 +12775,11 @@ module Aws::SageMaker
|
|
12762
12775
|
# The containers in the inference pipeline.
|
12763
12776
|
# @return [Array<Types::ContainerDefinition>]
|
12764
12777
|
#
|
12778
|
+
# @!attribute [rw] inference_execution_config
|
12779
|
+
# Specifies details of how containers in a multi-container endpoint
|
12780
|
+
# are called.
|
12781
|
+
# @return [Types::InferenceExecutionConfig]
|
12782
|
+
#
|
12765
12783
|
# @!attribute [rw] execution_role_arn
|
12766
12784
|
# The Amazon Resource Name (ARN) of the IAM role that you specified
|
12767
12785
|
# for the model.
|
@@ -12796,6 +12814,7 @@ module Aws::SageMaker
|
|
12796
12814
|
:model_name,
|
12797
12815
|
:primary_container,
|
12798
12816
|
:containers,
|
12817
|
+
:inference_execution_config,
|
12799
12818
|
:execution_role_arn,
|
12800
12819
|
:vpc_config,
|
12801
12820
|
:creation_time,
|
@@ -17539,7 +17558,8 @@ module Aws::SageMaker
|
|
17539
17558
|
# (28,800 seconds).
|
17540
17559
|
#
|
17541
17560
|
# * For [3D point cloud][4] and [video frame][5] labeling jobs, the
|
17542
|
-
# maximum is 7 days (604,800 seconds).
|
17561
|
+
# maximum is 7 days (604,800 seconds). If you want to change these
|
17562
|
+
# limits, contact AWS Support.
|
17543
17563
|
#
|
17544
17564
|
#
|
17545
17565
|
#
|
@@ -17561,7 +17581,7 @@ module Aws::SageMaker
|
|
17561
17581
|
#
|
17562
17582
|
# * If you choose a private or vendor workforce, the default value is
|
17563
17583
|
# 10 days (864,000 seconds). For most users, the maximum is also 10
|
17564
|
-
# days.
|
17584
|
+
# days. If you want to change this limit, contact AWS Support.
|
17565
17585
|
# @return [Integer]
|
17566
17586
|
#
|
17567
17587
|
# @!attribute [rw] max_concurrent_task_count
|
@@ -18526,6 +18546,32 @@ module Aws::SageMaker
|
|
18526
18546
|
include Aws::Structure
|
18527
18547
|
end
|
18528
18548
|
|
18549
|
+
# Specifies details about how containers in a multi-container are run.
|
18550
|
+
#
|
18551
|
+
# @note When making an API call, you may pass InferenceExecutionConfig
|
18552
|
+
# data as a hash:
|
18553
|
+
#
|
18554
|
+
# {
|
18555
|
+
# mode: "Serial", # required, accepts Serial, Direct
|
18556
|
+
# }
|
18557
|
+
#
|
18558
|
+
# @!attribute [rw] mode
|
18559
|
+
# How containers in a multi-container are run. The following values
|
18560
|
+
# are valid.
|
18561
|
+
#
|
18562
|
+
# * `SERIAL` - Containers run as a serial pipeline.
|
18563
|
+
#
|
18564
|
+
# * `DIRECT` - Only the individual container that you specify is run.
|
18565
|
+
# @return [String]
|
18566
|
+
#
|
18567
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/InferenceExecutionConfig AWS API Documentation
|
18568
|
+
#
|
18569
|
+
class InferenceExecutionConfig < Struct.new(
|
18570
|
+
:mode)
|
18571
|
+
SENSITIVE = []
|
18572
|
+
include Aws::Structure
|
18573
|
+
end
|
18574
|
+
|
18529
18575
|
# Defines how to perform inference generation after a training job is
|
18530
18576
|
# run.
|
18531
18577
|
#
|
@@ -27207,8 +27253,8 @@ module Aws::SageMaker
|
|
27207
27253
|
#
|
27208
27254
|
#
|
27209
27255
|
#
|
27210
|
-
# [1]: https://docs.aws.amazon.com/
|
27211
|
-
# [2]:
|
27256
|
+
# [1]: https://docs.aws.amazon.com/mazonS3/latest/dev/UsingKMSEncryption.html
|
27257
|
+
# [2]: https://docs.aws.amazon.com/kms/latest/developerguide/key-policies.html
|
27212
27258
|
# @return [String]
|
27213
27259
|
#
|
27214
27260
|
# @!attribute [rw] s3_output_path
|
@@ -28350,6 +28396,10 @@ module Aws::SageMaker
|
|
28350
28396
|
# 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
28397
|
# initial_variant_weight: 1.0,
|
28352
28398
|
# accelerator_type: "ml.eia1.medium", # accepts ml.eia1.medium, ml.eia1.large, ml.eia1.xlarge, ml.eia2.medium, ml.eia2.large, ml.eia2.xlarge
|
28399
|
+
# core_dump_config: {
|
28400
|
+
# destination_s3_uri: "DestinationS3Uri", # required
|
28401
|
+
# kms_key_id: "KmsKeyId",
|
28402
|
+
# },
|
28353
28403
|
# }
|
28354
28404
|
#
|
28355
28405
|
# @!attribute [rw] variant_name
|
@@ -28388,6 +28438,11 @@ module Aws::SageMaker
|
|
28388
28438
|
# [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/ei.html
|
28389
28439
|
# @return [String]
|
28390
28440
|
#
|
28441
|
+
# @!attribute [rw] core_dump_config
|
28442
|
+
# Specifies configuration for a core dump from the model container
|
28443
|
+
# when the process crashes.
|
28444
|
+
# @return [Types::ProductionVariantCoreDumpConfig]
|
28445
|
+
#
|
28391
28446
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ProductionVariant AWS API Documentation
|
28392
28447
|
#
|
28393
28448
|
class ProductionVariant < Struct.new(
|
@@ -28396,7 +28451,77 @@ module Aws::SageMaker
|
|
28396
28451
|
:initial_instance_count,
|
28397
28452
|
:instance_type,
|
28398
28453
|
:initial_variant_weight,
|
28399
|
-
:accelerator_type
|
28454
|
+
:accelerator_type,
|
28455
|
+
:core_dump_config)
|
28456
|
+
SENSITIVE = []
|
28457
|
+
include Aws::Structure
|
28458
|
+
end
|
28459
|
+
|
28460
|
+
# Specifies configuration for a core dump from the model container when
|
28461
|
+
# the process crashes.
|
28462
|
+
#
|
28463
|
+
# @note When making an API call, you may pass ProductionVariantCoreDumpConfig
|
28464
|
+
# data as a hash:
|
28465
|
+
#
|
28466
|
+
# {
|
28467
|
+
# destination_s3_uri: "DestinationS3Uri", # required
|
28468
|
+
# kms_key_id: "KmsKeyId",
|
28469
|
+
# }
|
28470
|
+
#
|
28471
|
+
# @!attribute [rw] destination_s3_uri
|
28472
|
+
# The Amazon S3 bucket to send the core dump to.
|
28473
|
+
# @return [String]
|
28474
|
+
#
|
28475
|
+
# @!attribute [rw] kms_key_id
|
28476
|
+
# The AWS Key Management Service (AWS KMS) key that Amazon SageMaker
|
28477
|
+
# uses to encrypt the core dump data at rest using Amazon S3
|
28478
|
+
# server-side encryption. The `KmsKeyId` can be any of the following
|
28479
|
+
# formats:
|
28480
|
+
#
|
28481
|
+
# * // KMS Key ID
|
28482
|
+
#
|
28483
|
+
# `"1234abcd-12ab-34cd-56ef-1234567890ab"`
|
28484
|
+
#
|
28485
|
+
# * // Amazon Resource Name (ARN) of a KMS Key
|
28486
|
+
#
|
28487
|
+
# `"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"`
|
28488
|
+
#
|
28489
|
+
# * // KMS Key Alias
|
28490
|
+
#
|
28491
|
+
# `"alias/ExampleAlias"`
|
28492
|
+
#
|
28493
|
+
# * // Amazon Resource Name (ARN) of a KMS Key Alias
|
28494
|
+
#
|
28495
|
+
# `"arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias"`
|
28496
|
+
#
|
28497
|
+
# If you use a KMS key ID or an alias of your master key, the Amazon
|
28498
|
+
# SageMaker execution role must include permissions to call
|
28499
|
+
# `kms:Encrypt`. If you don't provide a KMS key ID, Amazon SageMaker
|
28500
|
+
# uses the default KMS key for Amazon S3 for your role's account.
|
28501
|
+
# Amazon SageMaker uses server-side encryption with KMS-managed keys
|
28502
|
+
# for `OutputDataConfig`. If you use a bucket policy with an
|
28503
|
+
# `s3:PutObject` permission that only allows objects with server-side
|
28504
|
+
# encryption, set the condition key of
|
28505
|
+
# `s3:x-amz-server-side-encryption` to `"aws:kms"`. For more
|
28506
|
+
# information, see [KMS-Managed Encryption Keys][1] in the *Amazon
|
28507
|
+
# Simple Storage Service Developer Guide.*
|
28508
|
+
#
|
28509
|
+
# The KMS key policy must grant permission to the IAM role that you
|
28510
|
+
# specify in your `CreateEndpoint` and `UpdateEndpoint` requests. For
|
28511
|
+
# more information, see [Using Key Policies in AWS KMS][2] in the *AWS
|
28512
|
+
# Key Management Service Developer Guide*.
|
28513
|
+
#
|
28514
|
+
#
|
28515
|
+
#
|
28516
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingKMSEncryption.html
|
28517
|
+
# [2]: https://docs.aws.amazon.com/kms/latest/developerguide/key-policies.html
|
28518
|
+
# @return [String]
|
28519
|
+
#
|
28520
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ProductionVariantCoreDumpConfig AWS API Documentation
|
28521
|
+
#
|
28522
|
+
class ProductionVariantCoreDumpConfig < Struct.new(
|
28523
|
+
:destination_s3_uri,
|
28524
|
+
:kms_key_id)
|
28400
28525
|
SENSITIVE = []
|
28401
28526
|
include Aws::Structure
|
28402
28527
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-sagemaker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.79.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-02-
|
11
|
+
date: 2021-02-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|