5.0.0 • Published 6 years ago

@datafire/amazonaws_data_jobs_iot v5.0.0

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

@datafire/amazonaws_data_jobs_iot

Client library for AWS IoT Jobs Data Plane

Installation and Usage

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

amazonaws_data_jobs_iot.GetPendingJobExecutions({
  "thingName": ""
}).then(data => {
  console.log(data);
});

Description

Actions

GetPendingJobExecutions

amazonaws_data_jobs_iot.GetPendingJobExecutions({
  "thingName": ""
}, context)

Input

  • input object
    • thingName required string

Output

StartNextPendingJobExecution

amazonaws_data_jobs_iot.StartNextPendingJobExecution({
  "thingName": ""
}, context)

Input

  • input object

Output

DescribeJobExecution

amazonaws_data_jobs_iot.DescribeJobExecution({
  "jobId": "",
  "thingName": ""
}, context)

Input

  • input object
    • jobId required string
    • thingName required string

Output

UpdateJobExecution

amazonaws_data_jobs_iot.UpdateJobExecution({
  "jobId": "",
  "thingName": "",
  "status": ""
}, context)

Input

Output

Definitions

CertificateValidationException

  • CertificateValidationException object: The certificate is invalid.

DescribeJobExecutionJobId

  • DescribeJobExecutionJobId string

DescribeJobExecutionRequest

  • DescribeJobExecutionRequest object

DescribeJobExecutionResponse

DetailsKey

  • DetailsKey string

DetailsMap

DetailsValue

  • DetailsValue string

ExecutionNumber

  • ExecutionNumber integer

ExpectedVersion

  • ExpectedVersion integer

GetPendingJobExecutionsRequest

  • GetPendingJobExecutionsRequest object

GetPendingJobExecutionsResponse

IncludeExecutionState

  • IncludeExecutionState boolean

IncludeJobDocument

  • IncludeJobDocument boolean

InvalidRequestException

  • InvalidRequestException object: The contents of the request were invalid. For example, this code is returned when an UpdateJobExecution request contains invalid status details. The message contains details about the error.

InvalidStateTransitionException

  • InvalidStateTransitionException object: An update attempted to change the job execution to a state that is invalid because of the job execution's current state (for example, an attempt to change a request in state SUCCESS to state IN_PROGRESS). In this case, the body of the error message also contains the executionState field.

JobDocument

  • JobDocument string

JobExecution

JobExecutionState

JobExecutionStatus

  • JobExecutionStatus string (values: QUEUED, IN_PROGRESS, SUCCEEDED, FAILED, REJECTED, REMOVED, CANCELED)

JobExecutionSummary

JobExecutionSummaryList

JobId

  • JobId string

LastUpdatedAt

  • LastUpdatedAt integer

QueuedAt

  • QueuedAt integer

ResourceNotFoundException

  • ResourceNotFoundException object: The specified resource does not exist.

ServiceUnavailableException

  • ServiceUnavailableException object: The service is temporarily unavailable.

StartNextPendingJobExecutionRequest

  • StartNextPendingJobExecutionRequest object

StartNextPendingJobExecutionResponse

  • StartNextPendingJobExecutionResponse object

StartedAt

  • StartedAt integer

TerminalStateException

  • TerminalStateException object: The job is in a terminal state.

ThingName

  • ThingName string

ThrottlingException

  • ThrottlingException object: The rate exceeds the limit.

UpdateJobExecutionRequest

UpdateJobExecutionResponse

VersionNumber

  • VersionNumber integer

errorMessage

  • errorMessage string