aws-sdk-sagemaker 1.82.0 → 1.83.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/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-sagemaker.rb +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/types.rb +68 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 82c63071b263ab1af77a26788462a4150eecf61a1e246bfe241db9e91de12c8d
|
|
4
|
+
data.tar.gz: ee697c1a6b90d50ac256205d76e2840736b1a610e96bc7fafd031c5cfb73f921
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9793a987f537d915af61f1bfbe4fed70ea6bea046fca07c498a7cf6b6cd0e40fb67d1969b1665a8234e017c610a893b834218c0fe2bcafdd125a8a8cc6a9e452
|
|
7
|
+
data.tar.gz: 0f5d841abeda0ceced421d24c5ca225c728754a85d5a37e6c3abe0aeeff3a0ff1df6de6e04b77fbb77b055ef5dd047f1acc7597c4b7c0b70811d5ba8712aa102
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.83.0 (2021-03-19)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Adding authentication support for pulling images stored in private Docker registries to build containers for real-time inference.
|
|
8
|
+
|
|
4
9
|
1.82.0 (2021-03-17)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.83.0
|
data/lib/aws-sdk-sagemaker.rb
CHANGED
|
@@ -3358,6 +3358,9 @@ module Aws::SageMaker
|
|
|
3358
3358
|
# image: "ContainerImage",
|
|
3359
3359
|
# image_config: {
|
|
3360
3360
|
# repository_access_mode: "Platform", # required, accepts Platform, Vpc
|
|
3361
|
+
# repository_auth_config: {
|
|
3362
|
+
# repository_credentials_provider_arn: "RepositoryCredentialsProviderArn", # required
|
|
3363
|
+
# },
|
|
3361
3364
|
# },
|
|
3362
3365
|
# mode: "SingleModel", # accepts SingleModel, MultiModel
|
|
3363
3366
|
# model_data_url: "Url",
|
|
@@ -3375,6 +3378,9 @@ module Aws::SageMaker
|
|
|
3375
3378
|
# image: "ContainerImage",
|
|
3376
3379
|
# image_config: {
|
|
3377
3380
|
# repository_access_mode: "Platform", # required, accepts Platform, Vpc
|
|
3381
|
+
# repository_auth_config: {
|
|
3382
|
+
# repository_credentials_provider_arn: "RepositoryCredentialsProviderArn", # required
|
|
3383
|
+
# },
|
|
3378
3384
|
# },
|
|
3379
3385
|
# mode: "SingleModel", # accepts SingleModel, MultiModel
|
|
3380
3386
|
# model_data_url: "Url",
|
|
@@ -8812,6 +8818,7 @@ module Aws::SageMaker
|
|
|
8812
8818
|
# resp.primary_container.container_hostname #=> String
|
|
8813
8819
|
# resp.primary_container.image #=> String
|
|
8814
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
|
|
8815
8822
|
# resp.primary_container.mode #=> String, one of "SingleModel", "MultiModel"
|
|
8816
8823
|
# resp.primary_container.model_data_url #=> String
|
|
8817
8824
|
# resp.primary_container.environment #=> Hash
|
|
@@ -8822,6 +8829,7 @@ module Aws::SageMaker
|
|
|
8822
8829
|
# resp.containers[0].container_hostname #=> String
|
|
8823
8830
|
# resp.containers[0].image #=> String
|
|
8824
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
|
|
8825
8833
|
# resp.containers[0].mode #=> String, one of "SingleModel", "MultiModel"
|
|
8826
8834
|
# resp.containers[0].model_data_url #=> String
|
|
8827
8835
|
# resp.containers[0].environment #=> Hash
|
|
@@ -17309,7 +17317,7 @@ module Aws::SageMaker
|
|
|
17309
17317
|
params: params,
|
|
17310
17318
|
config: config)
|
|
17311
17319
|
context[:gem_name] = 'aws-sdk-sagemaker'
|
|
17312
|
-
context[:gem_version] = '1.
|
|
17320
|
+
context[:gem_version] = '1.83.0'
|
|
17313
17321
|
Seahorse::Client::Request.new(handlers, context)
|
|
17314
17322
|
end
|
|
17315
17323
|
|
|
@@ -1130,6 +1130,8 @@ module Aws::SageMaker
|
|
|
1130
1130
|
RenderingError = Shapes::StructureShape.new(name: 'RenderingError')
|
|
1131
1131
|
RenderingErrorList = Shapes::ListShape.new(name: 'RenderingErrorList')
|
|
1132
1132
|
RepositoryAccessMode = Shapes::StringShape.new(name: 'RepositoryAccessMode')
|
|
1133
|
+
RepositoryAuthConfig = Shapes::StructureShape.new(name: 'RepositoryAuthConfig')
|
|
1134
|
+
RepositoryCredentialsProviderArn = Shapes::StringShape.new(name: 'RepositoryCredentialsProviderArn')
|
|
1133
1135
|
ResolvedAttributes = Shapes::StructureShape.new(name: 'ResolvedAttributes')
|
|
1134
1136
|
ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
|
|
1135
1137
|
ResourceConfig = Shapes::StructureShape.new(name: 'ResourceConfig')
|
|
@@ -3793,6 +3795,7 @@ module Aws::SageMaker
|
|
|
3793
3795
|
Image.struct_class = Types::Image
|
|
3794
3796
|
|
|
3795
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"))
|
|
3796
3799
|
ImageConfig.struct_class = Types::ImageConfig
|
|
3797
3800
|
|
|
3798
3801
|
ImageDeletePropertyList.member = Shapes::ShapeRef.new(shape: ImageDeleteProperty)
|
|
@@ -5413,6 +5416,9 @@ module Aws::SageMaker
|
|
|
5413
5416
|
|
|
5414
5417
|
RenderingErrorList.member = Shapes::ShapeRef.new(shape: RenderingError)
|
|
5415
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
|
+
|
|
5416
5422
|
ResolvedAttributes.add_member(:auto_ml_job_objective, Shapes::ShapeRef.new(shape: AutoMLJobObjective, location_name: "AutoMLJobObjective"))
|
|
5417
5423
|
ResolvedAttributes.add_member(:problem_type, Shapes::ShapeRef.new(shape: ProblemType, location_name: "ProblemType"))
|
|
5418
5424
|
ResolvedAttributes.add_member(:completion_criteria, Shapes::ShapeRef.new(shape: AutoMLJobCompletionCriteria, location_name: "CompletionCriteria"))
|
|
@@ -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",
|
|
@@ -6187,6 +6190,9 @@ module Aws::SageMaker
|
|
|
6187
6190
|
# image: "ContainerImage",
|
|
6188
6191
|
# image_config: {
|
|
6189
6192
|
# repository_access_mode: "Platform", # required, accepts Platform, Vpc
|
|
6193
|
+
# repository_auth_config: {
|
|
6194
|
+
# repository_credentials_provider_arn: "RepositoryCredentialsProviderArn", # required
|
|
6195
|
+
# },
|
|
6190
6196
|
# },
|
|
6191
6197
|
# mode: "SingleModel", # accepts SingleModel, MultiModel
|
|
6192
6198
|
# model_data_url: "Url",
|
|
@@ -6204,6 +6210,9 @@ module Aws::SageMaker
|
|
|
6204
6210
|
# image: "ContainerImage",
|
|
6205
6211
|
# image_config: {
|
|
6206
6212
|
# repository_access_mode: "Platform", # required, accepts Platform, Vpc
|
|
6213
|
+
# repository_auth_config: {
|
|
6214
|
+
# repository_credentials_provider_arn: "RepositoryCredentialsProviderArn", # required
|
|
6215
|
+
# },
|
|
6207
6216
|
# },
|
|
6208
6217
|
# mode: "SingleModel", # accepts SingleModel, MultiModel
|
|
6209
6218
|
# model_data_url: "Url",
|
|
@@ -18483,6 +18492,9 @@ module Aws::SageMaker
|
|
|
18483
18492
|
#
|
|
18484
18493
|
# {
|
|
18485
18494
|
# repository_access_mode: "Platform", # required, accepts Platform, Vpc
|
|
18495
|
+
# repository_auth_config: {
|
|
18496
|
+
# repository_credentials_provider_arn: "RepositoryCredentialsProviderArn", # required
|
|
18497
|
+
# },
|
|
18486
18498
|
# }
|
|
18487
18499
|
#
|
|
18488
18500
|
# @!attribute [rw] repository_access_mode
|
|
@@ -18494,10 +18506,19 @@ module Aws::SageMaker
|
|
|
18494
18506
|
# your VPC.
|
|
18495
18507
|
# @return [String]
|
|
18496
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
|
+
#
|
|
18497
18517
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ImageConfig AWS API Documentation
|
|
18498
18518
|
#
|
|
18499
18519
|
class ImageConfig < Struct.new(
|
|
18500
|
-
:repository_access_mode
|
|
18520
|
+
:repository_access_mode,
|
|
18521
|
+
:repository_auth_config)
|
|
18501
18522
|
SENSITIVE = []
|
|
18502
18523
|
include Aws::Structure
|
|
18503
18524
|
end
|
|
@@ -27137,6 +27158,18 @@ module Aws::SageMaker
|
|
|
27137
27158
|
# for NVIDIA accelerators and highly recommended for CPU compilations.
|
|
27138
27159
|
# For any other cases, it is optional to specify `CompilerOptions.`
|
|
27139
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
|
+
#
|
|
27140
27173
|
# * `CPU`\: Compilation for CPU supports the following compiler
|
|
27141
27174
|
# options.
|
|
27142
27175
|
#
|
|
@@ -29441,6 +29474,40 @@ module Aws::SageMaker
|
|
|
29441
29474
|
include Aws::Structure
|
|
29442
29475
|
end
|
|
29443
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
|
+
|
|
29444
29511
|
# The resolved attributes.
|
|
29445
29512
|
#
|
|
29446
29513
|
# @!attribute [rw] auto_ml_job_objective
|
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.83.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-03-
|
|
11
|
+
date: 2021-03-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-core
|
|
@@ -67,8 +67,8 @@ homepage: https://github.com/aws/aws-sdk-ruby
|
|
|
67
67
|
licenses:
|
|
68
68
|
- Apache-2.0
|
|
69
69
|
metadata:
|
|
70
|
-
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/
|
|
71
|
-
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/
|
|
70
|
+
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-sagemaker
|
|
71
|
+
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-sagemaker/CHANGELOG.md
|
|
72
72
|
post_install_message:
|
|
73
73
|
rdoc_options: []
|
|
74
74
|
require_paths:
|