aws-sdk-batch 1.32.1 → 1.37.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-batch.rb +5 -2
- data/lib/aws-sdk-batch/client.rb +168 -10
- data/lib/aws-sdk-batch/client_api.rb +41 -0
- data/lib/aws-sdk-batch/errors.rb +2 -0
- data/lib/aws-sdk-batch/resource.rb +2 -0
- data/lib/aws-sdk-batch/types.rb +655 -28
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: baa1f885ee4f0ae4a8aacfe78be394486d333e39ac25eae7cd34918c129644bf
|
4
|
+
data.tar.gz: e89ceda04b2334a48523634d5eefd3d297f95544c5986a5d5eeab692a49fa2cf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1385d1497837a9fe33906a958d7e33a6b415d53712fcdeda7c58db3d02820db8436b1026b4534bf9772c78f4b499836837887fb1b3a319e11bba52ce714a2cb7
|
7
|
+
data.tar.gz: 0ae933de56e73cd3cc562cfc654d1bfe1a563ad0e4dec276f3fb9f1a1ee1ab686c5017fb3a3eea6681f9d5c9b6b8c0d2f2e346c492fae050ee9f4b05900d0075
|
data/lib/aws-sdk-batch.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -5,6 +7,7 @@
|
|
5
7
|
#
|
6
8
|
# WARNING ABOUT GENERATED CODE
|
7
9
|
|
10
|
+
|
8
11
|
require 'aws-sdk-core'
|
9
12
|
require 'aws-sigv4'
|
10
13
|
|
@@ -42,9 +45,9 @@ require_relative 'aws-sdk-batch/customizations'
|
|
42
45
|
#
|
43
46
|
# See {Errors} for more information.
|
44
47
|
#
|
45
|
-
#
|
48
|
+
# @!group service
|
46
49
|
module Aws::Batch
|
47
50
|
|
48
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.37.0'
|
49
52
|
|
50
53
|
end
|
data/lib/aws-sdk-batch/client.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -83,13 +85,28 @@ module Aws::Batch
|
|
83
85
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
84
86
|
# credentials.
|
85
87
|
#
|
88
|
+
# * `Aws::SharedCredentials` - Used for loading static credentials from a
|
89
|
+
# shared file, such as `~/.aws/config`.
|
90
|
+
#
|
91
|
+
# * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
|
92
|
+
#
|
93
|
+
# * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
|
94
|
+
# assume a role after providing credentials via the web.
|
95
|
+
#
|
96
|
+
# * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
|
97
|
+
# access token generated from `aws login`.
|
98
|
+
#
|
99
|
+
# * `Aws::ProcessCredentials` - Used for loading credentials from a
|
100
|
+
# process that outputs to stdout.
|
101
|
+
#
|
86
102
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
87
103
|
# from an EC2 IMDS on an EC2 instance.
|
88
104
|
#
|
89
|
-
# * `Aws::
|
90
|
-
#
|
105
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
106
|
+
# instances running in ECS.
|
91
107
|
#
|
92
|
-
# * `Aws::
|
108
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
109
|
+
# from the Cognito Identity service.
|
93
110
|
#
|
94
111
|
# When `:credentials` are not configured directly, the following
|
95
112
|
# locations will be searched for credentials:
|
@@ -99,10 +116,10 @@ module Aws::Batch
|
|
99
116
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
100
117
|
# * `~/.aws/credentials`
|
101
118
|
# * `~/.aws/config`
|
102
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
103
|
-
# very aggressive. Construct and pass an instance of
|
104
|
-
# `Aws::InstanceProfileCredentails`
|
105
|
-
# timeouts.
|
119
|
+
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
|
+
# are very aggressive. Construct and pass an instance of
|
121
|
+
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
+
# enable retries and extended timeouts.
|
106
123
|
#
|
107
124
|
# @option options [required, String] :region
|
108
125
|
# The AWS region to connect to. The configured `:region` is
|
@@ -607,7 +624,9 @@ module Aws::Batch
|
|
607
624
|
#
|
608
625
|
# @option params [String] :state
|
609
626
|
# The state of the job queue. If the job queue state is `ENABLED`, it is
|
610
|
-
# able to accept jobs.
|
627
|
+
# able to accept jobs. If the job queue state is `DISABLED`, new jobs
|
628
|
+
# cannot be added to the queue, but jobs already in the queue can
|
629
|
+
# finish.
|
611
630
|
#
|
612
631
|
# @option params [required, Integer] :priority
|
613
632
|
# The priority of the job queue. Job queues with a higher priority (or a
|
@@ -1080,6 +1099,7 @@ module Aws::Batch
|
|
1080
1099
|
# resp.job_definitions[0].container_properties.command #=> Array
|
1081
1100
|
# resp.job_definitions[0].container_properties.command[0] #=> String
|
1082
1101
|
# resp.job_definitions[0].container_properties.job_role_arn #=> String
|
1102
|
+
# resp.job_definitions[0].container_properties.execution_role_arn #=> String
|
1083
1103
|
# resp.job_definitions[0].container_properties.volumes #=> Array
|
1084
1104
|
# resp.job_definitions[0].container_properties.volumes[0].host.source_path #=> String
|
1085
1105
|
# resp.job_definitions[0].container_properties.volumes[0].name #=> String
|
@@ -1106,6 +1126,24 @@ module Aws::Batch
|
|
1106
1126
|
# resp.job_definitions[0].container_properties.linux_parameters.devices[0].container_path #=> String
|
1107
1127
|
# resp.job_definitions[0].container_properties.linux_parameters.devices[0].permissions #=> Array
|
1108
1128
|
# resp.job_definitions[0].container_properties.linux_parameters.devices[0].permissions[0] #=> String, one of "READ", "WRITE", "MKNOD"
|
1129
|
+
# resp.job_definitions[0].container_properties.linux_parameters.init_process_enabled #=> Boolean
|
1130
|
+
# resp.job_definitions[0].container_properties.linux_parameters.shared_memory_size #=> Integer
|
1131
|
+
# resp.job_definitions[0].container_properties.linux_parameters.tmpfs #=> Array
|
1132
|
+
# resp.job_definitions[0].container_properties.linux_parameters.tmpfs[0].container_path #=> String
|
1133
|
+
# resp.job_definitions[0].container_properties.linux_parameters.tmpfs[0].size #=> Integer
|
1134
|
+
# resp.job_definitions[0].container_properties.linux_parameters.tmpfs[0].mount_options #=> Array
|
1135
|
+
# resp.job_definitions[0].container_properties.linux_parameters.tmpfs[0].mount_options[0] #=> String
|
1136
|
+
# resp.job_definitions[0].container_properties.linux_parameters.max_swap #=> Integer
|
1137
|
+
# resp.job_definitions[0].container_properties.linux_parameters.swappiness #=> Integer
|
1138
|
+
# resp.job_definitions[0].container_properties.log_configuration.log_driver #=> String, one of "json-file", "syslog", "journald", "gelf", "fluentd", "awslogs", "splunk"
|
1139
|
+
# resp.job_definitions[0].container_properties.log_configuration.options #=> Hash
|
1140
|
+
# resp.job_definitions[0].container_properties.log_configuration.options["String"] #=> String
|
1141
|
+
# resp.job_definitions[0].container_properties.log_configuration.secret_options #=> Array
|
1142
|
+
# resp.job_definitions[0].container_properties.log_configuration.secret_options[0].name #=> String
|
1143
|
+
# resp.job_definitions[0].container_properties.log_configuration.secret_options[0].value_from #=> String
|
1144
|
+
# resp.job_definitions[0].container_properties.secrets #=> Array
|
1145
|
+
# resp.job_definitions[0].container_properties.secrets[0].name #=> String
|
1146
|
+
# resp.job_definitions[0].container_properties.secrets[0].value_from #=> String
|
1109
1147
|
# resp.job_definitions[0].timeout.attempt_duration_seconds #=> Integer
|
1110
1148
|
# resp.job_definitions[0].node_properties.num_nodes #=> Integer
|
1111
1149
|
# resp.job_definitions[0].node_properties.main_node #=> Integer
|
@@ -1117,6 +1155,7 @@ module Aws::Batch
|
|
1117
1155
|
# resp.job_definitions[0].node_properties.node_range_properties[0].container.command #=> Array
|
1118
1156
|
# resp.job_definitions[0].node_properties.node_range_properties[0].container.command[0] #=> String
|
1119
1157
|
# resp.job_definitions[0].node_properties.node_range_properties[0].container.job_role_arn #=> String
|
1158
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].container.execution_role_arn #=> String
|
1120
1159
|
# resp.job_definitions[0].node_properties.node_range_properties[0].container.volumes #=> Array
|
1121
1160
|
# resp.job_definitions[0].node_properties.node_range_properties[0].container.volumes[0].host.source_path #=> String
|
1122
1161
|
# resp.job_definitions[0].node_properties.node_range_properties[0].container.volumes[0].name #=> String
|
@@ -1143,6 +1182,24 @@ module Aws::Batch
|
|
1143
1182
|
# resp.job_definitions[0].node_properties.node_range_properties[0].container.linux_parameters.devices[0].container_path #=> String
|
1144
1183
|
# resp.job_definitions[0].node_properties.node_range_properties[0].container.linux_parameters.devices[0].permissions #=> Array
|
1145
1184
|
# resp.job_definitions[0].node_properties.node_range_properties[0].container.linux_parameters.devices[0].permissions[0] #=> String, one of "READ", "WRITE", "MKNOD"
|
1185
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].container.linux_parameters.init_process_enabled #=> Boolean
|
1186
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].container.linux_parameters.shared_memory_size #=> Integer
|
1187
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].container.linux_parameters.tmpfs #=> Array
|
1188
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].container.linux_parameters.tmpfs[0].container_path #=> String
|
1189
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].container.linux_parameters.tmpfs[0].size #=> Integer
|
1190
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].container.linux_parameters.tmpfs[0].mount_options #=> Array
|
1191
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].container.linux_parameters.tmpfs[0].mount_options[0] #=> String
|
1192
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].container.linux_parameters.max_swap #=> Integer
|
1193
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].container.linux_parameters.swappiness #=> Integer
|
1194
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].container.log_configuration.log_driver #=> String, one of "json-file", "syslog", "journald", "gelf", "fluentd", "awslogs", "splunk"
|
1195
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].container.log_configuration.options #=> Hash
|
1196
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].container.log_configuration.options["String"] #=> String
|
1197
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].container.log_configuration.secret_options #=> Array
|
1198
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].container.log_configuration.secret_options[0].name #=> String
|
1199
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].container.log_configuration.secret_options[0].value_from #=> String
|
1200
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].container.secrets #=> Array
|
1201
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].container.secrets[0].name #=> String
|
1202
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].container.secrets[0].value_from #=> String
|
1146
1203
|
# resp.next_token #=> String
|
1147
1204
|
#
|
1148
1205
|
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DescribeJobDefinitions AWS API Documentation
|
@@ -1354,6 +1411,7 @@ module Aws::Batch
|
|
1354
1411
|
# resp.jobs[0].container.command #=> Array
|
1355
1412
|
# resp.jobs[0].container.command[0] #=> String
|
1356
1413
|
# resp.jobs[0].container.job_role_arn #=> String
|
1414
|
+
# resp.jobs[0].container.execution_role_arn #=> String
|
1357
1415
|
# resp.jobs[0].container.volumes #=> Array
|
1358
1416
|
# resp.jobs[0].container.volumes[0].host.source_path #=> String
|
1359
1417
|
# resp.jobs[0].container.volumes[0].name #=> String
|
@@ -1389,6 +1447,24 @@ module Aws::Batch
|
|
1389
1447
|
# resp.jobs[0].container.linux_parameters.devices[0].container_path #=> String
|
1390
1448
|
# resp.jobs[0].container.linux_parameters.devices[0].permissions #=> Array
|
1391
1449
|
# resp.jobs[0].container.linux_parameters.devices[0].permissions[0] #=> String, one of "READ", "WRITE", "MKNOD"
|
1450
|
+
# resp.jobs[0].container.linux_parameters.init_process_enabled #=> Boolean
|
1451
|
+
# resp.jobs[0].container.linux_parameters.shared_memory_size #=> Integer
|
1452
|
+
# resp.jobs[0].container.linux_parameters.tmpfs #=> Array
|
1453
|
+
# resp.jobs[0].container.linux_parameters.tmpfs[0].container_path #=> String
|
1454
|
+
# resp.jobs[0].container.linux_parameters.tmpfs[0].size #=> Integer
|
1455
|
+
# resp.jobs[0].container.linux_parameters.tmpfs[0].mount_options #=> Array
|
1456
|
+
# resp.jobs[0].container.linux_parameters.tmpfs[0].mount_options[0] #=> String
|
1457
|
+
# resp.jobs[0].container.linux_parameters.max_swap #=> Integer
|
1458
|
+
# resp.jobs[0].container.linux_parameters.swappiness #=> Integer
|
1459
|
+
# resp.jobs[0].container.log_configuration.log_driver #=> String, one of "json-file", "syslog", "journald", "gelf", "fluentd", "awslogs", "splunk"
|
1460
|
+
# resp.jobs[0].container.log_configuration.options #=> Hash
|
1461
|
+
# resp.jobs[0].container.log_configuration.options["String"] #=> String
|
1462
|
+
# resp.jobs[0].container.log_configuration.secret_options #=> Array
|
1463
|
+
# resp.jobs[0].container.log_configuration.secret_options[0].name #=> String
|
1464
|
+
# resp.jobs[0].container.log_configuration.secret_options[0].value_from #=> String
|
1465
|
+
# resp.jobs[0].container.secrets #=> Array
|
1466
|
+
# resp.jobs[0].container.secrets[0].name #=> String
|
1467
|
+
# resp.jobs[0].container.secrets[0].value_from #=> String
|
1392
1468
|
# resp.jobs[0].node_details.node_index #=> Integer
|
1393
1469
|
# resp.jobs[0].node_details.is_main_node #=> Boolean
|
1394
1470
|
# resp.jobs[0].node_properties.num_nodes #=> Integer
|
@@ -1401,6 +1477,7 @@ module Aws::Batch
|
|
1401
1477
|
# resp.jobs[0].node_properties.node_range_properties[0].container.command #=> Array
|
1402
1478
|
# resp.jobs[0].node_properties.node_range_properties[0].container.command[0] #=> String
|
1403
1479
|
# resp.jobs[0].node_properties.node_range_properties[0].container.job_role_arn #=> String
|
1480
|
+
# resp.jobs[0].node_properties.node_range_properties[0].container.execution_role_arn #=> String
|
1404
1481
|
# resp.jobs[0].node_properties.node_range_properties[0].container.volumes #=> Array
|
1405
1482
|
# resp.jobs[0].node_properties.node_range_properties[0].container.volumes[0].host.source_path #=> String
|
1406
1483
|
# resp.jobs[0].node_properties.node_range_properties[0].container.volumes[0].name #=> String
|
@@ -1427,6 +1504,24 @@ module Aws::Batch
|
|
1427
1504
|
# resp.jobs[0].node_properties.node_range_properties[0].container.linux_parameters.devices[0].container_path #=> String
|
1428
1505
|
# resp.jobs[0].node_properties.node_range_properties[0].container.linux_parameters.devices[0].permissions #=> Array
|
1429
1506
|
# resp.jobs[0].node_properties.node_range_properties[0].container.linux_parameters.devices[0].permissions[0] #=> String, one of "READ", "WRITE", "MKNOD"
|
1507
|
+
# resp.jobs[0].node_properties.node_range_properties[0].container.linux_parameters.init_process_enabled #=> Boolean
|
1508
|
+
# resp.jobs[0].node_properties.node_range_properties[0].container.linux_parameters.shared_memory_size #=> Integer
|
1509
|
+
# resp.jobs[0].node_properties.node_range_properties[0].container.linux_parameters.tmpfs #=> Array
|
1510
|
+
# resp.jobs[0].node_properties.node_range_properties[0].container.linux_parameters.tmpfs[0].container_path #=> String
|
1511
|
+
# resp.jobs[0].node_properties.node_range_properties[0].container.linux_parameters.tmpfs[0].size #=> Integer
|
1512
|
+
# resp.jobs[0].node_properties.node_range_properties[0].container.linux_parameters.tmpfs[0].mount_options #=> Array
|
1513
|
+
# resp.jobs[0].node_properties.node_range_properties[0].container.linux_parameters.tmpfs[0].mount_options[0] #=> String
|
1514
|
+
# resp.jobs[0].node_properties.node_range_properties[0].container.linux_parameters.max_swap #=> Integer
|
1515
|
+
# resp.jobs[0].node_properties.node_range_properties[0].container.linux_parameters.swappiness #=> Integer
|
1516
|
+
# resp.jobs[0].node_properties.node_range_properties[0].container.log_configuration.log_driver #=> String, one of "json-file", "syslog", "journald", "gelf", "fluentd", "awslogs", "splunk"
|
1517
|
+
# resp.jobs[0].node_properties.node_range_properties[0].container.log_configuration.options #=> Hash
|
1518
|
+
# resp.jobs[0].node_properties.node_range_properties[0].container.log_configuration.options["String"] #=> String
|
1519
|
+
# resp.jobs[0].node_properties.node_range_properties[0].container.log_configuration.secret_options #=> Array
|
1520
|
+
# resp.jobs[0].node_properties.node_range_properties[0].container.log_configuration.secret_options[0].name #=> String
|
1521
|
+
# resp.jobs[0].node_properties.node_range_properties[0].container.log_configuration.secret_options[0].value_from #=> String
|
1522
|
+
# resp.jobs[0].node_properties.node_range_properties[0].container.secrets #=> Array
|
1523
|
+
# resp.jobs[0].node_properties.node_range_properties[0].container.secrets[0].name #=> String
|
1524
|
+
# resp.jobs[0].node_properties.node_range_properties[0].container.secrets[0].value_from #=> String
|
1430
1525
|
# resp.jobs[0].array_properties.status_summary #=> Hash
|
1431
1526
|
# resp.jobs[0].array_properties.status_summary["String"] #=> Integer
|
1432
1527
|
# resp.jobs[0].array_properties.size #=> Integer
|
@@ -1680,6 +1775,7 @@ module Aws::Batch
|
|
1680
1775
|
# memory: 1,
|
1681
1776
|
# command: ["String"],
|
1682
1777
|
# job_role_arn: "String",
|
1778
|
+
# execution_role_arn: "String",
|
1683
1779
|
# volumes: [
|
1684
1780
|
# {
|
1685
1781
|
# host: {
|
@@ -1726,7 +1822,36 @@ module Aws::Batch
|
|
1726
1822
|
# permissions: ["READ"], # accepts READ, WRITE, MKNOD
|
1727
1823
|
# },
|
1728
1824
|
# ],
|
1825
|
+
# init_process_enabled: false,
|
1826
|
+
# shared_memory_size: 1,
|
1827
|
+
# tmpfs: [
|
1828
|
+
# {
|
1829
|
+
# container_path: "String", # required
|
1830
|
+
# size: 1, # required
|
1831
|
+
# mount_options: ["String"],
|
1832
|
+
# },
|
1833
|
+
# ],
|
1834
|
+
# max_swap: 1,
|
1835
|
+
# swappiness: 1,
|
1836
|
+
# },
|
1837
|
+
# log_configuration: {
|
1838
|
+
# log_driver: "json-file", # required, accepts json-file, syslog, journald, gelf, fluentd, awslogs, splunk
|
1839
|
+
# options: {
|
1840
|
+
# "String" => "String",
|
1841
|
+
# },
|
1842
|
+
# secret_options: [
|
1843
|
+
# {
|
1844
|
+
# name: "String", # required
|
1845
|
+
# value_from: "String", # required
|
1846
|
+
# },
|
1847
|
+
# ],
|
1729
1848
|
# },
|
1849
|
+
# secrets: [
|
1850
|
+
# {
|
1851
|
+
# name: "String", # required
|
1852
|
+
# value_from: "String", # required
|
1853
|
+
# },
|
1854
|
+
# ],
|
1730
1855
|
# },
|
1731
1856
|
# node_properties: {
|
1732
1857
|
# num_nodes: 1, # required
|
@@ -1740,6 +1865,7 @@ module Aws::Batch
|
|
1740
1865
|
# memory: 1,
|
1741
1866
|
# command: ["String"],
|
1742
1867
|
# job_role_arn: "String",
|
1868
|
+
# execution_role_arn: "String",
|
1743
1869
|
# volumes: [
|
1744
1870
|
# {
|
1745
1871
|
# host: {
|
@@ -1786,7 +1912,36 @@ module Aws::Batch
|
|
1786
1912
|
# permissions: ["READ"], # accepts READ, WRITE, MKNOD
|
1787
1913
|
# },
|
1788
1914
|
# ],
|
1915
|
+
# init_process_enabled: false,
|
1916
|
+
# shared_memory_size: 1,
|
1917
|
+
# tmpfs: [
|
1918
|
+
# {
|
1919
|
+
# container_path: "String", # required
|
1920
|
+
# size: 1, # required
|
1921
|
+
# mount_options: ["String"],
|
1922
|
+
# },
|
1923
|
+
# ],
|
1924
|
+
# max_swap: 1,
|
1925
|
+
# swappiness: 1,
|
1789
1926
|
# },
|
1927
|
+
# log_configuration: {
|
1928
|
+
# log_driver: "json-file", # required, accepts json-file, syslog, journald, gelf, fluentd, awslogs, splunk
|
1929
|
+
# options: {
|
1930
|
+
# "String" => "String",
|
1931
|
+
# },
|
1932
|
+
# secret_options: [
|
1933
|
+
# {
|
1934
|
+
# name: "String", # required
|
1935
|
+
# value_from: "String", # required
|
1936
|
+
# },
|
1937
|
+
# ],
|
1938
|
+
# },
|
1939
|
+
# secrets: [
|
1940
|
+
# {
|
1941
|
+
# name: "String", # required
|
1942
|
+
# value_from: "String", # required
|
1943
|
+
# },
|
1944
|
+
# ],
|
1790
1945
|
# },
|
1791
1946
|
# },
|
1792
1947
|
# ],
|
@@ -2129,7 +2284,10 @@ module Aws::Batch
|
|
2129
2284
|
# The name or the Amazon Resource Name (ARN) of the job queue.
|
2130
2285
|
#
|
2131
2286
|
# @option params [String] :state
|
2132
|
-
# Describes the queue's ability to accept new jobs.
|
2287
|
+
# Describes the queue's ability to accept new jobs. If the job queue
|
2288
|
+
# state is `ENABLED`, it is able to accept jobs. If the job queue state
|
2289
|
+
# is `DISABLED`, new jobs cannot be added to the queue, but jobs already
|
2290
|
+
# in the queue can finish.
|
2133
2291
|
#
|
2134
2292
|
# @option params [Integer] :priority
|
2135
2293
|
# The priority of the job queue. Job queues with a higher priority (or a
|
@@ -2207,7 +2365,7 @@ module Aws::Batch
|
|
2207
2365
|
params: params,
|
2208
2366
|
config: config)
|
2209
2367
|
context[:gem_name] = 'aws-sdk-batch'
|
2210
|
-
context[:gem_version] = '1.
|
2368
|
+
context[:gem_version] = '1.37.0'
|
2211
2369
|
Seahorse::Client::Request.new(handlers, context)
|
2212
2370
|
end
|
2213
2371
|
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -83,6 +85,9 @@ module Aws::Batch
|
|
83
85
|
LinuxParameters = Shapes::StructureShape.new(name: 'LinuxParameters')
|
84
86
|
ListJobsRequest = Shapes::StructureShape.new(name: 'ListJobsRequest')
|
85
87
|
ListJobsResponse = Shapes::StructureShape.new(name: 'ListJobsResponse')
|
88
|
+
LogConfiguration = Shapes::StructureShape.new(name: 'LogConfiguration')
|
89
|
+
LogConfigurationOptionsMap = Shapes::MapShape.new(name: 'LogConfigurationOptionsMap')
|
90
|
+
LogDriver = Shapes::StringShape.new(name: 'LogDriver')
|
86
91
|
Long = Shapes::IntegerShape.new(name: 'Long')
|
87
92
|
MountPoint = Shapes::StructureShape.new(name: 'MountPoint')
|
88
93
|
MountPoints = Shapes::ListShape.new(name: 'MountPoints')
|
@@ -103,6 +108,8 @@ module Aws::Batch
|
|
103
108
|
ResourceRequirements = Shapes::ListShape.new(name: 'ResourceRequirements')
|
104
109
|
ResourceType = Shapes::StringShape.new(name: 'ResourceType')
|
105
110
|
RetryStrategy = Shapes::StructureShape.new(name: 'RetryStrategy')
|
111
|
+
Secret = Shapes::StructureShape.new(name: 'Secret')
|
112
|
+
SecretList = Shapes::ListShape.new(name: 'SecretList')
|
106
113
|
ServerException = Shapes::StructureShape.new(name: 'ServerException')
|
107
114
|
String = Shapes::StringShape.new(name: 'String')
|
108
115
|
StringList = Shapes::ListShape.new(name: 'StringList')
|
@@ -111,6 +118,8 @@ module Aws::Batch
|
|
111
118
|
TagsMap = Shapes::MapShape.new(name: 'TagsMap')
|
112
119
|
TerminateJobRequest = Shapes::StructureShape.new(name: 'TerminateJobRequest')
|
113
120
|
TerminateJobResponse = Shapes::StructureShape.new(name: 'TerminateJobResponse')
|
121
|
+
Tmpfs = Shapes::StructureShape.new(name: 'Tmpfs')
|
122
|
+
TmpfsList = Shapes::ListShape.new(name: 'TmpfsList')
|
114
123
|
Ulimit = Shapes::StructureShape.new(name: 'Ulimit')
|
115
124
|
Ulimits = Shapes::ListShape.new(name: 'Ulimits')
|
116
125
|
UpdateComputeEnvironmentRequest = Shapes::StructureShape.new(name: 'UpdateComputeEnvironmentRequest')
|
@@ -207,6 +216,7 @@ module Aws::Batch
|
|
207
216
|
ContainerDetail.add_member(:memory, Shapes::ShapeRef.new(shape: Integer, location_name: "memory"))
|
208
217
|
ContainerDetail.add_member(:command, Shapes::ShapeRef.new(shape: StringList, location_name: "command"))
|
209
218
|
ContainerDetail.add_member(:job_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "jobRoleArn"))
|
219
|
+
ContainerDetail.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "executionRoleArn"))
|
210
220
|
ContainerDetail.add_member(:volumes, Shapes::ShapeRef.new(shape: Volumes, location_name: "volumes"))
|
211
221
|
ContainerDetail.add_member(:environment, Shapes::ShapeRef.new(shape: EnvironmentVariables, location_name: "environment"))
|
212
222
|
ContainerDetail.add_member(:mount_points, Shapes::ShapeRef.new(shape: MountPoints, location_name: "mountPoints"))
|
@@ -223,6 +233,8 @@ module Aws::Batch
|
|
223
233
|
ContainerDetail.add_member(:network_interfaces, Shapes::ShapeRef.new(shape: NetworkInterfaceList, location_name: "networkInterfaces"))
|
224
234
|
ContainerDetail.add_member(:resource_requirements, Shapes::ShapeRef.new(shape: ResourceRequirements, location_name: "resourceRequirements"))
|
225
235
|
ContainerDetail.add_member(:linux_parameters, Shapes::ShapeRef.new(shape: LinuxParameters, location_name: "linuxParameters"))
|
236
|
+
ContainerDetail.add_member(:log_configuration, Shapes::ShapeRef.new(shape: LogConfiguration, location_name: "logConfiguration"))
|
237
|
+
ContainerDetail.add_member(:secrets, Shapes::ShapeRef.new(shape: SecretList, location_name: "secrets"))
|
226
238
|
ContainerDetail.struct_class = Types::ContainerDetail
|
227
239
|
|
228
240
|
ContainerOverrides.add_member(:vcpus, Shapes::ShapeRef.new(shape: Integer, location_name: "vcpus"))
|
@@ -238,6 +250,7 @@ module Aws::Batch
|
|
238
250
|
ContainerProperties.add_member(:memory, Shapes::ShapeRef.new(shape: Integer, location_name: "memory"))
|
239
251
|
ContainerProperties.add_member(:command, Shapes::ShapeRef.new(shape: StringList, location_name: "command"))
|
240
252
|
ContainerProperties.add_member(:job_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "jobRoleArn"))
|
253
|
+
ContainerProperties.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "executionRoleArn"))
|
241
254
|
ContainerProperties.add_member(:volumes, Shapes::ShapeRef.new(shape: Volumes, location_name: "volumes"))
|
242
255
|
ContainerProperties.add_member(:environment, Shapes::ShapeRef.new(shape: EnvironmentVariables, location_name: "environment"))
|
243
256
|
ContainerProperties.add_member(:mount_points, Shapes::ShapeRef.new(shape: MountPoints, location_name: "mountPoints"))
|
@@ -248,6 +261,8 @@ module Aws::Batch
|
|
248
261
|
ContainerProperties.add_member(:instance_type, Shapes::ShapeRef.new(shape: String, location_name: "instanceType"))
|
249
262
|
ContainerProperties.add_member(:resource_requirements, Shapes::ShapeRef.new(shape: ResourceRequirements, location_name: "resourceRequirements"))
|
250
263
|
ContainerProperties.add_member(:linux_parameters, Shapes::ShapeRef.new(shape: LinuxParameters, location_name: "linuxParameters"))
|
264
|
+
ContainerProperties.add_member(:log_configuration, Shapes::ShapeRef.new(shape: LogConfiguration, location_name: "logConfiguration"))
|
265
|
+
ContainerProperties.add_member(:secrets, Shapes::ShapeRef.new(shape: SecretList, location_name: "secrets"))
|
251
266
|
ContainerProperties.struct_class = Types::ContainerProperties
|
252
267
|
|
253
268
|
ContainerSummary.add_member(:exit_code, Shapes::ShapeRef.new(shape: Integer, location_name: "exitCode"))
|
@@ -419,6 +434,11 @@ module Aws::Batch
|
|
419
434
|
LaunchTemplateSpecification.struct_class = Types::LaunchTemplateSpecification
|
420
435
|
|
421
436
|
LinuxParameters.add_member(:devices, Shapes::ShapeRef.new(shape: DevicesList, location_name: "devices"))
|
437
|
+
LinuxParameters.add_member(:init_process_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "initProcessEnabled"))
|
438
|
+
LinuxParameters.add_member(:shared_memory_size, Shapes::ShapeRef.new(shape: Integer, location_name: "sharedMemorySize"))
|
439
|
+
LinuxParameters.add_member(:tmpfs, Shapes::ShapeRef.new(shape: TmpfsList, location_name: "tmpfs"))
|
440
|
+
LinuxParameters.add_member(:max_swap, Shapes::ShapeRef.new(shape: Integer, location_name: "maxSwap"))
|
441
|
+
LinuxParameters.add_member(:swappiness, Shapes::ShapeRef.new(shape: Integer, location_name: "swappiness"))
|
422
442
|
LinuxParameters.struct_class = Types::LinuxParameters
|
423
443
|
|
424
444
|
ListJobsRequest.add_member(:job_queue, Shapes::ShapeRef.new(shape: String, location_name: "jobQueue"))
|
@@ -433,6 +453,14 @@ module Aws::Batch
|
|
433
453
|
ListJobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
434
454
|
ListJobsResponse.struct_class = Types::ListJobsResponse
|
435
455
|
|
456
|
+
LogConfiguration.add_member(:log_driver, Shapes::ShapeRef.new(shape: LogDriver, required: true, location_name: "logDriver"))
|
457
|
+
LogConfiguration.add_member(:options, Shapes::ShapeRef.new(shape: LogConfigurationOptionsMap, location_name: "options"))
|
458
|
+
LogConfiguration.add_member(:secret_options, Shapes::ShapeRef.new(shape: SecretList, location_name: "secretOptions"))
|
459
|
+
LogConfiguration.struct_class = Types::LogConfiguration
|
460
|
+
|
461
|
+
LogConfigurationOptionsMap.key = Shapes::ShapeRef.new(shape: String)
|
462
|
+
LogConfigurationOptionsMap.value = Shapes::ShapeRef.new(shape: String)
|
463
|
+
|
436
464
|
MountPoint.add_member(:container_path, Shapes::ShapeRef.new(shape: String, location_name: "containerPath"))
|
437
465
|
MountPoint.add_member(:read_only, Shapes::ShapeRef.new(shape: Boolean, location_name: "readOnly"))
|
438
466
|
MountPoint.add_member(:source_volume, Shapes::ShapeRef.new(shape: String, location_name: "sourceVolume"))
|
@@ -503,6 +531,12 @@ module Aws::Batch
|
|
503
531
|
RetryStrategy.add_member(:attempts, Shapes::ShapeRef.new(shape: Integer, location_name: "attempts"))
|
504
532
|
RetryStrategy.struct_class = Types::RetryStrategy
|
505
533
|
|
534
|
+
Secret.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
|
535
|
+
Secret.add_member(:value_from, Shapes::ShapeRef.new(shape: String, required: true, location_name: "valueFrom"))
|
536
|
+
Secret.struct_class = Types::Secret
|
537
|
+
|
538
|
+
SecretList.member = Shapes::ShapeRef.new(shape: Secret)
|
539
|
+
|
506
540
|
ServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
507
541
|
ServerException.struct_class = Types::ServerException
|
508
542
|
|
@@ -533,6 +567,13 @@ module Aws::Batch
|
|
533
567
|
|
534
568
|
TerminateJobResponse.struct_class = Types::TerminateJobResponse
|
535
569
|
|
570
|
+
Tmpfs.add_member(:container_path, Shapes::ShapeRef.new(shape: String, required: true, location_name: "containerPath"))
|
571
|
+
Tmpfs.add_member(:size, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "size"))
|
572
|
+
Tmpfs.add_member(:mount_options, Shapes::ShapeRef.new(shape: StringList, location_name: "mountOptions"))
|
573
|
+
Tmpfs.struct_class = Types::Tmpfs
|
574
|
+
|
575
|
+
TmpfsList.member = Shapes::ShapeRef.new(shape: Tmpfs)
|
576
|
+
|
536
577
|
Ulimit.add_member(:hard_limit, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "hardLimit"))
|
537
578
|
Ulimit.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
|
538
579
|
Ulimit.add_member(:soft_limit, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "softLimit"))
|