aws-sdk-sagemaker 1.61.0 → 1.62.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-sagemaker.rb +1 -1
- data/lib/aws-sdk-sagemaker/client.rb +12 -1
- data/lib/aws-sdk-sagemaker/client_api.rb +9 -0
- data/lib/aws-sdk-sagemaker/types.rb +87 -12
- 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: 15eedc5a89d8933e1a00ba86a1ddd0b0226e08ad26fc63eebec870d1a5e7db5b
|
4
|
+
data.tar.gz: 9b54d93c4388ac3be8d82ff8607911198d043f51d458b17bee8238277c7f6740
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1eb77836dfa96aa280a38a8a28162909b694d335c0dd49d058e571ddb21415686bc03868de190852d329e5952a087ab8317bbb534c4d4563ca22d3e906fd723a
|
7
|
+
data.tar.gz: 8fe2889d4f4b3bae3a50dd78b68b5aea9d796bcf56e87a787bc77cc1897b7177b2183765e3ef7a8c47dd9330a83a815ad7f6390f40e46351f4b0139c501070ae
|
data/lib/aws-sdk-sagemaker.rb
CHANGED
@@ -3443,6 +3443,10 @@ module Aws::SageMaker
|
|
3443
3443
|
#
|
3444
3444
|
# [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms-batch-code.html#your-algorithms-batch-code-how-containe-serves-requests
|
3445
3445
|
#
|
3446
|
+
# @option params [Types::ModelClientConfig] :model_client_config
|
3447
|
+
# Configures the timeout and maximum number of retries for processing a
|
3448
|
+
# transform job invocation.
|
3449
|
+
#
|
3446
3450
|
# @option params [Integer] :max_payload_in_mb
|
3447
3451
|
# The maximum allowed size of the payload, in MB. A *payload* is the
|
3448
3452
|
# data portion of a record (without metadata). The value in
|
@@ -3524,6 +3528,10 @@ module Aws::SageMaker
|
|
3524
3528
|
# transform_job_name: "TransformJobName", # required
|
3525
3529
|
# model_name: "ModelName", # required
|
3526
3530
|
# max_concurrent_transforms: 1,
|
3531
|
+
# model_client_config: {
|
3532
|
+
# invocations_timeout_in_seconds: 1,
|
3533
|
+
# invocations_max_retries: 1,
|
3534
|
+
# },
|
3527
3535
|
# max_payload_in_mb: 1,
|
3528
3536
|
# batch_strategy: "MultiRecord", # accepts MultiRecord, SingleRecord
|
3529
3537
|
# environment: {
|
@@ -6153,6 +6161,7 @@ module Aws::SageMaker
|
|
6153
6161
|
# * {Types::DescribeTransformJobResponse#failure_reason #failure_reason} => String
|
6154
6162
|
# * {Types::DescribeTransformJobResponse#model_name #model_name} => String
|
6155
6163
|
# * {Types::DescribeTransformJobResponse#max_concurrent_transforms #max_concurrent_transforms} => Integer
|
6164
|
+
# * {Types::DescribeTransformJobResponse#model_client_config #model_client_config} => Types::ModelClientConfig
|
6156
6165
|
# * {Types::DescribeTransformJobResponse#max_payload_in_mb #max_payload_in_mb} => Integer
|
6157
6166
|
# * {Types::DescribeTransformJobResponse#batch_strategy #batch_strategy} => String
|
6158
6167
|
# * {Types::DescribeTransformJobResponse#environment #environment} => Hash<String,String>
|
@@ -6181,6 +6190,8 @@ module Aws::SageMaker
|
|
6181
6190
|
# resp.failure_reason #=> String
|
6182
6191
|
# resp.model_name #=> String
|
6183
6192
|
# resp.max_concurrent_transforms #=> Integer
|
6193
|
+
# resp.model_client_config.invocations_timeout_in_seconds #=> Integer
|
6194
|
+
# resp.model_client_config.invocations_max_retries #=> Integer
|
6184
6195
|
# resp.max_payload_in_mb #=> Integer
|
6185
6196
|
# resp.batch_strategy #=> String, one of "MultiRecord", "SingleRecord"
|
6186
6197
|
# resp.environment #=> Hash
|
@@ -10524,7 +10535,7 @@ module Aws::SageMaker
|
|
10524
10535
|
params: params,
|
10525
10536
|
config: config)
|
10526
10537
|
context[:gem_name] = 'aws-sdk-sagemaker'
|
10527
|
-
context[:gem_version] = '1.
|
10538
|
+
context[:gem_version] = '1.62.0'
|
10528
10539
|
Seahorse::Client::Request.new(handlers, context)
|
10529
10540
|
end
|
10530
10541
|
|
@@ -426,6 +426,8 @@ module Aws::SageMaker
|
|
426
426
|
IntegerParameterRange = Shapes::StructureShape.new(name: 'IntegerParameterRange')
|
427
427
|
IntegerParameterRangeSpecification = Shapes::StructureShape.new(name: 'IntegerParameterRangeSpecification')
|
428
428
|
IntegerParameterRanges = Shapes::ListShape.new(name: 'IntegerParameterRanges')
|
429
|
+
InvocationsMaxRetries = Shapes::IntegerShape.new(name: 'InvocationsMaxRetries')
|
430
|
+
InvocationsTimeoutInSeconds = Shapes::IntegerShape.new(name: 'InvocationsTimeoutInSeconds')
|
429
431
|
JobReferenceCode = Shapes::StringShape.new(name: 'JobReferenceCode')
|
430
432
|
JobReferenceCodeContains = Shapes::StringShape.new(name: 'JobReferenceCodeContains')
|
431
433
|
JoinSource = Shapes::StringShape.new(name: 'JoinSource')
|
@@ -549,6 +551,7 @@ module Aws::SageMaker
|
|
549
551
|
MetricValue = Shapes::FloatShape.new(name: 'MetricValue')
|
550
552
|
ModelArn = Shapes::StringShape.new(name: 'ModelArn')
|
551
553
|
ModelArtifacts = Shapes::StructureShape.new(name: 'ModelArtifacts')
|
554
|
+
ModelClientConfig = Shapes::StructureShape.new(name: 'ModelClientConfig')
|
552
555
|
ModelName = Shapes::StringShape.new(name: 'ModelName')
|
553
556
|
ModelNameContains = Shapes::StringShape.new(name: 'ModelNameContains')
|
554
557
|
ModelPackageArn = Shapes::StringShape.new(name: 'ModelPackageArn')
|
@@ -1444,6 +1447,7 @@ module Aws::SageMaker
|
|
1444
1447
|
CreateTransformJobRequest.add_member(:transform_job_name, Shapes::ShapeRef.new(shape: TransformJobName, required: true, location_name: "TransformJobName"))
|
1445
1448
|
CreateTransformJobRequest.add_member(:model_name, Shapes::ShapeRef.new(shape: ModelName, required: true, location_name: "ModelName"))
|
1446
1449
|
CreateTransformJobRequest.add_member(:max_concurrent_transforms, Shapes::ShapeRef.new(shape: MaxConcurrentTransforms, location_name: "MaxConcurrentTransforms"))
|
1450
|
+
CreateTransformJobRequest.add_member(:model_client_config, Shapes::ShapeRef.new(shape: ModelClientConfig, location_name: "ModelClientConfig"))
|
1447
1451
|
CreateTransformJobRequest.add_member(:max_payload_in_mb, Shapes::ShapeRef.new(shape: MaxPayloadInMB, location_name: "MaxPayloadInMB"))
|
1448
1452
|
CreateTransformJobRequest.add_member(:batch_strategy, Shapes::ShapeRef.new(shape: BatchStrategy, location_name: "BatchStrategy"))
|
1449
1453
|
CreateTransformJobRequest.add_member(:environment, Shapes::ShapeRef.new(shape: TransformEnvironmentMap, location_name: "Environment"))
|
@@ -2007,6 +2011,7 @@ module Aws::SageMaker
|
|
2007
2011
|
DescribeTransformJobResponse.add_member(:failure_reason, Shapes::ShapeRef.new(shape: FailureReason, location_name: "FailureReason"))
|
2008
2012
|
DescribeTransformJobResponse.add_member(:model_name, Shapes::ShapeRef.new(shape: ModelName, required: true, location_name: "ModelName"))
|
2009
2013
|
DescribeTransformJobResponse.add_member(:max_concurrent_transforms, Shapes::ShapeRef.new(shape: MaxConcurrentTransforms, location_name: "MaxConcurrentTransforms"))
|
2014
|
+
DescribeTransformJobResponse.add_member(:model_client_config, Shapes::ShapeRef.new(shape: ModelClientConfig, location_name: "ModelClientConfig"))
|
2010
2015
|
DescribeTransformJobResponse.add_member(:max_payload_in_mb, Shapes::ShapeRef.new(shape: MaxPayloadInMB, location_name: "MaxPayloadInMB"))
|
2011
2016
|
DescribeTransformJobResponse.add_member(:batch_strategy, Shapes::ShapeRef.new(shape: BatchStrategy, location_name: "BatchStrategy"))
|
2012
2017
|
DescribeTransformJobResponse.add_member(:environment, Shapes::ShapeRef.new(shape: TransformEnvironmentMap, location_name: "Environment"))
|
@@ -2909,6 +2914,10 @@ module Aws::SageMaker
|
|
2909
2914
|
ModelArtifacts.add_member(:s3_model_artifacts, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "S3ModelArtifacts"))
|
2910
2915
|
ModelArtifacts.struct_class = Types::ModelArtifacts
|
2911
2916
|
|
2917
|
+
ModelClientConfig.add_member(:invocations_timeout_in_seconds, Shapes::ShapeRef.new(shape: InvocationsTimeoutInSeconds, location_name: "InvocationsTimeoutInSeconds"))
|
2918
|
+
ModelClientConfig.add_member(:invocations_max_retries, Shapes::ShapeRef.new(shape: InvocationsMaxRetries, location_name: "InvocationsMaxRetries"))
|
2919
|
+
ModelClientConfig.struct_class = Types::ModelClientConfig
|
2920
|
+
|
2912
2921
|
ModelPackageContainerDefinition.add_member(:container_hostname, Shapes::ShapeRef.new(shape: ContainerHostname, location_name: "ContainerHostname"))
|
2913
2922
|
ModelPackageContainerDefinition.add_member(:image, Shapes::ShapeRef.new(shape: Image, required: true, location_name: "Image"))
|
2914
2923
|
ModelPackageContainerDefinition.add_member(:image_digest, Shapes::ShapeRef.new(shape: ImageDigest, location_name: "ImageDigest"))
|
@@ -4880,6 +4880,10 @@ module Aws::SageMaker
|
|
4880
4880
|
# transform_job_name: "TransformJobName", # required
|
4881
4881
|
# model_name: "ModelName", # required
|
4882
4882
|
# max_concurrent_transforms: 1,
|
4883
|
+
# model_client_config: {
|
4884
|
+
# invocations_timeout_in_seconds: 1,
|
4885
|
+
# invocations_max_retries: 1,
|
4886
|
+
# },
|
4883
4887
|
# max_payload_in_mb: 1,
|
4884
4888
|
# batch_strategy: "MultiRecord", # accepts MultiRecord, SingleRecord
|
4885
4889
|
# environment: {
|
@@ -4951,6 +4955,11 @@ module Aws::SageMaker
|
|
4951
4955
|
# [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms-batch-code.html#your-algorithms-batch-code-how-containe-serves-requests
|
4952
4956
|
# @return [Integer]
|
4953
4957
|
#
|
4958
|
+
# @!attribute [rw] model_client_config
|
4959
|
+
# Configures the timeout and maximum number of retries for processing
|
4960
|
+
# a transform job invocation.
|
4961
|
+
# @return [Types::ModelClientConfig]
|
4962
|
+
#
|
4954
4963
|
# @!attribute [rw] max_payload_in_mb
|
4955
4964
|
# The maximum allowed size of the payload, in MB. A *payload* is the
|
4956
4965
|
# data portion of a record (without metadata). The value in
|
@@ -5038,6 +5047,7 @@ module Aws::SageMaker
|
|
5038
5047
|
:transform_job_name,
|
5039
5048
|
:model_name,
|
5040
5049
|
:max_concurrent_transforms,
|
5050
|
+
:model_client_config,
|
5041
5051
|
:max_payload_in_mb,
|
5042
5052
|
:batch_strategy,
|
5043
5053
|
:environment,
|
@@ -8154,6 +8164,7 @@ module Aws::SageMaker
|
|
8154
8164
|
# @return [String]
|
8155
8165
|
#
|
8156
8166
|
# @!attribute [rw] auto_ml_job_arn
|
8167
|
+
# The Amazon Resource Name (ARN) of an AutoML job.
|
8157
8168
|
# @return [String]
|
8158
8169
|
#
|
8159
8170
|
# @!attribute [rw] model_artifacts
|
@@ -8492,6 +8503,11 @@ module Aws::SageMaker
|
|
8492
8503
|
# can be launched in a transform job. The default value is 1.
|
8493
8504
|
# @return [Integer]
|
8494
8505
|
#
|
8506
|
+
# @!attribute [rw] model_client_config
|
8507
|
+
# The timeout and maximum number of retries for processing a transform
|
8508
|
+
# job invocation.
|
8509
|
+
# @return [Types::ModelClientConfig]
|
8510
|
+
#
|
8495
8511
|
# @!attribute [rw] max_payload_in_mb
|
8496
8512
|
# The maximum payload size, in MB, used in the transform job.
|
8497
8513
|
# @return [Integer]
|
@@ -8548,6 +8564,7 @@ module Aws::SageMaker
|
|
8548
8564
|
# @return [String]
|
8549
8565
|
#
|
8550
8566
|
# @!attribute [rw] auto_ml_job_arn
|
8567
|
+
# The Amazon Resource Name (ARN) of the AutoML transform job.
|
8551
8568
|
# @return [String]
|
8552
8569
|
#
|
8553
8570
|
# @!attribute [rw] data_processing
|
@@ -8578,6 +8595,7 @@ module Aws::SageMaker
|
|
8578
8595
|
:failure_reason,
|
8579
8596
|
:model_name,
|
8580
8597
|
:max_concurrent_transforms,
|
8598
|
+
:model_client_config,
|
8581
8599
|
:max_payload_in_mb,
|
8582
8600
|
:batch_strategy,
|
8583
8601
|
:environment,
|
@@ -9470,6 +9488,14 @@ module Aws::SageMaker
|
|
9470
9488
|
#
|
9471
9489
|
# : The value of `Name` doesn't equal `Value`.
|
9472
9490
|
#
|
9491
|
+
# Exists
|
9492
|
+
#
|
9493
|
+
# : The `Name` property exists.
|
9494
|
+
#
|
9495
|
+
# NotExists
|
9496
|
+
#
|
9497
|
+
# : The `Name` property does not exist.
|
9498
|
+
#
|
9473
9499
|
# GreaterThan
|
9474
9500
|
#
|
9475
9501
|
# : The value of `Name` is greater than `Value`. Not supported for
|
@@ -9490,24 +9516,46 @@ module Aws::SageMaker
|
|
9490
9516
|
# : The value of `Name` is less than or equal to `Value`. Not
|
9491
9517
|
# supported for text properties.
|
9492
9518
|
#
|
9519
|
+
# In
|
9520
|
+
#
|
9521
|
+
# : The value of `Name` is one of the comma delimited strings in
|
9522
|
+
# `Value`. Only supported for text properties.
|
9523
|
+
#
|
9493
9524
|
# Contains
|
9494
9525
|
#
|
9495
|
-
# : The value of `Name` contains the string `Value`.
|
9496
|
-
#
|
9497
|
-
# supported for text properties.
|
9526
|
+
# : The value of `Name` contains the string `Value`. Only supported
|
9527
|
+
# for text properties.
|
9498
9528
|
#
|
9499
|
-
#
|
9529
|
+
# A `SearchExpression` can include the `Contains` operator multiple
|
9530
|
+
# times when the value of `Name` is one of the following:
|
9500
9531
|
#
|
9501
|
-
#
|
9532
|
+
# * `Experiment.DisplayName`
|
9502
9533
|
#
|
9503
|
-
#
|
9534
|
+
# * `Experiment.ExperimentName`
|
9504
9535
|
#
|
9505
|
-
#
|
9536
|
+
# * `Experiment.Tags`
|
9506
9537
|
#
|
9507
|
-
#
|
9538
|
+
# * `Trial.DisplayName`
|
9508
9539
|
#
|
9509
|
-
#
|
9510
|
-
#
|
9540
|
+
# * `Trial.TrialName`
|
9541
|
+
#
|
9542
|
+
# * `Trial.Tags`
|
9543
|
+
#
|
9544
|
+
# * `TrialComponent.DisplayName`
|
9545
|
+
#
|
9546
|
+
# * `TrialComponent.TrialComponentName`
|
9547
|
+
#
|
9548
|
+
# * `TrialComponent.Tags`
|
9549
|
+
#
|
9550
|
+
# * `TrialComponent.InputArtifacts`
|
9551
|
+
#
|
9552
|
+
# * `TrialComponent.OutputArtifacts`
|
9553
|
+
#
|
9554
|
+
# A `SearchExpression` can include only one `Contains` operator for
|
9555
|
+
# all other values of `Name`. In these cases, if you include
|
9556
|
+
# multiple `Contains` operators in the `SearchExpression`, the
|
9557
|
+
# result is the following error message: "`'CONTAINS' operator
|
9558
|
+
# usage limit of 1 exceeded.`"
|
9511
9559
|
# @return [String]
|
9512
9560
|
#
|
9513
9561
|
# @!attribute [rw] value
|
@@ -14907,6 +14955,34 @@ module Aws::SageMaker
|
|
14907
14955
|
include Aws::Structure
|
14908
14956
|
end
|
14909
14957
|
|
14958
|
+
# Configures the timeout and maximum number of retries for processing a
|
14959
|
+
# transform job invocation.
|
14960
|
+
#
|
14961
|
+
# @note When making an API call, you may pass ModelClientConfig
|
14962
|
+
# data as a hash:
|
14963
|
+
#
|
14964
|
+
# {
|
14965
|
+
# invocations_timeout_in_seconds: 1,
|
14966
|
+
# invocations_max_retries: 1,
|
14967
|
+
# }
|
14968
|
+
#
|
14969
|
+
# @!attribute [rw] invocations_timeout_in_seconds
|
14970
|
+
# The timeout value in seconds for an invocation request.
|
14971
|
+
# @return [Integer]
|
14972
|
+
#
|
14973
|
+
# @!attribute [rw] invocations_max_retries
|
14974
|
+
# The maximum number of retries when invocation requests are failing.
|
14975
|
+
# @return [Integer]
|
14976
|
+
#
|
14977
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ModelClientConfig AWS API Documentation
|
14978
|
+
#
|
14979
|
+
class ModelClientConfig < Struct.new(
|
14980
|
+
:invocations_timeout_in_seconds,
|
14981
|
+
:invocations_max_retries)
|
14982
|
+
SENSITIVE = []
|
14983
|
+
include Aws::Structure
|
14984
|
+
end
|
14985
|
+
|
14910
14986
|
# Describes the Docker container for the model package.
|
14911
14987
|
#
|
14912
14988
|
# @note When making an API call, you may pass ModelPackageContainerDefinition
|
@@ -17855,8 +17931,7 @@ module Aws::SageMaker
|
|
17855
17931
|
#
|
17856
17932
|
# * A list of `Filter` objects. Each filter defines a simple Boolean
|
17857
17933
|
# expression comprised of a resource property name, Boolean operator,
|
17858
|
-
# and value.
|
17859
|
-
# operator.
|
17934
|
+
# and value.
|
17860
17935
|
#
|
17861
17936
|
# * A list of `NestedFilter` objects. Each nested filter defines a list
|
17862
17937
|
# of Boolean expressions using a list of resource properties. A nested
|
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.62.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: 2020-06-
|
11
|
+
date: 2020-06-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|