aws-sdk-batch 1.109.0 → 1.111.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-batch/client.rb +590 -29
- data/lib/aws-sdk-batch/client_api.rb +195 -0
- data/lib/aws-sdk-batch/types.rb +568 -7
- data/lib/aws-sdk-batch.rb +1 -1
- data/sig/client.rbs +124 -0
- data/sig/types.rbs +122 -0
- metadata +2 -2
@@ -35,24 +35,34 @@ module Aws::Batch
|
|
35
35
|
CancelJobRequest = Shapes::StructureShape.new(name: 'CancelJobRequest')
|
36
36
|
CancelJobResponse = Shapes::StructureShape.new(name: 'CancelJobResponse')
|
37
37
|
ClientException = Shapes::StructureShape.new(name: 'ClientException')
|
38
|
+
ClientRequestToken = Shapes::StringShape.new(name: 'ClientRequestToken')
|
38
39
|
ComputeEnvironmentDetail = Shapes::StructureShape.new(name: 'ComputeEnvironmentDetail')
|
39
40
|
ComputeEnvironmentDetailList = Shapes::ListShape.new(name: 'ComputeEnvironmentDetailList')
|
40
41
|
ComputeEnvironmentOrder = Shapes::StructureShape.new(name: 'ComputeEnvironmentOrder')
|
41
42
|
ComputeEnvironmentOrders = Shapes::ListShape.new(name: 'ComputeEnvironmentOrders')
|
42
43
|
ComputeResource = Shapes::StructureShape.new(name: 'ComputeResource')
|
43
44
|
ComputeResourceUpdate = Shapes::StructureShape.new(name: 'ComputeResourceUpdate')
|
45
|
+
ConsumableResourceList = Shapes::ListShape.new(name: 'ConsumableResourceList')
|
46
|
+
ConsumableResourceProperties = Shapes::StructureShape.new(name: 'ConsumableResourceProperties')
|
47
|
+
ConsumableResourceRequirement = Shapes::StructureShape.new(name: 'ConsumableResourceRequirement')
|
48
|
+
ConsumableResourceSummary = Shapes::StructureShape.new(name: 'ConsumableResourceSummary')
|
49
|
+
ConsumableResourceSummaryList = Shapes::ListShape.new(name: 'ConsumableResourceSummaryList')
|
44
50
|
ContainerDetail = Shapes::StructureShape.new(name: 'ContainerDetail')
|
45
51
|
ContainerOverrides = Shapes::StructureShape.new(name: 'ContainerOverrides')
|
46
52
|
ContainerProperties = Shapes::StructureShape.new(name: 'ContainerProperties')
|
47
53
|
ContainerSummary = Shapes::StructureShape.new(name: 'ContainerSummary')
|
48
54
|
CreateComputeEnvironmentRequest = Shapes::StructureShape.new(name: 'CreateComputeEnvironmentRequest')
|
49
55
|
CreateComputeEnvironmentResponse = Shapes::StructureShape.new(name: 'CreateComputeEnvironmentResponse')
|
56
|
+
CreateConsumableResourceRequest = Shapes::StructureShape.new(name: 'CreateConsumableResourceRequest')
|
57
|
+
CreateConsumableResourceResponse = Shapes::StructureShape.new(name: 'CreateConsumableResourceResponse')
|
50
58
|
CreateJobQueueRequest = Shapes::StructureShape.new(name: 'CreateJobQueueRequest')
|
51
59
|
CreateJobQueueResponse = Shapes::StructureShape.new(name: 'CreateJobQueueResponse')
|
52
60
|
CreateSchedulingPolicyRequest = Shapes::StructureShape.new(name: 'CreateSchedulingPolicyRequest')
|
53
61
|
CreateSchedulingPolicyResponse = Shapes::StructureShape.new(name: 'CreateSchedulingPolicyResponse')
|
54
62
|
DeleteComputeEnvironmentRequest = Shapes::StructureShape.new(name: 'DeleteComputeEnvironmentRequest')
|
55
63
|
DeleteComputeEnvironmentResponse = Shapes::StructureShape.new(name: 'DeleteComputeEnvironmentResponse')
|
64
|
+
DeleteConsumableResourceRequest = Shapes::StructureShape.new(name: 'DeleteConsumableResourceRequest')
|
65
|
+
DeleteConsumableResourceResponse = Shapes::StructureShape.new(name: 'DeleteConsumableResourceResponse')
|
56
66
|
DeleteJobQueueRequest = Shapes::StructureShape.new(name: 'DeleteJobQueueRequest')
|
57
67
|
DeleteJobQueueResponse = Shapes::StructureShape.new(name: 'DeleteJobQueueResponse')
|
58
68
|
DeleteSchedulingPolicyRequest = Shapes::StructureShape.new(name: 'DeleteSchedulingPolicyRequest')
|
@@ -61,6 +71,8 @@ module Aws::Batch
|
|
61
71
|
DeregisterJobDefinitionResponse = Shapes::StructureShape.new(name: 'DeregisterJobDefinitionResponse')
|
62
72
|
DescribeComputeEnvironmentsRequest = Shapes::StructureShape.new(name: 'DescribeComputeEnvironmentsRequest')
|
63
73
|
DescribeComputeEnvironmentsResponse = Shapes::StructureShape.new(name: 'DescribeComputeEnvironmentsResponse')
|
74
|
+
DescribeConsumableResourceRequest = Shapes::StructureShape.new(name: 'DescribeConsumableResourceRequest')
|
75
|
+
DescribeConsumableResourceResponse = Shapes::StructureShape.new(name: 'DescribeConsumableResourceResponse')
|
64
76
|
DescribeJobDefinitionsRequest = Shapes::StructureShape.new(name: 'DescribeJobDefinitionsRequest')
|
65
77
|
DescribeJobDefinitionsResponse = Shapes::StructureShape.new(name: 'DescribeJobDefinitionsResponse')
|
66
78
|
DescribeJobQueuesRequest = Shapes::StructureShape.new(name: 'DescribeJobQueuesRequest')
|
@@ -165,8 +177,16 @@ module Aws::Batch
|
|
165
177
|
LinuxParameters = Shapes::StructureShape.new(name: 'LinuxParameters')
|
166
178
|
ListAttemptEcsTaskDetails = Shapes::ListShape.new(name: 'ListAttemptEcsTaskDetails')
|
167
179
|
ListAttemptTaskContainerDetails = Shapes::ListShape.new(name: 'ListAttemptTaskContainerDetails')
|
180
|
+
ListConsumableResourcesFilterList = Shapes::ListShape.new(name: 'ListConsumableResourcesFilterList')
|
181
|
+
ListConsumableResourcesRequest = Shapes::StructureShape.new(name: 'ListConsumableResourcesRequest')
|
182
|
+
ListConsumableResourcesResponse = Shapes::StructureShape.new(name: 'ListConsumableResourcesResponse')
|
168
183
|
ListEcsTaskDetails = Shapes::ListShape.new(name: 'ListEcsTaskDetails')
|
169
184
|
ListEcsTaskProperties = Shapes::ListShape.new(name: 'ListEcsTaskProperties')
|
185
|
+
ListJobsByConsumableResourceFilterList = Shapes::ListShape.new(name: 'ListJobsByConsumableResourceFilterList')
|
186
|
+
ListJobsByConsumableResourceRequest = Shapes::StructureShape.new(name: 'ListJobsByConsumableResourceRequest')
|
187
|
+
ListJobsByConsumableResourceResponse = Shapes::StructureShape.new(name: 'ListJobsByConsumableResourceResponse')
|
188
|
+
ListJobsByConsumableResourceSummary = Shapes::StructureShape.new(name: 'ListJobsByConsumableResourceSummary')
|
189
|
+
ListJobsByConsumableResourceSummaryList = Shapes::ListShape.new(name: 'ListJobsByConsumableResourceSummaryList')
|
170
190
|
ListJobsFilterList = Shapes::ListShape.new(name: 'ListJobsFilterList')
|
171
191
|
ListJobsRequest = Shapes::StructureShape.new(name: 'ListJobsRequest')
|
172
192
|
ListJobsResponse = Shapes::StructureShape.new(name: 'ListJobsResponse')
|
@@ -245,6 +265,8 @@ module Aws::Batch
|
|
245
265
|
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
246
266
|
UpdateComputeEnvironmentRequest = Shapes::StructureShape.new(name: 'UpdateComputeEnvironmentRequest')
|
247
267
|
UpdateComputeEnvironmentResponse = Shapes::StructureShape.new(name: 'UpdateComputeEnvironmentResponse')
|
268
|
+
UpdateConsumableResourceRequest = Shapes::StructureShape.new(name: 'UpdateConsumableResourceRequest')
|
269
|
+
UpdateConsumableResourceResponse = Shapes::StructureShape.new(name: 'UpdateConsumableResourceResponse')
|
248
270
|
UpdateJobQueueRequest = Shapes::StructureShape.new(name: 'UpdateJobQueueRequest')
|
249
271
|
UpdateJobQueueResponse = Shapes::StructureShape.new(name: 'UpdateJobQueueResponse')
|
250
272
|
UpdatePolicy = Shapes::StructureShape.new(name: 'UpdatePolicy')
|
@@ -370,6 +392,24 @@ module Aws::Batch
|
|
370
392
|
ComputeResourceUpdate.add_member(:image_id, Shapes::ShapeRef.new(shape: String, location_name: "imageId"))
|
371
393
|
ComputeResourceUpdate.struct_class = Types::ComputeResourceUpdate
|
372
394
|
|
395
|
+
ConsumableResourceList.member = Shapes::ShapeRef.new(shape: ConsumableResourceRequirement)
|
396
|
+
|
397
|
+
ConsumableResourceProperties.add_member(:consumable_resource_list, Shapes::ShapeRef.new(shape: ConsumableResourceList, location_name: "consumableResourceList"))
|
398
|
+
ConsumableResourceProperties.struct_class = Types::ConsumableResourceProperties
|
399
|
+
|
400
|
+
ConsumableResourceRequirement.add_member(:consumable_resource, Shapes::ShapeRef.new(shape: String, location_name: "consumableResource"))
|
401
|
+
ConsumableResourceRequirement.add_member(:quantity, Shapes::ShapeRef.new(shape: Long, location_name: "quantity"))
|
402
|
+
ConsumableResourceRequirement.struct_class = Types::ConsumableResourceRequirement
|
403
|
+
|
404
|
+
ConsumableResourceSummary.add_member(:consumable_resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "consumableResourceArn"))
|
405
|
+
ConsumableResourceSummary.add_member(:consumable_resource_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "consumableResourceName"))
|
406
|
+
ConsumableResourceSummary.add_member(:total_quantity, Shapes::ShapeRef.new(shape: Long, location_name: "totalQuantity"))
|
407
|
+
ConsumableResourceSummary.add_member(:in_use_quantity, Shapes::ShapeRef.new(shape: Long, location_name: "inUseQuantity"))
|
408
|
+
ConsumableResourceSummary.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, location_name: "resourceType"))
|
409
|
+
ConsumableResourceSummary.struct_class = Types::ConsumableResourceSummary
|
410
|
+
|
411
|
+
ConsumableResourceSummaryList.member = Shapes::ShapeRef.new(shape: ConsumableResourceSummary)
|
412
|
+
|
373
413
|
ContainerDetail.add_member(:image, Shapes::ShapeRef.new(shape: String, location_name: "image"))
|
374
414
|
ContainerDetail.add_member(:vcpus, Shapes::ShapeRef.new(shape: Integer, location_name: "vcpus"))
|
375
415
|
ContainerDetail.add_member(:memory, Shapes::ShapeRef.new(shape: Integer, location_name: "memory"))
|
@@ -453,6 +493,16 @@ module Aws::Batch
|
|
453
493
|
CreateComputeEnvironmentResponse.add_member(:compute_environment_arn, Shapes::ShapeRef.new(shape: String, location_name: "computeEnvironmentArn"))
|
454
494
|
CreateComputeEnvironmentResponse.struct_class = Types::CreateComputeEnvironmentResponse
|
455
495
|
|
496
|
+
CreateConsumableResourceRequest.add_member(:consumable_resource_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "consumableResourceName"))
|
497
|
+
CreateConsumableResourceRequest.add_member(:total_quantity, Shapes::ShapeRef.new(shape: Long, location_name: "totalQuantity"))
|
498
|
+
CreateConsumableResourceRequest.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, location_name: "resourceType"))
|
499
|
+
CreateConsumableResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagrisTagsMap, location_name: "tags"))
|
500
|
+
CreateConsumableResourceRequest.struct_class = Types::CreateConsumableResourceRequest
|
501
|
+
|
502
|
+
CreateConsumableResourceResponse.add_member(:consumable_resource_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "consumableResourceName"))
|
503
|
+
CreateConsumableResourceResponse.add_member(:consumable_resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "consumableResourceArn"))
|
504
|
+
CreateConsumableResourceResponse.struct_class = Types::CreateConsumableResourceResponse
|
505
|
+
|
456
506
|
CreateJobQueueRequest.add_member(:job_queue_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobQueueName"))
|
457
507
|
CreateJobQueueRequest.add_member(:state, Shapes::ShapeRef.new(shape: JQState, location_name: "state"))
|
458
508
|
CreateJobQueueRequest.add_member(:scheduling_policy_arn, Shapes::ShapeRef.new(shape: String, location_name: "schedulingPolicyArn"))
|
@@ -480,6 +530,11 @@ module Aws::Batch
|
|
480
530
|
|
481
531
|
DeleteComputeEnvironmentResponse.struct_class = Types::DeleteComputeEnvironmentResponse
|
482
532
|
|
533
|
+
DeleteConsumableResourceRequest.add_member(:consumable_resource, Shapes::ShapeRef.new(shape: String, required: true, location_name: "consumableResource"))
|
534
|
+
DeleteConsumableResourceRequest.struct_class = Types::DeleteConsumableResourceRequest
|
535
|
+
|
536
|
+
DeleteConsumableResourceResponse.struct_class = Types::DeleteConsumableResourceResponse
|
537
|
+
|
483
538
|
DeleteJobQueueRequest.add_member(:job_queue, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobQueue"))
|
484
539
|
DeleteJobQueueRequest.struct_class = Types::DeleteJobQueueRequest
|
485
540
|
|
@@ -504,6 +559,19 @@ module Aws::Batch
|
|
504
559
|
DescribeComputeEnvironmentsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
505
560
|
DescribeComputeEnvironmentsResponse.struct_class = Types::DescribeComputeEnvironmentsResponse
|
506
561
|
|
562
|
+
DescribeConsumableResourceRequest.add_member(:consumable_resource, Shapes::ShapeRef.new(shape: String, required: true, location_name: "consumableResource"))
|
563
|
+
DescribeConsumableResourceRequest.struct_class = Types::DescribeConsumableResourceRequest
|
564
|
+
|
565
|
+
DescribeConsumableResourceResponse.add_member(:consumable_resource_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "consumableResourceName"))
|
566
|
+
DescribeConsumableResourceResponse.add_member(:consumable_resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "consumableResourceArn"))
|
567
|
+
DescribeConsumableResourceResponse.add_member(:total_quantity, Shapes::ShapeRef.new(shape: Long, location_name: "totalQuantity"))
|
568
|
+
DescribeConsumableResourceResponse.add_member(:in_use_quantity, Shapes::ShapeRef.new(shape: Long, location_name: "inUseQuantity"))
|
569
|
+
DescribeConsumableResourceResponse.add_member(:available_quantity, Shapes::ShapeRef.new(shape: Long, location_name: "availableQuantity"))
|
570
|
+
DescribeConsumableResourceResponse.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, location_name: "resourceType"))
|
571
|
+
DescribeConsumableResourceResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: Long, location_name: "createdAt"))
|
572
|
+
DescribeConsumableResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagrisTagsMap, location_name: "tags"))
|
573
|
+
DescribeConsumableResourceResponse.struct_class = Types::DescribeConsumableResourceResponse
|
574
|
+
|
507
575
|
DescribeJobDefinitionsRequest.add_member(:job_definitions, Shapes::ShapeRef.new(shape: StringList, location_name: "jobDefinitions"))
|
508
576
|
DescribeJobDefinitionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: Integer, location_name: "maxResults"))
|
509
577
|
DescribeJobDefinitionsRequest.add_member(:job_definition_name, Shapes::ShapeRef.new(shape: String, location_name: "jobDefinitionName"))
|
@@ -828,6 +896,7 @@ module Aws::Batch
|
|
828
896
|
JobDefinition.add_member(:ecs_properties, Shapes::ShapeRef.new(shape: EcsProperties, location_name: "ecsProperties"))
|
829
897
|
JobDefinition.add_member(:eks_properties, Shapes::ShapeRef.new(shape: EksProperties, location_name: "eksProperties"))
|
830
898
|
JobDefinition.add_member(:container_orchestration_type, Shapes::ShapeRef.new(shape: OrchestrationType, location_name: "containerOrchestrationType"))
|
899
|
+
JobDefinition.add_member(:consumable_resource_properties, Shapes::ShapeRef.new(shape: ConsumableResourceProperties, location_name: "consumableResourceProperties"))
|
831
900
|
JobDefinition.struct_class = Types::JobDefinition
|
832
901
|
|
833
902
|
JobDefinitionList.member = Shapes::ShapeRef.new(shape: JobDefinition)
|
@@ -867,6 +936,7 @@ module Aws::Batch
|
|
867
936
|
JobDetail.add_member(:ecs_properties, Shapes::ShapeRef.new(shape: EcsPropertiesDetail, location_name: "ecsProperties"))
|
868
937
|
JobDetail.add_member(:is_cancelled, Shapes::ShapeRef.new(shape: Boolean, location_name: "isCancelled"))
|
869
938
|
JobDetail.add_member(:is_terminated, Shapes::ShapeRef.new(shape: Boolean, location_name: "isTerminated"))
|
939
|
+
JobDetail.add_member(:consumable_resource_properties, Shapes::ShapeRef.new(shape: ConsumableResourceProperties, location_name: "consumableResourceProperties"))
|
870
940
|
JobDetail.struct_class = Types::JobDetail
|
871
941
|
|
872
942
|
JobDetailList.member = Shapes::ShapeRef.new(shape: JobDetail)
|
@@ -946,10 +1016,48 @@ module Aws::Batch
|
|
946
1016
|
|
947
1017
|
ListAttemptTaskContainerDetails.member = Shapes::ShapeRef.new(shape: AttemptTaskContainerDetails)
|
948
1018
|
|
1019
|
+
ListConsumableResourcesFilterList.member = Shapes::ShapeRef.new(shape: KeyValuesPair)
|
1020
|
+
|
1021
|
+
ListConsumableResourcesRequest.add_member(:filters, Shapes::ShapeRef.new(shape: ListConsumableResourcesFilterList, location_name: "filters"))
|
1022
|
+
ListConsumableResourcesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: Integer, location_name: "maxResults"))
|
1023
|
+
ListConsumableResourcesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
1024
|
+
ListConsumableResourcesRequest.struct_class = Types::ListConsumableResourcesRequest
|
1025
|
+
|
1026
|
+
ListConsumableResourcesResponse.add_member(:consumable_resources, Shapes::ShapeRef.new(shape: ConsumableResourceSummaryList, required: true, location_name: "consumableResources"))
|
1027
|
+
ListConsumableResourcesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
1028
|
+
ListConsumableResourcesResponse.struct_class = Types::ListConsumableResourcesResponse
|
1029
|
+
|
949
1030
|
ListEcsTaskDetails.member = Shapes::ShapeRef.new(shape: EcsTaskDetails)
|
950
1031
|
|
951
1032
|
ListEcsTaskProperties.member = Shapes::ShapeRef.new(shape: EcsTaskProperties)
|
952
1033
|
|
1034
|
+
ListJobsByConsumableResourceFilterList.member = Shapes::ShapeRef.new(shape: KeyValuesPair)
|
1035
|
+
|
1036
|
+
ListJobsByConsumableResourceRequest.add_member(:consumable_resource, Shapes::ShapeRef.new(shape: String, required: true, location_name: "consumableResource"))
|
1037
|
+
ListJobsByConsumableResourceRequest.add_member(:filters, Shapes::ShapeRef.new(shape: ListJobsByConsumableResourceFilterList, location_name: "filters"))
|
1038
|
+
ListJobsByConsumableResourceRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: Integer, location_name: "maxResults"))
|
1039
|
+
ListJobsByConsumableResourceRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
1040
|
+
ListJobsByConsumableResourceRequest.struct_class = Types::ListJobsByConsumableResourceRequest
|
1041
|
+
|
1042
|
+
ListJobsByConsumableResourceResponse.add_member(:jobs, Shapes::ShapeRef.new(shape: ListJobsByConsumableResourceSummaryList, required: true, location_name: "jobs"))
|
1043
|
+
ListJobsByConsumableResourceResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
1044
|
+
ListJobsByConsumableResourceResponse.struct_class = Types::ListJobsByConsumableResourceResponse
|
1045
|
+
|
1046
|
+
ListJobsByConsumableResourceSummary.add_member(:job_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobArn"))
|
1047
|
+
ListJobsByConsumableResourceSummary.add_member(:job_queue_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobQueueArn"))
|
1048
|
+
ListJobsByConsumableResourceSummary.add_member(:job_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobName"))
|
1049
|
+
ListJobsByConsumableResourceSummary.add_member(:job_definition_arn, Shapes::ShapeRef.new(shape: String, location_name: "jobDefinitionArn"))
|
1050
|
+
ListJobsByConsumableResourceSummary.add_member(:share_identifier, Shapes::ShapeRef.new(shape: String, location_name: "shareIdentifier"))
|
1051
|
+
ListJobsByConsumableResourceSummary.add_member(:job_status, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobStatus"))
|
1052
|
+
ListJobsByConsumableResourceSummary.add_member(:quantity, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "quantity"))
|
1053
|
+
ListJobsByConsumableResourceSummary.add_member(:status_reason, Shapes::ShapeRef.new(shape: String, location_name: "statusReason"))
|
1054
|
+
ListJobsByConsumableResourceSummary.add_member(:started_at, Shapes::ShapeRef.new(shape: Long, location_name: "startedAt"))
|
1055
|
+
ListJobsByConsumableResourceSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "createdAt"))
|
1056
|
+
ListJobsByConsumableResourceSummary.add_member(:consumable_resource_properties, Shapes::ShapeRef.new(shape: ConsumableResourceProperties, required: true, location_name: "consumableResourceProperties"))
|
1057
|
+
ListJobsByConsumableResourceSummary.struct_class = Types::ListJobsByConsumableResourceSummary
|
1058
|
+
|
1059
|
+
ListJobsByConsumableResourceSummaryList.member = Shapes::ShapeRef.new(shape: ListJobsByConsumableResourceSummary)
|
1060
|
+
|
953
1061
|
ListJobsFilterList.member = Shapes::ShapeRef.new(shape: KeyValuesPair)
|
954
1062
|
|
955
1063
|
ListJobsRequest.add_member(:job_queue, Shapes::ShapeRef.new(shape: String, location_name: "jobQueue"))
|
@@ -1035,6 +1143,7 @@ module Aws::Batch
|
|
1035
1143
|
NodePropertyOverride.add_member(:ecs_properties_override, Shapes::ShapeRef.new(shape: EcsPropertiesOverride, location_name: "ecsPropertiesOverride"))
|
1036
1144
|
NodePropertyOverride.add_member(:instance_types, Shapes::ShapeRef.new(shape: StringList, location_name: "instanceTypes"))
|
1037
1145
|
NodePropertyOverride.add_member(:eks_properties_override, Shapes::ShapeRef.new(shape: EksPropertiesOverride, location_name: "eksPropertiesOverride"))
|
1146
|
+
NodePropertyOverride.add_member(:consumable_resource_properties_override, Shapes::ShapeRef.new(shape: ConsumableResourceProperties, location_name: "consumableResourcePropertiesOverride"))
|
1038
1147
|
NodePropertyOverride.struct_class = Types::NodePropertyOverride
|
1039
1148
|
|
1040
1149
|
NodePropertyOverrides.member = Shapes::ShapeRef.new(shape: NodePropertyOverride)
|
@@ -1046,6 +1155,7 @@ module Aws::Batch
|
|
1046
1155
|
NodeRangeProperty.add_member(:instance_types, Shapes::ShapeRef.new(shape: StringList, location_name: "instanceTypes"))
|
1047
1156
|
NodeRangeProperty.add_member(:ecs_properties, Shapes::ShapeRef.new(shape: EcsProperties, location_name: "ecsProperties"))
|
1048
1157
|
NodeRangeProperty.add_member(:eks_properties, Shapes::ShapeRef.new(shape: EksProperties, location_name: "eksProperties"))
|
1158
|
+
NodeRangeProperty.add_member(:consumable_resource_properties, Shapes::ShapeRef.new(shape: ConsumableResourceProperties, location_name: "consumableResourceProperties"))
|
1049
1159
|
NodeRangeProperty.struct_class = Types::NodeRangeProperty
|
1050
1160
|
|
1051
1161
|
ParametersMap.key = Shapes::ShapeRef.new(shape: String)
|
@@ -1066,6 +1176,7 @@ module Aws::Batch
|
|
1066
1176
|
RegisterJobDefinitionRequest.add_member(:platform_capabilities, Shapes::ShapeRef.new(shape: PlatformCapabilityList, location_name: "platformCapabilities"))
|
1067
1177
|
RegisterJobDefinitionRequest.add_member(:eks_properties, Shapes::ShapeRef.new(shape: EksProperties, location_name: "eksProperties"))
|
1068
1178
|
RegisterJobDefinitionRequest.add_member(:ecs_properties, Shapes::ShapeRef.new(shape: EcsProperties, location_name: "ecsProperties"))
|
1179
|
+
RegisterJobDefinitionRequest.add_member(:consumable_resource_properties, Shapes::ShapeRef.new(shape: ConsumableResourceProperties, location_name: "consumableResourceProperties"))
|
1069
1180
|
RegisterJobDefinitionRequest.struct_class = Types::RegisterJobDefinitionRequest
|
1070
1181
|
|
1071
1182
|
RegisterJobDefinitionResponse.add_member(:job_definition_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobDefinitionName"))
|
@@ -1136,6 +1247,7 @@ module Aws::Batch
|
|
1136
1247
|
SubmitJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagrisTagsMap, location_name: "tags"))
|
1137
1248
|
SubmitJobRequest.add_member(:eks_properties_override, Shapes::ShapeRef.new(shape: EksPropertiesOverride, location_name: "eksPropertiesOverride"))
|
1138
1249
|
SubmitJobRequest.add_member(:ecs_properties_override, Shapes::ShapeRef.new(shape: EcsPropertiesOverride, location_name: "ecsPropertiesOverride"))
|
1250
|
+
SubmitJobRequest.add_member(:consumable_resource_properties_override, Shapes::ShapeRef.new(shape: ConsumableResourceProperties, location_name: "consumableResourcePropertiesOverride"))
|
1139
1251
|
SubmitJobRequest.struct_class = Types::SubmitJobRequest
|
1140
1252
|
|
1141
1253
|
SubmitJobResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: String, location_name: "jobArn"))
|
@@ -1251,6 +1363,17 @@ module Aws::Batch
|
|
1251
1363
|
UpdateComputeEnvironmentResponse.add_member(:compute_environment_arn, Shapes::ShapeRef.new(shape: String, location_name: "computeEnvironmentArn"))
|
1252
1364
|
UpdateComputeEnvironmentResponse.struct_class = Types::UpdateComputeEnvironmentResponse
|
1253
1365
|
|
1366
|
+
UpdateConsumableResourceRequest.add_member(:consumable_resource, Shapes::ShapeRef.new(shape: String, required: true, location_name: "consumableResource"))
|
1367
|
+
UpdateConsumableResourceRequest.add_member(:operation, Shapes::ShapeRef.new(shape: String, location_name: "operation"))
|
1368
|
+
UpdateConsumableResourceRequest.add_member(:quantity, Shapes::ShapeRef.new(shape: Long, location_name: "quantity"))
|
1369
|
+
UpdateConsumableResourceRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
1370
|
+
UpdateConsumableResourceRequest.struct_class = Types::UpdateConsumableResourceRequest
|
1371
|
+
|
1372
|
+
UpdateConsumableResourceResponse.add_member(:consumable_resource_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "consumableResourceName"))
|
1373
|
+
UpdateConsumableResourceResponse.add_member(:consumable_resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "consumableResourceArn"))
|
1374
|
+
UpdateConsumableResourceResponse.add_member(:total_quantity, Shapes::ShapeRef.new(shape: Long, location_name: "totalQuantity"))
|
1375
|
+
UpdateConsumableResourceResponse.struct_class = Types::UpdateConsumableResourceResponse
|
1376
|
+
|
1254
1377
|
UpdateJobQueueRequest.add_member(:job_queue, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobQueue"))
|
1255
1378
|
UpdateJobQueueRequest.add_member(:state, Shapes::ShapeRef.new(shape: JQState, location_name: "state"))
|
1256
1379
|
UpdateJobQueueRequest.add_member(:scheduling_policy_arn, Shapes::ShapeRef.new(shape: String, location_name: "schedulingPolicyArn"))
|
@@ -1320,6 +1443,16 @@ module Aws::Batch
|
|
1320
1443
|
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
1321
1444
|
end)
|
1322
1445
|
|
1446
|
+
api.add_operation(:create_consumable_resource, Seahorse::Model::Operation.new.tap do |o|
|
1447
|
+
o.name = "CreateConsumableResource"
|
1448
|
+
o.http_method = "POST"
|
1449
|
+
o.http_request_uri = "/v1/createconsumableresource"
|
1450
|
+
o.input = Shapes::ShapeRef.new(shape: CreateConsumableResourceRequest)
|
1451
|
+
o.output = Shapes::ShapeRef.new(shape: CreateConsumableResourceResponse)
|
1452
|
+
o.errors << Shapes::ShapeRef.new(shape: ClientException)
|
1453
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
1454
|
+
end)
|
1455
|
+
|
1323
1456
|
api.add_operation(:create_job_queue, Seahorse::Model::Operation.new.tap do |o|
|
1324
1457
|
o.name = "CreateJobQueue"
|
1325
1458
|
o.http_method = "POST"
|
@@ -1350,6 +1483,16 @@ module Aws::Batch
|
|
1350
1483
|
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
1351
1484
|
end)
|
1352
1485
|
|
1486
|
+
api.add_operation(:delete_consumable_resource, Seahorse::Model::Operation.new.tap do |o|
|
1487
|
+
o.name = "DeleteConsumableResource"
|
1488
|
+
o.http_method = "POST"
|
1489
|
+
o.http_request_uri = "/v1/deleteconsumableresource"
|
1490
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteConsumableResourceRequest)
|
1491
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteConsumableResourceResponse)
|
1492
|
+
o.errors << Shapes::ShapeRef.new(shape: ClientException)
|
1493
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
1494
|
+
end)
|
1495
|
+
|
1353
1496
|
api.add_operation(:delete_job_queue, Seahorse::Model::Operation.new.tap do |o|
|
1354
1497
|
o.name = "DeleteJobQueue"
|
1355
1498
|
o.http_method = "POST"
|
@@ -1396,6 +1539,16 @@ module Aws::Batch
|
|
1396
1539
|
)
|
1397
1540
|
end)
|
1398
1541
|
|
1542
|
+
api.add_operation(:describe_consumable_resource, Seahorse::Model::Operation.new.tap do |o|
|
1543
|
+
o.name = "DescribeConsumableResource"
|
1544
|
+
o.http_method = "POST"
|
1545
|
+
o.http_request_uri = "/v1/describeconsumableresource"
|
1546
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeConsumableResourceRequest)
|
1547
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeConsumableResourceResponse)
|
1548
|
+
o.errors << Shapes::ShapeRef.new(shape: ClientException)
|
1549
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
1550
|
+
end)
|
1551
|
+
|
1399
1552
|
api.add_operation(:describe_job_definitions, Seahorse::Model::Operation.new.tap do |o|
|
1400
1553
|
o.name = "DescribeJobDefinitions"
|
1401
1554
|
o.http_method = "POST"
|
@@ -1458,6 +1611,22 @@ module Aws::Batch
|
|
1458
1611
|
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
1459
1612
|
end)
|
1460
1613
|
|
1614
|
+
api.add_operation(:list_consumable_resources, Seahorse::Model::Operation.new.tap do |o|
|
1615
|
+
o.name = "ListConsumableResources"
|
1616
|
+
o.http_method = "POST"
|
1617
|
+
o.http_request_uri = "/v1/listconsumableresources"
|
1618
|
+
o.input = Shapes::ShapeRef.new(shape: ListConsumableResourcesRequest)
|
1619
|
+
o.output = Shapes::ShapeRef.new(shape: ListConsumableResourcesResponse)
|
1620
|
+
o.errors << Shapes::ShapeRef.new(shape: ClientException)
|
1621
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
1622
|
+
o[:pager] = Aws::Pager.new(
|
1623
|
+
limit_key: "max_results",
|
1624
|
+
tokens: {
|
1625
|
+
"next_token" => "next_token"
|
1626
|
+
}
|
1627
|
+
)
|
1628
|
+
end)
|
1629
|
+
|
1461
1630
|
api.add_operation(:list_jobs, Seahorse::Model::Operation.new.tap do |o|
|
1462
1631
|
o.name = "ListJobs"
|
1463
1632
|
o.http_method = "POST"
|
@@ -1474,6 +1643,22 @@ module Aws::Batch
|
|
1474
1643
|
)
|
1475
1644
|
end)
|
1476
1645
|
|
1646
|
+
api.add_operation(:list_jobs_by_consumable_resource, Seahorse::Model::Operation.new.tap do |o|
|
1647
|
+
o.name = "ListJobsByConsumableResource"
|
1648
|
+
o.http_method = "POST"
|
1649
|
+
o.http_request_uri = "/v1/listjobsbyconsumableresource"
|
1650
|
+
o.input = Shapes::ShapeRef.new(shape: ListJobsByConsumableResourceRequest)
|
1651
|
+
o.output = Shapes::ShapeRef.new(shape: ListJobsByConsumableResourceResponse)
|
1652
|
+
o.errors << Shapes::ShapeRef.new(shape: ClientException)
|
1653
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
1654
|
+
o[:pager] = Aws::Pager.new(
|
1655
|
+
limit_key: "max_results",
|
1656
|
+
tokens: {
|
1657
|
+
"next_token" => "next_token"
|
1658
|
+
}
|
1659
|
+
)
|
1660
|
+
end)
|
1661
|
+
|
1477
1662
|
api.add_operation(:list_scheduling_policies, Seahorse::Model::Operation.new.tap do |o|
|
1478
1663
|
o.name = "ListSchedulingPolicies"
|
1479
1664
|
o.http_method = "POST"
|
@@ -1560,6 +1745,16 @@ module Aws::Batch
|
|
1560
1745
|
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
1561
1746
|
end)
|
1562
1747
|
|
1748
|
+
api.add_operation(:update_consumable_resource, Seahorse::Model::Operation.new.tap do |o|
|
1749
|
+
o.name = "UpdateConsumableResource"
|
1750
|
+
o.http_method = "POST"
|
1751
|
+
o.http_request_uri = "/v1/updateconsumableresource"
|
1752
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateConsumableResourceRequest)
|
1753
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateConsumableResourceResponse)
|
1754
|
+
o.errors << Shapes::ShapeRef.new(shape: ClientException)
|
1755
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
1756
|
+
end)
|
1757
|
+
|
1563
1758
|
api.add_operation(:update_job_queue, Seahorse::Model::Operation.new.tap do |o|
|
1564
1759
|
o.name = "UpdateJobQueue"
|
1565
1760
|
o.http_method = "POST"
|