aws-sdk-elasticinference 1.23.0 → 1.25.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-elasticinference/client.rb +55 -1
- data/lib/aws-sdk-elasticinference/endpoint_provider.rb +27 -24
- data/lib/aws-sdk-elasticinference.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: ab3441d001df5e13cf0585c499a10fc285514a2b14e90f4273d5ae450b75cac6
|
4
|
+
data.tar.gz: afd7002ecf8f9edf2f992346c1041239d739d515bad7ba51e1d31f028ee609f6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '08873738a0276b67ce507cd7bfe6066afacbaee6b8d84fa478c00e855ef262b97697bc26bf672338d859cdbc9d0afbe79c5384598b75fc2eeb9bbc5390a71ea7'
|
7
|
+
data.tar.gz: 30d233f4c5a56d2fa021e58e56648dd836d988120828d73e069fe1e21c07ec7f9d2ebaf0651241e11df4b727360494fb45266897efe2bc699a31aa98f7f49e23
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.25.0 (2023-04-04)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Updated public documentation for the Describe and Tagging APIs.
|
8
|
+
|
9
|
+
1.24.0 (2023-04-04)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Updated public documentation for the Describe and Tagging APIs.
|
13
|
+
|
4
14
|
1.23.0 (2023-01-18)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.25.0
|
@@ -371,6 +371,15 @@ module Aws::ElasticInference
|
|
371
371
|
# Describes the locations in which a given accelerator type or set of
|
372
372
|
# types is present in a given region.
|
373
373
|
#
|
374
|
+
# February 15, 2023: Starting April 15, 2023, AWS will not onboard new
|
375
|
+
# customers to Amazon Elastic Inference (EI), and will help current
|
376
|
+
# customers migrate their workloads to options that offer better price
|
377
|
+
# and performance. After April 15, 2023, new customers will not be able
|
378
|
+
# to launch instances with Amazon EI accelerators in Amazon SageMaker,
|
379
|
+
# Amazon ECS, or Amazon EC2. However, customers who have used Amazon EI
|
380
|
+
# at least once during the past 30-day period are considered current
|
381
|
+
# customers and will be able to continue using the service.
|
382
|
+
#
|
374
383
|
# @option params [required, String] :location_type
|
375
384
|
# The location type that you want to describe accelerator type offerings
|
376
385
|
# for. It can assume the following values: region: will return the
|
@@ -412,6 +421,15 @@ module Aws::ElasticInference
|
|
412
421
|
# Describes the accelerator types available in a given region, as well
|
413
422
|
# as their characteristics, such as memory and throughput.
|
414
423
|
#
|
424
|
+
# February 15, 2023: Starting April 15, 2023, AWS will not onboard new
|
425
|
+
# customers to Amazon Elastic Inference (EI), and will help current
|
426
|
+
# customers migrate their workloads to options that offer better price
|
427
|
+
# and performance. After April 15, 2023, new customers will not be able
|
428
|
+
# to launch instances with Amazon EI accelerators in Amazon SageMaker,
|
429
|
+
# Amazon ECS, or Amazon EC2. However, customers who have used Amazon EI
|
430
|
+
# at least once during the past 30-day period are considered current
|
431
|
+
# customers and will be able to continue using the service.
|
432
|
+
#
|
415
433
|
# @return [Types::DescribeAcceleratorTypesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
416
434
|
#
|
417
435
|
# * {Types::DescribeAcceleratorTypesResponse#accelerator_types #accelerator_types} => Array<Types::AcceleratorType>
|
@@ -437,6 +455,15 @@ module Aws::ElasticInference
|
|
437
455
|
# Describes information over a provided set of accelerators belonging to
|
438
456
|
# an account.
|
439
457
|
#
|
458
|
+
# February 15, 2023: Starting April 15, 2023, AWS will not onboard new
|
459
|
+
# customers to Amazon Elastic Inference (EI), and will help current
|
460
|
+
# customers migrate their workloads to options that offer better price
|
461
|
+
# and performance. After April 15, 2023, new customers will not be able
|
462
|
+
# to launch instances with Amazon EI accelerators in Amazon SageMaker,
|
463
|
+
# Amazon ECS, or Amazon EC2. However, customers who have used Amazon EI
|
464
|
+
# at least once during the past 30-day period are considered current
|
465
|
+
# customers and will be able to continue using the service.
|
466
|
+
#
|
440
467
|
# @option params [Array<String>] :accelerator_ids
|
441
468
|
# The IDs of the accelerators to describe.
|
442
469
|
#
|
@@ -500,6 +527,15 @@ module Aws::ElasticInference
|
|
500
527
|
|
501
528
|
# Returns all tags of an Elastic Inference Accelerator.
|
502
529
|
#
|
530
|
+
# February 15, 2023: Starting April 15, 2023, AWS will not onboard new
|
531
|
+
# customers to Amazon Elastic Inference (EI), and will help current
|
532
|
+
# customers migrate their workloads to options that offer better price
|
533
|
+
# and performance. After April 15, 2023, new customers will not be able
|
534
|
+
# to launch instances with Amazon EI accelerators in Amazon SageMaker,
|
535
|
+
# Amazon ECS, or Amazon EC2. However, customers who have used Amazon EI
|
536
|
+
# at least once during the past 30-day period are considered current
|
537
|
+
# customers and will be able to continue using the service.
|
538
|
+
#
|
503
539
|
# @option params [required, String] :resource_arn
|
504
540
|
# The ARN of the Elastic Inference Accelerator to list the tags for.
|
505
541
|
#
|
@@ -529,6 +565,15 @@ module Aws::ElasticInference
|
|
529
565
|
|
530
566
|
# Adds the specified tags to an Elastic Inference Accelerator.
|
531
567
|
#
|
568
|
+
# February 15, 2023: Starting April 15, 2023, AWS will not onboard new
|
569
|
+
# customers to Amazon Elastic Inference (EI), and will help current
|
570
|
+
# customers migrate their workloads to options that offer better price
|
571
|
+
# and performance. After April 15, 2023, new customers will not be able
|
572
|
+
# to launch instances with Amazon EI accelerators in Amazon SageMaker,
|
573
|
+
# Amazon ECS, or Amazon EC2. However, customers who have used Amazon EI
|
574
|
+
# at least once during the past 30-day period are considered current
|
575
|
+
# customers and will be able to continue using the service.
|
576
|
+
#
|
532
577
|
# @option params [required, String] :resource_arn
|
533
578
|
# The ARN of the Elastic Inference Accelerator to tag.
|
534
579
|
#
|
@@ -557,6 +602,15 @@ module Aws::ElasticInference
|
|
557
602
|
|
558
603
|
# Removes the specified tags from an Elastic Inference Accelerator.
|
559
604
|
#
|
605
|
+
# February 15, 2023: Starting April 15, 2023, AWS will not onboard new
|
606
|
+
# customers to Amazon Elastic Inference (EI), and will help current
|
607
|
+
# customers migrate their workloads to options that offer better price
|
608
|
+
# and performance. After April 15, 2023, new customers will not be able
|
609
|
+
# to launch instances with Amazon EI accelerators in Amazon SageMaker,
|
610
|
+
# Amazon ECS, or Amazon EC2. However, customers who have used Amazon EI
|
611
|
+
# at least once during the past 30-day period are considered current
|
612
|
+
# customers and will be able to continue using the service.
|
613
|
+
#
|
560
614
|
# @option params [required, String] :resource_arn
|
561
615
|
# The ARN of the Elastic Inference Accelerator to untag.
|
562
616
|
#
|
@@ -594,7 +648,7 @@ module Aws::ElasticInference
|
|
594
648
|
params: params,
|
595
649
|
config: config)
|
596
650
|
context[:gem_name] = 'aws-sdk-elasticinference'
|
597
|
-
context[:gem_version] = '1.
|
651
|
+
context[:gem_version] = '1.25.0'
|
598
652
|
Seahorse::Client::Request.new(handlers, context)
|
599
653
|
end
|
600
654
|
|
@@ -14,36 +14,39 @@ module Aws::ElasticInference
|
|
14
14
|
use_dual_stack = parameters.use_dual_stack
|
15
15
|
use_fips = parameters.use_fips
|
16
16
|
endpoint = parameters.endpoint
|
17
|
-
if
|
18
|
-
if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
|
19
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
20
|
-
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
21
|
-
end
|
22
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
23
|
-
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
24
|
-
end
|
25
|
-
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
26
|
-
end
|
27
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
28
|
-
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"))
|
29
|
-
return Aws::Endpoints::Endpoint.new(url: "https://api.elastic-inference-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
30
|
-
end
|
31
|
-
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
32
|
-
end
|
17
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
33
18
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
34
|
-
|
35
|
-
return Aws::Endpoints::Endpoint.new(url: "https://api.elastic-inference-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
36
|
-
end
|
37
|
-
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
19
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
38
20
|
end
|
39
21
|
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
40
|
-
|
41
|
-
|
22
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
23
|
+
end
|
24
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
25
|
+
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)
|
29
|
+
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.elastic-inference-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
31
|
+
end
|
32
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
|
+
end
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
36
|
+
return Aws::Endpoints::Endpoint.new(url: "https://api.elastic-inference-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
37
|
+
end
|
38
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
39
|
+
end
|
40
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
41
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
42
|
+
return Aws::Endpoints::Endpoint.new(url: "https://api.elastic-inference.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
43
|
+
end
|
44
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
42
45
|
end
|
43
|
-
|
46
|
+
return Aws::Endpoints::Endpoint.new(url: "https://api.elastic-inference.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
44
47
|
end
|
45
|
-
return Aws::Endpoints::Endpoint.new(url: "https://api.elastic-inference.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
46
48
|
end
|
49
|
+
raise ArgumentError, "Invalid Configuration: Missing Region"
|
47
50
|
raise ArgumentError, 'No endpoint could be resolved'
|
48
51
|
|
49
52
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-elasticinference
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.25.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
|
+
date: 2023-04-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|