aws-sdk-sagemaker 1.284.0 → 1.286.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-sagemaker/client.rb +19 -6
- data/lib/aws-sdk-sagemaker/endpoint_provider.rb +15 -19
- data/lib/aws-sdk-sagemaker/types.rb +51 -30
- 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: 870759f066e6173debb6c1803fe12fbdd988934ee1dcd367670fa1985768fd0a
|
4
|
+
data.tar.gz: 4a912fa7996513a70fe2378312a1d32bb0575c7529dea0230e5f217f94ed7e30
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8b306577b83a34d784c89ae17b5a227c19e4612c4a268ca49a5d7488ba5625211d8d802b5a5f540d9e40ffb8e12c9180cbac9e5d493984825e7e5dc78cfc92b5
|
7
|
+
data.tar.gz: c1b76cfc07f151a3c3b213f8b2fb71ee266fe0e3986c5f86f4ad38dfca73bfd756d1770bfe40e640815ec0608510302c533c79e3d42a347cf86f4da47964eba2
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.286.0 (2025-02-06)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.285.0 (2025-02-04)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - IPv6 support for Hyperpod clusters
|
13
|
+
|
4
14
|
1.284.0 (2025-01-31)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.286.0
|
@@ -1960,15 +1960,28 @@ module Aws::SageMaker
|
|
1960
1960
|
# The instance groups to be created in the SageMaker HyperPod cluster.
|
1961
1961
|
#
|
1962
1962
|
# @option params [Types::VpcConfig] :vpc_config
|
1963
|
-
# Specifies
|
1964
|
-
#
|
1965
|
-
#
|
1966
|
-
#
|
1967
|
-
#
|
1963
|
+
# Specifies the Amazon Virtual Private Cloud (VPC) that is associated
|
1964
|
+
# with the Amazon SageMaker HyperPod cluster. You can control access to
|
1965
|
+
# and from your resources by configuring your VPC. For more information,
|
1966
|
+
# see [Give SageMaker access to resources in your Amazon VPC][1].
|
1967
|
+
#
|
1968
|
+
# <note markdown="1"> If you configure your VPC with IPv6 support and specify subnets with
|
1969
|
+
# IPv6 addressing enabled in your VPC configuration, the cluster
|
1970
|
+
# automatically uses IPv6 addressing for network communication.
|
1971
|
+
#
|
1972
|
+
# For information about adding IPv6 support for your VPC, see [IPv6
|
1973
|
+
# support for your VPC][2].
|
1974
|
+
#
|
1975
|
+
# For information about creating a new VPC for use with IPv6, see
|
1976
|
+
# [Create a VPC][3].
|
1977
|
+
#
|
1978
|
+
# </note>
|
1968
1979
|
#
|
1969
1980
|
#
|
1970
1981
|
#
|
1971
1982
|
# [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/infrastructure-give-access.html
|
1983
|
+
# [2]: https://docs.aws.amazon.com/vpc/latest/userguide/vpc-migrate-ipv6.html
|
1984
|
+
# [3]: https://docs.aws.amazon.com/vpc/latest/userguide/create-vpc.html
|
1972
1985
|
#
|
1973
1986
|
# @option params [Array<Types::Tag>] :tags
|
1974
1987
|
# Custom tags for managing the SageMaker HyperPod cluster as an Amazon
|
@@ -29469,7 +29482,7 @@ module Aws::SageMaker
|
|
29469
29482
|
tracer: tracer
|
29470
29483
|
)
|
29471
29484
|
context[:gem_name] = 'aws-sdk-sagemaker'
|
29472
|
-
context[:gem_version] = '1.
|
29485
|
+
context[:gem_version] = '1.286.0'
|
29473
29486
|
Seahorse::Client::Request.new(handlers, context)
|
29474
29487
|
end
|
29475
29488
|
|
@@ -10,46 +10,42 @@
|
|
10
10
|
module Aws::SageMaker
|
11
11
|
class EndpointProvider
|
12
12
|
def resolve_endpoint(parameters)
|
13
|
-
|
14
|
-
|
15
|
-
use_fips = parameters.use_fips
|
16
|
-
endpoint = parameters.endpoint
|
17
|
-
if Aws::Endpoints::Matchers.set?(endpoint)
|
18
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
13
|
+
if Aws::Endpoints::Matchers.set?(parameters.endpoint)
|
14
|
+
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
|
19
15
|
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
20
16
|
end
|
21
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
17
|
+
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
|
22
18
|
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
23
19
|
end
|
24
|
-
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
20
|
+
return Aws::Endpoints::Endpoint.new(url: parameters.endpoint, headers: {}, properties: {})
|
25
21
|
end
|
26
|
-
if Aws::Endpoints::Matchers.set?(region)
|
27
|
-
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
28
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
22
|
+
if Aws::Endpoints::Matchers.set?(parameters.region)
|
23
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(parameters.region))
|
24
|
+
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
|
29
25
|
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
30
|
-
return Aws::Endpoints::Endpoint.new(url: "https://api.sagemaker-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
26
|
+
return Aws::Endpoints::Endpoint.new(url: "https://api.sagemaker-fips.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
31
27
|
end
|
32
28
|
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
29
|
end
|
34
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
30
|
+
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
|
35
31
|
if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
|
36
32
|
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws")
|
37
|
-
return Aws::Endpoints::Endpoint.new(url: "https://api-fips.sagemaker.#{region}.amazonaws.com", headers: {}, properties: {})
|
33
|
+
return Aws::Endpoints::Endpoint.new(url: "https://api-fips.sagemaker.#{parameters.region}.amazonaws.com", headers: {}, properties: {})
|
38
34
|
end
|
39
35
|
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-us-gov")
|
40
|
-
return Aws::Endpoints::Endpoint.new(url: "https://api.sagemaker.#{region}.amazonaws.com", headers: {}, properties: {})
|
36
|
+
return Aws::Endpoints::Endpoint.new(url: "https://api.sagemaker.#{parameters.region}.amazonaws.com", headers: {}, properties: {})
|
41
37
|
end
|
42
|
-
return Aws::Endpoints::Endpoint.new(url: "https://api.sagemaker-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
38
|
+
return Aws::Endpoints::Endpoint.new(url: "https://api.sagemaker-fips.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
43
39
|
end
|
44
40
|
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
45
41
|
end
|
46
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
42
|
+
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
|
47
43
|
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
48
|
-
return Aws::Endpoints::Endpoint.new(url: "https://api.sagemaker.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
44
|
+
return Aws::Endpoints::Endpoint.new(url: "https://api.sagemaker.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
49
45
|
end
|
50
46
|
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
51
47
|
end
|
52
|
-
return Aws::Endpoints::Endpoint.new(url: "https://api.sagemaker.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
48
|
+
return Aws::Endpoints::Endpoint.new(url: "https://api.sagemaker.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
53
49
|
end
|
54
50
|
end
|
55
51
|
raise ArgumentError, "Invalid Configuration: Missing Region"
|
@@ -4282,15 +4282,9 @@ module Aws::SageMaker
|
|
4282
4282
|
# @return [String]
|
4283
4283
|
#
|
4284
4284
|
# @!attribute [rw] override_vpc_config
|
4285
|
-
#
|
4286
|
-
#
|
4287
|
-
#
|
4288
|
-
# more information, see [Give SageMaker Access to Resources in your
|
4289
|
-
# Amazon VPC][1].
|
4290
|
-
#
|
4291
|
-
#
|
4292
|
-
#
|
4293
|
-
# [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/infrastructure-give-access.html
|
4285
|
+
# The customized VPC configuration at the instance group level that
|
4286
|
+
# overrides the default VPC configuration of the SageMaker HyperPod
|
4287
|
+
# cluster.
|
4294
4288
|
# @return [Types::VpcConfig]
|
4295
4289
|
#
|
4296
4290
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ClusterInstanceGroupDetails AWS API Documentation
|
@@ -4370,15 +4364,32 @@ module Aws::SageMaker
|
|
4370
4364
|
# @return [String]
|
4371
4365
|
#
|
4372
4366
|
# @!attribute [rw] override_vpc_config
|
4373
|
-
#
|
4374
|
-
#
|
4375
|
-
#
|
4376
|
-
#
|
4377
|
-
#
|
4367
|
+
# To configure multi-AZ deployments, customize the VPC configuration
|
4368
|
+
# at the instance group level. You can specify different subnets and
|
4369
|
+
# security groups across different AZs in the instance group
|
4370
|
+
# specification to override a SageMaker HyperPod cluster's default
|
4371
|
+
# VPC configuration. For more information about deploying a cluster in
|
4372
|
+
# multiple AZs, see [Setting up SageMaker HyperPod clusters across
|
4373
|
+
# multiple AZs][1].
|
4374
|
+
#
|
4375
|
+
# <note markdown="1"> If you configure your VPC with IPv6 support and specify subnets with
|
4376
|
+
# IPv6 addressing enabled in your instance group VPC configuration,
|
4377
|
+
# the nodes automatically use IPv6 addressing for network
|
4378
|
+
# communication.
|
4378
4379
|
#
|
4380
|
+
# For information about adding IPv6 support for your VPC, see [IPv6
|
4381
|
+
# support for your VPC][2].
|
4379
4382
|
#
|
4383
|
+
# For information about creating a new VPC for use with IPv6, see
|
4384
|
+
# [Create a VPC][3].
|
4380
4385
|
#
|
4381
|
-
#
|
4386
|
+
# </note>
|
4387
|
+
#
|
4388
|
+
#
|
4389
|
+
#
|
4390
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-hyperpod-prerequisites.html#sagemaker-hyperpod-prerequisites-multiple-availability-zones
|
4391
|
+
# [2]: https://docs.aws.amazon.com/vpc/latest/userguide/vpc-migrate-ipv6.html
|
4392
|
+
# [3]: https://docs.aws.amazon.com/vpc/latest/userguide/create-vpc.html
|
4382
4393
|
# @return [Types::VpcConfig]
|
4383
4394
|
#
|
4384
4395
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ClusterInstanceGroupSpecification AWS API Documentation
|
@@ -4531,15 +4542,9 @@ module Aws::SageMaker
|
|
4531
4542
|
# @return [Types::ClusterLifeCycleConfig]
|
4532
4543
|
#
|
4533
4544
|
# @!attribute [rw] override_vpc_config
|
4534
|
-
#
|
4535
|
-
#
|
4536
|
-
#
|
4537
|
-
# more information, see [Give SageMaker Access to Resources in your
|
4538
|
-
# Amazon VPC][1].
|
4539
|
-
#
|
4540
|
-
#
|
4541
|
-
#
|
4542
|
-
# [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/infrastructure-give-access.html
|
4545
|
+
# The customized VPC configuration at the instance group level that
|
4546
|
+
# overrides the default VPC configuration of the SageMaker HyperPod
|
4547
|
+
# cluster.
|
4543
4548
|
# @return [Types::VpcConfig]
|
4544
4549
|
#
|
4545
4550
|
# @!attribute [rw] threads_per_core
|
@@ -4559,7 +4564,9 @@ module Aws::SageMaker
|
|
4559
4564
|
#
|
4560
4565
|
# @!attribute [rw] private_primary_ipv_6
|
4561
4566
|
# The private primary IPv6 address of the SageMaker HyperPod cluster
|
4562
|
-
# node
|
4567
|
+
# node when configured with an Amazon VPC that supports IPv6 and
|
4568
|
+
# includes subnets with IPv6 addressing enabled in either the cluster
|
4569
|
+
# VPC configuration or the instance group VPC configuration.
|
4563
4570
|
# @return [String]
|
4564
4571
|
#
|
4565
4572
|
# @!attribute [rw] private_dns_hostname
|
@@ -6155,15 +6162,29 @@ module Aws::SageMaker
|
|
6155
6162
|
# @return [Array<Types::ClusterInstanceGroupSpecification>]
|
6156
6163
|
#
|
6157
6164
|
# @!attribute [rw] vpc_config
|
6158
|
-
# Specifies
|
6159
|
-
#
|
6160
|
-
#
|
6161
|
-
#
|
6162
|
-
#
|
6165
|
+
# Specifies the Amazon Virtual Private Cloud (VPC) that is associated
|
6166
|
+
# with the Amazon SageMaker HyperPod cluster. You can control access
|
6167
|
+
# to and from your resources by configuring your VPC. For more
|
6168
|
+
# information, see [Give SageMaker access to resources in your Amazon
|
6169
|
+
# VPC][1].
|
6170
|
+
#
|
6171
|
+
# <note markdown="1"> If you configure your VPC with IPv6 support and specify subnets with
|
6172
|
+
# IPv6 addressing enabled in your VPC configuration, the cluster
|
6173
|
+
# automatically uses IPv6 addressing for network communication.
|
6174
|
+
#
|
6175
|
+
# For information about adding IPv6 support for your VPC, see [IPv6
|
6176
|
+
# support for your VPC][2].
|
6177
|
+
#
|
6178
|
+
# For information about creating a new VPC for use with IPv6, see
|
6179
|
+
# [Create a VPC][3].
|
6180
|
+
#
|
6181
|
+
# </note>
|
6163
6182
|
#
|
6164
6183
|
#
|
6165
6184
|
#
|
6166
6185
|
# [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/infrastructure-give-access.html
|
6186
|
+
# [2]: https://docs.aws.amazon.com/vpc/latest/userguide/vpc-migrate-ipv6.html
|
6187
|
+
# [3]: https://docs.aws.amazon.com/vpc/latest/userguide/create-vpc.html
|
6167
6188
|
# @return [Types::VpcConfig]
|
6168
6189
|
#
|
6169
6190
|
# @!attribute [rw] tags
|
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.286.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: 2025-
|
11
|
+
date: 2025-02-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|