aws-sdk-robomaker 1.31.0 → 1.36.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')
@@ -1018,6 +1025,10 @@ module Aws::RoboMaker
1018
1025
  RobotApplicationConfig.add_member(:application, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "application"))
1019
1026
  RobotApplicationConfig.add_member(:application_version, Shapes::ShapeRef.new(shape: Version, location_name: "applicationVersion"))
1020
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"))
1021
1032
  RobotApplicationConfig.struct_class = Types::RobotApplicationConfig
1022
1033
 
1023
1034
  RobotApplicationConfigs.member = Shapes::ShapeRef.new(shape: RobotApplicationConfig)
@@ -1071,7 +1082,11 @@ module Aws::RoboMaker
1071
1082
  SimulationApplicationConfig.add_member(:application, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "application"))
1072
1083
  SimulationApplicationConfig.add_member(:application_version, Shapes::ShapeRef.new(shape: Version, location_name: "applicationVersion"))
1073
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"))
1074
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"))
1075
1090
  SimulationApplicationConfig.struct_class = Types::SimulationApplicationConfig
1076
1091
 
1077
1092
  SimulationApplicationConfigs.member = Shapes::ShapeRef.new(shape: SimulationApplicationConfig)
@@ -1229,6 +1244,15 @@ module Aws::RoboMaker
1229
1244
  ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
1230
1245
  ThrottlingException.struct_class = Types::ThrottlingException
1231
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
+
1232
1256
  UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "resourceArn"))
1233
1257
  UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys"))
1234
1258
  UntagResourceRequest.struct_class = Types::UntagResourceRequest
@@ -1281,6 +1305,13 @@ module Aws::RoboMaker
1281
1305
  UpdateWorldTemplateResponse.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: LastUpdatedAt, location_name: "lastUpdatedAt"))
1282
1306
  UpdateWorldTemplateResponse.struct_class = Types::UpdateWorldTemplateResponse
1283
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
+
1284
1315
  VPCConfig.add_member(:subnets, Shapes::ShapeRef.new(shape: Subnets, required: true, location_name: "subnets"))
1285
1316
  VPCConfig.add_member(:security_groups, Shapes::ShapeRef.new(shape: SecurityGroups, location_name: "securityGroups"))
1286
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
 
@@ -548,7 +548,7 @@ module Aws::RoboMaker
548
548
  # ],
549
549
  # robot_software_suite: { # required
550
550
  # name: "ROS", # accepts ROS, ROS2
551
- # version: "Kinetic", # accepts Kinetic, Melodic, Dashing
551
+ # version: "Kinetic", # accepts Kinetic, Melodic, Dashing, Foxy
552
552
  # },
553
553
  # tags: {
554
554
  # "TagKey" => "TagValue",
@@ -801,7 +801,7 @@ module Aws::RoboMaker
801
801
  # },
802
802
  # robot_software_suite: { # required
803
803
  # name: "ROS", # accepts ROS, ROS2
804
- # version: "Kinetic", # accepts Kinetic, Melodic, Dashing
804
+ # version: "Kinetic", # accepts Kinetic, Melodic, Dashing, Foxy
805
805
  # },
806
806
  # rendering_engine: {
807
807
  # name: "OGRE", # accepts OGRE
@@ -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: [
@@ -3527,7 +3563,7 @@ module Aws::RoboMaker
3527
3563
  # Boolean indicating whether a streaming session will be configured
3528
3564
  # for the application. If `True`, AWS RoboMaker will configure a
3529
3565
  # connection so you can interact with your application as it is
3530
- # running in the simulation. You must configure and luanch the
3566
+ # running in the simulation. You must configure and launch the
3531
3567
  # component. It must have a graphical user interface.
3532
3568
  # @return [Boolean]
3533
3569
  #
@@ -4787,6 +4823,24 @@ module Aws::RoboMaker
4787
4823
  # },
4788
4824
  # stream_ui: false,
4789
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,
4790
4844
  # }
4791
4845
  #
4792
4846
  # @!attribute [rw] application
@@ -4801,12 +4855,38 @@ module Aws::RoboMaker
4801
4855
  # The launch configuration for the robot application.
4802
4856
  # @return [Types::LaunchConfig]
4803
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
+ #
4804
4880
  # @see http://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/RobotApplicationConfig AWS API Documentation
4805
4881
  #
4806
4882
  class RobotApplicationConfig < Struct.new(
4807
4883
  :application,
4808
4884
  :application_version,
4809
- :launch_config)
4885
+ :launch_config,
4886
+ :upload_configurations,
4887
+ :use_default_upload_configurations,
4888
+ :tools,
4889
+ :use_default_tools)
4810
4890
  SENSITIVE = []
4811
4891
  include Aws::Structure
4812
4892
  end
@@ -4899,7 +4979,7 @@ module Aws::RoboMaker
4899
4979
  #
4900
4980
  # {
4901
4981
  # name: "ROS", # accepts ROS, ROS2
4902
- # version: "Kinetic", # accepts Kinetic, Melodic, Dashing
4982
+ # version: "Kinetic", # accepts Kinetic, Melodic, Dashing, Foxy
4903
4983
  # }
4904
4984
  #
4905
4985
  # @!attribute [rw] name
@@ -5009,11 +5089,29 @@ module Aws::RoboMaker
5009
5089
  # },
5010
5090
  # stream_ui: false,
5011
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
+ # ],
5012
5099
  # world_configs: [
5013
5100
  # {
5014
5101
  # world: "Arn",
5015
5102
  # },
5016
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,
5017
5115
  # }
5018
5116
  #
5019
5117
  # @!attribute [rw] application
@@ -5028,17 +5126,44 @@ module Aws::RoboMaker
5028
5126
  # The launch configuration for the simulation application.
5029
5127
  # @return [Types::LaunchConfig]
5030
5128
  #
5129
+ # @!attribute [rw] upload_configurations
5130
+ # Information about upload configurations for the simulation
5131
+ # application.
5132
+ # @return [Array<Types::UploadConfiguration>]
5133
+ #
5031
5134
  # @!attribute [rw] world_configs
5032
5135
  # A list of world configurations.
5033
5136
  # @return [Array<Types::WorldConfig>]
5034
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
+ #
5035
5156
  # @see http://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/SimulationApplicationConfig AWS API Documentation
5036
5157
  #
5037
5158
  class SimulationApplicationConfig < Struct.new(
5038
5159
  :application,
5039
5160
  :application_version,
5040
5161
  :launch_config,
5041
- :world_configs)
5162
+ :upload_configurations,
5163
+ :world_configs,
5164
+ :use_default_upload_configurations,
5165
+ :tools,
5166
+ :use_default_tools)
5042
5167
  SENSITIVE = []
5043
5168
  include Aws::Structure
5044
5169
  end
@@ -5344,6 +5469,24 @@ module Aws::RoboMaker
5344
5469
  # },
5345
5470
  # stream_ui: false,
5346
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,
5347
5490
  # },
5348
5491
  # ],
5349
5492
  # simulation_applications: [
@@ -5367,11 +5510,29 @@ module Aws::RoboMaker
5367
5510
  # },
5368
5511
  # stream_ui: false,
5369
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
+ # ],
5370
5520
  # world_configs: [
5371
5521
  # {
5372
5522
  # world: "Arn",
5373
5523
  # },
5374
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,
5375
5536
  # },
5376
5537
  # ],
5377
5538
  # data_sources: [
@@ -5427,8 +5588,9 @@ module Aws::RoboMaker
5427
5588
  # @return [String]
5428
5589
  #
5429
5590
  # @!attribute [rw] use_default_applications
5430
- # Boolean indicating whether to use default simulation tool
5431
- # 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.
5432
5594
  # @return [Boolean]
5433
5595
  #
5434
5596
  # @!attribute [rw] robot_applications
@@ -5662,6 +5824,24 @@ module Aws::RoboMaker
5662
5824
  # },
5663
5825
  # stream_ui: false,
5664
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,
5665
5845
  # },
5666
5846
  # ],
5667
5847
  # simulation_applications: [
@@ -5685,11 +5865,29 @@ module Aws::RoboMaker
5685
5865
  # },
5686
5866
  # stream_ui: false,
5687
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
+ # ],
5688
5875
  # world_configs: [
5689
5876
  # {
5690
5877
  # world: "Arn",
5691
5878
  # },
5692
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,
5693
5891
  # },
5694
5892
  # ],
5695
5893
  # data_sources: [
@@ -6109,6 +6307,59 @@ module Aws::RoboMaker
6109
6307
  include Aws::Structure
6110
6308
  end
6111
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
+
6112
6363
  # @note When making an API call, you may pass UntagResourceRequest
6113
6364
  # data as a hash:
6114
6365
  #
@@ -6154,7 +6405,7 @@ module Aws::RoboMaker
6154
6405
  # ],
6155
6406
  # robot_software_suite: { # required
6156
6407
  # name: "ROS", # accepts ROS, ROS2
6157
- # version: "Kinetic", # accepts Kinetic, Melodic, Dashing
6408
+ # version: "Kinetic", # accepts Kinetic, Melodic, Dashing, Foxy
6158
6409
  # },
6159
6410
  # current_revision_id: "RevisionId",
6160
6411
  # }
@@ -6249,7 +6500,7 @@ module Aws::RoboMaker
6249
6500
  # },
6250
6501
  # robot_software_suite: { # required
6251
6502
  # name: "ROS", # accepts ROS, ROS2
6252
- # version: "Kinetic", # accepts Kinetic, Melodic, Dashing
6503
+ # version: "Kinetic", # accepts Kinetic, Melodic, Dashing, Foxy
6253
6504
  # },
6254
6505
  # rendering_engine: {
6255
6506
  # name: "OGRE", # accepts OGRE
@@ -6418,6 +6669,70 @@ module Aws::RoboMaker
6418
6669
  include Aws::Structure
6419
6670
  end
6420
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
+
6421
6736
  # If your simulation job accesses resources in a VPC, you provide this
6422
6737
  # parameter identifying the list of security group IDs and subnet IDs.
6423
6738
  # These must belong to the same VPC. You must provide at least one