aws-sdk-batch 1.16.0 → 1.17.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 +1 -1
- data/lib/aws-sdk-batch/client.rb +13 -7
- data/lib/aws-sdk-batch/types.rb +75 -49
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 414bd7cb54da256f8d1f469a74e0391681fae40d
|
4
|
+
data.tar.gz: 413d5fad56d1a4de9d23bcab16daafb22ebd7426
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b1a7518e9b3a1cc37670abc5b9932f676420709ee25f0ed85d39a9ea83c61450f2d0aea3640dc80a90c7c70b66ad4fe4a2c6a365c0a1572864f596213a149793
|
7
|
+
data.tar.gz: 4e696f3fedda0a760353a24f17c75eff0c300db420ed1af5adeb073e35730dcb9204f7dd3aa07f43518b614325e07517fd453c558bd3f9d4997bf5c238820bd5
|
data/lib/aws-sdk-batch.rb
CHANGED
data/lib/aws-sdk-batch/client.rb
CHANGED
@@ -366,7 +366,13 @@ module Aws::Batch
|
|
366
366
|
#
|
367
367
|
# @option params [Types::ComputeResource] :compute_resources
|
368
368
|
# Details of the compute resources managed by the compute environment.
|
369
|
-
# This parameter is required for managed compute environments.
|
369
|
+
# This parameter is required for managed compute environments. For more
|
370
|
+
# information, see [Compute Environments][1] in the *AWS Batch User
|
371
|
+
# Guide*.
|
372
|
+
#
|
373
|
+
#
|
374
|
+
#
|
375
|
+
# [1]: https://docs.aws.amazon.com/batch/latest/userguide/compute_environments.html
|
370
376
|
#
|
371
377
|
# @option params [required, String] :service_role
|
372
378
|
# The full Amazon Resource Name (ARN) of the IAM role that allows AWS
|
@@ -901,8 +907,8 @@ module Aws::Batch
|
|
901
907
|
# as `ACTIVE`) to only return job definitions that match that status.
|
902
908
|
#
|
903
909
|
# @option params [Array<String>] :job_definitions
|
904
|
-
# A
|
905
|
-
#
|
910
|
+
# A list of up to 100 job definition names or full Amazon Resource Name
|
911
|
+
# (ARN) entries.
|
906
912
|
#
|
907
913
|
# @option params [Integer] :max_results
|
908
914
|
# The maximum number of results returned by `DescribeJobDefinitions` in
|
@@ -1168,7 +1174,7 @@ module Aws::Batch
|
|
1168
1174
|
# Describes a list of AWS Batch jobs.
|
1169
1175
|
#
|
1170
1176
|
# @option params [required, Array<String>] :jobs
|
1171
|
-
# A
|
1177
|
+
# A list of up to 100 job IDs.
|
1172
1178
|
#
|
1173
1179
|
# @return [Types::DescribeJobsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1174
1180
|
#
|
@@ -1513,7 +1519,7 @@ module Aws::Batch
|
|
1513
1519
|
#
|
1514
1520
|
#
|
1515
1521
|
#
|
1516
|
-
# [1]:
|
1522
|
+
# [1]: https://docs.aws.amazon.com/batch/latest/userguide/multi-node-parallel-jobs.html
|
1517
1523
|
#
|
1518
1524
|
# @option params [Types::RetryStrategy] :retry_strategy
|
1519
1525
|
# The retry strategy to use for failed jobs that are submitted with this
|
@@ -1717,7 +1723,7 @@ module Aws::Batch
|
|
1717
1723
|
#
|
1718
1724
|
#
|
1719
1725
|
#
|
1720
|
-
# [1]:
|
1726
|
+
# [1]: https://docs.aws.amazon.com/batch/latest/userguide/array_jobs.html
|
1721
1727
|
#
|
1722
1728
|
# @option params [Array<Types::JobDependency>] :depends_on
|
1723
1729
|
# A list of dependencies for the job. A job can depend upon a maximum of
|
@@ -2089,7 +2095,7 @@ module Aws::Batch
|
|
2089
2095
|
params: params,
|
2090
2096
|
config: config)
|
2091
2097
|
context[:gem_name] = 'aws-sdk-batch'
|
2092
|
-
context[:gem_version] = '1.
|
2098
|
+
context[:gem_version] = '1.17.0'
|
2093
2099
|
Seahorse::Client::Request.new(handlers, context)
|
2094
2100
|
end
|
2095
2101
|
|
data/lib/aws-sdk-batch/types.rb
CHANGED
@@ -316,7 +316,7 @@ module Aws::Batch
|
|
316
316
|
# }
|
317
317
|
#
|
318
318
|
# @!attribute [rw] type
|
319
|
-
# The type of compute environment.
|
319
|
+
# The type of compute environment: EC2 or SPOT.
|
320
320
|
# @return [String]
|
321
321
|
#
|
322
322
|
# @!attribute [rw] minv_cpus
|
@@ -337,8 +337,8 @@ module Aws::Batch
|
|
337
337
|
# families to launch any instance type within those families (for
|
338
338
|
# example, `c4` or `p3`), or you can specify specific sizes within a
|
339
339
|
# family (such as `c4.8xlarge`). You can also choose `optimal` to pick
|
340
|
-
# instance types (from the
|
341
|
-
#
|
340
|
+
# instance types (from the C, M, and R instance families) on the fly
|
341
|
+
# that match the demand of your job queues.
|
342
342
|
# @return [Array<String>]
|
343
343
|
#
|
344
344
|
# @!attribute [rw] image_id
|
@@ -363,20 +363,23 @@ module Aws::Batch
|
|
363
363
|
# @!attribute [rw] instance_role
|
364
364
|
# The Amazon ECS instance profile applied to Amazon EC2 instances in a
|
365
365
|
# compute environment. You can specify the short name or full Amazon
|
366
|
-
# Resource Name (ARN) of an instance profile. For example,
|
367
|
-
#
|
368
|
-
# `arn:aws:iam::<aws_account_id>:instance-profile/ecsInstanceRole`.
|
366
|
+
# Resource Name (ARN) of an instance profile. For example, `
|
367
|
+
# ecsInstanceRole ` or
|
368
|
+
# `arn:aws:iam::<aws_account_id>:instance-profile/ecsInstanceRole `.
|
369
369
|
# For more information, see [Amazon ECS Instance Role][1] in the *AWS
|
370
370
|
# Batch User Guide*.
|
371
371
|
#
|
372
372
|
#
|
373
373
|
#
|
374
|
-
# [1]:
|
374
|
+
# [1]: https://docs.aws.amazon.com/batch/latest/userguide/instance_IAM_role.html
|
375
375
|
# @return [String]
|
376
376
|
#
|
377
377
|
# @!attribute [rw] tags
|
378
378
|
# Key-value pair tags to be applied to resources that are launched in
|
379
|
-
# the compute environment.
|
379
|
+
# the compute environment. For AWS Batch, these take the form of
|
380
|
+
# "String1": "String2", where String1 is the tag key and String2
|
381
|
+
# is the tag value—for example, \\\{ "Name": "AWS Batch Instance -
|
382
|
+
# C4OnDemand" \\}.
|
380
383
|
# @return [Hash<String,String>]
|
381
384
|
#
|
382
385
|
# @!attribute [rw] placement_group
|
@@ -406,7 +409,12 @@ module Aws::Batch
|
|
406
409
|
#
|
407
410
|
# @!attribute [rw] spot_iam_fleet_role
|
408
411
|
# The Amazon Resource Name (ARN) of the Amazon EC2 Spot Fleet IAM role
|
409
|
-
# applied to a `SPOT` compute environment.
|
412
|
+
# applied to a `SPOT` compute environment. For more information, see
|
413
|
+
# [Amazon EC2 Spot Fleet Role][1] in the *AWS Batch User Guide*.
|
414
|
+
#
|
415
|
+
#
|
416
|
+
#
|
417
|
+
# [1]: https://docs.aws.amazon.com/batch/latest/userguide/spot_fleet_IAM_role.html
|
410
418
|
# @return [String]
|
411
419
|
#
|
412
420
|
# @!attribute [rw] launch_template
|
@@ -414,7 +422,13 @@ module Aws::Batch
|
|
414
422
|
# compute resource parameters that you specify in a
|
415
423
|
# CreateComputeEnvironment API operation override the same parameters
|
416
424
|
# in the launch template. You must specify either the launch template
|
417
|
-
# ID or launch template name in the request, but not both.
|
425
|
+
# ID or launch template name in the request, but not both. For more
|
426
|
+
# information, see [Launch Template Support][1] in the *AWS Batch User
|
427
|
+
# Guide*.
|
428
|
+
#
|
429
|
+
#
|
430
|
+
#
|
431
|
+
# [1]: https://docs.aws.amazon.com/batch/latest/userguide/launch-templates.html
|
418
432
|
# @return [Types::LaunchTemplateSpecification]
|
419
433
|
#
|
420
434
|
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/ComputeResource AWS API Documentation
|
@@ -751,8 +765,8 @@ module Aws::Batch
|
|
751
765
|
#
|
752
766
|
#
|
753
767
|
#
|
754
|
-
# [1]: https://docs.docker.com/engine/
|
755
|
-
# [2]: https://docs.docker.com/engine/
|
768
|
+
# [1]: https://docs.docker.com/engine/api/v1.23/#create-a-container
|
769
|
+
# [2]: https://docs.docker.com/engine/api/v1.23/
|
756
770
|
# [3]: https://docs.docker.com/engine/reference/run/
|
757
771
|
# @return [String]
|
758
772
|
#
|
@@ -765,8 +779,8 @@ module Aws::Batch
|
|
765
779
|
#
|
766
780
|
#
|
767
781
|
#
|
768
|
-
# [1]: https://docs.docker.com/engine/
|
769
|
-
# [2]: https://docs.docker.com/engine/
|
782
|
+
# [1]: https://docs.docker.com/engine/api/v1.23/#create-a-container
|
783
|
+
# [2]: https://docs.docker.com/engine/api/v1.23/
|
770
784
|
# [3]: https://docs.docker.com/engine/reference/run/
|
771
785
|
# @return [Integer]
|
772
786
|
#
|
@@ -786,10 +800,10 @@ module Aws::Batch
|
|
786
800
|
#
|
787
801
|
#
|
788
802
|
#
|
789
|
-
# [1]: https://docs.docker.com/engine/
|
790
|
-
# [2]: https://docs.docker.com/engine/
|
803
|
+
# [1]: https://docs.docker.com/engine/api/v1.23/#create-a-container
|
804
|
+
# [2]: https://docs.docker.com/engine/api/v1.23/
|
791
805
|
# [3]: https://docs.docker.com/engine/reference/run/
|
792
|
-
# [4]:
|
806
|
+
# [4]: https://docs.aws.amazon.com/batch/latest/userguide/memory-management.html
|
793
807
|
# @return [Integer]
|
794
808
|
#
|
795
809
|
# @!attribute [rw] command
|
@@ -801,8 +815,8 @@ module Aws::Batch
|
|
801
815
|
#
|
802
816
|
#
|
803
817
|
#
|
804
|
-
# [1]: https://docs.docker.com/engine/
|
805
|
-
# [2]: https://docs.docker.com/engine/
|
818
|
+
# [1]: https://docs.docker.com/engine/api/v1.23/#create-a-container
|
819
|
+
# [2]: https://docs.docker.com/engine/api/v1.23/
|
806
820
|
# [3]: https://docs.docker.com/engine/reference/run/
|
807
821
|
# [4]: https://docs.docker.com/engine/reference/builder/#cmd
|
808
822
|
# @return [Array<String>]
|
@@ -832,8 +846,8 @@ module Aws::Batch
|
|
832
846
|
#
|
833
847
|
#
|
834
848
|
#
|
835
|
-
# [1]: https://docs.docker.com/engine/
|
836
|
-
# [2]: https://docs.docker.com/engine/
|
849
|
+
# [1]: https://docs.docker.com/engine/api/v1.23/#create-a-container
|
850
|
+
# [2]: https://docs.docker.com/engine/api/v1.23/
|
837
851
|
# [3]: https://docs.docker.com/engine/reference/run/
|
838
852
|
# @return [Array<Types::KeyValuePair>]
|
839
853
|
#
|
@@ -844,8 +858,8 @@ module Aws::Batch
|
|
844
858
|
#
|
845
859
|
#
|
846
860
|
#
|
847
|
-
# [1]: https://docs.docker.com/engine/
|
848
|
-
# [2]: https://docs.docker.com/engine/
|
861
|
+
# [1]: https://docs.docker.com/engine/api/v1.23/#create-a-container
|
862
|
+
# [2]: https://docs.docker.com/engine/api/v1.23/
|
849
863
|
# [3]: https://docs.docker.com/engine/reference/run/
|
850
864
|
# @return [Array<Types::MountPoint>]
|
851
865
|
#
|
@@ -857,8 +871,8 @@ module Aws::Batch
|
|
857
871
|
#
|
858
872
|
#
|
859
873
|
#
|
860
|
-
# [1]: https://docs.docker.com/engine/
|
861
|
-
# [2]: https://docs.docker.com/engine/
|
874
|
+
# [1]: https://docs.docker.com/engine/api/v1.23/#create-a-container
|
875
|
+
# [2]: https://docs.docker.com/engine/api/v1.23/
|
862
876
|
# @return [Boolean]
|
863
877
|
#
|
864
878
|
# @!attribute [rw] privileged
|
@@ -870,8 +884,8 @@ module Aws::Batch
|
|
870
884
|
#
|
871
885
|
#
|
872
886
|
#
|
873
|
-
# [1]: https://docs.docker.com/engine/
|
874
|
-
# [2]: https://docs.docker.com/engine/
|
887
|
+
# [1]: https://docs.docker.com/engine/api/v1.23/#create-a-container
|
888
|
+
# [2]: https://docs.docker.com/engine/api/v1.23/
|
875
889
|
# [3]: https://docs.docker.com/engine/reference/run/
|
876
890
|
# @return [Boolean]
|
877
891
|
#
|
@@ -882,8 +896,8 @@ module Aws::Batch
|
|
882
896
|
#
|
883
897
|
#
|
884
898
|
#
|
885
|
-
# [1]: https://docs.docker.com/engine/
|
886
|
-
# [2]: https://docs.docker.com/engine/
|
899
|
+
# [1]: https://docs.docker.com/engine/api/v1.23/#create-a-container
|
900
|
+
# [2]: https://docs.docker.com/engine/api/v1.23/
|
887
901
|
# [3]: https://docs.docker.com/engine/reference/run/
|
888
902
|
# @return [Array<Types::Ulimit>]
|
889
903
|
#
|
@@ -894,8 +908,8 @@ module Aws::Batch
|
|
894
908
|
#
|
895
909
|
#
|
896
910
|
#
|
897
|
-
# [1]: https://docs.docker.com/engine/
|
898
|
-
# [2]: https://docs.docker.com/engine/
|
911
|
+
# [1]: https://docs.docker.com/engine/api/v1.23/#create-a-container
|
912
|
+
# [2]: https://docs.docker.com/engine/api/v1.23/
|
899
913
|
# [3]: https://docs.docker.com/engine/reference/run/
|
900
914
|
# @return [String]
|
901
915
|
#
|
@@ -1005,7 +1019,13 @@ module Aws::Batch
|
|
1005
1019
|
#
|
1006
1020
|
# @!attribute [rw] compute_resources
|
1007
1021
|
# Details of the compute resources managed by the compute environment.
|
1008
|
-
# This parameter is required for managed compute environments.
|
1022
|
+
# This parameter is required for managed compute environments. For
|
1023
|
+
# more information, see [Compute Environments][1] in the *AWS Batch
|
1024
|
+
# User Guide*.
|
1025
|
+
#
|
1026
|
+
#
|
1027
|
+
#
|
1028
|
+
# [1]: https://docs.aws.amazon.com/batch/latest/userguide/compute_environments.html
|
1009
1029
|
# @return [Types::ComputeResource]
|
1010
1030
|
#
|
1011
1031
|
# @!attribute [rw] service_role
|
@@ -1273,8 +1293,8 @@ module Aws::Batch
|
|
1273
1293
|
# }
|
1274
1294
|
#
|
1275
1295
|
# @!attribute [rw] job_definitions
|
1276
|
-
# A
|
1277
|
-
#
|
1296
|
+
# A list of up to 100 job definition names or full Amazon Resource
|
1297
|
+
# Name (ARN) entries.
|
1278
1298
|
# @return [Array<String>]
|
1279
1299
|
#
|
1280
1300
|
# @!attribute [rw] max_results
|
@@ -1420,7 +1440,7 @@ module Aws::Batch
|
|
1420
1440
|
# }
|
1421
1441
|
#
|
1422
1442
|
# @!attribute [rw] jobs
|
1423
|
-
# A
|
1443
|
+
# A list of up to 100 job IDs.
|
1424
1444
|
# @return [Array<String>]
|
1425
1445
|
#
|
1426
1446
|
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DescribeJobsRequest AWS API Documentation
|
@@ -1441,11 +1461,11 @@ module Aws::Batch
|
|
1441
1461
|
include Aws::Structure
|
1442
1462
|
end
|
1443
1463
|
|
1444
|
-
#
|
1445
|
-
#
|
1446
|
-
#
|
1447
|
-
#
|
1448
|
-
#
|
1464
|
+
# Determine whether your data volume persists on the host container
|
1465
|
+
# instance and where it is stored. If this parameter is empty, then the
|
1466
|
+
# Docker daemon assigns a host path for your data volume, but the data
|
1467
|
+
# is not guaranteed to persist after the containers associated with it
|
1468
|
+
# stop running.
|
1449
1469
|
#
|
1450
1470
|
# @note When making an API call, you may pass Host
|
1451
1471
|
# data as a hash:
|
@@ -1457,12 +1477,12 @@ module Aws::Batch
|
|
1457
1477
|
# @!attribute [rw] source_path
|
1458
1478
|
# The path on the host container instance that is presented to the
|
1459
1479
|
# container. If this parameter is empty, then the Docker daemon has
|
1460
|
-
# assigned a host path for you. If
|
1461
|
-
#
|
1462
|
-
#
|
1463
|
-
#
|
1464
|
-
#
|
1465
|
-
#
|
1480
|
+
# assigned a host path for you. If this parameter contains a file
|
1481
|
+
# location, then the data volume persists at the specified location on
|
1482
|
+
# the host container instance until you delete it manually. If the
|
1483
|
+
# source path location does not exist on the host container instance,
|
1484
|
+
# the Docker daemon creates it. If the location does exist, the
|
1485
|
+
# contents of the source path folder are exported.
|
1466
1486
|
# @return [String]
|
1467
1487
|
#
|
1468
1488
|
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/Host AWS API Documentation
|
@@ -1981,7 +2001,13 @@ module Aws::Batch
|
|
1981
2001
|
end
|
1982
2002
|
|
1983
2003
|
# Details on a Docker volume mount point that is used in a job's
|
1984
|
-
# container properties.
|
2004
|
+
# container properties. This parameter maps to `Volumes` in the [Create
|
2005
|
+
# a container][1] section of the Docker Remote API and the `--volume`
|
2006
|
+
# option to docker run.
|
2007
|
+
#
|
2008
|
+
#
|
2009
|
+
#
|
2010
|
+
# [1]: https://docs.docker.com/engine/reference/api/docker_remote_api_v1.19/#create-a-container
|
1985
2011
|
#
|
1986
2012
|
# @note When making an API call, you may pass MountPoint
|
1987
2013
|
# data as a hash:
|
@@ -2508,7 +2534,7 @@ module Aws::Batch
|
|
2508
2534
|
#
|
2509
2535
|
#
|
2510
2536
|
#
|
2511
|
-
# [1]:
|
2537
|
+
# [1]: https://docs.aws.amazon.com/batch/latest/userguide/multi-node-parallel-jobs.html
|
2512
2538
|
# @return [Types::NodeProperties]
|
2513
2539
|
#
|
2514
2540
|
# @!attribute [rw] retry_strategy
|
@@ -2711,7 +2737,7 @@ module Aws::Batch
|
|
2711
2737
|
#
|
2712
2738
|
#
|
2713
2739
|
#
|
2714
|
-
# [1]:
|
2740
|
+
# [1]: https://docs.aws.amazon.com/batch/latest/userguide/array_jobs.html
|
2715
2741
|
# @return [Types::ArrayProperties]
|
2716
2742
|
#
|
2717
2743
|
# @!attribute [rw] depends_on
|
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.17.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-04-
|
11
|
+
date: 2019-04-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -59,7 +59,7 @@ files:
|
|
59
59
|
- lib/aws-sdk-batch/errors.rb
|
60
60
|
- lib/aws-sdk-batch/resource.rb
|
61
61
|
- lib/aws-sdk-batch/types.rb
|
62
|
-
homepage:
|
62
|
+
homepage: https://github.com/aws/aws-sdk-ruby
|
63
63
|
licenses:
|
64
64
|
- Apache-2.0
|
65
65
|
metadata:
|