aws-sdk-batch 1.110.0 → 1.112.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 +610 -13
- data/lib/aws-sdk-batch/client_api.rb +211 -0
- data/lib/aws-sdk-batch/types.rb +697 -37
- data/lib/aws-sdk-batch.rb +1 -1
- data/sig/client.rbs +142 -6
- data/sig/types.rbs +135 -1
- 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')
|
@@ -124,6 +136,9 @@ module Aws::Batch
|
|
124
136
|
EvaluateOnExitList = Shapes::ListShape.new(name: 'EvaluateOnExitList')
|
125
137
|
FairsharePolicy = Shapes::StructureShape.new(name: 'FairsharePolicy')
|
126
138
|
FargatePlatformConfiguration = Shapes::StructureShape.new(name: 'FargatePlatformConfiguration')
|
139
|
+
FirelensConfiguration = Shapes::StructureShape.new(name: 'FirelensConfiguration')
|
140
|
+
FirelensConfigurationOptionsMap = Shapes::MapShape.new(name: 'FirelensConfigurationOptionsMap')
|
141
|
+
FirelensConfigurationType = Shapes::StringShape.new(name: 'FirelensConfigurationType')
|
127
142
|
Float = Shapes::FloatShape.new(name: 'Float')
|
128
143
|
FrontOfQueueDetail = Shapes::StructureShape.new(name: 'FrontOfQueueDetail')
|
129
144
|
FrontOfQueueJobSummary = Shapes::StructureShape.new(name: 'FrontOfQueueJobSummary')
|
@@ -165,8 +180,16 @@ module Aws::Batch
|
|
165
180
|
LinuxParameters = Shapes::StructureShape.new(name: 'LinuxParameters')
|
166
181
|
ListAttemptEcsTaskDetails = Shapes::ListShape.new(name: 'ListAttemptEcsTaskDetails')
|
167
182
|
ListAttemptTaskContainerDetails = Shapes::ListShape.new(name: 'ListAttemptTaskContainerDetails')
|
183
|
+
ListConsumableResourcesFilterList = Shapes::ListShape.new(name: 'ListConsumableResourcesFilterList')
|
184
|
+
ListConsumableResourcesRequest = Shapes::StructureShape.new(name: 'ListConsumableResourcesRequest')
|
185
|
+
ListConsumableResourcesResponse = Shapes::StructureShape.new(name: 'ListConsumableResourcesResponse')
|
168
186
|
ListEcsTaskDetails = Shapes::ListShape.new(name: 'ListEcsTaskDetails')
|
169
187
|
ListEcsTaskProperties = Shapes::ListShape.new(name: 'ListEcsTaskProperties')
|
188
|
+
ListJobsByConsumableResourceFilterList = Shapes::ListShape.new(name: 'ListJobsByConsumableResourceFilterList')
|
189
|
+
ListJobsByConsumableResourceRequest = Shapes::StructureShape.new(name: 'ListJobsByConsumableResourceRequest')
|
190
|
+
ListJobsByConsumableResourceResponse = Shapes::StructureShape.new(name: 'ListJobsByConsumableResourceResponse')
|
191
|
+
ListJobsByConsumableResourceSummary = Shapes::StructureShape.new(name: 'ListJobsByConsumableResourceSummary')
|
192
|
+
ListJobsByConsumableResourceSummaryList = Shapes::ListShape.new(name: 'ListJobsByConsumableResourceSummaryList')
|
170
193
|
ListJobsFilterList = Shapes::ListShape.new(name: 'ListJobsFilterList')
|
171
194
|
ListJobsRequest = Shapes::StructureShape.new(name: 'ListJobsRequest')
|
172
195
|
ListJobsResponse = Shapes::StructureShape.new(name: 'ListJobsResponse')
|
@@ -245,6 +268,8 @@ module Aws::Batch
|
|
245
268
|
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
246
269
|
UpdateComputeEnvironmentRequest = Shapes::StructureShape.new(name: 'UpdateComputeEnvironmentRequest')
|
247
270
|
UpdateComputeEnvironmentResponse = Shapes::StructureShape.new(name: 'UpdateComputeEnvironmentResponse')
|
271
|
+
UpdateConsumableResourceRequest = Shapes::StructureShape.new(name: 'UpdateConsumableResourceRequest')
|
272
|
+
UpdateConsumableResourceResponse = Shapes::StructureShape.new(name: 'UpdateConsumableResourceResponse')
|
248
273
|
UpdateJobQueueRequest = Shapes::StructureShape.new(name: 'UpdateJobQueueRequest')
|
249
274
|
UpdateJobQueueResponse = Shapes::StructureShape.new(name: 'UpdateJobQueueResponse')
|
250
275
|
UpdatePolicy = Shapes::StructureShape.new(name: 'UpdatePolicy')
|
@@ -370,6 +395,24 @@ module Aws::Batch
|
|
370
395
|
ComputeResourceUpdate.add_member(:image_id, Shapes::ShapeRef.new(shape: String, location_name: "imageId"))
|
371
396
|
ComputeResourceUpdate.struct_class = Types::ComputeResourceUpdate
|
372
397
|
|
398
|
+
ConsumableResourceList.member = Shapes::ShapeRef.new(shape: ConsumableResourceRequirement)
|
399
|
+
|
400
|
+
ConsumableResourceProperties.add_member(:consumable_resource_list, Shapes::ShapeRef.new(shape: ConsumableResourceList, location_name: "consumableResourceList"))
|
401
|
+
ConsumableResourceProperties.struct_class = Types::ConsumableResourceProperties
|
402
|
+
|
403
|
+
ConsumableResourceRequirement.add_member(:consumable_resource, Shapes::ShapeRef.new(shape: String, location_name: "consumableResource"))
|
404
|
+
ConsumableResourceRequirement.add_member(:quantity, Shapes::ShapeRef.new(shape: Long, location_name: "quantity"))
|
405
|
+
ConsumableResourceRequirement.struct_class = Types::ConsumableResourceRequirement
|
406
|
+
|
407
|
+
ConsumableResourceSummary.add_member(:consumable_resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "consumableResourceArn"))
|
408
|
+
ConsumableResourceSummary.add_member(:consumable_resource_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "consumableResourceName"))
|
409
|
+
ConsumableResourceSummary.add_member(:total_quantity, Shapes::ShapeRef.new(shape: Long, location_name: "totalQuantity"))
|
410
|
+
ConsumableResourceSummary.add_member(:in_use_quantity, Shapes::ShapeRef.new(shape: Long, location_name: "inUseQuantity"))
|
411
|
+
ConsumableResourceSummary.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, location_name: "resourceType"))
|
412
|
+
ConsumableResourceSummary.struct_class = Types::ConsumableResourceSummary
|
413
|
+
|
414
|
+
ConsumableResourceSummaryList.member = Shapes::ShapeRef.new(shape: ConsumableResourceSummary)
|
415
|
+
|
373
416
|
ContainerDetail.add_member(:image, Shapes::ShapeRef.new(shape: String, location_name: "image"))
|
374
417
|
ContainerDetail.add_member(:vcpus, Shapes::ShapeRef.new(shape: Integer, location_name: "vcpus"))
|
375
418
|
ContainerDetail.add_member(:memory, Shapes::ShapeRef.new(shape: Integer, location_name: "memory"))
|
@@ -399,6 +442,7 @@ module Aws::Batch
|
|
399
442
|
ContainerDetail.add_member(:ephemeral_storage, Shapes::ShapeRef.new(shape: EphemeralStorage, location_name: "ephemeralStorage"))
|
400
443
|
ContainerDetail.add_member(:runtime_platform, Shapes::ShapeRef.new(shape: RuntimePlatform, location_name: "runtimePlatform"))
|
401
444
|
ContainerDetail.add_member(:repository_credentials, Shapes::ShapeRef.new(shape: RepositoryCredentials, location_name: "repositoryCredentials"))
|
445
|
+
ContainerDetail.add_member(:enable_execute_command, Shapes::ShapeRef.new(shape: Boolean, location_name: "enableExecuteCommand"))
|
402
446
|
ContainerDetail.struct_class = Types::ContainerDetail
|
403
447
|
|
404
448
|
ContainerOverrides.add_member(:vcpus, Shapes::ShapeRef.new(shape: Integer, deprecated: true, location_name: "vcpus", metadata: {"deprecatedMessage"=>"This field is deprecated, use resourceRequirements instead."}))
|
@@ -429,6 +473,7 @@ module Aws::Batch
|
|
429
473
|
ContainerProperties.add_member(:secrets, Shapes::ShapeRef.new(shape: SecretList, location_name: "secrets"))
|
430
474
|
ContainerProperties.add_member(:network_configuration, Shapes::ShapeRef.new(shape: NetworkConfiguration, location_name: "networkConfiguration"))
|
431
475
|
ContainerProperties.add_member(:fargate_platform_configuration, Shapes::ShapeRef.new(shape: FargatePlatformConfiguration, location_name: "fargatePlatformConfiguration"))
|
476
|
+
ContainerProperties.add_member(:enable_execute_command, Shapes::ShapeRef.new(shape: Boolean, location_name: "enableExecuteCommand"))
|
432
477
|
ContainerProperties.add_member(:ephemeral_storage, Shapes::ShapeRef.new(shape: EphemeralStorage, location_name: "ephemeralStorage"))
|
433
478
|
ContainerProperties.add_member(:runtime_platform, Shapes::ShapeRef.new(shape: RuntimePlatform, location_name: "runtimePlatform"))
|
434
479
|
ContainerProperties.add_member(:repository_credentials, Shapes::ShapeRef.new(shape: RepositoryCredentials, location_name: "repositoryCredentials"))
|
@@ -453,6 +498,16 @@ module Aws::Batch
|
|
453
498
|
CreateComputeEnvironmentResponse.add_member(:compute_environment_arn, Shapes::ShapeRef.new(shape: String, location_name: "computeEnvironmentArn"))
|
454
499
|
CreateComputeEnvironmentResponse.struct_class = Types::CreateComputeEnvironmentResponse
|
455
500
|
|
501
|
+
CreateConsumableResourceRequest.add_member(:consumable_resource_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "consumableResourceName"))
|
502
|
+
CreateConsumableResourceRequest.add_member(:total_quantity, Shapes::ShapeRef.new(shape: Long, location_name: "totalQuantity"))
|
503
|
+
CreateConsumableResourceRequest.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, location_name: "resourceType"))
|
504
|
+
CreateConsumableResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagrisTagsMap, location_name: "tags"))
|
505
|
+
CreateConsumableResourceRequest.struct_class = Types::CreateConsumableResourceRequest
|
506
|
+
|
507
|
+
CreateConsumableResourceResponse.add_member(:consumable_resource_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "consumableResourceName"))
|
508
|
+
CreateConsumableResourceResponse.add_member(:consumable_resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "consumableResourceArn"))
|
509
|
+
CreateConsumableResourceResponse.struct_class = Types::CreateConsumableResourceResponse
|
510
|
+
|
456
511
|
CreateJobQueueRequest.add_member(:job_queue_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobQueueName"))
|
457
512
|
CreateJobQueueRequest.add_member(:state, Shapes::ShapeRef.new(shape: JQState, location_name: "state"))
|
458
513
|
CreateJobQueueRequest.add_member(:scheduling_policy_arn, Shapes::ShapeRef.new(shape: String, location_name: "schedulingPolicyArn"))
|
@@ -480,6 +535,11 @@ module Aws::Batch
|
|
480
535
|
|
481
536
|
DeleteComputeEnvironmentResponse.struct_class = Types::DeleteComputeEnvironmentResponse
|
482
537
|
|
538
|
+
DeleteConsumableResourceRequest.add_member(:consumable_resource, Shapes::ShapeRef.new(shape: String, required: true, location_name: "consumableResource"))
|
539
|
+
DeleteConsumableResourceRequest.struct_class = Types::DeleteConsumableResourceRequest
|
540
|
+
|
541
|
+
DeleteConsumableResourceResponse.struct_class = Types::DeleteConsumableResourceResponse
|
542
|
+
|
483
543
|
DeleteJobQueueRequest.add_member(:job_queue, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobQueue"))
|
484
544
|
DeleteJobQueueRequest.struct_class = Types::DeleteJobQueueRequest
|
485
545
|
|
@@ -504,6 +564,19 @@ module Aws::Batch
|
|
504
564
|
DescribeComputeEnvironmentsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
505
565
|
DescribeComputeEnvironmentsResponse.struct_class = Types::DescribeComputeEnvironmentsResponse
|
506
566
|
|
567
|
+
DescribeConsumableResourceRequest.add_member(:consumable_resource, Shapes::ShapeRef.new(shape: String, required: true, location_name: "consumableResource"))
|
568
|
+
DescribeConsumableResourceRequest.struct_class = Types::DescribeConsumableResourceRequest
|
569
|
+
|
570
|
+
DescribeConsumableResourceResponse.add_member(:consumable_resource_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "consumableResourceName"))
|
571
|
+
DescribeConsumableResourceResponse.add_member(:consumable_resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "consumableResourceArn"))
|
572
|
+
DescribeConsumableResourceResponse.add_member(:total_quantity, Shapes::ShapeRef.new(shape: Long, location_name: "totalQuantity"))
|
573
|
+
DescribeConsumableResourceResponse.add_member(:in_use_quantity, Shapes::ShapeRef.new(shape: Long, location_name: "inUseQuantity"))
|
574
|
+
DescribeConsumableResourceResponse.add_member(:available_quantity, Shapes::ShapeRef.new(shape: Long, location_name: "availableQuantity"))
|
575
|
+
DescribeConsumableResourceResponse.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, location_name: "resourceType"))
|
576
|
+
DescribeConsumableResourceResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: Long, location_name: "createdAt"))
|
577
|
+
DescribeConsumableResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagrisTagsMap, location_name: "tags"))
|
578
|
+
DescribeConsumableResourceResponse.struct_class = Types::DescribeConsumableResourceResponse
|
579
|
+
|
507
580
|
DescribeJobDefinitionsRequest.add_member(:job_definitions, Shapes::ShapeRef.new(shape: StringList, location_name: "jobDefinitions"))
|
508
581
|
DescribeJobDefinitionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: Integer, location_name: "maxResults"))
|
509
582
|
DescribeJobDefinitionsRequest.add_member(:job_definition_name, Shapes::ShapeRef.new(shape: String, location_name: "jobDefinitionName"))
|
@@ -584,6 +657,7 @@ module Aws::Batch
|
|
584
657
|
EcsTaskDetails.add_member(:network_configuration, Shapes::ShapeRef.new(shape: NetworkConfiguration, location_name: "networkConfiguration"))
|
585
658
|
EcsTaskDetails.add_member(:runtime_platform, Shapes::ShapeRef.new(shape: RuntimePlatform, location_name: "runtimePlatform"))
|
586
659
|
EcsTaskDetails.add_member(:volumes, Shapes::ShapeRef.new(shape: Volumes, location_name: "volumes"))
|
660
|
+
EcsTaskDetails.add_member(:enable_execute_command, Shapes::ShapeRef.new(shape: Boolean, location_name: "enableExecuteCommand"))
|
587
661
|
EcsTaskDetails.struct_class = Types::EcsTaskDetails
|
588
662
|
|
589
663
|
EcsTaskProperties.add_member(:containers, Shapes::ShapeRef.new(shape: ListTaskContainerProperties, required: true, location_name: "containers"))
|
@@ -596,6 +670,7 @@ module Aws::Batch
|
|
596
670
|
EcsTaskProperties.add_member(:network_configuration, Shapes::ShapeRef.new(shape: NetworkConfiguration, location_name: "networkConfiguration"))
|
597
671
|
EcsTaskProperties.add_member(:runtime_platform, Shapes::ShapeRef.new(shape: RuntimePlatform, location_name: "runtimePlatform"))
|
598
672
|
EcsTaskProperties.add_member(:volumes, Shapes::ShapeRef.new(shape: Volumes, location_name: "volumes"))
|
673
|
+
EcsTaskProperties.add_member(:enable_execute_command, Shapes::ShapeRef.new(shape: Boolean, location_name: "enableExecuteCommand"))
|
599
674
|
EcsTaskProperties.struct_class = Types::EcsTaskProperties
|
600
675
|
|
601
676
|
EksAnnotationsMap.key = Shapes::ShapeRef.new(shape: String)
|
@@ -787,6 +862,13 @@ module Aws::Batch
|
|
787
862
|
FargatePlatformConfiguration.add_member(:platform_version, Shapes::ShapeRef.new(shape: String, location_name: "platformVersion"))
|
788
863
|
FargatePlatformConfiguration.struct_class = Types::FargatePlatformConfiguration
|
789
864
|
|
865
|
+
FirelensConfiguration.add_member(:type, Shapes::ShapeRef.new(shape: FirelensConfigurationType, required: true, location_name: "type"))
|
866
|
+
FirelensConfiguration.add_member(:options, Shapes::ShapeRef.new(shape: FirelensConfigurationOptionsMap, location_name: "options"))
|
867
|
+
FirelensConfiguration.struct_class = Types::FirelensConfiguration
|
868
|
+
|
869
|
+
FirelensConfigurationOptionsMap.key = Shapes::ShapeRef.new(shape: String)
|
870
|
+
FirelensConfigurationOptionsMap.value = Shapes::ShapeRef.new(shape: String)
|
871
|
+
|
790
872
|
FrontOfQueueDetail.add_member(:jobs, Shapes::ShapeRef.new(shape: FrontOfQueueJobSummaryList, location_name: "jobs"))
|
791
873
|
FrontOfQueueDetail.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: Long, location_name: "lastUpdatedAt"))
|
792
874
|
FrontOfQueueDetail.struct_class = Types::FrontOfQueueDetail
|
@@ -828,6 +910,7 @@ module Aws::Batch
|
|
828
910
|
JobDefinition.add_member(:ecs_properties, Shapes::ShapeRef.new(shape: EcsProperties, location_name: "ecsProperties"))
|
829
911
|
JobDefinition.add_member(:eks_properties, Shapes::ShapeRef.new(shape: EksProperties, location_name: "eksProperties"))
|
830
912
|
JobDefinition.add_member(:container_orchestration_type, Shapes::ShapeRef.new(shape: OrchestrationType, location_name: "containerOrchestrationType"))
|
913
|
+
JobDefinition.add_member(:consumable_resource_properties, Shapes::ShapeRef.new(shape: ConsumableResourceProperties, location_name: "consumableResourceProperties"))
|
831
914
|
JobDefinition.struct_class = Types::JobDefinition
|
832
915
|
|
833
916
|
JobDefinitionList.member = Shapes::ShapeRef.new(shape: JobDefinition)
|
@@ -867,6 +950,7 @@ module Aws::Batch
|
|
867
950
|
JobDetail.add_member(:ecs_properties, Shapes::ShapeRef.new(shape: EcsPropertiesDetail, location_name: "ecsProperties"))
|
868
951
|
JobDetail.add_member(:is_cancelled, Shapes::ShapeRef.new(shape: Boolean, location_name: "isCancelled"))
|
869
952
|
JobDetail.add_member(:is_terminated, Shapes::ShapeRef.new(shape: Boolean, location_name: "isTerminated"))
|
953
|
+
JobDetail.add_member(:consumable_resource_properties, Shapes::ShapeRef.new(shape: ConsumableResourceProperties, location_name: "consumableResourceProperties"))
|
870
954
|
JobDetail.struct_class = Types::JobDetail
|
871
955
|
|
872
956
|
JobDetailList.member = Shapes::ShapeRef.new(shape: JobDetail)
|
@@ -946,10 +1030,48 @@ module Aws::Batch
|
|
946
1030
|
|
947
1031
|
ListAttemptTaskContainerDetails.member = Shapes::ShapeRef.new(shape: AttemptTaskContainerDetails)
|
948
1032
|
|
1033
|
+
ListConsumableResourcesFilterList.member = Shapes::ShapeRef.new(shape: KeyValuesPair)
|
1034
|
+
|
1035
|
+
ListConsumableResourcesRequest.add_member(:filters, Shapes::ShapeRef.new(shape: ListConsumableResourcesFilterList, location_name: "filters"))
|
1036
|
+
ListConsumableResourcesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: Integer, location_name: "maxResults"))
|
1037
|
+
ListConsumableResourcesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
1038
|
+
ListConsumableResourcesRequest.struct_class = Types::ListConsumableResourcesRequest
|
1039
|
+
|
1040
|
+
ListConsumableResourcesResponse.add_member(:consumable_resources, Shapes::ShapeRef.new(shape: ConsumableResourceSummaryList, required: true, location_name: "consumableResources"))
|
1041
|
+
ListConsumableResourcesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
1042
|
+
ListConsumableResourcesResponse.struct_class = Types::ListConsumableResourcesResponse
|
1043
|
+
|
949
1044
|
ListEcsTaskDetails.member = Shapes::ShapeRef.new(shape: EcsTaskDetails)
|
950
1045
|
|
951
1046
|
ListEcsTaskProperties.member = Shapes::ShapeRef.new(shape: EcsTaskProperties)
|
952
1047
|
|
1048
|
+
ListJobsByConsumableResourceFilterList.member = Shapes::ShapeRef.new(shape: KeyValuesPair)
|
1049
|
+
|
1050
|
+
ListJobsByConsumableResourceRequest.add_member(:consumable_resource, Shapes::ShapeRef.new(shape: String, required: true, location_name: "consumableResource"))
|
1051
|
+
ListJobsByConsumableResourceRequest.add_member(:filters, Shapes::ShapeRef.new(shape: ListJobsByConsumableResourceFilterList, location_name: "filters"))
|
1052
|
+
ListJobsByConsumableResourceRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: Integer, location_name: "maxResults"))
|
1053
|
+
ListJobsByConsumableResourceRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
1054
|
+
ListJobsByConsumableResourceRequest.struct_class = Types::ListJobsByConsumableResourceRequest
|
1055
|
+
|
1056
|
+
ListJobsByConsumableResourceResponse.add_member(:jobs, Shapes::ShapeRef.new(shape: ListJobsByConsumableResourceSummaryList, required: true, location_name: "jobs"))
|
1057
|
+
ListJobsByConsumableResourceResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
1058
|
+
ListJobsByConsumableResourceResponse.struct_class = Types::ListJobsByConsumableResourceResponse
|
1059
|
+
|
1060
|
+
ListJobsByConsumableResourceSummary.add_member(:job_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobArn"))
|
1061
|
+
ListJobsByConsumableResourceSummary.add_member(:job_queue_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobQueueArn"))
|
1062
|
+
ListJobsByConsumableResourceSummary.add_member(:job_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobName"))
|
1063
|
+
ListJobsByConsumableResourceSummary.add_member(:job_definition_arn, Shapes::ShapeRef.new(shape: String, location_name: "jobDefinitionArn"))
|
1064
|
+
ListJobsByConsumableResourceSummary.add_member(:share_identifier, Shapes::ShapeRef.new(shape: String, location_name: "shareIdentifier"))
|
1065
|
+
ListJobsByConsumableResourceSummary.add_member(:job_status, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobStatus"))
|
1066
|
+
ListJobsByConsumableResourceSummary.add_member(:quantity, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "quantity"))
|
1067
|
+
ListJobsByConsumableResourceSummary.add_member(:status_reason, Shapes::ShapeRef.new(shape: String, location_name: "statusReason"))
|
1068
|
+
ListJobsByConsumableResourceSummary.add_member(:started_at, Shapes::ShapeRef.new(shape: Long, location_name: "startedAt"))
|
1069
|
+
ListJobsByConsumableResourceSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "createdAt"))
|
1070
|
+
ListJobsByConsumableResourceSummary.add_member(:consumable_resource_properties, Shapes::ShapeRef.new(shape: ConsumableResourceProperties, required: true, location_name: "consumableResourceProperties"))
|
1071
|
+
ListJobsByConsumableResourceSummary.struct_class = Types::ListJobsByConsumableResourceSummary
|
1072
|
+
|
1073
|
+
ListJobsByConsumableResourceSummaryList.member = Shapes::ShapeRef.new(shape: ListJobsByConsumableResourceSummary)
|
1074
|
+
|
953
1075
|
ListJobsFilterList.member = Shapes::ShapeRef.new(shape: KeyValuesPair)
|
954
1076
|
|
955
1077
|
ListJobsRequest.add_member(:job_queue, Shapes::ShapeRef.new(shape: String, location_name: "jobQueue"))
|
@@ -1035,6 +1157,7 @@ module Aws::Batch
|
|
1035
1157
|
NodePropertyOverride.add_member(:ecs_properties_override, Shapes::ShapeRef.new(shape: EcsPropertiesOverride, location_name: "ecsPropertiesOverride"))
|
1036
1158
|
NodePropertyOverride.add_member(:instance_types, Shapes::ShapeRef.new(shape: StringList, location_name: "instanceTypes"))
|
1037
1159
|
NodePropertyOverride.add_member(:eks_properties_override, Shapes::ShapeRef.new(shape: EksPropertiesOverride, location_name: "eksPropertiesOverride"))
|
1160
|
+
NodePropertyOverride.add_member(:consumable_resource_properties_override, Shapes::ShapeRef.new(shape: ConsumableResourceProperties, location_name: "consumableResourcePropertiesOverride"))
|
1038
1161
|
NodePropertyOverride.struct_class = Types::NodePropertyOverride
|
1039
1162
|
|
1040
1163
|
NodePropertyOverrides.member = Shapes::ShapeRef.new(shape: NodePropertyOverride)
|
@@ -1046,6 +1169,7 @@ module Aws::Batch
|
|
1046
1169
|
NodeRangeProperty.add_member(:instance_types, Shapes::ShapeRef.new(shape: StringList, location_name: "instanceTypes"))
|
1047
1170
|
NodeRangeProperty.add_member(:ecs_properties, Shapes::ShapeRef.new(shape: EcsProperties, location_name: "ecsProperties"))
|
1048
1171
|
NodeRangeProperty.add_member(:eks_properties, Shapes::ShapeRef.new(shape: EksProperties, location_name: "eksProperties"))
|
1172
|
+
NodeRangeProperty.add_member(:consumable_resource_properties, Shapes::ShapeRef.new(shape: ConsumableResourceProperties, location_name: "consumableResourceProperties"))
|
1049
1173
|
NodeRangeProperty.struct_class = Types::NodeRangeProperty
|
1050
1174
|
|
1051
1175
|
ParametersMap.key = Shapes::ShapeRef.new(shape: String)
|
@@ -1066,6 +1190,7 @@ module Aws::Batch
|
|
1066
1190
|
RegisterJobDefinitionRequest.add_member(:platform_capabilities, Shapes::ShapeRef.new(shape: PlatformCapabilityList, location_name: "platformCapabilities"))
|
1067
1191
|
RegisterJobDefinitionRequest.add_member(:eks_properties, Shapes::ShapeRef.new(shape: EksProperties, location_name: "eksProperties"))
|
1068
1192
|
RegisterJobDefinitionRequest.add_member(:ecs_properties, Shapes::ShapeRef.new(shape: EcsProperties, location_name: "ecsProperties"))
|
1193
|
+
RegisterJobDefinitionRequest.add_member(:consumable_resource_properties, Shapes::ShapeRef.new(shape: ConsumableResourceProperties, location_name: "consumableResourceProperties"))
|
1069
1194
|
RegisterJobDefinitionRequest.struct_class = Types::RegisterJobDefinitionRequest
|
1070
1195
|
|
1071
1196
|
RegisterJobDefinitionResponse.add_member(:job_definition_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobDefinitionName"))
|
@@ -1136,6 +1261,7 @@ module Aws::Batch
|
|
1136
1261
|
SubmitJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagrisTagsMap, location_name: "tags"))
|
1137
1262
|
SubmitJobRequest.add_member(:eks_properties_override, Shapes::ShapeRef.new(shape: EksPropertiesOverride, location_name: "eksPropertiesOverride"))
|
1138
1263
|
SubmitJobRequest.add_member(:ecs_properties_override, Shapes::ShapeRef.new(shape: EcsPropertiesOverride, location_name: "ecsPropertiesOverride"))
|
1264
|
+
SubmitJobRequest.add_member(:consumable_resource_properties_override, Shapes::ShapeRef.new(shape: ConsumableResourceProperties, location_name: "consumableResourcePropertiesOverride"))
|
1139
1265
|
SubmitJobRequest.struct_class = Types::SubmitJobRequest
|
1140
1266
|
|
1141
1267
|
SubmitJobResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: String, location_name: "jobArn"))
|
@@ -1167,6 +1293,7 @@ module Aws::Batch
|
|
1167
1293
|
TaskContainerDetails.add_member(:depends_on, Shapes::ShapeRef.new(shape: TaskContainerDependencyList, location_name: "dependsOn"))
|
1168
1294
|
TaskContainerDetails.add_member(:environment, Shapes::ShapeRef.new(shape: EnvironmentVariables, location_name: "environment"))
|
1169
1295
|
TaskContainerDetails.add_member(:essential, Shapes::ShapeRef.new(shape: Boolean, location_name: "essential"))
|
1296
|
+
TaskContainerDetails.add_member(:firelens_configuration, Shapes::ShapeRef.new(shape: FirelensConfiguration, location_name: "firelensConfiguration"))
|
1170
1297
|
TaskContainerDetails.add_member(:image, Shapes::ShapeRef.new(shape: String, location_name: "image"))
|
1171
1298
|
TaskContainerDetails.add_member(:linux_parameters, Shapes::ShapeRef.new(shape: LinuxParameters, location_name: "linuxParameters"))
|
1172
1299
|
TaskContainerDetails.add_member(:log_configuration, Shapes::ShapeRef.new(shape: LogConfiguration, location_name: "logConfiguration"))
|
@@ -1195,6 +1322,7 @@ module Aws::Batch
|
|
1195
1322
|
TaskContainerProperties.add_member(:depends_on, Shapes::ShapeRef.new(shape: TaskContainerDependencyList, location_name: "dependsOn"))
|
1196
1323
|
TaskContainerProperties.add_member(:environment, Shapes::ShapeRef.new(shape: EnvironmentVariables, location_name: "environment"))
|
1197
1324
|
TaskContainerProperties.add_member(:essential, Shapes::ShapeRef.new(shape: Boolean, location_name: "essential"))
|
1325
|
+
TaskContainerProperties.add_member(:firelens_configuration, Shapes::ShapeRef.new(shape: FirelensConfiguration, location_name: "firelensConfiguration"))
|
1198
1326
|
TaskContainerProperties.add_member(:image, Shapes::ShapeRef.new(shape: String, required: true, location_name: "image"))
|
1199
1327
|
TaskContainerProperties.add_member(:linux_parameters, Shapes::ShapeRef.new(shape: LinuxParameters, location_name: "linuxParameters"))
|
1200
1328
|
TaskContainerProperties.add_member(:log_configuration, Shapes::ShapeRef.new(shape: LogConfiguration, location_name: "logConfiguration"))
|
@@ -1251,6 +1379,17 @@ module Aws::Batch
|
|
1251
1379
|
UpdateComputeEnvironmentResponse.add_member(:compute_environment_arn, Shapes::ShapeRef.new(shape: String, location_name: "computeEnvironmentArn"))
|
1252
1380
|
UpdateComputeEnvironmentResponse.struct_class = Types::UpdateComputeEnvironmentResponse
|
1253
1381
|
|
1382
|
+
UpdateConsumableResourceRequest.add_member(:consumable_resource, Shapes::ShapeRef.new(shape: String, required: true, location_name: "consumableResource"))
|
1383
|
+
UpdateConsumableResourceRequest.add_member(:operation, Shapes::ShapeRef.new(shape: String, location_name: "operation"))
|
1384
|
+
UpdateConsumableResourceRequest.add_member(:quantity, Shapes::ShapeRef.new(shape: Long, location_name: "quantity"))
|
1385
|
+
UpdateConsumableResourceRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
1386
|
+
UpdateConsumableResourceRequest.struct_class = Types::UpdateConsumableResourceRequest
|
1387
|
+
|
1388
|
+
UpdateConsumableResourceResponse.add_member(:consumable_resource_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "consumableResourceName"))
|
1389
|
+
UpdateConsumableResourceResponse.add_member(:consumable_resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "consumableResourceArn"))
|
1390
|
+
UpdateConsumableResourceResponse.add_member(:total_quantity, Shapes::ShapeRef.new(shape: Long, location_name: "totalQuantity"))
|
1391
|
+
UpdateConsumableResourceResponse.struct_class = Types::UpdateConsumableResourceResponse
|
1392
|
+
|
1254
1393
|
UpdateJobQueueRequest.add_member(:job_queue, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobQueue"))
|
1255
1394
|
UpdateJobQueueRequest.add_member(:state, Shapes::ShapeRef.new(shape: JQState, location_name: "state"))
|
1256
1395
|
UpdateJobQueueRequest.add_member(:scheduling_policy_arn, Shapes::ShapeRef.new(shape: String, location_name: "schedulingPolicyArn"))
|
@@ -1320,6 +1459,16 @@ module Aws::Batch
|
|
1320
1459
|
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
1321
1460
|
end)
|
1322
1461
|
|
1462
|
+
api.add_operation(:create_consumable_resource, Seahorse::Model::Operation.new.tap do |o|
|
1463
|
+
o.name = "CreateConsumableResource"
|
1464
|
+
o.http_method = "POST"
|
1465
|
+
o.http_request_uri = "/v1/createconsumableresource"
|
1466
|
+
o.input = Shapes::ShapeRef.new(shape: CreateConsumableResourceRequest)
|
1467
|
+
o.output = Shapes::ShapeRef.new(shape: CreateConsumableResourceResponse)
|
1468
|
+
o.errors << Shapes::ShapeRef.new(shape: ClientException)
|
1469
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
1470
|
+
end)
|
1471
|
+
|
1323
1472
|
api.add_operation(:create_job_queue, Seahorse::Model::Operation.new.tap do |o|
|
1324
1473
|
o.name = "CreateJobQueue"
|
1325
1474
|
o.http_method = "POST"
|
@@ -1350,6 +1499,16 @@ module Aws::Batch
|
|
1350
1499
|
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
1351
1500
|
end)
|
1352
1501
|
|
1502
|
+
api.add_operation(:delete_consumable_resource, Seahorse::Model::Operation.new.tap do |o|
|
1503
|
+
o.name = "DeleteConsumableResource"
|
1504
|
+
o.http_method = "POST"
|
1505
|
+
o.http_request_uri = "/v1/deleteconsumableresource"
|
1506
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteConsumableResourceRequest)
|
1507
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteConsumableResourceResponse)
|
1508
|
+
o.errors << Shapes::ShapeRef.new(shape: ClientException)
|
1509
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
1510
|
+
end)
|
1511
|
+
|
1353
1512
|
api.add_operation(:delete_job_queue, Seahorse::Model::Operation.new.tap do |o|
|
1354
1513
|
o.name = "DeleteJobQueue"
|
1355
1514
|
o.http_method = "POST"
|
@@ -1396,6 +1555,16 @@ module Aws::Batch
|
|
1396
1555
|
)
|
1397
1556
|
end)
|
1398
1557
|
|
1558
|
+
api.add_operation(:describe_consumable_resource, Seahorse::Model::Operation.new.tap do |o|
|
1559
|
+
o.name = "DescribeConsumableResource"
|
1560
|
+
o.http_method = "POST"
|
1561
|
+
o.http_request_uri = "/v1/describeconsumableresource"
|
1562
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeConsumableResourceRequest)
|
1563
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeConsumableResourceResponse)
|
1564
|
+
o.errors << Shapes::ShapeRef.new(shape: ClientException)
|
1565
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
1566
|
+
end)
|
1567
|
+
|
1399
1568
|
api.add_operation(:describe_job_definitions, Seahorse::Model::Operation.new.tap do |o|
|
1400
1569
|
o.name = "DescribeJobDefinitions"
|
1401
1570
|
o.http_method = "POST"
|
@@ -1458,6 +1627,22 @@ module Aws::Batch
|
|
1458
1627
|
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
1459
1628
|
end)
|
1460
1629
|
|
1630
|
+
api.add_operation(:list_consumable_resources, Seahorse::Model::Operation.new.tap do |o|
|
1631
|
+
o.name = "ListConsumableResources"
|
1632
|
+
o.http_method = "POST"
|
1633
|
+
o.http_request_uri = "/v1/listconsumableresources"
|
1634
|
+
o.input = Shapes::ShapeRef.new(shape: ListConsumableResourcesRequest)
|
1635
|
+
o.output = Shapes::ShapeRef.new(shape: ListConsumableResourcesResponse)
|
1636
|
+
o.errors << Shapes::ShapeRef.new(shape: ClientException)
|
1637
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
1638
|
+
o[:pager] = Aws::Pager.new(
|
1639
|
+
limit_key: "max_results",
|
1640
|
+
tokens: {
|
1641
|
+
"next_token" => "next_token"
|
1642
|
+
}
|
1643
|
+
)
|
1644
|
+
end)
|
1645
|
+
|
1461
1646
|
api.add_operation(:list_jobs, Seahorse::Model::Operation.new.tap do |o|
|
1462
1647
|
o.name = "ListJobs"
|
1463
1648
|
o.http_method = "POST"
|
@@ -1474,6 +1659,22 @@ module Aws::Batch
|
|
1474
1659
|
)
|
1475
1660
|
end)
|
1476
1661
|
|
1662
|
+
api.add_operation(:list_jobs_by_consumable_resource, Seahorse::Model::Operation.new.tap do |o|
|
1663
|
+
o.name = "ListJobsByConsumableResource"
|
1664
|
+
o.http_method = "POST"
|
1665
|
+
o.http_request_uri = "/v1/listjobsbyconsumableresource"
|
1666
|
+
o.input = Shapes::ShapeRef.new(shape: ListJobsByConsumableResourceRequest)
|
1667
|
+
o.output = Shapes::ShapeRef.new(shape: ListJobsByConsumableResourceResponse)
|
1668
|
+
o.errors << Shapes::ShapeRef.new(shape: ClientException)
|
1669
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
1670
|
+
o[:pager] = Aws::Pager.new(
|
1671
|
+
limit_key: "max_results",
|
1672
|
+
tokens: {
|
1673
|
+
"next_token" => "next_token"
|
1674
|
+
}
|
1675
|
+
)
|
1676
|
+
end)
|
1677
|
+
|
1477
1678
|
api.add_operation(:list_scheduling_policies, Seahorse::Model::Operation.new.tap do |o|
|
1478
1679
|
o.name = "ListSchedulingPolicies"
|
1479
1680
|
o.http_method = "POST"
|
@@ -1560,6 +1761,16 @@ module Aws::Batch
|
|
1560
1761
|
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
1561
1762
|
end)
|
1562
1763
|
|
1764
|
+
api.add_operation(:update_consumable_resource, Seahorse::Model::Operation.new.tap do |o|
|
1765
|
+
o.name = "UpdateConsumableResource"
|
1766
|
+
o.http_method = "POST"
|
1767
|
+
o.http_request_uri = "/v1/updateconsumableresource"
|
1768
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateConsumableResourceRequest)
|
1769
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateConsumableResourceResponse)
|
1770
|
+
o.errors << Shapes::ShapeRef.new(shape: ClientException)
|
1771
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
1772
|
+
end)
|
1773
|
+
|
1563
1774
|
api.add_operation(:update_job_queue, Seahorse::Model::Operation.new.tap do |o|
|
1564
1775
|
o.name = "UpdateJobQueue"
|
1565
1776
|
o.http_method = "POST"
|