aws-sdk-deadline 1.15.0 → 1.17.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -27,7 +27,7 @@ The endpoint provider used to resolve endpoints. Any object that responds to
27
27
  class Handler < Seahorse::Client::Handler
28
28
  def call(context)
29
29
  unless context[:discovered_endpoint]
30
- params = parameters_for_operation(context)
30
+ params = Aws::Deadline::Endpoints.parameters_for_operation(context)
31
31
  endpoint = context.config.endpoint_provider.resolve_endpoint(params)
32
32
 
33
33
  context.http_request.endpoint = endpoint.url
@@ -67,217 +67,6 @@ The endpoint provider used to resolve endpoints. Any object that responds to
67
67
  context.http_request.headers[key] = value
68
68
  end
69
69
  end
70
-
71
- def parameters_for_operation(context)
72
- case context.operation_name
73
- when :associate_member_to_farm
74
- Aws::Deadline::Endpoints::AssociateMemberToFarm.build(context)
75
- when :associate_member_to_fleet
76
- Aws::Deadline::Endpoints::AssociateMemberToFleet.build(context)
77
- when :associate_member_to_job
78
- Aws::Deadline::Endpoints::AssociateMemberToJob.build(context)
79
- when :associate_member_to_queue
80
- Aws::Deadline::Endpoints::AssociateMemberToQueue.build(context)
81
- when :assume_fleet_role_for_read
82
- Aws::Deadline::Endpoints::AssumeFleetRoleForRead.build(context)
83
- when :assume_fleet_role_for_worker
84
- Aws::Deadline::Endpoints::AssumeFleetRoleForWorker.build(context)
85
- when :assume_queue_role_for_read
86
- Aws::Deadline::Endpoints::AssumeQueueRoleForRead.build(context)
87
- when :assume_queue_role_for_user
88
- Aws::Deadline::Endpoints::AssumeQueueRoleForUser.build(context)
89
- when :assume_queue_role_for_worker
90
- Aws::Deadline::Endpoints::AssumeQueueRoleForWorker.build(context)
91
- when :batch_get_job_entity
92
- Aws::Deadline::Endpoints::BatchGetJobEntity.build(context)
93
- when :copy_job_template
94
- Aws::Deadline::Endpoints::CopyJobTemplate.build(context)
95
- when :create_budget
96
- Aws::Deadline::Endpoints::CreateBudget.build(context)
97
- when :create_farm
98
- Aws::Deadline::Endpoints::CreateFarm.build(context)
99
- when :create_fleet
100
- Aws::Deadline::Endpoints::CreateFleet.build(context)
101
- when :create_job
102
- Aws::Deadline::Endpoints::CreateJob.build(context)
103
- when :create_license_endpoint
104
- Aws::Deadline::Endpoints::CreateLicenseEndpoint.build(context)
105
- when :create_monitor
106
- Aws::Deadline::Endpoints::CreateMonitor.build(context)
107
- when :create_queue
108
- Aws::Deadline::Endpoints::CreateQueue.build(context)
109
- when :create_queue_environment
110
- Aws::Deadline::Endpoints::CreateQueueEnvironment.build(context)
111
- when :create_queue_fleet_association
112
- Aws::Deadline::Endpoints::CreateQueueFleetAssociation.build(context)
113
- when :create_storage_profile
114
- Aws::Deadline::Endpoints::CreateStorageProfile.build(context)
115
- when :create_worker
116
- Aws::Deadline::Endpoints::CreateWorker.build(context)
117
- when :delete_budget
118
- Aws::Deadline::Endpoints::DeleteBudget.build(context)
119
- when :delete_farm
120
- Aws::Deadline::Endpoints::DeleteFarm.build(context)
121
- when :delete_fleet
122
- Aws::Deadline::Endpoints::DeleteFleet.build(context)
123
- when :delete_license_endpoint
124
- Aws::Deadline::Endpoints::DeleteLicenseEndpoint.build(context)
125
- when :delete_metered_product
126
- Aws::Deadline::Endpoints::DeleteMeteredProduct.build(context)
127
- when :delete_monitor
128
- Aws::Deadline::Endpoints::DeleteMonitor.build(context)
129
- when :delete_queue
130
- Aws::Deadline::Endpoints::DeleteQueue.build(context)
131
- when :delete_queue_environment
132
- Aws::Deadline::Endpoints::DeleteQueueEnvironment.build(context)
133
- when :delete_queue_fleet_association
134
- Aws::Deadline::Endpoints::DeleteQueueFleetAssociation.build(context)
135
- when :delete_storage_profile
136
- Aws::Deadline::Endpoints::DeleteStorageProfile.build(context)
137
- when :delete_worker
138
- Aws::Deadline::Endpoints::DeleteWorker.build(context)
139
- when :disassociate_member_from_farm
140
- Aws::Deadline::Endpoints::DisassociateMemberFromFarm.build(context)
141
- when :disassociate_member_from_fleet
142
- Aws::Deadline::Endpoints::DisassociateMemberFromFleet.build(context)
143
- when :disassociate_member_from_job
144
- Aws::Deadline::Endpoints::DisassociateMemberFromJob.build(context)
145
- when :disassociate_member_from_queue
146
- Aws::Deadline::Endpoints::DisassociateMemberFromQueue.build(context)
147
- when :get_budget
148
- Aws::Deadline::Endpoints::GetBudget.build(context)
149
- when :get_farm
150
- Aws::Deadline::Endpoints::GetFarm.build(context)
151
- when :get_fleet
152
- Aws::Deadline::Endpoints::GetFleet.build(context)
153
- when :get_job
154
- Aws::Deadline::Endpoints::GetJob.build(context)
155
- when :get_license_endpoint
156
- Aws::Deadline::Endpoints::GetLicenseEndpoint.build(context)
157
- when :get_monitor
158
- Aws::Deadline::Endpoints::GetMonitor.build(context)
159
- when :get_queue
160
- Aws::Deadline::Endpoints::GetQueue.build(context)
161
- when :get_queue_environment
162
- Aws::Deadline::Endpoints::GetQueueEnvironment.build(context)
163
- when :get_queue_fleet_association
164
- Aws::Deadline::Endpoints::GetQueueFleetAssociation.build(context)
165
- when :get_session
166
- Aws::Deadline::Endpoints::GetSession.build(context)
167
- when :get_session_action
168
- Aws::Deadline::Endpoints::GetSessionAction.build(context)
169
- when :get_sessions_statistics_aggregation
170
- Aws::Deadline::Endpoints::GetSessionsStatisticsAggregation.build(context)
171
- when :get_step
172
- Aws::Deadline::Endpoints::GetStep.build(context)
173
- when :get_storage_profile
174
- Aws::Deadline::Endpoints::GetStorageProfile.build(context)
175
- when :get_storage_profile_for_queue
176
- Aws::Deadline::Endpoints::GetStorageProfileForQueue.build(context)
177
- when :get_task
178
- Aws::Deadline::Endpoints::GetTask.build(context)
179
- when :get_worker
180
- Aws::Deadline::Endpoints::GetWorker.build(context)
181
- when :list_available_metered_products
182
- Aws::Deadline::Endpoints::ListAvailableMeteredProducts.build(context)
183
- when :list_budgets
184
- Aws::Deadline::Endpoints::ListBudgets.build(context)
185
- when :list_farm_members
186
- Aws::Deadline::Endpoints::ListFarmMembers.build(context)
187
- when :list_farms
188
- Aws::Deadline::Endpoints::ListFarms.build(context)
189
- when :list_fleet_members
190
- Aws::Deadline::Endpoints::ListFleetMembers.build(context)
191
- when :list_fleets
192
- Aws::Deadline::Endpoints::ListFleets.build(context)
193
- when :list_job_members
194
- Aws::Deadline::Endpoints::ListJobMembers.build(context)
195
- when :list_job_parameter_definitions
196
- Aws::Deadline::Endpoints::ListJobParameterDefinitions.build(context)
197
- when :list_jobs
198
- Aws::Deadline::Endpoints::ListJobs.build(context)
199
- when :list_license_endpoints
200
- Aws::Deadline::Endpoints::ListLicenseEndpoints.build(context)
201
- when :list_metered_products
202
- Aws::Deadline::Endpoints::ListMeteredProducts.build(context)
203
- when :list_monitors
204
- Aws::Deadline::Endpoints::ListMonitors.build(context)
205
- when :list_queue_environments
206
- Aws::Deadline::Endpoints::ListQueueEnvironments.build(context)
207
- when :list_queue_fleet_associations
208
- Aws::Deadline::Endpoints::ListQueueFleetAssociations.build(context)
209
- when :list_queue_members
210
- Aws::Deadline::Endpoints::ListQueueMembers.build(context)
211
- when :list_queues
212
- Aws::Deadline::Endpoints::ListQueues.build(context)
213
- when :list_session_actions
214
- Aws::Deadline::Endpoints::ListSessionActions.build(context)
215
- when :list_sessions
216
- Aws::Deadline::Endpoints::ListSessions.build(context)
217
- when :list_sessions_for_worker
218
- Aws::Deadline::Endpoints::ListSessionsForWorker.build(context)
219
- when :list_step_consumers
220
- Aws::Deadline::Endpoints::ListStepConsumers.build(context)
221
- when :list_step_dependencies
222
- Aws::Deadline::Endpoints::ListStepDependencies.build(context)
223
- when :list_steps
224
- Aws::Deadline::Endpoints::ListSteps.build(context)
225
- when :list_storage_profiles
226
- Aws::Deadline::Endpoints::ListStorageProfiles.build(context)
227
- when :list_storage_profiles_for_queue
228
- Aws::Deadline::Endpoints::ListStorageProfilesForQueue.build(context)
229
- when :list_tags_for_resource
230
- Aws::Deadline::Endpoints::ListTagsForResource.build(context)
231
- when :list_tasks
232
- Aws::Deadline::Endpoints::ListTasks.build(context)
233
- when :list_workers
234
- Aws::Deadline::Endpoints::ListWorkers.build(context)
235
- when :put_metered_product
236
- Aws::Deadline::Endpoints::PutMeteredProduct.build(context)
237
- when :search_jobs
238
- Aws::Deadline::Endpoints::SearchJobs.build(context)
239
- when :search_steps
240
- Aws::Deadline::Endpoints::SearchSteps.build(context)
241
- when :search_tasks
242
- Aws::Deadline::Endpoints::SearchTasks.build(context)
243
- when :search_workers
244
- Aws::Deadline::Endpoints::SearchWorkers.build(context)
245
- when :start_sessions_statistics_aggregation
246
- Aws::Deadline::Endpoints::StartSessionsStatisticsAggregation.build(context)
247
- when :tag_resource
248
- Aws::Deadline::Endpoints::TagResource.build(context)
249
- when :untag_resource
250
- Aws::Deadline::Endpoints::UntagResource.build(context)
251
- when :update_budget
252
- Aws::Deadline::Endpoints::UpdateBudget.build(context)
253
- when :update_farm
254
- Aws::Deadline::Endpoints::UpdateFarm.build(context)
255
- when :update_fleet
256
- Aws::Deadline::Endpoints::UpdateFleet.build(context)
257
- when :update_job
258
- Aws::Deadline::Endpoints::UpdateJob.build(context)
259
- when :update_monitor
260
- Aws::Deadline::Endpoints::UpdateMonitor.build(context)
261
- when :update_queue
262
- Aws::Deadline::Endpoints::UpdateQueue.build(context)
263
- when :update_queue_environment
264
- Aws::Deadline::Endpoints::UpdateQueueEnvironment.build(context)
265
- when :update_queue_fleet_association
266
- Aws::Deadline::Endpoints::UpdateQueueFleetAssociation.build(context)
267
- when :update_session
268
- Aws::Deadline::Endpoints::UpdateSession.build(context)
269
- when :update_step
270
- Aws::Deadline::Endpoints::UpdateStep.build(context)
271
- when :update_storage_profile
272
- Aws::Deadline::Endpoints::UpdateStorageProfile.build(context)
273
- when :update_task
274
- Aws::Deadline::Endpoints::UpdateTask.build(context)
275
- when :update_worker
276
- Aws::Deadline::Endpoints::UpdateWorker.build(context)
277
- when :update_worker_schedule
278
- Aws::Deadline::Endpoints::UpdateWorkerSchedule.build(context)
279
- end
280
- end
281
70
  end
282
71
 
283
72
  def add_handlers(handlers, _config)
@@ -10,14 +10,43 @@
10
10
  module Aws::Deadline
11
11
  module Types
12
12
 
13
+ # Provides information about the GPU accelerators and drivers for the
14
+ # instance types in a fleet. If you include the
15
+ # `acceleratorCapabilities` property in the
16
+ # [ServiceManagedEc2InstanceCapabilities][1] object, all of the Amazon
17
+ # EC2 instances will have at least one accelerator.
18
+ #
19
+ #
20
+ #
21
+ # [1]: https://docs.aws.amazon.com/deadline-cloud/latest/APIReference/API_ServiceManagedEc2InstanceCapabilities
22
+ #
23
+ # @!attribute [rw] selections
24
+ # A list of objects that contain the GPU name of the accelerator and
25
+ # driver for the instance types that support the accelerator.
26
+ # @return [Array<Types::AcceleratorSelection>]
27
+ #
28
+ # @!attribute [rw] count
29
+ # The number of GPUs on each worker. The default is 1.
30
+ # @return [Types::AcceleratorCountRange]
31
+ #
32
+ # @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/AcceleratorCapabilities AWS API Documentation
33
+ #
34
+ class AcceleratorCapabilities < Struct.new(
35
+ :selections,
36
+ :count)
37
+ SENSITIVE = []
38
+ include Aws::Structure
39
+ end
40
+
13
41
  # The range for the GPU fleet acceleration.
14
42
  #
15
43
  # @!attribute [rw] min
16
- # The minimum GPU for the accelerator.
44
+ # The minimum number of GPUs for the accelerator. If you set the value
45
+ # to 0, a worker will still have 1 GPU.
17
46
  # @return [Integer]
18
47
  #
19
48
  # @!attribute [rw] max
20
- # The maximum GPU for the accelerator.
49
+ # The maximum number of GPUs for the accelerator.
21
50
  # @return [Integer]
22
51
  #
23
52
  # @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/AcceleratorCountRange AWS API Documentation
@@ -29,6 +58,26 @@ module Aws::Deadline
29
58
  include Aws::Structure
30
59
  end
31
60
 
61
+ # Values that you can use to select a particular Amazon EC2 instance
62
+ # type.
63
+ #
64
+ # @!attribute [rw] name
65
+ # The name of the GPU accelerator.
66
+ # @return [String]
67
+ #
68
+ # @!attribute [rw] runtime
69
+ # The driver version that the GPU accelerator uses.
70
+ # @return [String]
71
+ #
72
+ # @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/AcceleratorSelection AWS API Documentation
73
+ #
74
+ class AcceleratorSelection < Struct.new(
75
+ :name,
76
+ :runtime)
77
+ SENSITIVE = []
78
+ include Aws::Structure
79
+ end
80
+
32
81
  # The range for memory, in MiB, to use for the accelerator.
33
82
  #
34
83
  # @!attribute [rw] min
@@ -7219,6 +7268,17 @@ module Aws::Deadline
7219
7268
  # The root EBS volume.
7220
7269
  # @return [Types::Ec2EbsVolume]
7221
7270
  #
7271
+ # @!attribute [rw] accelerator_capabilities
7272
+ # The GPU accelerator capabilities required for the Amazon EC2
7273
+ # instances. If you include the `acceleratorCapabilities` property in
7274
+ # the [ServiceManagedEc2InstanceCapabilities][1] object, all of the
7275
+ # Amazon EC2 instances will have at least one accelerator.
7276
+ #
7277
+ #
7278
+ #
7279
+ # [1]: https://docs.aws.amazon.com/deadline-cloud/latest/APIReference/API_ServiceManagedEc2InstanceCapabilities
7280
+ # @return [Types::AcceleratorCapabilities]
7281
+ #
7222
7282
  # @!attribute [rw] allowed_instance_types
7223
7283
  # The allowable Amazon EC2 instance types.
7224
7284
  # @return [Array<String>]
@@ -7245,6 +7305,7 @@ module Aws::Deadline
7245
7305
  :os_family,
7246
7306
  :cpu_architecture_type,
7247
7307
  :root_ebs_volume,
7308
+ :accelerator_capabilities,
7248
7309
  :allowed_instance_types,
7249
7310
  :excluded_instance_types,
7250
7311
  :custom_amounts,
@@ -55,7 +55,7 @@ module Aws::Deadline
55
55
  autoload :EndpointProvider, 'aws-sdk-deadline/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-deadline/endpoints'
57
57
 
58
- GEM_VERSION = '1.15.0'
58
+ GEM_VERSION = '1.17.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -349,6 +349,18 @@ module Aws
349
349
  iops: ::Integer?,
350
350
  throughput_mi_b: ::Integer?
351
351
  }?,
352
+ accelerator_capabilities: {
353
+ selections: Array[
354
+ {
355
+ name: ("t4" | "a10g" | "l4" | "l40s"),
356
+ runtime: ::String?
357
+ },
358
+ ],
359
+ count: {
360
+ min: ::Integer,
361
+ max: ::Integer?
362
+ }?
363
+ }?,
352
364
  allowed_instance_types: Array[::String]?,
353
365
  excluded_instance_types: Array[::String]?,
354
366
  custom_amounts: Array[
@@ -1838,6 +1850,18 @@ module Aws
1838
1850
  iops: ::Integer?,
1839
1851
  throughput_mi_b: ::Integer?
1840
1852
  }?,
1853
+ accelerator_capabilities: {
1854
+ selections: Array[
1855
+ {
1856
+ name: ("t4" | "a10g" | "l4" | "l40s"),
1857
+ runtime: ::String?
1858
+ },
1859
+ ],
1860
+ count: {
1861
+ min: ::Integer,
1862
+ max: ::Integer?
1863
+ }?
1864
+ }?,
1841
1865
  allowed_instance_types: Array[::String]?,
1842
1866
  excluded_instance_types: Array[::String]?,
1843
1867
  custom_amounts: Array[
data/sig/types.rbs CHANGED
@@ -8,12 +8,24 @@
8
8
  module Aws::Deadline
9
9
  module Types
10
10
 
11
+ class AcceleratorCapabilities
12
+ attr_accessor selections: ::Array[Types::AcceleratorSelection]
13
+ attr_accessor count: Types::AcceleratorCountRange
14
+ SENSITIVE: []
15
+ end
16
+
11
17
  class AcceleratorCountRange
12
18
  attr_accessor min: ::Integer
13
19
  attr_accessor max: ::Integer
14
20
  SENSITIVE: []
15
21
  end
16
22
 
23
+ class AcceleratorSelection
24
+ attr_accessor name: ("t4" | "a10g" | "l4" | "l40s")
25
+ attr_accessor runtime: ::String
26
+ SENSITIVE: []
27
+ end
28
+
17
29
  class AcceleratorTotalMemoryMiBRange
18
30
  attr_accessor min: ::Integer
19
31
  attr_accessor max: ::Integer
@@ -2041,6 +2053,7 @@ module Aws::Deadline
2041
2053
  attr_accessor os_family: ("WINDOWS" | "LINUX")
2042
2054
  attr_accessor cpu_architecture_type: ("x86_64" | "arm64")
2043
2055
  attr_accessor root_ebs_volume: Types::Ec2EbsVolume
2056
+ attr_accessor accelerator_capabilities: Types::AcceleratorCapabilities
2044
2057
  attr_accessor allowed_instance_types: ::Array[::String]
2045
2058
  attr_accessor excluded_instance_types: ::Array[::String]
2046
2059
  attr_accessor custom_amounts: ::Array[Types::FleetAmountCapability]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-deadline
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.15.0
4
+ version: 1.17.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: 2024-10-07 00:00:00.000000000 Z
11
+ date: 2024-11-14 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.207.0
22
+ version: 3.210.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.207.0
32
+ version: 3.210.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement