aws-sdk-sagemaker 1.220.0 → 1.222.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 +9 -1
- data/lib/aws-sdk-sagemaker/client_api.rb +6 -0
- data/lib/aws-sdk-sagemaker/plugins/endpoints.rb +3 -2
- data/lib/aws-sdk-sagemaker/types.rb +41 -4
- data/lib/aws-sdk-sagemaker.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 53450c58039e0548ff334fb583654554f346245baf5617b176692e12c486c6ee
|
4
|
+
data.tar.gz: 8b2a90eae0866dc047c1a2a075e989552490e6ddaa593fdc7ef4054c92d98d31
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b7f9ea81cc5916a44e05de38441a55e8b70eb061d00e8d915df2a23b9a340a722624628bb559da6f17a9381db722d36895f6a6154401ed318450e3b71af3cc60
|
7
|
+
data.tar.gz: 70f30379835d1467b5507254d9edcdf47b492b7fb5065e184187c669c83136c09d273069fd4956bf7fc7cad8587145016fd9be8295afcd52f39fee0ae017ffbf
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.222.0 (2023-11-28)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.221.0 (2023-11-22)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This feature adds the end user license agreement status as a model access configuration parameter.
|
13
|
+
|
4
14
|
1.220.0 (2023-11-16)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.222.0
|
@@ -5063,6 +5063,9 @@ module Aws::SageMaker
|
|
5063
5063
|
# s3_uri: "S3ModelUri", # required
|
5064
5064
|
# s3_data_type: "S3Prefix", # required, accepts S3Prefix, S3Object
|
5065
5065
|
# compression_type: "None", # required, accepts None, Gzip
|
5066
|
+
# model_access_config: {
|
5067
|
+
# accept_eula: false, # required
|
5068
|
+
# },
|
5066
5069
|
# },
|
5067
5070
|
# },
|
5068
5071
|
# },
|
@@ -5091,6 +5094,9 @@ module Aws::SageMaker
|
|
5091
5094
|
# s3_uri: "S3ModelUri", # required
|
5092
5095
|
# s3_data_type: "S3Prefix", # required, accepts S3Prefix, S3Object
|
5093
5096
|
# compression_type: "None", # required, accepts None, Gzip
|
5097
|
+
# model_access_config: {
|
5098
|
+
# accept_eula: false, # required
|
5099
|
+
# },
|
5094
5100
|
# },
|
5095
5101
|
# },
|
5096
5102
|
# },
|
@@ -12744,6 +12750,7 @@ module Aws::SageMaker
|
|
12744
12750
|
# resp.primary_container.model_data_source.s3_data_source.s3_uri #=> String
|
12745
12751
|
# resp.primary_container.model_data_source.s3_data_source.s3_data_type #=> String, one of "S3Prefix", "S3Object"
|
12746
12752
|
# resp.primary_container.model_data_source.s3_data_source.compression_type #=> String, one of "None", "Gzip"
|
12753
|
+
# resp.primary_container.model_data_source.s3_data_source.model_access_config.accept_eula #=> Boolean
|
12747
12754
|
# resp.containers #=> Array
|
12748
12755
|
# resp.containers[0].container_hostname #=> String
|
12749
12756
|
# resp.containers[0].image #=> String
|
@@ -12759,6 +12766,7 @@ module Aws::SageMaker
|
|
12759
12766
|
# resp.containers[0].model_data_source.s3_data_source.s3_uri #=> String
|
12760
12767
|
# resp.containers[0].model_data_source.s3_data_source.s3_data_type #=> String, one of "S3Prefix", "S3Object"
|
12761
12768
|
# resp.containers[0].model_data_source.s3_data_source.compression_type #=> String, one of "None", "Gzip"
|
12769
|
+
# resp.containers[0].model_data_source.s3_data_source.model_access_config.accept_eula #=> Boolean
|
12762
12770
|
# resp.inference_execution_config.mode #=> String, one of "Serial", "Direct"
|
12763
12771
|
# resp.execution_role_arn #=> String
|
12764
12772
|
# resp.vpc_config.security_group_ids #=> Array
|
@@ -24305,7 +24313,7 @@ module Aws::SageMaker
|
|
24305
24313
|
params: params,
|
24306
24314
|
config: config)
|
24307
24315
|
context[:gem_name] = 'aws-sdk-sagemaker'
|
24308
|
-
context[:gem_version] = '1.
|
24316
|
+
context[:gem_version] = '1.222.0'
|
24309
24317
|
Seahorse::Client::Request.new(handlers, context)
|
24310
24318
|
end
|
24311
24319
|
|
@@ -14,6 +14,7 @@ module Aws::SageMaker
|
|
14
14
|
include Seahorse::Model
|
15
15
|
|
16
16
|
Accept = Shapes::StringShape.new(name: 'Accept')
|
17
|
+
AcceptEula = Shapes::BooleanShape.new(name: 'AcceptEula')
|
17
18
|
AccountId = Shapes::StringShape.new(name: 'AccountId')
|
18
19
|
ActionArn = Shapes::StringShape.new(name: 'ActionArn')
|
19
20
|
ActionSource = Shapes::StructureShape.new(name: 'ActionSource')
|
@@ -1260,6 +1261,7 @@ module Aws::SageMaker
|
|
1260
1261
|
MetricsSource = Shapes::StructureShape.new(name: 'MetricsSource')
|
1261
1262
|
MinimumInstanceMetadataServiceVersion = Shapes::StringShape.new(name: 'MinimumInstanceMetadataServiceVersion')
|
1262
1263
|
Model = Shapes::StructureShape.new(name: 'Model')
|
1264
|
+
ModelAccessConfig = Shapes::StructureShape.new(name: 'ModelAccessConfig')
|
1263
1265
|
ModelApprovalStatus = Shapes::StringShape.new(name: 'ModelApprovalStatus')
|
1264
1266
|
ModelArn = Shapes::StringShape.new(name: 'ModelArn')
|
1265
1267
|
ModelArtifacts = Shapes::StructureShape.new(name: 'ModelArtifacts')
|
@@ -6927,6 +6929,9 @@ module Aws::SageMaker
|
|
6927
6929
|
Model.add_member(:deployment_recommendation, Shapes::ShapeRef.new(shape: DeploymentRecommendation, location_name: "DeploymentRecommendation"))
|
6928
6930
|
Model.struct_class = Types::Model
|
6929
6931
|
|
6932
|
+
ModelAccessConfig.add_member(:accept_eula, Shapes::ShapeRef.new(shape: AcceptEula, required: true, location_name: "AcceptEula"))
|
6933
|
+
ModelAccessConfig.struct_class = Types::ModelAccessConfig
|
6934
|
+
|
6930
6935
|
ModelArtifacts.add_member(:s3_model_artifacts, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "S3ModelArtifacts"))
|
6931
6936
|
ModelArtifacts.struct_class = Types::ModelArtifacts
|
6932
6937
|
|
@@ -8217,6 +8222,7 @@ module Aws::SageMaker
|
|
8217
8222
|
S3ModelDataSource.add_member(:s3_uri, Shapes::ShapeRef.new(shape: S3ModelUri, required: true, location_name: "S3Uri"))
|
8218
8223
|
S3ModelDataSource.add_member(:s3_data_type, Shapes::ShapeRef.new(shape: S3ModelDataType, required: true, location_name: "S3DataType"))
|
8219
8224
|
S3ModelDataSource.add_member(:compression_type, Shapes::ShapeRef.new(shape: ModelCompressionType, required: true, location_name: "CompressionType"))
|
8225
|
+
S3ModelDataSource.add_member(:model_access_config, Shapes::ShapeRef.new(shape: ModelAccessConfig, location_name: "ModelAccessConfig"))
|
8220
8226
|
S3ModelDataSource.struct_class = Types::S3ModelDataSource
|
8221
8227
|
|
8222
8228
|
S3StorageConfig.add_member(:s3_uri, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "S3Uri"))
|
@@ -25,16 +25,17 @@ module Aws::SageMaker
|
|
25
25
|
# @api private
|
26
26
|
class Handler < Seahorse::Client::Handler
|
27
27
|
def call(context)
|
28
|
-
# If endpoint was discovered, do not resolve or apply the endpoint.
|
29
28
|
unless context[:discovered_endpoint]
|
30
29
|
params = parameters_for_operation(context)
|
31
30
|
endpoint = context.config.endpoint_provider.resolve_endpoint(params)
|
32
31
|
|
33
32
|
context.http_request.endpoint = endpoint.url
|
34
33
|
apply_endpoint_headers(context, endpoint.headers)
|
34
|
+
|
35
|
+
context[:endpoint_params] = params
|
36
|
+
context[:endpoint_properties] = endpoint.properties
|
35
37
|
end
|
36
38
|
|
37
|
-
context[:endpoint_params] = params
|
38
39
|
context[:auth_scheme] =
|
39
40
|
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
|
40
41
|
|
@@ -11728,8 +11728,9 @@ module Aws::SageMaker
|
|
11728
11728
|
# @return [String]
|
11729
11729
|
#
|
11730
11730
|
# @!attribute [rw] single_sign_on_application_arn
|
11731
|
-
# The ARN of the
|
11732
|
-
#
|
11731
|
+
# The ARN of the application managed by SageMaker in IAM Identity
|
11732
|
+
# Center. This value is only returned for domains created after
|
11733
|
+
# September 19, 2023.
|
11733
11734
|
# @return [String]
|
11734
11735
|
#
|
11735
11736
|
# @!attribute [rw] status
|
@@ -28468,6 +28469,32 @@ module Aws::SageMaker
|
|
28468
28469
|
include Aws::Structure
|
28469
28470
|
end
|
28470
28471
|
|
28472
|
+
# The access configuration file for the ML model. You can explicitly
|
28473
|
+
# accept the model end-user license agreement (EULA) within the
|
28474
|
+
# `ModelAccessConfig`. For more information, see [End-user license
|
28475
|
+
# agreements][1].
|
28476
|
+
#
|
28477
|
+
#
|
28478
|
+
#
|
28479
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/jumpstart-foundation-models-choose.html#jumpstart-foundation-models-choose-eula
|
28480
|
+
#
|
28481
|
+
# @!attribute [rw] accept_eula
|
28482
|
+
# Specifies agreement to the model end-user license agreement (EULA).
|
28483
|
+
# The `AcceptEula` value must be explicitly defined as `True` in order
|
28484
|
+
# to accept the EULA that this model requires. You are responsible for
|
28485
|
+
# reviewing and complying with any applicable license terms and making
|
28486
|
+
# sure they are acceptable for your use case before downloading or
|
28487
|
+
# using a model.
|
28488
|
+
# @return [Boolean]
|
28489
|
+
#
|
28490
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ModelAccessConfig AWS API Documentation
|
28491
|
+
#
|
28492
|
+
class ModelAccessConfig < Struct.new(
|
28493
|
+
:accept_eula)
|
28494
|
+
SENSITIVE = []
|
28495
|
+
include Aws::Structure
|
28496
|
+
end
|
28497
|
+
|
28471
28498
|
# Provides information about the location that is configured for storing
|
28472
28499
|
# model artifacts.
|
28473
28500
|
#
|
@@ -35981,12 +36008,21 @@ module Aws::SageMaker
|
|
35981
36008
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-folders.html
|
35982
36009
|
# @return [String]
|
35983
36010
|
#
|
36011
|
+
# @!attribute [rw] model_access_config
|
36012
|
+
# Specifies the access configuration file for the ML model. You can
|
36013
|
+
# explicitly accept the model end-user license agreement (EULA) within
|
36014
|
+
# the `ModelAccessConfig`. You are responsible for reviewing and
|
36015
|
+
# complying with any applicable license terms and making sure they are
|
36016
|
+
# acceptable for your use case before downloading or using a model.
|
36017
|
+
# @return [Types::ModelAccessConfig]
|
36018
|
+
#
|
35984
36019
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/S3ModelDataSource AWS API Documentation
|
35985
36020
|
#
|
35986
36021
|
class S3ModelDataSource < Struct.new(
|
35987
36022
|
:s3_uri,
|
35988
36023
|
:s3_data_type,
|
35989
|
-
:compression_type
|
36024
|
+
:compression_type,
|
36025
|
+
:model_access_config)
|
35990
36026
|
SENSITIVE = []
|
35991
36027
|
include Aws::Structure
|
35992
36028
|
end
|
@@ -37488,7 +37524,8 @@ module Aws::SageMaker
|
|
37488
37524
|
# @return [Integer]
|
37489
37525
|
#
|
37490
37526
|
# @!attribute [rw] max_pending_time_in_seconds
|
37491
|
-
# The maximum
|
37527
|
+
# The maximum length of time, in seconds, that a training or
|
37528
|
+
# compilation job can be pending before it is stopped.
|
37492
37529
|
# @return [Integer]
|
37493
37530
|
#
|
37494
37531
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StoppingCondition AWS API Documentation
|
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.222.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-11-
|
11
|
+
date: 2023-11-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.188.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.188.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -81,7 +81,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
81
81
|
requirements:
|
82
82
|
- - ">="
|
83
83
|
- !ruby/object:Gem::Version
|
84
|
-
version: '2.
|
84
|
+
version: '2.5'
|
85
85
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - ">="
|