Class: AWS.IoTRoboRunner
- Inherits:
-
AWS.Service
- Object
- AWS.Service
- AWS.IoTRoboRunner
- Identifier:
- iotroborunner
- API Version:
- 2018-05-10
- Defined in:
- (unknown)
Overview
Constructs a service interface object. Each API operation is exposed as a function on service.
Service Description
An example service, deployed with the Octane Service creator, which will echo the string
Sending a Request Using IoTRoboRunner
var iotroborunner = new AWS.IoTRoboRunner();
iotroborunner.createDestination(params, function (err, data) {
if (err) console.log(err, err.stack); // an error occurred
else console.log(data); // successful response
});
Locking the API Version
In order to ensure that the IoTRoboRunner object uses this specific API, you can
construct the object by passing the apiVersion
option to the constructor:
var iotroborunner = new AWS.IoTRoboRunner({apiVersion: '2018-05-10'});
You can also set the API version globally in AWS.config.apiVersions
using
the iotroborunner service identifier:
AWS.config.apiVersions = {
iotroborunner: '2018-05-10',
// other service API versions
};
var iotroborunner = new AWS.IoTRoboRunner();
Version:
-
2018-05-10
Constructor Summary collapse
-
new AWS.IoTRoboRunner(options = {}) ⇒ Object
constructor
Constructs a service object.
Property Summary collapse
-
endpoint ⇒ AWS.Endpoint
readwrite
An Endpoint object representing the endpoint URL for service requests.
Properties inherited from AWS.Service
Method Summary collapse
-
createDestination(params = {}, callback) ⇒ AWS.Request
Grants permission to create a destination
.
-
createSite(params = {}, callback) ⇒ AWS.Request
Grants permission to create a site
.
-
createWorker(params = {}, callback) ⇒ AWS.Request
Grants permission to create a worker
.
-
createWorkerFleet(params = {}, callback) ⇒ AWS.Request
Grants permission to create a worker fleet
.
-
deleteDestination(params = {}, callback) ⇒ AWS.Request
Grants permission to delete a destination
.
-
deleteSite(params = {}, callback) ⇒ AWS.Request
Grants permission to delete a site
.
-
deleteWorker(params = {}, callback) ⇒ AWS.Request
Grants permission to delete a worker
.
-
deleteWorkerFleet(params = {}, callback) ⇒ AWS.Request
Grants permission to delete a worker fleet
.
-
getDestination(params = {}, callback) ⇒ AWS.Request
Grants permission to get a destination
.
-
getSite(params = {}, callback) ⇒ AWS.Request
Grants permission to get a site
.
-
getWorker(params = {}, callback) ⇒ AWS.Request
Grants permission to get a worker
.
-
getWorkerFleet(params = {}, callback) ⇒ AWS.Request
Grants permission to get a worker fleet
.
-
listDestinations(params = {}, callback) ⇒ AWS.Request
Grants permission to list destinations
.
-
listSites(params = {}, callback) ⇒ AWS.Request
Grants permission to list sites
.
-
listWorkerFleets(params = {}, callback) ⇒ AWS.Request
Grants permission to list worker fleets
.
-
listWorkers(params = {}, callback) ⇒ AWS.Request
Grants permission to list workers
.
-
updateDestination(params = {}, callback) ⇒ AWS.Request
Grants permission to update a destination
.
-
updateSite(params = {}, callback) ⇒ AWS.Request
Grants permission to update a site
.
-
updateWorker(params = {}, callback) ⇒ AWS.Request
Grants permission to update a worker
.
-
updateWorkerFleet(params = {}, callback) ⇒ AWS.Request
Grants permission to update a worker fleet
.
Methods inherited from AWS.Service
makeRequest, makeUnauthenticatedRequest, waitFor, setupRequestListeners, defineService
Constructor Details
new AWS.IoTRoboRunner(options = {}) ⇒ Object
Constructs a service object. This object has one method for each API operation.
Examples:
Constructing a IoTRoboRunner object
var iotroborunner = new AWS.IoTRoboRunner({apiVersion: '2018-05-10'});
Options Hash (options):
-
params
(map)
—
An optional map of parameters to bind to every request sent by this service object. For more information on bound parameters, see "Working with Services" in the Getting Started Guide.
-
endpoint
(String|AWS.Endpoint)
—
The endpoint URI to send requests to. The default endpoint is built from the configured
region
. The endpoint should be a string like'https://{service}.{region}.amazonaws.com'
or an Endpoint object. -
accessKeyId
(String)
—
your AWS access key ID.
-
secretAccessKey
(String)
—
your AWS secret access key.
-
sessionToken
(AWS.Credentials)
—
the optional AWS session token to sign requests with.
-
credentials
(AWS.Credentials)
—
the AWS credentials to sign requests with. You can either specify this object, or specify the accessKeyId and secretAccessKey options directly.
-
credentialProvider
(AWS.CredentialProviderChain)
—
the provider chain used to resolve credentials if no static
credentials
property is set. -
region
(String)
—
the region to send service requests to. See AWS.IoTRoboRunner.region for more information.
-
maxRetries
(Integer)
—
the maximum amount of retries to attempt with a request. See AWS.IoTRoboRunner.maxRetries for more information.
-
maxRedirects
(Integer)
—
the maximum amount of redirects to follow with a request. See AWS.IoTRoboRunner.maxRedirects for more information.
-
sslEnabled
(Boolean)
—
whether to enable SSL for requests.
-
paramValidation
(Boolean|map)
—
whether input parameters should be validated against the operation description before sending the request. Defaults to true. Pass a map to enable any of the following specific validation features:
- min [Boolean] — Validates that a value meets the min
constraint. This is enabled by default when paramValidation is set
to
true
. - max [Boolean] — Validates that a value meets the max constraint.
- pattern [Boolean] — Validates that a string value matches a regular expression.
- enum [Boolean] — Validates that a string value matches one of the allowable enum values.
- min [Boolean] — Validates that a value meets the min
constraint. This is enabled by default when paramValidation is set
to
-
computeChecksums
(Boolean)
—
whether to compute checksums for payload bodies when the service accepts it (currently supported in S3 only)
-
convertResponseTypes
(Boolean)
—
whether types are converted when parsing response data. Currently only supported for JSON based services. Turning this off may improve performance on large response payloads. Defaults to
true
. -
correctClockSkew
(Boolean)
—
whether to apply a clock skew correction and retry requests that fail because of an skewed client clock. Defaults to
false
. -
s3ForcePathStyle
(Boolean)
—
whether to force path style URLs for S3 objects.
-
s3BucketEndpoint
(Boolean)
—
whether the provided endpoint addresses an individual bucket (false if it addresses the root API endpoint). Note that setting this configuration option requires an
endpoint
to be provided explicitly to the service constructor. -
s3DisableBodySigning
(Boolean)
—
whether S3 body signing should be disabled when using signature version
v4
. Body signing can only be disabled when using https. Defaults totrue
. -
s3UsEast1RegionalEndpoint
('legacy'|'regional')
—
when region is set to 'us-east-1', whether to send s3 request to global endpoints or 'us-east-1' regional endpoints. This config is only applicable to S3 client. Defaults to
legacy
-
s3UseArnRegion
(Boolean)
—
whether to override the request region with the region inferred from requested resource's ARN. Only available for S3 buckets Defaults to
true
-
retryDelayOptions
(map)
—
A set of options to configure the retry delay on retryable errors. Currently supported options are:
- base [Integer] — The base number of milliseconds to use in the exponential backoff for operation retries. Defaults to 100 ms for all services except DynamoDB, where it defaults to 50ms.
- customBackoff [function] — A custom function that accepts a
retry count and error and returns the amount of time to delay in
milliseconds. If the result is a non-zero negative value, no further
retry attempts will be made. The
base
option will be ignored if this option is supplied. The function is only called for retryable errors.
-
httpOptions
(map)
—
A set of options to pass to the low-level HTTP request. Currently supported options are:
- proxy [String] — the URL to proxy requests through
- agent [http.Agent, https.Agent] — the Agent object to perform
HTTP requests with. Used for connection pooling. Defaults to the global
agent (
http.globalAgent
) for non-SSL connections. Note that for SSL connections, a special Agent object is used in order to enable peer certificate verification. This feature is only available in the Node.js environment. - connectTimeout [Integer] — Sets the socket to timeout after
failing to establish a connection with the server after
connectTimeout
milliseconds. This timeout has no effect once a socket connection has been established. - timeout [Integer] — Sets the socket to timeout after timeout milliseconds of inactivity on the socket. Defaults to two minutes (120000).
- xhrAsync [Boolean] — Whether the SDK will send asynchronous HTTP requests. Used in the browser environment only. Set to false to send requests synchronously. Defaults to true (async on).
- xhrWithCredentials [Boolean] — Sets the "withCredentials" property of an XMLHttpRequest object. Used in the browser environment only. Defaults to false.
-
apiVersion
(String, Date)
—
a String in YYYY-MM-DD format (or a date) that represents the latest possible API version that can be used in all services (unless overridden by
apiVersions
). Specify 'latest' to use the latest possible version. -
apiVersions
(map<String, String|Date>)
—
a map of service identifiers (the lowercase service class name) with the API version to use when instantiating a service. Specify 'latest' for each individual that can use the latest available version.
-
logger
(#write, #log)
—
an object that responds to .write() (like a stream) or .log() (like the console object) in order to log information about requests
-
systemClockOffset
(Number)
—
an offset value in milliseconds to apply to all signing times. Use this to compensate for clock skew when your system may be out of sync with the service time. Note that this configuration option can only be applied to the global
AWS.config
object and cannot be overridden in service-specific configuration. Defaults to 0 milliseconds. -
signatureVersion
(String)
—
the signature version to sign requests with (overriding the API configuration). Possible values are: 'v2', 'v3', 'v4'.
-
signatureCache
(Boolean)
—
whether the signature to sign requests with (overriding the API configuration) is cached. Only applies to the signature version 'v4'. Defaults to
true
. -
dynamoDbCrc32
(Boolean)
—
whether to validate the CRC32 checksum of HTTP response bodies returned by DynamoDB. Default:
true
. -
useAccelerateEndpoint
(Boolean)
—
Whether to use the S3 Transfer Acceleration endpoint with the S3 service. Default:
false
. -
clientSideMonitoring
(Boolean)
—
whether to collect and publish this client's performance metrics of all its API requests.
-
endpointDiscoveryEnabled
(Boolean|undefined)
—
whether to call operations with endpoints given by service dynamically. Setting this
-
endpointCacheSize
(Number)
—
the size of the global cache storing endpoints from endpoint discovery operations. Once endpoint cache is created, updating this setting cannot change existing cache size. Defaults to 1000
-
hostPrefixEnabled
(Boolean)
—
whether to marshal request parameters to the prefix of hostname. Defaults to
true
. -
stsRegionalEndpoints
('legacy'|'regional')
—
whether to send sts request to global endpoints or regional endpoints. Defaults to 'legacy'.
-
useFipsEndpoint
(Boolean)
—
Enables FIPS compatible endpoints. Defaults to
false
. -
useDualstackEndpoint
(Boolean)
—
Enables IPv6 dualstack endpoint. Defaults to
false
.
Property Details
Method Details
createDestination(params = {}, callback) ⇒ AWS.Request
Grants permission to create a destination
Service Reference:
Examples:
Calling the createDestination operation
var params = {
name: 'STRING_VALUE', /* required */
site: 'STRING_VALUE', /* required */
additionalFixedProperties: 'STRING_VALUE',
clientToken: 'STRING_VALUE',
state: ENABLED | DISABLED | DECOMMISSIONED
};
iotroborunner.createDestination(params, function(err, data) {
if (err) console.log(err, err.stack); // an error occurred
else console.log(data); // successful response
});
Parameters:
-
params
(Object)
(defaults to: {})
—
clientToken
— (String
)Token used for detecting replayed requests. Replayed requests will not be performed multiple times.
If a token is not provided, the SDK will use a version 4 UUID.name
— (String
)Human friendly name of the resource.
site
— (String
)Site ARN.
state
— (String
)The state of the destination. Default used if not specified.
Possible values include:"ENABLED"
"DISABLED"
"DECOMMISSIONED"
additionalFixedProperties
— (String
)JSON document containing additional fixed properties regarding the destination
Callback (callback):
-
function(err, data) { ... }
Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.
Context (this):
-
(AWS.Response)
—
the response object containing error, data properties, and the original request object.
Parameters:
-
err
(Error)
—
the error object returned from the request. Set to
null
if the request is successful. -
data
(Object)
—
the de-serialized data returned from the request. Set to
null
if a request error occurs. Thedata
object has the following properties:arn
— (String
)Destination ARN.
id
— (String
)Filters access by the destination's identifier
createdAt
— (Date
)Timestamp at which the resource was created.
updatedAt
— (Date
)Timestamp at which the resource was last updated.
state
— (String
)State of the destination.
Possible values include:"ENABLED"
"DISABLED"
"DECOMMISSIONED"
-
(AWS.Response)
—
Returns:
createSite(params = {}, callback) ⇒ AWS.Request
Grants permission to create a site
Service Reference:
Examples:
Calling the createSite operation
var params = {
countryCode: 'STRING_VALUE', /* required */
name: 'STRING_VALUE', /* required */
clientToken: 'STRING_VALUE',
description: 'STRING_VALUE'
};
iotroborunner.createSite(params, function(err, data) {
if (err) console.log(err, err.stack); // an error occurred
else console.log(data); // successful response
});
Parameters:
-
params
(Object)
(defaults to: {})
—
clientToken
— (String
)Token used for detecting replayed requests. Replayed requests will not be performed multiple times.
If a token is not provided, the SDK will use a version 4 UUID.name
— (String
)Human friendly name of the resource.
countryCode
— (String
)A valid ISO 3166-1 alpha-2 code for the country in which the site resides. e.g., US.
description
— (String
)A high-level description of the site.
Callback (callback):
-
function(err, data) { ... }
Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.
Context (this):
-
(AWS.Response)
—
the response object containing error, data properties, and the original request object.
Parameters:
-
err
(Error)
—
the error object returned from the request. Set to
null
if the request is successful. -
data
(Object)
—
the de-serialized data returned from the request. Set to
null
if a request error occurs. Thedata
object has the following properties:arn
— (String
)Site ARN.
id
— (String
)Filters access by the site's identifier
createdAt
— (Date
)Timestamp at which the resource was created.
updatedAt
— (Date
)Timestamp at which the resource was last updated.
-
(AWS.Response)
—
Returns:
createWorker(params = {}, callback) ⇒ AWS.Request
Grants permission to create a worker
Service Reference:
Examples:
Calling the createWorker operation
var params = {
fleet: 'STRING_VALUE', /* required */
name: 'STRING_VALUE', /* required */
additionalFixedProperties: 'STRING_VALUE',
additionalTransientProperties: 'STRING_VALUE',
clientToken: 'STRING_VALUE',
orientation: {
degrees: 'NUMBER_VALUE'
},
position: {
cartesianCoordinates: {
x: 'NUMBER_VALUE', /* required */
y: 'NUMBER_VALUE', /* required */
z: 'NUMBER_VALUE'
}
},
vendorProperties: {
vendorWorkerId: 'STRING_VALUE', /* required */
vendorAdditionalFixedProperties: 'STRING_VALUE',
vendorAdditionalTransientProperties: 'STRING_VALUE',
vendorWorkerIpAddress: 'STRING_VALUE'
}
};
iotroborunner.createWorker(params, function(err, data) {
if (err) console.log(err, err.stack); // an error occurred
else console.log(data); // successful response
});
Parameters:
-
params
(Object)
(defaults to: {})
—
clientToken
— (String
)Token used for detecting replayed requests. Replayed requests will not be performed multiple times.
If a token is not provided, the SDK will use a version 4 UUID.name
— (String
)Human friendly name of the resource.
fleet
— (String
)Full ARN of the worker fleet.
additionalTransientProperties
— (String
)JSON blob containing unstructured worker properties that are transient and may change during regular operation.
additionalFixedProperties
— (String
)JSON blob containing unstructured worker properties that are fixed and won't change during regular operation.
vendorProperties
— (map
)Properties of the worker that are provided by the vendor FMS.
vendorWorkerId
— required — (String
)The worker ID defined by the vendor FMS.
vendorWorkerIpAddress
— (String
)The worker IP address defined by the vendor FMS.
vendorAdditionalTransientProperties
— (String
)JSON blob containing unstructured vendor properties that are transient and may change during regular operation.
vendorAdditionalFixedProperties
— (String
)JSON blob containing unstructured vendor properties that are fixed and won't change during regular operation.
position
— (map
)Supported coordinates for worker position.
cartesianCoordinates
— (map
)Cartesian coordinates.
x
— required — (Float
)X coordinate.
y
— required — (Float
)Y coordinate.
z
— (Float
)Z coordinate.
orientation
— (map
)Worker orientation measured in units clockwise from north.
degrees
— (Float
)Degrees, limited on [0, 360)
Callback (callback):
-
function(err, data) { ... }
Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.
Context (this):
-
(AWS.Response)
—
the response object containing error, data properties, and the original request object.
Parameters:
-
err
(Error)
—
the error object returned from the request. Set to
null
if the request is successful. -
data
(Object)
—
the de-serialized data returned from the request. Set to
null
if a request error occurs. Thedata
object has the following properties:arn
— (String
)Full ARN of the worker.
id
— (String
)Filters access by the workers identifier
createdAt
— (Date
)Timestamp at which the resource was created.
updatedAt
— (Date
)Timestamp at which the resource was last updated.
site
— (String
)Site ARN.
-
(AWS.Response)
—
Returns:
createWorkerFleet(params = {}, callback) ⇒ AWS.Request
Grants permission to create a worker fleet
Service Reference:
Examples:
Calling the createWorkerFleet operation
var params = {
name: 'STRING_VALUE', /* required */
site: 'STRING_VALUE', /* required */
additionalFixedProperties: 'STRING_VALUE',
clientToken: 'STRING_VALUE'
};
iotroborunner.createWorkerFleet(params, function(err, data) {
if (err) console.log(err, err.stack); // an error occurred
else console.log(data); // successful response
});
Parameters:
-
params
(Object)
(defaults to: {})
—
clientToken
— (String
)Token used for detecting replayed requests. Replayed requests will not be performed multiple times.
If a token is not provided, the SDK will use a version 4 UUID.name
— (String
)Human friendly name of the resource.
site
— (String
)Site ARN.
additionalFixedProperties
— (String
)JSON blob containing additional fixed properties regarding the worker fleet
Callback (callback):
-
function(err, data) { ... }
Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.
Context (this):
-
(AWS.Response)
—
the response object containing error, data properties, and the original request object.
Parameters:
-
err
(Error)
—
the error object returned from the request. Set to
null
if the request is successful. -
data
(Object)
—
the de-serialized data returned from the request. Set to
null
if a request error occurs. Thedata
object has the following properties:arn
— (String
)Full ARN of the worker fleet.
id
— (String
)Filters access by the worker fleet's identifier
createdAt
— (Date
)Timestamp at which the resource was created.
updatedAt
— (Date
)Timestamp at which the resource was last updated.
-
(AWS.Response)
—
Returns:
deleteDestination(params = {}, callback) ⇒ AWS.Request
Grants permission to delete a destination
Service Reference:
Examples:
Calling the deleteDestination operation
var params = {
id: 'STRING_VALUE' /* required */
};
iotroborunner.deleteDestination(params, function(err, data) {
if (err) console.log(err, err.stack); // an error occurred
else console.log(data); // successful response
});
Parameters:
-
params
(Object)
(defaults to: {})
—
id
— (String
)Destination ARN.
Callback (callback):
-
function(err, data) { ... }
Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.
Context (this):
-
(AWS.Response)
—
the response object containing error, data properties, and the original request object.
Parameters:
-
err
(Error)
—
the error object returned from the request. Set to
null
if the request is successful. -
data
(Object)
—
the de-serialized data returned from the request. Set to
null
if a request error occurs.
-
(AWS.Response)
—
Returns:
deleteSite(params = {}, callback) ⇒ AWS.Request
Grants permission to delete a site
Service Reference:
Examples:
Calling the deleteSite operation
var params = {
id: 'STRING_VALUE' /* required */
};
iotroborunner.deleteSite(params, function(err, data) {
if (err) console.log(err, err.stack); // an error occurred
else console.log(data); // successful response
});
Parameters:
-
params
(Object)
(defaults to: {})
—
id
— (String
)Site ARN.
Callback (callback):
-
function(err, data) { ... }
Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.
Context (this):
-
(AWS.Response)
—
the response object containing error, data properties, and the original request object.
Parameters:
-
err
(Error)
—
the error object returned from the request. Set to
null
if the request is successful. -
data
(Object)
—
the de-serialized data returned from the request. Set to
null
if a request error occurs.
-
(AWS.Response)
—
Returns:
deleteWorker(params = {}, callback) ⇒ AWS.Request
Grants permission to delete a worker
Service Reference:
Examples:
Calling the deleteWorker operation
var params = {
id: 'STRING_VALUE' /* required */
};
iotroborunner.deleteWorker(params, function(err, data) {
if (err) console.log(err, err.stack); // an error occurred
else console.log(data); // successful response
});
Parameters:
-
params
(Object)
(defaults to: {})
—
id
— (String
)Full ARN of the worker.
Callback (callback):
-
function(err, data) { ... }
Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.
Context (this):
-
(AWS.Response)
—
the response object containing error, data properties, and the original request object.
Parameters:
-
err
(Error)
—
the error object returned from the request. Set to
null
if the request is successful. -
data
(Object)
—
the de-serialized data returned from the request. Set to
null
if a request error occurs.
-
(AWS.Response)
—
Returns:
deleteWorkerFleet(params = {}, callback) ⇒ AWS.Request
Grants permission to delete a worker fleet
Service Reference:
Examples:
Calling the deleteWorkerFleet operation
var params = {
id: 'STRING_VALUE' /* required */
};
iotroborunner.deleteWorkerFleet(params, function(err, data) {
if (err) console.log(err, err.stack); // an error occurred
else console.log(data); // successful response
});
Parameters:
-
params
(Object)
(defaults to: {})
—
id
— (String
)Full ARN of the worker fleet.
Callback (callback):
-
function(err, data) { ... }
Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.
Context (this):
-
(AWS.Response)
—
the response object containing error, data properties, and the original request object.
Parameters:
-
err
(Error)
—
the error object returned from the request. Set to
null
if the request is successful. -
data
(Object)
—
the de-serialized data returned from the request. Set to
null
if a request error occurs.
-
(AWS.Response)
—
Returns:
getDestination(params = {}, callback) ⇒ AWS.Request
Grants permission to get a destination
Service Reference:
Examples:
Calling the getDestination operation
var params = {
id: 'STRING_VALUE' /* required */
};
iotroborunner.getDestination(params, function(err, data) {
if (err) console.log(err, err.stack); // an error occurred
else console.log(data); // successful response
});
Parameters:
-
params
(Object)
(defaults to: {})
—
id
— (String
)Destination ARN.
Callback (callback):
-
function(err, data) { ... }
Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.
Context (this):
-
(AWS.Response)
—
the response object containing error, data properties, and the original request object.
Parameters:
-
err
(Error)
—
the error object returned from the request. Set to
null
if the request is successful. -
data
(Object)
—
the de-serialized data returned from the request. Set to
null
if a request error occurs. Thedata
object has the following properties:arn
— (String
)Destination ARN.
id
— (String
)Filters access by the destination's identifier
name
— (String
)Human friendly name of the resource.
site
— (String
)Site ARN.
createdAt
— (Date
)Timestamp at which the resource was created.
updatedAt
— (Date
)Timestamp at which the resource was last updated.
state
— (String
)State of the destination.
Possible values include:"ENABLED"
"DISABLED"
"DECOMMISSIONED"
additionalFixedProperties
— (String
)JSON document containing additional fixed properties regarding the destination
-
(AWS.Response)
—
Returns:
getSite(params = {}, callback) ⇒ AWS.Request
Grants permission to get a site
Service Reference:
Examples:
Calling the getSite operation
var params = {
id: 'STRING_VALUE' /* required */
};
iotroborunner.getSite(params, function(err, data) {
if (err) console.log(err, err.stack); // an error occurred
else console.log(data); // successful response
});
Parameters:
-
params
(Object)
(defaults to: {})
—
id
— (String
)Site ARN.
Callback (callback):
-
function(err, data) { ... }
Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.
Context (this):
-
(AWS.Response)
—
the response object containing error, data properties, and the original request object.
Parameters:
-
err
(Error)
—
the error object returned from the request. Set to
null
if the request is successful. -
data
(Object)
—
the de-serialized data returned from the request. Set to
null
if a request error occurs. Thedata
object has the following properties:arn
— (String
)Site ARN.
id
— (String
)Filters access by the site's identifier
name
— (String
)Human friendly name of the resource.
countryCode
— (String
)A valid ISO 3166-1 alpha-2 code for the country in which the site resides. e.g., US.
description
— (String
)A high-level description of the site.
createdAt
— (Date
)Timestamp at which the resource was created.
updatedAt
— (Date
)Timestamp at which the resource was last updated.
-
(AWS.Response)
—
Returns:
getWorker(params = {}, callback) ⇒ AWS.Request
Grants permission to get a worker
Service Reference:
Examples:
Calling the getWorker operation
var params = {
id: 'STRING_VALUE' /* required */
};
iotroborunner.getWorker(params, function(err, data) {
if (err) console.log(err, err.stack); // an error occurred
else console.log(data); // successful response
});
Parameters:
-
params
(Object)
(defaults to: {})
—
id
— (String
)Full ARN of the worker.
Callback (callback):
-
function(err, data) { ... }
Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.
Context (this):
-
(AWS.Response)
—
the response object containing error, data properties, and the original request object.
Parameters:
-
err
(Error)
—
the error object returned from the request. Set to
null
if the request is successful. -
data
(Object)
—
the de-serialized data returned from the request. Set to
null
if a request error occurs. Thedata
object has the following properties:arn
— (String
)Full ARN of the worker.
id
— (String
)Filters access by the workers identifier
fleet
— (String
)Full ARN of the worker fleet.
site
— (String
)Site ARN.
createdAt
— (Date
)Timestamp at which the resource was created.
updatedAt
— (Date
)Timestamp at which the resource was last updated.
name
— (String
)Human friendly name of the resource.
additionalTransientProperties
— (String
)JSON blob containing unstructured worker properties that are transient and may change during regular operation.
additionalFixedProperties
— (String
)JSON blob containing unstructured worker properties that are fixed and won't change during regular operation.
vendorProperties
— (map
)Properties of the worker that are provided by the vendor FMS.
vendorWorkerId
— required — (String
)The worker ID defined by the vendor FMS.
vendorWorkerIpAddress
— (String
)The worker IP address defined by the vendor FMS.
vendorAdditionalTransientProperties
— (String
)JSON blob containing unstructured vendor properties that are transient and may change during regular operation.
vendorAdditionalFixedProperties
— (String
)JSON blob containing unstructured vendor properties that are fixed and won't change during regular operation.
position
— (map
)Supported coordinates for worker position.
cartesianCoordinates
— (map
)Cartesian coordinates.
x
— required — (Float
)X coordinate.
y
— required — (Float
)Y coordinate.
z
— (Float
)Z coordinate.
orientation
— (map
)Worker orientation measured in units clockwise from north.
degrees
— (Float
)Degrees, limited on [0, 360)
-
(AWS.Response)
—
Returns:
getWorkerFleet(params = {}, callback) ⇒ AWS.Request
Grants permission to get a worker fleet
Service Reference:
Examples:
Calling the getWorkerFleet operation
var params = {
id: 'STRING_VALUE' /* required */
};
iotroborunner.getWorkerFleet(params, function(err, data) {
if (err) console.log(err, err.stack); // an error occurred
else console.log(data); // successful response
});
Parameters:
-
params
(Object)
(defaults to: {})
—
id
— (String
)Full ARN of the worker fleet.
Callback (callback):
-
function(err, data) { ... }
Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.
Context (this):
-
(AWS.Response)
—
the response object containing error, data properties, and the original request object.
Parameters:
-
err
(Error)
—
the error object returned from the request. Set to
null
if the request is successful. -
data
(Object)
—
the de-serialized data returned from the request. Set to
null
if a request error occurs. Thedata
object has the following properties:id
— (String
)Filters access by the worker fleet's identifier
arn
— (String
)Full ARN of the worker fleet.
name
— (String
)Human friendly name of the resource.
site
— (String
)Site ARN.
createdAt
— (Date
)Timestamp at which the resource was created.
updatedAt
— (Date
)Timestamp at which the resource was last updated.
additionalFixedProperties
— (String
)JSON blob containing additional fixed properties regarding the worker fleet
-
(AWS.Response)
—
Returns:
listDestinations(params = {}, callback) ⇒ AWS.Request
Grants permission to list destinations
Service Reference:
Examples:
Calling the listDestinations operation
var params = {
site: 'STRING_VALUE', /* required */
maxResults: 'NUMBER_VALUE',
nextToken: 'STRING_VALUE',
state: ENABLED | DISABLED | DECOMMISSIONED
};
iotroborunner.listDestinations(params, function(err, data) {
if (err) console.log(err, err.stack); // an error occurred
else console.log(data); // successful response
});
Parameters:
-
params
(Object)
(defaults to: {})
—
site
— (String
)Site ARN.
maxResults
— (Integer
)Maximum number of results to retrieve in a single call.
nextToken
— (String
)Pagination token returned when another page of data exists. Provide it in your next call to the API to receive the next page.
state
— (String
)State of the destination.
Possible values include:"ENABLED"
"DISABLED"
"DECOMMISSIONED"
Callback (callback):
-
function(err, data) { ... }
Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.
Context (this):
-
(AWS.Response)
—
the response object containing error, data properties, and the original request object.
Parameters:
-
err
(Error)
—
the error object returned from the request. Set to
null
if the request is successful. -
data
(Object)
—
the de-serialized data returned from the request. Set to
null
if a request error occurs. Thedata
object has the following properties:nextToken
— (String
)Pagination token returned when another page of data exists. Provide it in your next call to the API to receive the next page.
destinations
— (Array<map>
)List of destinations.
arn
— required — (String
)Destination ARN.
id
— required — (String
)Filters access by the destination's identifier
name
— required — (String
)Human friendly name of the resource.
site
— required — (String
)Site ARN.
createdAt
— required — (Date
)Timestamp at which the resource was created.
updatedAt
— required — (Date
)Timestamp at which the resource was last updated.
state
— required — (String
)State of the destination.
Possible values include:"ENABLED"
"DISABLED"
"DECOMMISSIONED"
additionalFixedProperties
— (String
)JSON document containing additional fixed properties regarding the destination
-
(AWS.Response)
—
Returns:
listSites(params = {}, callback) ⇒ AWS.Request
Grants permission to list sites
Service Reference:
Examples:
Calling the listSites operation
var params = {
maxResults: 'NUMBER_VALUE',
nextToken: 'STRING_VALUE'
};
iotroborunner.listSites(params, function(err, data) {
if (err) console.log(err, err.stack); // an error occurred
else console.log(data); // successful response
});
Parameters:
-
params
(Object)
(defaults to: {})
—
maxResults
— (Integer
)Maximum number of results to retrieve in a single ListSites call.
nextToken
— (String
)Pagination token returned when another page of data exists. Provide it in your next call to the API to receive the next page.
Callback (callback):
-
function(err, data) { ... }
Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.
Context (this):
-
(AWS.Response)
—
the response object containing error, data properties, and the original request object.
Parameters:
-
err
(Error)
—
the error object returned from the request. Set to
null
if the request is successful. -
data
(Object)
—
the de-serialized data returned from the request. Set to
null
if a request error occurs. Thedata
object has the following properties:nextToken
— (String
)Pagination token returned when another page of data exists. Provide it in your next call to the API to receive the next page.
sites
— (Array<map>
)List of facilities.
arn
— required — (String
)Site ARN.
name
— required — (String
)The name of the site. Mutable after creation and unique within a given account.
countryCode
— required — (String
)A valid ISO 3166-1 alpha-2 code for the country in which the site resides. e.g., US.
createdAt
— required — (Date
)Timestamp at which the resource was created.
-
(AWS.Response)
—
Returns:
listWorkerFleets(params = {}, callback) ⇒ AWS.Request
Grants permission to list worker fleets
Service Reference:
Examples:
Calling the listWorkerFleets operation
var params = {
site: 'STRING_VALUE', /* required */
maxResults: 'NUMBER_VALUE',
nextToken: 'STRING_VALUE'
};
iotroborunner.listWorkerFleets(params, function(err, data) {
if (err) console.log(err, err.stack); // an error occurred
else console.log(data); // successful response
});
Parameters:
-
params
(Object)
(defaults to: {})
—
site
— (String
)Site ARN.
maxResults
— (Integer
)Maximum number of results to retrieve in a single ListWorkerFleets call.
nextToken
— (String
)Pagination token returned when another page of data exists. Provide it in your next call to the API to receive the next page.
Callback (callback):
-
function(err, data) { ... }
Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.
Context (this):
-
(AWS.Response)
—
the response object containing error, data properties, and the original request object.
Parameters:
-
err
(Error)
—
the error object returned from the request. Set to
null
if the request is successful. -
data
(Object)
—
the de-serialized data returned from the request. Set to
null
if a request error occurs. Thedata
object has the following properties:nextToken
— (String
)Pagination token returned when another page of data exists. Provide it in your next call to the API to receive the next page.
workerFleets
— (Array<map>
)List of worker fleets.
arn
— required — (String
)Full ARN of the worker fleet.
id
— required — (String
)Filters access by the worker fleet's identifier
name
— required — (String
)Human friendly name of the resource.
site
— required — (String
)Site ARN.
createdAt
— required — (Date
)Timestamp at which the resource was created.
updatedAt
— required — (Date
)Timestamp at which the resource was last updated.
additionalFixedProperties
— (String
)JSON blob containing additional fixed properties regarding the worker fleet
-
(AWS.Response)
—
Returns:
listWorkers(params = {}, callback) ⇒ AWS.Request
Grants permission to list workers
Service Reference:
Examples:
Calling the listWorkers operation
var params = {
site: 'STRING_VALUE', /* required */
fleet: 'STRING_VALUE',
maxResults: 'NUMBER_VALUE',
nextToken: 'STRING_VALUE'
};
iotroborunner.listWorkers(params, function(err, data) {
if (err) console.log(err, err.stack); // an error occurred
else console.log(data); // successful response
});
Parameters:
-
params
(Object)
(defaults to: {})
—
site
— (String
)Site ARN.
maxResults
— (Integer
)Maximum number of results to retrieve in a single ListWorkers call.
nextToken
— (String
)Pagination token returned when another page of data exists. Provide it in your next call to the API to receive the next page.
fleet
— (String
)Full ARN of the worker fleet.
Callback (callback):
-
function(err, data) { ... }
Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.
Context (this):
-
(AWS.Response)
—
the response object containing error, data properties, and the original request object.
Parameters:
-
err
(Error)
—
the error object returned from the request. Set to
null
if the request is successful. -
data
(Object)
—
the de-serialized data returned from the request. Set to
null
if a request error occurs. Thedata
object has the following properties:nextToken
— (String
)Pagination token returned when another page of data exists. Provide it in your next call to the API to receive the next page.
workers
— (Array<map>
)List of workers.
arn
— required — (String
)Full ARN of the worker.
id
— required — (String
)Filters access by the workers identifier
fleet
— required — (String
)Full ARN of the worker fleet.
createdAt
— required — (Date
)Timestamp at which the resource was created.
updatedAt
— required — (Date
)Timestamp at which the resource was last updated.
name
— required — (String
)Human friendly name of the resource.
site
— required — (String
)Site ARN.
additionalTransientProperties
— (String
)JSON blob containing unstructured worker properties that are transient and may change during regular operation.
additionalFixedProperties
— (String
)JSON blob containing unstructured worker properties that are fixed and won't change during regular operation.
vendorProperties
— (map
)Properties of the worker that are provided by the vendor FMS.
vendorWorkerId
— required — (String
)The worker ID defined by the vendor FMS.
vendorWorkerIpAddress
— (String
)The worker IP address defined by the vendor FMS.
vendorAdditionalTransientProperties
— (String
)JSON blob containing unstructured vendor properties that are transient and may change during regular operation.
vendorAdditionalFixedProperties
— (String
)JSON blob containing unstructured vendor properties that are fixed and won't change during regular operation.
position
— (map
)Supported coordinates for worker position.
cartesianCoordinates
— (map
)Cartesian coordinates.
x
— required — (Float
)X coordinate.
y
— required — (Float
)Y coordinate.
z
— (Float
)Z coordinate.
orientation
— (map
)Worker orientation measured in units clockwise from north.
degrees
— (Float
)Degrees, limited on [0, 360)
-
(AWS.Response)
—
Returns:
updateDestination(params = {}, callback) ⇒ AWS.Request
Grants permission to update a destination
Service Reference:
Examples:
Calling the updateDestination operation
var params = {
id: 'STRING_VALUE', /* required */
additionalFixedProperties: 'STRING_VALUE',
name: 'STRING_VALUE',
state: ENABLED | DISABLED | DECOMMISSIONED
};
iotroborunner.updateDestination(params, function(err, data) {
if (err) console.log(err, err.stack); // an error occurred
else console.log(data); // successful response
});
Parameters:
-
params
(Object)
(defaults to: {})
—
id
— (String
)Destination ARN.
name
— (String
)Human friendly name of the resource.
state
— (String
)State of the destination.
Possible values include:"ENABLED"
"DISABLED"
"DECOMMISSIONED"
additionalFixedProperties
— (String
)JSON document containing additional fixed properties regarding the destination
Callback (callback):
-
function(err, data) { ... }
Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.
Context (this):
-
(AWS.Response)
—
the response object containing error, data properties, and the original request object.
Parameters:
-
err
(Error)
—
the error object returned from the request. Set to
null
if the request is successful. -
data
(Object)
—
the de-serialized data returned from the request. Set to
null
if a request error occurs. Thedata
object has the following properties:arn
— (String
)Destination ARN.
id
— (String
)Filters access by the destination's identifier
name
— (String
)Human friendly name of the resource.
updatedAt
— (Date
)Timestamp at which the resource was last updated.
state
— (String
)State of the destination.
Possible values include:"ENABLED"
"DISABLED"
"DECOMMISSIONED"
additionalFixedProperties
— (String
)JSON document containing additional fixed properties regarding the destination
-
(AWS.Response)
—
Returns:
updateSite(params = {}, callback) ⇒ AWS.Request
Grants permission to update a site
Service Reference:
Examples:
Calling the updateSite operation
var params = {
id: 'STRING_VALUE', /* required */
countryCode: 'STRING_VALUE',
description: 'STRING_VALUE',
name: 'STRING_VALUE'
};
iotroborunner.updateSite(params, function(err, data) {
if (err) console.log(err, err.stack); // an error occurred
else console.log(data); // successful response
});
Parameters:
-
params
(Object)
(defaults to: {})
—
id
— (String
)Site ARN.
name
— (String
)Human friendly name of the resource.
countryCode
— (String
)A valid ISO 3166-1 alpha-2 code for the country in which the site resides. e.g., US.
description
— (String
)A high-level description of the site.
Callback (callback):
-
function(err, data) { ... }
Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.
Context (this):
-
(AWS.Response)
—
the response object containing error, data properties, and the original request object.
Parameters:
-
err
(Error)
—
the error object returned from the request. Set to
null
if the request is successful. -
data
(Object)
—
the de-serialized data returned from the request. Set to
null
if a request error occurs. Thedata
object has the following properties:arn
— (String
)Site ARN.
id
— (String
)Filters access by the site's identifier
name
— (String
)Human friendly name of the resource.
countryCode
— (String
)A valid ISO 3166-1 alpha-2 code for the country in which the site resides. e.g., US.
description
— (String
)A high-level description of the site.
updatedAt
— (Date
)Timestamp at which the resource was last updated.
-
(AWS.Response)
—
Returns:
updateWorker(params = {}, callback) ⇒ AWS.Request
Grants permission to update a worker
Service Reference:
Examples:
Calling the updateWorker operation
var params = {
id: 'STRING_VALUE', /* required */
additionalFixedProperties: 'STRING_VALUE',
additionalTransientProperties: 'STRING_VALUE',
name: 'STRING_VALUE',
orientation: {
degrees: 'NUMBER_VALUE'
},
position: {
cartesianCoordinates: {
x: 'NUMBER_VALUE', /* required */
y: 'NUMBER_VALUE', /* required */
z: 'NUMBER_VALUE'
}
},
vendorProperties: {
vendorWorkerId: 'STRING_VALUE', /* required */
vendorAdditionalFixedProperties: 'STRING_VALUE',
vendorAdditionalTransientProperties: 'STRING_VALUE',
vendorWorkerIpAddress: 'STRING_VALUE'
}
};
iotroborunner.updateWorker(params, function(err, data) {
if (err) console.log(err, err.stack); // an error occurred
else console.log(data); // successful response
});
Parameters:
-
params
(Object)
(defaults to: {})
—
id
— (String
)Full ARN of the worker.
name
— (String
)Human friendly name of the resource.
additionalTransientProperties
— (String
)JSON blob containing unstructured worker properties that are transient and may change during regular operation.
additionalFixedProperties
— (String
)JSON blob containing unstructured worker properties that are fixed and won't change during regular operation.
vendorProperties
— (map
)Properties of the worker that are provided by the vendor FMS.
vendorWorkerId
— required — (String
)The worker ID defined by the vendor FMS.
vendorWorkerIpAddress
— (String
)The worker IP address defined by the vendor FMS.
vendorAdditionalTransientProperties
— (String
)JSON blob containing unstructured vendor properties that are transient and may change during regular operation.
vendorAdditionalFixedProperties
— (String
)JSON blob containing unstructured vendor properties that are fixed and won't change during regular operation.
position
— (map
)Supported coordinates for worker position.
cartesianCoordinates
— (map
)Cartesian coordinates.
x
— required — (Float
)X coordinate.
y
— required — (Float
)Y coordinate.
z
— (Float
)Z coordinate.
orientation
— (map
)Worker orientation measured in units clockwise from north.
degrees
— (Float
)Degrees, limited on [0, 360)
Callback (callback):
-
function(err, data) { ... }
Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.
Context (this):
-
(AWS.Response)
—
the response object containing error, data properties, and the original request object.
Parameters:
-
err
(Error)
—
the error object returned from the request. Set to
null
if the request is successful. -
data
(Object)
—
the de-serialized data returned from the request. Set to
null
if a request error occurs. Thedata
object has the following properties:arn
— (String
)Full ARN of the worker.
id
— (String
)Filters access by the workers identifier
fleet
— (String
)Full ARN of the worker fleet.
updatedAt
— (Date
)Timestamp at which the resource was last updated.
name
— (String
)Human friendly name of the resource.
additionalTransientProperties
— (String
)JSON blob containing unstructured worker properties that are transient and may change during regular operation.
additionalFixedProperties
— (String
)JSON blob containing unstructured worker properties that are fixed and won't change during regular operation.
orientation
— (map
)Worker orientation measured in units clockwise from north.
degrees
— (Float
)Degrees, limited on [0, 360)
vendorProperties
— (map
)Properties of the worker that are provided by the vendor FMS.
vendorWorkerId
— required — (String
)The worker ID defined by the vendor FMS.
vendorWorkerIpAddress
— (String
)The worker IP address defined by the vendor FMS.
vendorAdditionalTransientProperties
— (String
)JSON blob containing unstructured vendor properties that are transient and may change during regular operation.
vendorAdditionalFixedProperties
— (String
)JSON blob containing unstructured vendor properties that are fixed and won't change during regular operation.
position
— (map
)Supported coordinates for worker position.
cartesianCoordinates
— (map
)Cartesian coordinates.
x
— required — (Float
)X coordinate.
y
— required — (Float
)Y coordinate.
z
— (Float
)Z coordinate.
-
(AWS.Response)
—
Returns:
updateWorkerFleet(params = {}, callback) ⇒ AWS.Request
Grants permission to update a worker fleet
Service Reference:
Examples:
Calling the updateWorkerFleet operation
var params = {
id: 'STRING_VALUE', /* required */
additionalFixedProperties: 'STRING_VALUE',
name: 'STRING_VALUE'
};
iotroborunner.updateWorkerFleet(params, function(err, data) {
if (err) console.log(err, err.stack); // an error occurred
else console.log(data); // successful response
});
Parameters:
-
params
(Object)
(defaults to: {})
—
id
— (String
)Full ARN of the worker fleet.
name
— (String
)Human friendly name of the resource.
additionalFixedProperties
— (String
)JSON blob containing additional fixed properties regarding the worker fleet
Callback (callback):
-
function(err, data) { ... }
Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.
Context (this):
-
(AWS.Response)
—
the response object containing error, data properties, and the original request object.
Parameters:
-
err
(Error)
—
the error object returned from the request. Set to
null
if the request is successful. -
data
(Object)
—
the de-serialized data returned from the request. Set to
null
if a request error occurs. Thedata
object has the following properties:arn
— (String
)Full ARN of the worker fleet.
id
— (String
)Filters access by the worker fleet's identifier
name
— (String
)Human friendly name of the resource.
updatedAt
— (Date
)Timestamp at which the resource was last updated.
additionalFixedProperties
— (String
)JSON blob containing additional fixed properties regarding the worker fleet
-
(AWS.Response)
—
Returns: