aws-sdk-deadline 1.14.0 → 1.15.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-deadline/client.rb +63 -5
- data/lib/aws-sdk-deadline/client_api.rb +45 -2
- data/lib/aws-sdk-deadline/endpoints.rb +11 -0
- data/lib/aws-sdk-deadline/plugins/endpoints.rb +2 -0
- data/lib/aws-sdk-deadline/types.rb +81 -4
- data/lib/aws-sdk-deadline.rb +1 -1
- data/sig/client.rbs +20 -3
- data/sig/types.rbs +19 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 63f3e39d4b545d43d8225e501fa5326e0b7688854c86a60d08a4b1b11119a903
|
4
|
+
data.tar.gz: 1a8cc1ab38d61521cef02270be4a5b8a9f752e546bc403324eaa771d07114b07
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2583eceb102d5bac9eab3e9ac7d87878a72d5fb79cc393383f997b289e6576832464d8d0cbfd329fa0b941d960ecaa9d8ea5ffb9e1beffad4faaef29bdf0a259
|
7
|
+
data.tar.gz: 2c2ac1df01e5143a87fd4d6d0618f4d9f237ad6c2687fd6d994a6afa6a3fb3b968b0d73bad6bee4305b4ca87e18f2e4e940aa75fa9ee60c791141d21624f991b
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.15.0 (2024-10-07)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Add support for using the template from a previous job during job creation and listing parameter definitions for a job.
|
8
|
+
|
4
9
|
1.14.0 (2024-09-24)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.15.0
|
@@ -1285,10 +1285,10 @@ module Aws::Deadline
|
|
1285
1285
|
# **A suitable default value is auto-generated.** You should normally
|
1286
1286
|
# not need to pass this option.**
|
1287
1287
|
#
|
1288
|
-
# @option params [
|
1288
|
+
# @option params [String] :template
|
1289
1289
|
# The job template to use for this job.
|
1290
1290
|
#
|
1291
|
-
# @option params [
|
1291
|
+
# @option params [String] :template_type
|
1292
1292
|
# The file type for the job template.
|
1293
1293
|
#
|
1294
1294
|
# @option params [required, Integer] :priority
|
@@ -1317,6 +1317,9 @@ module Aws::Deadline
|
|
1317
1317
|
# @option params [Integer] :max_retries_per_task
|
1318
1318
|
# The maximum number of retries for each task.
|
1319
1319
|
#
|
1320
|
+
# @option params [String] :source_job_id
|
1321
|
+
# The job ID for the source job.
|
1322
|
+
#
|
1320
1323
|
# @return [Types::CreateJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1321
1324
|
#
|
1322
1325
|
# * {Types::CreateJobResponse#job_id #job_id} => String
|
@@ -1327,8 +1330,8 @@ module Aws::Deadline
|
|
1327
1330
|
# farm_id: "FarmId", # required
|
1328
1331
|
# queue_id: "QueueId", # required
|
1329
1332
|
# client_token: "ClientToken",
|
1330
|
-
# template: "JobTemplate",
|
1331
|
-
# template_type: "JSON", #
|
1333
|
+
# template: "JobTemplate",
|
1334
|
+
# template_type: "JSON", # accepts JSON, YAML
|
1332
1335
|
# priority: 1, # required
|
1333
1336
|
# parameters: {
|
1334
1337
|
# "String" => {
|
@@ -1355,6 +1358,7 @@ module Aws::Deadline
|
|
1355
1358
|
# target_task_run_status: "READY", # accepts READY, SUSPENDED
|
1356
1359
|
# max_failed_tasks_count: 1,
|
1357
1360
|
# max_retries_per_task: 1,
|
1361
|
+
# source_job_id: "JobId",
|
1358
1362
|
# })
|
1359
1363
|
#
|
1360
1364
|
# @example Response structure
|
@@ -2462,6 +2466,7 @@ module Aws::Deadline
|
|
2462
2466
|
# * {Types::GetJobResponse#parameters #parameters} => Hash<String,Types::JobParameter>
|
2463
2467
|
# * {Types::GetJobResponse#attachments #attachments} => Types::Attachments
|
2464
2468
|
# * {Types::GetJobResponse#description #description} => String
|
2469
|
+
# * {Types::GetJobResponse#source_job_id #source_job_id} => String
|
2465
2470
|
#
|
2466
2471
|
# @example Request syntax with placeholder values
|
2467
2472
|
#
|
@@ -2506,6 +2511,7 @@ module Aws::Deadline
|
|
2506
2511
|
# resp.attachments.manifests[0].input_manifest_hash #=> String
|
2507
2512
|
# resp.attachments.file_system #=> String, one of "COPIED", "VIRTUAL"
|
2508
2513
|
# resp.description #=> String
|
2514
|
+
# resp.source_job_id #=> String
|
2509
2515
|
#
|
2510
2516
|
#
|
2511
2517
|
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
@@ -3756,6 +3762,56 @@ module Aws::Deadline
|
|
3756
3762
|
req.send_request(options)
|
3757
3763
|
end
|
3758
3764
|
|
3765
|
+
# Lists parameter definitions of a job.
|
3766
|
+
#
|
3767
|
+
# @option params [required, String] :farm_id
|
3768
|
+
# The farm ID of the job to list.
|
3769
|
+
#
|
3770
|
+
# @option params [required, String] :job_id
|
3771
|
+
# The job ID to include on the list.
|
3772
|
+
#
|
3773
|
+
# @option params [required, String] :queue_id
|
3774
|
+
# The queue ID to include on the list.
|
3775
|
+
#
|
3776
|
+
# @option params [String] :next_token
|
3777
|
+
# The token for the next set of results, or `null` to start from the
|
3778
|
+
# beginning.
|
3779
|
+
#
|
3780
|
+
# @option params [Integer] :max_results
|
3781
|
+
# The maximum number of results to return. Use this parameter with
|
3782
|
+
# `NextToken` to get results as a set of sequential pages.
|
3783
|
+
#
|
3784
|
+
# @return [Types::ListJobParameterDefinitionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3785
|
+
#
|
3786
|
+
# * {Types::ListJobParameterDefinitionsResponse#job_parameter_definitions #job_parameter_definitions} => Array<Hash,Array,String,Numeric,Boolean>
|
3787
|
+
# * {Types::ListJobParameterDefinitionsResponse#next_token #next_token} => String
|
3788
|
+
#
|
3789
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3790
|
+
#
|
3791
|
+
# @example Request syntax with placeholder values
|
3792
|
+
#
|
3793
|
+
# resp = client.list_job_parameter_definitions({
|
3794
|
+
# farm_id: "FarmId", # required
|
3795
|
+
# job_id: "JobId", # required
|
3796
|
+
# queue_id: "QueueId", # required
|
3797
|
+
# next_token: "String",
|
3798
|
+
# max_results: 1,
|
3799
|
+
# })
|
3800
|
+
#
|
3801
|
+
# @example Response structure
|
3802
|
+
#
|
3803
|
+
# resp.job_parameter_definitions #=> Array
|
3804
|
+
# resp.next_token #=> String
|
3805
|
+
#
|
3806
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/ListJobParameterDefinitions AWS API Documentation
|
3807
|
+
#
|
3808
|
+
# @overload list_job_parameter_definitions(params = {})
|
3809
|
+
# @param [Hash] params ({})
|
3810
|
+
def list_job_parameter_definitions(params = {}, options = {})
|
3811
|
+
req = build_request(:list_job_parameter_definitions, params)
|
3812
|
+
req.send_request(options)
|
3813
|
+
end
|
3814
|
+
|
3759
3815
|
# Lists jobs.
|
3760
3816
|
#
|
3761
3817
|
# @option params [required, String] :farm_id
|
@@ -3812,6 +3868,7 @@ module Aws::Deadline
|
|
3812
3868
|
# resp.jobs[0].task_run_status_counts["TaskRunStatus"] #=> Integer
|
3813
3869
|
# resp.jobs[0].max_failed_tasks_count #=> Integer
|
3814
3870
|
# resp.jobs[0].max_retries_per_task #=> Integer
|
3871
|
+
# resp.jobs[0].source_job_id #=> String
|
3815
3872
|
# resp.next_token #=> String
|
3816
3873
|
#
|
3817
3874
|
# @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/ListJobs AWS API Documentation
|
@@ -4941,6 +4998,7 @@ module Aws::Deadline
|
|
4941
4998
|
# resp.jobs[0].job_parameters["String"].float #=> String
|
4942
4999
|
# resp.jobs[0].job_parameters["String"].string #=> String
|
4943
5000
|
# resp.jobs[0].job_parameters["String"].path #=> String
|
5001
|
+
# resp.jobs[0].source_job_id #=> String
|
4944
5002
|
# resp.next_item_offset #=> Integer
|
4945
5003
|
# resp.total_results #=> Integer
|
4946
5004
|
#
|
@@ -6354,7 +6412,7 @@ module Aws::Deadline
|
|
6354
6412
|
tracer: tracer
|
6355
6413
|
)
|
6356
6414
|
context[:gem_name] = 'aws-sdk-deadline'
|
6357
|
-
context[:gem_version] = '1.
|
6415
|
+
context[:gem_version] = '1.15.0'
|
6358
6416
|
Seahorse::Client::Request.new(handlers, context)
|
6359
6417
|
end
|
6360
6418
|
|
@@ -273,6 +273,8 @@ module Aws::Deadline
|
|
273
273
|
JobMembers = Shapes::ListShape.new(name: 'JobMembers')
|
274
274
|
JobName = Shapes::StringShape.new(name: 'JobName')
|
275
275
|
JobParameter = Shapes::UnionShape.new(name: 'JobParameter')
|
276
|
+
JobParameterDefinition = Shapes::DocumentShape.new(name: 'JobParameterDefinition', document: true)
|
277
|
+
JobParameterDefinitions = Shapes::ListShape.new(name: 'JobParameterDefinitions')
|
276
278
|
JobParameters = Shapes::MapShape.new(name: 'JobParameters')
|
277
279
|
JobPriority = Shapes::IntegerShape.new(name: 'JobPriority')
|
278
280
|
JobRunAsUser = Shapes::StructureShape.new(name: 'JobRunAsUser')
|
@@ -304,6 +306,8 @@ module Aws::Deadline
|
|
304
306
|
ListFleetsResponse = Shapes::StructureShape.new(name: 'ListFleetsResponse')
|
305
307
|
ListJobMembersRequest = Shapes::StructureShape.new(name: 'ListJobMembersRequest')
|
306
308
|
ListJobMembersResponse = Shapes::StructureShape.new(name: 'ListJobMembersResponse')
|
309
|
+
ListJobParameterDefinitionsRequest = Shapes::StructureShape.new(name: 'ListJobParameterDefinitionsRequest')
|
310
|
+
ListJobParameterDefinitionsResponse = Shapes::StructureShape.new(name: 'ListJobParameterDefinitionsResponse')
|
307
311
|
ListJobsRequest = Shapes::StructureShape.new(name: 'ListJobsRequest')
|
308
312
|
ListJobsResponse = Shapes::StructureShape.new(name: 'ListJobsResponse')
|
309
313
|
ListLicenseEndpointsRequest = Shapes::StructureShape.new(name: 'ListLicenseEndpointsRequest')
|
@@ -863,8 +867,8 @@ module Aws::Deadline
|
|
863
867
|
CreateJobRequest.add_member(:farm_id, Shapes::ShapeRef.new(shape: FarmId, required: true, location: "uri", location_name: "farmId"))
|
864
868
|
CreateJobRequest.add_member(:queue_id, Shapes::ShapeRef.new(shape: QueueId, required: true, location: "uri", location_name: "queueId"))
|
865
869
|
CreateJobRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "header", location_name: "X-Amz-Client-Token", metadata: {"idempotencyToken"=>true}))
|
866
|
-
CreateJobRequest.add_member(:template, Shapes::ShapeRef.new(shape: JobTemplate,
|
867
|
-
CreateJobRequest.add_member(:template_type, Shapes::ShapeRef.new(shape: JobTemplateType,
|
870
|
+
CreateJobRequest.add_member(:template, Shapes::ShapeRef.new(shape: JobTemplate, location_name: "template"))
|
871
|
+
CreateJobRequest.add_member(:template_type, Shapes::ShapeRef.new(shape: JobTemplateType, location_name: "templateType"))
|
868
872
|
CreateJobRequest.add_member(:priority, Shapes::ShapeRef.new(shape: JobPriority, required: true, location_name: "priority"))
|
869
873
|
CreateJobRequest.add_member(:parameters, Shapes::ShapeRef.new(shape: JobParameters, location_name: "parameters"))
|
870
874
|
CreateJobRequest.add_member(:attachments, Shapes::ShapeRef.new(shape: Attachments, location_name: "attachments"))
|
@@ -872,6 +876,7 @@ module Aws::Deadline
|
|
872
876
|
CreateJobRequest.add_member(:target_task_run_status, Shapes::ShapeRef.new(shape: CreateJobTargetTaskRunStatus, location_name: "targetTaskRunStatus"))
|
873
877
|
CreateJobRequest.add_member(:max_failed_tasks_count, Shapes::ShapeRef.new(shape: MaxFailedTasksCount, location_name: "maxFailedTasksCount"))
|
874
878
|
CreateJobRequest.add_member(:max_retries_per_task, Shapes::ShapeRef.new(shape: MaxRetriesPerTask, location_name: "maxRetriesPerTask"))
|
879
|
+
CreateJobRequest.add_member(:source_job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "sourceJobId"))
|
875
880
|
CreateJobRequest.struct_class = Types::CreateJobRequest
|
876
881
|
|
877
882
|
CreateJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "jobId"))
|
@@ -1300,6 +1305,7 @@ module Aws::Deadline
|
|
1300
1305
|
GetJobResponse.add_member(:parameters, Shapes::ShapeRef.new(shape: JobParameters, location_name: "parameters"))
|
1301
1306
|
GetJobResponse.add_member(:attachments, Shapes::ShapeRef.new(shape: Attachments, location_name: "attachments"))
|
1302
1307
|
GetJobResponse.add_member(:description, Shapes::ShapeRef.new(shape: JobDescription, location_name: "description"))
|
1308
|
+
GetJobResponse.add_member(:source_job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "sourceJobId"))
|
1303
1309
|
GetJobResponse.struct_class = Types::GetJobResponse
|
1304
1310
|
|
1305
1311
|
GetLicenseEndpointRequest.add_member(:license_endpoint_id, Shapes::ShapeRef.new(shape: LicenseEndpointId, required: true, location: "uri", location_name: "licenseEndpointId"))
|
@@ -1631,6 +1637,8 @@ module Aws::Deadline
|
|
1631
1637
|
JobParameter.add_member_subclass(:unknown, Types::JobParameter::Unknown)
|
1632
1638
|
JobParameter.struct_class = Types::JobParameter
|
1633
1639
|
|
1640
|
+
JobParameterDefinitions.member = Shapes::ShapeRef.new(shape: JobParameterDefinition)
|
1641
|
+
|
1634
1642
|
JobParameters.key = Shapes::ShapeRef.new(shape: String)
|
1635
1643
|
JobParameters.value = Shapes::ShapeRef.new(shape: JobParameter)
|
1636
1644
|
|
@@ -1657,6 +1665,7 @@ module Aws::Deadline
|
|
1657
1665
|
JobSearchSummary.add_member(:ended_at, Shapes::ShapeRef.new(shape: EndedAt, location_name: "endedAt"))
|
1658
1666
|
JobSearchSummary.add_member(:started_at, Shapes::ShapeRef.new(shape: StartedAt, location_name: "startedAt"))
|
1659
1667
|
JobSearchSummary.add_member(:job_parameters, Shapes::ShapeRef.new(shape: JobParameters, location_name: "jobParameters"))
|
1668
|
+
JobSearchSummary.add_member(:source_job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "sourceJobId"))
|
1660
1669
|
JobSearchSummary.struct_class = Types::JobSearchSummary
|
1661
1670
|
|
1662
1671
|
JobSummaries.member = Shapes::ShapeRef.new(shape: JobSummary)
|
@@ -1677,6 +1686,7 @@ module Aws::Deadline
|
|
1677
1686
|
JobSummary.add_member(:task_run_status_counts, Shapes::ShapeRef.new(shape: TaskRunStatusCounts, location_name: "taskRunStatusCounts"))
|
1678
1687
|
JobSummary.add_member(:max_failed_tasks_count, Shapes::ShapeRef.new(shape: MaxFailedTasksCount, location_name: "maxFailedTasksCount"))
|
1679
1688
|
JobSummary.add_member(:max_retries_per_task, Shapes::ShapeRef.new(shape: MaxRetriesPerTask, location_name: "maxRetriesPerTask"))
|
1689
|
+
JobSummary.add_member(:source_job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "sourceJobId"))
|
1680
1690
|
JobSummary.struct_class = Types::JobSummary
|
1681
1691
|
|
1682
1692
|
LicenseEndpointSummaries.member = Shapes::ShapeRef.new(shape: LicenseEndpointSummary)
|
@@ -1758,6 +1768,17 @@ module Aws::Deadline
|
|
1758
1768
|
ListJobMembersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
1759
1769
|
ListJobMembersResponse.struct_class = Types::ListJobMembersResponse
|
1760
1770
|
|
1771
|
+
ListJobParameterDefinitionsRequest.add_member(:farm_id, Shapes::ShapeRef.new(shape: FarmId, required: true, location: "uri", location_name: "farmId"))
|
1772
|
+
ListJobParameterDefinitionsRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location: "uri", location_name: "jobId"))
|
1773
|
+
ListJobParameterDefinitionsRequest.add_member(:queue_id, Shapes::ShapeRef.new(shape: QueueId, required: true, location: "uri", location_name: "queueId"))
|
1774
|
+
ListJobParameterDefinitionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
|
1775
|
+
ListJobParameterDefinitionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
1776
|
+
ListJobParameterDefinitionsRequest.struct_class = Types::ListJobParameterDefinitionsRequest
|
1777
|
+
|
1778
|
+
ListJobParameterDefinitionsResponse.add_member(:job_parameter_definitions, Shapes::ShapeRef.new(shape: JobParameterDefinitions, required: true, location_name: "jobParameterDefinitions"))
|
1779
|
+
ListJobParameterDefinitionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
1780
|
+
ListJobParameterDefinitionsResponse.struct_class = Types::ListJobParameterDefinitionsResponse
|
1781
|
+
|
1761
1782
|
ListJobsRequest.add_member(:farm_id, Shapes::ShapeRef.new(shape: FarmId, required: true, location: "uri", location_name: "farmId"))
|
1762
1783
|
ListJobsRequest.add_member(:principal_id, Shapes::ShapeRef.new(shape: IdentityCenterPrincipalId, location: "querystring", location_name: "principalId"))
|
1763
1784
|
ListJobsRequest.add_member(:queue_id, Shapes::ShapeRef.new(shape: QueueId, required: true, location: "uri", location_name: "queueId"))
|
@@ -3818,6 +3839,28 @@ module Aws::Deadline
|
|
3818
3839
|
)
|
3819
3840
|
end)
|
3820
3841
|
|
3842
|
+
api.add_operation(:list_job_parameter_definitions, Seahorse::Model::Operation.new.tap do |o|
|
3843
|
+
o.name = "ListJobParameterDefinitions"
|
3844
|
+
o.http_method = "GET"
|
3845
|
+
o.http_request_uri = "/2023-10-12/farms/{farmId}/queues/{queueId}/jobs/{jobId}/parameter-definitions"
|
3846
|
+
o.endpoint_pattern = {
|
3847
|
+
"hostPrefix" => "management.",
|
3848
|
+
}
|
3849
|
+
o.input = Shapes::ShapeRef.new(shape: ListJobParameterDefinitionsRequest)
|
3850
|
+
o.output = Shapes::ShapeRef.new(shape: ListJobParameterDefinitionsResponse)
|
3851
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
3852
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
3853
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
3854
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
3855
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
3856
|
+
o[:pager] = Aws::Pager.new(
|
3857
|
+
limit_key: "max_results",
|
3858
|
+
tokens: {
|
3859
|
+
"next_token" => "next_token"
|
3860
|
+
}
|
3861
|
+
)
|
3862
|
+
end)
|
3863
|
+
|
3821
3864
|
api.add_operation(:list_jobs, Seahorse::Model::Operation.new.tap do |o|
|
3822
3865
|
o.name = "ListJobs"
|
3823
3866
|
o.http_method = "GET"
|
@@ -683,6 +683,17 @@ module Aws::Deadline
|
|
683
683
|
end
|
684
684
|
end
|
685
685
|
|
686
|
+
class ListJobParameterDefinitions
|
687
|
+
def self.build(context)
|
688
|
+
Aws::Deadline::EndpointParameters.new(
|
689
|
+
region: context.config.region,
|
690
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
691
|
+
use_fips: context.config.use_fips_endpoint,
|
692
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
693
|
+
)
|
694
|
+
end
|
695
|
+
end
|
696
|
+
|
686
697
|
class ListJobs
|
687
698
|
def self.build(context)
|
688
699
|
Aws::Deadline::EndpointParameters.new(
|
@@ -192,6 +192,8 @@ The endpoint provider used to resolve endpoints. Any object that responds to
|
|
192
192
|
Aws::Deadline::Endpoints::ListFleets.build(context)
|
193
193
|
when :list_job_members
|
194
194
|
Aws::Deadline::Endpoints::ListJobMembers.build(context)
|
195
|
+
when :list_job_parameter_definitions
|
196
|
+
Aws::Deadline::Endpoints::ListJobParameterDefinitions.build(context)
|
195
197
|
when :list_jobs
|
196
198
|
Aws::Deadline::Endpoints::ListJobs.build(context)
|
197
199
|
when :list_license_endpoints
|
@@ -1147,6 +1147,10 @@ module Aws::Deadline
|
|
1147
1147
|
# The maximum number of retries for each task.
|
1148
1148
|
# @return [Integer]
|
1149
1149
|
#
|
1150
|
+
# @!attribute [rw] source_job_id
|
1151
|
+
# The job ID for the source job.
|
1152
|
+
# @return [String]
|
1153
|
+
#
|
1150
1154
|
# @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/CreateJobRequest AWS API Documentation
|
1151
1155
|
#
|
1152
1156
|
class CreateJobRequest < Struct.new(
|
@@ -1161,7 +1165,8 @@ module Aws::Deadline
|
|
1161
1165
|
:storage_profile_id,
|
1162
1166
|
:target_task_run_status,
|
1163
1167
|
:max_failed_tasks_count,
|
1164
|
-
:max_retries_per_task
|
1168
|
+
:max_retries_per_task,
|
1169
|
+
:source_job_id)
|
1165
1170
|
SENSITIVE = [:template, :parameters]
|
1166
1171
|
include Aws::Structure
|
1167
1172
|
end
|
@@ -2992,6 +2997,10 @@ module Aws::Deadline
|
|
2992
2997
|
# interpret the content of this field.
|
2993
2998
|
# @return [String]
|
2994
2999
|
#
|
3000
|
+
# @!attribute [rw] source_job_id
|
3001
|
+
# The job ID for the source job.
|
3002
|
+
# @return [String]
|
3003
|
+
#
|
2995
3004
|
# @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/GetJobResponse AWS API Documentation
|
2996
3005
|
#
|
2997
3006
|
class GetJobResponse < Struct.new(
|
@@ -3014,7 +3023,8 @@ module Aws::Deadline
|
|
3014
3023
|
:max_retries_per_task,
|
3015
3024
|
:parameters,
|
3016
3025
|
:attachments,
|
3017
|
-
:description
|
3026
|
+
:description,
|
3027
|
+
:source_job_id)
|
3018
3028
|
SENSITIVE = [:parameters, :description]
|
3019
3029
|
include Aws::Structure
|
3020
3030
|
end
|
@@ -4619,6 +4629,10 @@ module Aws::Deadline
|
|
4619
4629
|
# The job parameters.
|
4620
4630
|
# @return [Hash<String,Types::JobParameter>]
|
4621
4631
|
#
|
4632
|
+
# @!attribute [rw] source_job_id
|
4633
|
+
# The job ID for the source job.
|
4634
|
+
# @return [String]
|
4635
|
+
#
|
4622
4636
|
# @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/JobSearchSummary AWS API Documentation
|
4623
4637
|
#
|
4624
4638
|
class JobSearchSummary < Struct.new(
|
@@ -4637,7 +4651,8 @@ module Aws::Deadline
|
|
4637
4651
|
:created_at,
|
4638
4652
|
:ended_at,
|
4639
4653
|
:started_at,
|
4640
|
-
:job_parameters
|
4654
|
+
:job_parameters,
|
4655
|
+
:source_job_id)
|
4641
4656
|
SENSITIVE = [:job_parameters]
|
4642
4657
|
include Aws::Structure
|
4643
4658
|
end
|
@@ -4729,6 +4744,10 @@ module Aws::Deadline
|
|
4729
4744
|
# The maximum number of retries for a job.
|
4730
4745
|
# @return [Integer]
|
4731
4746
|
#
|
4747
|
+
# @!attribute [rw] source_job_id
|
4748
|
+
# The job ID for the source job.
|
4749
|
+
# @return [String]
|
4750
|
+
#
|
4732
4751
|
# @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/JobSummary AWS API Documentation
|
4733
4752
|
#
|
4734
4753
|
class JobSummary < Struct.new(
|
@@ -4747,7 +4766,8 @@ module Aws::Deadline
|
|
4747
4766
|
:target_task_run_status,
|
4748
4767
|
:task_run_status_counts,
|
4749
4768
|
:max_failed_tasks_count,
|
4750
|
-
:max_retries_per_task
|
4769
|
+
:max_retries_per_task,
|
4770
|
+
:source_job_id)
|
4751
4771
|
SENSITIVE = []
|
4752
4772
|
include Aws::Structure
|
4753
4773
|
end
|
@@ -5145,6 +5165,63 @@ module Aws::Deadline
|
|
5145
5165
|
include Aws::Structure
|
5146
5166
|
end
|
5147
5167
|
|
5168
|
+
# @!attribute [rw] farm_id
|
5169
|
+
# The farm ID of the job to list.
|
5170
|
+
# @return [String]
|
5171
|
+
#
|
5172
|
+
# @!attribute [rw] job_id
|
5173
|
+
# The job ID to include on the list.
|
5174
|
+
# @return [String]
|
5175
|
+
#
|
5176
|
+
# @!attribute [rw] queue_id
|
5177
|
+
# The queue ID to include on the list.
|
5178
|
+
# @return [String]
|
5179
|
+
#
|
5180
|
+
# @!attribute [rw] next_token
|
5181
|
+
# The token for the next set of results, or `null` to start from the
|
5182
|
+
# beginning.
|
5183
|
+
# @return [String]
|
5184
|
+
#
|
5185
|
+
# @!attribute [rw] max_results
|
5186
|
+
# The maximum number of results to return. Use this parameter with
|
5187
|
+
# `NextToken` to get results as a set of sequential pages.
|
5188
|
+
# @return [Integer]
|
5189
|
+
#
|
5190
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/ListJobParameterDefinitionsRequest AWS API Documentation
|
5191
|
+
#
|
5192
|
+
class ListJobParameterDefinitionsRequest < Struct.new(
|
5193
|
+
:farm_id,
|
5194
|
+
:job_id,
|
5195
|
+
:queue_id,
|
5196
|
+
:next_token,
|
5197
|
+
:max_results)
|
5198
|
+
SENSITIVE = []
|
5199
|
+
include Aws::Structure
|
5200
|
+
end
|
5201
|
+
|
5202
|
+
# @!attribute [rw] job_parameter_definitions
|
5203
|
+
# Lists parameter definitions of a job.
|
5204
|
+
# @return [Array<Hash,Array,String,Numeric,Boolean>]
|
5205
|
+
#
|
5206
|
+
# @!attribute [rw] next_token
|
5207
|
+
# If Deadline Cloud returns `nextToken`, then there are more results
|
5208
|
+
# available. The value of `nextToken` is a unique pagination token for
|
5209
|
+
# each page. To retrieve the next page, call the operation again using
|
5210
|
+
# the returned token. Keep all other arguments unchanged. If no
|
5211
|
+
# results remain, then `nextToken` is set to `null`. Each pagination
|
5212
|
+
# token expires after 24 hours. If you provide a token that isn't
|
5213
|
+
# valid, then you receive an HTTP 400 `ValidationException` error.
|
5214
|
+
# @return [String]
|
5215
|
+
#
|
5216
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/ListJobParameterDefinitionsResponse AWS API Documentation
|
5217
|
+
#
|
5218
|
+
class ListJobParameterDefinitionsResponse < Struct.new(
|
5219
|
+
:job_parameter_definitions,
|
5220
|
+
:next_token)
|
5221
|
+
SENSITIVE = []
|
5222
|
+
include Aws::Structure
|
5223
|
+
end
|
5224
|
+
|
5148
5225
|
# @!attribute [rw] farm_id
|
5149
5226
|
# The farm ID for the jobs.
|
5150
5227
|
# @return [String]
|
data/lib/aws-sdk-deadline.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -383,8 +383,8 @@ module Aws
|
|
383
383
|
farm_id: ::String,
|
384
384
|
queue_id: ::String,
|
385
385
|
?client_token: ::String,
|
386
|
-
template: ::String,
|
387
|
-
template_type: ("JSON" | "YAML"),
|
386
|
+
?template: ::String,
|
387
|
+
?template_type: ("JSON" | "YAML"),
|
388
388
|
priority: ::Integer,
|
389
389
|
?parameters: Hash[::String, {
|
390
390
|
int: ::String?,
|
@@ -408,7 +408,8 @@ module Aws
|
|
408
408
|
?storage_profile_id: ::String,
|
409
409
|
?target_task_run_status: ("READY" | "SUSPENDED"),
|
410
410
|
?max_failed_tasks_count: ::Integer,
|
411
|
-
?max_retries_per_task: ::Integer
|
411
|
+
?max_retries_per_task: ::Integer,
|
412
|
+
?source_job_id: ::String
|
412
413
|
) -> _CreateJobResponseSuccess
|
413
414
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateJobResponseSuccess
|
414
415
|
|
@@ -784,6 +785,7 @@ module Aws
|
|
784
785
|
def parameters: () -> ::Hash[::String, Types::JobParameter]
|
785
786
|
def attachments: () -> Types::Attachments
|
786
787
|
def description: () -> ::String
|
788
|
+
def source_job_id: () -> ::String
|
787
789
|
end
|
788
790
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Deadline/Client.html#get_job-instance_method
|
789
791
|
def get_job: (
|
@@ -1160,6 +1162,21 @@ module Aws
|
|
1160
1162
|
) -> _ListJobMembersResponseSuccess
|
1161
1163
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListJobMembersResponseSuccess
|
1162
1164
|
|
1165
|
+
interface _ListJobParameterDefinitionsResponseSuccess
|
1166
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListJobParameterDefinitionsResponse]
|
1167
|
+
def job_parameter_definitions: () -> ::Array[untyped]
|
1168
|
+
def next_token: () -> ::String
|
1169
|
+
end
|
1170
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Deadline/Client.html#list_job_parameter_definitions-instance_method
|
1171
|
+
def list_job_parameter_definitions: (
|
1172
|
+
farm_id: ::String,
|
1173
|
+
job_id: ::String,
|
1174
|
+
queue_id: ::String,
|
1175
|
+
?next_token: ::String,
|
1176
|
+
?max_results: ::Integer
|
1177
|
+
) -> _ListJobParameterDefinitionsResponseSuccess
|
1178
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListJobParameterDefinitionsResponseSuccess
|
1179
|
+
|
1163
1180
|
interface _ListJobsResponseSuccess
|
1164
1181
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListJobsResponse]
|
1165
1182
|
def jobs: () -> ::Array[Types::JobSummary]
|
data/sig/types.rbs
CHANGED
@@ -348,6 +348,7 @@ module Aws::Deadline
|
|
348
348
|
attr_accessor target_task_run_status: ("READY" | "SUSPENDED")
|
349
349
|
attr_accessor max_failed_tasks_count: ::Integer
|
350
350
|
attr_accessor max_retries_per_task: ::Integer
|
351
|
+
attr_accessor source_job_id: ::String
|
351
352
|
SENSITIVE: [:template, :parameters]
|
352
353
|
end
|
353
354
|
|
@@ -897,6 +898,7 @@ module Aws::Deadline
|
|
897
898
|
attr_accessor parameters: ::Hash[::String, Types::JobParameter]
|
898
899
|
attr_accessor attachments: Types::Attachments
|
899
900
|
attr_accessor description: ::String
|
901
|
+
attr_accessor source_job_id: ::String
|
900
902
|
SENSITIVE: [:parameters, :description]
|
901
903
|
end
|
902
904
|
|
@@ -1339,6 +1341,7 @@ module Aws::Deadline
|
|
1339
1341
|
attr_accessor ended_at: ::Time
|
1340
1342
|
attr_accessor started_at: ::Time
|
1341
1343
|
attr_accessor job_parameters: ::Hash[::String, Types::JobParameter]
|
1344
|
+
attr_accessor source_job_id: ::String
|
1342
1345
|
SENSITIVE: [:job_parameters]
|
1343
1346
|
end
|
1344
1347
|
|
@@ -1359,6 +1362,7 @@ module Aws::Deadline
|
|
1359
1362
|
attr_accessor task_run_status_counts: ::Hash[("PENDING" | "READY" | "ASSIGNED" | "STARTING" | "SCHEDULED" | "INTERRUPTING" | "RUNNING" | "SUSPENDED" | "CANCELED" | "FAILED" | "SUCCEEDED" | "NOT_COMPATIBLE"), ::Integer]
|
1360
1363
|
attr_accessor max_failed_tasks_count: ::Integer
|
1361
1364
|
attr_accessor max_retries_per_task: ::Integer
|
1365
|
+
attr_accessor source_job_id: ::String
|
1362
1366
|
SENSITIVE: []
|
1363
1367
|
end
|
1364
1368
|
|
@@ -1467,6 +1471,21 @@ module Aws::Deadline
|
|
1467
1471
|
SENSITIVE: []
|
1468
1472
|
end
|
1469
1473
|
|
1474
|
+
class ListJobParameterDefinitionsRequest
|
1475
|
+
attr_accessor farm_id: ::String
|
1476
|
+
attr_accessor job_id: ::String
|
1477
|
+
attr_accessor queue_id: ::String
|
1478
|
+
attr_accessor next_token: ::String
|
1479
|
+
attr_accessor max_results: ::Integer
|
1480
|
+
SENSITIVE: []
|
1481
|
+
end
|
1482
|
+
|
1483
|
+
class ListJobParameterDefinitionsResponse
|
1484
|
+
attr_accessor job_parameter_definitions: ::Array[untyped]
|
1485
|
+
attr_accessor next_token: ::String
|
1486
|
+
SENSITIVE: []
|
1487
|
+
end
|
1488
|
+
|
1470
1489
|
class ListJobsRequest
|
1471
1490
|
attr_accessor farm_id: ::String
|
1472
1491
|
attr_accessor principal_id: ::String
|
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.15.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: 2024-
|
11
|
+
date: 2024-10-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|