aws-sdk-robomaker 1.30.0 → 1.35.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -115,6 +115,7 @@ module Aws::RoboMaker
115
115
  EnvironmentVariableKey = Shapes::StringShape.new(name: 'EnvironmentVariableKey')
116
116
  EnvironmentVariableMap = Shapes::MapShape.new(name: 'EnvironmentVariableMap')
117
117
  EnvironmentVariableValue = Shapes::StringShape.new(name: 'EnvironmentVariableValue')
118
+ ExitBehavior = Shapes::StringShape.new(name: 'ExitBehavior')
118
119
  FailedAt = Shapes::TimestampShape.new(name: 'FailedAt')
119
120
  FailedCreateSimulationJobRequest = Shapes::StructureShape.new(name: 'FailedCreateSimulationJobRequest')
120
121
  FailedCreateSimulationJobRequests = Shapes::ListShape.new(name: 'FailedCreateSimulationJobRequests')
@@ -259,6 +260,9 @@ module Aws::RoboMaker
259
260
  TemplateSummaries = Shapes::ListShape.new(name: 'TemplateSummaries')
260
261
  TemplateSummary = Shapes::StructureShape.new(name: 'TemplateSummary')
261
262
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
263
+ Tool = Shapes::StructureShape.new(name: 'Tool')
264
+ Tools = Shapes::ListShape.new(name: 'Tools')
265
+ UnrestrictedCommand = Shapes::StringShape.new(name: 'UnrestrictedCommand')
262
266
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
263
267
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
264
268
  UpdateRobotApplicationRequest = Shapes::StructureShape.new(name: 'UpdateRobotApplicationRequest')
@@ -267,6 +271,9 @@ module Aws::RoboMaker
267
271
  UpdateSimulationApplicationResponse = Shapes::StructureShape.new(name: 'UpdateSimulationApplicationResponse')
268
272
  UpdateWorldTemplateRequest = Shapes::StructureShape.new(name: 'UpdateWorldTemplateRequest')
269
273
  UpdateWorldTemplateResponse = Shapes::StructureShape.new(name: 'UpdateWorldTemplateResponse')
274
+ UploadBehavior = Shapes::StringShape.new(name: 'UploadBehavior')
275
+ UploadConfiguration = Shapes::StructureShape.new(name: 'UploadConfiguration')
276
+ UploadConfigurations = Shapes::ListShape.new(name: 'UploadConfigurations')
270
277
  VPCConfig = Shapes::StructureShape.new(name: 'VPCConfig')
271
278
  VPCConfigResponse = Shapes::StructureShape.new(name: 'VPCConfigResponse')
272
279
  Version = Shapes::StringShape.new(name: 'Version')
@@ -504,6 +511,7 @@ module Aws::RoboMaker
504
511
  CreateWorldGenerationJobRequest.add_member(:template, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "template"))
505
512
  CreateWorldGenerationJobRequest.add_member(:world_count, Shapes::ShapeRef.new(shape: WorldCount, required: true, location_name: "worldCount"))
506
513
  CreateWorldGenerationJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
514
+ CreateWorldGenerationJobRequest.add_member(:world_tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "worldTags"))
507
515
  CreateWorldGenerationJobRequest.struct_class = Types::CreateWorldGenerationJobRequest
508
516
 
509
517
  CreateWorldGenerationJobResponse.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "arn"))
@@ -514,6 +522,7 @@ module Aws::RoboMaker
514
522
  CreateWorldGenerationJobResponse.add_member(:template, Shapes::ShapeRef.new(shape: Arn, location_name: "template"))
515
523
  CreateWorldGenerationJobResponse.add_member(:world_count, Shapes::ShapeRef.new(shape: WorldCount, location_name: "worldCount"))
516
524
  CreateWorldGenerationJobResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
525
+ CreateWorldGenerationJobResponse.add_member(:world_tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "worldTags"))
517
526
  CreateWorldGenerationJobResponse.struct_class = Types::CreateWorldGenerationJobResponse
518
527
 
519
528
  CreateWorldTemplateRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "clientRequestToken"))
@@ -757,6 +766,7 @@ module Aws::RoboMaker
757
766
  DescribeWorldGenerationJobResponse.add_member(:world_count, Shapes::ShapeRef.new(shape: WorldCount, location_name: "worldCount"))
758
767
  DescribeWorldGenerationJobResponse.add_member(:finished_worlds_summary, Shapes::ShapeRef.new(shape: FinishedWorldsSummary, location_name: "finishedWorldsSummary"))
759
768
  DescribeWorldGenerationJobResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
769
+ DescribeWorldGenerationJobResponse.add_member(:world_tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "worldTags"))
760
770
  DescribeWorldGenerationJobResponse.struct_class = Types::DescribeWorldGenerationJobResponse
761
771
 
762
772
  DescribeWorldRequest.add_member(:world, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "world"))
@@ -1015,6 +1025,10 @@ module Aws::RoboMaker
1015
1025
  RobotApplicationConfig.add_member(:application, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "application"))
1016
1026
  RobotApplicationConfig.add_member(:application_version, Shapes::ShapeRef.new(shape: Version, location_name: "applicationVersion"))
1017
1027
  RobotApplicationConfig.add_member(:launch_config, Shapes::ShapeRef.new(shape: LaunchConfig, required: true, location_name: "launchConfig"))
1028
+ RobotApplicationConfig.add_member(:upload_configurations, Shapes::ShapeRef.new(shape: UploadConfigurations, location_name: "uploadConfigurations"))
1029
+ RobotApplicationConfig.add_member(:use_default_upload_configurations, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "useDefaultUploadConfigurations"))
1030
+ RobotApplicationConfig.add_member(:tools, Shapes::ShapeRef.new(shape: Tools, location_name: "tools"))
1031
+ RobotApplicationConfig.add_member(:use_default_tools, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "useDefaultTools"))
1018
1032
  RobotApplicationConfig.struct_class = Types::RobotApplicationConfig
1019
1033
 
1020
1034
  RobotApplicationConfigs.member = Shapes::ShapeRef.new(shape: RobotApplicationConfig)
@@ -1068,7 +1082,11 @@ module Aws::RoboMaker
1068
1082
  SimulationApplicationConfig.add_member(:application, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "application"))
1069
1083
  SimulationApplicationConfig.add_member(:application_version, Shapes::ShapeRef.new(shape: Version, location_name: "applicationVersion"))
1070
1084
  SimulationApplicationConfig.add_member(:launch_config, Shapes::ShapeRef.new(shape: LaunchConfig, required: true, location_name: "launchConfig"))
1085
+ SimulationApplicationConfig.add_member(:upload_configurations, Shapes::ShapeRef.new(shape: UploadConfigurations, location_name: "uploadConfigurations"))
1071
1086
  SimulationApplicationConfig.add_member(:world_configs, Shapes::ShapeRef.new(shape: WorldConfigs, location_name: "worldConfigs"))
1087
+ SimulationApplicationConfig.add_member(:use_default_upload_configurations, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "useDefaultUploadConfigurations"))
1088
+ SimulationApplicationConfig.add_member(:tools, Shapes::ShapeRef.new(shape: Tools, location_name: "tools"))
1089
+ SimulationApplicationConfig.add_member(:use_default_tools, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "useDefaultTools"))
1072
1090
  SimulationApplicationConfig.struct_class = Types::SimulationApplicationConfig
1073
1091
 
1074
1092
  SimulationApplicationConfigs.member = Shapes::ShapeRef.new(shape: SimulationApplicationConfig)
@@ -1226,6 +1244,15 @@ module Aws::RoboMaker
1226
1244
  ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
1227
1245
  ThrottlingException.struct_class = Types::ThrottlingException
1228
1246
 
1247
+ Tool.add_member(:stream_ui, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "streamUI"))
1248
+ Tool.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
1249
+ Tool.add_member(:command, Shapes::ShapeRef.new(shape: UnrestrictedCommand, required: true, location_name: "command"))
1250
+ Tool.add_member(:stream_output_to_cloud_watch, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "streamOutputToCloudWatch"))
1251
+ Tool.add_member(:exit_behavior, Shapes::ShapeRef.new(shape: ExitBehavior, location_name: "exitBehavior"))
1252
+ Tool.struct_class = Types::Tool
1253
+
1254
+ Tools.member = Shapes::ShapeRef.new(shape: Tool)
1255
+
1229
1256
  UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "resourceArn"))
1230
1257
  UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys"))
1231
1258
  UntagResourceRequest.struct_class = Types::UntagResourceRequest
@@ -1278,6 +1305,13 @@ module Aws::RoboMaker
1278
1305
  UpdateWorldTemplateResponse.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: LastUpdatedAt, location_name: "lastUpdatedAt"))
1279
1306
  UpdateWorldTemplateResponse.struct_class = Types::UpdateWorldTemplateResponse
1280
1307
 
1308
+ UploadConfiguration.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
1309
+ UploadConfiguration.add_member(:path, Shapes::ShapeRef.new(shape: Path, required: true, location_name: "path"))
1310
+ UploadConfiguration.add_member(:upload_behavior, Shapes::ShapeRef.new(shape: UploadBehavior, required: true, location_name: "uploadBehavior"))
1311
+ UploadConfiguration.struct_class = Types::UploadConfiguration
1312
+
1313
+ UploadConfigurations.member = Shapes::ShapeRef.new(shape: UploadConfiguration)
1314
+
1281
1315
  VPCConfig.add_member(:subnets, Shapes::ShapeRef.new(shape: Subnets, required: true, location_name: "subnets"))
1282
1316
  VPCConfig.add_member(:security_groups, Shapes::ShapeRef.new(shape: SecurityGroups, location_name: "securityGroups"))
1283
1317
  VPCConfig.add_member(:assign_public_ip, Shapes::ShapeRef.new(shape: Boolean, location_name: "assignPublicIp"))
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -1025,6 +1025,24 @@ module Aws::RoboMaker
1025
1025
  # },
1026
1026
  # stream_ui: false,
1027
1027
  # },
1028
+ # upload_configurations: [
1029
+ # {
1030
+ # name: "Name", # required
1031
+ # path: "Path", # required
1032
+ # upload_behavior: "UPLOAD_ON_TERMINATE", # required, accepts UPLOAD_ON_TERMINATE, UPLOAD_ROLLING_AUTO_REMOVE
1033
+ # },
1034
+ # ],
1035
+ # use_default_upload_configurations: false,
1036
+ # tools: [
1037
+ # {
1038
+ # stream_ui: false,
1039
+ # name: "Name", # required
1040
+ # command: "UnrestrictedCommand", # required
1041
+ # stream_output_to_cloud_watch: false,
1042
+ # exit_behavior: "FAIL", # accepts FAIL, RESTART
1043
+ # },
1044
+ # ],
1045
+ # use_default_tools: false,
1028
1046
  # },
1029
1047
  # ],
1030
1048
  # simulation_applications: [
@@ -1048,11 +1066,29 @@ module Aws::RoboMaker
1048
1066
  # },
1049
1067
  # stream_ui: false,
1050
1068
  # },
1069
+ # upload_configurations: [
1070
+ # {
1071
+ # name: "Name", # required
1072
+ # path: "Path", # required
1073
+ # upload_behavior: "UPLOAD_ON_TERMINATE", # required, accepts UPLOAD_ON_TERMINATE, UPLOAD_ROLLING_AUTO_REMOVE
1074
+ # },
1075
+ # ],
1051
1076
  # world_configs: [
1052
1077
  # {
1053
1078
  # world: "Arn",
1054
1079
  # },
1055
1080
  # ],
1081
+ # use_default_upload_configurations: false,
1082
+ # tools: [
1083
+ # {
1084
+ # stream_ui: false,
1085
+ # name: "Name", # required
1086
+ # command: "UnrestrictedCommand", # required
1087
+ # stream_output_to_cloud_watch: false,
1088
+ # exit_behavior: "FAIL", # accepts FAIL, RESTART
1089
+ # },
1090
+ # ],
1091
+ # use_default_tools: false,
1056
1092
  # },
1057
1093
  # ],
1058
1094
  # data_sources: [
@@ -1449,6 +1485,18 @@ module Aws::RoboMaker
1449
1485
  # InvalidInput
1450
1486
  #
1451
1487
  # : An input parameter in the request is not valid.
1488
+ #
1489
+ # AllWorldGenerationFailed
1490
+ #
1491
+ # : All of the worlds in the world generation job failed. This can
1492
+ # happen if your `worldCount` is greater than 50 or less than 1.
1493
+ #
1494
+ # For more information about troubleshooting WorldForge, see
1495
+ # [Troubleshooting Simulation WorldForge][1].
1496
+ #
1497
+ #
1498
+ #
1499
+ # [1]: https://docs.aws.amazon.com/robomaker/latest/dg/troubleshooting-worldforge.html
1452
1500
  # @return [String]
1453
1501
  #
1454
1502
  # @!attribute [rw] client_request_token
@@ -1498,6 +1546,9 @@ module Aws::RoboMaker
1498
1546
  # tags: {
1499
1547
  # "TagKey" => "TagValue",
1500
1548
  # },
1549
+ # world_tags: {
1550
+ # "TagKey" => "TagValue",
1551
+ # },
1501
1552
  # }
1502
1553
  #
1503
1554
  # @!attribute [rw] client_request_token
@@ -1522,13 +1573,19 @@ module Aws::RoboMaker
1522
1573
  # world generator job.
1523
1574
  # @return [Hash<String,String>]
1524
1575
  #
1576
+ # @!attribute [rw] world_tags
1577
+ # A map that contains tag keys and tag values that are attached to the
1578
+ # generated worlds.
1579
+ # @return [Hash<String,String>]
1580
+ #
1525
1581
  # @see http://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CreateWorldGenerationJobRequest AWS API Documentation
1526
1582
  #
1527
1583
  class CreateWorldGenerationJobRequest < Struct.new(
1528
1584
  :client_request_token,
1529
1585
  :template,
1530
1586
  :world_count,
1531
- :tags)
1587
+ :tags,
1588
+ :world_tags)
1532
1589
  SENSITIVE = []
1533
1590
  include Aws::Structure
1534
1591
  end
@@ -1619,6 +1676,11 @@ module Aws::RoboMaker
1619
1676
  # world generator job.
1620
1677
  # @return [Hash<String,String>]
1621
1678
  #
1679
+ # @!attribute [rw] world_tags
1680
+ # A map that contains tag keys and tag values that are attached to the
1681
+ # generated worlds.
1682
+ # @return [Hash<String,String>]
1683
+ #
1622
1684
  # @see http://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CreateWorldGenerationJobResponse AWS API Documentation
1623
1685
  #
1624
1686
  class CreateWorldGenerationJobResponse < Struct.new(
@@ -1629,7 +1691,8 @@ module Aws::RoboMaker
1629
1691
  :client_request_token,
1630
1692
  :template,
1631
1693
  :world_count,
1632
- :tags)
1694
+ :tags,
1695
+ :world_tags)
1633
1696
  SENSITIVE = []
1634
1697
  include Aws::Structure
1635
1698
  end
@@ -3099,6 +3162,11 @@ module Aws::RoboMaker
3099
3162
  # world generation job.
3100
3163
  # @return [Hash<String,String>]
3101
3164
  #
3165
+ # @!attribute [rw] world_tags
3166
+ # A map that contains tag keys and tag values that are attached to the
3167
+ # generated worlds.
3168
+ # @return [Hash<String,String>]
3169
+ #
3102
3170
  # @see http://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DescribeWorldGenerationJobResponse AWS API Documentation
3103
3171
  #
3104
3172
  class DescribeWorldGenerationJobResponse < Struct.new(
@@ -3111,7 +3179,8 @@ module Aws::RoboMaker
3111
3179
  :template,
3112
3180
  :world_count,
3113
3181
  :finished_worlds_summary,
3114
- :tags)
3182
+ :tags,
3183
+ :world_tags)
3115
3184
  SENSITIVE = []
3116
3185
  include Aws::Structure
3117
3186
  end
@@ -3494,7 +3563,7 @@ module Aws::RoboMaker
3494
3563
  # Boolean indicating whether a streaming session will be configured
3495
3564
  # for the application. If `True`, AWS RoboMaker will configure a
3496
3565
  # connection so you can interact with your application as it is
3497
- # running in the simulation. You must configure and luanch the
3566
+ # running in the simulation. You must configure and launch the
3498
3567
  # component. It must have a graphical user interface.
3499
3568
  # @return [Boolean]
3500
3569
  #
@@ -4754,6 +4823,24 @@ module Aws::RoboMaker
4754
4823
  # },
4755
4824
  # stream_ui: false,
4756
4825
  # },
4826
+ # upload_configurations: [
4827
+ # {
4828
+ # name: "Name", # required
4829
+ # path: "Path", # required
4830
+ # upload_behavior: "UPLOAD_ON_TERMINATE", # required, accepts UPLOAD_ON_TERMINATE, UPLOAD_ROLLING_AUTO_REMOVE
4831
+ # },
4832
+ # ],
4833
+ # use_default_upload_configurations: false,
4834
+ # tools: [
4835
+ # {
4836
+ # stream_ui: false,
4837
+ # name: "Name", # required
4838
+ # command: "UnrestrictedCommand", # required
4839
+ # stream_output_to_cloud_watch: false,
4840
+ # exit_behavior: "FAIL", # accepts FAIL, RESTART
4841
+ # },
4842
+ # ],
4843
+ # use_default_tools: false,
4757
4844
  # }
4758
4845
  #
4759
4846
  # @!attribute [rw] application
@@ -4768,12 +4855,38 @@ module Aws::RoboMaker
4768
4855
  # The launch configuration for the robot application.
4769
4856
  # @return [Types::LaunchConfig]
4770
4857
  #
4858
+ # @!attribute [rw] upload_configurations
4859
+ # The upload configurations for the robot application.
4860
+ # @return [Array<Types::UploadConfiguration>]
4861
+ #
4862
+ # @!attribute [rw] use_default_upload_configurations
4863
+ # A Boolean indicating whether to use default upload configurations.
4864
+ # By default, `.ros` and `.gazebo` files are uploaded when the
4865
+ # application terminates and all ROS topics will be recorded.
4866
+ #
4867
+ # If you set this value, you must specify an `outputLocation`.
4868
+ # @return [Boolean]
4869
+ #
4870
+ # @!attribute [rw] tools
4871
+ # Information about tools configured for the robot application.
4872
+ # @return [Array<Types::Tool>]
4873
+ #
4874
+ # @!attribute [rw] use_default_tools
4875
+ # A Boolean indicating whether to use default robot application tools.
4876
+ # The default tools are rviz, rqt, terminal and rosbag record. The
4877
+ # default is `False`.
4878
+ # @return [Boolean]
4879
+ #
4771
4880
  # @see http://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/RobotApplicationConfig AWS API Documentation
4772
4881
  #
4773
4882
  class RobotApplicationConfig < Struct.new(
4774
4883
  :application,
4775
4884
  :application_version,
4776
- :launch_config)
4885
+ :launch_config,
4886
+ :upload_configurations,
4887
+ :use_default_upload_configurations,
4888
+ :tools,
4889
+ :use_default_tools)
4777
4890
  SENSITIVE = []
4778
4891
  include Aws::Structure
4779
4892
  end
@@ -4976,11 +5089,29 @@ module Aws::RoboMaker
4976
5089
  # },
4977
5090
  # stream_ui: false,
4978
5091
  # },
5092
+ # upload_configurations: [
5093
+ # {
5094
+ # name: "Name", # required
5095
+ # path: "Path", # required
5096
+ # upload_behavior: "UPLOAD_ON_TERMINATE", # required, accepts UPLOAD_ON_TERMINATE, UPLOAD_ROLLING_AUTO_REMOVE
5097
+ # },
5098
+ # ],
4979
5099
  # world_configs: [
4980
5100
  # {
4981
5101
  # world: "Arn",
4982
5102
  # },
4983
5103
  # ],
5104
+ # use_default_upload_configurations: false,
5105
+ # tools: [
5106
+ # {
5107
+ # stream_ui: false,
5108
+ # name: "Name", # required
5109
+ # command: "UnrestrictedCommand", # required
5110
+ # stream_output_to_cloud_watch: false,
5111
+ # exit_behavior: "FAIL", # accepts FAIL, RESTART
5112
+ # },
5113
+ # ],
5114
+ # use_default_tools: false,
4984
5115
  # }
4985
5116
  #
4986
5117
  # @!attribute [rw] application
@@ -4995,17 +5126,44 @@ module Aws::RoboMaker
4995
5126
  # The launch configuration for the simulation application.
4996
5127
  # @return [Types::LaunchConfig]
4997
5128
  #
5129
+ # @!attribute [rw] upload_configurations
5130
+ # Information about upload configurations for the simulation
5131
+ # application.
5132
+ # @return [Array<Types::UploadConfiguration>]
5133
+ #
4998
5134
  # @!attribute [rw] world_configs
4999
5135
  # A list of world configurations.
5000
5136
  # @return [Array<Types::WorldConfig>]
5001
5137
  #
5138
+ # @!attribute [rw] use_default_upload_configurations
5139
+ # A Boolean indicating whether to use default upload configurations.
5140
+ # By default, `.ros` and `.gazebo` files are uploaded when the
5141
+ # application terminates and all ROS topics will be recorded.
5142
+ #
5143
+ # If you set this value, you must specify an `outputLocation`.
5144
+ # @return [Boolean]
5145
+ #
5146
+ # @!attribute [rw] tools
5147
+ # Information about tools configured for the simulation application.
5148
+ # @return [Array<Types::Tool>]
5149
+ #
5150
+ # @!attribute [rw] use_default_tools
5151
+ # A Boolean indicating whether to use default simulation application
5152
+ # tools. The default tools are rviz, rqt, terminal and rosbag record.
5153
+ # The default is `False`.
5154
+ # @return [Boolean]
5155
+ #
5002
5156
  # @see http://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/SimulationApplicationConfig AWS API Documentation
5003
5157
  #
5004
5158
  class SimulationApplicationConfig < Struct.new(
5005
5159
  :application,
5006
5160
  :application_version,
5007
5161
  :launch_config,
5008
- :world_configs)
5162
+ :upload_configurations,
5163
+ :world_configs,
5164
+ :use_default_upload_configurations,
5165
+ :tools,
5166
+ :use_default_tools)
5009
5167
  SENSITIVE = []
5010
5168
  include Aws::Structure
5011
5169
  end
@@ -5311,6 +5469,24 @@ module Aws::RoboMaker
5311
5469
  # },
5312
5470
  # stream_ui: false,
5313
5471
  # },
5472
+ # upload_configurations: [
5473
+ # {
5474
+ # name: "Name", # required
5475
+ # path: "Path", # required
5476
+ # upload_behavior: "UPLOAD_ON_TERMINATE", # required, accepts UPLOAD_ON_TERMINATE, UPLOAD_ROLLING_AUTO_REMOVE
5477
+ # },
5478
+ # ],
5479
+ # use_default_upload_configurations: false,
5480
+ # tools: [
5481
+ # {
5482
+ # stream_ui: false,
5483
+ # name: "Name", # required
5484
+ # command: "UnrestrictedCommand", # required
5485
+ # stream_output_to_cloud_watch: false,
5486
+ # exit_behavior: "FAIL", # accepts FAIL, RESTART
5487
+ # },
5488
+ # ],
5489
+ # use_default_tools: false,
5314
5490
  # },
5315
5491
  # ],
5316
5492
  # simulation_applications: [
@@ -5334,11 +5510,29 @@ module Aws::RoboMaker
5334
5510
  # },
5335
5511
  # stream_ui: false,
5336
5512
  # },
5513
+ # upload_configurations: [
5514
+ # {
5515
+ # name: "Name", # required
5516
+ # path: "Path", # required
5517
+ # upload_behavior: "UPLOAD_ON_TERMINATE", # required, accepts UPLOAD_ON_TERMINATE, UPLOAD_ROLLING_AUTO_REMOVE
5518
+ # },
5519
+ # ],
5337
5520
  # world_configs: [
5338
5521
  # {
5339
5522
  # world: "Arn",
5340
5523
  # },
5341
5524
  # ],
5525
+ # use_default_upload_configurations: false,
5526
+ # tools: [
5527
+ # {
5528
+ # stream_ui: false,
5529
+ # name: "Name", # required
5530
+ # command: "UnrestrictedCommand", # required
5531
+ # stream_output_to_cloud_watch: false,
5532
+ # exit_behavior: "FAIL", # accepts FAIL, RESTART
5533
+ # },
5534
+ # ],
5535
+ # use_default_tools: false,
5342
5536
  # },
5343
5537
  # ],
5344
5538
  # data_sources: [
@@ -5394,8 +5588,9 @@ module Aws::RoboMaker
5394
5588
  # @return [String]
5395
5589
  #
5396
5590
  # @!attribute [rw] use_default_applications
5397
- # Boolean indicating whether to use default simulation tool
5398
- # applications.
5591
+ # A Boolean indicating whether to use default applications in the
5592
+ # simulation job. Default applications include Gazebo, rqt, rviz and
5593
+ # terminal access.
5399
5594
  # @return [Boolean]
5400
5595
  #
5401
5596
  # @!attribute [rw] robot_applications
@@ -5629,6 +5824,24 @@ module Aws::RoboMaker
5629
5824
  # },
5630
5825
  # stream_ui: false,
5631
5826
  # },
5827
+ # upload_configurations: [
5828
+ # {
5829
+ # name: "Name", # required
5830
+ # path: "Path", # required
5831
+ # upload_behavior: "UPLOAD_ON_TERMINATE", # required, accepts UPLOAD_ON_TERMINATE, UPLOAD_ROLLING_AUTO_REMOVE
5832
+ # },
5833
+ # ],
5834
+ # use_default_upload_configurations: false,
5835
+ # tools: [
5836
+ # {
5837
+ # stream_ui: false,
5838
+ # name: "Name", # required
5839
+ # command: "UnrestrictedCommand", # required
5840
+ # stream_output_to_cloud_watch: false,
5841
+ # exit_behavior: "FAIL", # accepts FAIL, RESTART
5842
+ # },
5843
+ # ],
5844
+ # use_default_tools: false,
5632
5845
  # },
5633
5846
  # ],
5634
5847
  # simulation_applications: [
@@ -5652,11 +5865,29 @@ module Aws::RoboMaker
5652
5865
  # },
5653
5866
  # stream_ui: false,
5654
5867
  # },
5868
+ # upload_configurations: [
5869
+ # {
5870
+ # name: "Name", # required
5871
+ # path: "Path", # required
5872
+ # upload_behavior: "UPLOAD_ON_TERMINATE", # required, accepts UPLOAD_ON_TERMINATE, UPLOAD_ROLLING_AUTO_REMOVE
5873
+ # },
5874
+ # ],
5655
5875
  # world_configs: [
5656
5876
  # {
5657
5877
  # world: "Arn",
5658
5878
  # },
5659
5879
  # ],
5880
+ # use_default_upload_configurations: false,
5881
+ # tools: [
5882
+ # {
5883
+ # stream_ui: false,
5884
+ # name: "Name", # required
5885
+ # command: "UnrestrictedCommand", # required
5886
+ # stream_output_to_cloud_watch: false,
5887
+ # exit_behavior: "FAIL", # accepts FAIL, RESTART
5888
+ # },
5889
+ # ],
5890
+ # use_default_tools: false,
5660
5891
  # },
5661
5892
  # ],
5662
5893
  # data_sources: [
@@ -6076,6 +6307,59 @@ module Aws::RoboMaker
6076
6307
  include Aws::Structure
6077
6308
  end
6078
6309
 
6310
+ # Information about a tool. Tools are used in a simulation job.
6311
+ #
6312
+ # @note When making an API call, you may pass Tool
6313
+ # data as a hash:
6314
+ #
6315
+ # {
6316
+ # stream_ui: false,
6317
+ # name: "Name", # required
6318
+ # command: "UnrestrictedCommand", # required
6319
+ # stream_output_to_cloud_watch: false,
6320
+ # exit_behavior: "FAIL", # accepts FAIL, RESTART
6321
+ # }
6322
+ #
6323
+ # @!attribute [rw] stream_ui
6324
+ # Boolean indicating whether a streaming session will be configured
6325
+ # for the tool. If `True`, AWS RoboMaker will configure a connection
6326
+ # so you can interact with the tool as it is running in the
6327
+ # simulation. It must have a graphical user interface. The default is
6328
+ # `False`.
6329
+ # @return [Boolean]
6330
+ #
6331
+ # @!attribute [rw] name
6332
+ # The name of the tool.
6333
+ # @return [String]
6334
+ #
6335
+ # @!attribute [rw] command
6336
+ # Command-line arguments for the tool. It must include the tool
6337
+ # executable name.
6338
+ # @return [String]
6339
+ #
6340
+ # @!attribute [rw] stream_output_to_cloud_watch
6341
+ # Boolean indicating whether logs will be recorded in CloudWatch for
6342
+ # the tool. The default is `False`.
6343
+ # @return [Boolean]
6344
+ #
6345
+ # @!attribute [rw] exit_behavior
6346
+ # Exit behavior determines what happens when your tool quits running.
6347
+ # `RESTART` will cause your tool to be restarted. `FAIL` will cause
6348
+ # your job to exit. The default is `RESTART`.
6349
+ # @return [String]
6350
+ #
6351
+ # @see http://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/Tool AWS API Documentation
6352
+ #
6353
+ class Tool < Struct.new(
6354
+ :stream_ui,
6355
+ :name,
6356
+ :command,
6357
+ :stream_output_to_cloud_watch,
6358
+ :exit_behavior)
6359
+ SENSITIVE = []
6360
+ include Aws::Structure
6361
+ end
6362
+
6079
6363
  # @note When making an API call, you may pass UntagResourceRequest
6080
6364
  # data as a hash:
6081
6365
  #
@@ -6385,6 +6669,70 @@ module Aws::RoboMaker
6385
6669
  include Aws::Structure
6386
6670
  end
6387
6671
 
6672
+ # Provides upload configuration information. Files are uploaded from the
6673
+ # simulation job to a location you specify.
6674
+ #
6675
+ # @note When making an API call, you may pass UploadConfiguration
6676
+ # data as a hash:
6677
+ #
6678
+ # {
6679
+ # name: "Name", # required
6680
+ # path: "Path", # required
6681
+ # upload_behavior: "UPLOAD_ON_TERMINATE", # required, accepts UPLOAD_ON_TERMINATE, UPLOAD_ROLLING_AUTO_REMOVE
6682
+ # }
6683
+ #
6684
+ # @!attribute [rw] name
6685
+ # A prefix that specifies where files will be uploaded in Amazon S3.
6686
+ # It is appended to the simulation output location to determine the
6687
+ # final path.
6688
+ #
6689
+ # For example, if your simulation output location is `s3://my-bucket`
6690
+ # and your upload configuration name is `robot-test`, your files will
6691
+ # be uploaded to `s3://my-bucket/<simid>/<runid>/robot-test`.
6692
+ # @return [String]
6693
+ #
6694
+ # @!attribute [rw] path
6695
+ # Specifies the path of the file(s) to upload. Standard Unix glob
6696
+ # matching rules are accepted, with the addition of `**` as a *super
6697
+ # asterisk*. For example, specifying `/var/log/**.log` causes all .log
6698
+ # files in the `/var/log` directory tree to be collected. For more
6699
+ # examples, see [Glob Library][1].
6700
+ #
6701
+ #
6702
+ #
6703
+ # [1]: https://github.com/gobwas/glob
6704
+ # @return [String]
6705
+ #
6706
+ # @!attribute [rw] upload_behavior
6707
+ # Specifies when to upload the files:
6708
+ #
6709
+ # UPLOAD\_ON\_TERMINATE
6710
+ #
6711
+ # : Matching files are uploaded once the simulation enters the
6712
+ # `TERMINATING` state. Matching files are not uploaded until all of
6713
+ # your code (including tools) have stopped.
6714
+ #
6715
+ # If there is a problem uploading a file, the upload is retried. If
6716
+ # problems persist, no further upload attempts will be made.
6717
+ #
6718
+ # UPLOAD\_ROLLING\_AUTO\_REMOVE
6719
+ #
6720
+ # : Matching files are uploaded as they are created. They are deleted
6721
+ # after they are uploaded. The specified path is checked every 5
6722
+ # seconds. A final check is made when all of your code (including
6723
+ # tools) have stopped.
6724
+ # @return [String]
6725
+ #
6726
+ # @see http://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/UploadConfiguration AWS API Documentation
6727
+ #
6728
+ class UploadConfiguration < Struct.new(
6729
+ :name,
6730
+ :path,
6731
+ :upload_behavior)
6732
+ SENSITIVE = []
6733
+ include Aws::Structure
6734
+ end
6735
+
6388
6736
  # If your simulation job accesses resources in a VPC, you provide this
6389
6737
  # parameter identifying the list of security group IDs and subnet IDs.
6390
6738
  # These must belong to the same VPC. You must provide at least one