aws-sdk-batch 1.23.0 → 1.24.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 +1 -1
- data/lib/aws-sdk-batch/client.rb +39 -1
- data/lib/aws-sdk-batch/client_api.rb +43 -0
- data/lib/aws-sdk-batch/types.rb +137 -5
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fd2a91a93ddde4031f311239d10739016c2d72fa
|
4
|
+
data.tar.gz: e9f7f5cd936776da59881385a6a5127c442f7fc1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 54eeae91f3802fa3a55bfc55e1137e23c26a07bef302f94ed806f1b49bb6259dc3715afb72126ef27d48ec5a34769e0d5b59db9a43711b04c2e63f1abf6bc9fc
|
7
|
+
data.tar.gz: 3e4d1f46b239533b0308e6176c063b0414fe2dc79f35a76b59b855fcf2a0c2416cc38b010494db3b1de2584939e7aba8717055907c980c2528cd17618d8a99dc
|
data/lib/aws-sdk-batch.rb
CHANGED
data/lib/aws-sdk-batch/client.rb
CHANGED
@@ -1038,6 +1038,11 @@ module Aws::Batch
|
|
1038
1038
|
# resp.job_definitions[0].container_properties.resource_requirements #=> Array
|
1039
1039
|
# resp.job_definitions[0].container_properties.resource_requirements[0].value #=> String
|
1040
1040
|
# resp.job_definitions[0].container_properties.resource_requirements[0].type #=> String, one of "GPU"
|
1041
|
+
# resp.job_definitions[0].container_properties.linux_parameters.devices #=> Array
|
1042
|
+
# resp.job_definitions[0].container_properties.linux_parameters.devices[0].host_path #=> String
|
1043
|
+
# resp.job_definitions[0].container_properties.linux_parameters.devices[0].container_path #=> String
|
1044
|
+
# resp.job_definitions[0].container_properties.linux_parameters.devices[0].permissions #=> Array
|
1045
|
+
# resp.job_definitions[0].container_properties.linux_parameters.devices[0].permissions[0] #=> String, one of "READ", "WRITE", "MKNOD"
|
1041
1046
|
# resp.job_definitions[0].timeout.attempt_duration_seconds #=> Integer
|
1042
1047
|
# resp.job_definitions[0].node_properties.num_nodes #=> Integer
|
1043
1048
|
# resp.job_definitions[0].node_properties.main_node #=> Integer
|
@@ -1070,6 +1075,11 @@ module Aws::Batch
|
|
1070
1075
|
# resp.job_definitions[0].node_properties.node_range_properties[0].container.resource_requirements #=> Array
|
1071
1076
|
# resp.job_definitions[0].node_properties.node_range_properties[0].container.resource_requirements[0].value #=> String
|
1072
1077
|
# resp.job_definitions[0].node_properties.node_range_properties[0].container.resource_requirements[0].type #=> String, one of "GPU"
|
1078
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].container.linux_parameters.devices #=> Array
|
1079
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].container.linux_parameters.devices[0].host_path #=> String
|
1080
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].container.linux_parameters.devices[0].container_path #=> String
|
1081
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].container.linux_parameters.devices[0].permissions #=> Array
|
1082
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].container.linux_parameters.devices[0].permissions[0] #=> String, one of "READ", "WRITE", "MKNOD"
|
1073
1083
|
# resp.next_token #=> String
|
1074
1084
|
#
|
1075
1085
|
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DescribeJobDefinitions AWS API Documentation
|
@@ -1309,6 +1319,11 @@ module Aws::Batch
|
|
1309
1319
|
# resp.jobs[0].container.resource_requirements #=> Array
|
1310
1320
|
# resp.jobs[0].container.resource_requirements[0].value #=> String
|
1311
1321
|
# resp.jobs[0].container.resource_requirements[0].type #=> String, one of "GPU"
|
1322
|
+
# resp.jobs[0].container.linux_parameters.devices #=> Array
|
1323
|
+
# resp.jobs[0].container.linux_parameters.devices[0].host_path #=> String
|
1324
|
+
# resp.jobs[0].container.linux_parameters.devices[0].container_path #=> String
|
1325
|
+
# resp.jobs[0].container.linux_parameters.devices[0].permissions #=> Array
|
1326
|
+
# resp.jobs[0].container.linux_parameters.devices[0].permissions[0] #=> String, one of "READ", "WRITE", "MKNOD"
|
1312
1327
|
# resp.jobs[0].node_details.node_index #=> Integer
|
1313
1328
|
# resp.jobs[0].node_details.is_main_node #=> Boolean
|
1314
1329
|
# resp.jobs[0].node_properties.num_nodes #=> Integer
|
@@ -1342,6 +1357,11 @@ module Aws::Batch
|
|
1342
1357
|
# resp.jobs[0].node_properties.node_range_properties[0].container.resource_requirements #=> Array
|
1343
1358
|
# resp.jobs[0].node_properties.node_range_properties[0].container.resource_requirements[0].value #=> String
|
1344
1359
|
# resp.jobs[0].node_properties.node_range_properties[0].container.resource_requirements[0].type #=> String, one of "GPU"
|
1360
|
+
# resp.jobs[0].node_properties.node_range_properties[0].container.linux_parameters.devices #=> Array
|
1361
|
+
# resp.jobs[0].node_properties.node_range_properties[0].container.linux_parameters.devices[0].host_path #=> String
|
1362
|
+
# resp.jobs[0].node_properties.node_range_properties[0].container.linux_parameters.devices[0].container_path #=> String
|
1363
|
+
# resp.jobs[0].node_properties.node_range_properties[0].container.linux_parameters.devices[0].permissions #=> Array
|
1364
|
+
# resp.jobs[0].node_properties.node_range_properties[0].container.linux_parameters.devices[0].permissions[0] #=> String, one of "READ", "WRITE", "MKNOD"
|
1345
1365
|
# resp.jobs[0].array_properties.status_summary #=> Hash
|
1346
1366
|
# resp.jobs[0].array_properties.status_summary["String"] #=> Integer
|
1347
1367
|
# resp.jobs[0].array_properties.size #=> Integer
|
@@ -1631,6 +1651,15 @@ module Aws::Batch
|
|
1631
1651
|
# type: "GPU", # required, accepts GPU
|
1632
1652
|
# },
|
1633
1653
|
# ],
|
1654
|
+
# linux_parameters: {
|
1655
|
+
# devices: [
|
1656
|
+
# {
|
1657
|
+
# host_path: "String", # required
|
1658
|
+
# container_path: "String",
|
1659
|
+
# permissions: ["READ"], # accepts READ, WRITE, MKNOD
|
1660
|
+
# },
|
1661
|
+
# ],
|
1662
|
+
# },
|
1634
1663
|
# },
|
1635
1664
|
# node_properties: {
|
1636
1665
|
# num_nodes: 1, # required
|
@@ -1682,6 +1711,15 @@ module Aws::Batch
|
|
1682
1711
|
# type: "GPU", # required, accepts GPU
|
1683
1712
|
# },
|
1684
1713
|
# ],
|
1714
|
+
# linux_parameters: {
|
1715
|
+
# devices: [
|
1716
|
+
# {
|
1717
|
+
# host_path: "String", # required
|
1718
|
+
# container_path: "String",
|
1719
|
+
# permissions: ["READ"], # accepts READ, WRITE, MKNOD
|
1720
|
+
# },
|
1721
|
+
# ],
|
1722
|
+
# },
|
1685
1723
|
# },
|
1686
1724
|
# },
|
1687
1725
|
# ],
|
@@ -2101,7 +2139,7 @@ module Aws::Batch
|
|
2101
2139
|
params: params,
|
2102
2140
|
config: config)
|
2103
2141
|
context[:gem_name] = 'aws-sdk-batch'
|
2104
|
-
context[:gem_version] = '1.
|
2142
|
+
context[:gem_version] = '1.24.0'
|
2105
2143
|
Seahorse::Client::Request.new(handlers, context)
|
2106
2144
|
end
|
2107
2145
|
|
@@ -55,6 +55,10 @@ module Aws::Batch
|
|
55
55
|
DescribeJobQueuesResponse = Shapes::StructureShape.new(name: 'DescribeJobQueuesResponse')
|
56
56
|
DescribeJobsRequest = Shapes::StructureShape.new(name: 'DescribeJobsRequest')
|
57
57
|
DescribeJobsResponse = Shapes::StructureShape.new(name: 'DescribeJobsResponse')
|
58
|
+
Device = Shapes::StructureShape.new(name: 'Device')
|
59
|
+
DeviceCgroupPermission = Shapes::StringShape.new(name: 'DeviceCgroupPermission')
|
60
|
+
DeviceCgroupPermissions = Shapes::ListShape.new(name: 'DeviceCgroupPermissions')
|
61
|
+
DevicesList = Shapes::ListShape.new(name: 'DevicesList')
|
58
62
|
EnvironmentVariables = Shapes::ListShape.new(name: 'EnvironmentVariables')
|
59
63
|
Host = Shapes::StructureShape.new(name: 'Host')
|
60
64
|
Integer = Shapes::IntegerShape.new(name: 'Integer')
|
@@ -75,6 +79,7 @@ module Aws::Batch
|
|
75
79
|
JobTimeout = Shapes::StructureShape.new(name: 'JobTimeout')
|
76
80
|
KeyValuePair = Shapes::StructureShape.new(name: 'KeyValuePair')
|
77
81
|
LaunchTemplateSpecification = Shapes::StructureShape.new(name: 'LaunchTemplateSpecification')
|
82
|
+
LinuxParameters = Shapes::StructureShape.new(name: 'LinuxParameters')
|
78
83
|
ListJobsRequest = Shapes::StructureShape.new(name: 'ListJobsRequest')
|
79
84
|
ListJobsResponse = Shapes::StructureShape.new(name: 'ListJobsResponse')
|
80
85
|
Long = Shapes::IntegerShape.new(name: 'Long')
|
@@ -215,6 +220,7 @@ module Aws::Batch
|
|
215
220
|
ContainerDetail.add_member(:instance_type, Shapes::ShapeRef.new(shape: String, location_name: "instanceType"))
|
216
221
|
ContainerDetail.add_member(:network_interfaces, Shapes::ShapeRef.new(shape: NetworkInterfaceList, location_name: "networkInterfaces"))
|
217
222
|
ContainerDetail.add_member(:resource_requirements, Shapes::ShapeRef.new(shape: ResourceRequirements, location_name: "resourceRequirements"))
|
223
|
+
ContainerDetail.add_member(:linux_parameters, Shapes::ShapeRef.new(shape: LinuxParameters, location_name: "linuxParameters"))
|
218
224
|
ContainerDetail.struct_class = Types::ContainerDetail
|
219
225
|
|
220
226
|
ContainerOverrides.add_member(:vcpus, Shapes::ShapeRef.new(shape: Integer, location_name: "vcpus"))
|
@@ -239,6 +245,7 @@ module Aws::Batch
|
|
239
245
|
ContainerProperties.add_member(:user, Shapes::ShapeRef.new(shape: String, location_name: "user"))
|
240
246
|
ContainerProperties.add_member(:instance_type, Shapes::ShapeRef.new(shape: String, location_name: "instanceType"))
|
241
247
|
ContainerProperties.add_member(:resource_requirements, Shapes::ShapeRef.new(shape: ResourceRequirements, location_name: "resourceRequirements"))
|
248
|
+
ContainerProperties.add_member(:linux_parameters, Shapes::ShapeRef.new(shape: LinuxParameters, location_name: "linuxParameters"))
|
242
249
|
ContainerProperties.struct_class = Types::ContainerProperties
|
243
250
|
|
244
251
|
ContainerSummary.add_member(:exit_code, Shapes::ShapeRef.new(shape: Integer, location_name: "exitCode"))
|
@@ -316,6 +323,15 @@ module Aws::Batch
|
|
316
323
|
DescribeJobsResponse.add_member(:jobs, Shapes::ShapeRef.new(shape: JobDetailList, location_name: "jobs"))
|
317
324
|
DescribeJobsResponse.struct_class = Types::DescribeJobsResponse
|
318
325
|
|
326
|
+
Device.add_member(:host_path, Shapes::ShapeRef.new(shape: String, required: true, location_name: "hostPath"))
|
327
|
+
Device.add_member(:container_path, Shapes::ShapeRef.new(shape: String, location_name: "containerPath"))
|
328
|
+
Device.add_member(:permissions, Shapes::ShapeRef.new(shape: DeviceCgroupPermissions, location_name: "permissions"))
|
329
|
+
Device.struct_class = Types::Device
|
330
|
+
|
331
|
+
DeviceCgroupPermissions.member = Shapes::ShapeRef.new(shape: DeviceCgroupPermission)
|
332
|
+
|
333
|
+
DevicesList.member = Shapes::ShapeRef.new(shape: Device)
|
334
|
+
|
319
335
|
EnvironmentVariables.member = Shapes::ShapeRef.new(shape: KeyValuePair)
|
320
336
|
|
321
337
|
Host.add_member(:source_path, Shapes::ShapeRef.new(shape: String, location_name: "sourcePath"))
|
@@ -400,6 +416,9 @@ module Aws::Batch
|
|
400
416
|
LaunchTemplateSpecification.add_member(:version, Shapes::ShapeRef.new(shape: String, location_name: "version"))
|
401
417
|
LaunchTemplateSpecification.struct_class = Types::LaunchTemplateSpecification
|
402
418
|
|
419
|
+
LinuxParameters.add_member(:devices, Shapes::ShapeRef.new(shape: DevicesList, location_name: "devices"))
|
420
|
+
LinuxParameters.struct_class = Types::LinuxParameters
|
421
|
+
|
403
422
|
ListJobsRequest.add_member(:job_queue, Shapes::ShapeRef.new(shape: String, location_name: "jobQueue"))
|
404
423
|
ListJobsRequest.add_member(:array_job_id, Shapes::ShapeRef.new(shape: String, location_name: "arrayJobId"))
|
405
424
|
ListJobsRequest.add_member(:multi_node_job_id, Shapes::ShapeRef.new(shape: String, location_name: "multiNodeJobId"))
|
@@ -631,6 +650,12 @@ module Aws::Batch
|
|
631
650
|
o.output = Shapes::ShapeRef.new(shape: DescribeComputeEnvironmentsResponse)
|
632
651
|
o.errors << Shapes::ShapeRef.new(shape: ClientException)
|
633
652
|
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
653
|
+
o[:pager] = Aws::Pager.new(
|
654
|
+
limit_key: "max_results",
|
655
|
+
tokens: {
|
656
|
+
"next_token" => "next_token"
|
657
|
+
}
|
658
|
+
)
|
634
659
|
end)
|
635
660
|
|
636
661
|
api.add_operation(:describe_job_definitions, Seahorse::Model::Operation.new.tap do |o|
|
@@ -641,6 +666,12 @@ module Aws::Batch
|
|
641
666
|
o.output = Shapes::ShapeRef.new(shape: DescribeJobDefinitionsResponse)
|
642
667
|
o.errors << Shapes::ShapeRef.new(shape: ClientException)
|
643
668
|
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
669
|
+
o[:pager] = Aws::Pager.new(
|
670
|
+
limit_key: "max_results",
|
671
|
+
tokens: {
|
672
|
+
"next_token" => "next_token"
|
673
|
+
}
|
674
|
+
)
|
644
675
|
end)
|
645
676
|
|
646
677
|
api.add_operation(:describe_job_queues, Seahorse::Model::Operation.new.tap do |o|
|
@@ -651,6 +682,12 @@ module Aws::Batch
|
|
651
682
|
o.output = Shapes::ShapeRef.new(shape: DescribeJobQueuesResponse)
|
652
683
|
o.errors << Shapes::ShapeRef.new(shape: ClientException)
|
653
684
|
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
685
|
+
o[:pager] = Aws::Pager.new(
|
686
|
+
limit_key: "max_results",
|
687
|
+
tokens: {
|
688
|
+
"next_token" => "next_token"
|
689
|
+
}
|
690
|
+
)
|
654
691
|
end)
|
655
692
|
|
656
693
|
api.add_operation(:describe_jobs, Seahorse::Model::Operation.new.tap do |o|
|
@@ -671,6 +708,12 @@ module Aws::Batch
|
|
671
708
|
o.output = Shapes::ShapeRef.new(shape: ListJobsResponse)
|
672
709
|
o.errors << Shapes::ShapeRef.new(shape: ClientException)
|
673
710
|
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
711
|
+
o[:pager] = Aws::Pager.new(
|
712
|
+
limit_key: "max_results",
|
713
|
+
tokens: {
|
714
|
+
"next_token" => "next_token"
|
715
|
+
}
|
716
|
+
)
|
674
717
|
end)
|
675
718
|
|
676
719
|
api.add_operation(:register_job_definition, Seahorse::Model::Operation.new.tap do |o|
|
data/lib/aws-sdk-batch/types.rb
CHANGED
@@ -362,7 +362,13 @@ module Aws::Batch
|
|
362
362
|
# @return [String]
|
363
363
|
#
|
364
364
|
# @!attribute [rw] subnets
|
365
|
-
# The VPC subnets into which the compute resources are launched.
|
365
|
+
# The VPC subnets into which the compute resources are launched. For
|
366
|
+
# more information, see [VPCs and Subnets][1] in the *Amazon VPC User
|
367
|
+
# Guide*.
|
368
|
+
#
|
369
|
+
#
|
370
|
+
#
|
371
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html
|
366
372
|
# @return [Array<String>]
|
367
373
|
#
|
368
374
|
# @!attribute [rw] security_group_ids
|
@@ -602,6 +608,11 @@ module Aws::Batch
|
|
602
608
|
# Currently, the only supported resource is `GPU`.
|
603
609
|
# @return [Array<Types::ResourceRequirement>]
|
604
610
|
#
|
611
|
+
# @!attribute [rw] linux_parameters
|
612
|
+
# Linux-specific modifications that are applied to the container, such
|
613
|
+
# as Linux kernel capabilities.
|
614
|
+
# @return [Types::LinuxParameters]
|
615
|
+
#
|
605
616
|
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/ContainerDetail AWS API Documentation
|
606
617
|
#
|
607
618
|
class ContainerDetail < Struct.new(
|
@@ -624,7 +635,8 @@ module Aws::Batch
|
|
624
635
|
:log_stream_name,
|
625
636
|
:instance_type,
|
626
637
|
:network_interfaces,
|
627
|
-
:resource_requirements
|
638
|
+
:resource_requirements,
|
639
|
+
:linux_parameters)
|
628
640
|
include Aws::Structure
|
629
641
|
end
|
630
642
|
|
@@ -753,6 +765,15 @@ module Aws::Batch
|
|
753
765
|
# type: "GPU", # required, accepts GPU
|
754
766
|
# },
|
755
767
|
# ],
|
768
|
+
# linux_parameters: {
|
769
|
+
# devices: [
|
770
|
+
# {
|
771
|
+
# host_path: "String", # required
|
772
|
+
# container_path: "String",
|
773
|
+
# permissions: ["READ"], # accepts READ, WRITE, MKNOD
|
774
|
+
# },
|
775
|
+
# ],
|
776
|
+
# },
|
756
777
|
# }
|
757
778
|
#
|
758
779
|
# @!attribute [rw] image
|
@@ -940,6 +961,11 @@ module Aws::Batch
|
|
940
961
|
# Currently, the only supported resource is `GPU`.
|
941
962
|
# @return [Array<Types::ResourceRequirement>]
|
942
963
|
#
|
964
|
+
# @!attribute [rw] linux_parameters
|
965
|
+
# Linux-specific modifications that are applied to the container, such
|
966
|
+
# as Linux kernel capabilities.
|
967
|
+
# @return [Types::LinuxParameters]
|
968
|
+
#
|
943
969
|
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/ContainerProperties AWS API Documentation
|
944
970
|
#
|
945
971
|
class ContainerProperties < Struct.new(
|
@@ -956,7 +982,8 @@ module Aws::Batch
|
|
956
982
|
:ulimits,
|
957
983
|
:user,
|
958
984
|
:instance_type,
|
959
|
-
:resource_requirements
|
985
|
+
:resource_requirements,
|
986
|
+
:linux_parameters)
|
960
987
|
include Aws::Structure
|
961
988
|
end
|
962
989
|
|
@@ -1476,6 +1503,40 @@ module Aws::Batch
|
|
1476
1503
|
include Aws::Structure
|
1477
1504
|
end
|
1478
1505
|
|
1506
|
+
# An object representing a container instance host device.
|
1507
|
+
#
|
1508
|
+
# @note When making an API call, you may pass Device
|
1509
|
+
# data as a hash:
|
1510
|
+
#
|
1511
|
+
# {
|
1512
|
+
# host_path: "String", # required
|
1513
|
+
# container_path: "String",
|
1514
|
+
# permissions: ["READ"], # accepts READ, WRITE, MKNOD
|
1515
|
+
# }
|
1516
|
+
#
|
1517
|
+
# @!attribute [rw] host_path
|
1518
|
+
# The path for the device on the host container instance.
|
1519
|
+
# @return [String]
|
1520
|
+
#
|
1521
|
+
# @!attribute [rw] container_path
|
1522
|
+
# The path inside the container at which to expose the host device.
|
1523
|
+
# @return [String]
|
1524
|
+
#
|
1525
|
+
# @!attribute [rw] permissions
|
1526
|
+
# The explicit permissions to provide to the container for the device.
|
1527
|
+
# By default, the container has permissions for `read`, `write`, and
|
1528
|
+
# `mknod` for the device.
|
1529
|
+
# @return [Array<String>]
|
1530
|
+
#
|
1531
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/Device AWS API Documentation
|
1532
|
+
#
|
1533
|
+
class Device < Struct.new(
|
1534
|
+
:host_path,
|
1535
|
+
:container_path,
|
1536
|
+
:permissions)
|
1537
|
+
include Aws::Structure
|
1538
|
+
end
|
1539
|
+
|
1479
1540
|
# Determine whether your data volume persists on the host container
|
1480
1541
|
# instance and where it is stored. If this parameter is empty, then the
|
1481
1542
|
# Docker daemon assigns a host path for your data volume, but the data
|
@@ -1623,8 +1684,8 @@ module Aws::Batch
|
|
1623
1684
|
# The current status for the job.
|
1624
1685
|
#
|
1625
1686
|
# <note markdown="1"> If your jobs do not progress to `STARTING`, see [Jobs Stuck in
|
1626
|
-
#
|
1627
|
-
#
|
1687
|
+
# RUNNABLE Status][1] in the troubleshooting section of the *AWS Batch
|
1688
|
+
# User Guide*.
|
1628
1689
|
#
|
1629
1690
|
# </note>
|
1630
1691
|
#
|
@@ -1926,6 +1987,41 @@ module Aws::Batch
|
|
1926
1987
|
include Aws::Structure
|
1927
1988
|
end
|
1928
1989
|
|
1990
|
+
# Linux-specific modifications that are applied to the container, such
|
1991
|
+
# as Linux kernel capabilities.
|
1992
|
+
#
|
1993
|
+
# @note When making an API call, you may pass LinuxParameters
|
1994
|
+
# data as a hash:
|
1995
|
+
#
|
1996
|
+
# {
|
1997
|
+
# devices: [
|
1998
|
+
# {
|
1999
|
+
# host_path: "String", # required
|
2000
|
+
# container_path: "String",
|
2001
|
+
# permissions: ["READ"], # accepts READ, WRITE, MKNOD
|
2002
|
+
# },
|
2003
|
+
# ],
|
2004
|
+
# }
|
2005
|
+
#
|
2006
|
+
# @!attribute [rw] devices
|
2007
|
+
# Any host devices to expose to the container. This parameter maps to
|
2008
|
+
# `Devices` in the [Create a container][1] section of the [Docker
|
2009
|
+
# Remote API][2] and the `--device` option to [docker run][3].
|
2010
|
+
#
|
2011
|
+
#
|
2012
|
+
#
|
2013
|
+
# [1]: https://docs.docker.com/engine/api/v1.23/#create-a-container
|
2014
|
+
# [2]: https://docs.docker.com/engine/api/v1.23/
|
2015
|
+
# [3]: https://docs.docker.com/engine/reference/run/
|
2016
|
+
# @return [Array<Types::Device>]
|
2017
|
+
#
|
2018
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/LinuxParameters AWS API Documentation
|
2019
|
+
#
|
2020
|
+
class LinuxParameters < Struct.new(
|
2021
|
+
:devices)
|
2022
|
+
include Aws::Structure
|
2023
|
+
end
|
2024
|
+
|
1929
2025
|
# @note When making an API call, you may pass ListJobsRequest
|
1930
2026
|
# data as a hash:
|
1931
2027
|
#
|
@@ -2218,6 +2314,15 @@ module Aws::Batch
|
|
2218
2314
|
# type: "GPU", # required, accepts GPU
|
2219
2315
|
# },
|
2220
2316
|
# ],
|
2317
|
+
# linux_parameters: {
|
2318
|
+
# devices: [
|
2319
|
+
# {
|
2320
|
+
# host_path: "String", # required
|
2321
|
+
# container_path: "String",
|
2322
|
+
# permissions: ["READ"], # accepts READ, WRITE, MKNOD
|
2323
|
+
# },
|
2324
|
+
# ],
|
2325
|
+
# },
|
2221
2326
|
# },
|
2222
2327
|
# },
|
2223
2328
|
# ],
|
@@ -2373,6 +2478,15 @@ module Aws::Batch
|
|
2373
2478
|
# type: "GPU", # required, accepts GPU
|
2374
2479
|
# },
|
2375
2480
|
# ],
|
2481
|
+
# linux_parameters: {
|
2482
|
+
# devices: [
|
2483
|
+
# {
|
2484
|
+
# host_path: "String", # required
|
2485
|
+
# container_path: "String",
|
2486
|
+
# permissions: ["READ"], # accepts READ, WRITE, MKNOD
|
2487
|
+
# },
|
2488
|
+
# ],
|
2489
|
+
# },
|
2376
2490
|
# },
|
2377
2491
|
# }
|
2378
2492
|
#
|
@@ -2452,6 +2566,15 @@ module Aws::Batch
|
|
2452
2566
|
# type: "GPU", # required, accepts GPU
|
2453
2567
|
# },
|
2454
2568
|
# ],
|
2569
|
+
# linux_parameters: {
|
2570
|
+
# devices: [
|
2571
|
+
# {
|
2572
|
+
# host_path: "String", # required
|
2573
|
+
# container_path: "String",
|
2574
|
+
# permissions: ["READ"], # accepts READ, WRITE, MKNOD
|
2575
|
+
# },
|
2576
|
+
# ],
|
2577
|
+
# },
|
2455
2578
|
# },
|
2456
2579
|
# node_properties: {
|
2457
2580
|
# num_nodes: 1, # required
|
@@ -2503,6 +2626,15 @@ module Aws::Batch
|
|
2503
2626
|
# type: "GPU", # required, accepts GPU
|
2504
2627
|
# },
|
2505
2628
|
# ],
|
2629
|
+
# linux_parameters: {
|
2630
|
+
# devices: [
|
2631
|
+
# {
|
2632
|
+
# host_path: "String", # required
|
2633
|
+
# container_path: "String",
|
2634
|
+
# permissions: ["READ"], # accepts READ, WRITE, MKNOD
|
2635
|
+
# },
|
2636
|
+
# ],
|
2637
|
+
# },
|
2506
2638
|
# },
|
2507
2639
|
# },
|
2508
2640
|
# ],
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-batch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.24.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-07-
|
11
|
+
date: 2019-07-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|