@datafire/amazonaws_batch

5.0.0 • Public • Published

@datafire/amazonaws_batch

Client library for AWS Batch

Installation and Usage

npm install --save @datafire/amazonaws_batch
let amazonaws_batch = require('@datafire/amazonaws_batch').create({
  accessKeyId: "",
  secretAccessKey: "",
  region: ""
});

amazonaws_batch.CancelJob({
  "jobId": "",
  "reason": ""
}).then(data => {
  console.log(data);
});

Description

AWS Batch enables you to run batch computing workloads on the AWS Cloud. Batch computing is a common way for developers, scientists, and engineers to access large amounts of compute resources, and AWS Batch removes the undifferentiated heavy lifting of configuring and managing the required infrastructure. AWS Batch will be familiar to users of traditional batch computing software. This service can efficiently provision resources in response to jobs submitted in order to eliminate capacity constraints, reduce compute costs, and deliver results quickly.

As a fully managed service, AWS Batch enables developers, scientists, and engineers to run batch computing workloads of any scale. AWS Batch automatically provisions compute resources and optimizes the workload distribution based on the quantity and scale of the workloads. With AWS Batch, there is no need to install or manage batch computing software, which allows you to focus on analyzing results and solving problems. AWS Batch reduces operational complexities, saves time, and reduces costs, which makes it easy for developers, scientists, and engineers to run their batch jobs in the AWS Cloud.

Actions

CancelJob

amazonaws_batch.CancelJob({
  "jobId": "",
  "reason": ""
}, context)

Input

Output

CreateComputeEnvironment

amazonaws_batch.CreateComputeEnvironment({
  "computeEnvironmentName": "",
  "type": "",
  "serviceRole": ""
}, context)

Input

Output

CreateJobQueue

amazonaws_batch.CreateJobQueue({
  "jobQueueName": "",
  "priority": 0,
  "computeEnvironmentOrder": []
}, context)

Input

Output

DeleteComputeEnvironment

amazonaws_batch.DeleteComputeEnvironment({
  "computeEnvironment": ""
}, context)

Input

  • input object
    • computeEnvironment required String

Output

DeleteJobQueue

amazonaws_batch.DeleteJobQueue({
  "jobQueue": ""
}, context)

Input

  • input object

Output

DeregisterJobDefinition

amazonaws_batch.DeregisterJobDefinition({
  "jobDefinition": ""
}, context)

Input

  • input object
    • jobDefinition required String

Output

DescribeComputeEnvironments

amazonaws_batch.DescribeComputeEnvironments({}, context)

Input

Output

DescribeJobDefinitions

amazonaws_batch.DescribeJobDefinitions({}, context)

Input

Output

DescribeJobQueues

amazonaws_batch.DescribeJobQueues({}, context)

Input

Output

DescribeJobs

amazonaws_batch.DescribeJobs({
  "jobs": []
}, context)

Input

Output

ListJobs

amazonaws_batch.ListJobs({}, context)

Input

Output

RegisterJobDefinition

amazonaws_batch.RegisterJobDefinition({
  "jobDefinitionName": "",
  "type": ""
}, context)

Input

Output

SubmitJob

amazonaws_batch.SubmitJob({
  "jobName": "",
  "jobQueue": "",
  "jobDefinition": ""
}, context)

Input

Output

TerminateJob

amazonaws_batch.TerminateJob({
  "jobId": "",
  "reason": ""
}, context)

Input

Output

UpdateComputeEnvironment

amazonaws_batch.UpdateComputeEnvironment({
  "computeEnvironment": ""
}, context)

Input

Output

UpdateJobQueue

amazonaws_batch.UpdateJobQueue({
  "jobQueue": ""
}, context)

Input

Output

Definitions

ArrayJobDependency

  • ArrayJobDependency string (values: N_TO_N, SEQUENTIAL)

ArrayJobStatusSummary

  • ArrayJobStatusSummary array

ArrayProperties

  • ArrayProperties object: An object representing an AWS Batch array job.

ArrayPropertiesDetail

ArrayPropertiesSummary

  • ArrayPropertiesSummary object: An object representing the array properties of a job.

AttemptContainerDetail

  • AttemptContainerDetail object: An object representing the details of a container that is part of a job attempt.

AttemptDetail

AttemptDetails

Boolean

  • Boolean boolean

CEState

  • CEState string (values: ENABLED, DISABLED)

CEStatus

  • CEStatus string (values: CREATING, UPDATING, DELETING, DELETED, VALID, INVALID)

CEType

  • CEType string (values: MANAGED, UNMANAGED)

CRType

  • CRType string (values: EC2, SPOT)

CancelJobRequest

  • CancelJobRequest object

CancelJobResponse

  • CancelJobResponse object

ClientException

  • ClientException object: These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an identifier that is not valid.

ComputeEnvironmentDetail

ComputeEnvironmentDetailList

ComputeEnvironmentOrder

  • ComputeEnvironmentOrder object: The order in which compute environments are tried for job placement within a queue. Compute environments are tried in ascending order. For example, if two compute environments are associated with a job queue, the compute environment with a lower order integer value is tried for job placement first.

ComputeEnvironmentOrders

ComputeResource

ComputeResourceUpdate

  • ComputeResourceUpdate object: An object representing the attributes of a compute environment that can be updated.

ContainerDetail

ContainerOverrides

ContainerProperties

ContainerSummary

  • ContainerSummary object: An object representing summary details of a container within a job.

CreateComputeEnvironmentRequest

CreateComputeEnvironmentResponse

  • CreateComputeEnvironmentResponse object
    • computeEnvironmentArn String
    • computeEnvironmentName String

CreateJobQueueRequest

CreateJobQueueResponse

  • CreateJobQueueResponse object

DeleteComputeEnvironmentRequest

  • DeleteComputeEnvironmentRequest object
    • computeEnvironment required String

DeleteComputeEnvironmentResponse

  • DeleteComputeEnvironmentResponse object

DeleteJobQueueRequest

  • DeleteJobQueueRequest object

DeleteJobQueueResponse

  • DeleteJobQueueResponse object

DeregisterJobDefinitionRequest

  • DeregisterJobDefinitionRequest object
    • jobDefinition required String

DeregisterJobDefinitionResponse

  • DeregisterJobDefinitionResponse object

DescribeComputeEnvironmentsRequest

DescribeComputeEnvironmentsResponse

DescribeJobDefinitionsRequest

DescribeJobDefinitionsResponse

DescribeJobQueuesRequest

DescribeJobQueuesResponse

DescribeJobsRequest

  • DescribeJobsRequest object

DescribeJobsResponse

EnvironmentVariables

Host

  • Host object: The contents of the host parameter determine whether your data volume persists on the host container instance and where it is stored. If the host parameter is empty, then the Docker daemon assigns a host path for your data volume, but the data is not guaranteed to persist after the containers associated with it stop running.

Integer

  • Integer integer

JQState

  • JQState string (values: ENABLED, DISABLED)

JQStatus

  • JQStatus string (values: CREATING, UPDATING, DELETING, DELETED, VALID, INVALID)

JobDefinition

JobDefinitionList

JobDefinitionType

  • JobDefinitionType string (values: container)

JobDependency

JobDependencyList

JobDetail

JobDetailList

JobQueueDetail

JobQueueDetailList

JobStatus

  • JobStatus string (values: SUBMITTED, PENDING, RUNNABLE, STARTING, RUNNING, SUCCEEDED, FAILED)

JobSummary

JobSummaryList

KeyValuePair

  • KeyValuePair object: A key-value pair object.

ListJobsRequest

ListJobsResponse

Long

  • Long integer

MountPoint

  • MountPoint object: Details on a Docker volume mount point that is used in a job's container properties.

MountPoints

ParametersMap

RegisterJobDefinitionRequest

RegisterJobDefinitionResponse

  • RegisterJobDefinitionResponse object

RetryStrategy

  • RetryStrategy object: The retry strategy associated with a job.

ServerException

  • ServerException object: These errors are usually caused by a server issue.

String

  • String string

StringList

  • StringList array

SubmitJobRequest

SubmitJobResponse

  • SubmitJobResponse object

TagsMap

TerminateJobRequest

  • TerminateJobRequest object

TerminateJobResponse

  • TerminateJobResponse object

Ulimit

  • Ulimit object: The ulimit settings to pass to the container.

Ulimits

UpdateComputeEnvironmentRequest

UpdateComputeEnvironmentResponse

  • UpdateComputeEnvironmentResponse object
    • computeEnvironmentArn String
    • computeEnvironmentName String

UpdateJobQueueRequest

UpdateJobQueueResponse

  • UpdateJobQueueResponse object

Volume

  • Volume object: A data volume used in a job's container properties.

Volumes

Readme

Keywords

none

Package Sidebar

Install

npm i @datafire/amazonaws_batch

Weekly Downloads

2

Version

5.0.0

License

MIT

Unpacked Size

140 kB

Total Files

5

Last publish

Collaborators

  • datafire