aws-sdk-batch 1.1.0 → 1.2.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 +8 -8
- data/lib/aws-sdk-batch/types.rb +31 -6
- 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: fc54c3c784c5d2c8e7a5fc64a452838fbf56590a
|
4
|
+
data.tar.gz: 78448a68c4821502d166d4748204c9d8253dfbbc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e9b63e6342108d1f5bb4ac4a1ce32dba52f62bdd8c964cee5901a86fdb97618f23059c2f52e9d836912512ef2f587044db2e9db46280b8108eae37cbfeff94ad
|
7
|
+
data.tar.gz: dd756cc49bf13d29afcd955ce3999021d1e7f307cea9168daa3757c34a377e94532756b6518b3394ec016d2736e2a9548d07ffc563165e5aab2342ca5a8605e0
|
data/lib/aws-sdk-batch.rb
CHANGED
data/lib/aws-sdk-batch/client.rb
CHANGED
@@ -145,14 +145,14 @@ module Aws::Batch
|
|
145
145
|
|
146
146
|
# @!group API Operations
|
147
147
|
|
148
|
-
# Cancels
|
148
|
+
# Cancels a job in an AWS Batch job queue. Jobs that are in the
|
149
149
|
# `SUBMITTED`, `PENDING`, or `RUNNABLE` state are cancelled. Jobs that
|
150
150
|
# have progressed to `STARTING` or `RUNNING` are not cancelled (but the
|
151
|
-
# API operation still succeeds, even if no
|
152
|
-
#
|
151
|
+
# API operation still succeeds, even if no job is cancelled); these jobs
|
152
|
+
# must be terminated with the TerminateJob operation.
|
153
153
|
#
|
154
154
|
# @option params [required, String] :job_id
|
155
|
-
#
|
155
|
+
# The AWS Batch job ID of the job to cancel.
|
156
156
|
#
|
157
157
|
# @option params [required, String] :reason
|
158
158
|
# A message to attach to the job that explains the reason for cancelling
|
@@ -223,7 +223,7 @@ module Aws::Batch
|
|
223
223
|
#
|
224
224
|
# @option params [required, String] :compute_environment_name
|
225
225
|
# The name for your compute environment. Up to 128 letters (uppercase
|
226
|
-
# and lowercase), numbers, and underscores are allowed.
|
226
|
+
# and lowercase), numbers, hyphens, and underscores are allowed.
|
227
227
|
#
|
228
228
|
# @option params [required, String] :type
|
229
229
|
# The type of the compute environment.
|
@@ -1452,13 +1452,13 @@ module Aws::Batch
|
|
1452
1452
|
req.send_request(options)
|
1453
1453
|
end
|
1454
1454
|
|
1455
|
-
# Terminates
|
1455
|
+
# Terminates a job in a job queue. Jobs that are in the `STARTING` or
|
1456
1456
|
# `RUNNING` state are terminated, which causes them to transition to
|
1457
1457
|
# `FAILED`. Jobs that have not progressed to the `STARTING` state are
|
1458
1458
|
# cancelled.
|
1459
1459
|
#
|
1460
1460
|
# @option params [required, String] :job_id
|
1461
|
-
#
|
1461
|
+
# The AWS Batch job ID of the job to terminate.
|
1462
1462
|
#
|
1463
1463
|
# @option params [required, String] :reason
|
1464
1464
|
# A message to attach to the job that explains the reason for cancelling
|
@@ -1661,7 +1661,7 @@ module Aws::Batch
|
|
1661
1661
|
params: params,
|
1662
1662
|
config: config)
|
1663
1663
|
context[:gem_name] = 'aws-sdk-batch'
|
1664
|
-
context[:gem_version] = '1.
|
1664
|
+
context[:gem_version] = '1.2.0'
|
1665
1665
|
Seahorse::Client::Request.new(handlers, context)
|
1666
1666
|
end
|
1667
1667
|
|
data/lib/aws-sdk-batch/types.rb
CHANGED
@@ -18,7 +18,8 @@ module Aws::Batch
|
|
18
18
|
#
|
19
19
|
# @!attribute [rw] task_arn
|
20
20
|
# The Amazon Resource Name (ARN) of the Amazon ECS task that is
|
21
|
-
# associated with the job attempt.
|
21
|
+
# associated with the job attempt. Each container attempt receives a
|
22
|
+
# task ARN when they reach the `STARTING` status.
|
22
23
|
# @return [String]
|
23
24
|
#
|
24
25
|
# @!attribute [rw] exit_code
|
@@ -89,7 +90,7 @@ module Aws::Batch
|
|
89
90
|
# }
|
90
91
|
#
|
91
92
|
# @!attribute [rw] job_id
|
92
|
-
#
|
93
|
+
# The AWS Batch job ID of the job to cancel.
|
93
94
|
# @return [String]
|
94
95
|
#
|
95
96
|
# @!attribute [rw] reason
|
@@ -241,7 +242,12 @@ module Aws::Batch
|
|
241
242
|
# @return [Integer]
|
242
243
|
#
|
243
244
|
# @!attribute [rw] instance_types
|
244
|
-
# The instances types that may launched.
|
245
|
+
# The instances types that may be launched. You can specify instance
|
246
|
+
# families to launch any instance type within those families (for
|
247
|
+
# example, `c4` or `p3`), or you can specify specific sizes within a
|
248
|
+
# family (such as `c4.8xlarge`). You can also choose `optimal` to pick
|
249
|
+
# instance types (from the latest C, M, and R instance families) on
|
250
|
+
# the fly that match the demand of your job queues.
|
245
251
|
# @return [Array<String>]
|
246
252
|
#
|
247
253
|
# @!attribute [rw] image_id
|
@@ -377,6 +383,12 @@ module Aws::Batch
|
|
377
383
|
#
|
378
384
|
# @!attribute [rw] environment
|
379
385
|
# The environment variables to pass to a container.
|
386
|
+
#
|
387
|
+
# <note markdown="1"> Environment variables must not start with `AWS_BATCH`; this naming
|
388
|
+
# convention is reserved for variables that are set by the AWS Batch
|
389
|
+
# service.
|
390
|
+
#
|
391
|
+
# </note>
|
380
392
|
# @return [Array<Types::KeyValuePair>]
|
381
393
|
#
|
382
394
|
# @!attribute [rw] mount_points
|
@@ -418,7 +430,8 @@ module Aws::Batch
|
|
418
430
|
#
|
419
431
|
# @!attribute [rw] task_arn
|
420
432
|
# The Amazon Resource Name (ARN) of the Amazon ECS task that is
|
421
|
-
# associated with the container job.
|
433
|
+
# associated with the container job. Each container attempt receives a
|
434
|
+
# task ARN when they reach the `STARTING` status.
|
422
435
|
# @return [String]
|
423
436
|
#
|
424
437
|
# @!attribute [rw] log_stream_name
|
@@ -488,6 +501,12 @@ module Aws::Batch
|
|
488
501
|
# environment variables, which are added to the container at launch,
|
489
502
|
# or you can override the existing environment variables from the
|
490
503
|
# Docker image or the job definition.
|
504
|
+
#
|
505
|
+
# <note markdown="1"> Environment variables must not start with `AWS_BATCH`; this naming
|
506
|
+
# convention is reserved for variables that are set by the AWS Batch
|
507
|
+
# service.
|
508
|
+
#
|
509
|
+
# </note>
|
491
510
|
# @return [Array<Types::KeyValuePair>]
|
492
511
|
#
|
493
512
|
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/ContainerOverrides AWS API Documentation
|
@@ -636,6 +655,12 @@ module Aws::Batch
|
|
636
655
|
# We do not recommend using plain text environment variables for
|
637
656
|
# sensitive information, such as credential data.
|
638
657
|
#
|
658
|
+
# <note markdown="1"> Environment variables must not start with `AWS_BATCH`; this naming
|
659
|
+
# convention is reserved for variables that are set by the AWS Batch
|
660
|
+
# service.
|
661
|
+
#
|
662
|
+
# </note>
|
663
|
+
#
|
639
664
|
#
|
640
665
|
#
|
641
666
|
# [1]: https://docs.docker.com/engine/reference/api/docker_remote_api_v1.23/#create-a-container
|
@@ -752,7 +777,7 @@ module Aws::Batch
|
|
752
777
|
#
|
753
778
|
# @!attribute [rw] compute_environment_name
|
754
779
|
# The name for your compute environment. Up to 128 letters (uppercase
|
755
|
-
# and lowercase), numbers, and underscores are allowed.
|
780
|
+
# and lowercase), numbers, hyphens, and underscores are allowed.
|
756
781
|
# @return [String]
|
757
782
|
#
|
758
783
|
# @!attribute [rw] type
|
@@ -1844,7 +1869,7 @@ module Aws::Batch
|
|
1844
1869
|
# }
|
1845
1870
|
#
|
1846
1871
|
# @!attribute [rw] job_id
|
1847
|
-
#
|
1872
|
+
# The AWS Batch job ID of the job to terminate.
|
1848
1873
|
# @return [String]
|
1849
1874
|
#
|
1850
1875
|
# @!attribute [rw] reason
|
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.2.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: 2017-
|
11
|
+
date: 2017-11-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|