Class: AWS.RoboMaker

Inherits:
AWS.Service show all
Identifier:
robomaker
API Version:
2018-06-29
Defined in:
(unknown)

Overview

Constructs a service interface object. Each API operation is exposed as a function on service.

Service Description

This section provides documentation for the AWS RoboMaker API operations.

Sending a Request Using RoboMaker

var robomaker = new AWS.RoboMaker();
robomaker.batchDescribeSimulationJob(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 RoboMaker object uses this specific API, you can construct the object by passing the apiVersion option to the constructor:

var robomaker = new AWS.RoboMaker({apiVersion: '2018-06-29'});

You can also set the API version globally in AWS.config.apiVersions using the robomaker service identifier:

AWS.config.apiVersions = {
  robomaker: '2018-06-29',
  // other service API versions
};

var robomaker = new AWS.RoboMaker();

Version:

  • 2018-06-29

Constructor Summary collapse

Property Summary collapse

Properties inherited from AWS.Service

apiVersions

Method Summary collapse

Methods inherited from AWS.Service

makeRequest, makeUnauthenticatedRequest, waitFor, setupRequestListeners, defineService

Constructor Details

new AWS.RoboMaker(options = {}) ⇒ Object

Constructs a service object. This object has one method for each API operation.

Examples:

Constructing a RoboMaker object

var robomaker = new AWS.RoboMaker({apiVersion: '2018-06-29'});

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)

    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'.

  • 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.RoboMaker.region for more information.

  • maxRetries (Integer)

    the maximum amount of retries to attempt with a request. See AWS.RoboMaker.maxRetries for more information.

  • maxRedirects (Integer)

    the maximum amount of redirects to follow with a request. See AWS.RoboMaker.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.
  • 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 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 returns the amount of time to delay in milliseconds. The base option will be ignored if this option is supplied.
  • 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)

    whether to enable endpoint discovery for operations that allow optionally using an endpoint returned by the service. Defaults to 'false'

  • 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.

Property Details

endpointAWS.Endpoint (readwrite)

Returns an Endpoint object representing the endpoint URL for service requests.

Returns:

  • (AWS.Endpoint)

    an Endpoint object representing the endpoint URL for service requests.

Method Details

batchDescribeSimulationJob(params = {}, callback) ⇒ AWS.Request

Describes one or more simulation jobs.

Service Reference:

Examples:

Calling the batchDescribeSimulationJob operation

var params = {
  jobs: [ /* required */
    'STRING_VALUE',
    /* more items */
  ]
};
robomaker.batchDescribeSimulationJob(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: {})
    • jobs — (Array<String>)

      A list of Amazon Resource Names (ARNs) of simulation jobs to describe.

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. The data object has the following properties:

      • jobs — (Array<map>)

        A list of simulation jobs.

        • arn — (String)

          The Amazon Resource Name (ARN) of the simulation job.

        • name — (String)

          The name of the simulation job.

        • status — (String)

          Status of the simulation job.

          Possible values include:
          • "Pending"
          • "Preparing"
          • "Running"
          • "Restarting"
          • "Completed"
          • "Failed"
          • "RunningFailed"
          • "Terminating"
          • "Terminated"
          • "Canceled"
        • lastStartedAt — (Date)

          The time, in milliseconds since the epoch, when the simulation job was last started.

        • lastUpdatedAt — (Date)

          The time, in milliseconds since the epoch, when the simulation job was last updated.

        • failureBehavior — (String)

          The failure behavior the simulation job.

          Continue

          Restart the simulation job in the same host instance.

          Fail

          Stop the simulation job and terminate the instance.

          Possible values include:
          • "Fail"
          • "Continue"
        • failureCode — (String)

          The failure code of the simulation job if it failed.

          Possible values include:
          • "InternalServiceError"
          • "RobotApplicationCrash"
          • "SimulationApplicationCrash"
          • "BadPermissionsRobotApplication"
          • "BadPermissionsSimulationApplication"
          • "BadPermissionsS3Output"
          • "BadPermissionsCloudwatchLogs"
          • "SubnetIpLimitExceeded"
          • "ENILimitExceeded"
          • "BadPermissionsUserCredentials"
          • "InvalidBundleRobotApplication"
          • "InvalidBundleSimulationApplication"
          • "RobotApplicationVersionMismatchedEtag"
          • "SimulationApplicationVersionMismatchedEtag"
          • "WrongRegionS3Output"
          • "WrongRegionRobotApplication"
          • "WrongRegionSimulationApplication"
        • failureReason — (String)

          The reason why the simulation job failed.

        • clientRequestToken — (String)

          A unique identifier for this SimulationJob request.

        • outputLocation — (map)

          Location for output files generated by the simulation job.

          • s3Bucket — (String)

            The S3 bucket for output.

          • s3Prefix — (String)

            The S3 folder in the s3Bucket where output files will be placed.

        • maxJobDurationInSeconds — (Integer)

          The maximum simulation job duration in seconds. The value must be 8 days (691,200 seconds) or less.

        • simulationTimeMillis — (Integer)

          The simulation job execution duration in milliseconds.

        • iamRole — (String)

          The IAM role that allows the simulation instance to call the AWS APIs that are specified in its associated policies on your behalf. This is how credentials are passed in to your simulation job.

        • robotApplications — (Array<map>)

          A list of robot applications.

          • applicationrequired — (String)

            The application information for the robot application.

          • applicationVersion — (String)

            The version of the robot application.

          • launchConfigrequired — (map)

            The launch configuration for the robot application.

            • packageNamerequired — (String)

              The package name.

            • launchFilerequired — (String)

              The launch file name.

            • environmentVariables — (map<String>)

              The environment variables for the application launch.

        • simulationApplications — (Array<map>)

          A list of simulation applications.

          • applicationrequired — (String)

            The application information for the simulation application.

          • applicationVersion — (String)

            The version of the simulation application.

          • launchConfigrequired — (map)

            The launch configuration for the simulation application.

            • packageNamerequired — (String)

              The package name.

            • launchFilerequired — (String)

              The launch file name.

            • environmentVariables — (map<String>)

              The environment variables for the application launch.

        • tags — (map<String>)

          A map that contains tag keys and tag values that are attached to the simulation job.

        • vpcConfig — (map)

          VPC configuration information.

          • subnets — (Array<String>)

            A list of subnet IDs associated with the simulation job.

          • securityGroups — (Array<String>)

            A list of security group IDs associated with the simulation job.

          • vpcId — (String)

            The VPC ID associated with your simulation job.

          • assignPublicIp — (Boolean)

            A boolean indicating if a public IP was assigned.

      • unprocessedJobs — (Array<String>)

        A list of unprocessed simulation job Amazon Resource Names (ARNs).

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

cancelDeploymentJob(params = {}, callback) ⇒ AWS.Request

Cancels the specified deployment job.

Service Reference:

Examples:

Calling the cancelDeploymentJob operation

var params = {
  job: 'STRING_VALUE' /* required */
};
robomaker.cancelDeploymentJob(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: {})
    • job — (String)

      The deployment job ARN to cancel.

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.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

cancelSimulationJob(params = {}, callback) ⇒ AWS.Request

Cancels the specified simulation job.

Service Reference:

Examples:

Calling the cancelSimulationJob operation

var params = {
  job: 'STRING_VALUE' /* required */
};
robomaker.cancelSimulationJob(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: {})
    • job — (String)

      The simulation job ARN to cancel.

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.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

createDeploymentJob(params = {}, callback) ⇒ AWS.Request

Deploys a specific version of a robot application to robots in a fleet.

The robot application must have a numbered applicationVersion for consistency reasons. To create a new version, use CreateRobotApplicationVersion or see Creating a Robot Application Version.

Note: After 90 days, deployment jobs expire and will be deleted. They will no longer be accessible.

Service Reference:

Examples:

Calling the createDeploymentJob operation

var params = {
  clientRequestToken: 'STRING_VALUE', /* required */
  deploymentApplicationConfigs: [ /* required */
    {
      application: 'STRING_VALUE', /* required */
      applicationVersion: 'STRING_VALUE', /* required */
      launchConfig: { /* required */
        launchFile: 'STRING_VALUE', /* required */
        packageName: 'STRING_VALUE', /* required */
        environmentVariables: {
          '<EnvironmentVariableKey>': 'STRING_VALUE',
          /* '<EnvironmentVariableKey>': ... */
        },
        postLaunchFile: 'STRING_VALUE',
        preLaunchFile: 'STRING_VALUE'
      }
    },
    /* more items */
  ],
  fleet: 'STRING_VALUE', /* required */
  deploymentConfig: {
    concurrentDeploymentPercentage: 'NUMBER_VALUE',
    failureThresholdPercentage: 'NUMBER_VALUE'
  },
  tags: {
    '<TagKey>': 'STRING_VALUE',
    /* '<TagKey>': ... */
  }
};
robomaker.createDeploymentJob(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: {})
    • deploymentConfig — (map)

      The requested deployment configuration.

      • concurrentDeploymentPercentage — (Integer)

        The percentage of robots receiving the deployment at the same time.

      • failureThresholdPercentage — (Integer)

        The percentage of deployments that need to fail before stopping deployment.

    • clientRequestToken — (String)

      Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

      If a token is not provided, the SDK will use a version 4 UUID.
    • fleet — (String)

      The Amazon Resource Name (ARN) of the fleet to deploy.

    • deploymentApplicationConfigs — (Array<map>)

      The deployment application configuration.

      • applicationrequired — (String)

        The Amazon Resource Name (ARN) of the robot application.

      • applicationVersionrequired — (String)

        The version of the application.

      • launchConfigrequired — (map)

        The launch configuration.

        • packageNamerequired — (String)

          The package name.

        • preLaunchFile — (String)

          The deployment pre-launch file. This file will be executed prior to the launch file.

        • launchFilerequired — (String)

          The launch file name.

        • postLaunchFile — (String)

          The deployment post-launch file. This file will be executed after the launch file.

        • environmentVariables — (map<String>)

          An array of key/value pairs specifying environment variables for the robot application

    • tags — (map<String>)

      A map that contains tag keys and tag values that are attached to the deployment job.

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. The data object has the following properties:

      • arn — (String)

        The Amazon Resource Name (ARN) of the deployment job.

      • fleet — (String)

        The target fleet for the deployment job.

      • status — (String)

        The status of the deployment job.

        Possible values include:
        • "Pending"
        • "Preparing"
        • "InProgress"
        • "Failed"
        • "Succeeded"
        • "Canceled"
      • deploymentApplicationConfigs — (Array<map>)

        The deployment application configuration.

        • applicationrequired — (String)

          The Amazon Resource Name (ARN) of the robot application.

        • applicationVersionrequired — (String)

          The version of the application.

        • launchConfigrequired — (map)

          The launch configuration.

          • packageNamerequired — (String)

            The package name.

          • preLaunchFile — (String)

            The deployment pre-launch file. This file will be executed prior to the launch file.

          • launchFilerequired — (String)

            The launch file name.

          • postLaunchFile — (String)

            The deployment post-launch file. This file will be executed after the launch file.

          • environmentVariables — (map<String>)

            An array of key/value pairs specifying environment variables for the robot application

      • failureReason — (String)

        The failure reason of the deployment job if it failed.

      • failureCode — (String)

        The failure code of the simulation job if it failed:

        BadPermissionError

        AWS Greengrass requires a service-level role permission to access other services. The role must include the AWSGreengrassResourceAccessRolePolicy managed policy.

        ExtractingBundleFailure

        The robot application could not be extracted from the bundle.

        FailureThresholdBreached

        The percentage of robots that could not be updated exceeded the percentage set for the deployment.

        GreengrassDeploymentFailed

        The robot application could not be deployed to the robot.

        GreengrassGroupVersionDoesNotExist

        The AWS Greengrass group or version associated with a robot is missing.

        InternalServerError

        An internal error has occurred. Retry your request, but if the problem persists, contact us with details.

        MissingRobotApplicationArchitecture

        The robot application does not have a source that matches the architecture of the robot.

        MissingRobotDeploymentResource

        One or more of the resources specified for the robot application are missing. For example, does the robot application have the correct launch package and launch file?

        PostLaunchFileFailure

        The post-launch script failed.

        PreLaunchFileFailure

        The pre-launch script failed.

        ResourceNotFound

        One or more deployment resources are missing. For example, do robot application source bundles still exist?

        RobotDeploymentNoResponse

        There is no response from the robot. It might not be powered on or connected to the internet.

        Possible values include:
        • "ResourceNotFound"
        • "EnvironmentSetupError"
        • "EtagMismatch"
        • "FailureThresholdBreached"
        • "RobotDeploymentAborted"
        • "RobotDeploymentNoResponse"
        • "RobotAgentConnectionTimeout"
        • "GreengrassDeploymentFailed"
        • "MissingRobotArchitecture"
        • "MissingRobotApplicationArchitecture"
        • "MissingRobotDeploymentResource"
        • "GreengrassGroupVersionDoesNotExist"
        • "ExtractingBundleFailure"
        • "PreLaunchFileFailure"
        • "PostLaunchFileFailure"
        • "BadPermissionError"
        • "InternalServerError"
      • createdAt — (Date)

        The time, in milliseconds since the epoch, when the fleet was created.

      • deploymentConfig — (map)

        The deployment configuration.

        • concurrentDeploymentPercentage — (Integer)

          The percentage of robots receiving the deployment at the same time.

        • failureThresholdPercentage — (Integer)

          The percentage of deployments that need to fail before stopping deployment.

      • tags — (map<String>)

        The list of all tags added to the deployment job.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

createFleet(params = {}, callback) ⇒ AWS.Request

Creates a fleet, a logical group of robots running the same robot application.

Service Reference:

Examples:

Calling the createFleet operation

var params = {
  name: 'STRING_VALUE', /* required */
  tags: {
    '<TagKey>': 'STRING_VALUE',
    /* '<TagKey>': ... */
  }
};
robomaker.createFleet(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: {})
    • name — (String)

      The name of the fleet.

    • tags — (map<String>)

      A map that contains tag keys and tag values that are attached to the 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. The data object has the following properties:

      • arn — (String)

        The Amazon Resource Name (ARN) of the fleet.

      • name — (String)

        The name of the fleet.

      • createdAt — (Date)

        The time, in milliseconds since the epoch, when the fleet was created.

      • tags — (map<String>)

        The list of all tags added to the fleet.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

createRobot(params = {}, callback) ⇒ AWS.Request

Creates a robot.

Service Reference:

Examples:

Calling the createRobot operation

var params = {
  architecture: X86_64 | ARM64 | ARMHF, /* required */
  greengrassGroupId: 'STRING_VALUE', /* required */
  name: 'STRING_VALUE', /* required */
  tags: {
    '<TagKey>': 'STRING_VALUE',
    /* '<TagKey>': ... */
  }
};
robomaker.createRobot(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: {})
    • name — (String)

      The name for the robot.

    • architecture — (String)

      The target architecture of the robot.

      Possible values include:
      • "X86_64"
      • "ARM64"
      • "ARMHF"
    • greengrassGroupId — (String)

      The Greengrass group id.

    • tags — (map<String>)

      A map that contains tag keys and tag values that are attached to the robot.

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. The data object has the following properties:

      • arn — (String)

        The Amazon Resource Name (ARN) of the robot.

      • name — (String)

        The name of the robot.

      • createdAt — (Date)

        The time, in milliseconds since the epoch, when the robot was created.

      • greengrassGroupId — (String)

        The Amazon Resource Name (ARN) of the Greengrass group associated with the robot.

      • architecture — (String)

        The target architecture of the robot.

        Possible values include:
        • "X86_64"
        • "ARM64"
        • "ARMHF"
      • tags — (map<String>)

        The list of all tags added to the robot.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

createRobotApplication(params = {}, callback) ⇒ AWS.Request

Creates a robot application.

Service Reference:

Examples:

Calling the createRobotApplication operation

var params = {
  name: 'STRING_VALUE', /* required */
  robotSoftwareSuite: { /* required */
    name: ROS,
    version: Kinetic | Melodic
  },
  sources: [ /* required */
    {
      architecture: X86_64 | ARM64 | ARMHF,
      s3Bucket: 'STRING_VALUE',
      s3Key: 'STRING_VALUE'
    },
    /* more items */
  ],
  tags: {
    '<TagKey>': 'STRING_VALUE',
    /* '<TagKey>': ... */
  }
};
robomaker.createRobotApplication(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: {})
    • name — (String)

      The name of the robot application.

    • sources — (Array<map>)

      The sources of the robot application.

      • s3Bucket — (String)

        The Amazon S3 bucket name.

      • s3Key — (String)

        The s3 object key.

      • architecture — (String)

        The target processor architecture for the application.

        Possible values include:
        • "X86_64"
        • "ARM64"
        • "ARMHF"
    • robotSoftwareSuite — (map)

      The robot software suite used by the robot application.

      • name — (String)

        The name of the robot software suite.

        Possible values include:
        • "ROS"
      • version — (String)

        The version of the robot software suite.

        Possible values include:
        • "Kinetic"
        • "Melodic"
    • tags — (map<String>)

      A map that contains tag keys and tag values that are attached to the robot application.

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. The data object has the following properties:

      • arn — (String)

        The Amazon Resource Name (ARN) of the robot application.

      • name — (String)

        The name of the robot application.

      • version — (String)

        The version of the robot application.

      • sources — (Array<map>)

        The sources of the robot application.

        • s3Bucket — (String)

          The s3 bucket name.

        • s3Key — (String)

          The s3 object key.

        • etag — (String)

          A hash of the object specified by s3Bucket and s3Key.

        • architecture — (String)

          The taget processor architecture for the application.

          Possible values include:
          • "X86_64"
          • "ARM64"
          • "ARMHF"
      • robotSoftwareSuite — (map)

        The robot software suite used by the robot application.

        • name — (String)

          The name of the robot software suite.

          Possible values include:
          • "ROS"
        • version — (String)

          The version of the robot software suite.

          Possible values include:
          • "Kinetic"
          • "Melodic"
      • lastUpdatedAt — (Date)

        The time, in milliseconds since the epoch, when the robot application was last updated.

      • revisionId — (String)

        The revision id of the robot application.

      • tags — (map<String>)

        The list of all tags added to the robot application.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

createRobotApplicationVersion(params = {}, callback) ⇒ AWS.Request

Creates a version of a robot application.

Service Reference:

Examples:

Calling the createRobotApplicationVersion operation

var params = {
  application: 'STRING_VALUE', /* required */
  currentRevisionId: 'STRING_VALUE'
};
robomaker.createRobotApplicationVersion(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: {})
    • application — (String)

      The application information for the robot application.

    • currentRevisionId — (String)

      The current revision id for the robot application. If you provide a value and it matches the latest revision ID, a new version will be created.

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. The data object has the following properties:

      • arn — (String)

        The Amazon Resource Name (ARN) of the robot application.

      • name — (String)

        The name of the robot application.

      • version — (String)

        The version of the robot application.

      • sources — (Array<map>)

        The sources of the robot application.

        • s3Bucket — (String)

          The s3 bucket name.

        • s3Key — (String)

          The s3 object key.

        • etag — (String)

          A hash of the object specified by s3Bucket and s3Key.

        • architecture — (String)

          The taget processor architecture for the application.

          Possible values include:
          • "X86_64"
          • "ARM64"
          • "ARMHF"
      • robotSoftwareSuite — (map)

        The robot software suite used by the robot application.

        • name — (String)

          The name of the robot software suite.

          Possible values include:
          • "ROS"
        • version — (String)

          The version of the robot software suite.

          Possible values include:
          • "Kinetic"
          • "Melodic"
      • lastUpdatedAt — (Date)

        The time, in milliseconds since the epoch, when the robot application was last updated.

      • revisionId — (String)

        The revision id of the robot application.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

createSimulationApplication(params = {}, callback) ⇒ AWS.Request

Creates a simulation application.

Service Reference:

Examples:

Calling the createSimulationApplication operation

var params = {
  name: 'STRING_VALUE', /* required */
  renderingEngine: { /* required */
    name: OGRE,
    version: 'STRING_VALUE'
  },
  robotSoftwareSuite: { /* required */
    name: ROS,
    version: Kinetic | Melodic
  },
  simulationSoftwareSuite: { /* required */
    name: Gazebo,
    version: 'STRING_VALUE'
  },
  sources: [ /* required */
    {
      architecture: X86_64 | ARM64 | ARMHF,
      s3Bucket: 'STRING_VALUE',
      s3Key: 'STRING_VALUE'
    },
    /* more items */
  ],
  tags: {
    '<TagKey>': 'STRING_VALUE',
    /* '<TagKey>': ... */
  }
};
robomaker.createSimulationApplication(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: {})
    • name — (String)

      The name of the simulation application.

    • sources — (Array<map>)

      The sources of the simulation application.

      • s3Bucket — (String)

        The Amazon S3 bucket name.

      • s3Key — (String)

        The s3 object key.

      • architecture — (String)

        The target processor architecture for the application.

        Possible values include:
        • "X86_64"
        • "ARM64"
        • "ARMHF"
    • simulationSoftwareSuite — (map)

      The simulation software suite used by the simulation application.

      • name — (String)

        The name of the simulation software suite.

        Possible values include:
        • "Gazebo"
      • version — (String)

        The version of the simulation software suite.

    • robotSoftwareSuite — (map)

      The robot software suite of the simulation application.

      • name — (String)

        The name of the robot software suite.

        Possible values include:
        • "ROS"
      • version — (String)

        The version of the robot software suite.

        Possible values include:
        • "Kinetic"
        • "Melodic"
    • renderingEngine — (map)

      The rendering engine for the simulation application.

      • name — (String)

        The name of the rendering engine.

        Possible values include:
        • "OGRE"
      • version — (String)

        The version of the rendering engine.

    • tags — (map<String>)

      A map that contains tag keys and tag values that are attached to the simulation application.

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. The data object has the following properties:

      • arn — (String)

        The Amazon Resource Name (ARN) of the simulation application.

      • name — (String)

        The name of the simulation application.

      • version — (String)

        The version of the simulation application.

      • sources — (Array<map>)

        The sources of the simulation application.

        • s3Bucket — (String)

          The s3 bucket name.

        • s3Key — (String)

          The s3 object key.

        • etag — (String)

          A hash of the object specified by s3Bucket and s3Key.

        • architecture — (String)

          The taget processor architecture for the application.

          Possible values include:
          • "X86_64"
          • "ARM64"
          • "ARMHF"
      • simulationSoftwareSuite — (map)

        The simulation software suite used by the simulation application.

        • name — (String)

          The name of the simulation software suite.

          Possible values include:
          • "Gazebo"
        • version — (String)

          The version of the simulation software suite.

      • robotSoftwareSuite — (map)

        Information about the robot software suite.

        • name — (String)

          The name of the robot software suite.

          Possible values include:
          • "ROS"
        • version — (String)

          The version of the robot software suite.

          Possible values include:
          • "Kinetic"
          • "Melodic"
      • renderingEngine — (map)

        The rendering engine for the simulation application.

        • name — (String)

          The name of the rendering engine.

          Possible values include:
          • "OGRE"
        • version — (String)

          The version of the rendering engine.

      • lastUpdatedAt — (Date)

        The time, in milliseconds since the epoch, when the simulation application was last updated.

      • revisionId — (String)

        The revision id of the simulation application.

      • tags — (map<String>)

        The list of all tags added to the simulation application.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

createSimulationApplicationVersion(params = {}, callback) ⇒ AWS.Request

Creates a simulation application with a specific revision id.

Examples:

Calling the createSimulationApplicationVersion operation

var params = {
  application: 'STRING_VALUE', /* required */
  currentRevisionId: 'STRING_VALUE'
};
robomaker.createSimulationApplicationVersion(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: {})
    • application — (String)

      The application information for the simulation application.

    • currentRevisionId — (String)

      The current revision id for the simulation application. If you provide a value and it matches the latest revision ID, a new version will be created.

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. The data object has the following properties:

      • arn — (String)

        The Amazon Resource Name (ARN) of the simulation application.

      • name — (String)

        The name of the simulation application.

      • version — (String)

        The version of the simulation application.

      • sources — (Array<map>)

        The sources of the simulation application.

        • s3Bucket — (String)

          The s3 bucket name.

        • s3Key — (String)

          The s3 object key.

        • etag — (String)

          A hash of the object specified by s3Bucket and s3Key.

        • architecture — (String)

          The taget processor architecture for the application.

          Possible values include:
          • "X86_64"
          • "ARM64"
          • "ARMHF"
      • simulationSoftwareSuite — (map)

        The simulation software suite used by the simulation application.

        • name — (String)

          The name of the simulation software suite.

          Possible values include:
          • "Gazebo"
        • version — (String)

          The version of the simulation software suite.

      • robotSoftwareSuite — (map)

        Information about the robot software suite.

        • name — (String)

          The name of the robot software suite.

          Possible values include:
          • "ROS"
        • version — (String)

          The version of the robot software suite.

          Possible values include:
          • "Kinetic"
          • "Melodic"
      • renderingEngine — (map)

        The rendering engine for the simulation application.

        • name — (String)

          The name of the rendering engine.

          Possible values include:
          • "OGRE"
        • version — (String)

          The version of the rendering engine.

      • lastUpdatedAt — (Date)

        The time, in milliseconds since the epoch, when the simulation application was last updated.

      • revisionId — (String)

        The revision ID of the simulation application.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

createSimulationJob(params = {}, callback) ⇒ AWS.Request

Creates a simulation job.

Note: After 90 days, simulation jobs expire and will be deleted. They will no longer be accessible.

Service Reference:

Examples:

Calling the createSimulationJob operation

var params = {
  iamRole: 'STRING_VALUE', /* required */
  maxJobDurationInSeconds: 'NUMBER_VALUE', /* required */
  clientRequestToken: 'STRING_VALUE',
  failureBehavior: Fail | Continue,
  outputLocation: {
    s3Bucket: 'STRING_VALUE',
    s3Prefix: 'STRING_VALUE'
  },
  robotApplications: [
    {
      application: 'STRING_VALUE', /* required */
      launchConfig: { /* required */
        launchFile: 'STRING_VALUE', /* required */
        packageName: 'STRING_VALUE', /* required */
        environmentVariables: {
          '<EnvironmentVariableKey>': 'STRING_VALUE',
          /* '<EnvironmentVariableKey>': ... */
        }
      },
      applicationVersion: 'STRING_VALUE'
    },
    /* more items */
  ],
  simulationApplications: [
    {
      application: 'STRING_VALUE', /* required */
      launchConfig: { /* required */
        launchFile: 'STRING_VALUE', /* required */
        packageName: 'STRING_VALUE', /* required */
        environmentVariables: {
          '<EnvironmentVariableKey>': 'STRING_VALUE',
          /* '<EnvironmentVariableKey>': ... */
        }
      },
      applicationVersion: 'STRING_VALUE'
    },
    /* more items */
  ],
  tags: {
    '<TagKey>': 'STRING_VALUE',
    /* '<TagKey>': ... */
  },
  vpcConfig: {
    subnets: [ /* required */
      'STRING_VALUE',
      /* more items */
    ],
    assignPublicIp: true || false,
    securityGroups: [
      'STRING_VALUE',
      /* more items */
    ]
  }
};
robomaker.createSimulationJob(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: {})
    • clientRequestToken — (String)

      Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

      If a token is not provided, the SDK will use a version 4 UUID.
    • outputLocation — (map)

      Location for output files generated by the simulation job.

      • s3Bucket — (String)

        The S3 bucket for output.

      • s3Prefix — (String)

        The S3 folder in the s3Bucket where output files will be placed.

    • maxJobDurationInSeconds — (Integer)

      The maximum simulation job duration in seconds (up to 14 days or 1,209,600 seconds. When maxJobDurationInSeconds is reached, the simulation job will status will transition to Completed.

    • iamRole — (String)

      The IAM role name that allows the simulation instance to call the AWS APIs that are specified in its associated policies on your behalf. This is how credentials are passed in to your simulation job.

    • failureBehavior — (String)

      The failure behavior the simulation job.

      Continue

      Restart the simulation job in the same host instance.

      Fail

      Stop the simulation job and terminate the instance.

      Possible values include:
      • "Fail"
      • "Continue"
    • robotApplications — (Array<map>)

      The robot application to use in the simulation job.

      • applicationrequired — (String)

        The application information for the robot application.

      • applicationVersion — (String)

        The version of the robot application.

      • launchConfigrequired — (map)

        The launch configuration for the robot application.

        • packageNamerequired — (String)

          The package name.

        • launchFilerequired — (String)

          The launch file name.

        • environmentVariables — (map<String>)

          The environment variables for the application launch.

    • simulationApplications — (Array<map>)

      The simulation application to use in the simulation job.

      • applicationrequired — (String)

        The application information for the simulation application.

      • applicationVersion — (String)

        The version of the simulation application.

      • launchConfigrequired — (map)

        The launch configuration for the simulation application.

        • packageNamerequired — (String)

          The package name.

        • launchFilerequired — (String)

          The launch file name.

        • environmentVariables — (map<String>)

          The environment variables for the application launch.

    • tags — (map<String>)

      A map that contains tag keys and tag values that are attached to the simulation job.

    • vpcConfig — (map)

      If your simulation job accesses resources in a VPC, you provide this parameter identifying the list of security group IDs and subnet IDs. These must belong to the same VPC. You must provide at least one security group and one subnet ID.

      • subnetsrequired — (Array<String>)

        A list of one or more subnet IDs in your VPC.

      • securityGroups — (Array<String>)

        A list of one or more security groups IDs in your VPC.

      • assignPublicIp — (Boolean)

        A boolean indicating whether to assign a public IP address.

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. The data object has the following properties:

      • arn — (String)

        The Amazon Resource Name (ARN) of the simulation job.

      • status — (String)

        The status of the simulation job.

        Possible values include:
        • "Pending"
        • "Preparing"
        • "Running"
        • "Restarting"
        • "Completed"
        • "Failed"
        • "RunningFailed"
        • "Terminating"
        • "Terminated"
        • "Canceled"
      • lastStartedAt — (Date)

        The time, in milliseconds since the epoch, when the simulation job was last started.

      • lastUpdatedAt — (Date)

        The time, in milliseconds since the epoch, when the simulation job was last updated.

      • failureBehavior — (String)

        the failure behavior for the simulation job.

        Possible values include:
        • "Fail"
        • "Continue"
      • failureCode — (String)

        The failure code of the simulation job if it failed:

        InternalServiceError

        Internal service error.

        RobotApplicationCrash

        Robot application exited abnormally.

        SimulationApplicationCrash

        Simulation application exited abnormally.

        BadPermissionsRobotApplication

        Robot application bundle could not be downloaded.

        BadPermissionsSimulationApplication

        Simulation application bundle could not be downloaded.

        BadPermissionsS3Output

        Unable to publish outputs to customer-provided S3 bucket.

        BadPermissionsCloudwatchLogs

        Unable to publish logs to customer-provided CloudWatch Logs resource.

        SubnetIpLimitExceeded

        Subnet IP limit exceeded.

        ENILimitExceeded

        ENI limit exceeded.

        BadPermissionsUserCredentials

        Unable to use the Role provided.

        InvalidBundleRobotApplication

        Robot bundle cannot be extracted (invalid format, bundling error, or other issue).

        InvalidBundleSimulationApplication

        Simulation bundle cannot be extracted (invalid format, bundling error, or other issue).

        RobotApplicationVersionMismatchedEtag

        Etag for RobotApplication does not match value during version creation.

        SimulationApplicationVersionMismatchedEtag

        Etag for SimulationApplication does not match value during version creation.

        Possible values include:
        • "InternalServiceError"
        • "RobotApplicationCrash"
        • "SimulationApplicationCrash"
        • "BadPermissionsRobotApplication"
        • "BadPermissionsSimulationApplication"
        • "BadPermissionsS3Output"
        • "BadPermissionsCloudwatchLogs"
        • "SubnetIpLimitExceeded"
        • "ENILimitExceeded"
        • "BadPermissionsUserCredentials"
        • "InvalidBundleRobotApplication"
        • "InvalidBundleSimulationApplication"
        • "RobotApplicationVersionMismatchedEtag"
        • "SimulationApplicationVersionMismatchedEtag"
        • "WrongRegionS3Output"
        • "WrongRegionRobotApplication"
        • "WrongRegionSimulationApplication"
      • clientRequestToken — (String)

        Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

      • outputLocation — (map)

        Simulation job output files location.

        • s3Bucket — (String)

          The S3 bucket for output.

        • s3Prefix — (String)

          The S3 folder in the s3Bucket where output files will be placed.

      • maxJobDurationInSeconds — (Integer)

        The maximum simulation job duration in seconds.

      • simulationTimeMillis — (Integer)

        The simulation job execution duration in milliseconds.

      • iamRole — (String)

        The IAM role that allows the simulation job to call the AWS APIs that are specified in its associated policies on your behalf.

      • robotApplications — (Array<map>)

        The robot application used by the simulation job.

        • applicationrequired — (String)

          The application information for the robot application.

        • applicationVersion — (String)

          The version of the robot application.

        • launchConfigrequired — (map)

          The launch configuration for the robot application.

          • packageNamerequired — (String)

            The package name.

          • launchFilerequired — (String)

            The launch file name.

          • environmentVariables — (map<String>)

            The environment variables for the application launch.

      • simulationApplications — (Array<map>)

        The simulation application used by the simulation job.

        • applicationrequired — (String)

          The application information for the simulation application.

        • applicationVersion — (String)

          The version of the simulation application.

        • launchConfigrequired — (map)

          The launch configuration for the simulation application.

          • packageNamerequired — (String)

            The package name.

          • launchFilerequired — (String)

            The launch file name.

          • environmentVariables — (map<String>)

            The environment variables for the application launch.

      • tags — (map<String>)

        The list of all tags added to the simulation job.

      • vpcConfig — (map)

        Information about the vpc configuration.

        • subnets — (Array<String>)

          A list of subnet IDs associated with the simulation job.

        • securityGroups — (Array<String>)

          A list of security group IDs associated with the simulation job.

        • vpcId — (String)

          The VPC ID associated with your simulation job.

        • assignPublicIp — (Boolean)

          A boolean indicating if a public IP was assigned.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

deleteFleet(params = {}, callback) ⇒ AWS.Request

Deletes a fleet.

Service Reference:

Examples:

Calling the deleteFleet operation

var params = {
  fleet: 'STRING_VALUE' /* required */
};
robomaker.deleteFleet(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: {})
    • fleet — (String)

      The Amazon Resource Name (ARN) of the 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.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

deleteRobot(params = {}, callback) ⇒ AWS.Request

Deletes a robot.

Service Reference:

Examples:

Calling the deleteRobot operation

var params = {
  robot: 'STRING_VALUE' /* required */
};
robomaker.deleteRobot(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: {})
    • robot — (String)

      The Amazon Resource Name (ARN) of the robot.

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.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

deleteRobotApplication(params = {}, callback) ⇒ AWS.Request

Deletes a robot application.

Service Reference:

Examples:

Calling the deleteRobotApplication operation

var params = {
  application: 'STRING_VALUE', /* required */
  applicationVersion: 'STRING_VALUE'
};
robomaker.deleteRobotApplication(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: {})
    • application — (String)

      The Amazon Resource Name (ARN) of the the robot application.

    • applicationVersion — (String)

      The version of the robot application to delete.

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.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

deleteSimulationApplication(params = {}, callback) ⇒ AWS.Request

Deletes a simulation application.

Service Reference:

Examples:

Calling the deleteSimulationApplication operation

var params = {
  application: 'STRING_VALUE', /* required */
  applicationVersion: 'STRING_VALUE'
};
robomaker.deleteSimulationApplication(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: {})
    • application — (String)

      The application information for the simulation application to delete.

    • applicationVersion — (String)

      The version of the simulation application to delete.

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.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

deregisterRobot(params = {}, callback) ⇒ AWS.Request

Deregisters a robot.

Service Reference:

Examples:

Calling the deregisterRobot operation

var params = {
  fleet: 'STRING_VALUE', /* required */
  robot: 'STRING_VALUE' /* required */
};
robomaker.deregisterRobot(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: {})
    • fleet — (String)

      The Amazon Resource Name (ARN) of the fleet.

    • robot — (String)

      The Amazon Resource Name (ARN) of the robot.

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. The data object has the following properties:

      • fleet — (String)

        The Amazon Resource Name (ARN) of the fleet.

      • robot — (String)

        The Amazon Resource Name (ARN) of the robot.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

describeDeploymentJob(params = {}, callback) ⇒ AWS.Request

Describes a deployment job.

Service Reference:

Examples:

Calling the describeDeploymentJob operation

var params = {
  job: 'STRING_VALUE' /* required */
};
robomaker.describeDeploymentJob(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: {})
    • job — (String)

      The Amazon Resource Name (ARN) of the deployment job.

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. The data object has the following properties:

      • arn — (String)

        The Amazon Resource Name (ARN) of the deployment job.

      • fleet — (String)

        The Amazon Resource Name (ARN) of the fleet.

      • status — (String)

        The status of the deployment job.

        Possible values include:
        • "Pending"
        • "Preparing"
        • "InProgress"
        • "Failed"
        • "Succeeded"
        • "Canceled"
      • deploymentConfig — (map)

        The deployment configuration.

        • concurrentDeploymentPercentage — (Integer)

          The percentage of robots receiving the deployment at the same time.

        • failureThresholdPercentage — (Integer)

          The percentage of deployments that need to fail before stopping deployment.

      • deploymentApplicationConfigs — (Array<map>)

        The deployment application configuration.

        • applicationrequired — (String)

          The Amazon Resource Name (ARN) of the robot application.

        • applicationVersionrequired — (String)

          The version of the application.

        • launchConfigrequired — (map)

          The launch configuration.

          • packageNamerequired — (String)

            The package name.

          • preLaunchFile — (String)

            The deployment pre-launch file. This file will be executed prior to the launch file.

          • launchFilerequired — (String)

            The launch file name.

          • postLaunchFile — (String)

            The deployment post-launch file. This file will be executed after the launch file.

          • environmentVariables — (map<String>)

            An array of key/value pairs specifying environment variables for the robot application

      • failureReason — (String)

        A short description of the reason why the deployment job failed.

      • failureCode — (String)

        The deployment job failure code.

        Possible values include:
        • "ResourceNotFound"
        • "EnvironmentSetupError"
        • "EtagMismatch"
        • "FailureThresholdBreached"
        • "RobotDeploymentAborted"
        • "RobotDeploymentNoResponse"
        • "RobotAgentConnectionTimeout"
        • "GreengrassDeploymentFailed"
        • "MissingRobotArchitecture"
        • "MissingRobotApplicationArchitecture"
        • "MissingRobotDeploymentResource"
        • "GreengrassGroupVersionDoesNotExist"
        • "ExtractingBundleFailure"
        • "PreLaunchFileFailure"
        • "PostLaunchFileFailure"
        • "BadPermissionError"
        • "InternalServerError"
      • createdAt — (Date)

        The time, in milliseconds since the epoch, when the deployment job was created.

      • robotDeploymentSummary — (Array<map>)

        A list of robot deployment summaries.

        • arn — (String)

          The robot deployment Amazon Resource Name (ARN).

        • deploymentStartTime — (Date)

          The time, in milliseconds since the epoch, when the deployment was started.

        • deploymentFinishTime — (Date)

          The time, in milliseconds since the epoch, when the deployment finished.

        • status — (String)

          The status of the robot deployment.

          Possible values include:
          • "Available"
          • "Registered"
          • "PendingNewDeployment"
          • "Deploying"
          • "Failed"
          • "InSync"
          • "NoResponse"
        • progressDetail — (map)

          Information about how the deployment is progressing.

          • currentProgress — (String)

            The current progress status.

            Validating

            Validating the deployment.

            DownloadingExtracting

            Downloading and extracting the bundle on the robot.

            ExecutingPreLaunch

            Executing pre-launch script(s) if provided.

            Launching

            Launching the robot application.

            ExecutingPostLaunch

            Executing post-launch script(s) if provided.

            Finished

            Deployment is complete.

            Possible values include:
            • "Validating"
            • "DownloadingExtracting"
            • "ExecutingPreLaunch"
            • "Launching"
            • "ExecutingPostLaunch"
            • "Finished"
          • percentDone — (Float)

            Precentage of the step that is done. This currently only applies to the Downloading/Extracting step of the deployment. It is empty for other steps.

          • estimatedTimeRemainingSeconds — (Integer)

            Estimated amount of time in seconds remaining in the step. This currently only applies to the Downloading/Extracting step of the deployment. It is empty for other steps.

          • targetResource — (String)

            The Amazon Resource Name (ARN) of the deployment job.

        • failureReason — (String)

          A short description of the reason why the robot deployment failed.

        • failureCode — (String)

          The robot deployment failure code.

          Possible values include:
          • "ResourceNotFound"
          • "EnvironmentSetupError"
          • "EtagMismatch"
          • "FailureThresholdBreached"
          • "RobotDeploymentAborted"
          • "RobotDeploymentNoResponse"
          • "RobotAgentConnectionTimeout"
          • "GreengrassDeploymentFailed"
          • "MissingRobotArchitecture"
          • "MissingRobotApplicationArchitecture"
          • "MissingRobotDeploymentResource"
          • "GreengrassGroupVersionDoesNotExist"
          • "ExtractingBundleFailure"
          • "PreLaunchFileFailure"
          • "PostLaunchFileFailure"
          • "BadPermissionError"
          • "InternalServerError"
      • tags — (map<String>)

        The list of all tags added to the specified deployment job.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

describeFleet(params = {}, callback) ⇒ AWS.Request

Describes a fleet.

Service Reference:

Examples:

Calling the describeFleet operation

var params = {
  fleet: 'STRING_VALUE' /* required */
};
robomaker.describeFleet(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: {})
    • fleet — (String)

      The Amazon Resource Name (ARN) of the 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. The data object has the following properties:

      • name — (String)

        The name of the fleet.

      • arn — (String)

        The Amazon Resource Name (ARN) of the fleet.

      • robots — (Array<map>)

        A list of robots.

        • arn — (String)

          The Amazon Resource Name (ARN) of the robot.

        • name — (String)

          The name of the robot.

        • fleetArn — (String)

          The Amazon Resource Name (ARN) of the fleet.

        • status — (String)

          The status of the robot.

          Possible values include:
          • "Available"
          • "Registered"
          • "PendingNewDeployment"
          • "Deploying"
          • "Failed"
          • "InSync"
          • "NoResponse"
        • greenGrassGroupId — (String)

          The Greengrass group associated with the robot.

        • createdAt — (Date)

          The time, in milliseconds since the epoch, when the robot was created.

        • architecture — (String)

          The architecture of the robot.

          Possible values include:
          • "X86_64"
          • "ARM64"
          • "ARMHF"
        • lastDeploymentJob — (String)

          The Amazon Resource Name (ARN) of the last deployment job.

        • lastDeploymentTime — (Date)

          The time of the last deployment.

      • createdAt — (Date)

        The time, in milliseconds since the epoch, when the fleet was created.

      • lastDeploymentStatus — (String)

        The status of the last deployment.

        Possible values include:
        • "Pending"
        • "Preparing"
        • "InProgress"
        • "Failed"
        • "Succeeded"
        • "Canceled"
      • lastDeploymentJob — (String)

        The Amazon Resource Name (ARN) of the last deployment job.

      • lastDeploymentTime — (Date)

        The time of the last deployment.

      • tags — (map<String>)

        The list of all tags added to the specified fleet.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

describeRobot(params = {}, callback) ⇒ AWS.Request

Describes a robot.

Service Reference:

Examples:

Calling the describeRobot operation

var params = {
  robot: 'STRING_VALUE' /* required */
};
robomaker.describeRobot(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: {})
    • robot — (String)

      The Amazon Resource Name (ARN) of the robot to be described.

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. The data object has the following properties:

      • arn — (String)

        The Amazon Resource Name (ARN) of the robot.

      • name — (String)

        The name of the robot.

      • fleetArn — (String)

        The Amazon Resource Name (ARN) of the fleet.

      • status — (String)

        The status of the fleet.

        Possible values include:
        • "Available"
        • "Registered"
        • "PendingNewDeployment"
        • "Deploying"
        • "Failed"
        • "InSync"
        • "NoResponse"
      • greengrassGroupId — (String)

        The Greengrass group id.

      • createdAt — (Date)

        The time, in milliseconds since the epoch, when the robot was created.

      • architecture — (String)

        The target architecture of the robot application.

        Possible values include:
        • "X86_64"
        • "ARM64"
        • "ARMHF"
      • lastDeploymentJob — (String)

        The Amazon Resource Name (ARN) of the last deployment job.

      • lastDeploymentTime — (Date)

        The time of the last deployment job.

      • tags — (map<String>)

        The list of all tags added to the specified robot.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

describeRobotApplication(params = {}, callback) ⇒ AWS.Request

Describes a robot application.

Service Reference:

Examples:

Calling the describeRobotApplication operation

var params = {
  application: 'STRING_VALUE', /* required */
  applicationVersion: 'STRING_VALUE'
};
robomaker.describeRobotApplication(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: {})
    • application — (String)

      The Amazon Resource Name (ARN) of the robot application.

    • applicationVersion — (String)

      The version of the robot application to describe.

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. The data object has the following properties:

      • arn — (String)

        The Amazon Resource Name (ARN) of the robot application.

      • name — (String)

        The name of the robot application.

      • version — (String)

        The version of the robot application.

      • sources — (Array<map>)

        The sources of the robot application.

        • s3Bucket — (String)

          The s3 bucket name.

        • s3Key — (String)

          The s3 object key.

        • etag — (String)

          A hash of the object specified by s3Bucket and s3Key.

        • architecture — (String)

          The taget processor architecture for the application.

          Possible values include:
          • "X86_64"
          • "ARM64"
          • "ARMHF"
      • robotSoftwareSuite — (map)

        The robot software suite used by the robot application.

        • name — (String)

          The name of the robot software suite.

          Possible values include:
          • "ROS"
        • version — (String)

          The version of the robot software suite.

          Possible values include:
          • "Kinetic"
          • "Melodic"
      • revisionId — (String)

        The revision id of the robot application.

      • lastUpdatedAt — (Date)

        The time, in milliseconds since the epoch, when the robot application was last updated.

      • tags — (map<String>)

        The list of all tags added to the specified robot application.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

describeSimulationApplication(params = {}, callback) ⇒ AWS.Request

Describes a simulation application.

Service Reference:

Examples:

Calling the describeSimulationApplication operation

var params = {
  application: 'STRING_VALUE', /* required */
  applicationVersion: 'STRING_VALUE'
};
robomaker.describeSimulationApplication(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: {})
    • application — (String)

      The application information for the simulation application.

    • applicationVersion — (String)

      The version of the simulation application to describe.

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. The data object has the following properties:

      • arn — (String)

        The Amazon Resource Name (ARN) of the robot simulation application.

      • name — (String)

        The name of the simulation application.

      • version — (String)

        The version of the simulation application.

      • sources — (Array<map>)

        The sources of the simulation application.

        • s3Bucket — (String)

          The s3 bucket name.

        • s3Key — (String)

          The s3 object key.

        • etag — (String)

          A hash of the object specified by s3Bucket and s3Key.

        • architecture — (String)

          The taget processor architecture for the application.

          Possible values include:
          • "X86_64"
          • "ARM64"
          • "ARMHF"
      • simulationSoftwareSuite — (map)

        The simulation software suite used by the simulation application.

        • name — (String)

          The name of the simulation software suite.

          Possible values include:
          • "Gazebo"
        • version — (String)

          The version of the simulation software suite.

      • robotSoftwareSuite — (map)

        Information about the robot software suite.

        • name — (String)

          The name of the robot software suite.

          Possible values include:
          • "ROS"
        • version — (String)

          The version of the robot software suite.

          Possible values include:
          • "Kinetic"
          • "Melodic"
      • renderingEngine — (map)

        The rendering engine for the simulation application.

        • name — (String)

          The name of the rendering engine.

          Possible values include:
          • "OGRE"
        • version — (String)

          The version of the rendering engine.

      • revisionId — (String)

        The revision id of the simulation application.

      • lastUpdatedAt — (Date)

        The time, in milliseconds since the epoch, when the simulation application was last updated.

      • tags — (map<String>)

        The list of all tags added to the specified simulation application.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

describeSimulationJob(params = {}, callback) ⇒ AWS.Request

Describes a simulation job.

Service Reference:

Examples:

Calling the describeSimulationJob operation

var params = {
  job: 'STRING_VALUE' /* required */
};
robomaker.describeSimulationJob(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: {})
    • job — (String)

      The Amazon Resource Name (ARN) of the simulation job to be described.

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. The data object has the following properties:

      • arn — (String)

        The Amazon Resource Name (ARN) of the simulation job.

      • name — (String)

        The name of the simulation job.

      • status — (String)

        The status of the simulation job.

        Possible values include:
        • "Pending"
        • "Preparing"
        • "Running"
        • "Restarting"
        • "Completed"
        • "Failed"
        • "RunningFailed"
        • "Terminating"
        • "Terminated"
        • "Canceled"
      • lastStartedAt — (Date)

        The time, in milliseconds since the epoch, when the simulation job was last started.

      • lastUpdatedAt — (Date)

        The time, in milliseconds since the epoch, when the simulation job was last updated.

      • failureBehavior — (String)

        The failure behavior for the simulation job.

        Possible values include:
        • "Fail"
        • "Continue"
      • failureCode — (String)

        The failure code of the simulation job if it failed:

        InternalServiceError

        Internal service error.

        RobotApplicationCrash

        Robot application exited abnormally.

        SimulationApplicationCrash

        Simulation application exited abnormally.

        BadPermissionsRobotApplication

        Robot application bundle could not be downloaded.

        BadPermissionsSimulationApplication

        Simulation application bundle could not be downloaded.

        BadPermissionsS3Output

        Unable to publish outputs to customer-provided S3 bucket.

        BadPermissionsCloudwatchLogs

        Unable to publish logs to customer-provided CloudWatch Logs resource.

        SubnetIpLimitExceeded

        Subnet IP limit exceeded.

        ENILimitExceeded

        ENI limit exceeded.

        BadPermissionsUserCredentials

        Unable to use the Role provided.

        InvalidBundleRobotApplication

        Robot bundle cannot be extracted (invalid format, bundling error, or other issue).

        InvalidBundleSimulationApplication

        Simulation bundle cannot be extracted (invalid format, bundling error, or other issue).

        RobotApplicationVersionMismatchedEtag

        Etag for RobotApplication does not match value during version creation.

        SimulationApplicationVersionMismatchedEtag

        Etag for SimulationApplication does not match value during version creation.

        Possible values include:
        • "InternalServiceError"
        • "RobotApplicationCrash"
        • "SimulationApplicationCrash"
        • "BadPermissionsRobotApplication"
        • "BadPermissionsSimulationApplication"
        • "BadPermissionsS3Output"
        • "BadPermissionsCloudwatchLogs"
        • "SubnetIpLimitExceeded"
        • "ENILimitExceeded"
        • "BadPermissionsUserCredentials"
        • "InvalidBundleRobotApplication"
        • "InvalidBundleSimulationApplication"
        • "RobotApplicationVersionMismatchedEtag"
        • "SimulationApplicationVersionMismatchedEtag"
        • "WrongRegionS3Output"
        • "WrongRegionRobotApplication"
        • "WrongRegionSimulationApplication"
      • failureReason — (String)

        Details about why the simulation job failed. For more information about troubleshooting, see Troubleshooting.

      • clientRequestToken — (String)

        Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

      • outputLocation — (map)

        Location for output files generated by the simulation job.

        • s3Bucket — (String)

          The S3 bucket for output.

        • s3Prefix — (String)

          The S3 folder in the s3Bucket where output files will be placed.

      • maxJobDurationInSeconds — (Integer)

        The maximum job duration in seconds. The value must be 8 days (691,200 seconds) or less.

      • simulationTimeMillis — (Integer)

        The simulation job execution duration in milliseconds.

      • iamRole — (String)

        The IAM role that allows the simulation instance to call the AWS APIs that are specified in its associated policies on your behalf.

      • robotApplications — (Array<map>)

        A list of robot applications.

        • applicationrequired — (String)

          The application information for the robot application.

        • applicationVersion — (String)

          The version of the robot application.

        • launchConfigrequired — (map)

          The launch configuration for the robot application.

          • packageNamerequired — (String)

            The package name.

          • launchFilerequired — (String)

            The launch file name.

          • environmentVariables — (map<String>)

            The environment variables for the application launch.

      • simulationApplications — (Array<map>)

        A list of simulation applications.

        • applicationrequired — (String)

          The application information for the simulation application.

        • applicationVersion — (String)

          The version of the simulation application.

        • launchConfigrequired — (map)

          The launch configuration for the simulation application.

          • packageNamerequired — (String)

            The package name.

          • launchFilerequired — (String)

            The launch file name.

          • environmentVariables — (map<String>)

            The environment variables for the application launch.

      • tags — (map<String>)

        The list of all tags added to the specified simulation job.

      • vpcConfig — (map)

        The VPC configuration.

        • subnets — (Array<String>)

          A list of subnet IDs associated with the simulation job.

        • securityGroups — (Array<String>)

          A list of security group IDs associated with the simulation job.

        • vpcId — (String)

          The VPC ID associated with your simulation job.

        • assignPublicIp — (Boolean)

          A boolean indicating if a public IP was assigned.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

listDeploymentJobs(params = {}, callback) ⇒ AWS.Request

Returns a list of deployment jobs for a fleet. You can optionally provide filters to retrieve specific deployment jobs.

Note:

Service Reference:

Examples:

Calling the listDeploymentJobs operation

var params = {
  filters: [
    {
      name: 'STRING_VALUE',
      values: [
        'STRING_VALUE',
        /* more items */
      ]
    },
    /* more items */
  ],
  maxResults: 'NUMBER_VALUE',
  nextToken: 'STRING_VALUE'
};
robomaker.listDeploymentJobs(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: {})
    • filters — (Array<map>)

      Optional filters to limit results.

      The filter names status and fleetName are supported. When filtering, you must use the complete value of the filtered item. You can use up to three filters, but they must be for the same named item. For example, if you are looking for items with the status InProgress or the status Pending.

      • name — (String)

        The name of the filter.

      • values — (Array<String>)

        A list of values.

    • nextToken — (String)

      The nextToken value returned from a previous paginated ListDeploymentJobs request where maxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value.

      Note: This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.
    • maxResults — (Integer)

      The maximum number of deployment job results returned by ListDeploymentJobs in paginated output. When this parameter is used, ListDeploymentJobs only returns maxResults results in a single page along with a nextToken response element. The remaining results of the initial request can be seen by sending another ListDeploymentJobs request with the returned nextToken value. This value can be between 1 and 100. If this parameter is not used, then ListDeploymentJobs returns up to 100 results and a nextToken value if applicable.

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. The data object has the following properties:

      • deploymentJobs — (Array<map>)

        A list of deployment jobs that meet the criteria of the request.

        • arn — (String)

          The Amazon Resource Name (ARN) of the deployment job.

        • fleet — (String)

          The Amazon Resource Name (ARN) of the fleet.

        • status — (String)

          The status of the deployment job.

          Possible values include:
          • "Pending"
          • "Preparing"
          • "InProgress"
          • "Failed"
          • "Succeeded"
          • "Canceled"
        • deploymentApplicationConfigs — (Array<map>)

          The deployment application configuration.

          • applicationrequired — (String)

            The Amazon Resource Name (ARN) of the robot application.

          • applicationVersionrequired — (String)

            The version of the application.

          • launchConfigrequired — (map)

            The launch configuration.

            • packageNamerequired — (String)

              The package name.

            • preLaunchFile — (String)

              The deployment pre-launch file. This file will be executed prior to the launch file.

            • launchFilerequired — (String)

              The launch file name.

            • postLaunchFile — (String)

              The deployment post-launch file. This file will be executed after the launch file.

            • environmentVariables — (map<String>)

              An array of key/value pairs specifying environment variables for the robot application

        • deploymentConfig — (map)

          The deployment configuration.

          • concurrentDeploymentPercentage — (Integer)

            The percentage of robots receiving the deployment at the same time.

          • failureThresholdPercentage — (Integer)

            The percentage of deployments that need to fail before stopping deployment.

        • failureReason — (String)

          A short description of the reason why the deployment job failed.

        • failureCode — (String)

          The deployment job failure code.

          Possible values include:
          • "ResourceNotFound"
          • "EnvironmentSetupError"
          • "EtagMismatch"
          • "FailureThresholdBreached"
          • "RobotDeploymentAborted"
          • "RobotDeploymentNoResponse"
          • "RobotAgentConnectionTimeout"
          • "GreengrassDeploymentFailed"
          • "MissingRobotArchitecture"
          • "MissingRobotApplicationArchitecture"
          • "MissingRobotDeploymentResource"
          • "GreengrassGroupVersionDoesNotExist"
          • "ExtractingBundleFailure"
          • "PreLaunchFileFailure"
          • "PostLaunchFileFailure"
          • "BadPermissionError"
          • "InternalServerError"
        • createdAt — (Date)

          The time, in milliseconds since the epoch, when the deployment job was created.

      • nextToken — (String)

        The nextToken value to include in a future ListDeploymentJobs request. When the results of a ListDeploymentJobs request exceed maxResults, this value can be used to retrieve the next page of results. This value is null when there are no more results to return.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

listFleets(params = {}, callback) ⇒ AWS.Request

Returns a list of fleets. You can optionally provide filters to retrieve specific fleets.

Service Reference:

Examples:

Calling the listFleets operation

var params = {
  filters: [
    {
      name: 'STRING_VALUE',
      values: [
        'STRING_VALUE',
        /* more items */
      ]
    },
    /* more items */
  ],
  maxResults: 'NUMBER_VALUE',
  nextToken: 'STRING_VALUE'
};
robomaker.listFleets(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: {})
    • nextToken — (String)

      The nextToken value returned from a previous paginated ListFleets request where maxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value.

      Note: This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.
    • maxResults — (Integer)

      The maximum number of deployment job results returned by ListFleets in paginated output. When this parameter is used, ListFleets only returns maxResults results in a single page along with a nextToken response element. The remaining results of the initial request can be seen by sending another ListFleets request with the returned nextToken value. This value can be between 1 and 100. If this parameter is not used, then ListFleets returns up to 100 results and a nextToken value if applicable.

    • filters — (Array<map>)

      Optional filters to limit results.

      The filter name name is supported. When filtering, you must use the complete value of the filtered item. You can use up to three filters.

      • name — (String)

        The name of the filter.

      • values — (Array<String>)

        A list of values.

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. The data object has the following properties:

      • fleetDetails — (Array<map>)

        A list of fleet details meeting the request criteria.

        • name — (String)

          The name of the fleet.

        • arn — (String)

          The Amazon Resource Name (ARN) of the fleet.

        • createdAt — (Date)

          The time, in milliseconds since the epoch, when the fleet was created.

        • lastDeploymentStatus — (String)

          The status of the last fleet deployment.

          Possible values include:
          • "Pending"
          • "Preparing"
          • "InProgress"
          • "Failed"
          • "Succeeded"
          • "Canceled"
        • lastDeploymentJob — (String)

          The Amazon Resource Name (ARN) of the last deployment job.

        • lastDeploymentTime — (Date)

          The time of the last deployment.

      • nextToken — (String)

        The nextToken value to include in a future ListDeploymentJobs request. When the results of a ListFleets request exceed maxResults, this value can be used to retrieve the next page of results. This value is null when there are no more results to return.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

listRobotApplications(params = {}, callback) ⇒ AWS.Request

Returns a list of robot application. You can optionally provide filters to retrieve specific robot applications.

Service Reference:

Examples:

Calling the listRobotApplications operation

var params = {
  filters: [
    {
      name: 'STRING_VALUE',
      values: [
        'STRING_VALUE',
        /* more items */
      ]
    },
    /* more items */
  ],
  maxResults: 'NUMBER_VALUE',
  nextToken: 'STRING_VALUE',
  versionQualifier: 'STRING_VALUE'
};
robomaker.listRobotApplications(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: {})
    • versionQualifier — (String)

      The version qualifier of the robot application.

    • nextToken — (String)

      The nextToken value returned from a previous paginated ListRobotApplications request where maxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value.

      Note: This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.
    • maxResults — (Integer)

      The maximum number of deployment job results returned by ListRobotApplications in paginated output. When this parameter is used, ListRobotApplications only returns maxResults results in a single page along with a nextToken response element. The remaining results of the initial request can be seen by sending another ListRobotApplications request with the returned nextToken value. This value can be between 1 and 100. If this parameter is not used, then ListRobotApplications returns up to 100 results and a nextToken value if applicable.

    • filters — (Array<map>)

      Optional filters to limit results.

      The filter name name is supported. When filtering, you must use the complete value of the filtered item. You can use up to three filters.

      • name — (String)

        The name of the filter.

      • values — (Array<String>)

        A list of values.

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. The data object has the following properties:

      • robotApplicationSummaries — (Array<map>)

        A list of robot application summaries that meet the criteria of the request.

        • name — (String)

          The name of the robot application.

        • arn — (String)

          The Amazon Resource Name (ARN) of the robot.

        • version — (String)

          The version of the robot application.

        • lastUpdatedAt — (Date)

          The time, in milliseconds since the epoch, when the robot application was last updated.

        • robotSoftwareSuite — (map)

          Information about a robot software suite.

          • name — (String)

            The name of the robot software suite.

            Possible values include:
            • "ROS"
          • version — (String)

            The version of the robot software suite.

            Possible values include:
            • "Kinetic"
            • "Melodic"
      • nextToken — (String)

        The nextToken value to include in a future ListRobotApplications request. When the results of a ListRobotApplications request exceed maxResults, this value can be used to retrieve the next page of results. This value is null when there are no more results to return.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

listRobots(params = {}, callback) ⇒ AWS.Request

Returns a list of robots. You can optionally provide filters to retrieve specific robots.

Service Reference:

Examples:

Calling the listRobots operation

var params = {
  filters: [
    {
      name: 'STRING_VALUE',
      values: [
        'STRING_VALUE',
        /* more items */
      ]
    },
    /* more items */
  ],
  maxResults: 'NUMBER_VALUE',
  nextToken: 'STRING_VALUE'
};
robomaker.listRobots(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: {})
    • nextToken — (String)

      The nextToken value returned from a previous paginated ListRobots request where maxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value.

      Note: This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.
    • maxResults — (Integer)

      The maximum number of deployment job results returned by ListRobots in paginated output. When this parameter is used, ListRobots only returns maxResults results in a single page along with a nextToken response element. The remaining results of the initial request can be seen by sending another ListRobots request with the returned nextToken value. This value can be between 1 and 100. If this parameter is not used, then ListRobots returns up to 100 results and a nextToken value if applicable.

    • filters — (Array<map>)

      Optional filters to limit results.

      The filter names status and fleetName are supported. When filtering, you must use the complete value of the filtered item. You can use up to three filters, but they must be for the same named item. For example, if you are looking for items with the status Registered or the status Available.

      • name — (String)

        The name of the filter.

      • values — (Array<String>)

        A list of values.

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. The data object has the following properties:

      • robots — (Array<map>)

        A list of robots that meet the criteria of the request.

        • arn — (String)

          The Amazon Resource Name (ARN) of the robot.

        • name — (String)

          The name of the robot.

        • fleetArn — (String)

          The Amazon Resource Name (ARN) of the fleet.

        • status — (String)

          The status of the robot.

          Possible values include:
          • "Available"
          • "Registered"
          • "PendingNewDeployment"
          • "Deploying"
          • "Failed"
          • "InSync"
          • "NoResponse"
        • greenGrassGroupId — (String)

          The Greengrass group associated with the robot.

        • createdAt — (Date)

          The time, in milliseconds since the epoch, when the robot was created.

        • architecture — (String)

          The architecture of the robot.

          Possible values include:
          • "X86_64"
          • "ARM64"
          • "ARMHF"
        • lastDeploymentJob — (String)

          The Amazon Resource Name (ARN) of the last deployment job.

        • lastDeploymentTime — (Date)

          The time of the last deployment.

      • nextToken — (String)

        The nextToken value to include in a future ListRobots request. When the results of a ListRobot request exceed maxResults, this value can be used to retrieve the next page of results. This value is null when there are no more results to return.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

listSimulationApplications(params = {}, callback) ⇒ AWS.Request

Returns a list of simulation applications. You can optionally provide filters to retrieve specific simulation applications.

Service Reference:

Examples:

Calling the listSimulationApplications operation

var params = {
  filters: [
    {
      name: 'STRING_VALUE',
      values: [
        'STRING_VALUE',
        /* more items */
      ]
    },
    /* more items */
  ],
  maxResults: 'NUMBER_VALUE',
  nextToken: 'STRING_VALUE',
  versionQualifier: 'STRING_VALUE'
};
robomaker.listSimulationApplications(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: {})
    • versionQualifier — (String)

      The version qualifier of the simulation application.

    • nextToken — (String)

      The nextToken value returned from a previous paginated ListSimulationApplications request where maxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value.

      Note: This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.
    • maxResults — (Integer)

      The maximum number of deployment job results returned by ListSimulationApplications in paginated output. When this parameter is used, ListSimulationApplications only returns maxResults results in a single page along with a nextToken response element. The remaining results of the initial request can be seen by sending another ListSimulationApplications request with the returned nextToken value. This value can be between 1 and 100. If this parameter is not used, then ListSimulationApplications returns up to 100 results and a nextToken value if applicable.

    • filters — (Array<map>)

      Optional list of filters to limit results.

      The filter name name is supported. When filtering, you must use the complete value of the filtered item. You can use up to three filters.

      • name — (String)

        The name of the filter.

      • values — (Array<String>)

        A list of values.

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. The data object has the following properties:

      • simulationApplicationSummaries — (Array<map>)

        A list of simulation application summaries that meet the criteria of the request.

        • name — (String)

          The name of the simulation application.

        • arn — (String)

          The Amazon Resource Name (ARN) of the simulation application.

        • version — (String)

          The version of the simulation application.

        • lastUpdatedAt — (Date)

          The time, in milliseconds since the epoch, when the simulation application was last updated.

        • robotSoftwareSuite — (map)

          Information about a robot software suite.

          • name — (String)

            The name of the robot software suite.

            Possible values include:
            • "ROS"
          • version — (String)

            The version of the robot software suite.

            Possible values include:
            • "Kinetic"
            • "Melodic"
        • simulationSoftwareSuite — (map)

          Information about a simulation software suite.

          • name — (String)

            The name of the simulation software suite.

            Possible values include:
            • "Gazebo"
          • version — (String)

            The version of the simulation software suite.

      • nextToken — (String)

        The nextToken value to include in a future ListSimulationApplications request. When the results of a ListRobot request exceed maxResults, this value can be used to retrieve the next page of results. This value is null when there are no more results to return.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

listSimulationJobs(params = {}, callback) ⇒ AWS.Request

Returns a list of simulation jobs. You can optionally provide filters to retrieve specific simulation jobs.

Service Reference:

Examples:

Calling the listSimulationJobs operation

var params = {
  filters: [
    {
      name: 'STRING_VALUE',
      values: [
        'STRING_VALUE',
        /* more items */
      ]
    },
    /* more items */
  ],
  maxResults: 'NUMBER_VALUE',
  nextToken: 'STRING_VALUE'
};
robomaker.listSimulationJobs(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: {})
    • nextToken — (String)

      The nextToken value returned from a previous paginated ListSimulationJobs request where maxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value.

      Note: This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.
    • maxResults — (Integer)

      The maximum number of deployment job results returned by ListSimulationJobs in paginated output. When this parameter is used, ListSimulationJobs only returns maxResults results in a single page along with a nextToken response element. The remaining results of the initial request can be seen by sending another ListSimulationJobs request with the returned nextToken value. This value can be between 1 and 100. If this parameter is not used, then ListSimulationJobs returns up to 100 results and a nextToken value if applicable.

    • filters — (Array<map>)

      Optional filters to limit results.

      The filter names status and simulationApplicationName and robotApplicationName are supported. When filtering, you must use the complete value of the filtered item. You can use up to three filters, but they must be for the same named item. For example, if you are looking for items with the status Preparing or the status Running.

      • name — (String)

        The name of the filter.

      • values — (Array<String>)

        A list of values.

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. The data object has the following properties:

      • simulationJobSummaries — (Array<map>)

        A list of simulation job summaries that meet the criteria of the request.

        • arn — (String)

          The Amazon Resource Name (ARN) of the simulation job.

        • lastUpdatedAt — (Date)

          The time, in milliseconds since the epoch, when the simulation job was last updated.

        • name — (String)

          The name of the simulation job.

        • status — (String)

          The status of the simulation job.

          Possible values include:
          • "Pending"
          • "Preparing"
          • "Running"
          • "Restarting"
          • "Completed"
          • "Failed"
          • "RunningFailed"
          • "Terminating"
          • "Terminated"
          • "Canceled"
        • simulationApplicationNames — (Array<String>)

          A list of simulation job simulation application names.

        • robotApplicationNames — (Array<String>)

          A list of simulation job robot application names.

      • nextToken — (String)

        The nextToken value to include in a future ListSimulationJobs request. When the results of a ListRobot request exceed maxResults, this value can be used to retrieve the next page of results. This value is null when there are no more results to return.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

listTagsForResource(params = {}, callback) ⇒ AWS.Request

Lists all tags on a AWS RoboMaker resource.

Service Reference:

Examples:

Calling the listTagsForResource operation

var params = {
  resourceArn: 'STRING_VALUE' /* required */
};
robomaker.listTagsForResource(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: {})
    • resourceArn — (String)

      The AWS RoboMaker Amazon Resource Name (ARN) with tags to be listed.

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. The data object has the following properties:

      • tags — (map<String>)

        The list of all tags added to the specified resource.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

registerRobot(params = {}, callback) ⇒ AWS.Request

Registers a robot with a fleet.

Service Reference:

Examples:

Calling the registerRobot operation

var params = {
  fleet: 'STRING_VALUE', /* required */
  robot: 'STRING_VALUE' /* required */
};
robomaker.registerRobot(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: {})
    • fleet — (String)

      The Amazon Resource Name (ARN) of the fleet.

    • robot — (String)

      The Amazon Resource Name (ARN) of the robot.

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. The data object has the following properties:

      • fleet — (String)

        The Amazon Resource Name (ARN) of the fleet that the robot will join.

      • robot — (String)

        Information about the robot registration.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

restartSimulationJob(params = {}, callback) ⇒ AWS.Request

Restarts a running simulation job.

Service Reference:

Examples:

Calling the restartSimulationJob operation

var params = {
  job: 'STRING_VALUE' /* required */
};
robomaker.restartSimulationJob(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: {})
    • job — (String)

      The Amazon Resource Name (ARN) of the simulation job.

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.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

syncDeploymentJob(params = {}, callback) ⇒ AWS.Request

Syncrhonizes robots in a fleet to the latest deployment. This is helpful if robots were added after a deployment.

Service Reference:

Examples:

Calling the syncDeploymentJob operation

var params = {
  clientRequestToken: 'STRING_VALUE', /* required */
  fleet: 'STRING_VALUE' /* required */
};
robomaker.syncDeploymentJob(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: {})
    • clientRequestToken — (String)

      Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

      If a token is not provided, the SDK will use a version 4 UUID.
    • fleet — (String)

      The target fleet for the synchronization.

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. The data object has the following properties:

      • arn — (String)

        The Amazon Resource Name (ARN) of the synchronization request.

      • fleet — (String)

        The Amazon Resource Name (ARN) of the fleet.

      • status — (String)

        The status of the synchronization job.

        Possible values include:
        • "Pending"
        • "Preparing"
        • "InProgress"
        • "Failed"
        • "Succeeded"
        • "Canceled"
      • deploymentConfig — (map)

        Information about the deployment configuration.

        • concurrentDeploymentPercentage — (Integer)

          The percentage of robots receiving the deployment at the same time.

        • failureThresholdPercentage — (Integer)

          The percentage of deployments that need to fail before stopping deployment.

      • deploymentApplicationConfigs — (Array<map>)

        Information about the deployment application configurations.

        • applicationrequired — (String)

          The Amazon Resource Name (ARN) of the robot application.

        • applicationVersionrequired — (String)

          The version of the application.

        • launchConfigrequired — (map)

          The launch configuration.

          • packageNamerequired — (String)

            The package name.

          • preLaunchFile — (String)

            The deployment pre-launch file. This file will be executed prior to the launch file.

          • launchFilerequired — (String)

            The launch file name.

          • postLaunchFile — (String)

            The deployment post-launch file. This file will be executed after the launch file.

          • environmentVariables — (map<String>)

            An array of key/value pairs specifying environment variables for the robot application

      • failureReason — (String)

        The failure reason if the job fails.

      • failureCode — (String)

        The failure code if the job fails:

        InternalServiceError

        Internal service error.

        RobotApplicationCrash

        Robot application exited abnormally.

        SimulationApplicationCrash

        Simulation application exited abnormally.

        BadPermissionsRobotApplication

        Robot application bundle could not be downloaded.

        BadPermissionsSimulationApplication

        Simulation application bundle could not be downloaded.

        BadPermissionsS3Output

        Unable to publish outputs to customer-provided S3 bucket.

        BadPermissionsCloudwatchLogs

        Unable to publish logs to customer-provided CloudWatch Logs resource.

        SubnetIpLimitExceeded

        Subnet IP limit exceeded.

        ENILimitExceeded

        ENI limit exceeded.

        BadPermissionsUserCredentials

        Unable to use the Role provided.

        InvalidBundleRobotApplication

        Robot bundle cannot be extracted (invalid format, bundling error, or other issue).

        InvalidBundleSimulationApplication

        Simulation bundle cannot be extracted (invalid format, bundling error, or other issue).

        RobotApplicationVersionMismatchedEtag

        Etag for RobotApplication does not match value during version creation.

        SimulationApplicationVersionMismatchedEtag

        Etag for SimulationApplication does not match value during version creation.

        Possible values include:
        • "ResourceNotFound"
        • "EnvironmentSetupError"
        • "EtagMismatch"
        • "FailureThresholdBreached"
        • "RobotDeploymentAborted"
        • "RobotDeploymentNoResponse"
        • "RobotAgentConnectionTimeout"
        • "GreengrassDeploymentFailed"
        • "MissingRobotArchitecture"
        • "MissingRobotApplicationArchitecture"
        • "MissingRobotDeploymentResource"
        • "GreengrassGroupVersionDoesNotExist"
        • "ExtractingBundleFailure"
        • "PreLaunchFileFailure"
        • "PostLaunchFileFailure"
        • "BadPermissionError"
        • "InternalServerError"
      • createdAt — (Date)

        The time, in milliseconds since the epoch, when the fleet was created.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

tagResource(params = {}, callback) ⇒ AWS.Request

Adds or edits tags for a AWS RoboMaker resource.

Each tag consists of a tag key and a tag value. Tag keys and tag values are both required, but tag values can be empty strings.

For information about the rules that apply to tag keys and tag values, see User-Defined Tag Restrictions in the AWS Billing and Cost Management User Guide.

Service Reference:

Examples:

Calling the tagResource operation

var params = {
  resourceArn: 'STRING_VALUE', /* required */
  tags: { /* required */
    '<TagKey>': 'STRING_VALUE',
    /* '<TagKey>': ... */
  }
};
robomaker.tagResource(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: {})
    • resourceArn — (String)

      The Amazon Resource Name (ARN) of the AWS RoboMaker resource you are tagging.

    • tags — (map<String>)

      A map that contains tag keys and tag values that are attached to the resource.

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.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

untagResource(params = {}, callback) ⇒ AWS.Request

Removes the specified tags from the specified AWS RoboMaker resource.

To remove a tag, specify the tag key. To change the tag value of an existing tag key, use TagResource .

Service Reference:

Examples:

Calling the untagResource operation

var params = {
  resourceArn: 'STRING_VALUE', /* required */
  tagKeys: [ /* required */
    'STRING_VALUE',
    /* more items */
  ]
};
robomaker.untagResource(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: {})
    • resourceArn — (String)

      The Amazon Resource Name (ARN) of the AWS RoboMaker resource you are removing tags.

    • tagKeys — (Array<String>)

      A map that contains tag keys and tag values that will be unattached from the resource.

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.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

updateRobotApplication(params = {}, callback) ⇒ AWS.Request

Updates a robot application.

Service Reference:

Examples:

Calling the updateRobotApplication operation

var params = {
  application: 'STRING_VALUE', /* required */
  robotSoftwareSuite: { /* required */
    name: ROS,
    version: Kinetic | Melodic
  },
  sources: [ /* required */
    {
      architecture: X86_64 | ARM64 | ARMHF,
      s3Bucket: 'STRING_VALUE',
      s3Key: 'STRING_VALUE'
    },
    /* more items */
  ],
  currentRevisionId: 'STRING_VALUE'
};
robomaker.updateRobotApplication(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: {})
    • application — (String)

      The application information for the robot application.

    • sources — (Array<map>)

      The sources of the robot application.

      • s3Bucket — (String)

        The Amazon S3 bucket name.

      • s3Key — (String)

        The s3 object key.

      • architecture — (String)

        The target processor architecture for the application.

        Possible values include:
        • "X86_64"
        • "ARM64"
        • "ARMHF"
    • robotSoftwareSuite — (map)

      The robot software suite used by the robot application.

      • name — (String)

        The name of the robot software suite.

        Possible values include:
        • "ROS"
      • version — (String)

        The version of the robot software suite.

        Possible values include:
        • "Kinetic"
        • "Melodic"
    • currentRevisionId — (String)

      The revision id for the robot application.

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. The data object has the following properties:

      • arn — (String)

        The Amazon Resource Name (ARN) of the updated robot application.

      • name — (String)

        The name of the robot application.

      • version — (String)

        The version of the robot application.

      • sources — (Array<map>)

        The sources of the robot application.

        • s3Bucket — (String)

          The s3 bucket name.

        • s3Key — (String)

          The s3 object key.

        • etag — (String)

          A hash of the object specified by s3Bucket and s3Key.

        • architecture — (String)

          The taget processor architecture for the application.

          Possible values include:
          • "X86_64"
          • "ARM64"
          • "ARMHF"
      • robotSoftwareSuite — (map)

        The robot software suite used by the robot application.

        • name — (String)

          The name of the robot software suite.

          Possible values include:
          • "ROS"
        • version — (String)

          The version of the robot software suite.

          Possible values include:
          • "Kinetic"
          • "Melodic"
      • lastUpdatedAt — (Date)

        The time, in milliseconds since the epoch, when the robot application was last updated.

      • revisionId — (String)

        The revision id of the robot application.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

updateSimulationApplication(params = {}, callback) ⇒ AWS.Request

Updates a simulation application.

Service Reference:

Examples:

Calling the updateSimulationApplication operation

var params = {
  application: 'STRING_VALUE', /* required */
  renderingEngine: { /* required */
    name: OGRE,
    version: 'STRING_VALUE'
  },
  robotSoftwareSuite: { /* required */
    name: ROS,
    version: Kinetic | Melodic
  },
  simulationSoftwareSuite: { /* required */
    name: Gazebo,
    version: 'STRING_VALUE'
  },
  sources: [ /* required */
    {
      architecture: X86_64 | ARM64 | ARMHF,
      s3Bucket: 'STRING_VALUE',
      s3Key: 'STRING_VALUE'
    },
    /* more items */
  ],
  currentRevisionId: 'STRING_VALUE'
};
robomaker.updateSimulationApplication(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: {})
    • application — (String)

      The application information for the simulation application.

    • sources — (Array<map>)

      The sources of the simulation application.

      • s3Bucket — (String)

        The Amazon S3 bucket name.

      • s3Key — (String)

        The s3 object key.

      • architecture — (String)

        The target processor architecture for the application.

        Possible values include:
        • "X86_64"
        • "ARM64"
        • "ARMHF"
    • simulationSoftwareSuite — (map)

      The simulation software suite used by the simulation application.

      • name — (String)

        The name of the simulation software suite.

        Possible values include:
        • "Gazebo"
      • version — (String)

        The version of the simulation software suite.

    • robotSoftwareSuite — (map)

      Information about the robot software suite.

      • name — (String)

        The name of the robot software suite.

        Possible values include:
        • "ROS"
      • version — (String)

        The version of the robot software suite.

        Possible values include:
        • "Kinetic"
        • "Melodic"
    • renderingEngine — (map)

      The rendering engine for the simulation application.

      • name — (String)

        The name of the rendering engine.

        Possible values include:
        • "OGRE"
      • version — (String)

        The version of the rendering engine.

    • currentRevisionId — (String)

      The revision id for the robot application.

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. The data object has the following properties:

      • arn — (String)

        The Amazon Resource Name (ARN) of the updated simulation application.

      • name — (String)

        The name of the simulation application.

      • version — (String)

        The version of the robot application.

      • sources — (Array<map>)

        The sources of the simulation application.

        • s3Bucket — (String)

          The s3 bucket name.

        • s3Key — (String)

          The s3 object key.

        • etag — (String)

          A hash of the object specified by s3Bucket and s3Key.

        • architecture — (String)

          The taget processor architecture for the application.

          Possible values include:
          • "X86_64"
          • "ARM64"
          • "ARMHF"
      • simulationSoftwareSuite — (map)

        The simulation software suite used by the simulation application.

        • name — (String)

          The name of the simulation software suite.

          Possible values include:
          • "Gazebo"
        • version — (String)

          The version of the simulation software suite.

      • robotSoftwareSuite — (map)

        Information about the robot software suite.

        • name — (String)

          The name of the robot software suite.

          Possible values include:
          • "ROS"
        • version — (String)

          The version of the robot software suite.

          Possible values include:
          • "Kinetic"
          • "Melodic"
      • renderingEngine — (map)

        The rendering engine for the simulation application.

        • name — (String)

          The name of the rendering engine.

          Possible values include:
          • "OGRE"
        • version — (String)

          The version of the rendering engine.

      • lastUpdatedAt — (Date)

        The time, in milliseconds since the epoch, when the simulation application was last updated.

      • revisionId — (String)

        The revision id of the simulation application.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.