aws-sdk-batch 1.34.0 → 1.39.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/lib/aws-sdk-batch.rb +3 -2
- data/lib/aws-sdk-batch/client.rb +423 -10
- data/lib/aws-sdk-batch/client_api.rb +113 -0
- data/lib/aws-sdk-batch/types.rb +862 -38
- metadata +4 -4
@@ -85,6 +85,11 @@ module Aws::Batch
|
|
85
85
|
LinuxParameters = Shapes::StructureShape.new(name: 'LinuxParameters')
|
86
86
|
ListJobsRequest = Shapes::StructureShape.new(name: 'ListJobsRequest')
|
87
87
|
ListJobsResponse = Shapes::StructureShape.new(name: 'ListJobsResponse')
|
88
|
+
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
89
|
+
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
90
|
+
LogConfiguration = Shapes::StructureShape.new(name: 'LogConfiguration')
|
91
|
+
LogConfigurationOptionsMap = Shapes::MapShape.new(name: 'LogConfigurationOptionsMap')
|
92
|
+
LogDriver = Shapes::StringShape.new(name: 'LogDriver')
|
88
93
|
Long = Shapes::IntegerShape.new(name: 'Long')
|
89
94
|
MountPoint = Shapes::StructureShape.new(name: 'MountPoint')
|
90
95
|
MountPoints = Shapes::ListShape.new(name: 'MountPoints')
|
@@ -105,16 +110,28 @@ module Aws::Batch
|
|
105
110
|
ResourceRequirements = Shapes::ListShape.new(name: 'ResourceRequirements')
|
106
111
|
ResourceType = Shapes::StringShape.new(name: 'ResourceType')
|
107
112
|
RetryStrategy = Shapes::StructureShape.new(name: 'RetryStrategy')
|
113
|
+
Secret = Shapes::StructureShape.new(name: 'Secret')
|
114
|
+
SecretList = Shapes::ListShape.new(name: 'SecretList')
|
108
115
|
ServerException = Shapes::StructureShape.new(name: 'ServerException')
|
109
116
|
String = Shapes::StringShape.new(name: 'String')
|
110
117
|
StringList = Shapes::ListShape.new(name: 'StringList')
|
111
118
|
SubmitJobRequest = Shapes::StructureShape.new(name: 'SubmitJobRequest')
|
112
119
|
SubmitJobResponse = Shapes::StructureShape.new(name: 'SubmitJobResponse')
|
120
|
+
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
121
|
+
TagKeysList = Shapes::ListShape.new(name: 'TagKeysList')
|
122
|
+
TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
|
123
|
+
TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
|
124
|
+
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
125
|
+
TagrisTagsMap = Shapes::MapShape.new(name: 'TagrisTagsMap')
|
113
126
|
TagsMap = Shapes::MapShape.new(name: 'TagsMap')
|
114
127
|
TerminateJobRequest = Shapes::StructureShape.new(name: 'TerminateJobRequest')
|
115
128
|
TerminateJobResponse = Shapes::StructureShape.new(name: 'TerminateJobResponse')
|
129
|
+
Tmpfs = Shapes::StructureShape.new(name: 'Tmpfs')
|
130
|
+
TmpfsList = Shapes::ListShape.new(name: 'TmpfsList')
|
116
131
|
Ulimit = Shapes::StructureShape.new(name: 'Ulimit')
|
117
132
|
Ulimits = Shapes::ListShape.new(name: 'Ulimits')
|
133
|
+
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
134
|
+
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
118
135
|
UpdateComputeEnvironmentRequest = Shapes::StructureShape.new(name: 'UpdateComputeEnvironmentRequest')
|
119
136
|
UpdateComputeEnvironmentResponse = Shapes::StructureShape.new(name: 'UpdateComputeEnvironmentResponse')
|
120
137
|
UpdateJobQueueRequest = Shapes::StructureShape.new(name: 'UpdateJobQueueRequest')
|
@@ -165,6 +182,7 @@ module Aws::Batch
|
|
165
182
|
ComputeEnvironmentDetail.add_member(:compute_environment_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "computeEnvironmentName"))
|
166
183
|
ComputeEnvironmentDetail.add_member(:compute_environment_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "computeEnvironmentArn"))
|
167
184
|
ComputeEnvironmentDetail.add_member(:ecs_cluster_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ecsClusterArn"))
|
185
|
+
ComputeEnvironmentDetail.add_member(:tags, Shapes::ShapeRef.new(shape: TagrisTagsMap, location_name: "tags"))
|
168
186
|
ComputeEnvironmentDetail.add_member(:type, Shapes::ShapeRef.new(shape: CEType, location_name: "type"))
|
169
187
|
ComputeEnvironmentDetail.add_member(:state, Shapes::ShapeRef.new(shape: CEState, location_name: "state"))
|
170
188
|
ComputeEnvironmentDetail.add_member(:status, Shapes::ShapeRef.new(shape: CEStatus, location_name: "status"))
|
@@ -209,6 +227,7 @@ module Aws::Batch
|
|
209
227
|
ContainerDetail.add_member(:memory, Shapes::ShapeRef.new(shape: Integer, location_name: "memory"))
|
210
228
|
ContainerDetail.add_member(:command, Shapes::ShapeRef.new(shape: StringList, location_name: "command"))
|
211
229
|
ContainerDetail.add_member(:job_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "jobRoleArn"))
|
230
|
+
ContainerDetail.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "executionRoleArn"))
|
212
231
|
ContainerDetail.add_member(:volumes, Shapes::ShapeRef.new(shape: Volumes, location_name: "volumes"))
|
213
232
|
ContainerDetail.add_member(:environment, Shapes::ShapeRef.new(shape: EnvironmentVariables, location_name: "environment"))
|
214
233
|
ContainerDetail.add_member(:mount_points, Shapes::ShapeRef.new(shape: MountPoints, location_name: "mountPoints"))
|
@@ -225,6 +244,8 @@ module Aws::Batch
|
|
225
244
|
ContainerDetail.add_member(:network_interfaces, Shapes::ShapeRef.new(shape: NetworkInterfaceList, location_name: "networkInterfaces"))
|
226
245
|
ContainerDetail.add_member(:resource_requirements, Shapes::ShapeRef.new(shape: ResourceRequirements, location_name: "resourceRequirements"))
|
227
246
|
ContainerDetail.add_member(:linux_parameters, Shapes::ShapeRef.new(shape: LinuxParameters, location_name: "linuxParameters"))
|
247
|
+
ContainerDetail.add_member(:log_configuration, Shapes::ShapeRef.new(shape: LogConfiguration, location_name: "logConfiguration"))
|
248
|
+
ContainerDetail.add_member(:secrets, Shapes::ShapeRef.new(shape: SecretList, location_name: "secrets"))
|
228
249
|
ContainerDetail.struct_class = Types::ContainerDetail
|
229
250
|
|
230
251
|
ContainerOverrides.add_member(:vcpus, Shapes::ShapeRef.new(shape: Integer, location_name: "vcpus"))
|
@@ -240,6 +261,7 @@ module Aws::Batch
|
|
240
261
|
ContainerProperties.add_member(:memory, Shapes::ShapeRef.new(shape: Integer, location_name: "memory"))
|
241
262
|
ContainerProperties.add_member(:command, Shapes::ShapeRef.new(shape: StringList, location_name: "command"))
|
242
263
|
ContainerProperties.add_member(:job_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "jobRoleArn"))
|
264
|
+
ContainerProperties.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "executionRoleArn"))
|
243
265
|
ContainerProperties.add_member(:volumes, Shapes::ShapeRef.new(shape: Volumes, location_name: "volumes"))
|
244
266
|
ContainerProperties.add_member(:environment, Shapes::ShapeRef.new(shape: EnvironmentVariables, location_name: "environment"))
|
245
267
|
ContainerProperties.add_member(:mount_points, Shapes::ShapeRef.new(shape: MountPoints, location_name: "mountPoints"))
|
@@ -250,6 +272,8 @@ module Aws::Batch
|
|
250
272
|
ContainerProperties.add_member(:instance_type, Shapes::ShapeRef.new(shape: String, location_name: "instanceType"))
|
251
273
|
ContainerProperties.add_member(:resource_requirements, Shapes::ShapeRef.new(shape: ResourceRequirements, location_name: "resourceRequirements"))
|
252
274
|
ContainerProperties.add_member(:linux_parameters, Shapes::ShapeRef.new(shape: LinuxParameters, location_name: "linuxParameters"))
|
275
|
+
ContainerProperties.add_member(:log_configuration, Shapes::ShapeRef.new(shape: LogConfiguration, location_name: "logConfiguration"))
|
276
|
+
ContainerProperties.add_member(:secrets, Shapes::ShapeRef.new(shape: SecretList, location_name: "secrets"))
|
253
277
|
ContainerProperties.struct_class = Types::ContainerProperties
|
254
278
|
|
255
279
|
ContainerSummary.add_member(:exit_code, Shapes::ShapeRef.new(shape: Integer, location_name: "exitCode"))
|
@@ -261,6 +285,7 @@ module Aws::Batch
|
|
261
285
|
CreateComputeEnvironmentRequest.add_member(:state, Shapes::ShapeRef.new(shape: CEState, location_name: "state"))
|
262
286
|
CreateComputeEnvironmentRequest.add_member(:compute_resources, Shapes::ShapeRef.new(shape: ComputeResource, location_name: "computeResources"))
|
263
287
|
CreateComputeEnvironmentRequest.add_member(:service_role, Shapes::ShapeRef.new(shape: String, required: true, location_name: "serviceRole"))
|
288
|
+
CreateComputeEnvironmentRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagrisTagsMap, location_name: "tags"))
|
264
289
|
CreateComputeEnvironmentRequest.struct_class = Types::CreateComputeEnvironmentRequest
|
265
290
|
|
266
291
|
CreateComputeEnvironmentResponse.add_member(:compute_environment_name, Shapes::ShapeRef.new(shape: String, location_name: "computeEnvironmentName"))
|
@@ -271,6 +296,7 @@ module Aws::Batch
|
|
271
296
|
CreateJobQueueRequest.add_member(:state, Shapes::ShapeRef.new(shape: JQState, location_name: "state"))
|
272
297
|
CreateJobQueueRequest.add_member(:priority, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "priority"))
|
273
298
|
CreateJobQueueRequest.add_member(:compute_environment_order, Shapes::ShapeRef.new(shape: ComputeEnvironmentOrders, required: true, location_name: "computeEnvironmentOrder"))
|
299
|
+
CreateJobQueueRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagrisTagsMap, location_name: "tags"))
|
274
300
|
CreateJobQueueRequest.struct_class = Types::CreateJobQueueRequest
|
275
301
|
|
276
302
|
CreateJobQueueResponse.add_member(:job_queue_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobQueueName"))
|
@@ -351,6 +377,7 @@ module Aws::Batch
|
|
351
377
|
JobDefinition.add_member(:container_properties, Shapes::ShapeRef.new(shape: ContainerProperties, location_name: "containerProperties"))
|
352
378
|
JobDefinition.add_member(:timeout, Shapes::ShapeRef.new(shape: JobTimeout, location_name: "timeout"))
|
353
379
|
JobDefinition.add_member(:node_properties, Shapes::ShapeRef.new(shape: NodeProperties, location_name: "nodeProperties"))
|
380
|
+
JobDefinition.add_member(:tags, Shapes::ShapeRef.new(shape: TagrisTagsMap, location_name: "tags"))
|
354
381
|
JobDefinition.struct_class = Types::JobDefinition
|
355
382
|
|
356
383
|
JobDefinitionList.member = Shapes::ShapeRef.new(shape: JobDefinition)
|
@@ -361,6 +388,7 @@ module Aws::Batch
|
|
361
388
|
|
362
389
|
JobDependencyList.member = Shapes::ShapeRef.new(shape: JobDependency)
|
363
390
|
|
391
|
+
JobDetail.add_member(:job_arn, Shapes::ShapeRef.new(shape: String, location_name: "jobArn"))
|
364
392
|
JobDetail.add_member(:job_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobName"))
|
365
393
|
JobDetail.add_member(:job_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobId"))
|
366
394
|
JobDetail.add_member(:job_queue, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobQueue"))
|
@@ -379,6 +407,7 @@ module Aws::Batch
|
|
379
407
|
JobDetail.add_member(:node_properties, Shapes::ShapeRef.new(shape: NodeProperties, location_name: "nodeProperties"))
|
380
408
|
JobDetail.add_member(:array_properties, Shapes::ShapeRef.new(shape: ArrayPropertiesDetail, location_name: "arrayProperties"))
|
381
409
|
JobDetail.add_member(:timeout, Shapes::ShapeRef.new(shape: JobTimeout, location_name: "timeout"))
|
410
|
+
JobDetail.add_member(:tags, Shapes::ShapeRef.new(shape: TagrisTagsMap, location_name: "tags"))
|
382
411
|
JobDetail.struct_class = Types::JobDetail
|
383
412
|
|
384
413
|
JobDetailList.member = Shapes::ShapeRef.new(shape: JobDetail)
|
@@ -390,10 +419,12 @@ module Aws::Batch
|
|
390
419
|
JobQueueDetail.add_member(:status_reason, Shapes::ShapeRef.new(shape: String, location_name: "statusReason"))
|
391
420
|
JobQueueDetail.add_member(:priority, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "priority"))
|
392
421
|
JobQueueDetail.add_member(:compute_environment_order, Shapes::ShapeRef.new(shape: ComputeEnvironmentOrders, required: true, location_name: "computeEnvironmentOrder"))
|
422
|
+
JobQueueDetail.add_member(:tags, Shapes::ShapeRef.new(shape: TagrisTagsMap, location_name: "tags"))
|
393
423
|
JobQueueDetail.struct_class = Types::JobQueueDetail
|
394
424
|
|
395
425
|
JobQueueDetailList.member = Shapes::ShapeRef.new(shape: JobQueueDetail)
|
396
426
|
|
427
|
+
JobSummary.add_member(:job_arn, Shapes::ShapeRef.new(shape: String, location_name: "jobArn"))
|
397
428
|
JobSummary.add_member(:job_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobId"))
|
398
429
|
JobSummary.add_member(:job_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobName"))
|
399
430
|
JobSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: Long, location_name: "createdAt"))
|
@@ -421,6 +452,11 @@ module Aws::Batch
|
|
421
452
|
LaunchTemplateSpecification.struct_class = Types::LaunchTemplateSpecification
|
422
453
|
|
423
454
|
LinuxParameters.add_member(:devices, Shapes::ShapeRef.new(shape: DevicesList, location_name: "devices"))
|
455
|
+
LinuxParameters.add_member(:init_process_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "initProcessEnabled"))
|
456
|
+
LinuxParameters.add_member(:shared_memory_size, Shapes::ShapeRef.new(shape: Integer, location_name: "sharedMemorySize"))
|
457
|
+
LinuxParameters.add_member(:tmpfs, Shapes::ShapeRef.new(shape: TmpfsList, location_name: "tmpfs"))
|
458
|
+
LinuxParameters.add_member(:max_swap, Shapes::ShapeRef.new(shape: Integer, location_name: "maxSwap"))
|
459
|
+
LinuxParameters.add_member(:swappiness, Shapes::ShapeRef.new(shape: Integer, location_name: "swappiness"))
|
424
460
|
LinuxParameters.struct_class = Types::LinuxParameters
|
425
461
|
|
426
462
|
ListJobsRequest.add_member(:job_queue, Shapes::ShapeRef.new(shape: String, location_name: "jobQueue"))
|
@@ -435,6 +471,20 @@ module Aws::Batch
|
|
435
471
|
ListJobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
436
472
|
ListJobsResponse.struct_class = Types::ListJobsResponse
|
437
473
|
|
474
|
+
ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "resourceArn"))
|
475
|
+
ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
|
476
|
+
|
477
|
+
ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagrisTagsMap, location_name: "tags"))
|
478
|
+
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
479
|
+
|
480
|
+
LogConfiguration.add_member(:log_driver, Shapes::ShapeRef.new(shape: LogDriver, required: true, location_name: "logDriver"))
|
481
|
+
LogConfiguration.add_member(:options, Shapes::ShapeRef.new(shape: LogConfigurationOptionsMap, location_name: "options"))
|
482
|
+
LogConfiguration.add_member(:secret_options, Shapes::ShapeRef.new(shape: SecretList, location_name: "secretOptions"))
|
483
|
+
LogConfiguration.struct_class = Types::LogConfiguration
|
484
|
+
|
485
|
+
LogConfigurationOptionsMap.key = Shapes::ShapeRef.new(shape: String)
|
486
|
+
LogConfigurationOptionsMap.value = Shapes::ShapeRef.new(shape: String)
|
487
|
+
|
438
488
|
MountPoint.add_member(:container_path, Shapes::ShapeRef.new(shape: String, location_name: "containerPath"))
|
439
489
|
MountPoint.add_member(:read_only, Shapes::ShapeRef.new(shape: Boolean, location_name: "readOnly"))
|
440
490
|
MountPoint.add_member(:source_volume, Shapes::ShapeRef.new(shape: String, location_name: "sourceVolume"))
|
@@ -489,6 +539,7 @@ module Aws::Batch
|
|
489
539
|
RegisterJobDefinitionRequest.add_member(:node_properties, Shapes::ShapeRef.new(shape: NodeProperties, location_name: "nodeProperties"))
|
490
540
|
RegisterJobDefinitionRequest.add_member(:retry_strategy, Shapes::ShapeRef.new(shape: RetryStrategy, location_name: "retryStrategy"))
|
491
541
|
RegisterJobDefinitionRequest.add_member(:timeout, Shapes::ShapeRef.new(shape: JobTimeout, location_name: "timeout"))
|
542
|
+
RegisterJobDefinitionRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagrisTagsMap, location_name: "tags"))
|
492
543
|
RegisterJobDefinitionRequest.struct_class = Types::RegisterJobDefinitionRequest
|
493
544
|
|
494
545
|
RegisterJobDefinitionResponse.add_member(:job_definition_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobDefinitionName"))
|
@@ -505,6 +556,12 @@ module Aws::Batch
|
|
505
556
|
RetryStrategy.add_member(:attempts, Shapes::ShapeRef.new(shape: Integer, location_name: "attempts"))
|
506
557
|
RetryStrategy.struct_class = Types::RetryStrategy
|
507
558
|
|
559
|
+
Secret.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
|
560
|
+
Secret.add_member(:value_from, Shapes::ShapeRef.new(shape: String, required: true, location_name: "valueFrom"))
|
561
|
+
Secret.struct_class = Types::Secret
|
562
|
+
|
563
|
+
SecretList.member = Shapes::ShapeRef.new(shape: Secret)
|
564
|
+
|
508
565
|
ServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
509
566
|
ServerException.struct_class = Types::ServerException
|
510
567
|
|
@@ -520,12 +577,25 @@ module Aws::Batch
|
|
520
577
|
SubmitJobRequest.add_member(:node_overrides, Shapes::ShapeRef.new(shape: NodeOverrides, location_name: "nodeOverrides"))
|
521
578
|
SubmitJobRequest.add_member(:retry_strategy, Shapes::ShapeRef.new(shape: RetryStrategy, location_name: "retryStrategy"))
|
522
579
|
SubmitJobRequest.add_member(:timeout, Shapes::ShapeRef.new(shape: JobTimeout, location_name: "timeout"))
|
580
|
+
SubmitJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagrisTagsMap, location_name: "tags"))
|
523
581
|
SubmitJobRequest.struct_class = Types::SubmitJobRequest
|
524
582
|
|
583
|
+
SubmitJobResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: String, location_name: "jobArn"))
|
525
584
|
SubmitJobResponse.add_member(:job_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobName"))
|
526
585
|
SubmitJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobId"))
|
527
586
|
SubmitJobResponse.struct_class = Types::SubmitJobResponse
|
528
587
|
|
588
|
+
TagKeysList.member = Shapes::ShapeRef.new(shape: TagKey)
|
589
|
+
|
590
|
+
TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "resourceArn"))
|
591
|
+
TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagrisTagsMap, required: true, location_name: "tags"))
|
592
|
+
TagResourceRequest.struct_class = Types::TagResourceRequest
|
593
|
+
|
594
|
+
TagResourceResponse.struct_class = Types::TagResourceResponse
|
595
|
+
|
596
|
+
TagrisTagsMap.key = Shapes::ShapeRef.new(shape: TagKey)
|
597
|
+
TagrisTagsMap.value = Shapes::ShapeRef.new(shape: TagValue)
|
598
|
+
|
529
599
|
TagsMap.key = Shapes::ShapeRef.new(shape: String)
|
530
600
|
TagsMap.value = Shapes::ShapeRef.new(shape: String)
|
531
601
|
|
@@ -535,6 +605,13 @@ module Aws::Batch
|
|
535
605
|
|
536
606
|
TerminateJobResponse.struct_class = Types::TerminateJobResponse
|
537
607
|
|
608
|
+
Tmpfs.add_member(:container_path, Shapes::ShapeRef.new(shape: String, required: true, location_name: "containerPath"))
|
609
|
+
Tmpfs.add_member(:size, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "size"))
|
610
|
+
Tmpfs.add_member(:mount_options, Shapes::ShapeRef.new(shape: StringList, location_name: "mountOptions"))
|
611
|
+
Tmpfs.struct_class = Types::Tmpfs
|
612
|
+
|
613
|
+
TmpfsList.member = Shapes::ShapeRef.new(shape: Tmpfs)
|
614
|
+
|
538
615
|
Ulimit.add_member(:hard_limit, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "hardLimit"))
|
539
616
|
Ulimit.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
|
540
617
|
Ulimit.add_member(:soft_limit, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "softLimit"))
|
@@ -542,6 +619,12 @@ module Aws::Batch
|
|
542
619
|
|
543
620
|
Ulimits.member = Shapes::ShapeRef.new(shape: Ulimit)
|
544
621
|
|
622
|
+
UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "resourceArn"))
|
623
|
+
UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeysList, required: true, location: "querystring", location_name: "tagKeys"))
|
624
|
+
UntagResourceRequest.struct_class = Types::UntagResourceRequest
|
625
|
+
|
626
|
+
UntagResourceResponse.struct_class = Types::UntagResourceResponse
|
627
|
+
|
545
628
|
UpdateComputeEnvironmentRequest.add_member(:compute_environment, Shapes::ShapeRef.new(shape: String, required: true, location_name: "computeEnvironment"))
|
546
629
|
UpdateComputeEnvironmentRequest.add_member(:state, Shapes::ShapeRef.new(shape: CEState, location_name: "state"))
|
547
630
|
UpdateComputeEnvironmentRequest.add_member(:compute_resources, Shapes::ShapeRef.new(shape: ComputeResourceUpdate, location_name: "computeResources"))
|
@@ -720,6 +803,16 @@ module Aws::Batch
|
|
720
803
|
)
|
721
804
|
end)
|
722
805
|
|
806
|
+
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
807
|
+
o.name = "ListTagsForResource"
|
808
|
+
o.http_method = "GET"
|
809
|
+
o.http_request_uri = "/v1/tags/{resourceArn}"
|
810
|
+
o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
|
811
|
+
o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
|
812
|
+
o.errors << Shapes::ShapeRef.new(shape: ClientException)
|
813
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
814
|
+
end)
|
815
|
+
|
723
816
|
api.add_operation(:register_job_definition, Seahorse::Model::Operation.new.tap do |o|
|
724
817
|
o.name = "RegisterJobDefinition"
|
725
818
|
o.http_method = "POST"
|
@@ -740,6 +833,16 @@ module Aws::Batch
|
|
740
833
|
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
741
834
|
end)
|
742
835
|
|
836
|
+
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
837
|
+
o.name = "TagResource"
|
838
|
+
o.http_method = "POST"
|
839
|
+
o.http_request_uri = "/v1/tags/{resourceArn}"
|
840
|
+
o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
|
841
|
+
o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
|
842
|
+
o.errors << Shapes::ShapeRef.new(shape: ClientException)
|
843
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
844
|
+
end)
|
845
|
+
|
743
846
|
api.add_operation(:terminate_job, Seahorse::Model::Operation.new.tap do |o|
|
744
847
|
o.name = "TerminateJob"
|
745
848
|
o.http_method = "POST"
|
@@ -750,6 +853,16 @@ module Aws::Batch
|
|
750
853
|
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
751
854
|
end)
|
752
855
|
|
856
|
+
api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
|
857
|
+
o.name = "UntagResource"
|
858
|
+
o.http_method = "DELETE"
|
859
|
+
o.http_request_uri = "/v1/tags/{resourceArn}"
|
860
|
+
o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
|
861
|
+
o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
|
862
|
+
o.errors << Shapes::ShapeRef.new(shape: ClientException)
|
863
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
864
|
+
end)
|
865
|
+
|
753
866
|
api.add_operation(:update_compute_environment, Seahorse::Model::Operation.new.tap do |o|
|
754
867
|
o.name = "UpdateComputeEnvironment"
|
755
868
|
o.http_method = "POST"
|
data/lib/aws-sdk-batch/types.rb
CHANGED
@@ -134,16 +134,15 @@ module Aws::Batch
|
|
134
134
|
# @return [Types::AttemptContainerDetail]
|
135
135
|
#
|
136
136
|
# @!attribute [rw] started_at
|
137
|
-
# The Unix timestamp (in
|
138
|
-
#
|
139
|
-
#
|
137
|
+
# The Unix timestamp (in milliseconds) for when the attempt was
|
138
|
+
# started (when the attempt transitioned from the `STARTING` state to
|
139
|
+
# the `RUNNING` state).
|
140
140
|
# @return [Integer]
|
141
141
|
#
|
142
142
|
# @!attribute [rw] stopped_at
|
143
|
-
# The Unix timestamp (in
|
144
|
-
#
|
145
|
-
#
|
146
|
-
# `FAILED`).
|
143
|
+
# The Unix timestamp (in milliseconds) for when the attempt was
|
144
|
+
# stopped (when the attempt transitioned from the `RUNNING` state to a
|
145
|
+
# terminal state, such as `SUCCEEDED` or `FAILED`).
|
147
146
|
# @return [Integer]
|
148
147
|
#
|
149
148
|
# @!attribute [rw] status_reason
|
@@ -225,6 +224,10 @@ module Aws::Batch
|
|
225
224
|
# used by the compute environment.
|
226
225
|
# @return [String]
|
227
226
|
#
|
227
|
+
# @!attribute [rw] tags
|
228
|
+
# The tags applied to the compute environment.
|
229
|
+
# @return [Hash<String,String>]
|
230
|
+
#
|
228
231
|
# @!attribute [rw] type
|
229
232
|
# The type of the compute environment.
|
230
233
|
# @return [String]
|
@@ -271,6 +274,7 @@ module Aws::Batch
|
|
271
274
|
:compute_environment_name,
|
272
275
|
:compute_environment_arn,
|
273
276
|
:ecs_cluster_arn,
|
277
|
+
:tags,
|
274
278
|
:type,
|
275
279
|
:state,
|
276
280
|
:status,
|
@@ -442,7 +446,11 @@ module Aws::Batch
|
|
442
446
|
# the compute environment. For AWS Batch, these take the form of
|
443
447
|
# "String1": "String2", where String1 is the tag key and String2
|
444
448
|
# is the tag value—for example, \\\{ "Name": "AWS Batch Instance -
|
445
|
-
# C4OnDemand" \\}.
|
449
|
+
# C4OnDemand" \\}. These tags can not be updated or removed after the
|
450
|
+
# compute environment has been created; any changes require creating a
|
451
|
+
# new compute environment and removing the old compute environment.
|
452
|
+
# These tags are not seen when using the AWS Batch ListTagsForResource
|
453
|
+
# API operation.
|
446
454
|
# @return [Hash<String,String>]
|
447
455
|
#
|
448
456
|
# @!attribute [rw] placement_group
|
@@ -564,11 +572,13 @@ module Aws::Batch
|
|
564
572
|
# @return [String]
|
565
573
|
#
|
566
574
|
# @!attribute [rw] vcpus
|
567
|
-
# The number of VCPUs allocated for the job.
|
575
|
+
# The number of VCPUs allocated for the job. This is a required
|
576
|
+
# parameter.
|
568
577
|
# @return [Integer]
|
569
578
|
#
|
570
579
|
# @!attribute [rw] memory
|
571
|
-
# The number of MiB of memory reserved for the job.
|
580
|
+
# The number of MiB of memory reserved for the job. This is a required
|
581
|
+
# parameter.
|
572
582
|
# @return [Integer]
|
573
583
|
#
|
574
584
|
# @!attribute [rw] command
|
@@ -580,6 +590,16 @@ module Aws::Batch
|
|
580
590
|
# execution.
|
581
591
|
# @return [String]
|
582
592
|
#
|
593
|
+
# @!attribute [rw] execution_role_arn
|
594
|
+
# The Amazon Resource Name (ARN) of the execution role that AWS Batch
|
595
|
+
# can assume. For more information, see [AWS Batch execution IAM
|
596
|
+
# role][1].
|
597
|
+
#
|
598
|
+
#
|
599
|
+
#
|
600
|
+
# [1]: https://docs.aws.amazon.com/batch/latest/userguide/execution-IAM-role.html
|
601
|
+
# @return [String]
|
602
|
+
#
|
583
603
|
# @!attribute [rw] volumes
|
584
604
|
# A list of volumes associated with the job.
|
585
605
|
# @return [Array<Types::Volume>]
|
@@ -663,6 +683,63 @@ module Aws::Batch
|
|
663
683
|
# as details for device mappings.
|
664
684
|
# @return [Types::LinuxParameters]
|
665
685
|
#
|
686
|
+
# @!attribute [rw] log_configuration
|
687
|
+
# The log configuration specification for the container.
|
688
|
+
#
|
689
|
+
# This parameter maps to `LogConfig` in the [Create a container][1]
|
690
|
+
# section of the [Docker Remote API][2] and the `--log-driver` option
|
691
|
+
# to [docker run][3]. By default, containers use the same logging
|
692
|
+
# driver that the Docker daemon uses. However the container may use a
|
693
|
+
# different logging driver than the Docker daemon by specifying a log
|
694
|
+
# driver with this parameter in the container definition. To use a
|
695
|
+
# different logging driver for a container, the log system must be
|
696
|
+
# configured properly on the container instance (or on a different log
|
697
|
+
# server for remote logging options). For more information on the
|
698
|
+
# options for different supported log drivers, see [Configure logging
|
699
|
+
# drivers][4] in the Docker documentation.
|
700
|
+
#
|
701
|
+
# <note markdown="1"> AWS Batch currently supports a subset of the logging drivers
|
702
|
+
# available to the Docker daemon (shown in the LogConfiguration data
|
703
|
+
# type). Additional log drivers may be available in future releases of
|
704
|
+
# the Amazon ECS container agent.
|
705
|
+
#
|
706
|
+
# </note>
|
707
|
+
#
|
708
|
+
# This parameter requires version 1.18 of the Docker Remote API or
|
709
|
+
# greater on your container instance. To check the Docker Remote API
|
710
|
+
# version on your container instance, log into your container instance
|
711
|
+
# and run the following command: `sudo docker version | grep "Server
|
712
|
+
# API version"`
|
713
|
+
#
|
714
|
+
# <note markdown="1"> The Amazon ECS container agent running on a container instance must
|
715
|
+
# register the logging drivers available on that instance with the
|
716
|
+
# `ECS_AVAILABLE_LOGGING_DRIVERS` environment variable before
|
717
|
+
# containers placed on that instance can use these log configuration
|
718
|
+
# options. For more information, see [Amazon ECS Container Agent
|
719
|
+
# Configuration][5] in the *Amazon Elastic Container Service Developer
|
720
|
+
# Guide*.
|
721
|
+
#
|
722
|
+
# </note>
|
723
|
+
#
|
724
|
+
#
|
725
|
+
#
|
726
|
+
# [1]: https://docs.docker.com/engine/api/v1.23/#create-a-container
|
727
|
+
# [2]: https://docs.docker.com/engine/api/v1.23/
|
728
|
+
# [3]: https://docs.docker.com/engine/reference/run/
|
729
|
+
# [4]: https://docs.docker.com/engine/admin/logging/overview/
|
730
|
+
# [5]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-config.html
|
731
|
+
# @return [Types::LogConfiguration]
|
732
|
+
#
|
733
|
+
# @!attribute [rw] secrets
|
734
|
+
# The secrets to pass to the container. For more information, see
|
735
|
+
# [Specifying Sensitive Data][1] in the *Amazon Elastic Container
|
736
|
+
# Service Developer Guide*.
|
737
|
+
#
|
738
|
+
#
|
739
|
+
#
|
740
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/specifying-sensitive-data.html
|
741
|
+
# @return [Array<Types::Secret>]
|
742
|
+
#
|
666
743
|
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/ContainerDetail AWS API Documentation
|
667
744
|
#
|
668
745
|
class ContainerDetail < Struct.new(
|
@@ -671,6 +748,7 @@ module Aws::Batch
|
|
671
748
|
:memory,
|
672
749
|
:command,
|
673
750
|
:job_role_arn,
|
751
|
+
:execution_role_arn,
|
674
752
|
:volumes,
|
675
753
|
:environment,
|
676
754
|
:mount_points,
|
@@ -686,7 +764,9 @@ module Aws::Batch
|
|
686
764
|
:instance_type,
|
687
765
|
:network_interfaces,
|
688
766
|
:resource_requirements,
|
689
|
-
:linux_parameters
|
767
|
+
:linux_parameters,
|
768
|
+
:log_configuration,
|
769
|
+
:secrets)
|
690
770
|
SENSITIVE = []
|
691
771
|
include Aws::Structure
|
692
772
|
end
|
@@ -779,6 +859,7 @@ module Aws::Batch
|
|
779
859
|
# memory: 1,
|
780
860
|
# command: ["String"],
|
781
861
|
# job_role_arn: "String",
|
862
|
+
# execution_role_arn: "String",
|
782
863
|
# volumes: [
|
783
864
|
# {
|
784
865
|
# host: {
|
@@ -825,7 +906,36 @@ module Aws::Batch
|
|
825
906
|
# permissions: ["READ"], # accepts READ, WRITE, MKNOD
|
826
907
|
# },
|
827
908
|
# ],
|
909
|
+
# init_process_enabled: false,
|
910
|
+
# shared_memory_size: 1,
|
911
|
+
# tmpfs: [
|
912
|
+
# {
|
913
|
+
# container_path: "String", # required
|
914
|
+
# size: 1, # required
|
915
|
+
# mount_options: ["String"],
|
916
|
+
# },
|
917
|
+
# ],
|
918
|
+
# max_swap: 1,
|
919
|
+
# swappiness: 1,
|
920
|
+
# },
|
921
|
+
# log_configuration: {
|
922
|
+
# log_driver: "json-file", # required, accepts json-file, syslog, journald, gelf, fluentd, awslogs, splunk
|
923
|
+
# options: {
|
924
|
+
# "String" => "String",
|
925
|
+
# },
|
926
|
+
# secret_options: [
|
927
|
+
# {
|
928
|
+
# name: "String", # required
|
929
|
+
# value_from: "String", # required
|
930
|
+
# },
|
931
|
+
# ],
|
828
932
|
# },
|
933
|
+
# secrets: [
|
934
|
+
# {
|
935
|
+
# name: "String", # required
|
936
|
+
# value_from: "String", # required
|
937
|
+
# },
|
938
|
+
# ],
|
829
939
|
# }
|
830
940
|
#
|
831
941
|
# @!attribute [rw] image
|
@@ -863,7 +973,9 @@ module Aws::Batch
|
|
863
973
|
# to `CpuShares` in the [Create a container][1] section of the [Docker
|
864
974
|
# Remote API][2] and the `--cpu-shares` option to [docker run][3].
|
865
975
|
# Each vCPU is equivalent to 1,024 CPU shares. You must specify at
|
866
|
-
# least one vCPU.
|
976
|
+
# least one vCPU. This is required but can be specified in several
|
977
|
+
# places for multi-node parallel (MNP) jobs; it must be specified for
|
978
|
+
# each node at least once.
|
867
979
|
#
|
868
980
|
#
|
869
981
|
#
|
@@ -878,7 +990,9 @@ module Aws::Batch
|
|
878
990
|
# container is killed. This parameter maps to `Memory` in the [Create
|
879
991
|
# a container][1] section of the [Docker Remote API][2] and the
|
880
992
|
# `--memory` option to [docker run][3]. You must specify at least 4
|
881
|
-
# MiB of memory for a job.
|
993
|
+
# MiB of memory for a job. This is required but can be specified in
|
994
|
+
# several places for multi-node parallel (MNP) jobs; it must be
|
995
|
+
# specified for each node at least once.
|
882
996
|
#
|
883
997
|
# <note markdown="1"> If you are trying to maximize your resource utilization by providing
|
884
998
|
# your jobs as much memory as possible for a particular instance type,
|
@@ -914,6 +1028,16 @@ module Aws::Batch
|
|
914
1028
|
# can assume for AWS permissions.
|
915
1029
|
# @return [String]
|
916
1030
|
#
|
1031
|
+
# @!attribute [rw] execution_role_arn
|
1032
|
+
# The Amazon Resource Name (ARN) of the execution role that AWS Batch
|
1033
|
+
# can assume. For more information, see [AWS Batch execution IAM
|
1034
|
+
# role][1].
|
1035
|
+
#
|
1036
|
+
#
|
1037
|
+
#
|
1038
|
+
# [1]: https://docs.aws.amazon.com/batch/latest/userguide/execution-IAM-role.html
|
1039
|
+
# @return [String]
|
1040
|
+
#
|
917
1041
|
# @!attribute [rw] volumes
|
918
1042
|
# A list of data volumes used in a job.
|
919
1043
|
# @return [Array<Types::Volume>]
|
@@ -1018,6 +1142,62 @@ module Aws::Batch
|
|
1018
1142
|
# as details for device mappings.
|
1019
1143
|
# @return [Types::LinuxParameters]
|
1020
1144
|
#
|
1145
|
+
# @!attribute [rw] log_configuration
|
1146
|
+
# The log configuration specification for the container.
|
1147
|
+
#
|
1148
|
+
# This parameter maps to `LogConfig` in the [Create a container][1]
|
1149
|
+
# section of the [Docker Remote API][2] and the `--log-driver` option
|
1150
|
+
# to [docker run][3]. By default, containers use the same logging
|
1151
|
+
# driver that the Docker daemon uses. However the container may use a
|
1152
|
+
# different logging driver than the Docker daemon by specifying a log
|
1153
|
+
# driver with this parameter in the container definition. To use a
|
1154
|
+
# different logging driver for a container, the log system must be
|
1155
|
+
# configured properly on the container instance (or on a different log
|
1156
|
+
# server for remote logging options). For more information on the
|
1157
|
+
# options for different supported log drivers, see [Configure logging
|
1158
|
+
# drivers][4] in the Docker documentation.
|
1159
|
+
#
|
1160
|
+
# <note markdown="1"> AWS Batch currently supports a subset of the logging drivers
|
1161
|
+
# available to the Docker daemon (shown in the LogConfiguration data
|
1162
|
+
# type).
|
1163
|
+
#
|
1164
|
+
# </note>
|
1165
|
+
#
|
1166
|
+
# This parameter requires version 1.18 of the Docker Remote API or
|
1167
|
+
# greater on your container instance. To check the Docker Remote API
|
1168
|
+
# version on your container instance, log into your container instance
|
1169
|
+
# and run the following command: `sudo docker version | grep "Server
|
1170
|
+
# API version"`
|
1171
|
+
#
|
1172
|
+
# <note markdown="1"> The Amazon ECS container agent running on a container instance must
|
1173
|
+
# register the logging drivers available on that instance with the
|
1174
|
+
# `ECS_AVAILABLE_LOGGING_DRIVERS` environment variable before
|
1175
|
+
# containers placed on that instance can use these log configuration
|
1176
|
+
# options. For more information, see [Amazon ECS Container Agent
|
1177
|
+
# Configuration][5] in the *Amazon Elastic Container Service Developer
|
1178
|
+
# Guide*.
|
1179
|
+
#
|
1180
|
+
# </note>
|
1181
|
+
#
|
1182
|
+
#
|
1183
|
+
#
|
1184
|
+
# [1]: https://docs.docker.com/engine/api/v1.23/#create-a-container
|
1185
|
+
# [2]: https://docs.docker.com/engine/api/v1.23/
|
1186
|
+
# [3]: https://docs.docker.com/engine/reference/run/
|
1187
|
+
# [4]: https://docs.docker.com/engine/admin/logging/overview/
|
1188
|
+
# [5]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-config.html
|
1189
|
+
# @return [Types::LogConfiguration]
|
1190
|
+
#
|
1191
|
+
# @!attribute [rw] secrets
|
1192
|
+
# The secrets for the container. For more information, see [Specifying
|
1193
|
+
# Sensitive Data][1] in the *Amazon Elastic Container Service
|
1194
|
+
# Developer Guide*.
|
1195
|
+
#
|
1196
|
+
#
|
1197
|
+
#
|
1198
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/specifying-sensitive-data.html
|
1199
|
+
# @return [Array<Types::Secret>]
|
1200
|
+
#
|
1021
1201
|
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/ContainerProperties AWS API Documentation
|
1022
1202
|
#
|
1023
1203
|
class ContainerProperties < Struct.new(
|
@@ -1026,6 +1206,7 @@ module Aws::Batch
|
|
1026
1206
|
:memory,
|
1027
1207
|
:command,
|
1028
1208
|
:job_role_arn,
|
1209
|
+
:execution_role_arn,
|
1029
1210
|
:volumes,
|
1030
1211
|
:environment,
|
1031
1212
|
:mount_points,
|
@@ -1035,7 +1216,9 @@ module Aws::Batch
|
|
1035
1216
|
:user,
|
1036
1217
|
:instance_type,
|
1037
1218
|
:resource_requirements,
|
1038
|
-
:linux_parameters
|
1219
|
+
:linux_parameters,
|
1220
|
+
:log_configuration,
|
1221
|
+
:secrets)
|
1039
1222
|
SENSITIVE = []
|
1040
1223
|
include Aws::Structure
|
1041
1224
|
end
|
@@ -1092,6 +1275,9 @@ module Aws::Batch
|
|
1092
1275
|
# },
|
1093
1276
|
# },
|
1094
1277
|
# service_role: "String", # required
|
1278
|
+
# tags: {
|
1279
|
+
# "TagKey" => "TagValue",
|
1280
|
+
# },
|
1095
1281
|
# }
|
1096
1282
|
#
|
1097
1283
|
# @!attribute [rw] compute_environment_name
|
@@ -1143,6 +1329,23 @@ module Aws::Batch
|
|
1143
1329
|
# </note>
|
1144
1330
|
# @return [String]
|
1145
1331
|
#
|
1332
|
+
# @!attribute [rw] tags
|
1333
|
+
# The tags that you apply to the compute environment to help you
|
1334
|
+
# categorize and organize your resources. Each tag consists of a key
|
1335
|
+
# and an optional value. For more information, see [Tagging AWS
|
1336
|
+
# Resources][1] in *AWS General Reference*.
|
1337
|
+
#
|
1338
|
+
# These tags can be updated or removed using the [TagResource][2] and
|
1339
|
+
# [UntagResource][3] API operations. These tags do not propagate to
|
1340
|
+
# the underlying compute resources.
|
1341
|
+
#
|
1342
|
+
#
|
1343
|
+
#
|
1344
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
|
1345
|
+
# [2]: https://docs.aws.amazon.com/batch/latest/APIReference/API_TagResource.html
|
1346
|
+
# [3]: https://docs.aws.amazon.com/batch/latest/APIReference/API_UntagResource.html
|
1347
|
+
# @return [Hash<String,String>]
|
1348
|
+
#
|
1146
1349
|
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/CreateComputeEnvironmentRequest AWS API Documentation
|
1147
1350
|
#
|
1148
1351
|
class CreateComputeEnvironmentRequest < Struct.new(
|
@@ -1150,7 +1353,8 @@ module Aws::Batch
|
|
1150
1353
|
:type,
|
1151
1354
|
:state,
|
1152
1355
|
:compute_resources,
|
1153
|
-
:service_role
|
1356
|
+
:service_role,
|
1357
|
+
:tags)
|
1154
1358
|
SENSITIVE = []
|
1155
1359
|
include Aws::Structure
|
1156
1360
|
end
|
@@ -1185,6 +1389,9 @@ module Aws::Batch
|
|
1185
1389
|
# compute_environment: "String", # required
|
1186
1390
|
# },
|
1187
1391
|
# ],
|
1392
|
+
# tags: {
|
1393
|
+
# "TagKey" => "TagValue",
|
1394
|
+
# },
|
1188
1395
|
# }
|
1189
1396
|
#
|
1190
1397
|
# @!attribute [rw] job_queue_name
|
@@ -1193,7 +1400,9 @@ module Aws::Batch
|
|
1193
1400
|
#
|
1194
1401
|
# @!attribute [rw] state
|
1195
1402
|
# The state of the job queue. If the job queue state is `ENABLED`, it
|
1196
|
-
# is able to accept jobs.
|
1403
|
+
# is able to accept jobs. If the job queue state is `DISABLED`, new
|
1404
|
+
# jobs cannot be added to the queue, but jobs already in the queue can
|
1405
|
+
# finish.
|
1197
1406
|
# @return [String]
|
1198
1407
|
#
|
1199
1408
|
# @!attribute [rw] priority
|
@@ -1214,13 +1423,25 @@ module Aws::Batch
|
|
1214
1423
|
# compute environments with a job queue.
|
1215
1424
|
# @return [Array<Types::ComputeEnvironmentOrder>]
|
1216
1425
|
#
|
1426
|
+
# @!attribute [rw] tags
|
1427
|
+
# The tags that you apply to the job queue to help you categorize and
|
1428
|
+
# organize your resources. Each tag consists of a key and an optional
|
1429
|
+
# value. For more information, see [Tagging AWS Resources][1] in *AWS
|
1430
|
+
# General Reference*.
|
1431
|
+
#
|
1432
|
+
#
|
1433
|
+
#
|
1434
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
|
1435
|
+
# @return [Hash<String,String>]
|
1436
|
+
#
|
1217
1437
|
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/CreateJobQueueRequest AWS API Documentation
|
1218
1438
|
#
|
1219
1439
|
class CreateJobQueueRequest < Struct.new(
|
1220
1440
|
:job_queue_name,
|
1221
1441
|
:state,
|
1222
1442
|
:priority,
|
1223
|
-
:compute_environment_order
|
1443
|
+
:compute_environment_order,
|
1444
|
+
:tags)
|
1224
1445
|
SENSITIVE = []
|
1225
1446
|
include Aws::Structure
|
1226
1447
|
end
|
@@ -1696,6 +1917,10 @@ module Aws::Batch
|
|
1696
1917
|
# jobs.
|
1697
1918
|
# @return [Types::NodeProperties]
|
1698
1919
|
#
|
1920
|
+
# @!attribute [rw] tags
|
1921
|
+
# The tags applied to the job definition.
|
1922
|
+
# @return [Hash<String,String>]
|
1923
|
+
#
|
1699
1924
|
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/JobDefinition AWS API Documentation
|
1700
1925
|
#
|
1701
1926
|
class JobDefinition < Struct.new(
|
@@ -1708,7 +1933,8 @@ module Aws::Batch
|
|
1708
1933
|
:retry_strategy,
|
1709
1934
|
:container_properties,
|
1710
1935
|
:timeout,
|
1711
|
-
:node_properties
|
1936
|
+
:node_properties,
|
1937
|
+
:tags)
|
1712
1938
|
SENSITIVE = []
|
1713
1939
|
include Aws::Structure
|
1714
1940
|
end
|
@@ -1742,6 +1968,10 @@ module Aws::Batch
|
|
1742
1968
|
|
1743
1969
|
# An object representing an AWS Batch job.
|
1744
1970
|
#
|
1971
|
+
# @!attribute [rw] job_arn
|
1972
|
+
# The Amazon Resource Name (ARN) of the job.
|
1973
|
+
# @return [String]
|
1974
|
+
#
|
1745
1975
|
# @!attribute [rw] job_name
|
1746
1976
|
# The name of the job.
|
1747
1977
|
# @return [String]
|
@@ -1779,11 +2009,11 @@ module Aws::Batch
|
|
1779
2009
|
# @return [String]
|
1780
2010
|
#
|
1781
2011
|
# @!attribute [rw] created_at
|
1782
|
-
# The Unix timestamp (in
|
1783
|
-
#
|
1784
|
-
#
|
1785
|
-
#
|
1786
|
-
#
|
2012
|
+
# The Unix timestamp (in milliseconds) for when the job was created.
|
2013
|
+
# For non-array jobs and parent array jobs, this is when the job
|
2014
|
+
# entered the `SUBMITTED` state (at the time SubmitJob was called).
|
2015
|
+
# For array child jobs, this is when the child job was spawned by its
|
2016
|
+
# parent and entered the `PENDING` state.
|
1787
2017
|
# @return [Integer]
|
1788
2018
|
#
|
1789
2019
|
# @!attribute [rw] retry_strategy
|
@@ -1791,15 +2021,16 @@ module Aws::Batch
|
|
1791
2021
|
# @return [Types::RetryStrategy]
|
1792
2022
|
#
|
1793
2023
|
# @!attribute [rw] started_at
|
1794
|
-
# The Unix timestamp (in
|
1795
|
-
#
|
1796
|
-
#
|
2024
|
+
# The Unix timestamp (in milliseconds) for when the job was started
|
2025
|
+
# (when the job transitioned from the `STARTING` state to the
|
2026
|
+
# `RUNNING` state). This parameter is not provided for child jobs of
|
2027
|
+
# array jobs or multi-node parallel jobs.
|
1797
2028
|
# @return [Integer]
|
1798
2029
|
#
|
1799
2030
|
# @!attribute [rw] stopped_at
|
1800
|
-
# The Unix timestamp (in
|
1801
|
-
#
|
1802
|
-
#
|
2031
|
+
# The Unix timestamp (in milliseconds) for when the job was stopped
|
2032
|
+
# (when the job transitioned from the `RUNNING` state to a terminal
|
2033
|
+
# state, such as `SUCCEEDED` or `FAILED`).
|
1803
2034
|
# @return [Integer]
|
1804
2035
|
#
|
1805
2036
|
# @!attribute [rw] depends_on
|
@@ -1839,9 +2070,14 @@ module Aws::Batch
|
|
1839
2070
|
# The timeout configuration for the job.
|
1840
2071
|
# @return [Types::JobTimeout]
|
1841
2072
|
#
|
2073
|
+
# @!attribute [rw] tags
|
2074
|
+
# The tags applied to the job.
|
2075
|
+
# @return [Hash<String,String>]
|
2076
|
+
#
|
1842
2077
|
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/JobDetail AWS API Documentation
|
1843
2078
|
#
|
1844
2079
|
class JobDetail < Struct.new(
|
2080
|
+
:job_arn,
|
1845
2081
|
:job_name,
|
1846
2082
|
:job_id,
|
1847
2083
|
:job_queue,
|
@@ -1859,7 +2095,8 @@ module Aws::Batch
|
|
1859
2095
|
:node_details,
|
1860
2096
|
:node_properties,
|
1861
2097
|
:array_properties,
|
1862
|
-
:timeout
|
2098
|
+
:timeout,
|
2099
|
+
:tags)
|
1863
2100
|
SENSITIVE = []
|
1864
2101
|
include Aws::Structure
|
1865
2102
|
end
|
@@ -1875,7 +2112,10 @@ module Aws::Batch
|
|
1875
2112
|
# @return [String]
|
1876
2113
|
#
|
1877
2114
|
# @!attribute [rw] state
|
1878
|
-
# Describes the ability of the queue to accept new jobs.
|
2115
|
+
# Describes the ability of the queue to accept new jobs. If the job
|
2116
|
+
# queue state is `ENABLED`, it is able to accept jobs. If the job
|
2117
|
+
# queue state is `DISABLED`, new jobs cannot be added to the queue,
|
2118
|
+
# but jobs already in the queue can finish.
|
1879
2119
|
# @return [String]
|
1880
2120
|
#
|
1881
2121
|
# @!attribute [rw] status
|
@@ -1897,6 +2137,10 @@ module Aws::Batch
|
|
1897
2137
|
# selected for job placement in ascending order.
|
1898
2138
|
# @return [Array<Types::ComputeEnvironmentOrder>]
|
1899
2139
|
#
|
2140
|
+
# @!attribute [rw] tags
|
2141
|
+
# The tags applied to the job queue.
|
2142
|
+
# @return [Hash<String,String>]
|
2143
|
+
#
|
1900
2144
|
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/JobQueueDetail AWS API Documentation
|
1901
2145
|
#
|
1902
2146
|
class JobQueueDetail < Struct.new(
|
@@ -1906,13 +2150,18 @@ module Aws::Batch
|
|
1906
2150
|
:status,
|
1907
2151
|
:status_reason,
|
1908
2152
|
:priority,
|
1909
|
-
:compute_environment_order
|
2153
|
+
:compute_environment_order,
|
2154
|
+
:tags)
|
1910
2155
|
SENSITIVE = []
|
1911
2156
|
include Aws::Structure
|
1912
2157
|
end
|
1913
2158
|
|
1914
2159
|
# An object representing summary details of a job.
|
1915
2160
|
#
|
2161
|
+
# @!attribute [rw] job_arn
|
2162
|
+
# The Amazon Resource Name (ARN) of the job.
|
2163
|
+
# @return [String]
|
2164
|
+
#
|
1916
2165
|
# @!attribute [rw] job_id
|
1917
2166
|
# The ID of the job.
|
1918
2167
|
# @return [String]
|
@@ -1965,6 +2214,7 @@ module Aws::Batch
|
|
1965
2214
|
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/JobSummary AWS API Documentation
|
1966
2215
|
#
|
1967
2216
|
class JobSummary < Struct.new(
|
2217
|
+
:job_arn,
|
1968
2218
|
:job_id,
|
1969
2219
|
:job_name,
|
1970
2220
|
:created_at,
|
@@ -2053,9 +2303,13 @@ module Aws::Batch
|
|
2053
2303
|
# @return [String]
|
2054
2304
|
#
|
2055
2305
|
# @!attribute [rw] version
|
2056
|
-
# The version number of the launch template
|
2306
|
+
# The version number of the launch template, `$Latest`, or `$Default`.
|
2307
|
+
#
|
2308
|
+
# If the value is `$Latest`, the latest version of the launch template
|
2309
|
+
# is used. If the value is `$Default`, the default version of the
|
2310
|
+
# launch template is used.
|
2057
2311
|
#
|
2058
|
-
# Default:
|
2312
|
+
# Default: `$Default`.
|
2059
2313
|
# @return [String]
|
2060
2314
|
#
|
2061
2315
|
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/LaunchTemplateSpecification AWS API Documentation
|
@@ -2082,6 +2336,17 @@ module Aws::Batch
|
|
2082
2336
|
# permissions: ["READ"], # accepts READ, WRITE, MKNOD
|
2083
2337
|
# },
|
2084
2338
|
# ],
|
2339
|
+
# init_process_enabled: false,
|
2340
|
+
# shared_memory_size: 1,
|
2341
|
+
# tmpfs: [
|
2342
|
+
# {
|
2343
|
+
# container_path: "String", # required
|
2344
|
+
# size: 1, # required
|
2345
|
+
# mount_options: ["String"],
|
2346
|
+
# },
|
2347
|
+
# ],
|
2348
|
+
# max_swap: 1,
|
2349
|
+
# swappiness: 1,
|
2085
2350
|
# }
|
2086
2351
|
#
|
2087
2352
|
# @!attribute [rw] devices
|
@@ -2096,10 +2361,82 @@ module Aws::Batch
|
|
2096
2361
|
# [3]: https://docs.docker.com/engine/reference/run/
|
2097
2362
|
# @return [Array<Types::Device>]
|
2098
2363
|
#
|
2364
|
+
# @!attribute [rw] init_process_enabled
|
2365
|
+
# If true, run an `init` process inside the container that forwards
|
2366
|
+
# signals and reaps processes. This parameter maps to the `--init`
|
2367
|
+
# option to [docker run][1]. This parameter requires version 1.25 of
|
2368
|
+
# the Docker Remote API or greater on your container instance. To
|
2369
|
+
# check the Docker Remote API version on your container instance, log
|
2370
|
+
# into your container instance and run the following command: `sudo
|
2371
|
+
# docker version | grep "Server API version"`
|
2372
|
+
#
|
2373
|
+
#
|
2374
|
+
#
|
2375
|
+
# [1]: https://docs.docker.com/engine/reference/run/
|
2376
|
+
# @return [Boolean]
|
2377
|
+
#
|
2378
|
+
# @!attribute [rw] shared_memory_size
|
2379
|
+
# The value for the size (in MiB) of the `/dev/shm` volume. This
|
2380
|
+
# parameter maps to the `--shm-size` option to [docker run][1].
|
2381
|
+
#
|
2382
|
+
#
|
2383
|
+
#
|
2384
|
+
# [1]: https://docs.docker.com/engine/reference/run/
|
2385
|
+
# @return [Integer]
|
2386
|
+
#
|
2387
|
+
# @!attribute [rw] tmpfs
|
2388
|
+
# The container path, mount options, and size (in MiB) of the tmpfs
|
2389
|
+
# mount. This parameter maps to the `--tmpfs` option to [docker
|
2390
|
+
# run][1].
|
2391
|
+
#
|
2392
|
+
#
|
2393
|
+
#
|
2394
|
+
# [1]: https://docs.docker.com/engine/reference/run/
|
2395
|
+
# @return [Array<Types::Tmpfs>]
|
2396
|
+
#
|
2397
|
+
# @!attribute [rw] max_swap
|
2398
|
+
# The total amount of swap memory (in MiB) a container can use. This
|
2399
|
+
# parameter will be translated to the `--memory-swap` option to
|
2400
|
+
# [docker run][1] where the value would be the sum of the container
|
2401
|
+
# memory plus the `maxSwap` value.
|
2402
|
+
#
|
2403
|
+
# If a `maxSwap` value of `0` is specified, the container will not use
|
2404
|
+
# swap. Accepted values are `0` or any positive integer. If the
|
2405
|
+
# `maxSwap` parameter is omitted, the container will use the swap
|
2406
|
+
# configuration for the container instance it is running on. A
|
2407
|
+
# `maxSwap` value must be set for the `swappiness` parameter to be
|
2408
|
+
# used.
|
2409
|
+
#
|
2410
|
+
#
|
2411
|
+
#
|
2412
|
+
# [1]: https://docs.docker.com/engine/reference/run/
|
2413
|
+
# @return [Integer]
|
2414
|
+
#
|
2415
|
+
# @!attribute [rw] swappiness
|
2416
|
+
# This allows you to tune a container's memory swappiness behavior. A
|
2417
|
+
# `swappiness` value of `0` will cause swapping to not happen unless
|
2418
|
+
# absolutely necessary. A `swappiness` value of `100` will cause pages
|
2419
|
+
# to be swapped very aggressively. Accepted values are whole numbers
|
2420
|
+
# between `0` and `100`. If the `swappiness` parameter is not
|
2421
|
+
# specified, a default value of `60` is used. If a value is not
|
2422
|
+
# specified for `maxSwap` then this parameter is ignored. This
|
2423
|
+
# parameter maps to the `--memory-swappiness` option to [docker
|
2424
|
+
# run][1].
|
2425
|
+
#
|
2426
|
+
#
|
2427
|
+
#
|
2428
|
+
# [1]: https://docs.docker.com/engine/reference/run/
|
2429
|
+
# @return [Integer]
|
2430
|
+
#
|
2099
2431
|
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/LinuxParameters AWS API Documentation
|
2100
2432
|
#
|
2101
2433
|
class LinuxParameters < Struct.new(
|
2102
|
-
:devices
|
2434
|
+
:devices,
|
2435
|
+
:init_process_enabled,
|
2436
|
+
:shared_memory_size,
|
2437
|
+
:tmpfs,
|
2438
|
+
:max_swap,
|
2439
|
+
:swappiness)
|
2103
2440
|
SENSITIVE = []
|
2104
2441
|
include Aws::Structure
|
2105
2442
|
end
|
@@ -2195,6 +2532,167 @@ module Aws::Batch
|
|
2195
2532
|
include Aws::Structure
|
2196
2533
|
end
|
2197
2534
|
|
2535
|
+
# @note When making an API call, you may pass ListTagsForResourceRequest
|
2536
|
+
# data as a hash:
|
2537
|
+
#
|
2538
|
+
# {
|
2539
|
+
# resource_arn: "String", # required
|
2540
|
+
# }
|
2541
|
+
#
|
2542
|
+
# @!attribute [rw] resource_arn
|
2543
|
+
# The Amazon Resource Name (ARN) that identifies the resource for
|
2544
|
+
# which to list the tags. AWS Batch resources that support tags are
|
2545
|
+
# compute environments, jobs, job definitions, and job queues. ARNs
|
2546
|
+
# for child jobs of array and multi-node parallel (MNP) jobs are not
|
2547
|
+
# supported.
|
2548
|
+
# @return [String]
|
2549
|
+
#
|
2550
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/ListTagsForResourceRequest AWS API Documentation
|
2551
|
+
#
|
2552
|
+
class ListTagsForResourceRequest < Struct.new(
|
2553
|
+
:resource_arn)
|
2554
|
+
SENSITIVE = []
|
2555
|
+
include Aws::Structure
|
2556
|
+
end
|
2557
|
+
|
2558
|
+
# @!attribute [rw] tags
|
2559
|
+
# The tags for the resource.
|
2560
|
+
# @return [Hash<String,String>]
|
2561
|
+
#
|
2562
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/ListTagsForResourceResponse AWS API Documentation
|
2563
|
+
#
|
2564
|
+
class ListTagsForResourceResponse < Struct.new(
|
2565
|
+
:tags)
|
2566
|
+
SENSITIVE = []
|
2567
|
+
include Aws::Structure
|
2568
|
+
end
|
2569
|
+
|
2570
|
+
# Log configuration options to send to a custom log driver for the
|
2571
|
+
# container.
|
2572
|
+
#
|
2573
|
+
# @note When making an API call, you may pass LogConfiguration
|
2574
|
+
# data as a hash:
|
2575
|
+
#
|
2576
|
+
# {
|
2577
|
+
# log_driver: "json-file", # required, accepts json-file, syslog, journald, gelf, fluentd, awslogs, splunk
|
2578
|
+
# options: {
|
2579
|
+
# "String" => "String",
|
2580
|
+
# },
|
2581
|
+
# secret_options: [
|
2582
|
+
# {
|
2583
|
+
# name: "String", # required
|
2584
|
+
# value_from: "String", # required
|
2585
|
+
# },
|
2586
|
+
# ],
|
2587
|
+
# }
|
2588
|
+
#
|
2589
|
+
# @!attribute [rw] log_driver
|
2590
|
+
# The log driver to use for the container. The valid values listed for
|
2591
|
+
# this parameter are log drivers that the Amazon ECS container agent
|
2592
|
+
# can communicate with by default.
|
2593
|
+
#
|
2594
|
+
# The supported log drivers are `awslogs`, `fluentd`, `gelf`,
|
2595
|
+
# `json-file`, `journald`, `logentries`, `syslog`, and `splunk`.
|
2596
|
+
#
|
2597
|
+
# awslogs
|
2598
|
+
#
|
2599
|
+
# : Specifies the Amazon CloudWatch Logs logging driver. For more
|
2600
|
+
# information, see [Using the awslogs Log Driver][1] in the *AWS
|
2601
|
+
# Batch User Guide* and [Amazon CloudWatch Logs logging driver][2]
|
2602
|
+
# in the Docker documentation.
|
2603
|
+
#
|
2604
|
+
# fluentd
|
2605
|
+
#
|
2606
|
+
# : Specifies the Fluentd logging driver. For more information,
|
2607
|
+
# including usage and options, see [Fluentd logging driver][3] in
|
2608
|
+
# the Docker documentation.
|
2609
|
+
#
|
2610
|
+
# gelf
|
2611
|
+
#
|
2612
|
+
# : Specifies the Graylog Extended Format (GELF) logging driver. For
|
2613
|
+
# more information, including usage and options, see [Graylog
|
2614
|
+
# Extended Format logging driver][4] in the Docker documentation.
|
2615
|
+
#
|
2616
|
+
# journald
|
2617
|
+
#
|
2618
|
+
# : Specifies the journald logging driver. For more information,
|
2619
|
+
# including usage and options, see [Journald logging driver][5] in
|
2620
|
+
# the Docker documentation.
|
2621
|
+
#
|
2622
|
+
# json-file
|
2623
|
+
#
|
2624
|
+
# : Specifies the JSON file logging driver. For more information,
|
2625
|
+
# including usage and options, see [JSON File logging driver][6] in
|
2626
|
+
# the Docker documentation.
|
2627
|
+
#
|
2628
|
+
# splunk
|
2629
|
+
#
|
2630
|
+
# : Specifies the Splunk logging driver. For more information,
|
2631
|
+
# including usage and options, see [Splunk logging driver][7] in the
|
2632
|
+
# Docker documentation.
|
2633
|
+
#
|
2634
|
+
# syslog
|
2635
|
+
#
|
2636
|
+
# : Specifies the syslog logging driver. For more information,
|
2637
|
+
# including usage and options, see [Syslog logging driver][8] in the
|
2638
|
+
# Docker documentation.
|
2639
|
+
#
|
2640
|
+
# <note markdown="1"> If you have a custom driver that is not listed earlier that you
|
2641
|
+
# would like to work with the Amazon ECS container agent, you can fork
|
2642
|
+
# the Amazon ECS container agent project that is [available on
|
2643
|
+
# GitHub][9] and customize it to work with that driver. We encourage
|
2644
|
+
# you to submit pull requests for changes that you would like to have
|
2645
|
+
# included. However, Amazon Web Services does not currently support
|
2646
|
+
# running modified copies of this software.
|
2647
|
+
#
|
2648
|
+
# </note>
|
2649
|
+
#
|
2650
|
+
# This parameter requires version 1.18 of the Docker Remote API or
|
2651
|
+
# greater on your container instance. To check the Docker Remote API
|
2652
|
+
# version on your container instance, log into your container instance
|
2653
|
+
# and run the following command: `sudo docker version | grep "Server
|
2654
|
+
# API version"`
|
2655
|
+
#
|
2656
|
+
#
|
2657
|
+
#
|
2658
|
+
# [1]: https://docs.aws.amazon.com/batch/latest/userguide/using_awslogs.html
|
2659
|
+
# [2]: https://docs.docker.com/config/containers/logging/awslogs/
|
2660
|
+
# [3]: https://docs.docker.com/config/containers/logging/fluentd/
|
2661
|
+
# [4]: https://docs.docker.com/config/containers/logging/gelf/
|
2662
|
+
# [5]: https://docs.docker.com/config/containers/logging/journald/
|
2663
|
+
# [6]: https://docs.docker.com/config/containers/logging/json-file/
|
2664
|
+
# [7]: https://docs.docker.com/config/containers/logging/splunk/
|
2665
|
+
# [8]: https://docs.docker.com/config/containers/logging/syslog/
|
2666
|
+
# [9]: https://github.com/aws/amazon-ecs-agent
|
2667
|
+
# @return [String]
|
2668
|
+
#
|
2669
|
+
# @!attribute [rw] options
|
2670
|
+
# The configuration options to send to the log driver. This parameter
|
2671
|
+
# requires version 1.19 of the Docker Remote API or greater on your
|
2672
|
+
# container instance. To check the Docker Remote API version on your
|
2673
|
+
# container instance, log into your container instance and run the
|
2674
|
+
# following command: `sudo docker version | grep "Server API version"`
|
2675
|
+
# @return [Hash<String,String>]
|
2676
|
+
#
|
2677
|
+
# @!attribute [rw] secret_options
|
2678
|
+
# The secrets to pass to the log configuration. For more information,
|
2679
|
+
# see [Specifying Sensitive Data][1] in the *AWS Batch User Guide*.
|
2680
|
+
#
|
2681
|
+
#
|
2682
|
+
#
|
2683
|
+
# [1]: https://docs.aws.amazon.com/batch/latest/userguide/specifying-sensitive-data.html
|
2684
|
+
# @return [Array<Types::Secret>]
|
2685
|
+
#
|
2686
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/LogConfiguration AWS API Documentation
|
2687
|
+
#
|
2688
|
+
class LogConfiguration < Struct.new(
|
2689
|
+
:log_driver,
|
2690
|
+
:options,
|
2691
|
+
:secret_options)
|
2692
|
+
SENSITIVE = []
|
2693
|
+
include Aws::Structure
|
2694
|
+
end
|
2695
|
+
|
2198
2696
|
# Details on a Docker volume mount point that is used in a job's
|
2199
2697
|
# container properties. This parameter maps to `Volumes` in the [Create
|
2200
2698
|
# a container][1] section of the Docker Remote API and the `--volume`
|
@@ -2364,6 +2862,7 @@ module Aws::Batch
|
|
2364
2862
|
# memory: 1,
|
2365
2863
|
# command: ["String"],
|
2366
2864
|
# job_role_arn: "String",
|
2865
|
+
# execution_role_arn: "String",
|
2367
2866
|
# volumes: [
|
2368
2867
|
# {
|
2369
2868
|
# host: {
|
@@ -2410,7 +2909,36 @@ module Aws::Batch
|
|
2410
2909
|
# permissions: ["READ"], # accepts READ, WRITE, MKNOD
|
2411
2910
|
# },
|
2412
2911
|
# ],
|
2912
|
+
# init_process_enabled: false,
|
2913
|
+
# shared_memory_size: 1,
|
2914
|
+
# tmpfs: [
|
2915
|
+
# {
|
2916
|
+
# container_path: "String", # required
|
2917
|
+
# size: 1, # required
|
2918
|
+
# mount_options: ["String"],
|
2919
|
+
# },
|
2920
|
+
# ],
|
2921
|
+
# max_swap: 1,
|
2922
|
+
# swappiness: 1,
|
2413
2923
|
# },
|
2924
|
+
# log_configuration: {
|
2925
|
+
# log_driver: "json-file", # required, accepts json-file, syslog, journald, gelf, fluentd, awslogs, splunk
|
2926
|
+
# options: {
|
2927
|
+
# "String" => "String",
|
2928
|
+
# },
|
2929
|
+
# secret_options: [
|
2930
|
+
# {
|
2931
|
+
# name: "String", # required
|
2932
|
+
# value_from: "String", # required
|
2933
|
+
# },
|
2934
|
+
# ],
|
2935
|
+
# },
|
2936
|
+
# secrets: [
|
2937
|
+
# {
|
2938
|
+
# name: "String", # required
|
2939
|
+
# value_from: "String", # required
|
2940
|
+
# },
|
2941
|
+
# ],
|
2414
2942
|
# },
|
2415
2943
|
# },
|
2416
2944
|
# ],
|
@@ -2531,6 +3059,7 @@ module Aws::Batch
|
|
2531
3059
|
# memory: 1,
|
2532
3060
|
# command: ["String"],
|
2533
3061
|
# job_role_arn: "String",
|
3062
|
+
# execution_role_arn: "String",
|
2534
3063
|
# volumes: [
|
2535
3064
|
# {
|
2536
3065
|
# host: {
|
@@ -2577,7 +3106,36 @@ module Aws::Batch
|
|
2577
3106
|
# permissions: ["READ"], # accepts READ, WRITE, MKNOD
|
2578
3107
|
# },
|
2579
3108
|
# ],
|
3109
|
+
# init_process_enabled: false,
|
3110
|
+
# shared_memory_size: 1,
|
3111
|
+
# tmpfs: [
|
3112
|
+
# {
|
3113
|
+
# container_path: "String", # required
|
3114
|
+
# size: 1, # required
|
3115
|
+
# mount_options: ["String"],
|
3116
|
+
# },
|
3117
|
+
# ],
|
3118
|
+
# max_swap: 1,
|
3119
|
+
# swappiness: 1,
|
2580
3120
|
# },
|
3121
|
+
# log_configuration: {
|
3122
|
+
# log_driver: "json-file", # required, accepts json-file, syslog, journald, gelf, fluentd, awslogs, splunk
|
3123
|
+
# options: {
|
3124
|
+
# "String" => "String",
|
3125
|
+
# },
|
3126
|
+
# secret_options: [
|
3127
|
+
# {
|
3128
|
+
# name: "String", # required
|
3129
|
+
# value_from: "String", # required
|
3130
|
+
# },
|
3131
|
+
# ],
|
3132
|
+
# },
|
3133
|
+
# secrets: [
|
3134
|
+
# {
|
3135
|
+
# name: "String", # required
|
3136
|
+
# value_from: "String", # required
|
3137
|
+
# },
|
3138
|
+
# ],
|
2581
3139
|
# },
|
2582
3140
|
# }
|
2583
3141
|
#
|
@@ -2620,6 +3178,7 @@ module Aws::Batch
|
|
2620
3178
|
# memory: 1,
|
2621
3179
|
# command: ["String"],
|
2622
3180
|
# job_role_arn: "String",
|
3181
|
+
# execution_role_arn: "String",
|
2623
3182
|
# volumes: [
|
2624
3183
|
# {
|
2625
3184
|
# host: {
|
@@ -2666,7 +3225,36 @@ module Aws::Batch
|
|
2666
3225
|
# permissions: ["READ"], # accepts READ, WRITE, MKNOD
|
2667
3226
|
# },
|
2668
3227
|
# ],
|
3228
|
+
# init_process_enabled: false,
|
3229
|
+
# shared_memory_size: 1,
|
3230
|
+
# tmpfs: [
|
3231
|
+
# {
|
3232
|
+
# container_path: "String", # required
|
3233
|
+
# size: 1, # required
|
3234
|
+
# mount_options: ["String"],
|
3235
|
+
# },
|
3236
|
+
# ],
|
3237
|
+
# max_swap: 1,
|
3238
|
+
# swappiness: 1,
|
3239
|
+
# },
|
3240
|
+
# log_configuration: {
|
3241
|
+
# log_driver: "json-file", # required, accepts json-file, syslog, journald, gelf, fluentd, awslogs, splunk
|
3242
|
+
# options: {
|
3243
|
+
# "String" => "String",
|
3244
|
+
# },
|
3245
|
+
# secret_options: [
|
3246
|
+
# {
|
3247
|
+
# name: "String", # required
|
3248
|
+
# value_from: "String", # required
|
3249
|
+
# },
|
3250
|
+
# ],
|
2669
3251
|
# },
|
3252
|
+
# secrets: [
|
3253
|
+
# {
|
3254
|
+
# name: "String", # required
|
3255
|
+
# value_from: "String", # required
|
3256
|
+
# },
|
3257
|
+
# ],
|
2670
3258
|
# },
|
2671
3259
|
# node_properties: {
|
2672
3260
|
# num_nodes: 1, # required
|
@@ -2680,6 +3268,7 @@ module Aws::Batch
|
|
2680
3268
|
# memory: 1,
|
2681
3269
|
# command: ["String"],
|
2682
3270
|
# job_role_arn: "String",
|
3271
|
+
# execution_role_arn: "String",
|
2683
3272
|
# volumes: [
|
2684
3273
|
# {
|
2685
3274
|
# host: {
|
@@ -2726,7 +3315,36 @@ module Aws::Batch
|
|
2726
3315
|
# permissions: ["READ"], # accepts READ, WRITE, MKNOD
|
2727
3316
|
# },
|
2728
3317
|
# ],
|
3318
|
+
# init_process_enabled: false,
|
3319
|
+
# shared_memory_size: 1,
|
3320
|
+
# tmpfs: [
|
3321
|
+
# {
|
3322
|
+
# container_path: "String", # required
|
3323
|
+
# size: 1, # required
|
3324
|
+
# mount_options: ["String"],
|
3325
|
+
# },
|
3326
|
+
# ],
|
3327
|
+
# max_swap: 1,
|
3328
|
+
# swappiness: 1,
|
3329
|
+
# },
|
3330
|
+
# log_configuration: {
|
3331
|
+
# log_driver: "json-file", # required, accepts json-file, syslog, journald, gelf, fluentd, awslogs, splunk
|
3332
|
+
# options: {
|
3333
|
+
# "String" => "String",
|
3334
|
+
# },
|
3335
|
+
# secret_options: [
|
3336
|
+
# {
|
3337
|
+
# name: "String", # required
|
3338
|
+
# value_from: "String", # required
|
3339
|
+
# },
|
3340
|
+
# ],
|
2729
3341
|
# },
|
3342
|
+
# secrets: [
|
3343
|
+
# {
|
3344
|
+
# name: "String", # required
|
3345
|
+
# value_from: "String", # required
|
3346
|
+
# },
|
3347
|
+
# ],
|
2730
3348
|
# },
|
2731
3349
|
# },
|
2732
3350
|
# ],
|
@@ -2737,6 +3355,9 @@ module Aws::Batch
|
|
2737
3355
|
# timeout: {
|
2738
3356
|
# attempt_duration_seconds: 1,
|
2739
3357
|
# },
|
3358
|
+
# tags: {
|
3359
|
+
# "TagKey" => "TagValue",
|
3360
|
+
# },
|
2740
3361
|
# }
|
2741
3362
|
#
|
2742
3363
|
# @!attribute [rw] job_definition_name
|
@@ -2798,6 +3419,17 @@ module Aws::Batch
|
|
2798
3419
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/job_timeouts.html
|
2799
3420
|
# @return [Types::JobTimeout]
|
2800
3421
|
#
|
3422
|
+
# @!attribute [rw] tags
|
3423
|
+
# The tags that you apply to the job definition to help you categorize
|
3424
|
+
# and organize your resources. Each tag consists of a key and an
|
3425
|
+
# optional value. For more information, see [Tagging AWS Resources][1]
|
3426
|
+
# in *AWS General Reference*.
|
3427
|
+
#
|
3428
|
+
#
|
3429
|
+
#
|
3430
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
|
3431
|
+
# @return [Hash<String,String>]
|
3432
|
+
#
|
2801
3433
|
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/RegisterJobDefinitionRequest AWS API Documentation
|
2802
3434
|
#
|
2803
3435
|
class RegisterJobDefinitionRequest < Struct.new(
|
@@ -2807,7 +3439,8 @@ module Aws::Batch
|
|
2807
3439
|
:container_properties,
|
2808
3440
|
:node_properties,
|
2809
3441
|
:retry_strategy,
|
2810
|
-
:timeout
|
3442
|
+
:timeout,
|
3443
|
+
:tags)
|
2811
3444
|
SENSITIVE = []
|
2812
3445
|
include Aws::Structure
|
2813
3446
|
end
|
@@ -2890,6 +3523,56 @@ module Aws::Batch
|
|
2890
3523
|
include Aws::Structure
|
2891
3524
|
end
|
2892
3525
|
|
3526
|
+
# An object representing the secret to expose to your container. Secrets
|
3527
|
+
# can be exposed to a container in the following ways:
|
3528
|
+
#
|
3529
|
+
# * To inject sensitive data into your containers as environment
|
3530
|
+
# variables, use the `secrets` container definition parameter.
|
3531
|
+
#
|
3532
|
+
# * To reference sensitive information in the log configuration of a
|
3533
|
+
# container, use the `secretOptions` container definition parameter.
|
3534
|
+
#
|
3535
|
+
# For more information, see [Specifying Sensitive Data][1] in the
|
3536
|
+
# *Amazon Elastic Container Service Developer Guide*.
|
3537
|
+
#
|
3538
|
+
#
|
3539
|
+
#
|
3540
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/specifying-sensitive-data.html
|
3541
|
+
#
|
3542
|
+
# @note When making an API call, you may pass Secret
|
3543
|
+
# data as a hash:
|
3544
|
+
#
|
3545
|
+
# {
|
3546
|
+
# name: "String", # required
|
3547
|
+
# value_from: "String", # required
|
3548
|
+
# }
|
3549
|
+
#
|
3550
|
+
# @!attribute [rw] name
|
3551
|
+
# The name of the secret.
|
3552
|
+
# @return [String]
|
3553
|
+
#
|
3554
|
+
# @!attribute [rw] value_from
|
3555
|
+
# The secret to expose to the container. The supported values are
|
3556
|
+
# either the full ARN of the AWS Secrets Manager secret or the full
|
3557
|
+
# ARN of the parameter in the AWS Systems Manager Parameter Store.
|
3558
|
+
#
|
3559
|
+
# <note markdown="1"> If the AWS Systems Manager Parameter Store parameter exists in the
|
3560
|
+
# same Region as the task you are launching, then you can use either
|
3561
|
+
# the full ARN or name of the parameter. If the parameter exists in a
|
3562
|
+
# different Region, then the full ARN must be specified.
|
3563
|
+
#
|
3564
|
+
# </note>
|
3565
|
+
# @return [String]
|
3566
|
+
#
|
3567
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/Secret AWS API Documentation
|
3568
|
+
#
|
3569
|
+
class Secret < Struct.new(
|
3570
|
+
:name,
|
3571
|
+
:value_from)
|
3572
|
+
SENSITIVE = []
|
3573
|
+
include Aws::Structure
|
3574
|
+
end
|
3575
|
+
|
2893
3576
|
# These errors are usually caused by a server issue.
|
2894
3577
|
#
|
2895
3578
|
# @!attribute [rw] message
|
@@ -2972,6 +3655,9 @@ module Aws::Batch
|
|
2972
3655
|
# timeout: {
|
2973
3656
|
# attempt_duration_seconds: 1,
|
2974
3657
|
# },
|
3658
|
+
# tags: {
|
3659
|
+
# "TagKey" => "TagValue",
|
3660
|
+
# },
|
2975
3661
|
# }
|
2976
3662
|
#
|
2977
3663
|
# @!attribute [rw] job_name
|
@@ -3059,6 +3745,17 @@ module Aws::Batch
|
|
3059
3745
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/job_timeouts.html
|
3060
3746
|
# @return [Types::JobTimeout]
|
3061
3747
|
#
|
3748
|
+
# @!attribute [rw] tags
|
3749
|
+
# The tags that you apply to the job request to help you categorize
|
3750
|
+
# and organize your resources. Each tag consists of a key and an
|
3751
|
+
# optional value. For more information, see [Tagging AWS Resources][1]
|
3752
|
+
# in *AWS General Reference*.
|
3753
|
+
#
|
3754
|
+
#
|
3755
|
+
#
|
3756
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
|
3757
|
+
# @return [Hash<String,String>]
|
3758
|
+
#
|
3062
3759
|
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/SubmitJobRequest AWS API Documentation
|
3063
3760
|
#
|
3064
3761
|
class SubmitJobRequest < Struct.new(
|
@@ -3071,11 +3768,16 @@ module Aws::Batch
|
|
3071
3768
|
:container_overrides,
|
3072
3769
|
:node_overrides,
|
3073
3770
|
:retry_strategy,
|
3074
|
-
:timeout
|
3771
|
+
:timeout,
|
3772
|
+
:tags)
|
3075
3773
|
SENSITIVE = []
|
3076
3774
|
include Aws::Structure
|
3077
3775
|
end
|
3078
3776
|
|
3777
|
+
# @!attribute [rw] job_arn
|
3778
|
+
# The Amazon Resource Name (ARN) for the job.
|
3779
|
+
# @return [String]
|
3780
|
+
#
|
3079
3781
|
# @!attribute [rw] job_name
|
3080
3782
|
# The name of the job.
|
3081
3783
|
# @return [String]
|
@@ -3087,12 +3789,54 @@ module Aws::Batch
|
|
3087
3789
|
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/SubmitJobResponse AWS API Documentation
|
3088
3790
|
#
|
3089
3791
|
class SubmitJobResponse < Struct.new(
|
3792
|
+
:job_arn,
|
3090
3793
|
:job_name,
|
3091
3794
|
:job_id)
|
3092
3795
|
SENSITIVE = []
|
3093
3796
|
include Aws::Structure
|
3094
3797
|
end
|
3095
3798
|
|
3799
|
+
# @note When making an API call, you may pass TagResourceRequest
|
3800
|
+
# data as a hash:
|
3801
|
+
#
|
3802
|
+
# {
|
3803
|
+
# resource_arn: "String", # required
|
3804
|
+
# tags: { # required
|
3805
|
+
# "TagKey" => "TagValue",
|
3806
|
+
# },
|
3807
|
+
# }
|
3808
|
+
#
|
3809
|
+
# @!attribute [rw] resource_arn
|
3810
|
+
# The Amazon Resource Name (ARN) of the resource to which to add tags.
|
3811
|
+
# AWS Batch resources that support tags are compute environments,
|
3812
|
+
# jobs, job definitions, and job queues. ARNs for child jobs of array
|
3813
|
+
# and multi-node parallel (MNP) jobs are not supported.
|
3814
|
+
# @return [String]
|
3815
|
+
#
|
3816
|
+
# @!attribute [rw] tags
|
3817
|
+
# The tags that you apply to the resource to help you categorize and
|
3818
|
+
# organize your resources. Each tag consists of a key and an optional
|
3819
|
+
# value. For more information, see [Tagging AWS Resources][1] in *AWS
|
3820
|
+
# General Reference*.
|
3821
|
+
#
|
3822
|
+
#
|
3823
|
+
#
|
3824
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
|
3825
|
+
# @return [Hash<String,String>]
|
3826
|
+
#
|
3827
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/TagResourceRequest AWS API Documentation
|
3828
|
+
#
|
3829
|
+
class TagResourceRequest < Struct.new(
|
3830
|
+
:resource_arn,
|
3831
|
+
:tags)
|
3832
|
+
SENSITIVE = []
|
3833
|
+
include Aws::Structure
|
3834
|
+
end
|
3835
|
+
|
3836
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/TagResourceResponse AWS API Documentation
|
3837
|
+
#
|
3838
|
+
class TagResourceResponse < Aws::EmptyStructure; end
|
3839
|
+
|
3096
3840
|
# @note When making an API call, you may pass TerminateJobRequest
|
3097
3841
|
# data as a hash:
|
3098
3842
|
#
|
@@ -3125,6 +3869,51 @@ module Aws::Batch
|
|
3125
3869
|
#
|
3126
3870
|
class TerminateJobResponse < Aws::EmptyStructure; end
|
3127
3871
|
|
3872
|
+
# The container path, mount options, and size of the tmpfs mount.
|
3873
|
+
#
|
3874
|
+
# @note When making an API call, you may pass Tmpfs
|
3875
|
+
# data as a hash:
|
3876
|
+
#
|
3877
|
+
# {
|
3878
|
+
# container_path: "String", # required
|
3879
|
+
# size: 1, # required
|
3880
|
+
# mount_options: ["String"],
|
3881
|
+
# }
|
3882
|
+
#
|
3883
|
+
# @!attribute [rw] container_path
|
3884
|
+
# The absolute file path in the container where the tmpfs volume is to
|
3885
|
+
# be mounted.
|
3886
|
+
# @return [String]
|
3887
|
+
#
|
3888
|
+
# @!attribute [rw] size
|
3889
|
+
# The size (in MiB) of the tmpfs volume.
|
3890
|
+
# @return [Integer]
|
3891
|
+
#
|
3892
|
+
# @!attribute [rw] mount_options
|
3893
|
+
# The list of tmpfs volume mount options.
|
3894
|
+
#
|
3895
|
+
# Valid values: "`defaults`" \| "`ro`" \| "`rw`" \| "`suid`"
|
3896
|
+
# \| "`nosuid`" \| "`dev`" \| "`nodev`" \| "`exec`" \|
|
3897
|
+
# "`noexec`" \| "`sync`" \| "`async`" \| "`dirsync`" \|
|
3898
|
+
# "`remount`" \| "`mand`" \| "`nomand`" \| "`atime`" \|
|
3899
|
+
# "`noatime`" \| "`diratime`" \| "`nodiratime`" \| "`bind`" \|
|
3900
|
+
# "`rbind" | "unbindable" | "runbindable" | "private" | "rprivate" |
|
3901
|
+
# "shared" | "rshared" | "slave" | "rslave" | "relatime`" \|
|
3902
|
+
# "`norelatime`" \| "`strictatime`" \| "`nostrictatime`" \|
|
3903
|
+
# "`mode`" \| "`uid`" \| "`gid`" \| "`nr_inodes`" \|
|
3904
|
+
# "`nr_blocks`" \| "`mpol`"
|
3905
|
+
# @return [Array<String>]
|
3906
|
+
#
|
3907
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/Tmpfs AWS API Documentation
|
3908
|
+
#
|
3909
|
+
class Tmpfs < Struct.new(
|
3910
|
+
:container_path,
|
3911
|
+
:size,
|
3912
|
+
:mount_options)
|
3913
|
+
SENSITIVE = []
|
3914
|
+
include Aws::Structure
|
3915
|
+
end
|
3916
|
+
|
3128
3917
|
# The `ulimit` settings to pass to the container.
|
3129
3918
|
#
|
3130
3919
|
# @note When making an API call, you may pass Ulimit
|
@@ -3158,6 +3947,38 @@ module Aws::Batch
|
|
3158
3947
|
include Aws::Structure
|
3159
3948
|
end
|
3160
3949
|
|
3950
|
+
# @note When making an API call, you may pass UntagResourceRequest
|
3951
|
+
# data as a hash:
|
3952
|
+
#
|
3953
|
+
# {
|
3954
|
+
# resource_arn: "String", # required
|
3955
|
+
# tag_keys: ["TagKey"], # required
|
3956
|
+
# }
|
3957
|
+
#
|
3958
|
+
# @!attribute [rw] resource_arn
|
3959
|
+
# The Amazon Resource Name (ARN) of the resource from which to delete
|
3960
|
+
# tags. AWS Batch resources that support tags are compute
|
3961
|
+
# environments, jobs, job definitions, and job queues. ARNs for child
|
3962
|
+
# jobs of array and multi-node parallel (MNP) jobs are not supported.
|
3963
|
+
# @return [String]
|
3964
|
+
#
|
3965
|
+
# @!attribute [rw] tag_keys
|
3966
|
+
# The keys of the tags to be removed.
|
3967
|
+
# @return [Array<String>]
|
3968
|
+
#
|
3969
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/UntagResourceRequest AWS API Documentation
|
3970
|
+
#
|
3971
|
+
class UntagResourceRequest < Struct.new(
|
3972
|
+
:resource_arn,
|
3973
|
+
:tag_keys)
|
3974
|
+
SENSITIVE = []
|
3975
|
+
include Aws::Structure
|
3976
|
+
end
|
3977
|
+
|
3978
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/UntagResourceResponse AWS API Documentation
|
3979
|
+
#
|
3980
|
+
class UntagResourceResponse < Aws::EmptyStructure; end
|
3981
|
+
|
3161
3982
|
# @note When making an API call, you may pass UpdateComputeEnvironmentRequest
|
3162
3983
|
# data as a hash:
|
3163
3984
|
#
|
@@ -3254,7 +4075,10 @@ module Aws::Batch
|
|
3254
4075
|
# @return [String]
|
3255
4076
|
#
|
3256
4077
|
# @!attribute [rw] state
|
3257
|
-
# Describes the queue's ability to accept new jobs.
|
4078
|
+
# Describes the queue's ability to accept new jobs. If the job queue
|
4079
|
+
# state is `ENABLED`, it is able to accept jobs. If the job queue
|
4080
|
+
# state is `DISABLED`, new jobs cannot be added to the queue, but jobs
|
4081
|
+
# already in the queue can finish.
|
3258
4082
|
# @return [String]
|
3259
4083
|
#
|
3260
4084
|
# @!attribute [rw] priority
|