aws-sdk-deadline 1.15.0 → 1.17.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-deadline/client.rb +35 -1
- data/lib/aws-sdk-deadline/client_api.rb +16 -0
- data/lib/aws-sdk-deadline/endpoint_parameters.rb +9 -6
- data/lib/aws-sdk-deadline/endpoints.rb +2 -1131
- data/lib/aws-sdk-deadline/plugins/endpoints.rb +1 -212
- data/lib/aws-sdk-deadline/types.rb +63 -2
- data/lib/aws-sdk-deadline.rb +1 -1
- data/sig/client.rbs +24 -0
- data/sig/types.rbs +13 -0
- 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: c81fc1ffe90041f29e229488773c858f5e0c5cfbb42e46150c433cc5f50277f7
|
4
|
+
data.tar.gz: b99bfa1751ad38e26a674e060f855c3560557201d90801722abf3801e62358b0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4c398e4750550a1408b58c1e6c3c1b51afcef97da5dbe944f04d2634e2ec3f01fef04af3c1484682feb629aa4c50de018915bb6f85d6d10b6bc0ef92d1aca86d
|
7
|
+
data.tar.gz: a57283c5e17e98d557036a691f77a4c6e3144f99b6766719c715d68b6206af77475e33c72694df6f3884f3fc17a8caee66816982419c54ebab9a2422519c67e8
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.17.0 (2024-11-14)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Adds support for select GPU accelerated instance types when creating new service-managed fleets.
|
8
|
+
|
9
|
+
1.16.0 (2024-10-18)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.15.0 (2024-10-07)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.17.0
|
@@ -1225,6 +1225,18 @@ module Aws::Deadline
|
|
1225
1225
|
# iops: 1,
|
1226
1226
|
# throughput_mi_b: 1,
|
1227
1227
|
# },
|
1228
|
+
# accelerator_capabilities: {
|
1229
|
+
# selections: [ # required
|
1230
|
+
# {
|
1231
|
+
# name: "t4", # required, accepts t4, a10g, l4, l40s
|
1232
|
+
# runtime: "AcceleratorRuntime",
|
1233
|
+
# },
|
1234
|
+
# ],
|
1235
|
+
# count: {
|
1236
|
+
# min: 1, # required
|
1237
|
+
# max: 1,
|
1238
|
+
# },
|
1239
|
+
# },
|
1228
1240
|
# allowed_instance_types: ["InstanceType"],
|
1229
1241
|
# excluded_instance_types: ["InstanceType"],
|
1230
1242
|
# custom_amounts: [
|
@@ -2392,6 +2404,11 @@ module Aws::Deadline
|
|
2392
2404
|
# resp.configuration.service_managed_ec2.instance_capabilities.root_ebs_volume.size_gi_b #=> Integer
|
2393
2405
|
# resp.configuration.service_managed_ec2.instance_capabilities.root_ebs_volume.iops #=> Integer
|
2394
2406
|
# resp.configuration.service_managed_ec2.instance_capabilities.root_ebs_volume.throughput_mi_b #=> Integer
|
2407
|
+
# resp.configuration.service_managed_ec2.instance_capabilities.accelerator_capabilities.selections #=> Array
|
2408
|
+
# resp.configuration.service_managed_ec2.instance_capabilities.accelerator_capabilities.selections[0].name #=> String, one of "t4", "a10g", "l4", "l40s"
|
2409
|
+
# resp.configuration.service_managed_ec2.instance_capabilities.accelerator_capabilities.selections[0].runtime #=> String
|
2410
|
+
# resp.configuration.service_managed_ec2.instance_capabilities.accelerator_capabilities.count.min #=> Integer
|
2411
|
+
# resp.configuration.service_managed_ec2.instance_capabilities.accelerator_capabilities.count.max #=> Integer
|
2395
2412
|
# resp.configuration.service_managed_ec2.instance_capabilities.allowed_instance_types #=> Array
|
2396
2413
|
# resp.configuration.service_managed_ec2.instance_capabilities.allowed_instance_types[0] #=> String
|
2397
2414
|
# resp.configuration.service_managed_ec2.instance_capabilities.excluded_instance_types #=> Array
|
@@ -3677,6 +3694,11 @@ module Aws::Deadline
|
|
3677
3694
|
# resp.fleets[0].configuration.service_managed_ec2.instance_capabilities.root_ebs_volume.size_gi_b #=> Integer
|
3678
3695
|
# resp.fleets[0].configuration.service_managed_ec2.instance_capabilities.root_ebs_volume.iops #=> Integer
|
3679
3696
|
# resp.fleets[0].configuration.service_managed_ec2.instance_capabilities.root_ebs_volume.throughput_mi_b #=> Integer
|
3697
|
+
# resp.fleets[0].configuration.service_managed_ec2.instance_capabilities.accelerator_capabilities.selections #=> Array
|
3698
|
+
# resp.fleets[0].configuration.service_managed_ec2.instance_capabilities.accelerator_capabilities.selections[0].name #=> String, one of "t4", "a10g", "l4", "l40s"
|
3699
|
+
# resp.fleets[0].configuration.service_managed_ec2.instance_capabilities.accelerator_capabilities.selections[0].runtime #=> String
|
3700
|
+
# resp.fleets[0].configuration.service_managed_ec2.instance_capabilities.accelerator_capabilities.count.min #=> Integer
|
3701
|
+
# resp.fleets[0].configuration.service_managed_ec2.instance_capabilities.accelerator_capabilities.count.max #=> Integer
|
3680
3702
|
# resp.fleets[0].configuration.service_managed_ec2.instance_capabilities.allowed_instance_types #=> Array
|
3681
3703
|
# resp.fleets[0].configuration.service_managed_ec2.instance_capabilities.allowed_instance_types[0] #=> String
|
3682
3704
|
# resp.fleets[0].configuration.service_managed_ec2.instance_capabilities.excluded_instance_types #=> Array
|
@@ -5716,6 +5738,18 @@ module Aws::Deadline
|
|
5716
5738
|
# iops: 1,
|
5717
5739
|
# throughput_mi_b: 1,
|
5718
5740
|
# },
|
5741
|
+
# accelerator_capabilities: {
|
5742
|
+
# selections: [ # required
|
5743
|
+
# {
|
5744
|
+
# name: "t4", # required, accepts t4, a10g, l4, l40s
|
5745
|
+
# runtime: "AcceleratorRuntime",
|
5746
|
+
# },
|
5747
|
+
# ],
|
5748
|
+
# count: {
|
5749
|
+
# min: 1, # required
|
5750
|
+
# max: 1,
|
5751
|
+
# },
|
5752
|
+
# },
|
5719
5753
|
# allowed_instance_types: ["InstanceType"],
|
5720
5754
|
# excluded_instance_types: ["InstanceType"],
|
5721
5755
|
# custom_amounts: [
|
@@ -6412,7 +6446,7 @@ module Aws::Deadline
|
|
6412
6446
|
tracer: tracer
|
6413
6447
|
)
|
6414
6448
|
context[:gem_name] = 'aws-sdk-deadline'
|
6415
|
-
context[:gem_version] = '1.
|
6449
|
+
context[:gem_version] = '1.17.0'
|
6416
6450
|
Seahorse::Client::Request.new(handlers, context)
|
6417
6451
|
end
|
6418
6452
|
|
@@ -14,7 +14,12 @@ module Aws::Deadline
|
|
14
14
|
|
15
15
|
include Seahorse::Model
|
16
16
|
|
17
|
+
AcceleratorCapabilities = Shapes::StructureShape.new(name: 'AcceleratorCapabilities')
|
17
18
|
AcceleratorCountRange = Shapes::StructureShape.new(name: 'AcceleratorCountRange')
|
19
|
+
AcceleratorName = Shapes::StringShape.new(name: 'AcceleratorName')
|
20
|
+
AcceleratorRuntime = Shapes::StringShape.new(name: 'AcceleratorRuntime')
|
21
|
+
AcceleratorSelection = Shapes::StructureShape.new(name: 'AcceleratorSelection')
|
22
|
+
AcceleratorSelections = Shapes::ListShape.new(name: 'AcceleratorSelections')
|
18
23
|
AcceleratorTotalMemoryMiBRange = Shapes::StructureShape.new(name: 'AcceleratorTotalMemoryMiBRange')
|
19
24
|
AcceleratorType = Shapes::StringShape.new(name: 'AcceleratorType')
|
20
25
|
AcceleratorTypes = Shapes::ListShape.new(name: 'AcceleratorTypes')
|
@@ -610,10 +615,20 @@ module Aws::Deadline
|
|
610
615
|
WorkerSummaries = Shapes::ListShape.new(name: 'WorkerSummaries')
|
611
616
|
WorkerSummary = Shapes::StructureShape.new(name: 'WorkerSummary')
|
612
617
|
|
618
|
+
AcceleratorCapabilities.add_member(:selections, Shapes::ShapeRef.new(shape: AcceleratorSelections, required: true, location_name: "selections"))
|
619
|
+
AcceleratorCapabilities.add_member(:count, Shapes::ShapeRef.new(shape: AcceleratorCountRange, location_name: "count"))
|
620
|
+
AcceleratorCapabilities.struct_class = Types::AcceleratorCapabilities
|
621
|
+
|
613
622
|
AcceleratorCountRange.add_member(:min, Shapes::ShapeRef.new(shape: MinZeroMaxInteger, required: true, location_name: "min"))
|
614
623
|
AcceleratorCountRange.add_member(:max, Shapes::ShapeRef.new(shape: MinZeroMaxInteger, location_name: "max"))
|
615
624
|
AcceleratorCountRange.struct_class = Types::AcceleratorCountRange
|
616
625
|
|
626
|
+
AcceleratorSelection.add_member(:name, Shapes::ShapeRef.new(shape: AcceleratorName, required: true, location_name: "name"))
|
627
|
+
AcceleratorSelection.add_member(:runtime, Shapes::ShapeRef.new(shape: AcceleratorRuntime, location_name: "runtime"))
|
628
|
+
AcceleratorSelection.struct_class = Types::AcceleratorSelection
|
629
|
+
|
630
|
+
AcceleratorSelections.member = Shapes::ShapeRef.new(shape: AcceleratorSelection)
|
631
|
+
|
617
632
|
AcceleratorTotalMemoryMiBRange.add_member(:min, Shapes::ShapeRef.new(shape: MinZeroMaxInteger, required: true, location_name: "min"))
|
618
633
|
AcceleratorTotalMemoryMiBRange.add_member(:max, Shapes::ShapeRef.new(shape: MinZeroMaxInteger, location_name: "max"))
|
619
634
|
AcceleratorTotalMemoryMiBRange.struct_class = Types::AcceleratorTotalMemoryMiBRange
|
@@ -2224,6 +2239,7 @@ module Aws::Deadline
|
|
2224
2239
|
ServiceManagedEc2InstanceCapabilities.add_member(:os_family, Shapes::ShapeRef.new(shape: ServiceManagedFleetOperatingSystemFamily, required: true, location_name: "osFamily"))
|
2225
2240
|
ServiceManagedEc2InstanceCapabilities.add_member(:cpu_architecture_type, Shapes::ShapeRef.new(shape: CpuArchitectureType, required: true, location_name: "cpuArchitectureType"))
|
2226
2241
|
ServiceManagedEc2InstanceCapabilities.add_member(:root_ebs_volume, Shapes::ShapeRef.new(shape: Ec2EbsVolume, location_name: "rootEbsVolume"))
|
2242
|
+
ServiceManagedEc2InstanceCapabilities.add_member(:accelerator_capabilities, Shapes::ShapeRef.new(shape: AcceleratorCapabilities, location_name: "acceleratorCapabilities"))
|
2227
2243
|
ServiceManagedEc2InstanceCapabilities.add_member(:allowed_instance_types, Shapes::ShapeRef.new(shape: InstanceTypes, location_name: "allowedInstanceTypes"))
|
2228
2244
|
ServiceManagedEc2InstanceCapabilities.add_member(:excluded_instance_types, Shapes::ShapeRef.new(shape: InstanceTypes, location_name: "excludedInstanceTypes"))
|
2229
2245
|
ServiceManagedEc2InstanceCapabilities.add_member(:custom_amounts, Shapes::ShapeRef.new(shape: CustomFleetAmountCapabilities, location_name: "customAmounts"))
|
@@ -52,15 +52,18 @@ module Aws::Deadline
|
|
52
52
|
self[:region] = options[:region]
|
53
53
|
self[:use_dual_stack] = options[:use_dual_stack]
|
54
54
|
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
55
|
-
if self[:use_dual_stack].nil?
|
56
|
-
raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
|
57
|
-
end
|
58
55
|
self[:use_fips] = options[:use_fips]
|
59
56
|
self[:use_fips] = false if self[:use_fips].nil?
|
60
|
-
if self[:use_fips].nil?
|
61
|
-
raise ArgumentError, "Missing required EndpointParameter: :use_fips"
|
62
|
-
end
|
63
57
|
self[:endpoint] = options[:endpoint]
|
64
58
|
end
|
59
|
+
|
60
|
+
def self.create(config, options={})
|
61
|
+
new({
|
62
|
+
region: config.region,
|
63
|
+
use_dual_stack: config.use_dualstack_endpoint,
|
64
|
+
use_fips: config.use_fips_endpoint,
|
65
|
+
endpoint: (config.endpoint.to_s unless config.regional_endpoint),
|
66
|
+
}.merge(options))
|
67
|
+
end
|
65
68
|
end
|
66
69
|
end
|