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.
@@ -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:
@@ -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:
@@ -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:
@@ -25,6 +27,7 @@ module Aws::Batch
25
27
  #
26
28
  class ArrayProperties < Struct.new(
27
29
  :size)
30
+ SENSITIVE = []
28
31
  include Aws::Structure
29
32
  end
30
33
 
@@ -51,6 +54,7 @@ module Aws::Batch
51
54
  :status_summary,
52
55
  :size,
53
56
  :index)
57
+ SENSITIVE = []
54
58
  include Aws::Structure
55
59
  end
56
60
 
@@ -71,6 +75,7 @@ module Aws::Batch
71
75
  class ArrayPropertiesSummary < Struct.new(
72
76
  :size,
73
77
  :index)
78
+ SENSITIVE = []
74
79
  include Aws::Structure
75
80
  end
76
81
 
@@ -118,6 +123,7 @@ module Aws::Batch
118
123
  :reason,
119
124
  :log_stream_name,
120
125
  :network_interfaces)
126
+ SENSITIVE = []
121
127
  include Aws::Structure
122
128
  end
123
129
 
@@ -128,16 +134,15 @@ module Aws::Batch
128
134
  # @return [Types::AttemptContainerDetail]
129
135
  #
130
136
  # @!attribute [rw] started_at
131
- # The Unix timestamp (in seconds and milliseconds) for when the
132
- # attempt was started (when the attempt transitioned from the
133
- # `STARTING` state to the `RUNNING` state).
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).
134
140
  # @return [Integer]
135
141
  #
136
142
  # @!attribute [rw] stopped_at
137
- # The Unix timestamp (in seconds and milliseconds) for when the
138
- # attempt was stopped (when the attempt transitioned from the
139
- # `RUNNING` state to a terminal state, such as `SUCCEEDED` or
140
- # `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`).
141
146
  # @return [Integer]
142
147
  #
143
148
  # @!attribute [rw] status_reason
@@ -152,6 +157,7 @@ module Aws::Batch
152
157
  :started_at,
153
158
  :stopped_at,
154
159
  :status_reason)
160
+ SENSITIVE = []
155
161
  include Aws::Structure
156
162
  end
157
163
 
@@ -179,6 +185,7 @@ module Aws::Batch
179
185
  class CancelJobRequest < Struct.new(
180
186
  :job_id,
181
187
  :reason)
188
+ SENSITIVE = []
182
189
  include Aws::Structure
183
190
  end
184
191
 
@@ -198,6 +205,7 @@ module Aws::Batch
198
205
  #
199
206
  class ClientException < Struct.new(
200
207
  :message)
208
+ SENSITIVE = []
201
209
  include Aws::Structure
202
210
  end
203
211
 
@@ -268,6 +276,7 @@ module Aws::Batch
268
276
  :status_reason,
269
277
  :compute_resources,
270
278
  :service_role)
279
+ SENSITIVE = []
271
280
  include Aws::Structure
272
281
  end
273
282
 
@@ -298,6 +307,7 @@ module Aws::Batch
298
307
  class ComputeEnvironmentOrder < Struct.new(
299
308
  :order,
300
309
  :compute_environment)
310
+ SENSITIVE = []
301
311
  include Aws::Structure
302
312
  end
303
313
 
@@ -505,6 +515,7 @@ module Aws::Batch
505
515
  :bid_percentage,
506
516
  :spot_iam_fleet_role,
507
517
  :launch_template)
518
+ SENSITIVE = []
508
519
  include Aws::Structure
509
520
  end
510
521
 
@@ -540,6 +551,7 @@ module Aws::Batch
540
551
  :minv_cpus,
541
552
  :maxv_cpus,
542
553
  :desiredv_cpus)
554
+ SENSITIVE = []
543
555
  include Aws::Structure
544
556
  end
545
557
 
@@ -567,6 +579,16 @@ module Aws::Batch
567
579
  # execution.
568
580
  # @return [String]
569
581
  #
582
+ # @!attribute [rw] execution_role_arn
583
+ # The Amazon Resource Name (ARN) of the execution role that AWS Batch
584
+ # can assume. For more information, see [Amazon ECS task execution IAM
585
+ # role][1].
586
+ #
587
+ #
588
+ #
589
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_execution_IAM_role.html
590
+ # @return [String]
591
+ #
570
592
  # @!attribute [rw] volumes
571
593
  # A list of volumes associated with the job.
572
594
  # @return [Array<Types::Volume>]
@@ -650,6 +672,63 @@ module Aws::Batch
650
672
  # as details for device mappings.
651
673
  # @return [Types::LinuxParameters]
652
674
  #
675
+ # @!attribute [rw] log_configuration
676
+ # The log configuration specification for the container.
677
+ #
678
+ # This parameter maps to `LogConfig` in the [Create a container][1]
679
+ # section of the [Docker Remote API][2] and the `--log-driver` option
680
+ # to [docker run][3]. By default, containers use the same logging
681
+ # driver that the Docker daemon uses. However the container may use a
682
+ # different logging driver than the Docker daemon by specifying a log
683
+ # driver with this parameter in the container definition. To use a
684
+ # different logging driver for a container, the log system must be
685
+ # configured properly on the container instance (or on a different log
686
+ # server for remote logging options). For more information on the
687
+ # options for different supported log drivers, see [Configure logging
688
+ # drivers][4] in the Docker documentation.
689
+ #
690
+ # <note markdown="1"> AWS Batch currently supports a subset of the logging drivers
691
+ # available to the Docker daemon (shown in the LogConfiguration data
692
+ # type). Additional log drivers may be available in future releases of
693
+ # the Amazon ECS container agent.
694
+ #
695
+ # </note>
696
+ #
697
+ # This parameter requires version 1.18 of the Docker Remote API or
698
+ # greater on your container instance. To check the Docker Remote API
699
+ # version on your container instance, log into your container instance
700
+ # and run the following command: `sudo docker version | grep "Server
701
+ # API version"`
702
+ #
703
+ # <note markdown="1"> The Amazon ECS container agent running on a container instance must
704
+ # register the logging drivers available on that instance with the
705
+ # `ECS_AVAILABLE_LOGGING_DRIVERS` environment variable before
706
+ # containers placed on that instance can use these log configuration
707
+ # options. For more information, see [Amazon ECS Container Agent
708
+ # Configuration][5] in the *Amazon Elastic Container Service Developer
709
+ # Guide*.
710
+ #
711
+ # </note>
712
+ #
713
+ #
714
+ #
715
+ # [1]: https://docs.docker.com/engine/api/v1.23/#create-a-container
716
+ # [2]: https://docs.docker.com/engine/api/v1.23/
717
+ # [3]: https://docs.docker.com/engine/reference/run/
718
+ # [4]: https://docs.docker.com/engine/admin/logging/overview/
719
+ # [5]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-config.html
720
+ # @return [Types::LogConfiguration]
721
+ #
722
+ # @!attribute [rw] secrets
723
+ # The secrets to pass to the container. For more information, see
724
+ # [Specifying Sensitive Data][1] in the *Amazon Elastic Container
725
+ # Service Developer Guide*.
726
+ #
727
+ #
728
+ #
729
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/specifying-sensitive-data.html
730
+ # @return [Array<Types::Secret>]
731
+ #
653
732
  # @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/ContainerDetail AWS API Documentation
654
733
  #
655
734
  class ContainerDetail < Struct.new(
@@ -658,6 +737,7 @@ module Aws::Batch
658
737
  :memory,
659
738
  :command,
660
739
  :job_role_arn,
740
+ :execution_role_arn,
661
741
  :volumes,
662
742
  :environment,
663
743
  :mount_points,
@@ -673,7 +753,10 @@ module Aws::Batch
673
753
  :instance_type,
674
754
  :network_interfaces,
675
755
  :resource_requirements,
676
- :linux_parameters)
756
+ :linux_parameters,
757
+ :log_configuration,
758
+ :secrets)
759
+ SENSITIVE = []
677
760
  include Aws::Structure
678
761
  end
679
762
 
@@ -749,6 +832,7 @@ module Aws::Batch
749
832
  :instance_type,
750
833
  :environment,
751
834
  :resource_requirements)
835
+ SENSITIVE = []
752
836
  include Aws::Structure
753
837
  end
754
838
 
@@ -764,6 +848,7 @@ module Aws::Batch
764
848
  # memory: 1,
765
849
  # command: ["String"],
766
850
  # job_role_arn: "String",
851
+ # execution_role_arn: "String",
767
852
  # volumes: [
768
853
  # {
769
854
  # host: {
@@ -810,7 +895,36 @@ module Aws::Batch
810
895
  # permissions: ["READ"], # accepts READ, WRITE, MKNOD
811
896
  # },
812
897
  # ],
898
+ # init_process_enabled: false,
899
+ # shared_memory_size: 1,
900
+ # tmpfs: [
901
+ # {
902
+ # container_path: "String", # required
903
+ # size: 1, # required
904
+ # mount_options: ["String"],
905
+ # },
906
+ # ],
907
+ # max_swap: 1,
908
+ # swappiness: 1,
813
909
  # },
910
+ # log_configuration: {
911
+ # log_driver: "json-file", # required, accepts json-file, syslog, journald, gelf, fluentd, awslogs, splunk
912
+ # options: {
913
+ # "String" => "String",
914
+ # },
915
+ # secret_options: [
916
+ # {
917
+ # name: "String", # required
918
+ # value_from: "String", # required
919
+ # },
920
+ # ],
921
+ # },
922
+ # secrets: [
923
+ # {
924
+ # name: "String", # required
925
+ # value_from: "String", # required
926
+ # },
927
+ # ],
814
928
  # }
815
929
  #
816
930
  # @!attribute [rw] image
@@ -848,7 +962,9 @@ module Aws::Batch
848
962
  # to `CpuShares` in the [Create a container][1] section of the [Docker
849
963
  # Remote API][2] and the `--cpu-shares` option to [docker run][3].
850
964
  # Each vCPU is equivalent to 1,024 CPU shares. You must specify at
851
- # least one vCPU.
965
+ # least one vCPU. This is required but can be specified in several
966
+ # places for multi-node parallel (MNP) jobs; it must be specified for
967
+ # each node at least once.
852
968
  #
853
969
  #
854
970
  #
@@ -863,7 +979,9 @@ module Aws::Batch
863
979
  # container is killed. This parameter maps to `Memory` in the [Create
864
980
  # a container][1] section of the [Docker Remote API][2] and the
865
981
  # `--memory` option to [docker run][3]. You must specify at least 4
866
- # MiB of memory for a job.
982
+ # MiB of memory for a job. This is required but can be specified in
983
+ # several places for multi-node parallel (MNP) jobs; it must be
984
+ # specified for each node at least once.
867
985
  #
868
986
  # <note markdown="1"> If you are trying to maximize your resource utilization by providing
869
987
  # your jobs as much memory as possible for a particular instance type,
@@ -899,6 +1017,16 @@ module Aws::Batch
899
1017
  # can assume for AWS permissions.
900
1018
  # @return [String]
901
1019
  #
1020
+ # @!attribute [rw] execution_role_arn
1021
+ # The Amazon Resource Name (ARN) of the execution role that AWS Batch
1022
+ # can assume. For more information, see [Amazon ECS task execution IAM
1023
+ # role][1].
1024
+ #
1025
+ #
1026
+ #
1027
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_execution_IAM_role.html
1028
+ # @return [String]
1029
+ #
902
1030
  # @!attribute [rw] volumes
903
1031
  # A list of data volumes used in a job.
904
1032
  # @return [Array<Types::Volume>]
@@ -1003,6 +1131,62 @@ module Aws::Batch
1003
1131
  # as details for device mappings.
1004
1132
  # @return [Types::LinuxParameters]
1005
1133
  #
1134
+ # @!attribute [rw] log_configuration
1135
+ # The log configuration specification for the container.
1136
+ #
1137
+ # This parameter maps to `LogConfig` in the [Create a container][1]
1138
+ # section of the [Docker Remote API][2] and the `--log-driver` option
1139
+ # to [docker run][3]. By default, containers use the same logging
1140
+ # driver that the Docker daemon uses. However the container may use a
1141
+ # different logging driver than the Docker daemon by specifying a log
1142
+ # driver with this parameter in the container definition. To use a
1143
+ # different logging driver for a container, the log system must be
1144
+ # configured properly on the container instance (or on a different log
1145
+ # server for remote logging options). For more information on the
1146
+ # options for different supported log drivers, see [Configure logging
1147
+ # drivers][4] in the Docker documentation.
1148
+ #
1149
+ # <note markdown="1"> AWS Batch currently supports a subset of the logging drivers
1150
+ # available to the Docker daemon (shown in the LogConfiguration data
1151
+ # type).
1152
+ #
1153
+ # </note>
1154
+ #
1155
+ # This parameter requires version 1.18 of the Docker Remote API or
1156
+ # greater on your container instance. To check the Docker Remote API
1157
+ # version on your container instance, log into your container instance
1158
+ # and run the following command: `sudo docker version | grep "Server
1159
+ # API version"`
1160
+ #
1161
+ # <note markdown="1"> The Amazon ECS container agent running on a container instance must
1162
+ # register the logging drivers available on that instance with the
1163
+ # `ECS_AVAILABLE_LOGGING_DRIVERS` environment variable before
1164
+ # containers placed on that instance can use these log configuration
1165
+ # options. For more information, see [Amazon ECS Container Agent
1166
+ # Configuration][5] in the *Amazon Elastic Container Service Developer
1167
+ # Guide*.
1168
+ #
1169
+ # </note>
1170
+ #
1171
+ #
1172
+ #
1173
+ # [1]: https://docs.docker.com/engine/api/v1.23/#create-a-container
1174
+ # [2]: https://docs.docker.com/engine/api/v1.23/
1175
+ # [3]: https://docs.docker.com/engine/reference/run/
1176
+ # [4]: https://docs.docker.com/engine/admin/logging/overview/
1177
+ # [5]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-config.html
1178
+ # @return [Types::LogConfiguration]
1179
+ #
1180
+ # @!attribute [rw] secrets
1181
+ # The secrets for the container. For more information, see [Specifying
1182
+ # Sensitive Data][1] in the *Amazon Elastic Container Service
1183
+ # Developer Guide*.
1184
+ #
1185
+ #
1186
+ #
1187
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/specifying-sensitive-data.html
1188
+ # @return [Array<Types::Secret>]
1189
+ #
1006
1190
  # @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/ContainerProperties AWS API Documentation
1007
1191
  #
1008
1192
  class ContainerProperties < Struct.new(
@@ -1011,6 +1195,7 @@ module Aws::Batch
1011
1195
  :memory,
1012
1196
  :command,
1013
1197
  :job_role_arn,
1198
+ :execution_role_arn,
1014
1199
  :volumes,
1015
1200
  :environment,
1016
1201
  :mount_points,
@@ -1020,7 +1205,10 @@ module Aws::Batch
1020
1205
  :user,
1021
1206
  :instance_type,
1022
1207
  :resource_requirements,
1023
- :linux_parameters)
1208
+ :linux_parameters,
1209
+ :log_configuration,
1210
+ :secrets)
1211
+ SENSITIVE = []
1024
1212
  include Aws::Structure
1025
1213
  end
1026
1214
 
@@ -1040,6 +1228,7 @@ module Aws::Batch
1040
1228
  class ContainerSummary < Struct.new(
1041
1229
  :exit_code,
1042
1230
  :reason)
1231
+ SENSITIVE = []
1043
1232
  include Aws::Structure
1044
1233
  end
1045
1234
 
@@ -1134,6 +1323,7 @@ module Aws::Batch
1134
1323
  :state,
1135
1324
  :compute_resources,
1136
1325
  :service_role)
1326
+ SENSITIVE = []
1137
1327
  include Aws::Structure
1138
1328
  end
1139
1329
 
@@ -1150,6 +1340,7 @@ module Aws::Batch
1150
1340
  class CreateComputeEnvironmentResponse < Struct.new(
1151
1341
  :compute_environment_name,
1152
1342
  :compute_environment_arn)
1343
+ SENSITIVE = []
1153
1344
  include Aws::Structure
1154
1345
  end
1155
1346
 
@@ -1174,7 +1365,9 @@ module Aws::Batch
1174
1365
  #
1175
1366
  # @!attribute [rw] state
1176
1367
  # The state of the job queue. If the job queue state is `ENABLED`, it
1177
- # is able to accept jobs.
1368
+ # is able to accept jobs. If the job queue state is `DISABLED`, new
1369
+ # jobs cannot be added to the queue, but jobs already in the queue can
1370
+ # finish.
1178
1371
  # @return [String]
1179
1372
  #
1180
1373
  # @!attribute [rw] priority
@@ -1202,6 +1395,7 @@ module Aws::Batch
1202
1395
  :state,
1203
1396
  :priority,
1204
1397
  :compute_environment_order)
1398
+ SENSITIVE = []
1205
1399
  include Aws::Structure
1206
1400
  end
1207
1401
 
@@ -1218,6 +1412,7 @@ module Aws::Batch
1218
1412
  class CreateJobQueueResponse < Struct.new(
1219
1413
  :job_queue_name,
1220
1414
  :job_queue_arn)
1415
+ SENSITIVE = []
1221
1416
  include Aws::Structure
1222
1417
  end
1223
1418
 
@@ -1237,6 +1432,7 @@ module Aws::Batch
1237
1432
  #
1238
1433
  class DeleteComputeEnvironmentRequest < Struct.new(
1239
1434
  :compute_environment)
1435
+ SENSITIVE = []
1240
1436
  include Aws::Structure
1241
1437
  end
1242
1438
 
@@ -1260,6 +1456,7 @@ module Aws::Batch
1260
1456
  #
1261
1457
  class DeleteJobQueueRequest < Struct.new(
1262
1458
  :job_queue)
1459
+ SENSITIVE = []
1263
1460
  include Aws::Structure
1264
1461
  end
1265
1462
 
@@ -1283,6 +1480,7 @@ module Aws::Batch
1283
1480
  #
1284
1481
  class DeregisterJobDefinitionRequest < Struct.new(
1285
1482
  :job_definition)
1483
+ SENSITIVE = []
1286
1484
  include Aws::Structure
1287
1485
  end
1288
1486
 
@@ -1338,6 +1536,7 @@ module Aws::Batch
1338
1536
  :compute_environments,
1339
1537
  :max_results,
1340
1538
  :next_token)
1539
+ SENSITIVE = []
1341
1540
  include Aws::Structure
1342
1541
  end
1343
1542
 
@@ -1358,6 +1557,7 @@ module Aws::Batch
1358
1557
  class DescribeComputeEnvironmentsResponse < Struct.new(
1359
1558
  :compute_environments,
1360
1559
  :next_token)
1560
+ SENSITIVE = []
1361
1561
  include Aws::Structure
1362
1562
  end
1363
1563
 
@@ -1420,6 +1620,7 @@ module Aws::Batch
1420
1620
  :job_definition_name,
1421
1621
  :status,
1422
1622
  :next_token)
1623
+ SENSITIVE = []
1423
1624
  include Aws::Structure
1424
1625
  end
1425
1626
 
@@ -1440,6 +1641,7 @@ module Aws::Batch
1440
1641
  class DescribeJobDefinitionsResponse < Struct.new(
1441
1642
  :job_definitions,
1442
1643
  :next_token)
1644
+ SENSITIVE = []
1443
1645
  include Aws::Structure
1444
1646
  end
1445
1647
 
@@ -1489,6 +1691,7 @@ module Aws::Batch
1489
1691
  :job_queues,
1490
1692
  :max_results,
1491
1693
  :next_token)
1694
+ SENSITIVE = []
1492
1695
  include Aws::Structure
1493
1696
  end
1494
1697
 
@@ -1509,6 +1712,7 @@ module Aws::Batch
1509
1712
  class DescribeJobQueuesResponse < Struct.new(
1510
1713
  :job_queues,
1511
1714
  :next_token)
1715
+ SENSITIVE = []
1512
1716
  include Aws::Structure
1513
1717
  end
1514
1718
 
@@ -1527,6 +1731,7 @@ module Aws::Batch
1527
1731
  #
1528
1732
  class DescribeJobsRequest < Struct.new(
1529
1733
  :jobs)
1734
+ SENSITIVE = []
1530
1735
  include Aws::Structure
1531
1736
  end
1532
1737
 
@@ -1538,6 +1743,7 @@ module Aws::Batch
1538
1743
  #
1539
1744
  class DescribeJobsResponse < Struct.new(
1540
1745
  :jobs)
1746
+ SENSITIVE = []
1541
1747
  include Aws::Structure
1542
1748
  end
1543
1749
 
@@ -1573,6 +1779,7 @@ module Aws::Batch
1573
1779
  :host_path,
1574
1780
  :container_path,
1575
1781
  :permissions)
1782
+ SENSITIVE = []
1576
1783
  include Aws::Structure
1577
1784
  end
1578
1785
 
@@ -1604,6 +1811,7 @@ module Aws::Batch
1604
1811
  #
1605
1812
  class Host < Struct.new(
1606
1813
  :source_path)
1814
+ SENSITIVE = []
1607
1815
  include Aws::Structure
1608
1816
  end
1609
1817
 
@@ -1675,6 +1883,7 @@ module Aws::Batch
1675
1883
  :container_properties,
1676
1884
  :timeout,
1677
1885
  :node_properties)
1886
+ SENSITIVE = []
1678
1887
  include Aws::Structure
1679
1888
  end
1680
1889
 
@@ -1701,6 +1910,7 @@ module Aws::Batch
1701
1910
  class JobDependency < Struct.new(
1702
1911
  :job_id,
1703
1912
  :type)
1913
+ SENSITIVE = []
1704
1914
  include Aws::Structure
1705
1915
  end
1706
1916
 
@@ -1743,11 +1953,11 @@ module Aws::Batch
1743
1953
  # @return [String]
1744
1954
  #
1745
1955
  # @!attribute [rw] created_at
1746
- # The Unix timestamp (in seconds and milliseconds) for when the job
1747
- # was created. For non-array jobs and parent array jobs, this is when
1748
- # the job entered the `SUBMITTED` state (at the time SubmitJob was
1749
- # called). For array child jobs, this is when the child job was
1750
- # spawned by its parent and entered the `PENDING` state.
1956
+ # The Unix timestamp (in milliseconds) for when the job was created.
1957
+ # For non-array jobs and parent array jobs, this is when the job
1958
+ # entered the `SUBMITTED` state (at the time SubmitJob was called).
1959
+ # For array child jobs, this is when the child job was spawned by its
1960
+ # parent and entered the `PENDING` state.
1751
1961
  # @return [Integer]
1752
1962
  #
1753
1963
  # @!attribute [rw] retry_strategy
@@ -1755,15 +1965,16 @@ module Aws::Batch
1755
1965
  # @return [Types::RetryStrategy]
1756
1966
  #
1757
1967
  # @!attribute [rw] started_at
1758
- # The Unix timestamp (in seconds and milliseconds) for when the job
1759
- # was started (when the job transitioned from the `STARTING` state to
1760
- # the `RUNNING` state).
1968
+ # The Unix timestamp (in milliseconds) for when the job was started
1969
+ # (when the job transitioned from the `STARTING` state to the
1970
+ # `RUNNING` state). This parameter is not provided for child jobs of
1971
+ # array jobs or multi-node parallel jobs.
1761
1972
  # @return [Integer]
1762
1973
  #
1763
1974
  # @!attribute [rw] stopped_at
1764
- # The Unix timestamp (in seconds and milliseconds) for when the job
1765
- # was stopped (when the job transitioned from the `RUNNING` state to a
1766
- # terminal state, such as `SUCCEEDED` or `FAILED`).
1975
+ # The Unix timestamp (in milliseconds) for when the job was stopped
1976
+ # (when the job transitioned from the `RUNNING` state to a terminal
1977
+ # state, such as `SUCCEEDED` or `FAILED`).
1767
1978
  # @return [Integer]
1768
1979
  #
1769
1980
  # @!attribute [rw] depends_on
@@ -1824,6 +2035,7 @@ module Aws::Batch
1824
2035
  :node_properties,
1825
2036
  :array_properties,
1826
2037
  :timeout)
2038
+ SENSITIVE = []
1827
2039
  include Aws::Structure
1828
2040
  end
1829
2041
 
@@ -1838,7 +2050,10 @@ module Aws::Batch
1838
2050
  # @return [String]
1839
2051
  #
1840
2052
  # @!attribute [rw] state
1841
- # Describes the ability of the queue to accept new jobs.
2053
+ # Describes the ability of the queue to accept new jobs. If the job
2054
+ # queue state is `ENABLED`, it is able to accept jobs. If the job
2055
+ # queue state is `DISABLED`, new jobs cannot be added to the queue,
2056
+ # but jobs already in the queue can finish.
1842
2057
  # @return [String]
1843
2058
  #
1844
2059
  # @!attribute [rw] status
@@ -1870,6 +2085,7 @@ module Aws::Batch
1870
2085
  :status_reason,
1871
2086
  :priority,
1872
2087
  :compute_environment_order)
2088
+ SENSITIVE = []
1873
2089
  include Aws::Structure
1874
2090
  end
1875
2091
 
@@ -1937,6 +2153,7 @@ module Aws::Batch
1937
2153
  :container,
1938
2154
  :array_properties,
1939
2155
  :node_properties)
2156
+ SENSITIVE = []
1940
2157
  include Aws::Structure
1941
2158
  end
1942
2159
 
@@ -1959,6 +2176,7 @@ module Aws::Batch
1959
2176
  #
1960
2177
  class JobTimeout < Struct.new(
1961
2178
  :attempt_duration_seconds)
2179
+ SENSITIVE = []
1962
2180
  include Aws::Structure
1963
2181
  end
1964
2182
 
@@ -1987,6 +2205,7 @@ module Aws::Batch
1987
2205
  class KeyValuePair < Struct.new(
1988
2206
  :name,
1989
2207
  :value)
2208
+ SENSITIVE = []
1990
2209
  include Aws::Structure
1991
2210
  end
1992
2211
 
@@ -2012,9 +2231,13 @@ module Aws::Batch
2012
2231
  # @return [String]
2013
2232
  #
2014
2233
  # @!attribute [rw] version
2015
- # The version number of the launch template.
2234
+ # The version number of the launch template, `$Latest`, or `$Default`.
2235
+ #
2236
+ # If the value is `$Latest`, the latest version of the launch template
2237
+ # is used. If the value is `$Default`, the default version of the
2238
+ # launch template is used.
2016
2239
  #
2017
- # Default: The default version of the launch template.
2240
+ # Default: `$Default`.
2018
2241
  # @return [String]
2019
2242
  #
2020
2243
  # @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/LaunchTemplateSpecification AWS API Documentation
@@ -2023,6 +2246,7 @@ module Aws::Batch
2023
2246
  :launch_template_id,
2024
2247
  :launch_template_name,
2025
2248
  :version)
2249
+ SENSITIVE = []
2026
2250
  include Aws::Structure
2027
2251
  end
2028
2252
 
@@ -2040,6 +2264,17 @@ module Aws::Batch
2040
2264
  # permissions: ["READ"], # accepts READ, WRITE, MKNOD
2041
2265
  # },
2042
2266
  # ],
2267
+ # init_process_enabled: false,
2268
+ # shared_memory_size: 1,
2269
+ # tmpfs: [
2270
+ # {
2271
+ # container_path: "String", # required
2272
+ # size: 1, # required
2273
+ # mount_options: ["String"],
2274
+ # },
2275
+ # ],
2276
+ # max_swap: 1,
2277
+ # swappiness: 1,
2043
2278
  # }
2044
2279
  #
2045
2280
  # @!attribute [rw] devices
@@ -2054,10 +2289,83 @@ module Aws::Batch
2054
2289
  # [3]: https://docs.docker.com/engine/reference/run/
2055
2290
  # @return [Array<Types::Device>]
2056
2291
  #
2292
+ # @!attribute [rw] init_process_enabled
2293
+ # Run an `init` process inside the container that forwards signals and
2294
+ # reaps processes. This parameter maps to the `--init` option to
2295
+ # [docker run][1]. This parameter requires version 1.25 of the Docker
2296
+ # Remote API or greater on your container instance. To check the
2297
+ # Docker Remote API version on your container instance, log into your
2298
+ # container instance and run the following command: `sudo docker
2299
+ # version | grep "Server API version"`
2300
+ #
2301
+ #
2302
+ #
2303
+ # [1]: https://docs.docker.com/engine/reference/run/
2304
+ # @return [Boolean]
2305
+ #
2306
+ # @!attribute [rw] shared_memory_size
2307
+ # The value for the size (in MiB) of the `/dev/shm` volume. This
2308
+ # parameter maps to the `--shm-size` option to [docker run][1].
2309
+ #
2310
+ #
2311
+ #
2312
+ # [1]: https://docs.docker.com/engine/reference/run/
2313
+ # @return [Integer]
2314
+ #
2315
+ # @!attribute [rw] tmpfs
2316
+ # The container path, mount options, and size (in MiB) of the tmpfs
2317
+ # mount. This parameter maps to the `--tmpfs` option to [docker
2318
+ # run][1].
2319
+ #
2320
+ #
2321
+ #
2322
+ # [1]: https://docs.docker.com/engine/reference/run/
2323
+ # @return [Array<Types::Tmpfs>]
2324
+ #
2325
+ # @!attribute [rw] max_swap
2326
+ # The total amount of swap memory (in MiB) a container can use. This
2327
+ # parameter will be translated to the `--memory-swap` option to
2328
+ # [docker run][1] where the value would be the sum of the container
2329
+ # memory plus the `maxSwap` value.
2330
+ #
2331
+ # If a `maxSwap` value of `0` is specified, the container will not use
2332
+ # swap. Accepted values are `0` or any positive integer. If the
2333
+ # `maxSwap` parameter is omitted, the container will use the swap
2334
+ # configuration for the container instance it is running on. A
2335
+ # `maxSwap` value must be set for the `swappiness` parameter to be
2336
+ # used.
2337
+ #
2338
+ #
2339
+ #
2340
+ # [1]: https://docs.docker.com/engine/reference/run/
2341
+ # @return [Integer]
2342
+ #
2343
+ # @!attribute [rw] swappiness
2344
+ # This allows you to tune a container's memory swappiness behavior. A
2345
+ # `swappiness` value of `0` will cause swapping to not happen unless
2346
+ # absolutely necessary. A `swappiness` value of `100` will cause pages
2347
+ # to be swapped very aggressively. Accepted values are whole numbers
2348
+ # between `0` and `100`. If the `swappiness` parameter is not
2349
+ # specified, a default value of `60` is used. If a value is not
2350
+ # specified for `maxSwap` then this parameter is ignored. This
2351
+ # parameter maps to the `--memory-swappiness` option to [docker
2352
+ # run][1].
2353
+ #
2354
+ #
2355
+ #
2356
+ # [1]: https://docs.docker.com/engine/reference/run/
2357
+ # @return [Integer]
2358
+ #
2057
2359
  # @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/LinuxParameters AWS API Documentation
2058
2360
  #
2059
2361
  class LinuxParameters < Struct.new(
2060
- :devices)
2362
+ :devices,
2363
+ :init_process_enabled,
2364
+ :shared_memory_size,
2365
+ :tmpfs,
2366
+ :max_swap,
2367
+ :swappiness)
2368
+ SENSITIVE = []
2061
2369
  include Aws::Structure
2062
2370
  end
2063
2371
 
@@ -2128,6 +2436,7 @@ module Aws::Batch
2128
2436
  :job_status,
2129
2437
  :max_results,
2130
2438
  :next_token)
2439
+ SENSITIVE = []
2131
2440
  include Aws::Structure
2132
2441
  end
2133
2442
 
@@ -2147,6 +2456,88 @@ module Aws::Batch
2147
2456
  class ListJobsResponse < Struct.new(
2148
2457
  :job_summary_list,
2149
2458
  :next_token)
2459
+ SENSITIVE = []
2460
+ include Aws::Structure
2461
+ end
2462
+
2463
+ # Log configuration options to send to a custom log driver for the
2464
+ # container.
2465
+ #
2466
+ # @note When making an API call, you may pass LogConfiguration
2467
+ # data as a hash:
2468
+ #
2469
+ # {
2470
+ # log_driver: "json-file", # required, accepts json-file, syslog, journald, gelf, fluentd, awslogs, splunk
2471
+ # options: {
2472
+ # "String" => "String",
2473
+ # },
2474
+ # secret_options: [
2475
+ # {
2476
+ # name: "String", # required
2477
+ # value_from: "String", # required
2478
+ # },
2479
+ # ],
2480
+ # }
2481
+ #
2482
+ # @!attribute [rw] log_driver
2483
+ # The log driver to use for the container. The valid values listed for
2484
+ # this parameter are log drivers that the Amazon ECS container agent
2485
+ # can communicate with by default.
2486
+ #
2487
+ # The supported log drivers are `awslogs`, `fluentd`, `gelf`,
2488
+ # `json-file`, `journald`, `logentries`, `syslog`, and `splunk`.
2489
+ #
2490
+ # For more information about using the `awslogs` log driver, see
2491
+ # [Using the awslogs Log Driver][1] in the *Amazon Elastic Container
2492
+ # Service Developer Guide*.
2493
+ #
2494
+ # <note markdown="1"> If you have a custom driver that is not listed earlier that you
2495
+ # would like to work with the Amazon ECS container agent, you can fork
2496
+ # the Amazon ECS container agent project that is [available on
2497
+ # GitHub][2] and customize it to work with that driver. We encourage
2498
+ # you to submit pull requests for changes that you would like to have
2499
+ # included. However, Amazon Web Services does not currently support
2500
+ # running modified copies of this software.
2501
+ #
2502
+ # </note>
2503
+ #
2504
+ # This parameter requires version 1.18 of the Docker Remote API or
2505
+ # greater on your container instance. To check the Docker Remote API
2506
+ # version on your container instance, log into your container instance
2507
+ # and run the following command: `sudo docker version | grep "Server
2508
+ # API version"`
2509
+ #
2510
+ #
2511
+ #
2512
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_awslogs.html
2513
+ # [2]: https://github.com/aws/amazon-ecs-agent
2514
+ # @return [String]
2515
+ #
2516
+ # @!attribute [rw] options
2517
+ # The configuration options to send to the log driver. This parameter
2518
+ # requires version 1.19 of the Docker Remote API or greater on your
2519
+ # container instance. To check the Docker Remote API version on your
2520
+ # container instance, log into your container instance and run the
2521
+ # following command: `sudo docker version | grep "Server API version"`
2522
+ # @return [Hash<String,String>]
2523
+ #
2524
+ # @!attribute [rw] secret_options
2525
+ # The secrets to pass to the log configuration. For more information,
2526
+ # see [Specifying Sensitive Data][1] in the *Amazon Elastic Container
2527
+ # Service Developer Guide*.
2528
+ #
2529
+ #
2530
+ #
2531
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/specifying-sensitive-data.html
2532
+ # @return [Array<Types::Secret>]
2533
+ #
2534
+ # @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/LogConfiguration AWS API Documentation
2535
+ #
2536
+ class LogConfiguration < Struct.new(
2537
+ :log_driver,
2538
+ :options,
2539
+ :secret_options)
2540
+ SENSITIVE = []
2150
2541
  include Aws::Structure
2151
2542
  end
2152
2543
 
@@ -2188,6 +2579,7 @@ module Aws::Batch
2188
2579
  :container_path,
2189
2580
  :read_only,
2190
2581
  :source_volume)
2582
+ SENSITIVE = []
2191
2583
  include Aws::Structure
2192
2584
  end
2193
2585
 
@@ -2212,6 +2604,7 @@ module Aws::Batch
2212
2604
  :attachment_id,
2213
2605
  :ipv6_address,
2214
2606
  :private_ipv_4_address)
2607
+ SENSITIVE = []
2215
2608
  include Aws::Structure
2216
2609
  end
2217
2610
 
@@ -2233,6 +2626,7 @@ module Aws::Batch
2233
2626
  class NodeDetails < Struct.new(
2234
2627
  :node_index,
2235
2628
  :is_main_node)
2629
+ SENSITIVE = []
2236
2630
  include Aws::Structure
2237
2631
  end
2238
2632
 
@@ -2294,6 +2688,7 @@ module Aws::Batch
2294
2688
  class NodeOverrides < Struct.new(
2295
2689
  :num_nodes,
2296
2690
  :node_property_overrides)
2691
+ SENSITIVE = []
2297
2692
  include Aws::Structure
2298
2693
  end
2299
2694
 
@@ -2315,6 +2710,7 @@ module Aws::Batch
2315
2710
  # memory: 1,
2316
2711
  # command: ["String"],
2317
2712
  # job_role_arn: "String",
2713
+ # execution_role_arn: "String",
2318
2714
  # volumes: [
2319
2715
  # {
2320
2716
  # host: {
@@ -2361,7 +2757,36 @@ module Aws::Batch
2361
2757
  # permissions: ["READ"], # accepts READ, WRITE, MKNOD
2362
2758
  # },
2363
2759
  # ],
2760
+ # init_process_enabled: false,
2761
+ # shared_memory_size: 1,
2762
+ # tmpfs: [
2763
+ # {
2764
+ # container_path: "String", # required
2765
+ # size: 1, # required
2766
+ # mount_options: ["String"],
2767
+ # },
2768
+ # ],
2769
+ # max_swap: 1,
2770
+ # swappiness: 1,
2771
+ # },
2772
+ # log_configuration: {
2773
+ # log_driver: "json-file", # required, accepts json-file, syslog, journald, gelf, fluentd, awslogs, splunk
2774
+ # options: {
2775
+ # "String" => "String",
2776
+ # },
2777
+ # secret_options: [
2778
+ # {
2779
+ # name: "String", # required
2780
+ # value_from: "String", # required
2781
+ # },
2782
+ # ],
2364
2783
  # },
2784
+ # secrets: [
2785
+ # {
2786
+ # name: "String", # required
2787
+ # value_from: "String", # required
2788
+ # },
2789
+ # ],
2365
2790
  # },
2366
2791
  # },
2367
2792
  # ],
@@ -2387,6 +2812,7 @@ module Aws::Batch
2387
2812
  :num_nodes,
2388
2813
  :main_node,
2389
2814
  :node_range_properties)
2815
+ SENSITIVE = []
2390
2816
  include Aws::Structure
2391
2817
  end
2392
2818
 
@@ -2414,6 +2840,7 @@ module Aws::Batch
2414
2840
  :is_main_node,
2415
2841
  :num_nodes,
2416
2842
  :node_index)
2843
+ SENSITIVE = []
2417
2844
  include Aws::Structure
2418
2845
  end
2419
2846
 
@@ -2462,6 +2889,7 @@ module Aws::Batch
2462
2889
  class NodePropertyOverride < Struct.new(
2463
2890
  :target_nodes,
2464
2891
  :container_overrides)
2892
+ SENSITIVE = []
2465
2893
  include Aws::Structure
2466
2894
  end
2467
2895
 
@@ -2479,6 +2907,7 @@ module Aws::Batch
2479
2907
  # memory: 1,
2480
2908
  # command: ["String"],
2481
2909
  # job_role_arn: "String",
2910
+ # execution_role_arn: "String",
2482
2911
  # volumes: [
2483
2912
  # {
2484
2913
  # host: {
@@ -2525,7 +2954,36 @@ module Aws::Batch
2525
2954
  # permissions: ["READ"], # accepts READ, WRITE, MKNOD
2526
2955
  # },
2527
2956
  # ],
2957
+ # init_process_enabled: false,
2958
+ # shared_memory_size: 1,
2959
+ # tmpfs: [
2960
+ # {
2961
+ # container_path: "String", # required
2962
+ # size: 1, # required
2963
+ # mount_options: ["String"],
2964
+ # },
2965
+ # ],
2966
+ # max_swap: 1,
2967
+ # swappiness: 1,
2968
+ # },
2969
+ # log_configuration: {
2970
+ # log_driver: "json-file", # required, accepts json-file, syslog, journald, gelf, fluentd, awslogs, splunk
2971
+ # options: {
2972
+ # "String" => "String",
2973
+ # },
2974
+ # secret_options: [
2975
+ # {
2976
+ # name: "String", # required
2977
+ # value_from: "String", # required
2978
+ # },
2979
+ # ],
2528
2980
  # },
2981
+ # secrets: [
2982
+ # {
2983
+ # name: "String", # required
2984
+ # value_from: "String", # required
2985
+ # },
2986
+ # ],
2529
2987
  # },
2530
2988
  # }
2531
2989
  #
@@ -2549,6 +3007,7 @@ module Aws::Batch
2549
3007
  class NodeRangeProperty < Struct.new(
2550
3008
  :target_nodes,
2551
3009
  :container)
3010
+ SENSITIVE = []
2552
3011
  include Aws::Structure
2553
3012
  end
2554
3013
 
@@ -2567,6 +3026,7 @@ module Aws::Batch
2567
3026
  # memory: 1,
2568
3027
  # command: ["String"],
2569
3028
  # job_role_arn: "String",
3029
+ # execution_role_arn: "String",
2570
3030
  # volumes: [
2571
3031
  # {
2572
3032
  # host: {
@@ -2613,7 +3073,36 @@ module Aws::Batch
2613
3073
  # permissions: ["READ"], # accepts READ, WRITE, MKNOD
2614
3074
  # },
2615
3075
  # ],
3076
+ # init_process_enabled: false,
3077
+ # shared_memory_size: 1,
3078
+ # tmpfs: [
3079
+ # {
3080
+ # container_path: "String", # required
3081
+ # size: 1, # required
3082
+ # mount_options: ["String"],
3083
+ # },
3084
+ # ],
3085
+ # max_swap: 1,
3086
+ # swappiness: 1,
3087
+ # },
3088
+ # log_configuration: {
3089
+ # log_driver: "json-file", # required, accepts json-file, syslog, journald, gelf, fluentd, awslogs, splunk
3090
+ # options: {
3091
+ # "String" => "String",
3092
+ # },
3093
+ # secret_options: [
3094
+ # {
3095
+ # name: "String", # required
3096
+ # value_from: "String", # required
3097
+ # },
3098
+ # ],
2616
3099
  # },
3100
+ # secrets: [
3101
+ # {
3102
+ # name: "String", # required
3103
+ # value_from: "String", # required
3104
+ # },
3105
+ # ],
2617
3106
  # },
2618
3107
  # node_properties: {
2619
3108
  # num_nodes: 1, # required
@@ -2627,6 +3116,7 @@ module Aws::Batch
2627
3116
  # memory: 1,
2628
3117
  # command: ["String"],
2629
3118
  # job_role_arn: "String",
3119
+ # execution_role_arn: "String",
2630
3120
  # volumes: [
2631
3121
  # {
2632
3122
  # host: {
@@ -2673,7 +3163,36 @@ module Aws::Batch
2673
3163
  # permissions: ["READ"], # accepts READ, WRITE, MKNOD
2674
3164
  # },
2675
3165
  # ],
3166
+ # init_process_enabled: false,
3167
+ # shared_memory_size: 1,
3168
+ # tmpfs: [
3169
+ # {
3170
+ # container_path: "String", # required
3171
+ # size: 1, # required
3172
+ # mount_options: ["String"],
3173
+ # },
3174
+ # ],
3175
+ # max_swap: 1,
3176
+ # swappiness: 1,
2676
3177
  # },
3178
+ # log_configuration: {
3179
+ # log_driver: "json-file", # required, accepts json-file, syslog, journald, gelf, fluentd, awslogs, splunk
3180
+ # options: {
3181
+ # "String" => "String",
3182
+ # },
3183
+ # secret_options: [
3184
+ # {
3185
+ # name: "String", # required
3186
+ # value_from: "String", # required
3187
+ # },
3188
+ # ],
3189
+ # },
3190
+ # secrets: [
3191
+ # {
3192
+ # name: "String", # required
3193
+ # value_from: "String", # required
3194
+ # },
3195
+ # ],
2677
3196
  # },
2678
3197
  # },
2679
3198
  # ],
@@ -2755,6 +3274,7 @@ module Aws::Batch
2755
3274
  :node_properties,
2756
3275
  :retry_strategy,
2757
3276
  :timeout)
3277
+ SENSITIVE = []
2758
3278
  include Aws::Structure
2759
3279
  end
2760
3280
 
@@ -2776,6 +3296,7 @@ module Aws::Batch
2776
3296
  :job_definition_name,
2777
3297
  :job_definition_arn,
2778
3298
  :revision)
3299
+ SENSITIVE = []
2779
3300
  include Aws::Structure
2780
3301
  end
2781
3302
 
@@ -2807,6 +3328,7 @@ module Aws::Batch
2807
3328
  class ResourceRequirement < Struct.new(
2808
3329
  :value,
2809
3330
  :type)
3331
+ SENSITIVE = []
2810
3332
  include Aws::Structure
2811
3333
  end
2812
3334
 
@@ -2830,6 +3352,57 @@ module Aws::Batch
2830
3352
  #
2831
3353
  class RetryStrategy < Struct.new(
2832
3354
  :attempts)
3355
+ SENSITIVE = []
3356
+ include Aws::Structure
3357
+ end
3358
+
3359
+ # An object representing the secret to expose to your container. Secrets
3360
+ # can be exposed to a container in the following ways:
3361
+ #
3362
+ # * To inject sensitive data into your containers as environment
3363
+ # variables, use the `secrets` container definition parameter.
3364
+ #
3365
+ # * To reference sensitive information in the log configuration of a
3366
+ # container, use the `secretOptions` container definition parameter.
3367
+ #
3368
+ # For more information, see [Specifying Sensitive Data][1] in the
3369
+ # *Amazon Elastic Container Service Developer Guide*.
3370
+ #
3371
+ #
3372
+ #
3373
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/specifying-sensitive-data.html
3374
+ #
3375
+ # @note When making an API call, you may pass Secret
3376
+ # data as a hash:
3377
+ #
3378
+ # {
3379
+ # name: "String", # required
3380
+ # value_from: "String", # required
3381
+ # }
3382
+ #
3383
+ # @!attribute [rw] name
3384
+ # The name of the secret.
3385
+ # @return [String]
3386
+ #
3387
+ # @!attribute [rw] value_from
3388
+ # The secret to expose to the container. The supported values are
3389
+ # either the full ARN of the AWS Secrets Manager secret or the full
3390
+ # ARN of the parameter in the AWS Systems Manager Parameter Store.
3391
+ #
3392
+ # <note markdown="1"> If the AWS Systems Manager Parameter Store parameter exists in the
3393
+ # same Region as the task you are launching, then you can use either
3394
+ # the full ARN or name of the parameter. If the parameter exists in a
3395
+ # different Region, then the full ARN must be specified.
3396
+ #
3397
+ # </note>
3398
+ # @return [String]
3399
+ #
3400
+ # @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/Secret AWS API Documentation
3401
+ #
3402
+ class Secret < Struct.new(
3403
+ :name,
3404
+ :value_from)
3405
+ SENSITIVE = []
2833
3406
  include Aws::Structure
2834
3407
  end
2835
3408
 
@@ -2842,6 +3415,7 @@ module Aws::Batch
2842
3415
  #
2843
3416
  class ServerException < Struct.new(
2844
3417
  :message)
3418
+ SENSITIVE = []
2845
3419
  include Aws::Structure
2846
3420
  end
2847
3421
 
@@ -3014,6 +3588,7 @@ module Aws::Batch
3014
3588
  :node_overrides,
3015
3589
  :retry_strategy,
3016
3590
  :timeout)
3591
+ SENSITIVE = []
3017
3592
  include Aws::Structure
3018
3593
  end
3019
3594
 
@@ -3030,6 +3605,7 @@ module Aws::Batch
3030
3605
  class SubmitJobResponse < Struct.new(
3031
3606
  :job_name,
3032
3607
  :job_id)
3608
+ SENSITIVE = []
3033
3609
  include Aws::Structure
3034
3610
  end
3035
3611
 
@@ -3057,6 +3633,7 @@ module Aws::Batch
3057
3633
  class TerminateJobRequest < Struct.new(
3058
3634
  :job_id,
3059
3635
  :reason)
3636
+ SENSITIVE = []
3060
3637
  include Aws::Structure
3061
3638
  end
3062
3639
 
@@ -3064,6 +3641,47 @@ module Aws::Batch
3064
3641
  #
3065
3642
  class TerminateJobResponse < Aws::EmptyStructure; end
3066
3643
 
3644
+ # The container path, mount options, and size of the tmpfs mount.
3645
+ #
3646
+ # @note When making an API call, you may pass Tmpfs
3647
+ # data as a hash:
3648
+ #
3649
+ # {
3650
+ # container_path: "String", # required
3651
+ # size: 1, # required
3652
+ # mount_options: ["String"],
3653
+ # }
3654
+ #
3655
+ # @!attribute [rw] container_path
3656
+ # The absolute file path where the tmpfs volume is to be mounted.
3657
+ # @return [String]
3658
+ #
3659
+ # @!attribute [rw] size
3660
+ # The size (in MiB) of the tmpfs volume.
3661
+ # @return [Integer]
3662
+ #
3663
+ # @!attribute [rw] mount_options
3664
+ # The list of tmpfs volume mount options.
3665
+ #
3666
+ # Valid values: `"defaults" | "ro" | "rw" | "suid" | "nosuid" | "dev"
3667
+ # | "nodev" | "exec" | "noexec" | "sync" | "async" | "dirsync" |
3668
+ # "remount" | "mand" | "nomand" | "atime" | "noatime" | "diratime" |
3669
+ # "nodiratime" | "bind" | "rbind" | "unbindable" | "runbindable" |
3670
+ # "private" | "rprivate" | "shared" | "rshared" | "slave" | "rslave" |
3671
+ # "relatime" | "norelatime" | "strictatime" | "nostrictatime" | "mode"
3672
+ # | "uid" | "gid" | "nr_inodes" | "nr_blocks" | "mpol"`
3673
+ # @return [Array<String>]
3674
+ #
3675
+ # @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/Tmpfs AWS API Documentation
3676
+ #
3677
+ class Tmpfs < Struct.new(
3678
+ :container_path,
3679
+ :size,
3680
+ :mount_options)
3681
+ SENSITIVE = []
3682
+ include Aws::Structure
3683
+ end
3684
+
3067
3685
  # The `ulimit` settings to pass to the container.
3068
3686
  #
3069
3687
  # @note When making an API call, you may pass Ulimit
@@ -3093,6 +3711,7 @@ module Aws::Batch
3093
3711
  :hard_limit,
3094
3712
  :name,
3095
3713
  :soft_limit)
3714
+ SENSITIVE = []
3096
3715
  include Aws::Structure
3097
3716
  end
3098
3717
 
@@ -3151,6 +3770,7 @@ module Aws::Batch
3151
3770
  :state,
3152
3771
  :compute_resources,
3153
3772
  :service_role)
3773
+ SENSITIVE = []
3154
3774
  include Aws::Structure
3155
3775
  end
3156
3776
 
@@ -3167,6 +3787,7 @@ module Aws::Batch
3167
3787
  class UpdateComputeEnvironmentResponse < Struct.new(
3168
3788
  :compute_environment_name,
3169
3789
  :compute_environment_arn)
3790
+ SENSITIVE = []
3170
3791
  include Aws::Structure
3171
3792
  end
3172
3793
 
@@ -3190,7 +3811,10 @@ module Aws::Batch
3190
3811
  # @return [String]
3191
3812
  #
3192
3813
  # @!attribute [rw] state
3193
- # Describes the queue's ability to accept new jobs.
3814
+ # Describes the queue's ability to accept new jobs. If the job queue
3815
+ # state is `ENABLED`, it is able to accept jobs. If the job queue
3816
+ # state is `DISABLED`, new jobs cannot be added to the queue, but jobs
3817
+ # already in the queue can finish.
3194
3818
  # @return [String]
3195
3819
  #
3196
3820
  # @!attribute [rw] priority
@@ -3216,6 +3840,7 @@ module Aws::Batch
3216
3840
  :state,
3217
3841
  :priority,
3218
3842
  :compute_environment_order)
3843
+ SENSITIVE = []
3219
3844
  include Aws::Structure
3220
3845
  end
3221
3846
 
@@ -3232,6 +3857,7 @@ module Aws::Batch
3232
3857
  class UpdateJobQueueResponse < Struct.new(
3233
3858
  :job_queue_name,
3234
3859
  :job_queue_arn)
3860
+ SENSITIVE = []
3235
3861
  include Aws::Structure
3236
3862
  end
3237
3863
 
@@ -3268,6 +3894,7 @@ module Aws::Batch
3268
3894
  class Volume < Struct.new(
3269
3895
  :host,
3270
3896
  :name)
3897
+ SENSITIVE = []
3271
3898
  include Aws::Structure
3272
3899
  end
3273
3900