aws-sdk-deadline 1.18.0 → 1.19.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 +561 -34
- data/lib/aws-sdk-deadline/client_api.rb +349 -8
- data/lib/aws-sdk-deadline/types.rb +835 -76
- data/lib/aws-sdk-deadline/waiters.rb +38 -0
- data/lib/aws-sdk-deadline.rb +1 -1
- data/sig/client.rbs +164 -15
- data/sig/types.rbs +179 -8
- data/sig/waiters.rbs +14 -2
- metadata +2 -2
data/sig/types.rbs
CHANGED
@@ -38,6 +38,12 @@ module Aws::Deadline
|
|
38
38
|
SENSITIVE: []
|
39
39
|
end
|
40
40
|
|
41
|
+
class AcquiredLimit
|
42
|
+
attr_accessor limit_id: ::String
|
43
|
+
attr_accessor count: ::Integer
|
44
|
+
SENSITIVE: []
|
45
|
+
end
|
46
|
+
|
41
47
|
class AssignedEnvironmentEnterSessionActionDefinition
|
42
48
|
attr_accessor environment_id: ::String
|
43
49
|
SENSITIVE: []
|
@@ -360,6 +366,7 @@ module Aws::Deadline
|
|
360
366
|
attr_accessor target_task_run_status: ("READY" | "SUSPENDED")
|
361
367
|
attr_accessor max_failed_tasks_count: ::Integer
|
362
368
|
attr_accessor max_retries_per_task: ::Integer
|
369
|
+
attr_accessor max_worker_count: ::Integer
|
363
370
|
attr_accessor source_job_id: ::String
|
364
371
|
SENSITIVE: [:template, :parameters]
|
365
372
|
end
|
@@ -383,6 +390,21 @@ module Aws::Deadline
|
|
383
390
|
SENSITIVE: []
|
384
391
|
end
|
385
392
|
|
393
|
+
class CreateLimitRequest
|
394
|
+
attr_accessor client_token: ::String
|
395
|
+
attr_accessor display_name: ::String
|
396
|
+
attr_accessor amount_requirement_name: ::String
|
397
|
+
attr_accessor max_count: ::Integer
|
398
|
+
attr_accessor farm_id: ::String
|
399
|
+
attr_accessor description: ::String
|
400
|
+
SENSITIVE: [:description]
|
401
|
+
end
|
402
|
+
|
403
|
+
class CreateLimitResponse
|
404
|
+
attr_accessor limit_id: ::String
|
405
|
+
SENSITIVE: []
|
406
|
+
end
|
407
|
+
|
386
408
|
class CreateMonitorRequest
|
387
409
|
attr_accessor client_token: ::String
|
388
410
|
attr_accessor display_name: ::String
|
@@ -423,6 +445,16 @@ module Aws::Deadline
|
|
423
445
|
class CreateQueueFleetAssociationResponse < Aws::EmptyStructure
|
424
446
|
end
|
425
447
|
|
448
|
+
class CreateQueueLimitAssociationRequest
|
449
|
+
attr_accessor farm_id: ::String
|
450
|
+
attr_accessor queue_id: ::String
|
451
|
+
attr_accessor limit_id: ::String
|
452
|
+
SENSITIVE: []
|
453
|
+
end
|
454
|
+
|
455
|
+
class CreateQueueLimitAssociationResponse < Aws::EmptyStructure
|
456
|
+
end
|
457
|
+
|
426
458
|
class CreateQueueRequest
|
427
459
|
attr_accessor client_token: ::String
|
428
460
|
attr_accessor farm_id: ::String
|
@@ -532,6 +564,15 @@ module Aws::Deadline
|
|
532
564
|
class DeleteLicenseEndpointResponse < Aws::EmptyStructure
|
533
565
|
end
|
534
566
|
|
567
|
+
class DeleteLimitRequest
|
568
|
+
attr_accessor farm_id: ::String
|
569
|
+
attr_accessor limit_id: ::String
|
570
|
+
SENSITIVE: []
|
571
|
+
end
|
572
|
+
|
573
|
+
class DeleteLimitResponse < Aws::EmptyStructure
|
574
|
+
end
|
575
|
+
|
535
576
|
class DeleteMeteredProductRequest
|
536
577
|
attr_accessor license_endpoint_id: ::String
|
537
578
|
attr_accessor product_id: ::String
|
@@ -569,6 +610,16 @@ module Aws::Deadline
|
|
569
610
|
class DeleteQueueFleetAssociationResponse < Aws::EmptyStructure
|
570
611
|
end
|
571
612
|
|
613
|
+
class DeleteQueueLimitAssociationRequest
|
614
|
+
attr_accessor farm_id: ::String
|
615
|
+
attr_accessor queue_id: ::String
|
616
|
+
attr_accessor limit_id: ::String
|
617
|
+
SENSITIVE: []
|
618
|
+
end
|
619
|
+
|
620
|
+
class DeleteQueueLimitAssociationResponse < Aws::EmptyStructure
|
621
|
+
end
|
622
|
+
|
572
623
|
class DeleteQueueRequest
|
573
624
|
attr_accessor farm_id: ::String
|
574
625
|
attr_accessor queue_id: ::String
|
@@ -884,8 +935,8 @@ module Aws::Deadline
|
|
884
935
|
|
885
936
|
class GetJobRequest
|
886
937
|
attr_accessor farm_id: ::String
|
887
|
-
attr_accessor job_id: ::String
|
888
938
|
attr_accessor queue_id: ::String
|
939
|
+
attr_accessor job_id: ::String
|
889
940
|
SENSITIVE: []
|
890
941
|
end
|
891
942
|
|
@@ -910,6 +961,7 @@ module Aws::Deadline
|
|
910
961
|
attr_accessor parameters: ::Hash[::String, Types::JobParameter]
|
911
962
|
attr_accessor attachments: Types::Attachments
|
912
963
|
attr_accessor description: ::String
|
964
|
+
attr_accessor max_worker_count: ::Integer
|
913
965
|
attr_accessor source_job_id: ::String
|
914
966
|
SENSITIVE: [:parameters, :description]
|
915
967
|
end
|
@@ -930,6 +982,27 @@ module Aws::Deadline
|
|
930
982
|
SENSITIVE: []
|
931
983
|
end
|
932
984
|
|
985
|
+
class GetLimitRequest
|
986
|
+
attr_accessor farm_id: ::String
|
987
|
+
attr_accessor limit_id: ::String
|
988
|
+
SENSITIVE: []
|
989
|
+
end
|
990
|
+
|
991
|
+
class GetLimitResponse
|
992
|
+
attr_accessor display_name: ::String
|
993
|
+
attr_accessor amount_requirement_name: ::String
|
994
|
+
attr_accessor max_count: ::Integer
|
995
|
+
attr_accessor created_at: ::Time
|
996
|
+
attr_accessor created_by: ::String
|
997
|
+
attr_accessor updated_at: ::Time
|
998
|
+
attr_accessor updated_by: ::String
|
999
|
+
attr_accessor farm_id: ::String
|
1000
|
+
attr_accessor limit_id: ::String
|
1001
|
+
attr_accessor current_count: ::Integer
|
1002
|
+
attr_accessor description: ::String
|
1003
|
+
SENSITIVE: [:description]
|
1004
|
+
end
|
1005
|
+
|
933
1006
|
class GetMonitorRequest
|
934
1007
|
attr_accessor monitor_id: ::String
|
935
1008
|
SENSITIVE: []
|
@@ -988,6 +1061,24 @@ module Aws::Deadline
|
|
988
1061
|
SENSITIVE: []
|
989
1062
|
end
|
990
1063
|
|
1064
|
+
class GetQueueLimitAssociationRequest
|
1065
|
+
attr_accessor farm_id: ::String
|
1066
|
+
attr_accessor queue_id: ::String
|
1067
|
+
attr_accessor limit_id: ::String
|
1068
|
+
SENSITIVE: []
|
1069
|
+
end
|
1070
|
+
|
1071
|
+
class GetQueueLimitAssociationResponse
|
1072
|
+
attr_accessor created_at: ::Time
|
1073
|
+
attr_accessor created_by: ::String
|
1074
|
+
attr_accessor updated_at: ::Time
|
1075
|
+
attr_accessor updated_by: ::String
|
1076
|
+
attr_accessor queue_id: ::String
|
1077
|
+
attr_accessor limit_id: ::String
|
1078
|
+
attr_accessor status: ("ACTIVE" | "STOP_LIMIT_USAGE_AND_COMPLETE_TASKS" | "STOP_LIMIT_USAGE_AND_CANCEL_TASKS" | "STOPPED")
|
1079
|
+
SENSITIVE: []
|
1080
|
+
end
|
1081
|
+
|
991
1082
|
class GetQueueRequest
|
992
1083
|
attr_accessor farm_id: ::String
|
993
1084
|
attr_accessor queue_id: ::String
|
@@ -1033,6 +1124,7 @@ module Aws::Deadline
|
|
1033
1124
|
attr_accessor process_exit_code: ::Integer
|
1034
1125
|
attr_accessor progress_message: ::String
|
1035
1126
|
attr_accessor definition: Types::SessionActionDefinition
|
1127
|
+
attr_accessor acquired_limits: ::Array[Types::AcquiredLimit]
|
1036
1128
|
SENSITIVE: [:progress_message]
|
1037
1129
|
end
|
1038
1130
|
|
@@ -1171,9 +1263,9 @@ module Aws::Deadline
|
|
1171
1263
|
end
|
1172
1264
|
|
1173
1265
|
class GetWorkerResponse
|
1174
|
-
attr_accessor worker_id: ::String
|
1175
1266
|
attr_accessor farm_id: ::String
|
1176
1267
|
attr_accessor fleet_id: ::String
|
1268
|
+
attr_accessor worker_id: ::String
|
1177
1269
|
attr_accessor host_properties: Types::HostPropertiesResponse
|
1178
1270
|
attr_accessor status: ("CREATED" | "STARTED" | "STOPPING" | "STOPPED" | "NOT_RESPONDING" | "NOT_COMPATIBLE" | "RUNNING" | "IDLE")
|
1179
1271
|
attr_accessor log: Types::LogConfiguration
|
@@ -1353,6 +1445,7 @@ module Aws::Deadline
|
|
1353
1445
|
attr_accessor ended_at: ::Time
|
1354
1446
|
attr_accessor started_at: ::Time
|
1355
1447
|
attr_accessor job_parameters: ::Hash[::String, Types::JobParameter]
|
1448
|
+
attr_accessor max_worker_count: ::Integer
|
1356
1449
|
attr_accessor source_job_id: ::String
|
1357
1450
|
SENSITIVE: [:job_parameters]
|
1358
1451
|
end
|
@@ -1374,6 +1467,7 @@ module Aws::Deadline
|
|
1374
1467
|
attr_accessor task_run_status_counts: ::Hash[("PENDING" | "READY" | "ASSIGNED" | "STARTING" | "SCHEDULED" | "INTERRUPTING" | "RUNNING" | "SUSPENDED" | "CANCELED" | "FAILED" | "SUCCEEDED" | "NOT_COMPATIBLE"), ::Integer]
|
1375
1468
|
attr_accessor max_failed_tasks_count: ::Integer
|
1376
1469
|
attr_accessor max_retries_per_task: ::Integer
|
1470
|
+
attr_accessor max_worker_count: ::Integer
|
1377
1471
|
attr_accessor source_job_id: ::String
|
1378
1472
|
SENSITIVE: []
|
1379
1473
|
end
|
@@ -1386,6 +1480,20 @@ module Aws::Deadline
|
|
1386
1480
|
SENSITIVE: []
|
1387
1481
|
end
|
1388
1482
|
|
1483
|
+
class LimitSummary
|
1484
|
+
attr_accessor display_name: ::String
|
1485
|
+
attr_accessor amount_requirement_name: ::String
|
1486
|
+
attr_accessor max_count: ::Integer
|
1487
|
+
attr_accessor created_at: ::Time
|
1488
|
+
attr_accessor created_by: ::String
|
1489
|
+
attr_accessor updated_at: ::Time
|
1490
|
+
attr_accessor updated_by: ::String
|
1491
|
+
attr_accessor farm_id: ::String
|
1492
|
+
attr_accessor limit_id: ::String
|
1493
|
+
attr_accessor current_count: ::Integer
|
1494
|
+
SENSITIVE: []
|
1495
|
+
end
|
1496
|
+
|
1389
1497
|
class ListAvailableMeteredProductsRequest
|
1390
1498
|
attr_accessor next_token: ::String
|
1391
1499
|
attr_accessor max_results: ::Integer
|
@@ -1525,6 +1633,19 @@ module Aws::Deadline
|
|
1525
1633
|
SENSITIVE: []
|
1526
1634
|
end
|
1527
1635
|
|
1636
|
+
class ListLimitsRequest
|
1637
|
+
attr_accessor farm_id: ::String
|
1638
|
+
attr_accessor next_token: ::String
|
1639
|
+
attr_accessor max_results: ::Integer
|
1640
|
+
SENSITIVE: []
|
1641
|
+
end
|
1642
|
+
|
1643
|
+
class ListLimitsResponse
|
1644
|
+
attr_accessor limits: ::Array[Types::LimitSummary]
|
1645
|
+
attr_accessor next_token: ::String
|
1646
|
+
SENSITIVE: []
|
1647
|
+
end
|
1648
|
+
|
1528
1649
|
class ListMeteredProductsRequest
|
1529
1650
|
attr_accessor license_endpoint_id: ::String
|
1530
1651
|
attr_accessor next_token: ::String
|
@@ -1579,6 +1700,21 @@ module Aws::Deadline
|
|
1579
1700
|
SENSITIVE: []
|
1580
1701
|
end
|
1581
1702
|
|
1703
|
+
class ListQueueLimitAssociationsRequest
|
1704
|
+
attr_accessor farm_id: ::String
|
1705
|
+
attr_accessor queue_id: ::String
|
1706
|
+
attr_accessor limit_id: ::String
|
1707
|
+
attr_accessor next_token: ::String
|
1708
|
+
attr_accessor max_results: ::Integer
|
1709
|
+
SENSITIVE: []
|
1710
|
+
end
|
1711
|
+
|
1712
|
+
class ListQueueLimitAssociationsResponse
|
1713
|
+
attr_accessor queue_limit_associations: ::Array[Types::QueueLimitAssociationSummary]
|
1714
|
+
attr_accessor next_token: ::String
|
1715
|
+
SENSITIVE: []
|
1716
|
+
end
|
1717
|
+
|
1582
1718
|
class ListQueueMembersRequest
|
1583
1719
|
attr_accessor farm_id: ::String
|
1584
1720
|
attr_accessor queue_id: ::String
|
@@ -1875,6 +2011,17 @@ module Aws::Deadline
|
|
1875
2011
|
SENSITIVE: []
|
1876
2012
|
end
|
1877
2013
|
|
2014
|
+
class QueueLimitAssociationSummary
|
2015
|
+
attr_accessor created_at: ::Time
|
2016
|
+
attr_accessor created_by: ::String
|
2017
|
+
attr_accessor updated_at: ::Time
|
2018
|
+
attr_accessor updated_by: ::String
|
2019
|
+
attr_accessor queue_id: ::String
|
2020
|
+
attr_accessor limit_id: ::String
|
2021
|
+
attr_accessor status: ("ACTIVE" | "STOP_LIMIT_USAGE_AND_COMPLETE_TASKS" | "STOP_LIMIT_USAGE_AND_CANCEL_TASKS" | "STOPPED")
|
2022
|
+
SENSITIVE: []
|
2023
|
+
end
|
2024
|
+
|
1878
2025
|
class QueueMember
|
1879
2026
|
attr_accessor farm_id: ::String
|
1880
2027
|
attr_accessor queue_id: ::String
|
@@ -2453,20 +2600,33 @@ module Aws::Deadline
|
|
2453
2600
|
|
2454
2601
|
class UpdateJobRequest
|
2455
2602
|
attr_accessor client_token: ::String
|
2456
|
-
attr_accessor farm_id: ::String
|
2457
|
-
attr_accessor queue_id: ::String
|
2458
|
-
attr_accessor job_id: ::String
|
2459
2603
|
attr_accessor target_task_run_status: ("READY" | "FAILED" | "SUCCEEDED" | "CANCELED" | "SUSPENDED" | "PENDING")
|
2460
2604
|
attr_accessor priority: ::Integer
|
2461
2605
|
attr_accessor max_failed_tasks_count: ::Integer
|
2462
2606
|
attr_accessor max_retries_per_task: ::Integer
|
2463
2607
|
attr_accessor lifecycle_status: ("ARCHIVED")
|
2608
|
+
attr_accessor max_worker_count: ::Integer
|
2609
|
+
attr_accessor farm_id: ::String
|
2610
|
+
attr_accessor queue_id: ::String
|
2611
|
+
attr_accessor job_id: ::String
|
2464
2612
|
SENSITIVE: []
|
2465
2613
|
end
|
2466
2614
|
|
2467
2615
|
class UpdateJobResponse < Aws::EmptyStructure
|
2468
2616
|
end
|
2469
2617
|
|
2618
|
+
class UpdateLimitRequest
|
2619
|
+
attr_accessor farm_id: ::String
|
2620
|
+
attr_accessor limit_id: ::String
|
2621
|
+
attr_accessor display_name: ::String
|
2622
|
+
attr_accessor description: ::String
|
2623
|
+
attr_accessor max_count: ::Integer
|
2624
|
+
SENSITIVE: [:description]
|
2625
|
+
end
|
2626
|
+
|
2627
|
+
class UpdateLimitResponse < Aws::EmptyStructure
|
2628
|
+
end
|
2629
|
+
|
2470
2630
|
class UpdateMonitorRequest
|
2471
2631
|
attr_accessor monitor_id: ::String
|
2472
2632
|
attr_accessor subdomain: ::String
|
@@ -2503,6 +2663,17 @@ module Aws::Deadline
|
|
2503
2663
|
class UpdateQueueFleetAssociationResponse < Aws::EmptyStructure
|
2504
2664
|
end
|
2505
2665
|
|
2666
|
+
class UpdateQueueLimitAssociationRequest
|
2667
|
+
attr_accessor farm_id: ::String
|
2668
|
+
attr_accessor queue_id: ::String
|
2669
|
+
attr_accessor limit_id: ::String
|
2670
|
+
attr_accessor status: ("ACTIVE" | "STOP_LIMIT_USAGE_AND_COMPLETE_TASKS" | "STOP_LIMIT_USAGE_AND_CANCEL_TASKS")
|
2671
|
+
SENSITIVE: []
|
2672
|
+
end
|
2673
|
+
|
2674
|
+
class UpdateQueueLimitAssociationResponse < Aws::EmptyStructure
|
2675
|
+
end
|
2676
|
+
|
2506
2677
|
class UpdateQueueRequest
|
2507
2678
|
attr_accessor client_token: ::String
|
2508
2679
|
attr_accessor farm_id: ::String
|
@@ -2525,11 +2696,11 @@ module Aws::Deadline
|
|
2525
2696
|
|
2526
2697
|
class UpdateSessionRequest
|
2527
2698
|
attr_accessor client_token: ::String
|
2699
|
+
attr_accessor target_lifecycle_status: ("ENDED")
|
2528
2700
|
attr_accessor farm_id: ::String
|
2529
2701
|
attr_accessor queue_id: ::String
|
2530
2702
|
attr_accessor job_id: ::String
|
2531
2703
|
attr_accessor session_id: ::String
|
2532
|
-
attr_accessor target_lifecycle_status: ("ENDED")
|
2533
2704
|
SENSITIVE: []
|
2534
2705
|
end
|
2535
2706
|
|
@@ -2537,12 +2708,12 @@ module Aws::Deadline
|
|
2537
2708
|
end
|
2538
2709
|
|
2539
2710
|
class UpdateStepRequest
|
2711
|
+
attr_accessor target_task_run_status: ("READY" | "FAILED" | "SUCCEEDED" | "CANCELED" | "SUSPENDED" | "PENDING")
|
2540
2712
|
attr_accessor client_token: ::String
|
2541
2713
|
attr_accessor farm_id: ::String
|
2542
2714
|
attr_accessor queue_id: ::String
|
2543
2715
|
attr_accessor job_id: ::String
|
2544
2716
|
attr_accessor step_id: ::String
|
2545
|
-
attr_accessor target_task_run_status: ("READY" | "FAILED" | "SUCCEEDED" | "CANCELED" | "SUSPENDED" | "PENDING")
|
2546
2717
|
SENSITIVE: []
|
2547
2718
|
end
|
2548
2719
|
|
@@ -2565,12 +2736,12 @@ module Aws::Deadline
|
|
2565
2736
|
|
2566
2737
|
class UpdateTaskRequest
|
2567
2738
|
attr_accessor client_token: ::String
|
2739
|
+
attr_accessor target_run_status: ("READY" | "FAILED" | "SUCCEEDED" | "CANCELED" | "SUSPENDED" | "PENDING")
|
2568
2740
|
attr_accessor farm_id: ::String
|
2569
2741
|
attr_accessor queue_id: ::String
|
2570
2742
|
attr_accessor job_id: ::String
|
2571
2743
|
attr_accessor step_id: ::String
|
2572
2744
|
attr_accessor task_id: ::String
|
2573
|
-
attr_accessor target_run_status: ("READY" | "FAILED" | "SUCCEEDED" | "CANCELED" | "SUSPENDED" | "PENDING")
|
2574
2745
|
SENSITIVE: []
|
2575
2746
|
end
|
2576
2747
|
|
data/sig/waiters.rbs
CHANGED
@@ -26,8 +26,8 @@ module Aws
|
|
26
26
|
|
27
27
|
def wait: (
|
28
28
|
farm_id: ::String,
|
29
|
-
|
30
|
-
|
29
|
+
queue_id: ::String,
|
30
|
+
job_id: ::String
|
31
31
|
) -> Client::_GetJobResponseSuccess
|
32
32
|
| (Hash[Symbol, untyped]) -> Client::_GetJobResponseSuccess
|
33
33
|
end
|
@@ -64,6 +64,18 @@ module Aws
|
|
64
64
|
| (Hash[Symbol, untyped]) -> Client::_GetQueueFleetAssociationResponseSuccess
|
65
65
|
end
|
66
66
|
|
67
|
+
class QueueLimitAssociationStopped
|
68
|
+
def initialize: (?client: Client, ?max_attempts: Integer, ?delay: Integer, ?before_attempt: Proc, ?before_wait: Proc) -> void
|
69
|
+
| (?Hash[Symbol, untyped]) -> void
|
70
|
+
|
71
|
+
def wait: (
|
72
|
+
farm_id: ::String,
|
73
|
+
queue_id: ::String,
|
74
|
+
limit_id: ::String
|
75
|
+
) -> Client::_GetQueueLimitAssociationResponseSuccess
|
76
|
+
| (Hash[Symbol, untyped]) -> Client::_GetQueueLimitAssociationResponseSuccess
|
77
|
+
end
|
78
|
+
|
67
79
|
class QueueScheduling
|
68
80
|
def initialize: (?client: Client, ?max_attempts: Integer, ?delay: Integer, ?before_attempt: Proc, ?before_wait: Proc) -> void
|
69
81
|
| (?Hash[Symbol, untyped]) -> void
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-deadline
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.19.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-01-
|
11
|
+
date: 2025-01-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|