aws-sdk-deadline 1.23.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: 91530cd74aed3270b8e51012232ec8696bc8118186cb75f1bccec6910779acba
4
- data.tar.gz: b34cb73fc604aec20e20d89797909154cbcccfb17573aaadda4fc1247c2d93ac
3
+ metadata.gz: 1a830728a01b0516e48afd4d12b76852765fe0e08f30790ab7c44df804581b0a
4
+ data.tar.gz: b2eef35b47cde8f5b7233928103c5b0a64e893eab1c4e2142e07081f38b4f95f
5
5
  SHA512:
6
- metadata.gz: a9227eda346b7ad13831a6421b00932fb21e4d99f84753ba058bab9a47d872f5cda08b3f0eec384479c2db897cc3b3fb619d342720ee78102a156e29ff7b1c89
7
- data.tar.gz: 041cafdc9f5350dbbd0c7b3f5eb68ce2da2fb60be489a0b708f0aaf1ff747e31bf0421dbba5e86b903ed11c0e10731bf3e26cfd528da4bfa9f712ac412b59670
6
+ metadata.gz: 1c32f551a6849deb68fac34c53137185560dd2d9e3ac6c7672c4a41f9486d6b5fba2b0164a7128109812007207281e1f1fa24d39826595e6e98131603105dc17
7
+ data.tar.gz: df8428053b51be1cde3b5877c5913fa45401b5ac95bd72e7774af5160c395cd1d3efce1ce01b4f1b84901d353732402cbc49fd6e0c8d7b8da6f9da59a7773448
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
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
+
9
+ 1.24.0 (2025-05-01)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.23.0 (2025-04-30)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.23.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.23.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')
@@ -853,7 +856,7 @@ module Aws::Deadline
853
856
  BudgetSummary.add_member(:usage_tracking_resource, Shapes::ShapeRef.new(shape: UsageTrackingResource, required: true, location_name: "usageTrackingResource"))
854
857
  BudgetSummary.add_member(:status, Shapes::ShapeRef.new(shape: BudgetStatus, required: true, location_name: "status"))
855
858
  BudgetSummary.add_member(:display_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "displayName"))
856
- BudgetSummary.add_member(:description, Shapes::ShapeRef.new(shape: Description, deprecated: true, location_name: "description", metadata: {"deprecatedMessage"=>"ListBudgets no longer supports description. Use GetBudget if description is needed."}))
859
+ BudgetSummary.add_member(:description, Shapes::ShapeRef.new(shape: Description, deprecated: true, location_name: "description", metadata: {"deprecatedMessage" => "ListBudgets no longer supports description. Use GetBudget if description is needed."}))
857
860
  BudgetSummary.add_member(:approximate_dollar_limit, Shapes::ShapeRef.new(shape: ConsumedUsageLimit, required: true, location_name: "approximateDollarLimit"))
858
861
  BudgetSummary.add_member(:usages, Shapes::ShapeRef.new(shape: ConsumedUsages, required: true, location_name: "usages"))
859
862
  BudgetSummary.add_member(:created_by, Shapes::ShapeRef.new(shape: CreatedBy, required: true, location_name: "createdBy"))
@@ -884,7 +887,7 @@ module Aws::Deadline
884
887
  CopyJobTemplateResponse.add_member(:template_type, Shapes::ShapeRef.new(shape: JobTemplateType, required: true, location_name: "templateType"))
885
888
  CopyJobTemplateResponse.struct_class = Types::CopyJobTemplateResponse
886
889
 
887
- CreateBudgetRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "header", location_name: "X-Amz-Client-Token", metadata: {"idempotencyToken"=>true}))
890
+ CreateBudgetRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "header", location_name: "X-Amz-Client-Token", metadata: {"idempotencyToken" => true}))
888
891
  CreateBudgetRequest.add_member(:farm_id, Shapes::ShapeRef.new(shape: FarmId, required: true, location: "uri", location_name: "farmId"))
889
892
  CreateBudgetRequest.add_member(:usage_tracking_resource, Shapes::ShapeRef.new(shape: UsageTrackingResource, required: true, location_name: "usageTrackingResource"))
890
893
  CreateBudgetRequest.add_member(:display_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "displayName"))
@@ -897,7 +900,7 @@ module Aws::Deadline
897
900
  CreateBudgetResponse.add_member(:budget_id, Shapes::ShapeRef.new(shape: BudgetId, required: true, location_name: "budgetId"))
898
901
  CreateBudgetResponse.struct_class = Types::CreateBudgetResponse
899
902
 
900
- CreateFarmRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "header", location_name: "X-Amz-Client-Token", metadata: {"idempotencyToken"=>true}))
903
+ CreateFarmRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "header", location_name: "X-Amz-Client-Token", metadata: {"idempotencyToken" => true}))
901
904
  CreateFarmRequest.add_member(:display_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "displayName"))
902
905
  CreateFarmRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
903
906
  CreateFarmRequest.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "kmsKeyArn"))
@@ -907,7 +910,7 @@ module Aws::Deadline
907
910
  CreateFarmResponse.add_member(:farm_id, Shapes::ShapeRef.new(shape: FarmId, required: true, location_name: "farmId"))
908
911
  CreateFarmResponse.struct_class = Types::CreateFarmResponse
909
912
 
910
- CreateFleetRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "header", location_name: "X-Amz-Client-Token", metadata: {"idempotencyToken"=>true}))
913
+ CreateFleetRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "header", location_name: "X-Amz-Client-Token", metadata: {"idempotencyToken" => true}))
911
914
  CreateFleetRequest.add_member(:farm_id, Shapes::ShapeRef.new(shape: FarmId, required: true, location: "uri", location_name: "farmId"))
912
915
  CreateFleetRequest.add_member(:display_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "displayName"))
913
916
  CreateFleetRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
@@ -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"))
@@ -923,7 +927,7 @@ module Aws::Deadline
923
927
 
924
928
  CreateJobRequest.add_member(:farm_id, Shapes::ShapeRef.new(shape: FarmId, required: true, location: "uri", location_name: "farmId"))
925
929
  CreateJobRequest.add_member(:queue_id, Shapes::ShapeRef.new(shape: QueueId, required: true, location: "uri", location_name: "queueId"))
926
- CreateJobRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "header", location_name: "X-Amz-Client-Token", metadata: {"idempotencyToken"=>true}))
930
+ CreateJobRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "header", location_name: "X-Amz-Client-Token", metadata: {"idempotencyToken" => true}))
927
931
  CreateJobRequest.add_member(:template, Shapes::ShapeRef.new(shape: JobTemplate, location_name: "template"))
928
932
  CreateJobRequest.add_member(:template_type, Shapes::ShapeRef.new(shape: JobTemplateType, location_name: "templateType"))
929
933
  CreateJobRequest.add_member(:priority, Shapes::ShapeRef.new(shape: JobPriority, required: true, location_name: "priority"))
@@ -940,7 +944,7 @@ module Aws::Deadline
940
944
  CreateJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "jobId"))
941
945
  CreateJobResponse.struct_class = Types::CreateJobResponse
942
946
 
943
- CreateLicenseEndpointRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "header", location_name: "X-Amz-Client-Token", metadata: {"idempotencyToken"=>true}))
947
+ CreateLicenseEndpointRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "header", location_name: "X-Amz-Client-Token", metadata: {"idempotencyToken" => true}))
944
948
  CreateLicenseEndpointRequest.add_member(:vpc_id, Shapes::ShapeRef.new(shape: VpcId, required: true, location_name: "vpcId"))
945
949
  CreateLicenseEndpointRequest.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: CreateLicenseEndpointRequestSubnetIdsList, required: true, location_name: "subnetIds"))
946
950
  CreateLicenseEndpointRequest.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: CreateLicenseEndpointRequestSecurityGroupIdsList, required: true, location_name: "securityGroupIds"))
@@ -954,7 +958,7 @@ module Aws::Deadline
954
958
  CreateLicenseEndpointResponse.add_member(:license_endpoint_id, Shapes::ShapeRef.new(shape: LicenseEndpointId, required: true, location_name: "licenseEndpointId"))
955
959
  CreateLicenseEndpointResponse.struct_class = Types::CreateLicenseEndpointResponse
956
960
 
957
- CreateLimitRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "header", location_name: "X-Amz-Client-Token", metadata: {"idempotencyToken"=>true}))
961
+ CreateLimitRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "header", location_name: "X-Amz-Client-Token", metadata: {"idempotencyToken" => true}))
958
962
  CreateLimitRequest.add_member(:display_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "displayName"))
959
963
  CreateLimitRequest.add_member(:amount_requirement_name, Shapes::ShapeRef.new(shape: AmountRequirementName, required: true, location_name: "amountRequirementName"))
960
964
  CreateLimitRequest.add_member(:max_count, Shapes::ShapeRef.new(shape: MaxCount, required: true, location_name: "maxCount"))
@@ -965,7 +969,7 @@ module Aws::Deadline
965
969
  CreateLimitResponse.add_member(:limit_id, Shapes::ShapeRef.new(shape: LimitId, required: true, location_name: "limitId"))
966
970
  CreateLimitResponse.struct_class = Types::CreateLimitResponse
967
971
 
968
- CreateMonitorRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "header", location_name: "X-Amz-Client-Token", metadata: {"idempotencyToken"=>true}))
972
+ CreateMonitorRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "header", location_name: "X-Amz-Client-Token", metadata: {"idempotencyToken" => true}))
969
973
  CreateMonitorRequest.add_member(:display_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "displayName"))
970
974
  CreateMonitorRequest.add_member(:identity_center_instance_arn, Shapes::ShapeRef.new(shape: IdentityCenterInstanceArn, required: true, location_name: "identityCenterInstanceArn"))
971
975
  CreateMonitorRequest.add_member(:subdomain, Shapes::ShapeRef.new(shape: Subdomain, required: true, location_name: "subdomain"))
@@ -976,7 +980,7 @@ module Aws::Deadline
976
980
  CreateMonitorResponse.add_member(:identity_center_application_arn, Shapes::ShapeRef.new(shape: IdentityCenterApplicationArn, required: true, location_name: "identityCenterApplicationArn"))
977
981
  CreateMonitorResponse.struct_class = Types::CreateMonitorResponse
978
982
 
979
- CreateQueueEnvironmentRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "header", location_name: "X-Amz-Client-Token", metadata: {"idempotencyToken"=>true}))
983
+ CreateQueueEnvironmentRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "header", location_name: "X-Amz-Client-Token", metadata: {"idempotencyToken" => true}))
980
984
  CreateQueueEnvironmentRequest.add_member(:farm_id, Shapes::ShapeRef.new(shape: FarmId, required: true, location: "uri", location_name: "farmId"))
981
985
  CreateQueueEnvironmentRequest.add_member(:queue_id, Shapes::ShapeRef.new(shape: QueueId, required: true, location: "uri", location_name: "queueId"))
982
986
  CreateQueueEnvironmentRequest.add_member(:priority, Shapes::ShapeRef.new(shape: Priority, required: true, location_name: "priority"))
@@ -1001,7 +1005,7 @@ module Aws::Deadline
1001
1005
 
1002
1006
  CreateQueueLimitAssociationResponse.struct_class = Types::CreateQueueLimitAssociationResponse
1003
1007
 
1004
- CreateQueueRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "header", location_name: "X-Amz-Client-Token", metadata: {"idempotencyToken"=>true}))
1008
+ CreateQueueRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "header", location_name: "X-Amz-Client-Token", metadata: {"idempotencyToken" => true}))
1005
1009
  CreateQueueRequest.add_member(:farm_id, Shapes::ShapeRef.new(shape: FarmId, required: true, location: "uri", location_name: "farmId"))
1006
1010
  CreateQueueRequest.add_member(:display_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "displayName"))
1007
1011
  CreateQueueRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
@@ -1017,7 +1021,7 @@ module Aws::Deadline
1017
1021
  CreateQueueResponse.add_member(:queue_id, Shapes::ShapeRef.new(shape: QueueId, required: true, location_name: "queueId"))
1018
1022
  CreateQueueResponse.struct_class = Types::CreateQueueResponse
1019
1023
 
1020
- CreateStorageProfileRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "header", location_name: "X-Amz-Client-Token", metadata: {"idempotencyToken"=>true}))
1024
+ CreateStorageProfileRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "header", location_name: "X-Amz-Client-Token", metadata: {"idempotencyToken" => true}))
1021
1025
  CreateStorageProfileRequest.add_member(:farm_id, Shapes::ShapeRef.new(shape: FarmId, required: true, location: "uri", location_name: "farmId"))
1022
1026
  CreateStorageProfileRequest.add_member(:display_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "displayName"))
1023
1027
  CreateStorageProfileRequest.add_member(:os_family, Shapes::ShapeRef.new(shape: StorageProfileOperatingSystemFamily, required: true, location_name: "osFamily"))
@@ -1030,7 +1034,7 @@ module Aws::Deadline
1030
1034
  CreateWorkerRequest.add_member(:farm_id, Shapes::ShapeRef.new(shape: FarmId, required: true, location: "uri", location_name: "farmId"))
1031
1035
  CreateWorkerRequest.add_member(:fleet_id, Shapes::ShapeRef.new(shape: FleetId, required: true, location: "uri", location_name: "fleetId"))
1032
1036
  CreateWorkerRequest.add_member(:host_properties, Shapes::ShapeRef.new(shape: HostPropertiesRequest, location_name: "hostProperties"))
1033
- CreateWorkerRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "header", location_name: "X-Amz-Client-Token", metadata: {"idempotencyToken"=>true}))
1037
+ CreateWorkerRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "header", location_name: "X-Amz-Client-Token", metadata: {"idempotencyToken" => true}))
1034
1038
  CreateWorkerRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
1035
1039
  CreateWorkerRequest.struct_class = Types::CreateWorkerRequest
1036
1040
 
@@ -1074,7 +1078,7 @@ module Aws::Deadline
1074
1078
 
1075
1079
  DeleteFarmResponse.struct_class = Types::DeleteFarmResponse
1076
1080
 
1077
- DeleteFleetRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "header", location_name: "X-Amz-Client-Token", metadata: {"idempotencyToken"=>true}))
1081
+ DeleteFleetRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "header", location_name: "X-Amz-Client-Token", metadata: {"idempotencyToken" => true}))
1078
1082
  DeleteFleetRequest.add_member(:farm_id, Shapes::ShapeRef.new(shape: FarmId, required: true, location: "uri", location_name: "farmId"))
1079
1083
  DeleteFleetRequest.add_member(:fleet_id, Shapes::ShapeRef.new(shape: FleetId, required: true, location: "uri", location_name: "fleetId"))
1080
1084
  DeleteFleetRequest.struct_class = Types::DeleteFleetRequest
@@ -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
@@ -2701,7 +2710,7 @@ module Aws::Deadline
2701
2710
 
2702
2711
  UntagResourceResponse.struct_class = Types::UntagResourceResponse
2703
2712
 
2704
- UpdateBudgetRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "header", location_name: "X-Amz-Client-Token", metadata: {"idempotencyToken"=>true}))
2713
+ UpdateBudgetRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "header", location_name: "X-Amz-Client-Token", metadata: {"idempotencyToken" => true}))
2705
2714
  UpdateBudgetRequest.add_member(:farm_id, Shapes::ShapeRef.new(shape: FarmId, required: true, location: "uri", location_name: "farmId"))
2706
2715
  UpdateBudgetRequest.add_member(:budget_id, Shapes::ShapeRef.new(shape: BudgetId, required: true, location: "uri", location_name: "budgetId"))
2707
2716
  UpdateBudgetRequest.add_member(:display_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "displayName"))
@@ -2722,7 +2731,7 @@ module Aws::Deadline
2722
2731
 
2723
2732
  UpdateFarmResponse.struct_class = Types::UpdateFarmResponse
2724
2733
 
2725
- UpdateFleetRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "header", location_name: "X-Amz-Client-Token", metadata: {"idempotencyToken"=>true}))
2734
+ UpdateFleetRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "header", location_name: "X-Amz-Client-Token", metadata: {"idempotencyToken" => true}))
2726
2735
  UpdateFleetRequest.add_member(:farm_id, Shapes::ShapeRef.new(shape: FarmId, required: true, location: "uri", location_name: "farmId"))
2727
2736
  UpdateFleetRequest.add_member(:fleet_id, Shapes::ShapeRef.new(shape: FleetId, required: true, location: "uri", location_name: "fleetId"))
2728
2737
  UpdateFleetRequest.add_member(:display_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "displayName"))
@@ -2731,11 +2740,12 @@ 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
2737
2747
 
2738
- UpdateJobRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "header", location_name: "X-Amz-Client-Token", metadata: {"idempotencyToken"=>true}))
2748
+ UpdateJobRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "header", location_name: "X-Amz-Client-Token", metadata: {"idempotencyToken" => true}))
2739
2749
  UpdateJobRequest.add_member(:target_task_run_status, Shapes::ShapeRef.new(shape: JobTargetTaskRunStatus, location_name: "targetTaskRunStatus"))
2740
2750
  UpdateJobRequest.add_member(:priority, Shapes::ShapeRef.new(shape: JobPriority, location_name: "priority"))
2741
2751
  UpdateJobRequest.add_member(:max_failed_tasks_count, Shapes::ShapeRef.new(shape: MaxFailedTasksCount, location_name: "maxFailedTasksCount"))
@@ -2766,7 +2776,7 @@ module Aws::Deadline
2766
2776
 
2767
2777
  UpdateMonitorResponse.struct_class = Types::UpdateMonitorResponse
2768
2778
 
2769
- UpdateQueueEnvironmentRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "header", location_name: "X-Amz-Client-Token", metadata: {"idempotencyToken"=>true}))
2779
+ UpdateQueueEnvironmentRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "header", location_name: "X-Amz-Client-Token", metadata: {"idempotencyToken" => true}))
2770
2780
  UpdateQueueEnvironmentRequest.add_member(:farm_id, Shapes::ShapeRef.new(shape: FarmId, required: true, location: "uri", location_name: "farmId"))
2771
2781
  UpdateQueueEnvironmentRequest.add_member(:queue_id, Shapes::ShapeRef.new(shape: QueueId, required: true, location: "uri", location_name: "queueId"))
2772
2782
  UpdateQueueEnvironmentRequest.add_member(:queue_environment_id, Shapes::ShapeRef.new(shape: QueueEnvironmentId, required: true, location: "uri", location_name: "queueEnvironmentId"))
@@ -2793,7 +2803,7 @@ module Aws::Deadline
2793
2803
 
2794
2804
  UpdateQueueLimitAssociationResponse.struct_class = Types::UpdateQueueLimitAssociationResponse
2795
2805
 
2796
- UpdateQueueRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "header", location_name: "X-Amz-Client-Token", metadata: {"idempotencyToken"=>true}))
2806
+ UpdateQueueRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "header", location_name: "X-Amz-Client-Token", metadata: {"idempotencyToken" => true}))
2797
2807
  UpdateQueueRequest.add_member(:farm_id, Shapes::ShapeRef.new(shape: FarmId, required: true, location: "uri", location_name: "farmId"))
2798
2808
  UpdateQueueRequest.add_member(:queue_id, Shapes::ShapeRef.new(shape: QueueId, required: true, location: "uri", location_name: "queueId"))
2799
2809
  UpdateQueueRequest.add_member(:display_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "displayName"))
@@ -2810,7 +2820,7 @@ module Aws::Deadline
2810
2820
 
2811
2821
  UpdateQueueResponse.struct_class = Types::UpdateQueueResponse
2812
2822
 
2813
- UpdateSessionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "header", location_name: "X-Amz-Client-Token", metadata: {"idempotencyToken"=>true}))
2823
+ UpdateSessionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "header", location_name: "X-Amz-Client-Token", metadata: {"idempotencyToken" => true}))
2814
2824
  UpdateSessionRequest.add_member(:target_lifecycle_status, Shapes::ShapeRef.new(shape: SessionLifecycleTargetStatus, required: true, location_name: "targetLifecycleStatus"))
2815
2825
  UpdateSessionRequest.add_member(:farm_id, Shapes::ShapeRef.new(shape: FarmId, required: true, location: "uri", location_name: "farmId"))
2816
2826
  UpdateSessionRequest.add_member(:queue_id, Shapes::ShapeRef.new(shape: QueueId, required: true, location: "uri", location_name: "queueId"))
@@ -2821,7 +2831,7 @@ module Aws::Deadline
2821
2831
  UpdateSessionResponse.struct_class = Types::UpdateSessionResponse
2822
2832
 
2823
2833
  UpdateStepRequest.add_member(:target_task_run_status, Shapes::ShapeRef.new(shape: StepTargetTaskRunStatus, required: true, location_name: "targetTaskRunStatus"))
2824
- UpdateStepRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "header", location_name: "X-Amz-Client-Token", metadata: {"idempotencyToken"=>true}))
2834
+ UpdateStepRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "header", location_name: "X-Amz-Client-Token", metadata: {"idempotencyToken" => true}))
2825
2835
  UpdateStepRequest.add_member(:farm_id, Shapes::ShapeRef.new(shape: FarmId, required: true, location: "uri", location_name: "farmId"))
2826
2836
  UpdateStepRequest.add_member(:queue_id, Shapes::ShapeRef.new(shape: QueueId, required: true, location: "uri", location_name: "queueId"))
2827
2837
  UpdateStepRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location: "uri", location_name: "jobId"))
@@ -2830,7 +2840,7 @@ module Aws::Deadline
2830
2840
 
2831
2841
  UpdateStepResponse.struct_class = Types::UpdateStepResponse
2832
2842
 
2833
- UpdateStorageProfileRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "header", location_name: "X-Amz-Client-Token", metadata: {"idempotencyToken"=>true}))
2843
+ UpdateStorageProfileRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "header", location_name: "X-Amz-Client-Token", metadata: {"idempotencyToken" => true}))
2834
2844
  UpdateStorageProfileRequest.add_member(:farm_id, Shapes::ShapeRef.new(shape: FarmId, required: true, location: "uri", location_name: "farmId"))
2835
2845
  UpdateStorageProfileRequest.add_member(:storage_profile_id, Shapes::ShapeRef.new(shape: StorageProfileId, required: true, location: "uri", location_name: "storageProfileId"))
2836
2846
  UpdateStorageProfileRequest.add_member(:display_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "displayName"))
@@ -2841,7 +2851,7 @@ module Aws::Deadline
2841
2851
 
2842
2852
  UpdateStorageProfileResponse.struct_class = Types::UpdateStorageProfileResponse
2843
2853
 
2844
- UpdateTaskRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "header", location_name: "X-Amz-Client-Token", metadata: {"idempotencyToken"=>true}))
2854
+ UpdateTaskRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "header", location_name: "X-Amz-Client-Token", metadata: {"idempotencyToken" => true}))
2845
2855
  UpdateTaskRequest.add_member(:target_run_status, Shapes::ShapeRef.new(shape: TaskTargetRunStatus, required: true, location_name: "targetRunStatus"))
2846
2856
  UpdateTaskRequest.add_member(:farm_id, Shapes::ShapeRef.new(shape: FarmId, required: true, location: "uri", location_name: "farmId"))
2847
2857
  UpdateTaskRequest.add_member(:queue_id, Shapes::ShapeRef.new(shape: QueueId, required: true, location: "uri", location_name: "queueId"))
@@ -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.23.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,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-deadline
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.23.0
4
+ version: 1.25.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2025-04-30 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: aws-sdk-core
@@ -78,7 +77,6 @@ licenses:
78
77
  metadata:
79
78
  source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-deadline
80
79
  changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-deadline/CHANGELOG.md
81
- post_install_message:
82
80
  rdoc_options: []
83
81
  require_paths:
84
82
  - lib
@@ -93,8 +91,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
93
91
  - !ruby/object:Gem::Version
94
92
  version: '0'
95
93
  requirements: []
96
- rubygems_version: 3.4.10
97
- signing_key:
94
+ rubygems_version: 3.6.7
98
95
  specification_version: 4
99
96
  summary: AWS SDK for Ruby - AWSDeadlineCloud
100
97
  test_files: []