aws-sdk-deadline 1.24.0 → 1.26.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 +55 -3
- data/lib/aws-sdk-deadline/client_api.rb +12 -0
- data/lib/aws-sdk-deadline/types.rb +104 -4
- data/lib/aws-sdk-deadline.rb +1 -1
- data/sig/client.rbs +15 -3
- data/sig/types.rbs +12 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 710a7ac2c53ffb26924c311bfa495007cc51a7a1443058bd301a0fb1f5d35fe4
|
4
|
+
data.tar.gz: 163fa692a11b19d678d6ff5ec163d78f7c912237de41682aff92b087c681117a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 290cd2c6877a69643506a6b8c564bcfbb553b8639861bee928b99289d9e5913edc2c68b0ad92c9635f567ff3f42fa0279917eee025a96fe78f57d712d42fc164
|
7
|
+
data.tar.gz: 62e1b3eaba6dacfafeb0fd9e00ccd694a3399a70b34386db5d7fd9dd94cbd72ea5f48ad88765922e2cb787f6ca17f50bc7d9e8297fdf7b8aed54f0928e75ea46
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.26.0 (2025-05-27)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - AWS Deadline Cloud service-managed fleets now support storage profiles. With storage profiles, you can map file paths between a workstation and the worker hosts running the job.
|
8
|
+
|
9
|
+
1.25.0 (2025-05-12)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - AWS Deadline Cloud service-managed fleets now support configuration scripts. Configuration scripts make it easy to install additional software, like plugins and packages, onto a worker.
|
13
|
+
|
4
14
|
1.24.0 (2025-05-01)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.26.0
|
@@ -200,8 +200,7 @@ module Aws::Deadline
|
|
200
200
|
# accepted modes and the configuration defaults that are included.
|
201
201
|
#
|
202
202
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
203
|
-
#
|
204
|
-
# to default service endpoint when available.
|
203
|
+
# When `true`, the SDK will not prepend the modeled host prefix to the endpoint.
|
205
204
|
#
|
206
205
|
# @option options [Boolean] :disable_request_compression (false)
|
207
206
|
# When set to 'true' the request body will not be compressed
|
@@ -1169,6 +1168,15 @@ module Aws::Deadline
|
|
1169
1168
|
# @option params [required, Integer] :max_worker_count
|
1170
1169
|
# The maximum number of workers for the fleet.
|
1171
1170
|
#
|
1171
|
+
# Deadline Cloud limits the number of workers to less than or equal to
|
1172
|
+
# the fleet's maximum worker count. The service maintains eventual
|
1173
|
+
# consistency for the worker count. If you make multiple rapid calls to
|
1174
|
+
# `CreateWorker` before the field updates, you might exceed your
|
1175
|
+
# fleet's maximum worker count. For example, if your `maxWorkerCount`
|
1176
|
+
# is 10 and you currently have 9 workers, making two quick
|
1177
|
+
# `CreateWorker` calls might successfully create 2 workers instead of 1,
|
1178
|
+
# resulting in 11 total workers.
|
1179
|
+
#
|
1172
1180
|
# @option params [required, Types::FleetConfiguration] :configuration
|
1173
1181
|
# The configuration settings for the fleet. Customer managed fleets are
|
1174
1182
|
# self-managed. Service managed Amazon EC2 fleets are managed by
|
@@ -1178,6 +1186,10 @@ module Aws::Deadline
|
|
1178
1186
|
# Each tag consists of a tag key and a tag value. Tag keys and values
|
1179
1187
|
# are both required, but tag values can be empty strings.
|
1180
1188
|
#
|
1189
|
+
# @option params [Types::HostConfiguration] :host_configuration
|
1190
|
+
# Provides a script that runs as a worker is starting up that you can
|
1191
|
+
# use to provide additional configuration for workers in your fleet.
|
1192
|
+
#
|
1181
1193
|
# @return [Types::CreateFleetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1182
1194
|
#
|
1183
1195
|
# * {Types::CreateFleetResponse#fleet_id #fleet_id} => String
|
@@ -1280,11 +1292,16 @@ module Aws::Deadline
|
|
1280
1292
|
# instance_market_options: { # required
|
1281
1293
|
# type: "on-demand", # required, accepts on-demand, spot
|
1282
1294
|
# },
|
1295
|
+
# storage_profile_id: "StorageProfileId",
|
1283
1296
|
# },
|
1284
1297
|
# },
|
1285
1298
|
# tags: {
|
1286
1299
|
# "String" => "String",
|
1287
1300
|
# },
|
1301
|
+
# host_configuration: {
|
1302
|
+
# script_body: "HostConfigurationScript", # required
|
1303
|
+
# script_timeout_seconds: 1,
|
1304
|
+
# },
|
1288
1305
|
# })
|
1289
1306
|
#
|
1290
1307
|
# @example Response structure
|
@@ -1898,6 +1915,15 @@ module Aws::Deadline
|
|
1898
1915
|
# instance types to use, or let the worker know which instances types to
|
1899
1916
|
# exclude.
|
1900
1917
|
#
|
1918
|
+
# Deadline Cloud limits the number of workers to less than or equal to
|
1919
|
+
# the fleet's maximum worker count. The service maintains eventual
|
1920
|
+
# consistency for the worker count. If you make multiple rapid calls to
|
1921
|
+
# `CreateWorker` before the field updates, you might exceed your
|
1922
|
+
# fleet's maximum worker count. For example, if your `maxWorkerCount`
|
1923
|
+
# is 10 and you currently have 9 workers, making two quick
|
1924
|
+
# `CreateWorker` calls might successfully create 2 workers instead of 1,
|
1925
|
+
# resulting in 11 total workers.
|
1926
|
+
#
|
1901
1927
|
# @option params [required, String] :farm_id
|
1902
1928
|
# The farm ID of the farm to connect to the worker.
|
1903
1929
|
#
|
@@ -2565,6 +2591,7 @@ module Aws::Deadline
|
|
2565
2591
|
# * {Types::GetFleetResponse#min_worker_count #min_worker_count} => Integer
|
2566
2592
|
# * {Types::GetFleetResponse#max_worker_count #max_worker_count} => Integer
|
2567
2593
|
# * {Types::GetFleetResponse#configuration #configuration} => Types::FleetConfiguration
|
2594
|
+
# * {Types::GetFleetResponse#host_configuration #host_configuration} => Types::HostConfiguration
|
2568
2595
|
# * {Types::GetFleetResponse#capabilities #capabilities} => Types::FleetCapabilities
|
2569
2596
|
# * {Types::GetFleetResponse#role_arn #role_arn} => String
|
2570
2597
|
# * {Types::GetFleetResponse#created_at #created_at} => Time
|
@@ -2641,6 +2668,9 @@ module Aws::Deadline
|
|
2641
2668
|
# resp.configuration.service_managed_ec2.instance_capabilities.custom_attributes[0].values #=> Array
|
2642
2669
|
# resp.configuration.service_managed_ec2.instance_capabilities.custom_attributes[0].values[0] #=> String
|
2643
2670
|
# resp.configuration.service_managed_ec2.instance_market_options.type #=> String, one of "on-demand", "spot"
|
2671
|
+
# resp.configuration.service_managed_ec2.storage_profile_id #=> String
|
2672
|
+
# resp.host_configuration.script_body #=> String
|
2673
|
+
# resp.host_configuration.script_timeout_seconds #=> Integer
|
2644
2674
|
# resp.capabilities.amounts #=> Array
|
2645
2675
|
# resp.capabilities.amounts[0].name #=> String
|
2646
2676
|
# resp.capabilities.amounts[0].min #=> Float
|
@@ -4045,6 +4075,7 @@ module Aws::Deadline
|
|
4045
4075
|
# resp.fleets[0].configuration.service_managed_ec2.instance_capabilities.custom_attributes[0].values #=> Array
|
4046
4076
|
# resp.fleets[0].configuration.service_managed_ec2.instance_capabilities.custom_attributes[0].values[0] #=> String
|
4047
4077
|
# resp.fleets[0].configuration.service_managed_ec2.instance_market_options.type #=> String, one of "on-demand", "spot"
|
4078
|
+
# resp.fleets[0].configuration.service_managed_ec2.storage_profile_id #=> String
|
4048
4079
|
# resp.fleets[0].created_at #=> Time
|
4049
4080
|
# resp.fleets[0].created_by #=> String
|
4050
4081
|
# resp.fleets[0].updated_at #=> Time
|
@@ -6120,9 +6151,22 @@ module Aws::Deadline
|
|
6120
6151
|
# @option params [Integer] :max_worker_count
|
6121
6152
|
# The maximum number of workers in the fleet.
|
6122
6153
|
#
|
6154
|
+
# Deadline Cloud limits the number of workers to less than or equal to
|
6155
|
+
# the fleet's maximum worker count. The service maintains eventual
|
6156
|
+
# consistency for the worker count. If you make multiple rapid calls to
|
6157
|
+
# `CreateWorker` before the field updates, you might exceed your
|
6158
|
+
# fleet's maximum worker count. For example, if your `maxWorkerCount`
|
6159
|
+
# is 10 and you currently have 9 workers, making two quick
|
6160
|
+
# `CreateWorker` calls might successfully create 2 workers instead of 1,
|
6161
|
+
# resulting in 11 total workers.
|
6162
|
+
#
|
6123
6163
|
# @option params [Types::FleetConfiguration] :configuration
|
6124
6164
|
# The fleet configuration to update.
|
6125
6165
|
#
|
6166
|
+
# @option params [Types::HostConfiguration] :host_configuration
|
6167
|
+
# Provides a script that runs as a worker is starting up that you can
|
6168
|
+
# use to provide additional configuration for workers in your fleet.
|
6169
|
+
#
|
6126
6170
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
6127
6171
|
#
|
6128
6172
|
# @example Request syntax with placeholder values
|
@@ -6224,8 +6268,13 @@ module Aws::Deadline
|
|
6224
6268
|
# instance_market_options: { # required
|
6225
6269
|
# type: "on-demand", # required, accepts on-demand, spot
|
6226
6270
|
# },
|
6271
|
+
# storage_profile_id: "StorageProfileId",
|
6227
6272
|
# },
|
6228
6273
|
# },
|
6274
|
+
# host_configuration: {
|
6275
|
+
# script_body: "HostConfigurationScript", # required
|
6276
|
+
# script_timeout_seconds: 1,
|
6277
|
+
# },
|
6229
6278
|
# })
|
6230
6279
|
#
|
6231
6280
|
# @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/UpdateFleet AWS API Documentation
|
@@ -6865,6 +6914,7 @@ module Aws::Deadline
|
|
6865
6914
|
# @return [Types::UpdateWorkerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6866
6915
|
#
|
6867
6916
|
# * {Types::UpdateWorkerResponse#log #log} => Types::LogConfiguration
|
6917
|
+
# * {Types::UpdateWorkerResponse#host_configuration #host_configuration} => Types::HostConfiguration
|
6868
6918
|
#
|
6869
6919
|
# @example Request syntax with placeholder values
|
6870
6920
|
#
|
@@ -6904,6 +6954,8 @@ module Aws::Deadline
|
|
6904
6954
|
# resp.log.parameters #=> Hash
|
6905
6955
|
# resp.log.parameters["String"] #=> String
|
6906
6956
|
# resp.log.error #=> String
|
6957
|
+
# resp.host_configuration.script_body #=> String
|
6958
|
+
# resp.host_configuration.script_timeout_seconds #=> Integer
|
6907
6959
|
#
|
6908
6960
|
# @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/UpdateWorker AWS API Documentation
|
6909
6961
|
#
|
@@ -7010,7 +7062,7 @@ module Aws::Deadline
|
|
7010
7062
|
tracer: tracer
|
7011
7063
|
)
|
7012
7064
|
context[:gem_name] = 'aws-sdk-deadline'
|
7013
|
-
context[:gem_version] = '1.
|
7065
|
+
context[:gem_version] = '1.26.0'
|
7014
7066
|
Seahorse::Client::Request.new(handlers, context)
|
7015
7067
|
end
|
7016
7068
|
|
@@ -256,6 +256,9 @@ module Aws::Deadline
|
|
256
256
|
GetTaskResponse = Shapes::StructureShape.new(name: 'GetTaskResponse')
|
257
257
|
GetWorkerRequest = Shapes::StructureShape.new(name: 'GetWorkerRequest')
|
258
258
|
GetWorkerResponse = Shapes::StructureShape.new(name: 'GetWorkerResponse')
|
259
|
+
HostConfiguration = Shapes::StructureShape.new(name: 'HostConfiguration')
|
260
|
+
HostConfigurationScript = Shapes::StringShape.new(name: 'HostConfigurationScript')
|
261
|
+
HostConfigurationScriptTimeoutSeconds = Shapes::IntegerShape.new(name: 'HostConfigurationScriptTimeoutSeconds')
|
259
262
|
HostName = Shapes::StringShape.new(name: 'HostName')
|
260
263
|
HostPropertiesRequest = Shapes::StructureShape.new(name: 'HostPropertiesRequest')
|
261
264
|
HostPropertiesResponse = Shapes::StructureShape.new(name: 'HostPropertiesResponse')
|
@@ -916,6 +919,7 @@ module Aws::Deadline
|
|
916
919
|
CreateFleetRequest.add_member(:max_worker_count, Shapes::ShapeRef.new(shape: MinZeroMaxInteger, required: true, location_name: "maxWorkerCount"))
|
917
920
|
CreateFleetRequest.add_member(:configuration, Shapes::ShapeRef.new(shape: FleetConfiguration, required: true, location_name: "configuration"))
|
918
921
|
CreateFleetRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
922
|
+
CreateFleetRequest.add_member(:host_configuration, Shapes::ShapeRef.new(shape: HostConfiguration, location_name: "hostConfiguration"))
|
919
923
|
CreateFleetRequest.struct_class = Types::CreateFleetRequest
|
920
924
|
|
921
925
|
CreateFleetResponse.add_member(:fleet_id, Shapes::ShapeRef.new(shape: FleetId, required: true, location_name: "fleetId"))
|
@@ -1351,6 +1355,7 @@ module Aws::Deadline
|
|
1351
1355
|
GetFleetResponse.add_member(:min_worker_count, Shapes::ShapeRef.new(shape: MinZeroMaxInteger, required: true, location_name: "minWorkerCount"))
|
1352
1356
|
GetFleetResponse.add_member(:max_worker_count, Shapes::ShapeRef.new(shape: MinZeroMaxInteger, required: true, location_name: "maxWorkerCount"))
|
1353
1357
|
GetFleetResponse.add_member(:configuration, Shapes::ShapeRef.new(shape: FleetConfiguration, required: true, location_name: "configuration"))
|
1358
|
+
GetFleetResponse.add_member(:host_configuration, Shapes::ShapeRef.new(shape: HostConfiguration, location_name: "hostConfiguration"))
|
1354
1359
|
GetFleetResponse.add_member(:capabilities, Shapes::ShapeRef.new(shape: FleetCapabilities, location_name: "capabilities"))
|
1355
1360
|
GetFleetResponse.add_member(:role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, required: true, location_name: "roleArn"))
|
1356
1361
|
GetFleetResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: CreatedAt, required: true, location_name: "createdAt"))
|
@@ -1654,6 +1659,10 @@ module Aws::Deadline
|
|
1654
1659
|
GetWorkerResponse.add_member(:updated_by, Shapes::ShapeRef.new(shape: UpdatedBy, location_name: "updatedBy"))
|
1655
1660
|
GetWorkerResponse.struct_class = Types::GetWorkerResponse
|
1656
1661
|
|
1662
|
+
HostConfiguration.add_member(:script_body, Shapes::ShapeRef.new(shape: HostConfigurationScript, required: true, location_name: "scriptBody"))
|
1663
|
+
HostConfiguration.add_member(:script_timeout_seconds, Shapes::ShapeRef.new(shape: HostConfigurationScriptTimeoutSeconds, location_name: "scriptTimeoutSeconds"))
|
1664
|
+
HostConfiguration.struct_class = Types::HostConfiguration
|
1665
|
+
|
1657
1666
|
HostPropertiesRequest.add_member(:ip_addresses, Shapes::ShapeRef.new(shape: IpAddresses, location_name: "ipAddresses"))
|
1658
1667
|
HostPropertiesRequest.add_member(:host_name, Shapes::ShapeRef.new(shape: HostName, location_name: "hostName"))
|
1659
1668
|
HostPropertiesRequest.struct_class = Types::HostPropertiesRequest
|
@@ -2389,6 +2398,7 @@ module Aws::Deadline
|
|
2389
2398
|
|
2390
2399
|
ServiceManagedEc2FleetConfiguration.add_member(:instance_capabilities, Shapes::ShapeRef.new(shape: ServiceManagedEc2InstanceCapabilities, required: true, location_name: "instanceCapabilities"))
|
2391
2400
|
ServiceManagedEc2FleetConfiguration.add_member(:instance_market_options, Shapes::ShapeRef.new(shape: ServiceManagedEc2InstanceMarketOptions, required: true, location_name: "instanceMarketOptions"))
|
2401
|
+
ServiceManagedEc2FleetConfiguration.add_member(:storage_profile_id, Shapes::ShapeRef.new(shape: StorageProfileId, location_name: "storageProfileId"))
|
2392
2402
|
ServiceManagedEc2FleetConfiguration.struct_class = Types::ServiceManagedEc2FleetConfiguration
|
2393
2403
|
|
2394
2404
|
ServiceManagedEc2InstanceCapabilities.add_member(:v_cpu_count, Shapes::ShapeRef.new(shape: VCpuCountRange, required: true, location_name: "vCpuCount"))
|
@@ -2731,6 +2741,7 @@ module Aws::Deadline
|
|
2731
2741
|
UpdateFleetRequest.add_member(:min_worker_count, Shapes::ShapeRef.new(shape: MinZeroMaxInteger, location_name: "minWorkerCount"))
|
2732
2742
|
UpdateFleetRequest.add_member(:max_worker_count, Shapes::ShapeRef.new(shape: MinZeroMaxInteger, location_name: "maxWorkerCount"))
|
2733
2743
|
UpdateFleetRequest.add_member(:configuration, Shapes::ShapeRef.new(shape: FleetConfiguration, location_name: "configuration"))
|
2744
|
+
UpdateFleetRequest.add_member(:host_configuration, Shapes::ShapeRef.new(shape: HostConfiguration, location_name: "hostConfiguration"))
|
2734
2745
|
UpdateFleetRequest.struct_class = Types::UpdateFleetRequest
|
2735
2746
|
|
2736
2747
|
UpdateFleetResponse.struct_class = Types::UpdateFleetResponse
|
@@ -2861,6 +2872,7 @@ module Aws::Deadline
|
|
2861
2872
|
UpdateWorkerRequest.struct_class = Types::UpdateWorkerRequest
|
2862
2873
|
|
2863
2874
|
UpdateWorkerResponse.add_member(:log, Shapes::ShapeRef.new(shape: LogConfiguration, location_name: "log"))
|
2875
|
+
UpdateWorkerResponse.add_member(:host_configuration, Shapes::ShapeRef.new(shape: HostConfiguration, location_name: "hostConfiguration"))
|
2864
2876
|
UpdateWorkerResponse.struct_class = Types::UpdateWorkerResponse
|
2865
2877
|
|
2866
2878
|
UpdateWorkerScheduleRequest.add_member(:farm_id, Shapes::ShapeRef.new(shape: FarmId, required: true, location: "uri", location_name: "farmId"))
|
@@ -1148,6 +1148,15 @@ module Aws::Deadline
|
|
1148
1148
|
#
|
1149
1149
|
# @!attribute [rw] max_worker_count
|
1150
1150
|
# The maximum number of workers for the fleet.
|
1151
|
+
#
|
1152
|
+
# Deadline Cloud limits the number of workers to less than or equal to
|
1153
|
+
# the fleet's maximum worker count. The service maintains eventual
|
1154
|
+
# consistency for the worker count. If you make multiple rapid calls
|
1155
|
+
# to `CreateWorker` before the field updates, you might exceed your
|
1156
|
+
# fleet's maximum worker count. For example, if your `maxWorkerCount`
|
1157
|
+
# is 10 and you currently have 9 workers, making two quick
|
1158
|
+
# `CreateWorker` calls might successfully create 2 workers instead of
|
1159
|
+
# 1, resulting in 11 total workers.
|
1151
1160
|
# @return [Integer]
|
1152
1161
|
#
|
1153
1162
|
# @!attribute [rw] configuration
|
@@ -1161,6 +1170,11 @@ module Aws::Deadline
|
|
1161
1170
|
# are both required, but tag values can be empty strings.
|
1162
1171
|
# @return [Hash<String,String>]
|
1163
1172
|
#
|
1173
|
+
# @!attribute [rw] host_configuration
|
1174
|
+
# Provides a script that runs as a worker is starting up that you can
|
1175
|
+
# use to provide additional configuration for workers in your fleet.
|
1176
|
+
# @return [Types::HostConfiguration]
|
1177
|
+
#
|
1164
1178
|
# @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/CreateFleetRequest AWS API Documentation
|
1165
1179
|
#
|
1166
1180
|
class CreateFleetRequest < Struct.new(
|
@@ -1172,7 +1186,8 @@ module Aws::Deadline
|
|
1172
1186
|
:min_worker_count,
|
1173
1187
|
:max_worker_count,
|
1174
1188
|
:configuration,
|
1175
|
-
:tags
|
1189
|
+
:tags,
|
1190
|
+
:host_configuration)
|
1176
1191
|
SENSITIVE = [:description]
|
1177
1192
|
include Aws::Structure
|
1178
1193
|
end
|
@@ -3083,6 +3098,11 @@ module Aws::Deadline
|
|
3083
3098
|
# The configuration setting for the fleet.
|
3084
3099
|
# @return [Types::FleetConfiguration]
|
3085
3100
|
#
|
3101
|
+
# @!attribute [rw] host_configuration
|
3102
|
+
# The script that runs as a worker is starting up that you can use to
|
3103
|
+
# provide additional configuration for workers in your fleet.
|
3104
|
+
# @return [Types::HostConfiguration]
|
3105
|
+
#
|
3086
3106
|
# @!attribute [rw] capabilities
|
3087
3107
|
# Outlines what the fleet is capable of for minimums, maximums, and
|
3088
3108
|
# naming, in addition to attribute names and values.
|
@@ -3122,6 +3142,7 @@ module Aws::Deadline
|
|
3122
3142
|
:min_worker_count,
|
3123
3143
|
:max_worker_count,
|
3124
3144
|
:configuration,
|
3145
|
+
:host_configuration,
|
3125
3146
|
:capabilities,
|
3126
3147
|
:role_arn,
|
3127
3148
|
:created_at,
|
@@ -4569,6 +4590,59 @@ module Aws::Deadline
|
|
4569
4590
|
include Aws::Structure
|
4570
4591
|
end
|
4571
4592
|
|
4593
|
+
# Provides a script that runs as a worker is starting up that you can
|
4594
|
+
# use to provide additional configuration for workers in your fleet.
|
4595
|
+
#
|
4596
|
+
# To remove a script from a fleet, use the [UpdateFleet][1] operation
|
4597
|
+
# with the `hostConfiguration` `scriptBody` parameter set to an empty
|
4598
|
+
# string ("").
|
4599
|
+
#
|
4600
|
+
#
|
4601
|
+
#
|
4602
|
+
# [1]: https://docs.aws.amazon.com/deadline-cloud/latest/APIReference/API_UpdateFleet.html
|
4603
|
+
#
|
4604
|
+
# @!attribute [rw] script_body
|
4605
|
+
# The text of the script that runs as a worker is starting up that you
|
4606
|
+
# can use to provide additional configuration for workers in your
|
4607
|
+
# fleet. The script runs after a worker enters the `STARTING` state
|
4608
|
+
# and before the worker processes tasks.
|
4609
|
+
#
|
4610
|
+
# For more information about using the script, see [Run scripts as an
|
4611
|
+
# administrator to configure workers][1] in the *Deadline Cloud
|
4612
|
+
# Developer Guide*.
|
4613
|
+
#
|
4614
|
+
# The script runs as an administrative user (`sudo root` on Linux, as
|
4615
|
+
# an Administrator on Windows).
|
4616
|
+
#
|
4617
|
+
#
|
4618
|
+
#
|
4619
|
+
# [1]: https://docs.aws.amazon.com/deadline-cloud/latest/developerguide/smf-admin.html
|
4620
|
+
# @return [String]
|
4621
|
+
#
|
4622
|
+
# @!attribute [rw] script_timeout_seconds
|
4623
|
+
# The maximum time that the host configuration can run. If the timeout
|
4624
|
+
# expires, the worker enters the `NOT RESPONDING` state and shuts
|
4625
|
+
# down. You are charged for the time that the worker is running the
|
4626
|
+
# host configuration script.
|
4627
|
+
#
|
4628
|
+
# <note markdown="1"> You should configure your fleet for a maximum of one worker while
|
4629
|
+
# testing your host configuration script to avoid starting additional
|
4630
|
+
# workers.
|
4631
|
+
#
|
4632
|
+
# </note>
|
4633
|
+
#
|
4634
|
+
# The default is 300 seconds (5 minutes).
|
4635
|
+
# @return [Integer]
|
4636
|
+
#
|
4637
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/HostConfiguration AWS API Documentation
|
4638
|
+
#
|
4639
|
+
class HostConfiguration < Struct.new(
|
4640
|
+
:script_body,
|
4641
|
+
:script_timeout_seconds)
|
4642
|
+
SENSITIVE = [:script_body]
|
4643
|
+
include Aws::Structure
|
4644
|
+
end
|
4645
|
+
|
4572
4646
|
# The host property details.
|
4573
4647
|
#
|
4574
4648
|
# @!attribute [rw] ip_addresses
|
@@ -7935,11 +8009,16 @@ module Aws::Deadline
|
|
7935
8009
|
# The Amazon EC2 market type.
|
7936
8010
|
# @return [Types::ServiceManagedEc2InstanceMarketOptions]
|
7937
8011
|
#
|
8012
|
+
# @!attribute [rw] storage_profile_id
|
8013
|
+
# The storage profile ID.
|
8014
|
+
# @return [String]
|
8015
|
+
#
|
7938
8016
|
# @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/ServiceManagedEc2FleetConfiguration AWS API Documentation
|
7939
8017
|
#
|
7940
8018
|
class ServiceManagedEc2FleetConfiguration < Struct.new(
|
7941
8019
|
:instance_capabilities,
|
7942
|
-
:instance_market_options
|
8020
|
+
:instance_market_options,
|
8021
|
+
:storage_profile_id)
|
7943
8022
|
SENSITIVE = []
|
7944
8023
|
include Aws::Structure
|
7945
8024
|
end
|
@@ -9372,12 +9451,26 @@ module Aws::Deadline
|
|
9372
9451
|
#
|
9373
9452
|
# @!attribute [rw] max_worker_count
|
9374
9453
|
# The maximum number of workers in the fleet.
|
9454
|
+
#
|
9455
|
+
# Deadline Cloud limits the number of workers to less than or equal to
|
9456
|
+
# the fleet's maximum worker count. The service maintains eventual
|
9457
|
+
# consistency for the worker count. If you make multiple rapid calls
|
9458
|
+
# to `CreateWorker` before the field updates, you might exceed your
|
9459
|
+
# fleet's maximum worker count. For example, if your `maxWorkerCount`
|
9460
|
+
# is 10 and you currently have 9 workers, making two quick
|
9461
|
+
# `CreateWorker` calls might successfully create 2 workers instead of
|
9462
|
+
# 1, resulting in 11 total workers.
|
9375
9463
|
# @return [Integer]
|
9376
9464
|
#
|
9377
9465
|
# @!attribute [rw] configuration
|
9378
9466
|
# The fleet configuration to update.
|
9379
9467
|
# @return [Types::FleetConfiguration]
|
9380
9468
|
#
|
9469
|
+
# @!attribute [rw] host_configuration
|
9470
|
+
# Provides a script that runs as a worker is starting up that you can
|
9471
|
+
# use to provide additional configuration for workers in your fleet.
|
9472
|
+
# @return [Types::HostConfiguration]
|
9473
|
+
#
|
9381
9474
|
# @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/UpdateFleetRequest AWS API Documentation
|
9382
9475
|
#
|
9383
9476
|
class UpdateFleetRequest < Struct.new(
|
@@ -9389,7 +9482,8 @@ module Aws::Deadline
|
|
9389
9482
|
:role_arn,
|
9390
9483
|
:min_worker_count,
|
9391
9484
|
:max_worker_count,
|
9392
|
-
:configuration
|
9485
|
+
:configuration,
|
9486
|
+
:host_configuration)
|
9393
9487
|
SENSITIVE = [:description]
|
9394
9488
|
include Aws::Structure
|
9395
9489
|
end
|
@@ -10006,10 +10100,16 @@ module Aws::Deadline
|
|
10006
10100
|
# The worker log to update.
|
10007
10101
|
# @return [Types::LogConfiguration]
|
10008
10102
|
#
|
10103
|
+
# @!attribute [rw] host_configuration
|
10104
|
+
# The script that runs as a worker is starting up that you can use to
|
10105
|
+
# provide additional configuration for workers in your fleet.
|
10106
|
+
# @return [Types::HostConfiguration]
|
10107
|
+
#
|
10009
10108
|
# @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/UpdateWorkerResponse AWS API Documentation
|
10010
10109
|
#
|
10011
10110
|
class UpdateWorkerResponse < Struct.new(
|
10012
|
-
:log
|
10111
|
+
:log,
|
10112
|
+
:host_configuration)
|
10013
10113
|
SENSITIVE = []
|
10014
10114
|
include Aws::Structure
|
10015
10115
|
end
|
data/lib/aws-sdk-deadline.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -382,10 +382,15 @@ module Aws
|
|
382
382
|
},
|
383
383
|
instance_market_options: {
|
384
384
|
type: ("on-demand" | "spot")
|
385
|
-
}
|
385
|
+
},
|
386
|
+
storage_profile_id: ::String?
|
386
387
|
}?
|
387
388
|
},
|
388
|
-
?tags: Hash[::String, ::String]
|
389
|
+
?tags: Hash[::String, ::String],
|
390
|
+
?host_configuration: {
|
391
|
+
script_body: ::String,
|
392
|
+
script_timeout_seconds: ::Integer?
|
393
|
+
}
|
389
394
|
) -> _CreateFleetResponseSuccess
|
390
395
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateFleetResponseSuccess
|
391
396
|
|
@@ -813,6 +818,7 @@ module Aws
|
|
813
818
|
def min_worker_count: () -> ::Integer
|
814
819
|
def max_worker_count: () -> ::Integer
|
815
820
|
def configuration: () -> Types::FleetConfiguration
|
821
|
+
def host_configuration: () -> Types::HostConfiguration
|
816
822
|
def capabilities: () -> Types::FleetCapabilities
|
817
823
|
def role_arn: () -> ::String
|
818
824
|
def created_at: () -> ::Time
|
@@ -2006,8 +2012,13 @@ module Aws
|
|
2006
2012
|
},
|
2007
2013
|
instance_market_options: {
|
2008
2014
|
type: ("on-demand" | "spot")
|
2009
|
-
}
|
2015
|
+
},
|
2016
|
+
storage_profile_id: ::String?
|
2010
2017
|
}?
|
2018
|
+
},
|
2019
|
+
?host_configuration: {
|
2020
|
+
script_body: ::String,
|
2021
|
+
script_timeout_seconds: ::Integer?
|
2011
2022
|
}
|
2012
2023
|
) -> _UpdateFleetResponseSuccess
|
2013
2024
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateFleetResponseSuccess
|
@@ -2201,6 +2212,7 @@ module Aws
|
|
2201
2212
|
interface _UpdateWorkerResponseSuccess
|
2202
2213
|
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateWorkerResponse]
|
2203
2214
|
def log: () -> Types::LogConfiguration
|
2215
|
+
def host_configuration: () -> Types::HostConfiguration
|
2204
2216
|
end
|
2205
2217
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Deadline/Client.html#update_worker-instance_method
|
2206
2218
|
def update_worker: (
|
data/sig/types.rbs
CHANGED
@@ -345,6 +345,7 @@ module Aws::Deadline
|
|
345
345
|
attr_accessor max_worker_count: ::Integer
|
346
346
|
attr_accessor configuration: Types::FleetConfiguration
|
347
347
|
attr_accessor tags: ::Hash[::String, ::String]
|
348
|
+
attr_accessor host_configuration: Types::HostConfiguration
|
348
349
|
SENSITIVE: [:description]
|
349
350
|
end
|
350
351
|
|
@@ -906,6 +907,7 @@ module Aws::Deadline
|
|
906
907
|
attr_accessor min_worker_count: ::Integer
|
907
908
|
attr_accessor max_worker_count: ::Integer
|
908
909
|
attr_accessor configuration: Types::FleetConfiguration
|
910
|
+
attr_accessor host_configuration: Types::HostConfiguration
|
909
911
|
attr_accessor capabilities: Types::FleetCapabilities
|
910
912
|
attr_accessor role_arn: ::String
|
911
913
|
attr_accessor created_at: ::Time
|
@@ -1278,6 +1280,12 @@ module Aws::Deadline
|
|
1278
1280
|
SENSITIVE: []
|
1279
1281
|
end
|
1280
1282
|
|
1283
|
+
class HostConfiguration
|
1284
|
+
attr_accessor script_body: ::String
|
1285
|
+
attr_accessor script_timeout_seconds: ::Integer
|
1286
|
+
SENSITIVE: [:script_body]
|
1287
|
+
end
|
1288
|
+
|
1281
1289
|
class HostPropertiesRequest
|
1282
1290
|
attr_accessor ip_addresses: Types::IpAddresses
|
1283
1291
|
attr_accessor host_name: ::String
|
@@ -2194,6 +2202,7 @@ module Aws::Deadline
|
|
2194
2202
|
class ServiceManagedEc2FleetConfiguration
|
2195
2203
|
attr_accessor instance_capabilities: Types::ServiceManagedEc2InstanceCapabilities
|
2196
2204
|
attr_accessor instance_market_options: Types::ServiceManagedEc2InstanceMarketOptions
|
2205
|
+
attr_accessor storage_profile_id: ::String
|
2197
2206
|
SENSITIVE: []
|
2198
2207
|
end
|
2199
2208
|
|
@@ -2218,7 +2227,7 @@ module Aws::Deadline
|
|
2218
2227
|
|
2219
2228
|
class ServiceQuotaExceededException
|
2220
2229
|
attr_accessor message: ::String
|
2221
|
-
attr_accessor reason: ("SERVICE_QUOTA_EXCEEDED_EXCEPTION" | "KMS_KEY_LIMIT_EXCEEDED")
|
2230
|
+
attr_accessor reason: ("SERVICE_QUOTA_EXCEEDED_EXCEPTION" | "KMS_KEY_LIMIT_EXCEEDED" | "DEPENDENCY_LIMIT_EXCEEDED")
|
2222
2231
|
attr_accessor resource_type: ::String
|
2223
2232
|
attr_accessor service_code: ::String
|
2224
2233
|
attr_accessor quota_code: ::String
|
@@ -2595,6 +2604,7 @@ module Aws::Deadline
|
|
2595
2604
|
attr_accessor min_worker_count: ::Integer
|
2596
2605
|
attr_accessor max_worker_count: ::Integer
|
2597
2606
|
attr_accessor configuration: Types::FleetConfiguration
|
2607
|
+
attr_accessor host_configuration: Types::HostConfiguration
|
2598
2608
|
SENSITIVE: [:description]
|
2599
2609
|
end
|
2600
2610
|
|
@@ -2763,6 +2773,7 @@ module Aws::Deadline
|
|
2763
2773
|
|
2764
2774
|
class UpdateWorkerResponse
|
2765
2775
|
attr_accessor log: Types::LogConfiguration
|
2776
|
+
attr_accessor host_configuration: Types::HostConfiguration
|
2766
2777
|
SENSITIVE: []
|
2767
2778
|
end
|
2768
2779
|
|