aws-sdk-deadline 1.24.0 → 1.25.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0a6489b88c0f427a7bd475c1bb01ad5e5cc5158298060f6852f33f85f30f7704
4
- data.tar.gz: b4bc3e505dbd71900a481780d3f84cb25de515fd795c044f76fac4e4b5b4a0da
3
+ metadata.gz: 1a830728a01b0516e48afd4d12b76852765fe0e08f30790ab7c44df804581b0a
4
+ data.tar.gz: b2eef35b47cde8f5b7233928103c5b0a64e893eab1c4e2142e07081f38b4f95f
5
5
  SHA512:
6
- metadata.gz: e6289f5bb70f0194897bb89de7c434357db70b3e43515671f637c4018e7b56f74804306658bab94319d3cf40a27f2d39d68a54b11820f1894f1d50f05689ce0d
7
- data.tar.gz: 5e18a930736fc2893fd33ffcc4288b85f03d35421a131633e278ac0c493150062759d7720f7fee54d722b272b842a5161d2877860b653f1d9eb3a068342fcdf2
6
+ metadata.gz: 1c32f551a6849deb68fac34c53137185560dd2d9e3ac6c7672c4a41f9486d6b5fba2b0164a7128109812007207281e1f1fa24d39826595e6e98131603105dc17
7
+ data.tar.gz: df8428053b51be1cde3b5877c5913fa45401b5ac95bd72e7774af5160c395cd1d3efce1ce01b4f1b84901d353732402cbc49fd6e0c8d7b8da6f9da59a7773448
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.25.0 (2025-05-12)
5
+ ------------------
6
+
7
+ * 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.
8
+
4
9
  1.24.0 (2025-05-01)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.24.0
1
+ 1.25.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
- # Set to true to disable SDK automatically adding host prefix
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
@@ -1285,6 +1297,10 @@ module Aws::Deadline
1285
1297
  # tags: {
1286
1298
  # "String" => "String",
1287
1299
  # },
1300
+ # host_configuration: {
1301
+ # script_body: "HostConfigurationScript", # required
1302
+ # script_timeout_seconds: 1,
1303
+ # },
1288
1304
  # })
1289
1305
  #
1290
1306
  # @example Response structure
@@ -1898,6 +1914,15 @@ module Aws::Deadline
1898
1914
  # instance types to use, or let the worker know which instances types to
1899
1915
  # exclude.
1900
1916
  #
1917
+ # Deadline Cloud limits the number of workers to less than or equal to
1918
+ # the fleet's maximum worker count. The service maintains eventual
1919
+ # consistency for the worker count. If you make multiple rapid calls to
1920
+ # `CreateWorker` before the field updates, you might exceed your
1921
+ # fleet's maximum worker count. For example, if your `maxWorkerCount`
1922
+ # is 10 and you currently have 9 workers, making two quick
1923
+ # `CreateWorker` calls might successfully create 2 workers instead of 1,
1924
+ # resulting in 11 total workers.
1925
+ #
1901
1926
  # @option params [required, String] :farm_id
1902
1927
  # The farm ID of the farm to connect to the worker.
1903
1928
  #
@@ -2565,6 +2590,7 @@ module Aws::Deadline
2565
2590
  # * {Types::GetFleetResponse#min_worker_count #min_worker_count} => Integer
2566
2591
  # * {Types::GetFleetResponse#max_worker_count #max_worker_count} => Integer
2567
2592
  # * {Types::GetFleetResponse#configuration #configuration} => Types::FleetConfiguration
2593
+ # * {Types::GetFleetResponse#host_configuration #host_configuration} => Types::HostConfiguration
2568
2594
  # * {Types::GetFleetResponse#capabilities #capabilities} => Types::FleetCapabilities
2569
2595
  # * {Types::GetFleetResponse#role_arn #role_arn} => String
2570
2596
  # * {Types::GetFleetResponse#created_at #created_at} => Time
@@ -2641,6 +2667,8 @@ module Aws::Deadline
2641
2667
  # resp.configuration.service_managed_ec2.instance_capabilities.custom_attributes[0].values #=> Array
2642
2668
  # resp.configuration.service_managed_ec2.instance_capabilities.custom_attributes[0].values[0] #=> String
2643
2669
  # resp.configuration.service_managed_ec2.instance_market_options.type #=> String, one of "on-demand", "spot"
2670
+ # resp.host_configuration.script_body #=> String
2671
+ # resp.host_configuration.script_timeout_seconds #=> Integer
2644
2672
  # resp.capabilities.amounts #=> Array
2645
2673
  # resp.capabilities.amounts[0].name #=> String
2646
2674
  # resp.capabilities.amounts[0].min #=> Float
@@ -6120,9 +6148,22 @@ module Aws::Deadline
6120
6148
  # @option params [Integer] :max_worker_count
6121
6149
  # The maximum number of workers in the fleet.
6122
6150
  #
6151
+ # Deadline Cloud limits the number of workers to less than or equal to
6152
+ # the fleet's maximum worker count. The service maintains eventual
6153
+ # consistency for the worker count. If you make multiple rapid calls to
6154
+ # `CreateWorker` before the field updates, you might exceed your
6155
+ # fleet's maximum worker count. For example, if your `maxWorkerCount`
6156
+ # is 10 and you currently have 9 workers, making two quick
6157
+ # `CreateWorker` calls might successfully create 2 workers instead of 1,
6158
+ # resulting in 11 total workers.
6159
+ #
6123
6160
  # @option params [Types::FleetConfiguration] :configuration
6124
6161
  # The fleet configuration to update.
6125
6162
  #
6163
+ # @option params [Types::HostConfiguration] :host_configuration
6164
+ # Provides a script that runs as a worker is starting up that you can
6165
+ # use to provide additional configuration for workers in your fleet.
6166
+ #
6126
6167
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
6127
6168
  #
6128
6169
  # @example Request syntax with placeholder values
@@ -6226,6 +6267,10 @@ module Aws::Deadline
6226
6267
  # },
6227
6268
  # },
6228
6269
  # },
6270
+ # host_configuration: {
6271
+ # script_body: "HostConfigurationScript", # required
6272
+ # script_timeout_seconds: 1,
6273
+ # },
6229
6274
  # })
6230
6275
  #
6231
6276
  # @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/UpdateFleet AWS API Documentation
@@ -6865,6 +6910,7 @@ module Aws::Deadline
6865
6910
  # @return [Types::UpdateWorkerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6866
6911
  #
6867
6912
  # * {Types::UpdateWorkerResponse#log #log} => Types::LogConfiguration
6913
+ # * {Types::UpdateWorkerResponse#host_configuration #host_configuration} => Types::HostConfiguration
6868
6914
  #
6869
6915
  # @example Request syntax with placeholder values
6870
6916
  #
@@ -6904,6 +6950,8 @@ module Aws::Deadline
6904
6950
  # resp.log.parameters #=> Hash
6905
6951
  # resp.log.parameters["String"] #=> String
6906
6952
  # resp.log.error #=> String
6953
+ # resp.host_configuration.script_body #=> String
6954
+ # resp.host_configuration.script_timeout_seconds #=> Integer
6907
6955
  #
6908
6956
  # @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/UpdateWorker AWS API Documentation
6909
6957
  #
@@ -7010,7 +7058,7 @@ module Aws::Deadline
7010
7058
  tracer: tracer
7011
7059
  )
7012
7060
  context[:gem_name] = 'aws-sdk-deadline'
7013
- context[:gem_version] = '1.24.0'
7061
+ context[:gem_version] = '1.25.0'
7014
7062
  Seahorse::Client::Request.new(handlers, context)
7015
7063
  end
7016
7064
 
@@ -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
@@ -2731,6 +2740,7 @@ module Aws::Deadline
2731
2740
  UpdateFleetRequest.add_member(:min_worker_count, Shapes::ShapeRef.new(shape: MinZeroMaxInteger, location_name: "minWorkerCount"))
2732
2741
  UpdateFleetRequest.add_member(:max_worker_count, Shapes::ShapeRef.new(shape: MinZeroMaxInteger, location_name: "maxWorkerCount"))
2733
2742
  UpdateFleetRequest.add_member(:configuration, Shapes::ShapeRef.new(shape: FleetConfiguration, location_name: "configuration"))
2743
+ UpdateFleetRequest.add_member(:host_configuration, Shapes::ShapeRef.new(shape: HostConfiguration, location_name: "hostConfiguration"))
2734
2744
  UpdateFleetRequest.struct_class = Types::UpdateFleetRequest
2735
2745
 
2736
2746
  UpdateFleetResponse.struct_class = Types::UpdateFleetResponse
@@ -2861,6 +2871,7 @@ module Aws::Deadline
2861
2871
  UpdateWorkerRequest.struct_class = Types::UpdateWorkerRequest
2862
2872
 
2863
2873
  UpdateWorkerResponse.add_member(:log, Shapes::ShapeRef.new(shape: LogConfiguration, location_name: "log"))
2874
+ UpdateWorkerResponse.add_member(:host_configuration, Shapes::ShapeRef.new(shape: HostConfiguration, location_name: "hostConfiguration"))
2864
2875
  UpdateWorkerResponse.struct_class = Types::UpdateWorkerResponse
2865
2876
 
2866
2877
  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
@@ -9372,12 +9446,26 @@ module Aws::Deadline
9372
9446
  #
9373
9447
  # @!attribute [rw] max_worker_count
9374
9448
  # The maximum number of workers in the fleet.
9449
+ #
9450
+ # Deadline Cloud limits the number of workers to less than or equal to
9451
+ # the fleet's maximum worker count. The service maintains eventual
9452
+ # consistency for the worker count. If you make multiple rapid calls
9453
+ # to `CreateWorker` before the field updates, you might exceed your
9454
+ # fleet's maximum worker count. For example, if your `maxWorkerCount`
9455
+ # is 10 and you currently have 9 workers, making two quick
9456
+ # `CreateWorker` calls might successfully create 2 workers instead of
9457
+ # 1, resulting in 11 total workers.
9375
9458
  # @return [Integer]
9376
9459
  #
9377
9460
  # @!attribute [rw] configuration
9378
9461
  # The fleet configuration to update.
9379
9462
  # @return [Types::FleetConfiguration]
9380
9463
  #
9464
+ # @!attribute [rw] host_configuration
9465
+ # Provides a script that runs as a worker is starting up that you can
9466
+ # use to provide additional configuration for workers in your fleet.
9467
+ # @return [Types::HostConfiguration]
9468
+ #
9381
9469
  # @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/UpdateFleetRequest AWS API Documentation
9382
9470
  #
9383
9471
  class UpdateFleetRequest < Struct.new(
@@ -9389,7 +9477,8 @@ module Aws::Deadline
9389
9477
  :role_arn,
9390
9478
  :min_worker_count,
9391
9479
  :max_worker_count,
9392
- :configuration)
9480
+ :configuration,
9481
+ :host_configuration)
9393
9482
  SENSITIVE = [:description]
9394
9483
  include Aws::Structure
9395
9484
  end
@@ -10006,10 +10095,16 @@ module Aws::Deadline
10006
10095
  # The worker log to update.
10007
10096
  # @return [Types::LogConfiguration]
10008
10097
  #
10098
+ # @!attribute [rw] host_configuration
10099
+ # The script that runs as a worker is starting up that you can use to
10100
+ # provide additional configuration for workers in your fleet.
10101
+ # @return [Types::HostConfiguration]
10102
+ #
10009
10103
  # @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/UpdateWorkerResponse AWS API Documentation
10010
10104
  #
10011
10105
  class UpdateWorkerResponse < Struct.new(
10012
- :log)
10106
+ :log,
10107
+ :host_configuration)
10013
10108
  SENSITIVE = []
10014
10109
  include Aws::Structure
10015
10110
  end
@@ -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.24.0'
58
+ GEM_VERSION = '1.25.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -385,7 +385,11 @@ module Aws
385
385
  }
386
386
  }?
387
387
  },
388
- ?tags: Hash[::String, ::String]
388
+ ?tags: Hash[::String, ::String],
389
+ ?host_configuration: {
390
+ script_body: ::String,
391
+ script_timeout_seconds: ::Integer?
392
+ }
389
393
  ) -> _CreateFleetResponseSuccess
390
394
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateFleetResponseSuccess
391
395
 
@@ -813,6 +817,7 @@ module Aws
813
817
  def min_worker_count: () -> ::Integer
814
818
  def max_worker_count: () -> ::Integer
815
819
  def configuration: () -> Types::FleetConfiguration
820
+ def host_configuration: () -> Types::HostConfiguration
816
821
  def capabilities: () -> Types::FleetCapabilities
817
822
  def role_arn: () -> ::String
818
823
  def created_at: () -> ::Time
@@ -2008,6 +2013,10 @@ module Aws
2008
2013
  type: ("on-demand" | "spot")
2009
2014
  }
2010
2015
  }?
2016
+ },
2017
+ ?host_configuration: {
2018
+ script_body: ::String,
2019
+ script_timeout_seconds: ::Integer?
2011
2020
  }
2012
2021
  ) -> _UpdateFleetResponseSuccess
2013
2022
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateFleetResponseSuccess
@@ -2201,6 +2210,7 @@ module Aws
2201
2210
  interface _UpdateWorkerResponseSuccess
2202
2211
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateWorkerResponse]
2203
2212
  def log: () -> Types::LogConfiguration
2213
+ def host_configuration: () -> Types::HostConfiguration
2204
2214
  end
2205
2215
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Deadline/Client.html#update_worker-instance_method
2206
2216
  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
@@ -2218,7 +2226,7 @@ module Aws::Deadline
2218
2226
 
2219
2227
  class ServiceQuotaExceededException
2220
2228
  attr_accessor message: ::String
2221
- attr_accessor reason: ("SERVICE_QUOTA_EXCEEDED_EXCEPTION" | "KMS_KEY_LIMIT_EXCEEDED")
2229
+ attr_accessor reason: ("SERVICE_QUOTA_EXCEEDED_EXCEPTION" | "KMS_KEY_LIMIT_EXCEEDED" | "DEPENDENCY_LIMIT_EXCEEDED")
2222
2230
  attr_accessor resource_type: ::String
2223
2231
  attr_accessor service_code: ::String
2224
2232
  attr_accessor quota_code: ::String
@@ -2595,6 +2603,7 @@ module Aws::Deadline
2595
2603
  attr_accessor min_worker_count: ::Integer
2596
2604
  attr_accessor max_worker_count: ::Integer
2597
2605
  attr_accessor configuration: Types::FleetConfiguration
2606
+ attr_accessor host_configuration: Types::HostConfiguration
2598
2607
  SENSITIVE: [:description]
2599
2608
  end
2600
2609
 
@@ -2763,6 +2772,7 @@ module Aws::Deadline
2763
2772
 
2764
2773
  class UpdateWorkerResponse
2765
2774
  attr_accessor log: Types::LogConfiguration
2775
+ attr_accessor host_configuration: Types::HostConfiguration
2766
2776
  SENSITIVE: []
2767
2777
  end
2768
2778
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-deadline
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.24.0
4
+ version: 1.25.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services