aws-sdk-deadline 1.48.0 → 1.49.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-deadline/client.rb +69 -1
- data/lib/aws-sdk-deadline/client_api.rb +56 -0
- data/lib/aws-sdk-deadline/types.rb +268 -15
- data/lib/aws-sdk-deadline.rb +1 -1
- data/sig/client.rbs +47 -2
- data/sig/types.rbs +67 -0
- 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: 116a5e4aca384cf9592283fd09af3bef76340eb363c0e3a805001efecc6489ec
|
|
4
|
+
data.tar.gz: 36fdcfd33de7cd32b442e9ce772840e1eaf1300c67c790a9914f9476339a727b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0c18a600c3e3de1bc718068b2150d0a6a38c89b1e5a88090f0b86f393f55655e2fe5ddec1a6b62d9209669b883b07a1fe510e6ce21c1b3fdbe64ca7aea65760a
|
|
7
|
+
data.tar.gz: 026b501b76095f0d39fdd3107c202d857c9fc0e159fa4ebb6e727df655fbc0d9837e7de6018d295e4c0fa6ba3a817f5041212a0047c3661226c711f3dcd07b6f
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.49.0 (2026-04-02)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - AWS Deadline Cloud now supports configurable scheduling on each queue. The scheduling configuration controls how workers are distributed across jobs.
|
|
8
|
+
|
|
4
9
|
1.48.0 (2026-03-30)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.49.0
|
|
@@ -1741,6 +1741,13 @@ module Aws::Deadline
|
|
|
1741
1741
|
# Each tag consists of a tag key and a tag value. Tag keys and values
|
|
1742
1742
|
# are both required, but tag values can be empty strings.
|
|
1743
1743
|
#
|
|
1744
|
+
# @option params [Types::SchedulingConfiguration] :scheduling_configuration
|
|
1745
|
+
# The scheduling configuration for the queue. This configuration
|
|
1746
|
+
# determines how workers are assigned to jobs in the queue.
|
|
1747
|
+
#
|
|
1748
|
+
# If not specified, the queue defaults to the `priorityFifo` scheduling
|
|
1749
|
+
# configuration.
|
|
1750
|
+
#
|
|
1744
1751
|
# @return [Types::CreateQueueResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1745
1752
|
#
|
|
1746
1753
|
# * {Types::CreateQueueResponse#queue_id #queue_id} => String
|
|
@@ -1774,6 +1781,28 @@ module Aws::Deadline
|
|
|
1774
1781
|
# tags: {
|
|
1775
1782
|
# "String" => "String",
|
|
1776
1783
|
# },
|
|
1784
|
+
# scheduling_configuration: {
|
|
1785
|
+
# priority_fifo: {
|
|
1786
|
+
# },
|
|
1787
|
+
# priority_balanced: {
|
|
1788
|
+
# rendering_task_buffer: 1,
|
|
1789
|
+
# },
|
|
1790
|
+
# weighted_balanced: {
|
|
1791
|
+
# priority_weight: 1.0,
|
|
1792
|
+
# error_weight: 1.0,
|
|
1793
|
+
# submission_time_weight: 1.0,
|
|
1794
|
+
# rendering_task_weight: 1.0,
|
|
1795
|
+
# rendering_task_buffer: 1,
|
|
1796
|
+
# max_priority_override: {
|
|
1797
|
+
# always_schedule_first: {
|
|
1798
|
+
# },
|
|
1799
|
+
# },
|
|
1800
|
+
# min_priority_override: {
|
|
1801
|
+
# always_schedule_last: {
|
|
1802
|
+
# },
|
|
1803
|
+
# },
|
|
1804
|
+
# },
|
|
1805
|
+
# },
|
|
1777
1806
|
# })
|
|
1778
1807
|
#
|
|
1779
1808
|
# @example Response structure
|
|
@@ -3045,6 +3074,7 @@ module Aws::Deadline
|
|
|
3045
3074
|
# * {Types::GetQueueResponse#required_file_system_location_names #required_file_system_location_names} => Array<String>
|
|
3046
3075
|
# * {Types::GetQueueResponse#allowed_storage_profile_ids #allowed_storage_profile_ids} => Array<String>
|
|
3047
3076
|
# * {Types::GetQueueResponse#job_run_as_user #job_run_as_user} => Types::JobRunAsUser
|
|
3077
|
+
# * {Types::GetQueueResponse#scheduling_configuration #scheduling_configuration} => Types::SchedulingConfiguration
|
|
3048
3078
|
#
|
|
3049
3079
|
# @example Request syntax with placeholder values
|
|
3050
3080
|
#
|
|
@@ -3078,6 +3108,12 @@ module Aws::Deadline
|
|
|
3078
3108
|
# resp.job_run_as_user.windows.user #=> String
|
|
3079
3109
|
# resp.job_run_as_user.windows.password_arn #=> String
|
|
3080
3110
|
# resp.job_run_as_user.run_as #=> String, one of "QUEUE_CONFIGURED_USER", "WORKER_AGENT_USER"
|
|
3111
|
+
# resp.scheduling_configuration.priority_balanced.rendering_task_buffer #=> Integer
|
|
3112
|
+
# resp.scheduling_configuration.weighted_balanced.priority_weight #=> Float
|
|
3113
|
+
# resp.scheduling_configuration.weighted_balanced.error_weight #=> Float
|
|
3114
|
+
# resp.scheduling_configuration.weighted_balanced.submission_time_weight #=> Float
|
|
3115
|
+
# resp.scheduling_configuration.weighted_balanced.rendering_task_weight #=> Float
|
|
3116
|
+
# resp.scheduling_configuration.weighted_balanced.rendering_task_buffer #=> Integer
|
|
3081
3117
|
#
|
|
3082
3118
|
#
|
|
3083
3119
|
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
|
@@ -6674,6 +6710,16 @@ module Aws::Deadline
|
|
|
6674
6710
|
# @option params [Array<String>] :allowed_storage_profile_ids_to_remove
|
|
6675
6711
|
# The storage profile ID to remove.
|
|
6676
6712
|
#
|
|
6713
|
+
# @option params [Types::SchedulingConfiguration] :scheduling_configuration
|
|
6714
|
+
# The scheduling configuration for the queue. This configuration
|
|
6715
|
+
# determines how workers are assigned to jobs in the queue.
|
|
6716
|
+
#
|
|
6717
|
+
# When updating the scheduling configuration, the entire configuration
|
|
6718
|
+
# is replaced.
|
|
6719
|
+
#
|
|
6720
|
+
# In-progress tasks run to completion before the new scheduling
|
|
6721
|
+
# configuration takes effect.
|
|
6722
|
+
#
|
|
6677
6723
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
6678
6724
|
#
|
|
6679
6725
|
# @example Request syntax with placeholder values
|
|
@@ -6705,6 +6751,28 @@ module Aws::Deadline
|
|
|
6705
6751
|
# required_file_system_location_names_to_remove: ["FileSystemLocationName"],
|
|
6706
6752
|
# allowed_storage_profile_ids_to_add: ["StorageProfileId"],
|
|
6707
6753
|
# allowed_storage_profile_ids_to_remove: ["StorageProfileId"],
|
|
6754
|
+
# scheduling_configuration: {
|
|
6755
|
+
# priority_fifo: {
|
|
6756
|
+
# },
|
|
6757
|
+
# priority_balanced: {
|
|
6758
|
+
# rendering_task_buffer: 1,
|
|
6759
|
+
# },
|
|
6760
|
+
# weighted_balanced: {
|
|
6761
|
+
# priority_weight: 1.0,
|
|
6762
|
+
# error_weight: 1.0,
|
|
6763
|
+
# submission_time_weight: 1.0,
|
|
6764
|
+
# rendering_task_weight: 1.0,
|
|
6765
|
+
# rendering_task_buffer: 1,
|
|
6766
|
+
# max_priority_override: {
|
|
6767
|
+
# always_schedule_first: {
|
|
6768
|
+
# },
|
|
6769
|
+
# },
|
|
6770
|
+
# min_priority_override: {
|
|
6771
|
+
# always_schedule_last: {
|
|
6772
|
+
# },
|
|
6773
|
+
# },
|
|
6774
|
+
# },
|
|
6775
|
+
# },
|
|
6708
6776
|
# })
|
|
6709
6777
|
#
|
|
6710
6778
|
# @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/UpdateQueue AWS API Documentation
|
|
@@ -7225,7 +7293,7 @@ module Aws::Deadline
|
|
|
7225
7293
|
tracer: tracer
|
|
7226
7294
|
)
|
|
7227
7295
|
context[:gem_name] = 'aws-sdk-deadline'
|
|
7228
|
-
context[:gem_version] = '1.
|
|
7296
|
+
context[:gem_version] = '1.49.0'
|
|
7229
7297
|
Seahorse::Client::Request.new(handlers, context)
|
|
7230
7298
|
end
|
|
7231
7299
|
|
|
@@ -432,6 +432,8 @@ module Aws::Deadline
|
|
|
432
432
|
PosixUserUserString = Shapes::StringShape.new(name: 'PosixUserUserString')
|
|
433
433
|
PrincipalType = Shapes::StringShape.new(name: 'PrincipalType')
|
|
434
434
|
Priority = Shapes::IntegerShape.new(name: 'Priority')
|
|
435
|
+
PriorityBalancedSchedulingConfiguration = Shapes::StructureShape.new(name: 'PriorityBalancedSchedulingConfiguration')
|
|
436
|
+
PriorityFifoSchedulingConfiguration = Shapes::StructureShape.new(name: 'PriorityFifoSchedulingConfiguration')
|
|
435
437
|
ProcessExitCode = Shapes::IntegerShape.new(name: 'ProcessExitCode')
|
|
436
438
|
PutMeteredProductRequest = Shapes::StructureShape.new(name: 'PutMeteredProductRequest')
|
|
437
439
|
PutMeteredProductResponse = Shapes::StructureShape.new(name: 'PutMeteredProductResponse')
|
|
@@ -462,6 +464,16 @@ module Aws::Deadline
|
|
|
462
464
|
S3Key = Shapes::StringShape.new(name: 'S3Key')
|
|
463
465
|
S3Location = Shapes::StructureShape.new(name: 'S3Location')
|
|
464
466
|
S3Prefix = Shapes::StringShape.new(name: 'S3Prefix')
|
|
467
|
+
SchedulingConfiguration = Shapes::UnionShape.new(name: 'SchedulingConfiguration')
|
|
468
|
+
SchedulingErrorWeight = Shapes::FloatShape.new(name: 'SchedulingErrorWeight')
|
|
469
|
+
SchedulingMaxPriorityOverride = Shapes::UnionShape.new(name: 'SchedulingMaxPriorityOverride')
|
|
470
|
+
SchedulingMaxPriorityOverrideAlwaysScheduleFirst = Shapes::StructureShape.new(name: 'SchedulingMaxPriorityOverrideAlwaysScheduleFirst')
|
|
471
|
+
SchedulingMinPriorityOverride = Shapes::UnionShape.new(name: 'SchedulingMinPriorityOverride')
|
|
472
|
+
SchedulingMinPriorityOverrideAlwaysScheduleLast = Shapes::StructureShape.new(name: 'SchedulingMinPriorityOverrideAlwaysScheduleLast')
|
|
473
|
+
SchedulingPriorityWeight = Shapes::FloatShape.new(name: 'SchedulingPriorityWeight')
|
|
474
|
+
SchedulingRenderingTaskBuffer = Shapes::IntegerShape.new(name: 'SchedulingRenderingTaskBuffer')
|
|
475
|
+
SchedulingRenderingTaskWeight = Shapes::FloatShape.new(name: 'SchedulingRenderingTaskWeight')
|
|
476
|
+
SchedulingSubmissionTimeWeight = Shapes::FloatShape.new(name: 'SchedulingSubmissionTimeWeight')
|
|
465
477
|
SearchFilterExpression = Shapes::UnionShape.new(name: 'SearchFilterExpression')
|
|
466
478
|
SearchFilterExpressions = Shapes::ListShape.new(name: 'SearchFilterExpressions')
|
|
467
479
|
SearchGroupedFilterExpressions = Shapes::StructureShape.new(name: 'SearchGroupedFilterExpressions')
|
|
@@ -660,6 +672,7 @@ module Aws::Deadline
|
|
|
660
672
|
VpcId = Shapes::StringShape.new(name: 'VpcId')
|
|
661
673
|
VpcResourceConfigurationArn = Shapes::StringShape.new(name: 'VpcResourceConfigurationArn')
|
|
662
674
|
VpcResourceConfigurationArns = Shapes::ListShape.new(name: 'VpcResourceConfigurationArns')
|
|
675
|
+
WeightedBalancedSchedulingConfiguration = Shapes::StructureShape.new(name: 'WeightedBalancedSchedulingConfiguration')
|
|
663
676
|
WindowsUser = Shapes::StructureShape.new(name: 'WindowsUser')
|
|
664
677
|
WindowsUserPasswordArnString = Shapes::StringShape.new(name: 'WindowsUserPasswordArnString')
|
|
665
678
|
WindowsUserUserString = Shapes::StringShape.new(name: 'WindowsUserUserString')
|
|
@@ -1044,6 +1057,7 @@ module Aws::Deadline
|
|
|
1044
1057
|
CreateQueueRequest.add_member(:required_file_system_location_names, Shapes::ShapeRef.new(shape: RequiredFileSystemLocationNames, location_name: "requiredFileSystemLocationNames"))
|
|
1045
1058
|
CreateQueueRequest.add_member(:allowed_storage_profile_ids, Shapes::ShapeRef.new(shape: AllowedStorageProfileIds, location_name: "allowedStorageProfileIds"))
|
|
1046
1059
|
CreateQueueRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
|
1060
|
+
CreateQueueRequest.add_member(:scheduling_configuration, Shapes::ShapeRef.new(shape: SchedulingConfiguration, location_name: "schedulingConfiguration"))
|
|
1047
1061
|
CreateQueueRequest.struct_class = Types::CreateQueueRequest
|
|
1048
1062
|
|
|
1049
1063
|
CreateQueueResponse.add_member(:queue_id, Shapes::ShapeRef.new(shape: QueueId, required: true, location_name: "queueId"))
|
|
@@ -1556,6 +1570,7 @@ module Aws::Deadline
|
|
|
1556
1570
|
GetQueueResponse.add_member(:required_file_system_location_names, Shapes::ShapeRef.new(shape: RequiredFileSystemLocationNames, location_name: "requiredFileSystemLocationNames"))
|
|
1557
1571
|
GetQueueResponse.add_member(:allowed_storage_profile_ids, Shapes::ShapeRef.new(shape: AllowedStorageProfileIds, location_name: "allowedStorageProfileIds"))
|
|
1558
1572
|
GetQueueResponse.add_member(:job_run_as_user, Shapes::ShapeRef.new(shape: JobRunAsUser, location_name: "jobRunAsUser"))
|
|
1573
|
+
GetQueueResponse.add_member(:scheduling_configuration, Shapes::ShapeRef.new(shape: SchedulingConfiguration, location_name: "schedulingConfiguration"))
|
|
1559
1574
|
GetQueueResponse.struct_class = Types::GetQueueResponse
|
|
1560
1575
|
|
|
1561
1576
|
GetSessionActionRequest.add_member(:farm_id, Shapes::ShapeRef.new(shape: FarmId, required: true, location: "uri", location_name: "farmId"))
|
|
@@ -2264,6 +2279,11 @@ module Aws::Deadline
|
|
|
2264
2279
|
PosixUser.add_member(:group, Shapes::ShapeRef.new(shape: PosixUserGroupString, required: true, location_name: "group"))
|
|
2265
2280
|
PosixUser.struct_class = Types::PosixUser
|
|
2266
2281
|
|
|
2282
|
+
PriorityBalancedSchedulingConfiguration.add_member(:rendering_task_buffer, Shapes::ShapeRef.new(shape: SchedulingRenderingTaskBuffer, location_name: "renderingTaskBuffer"))
|
|
2283
|
+
PriorityBalancedSchedulingConfiguration.struct_class = Types::PriorityBalancedSchedulingConfiguration
|
|
2284
|
+
|
|
2285
|
+
PriorityFifoSchedulingConfiguration.struct_class = Types::PriorityFifoSchedulingConfiguration
|
|
2286
|
+
|
|
2267
2287
|
PutMeteredProductRequest.add_member(:license_endpoint_id, Shapes::ShapeRef.new(shape: LicenseEndpointId, required: true, location: "uri", location_name: "licenseEndpointId"))
|
|
2268
2288
|
PutMeteredProductRequest.add_member(:product_id, Shapes::ShapeRef.new(shape: MeteredProductId, required: true, location: "uri", location_name: "productId"))
|
|
2269
2289
|
PutMeteredProductRequest.struct_class = Types::PutMeteredProductRequest
|
|
@@ -2342,6 +2362,32 @@ module Aws::Deadline
|
|
|
2342
2362
|
S3Location.add_member(:key, Shapes::ShapeRef.new(shape: S3Key, required: true, location_name: "key"))
|
|
2343
2363
|
S3Location.struct_class = Types::S3Location
|
|
2344
2364
|
|
|
2365
|
+
SchedulingConfiguration.add_member(:priority_fifo, Shapes::ShapeRef.new(shape: PriorityFifoSchedulingConfiguration, location_name: "priorityFifo"))
|
|
2366
|
+
SchedulingConfiguration.add_member(:priority_balanced, Shapes::ShapeRef.new(shape: PriorityBalancedSchedulingConfiguration, location_name: "priorityBalanced"))
|
|
2367
|
+
SchedulingConfiguration.add_member(:weighted_balanced, Shapes::ShapeRef.new(shape: WeightedBalancedSchedulingConfiguration, location_name: "weightedBalanced"))
|
|
2368
|
+
SchedulingConfiguration.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
2369
|
+
SchedulingConfiguration.add_member_subclass(:priority_fifo, Types::SchedulingConfiguration::PriorityFifo)
|
|
2370
|
+
SchedulingConfiguration.add_member_subclass(:priority_balanced, Types::SchedulingConfiguration::PriorityBalanced)
|
|
2371
|
+
SchedulingConfiguration.add_member_subclass(:weighted_balanced, Types::SchedulingConfiguration::WeightedBalanced)
|
|
2372
|
+
SchedulingConfiguration.add_member_subclass(:unknown, Types::SchedulingConfiguration::Unknown)
|
|
2373
|
+
SchedulingConfiguration.struct_class = Types::SchedulingConfiguration
|
|
2374
|
+
|
|
2375
|
+
SchedulingMaxPriorityOverride.add_member(:always_schedule_first, Shapes::ShapeRef.new(shape: SchedulingMaxPriorityOverrideAlwaysScheduleFirst, location_name: "alwaysScheduleFirst"))
|
|
2376
|
+
SchedulingMaxPriorityOverride.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
2377
|
+
SchedulingMaxPriorityOverride.add_member_subclass(:always_schedule_first, Types::SchedulingMaxPriorityOverride::AlwaysScheduleFirst)
|
|
2378
|
+
SchedulingMaxPriorityOverride.add_member_subclass(:unknown, Types::SchedulingMaxPriorityOverride::Unknown)
|
|
2379
|
+
SchedulingMaxPriorityOverride.struct_class = Types::SchedulingMaxPriorityOverride
|
|
2380
|
+
|
|
2381
|
+
SchedulingMaxPriorityOverrideAlwaysScheduleFirst.struct_class = Types::SchedulingMaxPriorityOverrideAlwaysScheduleFirst
|
|
2382
|
+
|
|
2383
|
+
SchedulingMinPriorityOverride.add_member(:always_schedule_last, Shapes::ShapeRef.new(shape: SchedulingMinPriorityOverrideAlwaysScheduleLast, location_name: "alwaysScheduleLast"))
|
|
2384
|
+
SchedulingMinPriorityOverride.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
2385
|
+
SchedulingMinPriorityOverride.add_member_subclass(:always_schedule_last, Types::SchedulingMinPriorityOverride::AlwaysScheduleLast)
|
|
2386
|
+
SchedulingMinPriorityOverride.add_member_subclass(:unknown, Types::SchedulingMinPriorityOverride::Unknown)
|
|
2387
|
+
SchedulingMinPriorityOverride.struct_class = Types::SchedulingMinPriorityOverride
|
|
2388
|
+
|
|
2389
|
+
SchedulingMinPriorityOverrideAlwaysScheduleLast.struct_class = Types::SchedulingMinPriorityOverrideAlwaysScheduleLast
|
|
2390
|
+
|
|
2345
2391
|
SearchFilterExpression.add_member(:date_time_filter, Shapes::ShapeRef.new(shape: DateTimeFilterExpression, location_name: "dateTimeFilter"))
|
|
2346
2392
|
SearchFilterExpression.add_member(:parameter_filter, Shapes::ShapeRef.new(shape: ParameterFilterExpression, location_name: "parameterFilter"))
|
|
2347
2393
|
SearchFilterExpression.add_member(:search_term_filter, Shapes::ShapeRef.new(shape: SearchTermFilterExpression, location_name: "searchTermFilter"))
|
|
@@ -2910,6 +2956,7 @@ module Aws::Deadline
|
|
|
2910
2956
|
UpdateQueueRequest.add_member(:required_file_system_location_names_to_remove, Shapes::ShapeRef.new(shape: RequiredFileSystemLocationNames, location_name: "requiredFileSystemLocationNamesToRemove"))
|
|
2911
2957
|
UpdateQueueRequest.add_member(:allowed_storage_profile_ids_to_add, Shapes::ShapeRef.new(shape: AllowedStorageProfileIds, location_name: "allowedStorageProfileIdsToAdd"))
|
|
2912
2958
|
UpdateQueueRequest.add_member(:allowed_storage_profile_ids_to_remove, Shapes::ShapeRef.new(shape: AllowedStorageProfileIds, location_name: "allowedStorageProfileIdsToRemove"))
|
|
2959
|
+
UpdateQueueRequest.add_member(:scheduling_configuration, Shapes::ShapeRef.new(shape: SchedulingConfiguration, location_name: "schedulingConfiguration"))
|
|
2913
2960
|
UpdateQueueRequest.struct_class = Types::UpdateQueueRequest
|
|
2914
2961
|
|
|
2915
2962
|
UpdateQueueResponse.struct_class = Types::UpdateQueueResponse
|
|
@@ -3027,6 +3074,15 @@ module Aws::Deadline
|
|
|
3027
3074
|
|
|
3028
3075
|
VpcResourceConfigurationArns.member = Shapes::ShapeRef.new(shape: VpcResourceConfigurationArn)
|
|
3029
3076
|
|
|
3077
|
+
WeightedBalancedSchedulingConfiguration.add_member(:priority_weight, Shapes::ShapeRef.new(shape: SchedulingPriorityWeight, location_name: "priorityWeight"))
|
|
3078
|
+
WeightedBalancedSchedulingConfiguration.add_member(:error_weight, Shapes::ShapeRef.new(shape: SchedulingErrorWeight, location_name: "errorWeight"))
|
|
3079
|
+
WeightedBalancedSchedulingConfiguration.add_member(:submission_time_weight, Shapes::ShapeRef.new(shape: SchedulingSubmissionTimeWeight, location_name: "submissionTimeWeight"))
|
|
3080
|
+
WeightedBalancedSchedulingConfiguration.add_member(:rendering_task_weight, Shapes::ShapeRef.new(shape: SchedulingRenderingTaskWeight, location_name: "renderingTaskWeight"))
|
|
3081
|
+
WeightedBalancedSchedulingConfiguration.add_member(:rendering_task_buffer, Shapes::ShapeRef.new(shape: SchedulingRenderingTaskBuffer, location_name: "renderingTaskBuffer"))
|
|
3082
|
+
WeightedBalancedSchedulingConfiguration.add_member(:max_priority_override, Shapes::ShapeRef.new(shape: SchedulingMaxPriorityOverride, location_name: "maxPriorityOverride"))
|
|
3083
|
+
WeightedBalancedSchedulingConfiguration.add_member(:min_priority_override, Shapes::ShapeRef.new(shape: SchedulingMinPriorityOverride, location_name: "minPriorityOverride"))
|
|
3084
|
+
WeightedBalancedSchedulingConfiguration.struct_class = Types::WeightedBalancedSchedulingConfiguration
|
|
3085
|
+
|
|
3030
3086
|
WindowsUser.add_member(:user, Shapes::ShapeRef.new(shape: WindowsUserUserString, required: true, location_name: "user"))
|
|
3031
3087
|
WindowsUser.add_member(:password_arn, Shapes::ShapeRef.new(shape: WindowsUserPasswordArnString, required: true, location_name: "passwordArn"))
|
|
3032
3088
|
WindowsUser.struct_class = Types::WindowsUser
|
|
@@ -1822,6 +1822,14 @@ module Aws::Deadline
|
|
|
1822
1822
|
# are both required, but tag values can be empty strings.
|
|
1823
1823
|
# @return [Hash<String,String>]
|
|
1824
1824
|
#
|
|
1825
|
+
# @!attribute [rw] scheduling_configuration
|
|
1826
|
+
# The scheduling configuration for the queue. This configuration
|
|
1827
|
+
# determines how workers are assigned to jobs in the queue.
|
|
1828
|
+
#
|
|
1829
|
+
# If not specified, the queue defaults to the `priorityFifo`
|
|
1830
|
+
# scheduling configuration.
|
|
1831
|
+
# @return [Types::SchedulingConfiguration]
|
|
1832
|
+
#
|
|
1825
1833
|
# @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/CreateQueueRequest AWS API Documentation
|
|
1826
1834
|
#
|
|
1827
1835
|
class CreateQueueRequest < Struct.new(
|
|
@@ -1835,7 +1843,8 @@ module Aws::Deadline
|
|
|
1835
1843
|
:job_run_as_user,
|
|
1836
1844
|
:required_file_system_location_names,
|
|
1837
1845
|
:allowed_storage_profile_ids,
|
|
1838
|
-
:tags
|
|
1846
|
+
:tags,
|
|
1847
|
+
:scheduling_configuration)
|
|
1839
1848
|
SENSITIVE = [:description]
|
|
1840
1849
|
include Aws::Structure
|
|
1841
1850
|
end
|
|
@@ -1961,19 +1970,22 @@ module Aws::Deadline
|
|
|
1961
1970
|
include Aws::Structure
|
|
1962
1971
|
end
|
|
1963
1972
|
|
|
1964
|
-
# The auto scaling configuration
|
|
1973
|
+
# The auto scaling configuration settings for a customer managed fleet.
|
|
1965
1974
|
#
|
|
1966
1975
|
# @!attribute [rw] standby_worker_count
|
|
1967
|
-
# The number of
|
|
1976
|
+
# The number of idle workers maintained and ready to process incoming
|
|
1977
|
+
# tasks. The default is 0.
|
|
1968
1978
|
# @return [Integer]
|
|
1969
1979
|
#
|
|
1970
1980
|
# @!attribute [rw] worker_idle_duration_seconds
|
|
1971
|
-
# The
|
|
1972
|
-
#
|
|
1981
|
+
# The number of seconds that a worker can remain idle before it is
|
|
1982
|
+
# shut down. The default is 300 seconds (5 minutes).
|
|
1973
1983
|
# @return [Integer]
|
|
1974
1984
|
#
|
|
1975
1985
|
# @!attribute [rw] scale_out_workers_per_minute
|
|
1976
|
-
# The number of workers that can be
|
|
1986
|
+
# The number of workers that can be added per minute to the fleet. The
|
|
1987
|
+
# default is a service-defined value that balances efficiency with
|
|
1988
|
+
# cost.
|
|
1977
1989
|
# @return [Integer]
|
|
1978
1990
|
#
|
|
1979
1991
|
# @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/CustomerManagedAutoScalingConfiguration AWS API Documentation
|
|
@@ -1993,7 +2005,7 @@ module Aws::Deadline
|
|
|
1993
2005
|
# @return [String]
|
|
1994
2006
|
#
|
|
1995
2007
|
# @!attribute [rw] auto_scaling_configuration
|
|
1996
|
-
# The auto scaling configuration
|
|
2008
|
+
# The auto scaling configuration settings for the customer managed
|
|
1997
2009
|
# fleet.
|
|
1998
2010
|
# @return [Types::CustomerManagedAutoScalingConfiguration]
|
|
1999
2011
|
#
|
|
@@ -4138,6 +4150,11 @@ module Aws::Deadline
|
|
|
4138
4150
|
# The jobs in the queue ran as this specified POSIX user.
|
|
4139
4151
|
# @return [Types::JobRunAsUser]
|
|
4140
4152
|
#
|
|
4153
|
+
# @!attribute [rw] scheduling_configuration
|
|
4154
|
+
# The scheduling configuration for the queue. This configuration
|
|
4155
|
+
# determines how workers are assigned to jobs in the queue.
|
|
4156
|
+
# @return [Types::SchedulingConfiguration]
|
|
4157
|
+
#
|
|
4141
4158
|
# @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/GetQueueResponse AWS API Documentation
|
|
4142
4159
|
#
|
|
4143
4160
|
class GetQueueResponse < Struct.new(
|
|
@@ -4156,7 +4173,8 @@ module Aws::Deadline
|
|
|
4156
4173
|
:role_arn,
|
|
4157
4174
|
:required_file_system_location_names,
|
|
4158
4175
|
:allowed_storage_profile_ids,
|
|
4159
|
-
:job_run_as_user
|
|
4176
|
+
:job_run_as_user,
|
|
4177
|
+
:scheduling_configuration)
|
|
4160
4178
|
SENSITIVE = [:description]
|
|
4161
4179
|
include Aws::Structure
|
|
4162
4180
|
end
|
|
@@ -7710,6 +7728,36 @@ module Aws::Deadline
|
|
|
7710
7728
|
include Aws::Structure
|
|
7711
7729
|
end
|
|
7712
7730
|
|
|
7731
|
+
# Configuration for priority balanced scheduling. Workers are
|
|
7732
|
+
# distributed evenly across all jobs at the highest priority level.
|
|
7733
|
+
#
|
|
7734
|
+
# @!attribute [rw] rendering_task_buffer
|
|
7735
|
+
# The rendering task buffer controls worker stickiness. A worker only
|
|
7736
|
+
# switches from its current job to another job at the same priority if
|
|
7737
|
+
# the other job has fewer rendering tasks by more than this buffer
|
|
7738
|
+
# value. Higher values make workers stickier to their current jobs.
|
|
7739
|
+
# The default value is `1`.
|
|
7740
|
+
# @return [Integer]
|
|
7741
|
+
#
|
|
7742
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/PriorityBalancedSchedulingConfiguration AWS API Documentation
|
|
7743
|
+
#
|
|
7744
|
+
class PriorityBalancedSchedulingConfiguration < Struct.new(
|
|
7745
|
+
:rendering_task_buffer)
|
|
7746
|
+
SENSITIVE = []
|
|
7747
|
+
include Aws::Structure
|
|
7748
|
+
end
|
|
7749
|
+
|
|
7750
|
+
# Configuration for priority first-in, first-out (FIFO) scheduling.
|
|
7751
|
+
# Workers are assigned to the highest-priority job first. When multiple
|
|
7752
|
+
# jobs share the same priority, the job submitted earliest receives
|
|
7753
|
+
# workers first.
|
|
7754
|
+
#
|
|
7755
|
+
# @api private
|
|
7756
|
+
#
|
|
7757
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/PriorityFifoSchedulingConfiguration AWS API Documentation
|
|
7758
|
+
#
|
|
7759
|
+
class PriorityFifoSchedulingConfiguration < Aws::EmptyStructure; end
|
|
7760
|
+
|
|
7713
7761
|
# @!attribute [rw] license_endpoint_id
|
|
7714
7762
|
# The license endpoint ID to add to the metered product.
|
|
7715
7763
|
# @return [String]
|
|
@@ -8046,6 +8094,124 @@ module Aws::Deadline
|
|
|
8046
8094
|
include Aws::Structure
|
|
8047
8095
|
end
|
|
8048
8096
|
|
|
8097
|
+
# The scheduling configuration for a queue. Defines the strategy used to
|
|
8098
|
+
# assign workers to jobs.
|
|
8099
|
+
#
|
|
8100
|
+
# @note SchedulingConfiguration is a union - when making an API calls you must set exactly one of the members.
|
|
8101
|
+
#
|
|
8102
|
+
# @note SchedulingConfiguration is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of SchedulingConfiguration corresponding to the set member.
|
|
8103
|
+
#
|
|
8104
|
+
# @!attribute [rw] priority_fifo
|
|
8105
|
+
# Workers are assigned to the highest-priority job first. When
|
|
8106
|
+
# multiple jobs share the same priority, the job submitted earliest
|
|
8107
|
+
# receives workers first. This is the default scheduling configuration
|
|
8108
|
+
# for new queues.
|
|
8109
|
+
# @return [Types::PriorityFifoSchedulingConfiguration]
|
|
8110
|
+
#
|
|
8111
|
+
# @!attribute [rw] priority_balanced
|
|
8112
|
+
# Workers are distributed evenly across all jobs at the highest
|
|
8113
|
+
# priority level. When workers cannot be evenly divided, the extra
|
|
8114
|
+
# workers are assigned to the jobs submitted earliest. If a job has
|
|
8115
|
+
# fewer remaining tasks than its share of workers, the surplus workers
|
|
8116
|
+
# are redistributed to other jobs at the same priority level.
|
|
8117
|
+
# @return [Types::PriorityBalancedSchedulingConfiguration]
|
|
8118
|
+
#
|
|
8119
|
+
# @!attribute [rw] weighted_balanced
|
|
8120
|
+
# Workers are assigned to jobs based on a weighted formula that
|
|
8121
|
+
# considers job priority, error count, submission time, and the number
|
|
8122
|
+
# of tasks currently rendering. Each factor has a configurable weight
|
|
8123
|
+
# that determines its influence on scheduling decisions.
|
|
8124
|
+
# @return [Types::WeightedBalancedSchedulingConfiguration]
|
|
8125
|
+
#
|
|
8126
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/SchedulingConfiguration AWS API Documentation
|
|
8127
|
+
#
|
|
8128
|
+
class SchedulingConfiguration < Struct.new(
|
|
8129
|
+
:priority_fifo,
|
|
8130
|
+
:priority_balanced,
|
|
8131
|
+
:weighted_balanced,
|
|
8132
|
+
:unknown)
|
|
8133
|
+
SENSITIVE = []
|
|
8134
|
+
include Aws::Structure
|
|
8135
|
+
include Aws::Structure::Union
|
|
8136
|
+
|
|
8137
|
+
class PriorityFifo < SchedulingConfiguration; end
|
|
8138
|
+
class PriorityBalanced < SchedulingConfiguration; end
|
|
8139
|
+
class WeightedBalanced < SchedulingConfiguration; end
|
|
8140
|
+
class Unknown < SchedulingConfiguration; end
|
|
8141
|
+
end
|
|
8142
|
+
|
|
8143
|
+
# Defines the override behavior for jobs at the maximum priority (100)
|
|
8144
|
+
# in weighted balanced scheduling.
|
|
8145
|
+
#
|
|
8146
|
+
# @note SchedulingMaxPriorityOverride is a union - when making an API calls you must set exactly one of the members.
|
|
8147
|
+
#
|
|
8148
|
+
# @note SchedulingMaxPriorityOverride is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of SchedulingMaxPriorityOverride corresponding to the set member.
|
|
8149
|
+
#
|
|
8150
|
+
# @!attribute [rw] always_schedule_first
|
|
8151
|
+
# Jobs at the maximum priority (100) are always scheduled before other
|
|
8152
|
+
# jobs, regardless of the weighted scheduling formula. If multiple
|
|
8153
|
+
# jobs have priority 100, ties are broken using the standard weighted
|
|
8154
|
+
# formula.
|
|
8155
|
+
# @return [Types::SchedulingMaxPriorityOverrideAlwaysScheduleFirst]
|
|
8156
|
+
#
|
|
8157
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/SchedulingMaxPriorityOverride AWS API Documentation
|
|
8158
|
+
#
|
|
8159
|
+
class SchedulingMaxPriorityOverride < Struct.new(
|
|
8160
|
+
:always_schedule_first,
|
|
8161
|
+
:unknown)
|
|
8162
|
+
SENSITIVE = []
|
|
8163
|
+
include Aws::Structure
|
|
8164
|
+
include Aws::Structure::Union
|
|
8165
|
+
|
|
8166
|
+
class AlwaysScheduleFirst < SchedulingMaxPriorityOverride; end
|
|
8167
|
+
class Unknown < SchedulingMaxPriorityOverride; end
|
|
8168
|
+
end
|
|
8169
|
+
|
|
8170
|
+
# Specifies that jobs at the maximum priority (100) are always scheduled
|
|
8171
|
+
# first.
|
|
8172
|
+
#
|
|
8173
|
+
# @api private
|
|
8174
|
+
#
|
|
8175
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/SchedulingMaxPriorityOverrideAlwaysScheduleFirst AWS API Documentation
|
|
8176
|
+
#
|
|
8177
|
+
class SchedulingMaxPriorityOverrideAlwaysScheduleFirst < Aws::EmptyStructure; end
|
|
8178
|
+
|
|
8179
|
+
# Defines the override behavior for jobs at the minimum priority (0) in
|
|
8180
|
+
# weighted balanced scheduling.
|
|
8181
|
+
#
|
|
8182
|
+
# @note SchedulingMinPriorityOverride is a union - when making an API calls you must set exactly one of the members.
|
|
8183
|
+
#
|
|
8184
|
+
# @note SchedulingMinPriorityOverride is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of SchedulingMinPriorityOverride corresponding to the set member.
|
|
8185
|
+
#
|
|
8186
|
+
# @!attribute [rw] always_schedule_last
|
|
8187
|
+
# Jobs at the minimum priority (0) are always scheduled after all
|
|
8188
|
+
# other jobs, regardless of the weighted scheduling formula. If
|
|
8189
|
+
# multiple jobs have priority 0, ties are broken using the standard
|
|
8190
|
+
# weighted formula.
|
|
8191
|
+
# @return [Types::SchedulingMinPriorityOverrideAlwaysScheduleLast]
|
|
8192
|
+
#
|
|
8193
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/SchedulingMinPriorityOverride AWS API Documentation
|
|
8194
|
+
#
|
|
8195
|
+
class SchedulingMinPriorityOverride < Struct.new(
|
|
8196
|
+
:always_schedule_last,
|
|
8197
|
+
:unknown)
|
|
8198
|
+
SENSITIVE = []
|
|
8199
|
+
include Aws::Structure
|
|
8200
|
+
include Aws::Structure::Union
|
|
8201
|
+
|
|
8202
|
+
class AlwaysScheduleLast < SchedulingMinPriorityOverride; end
|
|
8203
|
+
class Unknown < SchedulingMinPriorityOverride; end
|
|
8204
|
+
end
|
|
8205
|
+
|
|
8206
|
+
# Specifies that jobs at the minimum priority (0) are always scheduled
|
|
8207
|
+
# last.
|
|
8208
|
+
#
|
|
8209
|
+
# @api private
|
|
8210
|
+
#
|
|
8211
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/SchedulingMinPriorityOverrideAlwaysScheduleLast AWS API Documentation
|
|
8212
|
+
#
|
|
8213
|
+
class SchedulingMinPriorityOverrideAlwaysScheduleLast < Aws::EmptyStructure; end
|
|
8214
|
+
|
|
8049
8215
|
# The type of search filter to apply.
|
|
8050
8216
|
#
|
|
8051
8217
|
# @note SearchFilterExpression is a union - when making an API calls you must set exactly one of the members.
|
|
@@ -8446,20 +8612,23 @@ module Aws::Deadline
|
|
|
8446
8612
|
include Aws::Structure
|
|
8447
8613
|
end
|
|
8448
8614
|
|
|
8449
|
-
# The auto scaling configuration
|
|
8615
|
+
# The auto scaling configuration settings for a service managed EC2
|
|
8450
8616
|
# fleet.
|
|
8451
8617
|
#
|
|
8452
8618
|
# @!attribute [rw] standby_worker_count
|
|
8453
|
-
# The number of
|
|
8619
|
+
# The number of idle workers maintained and ready to process incoming
|
|
8620
|
+
# tasks. The default is 0.
|
|
8454
8621
|
# @return [Integer]
|
|
8455
8622
|
#
|
|
8456
8623
|
# @!attribute [rw] worker_idle_duration_seconds
|
|
8457
|
-
# The
|
|
8458
|
-
#
|
|
8624
|
+
# The number of seconds that a worker can remain idle before it is
|
|
8625
|
+
# shut down. The default is 300 seconds (5 minutes).
|
|
8459
8626
|
# @return [Integer]
|
|
8460
8627
|
#
|
|
8461
8628
|
# @!attribute [rw] scale_out_workers_per_minute
|
|
8462
|
-
# The number of workers that can be
|
|
8629
|
+
# The number of workers that can be added per minute to the fleet. The
|
|
8630
|
+
# default is a service-defined value that balances efficiency with
|
|
8631
|
+
# cost.
|
|
8463
8632
|
# @return [Integer]
|
|
8464
8633
|
#
|
|
8465
8634
|
# @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/ServiceManagedEc2AutoScalingConfiguration AWS API Documentation
|
|
@@ -8491,7 +8660,7 @@ module Aws::Deadline
|
|
|
8491
8660
|
# @return [String]
|
|
8492
8661
|
#
|
|
8493
8662
|
# @!attribute [rw] auto_scaling_configuration
|
|
8494
|
-
# The auto scaling configuration
|
|
8663
|
+
# The auto scaling configuration settings for the service managed EC2
|
|
8495
8664
|
# fleet.
|
|
8496
8665
|
# @return [Types::ServiceManagedEc2AutoScalingConfiguration]
|
|
8497
8666
|
#
|
|
@@ -10503,6 +10672,17 @@ module Aws::Deadline
|
|
|
10503
10672
|
# The storage profile ID to remove.
|
|
10504
10673
|
# @return [Array<String>]
|
|
10505
10674
|
#
|
|
10675
|
+
# @!attribute [rw] scheduling_configuration
|
|
10676
|
+
# The scheduling configuration for the queue. This configuration
|
|
10677
|
+
# determines how workers are assigned to jobs in the queue.
|
|
10678
|
+
#
|
|
10679
|
+
# When updating the scheduling configuration, the entire configuration
|
|
10680
|
+
# is replaced.
|
|
10681
|
+
#
|
|
10682
|
+
# In-progress tasks run to completion before the new scheduling
|
|
10683
|
+
# configuration takes effect.
|
|
10684
|
+
# @return [Types::SchedulingConfiguration]
|
|
10685
|
+
#
|
|
10506
10686
|
# @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/UpdateQueueRequest AWS API Documentation
|
|
10507
10687
|
#
|
|
10508
10688
|
class UpdateQueueRequest < Struct.new(
|
|
@@ -10518,7 +10698,8 @@ module Aws::Deadline
|
|
|
10518
10698
|
:required_file_system_location_names_to_add,
|
|
10519
10699
|
:required_file_system_location_names_to_remove,
|
|
10520
10700
|
:allowed_storage_profile_ids_to_add,
|
|
10521
|
-
:allowed_storage_profile_ids_to_remove
|
|
10701
|
+
:allowed_storage_profile_ids_to_remove,
|
|
10702
|
+
:scheduling_configuration)
|
|
10522
10703
|
SENSITIVE = [:description]
|
|
10523
10704
|
include Aws::Structure
|
|
10524
10705
|
end
|
|
@@ -11002,6 +11183,78 @@ module Aws::Deadline
|
|
|
11002
11183
|
include Aws::Structure
|
|
11003
11184
|
end
|
|
11004
11185
|
|
|
11186
|
+
# Configuration for weighted balanced scheduling. Workers are assigned
|
|
11187
|
+
# to jobs based on a weighted formula:
|
|
11188
|
+
#
|
|
11189
|
+
# `weight = (priority * priorityWeight) + (errors * errorWeight) +
|
|
11190
|
+
# ((currentTime - submissionTime) * submissionTimeWeight) +
|
|
11191
|
+
# ((renderingTasks - renderingTaskBuffer) * renderingTaskWeight)`
|
|
11192
|
+
#
|
|
11193
|
+
# The job with the highest calculated weight is scheduled first. Workers
|
|
11194
|
+
# are distributed evenly amongst jobs with the same weight.
|
|
11195
|
+
#
|
|
11196
|
+
# @!attribute [rw] priority_weight
|
|
11197
|
+
# The weight applied to job priority in the scheduling formula. Higher
|
|
11198
|
+
# values give more influence to job priority. A value of `0` means
|
|
11199
|
+
# priority is ignored. The default value is `100.0`.
|
|
11200
|
+
# @return [Float]
|
|
11201
|
+
#
|
|
11202
|
+
# @!attribute [rw] error_weight
|
|
11203
|
+
# The weight applied to the number of errors on a job. A negative
|
|
11204
|
+
# value means jobs without errors are scheduled first. A value of `0`
|
|
11205
|
+
# means errors are ignored. The default value is `-10.0`.
|
|
11206
|
+
# @return [Float]
|
|
11207
|
+
#
|
|
11208
|
+
# @!attribute [rw] submission_time_weight
|
|
11209
|
+
# The weight applied to job submission time. A positive value means
|
|
11210
|
+
# earlier jobs are scheduled first. A value of `0` means submission
|
|
11211
|
+
# time is ignored. The default value is `3.0`.
|
|
11212
|
+
# @return [Float]
|
|
11213
|
+
#
|
|
11214
|
+
# @!attribute [rw] rendering_task_weight
|
|
11215
|
+
# The weight applied to the number of tasks currently rendering on a
|
|
11216
|
+
# job. A negative value means jobs that are not already rendering are
|
|
11217
|
+
# scheduled next. A value of `0` means the rendering state is ignored.
|
|
11218
|
+
# The default value is `-100.0`.
|
|
11219
|
+
# @return [Float]
|
|
11220
|
+
#
|
|
11221
|
+
# @!attribute [rw] rendering_task_buffer
|
|
11222
|
+
# The rendering task buffer is subtracted from the number of rendering
|
|
11223
|
+
# tasks before applying the rendering task weight. This creates a
|
|
11224
|
+
# stickiness effect where workers prefer to stay with their current
|
|
11225
|
+
# job. Higher values make workers stickier. The default value is `1`.
|
|
11226
|
+
# The buffer is only applied in the weight calculation for a job if
|
|
11227
|
+
# the worker is currently assigned to that job.
|
|
11228
|
+
# @return [Integer]
|
|
11229
|
+
#
|
|
11230
|
+
# @!attribute [rw] max_priority_override
|
|
11231
|
+
# Overrides the weighted scheduling formula for jobs at the maximum
|
|
11232
|
+
# priority (100). When set, jobs with priority 100 are always
|
|
11233
|
+
# scheduled first regardless of their calculated weight. When absent,
|
|
11234
|
+
# maximum priority jobs use the standard weighted formula.
|
|
11235
|
+
# @return [Types::SchedulingMaxPriorityOverride]
|
|
11236
|
+
#
|
|
11237
|
+
# @!attribute [rw] min_priority_override
|
|
11238
|
+
# Overrides the weighted scheduling formula for jobs at the minimum
|
|
11239
|
+
# priority (0). When set, jobs with priority 0 are always scheduled
|
|
11240
|
+
# last regardless of their calculated weight. When absent, minimum
|
|
11241
|
+
# priority jobs use the standard weighted formula.
|
|
11242
|
+
# @return [Types::SchedulingMinPriorityOverride]
|
|
11243
|
+
#
|
|
11244
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/WeightedBalancedSchedulingConfiguration AWS API Documentation
|
|
11245
|
+
#
|
|
11246
|
+
class WeightedBalancedSchedulingConfiguration < Struct.new(
|
|
11247
|
+
:priority_weight,
|
|
11248
|
+
:error_weight,
|
|
11249
|
+
:submission_time_weight,
|
|
11250
|
+
:rendering_task_weight,
|
|
11251
|
+
:rendering_task_buffer,
|
|
11252
|
+
:max_priority_override,
|
|
11253
|
+
:min_priority_override)
|
|
11254
|
+
SENSITIVE = []
|
|
11255
|
+
include Aws::Structure
|
|
11256
|
+
end
|
|
11257
|
+
|
|
11005
11258
|
# The Windows user details.
|
|
11006
11259
|
#
|
|
11007
11260
|
# @!attribute [rw] user
|
data/lib/aws-sdk-deadline.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -527,7 +527,29 @@ module Aws
|
|
|
527
527
|
},
|
|
528
528
|
?required_file_system_location_names: Array[::String],
|
|
529
529
|
?allowed_storage_profile_ids: Array[::String],
|
|
530
|
-
?tags: Hash[::String, ::String]
|
|
530
|
+
?tags: Hash[::String, ::String],
|
|
531
|
+
?scheduling_configuration: {
|
|
532
|
+
priority_fifo: {
|
|
533
|
+
}?,
|
|
534
|
+
priority_balanced: {
|
|
535
|
+
rendering_task_buffer: ::Integer?
|
|
536
|
+
}?,
|
|
537
|
+
weighted_balanced: {
|
|
538
|
+
priority_weight: ::Float?,
|
|
539
|
+
error_weight: ::Float?,
|
|
540
|
+
submission_time_weight: ::Float?,
|
|
541
|
+
rendering_task_weight: ::Float?,
|
|
542
|
+
rendering_task_buffer: ::Integer?,
|
|
543
|
+
max_priority_override: {
|
|
544
|
+
always_schedule_first: {
|
|
545
|
+
}?
|
|
546
|
+
}?,
|
|
547
|
+
min_priority_override: {
|
|
548
|
+
always_schedule_last: {
|
|
549
|
+
}?
|
|
550
|
+
}?
|
|
551
|
+
}?
|
|
552
|
+
}
|
|
531
553
|
) -> _CreateQueueResponseSuccess
|
|
532
554
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateQueueResponseSuccess
|
|
533
555
|
|
|
@@ -964,6 +986,7 @@ module Aws
|
|
|
964
986
|
def required_file_system_location_names: () -> ::Array[::String]
|
|
965
987
|
def allowed_storage_profile_ids: () -> ::Array[::String]
|
|
966
988
|
def job_run_as_user: () -> Types::JobRunAsUser
|
|
989
|
+
def scheduling_configuration: () -> Types::SchedulingConfiguration
|
|
967
990
|
end
|
|
968
991
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Deadline/Client.html#get_queue-instance_method
|
|
969
992
|
def get_queue: (
|
|
@@ -2157,7 +2180,29 @@ module Aws
|
|
|
2157
2180
|
?required_file_system_location_names_to_add: Array[::String],
|
|
2158
2181
|
?required_file_system_location_names_to_remove: Array[::String],
|
|
2159
2182
|
?allowed_storage_profile_ids_to_add: Array[::String],
|
|
2160
|
-
?allowed_storage_profile_ids_to_remove: Array[::String]
|
|
2183
|
+
?allowed_storage_profile_ids_to_remove: Array[::String],
|
|
2184
|
+
?scheduling_configuration: {
|
|
2185
|
+
priority_fifo: {
|
|
2186
|
+
}?,
|
|
2187
|
+
priority_balanced: {
|
|
2188
|
+
rendering_task_buffer: ::Integer?
|
|
2189
|
+
}?,
|
|
2190
|
+
weighted_balanced: {
|
|
2191
|
+
priority_weight: ::Float?,
|
|
2192
|
+
error_weight: ::Float?,
|
|
2193
|
+
submission_time_weight: ::Float?,
|
|
2194
|
+
rendering_task_weight: ::Float?,
|
|
2195
|
+
rendering_task_buffer: ::Integer?,
|
|
2196
|
+
max_priority_override: {
|
|
2197
|
+
always_schedule_first: {
|
|
2198
|
+
}?
|
|
2199
|
+
}?,
|
|
2200
|
+
min_priority_override: {
|
|
2201
|
+
always_schedule_last: {
|
|
2202
|
+
}?
|
|
2203
|
+
}?
|
|
2204
|
+
}?
|
|
2205
|
+
}
|
|
2161
2206
|
) -> _UpdateQueueResponseSuccess
|
|
2162
2207
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateQueueResponseSuccess
|
|
2163
2208
|
|
data/sig/types.rbs
CHANGED
|
@@ -474,6 +474,7 @@ module Aws::Deadline
|
|
|
474
474
|
attr_accessor required_file_system_location_names: ::Array[::String]
|
|
475
475
|
attr_accessor allowed_storage_profile_ids: ::Array[::String]
|
|
476
476
|
attr_accessor tags: ::Hash[::String, ::String]
|
|
477
|
+
attr_accessor scheduling_configuration: Types::SchedulingConfiguration
|
|
477
478
|
SENSITIVE: [:description]
|
|
478
479
|
end
|
|
479
480
|
|
|
@@ -1124,6 +1125,7 @@ module Aws::Deadline
|
|
|
1124
1125
|
attr_accessor required_file_system_location_names: ::Array[::String]
|
|
1125
1126
|
attr_accessor allowed_storage_profile_ids: ::Array[::String]
|
|
1126
1127
|
attr_accessor job_run_as_user: Types::JobRunAsUser
|
|
1128
|
+
attr_accessor scheduling_configuration: Types::SchedulingConfiguration
|
|
1127
1129
|
SENSITIVE: [:description]
|
|
1128
1130
|
end
|
|
1129
1131
|
|
|
@@ -2018,6 +2020,14 @@ module Aws::Deadline
|
|
|
2018
2020
|
SENSITIVE: []
|
|
2019
2021
|
end
|
|
2020
2022
|
|
|
2023
|
+
class PriorityBalancedSchedulingConfiguration
|
|
2024
|
+
attr_accessor rendering_task_buffer: ::Integer
|
|
2025
|
+
SENSITIVE: []
|
|
2026
|
+
end
|
|
2027
|
+
|
|
2028
|
+
class PriorityFifoSchedulingConfiguration < Aws::EmptyStructure
|
|
2029
|
+
end
|
|
2030
|
+
|
|
2021
2031
|
class PutMeteredProductRequest
|
|
2022
2032
|
attr_accessor license_endpoint_id: ::String
|
|
2023
2033
|
attr_accessor product_id: ::String
|
|
@@ -2101,6 +2111,51 @@ module Aws::Deadline
|
|
|
2101
2111
|
SENSITIVE: []
|
|
2102
2112
|
end
|
|
2103
2113
|
|
|
2114
|
+
class SchedulingConfiguration
|
|
2115
|
+
attr_accessor priority_fifo: Types::PriorityFifoSchedulingConfiguration
|
|
2116
|
+
attr_accessor priority_balanced: Types::PriorityBalancedSchedulingConfiguration
|
|
2117
|
+
attr_accessor weighted_balanced: Types::WeightedBalancedSchedulingConfiguration
|
|
2118
|
+
attr_accessor unknown: untyped
|
|
2119
|
+
SENSITIVE: []
|
|
2120
|
+
|
|
2121
|
+
class PriorityFifo < SchedulingConfiguration
|
|
2122
|
+
end
|
|
2123
|
+
class PriorityBalanced < SchedulingConfiguration
|
|
2124
|
+
end
|
|
2125
|
+
class WeightedBalanced < SchedulingConfiguration
|
|
2126
|
+
end
|
|
2127
|
+
class Unknown < SchedulingConfiguration
|
|
2128
|
+
end
|
|
2129
|
+
end
|
|
2130
|
+
|
|
2131
|
+
class SchedulingMaxPriorityOverride
|
|
2132
|
+
attr_accessor always_schedule_first: Types::SchedulingMaxPriorityOverrideAlwaysScheduleFirst
|
|
2133
|
+
attr_accessor unknown: untyped
|
|
2134
|
+
SENSITIVE: []
|
|
2135
|
+
|
|
2136
|
+
class AlwaysScheduleFirst < SchedulingMaxPriorityOverride
|
|
2137
|
+
end
|
|
2138
|
+
class Unknown < SchedulingMaxPriorityOverride
|
|
2139
|
+
end
|
|
2140
|
+
end
|
|
2141
|
+
|
|
2142
|
+
class SchedulingMaxPriorityOverrideAlwaysScheduleFirst < Aws::EmptyStructure
|
|
2143
|
+
end
|
|
2144
|
+
|
|
2145
|
+
class SchedulingMinPriorityOverride
|
|
2146
|
+
attr_accessor always_schedule_last: Types::SchedulingMinPriorityOverrideAlwaysScheduleLast
|
|
2147
|
+
attr_accessor unknown: untyped
|
|
2148
|
+
SENSITIVE: []
|
|
2149
|
+
|
|
2150
|
+
class AlwaysScheduleLast < SchedulingMinPriorityOverride
|
|
2151
|
+
end
|
|
2152
|
+
class Unknown < SchedulingMinPriorityOverride
|
|
2153
|
+
end
|
|
2154
|
+
end
|
|
2155
|
+
|
|
2156
|
+
class SchedulingMinPriorityOverrideAlwaysScheduleLast < Aws::EmptyStructure
|
|
2157
|
+
end
|
|
2158
|
+
|
|
2104
2159
|
class SearchFilterExpression
|
|
2105
2160
|
attr_accessor date_time_filter: Types::DateTimeFilterExpression
|
|
2106
2161
|
attr_accessor parameter_filter: Types::ParameterFilterExpression
|
|
@@ -2780,6 +2835,7 @@ module Aws::Deadline
|
|
|
2780
2835
|
attr_accessor required_file_system_location_names_to_remove: ::Array[::String]
|
|
2781
2836
|
attr_accessor allowed_storage_profile_ids_to_add: ::Array[::String]
|
|
2782
2837
|
attr_accessor allowed_storage_profile_ids_to_remove: ::Array[::String]
|
|
2838
|
+
attr_accessor scheduling_configuration: Types::SchedulingConfiguration
|
|
2783
2839
|
SENSITIVE: [:description]
|
|
2784
2840
|
end
|
|
2785
2841
|
|
|
@@ -2925,6 +2981,17 @@ module Aws::Deadline
|
|
|
2925
2981
|
SENSITIVE: []
|
|
2926
2982
|
end
|
|
2927
2983
|
|
|
2984
|
+
class WeightedBalancedSchedulingConfiguration
|
|
2985
|
+
attr_accessor priority_weight: ::Float
|
|
2986
|
+
attr_accessor error_weight: ::Float
|
|
2987
|
+
attr_accessor submission_time_weight: ::Float
|
|
2988
|
+
attr_accessor rendering_task_weight: ::Float
|
|
2989
|
+
attr_accessor rendering_task_buffer: ::Integer
|
|
2990
|
+
attr_accessor max_priority_override: Types::SchedulingMaxPriorityOverride
|
|
2991
|
+
attr_accessor min_priority_override: Types::SchedulingMinPriorityOverride
|
|
2992
|
+
SENSITIVE: []
|
|
2993
|
+
end
|
|
2994
|
+
|
|
2928
2995
|
class WindowsUser
|
|
2929
2996
|
attr_accessor user: ::String
|
|
2930
2997
|
attr_accessor password_arn: ::String
|