Table of Contents
A low-level client representing AWS RoboMaker:
import boto3
client = boto3.client('robomaker')
These are the available methods:
Describes one or more simulation jobs.
See also: AWS API Documentation
Request Syntax
response = client.batch_describe_simulation_job(
jobs=[
'string',
]
)
[REQUIRED]
A list of Amazon Resource Names (ARNs) of simulation jobs to describe.
{
'jobs': [
{
'arn': 'string',
'name': 'string',
'status': 'Pending'|'Preparing'|'Running'|'Restarting'|'Completed'|'Failed'|'RunningFailed'|'Terminating'|'Terminated'|'Canceled',
'lastStartedAt': datetime(2015, 1, 1),
'lastUpdatedAt': datetime(2015, 1, 1),
'failureBehavior': 'Fail'|'Continue',
'failureCode': 'InternalServiceError'|'RobotApplicationCrash'|'SimulationApplicationCrash'|'BadPermissionsRobotApplication'|'BadPermissionsSimulationApplication'|'BadPermissionsS3Object'|'BadPermissionsS3Output'|'BadPermissionsCloudwatchLogs'|'SubnetIpLimitExceeded'|'ENILimitExceeded'|'BadPermissionsUserCredentials'|'InvalidBundleRobotApplication'|'InvalidBundleSimulationApplication'|'InvalidS3Resource'|'MismatchedEtag'|'RobotApplicationVersionMismatchedEtag'|'SimulationApplicationVersionMismatchedEtag'|'ResourceNotFound'|'InvalidInput'|'WrongRegionS3Bucket'|'WrongRegionS3Output'|'WrongRegionRobotApplication'|'WrongRegionSimulationApplication',
'failureReason': 'string',
'clientRequestToken': 'string',
'outputLocation': {
's3Bucket': 'string',
's3Prefix': 'string'
},
'loggingConfig': {
'recordAllRosTopics': True|False
},
'maxJobDurationInSeconds': 123,
'simulationTimeMillis': 123,
'iamRole': 'string',
'robotApplications': [
{
'application': 'string',
'applicationVersion': 'string',
'launchConfig': {
'packageName': 'string',
'launchFile': 'string',
'environmentVariables': {
'string': 'string'
},
'portForwardingConfig': {
'portMappings': [
{
'jobPort': 123,
'applicationPort': 123,
'enableOnPublicIp': True|False
},
]
}
}
},
],
'simulationApplications': [
{
'application': 'string',
'applicationVersion': 'string',
'launchConfig': {
'packageName': 'string',
'launchFile': 'string',
'environmentVariables': {
'string': 'string'
},
'portForwardingConfig': {
'portMappings': [
{
'jobPort': 123,
'applicationPort': 123,
'enableOnPublicIp': True|False
},
]
}
}
},
],
'dataSources': [
{
'name': 'string',
's3Bucket': 'string',
's3Keys': [
{
's3Key': 'string',
'etag': 'string'
},
]
},
],
'tags': {
'string': 'string'
},
'vpcConfig': {
'subnets': [
'string',
],
'securityGroups': [
'string',
],
'vpcId': 'string',
'assignPublicIp': True|False
},
'networkInterface': {
'networkInterfaceId': 'string',
'privateIpAddress': 'string',
'publicIpAddress': 'string'
}
},
],
'unprocessedJobs': [
'string',
]
}
Response Structure
A list of simulation jobs.
Information about a simulation job.
The Amazon Resource Name (ARN) of the simulation job.
The name of the simulation job.
Status of the simulation job.
The time, in milliseconds since the epoch, when the simulation job was last started.
The time, in milliseconds since the epoch, when the simulation job was last updated.
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.
The failure code of the simulation job if it failed.
The reason why the simulation job failed.
A unique identifier for this SimulationJob request.
Location for output files generated by the simulation job.
The S3 bucket for output.
The S3 folder in the s3Bucket where output files will be placed.
The logging configuration.
A boolean indicating whether to record all ROS topics.
The maximum simulation job duration in seconds. The value must be 8 days (691,200 seconds) or less.
The simulation job execution duration in milliseconds.
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.
A list of robot applications.
Application configuration information for a robot.
The application information for the robot application.
The version of the robot application.
The launch configuration for the robot application.
The package name.
The launch file name.
The environment variables for the application launch.
The port forwarding configuration.
The port mappings for the configuration.
An object representing a port mapping.
The port number on the simulation job instance to use as a remote connection point.
The port number on the application.
A Boolean indicating whether to enable this port mapping on public IP.
A list of simulation applications.
Information about a simulation application configuration.
The application information for the simulation application.
The version of the simulation application.
The launch configuration for the simulation application.
The package name.
The launch file name.
The environment variables for the application launch.
The port forwarding configuration.
The port mappings for the configuration.
An object representing a port mapping.
The port number on the simulation job instance to use as a remote connection point.
The port number on the application.
A Boolean indicating whether to enable this port mapping on public IP.
The data sources for the simulation job.
Information about a data source.
The name of the data source.
The S3 bucket where the data files are located.
The list of S3 keys identifying the data source files.
Information about S3 keys.
The S3 key.
The etag for the object.
A map that contains tag keys and tag values that are attached to the simulation job.
VPC configuration information.
A list of subnet IDs associated with the simulation job.
A list of security group IDs associated with the simulation job.
The VPC ID associated with your simulation job.
A boolean indicating if a public IP was assigned.
Information about a network interface.
The ID of the network interface.
The IPv4 address of the network interface within the subnet.
The IPv4 public address of the network interface.
A list of unprocessed simulation job Amazon Resource Names (ARNs).
Check if an operation can be paginated.
Cancels the specified deployment job.
See also: AWS API Documentation
Request Syntax
response = client.cancel_deployment_job(
job='string'
)
[REQUIRED]
The deployment job ARN to cancel.
{}
Response Structure
Cancels the specified simulation job.
See also: AWS API Documentation
Request Syntax
response = client.cancel_simulation_job(
job='string'
)
[REQUIRED]
The simulation job ARN to cancel.
{}
Response Structure
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.
See also: AWS API Documentation
Request Syntax
response = client.create_deployment_job(
deploymentConfig={
'concurrentDeploymentPercentage': 123,
'failureThresholdPercentage': 123,
'robotDeploymentTimeoutInSeconds': 123,
'downloadConditionFile': {
'bucket': 'string',
'key': 'string',
'etag': 'string'
}
},
clientRequestToken='string',
fleet='string',
deploymentApplicationConfigs=[
{
'application': 'string',
'applicationVersion': 'string',
'launchConfig': {
'packageName': 'string',
'preLaunchFile': 'string',
'launchFile': 'string',
'postLaunchFile': 'string',
'environmentVariables': {
'string': 'string'
}
}
},
],
tags={
'string': 'string'
}
)
The requested deployment configuration.
The percentage of robots receiving the deployment at the same time.
The percentage of deployments that need to fail before stopping deployment.
The amount of time, in seconds, to wait for deployment to a single robot to complete. Choose a time between 1 minute and 7 days. The default is 5 hours.
The download condition file.
The bucket containing the object.
The key of the object.
The etag of the object.
[REQUIRED]
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
This field is autopopulated if not provided.
[REQUIRED]
The Amazon Resource Name (ARN) of the fleet to deploy.
[REQUIRED]
The deployment application configuration.
Information about a deployment application configuration.
The Amazon Resource Name (ARN) of the robot application.
The version of the application.
The launch configuration.
The package name.
The deployment pre-launch file. This file will be executed prior to the launch file.
The launch file name.
The deployment post-launch file. This file will be executed after the launch file.
An array of key/value pairs specifying environment variables for the robot application
A map that contains tag keys and tag values that are attached to the deployment job.
dict
Response Syntax
{
'arn': 'string',
'fleet': 'string',
'status': 'Pending'|'Preparing'|'InProgress'|'Failed'|'Succeeded'|'Canceled',
'deploymentApplicationConfigs': [
{
'application': 'string',
'applicationVersion': 'string',
'launchConfig': {
'packageName': 'string',
'preLaunchFile': 'string',
'launchFile': 'string',
'postLaunchFile': 'string',
'environmentVariables': {
'string': 'string'
}
}
},
],
'failureReason': 'string',
'failureCode': 'ResourceNotFound'|'EnvironmentSetupError'|'EtagMismatch'|'FailureThresholdBreached'|'RobotDeploymentAborted'|'RobotDeploymentNoResponse'|'RobotAgentConnectionTimeout'|'GreengrassDeploymentFailed'|'MissingRobotArchitecture'|'MissingRobotApplicationArchitecture'|'MissingRobotDeploymentResource'|'GreengrassGroupVersionDoesNotExist'|'ExtractingBundleFailure'|'PreLaunchFileFailure'|'PostLaunchFileFailure'|'BadPermissionError'|'DownloadConditionFailed'|'InternalServerError',
'createdAt': datetime(2015, 1, 1),
'deploymentConfig': {
'concurrentDeploymentPercentage': 123,
'failureThresholdPercentage': 123,
'robotDeploymentTimeoutInSeconds': 123,
'downloadConditionFile': {
'bucket': 'string',
'key': 'string',
'etag': 'string'
}
},
'tags': {
'string': 'string'
}
}
Response Structure
(dict) --
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.
deploymentApplicationConfigs (list) --
The deployment application configuration.
(dict) --
Information about a deployment application configuration.
application (string) --
The Amazon Resource Name (ARN) of the robot application.
applicationVersion (string) --
The version of the application.
launchConfig (dict) --
The launch configuration.
packageName (string) --
The package name.
preLaunchFile (string) --
The deployment pre-launch file. This file will be executed prior to the launch file.
launchFile (string) --
The launch file name.
postLaunchFile (string) --
The deployment post-launch file. This file will be executed after the launch file.
environmentVariables (dict) --
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 <https://console.aws.amazon.com/iam/home?#/policies/arn:aws:iam::aws:policy/service-role/AWSGreengrassResourceAccessRolePolicy$jsonEditor>`__ .
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.
createdAt (datetime) --
The time, in milliseconds since the epoch, when the fleet was created.
deploymentConfig (dict) --
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.
robotDeploymentTimeoutInSeconds (integer) --
The amount of time, in seconds, to wait for deployment to a single robot to complete. Choose a time between 1 minute and 7 days. The default is 5 hours.
downloadConditionFile (dict) --
The download condition file.
bucket (string) --
The bucket containing the object.
key (string) --
The key of the object.
etag (string) --
The etag of the object.
tags (dict) --
The list of all tags added to the deployment job.
Creates a fleet, a logical group of robots running the same robot application.
See also: AWS API Documentation
Request Syntax
response = client.create_fleet(
name='string',
tags={
'string': 'string'
}
)
[REQUIRED]
The name of the fleet.
A map that contains tag keys and tag values that are attached to the fleet.
dict
Response Syntax
{
'arn': 'string',
'name': 'string',
'createdAt': datetime(2015, 1, 1),
'tags': {
'string': 'string'
}
}
Response Structure
(dict) --
arn (string) --
The Amazon Resource Name (ARN) of the fleet.
name (string) --
The name of the fleet.
createdAt (datetime) --
The time, in milliseconds since the epoch, when the fleet was created.
tags (dict) --
The list of all tags added to the fleet.
Creates a robot.
See also: AWS API Documentation
Request Syntax
response = client.create_robot(
name='string',
architecture='X86_64'|'ARM64'|'ARMHF',
greengrassGroupId='string',
tags={
'string': 'string'
}
)
[REQUIRED]
The name for the robot.
[REQUIRED]
The target architecture of the robot.
[REQUIRED]
The Greengrass group id.
A map that contains tag keys and tag values that are attached to the robot.
dict
Response Syntax
{
'arn': 'string',
'name': 'string',
'createdAt': datetime(2015, 1, 1),
'greengrassGroupId': 'string',
'architecture': 'X86_64'|'ARM64'|'ARMHF',
'tags': {
'string': 'string'
}
}
Response Structure
(dict) --
arn (string) --
The Amazon Resource Name (ARN) of the robot.
name (string) --
The name of the robot.
createdAt (datetime) --
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.
tags (dict) --
The list of all tags added to the robot.
Creates a robot application.
See also: AWS API Documentation
Request Syntax
response = client.create_robot_application(
name='string',
sources=[
{
's3Bucket': 'string',
's3Key': 'string',
'architecture': 'X86_64'|'ARM64'|'ARMHF'
},
],
robotSoftwareSuite={
'name': 'ROS'|'ROS2',
'version': 'Kinetic'|'Melodic'|'Dashing'
},
tags={
'string': 'string'
}
)
[REQUIRED]
The name of the robot application.
[REQUIRED]
The sources of the robot application.
Information about a source configuration.
The Amazon S3 bucket name.
The s3 object key.
The target processor architecture for the application.
[REQUIRED]
The robot software suite used by the robot application.
The name of the robot software suite.
The version of the robot software suite.
A map that contains tag keys and tag values that are attached to the robot application.
dict
Response Syntax
{
'arn': 'string',
'name': 'string',
'version': 'string',
'sources': [
{
's3Bucket': 'string',
's3Key': 'string',
'etag': 'string',
'architecture': 'X86_64'|'ARM64'|'ARMHF'
},
],
'robotSoftwareSuite': {
'name': 'ROS'|'ROS2',
'version': 'Kinetic'|'Melodic'|'Dashing'
},
'lastUpdatedAt': datetime(2015, 1, 1),
'revisionId': 'string',
'tags': {
'string': 'string'
}
}
Response Structure
(dict) --
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 (list) --
The sources of the robot application.
(dict) --
Information about a source.
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.
robotSoftwareSuite (dict) --
The robot software suite used by the robot application.
name (string) --
The name of the robot software suite.
version (string) --
The version of the robot software suite.
lastUpdatedAt (datetime) --
The time, in milliseconds since the epoch, when the robot application was last updated.
revisionId (string) --
The revision id of the robot application.
tags (dict) --
The list of all tags added to the robot application.
Creates a version of a robot application.
See also: AWS API Documentation
Request Syntax
response = client.create_robot_application_version(
application='string',
currentRevisionId='string'
)
[REQUIRED]
The application information for the robot application.
dict
Response Syntax
{
'arn': 'string',
'name': 'string',
'version': 'string',
'sources': [
{
's3Bucket': 'string',
's3Key': 'string',
'etag': 'string',
'architecture': 'X86_64'|'ARM64'|'ARMHF'
},
],
'robotSoftwareSuite': {
'name': 'ROS'|'ROS2',
'version': 'Kinetic'|'Melodic'|'Dashing'
},
'lastUpdatedAt': datetime(2015, 1, 1),
'revisionId': 'string'
}
Response Structure
(dict) --
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 (list) --
The sources of the robot application.
(dict) --
Information about a source.
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.
robotSoftwareSuite (dict) --
The robot software suite used by the robot application.
name (string) --
The name of the robot software suite.
version (string) --
The version of the robot software suite.
lastUpdatedAt (datetime) --
The time, in milliseconds since the epoch, when the robot application was last updated.
revisionId (string) --
The revision id of the robot application.
Creates a simulation application.
See also: AWS API Documentation
Request Syntax
response = client.create_simulation_application(
name='string',
sources=[
{
's3Bucket': 'string',
's3Key': 'string',
'architecture': 'X86_64'|'ARM64'|'ARMHF'
},
],
simulationSoftwareSuite={
'name': 'Gazebo'|'RosbagPlay',
'version': 'string'
},
robotSoftwareSuite={
'name': 'ROS'|'ROS2',
'version': 'Kinetic'|'Melodic'|'Dashing'
},
renderingEngine={
'name': 'OGRE',
'version': 'string'
},
tags={
'string': 'string'
}
)
[REQUIRED]
The name of the simulation application.
[REQUIRED]
The sources of the simulation application.
Information about a source configuration.
The Amazon S3 bucket name.
The s3 object key.
The target processor architecture for the application.
[REQUIRED]
The simulation software suite used by the simulation application.
The name of the simulation software suite.
The version of the simulation software suite.
[REQUIRED]
The robot software suite of the simulation application.
The name of the robot software suite.
The version of the robot software suite.
The rendering engine for the simulation application.
The name of the rendering engine.
The version of the rendering engine.
A map that contains tag keys and tag values that are attached to the simulation application.
dict
Response Syntax
{
'arn': 'string',
'name': 'string',
'version': 'string',
'sources': [
{
's3Bucket': 'string',
's3Key': 'string',
'etag': 'string',
'architecture': 'X86_64'|'ARM64'|'ARMHF'
},
],
'simulationSoftwareSuite': {
'name': 'Gazebo'|'RosbagPlay',
'version': 'string'
},
'robotSoftwareSuite': {
'name': 'ROS'|'ROS2',
'version': 'Kinetic'|'Melodic'|'Dashing'
},
'renderingEngine': {
'name': 'OGRE',
'version': 'string'
},
'lastUpdatedAt': datetime(2015, 1, 1),
'revisionId': 'string',
'tags': {
'string': 'string'
}
}
Response Structure
(dict) --
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 (list) --
The sources of the simulation application.
(dict) --
Information about a source.
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.
simulationSoftwareSuite (dict) --
The simulation software suite used by the simulation application.
name (string) --
The name of the simulation software suite.
version (string) --
The version of the simulation software suite.
robotSoftwareSuite (dict) --
Information about the robot software suite.
name (string) --
The name of the robot software suite.
version (string) --
The version of the robot software suite.
renderingEngine (dict) --
The rendering engine for the simulation application.
name (string) --
The name of the rendering engine.
version (string) --
The version of the rendering engine.
lastUpdatedAt (datetime) --
The time, in milliseconds since the epoch, when the simulation application was last updated.
revisionId (string) --
The revision id of the simulation application.
tags (dict) --
The list of all tags added to the simulation application.
Creates a simulation application with a specific revision id.
See also: AWS API Documentation
Request Syntax
response = client.create_simulation_application_version(
application='string',
currentRevisionId='string'
)
[REQUIRED]
The application information for the simulation application.
dict
Response Syntax
{
'arn': 'string',
'name': 'string',
'version': 'string',
'sources': [
{
's3Bucket': 'string',
's3Key': 'string',
'etag': 'string',
'architecture': 'X86_64'|'ARM64'|'ARMHF'
},
],
'simulationSoftwareSuite': {
'name': 'Gazebo'|'RosbagPlay',
'version': 'string'
},
'robotSoftwareSuite': {
'name': 'ROS'|'ROS2',
'version': 'Kinetic'|'Melodic'|'Dashing'
},
'renderingEngine': {
'name': 'OGRE',
'version': 'string'
},
'lastUpdatedAt': datetime(2015, 1, 1),
'revisionId': 'string'
}
Response Structure
(dict) --
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 (list) --
The sources of the simulation application.
(dict) --
Information about a source.
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.
simulationSoftwareSuite (dict) --
The simulation software suite used by the simulation application.
name (string) --
The name of the simulation software suite.
version (string) --
The version of the simulation software suite.
robotSoftwareSuite (dict) --
Information about the robot software suite.
name (string) --
The name of the robot software suite.
version (string) --
The version of the robot software suite.
renderingEngine (dict) --
The rendering engine for the simulation application.
name (string) --
The name of the rendering engine.
version (string) --
The version of the rendering engine.
lastUpdatedAt (datetime) --
The time, in milliseconds since the epoch, when the simulation application was last updated.
revisionId (string) --
The revision ID of the simulation application.
Creates a simulation job.
Note
After 90 days, simulation jobs expire and will be deleted. They will no longer be accessible.
See also: AWS API Documentation
Request Syntax
response = client.create_simulation_job(
clientRequestToken='string',
outputLocation={
's3Bucket': 'string',
's3Prefix': 'string'
},
loggingConfig={
'recordAllRosTopics': True|False
},
maxJobDurationInSeconds=123,
iamRole='string',
failureBehavior='Fail'|'Continue',
robotApplications=[
{
'application': 'string',
'applicationVersion': 'string',
'launchConfig': {
'packageName': 'string',
'launchFile': 'string',
'environmentVariables': {
'string': 'string'
},
'portForwardingConfig': {
'portMappings': [
{
'jobPort': 123,
'applicationPort': 123,
'enableOnPublicIp': True|False
},
]
}
}
},
],
simulationApplications=[
{
'application': 'string',
'applicationVersion': 'string',
'launchConfig': {
'packageName': 'string',
'launchFile': 'string',
'environmentVariables': {
'string': 'string'
},
'portForwardingConfig': {
'portMappings': [
{
'jobPort': 123,
'applicationPort': 123,
'enableOnPublicIp': True|False
},
]
}
}
},
],
dataSources=[
{
'name': 'string',
's3Bucket': 'string',
's3Keys': [
'string',
]
},
],
tags={
'string': 'string'
},
vpcConfig={
'subnets': [
'string',
],
'securityGroups': [
'string',
],
'assignPublicIp': True|False
}
)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
This field is autopopulated if not provided.
Location for output files generated by the simulation job.
The S3 bucket for output.
The S3 folder in the s3Bucket where output files will be placed.
The logging configuration.
A boolean indicating whether to record all ROS topics.
[REQUIRED]
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 .
[REQUIRED]
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.
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.
The robot application to use in the simulation job.
Application configuration information for a robot.
The application information for the robot application.
The version of the robot application.
The launch configuration for the robot application.
The package name.
The launch file name.
The environment variables for the application launch.
The port forwarding configuration.
The port mappings for the configuration.
An object representing a port mapping.
The port number on the simulation job instance to use as a remote connection point.
The port number on the application.
A Boolean indicating whether to enable this port mapping on public IP.
The simulation application to use in the simulation job.
Information about a simulation application configuration.
The application information for the simulation application.
The version of the simulation application.
The launch configuration for the simulation application.
The package name.
The launch file name.
The environment variables for the application launch.
The port forwarding configuration.
The port mappings for the configuration.
An object representing a port mapping.
The port number on the simulation job instance to use as a remote connection point.
The port number on the application.
A Boolean indicating whether to enable this port mapping on public IP.
The data sources for the simulation job.
Note
There is a limit of 100 files and a combined size of 25GB for all DataSourceConfig objects.
Information about a data source.
The name of the data source.
The S3 bucket where the data files are located.
The list of S3 keys identifying the data source files.
A map that contains tag keys and tag values that are attached to the simulation job.
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.
A list of one or more subnet IDs in your VPC.
A list of one or more security groups IDs in your VPC.
A boolean indicating whether to assign a public IP address.
dict
Response Syntax
{
'arn': 'string',
'status': 'Pending'|'Preparing'|'Running'|'Restarting'|'Completed'|'Failed'|'RunningFailed'|'Terminating'|'Terminated'|'Canceled',
'lastStartedAt': datetime(2015, 1, 1),
'lastUpdatedAt': datetime(2015, 1, 1),
'failureBehavior': 'Fail'|'Continue',
'failureCode': 'InternalServiceError'|'RobotApplicationCrash'|'SimulationApplicationCrash'|'BadPermissionsRobotApplication'|'BadPermissionsSimulationApplication'|'BadPermissionsS3Object'|'BadPermissionsS3Output'|'BadPermissionsCloudwatchLogs'|'SubnetIpLimitExceeded'|'ENILimitExceeded'|'BadPermissionsUserCredentials'|'InvalidBundleRobotApplication'|'InvalidBundleSimulationApplication'|'InvalidS3Resource'|'MismatchedEtag'|'RobotApplicationVersionMismatchedEtag'|'SimulationApplicationVersionMismatchedEtag'|'ResourceNotFound'|'InvalidInput'|'WrongRegionS3Bucket'|'WrongRegionS3Output'|'WrongRegionRobotApplication'|'WrongRegionSimulationApplication',
'clientRequestToken': 'string',
'outputLocation': {
's3Bucket': 'string',
's3Prefix': 'string'
},
'loggingConfig': {
'recordAllRosTopics': True|False
},
'maxJobDurationInSeconds': 123,
'simulationTimeMillis': 123,
'iamRole': 'string',
'robotApplications': [
{
'application': 'string',
'applicationVersion': 'string',
'launchConfig': {
'packageName': 'string',
'launchFile': 'string',
'environmentVariables': {
'string': 'string'
},
'portForwardingConfig': {
'portMappings': [
{
'jobPort': 123,
'applicationPort': 123,
'enableOnPublicIp': True|False
},
]
}
}
},
],
'simulationApplications': [
{
'application': 'string',
'applicationVersion': 'string',
'launchConfig': {
'packageName': 'string',
'launchFile': 'string',
'environmentVariables': {
'string': 'string'
},
'portForwardingConfig': {
'portMappings': [
{
'jobPort': 123,
'applicationPort': 123,
'enableOnPublicIp': True|False
},
]
}
}
},
],
'dataSources': [
{
'name': 'string',
's3Bucket': 'string',
's3Keys': [
{
's3Key': 'string',
'etag': 'string'
},
]
},
],
'tags': {
'string': 'string'
},
'vpcConfig': {
'subnets': [
'string',
],
'securityGroups': [
'string',
],
'vpcId': 'string',
'assignPublicIp': True|False
}
}
Response Structure
(dict) --
arn (string) --
The Amazon Resource Name (ARN) of the simulation job.
status (string) --
The status of the simulation job.
lastStartedAt (datetime) --
The time, in milliseconds since the epoch, when the simulation job was last started.
lastUpdatedAt (datetime) --
The time, in milliseconds since the epoch, when the simulation job was last updated.
failureBehavior (string) --
the failure behavior for the simulation job.
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.
clientRequestToken (string) --
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
outputLocation (dict) --
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.
loggingConfig (dict) --
The logging configuration.
recordAllRosTopics (boolean) --
A boolean indicating whether to record all ROS topics.
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 (list) --
The robot application used by the simulation job.
(dict) --
Application configuration information for a robot.
application (string) --
The application information for the robot application.
applicationVersion (string) --
The version of the robot application.
launchConfig (dict) --
The launch configuration for the robot application.
packageName (string) --
The package name.
launchFile (string) --
The launch file name.
environmentVariables (dict) --
The environment variables for the application launch.
portForwardingConfig (dict) --
The port forwarding configuration.
portMappings (list) --
The port mappings for the configuration.
(dict) --
An object representing a port mapping.
jobPort (integer) --
The port number on the simulation job instance to use as a remote connection point.
applicationPort (integer) --
The port number on the application.
enableOnPublicIp (boolean) --
A Boolean indicating whether to enable this port mapping on public IP.
simulationApplications (list) --
The simulation application used by the simulation job.
(dict) --
Information about a simulation application configuration.
application (string) --
The application information for the simulation application.
applicationVersion (string) --
The version of the simulation application.
launchConfig (dict) --
The launch configuration for the simulation application.
packageName (string) --
The package name.
launchFile (string) --
The launch file name.
environmentVariables (dict) --
The environment variables for the application launch.
portForwardingConfig (dict) --
The port forwarding configuration.
portMappings (list) --
The port mappings for the configuration.
(dict) --
An object representing a port mapping.
jobPort (integer) --
The port number on the simulation job instance to use as a remote connection point.
applicationPort (integer) --
The port number on the application.
enableOnPublicIp (boolean) --
A Boolean indicating whether to enable this port mapping on public IP.
dataSources (list) --
The data sources for the simulation job.
(dict) --
Information about a data source.
name (string) --
The name of the data source.
s3Bucket (string) --
The S3 bucket where the data files are located.
s3Keys (list) --
The list of S3 keys identifying the data source files.
(dict) --
Information about S3 keys.
s3Key (string) --
The S3 key.
etag (string) --
The etag for the object.
tags (dict) --
The list of all tags added to the simulation job.
vpcConfig (dict) --
Information about the vpc configuration.
subnets (list) --
A list of subnet IDs associated with the simulation job.
securityGroups (list) --
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.
Deletes a fleet.
See also: AWS API Documentation
Request Syntax
response = client.delete_fleet(
fleet='string'
)
[REQUIRED]
The Amazon Resource Name (ARN) of the fleet.
{}
Response Structure
Deletes a robot.
See also: AWS API Documentation
Request Syntax
response = client.delete_robot(
robot='string'
)
[REQUIRED]
The Amazon Resource Name (ARN) of the robot.
{}
Response Structure
Deletes a robot application.
See also: AWS API Documentation
Request Syntax
response = client.delete_robot_application(
application='string',
applicationVersion='string'
)
[REQUIRED]
The Amazon Resource Name (ARN) of the the robot application.
dict
Response Syntax
{}
Response Structure
Deletes a simulation application.
See also: AWS API Documentation
Request Syntax
response = client.delete_simulation_application(
application='string',
applicationVersion='string'
)
[REQUIRED]
The application information for the simulation application to delete.
dict
Response Syntax
{}
Response Structure
Deregisters a robot.
See also: AWS API Documentation
Request Syntax
response = client.deregister_robot(
fleet='string',
robot='string'
)
[REQUIRED]
The Amazon Resource Name (ARN) of the fleet.
[REQUIRED]
The Amazon Resource Name (ARN) of the robot.
dict
Response Syntax
{
'fleet': 'string',
'robot': 'string'
}
Response Structure
(dict) --
fleet (string) --
The Amazon Resource Name (ARN) of the fleet.
robot (string) --
The Amazon Resource Name (ARN) of the robot.
Describes a deployment job.
See also: AWS API Documentation
Request Syntax
response = client.describe_deployment_job(
job='string'
)
[REQUIRED]
The Amazon Resource Name (ARN) of the deployment job.
{
'arn': 'string',
'fleet': 'string',
'status': 'Pending'|'Preparing'|'InProgress'|'Failed'|'Succeeded'|'Canceled',
'deploymentConfig': {
'concurrentDeploymentPercentage': 123,
'failureThresholdPercentage': 123,
'robotDeploymentTimeoutInSeconds': 123,
'downloadConditionFile': {
'bucket': 'string',
'key': 'string',
'etag': 'string'
}
},
'deploymentApplicationConfigs': [
{
'application': 'string',
'applicationVersion': 'string',
'launchConfig': {
'packageName': 'string',
'preLaunchFile': 'string',
'launchFile': 'string',
'postLaunchFile': 'string',
'environmentVariables': {
'string': 'string'
}
}
},
],
'failureReason': 'string',
'failureCode': 'ResourceNotFound'|'EnvironmentSetupError'|'EtagMismatch'|'FailureThresholdBreached'|'RobotDeploymentAborted'|'RobotDeploymentNoResponse'|'RobotAgentConnectionTimeout'|'GreengrassDeploymentFailed'|'MissingRobotArchitecture'|'MissingRobotApplicationArchitecture'|'MissingRobotDeploymentResource'|'GreengrassGroupVersionDoesNotExist'|'ExtractingBundleFailure'|'PreLaunchFileFailure'|'PostLaunchFileFailure'|'BadPermissionError'|'DownloadConditionFailed'|'InternalServerError',
'createdAt': datetime(2015, 1, 1),
'robotDeploymentSummary': [
{
'arn': 'string',
'deploymentStartTime': datetime(2015, 1, 1),
'deploymentFinishTime': datetime(2015, 1, 1),
'status': 'Available'|'Registered'|'PendingNewDeployment'|'Deploying'|'Failed'|'InSync'|'NoResponse',
'progressDetail': {
'currentProgress': 'Validating'|'DownloadingExtracting'|'ExecutingDownloadCondition'|'ExecutingPreLaunch'|'Launching'|'ExecutingPostLaunch'|'Finished',
'percentDone': ...,
'estimatedTimeRemainingSeconds': 123,
'targetResource': 'string'
},
'failureReason': 'string',
'failureCode': 'ResourceNotFound'|'EnvironmentSetupError'|'EtagMismatch'|'FailureThresholdBreached'|'RobotDeploymentAborted'|'RobotDeploymentNoResponse'|'RobotAgentConnectionTimeout'|'GreengrassDeploymentFailed'|'MissingRobotArchitecture'|'MissingRobotApplicationArchitecture'|'MissingRobotDeploymentResource'|'GreengrassGroupVersionDoesNotExist'|'ExtractingBundleFailure'|'PreLaunchFileFailure'|'PostLaunchFileFailure'|'BadPermissionError'|'DownloadConditionFailed'|'InternalServerError'
},
],
'tags': {
'string': 'string'
}
}
Response Structure
The Amazon Resource Name (ARN) of the deployment job.
The Amazon Resource Name (ARN) of the fleet.
The status of the deployment job.
The deployment configuration.
The percentage of robots receiving the deployment at the same time.
The percentage of deployments that need to fail before stopping deployment.
The amount of time, in seconds, to wait for deployment to a single robot to complete. Choose a time between 1 minute and 7 days. The default is 5 hours.
The download condition file.
The bucket containing the object.
The key of the object.
The etag of the object.
The deployment application configuration.
Information about a deployment application configuration.
The Amazon Resource Name (ARN) of the robot application.
The version of the application.
The launch configuration.
The package name.
The deployment pre-launch file. This file will be executed prior to the launch file.
The launch file name.
The deployment post-launch file. This file will be executed after the launch file.
An array of key/value pairs specifying environment variables for the robot application
A short description of the reason why the deployment job failed.
The deployment job failure code.
The time, in milliseconds since the epoch, when the deployment job was created.
A list of robot deployment summaries.
Information about a robot deployment.
The robot deployment Amazon Resource Name (ARN).
The time, in milliseconds since the epoch, when the deployment was started.
The time, in milliseconds since the epoch, when the deployment finished.
The status of the robot deployment.
Information about how the deployment is progressing.
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.
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.
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.
The Amazon Resource Name (ARN) of the deployment job.
A short description of the reason why the robot deployment failed.
The robot deployment failure code.
The list of all tags added to the specified deployment job.
Describes a fleet.
See also: AWS API Documentation
Request Syntax
response = client.describe_fleet(
fleet='string'
)
[REQUIRED]
The Amazon Resource Name (ARN) of the fleet.
{
'name': 'string',
'arn': 'string',
'robots': [
{
'arn': 'string',
'name': 'string',
'fleetArn': 'string',
'status': 'Available'|'Registered'|'PendingNewDeployment'|'Deploying'|'Failed'|'InSync'|'NoResponse',
'greenGrassGroupId': 'string',
'createdAt': datetime(2015, 1, 1),
'architecture': 'X86_64'|'ARM64'|'ARMHF',
'lastDeploymentJob': 'string',
'lastDeploymentTime': datetime(2015, 1, 1)
},
],
'createdAt': datetime(2015, 1, 1),
'lastDeploymentStatus': 'Pending'|'Preparing'|'InProgress'|'Failed'|'Succeeded'|'Canceled',
'lastDeploymentJob': 'string',
'lastDeploymentTime': datetime(2015, 1, 1),
'tags': {
'string': 'string'
}
}
Response Structure
The name of the fleet.
The Amazon Resource Name (ARN) of the fleet.
A list of robots.
Information about a robot.
The Amazon Resource Name (ARN) of the robot.
The name of the robot.
The Amazon Resource Name (ARN) of the fleet.
The status of the robot.
The Greengrass group associated with the robot.
The time, in milliseconds since the epoch, when the robot was created.
The architecture of the robot.
The Amazon Resource Name (ARN) of the last deployment job.
The time of the last deployment.
The time, in milliseconds since the epoch, when the fleet was created.
The status of the last deployment.
The Amazon Resource Name (ARN) of the last deployment job.
The time of the last deployment.
The list of all tags added to the specified fleet.
Describes a robot.
See also: AWS API Documentation
Request Syntax
response = client.describe_robot(
robot='string'
)
[REQUIRED]
The Amazon Resource Name (ARN) of the robot to be described.
{
'arn': 'string',
'name': 'string',
'fleetArn': 'string',
'status': 'Available'|'Registered'|'PendingNewDeployment'|'Deploying'|'Failed'|'InSync'|'NoResponse',
'greengrassGroupId': 'string',
'createdAt': datetime(2015, 1, 1),
'architecture': 'X86_64'|'ARM64'|'ARMHF',
'lastDeploymentJob': 'string',
'lastDeploymentTime': datetime(2015, 1, 1),
'tags': {
'string': 'string'
}
}
Response Structure
The Amazon Resource Name (ARN) of the robot.
The name of the robot.
The Amazon Resource Name (ARN) of the fleet.
The status of the fleet.
The Greengrass group id.
The time, in milliseconds since the epoch, when the robot was created.
The target architecture of the robot application.
The Amazon Resource Name (ARN) of the last deployment job.
The time of the last deployment job.
The list of all tags added to the specified robot.
Describes a robot application.
See also: AWS API Documentation
Request Syntax
response = client.describe_robot_application(
application='string',
applicationVersion='string'
)
[REQUIRED]
The Amazon Resource Name (ARN) of the robot application.
dict
Response Syntax
{
'arn': 'string',
'name': 'string',
'version': 'string',
'sources': [
{
's3Bucket': 'string',
's3Key': 'string',
'etag': 'string',
'architecture': 'X86_64'|'ARM64'|'ARMHF'
},
],
'robotSoftwareSuite': {
'name': 'ROS'|'ROS2',
'version': 'Kinetic'|'Melodic'|'Dashing'
},
'revisionId': 'string',
'lastUpdatedAt': datetime(2015, 1, 1),
'tags': {
'string': 'string'
}
}
Response Structure
(dict) --
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 (list) --
The sources of the robot application.
(dict) --
Information about a source.
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.
robotSoftwareSuite (dict) --
The robot software suite used by the robot application.
name (string) --
The name of the robot software suite.
version (string) --
The version of the robot software suite.
revisionId (string) --
The revision id of the robot application.
lastUpdatedAt (datetime) --
The time, in milliseconds since the epoch, when the robot application was last updated.
tags (dict) --
The list of all tags added to the specified robot application.
Describes a simulation application.
See also: AWS API Documentation
Request Syntax
response = client.describe_simulation_application(
application='string',
applicationVersion='string'
)
[REQUIRED]
The application information for the simulation application.
dict
Response Syntax
{
'arn': 'string',
'name': 'string',
'version': 'string',
'sources': [
{
's3Bucket': 'string',
's3Key': 'string',
'etag': 'string',
'architecture': 'X86_64'|'ARM64'|'ARMHF'
},
],
'simulationSoftwareSuite': {
'name': 'Gazebo'|'RosbagPlay',
'version': 'string'
},
'robotSoftwareSuite': {
'name': 'ROS'|'ROS2',
'version': 'Kinetic'|'Melodic'|'Dashing'
},
'renderingEngine': {
'name': 'OGRE',
'version': 'string'
},
'revisionId': 'string',
'lastUpdatedAt': datetime(2015, 1, 1),
'tags': {
'string': 'string'
}
}
Response Structure
(dict) --
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 (list) --
The sources of the simulation application.
(dict) --
Information about a source.
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.
simulationSoftwareSuite (dict) --
The simulation software suite used by the simulation application.
name (string) --
The name of the simulation software suite.
version (string) --
The version of the simulation software suite.
robotSoftwareSuite (dict) --
Information about the robot software suite.
name (string) --
The name of the robot software suite.
version (string) --
The version of the robot software suite.
renderingEngine (dict) --
The rendering engine for the simulation application.
name (string) --
The name of the rendering engine.
version (string) --
The version of the rendering engine.
revisionId (string) --
The revision id of the simulation application.
lastUpdatedAt (datetime) --
The time, in milliseconds since the epoch, when the simulation application was last updated.
tags (dict) --
The list of all tags added to the specified simulation application.
Describes a simulation job.
See also: AWS API Documentation
Request Syntax
response = client.describe_simulation_job(
job='string'
)
[REQUIRED]
The Amazon Resource Name (ARN) of the simulation job to be described.
{
'arn': 'string',
'name': 'string',
'status': 'Pending'|'Preparing'|'Running'|'Restarting'|'Completed'|'Failed'|'RunningFailed'|'Terminating'|'Terminated'|'Canceled',
'lastStartedAt': datetime(2015, 1, 1),
'lastUpdatedAt': datetime(2015, 1, 1),
'failureBehavior': 'Fail'|'Continue',
'failureCode': 'InternalServiceError'|'RobotApplicationCrash'|'SimulationApplicationCrash'|'BadPermissionsRobotApplication'|'BadPermissionsSimulationApplication'|'BadPermissionsS3Object'|'BadPermissionsS3Output'|'BadPermissionsCloudwatchLogs'|'SubnetIpLimitExceeded'|'ENILimitExceeded'|'BadPermissionsUserCredentials'|'InvalidBundleRobotApplication'|'InvalidBundleSimulationApplication'|'InvalidS3Resource'|'MismatchedEtag'|'RobotApplicationVersionMismatchedEtag'|'SimulationApplicationVersionMismatchedEtag'|'ResourceNotFound'|'InvalidInput'|'WrongRegionS3Bucket'|'WrongRegionS3Output'|'WrongRegionRobotApplication'|'WrongRegionSimulationApplication',
'failureReason': 'string',
'clientRequestToken': 'string',
'outputLocation': {
's3Bucket': 'string',
's3Prefix': 'string'
},
'loggingConfig': {
'recordAllRosTopics': True|False
},
'maxJobDurationInSeconds': 123,
'simulationTimeMillis': 123,
'iamRole': 'string',
'robotApplications': [
{
'application': 'string',
'applicationVersion': 'string',
'launchConfig': {
'packageName': 'string',
'launchFile': 'string',
'environmentVariables': {
'string': 'string'
},
'portForwardingConfig': {
'portMappings': [
{
'jobPort': 123,
'applicationPort': 123,
'enableOnPublicIp': True|False
},
]
}
}
},
],
'simulationApplications': [
{
'application': 'string',
'applicationVersion': 'string',
'launchConfig': {
'packageName': 'string',
'launchFile': 'string',
'environmentVariables': {
'string': 'string'
},
'portForwardingConfig': {
'portMappings': [
{
'jobPort': 123,
'applicationPort': 123,
'enableOnPublicIp': True|False
},
]
}
}
},
],
'dataSources': [
{
'name': 'string',
's3Bucket': 'string',
's3Keys': [
{
's3Key': 'string',
'etag': 'string'
},
]
},
],
'tags': {
'string': 'string'
},
'vpcConfig': {
'subnets': [
'string',
],
'securityGroups': [
'string',
],
'vpcId': 'string',
'assignPublicIp': True|False
},
'networkInterface': {
'networkInterfaceId': 'string',
'privateIpAddress': 'string',
'publicIpAddress': 'string'
}
}
Response Structure
The Amazon Resource Name (ARN) of the simulation job.
The name of the simulation job.
The status of the simulation job.
The time, in milliseconds since the epoch, when the simulation job was last started.
The time, in milliseconds since the epoch, when the simulation job was last updated.
The failure behavior for the simulation job.
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.
Details about why the simulation job failed. For more information about troubleshooting, see Troubleshooting .
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
Location for output files generated by the simulation job.
The S3 bucket for output.
The S3 folder in the s3Bucket where output files will be placed.
The logging configuration.
A boolean indicating whether to record all ROS topics.
The maximum job duration in seconds. The value must be 8 days (691,200 seconds) or less.
The simulation job execution duration in milliseconds.
The IAM role that allows the simulation instance to call the AWS APIs that are specified in its associated policies on your behalf.
A list of robot applications.
Application configuration information for a robot.
The application information for the robot application.
The version of the robot application.
The launch configuration for the robot application.
The package name.
The launch file name.
The environment variables for the application launch.
The port forwarding configuration.
The port mappings for the configuration.
An object representing a port mapping.
The port number on the simulation job instance to use as a remote connection point.
The port number on the application.
A Boolean indicating whether to enable this port mapping on public IP.
A list of simulation applications.
Information about a simulation application configuration.
The application information for the simulation application.
The version of the simulation application.
The launch configuration for the simulation application.
The package name.
The launch file name.
The environment variables for the application launch.
The port forwarding configuration.
The port mappings for the configuration.
An object representing a port mapping.
The port number on the simulation job instance to use as a remote connection point.
The port number on the application.
A Boolean indicating whether to enable this port mapping on public IP.
The data sources for the simulation job.
Information about a data source.
The name of the data source.
The S3 bucket where the data files are located.
The list of S3 keys identifying the data source files.
Information about S3 keys.
The S3 key.
The etag for the object.
The list of all tags added to the specified simulation job.
The VPC configuration.
A list of subnet IDs associated with the simulation job.
A list of security group IDs associated with the simulation job.
The VPC ID associated with your simulation job.
A boolean indicating if a public IP was assigned.
The network interface information for the simulation job.
The ID of the network interface.
The IPv4 address of the network interface within the subnet.
The IPv4 public address of the network interface.
Generate a presigned url given a client, its method, and arguments
The presigned url
Create a paginator for an operation.
Returns an object that can wait for some condition.
Returns a list of deployment jobs for a fleet. You can optionally provide filters to retrieve specific deployment jobs.
See also: AWS API Documentation
Request Syntax
response = client.list_deployment_jobs(
filters=[
{
'name': 'string',
'values': [
'string',
]
},
],
nextToken='string',
maxResults=123
)
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 .
Information about a filter.
The name of the filter.
A list of values.
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.
dict
Response Syntax
{
'deploymentJobs': [
{
'arn': 'string',
'fleet': 'string',
'status': 'Pending'|'Preparing'|'InProgress'|'Failed'|'Succeeded'|'Canceled',
'deploymentApplicationConfigs': [
{
'application': 'string',
'applicationVersion': 'string',
'launchConfig': {
'packageName': 'string',
'preLaunchFile': 'string',
'launchFile': 'string',
'postLaunchFile': 'string',
'environmentVariables': {
'string': 'string'
}
}
},
],
'deploymentConfig': {
'concurrentDeploymentPercentage': 123,
'failureThresholdPercentage': 123,
'robotDeploymentTimeoutInSeconds': 123,
'downloadConditionFile': {
'bucket': 'string',
'key': 'string',
'etag': 'string'
}
},
'failureReason': 'string',
'failureCode': 'ResourceNotFound'|'EnvironmentSetupError'|'EtagMismatch'|'FailureThresholdBreached'|'RobotDeploymentAborted'|'RobotDeploymentNoResponse'|'RobotAgentConnectionTimeout'|'GreengrassDeploymentFailed'|'MissingRobotArchitecture'|'MissingRobotApplicationArchitecture'|'MissingRobotDeploymentResource'|'GreengrassGroupVersionDoesNotExist'|'ExtractingBundleFailure'|'PreLaunchFileFailure'|'PostLaunchFileFailure'|'BadPermissionError'|'DownloadConditionFailed'|'InternalServerError',
'createdAt': datetime(2015, 1, 1)
},
],
'nextToken': 'string'
}
Response Structure
(dict) --
deploymentJobs (list) --
A list of deployment jobs that meet the criteria of the request.
(dict) --
Information about a deployment job.
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.
deploymentApplicationConfigs (list) --
The deployment application configuration.
(dict) --
Information about a deployment application configuration.
application (string) --
The Amazon Resource Name (ARN) of the robot application.
applicationVersion (string) --
The version of the application.
launchConfig (dict) --
The launch configuration.
packageName (string) --
The package name.
preLaunchFile (string) --
The deployment pre-launch file. This file will be executed prior to the launch file.
launchFile (string) --
The launch file name.
postLaunchFile (string) --
The deployment post-launch file. This file will be executed after the launch file.
environmentVariables (dict) --
An array of key/value pairs specifying environment variables for the robot application
deploymentConfig (dict) --
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.
robotDeploymentTimeoutInSeconds (integer) --
The amount of time, in seconds, to wait for deployment to a single robot to complete. Choose a time between 1 minute and 7 days. The default is 5 hours.
downloadConditionFile (dict) --
The download condition file.
bucket (string) --
The bucket containing the object.
key (string) --
The key of the object.
etag (string) --
The etag of the object.
failureReason (string) --
A short description of the reason why the deployment job failed.
failureCode (string) --
The deployment job failure code.
createdAt (datetime) --
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 a list of fleets. You can optionally provide filters to retrieve specific fleets.
See also: AWS API Documentation
Request Syntax
response = client.list_fleets(
nextToken='string',
maxResults=123,
filters=[
{
'name': 'string',
'values': [
'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.
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.
Information about a filter.
The name of the filter.
A list of values.
dict
Response Syntax
{
'fleetDetails': [
{
'name': 'string',
'arn': 'string',
'createdAt': datetime(2015, 1, 1),
'lastDeploymentStatus': 'Pending'|'Preparing'|'InProgress'|'Failed'|'Succeeded'|'Canceled',
'lastDeploymentJob': 'string',
'lastDeploymentTime': datetime(2015, 1, 1)
},
],
'nextToken': 'string'
}
Response Structure
(dict) --
fleetDetails (list) --
A list of fleet details meeting the request criteria.
(dict) --
Information about a fleet.
name (string) --
The name of the fleet.
arn (string) --
The Amazon Resource Name (ARN) of the fleet.
createdAt (datetime) --
The time, in milliseconds since the epoch, when the fleet was created.
lastDeploymentStatus (string) --
The status of the last fleet deployment.
lastDeploymentJob (string) --
The Amazon Resource Name (ARN) of the last deployment job.
lastDeploymentTime (datetime) --
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 a list of robot application. You can optionally provide filters to retrieve specific robot applications.
See also: AWS API Documentation
Request Syntax
response = client.list_robot_applications(
versionQualifier='string',
nextToken='string',
maxResults=123,
filters=[
{
'name': 'string',
'values': [
'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.
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.
Information about a filter.
The name of the filter.
A list of values.
dict
Response Syntax
{
'robotApplicationSummaries': [
{
'name': 'string',
'arn': 'string',
'version': 'string',
'lastUpdatedAt': datetime(2015, 1, 1),
'robotSoftwareSuite': {
'name': 'ROS'|'ROS2',
'version': 'Kinetic'|'Melodic'|'Dashing'
}
},
],
'nextToken': 'string'
}
Response Structure
(dict) --
robotApplicationSummaries (list) --
A list of robot application summaries that meet the criteria of the request.
(dict) --
Summary information for a robot application.
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 (datetime) --
The time, in milliseconds since the epoch, when the robot application was last updated.
robotSoftwareSuite (dict) --
Information about a robot software suite.
name (string) --
The name of the robot software suite.
version (string) --
The version of the robot software suite.
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 a list of robots. You can optionally provide filters to retrieve specific robots.
See also: AWS API Documentation
Request Syntax
response = client.list_robots(
nextToken='string',
maxResults=123,
filters=[
{
'name': 'string',
'values': [
'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.
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 .
Information about a filter.
The name of the filter.
A list of values.
dict
Response Syntax
{
'robots': [
{
'arn': 'string',
'name': 'string',
'fleetArn': 'string',
'status': 'Available'|'Registered'|'PendingNewDeployment'|'Deploying'|'Failed'|'InSync'|'NoResponse',
'greenGrassGroupId': 'string',
'createdAt': datetime(2015, 1, 1),
'architecture': 'X86_64'|'ARM64'|'ARMHF',
'lastDeploymentJob': 'string',
'lastDeploymentTime': datetime(2015, 1, 1)
},
],
'nextToken': 'string'
}
Response Structure
(dict) --
robots (list) --
A list of robots that meet the criteria of the request.
(dict) --
Information about a robot.
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.
greenGrassGroupId (string) --
The Greengrass group associated with the robot.
createdAt (datetime) --
The time, in milliseconds since the epoch, when the robot was created.
architecture (string) --
The architecture of the robot.
lastDeploymentJob (string) --
The Amazon Resource Name (ARN) of the last deployment job.
lastDeploymentTime (datetime) --
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 a list of simulation applications. You can optionally provide filters to retrieve specific simulation applications.
See also: AWS API Documentation
Request Syntax
response = client.list_simulation_applications(
versionQualifier='string',
nextToken='string',
maxResults=123,
filters=[
{
'name': 'string',
'values': [
'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.
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.
Information about a filter.
The name of the filter.
A list of values.
dict
Response Syntax
{
'simulationApplicationSummaries': [
{
'name': 'string',
'arn': 'string',
'version': 'string',
'lastUpdatedAt': datetime(2015, 1, 1),
'robotSoftwareSuite': {
'name': 'ROS'|'ROS2',
'version': 'Kinetic'|'Melodic'|'Dashing'
},
'simulationSoftwareSuite': {
'name': 'Gazebo'|'RosbagPlay',
'version': 'string'
}
},
],
'nextToken': 'string'
}
Response Structure
(dict) --
simulationApplicationSummaries (list) --
A list of simulation application summaries that meet the criteria of the request.
(dict) --
Summary information for a simulation application.
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 (datetime) --
The time, in milliseconds since the epoch, when the simulation application was last updated.
robotSoftwareSuite (dict) --
Information about a robot software suite.
name (string) --
The name of the robot software suite.
version (string) --
The version of the robot software suite.
simulationSoftwareSuite (dict) --
Information about a simulation software suite.
name (string) --
The name of the simulation software suite.
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 a list of simulation jobs. You can optionally provide filters to retrieve specific simulation jobs.
See also: AWS API Documentation
Request Syntax
response = client.list_simulation_jobs(
nextToken='string',
maxResults=123,
filters=[
{
'name': 'string',
'values': [
'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.
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 .
Information about a filter.
The name of the filter.
A list of values.
dict
Response Syntax
{
'simulationJobSummaries': [
{
'arn': 'string',
'lastUpdatedAt': datetime(2015, 1, 1),
'name': 'string',
'status': 'Pending'|'Preparing'|'Running'|'Restarting'|'Completed'|'Failed'|'RunningFailed'|'Terminating'|'Terminated'|'Canceled',
'simulationApplicationNames': [
'string',
],
'robotApplicationNames': [
'string',
],
'dataSourceNames': [
'string',
]
},
],
'nextToken': 'string'
}
Response Structure
(dict) --
simulationJobSummaries (list) --
A list of simulation job summaries that meet the criteria of the request.
(dict) --
Summary information for a simulation job.
arn (string) --
The Amazon Resource Name (ARN) of the simulation job.
lastUpdatedAt (datetime) --
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.
simulationApplicationNames (list) --
A list of simulation job simulation application names.
robotApplicationNames (list) --
A list of simulation job robot application names.
dataSourceNames (list) --
The names of the data sources.
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.
Lists all tags on a AWS RoboMaker resource.
See also: AWS API Documentation
Request Syntax
response = client.list_tags_for_resource(
resourceArn='string'
)
[REQUIRED]
The AWS RoboMaker Amazon Resource Name (ARN) with tags to be listed.
{
'tags': {
'string': 'string'
}
}
Response Structure
The list of all tags added to the specified resource.
Registers a robot with a fleet.
See also: AWS API Documentation
Request Syntax
response = client.register_robot(
fleet='string',
robot='string'
)
[REQUIRED]
The Amazon Resource Name (ARN) of the fleet.
[REQUIRED]
The Amazon Resource Name (ARN) of the robot.
dict
Response Syntax
{
'fleet': 'string',
'robot': 'string'
}
Response Structure
(dict) --
fleet (string) --
The Amazon Resource Name (ARN) of the fleet that the robot will join.
robot (string) --
Information about the robot registration.
Restarts a running simulation job.
See also: AWS API Documentation
Request Syntax
response = client.restart_simulation_job(
job='string'
)
[REQUIRED]
The Amazon Resource Name (ARN) of the simulation job.
{}
Response Structure
Syncrhonizes robots in a fleet to the latest deployment. This is helpful if robots were added after a deployment.
See also: AWS API Documentation
Request Syntax
response = client.sync_deployment_job(
clientRequestToken='string',
fleet='string'
)
[REQUIRED]
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
This field is autopopulated if not provided.
[REQUIRED]
The target fleet for the synchronization.
dict
Response Syntax
{
'arn': 'string',
'fleet': 'string',
'status': 'Pending'|'Preparing'|'InProgress'|'Failed'|'Succeeded'|'Canceled',
'deploymentConfig': {
'concurrentDeploymentPercentage': 123,
'failureThresholdPercentage': 123,
'robotDeploymentTimeoutInSeconds': 123,
'downloadConditionFile': {
'bucket': 'string',
'key': 'string',
'etag': 'string'
}
},
'deploymentApplicationConfigs': [
{
'application': 'string',
'applicationVersion': 'string',
'launchConfig': {
'packageName': 'string',
'preLaunchFile': 'string',
'launchFile': 'string',
'postLaunchFile': 'string',
'environmentVariables': {
'string': 'string'
}
}
},
],
'failureReason': 'string',
'failureCode': 'ResourceNotFound'|'EnvironmentSetupError'|'EtagMismatch'|'FailureThresholdBreached'|'RobotDeploymentAborted'|'RobotDeploymentNoResponse'|'RobotAgentConnectionTimeout'|'GreengrassDeploymentFailed'|'MissingRobotArchitecture'|'MissingRobotApplicationArchitecture'|'MissingRobotDeploymentResource'|'GreengrassGroupVersionDoesNotExist'|'ExtractingBundleFailure'|'PreLaunchFileFailure'|'PostLaunchFileFailure'|'BadPermissionError'|'DownloadConditionFailed'|'InternalServerError',
'createdAt': datetime(2015, 1, 1)
}
Response Structure
(dict) --
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.
deploymentConfig (dict) --
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.
robotDeploymentTimeoutInSeconds (integer) --
The amount of time, in seconds, to wait for deployment to a single robot to complete. Choose a time between 1 minute and 7 days. The default is 5 hours.
downloadConditionFile (dict) --
The download condition file.
bucket (string) --
The bucket containing the object.
key (string) --
The key of the object.
etag (string) --
The etag of the object.
deploymentApplicationConfigs (list) --
Information about the deployment application configurations.
(dict) --
Information about a deployment application configuration.
application (string) --
The Amazon Resource Name (ARN) of the robot application.
applicationVersion (string) --
The version of the application.
launchConfig (dict) --
The launch configuration.
packageName (string) --
The package name.
preLaunchFile (string) --
The deployment pre-launch file. This file will be executed prior to the launch file.
launchFile (string) --
The launch file name.
postLaunchFile (string) --
The deployment post-launch file. This file will be executed after the launch file.
environmentVariables (dict) --
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.
createdAt (datetime) --
The time, in milliseconds since the epoch, when the fleet was created.
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 .
See also: AWS API Documentation
Request Syntax
response = client.tag_resource(
resourceArn='string',
tags={
'string': 'string'
}
)
[REQUIRED]
The Amazon Resource Name (ARN) of the AWS RoboMaker resource you are tagging.
[REQUIRED]
A map that contains tag keys and tag values that are attached to the resource.
dict
Response Syntax
{}
Response Structure
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 https://docs.aws.amazon.com/robomaker/latest/dg/API_TagResource.html`__ .
See also: AWS API Documentation
Request Syntax
response = client.untag_resource(
resourceArn='string',
tagKeys=[
'string',
]
)
[REQUIRED]
The Amazon Resource Name (ARN) of the AWS RoboMaker resource you are removing tags.
[REQUIRED]
A map that contains tag keys and tag values that will be unattached from the resource.
dict
Response Syntax
{}
Response Structure
Updates a robot application.
See also: AWS API Documentation
Request Syntax
response = client.update_robot_application(
application='string',
sources=[
{
's3Bucket': 'string',
's3Key': 'string',
'architecture': 'X86_64'|'ARM64'|'ARMHF'
},
],
robotSoftwareSuite={
'name': 'ROS'|'ROS2',
'version': 'Kinetic'|'Melodic'|'Dashing'
},
currentRevisionId='string'
)
[REQUIRED]
The application information for the robot application.
[REQUIRED]
The sources of the robot application.
Information about a source configuration.
The Amazon S3 bucket name.
The s3 object key.
The target processor architecture for the application.
[REQUIRED]
The robot software suite used by the robot application.
The name of the robot software suite.
The version of the robot software suite.
dict
Response Syntax
{
'arn': 'string',
'name': 'string',
'version': 'string',
'sources': [
{
's3Bucket': 'string',
's3Key': 'string',
'etag': 'string',
'architecture': 'X86_64'|'ARM64'|'ARMHF'
},
],
'robotSoftwareSuite': {
'name': 'ROS'|'ROS2',
'version': 'Kinetic'|'Melodic'|'Dashing'
},
'lastUpdatedAt': datetime(2015, 1, 1),
'revisionId': 'string'
}
Response Structure
(dict) --
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 (list) --
The sources of the robot application.
(dict) --
Information about a source.
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.
robotSoftwareSuite (dict) --
The robot software suite used by the robot application.
name (string) --
The name of the robot software suite.
version (string) --
The version of the robot software suite.
lastUpdatedAt (datetime) --
The time, in milliseconds since the epoch, when the robot application was last updated.
revisionId (string) --
The revision id of the robot application.
Updates a simulation application.
See also: AWS API Documentation
Request Syntax
response = client.update_simulation_application(
application='string',
sources=[
{
's3Bucket': 'string',
's3Key': 'string',
'architecture': 'X86_64'|'ARM64'|'ARMHF'
},
],
simulationSoftwareSuite={
'name': 'Gazebo'|'RosbagPlay',
'version': 'string'
},
robotSoftwareSuite={
'name': 'ROS'|'ROS2',
'version': 'Kinetic'|'Melodic'|'Dashing'
},
renderingEngine={
'name': 'OGRE',
'version': 'string'
},
currentRevisionId='string'
)
[REQUIRED]
The application information for the simulation application.
[REQUIRED]
The sources of the simulation application.
Information about a source configuration.
The Amazon S3 bucket name.
The s3 object key.
The target processor architecture for the application.
[REQUIRED]
The simulation software suite used by the simulation application.
The name of the simulation software suite.
The version of the simulation software suite.
[REQUIRED]
Information about the robot software suite.
The name of the robot software suite.
The version of the robot software suite.
The rendering engine for the simulation application.
The name of the rendering engine.
The version of the rendering engine.
dict
Response Syntax
{
'arn': 'string',
'name': 'string',
'version': 'string',
'sources': [
{
's3Bucket': 'string',
's3Key': 'string',
'etag': 'string',
'architecture': 'X86_64'|'ARM64'|'ARMHF'
},
],
'simulationSoftwareSuite': {
'name': 'Gazebo'|'RosbagPlay',
'version': 'string'
},
'robotSoftwareSuite': {
'name': 'ROS'|'ROS2',
'version': 'Kinetic'|'Melodic'|'Dashing'
},
'renderingEngine': {
'name': 'OGRE',
'version': 'string'
},
'lastUpdatedAt': datetime(2015, 1, 1),
'revisionId': 'string'
}
Response Structure
(dict) --
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 (list) --
The sources of the simulation application.
(dict) --
Information about a source.
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.
simulationSoftwareSuite (dict) --
The simulation software suite used by the simulation application.
name (string) --
The name of the simulation software suite.
version (string) --
The version of the simulation software suite.
robotSoftwareSuite (dict) --
Information about the robot software suite.
name (string) --
The name of the robot software suite.
version (string) --
The version of the robot software suite.
renderingEngine (dict) --
The rendering engine for the simulation application.
name (string) --
The name of the rendering engine.
version (string) --
The version of the rendering engine.
lastUpdatedAt (datetime) --
The time, in milliseconds since the epoch, when the simulation application was last updated.
revisionId (string) --
The revision id of the simulation application.
The available paginators are:
paginator = client.get_paginator('list_deployment_jobs')
Creates an iterator that will paginate through responses from RoboMaker.Client.list_deployment_jobs().
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
filters=[
{
'name': 'string',
'values': [
'string',
]
},
],
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
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 .
Information about a filter.
The name of the filter.
A list of values.
A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken from a previous response.
dict
Response Syntax
{
'deploymentJobs': [
{
'arn': 'string',
'fleet': 'string',
'status': 'Pending'|'Preparing'|'InProgress'|'Failed'|'Succeeded'|'Canceled',
'deploymentApplicationConfigs': [
{
'application': 'string',
'applicationVersion': 'string',
'launchConfig': {
'packageName': 'string',
'preLaunchFile': 'string',
'launchFile': 'string',
'postLaunchFile': 'string',
'environmentVariables': {
'string': 'string'
}
}
},
],
'deploymentConfig': {
'concurrentDeploymentPercentage': 123,
'failureThresholdPercentage': 123,
'robotDeploymentTimeoutInSeconds': 123,
'downloadConditionFile': {
'bucket': 'string',
'key': 'string',
'etag': 'string'
}
},
'failureReason': 'string',
'failureCode': 'ResourceNotFound'|'EnvironmentSetupError'|'EtagMismatch'|'FailureThresholdBreached'|'RobotDeploymentAborted'|'RobotDeploymentNoResponse'|'RobotAgentConnectionTimeout'|'GreengrassDeploymentFailed'|'MissingRobotArchitecture'|'MissingRobotApplicationArchitecture'|'MissingRobotDeploymentResource'|'GreengrassGroupVersionDoesNotExist'|'ExtractingBundleFailure'|'PreLaunchFileFailure'|'PostLaunchFileFailure'|'BadPermissionError'|'DownloadConditionFailed'|'InternalServerError',
'createdAt': datetime(2015, 1, 1)
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
deploymentJobs (list) --
A list of deployment jobs that meet the criteria of the request.
(dict) --
Information about a deployment job.
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.
deploymentApplicationConfigs (list) --
The deployment application configuration.
(dict) --
Information about a deployment application configuration.
application (string) --
The Amazon Resource Name (ARN) of the robot application.
applicationVersion (string) --
The version of the application.
launchConfig (dict) --
The launch configuration.
packageName (string) --
The package name.
preLaunchFile (string) --
The deployment pre-launch file. This file will be executed prior to the launch file.
launchFile (string) --
The launch file name.
postLaunchFile (string) --
The deployment post-launch file. This file will be executed after the launch file.
environmentVariables (dict) --
An array of key/value pairs specifying environment variables for the robot application
deploymentConfig (dict) --
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.
robotDeploymentTimeoutInSeconds (integer) --
The amount of time, in seconds, to wait for deployment to a single robot to complete. Choose a time between 1 minute and 7 days. The default is 5 hours.
downloadConditionFile (dict) --
The download condition file.
bucket (string) --
The bucket containing the object.
key (string) --
The key of the object.
etag (string) --
The etag of the object.
failureReason (string) --
A short description of the reason why the deployment job failed.
failureCode (string) --
The deployment job failure code.
createdAt (datetime) --
The time, in milliseconds since the epoch, when the deployment job was created.
NextToken (string) --
A token to resume pagination.
paginator = client.get_paginator('list_fleets')
Creates an iterator that will paginate through responses from RoboMaker.Client.list_fleets().
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
filters=[
{
'name': 'string',
'values': [
'string',
]
},
],
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
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.
Information about a filter.
The name of the filter.
A list of values.
A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken from a previous response.
dict
Response Syntax
{
'fleetDetails': [
{
'name': 'string',
'arn': 'string',
'createdAt': datetime(2015, 1, 1),
'lastDeploymentStatus': 'Pending'|'Preparing'|'InProgress'|'Failed'|'Succeeded'|'Canceled',
'lastDeploymentJob': 'string',
'lastDeploymentTime': datetime(2015, 1, 1)
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
fleetDetails (list) --
A list of fleet details meeting the request criteria.
(dict) --
Information about a fleet.
name (string) --
The name of the fleet.
arn (string) --
The Amazon Resource Name (ARN) of the fleet.
createdAt (datetime) --
The time, in milliseconds since the epoch, when the fleet was created.
lastDeploymentStatus (string) --
The status of the last fleet deployment.
lastDeploymentJob (string) --
The Amazon Resource Name (ARN) of the last deployment job.
lastDeploymentTime (datetime) --
The time of the last deployment.
NextToken (string) --
A token to resume pagination.
paginator = client.get_paginator('list_robot_applications')
Creates an iterator that will paginate through responses from RoboMaker.Client.list_robot_applications().
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
versionQualifier='string',
filters=[
{
'name': 'string',
'values': [
'string',
]
},
],
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
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.
Information about a filter.
The name of the filter.
A list of values.
A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken from a previous response.
dict
Response Syntax
{
'robotApplicationSummaries': [
{
'name': 'string',
'arn': 'string',
'version': 'string',
'lastUpdatedAt': datetime(2015, 1, 1),
'robotSoftwareSuite': {
'name': 'ROS'|'ROS2',
'version': 'Kinetic'|'Melodic'|'Dashing'
}
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
robotApplicationSummaries (list) --
A list of robot application summaries that meet the criteria of the request.
(dict) --
Summary information for a robot application.
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 (datetime) --
The time, in milliseconds since the epoch, when the robot application was last updated.
robotSoftwareSuite (dict) --
Information about a robot software suite.
name (string) --
The name of the robot software suite.
version (string) --
The version of the robot software suite.
NextToken (string) --
A token to resume pagination.
paginator = client.get_paginator('list_robots')
Creates an iterator that will paginate through responses from RoboMaker.Client.list_robots().
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
filters=[
{
'name': 'string',
'values': [
'string',
]
},
],
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
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 .
Information about a filter.
The name of the filter.
A list of values.
A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken from a previous response.
dict
Response Syntax
{
'robots': [
{
'arn': 'string',
'name': 'string',
'fleetArn': 'string',
'status': 'Available'|'Registered'|'PendingNewDeployment'|'Deploying'|'Failed'|'InSync'|'NoResponse',
'greenGrassGroupId': 'string',
'createdAt': datetime(2015, 1, 1),
'architecture': 'X86_64'|'ARM64'|'ARMHF',
'lastDeploymentJob': 'string',
'lastDeploymentTime': datetime(2015, 1, 1)
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
robots (list) --
A list of robots that meet the criteria of the request.
(dict) --
Information about a robot.
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.
greenGrassGroupId (string) --
The Greengrass group associated with the robot.
createdAt (datetime) --
The time, in milliseconds since the epoch, when the robot was created.
architecture (string) --
The architecture of the robot.
lastDeploymentJob (string) --
The Amazon Resource Name (ARN) of the last deployment job.
lastDeploymentTime (datetime) --
The time of the last deployment.
NextToken (string) --
A token to resume pagination.
paginator = client.get_paginator('list_simulation_applications')
Creates an iterator that will paginate through responses from RoboMaker.Client.list_simulation_applications().
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
versionQualifier='string',
filters=[
{
'name': 'string',
'values': [
'string',
]
},
],
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
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.
Information about a filter.
The name of the filter.
A list of values.
A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken from a previous response.
dict
Response Syntax
{
'simulationApplicationSummaries': [
{
'name': 'string',
'arn': 'string',
'version': 'string',
'lastUpdatedAt': datetime(2015, 1, 1),
'robotSoftwareSuite': {
'name': 'ROS'|'ROS2',
'version': 'Kinetic'|'Melodic'|'Dashing'
},
'simulationSoftwareSuite': {
'name': 'Gazebo'|'RosbagPlay',
'version': 'string'
}
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
simulationApplicationSummaries (list) --
A list of simulation application summaries that meet the criteria of the request.
(dict) --
Summary information for a simulation application.
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 (datetime) --
The time, in milliseconds since the epoch, when the simulation application was last updated.
robotSoftwareSuite (dict) --
Information about a robot software suite.
name (string) --
The name of the robot software suite.
version (string) --
The version of the robot software suite.
simulationSoftwareSuite (dict) --
Information about a simulation software suite.
name (string) --
The name of the simulation software suite.
version (string) --
The version of the simulation software suite.
NextToken (string) --
A token to resume pagination.
paginator = client.get_paginator('list_simulation_jobs')
Creates an iterator that will paginate through responses from RoboMaker.Client.list_simulation_jobs().
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
filters=[
{
'name': 'string',
'values': [
'string',
]
},
],
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
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 .
Information about a filter.
The name of the filter.
A list of values.
A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken from a previous response.
dict
Response Syntax
{
'simulationJobSummaries': [
{
'arn': 'string',
'lastUpdatedAt': datetime(2015, 1, 1),
'name': 'string',
'status': 'Pending'|'Preparing'|'Running'|'Restarting'|'Completed'|'Failed'|'RunningFailed'|'Terminating'|'Terminated'|'Canceled',
'simulationApplicationNames': [
'string',
],
'robotApplicationNames': [
'string',
],
'dataSourceNames': [
'string',
]
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
simulationJobSummaries (list) --
A list of simulation job summaries that meet the criteria of the request.
(dict) --
Summary information for a simulation job.
arn (string) --
The Amazon Resource Name (ARN) of the simulation job.
lastUpdatedAt (datetime) --
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.
simulationApplicationNames (list) --
A list of simulation job simulation application names.
robotApplicationNames (list) --
A list of simulation job robot application names.
dataSourceNames (list) --
The names of the data sources.
NextToken (string) --
A token to resume pagination.