Learn R Programming

paws (version 0.1.12)

batch: AWS Batch

Description

Using AWS Batch, you can run batch computing workloads on the AWS Cloud. Batch computing is a common means for developers, scientists, and engineers to access large amounts of compute resources. AWS Batch utilizes the advantages of this computing workload to remove the undifferentiated heavy lifting of configuring and managing required infrastructure, while also adopting a familiar batch computing software approach. Given these advantages, AWS Batch can help you to efficiently provision resources in response to jobs submitted, thus effectively helping to eliminate capacity constraints, reduce compute costs, and deliver your results more quickly.

As a fully managed service, AWS Batch can run batch computing workloads of any scale. AWS Batch automatically provisions compute resources and optimizes workload distribution based on the quantity and scale of your specific workloads. With AWS Batch, there's no need to install or manage batch computing software. This means that you can focus your time and energy on analyzing results and solving your specific problems.

Usage

batch(config = list())

Value

A client for the service. You can call the service's operations using syntax like svc$operation(...), where svc is the name you've assigned to the client. The available operations are listed in the Operations section.

Arguments

config

Optional configuration of credentials, endpoint, and/or region.

Service syntax

svc <- batch(
  config = list(
    credentials = list(
      creds = list(
        access_key_id = "string",
        secret_access_key = "string",
        session_token = "string"
      ),
      profile = "string"
    ),
    endpoint = "string",
    region = "string"
  )
)

Operations

cancel_jobCancels a job in an AWS Batch job queue
create_compute_environmentCreates an AWS Batch compute environment
create_job_queueCreates an AWS Batch job queue
delete_compute_environmentDeletes an AWS Batch compute environment
delete_job_queueDeletes the specified job queue
deregister_job_definitionDeregisters an AWS Batch job definition
describe_compute_environmentsDescribes one or more of your compute environments
describe_job_definitionsDescribes a list of job definitions
describe_job_queuesDescribes one or more of your job queues
describe_jobsDescribes a list of AWS Batch jobs
list_jobsReturns a list of AWS Batch jobs
list_tags_for_resourceLists the tags for an AWS Batch resource
register_job_definitionRegisters an AWS Batch job definition
submit_jobSubmits an AWS Batch job from a job definition
tag_resourceAssociates the specified tags to a resource with the specified resourceArn
terminate_jobTerminates a job in a job queue
untag_resourceDeletes specified tags from an AWS Batch resource
update_compute_environmentUpdates an AWS Batch compute environment
update_job_queueUpdates a job queue

Examples

Run this code
if (FALSE) {
svc <- batch()
# This example cancels a job with the specified job ID.
svc$cancel_job(
  jobId = "1d828f65-7a4d-42e8-996d-3b900ed59dc4",
  reason = "Cancelling job."
)
}

Run the code above in your browser using DataLab