openapi: 3.2.0
info:
version: '2018-06-29'
x-release: v4
title: AWS RoboMaker Describe Simulation Job API
description: This section provides documentation for the AWS RoboMaker API operations.
x-logo:
url: https://api.apis.guru/v2/cache/logo/https_twitter.com_awscloud_profile_image.png
backgroundColor: '#FFFFFF'
termsOfService: https://aws.amazon.com/service-terms/
contact:
name: Mike Ralphson
email: mike.ralphson@gmail.com
url: https://github.com/mermade/aws2openapi
x-twitter: PermittedSoc
license:
name: Apache 2.0 License
url: http://www.apache.org/licenses/
x-providerName: amazonaws.com
x-serviceName: robomaker
x-aws-signingName: robomaker
x-origin:
- contentType: application/json
url: https://raw.githubusercontent.com/aws/aws-sdk-js/master/apis/robomaker-2018-06-29.normal.json
converter:
url: https://github.com/mermade/aws2openapi
version: 1.0.0
x-apisguru-driver: external
x-apiClientRegistration:
url: https://portal.aws.amazon.com/gp/aws/developer/registration/index.html?nc2=h_ct
x-apisguru-categories:
- cloud
x-preferred: true
servers:
- url: http://robomaker.{region}.amazonaws.com
variables:
region:
description: The AWS region
enum:
- us-east-1
- us-east-2
- us-west-1
- us-west-2
- us-gov-west-1
- us-gov-east-1
- ca-central-1
- eu-north-1
- eu-west-1
- eu-west-2
- eu-west-3
- eu-central-1
- eu-south-1
- af-south-1
- ap-northeast-1
- ap-northeast-2
- ap-northeast-3
- ap-southeast-1
- ap-southeast-2
- ap-east-1
- ap-south-1
- sa-east-1
- me-south-1
default: us-east-1
description: The RoboMaker multi-region endpoint
- url: https://robomaker.{region}.amazonaws.com
variables:
region:
description: The AWS region
enum:
- us-east-1
- us-east-2
- us-west-1
- us-west-2
- us-gov-west-1
- us-gov-east-1
- ca-central-1
- eu-north-1
- eu-west-1
- eu-west-2
- eu-west-3
- eu-central-1
- eu-south-1
- af-south-1
- ap-northeast-1
- ap-northeast-2
- ap-northeast-3
- ap-southeast-1
- ap-southeast-2
- ap-east-1
- ap-south-1
- sa-east-1
- me-south-1
default: us-east-1
description: The RoboMaker multi-region endpoint
- url: http://robomaker.{region}.amazonaws.com.cn
variables:
region:
description: The AWS region
enum:
- cn-north-1
- cn-northwest-1
default: cn-north-1
description: The RoboMaker endpoint for China (Beijing) and China (Ningxia)
- url: https://robomaker.{region}.amazonaws.com.cn
variables:
region:
description: The AWS region
enum:
- cn-north-1
- cn-northwest-1
default: cn-north-1
description: The RoboMaker endpoint for China (Beijing) and China (Ningxia)
security:
- hmac: []
tags:
- name: Describe Simulation Job
paths:
/describeSimulationJob:
parameters:
- $ref: '#/components/parameters/X-Amz-Content-Sha256'
- $ref: '#/components/parameters/X-Amz-Date'
- $ref: '#/components/parameters/X-Amz-Algorithm'
- $ref: '#/components/parameters/X-Amz-Credential'
- $ref: '#/components/parameters/X-Amz-Security-Token'
- $ref: '#/components/parameters/X-Amz-Signature'
- $ref: '#/components/parameters/X-Amz-SignedHeaders'
post:
operationId: DescribeSimulationJob
description: Describes a simulation job.
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/DescribeSimulationJobResponse'
'480':
description: ResourceNotFoundException
content:
application/json:
schema:
$ref: '#/components/schemas/ResourceNotFoundException'
'481':
description: InvalidParameterException
content:
application/json:
schema:
$ref: '#/components/schemas/InvalidParameterException'
'482':
description: InternalServerException
content:
application/json:
schema:
$ref: '#/components/schemas/InternalServerException'
'483':
description: ThrottlingException
content:
application/json:
schema:
$ref: '#/components/schemas/ThrottlingException'
parameters: []
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- job
properties:
job:
description: The Amazon Resource Name (ARN) of the simulation job to be described.
type: string
pattern: arn:.*
minLength: 1
maxLength: 1224
tags:
- Describe Simulation Job
summary: Describe simulation job
x-summary-source: derived
components:
schemas:
Tool:
type: object
required:
- name
- command
properties:
streamUI:
allOf:
- $ref: '#/components/schemas/BoxedBoolean'
- description: 'Boolean indicating whether a streaming session will be configured for the tool. If True, AWS RoboMaker will configure a connection so you can interact with the tool as it is running in the simulation. It must have a graphical user interface. The default is False. '
name:
allOf:
- $ref: '#/components/schemas/Name'
- description: The name of the tool.
command:
allOf:
- $ref: '#/components/schemas/UnrestrictedCommand'
- description: Command-line arguments for the tool. It must include the tool executable name.
streamOutputToCloudWatch:
allOf:
- $ref: '#/components/schemas/BoxedBoolean'
- description: 'Boolean indicating whether logs will be recorded in CloudWatch for the tool. The default is False. '
exitBehavior:
allOf:
- $ref: '#/components/schemas/ExitBehavior'
- description: 'Exit behavior determines what happens when your tool quits running. RESTART will cause your tool to be restarted. FAIL will cause your job to exit. The default is RESTART. '
description: Information about a tool. Tools are used in a simulation job.
EnvironmentVariableMap:
type: object
minProperties: 0
maxProperties: 20
additionalProperties:
$ref: '#/components/schemas/EnvironmentVariableValue'
GPUUnit:
type: integer
minimum: 0
maximum: 1
NonSystemPort:
type: integer
minimum: 1024
maximum: 65535
WorldConfig:
type: object
properties:
world:
allOf:
- $ref: '#/components/schemas/Arn'
- description: The world generated by Simulation WorldForge.
description: Configuration information for a world.
NonEmptyString:
type: string
pattern: .+
minLength: 1
maxLength: 255
RobotApplicationConfigs:
type: array
items:
$ref: '#/components/schemas/RobotApplicationConfig'
minItems: 1
maxItems: 1
SecurityGroups:
type: array
items:
$ref: '#/components/schemas/NonEmptyString'
minItems: 1
maxItems: 5
Path:
type: string
pattern: .*
minLength: 1
maxLength: 1024
DataSources:
type: array
items:
$ref: '#/components/schemas/DataSource'
DataSourceType:
type: string
enum:
- Prefix
- Archive
- File
ExitBehavior:
type: string
enum:
- FAIL
- RESTART
BoxedBoolean:
type: boolean
UploadConfigurations:
type: array
items:
$ref: '#/components/schemas/UploadConfiguration'
minItems: 0
maxItems: 10
Arn:
type: string
pattern: arn:.*
minLength: 1
maxLength: 1224
ComputeType:
type: string
enum:
- CPU
- GPU_AND_CPU
LoggingConfig:
type: object
properties:
recordAllRosTopics:
allOf:
- $ref: '#/components/schemas/BoxedBoolean'
- deprecated: true
description:
A boolean indicating whether to record all ROS topics.
This API is no longer supported and will throw an error if used.
A prefix that specifies where files will be uploaded in Amazon S3. It is appended to the simulation output location to determine the final path.
For example, if your simulation output location is s3://my-bucket and your upload configuration name is robot-test, your files will be uploaded to s3://my-bucket/<simid>/<runid>/robot-test.
** as a super asterisk. For example, specifying /var/log/**.log causes all .log files in the /var/log directory tree to be collected. For more examples, see Glob Library. '
uploadBehavior:
allOf:
- $ref: '#/components/schemas/UploadBehavior'
- description: Specifies when to upload the files:
Matching files are uploaded once the simulation enters the TERMINATING state. Matching files are not uploaded until all of your code (including tools) have stopped.
If there is a problem uploading a file, the upload is retried. If problems persist, no further upload attempts will be made.
Matching files are uploaded as they are created. They are deleted after they are uploaded. The specified path is checked every 5 seconds. A final check is made when all of your code (including tools) have stopped.
True, AWS RoboMaker will configure a connection so you can interact with your application as it is running in the simulation. You must configure and launch the component. It must have a graphical user interface. '
command:
allOf:
- $ref: '#/components/schemas/CommandList'
- description: If you've specified General as the value for your RobotSoftwareSuite, you can use this field to specify a list of commands for your container image.
If you've specified SimulationRuntime as the value for your SimulationSoftwareSuite, you can use this field to specify a list of commands for your container image.
The failure code of the simulation job if it failed:
Internal service error.
Robot application exited abnormally.
Simulation application exited abnormally.
Robot application bundle could not be downloaded.
Simulation application bundle could not be downloaded.
Unable to publish outputs to customer-provided S3 bucket.
Unable to publish logs to customer-provided CloudWatch Logs resource.
Subnet IP limit exceeded.
ENI limit exceeded.
Unable to use the Role provided.
Robot bundle cannot be extracted (invalid format, bundling error, or other issue).
Simulation bundle cannot be extracted (invalid format, bundling error, or other issue).
Etag for RobotApplication does not match value during version creation.
Etag for SimulationApplication does not match value during version creation.
A Boolean indicating whether to use default upload configurations. By default, .ros and .gazebo files are uploaded when the application terminates and all ROS topics will be recorded.
If you set this value, you must specify an outputLocation.
This API is no longer supported and will throw an error if used.
A Boolean indicating whether to use default robot application tools. The default tools are rviz, rqt, terminal and rosbag record. The default is False.
This API is no longer supported and will throw an error if used.
s3Bucket where output files will be placed.
description: The output location.
ComputeResponse:
type: object
properties:
simulationUnitLimit:
allOf:
- $ref: '#/components/schemas/SimulationUnit'
- description: 'The simulation unit limit. Your simulation is allocated CPU and memory proportional to the supplied simulation unit limit. A simulation unit is 1 vcpu and 2GB of memory. You are only billed for the SU utilization you consume up to the maximum value provided. The default is 15. '
computeType:
allOf:
- $ref: '#/components/schemas/ComputeType'
- description: Compute type response information for the simulation job.
gpuUnitLimit:
allOf:
- $ref: '#/components/schemas/GPUUnit'
- description: Compute GPU unit limit for the simulation job. It is the same as the number of GPUs allocated to the SimulationJob.
description: Compute information for the simulation job
FailureBehavior:
type: string
enum:
- Fail
- Continue
Subnets:
type: array
items:
$ref: '#/components/schemas/NonEmptyString'
minItems: 1
maxItems: 16
S3KeyOrPrefix:
type: string
pattern: .*
minLength: 0
maxLength: 1024
VPCConfigResponse:
type: object
properties:
subnets:
allOf:
- $ref: '#/components/schemas/Subnets'
- description: A list of subnet IDs associated with the simulation job.
securityGroups:
allOf:
- $ref: '#/components/schemas/SecurityGroups'
- description: A list of security group IDs associated with the simulation job.
vpcId:
allOf:
- $ref: '#/components/schemas/GenericString'
- description: The VPC ID associated with your simulation job.
assignPublicIp:
allOf:
- $ref: '#/components/schemas/Boolean'
- description: A boolean indicating if a public IP was assigned.
description: VPC configuration associated with your simulation job.
DataSource:
type: object
properties:
name:
allOf:
- $ref: '#/components/schemas/Name'
- description: The name of the data source.
s3Bucket:
allOf:
- $ref: '#/components/schemas/S3Bucket'
- description: The S3 bucket where the data files are located.
s3Keys:
allOf:
- $ref: '#/components/schemas/S3KeyOutputs'
- description: The list of S3 keys identifying the data source files.
type:
allOf:
- $ref: '#/components/schemas/DataSourceType'
- description: The data type for the data source that you're using for your container image or simulation job. You can use this field to specify whether your data source is an Archive, an Amazon S3 prefix, or a file.
If you don't specify a field, the default value is File.
The location where your files are mounted in the container image.
If you've specified the type of the data source as an Archive, you must provide an Amazon S3 object key to your archive. The object key must point to either a .zip or .tar.gz file.
If you've specified the type of the data source as a Prefix, you provide the Amazon S3 prefix that points to the files that you are using for your data source.
If you've specified the type of the data source as a File, you provide the Amazon S3 path to the file that you're using as your data source.
A Boolean indicating whether to use default upload configurations. By default, .ros and .gazebo files are uploaded when the application terminates and all ROS topics will be recorded.
If you set this value, you must specify an outputLocation.
This API is no longer supported and will throw an error if used.
A Boolean indicating whether to use default simulation application tools. The default tools are rviz, rqt, terminal and rosbag record. The default is False.
This API is no longer supported and will throw an error if used.