aws-sdk-sagemaker 1.162.0 → 1.164.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-sagemaker/client.rb +21 -2
- data/lib/aws-sdk-sagemaker/client_api.rb +23 -1
- data/lib/aws-sdk-sagemaker/endpoint_provider.rb +2 -5
- data/lib/aws-sdk-sagemaker/types.rb +96 -6
- data/lib/aws-sdk-sagemaker.rb +1 -1
- 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: 2bddb889de853dbfb3618f6625c40548f6eb4dbc611bf617305804d69228cd6b
|
4
|
+
data.tar.gz: 27659e743febca9ae1cd3db7cc72292bdee4a925f01ac1a613f4de3eb1d7396a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e113ee2512a60a2ad7239dc8f9eb3b92dd2d31303be2ceb062fbca6ba9c7be9d44fc98334d8ad073b08b09a98240f33ebe19c5747d17f9c21574ae839830d073
|
7
|
+
data.tar.gz: b95e8973128115123299dcd2b5e465a760ec8b1f2a050c99c6d0408f9f26193938b211bb57fd60920efd605eaa2f8ea439c5dadfb407b285a92ad94423e0d8c8
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.164.0 (2023-01-27)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release supports running SageMaker Training jobs with container images that are in a private Docker registry.
|
8
|
+
|
9
|
+
1.163.0 (2023-01-25)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - SageMaker Inference Recommender now decouples from Model Registry and could accept Model Name to invoke inference recommendations job; Inference Recommender now provides CPU/Memory Utilization metrics data in recommendation output.
|
13
|
+
|
4
14
|
1.162.0 (2023-01-23)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.164.0
|
@@ -3995,7 +3995,7 @@ module Aws::SageMaker
|
|
3995
3995
|
# job_type: "Default", # required, accepts Default, Advanced
|
3996
3996
|
# role_arn: "RoleArn", # required
|
3997
3997
|
# input_config: { # required
|
3998
|
-
# model_package_version_arn: "ModelPackageArn",
|
3998
|
+
# model_package_version_arn: "ModelPackageArn",
|
3999
3999
|
# job_duration_in_seconds: 1,
|
4000
4000
|
# traffic_pattern: {
|
4001
4001
|
# traffic_type: "PHASES", # accepts PHASES
|
@@ -4037,6 +4037,7 @@ module Aws::SageMaker
|
|
4037
4037
|
# },
|
4038
4038
|
# nearest_model_name: "String",
|
4039
4039
|
# supported_instance_types: ["String"],
|
4040
|
+
# data_input_config: "RecommendationJobDataInputConfig",
|
4040
4041
|
# },
|
4041
4042
|
# endpoints: [
|
4042
4043
|
# {
|
@@ -4047,6 +4048,7 @@ module Aws::SageMaker
|
|
4047
4048
|
# security_group_ids: ["RecommendationJobVpcSecurityGroupId"], # required
|
4048
4049
|
# subnets: ["RecommendationJobVpcSubnetId"], # required
|
4049
4050
|
# },
|
4051
|
+
# model_name: "ModelName",
|
4050
4052
|
# },
|
4051
4053
|
# job_description: "RecommendationJobDescription",
|
4052
4054
|
# stopping_conditions: {
|
@@ -6910,6 +6912,12 @@ module Aws::SageMaker
|
|
6910
6912
|
# enable_sage_maker_metrics_time_series: false,
|
6911
6913
|
# container_entrypoint: ["TrainingContainerEntrypointString"],
|
6912
6914
|
# container_arguments: ["TrainingContainerArgument"],
|
6915
|
+
# training_image_config: {
|
6916
|
+
# training_repository_access_mode: "Platform", # required, accepts Platform, Vpc
|
6917
|
+
# training_repository_auth_config: {
|
6918
|
+
# training_repository_credentials_provider_arn: "TrainingRepositoryCredentialsProviderArn", # required
|
6919
|
+
# },
|
6920
|
+
# },
|
6913
6921
|
# },
|
6914
6922
|
# role_arn: "RoleArn", # required
|
6915
6923
|
# input_data_config: [
|
@@ -11474,12 +11482,14 @@ module Aws::SageMaker
|
|
11474
11482
|
# resp.input_config.container_config.nearest_model_name #=> String
|
11475
11483
|
# resp.input_config.container_config.supported_instance_types #=> Array
|
11476
11484
|
# resp.input_config.container_config.supported_instance_types[0] #=> String
|
11485
|
+
# resp.input_config.container_config.data_input_config #=> String
|
11477
11486
|
# resp.input_config.endpoints #=> Array
|
11478
11487
|
# resp.input_config.endpoints[0].endpoint_name #=> String
|
11479
11488
|
# resp.input_config.vpc_config.security_group_ids #=> Array
|
11480
11489
|
# resp.input_config.vpc_config.security_group_ids[0] #=> String
|
11481
11490
|
# resp.input_config.vpc_config.subnets #=> Array
|
11482
11491
|
# resp.input_config.vpc_config.subnets[0] #=> String
|
11492
|
+
# resp.input_config.model_name #=> String
|
11483
11493
|
# resp.stopping_conditions.max_invocations #=> Integer
|
11484
11494
|
# resp.stopping_conditions.model_latency_thresholds #=> Array
|
11485
11495
|
# resp.stopping_conditions.model_latency_thresholds[0].percentile #=> String
|
@@ -11489,6 +11499,8 @@ module Aws::SageMaker
|
|
11489
11499
|
# resp.inference_recommendations[0].metrics.cost_per_inference #=> Float
|
11490
11500
|
# resp.inference_recommendations[0].metrics.max_invocations #=> Integer
|
11491
11501
|
# resp.inference_recommendations[0].metrics.model_latency #=> Integer
|
11502
|
+
# resp.inference_recommendations[0].metrics.cpu_utilization #=> Float
|
11503
|
+
# resp.inference_recommendations[0].metrics.memory_utilization #=> Float
|
11492
11504
|
# resp.inference_recommendations[0].endpoint_configuration.endpoint_name #=> String
|
11493
11505
|
# resp.inference_recommendations[0].endpoint_configuration.variant_name #=> String
|
11494
11506
|
# resp.inference_recommendations[0].endpoint_configuration.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", "ml.c6i.large", "ml.c6i.xlarge", "ml.c6i.2xlarge", "ml.c6i.4xlarge", "ml.c6i.8xlarge", "ml.c6i.12xlarge", "ml.c6i.16xlarge", "ml.c6i.24xlarge", "ml.c6i.32xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.12xlarge", "ml.g5.16xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.p4d.24xlarge", "ml.c7g.large", "ml.c7g.xlarge", "ml.c7g.2xlarge", "ml.c7g.4xlarge", "ml.c7g.8xlarge", "ml.c7g.12xlarge", "ml.c7g.16xlarge", "ml.m6g.large", "ml.m6g.xlarge", "ml.m6g.2xlarge", "ml.m6g.4xlarge", "ml.m6g.8xlarge", "ml.m6g.12xlarge", "ml.m6g.16xlarge", "ml.m6gd.large", "ml.m6gd.xlarge", "ml.m6gd.2xlarge", "ml.m6gd.4xlarge", "ml.m6gd.8xlarge", "ml.m6gd.12xlarge", "ml.m6gd.16xlarge", "ml.c6g.large", "ml.c6g.xlarge", "ml.c6g.2xlarge", "ml.c6g.4xlarge", "ml.c6g.8xlarge", "ml.c6g.12xlarge", "ml.c6g.16xlarge", "ml.c6gd.large", "ml.c6gd.xlarge", "ml.c6gd.2xlarge", "ml.c6gd.4xlarge", "ml.c6gd.8xlarge", "ml.c6gd.12xlarge", "ml.c6gd.16xlarge", "ml.c6gn.large", "ml.c6gn.xlarge", "ml.c6gn.2xlarge", "ml.c6gn.4xlarge", "ml.c6gn.8xlarge", "ml.c6gn.12xlarge", "ml.c6gn.16xlarge", "ml.r6g.large", "ml.r6g.xlarge", "ml.r6g.2xlarge", "ml.r6g.4xlarge", "ml.r6g.8xlarge", "ml.r6g.12xlarge", "ml.r6g.16xlarge", "ml.r6gd.large", "ml.r6gd.xlarge", "ml.r6gd.2xlarge", "ml.r6gd.4xlarge", "ml.r6gd.8xlarge", "ml.r6gd.12xlarge", "ml.r6gd.16xlarge", "ml.p4de.24xlarge"
|
@@ -11498,6 +11510,8 @@ module Aws::SageMaker
|
|
11498
11510
|
# resp.inference_recommendations[0].model_configuration.environment_parameters[0].key #=> String
|
11499
11511
|
# resp.inference_recommendations[0].model_configuration.environment_parameters[0].value_type #=> String
|
11500
11512
|
# resp.inference_recommendations[0].model_configuration.environment_parameters[0].value #=> String
|
11513
|
+
# resp.inference_recommendations[0].model_configuration.compilation_job_name #=> String
|
11514
|
+
# resp.inference_recommendations[0].recommendation_id #=> String
|
11501
11515
|
# resp.endpoint_performances #=> Array
|
11502
11516
|
# resp.endpoint_performances[0].metrics.max_invocations #=> Integer
|
11503
11517
|
# resp.endpoint_performances[0].metrics.model_latency #=> Integer
|
@@ -13135,6 +13149,8 @@ module Aws::SageMaker
|
|
13135
13149
|
# resp.algorithm_specification.container_entrypoint[0] #=> String
|
13136
13150
|
# resp.algorithm_specification.container_arguments #=> Array
|
13137
13151
|
# resp.algorithm_specification.container_arguments[0] #=> String
|
13152
|
+
# resp.algorithm_specification.training_image_config.training_repository_access_mode #=> String, one of "Platform", "Vpc"
|
13153
|
+
# resp.algorithm_specification.training_image_config.training_repository_auth_config.training_repository_credentials_provider_arn #=> String
|
13138
13154
|
# resp.role_arn #=> String
|
13139
13155
|
# resp.input_data_config #=> Array
|
13140
13156
|
# resp.input_data_config[0].channel_name #=> String
|
@@ -16382,6 +16398,8 @@ module Aws::SageMaker
|
|
16382
16398
|
# resp.steps[0].inference_benchmark.metrics.cost_per_inference #=> Float
|
16383
16399
|
# resp.steps[0].inference_benchmark.metrics.max_invocations #=> Integer
|
16384
16400
|
# resp.steps[0].inference_benchmark.metrics.model_latency #=> Integer
|
16401
|
+
# resp.steps[0].inference_benchmark.metrics.cpu_utilization #=> Float
|
16402
|
+
# resp.steps[0].inference_benchmark.metrics.memory_utilization #=> Float
|
16385
16403
|
# resp.steps[0].inference_benchmark.endpoint_configuration.endpoint_name #=> String
|
16386
16404
|
# resp.steps[0].inference_benchmark.endpoint_configuration.variant_name #=> String
|
16387
16405
|
# resp.steps[0].inference_benchmark.endpoint_configuration.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", "ml.c6i.large", "ml.c6i.xlarge", "ml.c6i.2xlarge", "ml.c6i.4xlarge", "ml.c6i.8xlarge", "ml.c6i.12xlarge", "ml.c6i.16xlarge", "ml.c6i.24xlarge", "ml.c6i.32xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.12xlarge", "ml.g5.16xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.p4d.24xlarge", "ml.c7g.large", "ml.c7g.xlarge", "ml.c7g.2xlarge", "ml.c7g.4xlarge", "ml.c7g.8xlarge", "ml.c7g.12xlarge", "ml.c7g.16xlarge", "ml.m6g.large", "ml.m6g.xlarge", "ml.m6g.2xlarge", "ml.m6g.4xlarge", "ml.m6g.8xlarge", "ml.m6g.12xlarge", "ml.m6g.16xlarge", "ml.m6gd.large", "ml.m6gd.xlarge", "ml.m6gd.2xlarge", "ml.m6gd.4xlarge", "ml.m6gd.8xlarge", "ml.m6gd.12xlarge", "ml.m6gd.16xlarge", "ml.c6g.large", "ml.c6g.xlarge", "ml.c6g.2xlarge", "ml.c6g.4xlarge", "ml.c6g.8xlarge", "ml.c6g.12xlarge", "ml.c6g.16xlarge", "ml.c6gd.large", "ml.c6gd.xlarge", "ml.c6gd.2xlarge", "ml.c6gd.4xlarge", "ml.c6gd.8xlarge", "ml.c6gd.12xlarge", "ml.c6gd.16xlarge", "ml.c6gn.large", "ml.c6gn.xlarge", "ml.c6gn.2xlarge", "ml.c6gn.4xlarge", "ml.c6gn.8xlarge", "ml.c6gn.12xlarge", "ml.c6gn.16xlarge", "ml.r6g.large", "ml.r6g.xlarge", "ml.r6g.2xlarge", "ml.r6g.4xlarge", "ml.r6g.8xlarge", "ml.r6g.12xlarge", "ml.r6g.16xlarge", "ml.r6gd.large", "ml.r6gd.xlarge", "ml.r6gd.2xlarge", "ml.r6gd.4xlarge", "ml.r6gd.8xlarge", "ml.r6gd.12xlarge", "ml.r6gd.16xlarge", "ml.p4de.24xlarge"
|
@@ -16391,6 +16409,7 @@ module Aws::SageMaker
|
|
16391
16409
|
# resp.steps[0].inference_benchmark.model_configuration.environment_parameters[0].key #=> String
|
16392
16410
|
# resp.steps[0].inference_benchmark.model_configuration.environment_parameters[0].value_type #=> String
|
16393
16411
|
# resp.steps[0].inference_benchmark.model_configuration.environment_parameters[0].value #=> String
|
16412
|
+
# resp.steps[0].inference_benchmark.model_configuration.compilation_job_name #=> String
|
16394
16413
|
# resp.steps[0].inference_benchmark.failure_reason #=> String
|
16395
16414
|
# resp.next_token #=> String
|
16396
16415
|
#
|
@@ -22727,7 +22746,7 @@ module Aws::SageMaker
|
|
22727
22746
|
params: params,
|
22728
22747
|
config: config)
|
22729
22748
|
context[:gem_name] = 'aws-sdk-sagemaker'
|
22730
|
-
context[:gem_version] = '1.
|
22749
|
+
context[:gem_version] = '1.164.0'
|
22731
22750
|
Seahorse::Client::Request.new(handlers, context)
|
22732
22751
|
end
|
22733
22752
|
|
@@ -1543,8 +1543,10 @@ module Aws::SageMaker
|
|
1543
1543
|
RealtimeInferenceInstanceTypes = Shapes::ListShape.new(name: 'RealtimeInferenceInstanceTypes')
|
1544
1544
|
RecommendationFailureReason = Shapes::StringShape.new(name: 'RecommendationFailureReason')
|
1545
1545
|
RecommendationJobArn = Shapes::StringShape.new(name: 'RecommendationJobArn')
|
1546
|
+
RecommendationJobCompilationJobName = Shapes::StringShape.new(name: 'RecommendationJobCompilationJobName')
|
1546
1547
|
RecommendationJobCompiledOutputConfig = Shapes::StructureShape.new(name: 'RecommendationJobCompiledOutputConfig')
|
1547
1548
|
RecommendationJobContainerConfig = Shapes::StructureShape.new(name: 'RecommendationJobContainerConfig')
|
1549
|
+
RecommendationJobDataInputConfig = Shapes::StringShape.new(name: 'RecommendationJobDataInputConfig')
|
1548
1550
|
RecommendationJobDescription = Shapes::StringShape.new(name: 'RecommendationJobDescription')
|
1549
1551
|
RecommendationJobInferenceBenchmark = Shapes::StructureShape.new(name: 'RecommendationJobInferenceBenchmark')
|
1550
1552
|
RecommendationJobInputConfig = Shapes::StructureShape.new(name: 'RecommendationJobInputConfig')
|
@@ -1782,6 +1784,7 @@ module Aws::SageMaker
|
|
1782
1784
|
TrainingEnvironmentKey = Shapes::StringShape.new(name: 'TrainingEnvironmentKey')
|
1783
1785
|
TrainingEnvironmentMap = Shapes::MapShape.new(name: 'TrainingEnvironmentMap')
|
1784
1786
|
TrainingEnvironmentValue = Shapes::StringShape.new(name: 'TrainingEnvironmentValue')
|
1787
|
+
TrainingImageConfig = Shapes::StructureShape.new(name: 'TrainingImageConfig')
|
1785
1788
|
TrainingInputMode = Shapes::StringShape.new(name: 'TrainingInputMode')
|
1786
1789
|
TrainingInstanceCount = Shapes::IntegerShape.new(name: 'TrainingInstanceCount')
|
1787
1790
|
TrainingInstanceType = Shapes::StringShape.new(name: 'TrainingInstanceType')
|
@@ -1798,6 +1801,9 @@ module Aws::SageMaker
|
|
1798
1801
|
TrainingJobStepMetadata = Shapes::StructureShape.new(name: 'TrainingJobStepMetadata')
|
1799
1802
|
TrainingJobSummaries = Shapes::ListShape.new(name: 'TrainingJobSummaries')
|
1800
1803
|
TrainingJobSummary = Shapes::StructureShape.new(name: 'TrainingJobSummary')
|
1804
|
+
TrainingRepositoryAccessMode = Shapes::StringShape.new(name: 'TrainingRepositoryAccessMode')
|
1805
|
+
TrainingRepositoryAuthConfig = Shapes::StructureShape.new(name: 'TrainingRepositoryAuthConfig')
|
1806
|
+
TrainingRepositoryCredentialsProviderArn = Shapes::StringShape.new(name: 'TrainingRepositoryCredentialsProviderArn')
|
1801
1807
|
TrainingSpecification = Shapes::StructureShape.new(name: 'TrainingSpecification')
|
1802
1808
|
TrainingTimeInSeconds = Shapes::IntegerShape.new(name: 'TrainingTimeInSeconds')
|
1803
1809
|
TransformDataSource = Shapes::StructureShape.new(name: 'TransformDataSource')
|
@@ -1925,6 +1931,7 @@ module Aws::SageMaker
|
|
1925
1931
|
UserProfileSortKey = Shapes::StringShape.new(name: 'UserProfileSortKey')
|
1926
1932
|
UserProfileStatus = Shapes::StringShape.new(name: 'UserProfileStatus')
|
1927
1933
|
UserSettings = Shapes::StructureShape.new(name: 'UserSettings')
|
1934
|
+
UtilizationMetric = Shapes::FloatShape.new(name: 'UtilizationMetric')
|
1928
1935
|
ValidationFraction = Shapes::FloatShape.new(name: 'ValidationFraction')
|
1929
1936
|
VariantName = Shapes::StringShape.new(name: 'VariantName')
|
1930
1937
|
VariantProperty = Shapes::StructureShape.new(name: 'VariantProperty')
|
@@ -2027,6 +2034,7 @@ module Aws::SageMaker
|
|
2027
2034
|
AlgorithmSpecification.add_member(:enable_sage_maker_metrics_time_series, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnableSageMakerMetricsTimeSeries"))
|
2028
2035
|
AlgorithmSpecification.add_member(:container_entrypoint, Shapes::ShapeRef.new(shape: TrainingContainerEntrypoint, location_name: "ContainerEntrypoint"))
|
2029
2036
|
AlgorithmSpecification.add_member(:container_arguments, Shapes::ShapeRef.new(shape: TrainingContainerArguments, location_name: "ContainerArguments"))
|
2037
|
+
AlgorithmSpecification.add_member(:training_image_config, Shapes::ShapeRef.new(shape: TrainingImageConfig, location_name: "TrainingImageConfig"))
|
2030
2038
|
AlgorithmSpecification.struct_class = Types::AlgorithmSpecification
|
2031
2039
|
|
2032
2040
|
AlgorithmStatusDetails.add_member(:validation_statuses, Shapes::ShapeRef.new(shape: AlgorithmStatusItemList, location_name: "ValidationStatuses"))
|
@@ -5292,6 +5300,7 @@ module Aws::SageMaker
|
|
5292
5300
|
InferenceRecommendation.add_member(:metrics, Shapes::ShapeRef.new(shape: RecommendationMetrics, required: true, location_name: "Metrics"))
|
5293
5301
|
InferenceRecommendation.add_member(:endpoint_configuration, Shapes::ShapeRef.new(shape: EndpointOutputConfiguration, required: true, location_name: "EndpointConfiguration"))
|
5294
5302
|
InferenceRecommendation.add_member(:model_configuration, Shapes::ShapeRef.new(shape: ModelConfiguration, required: true, location_name: "ModelConfiguration"))
|
5303
|
+
InferenceRecommendation.add_member(:recommendation_id, Shapes::ShapeRef.new(shape: String, location_name: "RecommendationId"))
|
5295
5304
|
InferenceRecommendation.struct_class = Types::InferenceRecommendation
|
5296
5305
|
|
5297
5306
|
InferenceRecommendations.member = Shapes::ShapeRef.new(shape: InferenceRecommendation)
|
@@ -6593,6 +6602,7 @@ module Aws::SageMaker
|
|
6593
6602
|
|
6594
6603
|
ModelConfiguration.add_member(:inference_specification_name, Shapes::ShapeRef.new(shape: InferenceSpecificationName, location_name: "InferenceSpecificationName"))
|
6595
6604
|
ModelConfiguration.add_member(:environment_parameters, Shapes::ShapeRef.new(shape: EnvironmentParameters, location_name: "EnvironmentParameters"))
|
6605
|
+
ModelConfiguration.add_member(:compilation_job_name, Shapes::ShapeRef.new(shape: RecommendationJobCompilationJobName, location_name: "CompilationJobName"))
|
6596
6606
|
ModelConfiguration.struct_class = Types::ModelConfiguration
|
6597
6607
|
|
6598
6608
|
ModelDashboardEndpoint.add_member(:endpoint_name, Shapes::ShapeRef.new(shape: EndpointName, required: true, location_name: "EndpointName"))
|
@@ -7583,6 +7593,7 @@ module Aws::SageMaker
|
|
7583
7593
|
RecommendationJobContainerConfig.add_member(:payload_config, Shapes::ShapeRef.new(shape: RecommendationJobPayloadConfig, location_name: "PayloadConfig"))
|
7584
7594
|
RecommendationJobContainerConfig.add_member(:nearest_model_name, Shapes::ShapeRef.new(shape: String, location_name: "NearestModelName"))
|
7585
7595
|
RecommendationJobContainerConfig.add_member(:supported_instance_types, Shapes::ShapeRef.new(shape: RecommendationJobSupportedInstanceTypes, location_name: "SupportedInstanceTypes"))
|
7596
|
+
RecommendationJobContainerConfig.add_member(:data_input_config, Shapes::ShapeRef.new(shape: RecommendationJobDataInputConfig, location_name: "DataInputConfig"))
|
7586
7597
|
RecommendationJobContainerConfig.struct_class = Types::RecommendationJobContainerConfig
|
7587
7598
|
|
7588
7599
|
RecommendationJobInferenceBenchmark.add_member(:metrics, Shapes::ShapeRef.new(shape: RecommendationMetrics, location_name: "Metrics"))
|
@@ -7591,7 +7602,7 @@ module Aws::SageMaker
|
|
7591
7602
|
RecommendationJobInferenceBenchmark.add_member(:failure_reason, Shapes::ShapeRef.new(shape: RecommendationFailureReason, location_name: "FailureReason"))
|
7592
7603
|
RecommendationJobInferenceBenchmark.struct_class = Types::RecommendationJobInferenceBenchmark
|
7593
7604
|
|
7594
|
-
RecommendationJobInputConfig.add_member(:model_package_version_arn, Shapes::ShapeRef.new(shape: ModelPackageArn,
|
7605
|
+
RecommendationJobInputConfig.add_member(:model_package_version_arn, Shapes::ShapeRef.new(shape: ModelPackageArn, location_name: "ModelPackageVersionArn"))
|
7595
7606
|
RecommendationJobInputConfig.add_member(:job_duration_in_seconds, Shapes::ShapeRef.new(shape: JobDurationInSeconds, location_name: "JobDurationInSeconds"))
|
7596
7607
|
RecommendationJobInputConfig.add_member(:traffic_pattern, Shapes::ShapeRef.new(shape: TrafficPattern, location_name: "TrafficPattern"))
|
7597
7608
|
RecommendationJobInputConfig.add_member(:resource_limit, Shapes::ShapeRef.new(shape: RecommendationJobResourceLimit, location_name: "ResourceLimit"))
|
@@ -7600,6 +7611,7 @@ module Aws::SageMaker
|
|
7600
7611
|
RecommendationJobInputConfig.add_member(:container_config, Shapes::ShapeRef.new(shape: RecommendationJobContainerConfig, location_name: "ContainerConfig"))
|
7601
7612
|
RecommendationJobInputConfig.add_member(:endpoints, Shapes::ShapeRef.new(shape: Endpoints, location_name: "Endpoints"))
|
7602
7613
|
RecommendationJobInputConfig.add_member(:vpc_config, Shapes::ShapeRef.new(shape: RecommendationJobVpcConfig, location_name: "VpcConfig"))
|
7614
|
+
RecommendationJobInputConfig.add_member(:model_name, Shapes::ShapeRef.new(shape: ModelName, location_name: "ModelName"))
|
7603
7615
|
RecommendationJobInputConfig.struct_class = Types::RecommendationJobInputConfig
|
7604
7616
|
|
7605
7617
|
RecommendationJobOutputConfig.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "KmsKeyId"))
|
@@ -7634,6 +7646,8 @@ module Aws::SageMaker
|
|
7634
7646
|
RecommendationMetrics.add_member(:cost_per_inference, Shapes::ShapeRef.new(shape: Float, required: true, location_name: "CostPerInference"))
|
7635
7647
|
RecommendationMetrics.add_member(:max_invocations, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "MaxInvocations"))
|
7636
7648
|
RecommendationMetrics.add_member(:model_latency, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "ModelLatency"))
|
7649
|
+
RecommendationMetrics.add_member(:cpu_utilization, Shapes::ShapeRef.new(shape: UtilizationMetric, location_name: "CpuUtilization"))
|
7650
|
+
RecommendationMetrics.add_member(:memory_utilization, Shapes::ShapeRef.new(shape: UtilizationMetric, location_name: "MemoryUtilization"))
|
7637
7651
|
RecommendationMetrics.struct_class = Types::RecommendationMetrics
|
7638
7652
|
|
7639
7653
|
RedshiftDatasetDefinition.add_member(:cluster_id, Shapes::ShapeRef.new(shape: RedshiftClusterId, required: true, location_name: "ClusterId"))
|
@@ -8021,6 +8035,10 @@ module Aws::SageMaker
|
|
8021
8035
|
TrainingEnvironmentMap.key = Shapes::ShapeRef.new(shape: TrainingEnvironmentKey)
|
8022
8036
|
TrainingEnvironmentMap.value = Shapes::ShapeRef.new(shape: TrainingEnvironmentValue)
|
8023
8037
|
|
8038
|
+
TrainingImageConfig.add_member(:training_repository_access_mode, Shapes::ShapeRef.new(shape: TrainingRepositoryAccessMode, required: true, location_name: "TrainingRepositoryAccessMode"))
|
8039
|
+
TrainingImageConfig.add_member(:training_repository_auth_config, Shapes::ShapeRef.new(shape: TrainingRepositoryAuthConfig, location_name: "TrainingRepositoryAuthConfig"))
|
8040
|
+
TrainingImageConfig.struct_class = Types::TrainingImageConfig
|
8041
|
+
|
8024
8042
|
TrainingInstanceTypes.member = Shapes::ShapeRef.new(shape: TrainingInstanceType)
|
8025
8043
|
|
8026
8044
|
TrainingJob.add_member(:training_job_name, Shapes::ShapeRef.new(shape: TrainingJobName, location_name: "TrainingJobName"))
|
@@ -8091,6 +8109,9 @@ module Aws::SageMaker
|
|
8091
8109
|
TrainingJobSummary.add_member(:warm_pool_status, Shapes::ShapeRef.new(shape: WarmPoolStatus, location_name: "WarmPoolStatus"))
|
8092
8110
|
TrainingJobSummary.struct_class = Types::TrainingJobSummary
|
8093
8111
|
|
8112
|
+
TrainingRepositoryAuthConfig.add_member(:training_repository_credentials_provider_arn, Shapes::ShapeRef.new(shape: TrainingRepositoryCredentialsProviderArn, required: true, location_name: "TrainingRepositoryCredentialsProviderArn"))
|
8113
|
+
TrainingRepositoryAuthConfig.struct_class = Types::TrainingRepositoryAuthConfig
|
8114
|
+
|
8094
8115
|
TrainingSpecification.add_member(:training_image, Shapes::ShapeRef.new(shape: ContainerImage, required: true, location_name: "TrainingImage"))
|
8095
8116
|
TrainingSpecification.add_member(:training_image_digest, Shapes::ShapeRef.new(shape: ImageDigest, location_name: "TrainingImageDigest"))
|
8096
8117
|
TrainingSpecification.add_member(:supported_hyper_parameters, Shapes::ShapeRef.new(shape: HyperParameterSpecifications, location_name: "SupportedHyperParameters"))
|
@@ -10703,6 +10724,7 @@ module Aws::SageMaker
|
|
10703
10724
|
o.http_request_uri = "/"
|
10704
10725
|
o.input = Shapes::ShapeRef.new(shape: ListInferenceRecommendationsJobStepsRequest)
|
10705
10726
|
o.output = Shapes::ShapeRef.new(shape: ListInferenceRecommendationsJobStepsResponse)
|
10727
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFound)
|
10706
10728
|
o[:pager] = Aws::Pager.new(
|
10707
10729
|
limit_key: "max_results",
|
10708
10730
|
tokens: {
|
@@ -33,13 +33,10 @@ module Aws::SageMaker
|
|
33
33
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
34
34
|
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
35
35
|
if Aws::Endpoints::Matchers.string_equals?("aws", Aws::Endpoints::Matchers.attr(partition_result, "name"))
|
36
|
-
return Aws::Endpoints::Endpoint.new(url: "https://api-fips.sagemaker.#{region}
|
37
|
-
end
|
38
|
-
if Aws::Endpoints::Matchers.string_equals?(region, "us-gov-west-1-secondary")
|
39
|
-
return Aws::Endpoints::Endpoint.new(url: "https://api.sagemaker.us-gov-west-1.amazonaws.com", headers: {}, properties: {})
|
36
|
+
return Aws::Endpoints::Endpoint.new(url: "https://api-fips.sagemaker.#{region}.amazonaws.com", headers: {}, properties: {})
|
40
37
|
end
|
41
38
|
if Aws::Endpoints::Matchers.string_equals?("aws-us-gov", Aws::Endpoints::Matchers.attr(partition_result, "name"))
|
42
|
-
return Aws::Endpoints::Endpoint.new(url: "https://api-fips.sagemaker.#{region}
|
39
|
+
return Aws::Endpoints::Endpoint.new(url: "https://api-fips.sagemaker.#{region}.amazonaws.com", headers: {}, properties: {})
|
43
40
|
end
|
44
41
|
return Aws::Endpoints::Endpoint.new(url: "https://api.sagemaker-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
45
42
|
end
|
@@ -411,6 +411,11 @@ module Aws::SageMaker
|
|
411
411
|
# [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms-training-algo-dockerfile.html
|
412
412
|
# @return [Array<String>]
|
413
413
|
#
|
414
|
+
# @!attribute [rw] training_image_config
|
415
|
+
# The configuration to use an image from a private Docker registry for
|
416
|
+
# a training job.
|
417
|
+
# @return [Types::TrainingImageConfig]
|
418
|
+
#
|
414
419
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/AlgorithmSpecification AWS API Documentation
|
415
420
|
#
|
416
421
|
class AlgorithmSpecification < Struct.new(
|
@@ -420,7 +425,8 @@ module Aws::SageMaker
|
|
420
425
|
:metric_definitions,
|
421
426
|
:enable_sage_maker_metrics_time_series,
|
422
427
|
:container_entrypoint,
|
423
|
-
:container_arguments
|
428
|
+
:container_arguments,
|
429
|
+
:training_image_config)
|
424
430
|
SENSITIVE = []
|
425
431
|
include Aws::Structure
|
426
432
|
end
|
@@ -20098,12 +20104,17 @@ module Aws::SageMaker
|
|
20098
20104
|
# Defines the model configuration.
|
20099
20105
|
# @return [Types::ModelConfiguration]
|
20100
20106
|
#
|
20107
|
+
# @!attribute [rw] recommendation_id
|
20108
|
+
# The recommendation ID which uniquely identifies each recommendation.
|
20109
|
+
# @return [String]
|
20110
|
+
#
|
20101
20111
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/InferenceRecommendation AWS API Documentation
|
20102
20112
|
#
|
20103
20113
|
class InferenceRecommendation < Struct.new(
|
20104
20114
|
:metrics,
|
20105
20115
|
:endpoint_configuration,
|
20106
|
-
:model_configuration
|
20116
|
+
:model_configuration,
|
20117
|
+
:recommendation_id)
|
20107
20118
|
SENSITIVE = []
|
20108
20119
|
include Aws::Structure
|
20109
20120
|
end
|
@@ -27008,11 +27019,17 @@ module Aws::SageMaker
|
|
27008
27019
|
# and values.
|
27009
27020
|
# @return [Array<Types::EnvironmentParameter>]
|
27010
27021
|
#
|
27022
|
+
# @!attribute [rw] compilation_job_name
|
27023
|
+
# The name of the compilation job used to create the recommended model
|
27024
|
+
# artifacts.
|
27025
|
+
# @return [String]
|
27026
|
+
#
|
27011
27027
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ModelConfiguration AWS API Documentation
|
27012
27028
|
#
|
27013
27029
|
class ModelConfiguration < Struct.new(
|
27014
27030
|
:inference_specification_name,
|
27015
|
-
:environment_parameters
|
27031
|
+
:environment_parameters,
|
27032
|
+
:compilation_job_name)
|
27016
27033
|
SENSITIVE = []
|
27017
27034
|
include Aws::Structure
|
27018
27035
|
end
|
@@ -32566,6 +32583,17 @@ module Aws::SageMaker
|
|
32566
32583
|
# real-time.
|
32567
32584
|
# @return [Array<String>]
|
32568
32585
|
#
|
32586
|
+
# @!attribute [rw] data_input_config
|
32587
|
+
# Specifies the name and shape of the expected data inputs for your
|
32588
|
+
# trained model with a JSON dictionary form. This field is used for
|
32589
|
+
# optimizing your model using SageMaker Neo. For more information, see
|
32590
|
+
# [DataInputConfig][1].
|
32591
|
+
#
|
32592
|
+
#
|
32593
|
+
#
|
32594
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_InputConfig.html#sagemaker-Type-InputConfig-DataInputConfig
|
32595
|
+
# @return [String]
|
32596
|
+
#
|
32569
32597
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/RecommendationJobContainerConfig AWS API Documentation
|
32570
32598
|
#
|
32571
32599
|
class RecommendationJobContainerConfig < Struct.new(
|
@@ -32575,7 +32603,8 @@ module Aws::SageMaker
|
|
32575
32603
|
:framework_version,
|
32576
32604
|
:payload_config,
|
32577
32605
|
:nearest_model_name,
|
32578
|
-
:supported_instance_types
|
32606
|
+
:supported_instance_types,
|
32607
|
+
:data_input_config)
|
32579
32608
|
SENSITIVE = []
|
32580
32609
|
include Aws::Structure
|
32581
32610
|
end
|
@@ -32690,6 +32719,10 @@ module Aws::SageMaker
|
|
32690
32719
|
# VPC in the inference recommendation job.
|
32691
32720
|
# @return [Types::RecommendationJobVpcConfig]
|
32692
32721
|
#
|
32722
|
+
# @!attribute [rw] model_name
|
32723
|
+
# The name of the created model.
|
32724
|
+
# @return [String]
|
32725
|
+
#
|
32693
32726
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/RecommendationJobInputConfig AWS API Documentation
|
32694
32727
|
#
|
32695
32728
|
class RecommendationJobInputConfig < Struct.new(
|
@@ -32701,7 +32734,8 @@ module Aws::SageMaker
|
|
32701
32734
|
:volume_kms_key_id,
|
32702
32735
|
:container_config,
|
32703
32736
|
:endpoints,
|
32704
|
-
:vpc_config
|
32737
|
+
:vpc_config,
|
32738
|
+
:model_name)
|
32705
32739
|
SENSITIVE = []
|
32706
32740
|
include Aws::Structure
|
32707
32741
|
end
|
@@ -32864,13 +32898,29 @@ module Aws::SageMaker
|
|
32864
32898
|
# instance.
|
32865
32899
|
# @return [Integer]
|
32866
32900
|
#
|
32901
|
+
# @!attribute [rw] cpu_utilization
|
32902
|
+
# The expected CPU utilization at maximum invocations per minute for
|
32903
|
+
# the instance.
|
32904
|
+
#
|
32905
|
+
# `NaN` indicates that the value is not available.
|
32906
|
+
# @return [Float]
|
32907
|
+
#
|
32908
|
+
# @!attribute [rw] memory_utilization
|
32909
|
+
# The expected memory utilization at maximum invocations per minute
|
32910
|
+
# for the instance.
|
32911
|
+
#
|
32912
|
+
# `NaN` indicates that the value is not available.
|
32913
|
+
# @return [Float]
|
32914
|
+
#
|
32867
32915
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/RecommendationMetrics AWS API Documentation
|
32868
32916
|
#
|
32869
32917
|
class RecommendationMetrics < Struct.new(
|
32870
32918
|
:cost_per_hour,
|
32871
32919
|
:cost_per_inference,
|
32872
32920
|
:max_invocations,
|
32873
|
-
:model_latency
|
32921
|
+
:model_latency,
|
32922
|
+
:cpu_utilization,
|
32923
|
+
:memory_utilization)
|
32874
32924
|
SENSITIVE = []
|
32875
32925
|
include Aws::Structure
|
32876
32926
|
end
|
@@ -35128,6 +35178,29 @@ module Aws::SageMaker
|
|
35128
35178
|
include Aws::Structure
|
35129
35179
|
end
|
35130
35180
|
|
35181
|
+
# The configuration to use an image from a private Docker registry for a
|
35182
|
+
# training job.
|
35183
|
+
#
|
35184
|
+
# @!attribute [rw] training_repository_access_mode
|
35185
|
+
# The method that your training job will use to gain access to the
|
35186
|
+
# images in your private Docker registry. For access to an image in a
|
35187
|
+
# private Docker registry, set to `Vpc`.
|
35188
|
+
# @return [String]
|
35189
|
+
#
|
35190
|
+
# @!attribute [rw] training_repository_auth_config
|
35191
|
+
# An object containing authentication information for a private Docker
|
35192
|
+
# registry containing your training images.
|
35193
|
+
# @return [Types::TrainingRepositoryAuthConfig]
|
35194
|
+
#
|
35195
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/TrainingImageConfig AWS API Documentation
|
35196
|
+
#
|
35197
|
+
class TrainingImageConfig < Struct.new(
|
35198
|
+
:training_repository_access_mode,
|
35199
|
+
:training_repository_auth_config)
|
35200
|
+
SENSITIVE = []
|
35201
|
+
include Aws::Structure
|
35202
|
+
end
|
35203
|
+
|
35131
35204
|
# Contains information about a training job.
|
35132
35205
|
#
|
35133
35206
|
# @!attribute [rw] training_job_name
|
@@ -35657,6 +35730,23 @@ module Aws::SageMaker
|
|
35657
35730
|
include Aws::Structure
|
35658
35731
|
end
|
35659
35732
|
|
35733
|
+
# An object containing authentication information for a private Docker
|
35734
|
+
# registry.
|
35735
|
+
#
|
35736
|
+
# @!attribute [rw] training_repository_credentials_provider_arn
|
35737
|
+
# The Amazon Resource Name (ARN) of an Amazon Web Services Lambda
|
35738
|
+
# function used to give SageMaker access credentials to your private
|
35739
|
+
# Docker registry.
|
35740
|
+
# @return [String]
|
35741
|
+
#
|
35742
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/TrainingRepositoryAuthConfig AWS API Documentation
|
35743
|
+
#
|
35744
|
+
class TrainingRepositoryAuthConfig < Struct.new(
|
35745
|
+
:training_repository_credentials_provider_arn)
|
35746
|
+
SENSITIVE = []
|
35747
|
+
include Aws::Structure
|
35748
|
+
end
|
35749
|
+
|
35660
35750
|
# Defines how the algorithm is used for a training job.
|
35661
35751
|
#
|
35662
35752
|
# @!attribute [rw] training_image
|
data/lib/aws-sdk-sagemaker.rb
CHANGED
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.164.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: 2023-01-
|
11
|
+
date: 2023-01-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|