aws-sdk-batch 1.38.0 → 1.39.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 +258 -1
- data/lib/aws-sdk-batch/client_api.rb +74 -0
- data/lib/aws-sdk-batch/types.rb +302 -38
- 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: c9d1f3bee1c2ae962471ae5e36621c438f97c3a01ae72f26c14fff3cd417e633
|
4
|
+
data.tar.gz: 6842de9983e5c5eaab81d6ab6fb0d59e047a8f877fd7cfd2760358ecada98f06
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0de77874e7ebef2a58f72ea4f8b46d6805e1ec1f8ce0f2a9da6f994be42120ba96e6ac6bdea7c2bfb180e5918079185c7c5160aeae50b984e47fa15e3fa2a1a7
|
7
|
+
data.tar.gz: 4227fd39f6413d8959116688ba515720df881e21e512b64ca1bd78602f5cebcbc71a12c03d12e209a9de2b7ee98f881779f553adeee51dbc3b557b7f98766d5a
|
data/lib/aws-sdk-batch.rb
CHANGED
data/lib/aws-sdk-batch/client.rb
CHANGED
@@ -470,6 +470,22 @@ module Aws::Batch
|
|
470
470
|
#
|
471
471
|
# </note>
|
472
472
|
#
|
473
|
+
# @option params [Hash<String,String>] :tags
|
474
|
+
# The tags that you apply to the compute environment to help you
|
475
|
+
# categorize and organize your resources. Each tag consists of a key and
|
476
|
+
# an optional value. For more information, see [Tagging AWS
|
477
|
+
# Resources][1] in *AWS General Reference*.
|
478
|
+
#
|
479
|
+
# These tags can be updated or removed using the [TagResource][2] and
|
480
|
+
# [UntagResource][3] API operations. These tags do not propagate to the
|
481
|
+
# underlying compute resources.
|
482
|
+
#
|
483
|
+
#
|
484
|
+
#
|
485
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
|
486
|
+
# [2]: https://docs.aws.amazon.com/batch/latest/APIReference/API_TagResource.html
|
487
|
+
# [3]: https://docs.aws.amazon.com/batch/latest/APIReference/API_UntagResource.html
|
488
|
+
#
|
473
489
|
# @return [Types::CreateComputeEnvironmentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
474
490
|
#
|
475
491
|
# * {Types::CreateComputeEnvironmentResponse#compute_environment_name #compute_environment_name} => String
|
@@ -593,6 +609,9 @@ module Aws::Batch
|
|
593
609
|
# },
|
594
610
|
# },
|
595
611
|
# service_role: "String", # required
|
612
|
+
# tags: {
|
613
|
+
# "TagKey" => "TagValue",
|
614
|
+
# },
|
596
615
|
# })
|
597
616
|
#
|
598
617
|
# @example Response structure
|
@@ -644,6 +663,16 @@ module Aws::Batch
|
|
644
663
|
# associate them with a job queue. You can associate up to three compute
|
645
664
|
# environments with a job queue.
|
646
665
|
#
|
666
|
+
# @option params [Hash<String,String>] :tags
|
667
|
+
# The tags that you apply to the job queue to help you categorize and
|
668
|
+
# organize your resources. Each tag consists of a key and an optional
|
669
|
+
# value. For more information, see [Tagging AWS Resources][1] in *AWS
|
670
|
+
# General Reference*.
|
671
|
+
#
|
672
|
+
#
|
673
|
+
#
|
674
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
|
675
|
+
#
|
647
676
|
# @return [Types::CreateJobQueueResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
648
677
|
#
|
649
678
|
# * {Types::CreateJobQueueResponse#job_queue_name #job_queue_name} => String
|
@@ -711,6 +740,9 @@ module Aws::Batch
|
|
711
740
|
# compute_environment: "String", # required
|
712
741
|
# },
|
713
742
|
# ],
|
743
|
+
# tags: {
|
744
|
+
# "TagKey" => "TagValue",
|
745
|
+
# },
|
714
746
|
# })
|
715
747
|
#
|
716
748
|
# @example Response structure
|
@@ -951,6 +983,8 @@ module Aws::Batch
|
|
951
983
|
# resp.compute_environments[0].compute_environment_name #=> String
|
952
984
|
# resp.compute_environments[0].compute_environment_arn #=> String
|
953
985
|
# resp.compute_environments[0].ecs_cluster_arn #=> String
|
986
|
+
# resp.compute_environments[0].tags #=> Hash
|
987
|
+
# resp.compute_environments[0].tags["TagKey"] #=> String
|
954
988
|
# resp.compute_environments[0].type #=> String, one of "MANAGED", "UNMANAGED"
|
955
989
|
# resp.compute_environments[0].state #=> String, one of "ENABLED", "DISABLED"
|
956
990
|
# resp.compute_environments[0].status #=> String, one of "CREATING", "UPDATING", "DELETING", "DELETED", "VALID", "INVALID"
|
@@ -1200,6 +1234,8 @@ module Aws::Batch
|
|
1200
1234
|
# resp.job_definitions[0].node_properties.node_range_properties[0].container.secrets #=> Array
|
1201
1235
|
# resp.job_definitions[0].node_properties.node_range_properties[0].container.secrets[0].name #=> String
|
1202
1236
|
# resp.job_definitions[0].node_properties.node_range_properties[0].container.secrets[0].value_from #=> String
|
1237
|
+
# resp.job_definitions[0].tags #=> Hash
|
1238
|
+
# resp.job_definitions[0].tags["TagKey"] #=> String
|
1203
1239
|
# resp.next_token #=> String
|
1204
1240
|
#
|
1205
1241
|
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DescribeJobDefinitions AWS API Documentation
|
@@ -1298,6 +1334,8 @@ module Aws::Batch
|
|
1298
1334
|
# resp.job_queues[0].compute_environment_order #=> Array
|
1299
1335
|
# resp.job_queues[0].compute_environment_order[0].order #=> Integer
|
1300
1336
|
# resp.job_queues[0].compute_environment_order[0].compute_environment #=> String
|
1337
|
+
# resp.job_queues[0].tags #=> Hash
|
1338
|
+
# resp.job_queues[0].tags["TagKey"] #=> String
|
1301
1339
|
# resp.next_token #=> String
|
1302
1340
|
#
|
1303
1341
|
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DescribeJobQueues AWS API Documentation
|
@@ -1377,6 +1415,7 @@ module Aws::Batch
|
|
1377
1415
|
# @example Response structure
|
1378
1416
|
#
|
1379
1417
|
# resp.jobs #=> Array
|
1418
|
+
# resp.jobs[0].job_arn #=> String
|
1380
1419
|
# resp.jobs[0].job_name #=> String
|
1381
1420
|
# resp.jobs[0].job_id #=> String
|
1382
1421
|
# resp.jobs[0].job_queue #=> String
|
@@ -1527,6 +1566,8 @@ module Aws::Batch
|
|
1527
1566
|
# resp.jobs[0].array_properties.size #=> Integer
|
1528
1567
|
# resp.jobs[0].array_properties.index #=> Integer
|
1529
1568
|
# resp.jobs[0].timeout.attempt_duration_seconds #=> Integer
|
1569
|
+
# resp.jobs[0].tags #=> Hash
|
1570
|
+
# resp.jobs[0].tags["TagKey"] #=> String
|
1530
1571
|
#
|
1531
1572
|
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DescribeJobs AWS API Documentation
|
1532
1573
|
#
|
@@ -1650,6 +1691,7 @@ module Aws::Batch
|
|
1650
1691
|
# @example Response structure
|
1651
1692
|
#
|
1652
1693
|
# resp.job_summary_list #=> Array
|
1694
|
+
# resp.job_summary_list[0].job_arn #=> String
|
1653
1695
|
# resp.job_summary_list[0].job_id #=> String
|
1654
1696
|
# resp.job_summary_list[0].job_name #=> String
|
1655
1697
|
# resp.job_summary_list[0].created_at #=> Integer
|
@@ -1675,6 +1717,59 @@ module Aws::Batch
|
|
1675
1717
|
req.send_request(options)
|
1676
1718
|
end
|
1677
1719
|
|
1720
|
+
# List the tags for an AWS Batch resource. AWS Batch resources that
|
1721
|
+
# support tags are compute environments, jobs, job definitions, and job
|
1722
|
+
# queues. ARNs for child jobs of array and multi-node parallel (MNP)
|
1723
|
+
# jobs are not supported.
|
1724
|
+
#
|
1725
|
+
# @option params [required, String] :resource_arn
|
1726
|
+
# The Amazon Resource Name (ARN) that identifies the resource for which
|
1727
|
+
# to list the tags. AWS Batch resources that support tags are compute
|
1728
|
+
# environments, jobs, job definitions, and job queues. ARNs for child
|
1729
|
+
# jobs of array and multi-node parallel (MNP) jobs are not supported.
|
1730
|
+
#
|
1731
|
+
# @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1732
|
+
#
|
1733
|
+
# * {Types::ListTagsForResourceResponse#tags #tags} => Hash<String,String>
|
1734
|
+
#
|
1735
|
+
#
|
1736
|
+
# @example Example: ListTagsForResource Example
|
1737
|
+
#
|
1738
|
+
# # This demonstrates calling the ListTagsForResource action.
|
1739
|
+
#
|
1740
|
+
# resp = client.list_tags_for_resource({
|
1741
|
+
# resource_arn: "arn:aws:batch:us-east-1:123456789012:job-definition/sleep30:1",
|
1742
|
+
# })
|
1743
|
+
#
|
1744
|
+
# resp.to_h outputs the following:
|
1745
|
+
# {
|
1746
|
+
# tags: {
|
1747
|
+
# "Department" => "Engineering",
|
1748
|
+
# "Stage" => "Alpha",
|
1749
|
+
# "User" => "JaneDoe",
|
1750
|
+
# },
|
1751
|
+
# }
|
1752
|
+
#
|
1753
|
+
# @example Request syntax with placeholder values
|
1754
|
+
#
|
1755
|
+
# resp = client.list_tags_for_resource({
|
1756
|
+
# resource_arn: "String", # required
|
1757
|
+
# })
|
1758
|
+
#
|
1759
|
+
# @example Response structure
|
1760
|
+
#
|
1761
|
+
# resp.tags #=> Hash
|
1762
|
+
# resp.tags["TagKey"] #=> String
|
1763
|
+
#
|
1764
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/ListTagsForResource AWS API Documentation
|
1765
|
+
#
|
1766
|
+
# @overload list_tags_for_resource(params = {})
|
1767
|
+
# @param [Hash] params ({})
|
1768
|
+
def list_tags_for_resource(params = {}, options = {})
|
1769
|
+
req = build_request(:list_tags_for_resource, params)
|
1770
|
+
req.send_request(options)
|
1771
|
+
end
|
1772
|
+
|
1678
1773
|
# Registers an AWS Batch job definition.
|
1679
1774
|
#
|
1680
1775
|
# @option params [required, String] :job_definition_name
|
@@ -1729,6 +1824,16 @@ module Aws::Batch
|
|
1729
1824
|
#
|
1730
1825
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/job_timeouts.html
|
1731
1826
|
#
|
1827
|
+
# @option params [Hash<String,String>] :tags
|
1828
|
+
# The tags that you apply to the job definition to help you categorize
|
1829
|
+
# and organize your resources. Each tag consists of a key and an
|
1830
|
+
# optional value. For more information, see [Tagging AWS Resources][1]
|
1831
|
+
# in *AWS General Reference*.
|
1832
|
+
#
|
1833
|
+
#
|
1834
|
+
#
|
1835
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
|
1836
|
+
#
|
1732
1837
|
# @return [Types::RegisterJobDefinitionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1733
1838
|
#
|
1734
1839
|
# * {Types::RegisterJobDefinitionResponse#job_definition_name #job_definition_name} => String
|
@@ -1761,6 +1866,35 @@ module Aws::Batch
|
|
1761
1866
|
# revision: 1,
|
1762
1867
|
# }
|
1763
1868
|
#
|
1869
|
+
# @example Example: RegisterJobDefinition with tags
|
1870
|
+
#
|
1871
|
+
# # This demonstrates calling the RegisterJobDefinition action, including tags.
|
1872
|
+
#
|
1873
|
+
# resp = client.register_job_definition({
|
1874
|
+
# type: "container",
|
1875
|
+
# container_properties: {
|
1876
|
+
# command: [
|
1877
|
+
# "sleep",
|
1878
|
+
# "30",
|
1879
|
+
# ],
|
1880
|
+
# image: "busybox",
|
1881
|
+
# memory: 128,
|
1882
|
+
# vcpus: 1,
|
1883
|
+
# },
|
1884
|
+
# job_definition_name: "sleep30",
|
1885
|
+
# tags: {
|
1886
|
+
# "Department" => "Engineering",
|
1887
|
+
# "User" => "JaneDoe",
|
1888
|
+
# },
|
1889
|
+
# })
|
1890
|
+
#
|
1891
|
+
# resp.to_h outputs the following:
|
1892
|
+
# {
|
1893
|
+
# job_definition_arn: "arn:aws:batch:us-east-1:012345678910:job-definition/sleep30:1",
|
1894
|
+
# job_definition_name: "sleep30",
|
1895
|
+
# revision: 1,
|
1896
|
+
# }
|
1897
|
+
#
|
1764
1898
|
# @example Request syntax with placeholder values
|
1765
1899
|
#
|
1766
1900
|
# resp = client.register_job_definition({
|
@@ -1952,6 +2086,9 @@ module Aws::Batch
|
|
1952
2086
|
# timeout: {
|
1953
2087
|
# attempt_duration_seconds: 1,
|
1954
2088
|
# },
|
2089
|
+
# tags: {
|
2090
|
+
# "TagKey" => "TagValue",
|
2091
|
+
# },
|
1955
2092
|
# })
|
1956
2093
|
#
|
1957
2094
|
# @example Response structure
|
@@ -2047,8 +2184,19 @@ module Aws::Batch
|
|
2047
2184
|
#
|
2048
2185
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/job_timeouts.html
|
2049
2186
|
#
|
2187
|
+
# @option params [Hash<String,String>] :tags
|
2188
|
+
# The tags that you apply to the job request to help you categorize and
|
2189
|
+
# organize your resources. Each tag consists of a key and an optional
|
2190
|
+
# value. For more information, see [Tagging AWS Resources][1] in *AWS
|
2191
|
+
# General Reference*.
|
2192
|
+
#
|
2193
|
+
#
|
2194
|
+
#
|
2195
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
|
2196
|
+
#
|
2050
2197
|
# @return [Types::SubmitJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2051
2198
|
#
|
2199
|
+
# * {Types::SubmitJobResponse#job_arn #job_arn} => String
|
2052
2200
|
# * {Types::SubmitJobResponse#job_name #job_name} => String
|
2053
2201
|
# * {Types::SubmitJobResponse#job_id #job_id} => String
|
2054
2202
|
#
|
@@ -2137,10 +2285,14 @@ module Aws::Batch
|
|
2137
2285
|
# timeout: {
|
2138
2286
|
# attempt_duration_seconds: 1,
|
2139
2287
|
# },
|
2288
|
+
# tags: {
|
2289
|
+
# "TagKey" => "TagValue",
|
2290
|
+
# },
|
2140
2291
|
# })
|
2141
2292
|
#
|
2142
2293
|
# @example Response structure
|
2143
2294
|
#
|
2295
|
+
# resp.job_arn #=> String
|
2144
2296
|
# resp.job_name #=> String
|
2145
2297
|
# resp.job_id #=> String
|
2146
2298
|
#
|
@@ -2153,6 +2305,66 @@ module Aws::Batch
|
|
2153
2305
|
req.send_request(options)
|
2154
2306
|
end
|
2155
2307
|
|
2308
|
+
# Associates the specified tags to a resource with the specified
|
2309
|
+
# `resourceArn`. If existing tags on a resource are not specified in the
|
2310
|
+
# request parameters, they are not changed. When a resource is deleted,
|
2311
|
+
# the tags associated with that resource are deleted as well. AWS Batch
|
2312
|
+
# resources that support tags are compute environments, jobs, job
|
2313
|
+
# definitions, and job queues. ARNs for child jobs of array and
|
2314
|
+
# multi-node parallel (MNP) jobs are not supported.
|
2315
|
+
#
|
2316
|
+
# @option params [required, String] :resource_arn
|
2317
|
+
# The Amazon Resource Name (ARN) of the resource to which to add tags.
|
2318
|
+
# AWS Batch resources that support tags are compute environments, jobs,
|
2319
|
+
# job definitions, and job queues. ARNs for child jobs of array and
|
2320
|
+
# multi-node parallel (MNP) jobs are not supported.
|
2321
|
+
#
|
2322
|
+
# @option params [required, Hash<String,String>] :tags
|
2323
|
+
# The tags that you apply to the resource to help you categorize and
|
2324
|
+
# organize your resources. Each tag consists of a key and an optional
|
2325
|
+
# value. For more information, see [Tagging AWS Resources][1] in *AWS
|
2326
|
+
# General Reference*.
|
2327
|
+
#
|
2328
|
+
#
|
2329
|
+
#
|
2330
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
|
2331
|
+
#
|
2332
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2333
|
+
#
|
2334
|
+
#
|
2335
|
+
# @example Example: TagResource Example
|
2336
|
+
#
|
2337
|
+
# # This demonstrates calling the TagResource action.
|
2338
|
+
#
|
2339
|
+
# resp = client.tag_resource({
|
2340
|
+
# resource_arn: "arn:aws:batch:us-east-1:123456789012:job-definition/sleep30:1",
|
2341
|
+
# tags: {
|
2342
|
+
# "Stage" => "Alpha",
|
2343
|
+
# },
|
2344
|
+
# })
|
2345
|
+
#
|
2346
|
+
# resp.to_h outputs the following:
|
2347
|
+
# {
|
2348
|
+
# }
|
2349
|
+
#
|
2350
|
+
# @example Request syntax with placeholder values
|
2351
|
+
#
|
2352
|
+
# resp = client.tag_resource({
|
2353
|
+
# resource_arn: "String", # required
|
2354
|
+
# tags: { # required
|
2355
|
+
# "TagKey" => "TagValue",
|
2356
|
+
# },
|
2357
|
+
# })
|
2358
|
+
#
|
2359
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/TagResource AWS API Documentation
|
2360
|
+
#
|
2361
|
+
# @overload tag_resource(params = {})
|
2362
|
+
# @param [Hash] params ({})
|
2363
|
+
def tag_resource(params = {}, options = {})
|
2364
|
+
req = build_request(:tag_resource, params)
|
2365
|
+
req.send_request(options)
|
2366
|
+
end
|
2367
|
+
|
2156
2368
|
# Terminates a job in a job queue. Jobs that are in the `STARTING` or
|
2157
2369
|
# `RUNNING` state are terminated, which causes them to transition to
|
2158
2370
|
# `FAILED`. Jobs that have not progressed to the `STARTING` state are
|
@@ -2198,6 +2410,51 @@ module Aws::Batch
|
|
2198
2410
|
req.send_request(options)
|
2199
2411
|
end
|
2200
2412
|
|
2413
|
+
# Deletes specified tags from an AWS Batch resource.
|
2414
|
+
#
|
2415
|
+
# @option params [required, String] :resource_arn
|
2416
|
+
# The Amazon Resource Name (ARN) of the resource from which to delete
|
2417
|
+
# tags. AWS Batch resources that support tags are compute environments,
|
2418
|
+
# jobs, job definitions, and job queues. ARNs for child jobs of array
|
2419
|
+
# and multi-node parallel (MNP) jobs are not supported.
|
2420
|
+
#
|
2421
|
+
# @option params [required, Array<String>] :tag_keys
|
2422
|
+
# The keys of the tags to be removed.
|
2423
|
+
#
|
2424
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2425
|
+
#
|
2426
|
+
#
|
2427
|
+
# @example Example: UntagResource Example
|
2428
|
+
#
|
2429
|
+
# # This demonstrates calling the UntagResource action.
|
2430
|
+
#
|
2431
|
+
# resp = client.untag_resource({
|
2432
|
+
# resource_arn: "arn:aws:batch:us-east-1:123456789012:job-definition/sleep30:1",
|
2433
|
+
# tag_keys: [
|
2434
|
+
# "Stage",
|
2435
|
+
# ],
|
2436
|
+
# })
|
2437
|
+
#
|
2438
|
+
# resp.to_h outputs the following:
|
2439
|
+
# {
|
2440
|
+
# }
|
2441
|
+
#
|
2442
|
+
# @example Request syntax with placeholder values
|
2443
|
+
#
|
2444
|
+
# resp = client.untag_resource({
|
2445
|
+
# resource_arn: "String", # required
|
2446
|
+
# tag_keys: ["TagKey"], # required
|
2447
|
+
# })
|
2448
|
+
#
|
2449
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/UntagResource AWS API Documentation
|
2450
|
+
#
|
2451
|
+
# @overload untag_resource(params = {})
|
2452
|
+
# @param [Hash] params ({})
|
2453
|
+
def untag_resource(params = {}, options = {})
|
2454
|
+
req = build_request(:untag_resource, params)
|
2455
|
+
req.send_request(options)
|
2456
|
+
end
|
2457
|
+
|
2201
2458
|
# Updates an AWS Batch compute environment.
|
2202
2459
|
#
|
2203
2460
|
# @option params [required, String] :compute_environment
|
@@ -2365,7 +2622,7 @@ module Aws::Batch
|
|
2365
2622
|
params: params,
|
2366
2623
|
config: config)
|
2367
2624
|
context[:gem_name] = 'aws-sdk-batch'
|
2368
|
-
context[:gem_version] = '1.
|
2625
|
+
context[:gem_version] = '1.39.0'
|
2369
2626
|
Seahorse::Client::Request.new(handlers, context)
|
2370
2627
|
end
|
2371
2628
|
|
@@ -85,6 +85,8 @@ module Aws::Batch
|
|
85
85
|
LinuxParameters = Shapes::StructureShape.new(name: 'LinuxParameters')
|
86
86
|
ListJobsRequest = Shapes::StructureShape.new(name: 'ListJobsRequest')
|
87
87
|
ListJobsResponse = Shapes::StructureShape.new(name: 'ListJobsResponse')
|
88
|
+
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
89
|
+
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
88
90
|
LogConfiguration = Shapes::StructureShape.new(name: 'LogConfiguration')
|
89
91
|
LogConfigurationOptionsMap = Shapes::MapShape.new(name: 'LogConfigurationOptionsMap')
|
90
92
|
LogDriver = Shapes::StringShape.new(name: 'LogDriver')
|
@@ -115,6 +117,12 @@ module Aws::Batch
|
|
115
117
|
StringList = Shapes::ListShape.new(name: 'StringList')
|
116
118
|
SubmitJobRequest = Shapes::StructureShape.new(name: 'SubmitJobRequest')
|
117
119
|
SubmitJobResponse = Shapes::StructureShape.new(name: 'SubmitJobResponse')
|
120
|
+
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
121
|
+
TagKeysList = Shapes::ListShape.new(name: 'TagKeysList')
|
122
|
+
TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
|
123
|
+
TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
|
124
|
+
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
125
|
+
TagrisTagsMap = Shapes::MapShape.new(name: 'TagrisTagsMap')
|
118
126
|
TagsMap = Shapes::MapShape.new(name: 'TagsMap')
|
119
127
|
TerminateJobRequest = Shapes::StructureShape.new(name: 'TerminateJobRequest')
|
120
128
|
TerminateJobResponse = Shapes::StructureShape.new(name: 'TerminateJobResponse')
|
@@ -122,6 +130,8 @@ module Aws::Batch
|
|
122
130
|
TmpfsList = Shapes::ListShape.new(name: 'TmpfsList')
|
123
131
|
Ulimit = Shapes::StructureShape.new(name: 'Ulimit')
|
124
132
|
Ulimits = Shapes::ListShape.new(name: 'Ulimits')
|
133
|
+
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
134
|
+
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
125
135
|
UpdateComputeEnvironmentRequest = Shapes::StructureShape.new(name: 'UpdateComputeEnvironmentRequest')
|
126
136
|
UpdateComputeEnvironmentResponse = Shapes::StructureShape.new(name: 'UpdateComputeEnvironmentResponse')
|
127
137
|
UpdateJobQueueRequest = Shapes::StructureShape.new(name: 'UpdateJobQueueRequest')
|
@@ -172,6 +182,7 @@ module Aws::Batch
|
|
172
182
|
ComputeEnvironmentDetail.add_member(:compute_environment_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "computeEnvironmentName"))
|
173
183
|
ComputeEnvironmentDetail.add_member(:compute_environment_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "computeEnvironmentArn"))
|
174
184
|
ComputeEnvironmentDetail.add_member(:ecs_cluster_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ecsClusterArn"))
|
185
|
+
ComputeEnvironmentDetail.add_member(:tags, Shapes::ShapeRef.new(shape: TagrisTagsMap, location_name: "tags"))
|
175
186
|
ComputeEnvironmentDetail.add_member(:type, Shapes::ShapeRef.new(shape: CEType, location_name: "type"))
|
176
187
|
ComputeEnvironmentDetail.add_member(:state, Shapes::ShapeRef.new(shape: CEState, location_name: "state"))
|
177
188
|
ComputeEnvironmentDetail.add_member(:status, Shapes::ShapeRef.new(shape: CEStatus, location_name: "status"))
|
@@ -274,6 +285,7 @@ module Aws::Batch
|
|
274
285
|
CreateComputeEnvironmentRequest.add_member(:state, Shapes::ShapeRef.new(shape: CEState, location_name: "state"))
|
275
286
|
CreateComputeEnvironmentRequest.add_member(:compute_resources, Shapes::ShapeRef.new(shape: ComputeResource, location_name: "computeResources"))
|
276
287
|
CreateComputeEnvironmentRequest.add_member(:service_role, Shapes::ShapeRef.new(shape: String, required: true, location_name: "serviceRole"))
|
288
|
+
CreateComputeEnvironmentRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagrisTagsMap, location_name: "tags"))
|
277
289
|
CreateComputeEnvironmentRequest.struct_class = Types::CreateComputeEnvironmentRequest
|
278
290
|
|
279
291
|
CreateComputeEnvironmentResponse.add_member(:compute_environment_name, Shapes::ShapeRef.new(shape: String, location_name: "computeEnvironmentName"))
|
@@ -284,6 +296,7 @@ module Aws::Batch
|
|
284
296
|
CreateJobQueueRequest.add_member(:state, Shapes::ShapeRef.new(shape: JQState, location_name: "state"))
|
285
297
|
CreateJobQueueRequest.add_member(:priority, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "priority"))
|
286
298
|
CreateJobQueueRequest.add_member(:compute_environment_order, Shapes::ShapeRef.new(shape: ComputeEnvironmentOrders, required: true, location_name: "computeEnvironmentOrder"))
|
299
|
+
CreateJobQueueRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagrisTagsMap, location_name: "tags"))
|
287
300
|
CreateJobQueueRequest.struct_class = Types::CreateJobQueueRequest
|
288
301
|
|
289
302
|
CreateJobQueueResponse.add_member(:job_queue_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobQueueName"))
|
@@ -364,6 +377,7 @@ module Aws::Batch
|
|
364
377
|
JobDefinition.add_member(:container_properties, Shapes::ShapeRef.new(shape: ContainerProperties, location_name: "containerProperties"))
|
365
378
|
JobDefinition.add_member(:timeout, Shapes::ShapeRef.new(shape: JobTimeout, location_name: "timeout"))
|
366
379
|
JobDefinition.add_member(:node_properties, Shapes::ShapeRef.new(shape: NodeProperties, location_name: "nodeProperties"))
|
380
|
+
JobDefinition.add_member(:tags, Shapes::ShapeRef.new(shape: TagrisTagsMap, location_name: "tags"))
|
367
381
|
JobDefinition.struct_class = Types::JobDefinition
|
368
382
|
|
369
383
|
JobDefinitionList.member = Shapes::ShapeRef.new(shape: JobDefinition)
|
@@ -374,6 +388,7 @@ module Aws::Batch
|
|
374
388
|
|
375
389
|
JobDependencyList.member = Shapes::ShapeRef.new(shape: JobDependency)
|
376
390
|
|
391
|
+
JobDetail.add_member(:job_arn, Shapes::ShapeRef.new(shape: String, location_name: "jobArn"))
|
377
392
|
JobDetail.add_member(:job_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobName"))
|
378
393
|
JobDetail.add_member(:job_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobId"))
|
379
394
|
JobDetail.add_member(:job_queue, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobQueue"))
|
@@ -392,6 +407,7 @@ module Aws::Batch
|
|
392
407
|
JobDetail.add_member(:node_properties, Shapes::ShapeRef.new(shape: NodeProperties, location_name: "nodeProperties"))
|
393
408
|
JobDetail.add_member(:array_properties, Shapes::ShapeRef.new(shape: ArrayPropertiesDetail, location_name: "arrayProperties"))
|
394
409
|
JobDetail.add_member(:timeout, Shapes::ShapeRef.new(shape: JobTimeout, location_name: "timeout"))
|
410
|
+
JobDetail.add_member(:tags, Shapes::ShapeRef.new(shape: TagrisTagsMap, location_name: "tags"))
|
395
411
|
JobDetail.struct_class = Types::JobDetail
|
396
412
|
|
397
413
|
JobDetailList.member = Shapes::ShapeRef.new(shape: JobDetail)
|
@@ -403,10 +419,12 @@ module Aws::Batch
|
|
403
419
|
JobQueueDetail.add_member(:status_reason, Shapes::ShapeRef.new(shape: String, location_name: "statusReason"))
|
404
420
|
JobQueueDetail.add_member(:priority, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "priority"))
|
405
421
|
JobQueueDetail.add_member(:compute_environment_order, Shapes::ShapeRef.new(shape: ComputeEnvironmentOrders, required: true, location_name: "computeEnvironmentOrder"))
|
422
|
+
JobQueueDetail.add_member(:tags, Shapes::ShapeRef.new(shape: TagrisTagsMap, location_name: "tags"))
|
406
423
|
JobQueueDetail.struct_class = Types::JobQueueDetail
|
407
424
|
|
408
425
|
JobQueueDetailList.member = Shapes::ShapeRef.new(shape: JobQueueDetail)
|
409
426
|
|
427
|
+
JobSummary.add_member(:job_arn, Shapes::ShapeRef.new(shape: String, location_name: "jobArn"))
|
410
428
|
JobSummary.add_member(:job_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobId"))
|
411
429
|
JobSummary.add_member(:job_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobName"))
|
412
430
|
JobSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: Long, location_name: "createdAt"))
|
@@ -453,6 +471,12 @@ module Aws::Batch
|
|
453
471
|
ListJobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
454
472
|
ListJobsResponse.struct_class = Types::ListJobsResponse
|
455
473
|
|
474
|
+
ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "resourceArn"))
|
475
|
+
ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
|
476
|
+
|
477
|
+
ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagrisTagsMap, location_name: "tags"))
|
478
|
+
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
479
|
+
|
456
480
|
LogConfiguration.add_member(:log_driver, Shapes::ShapeRef.new(shape: LogDriver, required: true, location_name: "logDriver"))
|
457
481
|
LogConfiguration.add_member(:options, Shapes::ShapeRef.new(shape: LogConfigurationOptionsMap, location_name: "options"))
|
458
482
|
LogConfiguration.add_member(:secret_options, Shapes::ShapeRef.new(shape: SecretList, location_name: "secretOptions"))
|
@@ -515,6 +539,7 @@ module Aws::Batch
|
|
515
539
|
RegisterJobDefinitionRequest.add_member(:node_properties, Shapes::ShapeRef.new(shape: NodeProperties, location_name: "nodeProperties"))
|
516
540
|
RegisterJobDefinitionRequest.add_member(:retry_strategy, Shapes::ShapeRef.new(shape: RetryStrategy, location_name: "retryStrategy"))
|
517
541
|
RegisterJobDefinitionRequest.add_member(:timeout, Shapes::ShapeRef.new(shape: JobTimeout, location_name: "timeout"))
|
542
|
+
RegisterJobDefinitionRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagrisTagsMap, location_name: "tags"))
|
518
543
|
RegisterJobDefinitionRequest.struct_class = Types::RegisterJobDefinitionRequest
|
519
544
|
|
520
545
|
RegisterJobDefinitionResponse.add_member(:job_definition_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobDefinitionName"))
|
@@ -552,12 +577,25 @@ module Aws::Batch
|
|
552
577
|
SubmitJobRequest.add_member(:node_overrides, Shapes::ShapeRef.new(shape: NodeOverrides, location_name: "nodeOverrides"))
|
553
578
|
SubmitJobRequest.add_member(:retry_strategy, Shapes::ShapeRef.new(shape: RetryStrategy, location_name: "retryStrategy"))
|
554
579
|
SubmitJobRequest.add_member(:timeout, Shapes::ShapeRef.new(shape: JobTimeout, location_name: "timeout"))
|
580
|
+
SubmitJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagrisTagsMap, location_name: "tags"))
|
555
581
|
SubmitJobRequest.struct_class = Types::SubmitJobRequest
|
556
582
|
|
583
|
+
SubmitJobResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: String, location_name: "jobArn"))
|
557
584
|
SubmitJobResponse.add_member(:job_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobName"))
|
558
585
|
SubmitJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobId"))
|
559
586
|
SubmitJobResponse.struct_class = Types::SubmitJobResponse
|
560
587
|
|
588
|
+
TagKeysList.member = Shapes::ShapeRef.new(shape: TagKey)
|
589
|
+
|
590
|
+
TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "resourceArn"))
|
591
|
+
TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagrisTagsMap, required: true, location_name: "tags"))
|
592
|
+
TagResourceRequest.struct_class = Types::TagResourceRequest
|
593
|
+
|
594
|
+
TagResourceResponse.struct_class = Types::TagResourceResponse
|
595
|
+
|
596
|
+
TagrisTagsMap.key = Shapes::ShapeRef.new(shape: TagKey)
|
597
|
+
TagrisTagsMap.value = Shapes::ShapeRef.new(shape: TagValue)
|
598
|
+
|
561
599
|
TagsMap.key = Shapes::ShapeRef.new(shape: String)
|
562
600
|
TagsMap.value = Shapes::ShapeRef.new(shape: String)
|
563
601
|
|
@@ -581,6 +619,12 @@ module Aws::Batch
|
|
581
619
|
|
582
620
|
Ulimits.member = Shapes::ShapeRef.new(shape: Ulimit)
|
583
621
|
|
622
|
+
UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "resourceArn"))
|
623
|
+
UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeysList, required: true, location: "querystring", location_name: "tagKeys"))
|
624
|
+
UntagResourceRequest.struct_class = Types::UntagResourceRequest
|
625
|
+
|
626
|
+
UntagResourceResponse.struct_class = Types::UntagResourceResponse
|
627
|
+
|
584
628
|
UpdateComputeEnvironmentRequest.add_member(:compute_environment, Shapes::ShapeRef.new(shape: String, required: true, location_name: "computeEnvironment"))
|
585
629
|
UpdateComputeEnvironmentRequest.add_member(:state, Shapes::ShapeRef.new(shape: CEState, location_name: "state"))
|
586
630
|
UpdateComputeEnvironmentRequest.add_member(:compute_resources, Shapes::ShapeRef.new(shape: ComputeResourceUpdate, location_name: "computeResources"))
|
@@ -759,6 +803,16 @@ module Aws::Batch
|
|
759
803
|
)
|
760
804
|
end)
|
761
805
|
|
806
|
+
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
807
|
+
o.name = "ListTagsForResource"
|
808
|
+
o.http_method = "GET"
|
809
|
+
o.http_request_uri = "/v1/tags/{resourceArn}"
|
810
|
+
o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
|
811
|
+
o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
|
812
|
+
o.errors << Shapes::ShapeRef.new(shape: ClientException)
|
813
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
814
|
+
end)
|
815
|
+
|
762
816
|
api.add_operation(:register_job_definition, Seahorse::Model::Operation.new.tap do |o|
|
763
817
|
o.name = "RegisterJobDefinition"
|
764
818
|
o.http_method = "POST"
|
@@ -779,6 +833,16 @@ module Aws::Batch
|
|
779
833
|
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
780
834
|
end)
|
781
835
|
|
836
|
+
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
837
|
+
o.name = "TagResource"
|
838
|
+
o.http_method = "POST"
|
839
|
+
o.http_request_uri = "/v1/tags/{resourceArn}"
|
840
|
+
o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
|
841
|
+
o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
|
842
|
+
o.errors << Shapes::ShapeRef.new(shape: ClientException)
|
843
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
844
|
+
end)
|
845
|
+
|
782
846
|
api.add_operation(:terminate_job, Seahorse::Model::Operation.new.tap do |o|
|
783
847
|
o.name = "TerminateJob"
|
784
848
|
o.http_method = "POST"
|
@@ -789,6 +853,16 @@ module Aws::Batch
|
|
789
853
|
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
790
854
|
end)
|
791
855
|
|
856
|
+
api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
|
857
|
+
o.name = "UntagResource"
|
858
|
+
o.http_method = "DELETE"
|
859
|
+
o.http_request_uri = "/v1/tags/{resourceArn}"
|
860
|
+
o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
|
861
|
+
o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
|
862
|
+
o.errors << Shapes::ShapeRef.new(shape: ClientException)
|
863
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
864
|
+
end)
|
865
|
+
|
792
866
|
api.add_operation(:update_compute_environment, Seahorse::Model::Operation.new.tap do |o|
|
793
867
|
o.name = "UpdateComputeEnvironment"
|
794
868
|
o.http_method = "POST"
|
data/lib/aws-sdk-batch/types.rb
CHANGED
@@ -224,6 +224,10 @@ module Aws::Batch
|
|
224
224
|
# used by the compute environment.
|
225
225
|
# @return [String]
|
226
226
|
#
|
227
|
+
# @!attribute [rw] tags
|
228
|
+
# The tags applied to the compute environment.
|
229
|
+
# @return [Hash<String,String>]
|
230
|
+
#
|
227
231
|
# @!attribute [rw] type
|
228
232
|
# The type of the compute environment.
|
229
233
|
# @return [String]
|
@@ -270,6 +274,7 @@ module Aws::Batch
|
|
270
274
|
:compute_environment_name,
|
271
275
|
:compute_environment_arn,
|
272
276
|
:ecs_cluster_arn,
|
277
|
+
:tags,
|
273
278
|
:type,
|
274
279
|
:state,
|
275
280
|
:status,
|
@@ -441,7 +446,11 @@ module Aws::Batch
|
|
441
446
|
# the compute environment. For AWS Batch, these take the form of
|
442
447
|
# "String1": "String2", where String1 is the tag key and String2
|
443
448
|
# is the tag value—for example, \\\{ "Name": "AWS Batch Instance -
|
444
|
-
# C4OnDemand" \\}.
|
449
|
+
# C4OnDemand" \\}. These tags can not be updated or removed after the
|
450
|
+
# compute environment has been created; any changes require creating a
|
451
|
+
# new compute environment and removing the old compute environment.
|
452
|
+
# These tags are not seen when using the AWS Batch ListTagsForResource
|
453
|
+
# API operation.
|
445
454
|
# @return [Hash<String,String>]
|
446
455
|
#
|
447
456
|
# @!attribute [rw] placement_group
|
@@ -563,11 +572,13 @@ module Aws::Batch
|
|
563
572
|
# @return [String]
|
564
573
|
#
|
565
574
|
# @!attribute [rw] vcpus
|
566
|
-
# The number of VCPUs allocated for the job.
|
575
|
+
# The number of VCPUs allocated for the job. This is a required
|
576
|
+
# parameter.
|
567
577
|
# @return [Integer]
|
568
578
|
#
|
569
579
|
# @!attribute [rw] memory
|
570
|
-
# The number of MiB of memory reserved for the job.
|
580
|
+
# The number of MiB of memory reserved for the job. This is a required
|
581
|
+
# parameter.
|
571
582
|
# @return [Integer]
|
572
583
|
#
|
573
584
|
# @!attribute [rw] command
|
@@ -581,12 +592,12 @@ module Aws::Batch
|
|
581
592
|
#
|
582
593
|
# @!attribute [rw] execution_role_arn
|
583
594
|
# The Amazon Resource Name (ARN) of the execution role that AWS Batch
|
584
|
-
# can assume. For more information, see [
|
595
|
+
# can assume. For more information, see [AWS Batch execution IAM
|
585
596
|
# role][1].
|
586
597
|
#
|
587
598
|
#
|
588
599
|
#
|
589
|
-
# [1]: https://docs.aws.amazon.com/
|
600
|
+
# [1]: https://docs.aws.amazon.com/batch/latest/userguide/execution-IAM-role.html
|
590
601
|
# @return [String]
|
591
602
|
#
|
592
603
|
# @!attribute [rw] volumes
|
@@ -1019,12 +1030,12 @@ module Aws::Batch
|
|
1019
1030
|
#
|
1020
1031
|
# @!attribute [rw] execution_role_arn
|
1021
1032
|
# The Amazon Resource Name (ARN) of the execution role that AWS Batch
|
1022
|
-
# can assume. For more information, see [
|
1033
|
+
# can assume. For more information, see [AWS Batch execution IAM
|
1023
1034
|
# role][1].
|
1024
1035
|
#
|
1025
1036
|
#
|
1026
1037
|
#
|
1027
|
-
# [1]: https://docs.aws.amazon.com/
|
1038
|
+
# [1]: https://docs.aws.amazon.com/batch/latest/userguide/execution-IAM-role.html
|
1028
1039
|
# @return [String]
|
1029
1040
|
#
|
1030
1041
|
# @!attribute [rw] volumes
|
@@ -1264,6 +1275,9 @@ module Aws::Batch
|
|
1264
1275
|
# },
|
1265
1276
|
# },
|
1266
1277
|
# service_role: "String", # required
|
1278
|
+
# tags: {
|
1279
|
+
# "TagKey" => "TagValue",
|
1280
|
+
# },
|
1267
1281
|
# }
|
1268
1282
|
#
|
1269
1283
|
# @!attribute [rw] compute_environment_name
|
@@ -1315,6 +1329,23 @@ module Aws::Batch
|
|
1315
1329
|
# </note>
|
1316
1330
|
# @return [String]
|
1317
1331
|
#
|
1332
|
+
# @!attribute [rw] tags
|
1333
|
+
# The tags that you apply to the compute environment to help you
|
1334
|
+
# categorize and organize your resources. Each tag consists of a key
|
1335
|
+
# and an optional value. For more information, see [Tagging AWS
|
1336
|
+
# Resources][1] in *AWS General Reference*.
|
1337
|
+
#
|
1338
|
+
# These tags can be updated or removed using the [TagResource][2] and
|
1339
|
+
# [UntagResource][3] API operations. These tags do not propagate to
|
1340
|
+
# the underlying compute resources.
|
1341
|
+
#
|
1342
|
+
#
|
1343
|
+
#
|
1344
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
|
1345
|
+
# [2]: https://docs.aws.amazon.com/batch/latest/APIReference/API_TagResource.html
|
1346
|
+
# [3]: https://docs.aws.amazon.com/batch/latest/APIReference/API_UntagResource.html
|
1347
|
+
# @return [Hash<String,String>]
|
1348
|
+
#
|
1318
1349
|
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/CreateComputeEnvironmentRequest AWS API Documentation
|
1319
1350
|
#
|
1320
1351
|
class CreateComputeEnvironmentRequest < Struct.new(
|
@@ -1322,7 +1353,8 @@ module Aws::Batch
|
|
1322
1353
|
:type,
|
1323
1354
|
:state,
|
1324
1355
|
:compute_resources,
|
1325
|
-
:service_role
|
1356
|
+
:service_role,
|
1357
|
+
:tags)
|
1326
1358
|
SENSITIVE = []
|
1327
1359
|
include Aws::Structure
|
1328
1360
|
end
|
@@ -1357,6 +1389,9 @@ module Aws::Batch
|
|
1357
1389
|
# compute_environment: "String", # required
|
1358
1390
|
# },
|
1359
1391
|
# ],
|
1392
|
+
# tags: {
|
1393
|
+
# "TagKey" => "TagValue",
|
1394
|
+
# },
|
1360
1395
|
# }
|
1361
1396
|
#
|
1362
1397
|
# @!attribute [rw] job_queue_name
|
@@ -1388,13 +1423,25 @@ module Aws::Batch
|
|
1388
1423
|
# compute environments with a job queue.
|
1389
1424
|
# @return [Array<Types::ComputeEnvironmentOrder>]
|
1390
1425
|
#
|
1426
|
+
# @!attribute [rw] tags
|
1427
|
+
# The tags that you apply to the job queue to help you categorize and
|
1428
|
+
# organize your resources. Each tag consists of a key and an optional
|
1429
|
+
# value. For more information, see [Tagging AWS Resources][1] in *AWS
|
1430
|
+
# General Reference*.
|
1431
|
+
#
|
1432
|
+
#
|
1433
|
+
#
|
1434
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
|
1435
|
+
# @return [Hash<String,String>]
|
1436
|
+
#
|
1391
1437
|
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/CreateJobQueueRequest AWS API Documentation
|
1392
1438
|
#
|
1393
1439
|
class CreateJobQueueRequest < Struct.new(
|
1394
1440
|
:job_queue_name,
|
1395
1441
|
:state,
|
1396
1442
|
:priority,
|
1397
|
-
:compute_environment_order
|
1443
|
+
:compute_environment_order,
|
1444
|
+
:tags)
|
1398
1445
|
SENSITIVE = []
|
1399
1446
|
include Aws::Structure
|
1400
1447
|
end
|
@@ -1870,6 +1917,10 @@ module Aws::Batch
|
|
1870
1917
|
# jobs.
|
1871
1918
|
# @return [Types::NodeProperties]
|
1872
1919
|
#
|
1920
|
+
# @!attribute [rw] tags
|
1921
|
+
# The tags applied to the job definition.
|
1922
|
+
# @return [Hash<String,String>]
|
1923
|
+
#
|
1873
1924
|
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/JobDefinition AWS API Documentation
|
1874
1925
|
#
|
1875
1926
|
class JobDefinition < Struct.new(
|
@@ -1882,7 +1933,8 @@ module Aws::Batch
|
|
1882
1933
|
:retry_strategy,
|
1883
1934
|
:container_properties,
|
1884
1935
|
:timeout,
|
1885
|
-
:node_properties
|
1936
|
+
:node_properties,
|
1937
|
+
:tags)
|
1886
1938
|
SENSITIVE = []
|
1887
1939
|
include Aws::Structure
|
1888
1940
|
end
|
@@ -1916,6 +1968,10 @@ module Aws::Batch
|
|
1916
1968
|
|
1917
1969
|
# An object representing an AWS Batch job.
|
1918
1970
|
#
|
1971
|
+
# @!attribute [rw] job_arn
|
1972
|
+
# The Amazon Resource Name (ARN) of the job.
|
1973
|
+
# @return [String]
|
1974
|
+
#
|
1919
1975
|
# @!attribute [rw] job_name
|
1920
1976
|
# The name of the job.
|
1921
1977
|
# @return [String]
|
@@ -2014,9 +2070,14 @@ module Aws::Batch
|
|
2014
2070
|
# The timeout configuration for the job.
|
2015
2071
|
# @return [Types::JobTimeout]
|
2016
2072
|
#
|
2073
|
+
# @!attribute [rw] tags
|
2074
|
+
# The tags applied to the job.
|
2075
|
+
# @return [Hash<String,String>]
|
2076
|
+
#
|
2017
2077
|
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/JobDetail AWS API Documentation
|
2018
2078
|
#
|
2019
2079
|
class JobDetail < Struct.new(
|
2080
|
+
:job_arn,
|
2020
2081
|
:job_name,
|
2021
2082
|
:job_id,
|
2022
2083
|
:job_queue,
|
@@ -2034,7 +2095,8 @@ module Aws::Batch
|
|
2034
2095
|
:node_details,
|
2035
2096
|
:node_properties,
|
2036
2097
|
:array_properties,
|
2037
|
-
:timeout
|
2098
|
+
:timeout,
|
2099
|
+
:tags)
|
2038
2100
|
SENSITIVE = []
|
2039
2101
|
include Aws::Structure
|
2040
2102
|
end
|
@@ -2075,6 +2137,10 @@ module Aws::Batch
|
|
2075
2137
|
# selected for job placement in ascending order.
|
2076
2138
|
# @return [Array<Types::ComputeEnvironmentOrder>]
|
2077
2139
|
#
|
2140
|
+
# @!attribute [rw] tags
|
2141
|
+
# The tags applied to the job queue.
|
2142
|
+
# @return [Hash<String,String>]
|
2143
|
+
#
|
2078
2144
|
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/JobQueueDetail AWS API Documentation
|
2079
2145
|
#
|
2080
2146
|
class JobQueueDetail < Struct.new(
|
@@ -2084,13 +2150,18 @@ module Aws::Batch
|
|
2084
2150
|
:status,
|
2085
2151
|
:status_reason,
|
2086
2152
|
:priority,
|
2087
|
-
:compute_environment_order
|
2153
|
+
:compute_environment_order,
|
2154
|
+
:tags)
|
2088
2155
|
SENSITIVE = []
|
2089
2156
|
include Aws::Structure
|
2090
2157
|
end
|
2091
2158
|
|
2092
2159
|
# An object representing summary details of a job.
|
2093
2160
|
#
|
2161
|
+
# @!attribute [rw] job_arn
|
2162
|
+
# The Amazon Resource Name (ARN) of the job.
|
2163
|
+
# @return [String]
|
2164
|
+
#
|
2094
2165
|
# @!attribute [rw] job_id
|
2095
2166
|
# The ID of the job.
|
2096
2167
|
# @return [String]
|
@@ -2143,6 +2214,7 @@ module Aws::Batch
|
|
2143
2214
|
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/JobSummary AWS API Documentation
|
2144
2215
|
#
|
2145
2216
|
class JobSummary < Struct.new(
|
2217
|
+
:job_arn,
|
2146
2218
|
:job_id,
|
2147
2219
|
:job_name,
|
2148
2220
|
:created_at,
|
@@ -2290,13 +2362,13 @@ module Aws::Batch
|
|
2290
2362
|
# @return [Array<Types::Device>]
|
2291
2363
|
#
|
2292
2364
|
# @!attribute [rw] init_process_enabled
|
2293
|
-
#
|
2294
|
-
# reaps processes. This parameter maps to the `--init`
|
2295
|
-
# [docker run][1]. This parameter requires version 1.25 of
|
2296
|
-
# Remote API or greater on your container instance. To
|
2297
|
-
# Docker Remote API version on your container instance, log
|
2298
|
-
# container instance and run the following command: `sudo
|
2299
|
-
# version | grep "Server API version"`
|
2365
|
+
# If true, run an `init` process inside the container that forwards
|
2366
|
+
# signals and reaps processes. This parameter maps to the `--init`
|
2367
|
+
# option to [docker run][1]. This parameter requires version 1.25 of
|
2368
|
+
# the Docker Remote API or greater on your container instance. To
|
2369
|
+
# check the Docker Remote API version on your container instance, log
|
2370
|
+
# into your container instance and run the following command: `sudo
|
2371
|
+
# docker version | grep "Server API version"`
|
2300
2372
|
#
|
2301
2373
|
#
|
2302
2374
|
#
|
@@ -2460,6 +2532,41 @@ module Aws::Batch
|
|
2460
2532
|
include Aws::Structure
|
2461
2533
|
end
|
2462
2534
|
|
2535
|
+
# @note When making an API call, you may pass ListTagsForResourceRequest
|
2536
|
+
# data as a hash:
|
2537
|
+
#
|
2538
|
+
# {
|
2539
|
+
# resource_arn: "String", # required
|
2540
|
+
# }
|
2541
|
+
#
|
2542
|
+
# @!attribute [rw] resource_arn
|
2543
|
+
# The Amazon Resource Name (ARN) that identifies the resource for
|
2544
|
+
# which to list the tags. AWS Batch resources that support tags are
|
2545
|
+
# compute environments, jobs, job definitions, and job queues. ARNs
|
2546
|
+
# for child jobs of array and multi-node parallel (MNP) jobs are not
|
2547
|
+
# supported.
|
2548
|
+
# @return [String]
|
2549
|
+
#
|
2550
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/ListTagsForResourceRequest AWS API Documentation
|
2551
|
+
#
|
2552
|
+
class ListTagsForResourceRequest < Struct.new(
|
2553
|
+
:resource_arn)
|
2554
|
+
SENSITIVE = []
|
2555
|
+
include Aws::Structure
|
2556
|
+
end
|
2557
|
+
|
2558
|
+
# @!attribute [rw] tags
|
2559
|
+
# The tags for the resource.
|
2560
|
+
# @return [Hash<String,String>]
|
2561
|
+
#
|
2562
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/ListTagsForResourceResponse AWS API Documentation
|
2563
|
+
#
|
2564
|
+
class ListTagsForResourceResponse < Struct.new(
|
2565
|
+
:tags)
|
2566
|
+
SENSITIVE = []
|
2567
|
+
include Aws::Structure
|
2568
|
+
end
|
2569
|
+
|
2463
2570
|
# Log configuration options to send to a custom log driver for the
|
2464
2571
|
# container.
|
2465
2572
|
#
|
@@ -2487,14 +2594,53 @@ module Aws::Batch
|
|
2487
2594
|
# The supported log drivers are `awslogs`, `fluentd`, `gelf`,
|
2488
2595
|
# `json-file`, `journald`, `logentries`, `syslog`, and `splunk`.
|
2489
2596
|
#
|
2490
|
-
#
|
2491
|
-
#
|
2492
|
-
#
|
2597
|
+
# awslogs
|
2598
|
+
#
|
2599
|
+
# : Specifies the Amazon CloudWatch Logs logging driver. For more
|
2600
|
+
# information, see [Using the awslogs Log Driver][1] in the *AWS
|
2601
|
+
# Batch User Guide* and [Amazon CloudWatch Logs logging driver][2]
|
2602
|
+
# in the Docker documentation.
|
2603
|
+
#
|
2604
|
+
# fluentd
|
2605
|
+
#
|
2606
|
+
# : Specifies the Fluentd logging driver. For more information,
|
2607
|
+
# including usage and options, see [Fluentd logging driver][3] in
|
2608
|
+
# the Docker documentation.
|
2609
|
+
#
|
2610
|
+
# gelf
|
2611
|
+
#
|
2612
|
+
# : Specifies the Graylog Extended Format (GELF) logging driver. For
|
2613
|
+
# more information, including usage and options, see [Graylog
|
2614
|
+
# Extended Format logging driver][4] in the Docker documentation.
|
2615
|
+
#
|
2616
|
+
# journald
|
2617
|
+
#
|
2618
|
+
# : Specifies the journald logging driver. For more information,
|
2619
|
+
# including usage and options, see [Journald logging driver][5] in
|
2620
|
+
# the Docker documentation.
|
2621
|
+
#
|
2622
|
+
# json-file
|
2623
|
+
#
|
2624
|
+
# : Specifies the JSON file logging driver. For more information,
|
2625
|
+
# including usage and options, see [JSON File logging driver][6] in
|
2626
|
+
# the Docker documentation.
|
2627
|
+
#
|
2628
|
+
# splunk
|
2629
|
+
#
|
2630
|
+
# : Specifies the Splunk logging driver. For more information,
|
2631
|
+
# including usage and options, see [Splunk logging driver][7] in the
|
2632
|
+
# Docker documentation.
|
2633
|
+
#
|
2634
|
+
# syslog
|
2635
|
+
#
|
2636
|
+
# : Specifies the syslog logging driver. For more information,
|
2637
|
+
# including usage and options, see [Syslog logging driver][8] in the
|
2638
|
+
# Docker documentation.
|
2493
2639
|
#
|
2494
2640
|
# <note markdown="1"> If you have a custom driver that is not listed earlier that you
|
2495
2641
|
# would like to work with the Amazon ECS container agent, you can fork
|
2496
2642
|
# the Amazon ECS container agent project that is [available on
|
2497
|
-
# GitHub][
|
2643
|
+
# GitHub][9] and customize it to work with that driver. We encourage
|
2498
2644
|
# you to submit pull requests for changes that you would like to have
|
2499
2645
|
# included. However, Amazon Web Services does not currently support
|
2500
2646
|
# running modified copies of this software.
|
@@ -2509,8 +2655,15 @@ module Aws::Batch
|
|
2509
2655
|
#
|
2510
2656
|
#
|
2511
2657
|
#
|
2512
|
-
# [1]: https://docs.aws.amazon.com/
|
2513
|
-
# [2]: https://
|
2658
|
+
# [1]: https://docs.aws.amazon.com/batch/latest/userguide/using_awslogs.html
|
2659
|
+
# [2]: https://docs.docker.com/config/containers/logging/awslogs/
|
2660
|
+
# [3]: https://docs.docker.com/config/containers/logging/fluentd/
|
2661
|
+
# [4]: https://docs.docker.com/config/containers/logging/gelf/
|
2662
|
+
# [5]: https://docs.docker.com/config/containers/logging/journald/
|
2663
|
+
# [6]: https://docs.docker.com/config/containers/logging/json-file/
|
2664
|
+
# [7]: https://docs.docker.com/config/containers/logging/splunk/
|
2665
|
+
# [8]: https://docs.docker.com/config/containers/logging/syslog/
|
2666
|
+
# [9]: https://github.com/aws/amazon-ecs-agent
|
2514
2667
|
# @return [String]
|
2515
2668
|
#
|
2516
2669
|
# @!attribute [rw] options
|
@@ -2523,12 +2676,11 @@ module Aws::Batch
|
|
2523
2676
|
#
|
2524
2677
|
# @!attribute [rw] secret_options
|
2525
2678
|
# The secrets to pass to the log configuration. For more information,
|
2526
|
-
# see [Specifying Sensitive Data][1] in the *
|
2527
|
-
# Service Developer Guide*.
|
2679
|
+
# see [Specifying Sensitive Data][1] in the *AWS Batch User Guide*.
|
2528
2680
|
#
|
2529
2681
|
#
|
2530
2682
|
#
|
2531
|
-
# [1]: https://docs.aws.amazon.com/
|
2683
|
+
# [1]: https://docs.aws.amazon.com/batch/latest/userguide/specifying-sensitive-data.html
|
2532
2684
|
# @return [Array<Types::Secret>]
|
2533
2685
|
#
|
2534
2686
|
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/LogConfiguration AWS API Documentation
|
@@ -3203,6 +3355,9 @@ module Aws::Batch
|
|
3203
3355
|
# timeout: {
|
3204
3356
|
# attempt_duration_seconds: 1,
|
3205
3357
|
# },
|
3358
|
+
# tags: {
|
3359
|
+
# "TagKey" => "TagValue",
|
3360
|
+
# },
|
3206
3361
|
# }
|
3207
3362
|
#
|
3208
3363
|
# @!attribute [rw] job_definition_name
|
@@ -3264,6 +3419,17 @@ module Aws::Batch
|
|
3264
3419
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/job_timeouts.html
|
3265
3420
|
# @return [Types::JobTimeout]
|
3266
3421
|
#
|
3422
|
+
# @!attribute [rw] tags
|
3423
|
+
# The tags that you apply to the job definition to help you categorize
|
3424
|
+
# and organize your resources. Each tag consists of a key and an
|
3425
|
+
# optional value. For more information, see [Tagging AWS Resources][1]
|
3426
|
+
# in *AWS General Reference*.
|
3427
|
+
#
|
3428
|
+
#
|
3429
|
+
#
|
3430
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
|
3431
|
+
# @return [Hash<String,String>]
|
3432
|
+
#
|
3267
3433
|
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/RegisterJobDefinitionRequest AWS API Documentation
|
3268
3434
|
#
|
3269
3435
|
class RegisterJobDefinitionRequest < Struct.new(
|
@@ -3273,7 +3439,8 @@ module Aws::Batch
|
|
3273
3439
|
:container_properties,
|
3274
3440
|
:node_properties,
|
3275
3441
|
:retry_strategy,
|
3276
|
-
:timeout
|
3442
|
+
:timeout,
|
3443
|
+
:tags)
|
3277
3444
|
SENSITIVE = []
|
3278
3445
|
include Aws::Structure
|
3279
3446
|
end
|
@@ -3488,6 +3655,9 @@ module Aws::Batch
|
|
3488
3655
|
# timeout: {
|
3489
3656
|
# attempt_duration_seconds: 1,
|
3490
3657
|
# },
|
3658
|
+
# tags: {
|
3659
|
+
# "TagKey" => "TagValue",
|
3660
|
+
# },
|
3491
3661
|
# }
|
3492
3662
|
#
|
3493
3663
|
# @!attribute [rw] job_name
|
@@ -3575,6 +3745,17 @@ module Aws::Batch
|
|
3575
3745
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/job_timeouts.html
|
3576
3746
|
# @return [Types::JobTimeout]
|
3577
3747
|
#
|
3748
|
+
# @!attribute [rw] tags
|
3749
|
+
# The tags that you apply to the job request to help you categorize
|
3750
|
+
# and organize your resources. Each tag consists of a key and an
|
3751
|
+
# optional value. For more information, see [Tagging AWS Resources][1]
|
3752
|
+
# in *AWS General Reference*.
|
3753
|
+
#
|
3754
|
+
#
|
3755
|
+
#
|
3756
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
|
3757
|
+
# @return [Hash<String,String>]
|
3758
|
+
#
|
3578
3759
|
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/SubmitJobRequest AWS API Documentation
|
3579
3760
|
#
|
3580
3761
|
class SubmitJobRequest < Struct.new(
|
@@ -3587,11 +3768,16 @@ module Aws::Batch
|
|
3587
3768
|
:container_overrides,
|
3588
3769
|
:node_overrides,
|
3589
3770
|
:retry_strategy,
|
3590
|
-
:timeout
|
3771
|
+
:timeout,
|
3772
|
+
:tags)
|
3591
3773
|
SENSITIVE = []
|
3592
3774
|
include Aws::Structure
|
3593
3775
|
end
|
3594
3776
|
|
3777
|
+
# @!attribute [rw] job_arn
|
3778
|
+
# The Amazon Resource Name (ARN) for the job.
|
3779
|
+
# @return [String]
|
3780
|
+
#
|
3595
3781
|
# @!attribute [rw] job_name
|
3596
3782
|
# The name of the job.
|
3597
3783
|
# @return [String]
|
@@ -3603,12 +3789,54 @@ module Aws::Batch
|
|
3603
3789
|
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/SubmitJobResponse AWS API Documentation
|
3604
3790
|
#
|
3605
3791
|
class SubmitJobResponse < Struct.new(
|
3792
|
+
:job_arn,
|
3606
3793
|
:job_name,
|
3607
3794
|
:job_id)
|
3608
3795
|
SENSITIVE = []
|
3609
3796
|
include Aws::Structure
|
3610
3797
|
end
|
3611
3798
|
|
3799
|
+
# @note When making an API call, you may pass TagResourceRequest
|
3800
|
+
# data as a hash:
|
3801
|
+
#
|
3802
|
+
# {
|
3803
|
+
# resource_arn: "String", # required
|
3804
|
+
# tags: { # required
|
3805
|
+
# "TagKey" => "TagValue",
|
3806
|
+
# },
|
3807
|
+
# }
|
3808
|
+
#
|
3809
|
+
# @!attribute [rw] resource_arn
|
3810
|
+
# The Amazon Resource Name (ARN) of the resource to which to add tags.
|
3811
|
+
# AWS Batch resources that support tags are compute environments,
|
3812
|
+
# jobs, job definitions, and job queues. ARNs for child jobs of array
|
3813
|
+
# and multi-node parallel (MNP) jobs are not supported.
|
3814
|
+
# @return [String]
|
3815
|
+
#
|
3816
|
+
# @!attribute [rw] tags
|
3817
|
+
# The tags that you apply to the resource to help you categorize and
|
3818
|
+
# organize your resources. Each tag consists of a key and an optional
|
3819
|
+
# value. For more information, see [Tagging AWS Resources][1] in *AWS
|
3820
|
+
# General Reference*.
|
3821
|
+
#
|
3822
|
+
#
|
3823
|
+
#
|
3824
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
|
3825
|
+
# @return [Hash<String,String>]
|
3826
|
+
#
|
3827
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/TagResourceRequest AWS API Documentation
|
3828
|
+
#
|
3829
|
+
class TagResourceRequest < Struct.new(
|
3830
|
+
:resource_arn,
|
3831
|
+
:tags)
|
3832
|
+
SENSITIVE = []
|
3833
|
+
include Aws::Structure
|
3834
|
+
end
|
3835
|
+
|
3836
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/TagResourceResponse AWS API Documentation
|
3837
|
+
#
|
3838
|
+
class TagResourceResponse < Aws::EmptyStructure; end
|
3839
|
+
|
3612
3840
|
# @note When making an API call, you may pass TerminateJobRequest
|
3613
3841
|
# data as a hash:
|
3614
3842
|
#
|
@@ -3653,7 +3881,8 @@ module Aws::Batch
|
|
3653
3881
|
# }
|
3654
3882
|
#
|
3655
3883
|
# @!attribute [rw] container_path
|
3656
|
-
# The absolute file path where the tmpfs volume is to
|
3884
|
+
# The absolute file path in the container where the tmpfs volume is to
|
3885
|
+
# be mounted.
|
3657
3886
|
# @return [String]
|
3658
3887
|
#
|
3659
3888
|
# @!attribute [rw] size
|
@@ -3663,13 +3892,16 @@ module Aws::Batch
|
|
3663
3892
|
# @!attribute [rw] mount_options
|
3664
3893
|
# The list of tmpfs volume mount options.
|
3665
3894
|
#
|
3666
|
-
# Valid values: `
|
3667
|
-
#
|
3668
|
-
# "
|
3669
|
-
# "
|
3670
|
-
# "
|
3671
|
-
# "
|
3672
|
-
#
|
3895
|
+
# Valid values: "`defaults`" \| "`ro`" \| "`rw`" \| "`suid`"
|
3896
|
+
# \| "`nosuid`" \| "`dev`" \| "`nodev`" \| "`exec`" \|
|
3897
|
+
# "`noexec`" \| "`sync`" \| "`async`" \| "`dirsync`" \|
|
3898
|
+
# "`remount`" \| "`mand`" \| "`nomand`" \| "`atime`" \|
|
3899
|
+
# "`noatime`" \| "`diratime`" \| "`nodiratime`" \| "`bind`" \|
|
3900
|
+
# "`rbind" | "unbindable" | "runbindable" | "private" | "rprivate" |
|
3901
|
+
# "shared" | "rshared" | "slave" | "rslave" | "relatime`" \|
|
3902
|
+
# "`norelatime`" \| "`strictatime`" \| "`nostrictatime`" \|
|
3903
|
+
# "`mode`" \| "`uid`" \| "`gid`" \| "`nr_inodes`" \|
|
3904
|
+
# "`nr_blocks`" \| "`mpol`"
|
3673
3905
|
# @return [Array<String>]
|
3674
3906
|
#
|
3675
3907
|
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/Tmpfs AWS API Documentation
|
@@ -3715,6 +3947,38 @@ module Aws::Batch
|
|
3715
3947
|
include Aws::Structure
|
3716
3948
|
end
|
3717
3949
|
|
3950
|
+
# @note When making an API call, you may pass UntagResourceRequest
|
3951
|
+
# data as a hash:
|
3952
|
+
#
|
3953
|
+
# {
|
3954
|
+
# resource_arn: "String", # required
|
3955
|
+
# tag_keys: ["TagKey"], # required
|
3956
|
+
# }
|
3957
|
+
#
|
3958
|
+
# @!attribute [rw] resource_arn
|
3959
|
+
# The Amazon Resource Name (ARN) of the resource from which to delete
|
3960
|
+
# tags. AWS Batch resources that support tags are compute
|
3961
|
+
# environments, jobs, job definitions, and job queues. ARNs for child
|
3962
|
+
# jobs of array and multi-node parallel (MNP) jobs are not supported.
|
3963
|
+
# @return [String]
|
3964
|
+
#
|
3965
|
+
# @!attribute [rw] tag_keys
|
3966
|
+
# The keys of the tags to be removed.
|
3967
|
+
# @return [Array<String>]
|
3968
|
+
#
|
3969
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/UntagResourceRequest AWS API Documentation
|
3970
|
+
#
|
3971
|
+
class UntagResourceRequest < Struct.new(
|
3972
|
+
:resource_arn,
|
3973
|
+
:tag_keys)
|
3974
|
+
SENSITIVE = []
|
3975
|
+
include Aws::Structure
|
3976
|
+
end
|
3977
|
+
|
3978
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/UntagResourceResponse AWS API Documentation
|
3979
|
+
#
|
3980
|
+
class UntagResourceResponse < Aws::EmptyStructure; end
|
3981
|
+
|
3718
3982
|
# @note When making an API call, you may pass UpdateComputeEnvironmentRequest
|
3719
3983
|
# data as a hash:
|
3720
3984
|
#
|
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.39.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: 2020-
|
11
|
+
date: 2020-10-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|