From 589b696210834b37afc068a921bd6fe09dcb24f9 Mon Sep 17 00:00:00 2001 From: AWS <> Date: Thu, 14 Oct 2021 18:05:58 +0000 Subject: [PATCH] AWS RoboMaker Update: Adding support to GPU simulation jobs as well as non-ROS simulation jobs. --- .../feature-AWSRoboMaker-606e9a4.json | 6 ++ .../codegen-resources/service-2.json | 92 ++++++++++++++++--- 2 files changed, 86 insertions(+), 12 deletions(-) create mode 100644 .changes/next-release/feature-AWSRoboMaker-606e9a4.json diff --git a/.changes/next-release/feature-AWSRoboMaker-606e9a4.json b/.changes/next-release/feature-AWSRoboMaker-606e9a4.json new file mode 100644 index 000000000000..da6bbf89b2de --- /dev/null +++ b/.changes/next-release/feature-AWSRoboMaker-606e9a4.json @@ -0,0 +1,6 @@ +{ + "type": "feature", + "category": "AWS RoboMaker", + "contributor": "", + "description": "Adding support to GPU simulation jobs as well as non-ROS simulation jobs." +} diff --git a/services/robomaker/src/main/resources/codegen-resources/service-2.json b/services/robomaker/src/main/resources/codegen-resources/service-2.json index c293bdce7e78..46dcbf36be60 100644 --- a/services/robomaker/src/main/resources/codegen-resources/service-2.json +++ b/services/robomaker/src/main/resources/codegen-resources/service-2.json @@ -1106,12 +1106,24 @@ "min":1, "pattern":"[a-zA-Z0-9_.\\-]*" }, + "CommandList":{ + "type":"list", + "member":{"shape":"NonEmptyString"} + }, "Compute":{ "type":"structure", "members":{ "simulationUnitLimit":{ "shape":"SimulationUnit", - "documentation":"
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 maximim value provided. The default is 15.
" + "documentation":"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":{ + "shape":"ComputeType", + "documentation":"Compute type information for the simulation job.
" + }, + "gpuUnitLimit":{ + "shape":"GPUUnit", + "documentation":"Compute GPU unit limit for the simulation job. It is the same as the number of GPUs allocated to the SimulationJob.
" } }, "documentation":"Compute information for the simulation job.
" @@ -1121,11 +1133,26 @@ "members":{ "simulationUnitLimit":{ "shape":"SimulationUnit", - "documentation":"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 maximim value provided. The default is 15.
" + "documentation":"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":{ + "shape":"ComputeType", + "documentation":"Compute type response information for the simulation job.
" + }, + "gpuUnitLimit":{ + "shape":"GPUUnit", + "documentation":"Compute GPU unit limit for the simulation job. It is the same as the number of GPUs allocated to the SimulationJob.
" } }, "documentation":"Compute information for the simulation job
" }, + "ComputeType":{ + "type":"string", + "enum":[ + "CPU", + "GPU_AND_CPU" + ] + }, "ConcurrentDeploymentException":{ "type":"structure", "members":{ @@ -1919,6 +1946,14 @@ "s3Keys":{ "shape":"S3KeyOutputs", "documentation":"The list of S3 keys identifying the data source files.
" + }, + "type":{ + "shape":"DataSourceType", + "documentation":"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.
Information about a data source.
" @@ -1940,8 +1975,16 @@ "documentation":"The S3 bucket where the data files are located.
" }, "s3Keys":{ - "shape":"S3Keys", + "shape":"S3KeysOrPrefixes", "documentation":"The list of S3 keys identifying the data source files.
" + }, + "type":{ + "shape":"DataSourceType", + "documentation":"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.
Information about a data source.
" @@ -1956,6 +1999,14 @@ "type":"list", "member":{"shape":"Name"} }, + "DataSourceType":{ + "type":"string", + "enum":[ + "Prefix", + "Archive", + "File" + ] + }, "DataSources":{ "type":"list", "member":{"shape":"DataSource"} @@ -3048,6 +3099,11 @@ "min":0 }, "FloorplanCount":{"type":"integer"}, + "GPUUnit":{ + "type":"integer", + "max":1, + "min":0 + }, "GenericInteger":{"type":"integer"}, "GenericString":{ "type":"string", @@ -3135,10 +3191,6 @@ "LastUpdatedAt":{"type":"timestamp"}, "LaunchConfig":{ "type":"structure", - "required":[ - "packageName", - "launchFile" - ], "members":{ "packageName":{ "shape":"Command", @@ -3159,6 +3211,10 @@ "streamUI":{ "shape":"Boolean", "documentation":"Boolean indicating whether a streaming session will be configured for the application. If 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.
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.
Information about a launch configuration.
" @@ -3968,7 +4024,8 @@ "type":"string", "enum":[ "ROS", - "ROS2" + "ROS2", + "General" ] }, "RobotSoftwareSuiteVersionType":{ @@ -4015,11 +4072,17 @@ "min":1, "pattern":".*" }, + "S3KeyOrPrefix":{ + "type":"string", + "max":1024, + "min":0, + "pattern":".*" + }, "S3KeyOutput":{ "type":"structure", "members":{ "s3Key":{ - "shape":"S3Key", + "shape":"S3KeyOrPrefix", "documentation":"The S3 key.
" }, "etag":{ @@ -4033,9 +4096,9 @@ "type":"list", "member":{"shape":"S3KeyOutput"} }, - "S3Keys":{ + "S3KeysOrPrefixes":{ "type":"list", - "member":{"shape":"S3Key"}, + "member":{"shape":"S3KeyOrPrefix"}, "max":100, "min":1 }, @@ -4443,6 +4506,10 @@ "dataSourceNames":{ "shape":"DataSourceNames", "documentation":"The names of the data sources.
" + }, + "computeType":{ + "shape":"ComputeType", + "documentation":"The compute type for the simulation job summary.
" } }, "documentation":"Summary information for a simulation job.
" @@ -4469,7 +4536,8 @@ "type":"string", "enum":[ "Gazebo", - "RosbagPlay" + "RosbagPlay", + "SimulationRuntime" ] }, "SimulationSoftwareSuiteVersionType":{