aws-sdk-batch 1.35.0 → 1.40.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 +2 -1
- data/lib/aws-sdk-batch/client.rb +427 -3
- data/lib/aws-sdk-batch/client_api.rb +125 -0
- data/lib/aws-sdk-batch/types.rb +949 -39
- metadata +4 -4
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 36addf6b2f87fc50b90b815bde8467754bc105f327671194cc51c07ebaad32dd
         | 
| 4 | 
            +
              data.tar.gz: 815ea6e5c8144e1ecd12d3a03e171bef5160ed4581dc966ecd793891f2349500
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 583d4c3a6926f9bf9e79327893e7f285764e71f9e5d453d9f1974a0231ced5a38c921b08f6b5a984c16e92bdafae408c5b730446b77ef6adcbede910300cbad5
         | 
| 7 | 
            +
              data.tar.gz: 123559d810b0e5256e9eb74a6675b4a16756f2e5dc18885a037c5d008b1b72c0ed77fcafa226b47d2c3fc08e11d1b9b6383363061d34a06f6b12e73337443f29
         | 
    
        data/lib/aws-sdk-batch.rb
    CHANGED
    
    | @@ -7,6 +7,7 @@ | |
| 7 7 | 
             
            #
         | 
| 8 8 | 
             
            # WARNING ABOUT GENERATED CODE
         | 
| 9 9 |  | 
| 10 | 
            +
             | 
| 10 11 | 
             
            require 'aws-sdk-core'
         | 
| 11 12 | 
             
            require 'aws-sigv4'
         | 
| 12 13 |  | 
| @@ -47,6 +48,6 @@ require_relative 'aws-sdk-batch/customizations' | |
| 47 48 | 
             
            # @!group service
         | 
| 48 49 | 
             
            module Aws::Batch
         | 
| 49 50 |  | 
| 50 | 
            -
              GEM_VERSION = '1. | 
| 51 | 
            +
              GEM_VERSION = '1.40.0'
         | 
| 51 52 |  | 
| 52 53 | 
             
            end
         | 
    
        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
         | 
| @@ -624,7 +643,9 @@ module Aws::Batch | |
| 624 643 | 
             
                #
         | 
| 625 644 | 
             
                # @option params [String] :state
         | 
| 626 645 | 
             
                #   The state of the job queue. If the job queue state is `ENABLED`, it is
         | 
| 627 | 
            -
                #   able to accept jobs.
         | 
| 646 | 
            +
                #   able to accept jobs. If the job queue state is `DISABLED`, new jobs
         | 
| 647 | 
            +
                #   cannot be added to the queue, but jobs already in the queue can
         | 
| 648 | 
            +
                #   finish.
         | 
| 628 649 | 
             
                #
         | 
| 629 650 | 
             
                # @option params [required, Integer] :priority
         | 
| 630 651 | 
             
                #   The priority of the job queue. Job queues with a higher priority (or a
         | 
| @@ -642,6 +663,16 @@ module Aws::Batch | |
| 642 663 | 
             
                #   associate them with a job queue. You can associate up to three compute
         | 
| 643 664 | 
             
                #   environments with a job queue.
         | 
| 644 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 | 
            +
                #
         | 
| 645 676 | 
             
                # @return [Types::CreateJobQueueResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
         | 
| 646 677 | 
             
                #
         | 
| 647 678 | 
             
                #   * {Types::CreateJobQueueResponse#job_queue_name #job_queue_name} => String
         | 
| @@ -709,6 +740,9 @@ module Aws::Batch | |
| 709 740 | 
             
                #         compute_environment: "String", # required
         | 
| 710 741 | 
             
                #       },
         | 
| 711 742 | 
             
                #     ],
         | 
| 743 | 
            +
                #     tags: {
         | 
| 744 | 
            +
                #       "TagKey" => "TagValue",
         | 
| 745 | 
            +
                #     },
         | 
| 712 746 | 
             
                #   })
         | 
| 713 747 | 
             
                #
         | 
| 714 748 | 
             
                # @example Response structure
         | 
| @@ -949,6 +983,8 @@ module Aws::Batch | |
| 949 983 | 
             
                #   resp.compute_environments[0].compute_environment_name #=> String
         | 
| 950 984 | 
             
                #   resp.compute_environments[0].compute_environment_arn #=> String
         | 
| 951 985 | 
             
                #   resp.compute_environments[0].ecs_cluster_arn #=> String
         | 
| 986 | 
            +
                #   resp.compute_environments[0].tags #=> Hash
         | 
| 987 | 
            +
                #   resp.compute_environments[0].tags["TagKey"] #=> String
         | 
| 952 988 | 
             
                #   resp.compute_environments[0].type #=> String, one of "MANAGED", "UNMANAGED"
         | 
| 953 989 | 
             
                #   resp.compute_environments[0].state #=> String, one of "ENABLED", "DISABLED"
         | 
| 954 990 | 
             
                #   resp.compute_environments[0].status #=> String, one of "CREATING", "UPDATING", "DELETING", "DELETED", "VALID", "INVALID"
         | 
| @@ -1091,12 +1127,18 @@ module Aws::Batch | |
| 1091 1127 | 
             
                #   resp.job_definitions[0].parameters #=> Hash
         | 
| 1092 1128 | 
             
                #   resp.job_definitions[0].parameters["String"] #=> String
         | 
| 1093 1129 | 
             
                #   resp.job_definitions[0].retry_strategy.attempts #=> Integer
         | 
| 1130 | 
            +
                #   resp.job_definitions[0].retry_strategy.evaluate_on_exit #=> Array
         | 
| 1131 | 
            +
                #   resp.job_definitions[0].retry_strategy.evaluate_on_exit[0].on_status_reason #=> String
         | 
| 1132 | 
            +
                #   resp.job_definitions[0].retry_strategy.evaluate_on_exit[0].on_reason #=> String
         | 
| 1133 | 
            +
                #   resp.job_definitions[0].retry_strategy.evaluate_on_exit[0].on_exit_code #=> String
         | 
| 1134 | 
            +
                #   resp.job_definitions[0].retry_strategy.evaluate_on_exit[0].action #=> String, one of "RETRY", "EXIT"
         | 
| 1094 1135 | 
             
                #   resp.job_definitions[0].container_properties.image #=> String
         | 
| 1095 1136 | 
             
                #   resp.job_definitions[0].container_properties.vcpus #=> Integer
         | 
| 1096 1137 | 
             
                #   resp.job_definitions[0].container_properties.memory #=> Integer
         | 
| 1097 1138 | 
             
                #   resp.job_definitions[0].container_properties.command #=> Array
         | 
| 1098 1139 | 
             
                #   resp.job_definitions[0].container_properties.command[0] #=> String
         | 
| 1099 1140 | 
             
                #   resp.job_definitions[0].container_properties.job_role_arn #=> String
         | 
| 1141 | 
            +
                #   resp.job_definitions[0].container_properties.execution_role_arn #=> String
         | 
| 1100 1142 | 
             
                #   resp.job_definitions[0].container_properties.volumes #=> Array
         | 
| 1101 1143 | 
             
                #   resp.job_definitions[0].container_properties.volumes[0].host.source_path #=> String
         | 
| 1102 1144 | 
             
                #   resp.job_definitions[0].container_properties.volumes[0].name #=> String
         | 
| @@ -1123,6 +1165,24 @@ module Aws::Batch | |
| 1123 1165 | 
             
                #   resp.job_definitions[0].container_properties.linux_parameters.devices[0].container_path #=> String
         | 
| 1124 1166 | 
             
                #   resp.job_definitions[0].container_properties.linux_parameters.devices[0].permissions #=> Array
         | 
| 1125 1167 | 
             
                #   resp.job_definitions[0].container_properties.linux_parameters.devices[0].permissions[0] #=> String, one of "READ", "WRITE", "MKNOD"
         | 
| 1168 | 
            +
                #   resp.job_definitions[0].container_properties.linux_parameters.init_process_enabled #=> Boolean
         | 
| 1169 | 
            +
                #   resp.job_definitions[0].container_properties.linux_parameters.shared_memory_size #=> Integer
         | 
| 1170 | 
            +
                #   resp.job_definitions[0].container_properties.linux_parameters.tmpfs #=> Array
         | 
| 1171 | 
            +
                #   resp.job_definitions[0].container_properties.linux_parameters.tmpfs[0].container_path #=> String
         | 
| 1172 | 
            +
                #   resp.job_definitions[0].container_properties.linux_parameters.tmpfs[0].size #=> Integer
         | 
| 1173 | 
            +
                #   resp.job_definitions[0].container_properties.linux_parameters.tmpfs[0].mount_options #=> Array
         | 
| 1174 | 
            +
                #   resp.job_definitions[0].container_properties.linux_parameters.tmpfs[0].mount_options[0] #=> String
         | 
| 1175 | 
            +
                #   resp.job_definitions[0].container_properties.linux_parameters.max_swap #=> Integer
         | 
| 1176 | 
            +
                #   resp.job_definitions[0].container_properties.linux_parameters.swappiness #=> Integer
         | 
| 1177 | 
            +
                #   resp.job_definitions[0].container_properties.log_configuration.log_driver #=> String, one of "json-file", "syslog", "journald", "gelf", "fluentd", "awslogs", "splunk"
         | 
| 1178 | 
            +
                #   resp.job_definitions[0].container_properties.log_configuration.options #=> Hash
         | 
| 1179 | 
            +
                #   resp.job_definitions[0].container_properties.log_configuration.options["String"] #=> String
         | 
| 1180 | 
            +
                #   resp.job_definitions[0].container_properties.log_configuration.secret_options #=> Array
         | 
| 1181 | 
            +
                #   resp.job_definitions[0].container_properties.log_configuration.secret_options[0].name #=> String
         | 
| 1182 | 
            +
                #   resp.job_definitions[0].container_properties.log_configuration.secret_options[0].value_from #=> String
         | 
| 1183 | 
            +
                #   resp.job_definitions[0].container_properties.secrets #=> Array
         | 
| 1184 | 
            +
                #   resp.job_definitions[0].container_properties.secrets[0].name #=> String
         | 
| 1185 | 
            +
                #   resp.job_definitions[0].container_properties.secrets[0].value_from #=> String
         | 
| 1126 1186 | 
             
                #   resp.job_definitions[0].timeout.attempt_duration_seconds #=> Integer
         | 
| 1127 1187 | 
             
                #   resp.job_definitions[0].node_properties.num_nodes #=> Integer
         | 
| 1128 1188 | 
             
                #   resp.job_definitions[0].node_properties.main_node #=> Integer
         | 
| @@ -1134,6 +1194,7 @@ module Aws::Batch | |
| 1134 1194 | 
             
                #   resp.job_definitions[0].node_properties.node_range_properties[0].container.command #=> Array
         | 
| 1135 1195 | 
             
                #   resp.job_definitions[0].node_properties.node_range_properties[0].container.command[0] #=> String
         | 
| 1136 1196 | 
             
                #   resp.job_definitions[0].node_properties.node_range_properties[0].container.job_role_arn #=> String
         | 
| 1197 | 
            +
                #   resp.job_definitions[0].node_properties.node_range_properties[0].container.execution_role_arn #=> String
         | 
| 1137 1198 | 
             
                #   resp.job_definitions[0].node_properties.node_range_properties[0].container.volumes #=> Array
         | 
| 1138 1199 | 
             
                #   resp.job_definitions[0].node_properties.node_range_properties[0].container.volumes[0].host.source_path #=> String
         | 
| 1139 1200 | 
             
                #   resp.job_definitions[0].node_properties.node_range_properties[0].container.volumes[0].name #=> String
         | 
| @@ -1160,6 +1221,26 @@ module Aws::Batch | |
| 1160 1221 | 
             
                #   resp.job_definitions[0].node_properties.node_range_properties[0].container.linux_parameters.devices[0].container_path #=> String
         | 
| 1161 1222 | 
             
                #   resp.job_definitions[0].node_properties.node_range_properties[0].container.linux_parameters.devices[0].permissions #=> Array
         | 
| 1162 1223 | 
             
                #   resp.job_definitions[0].node_properties.node_range_properties[0].container.linux_parameters.devices[0].permissions[0] #=> String, one of "READ", "WRITE", "MKNOD"
         | 
| 1224 | 
            +
                #   resp.job_definitions[0].node_properties.node_range_properties[0].container.linux_parameters.init_process_enabled #=> Boolean
         | 
| 1225 | 
            +
                #   resp.job_definitions[0].node_properties.node_range_properties[0].container.linux_parameters.shared_memory_size #=> Integer
         | 
| 1226 | 
            +
                #   resp.job_definitions[0].node_properties.node_range_properties[0].container.linux_parameters.tmpfs #=> Array
         | 
| 1227 | 
            +
                #   resp.job_definitions[0].node_properties.node_range_properties[0].container.linux_parameters.tmpfs[0].container_path #=> String
         | 
| 1228 | 
            +
                #   resp.job_definitions[0].node_properties.node_range_properties[0].container.linux_parameters.tmpfs[0].size #=> Integer
         | 
| 1229 | 
            +
                #   resp.job_definitions[0].node_properties.node_range_properties[0].container.linux_parameters.tmpfs[0].mount_options #=> Array
         | 
| 1230 | 
            +
                #   resp.job_definitions[0].node_properties.node_range_properties[0].container.linux_parameters.tmpfs[0].mount_options[0] #=> String
         | 
| 1231 | 
            +
                #   resp.job_definitions[0].node_properties.node_range_properties[0].container.linux_parameters.max_swap #=> Integer
         | 
| 1232 | 
            +
                #   resp.job_definitions[0].node_properties.node_range_properties[0].container.linux_parameters.swappiness #=> Integer
         | 
| 1233 | 
            +
                #   resp.job_definitions[0].node_properties.node_range_properties[0].container.log_configuration.log_driver #=> String, one of "json-file", "syslog", "journald", "gelf", "fluentd", "awslogs", "splunk"
         | 
| 1234 | 
            +
                #   resp.job_definitions[0].node_properties.node_range_properties[0].container.log_configuration.options #=> Hash
         | 
| 1235 | 
            +
                #   resp.job_definitions[0].node_properties.node_range_properties[0].container.log_configuration.options["String"] #=> String
         | 
| 1236 | 
            +
                #   resp.job_definitions[0].node_properties.node_range_properties[0].container.log_configuration.secret_options #=> Array
         | 
| 1237 | 
            +
                #   resp.job_definitions[0].node_properties.node_range_properties[0].container.log_configuration.secret_options[0].name #=> String
         | 
| 1238 | 
            +
                #   resp.job_definitions[0].node_properties.node_range_properties[0].container.log_configuration.secret_options[0].value_from #=> String
         | 
| 1239 | 
            +
                #   resp.job_definitions[0].node_properties.node_range_properties[0].container.secrets #=> Array
         | 
| 1240 | 
            +
                #   resp.job_definitions[0].node_properties.node_range_properties[0].container.secrets[0].name #=> String
         | 
| 1241 | 
            +
                #   resp.job_definitions[0].node_properties.node_range_properties[0].container.secrets[0].value_from #=> String
         | 
| 1242 | 
            +
                #   resp.job_definitions[0].tags #=> Hash
         | 
| 1243 | 
            +
                #   resp.job_definitions[0].tags["TagKey"] #=> String
         | 
| 1163 1244 | 
             
                #   resp.next_token #=> String
         | 
| 1164 1245 | 
             
                #
         | 
| 1165 1246 | 
             
                # @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DescribeJobDefinitions AWS API Documentation
         | 
| @@ -1258,6 +1339,8 @@ module Aws::Batch | |
| 1258 1339 | 
             
                #   resp.job_queues[0].compute_environment_order #=> Array
         | 
| 1259 1340 | 
             
                #   resp.job_queues[0].compute_environment_order[0].order #=> Integer
         | 
| 1260 1341 | 
             
                #   resp.job_queues[0].compute_environment_order[0].compute_environment #=> String
         | 
| 1342 | 
            +
                #   resp.job_queues[0].tags #=> Hash
         | 
| 1343 | 
            +
                #   resp.job_queues[0].tags["TagKey"] #=> String
         | 
| 1261 1344 | 
             
                #   resp.next_token #=> String
         | 
| 1262 1345 | 
             
                #
         | 
| 1263 1346 | 
             
                # @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DescribeJobQueues AWS API Documentation
         | 
| @@ -1337,6 +1420,7 @@ module Aws::Batch | |
| 1337 1420 | 
             
                # @example Response structure
         | 
| 1338 1421 | 
             
                #
         | 
| 1339 1422 | 
             
                #   resp.jobs #=> Array
         | 
| 1423 | 
            +
                #   resp.jobs[0].job_arn #=> String
         | 
| 1340 1424 | 
             
                #   resp.jobs[0].job_name #=> String
         | 
| 1341 1425 | 
             
                #   resp.jobs[0].job_id #=> String
         | 
| 1342 1426 | 
             
                #   resp.jobs[0].job_queue #=> String
         | 
| @@ -1357,6 +1441,11 @@ module Aws::Batch | |
| 1357 1441 | 
             
                #   resp.jobs[0].status_reason #=> String
         | 
| 1358 1442 | 
             
                #   resp.jobs[0].created_at #=> Integer
         | 
| 1359 1443 | 
             
                #   resp.jobs[0].retry_strategy.attempts #=> Integer
         | 
| 1444 | 
            +
                #   resp.jobs[0].retry_strategy.evaluate_on_exit #=> Array
         | 
| 1445 | 
            +
                #   resp.jobs[0].retry_strategy.evaluate_on_exit[0].on_status_reason #=> String
         | 
| 1446 | 
            +
                #   resp.jobs[0].retry_strategy.evaluate_on_exit[0].on_reason #=> String
         | 
| 1447 | 
            +
                #   resp.jobs[0].retry_strategy.evaluate_on_exit[0].on_exit_code #=> String
         | 
| 1448 | 
            +
                #   resp.jobs[0].retry_strategy.evaluate_on_exit[0].action #=> String, one of "RETRY", "EXIT"
         | 
| 1360 1449 | 
             
                #   resp.jobs[0].started_at #=> Integer
         | 
| 1361 1450 | 
             
                #   resp.jobs[0].stopped_at #=> Integer
         | 
| 1362 1451 | 
             
                #   resp.jobs[0].depends_on #=> Array
         | 
| @@ -1371,6 +1460,7 @@ module Aws::Batch | |
| 1371 1460 | 
             
                #   resp.jobs[0].container.command #=> Array
         | 
| 1372 1461 | 
             
                #   resp.jobs[0].container.command[0] #=> String
         | 
| 1373 1462 | 
             
                #   resp.jobs[0].container.job_role_arn #=> String
         | 
| 1463 | 
            +
                #   resp.jobs[0].container.execution_role_arn #=> String
         | 
| 1374 1464 | 
             
                #   resp.jobs[0].container.volumes #=> Array
         | 
| 1375 1465 | 
             
                #   resp.jobs[0].container.volumes[0].host.source_path #=> String
         | 
| 1376 1466 | 
             
                #   resp.jobs[0].container.volumes[0].name #=> String
         | 
| @@ -1406,6 +1496,24 @@ module Aws::Batch | |
| 1406 1496 | 
             
                #   resp.jobs[0].container.linux_parameters.devices[0].container_path #=> String
         | 
| 1407 1497 | 
             
                #   resp.jobs[0].container.linux_parameters.devices[0].permissions #=> Array
         | 
| 1408 1498 | 
             
                #   resp.jobs[0].container.linux_parameters.devices[0].permissions[0] #=> String, one of "READ", "WRITE", "MKNOD"
         | 
| 1499 | 
            +
                #   resp.jobs[0].container.linux_parameters.init_process_enabled #=> Boolean
         | 
| 1500 | 
            +
                #   resp.jobs[0].container.linux_parameters.shared_memory_size #=> Integer
         | 
| 1501 | 
            +
                #   resp.jobs[0].container.linux_parameters.tmpfs #=> Array
         | 
| 1502 | 
            +
                #   resp.jobs[0].container.linux_parameters.tmpfs[0].container_path #=> String
         | 
| 1503 | 
            +
                #   resp.jobs[0].container.linux_parameters.tmpfs[0].size #=> Integer
         | 
| 1504 | 
            +
                #   resp.jobs[0].container.linux_parameters.tmpfs[0].mount_options #=> Array
         | 
| 1505 | 
            +
                #   resp.jobs[0].container.linux_parameters.tmpfs[0].mount_options[0] #=> String
         | 
| 1506 | 
            +
                #   resp.jobs[0].container.linux_parameters.max_swap #=> Integer
         | 
| 1507 | 
            +
                #   resp.jobs[0].container.linux_parameters.swappiness #=> Integer
         | 
| 1508 | 
            +
                #   resp.jobs[0].container.log_configuration.log_driver #=> String, one of "json-file", "syslog", "journald", "gelf", "fluentd", "awslogs", "splunk"
         | 
| 1509 | 
            +
                #   resp.jobs[0].container.log_configuration.options #=> Hash
         | 
| 1510 | 
            +
                #   resp.jobs[0].container.log_configuration.options["String"] #=> String
         | 
| 1511 | 
            +
                #   resp.jobs[0].container.log_configuration.secret_options #=> Array
         | 
| 1512 | 
            +
                #   resp.jobs[0].container.log_configuration.secret_options[0].name #=> String
         | 
| 1513 | 
            +
                #   resp.jobs[0].container.log_configuration.secret_options[0].value_from #=> String
         | 
| 1514 | 
            +
                #   resp.jobs[0].container.secrets #=> Array
         | 
| 1515 | 
            +
                #   resp.jobs[0].container.secrets[0].name #=> String
         | 
| 1516 | 
            +
                #   resp.jobs[0].container.secrets[0].value_from #=> String
         | 
| 1409 1517 | 
             
                #   resp.jobs[0].node_details.node_index #=> Integer
         | 
| 1410 1518 | 
             
                #   resp.jobs[0].node_details.is_main_node #=> Boolean
         | 
| 1411 1519 | 
             
                #   resp.jobs[0].node_properties.num_nodes #=> Integer
         | 
| @@ -1418,6 +1526,7 @@ module Aws::Batch | |
| 1418 1526 | 
             
                #   resp.jobs[0].node_properties.node_range_properties[0].container.command #=> Array
         | 
| 1419 1527 | 
             
                #   resp.jobs[0].node_properties.node_range_properties[0].container.command[0] #=> String
         | 
| 1420 1528 | 
             
                #   resp.jobs[0].node_properties.node_range_properties[0].container.job_role_arn #=> String
         | 
| 1529 | 
            +
                #   resp.jobs[0].node_properties.node_range_properties[0].container.execution_role_arn #=> String
         | 
| 1421 1530 | 
             
                #   resp.jobs[0].node_properties.node_range_properties[0].container.volumes #=> Array
         | 
| 1422 1531 | 
             
                #   resp.jobs[0].node_properties.node_range_properties[0].container.volumes[0].host.source_path #=> String
         | 
| 1423 1532 | 
             
                #   resp.jobs[0].node_properties.node_range_properties[0].container.volumes[0].name #=> String
         | 
| @@ -1444,11 +1553,31 @@ module Aws::Batch | |
| 1444 1553 | 
             
                #   resp.jobs[0].node_properties.node_range_properties[0].container.linux_parameters.devices[0].container_path #=> String
         | 
| 1445 1554 | 
             
                #   resp.jobs[0].node_properties.node_range_properties[0].container.linux_parameters.devices[0].permissions #=> Array
         | 
| 1446 1555 | 
             
                #   resp.jobs[0].node_properties.node_range_properties[0].container.linux_parameters.devices[0].permissions[0] #=> String, one of "READ", "WRITE", "MKNOD"
         | 
| 1556 | 
            +
                #   resp.jobs[0].node_properties.node_range_properties[0].container.linux_parameters.init_process_enabled #=> Boolean
         | 
| 1557 | 
            +
                #   resp.jobs[0].node_properties.node_range_properties[0].container.linux_parameters.shared_memory_size #=> Integer
         | 
| 1558 | 
            +
                #   resp.jobs[0].node_properties.node_range_properties[0].container.linux_parameters.tmpfs #=> Array
         | 
| 1559 | 
            +
                #   resp.jobs[0].node_properties.node_range_properties[0].container.linux_parameters.tmpfs[0].container_path #=> String
         | 
| 1560 | 
            +
                #   resp.jobs[0].node_properties.node_range_properties[0].container.linux_parameters.tmpfs[0].size #=> Integer
         | 
| 1561 | 
            +
                #   resp.jobs[0].node_properties.node_range_properties[0].container.linux_parameters.tmpfs[0].mount_options #=> Array
         | 
| 1562 | 
            +
                #   resp.jobs[0].node_properties.node_range_properties[0].container.linux_parameters.tmpfs[0].mount_options[0] #=> String
         | 
| 1563 | 
            +
                #   resp.jobs[0].node_properties.node_range_properties[0].container.linux_parameters.max_swap #=> Integer
         | 
| 1564 | 
            +
                #   resp.jobs[0].node_properties.node_range_properties[0].container.linux_parameters.swappiness #=> Integer
         | 
| 1565 | 
            +
                #   resp.jobs[0].node_properties.node_range_properties[0].container.log_configuration.log_driver #=> String, one of "json-file", "syslog", "journald", "gelf", "fluentd", "awslogs", "splunk"
         | 
| 1566 | 
            +
                #   resp.jobs[0].node_properties.node_range_properties[0].container.log_configuration.options #=> Hash
         | 
| 1567 | 
            +
                #   resp.jobs[0].node_properties.node_range_properties[0].container.log_configuration.options["String"] #=> String
         | 
| 1568 | 
            +
                #   resp.jobs[0].node_properties.node_range_properties[0].container.log_configuration.secret_options #=> Array
         | 
| 1569 | 
            +
                #   resp.jobs[0].node_properties.node_range_properties[0].container.log_configuration.secret_options[0].name #=> String
         | 
| 1570 | 
            +
                #   resp.jobs[0].node_properties.node_range_properties[0].container.log_configuration.secret_options[0].value_from #=> String
         | 
| 1571 | 
            +
                #   resp.jobs[0].node_properties.node_range_properties[0].container.secrets #=> Array
         | 
| 1572 | 
            +
                #   resp.jobs[0].node_properties.node_range_properties[0].container.secrets[0].name #=> String
         | 
| 1573 | 
            +
                #   resp.jobs[0].node_properties.node_range_properties[0].container.secrets[0].value_from #=> String
         | 
| 1447 1574 | 
             
                #   resp.jobs[0].array_properties.status_summary #=> Hash
         | 
| 1448 1575 | 
             
                #   resp.jobs[0].array_properties.status_summary["String"] #=> Integer
         | 
| 1449 1576 | 
             
                #   resp.jobs[0].array_properties.size #=> Integer
         | 
| 1450 1577 | 
             
                #   resp.jobs[0].array_properties.index #=> Integer
         | 
| 1451 1578 | 
             
                #   resp.jobs[0].timeout.attempt_duration_seconds #=> Integer
         | 
| 1579 | 
            +
                #   resp.jobs[0].tags #=> Hash
         | 
| 1580 | 
            +
                #   resp.jobs[0].tags["TagKey"] #=> String
         | 
| 1452 1581 | 
             
                #
         | 
| 1453 1582 | 
             
                # @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DescribeJobs AWS API Documentation
         | 
| 1454 1583 | 
             
                #
         | 
| @@ -1572,6 +1701,7 @@ module Aws::Batch | |
| 1572 1701 | 
             
                # @example Response structure
         | 
| 1573 1702 | 
             
                #
         | 
| 1574 1703 | 
             
                #   resp.job_summary_list #=> Array
         | 
| 1704 | 
            +
                #   resp.job_summary_list[0].job_arn #=> String
         | 
| 1575 1705 | 
             
                #   resp.job_summary_list[0].job_id #=> String
         | 
| 1576 1706 | 
             
                #   resp.job_summary_list[0].job_name #=> String
         | 
| 1577 1707 | 
             
                #   resp.job_summary_list[0].created_at #=> Integer
         | 
| @@ -1597,6 +1727,59 @@ module Aws::Batch | |
| 1597 1727 | 
             
                  req.send_request(options)
         | 
| 1598 1728 | 
             
                end
         | 
| 1599 1729 |  | 
| 1730 | 
            +
                # List the tags for an AWS Batch resource. AWS Batch resources that
         | 
| 1731 | 
            +
                # support tags are compute environments, jobs, job definitions, and job
         | 
| 1732 | 
            +
                # queues. ARNs for child jobs of array and multi-node parallel (MNP)
         | 
| 1733 | 
            +
                # jobs are not supported.
         | 
| 1734 | 
            +
                #
         | 
| 1735 | 
            +
                # @option params [required, String] :resource_arn
         | 
| 1736 | 
            +
                #   The Amazon Resource Name (ARN) that identifies the resource for which
         | 
| 1737 | 
            +
                #   to list the tags. AWS Batch resources that support tags are compute
         | 
| 1738 | 
            +
                #   environments, jobs, job definitions, and job queues. ARNs for child
         | 
| 1739 | 
            +
                #   jobs of array and multi-node parallel (MNP) jobs are not supported.
         | 
| 1740 | 
            +
                #
         | 
| 1741 | 
            +
                # @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
         | 
| 1742 | 
            +
                #
         | 
| 1743 | 
            +
                #   * {Types::ListTagsForResourceResponse#tags #tags} => Hash<String,String>
         | 
| 1744 | 
            +
                #
         | 
| 1745 | 
            +
                #
         | 
| 1746 | 
            +
                # @example Example: ListTagsForResource Example
         | 
| 1747 | 
            +
                #
         | 
| 1748 | 
            +
                #   # This demonstrates calling the ListTagsForResource action.
         | 
| 1749 | 
            +
                #
         | 
| 1750 | 
            +
                #   resp = client.list_tags_for_resource({
         | 
| 1751 | 
            +
                #     resource_arn: "arn:aws:batch:us-east-1:123456789012:job-definition/sleep30:1", 
         | 
| 1752 | 
            +
                #   })
         | 
| 1753 | 
            +
                #
         | 
| 1754 | 
            +
                #   resp.to_h outputs the following:
         | 
| 1755 | 
            +
                #   {
         | 
| 1756 | 
            +
                #     tags: {
         | 
| 1757 | 
            +
                #       "Department" => "Engineering", 
         | 
| 1758 | 
            +
                #       "Stage" => "Alpha", 
         | 
| 1759 | 
            +
                #       "User" => "JaneDoe", 
         | 
| 1760 | 
            +
                #     }, 
         | 
| 1761 | 
            +
                #   }
         | 
| 1762 | 
            +
                #
         | 
| 1763 | 
            +
                # @example Request syntax with placeholder values
         | 
| 1764 | 
            +
                #
         | 
| 1765 | 
            +
                #   resp = client.list_tags_for_resource({
         | 
| 1766 | 
            +
                #     resource_arn: "String", # required
         | 
| 1767 | 
            +
                #   })
         | 
| 1768 | 
            +
                #
         | 
| 1769 | 
            +
                # @example Response structure
         | 
| 1770 | 
            +
                #
         | 
| 1771 | 
            +
                #   resp.tags #=> Hash
         | 
| 1772 | 
            +
                #   resp.tags["TagKey"] #=> String
         | 
| 1773 | 
            +
                #
         | 
| 1774 | 
            +
                # @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/ListTagsForResource AWS API Documentation
         | 
| 1775 | 
            +
                #
         | 
| 1776 | 
            +
                # @overload list_tags_for_resource(params = {})
         | 
| 1777 | 
            +
                # @param [Hash] params ({})
         | 
| 1778 | 
            +
                def list_tags_for_resource(params = {}, options = {})
         | 
| 1779 | 
            +
                  req = build_request(:list_tags_for_resource, params)
         | 
| 1780 | 
            +
                  req.send_request(options)
         | 
| 1781 | 
            +
                end
         | 
| 1782 | 
            +
             | 
| 1600 1783 | 
             
                # Registers an AWS Batch job definition.
         | 
| 1601 1784 | 
             
                #
         | 
| 1602 1785 | 
             
                # @option params [required, String] :job_definition_name
         | 
| @@ -1651,6 +1834,16 @@ module Aws::Batch | |
| 1651 1834 | 
             
                #
         | 
| 1652 1835 | 
             
                #   [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/job_timeouts.html
         | 
| 1653 1836 | 
             
                #
         | 
| 1837 | 
            +
                # @option params [Hash<String,String>] :tags
         | 
| 1838 | 
            +
                #   The tags that you apply to the job definition to help you categorize
         | 
| 1839 | 
            +
                #   and organize your resources. Each tag consists of a key and an
         | 
| 1840 | 
            +
                #   optional value. For more information, see [Tagging AWS Resources][1]
         | 
| 1841 | 
            +
                #   in *AWS General Reference*.
         | 
| 1842 | 
            +
                #
         | 
| 1843 | 
            +
                #
         | 
| 1844 | 
            +
                #
         | 
| 1845 | 
            +
                #   [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
         | 
| 1846 | 
            +
                #
         | 
| 1654 1847 | 
             
                # @return [Types::RegisterJobDefinitionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
         | 
| 1655 1848 | 
             
                #
         | 
| 1656 1849 | 
             
                #   * {Types::RegisterJobDefinitionResponse#job_definition_name #job_definition_name} => String
         | 
| @@ -1683,6 +1876,35 @@ module Aws::Batch | |
| 1683 1876 | 
             
                #     revision: 1, 
         | 
| 1684 1877 | 
             
                #   }
         | 
| 1685 1878 | 
             
                #
         | 
| 1879 | 
            +
                # @example Example: RegisterJobDefinition with tags
         | 
| 1880 | 
            +
                #
         | 
| 1881 | 
            +
                #   # This demonstrates calling the RegisterJobDefinition action, including tags.
         | 
| 1882 | 
            +
                #
         | 
| 1883 | 
            +
                #   resp = client.register_job_definition({
         | 
| 1884 | 
            +
                #     type: "container", 
         | 
| 1885 | 
            +
                #     container_properties: {
         | 
| 1886 | 
            +
                #       command: [
         | 
| 1887 | 
            +
                #         "sleep", 
         | 
| 1888 | 
            +
                #         "30", 
         | 
| 1889 | 
            +
                #       ], 
         | 
| 1890 | 
            +
                #       image: "busybox", 
         | 
| 1891 | 
            +
                #       memory: 128, 
         | 
| 1892 | 
            +
                #       vcpus: 1, 
         | 
| 1893 | 
            +
                #     }, 
         | 
| 1894 | 
            +
                #     job_definition_name: "sleep30", 
         | 
| 1895 | 
            +
                #     tags: {
         | 
| 1896 | 
            +
                #       "Department" => "Engineering", 
         | 
| 1897 | 
            +
                #       "User" => "JaneDoe", 
         | 
| 1898 | 
            +
                #     }, 
         | 
| 1899 | 
            +
                #   })
         | 
| 1900 | 
            +
                #
         | 
| 1901 | 
            +
                #   resp.to_h outputs the following:
         | 
| 1902 | 
            +
                #   {
         | 
| 1903 | 
            +
                #     job_definition_arn: "arn:aws:batch:us-east-1:012345678910:job-definition/sleep30:1", 
         | 
| 1904 | 
            +
                #     job_definition_name: "sleep30", 
         | 
| 1905 | 
            +
                #     revision: 1, 
         | 
| 1906 | 
            +
                #   }
         | 
| 1907 | 
            +
                #
         | 
| 1686 1908 | 
             
                # @example Request syntax with placeholder values
         | 
| 1687 1909 | 
             
                #
         | 
| 1688 1910 | 
             
                #   resp = client.register_job_definition({
         | 
| @@ -1697,6 +1919,7 @@ module Aws::Batch | |
| 1697 1919 | 
             
                #       memory: 1,
         | 
| 1698 1920 | 
             
                #       command: ["String"],
         | 
| 1699 1921 | 
             
                #       job_role_arn: "String",
         | 
| 1922 | 
            +
                #       execution_role_arn: "String",
         | 
| 1700 1923 | 
             
                #       volumes: [
         | 
| 1701 1924 | 
             
                #         {
         | 
| 1702 1925 | 
             
                #           host: {
         | 
| @@ -1743,7 +1966,36 @@ module Aws::Batch | |
| 1743 1966 | 
             
                #             permissions: ["READ"], # accepts READ, WRITE, MKNOD
         | 
| 1744 1967 | 
             
                #           },
         | 
| 1745 1968 | 
             
                #         ],
         | 
| 1969 | 
            +
                #         init_process_enabled: false,
         | 
| 1970 | 
            +
                #         shared_memory_size: 1,
         | 
| 1971 | 
            +
                #         tmpfs: [
         | 
| 1972 | 
            +
                #           {
         | 
| 1973 | 
            +
                #             container_path: "String", # required
         | 
| 1974 | 
            +
                #             size: 1, # required
         | 
| 1975 | 
            +
                #             mount_options: ["String"],
         | 
| 1976 | 
            +
                #           },
         | 
| 1977 | 
            +
                #         ],
         | 
| 1978 | 
            +
                #         max_swap: 1,
         | 
| 1979 | 
            +
                #         swappiness: 1,
         | 
| 1980 | 
            +
                #       },
         | 
| 1981 | 
            +
                #       log_configuration: {
         | 
| 1982 | 
            +
                #         log_driver: "json-file", # required, accepts json-file, syslog, journald, gelf, fluentd, awslogs, splunk
         | 
| 1983 | 
            +
                #         options: {
         | 
| 1984 | 
            +
                #           "String" => "String",
         | 
| 1985 | 
            +
                #         },
         | 
| 1986 | 
            +
                #         secret_options: [
         | 
| 1987 | 
            +
                #           {
         | 
| 1988 | 
            +
                #             name: "String", # required
         | 
| 1989 | 
            +
                #             value_from: "String", # required
         | 
| 1990 | 
            +
                #           },
         | 
| 1991 | 
            +
                #         ],
         | 
| 1746 1992 | 
             
                #       },
         | 
| 1993 | 
            +
                #       secrets: [
         | 
| 1994 | 
            +
                #         {
         | 
| 1995 | 
            +
                #           name: "String", # required
         | 
| 1996 | 
            +
                #           value_from: "String", # required
         | 
| 1997 | 
            +
                #         },
         | 
| 1998 | 
            +
                #       ],
         | 
| 1747 1999 | 
             
                #     },
         | 
| 1748 2000 | 
             
                #     node_properties: {
         | 
| 1749 2001 | 
             
                #       num_nodes: 1, # required
         | 
| @@ -1757,6 +2009,7 @@ module Aws::Batch | |
| 1757 2009 | 
             
                #             memory: 1,
         | 
| 1758 2010 | 
             
                #             command: ["String"],
         | 
| 1759 2011 | 
             
                #             job_role_arn: "String",
         | 
| 2012 | 
            +
                #             execution_role_arn: "String",
         | 
| 1760 2013 | 
             
                #             volumes: [
         | 
| 1761 2014 | 
             
                #               {
         | 
| 1762 2015 | 
             
                #                 host: {
         | 
| @@ -1803,17 +2056,57 @@ module Aws::Batch | |
| 1803 2056 | 
             
                #                   permissions: ["READ"], # accepts READ, WRITE, MKNOD
         | 
| 1804 2057 | 
             
                #                 },
         | 
| 1805 2058 | 
             
                #               ],
         | 
| 2059 | 
            +
                #               init_process_enabled: false,
         | 
| 2060 | 
            +
                #               shared_memory_size: 1,
         | 
| 2061 | 
            +
                #               tmpfs: [
         | 
| 2062 | 
            +
                #                 {
         | 
| 2063 | 
            +
                #                   container_path: "String", # required
         | 
| 2064 | 
            +
                #                   size: 1, # required
         | 
| 2065 | 
            +
                #                   mount_options: ["String"],
         | 
| 2066 | 
            +
                #                 },
         | 
| 2067 | 
            +
                #               ],
         | 
| 2068 | 
            +
                #               max_swap: 1,
         | 
| 2069 | 
            +
                #               swappiness: 1,
         | 
| 2070 | 
            +
                #             },
         | 
| 2071 | 
            +
                #             log_configuration: {
         | 
| 2072 | 
            +
                #               log_driver: "json-file", # required, accepts json-file, syslog, journald, gelf, fluentd, awslogs, splunk
         | 
| 2073 | 
            +
                #               options: {
         | 
| 2074 | 
            +
                #                 "String" => "String",
         | 
| 2075 | 
            +
                #               },
         | 
| 2076 | 
            +
                #               secret_options: [
         | 
| 2077 | 
            +
                #                 {
         | 
| 2078 | 
            +
                #                   name: "String", # required
         | 
| 2079 | 
            +
                #                   value_from: "String", # required
         | 
| 2080 | 
            +
                #                 },
         | 
| 2081 | 
            +
                #               ],
         | 
| 1806 2082 | 
             
                #             },
         | 
| 2083 | 
            +
                #             secrets: [
         | 
| 2084 | 
            +
                #               {
         | 
| 2085 | 
            +
                #                 name: "String", # required
         | 
| 2086 | 
            +
                #                 value_from: "String", # required
         | 
| 2087 | 
            +
                #               },
         | 
| 2088 | 
            +
                #             ],
         | 
| 1807 2089 | 
             
                #           },
         | 
| 1808 2090 | 
             
                #         },
         | 
| 1809 2091 | 
             
                #       ],
         | 
| 1810 2092 | 
             
                #     },
         | 
| 1811 2093 | 
             
                #     retry_strategy: {
         | 
| 1812 2094 | 
             
                #       attempts: 1,
         | 
| 2095 | 
            +
                #       evaluate_on_exit: [
         | 
| 2096 | 
            +
                #         {
         | 
| 2097 | 
            +
                #           on_status_reason: "String",
         | 
| 2098 | 
            +
                #           on_reason: "String",
         | 
| 2099 | 
            +
                #           on_exit_code: "String",
         | 
| 2100 | 
            +
                #           action: "RETRY", # required, accepts RETRY, EXIT
         | 
| 2101 | 
            +
                #         },
         | 
| 2102 | 
            +
                #       ],
         | 
| 1813 2103 | 
             
                #     },
         | 
| 1814 2104 | 
             
                #     timeout: {
         | 
| 1815 2105 | 
             
                #       attempt_duration_seconds: 1,
         | 
| 1816 2106 | 
             
                #     },
         | 
| 2107 | 
            +
                #     tags: {
         | 
| 2108 | 
            +
                #       "TagKey" => "TagValue",
         | 
| 2109 | 
            +
                #     },
         | 
| 1817 2110 | 
             
                #   })
         | 
| 1818 2111 | 
             
                #
         | 
| 1819 2112 | 
             
                # @example Response structure
         | 
| @@ -1909,8 +2202,19 @@ module Aws::Batch | |
| 1909 2202 | 
             
                #
         | 
| 1910 2203 | 
             
                #   [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/job_timeouts.html
         | 
| 1911 2204 | 
             
                #
         | 
| 2205 | 
            +
                # @option params [Hash<String,String>] :tags
         | 
| 2206 | 
            +
                #   The tags that you apply to the job request to help you categorize and
         | 
| 2207 | 
            +
                #   organize your resources. Each tag consists of a key and an optional
         | 
| 2208 | 
            +
                #   value. For more information, see [Tagging AWS Resources][1] in *AWS
         | 
| 2209 | 
            +
                #   General Reference*.
         | 
| 2210 | 
            +
                #
         | 
| 2211 | 
            +
                #
         | 
| 2212 | 
            +
                #
         | 
| 2213 | 
            +
                #   [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
         | 
| 2214 | 
            +
                #
         | 
| 1912 2215 | 
             
                # @return [Types::SubmitJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
         | 
| 1913 2216 | 
             
                #
         | 
| 2217 | 
            +
                #   * {Types::SubmitJobResponse#job_arn #job_arn} => String
         | 
| 1914 2218 | 
             
                #   * {Types::SubmitJobResponse#job_name #job_name} => String
         | 
| 1915 2219 | 
             
                #   * {Types::SubmitJobResponse#job_id #job_id} => String
         | 
| 1916 2220 | 
             
                #
         | 
| @@ -1995,14 +2299,26 @@ module Aws::Batch | |
| 1995 2299 | 
             
                #     },
         | 
| 1996 2300 | 
             
                #     retry_strategy: {
         | 
| 1997 2301 | 
             
                #       attempts: 1,
         | 
| 2302 | 
            +
                #       evaluate_on_exit: [
         | 
| 2303 | 
            +
                #         {
         | 
| 2304 | 
            +
                #           on_status_reason: "String",
         | 
| 2305 | 
            +
                #           on_reason: "String",
         | 
| 2306 | 
            +
                #           on_exit_code: "String",
         | 
| 2307 | 
            +
                #           action: "RETRY", # required, accepts RETRY, EXIT
         | 
| 2308 | 
            +
                #         },
         | 
| 2309 | 
            +
                #       ],
         | 
| 1998 2310 | 
             
                #     },
         | 
| 1999 2311 | 
             
                #     timeout: {
         | 
| 2000 2312 | 
             
                #       attempt_duration_seconds: 1,
         | 
| 2001 2313 | 
             
                #     },
         | 
| 2314 | 
            +
                #     tags: {
         | 
| 2315 | 
            +
                #       "TagKey" => "TagValue",
         | 
| 2316 | 
            +
                #     },
         | 
| 2002 2317 | 
             
                #   })
         | 
| 2003 2318 | 
             
                #
         | 
| 2004 2319 | 
             
                # @example Response structure
         | 
| 2005 2320 | 
             
                #
         | 
| 2321 | 
            +
                #   resp.job_arn #=> String
         | 
| 2006 2322 | 
             
                #   resp.job_name #=> String
         | 
| 2007 2323 | 
             
                #   resp.job_id #=> String
         | 
| 2008 2324 | 
             
                #
         | 
| @@ -2015,6 +2331,66 @@ module Aws::Batch | |
| 2015 2331 | 
             
                  req.send_request(options)
         | 
| 2016 2332 | 
             
                end
         | 
| 2017 2333 |  | 
| 2334 | 
            +
                # Associates the specified tags to a resource with the specified
         | 
| 2335 | 
            +
                # `resourceArn`. If existing tags on a resource are not specified in the
         | 
| 2336 | 
            +
                # request parameters, they are not changed. When a resource is deleted,
         | 
| 2337 | 
            +
                # the tags associated with that resource are deleted as well. AWS Batch
         | 
| 2338 | 
            +
                # resources that support tags are compute environments, jobs, job
         | 
| 2339 | 
            +
                # definitions, and job queues. ARNs for child jobs of array and
         | 
| 2340 | 
            +
                # multi-node parallel (MNP) jobs are not supported.
         | 
| 2341 | 
            +
                #
         | 
| 2342 | 
            +
                # @option params [required, String] :resource_arn
         | 
| 2343 | 
            +
                #   The Amazon Resource Name (ARN) of the resource to which to add tags.
         | 
| 2344 | 
            +
                #   AWS Batch resources that support tags are compute environments, jobs,
         | 
| 2345 | 
            +
                #   job definitions, and job queues. ARNs for child jobs of array and
         | 
| 2346 | 
            +
                #   multi-node parallel (MNP) jobs are not supported.
         | 
| 2347 | 
            +
                #
         | 
| 2348 | 
            +
                # @option params [required, Hash<String,String>] :tags
         | 
| 2349 | 
            +
                #   The tags that you apply to the resource to help you categorize and
         | 
| 2350 | 
            +
                #   organize your resources. Each tag consists of a key and an optional
         | 
| 2351 | 
            +
                #   value. For more information, see [Tagging AWS Resources][1] in *AWS
         | 
| 2352 | 
            +
                #   General Reference*.
         | 
| 2353 | 
            +
                #
         | 
| 2354 | 
            +
                #
         | 
| 2355 | 
            +
                #
         | 
| 2356 | 
            +
                #   [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
         | 
| 2357 | 
            +
                #
         | 
| 2358 | 
            +
                # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
         | 
| 2359 | 
            +
                #
         | 
| 2360 | 
            +
                #
         | 
| 2361 | 
            +
                # @example Example: TagResource Example
         | 
| 2362 | 
            +
                #
         | 
| 2363 | 
            +
                #   # This demonstrates calling the TagResource action.
         | 
| 2364 | 
            +
                #
         | 
| 2365 | 
            +
                #   resp = client.tag_resource({
         | 
| 2366 | 
            +
                #     resource_arn: "arn:aws:batch:us-east-1:123456789012:job-definition/sleep30:1", 
         | 
| 2367 | 
            +
                #     tags: {
         | 
| 2368 | 
            +
                #       "Stage" => "Alpha", 
         | 
| 2369 | 
            +
                #     }, 
         | 
| 2370 | 
            +
                #   })
         | 
| 2371 | 
            +
                #
         | 
| 2372 | 
            +
                #   resp.to_h outputs the following:
         | 
| 2373 | 
            +
                #   {
         | 
| 2374 | 
            +
                #   }
         | 
| 2375 | 
            +
                #
         | 
| 2376 | 
            +
                # @example Request syntax with placeholder values
         | 
| 2377 | 
            +
                #
         | 
| 2378 | 
            +
                #   resp = client.tag_resource({
         | 
| 2379 | 
            +
                #     resource_arn: "String", # required
         | 
| 2380 | 
            +
                #     tags: { # required
         | 
| 2381 | 
            +
                #       "TagKey" => "TagValue",
         | 
| 2382 | 
            +
                #     },
         | 
| 2383 | 
            +
                #   })
         | 
| 2384 | 
            +
                #
         | 
| 2385 | 
            +
                # @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/TagResource AWS API Documentation
         | 
| 2386 | 
            +
                #
         | 
| 2387 | 
            +
                # @overload tag_resource(params = {})
         | 
| 2388 | 
            +
                # @param [Hash] params ({})
         | 
| 2389 | 
            +
                def tag_resource(params = {}, options = {})
         | 
| 2390 | 
            +
                  req = build_request(:tag_resource, params)
         | 
| 2391 | 
            +
                  req.send_request(options)
         | 
| 2392 | 
            +
                end
         | 
| 2393 | 
            +
             | 
| 2018 2394 | 
             
                # Terminates a job in a job queue. Jobs that are in the `STARTING` or
         | 
| 2019 2395 | 
             
                # `RUNNING` state are terminated, which causes them to transition to
         | 
| 2020 2396 | 
             
                # `FAILED`. Jobs that have not progressed to the `STARTING` state are
         | 
| @@ -2060,6 +2436,51 @@ module Aws::Batch | |
| 2060 2436 | 
             
                  req.send_request(options)
         | 
| 2061 2437 | 
             
                end
         | 
| 2062 2438 |  | 
| 2439 | 
            +
                # Deletes specified tags from an AWS Batch resource.
         | 
| 2440 | 
            +
                #
         | 
| 2441 | 
            +
                # @option params [required, String] :resource_arn
         | 
| 2442 | 
            +
                #   The Amazon Resource Name (ARN) of the resource from which to delete
         | 
| 2443 | 
            +
                #   tags. AWS Batch resources that support tags are compute environments,
         | 
| 2444 | 
            +
                #   jobs, job definitions, and job queues. ARNs for child jobs of array
         | 
| 2445 | 
            +
                #   and multi-node parallel (MNP) jobs are not supported.
         | 
| 2446 | 
            +
                #
         | 
| 2447 | 
            +
                # @option params [required, Array<String>] :tag_keys
         | 
| 2448 | 
            +
                #   The keys of the tags to be removed.
         | 
| 2449 | 
            +
                #
         | 
| 2450 | 
            +
                # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
         | 
| 2451 | 
            +
                #
         | 
| 2452 | 
            +
                #
         | 
| 2453 | 
            +
                # @example Example: UntagResource Example
         | 
| 2454 | 
            +
                #
         | 
| 2455 | 
            +
                #   # This demonstrates calling the UntagResource action.
         | 
| 2456 | 
            +
                #
         | 
| 2457 | 
            +
                #   resp = client.untag_resource({
         | 
| 2458 | 
            +
                #     resource_arn: "arn:aws:batch:us-east-1:123456789012:job-definition/sleep30:1", 
         | 
| 2459 | 
            +
                #     tag_keys: [
         | 
| 2460 | 
            +
                #       "Stage", 
         | 
| 2461 | 
            +
                #     ], 
         | 
| 2462 | 
            +
                #   })
         | 
| 2463 | 
            +
                #
         | 
| 2464 | 
            +
                #   resp.to_h outputs the following:
         | 
| 2465 | 
            +
                #   {
         | 
| 2466 | 
            +
                #   }
         | 
| 2467 | 
            +
                #
         | 
| 2468 | 
            +
                # @example Request syntax with placeholder values
         | 
| 2469 | 
            +
                #
         | 
| 2470 | 
            +
                #   resp = client.untag_resource({
         | 
| 2471 | 
            +
                #     resource_arn: "String", # required
         | 
| 2472 | 
            +
                #     tag_keys: ["TagKey"], # required
         | 
| 2473 | 
            +
                #   })
         | 
| 2474 | 
            +
                #
         | 
| 2475 | 
            +
                # @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/UntagResource AWS API Documentation
         | 
| 2476 | 
            +
                #
         | 
| 2477 | 
            +
                # @overload untag_resource(params = {})
         | 
| 2478 | 
            +
                # @param [Hash] params ({})
         | 
| 2479 | 
            +
                def untag_resource(params = {}, options = {})
         | 
| 2480 | 
            +
                  req = build_request(:untag_resource, params)
         | 
| 2481 | 
            +
                  req.send_request(options)
         | 
| 2482 | 
            +
                end
         | 
| 2483 | 
            +
             | 
| 2063 2484 | 
             
                # Updates an AWS Batch compute environment.
         | 
| 2064 2485 | 
             
                #
         | 
| 2065 2486 | 
             
                # @option params [required, String] :compute_environment
         | 
| @@ -2146,7 +2567,10 @@ module Aws::Batch | |
| 2146 2567 | 
             
                #   The name or the Amazon Resource Name (ARN) of the job queue.
         | 
| 2147 2568 | 
             
                #
         | 
| 2148 2569 | 
             
                # @option params [String] :state
         | 
| 2149 | 
            -
                #   Describes the queue's ability to accept new jobs.
         | 
| 2570 | 
            +
                #   Describes the queue's ability to accept new jobs. If the job queue
         | 
| 2571 | 
            +
                #   state is `ENABLED`, it is able to accept jobs. If the job queue state
         | 
| 2572 | 
            +
                #   is `DISABLED`, new jobs cannot be added to the queue, but jobs already
         | 
| 2573 | 
            +
                #   in the queue can finish.
         | 
| 2150 2574 | 
             
                #
         | 
| 2151 2575 | 
             
                # @option params [Integer] :priority
         | 
| 2152 2576 | 
             
                #   The priority of the job queue. Job queues with a higher priority (or a
         | 
| @@ -2224,7 +2648,7 @@ module Aws::Batch | |
| 2224 2648 | 
             
                    params: params,
         | 
| 2225 2649 | 
             
                    config: config)
         | 
| 2226 2650 | 
             
                  context[:gem_name] = 'aws-sdk-batch'
         | 
| 2227 | 
            -
                  context[:gem_version] = '1. | 
| 2651 | 
            +
                  context[:gem_version] = '1.40.0'
         | 
| 2228 2652 | 
             
                  Seahorse::Client::Request.new(handlers, context)
         | 
| 2229 2653 | 
             
                end
         | 
| 2230 2654 |  |