5.0.0 • Published 7 years ago

@datafire/amazonaws_batch v5.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

@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

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

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

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

CreateJobQueueRequest

CreateJobQueueResponse

  • CreateJobQueueResponse object

DeleteComputeEnvironmentRequest

  • DeleteComputeEnvironmentRequest object
    • computeEnvironment required String

DeleteComputeEnvironmentResponse

  • DeleteComputeEnvironmentResponse object

DeleteJobQueueRequest

  • DeleteJobQueueRequest object

DeleteJobQueueResponse

  • DeleteJobQueueResponse object

DeregisterJobDefinitionRequest

  • DeregisterJobDefinitionRequest object

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

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

UpdateJobQueueRequest

UpdateJobQueueResponse

  • UpdateJobQueueResponse object

Volume

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

Volumes

5.0.0

7 years ago

4.0.0

8 years ago

3.0.4

8 years ago

3.0.3

8 years ago

3.0.2

8 years ago

3.0.1

8 years ago

3.0.0

8 years ago

2.0.2

8 years ago

2.0.1

8 years ago

2.0.0

8 years ago