aws-sdk-robomaker 1.50.0 → 1.52.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-robomaker/client.rb +24 -5
- data/lib/aws-sdk-robomaker/client_api.rb +6 -5
- data/lib/aws-sdk-robomaker/endpoint_parameters.rb +66 -0
- data/lib/aws-sdk-robomaker/endpoint_provider.rb +112 -0
- data/lib/aws-sdk-robomaker/endpoints.rb +813 -0
- data/lib/aws-sdk-robomaker/plugins/endpoints.rb +182 -0
- data/lib/aws-sdk-robomaker/types.rb +20 -5
- data/lib/aws-sdk-robomaker.rb +5 -1
- metadata +8 -4
@@ -0,0 +1,182 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
|
11
|
+
module Aws::RoboMaker
|
12
|
+
module Plugins
|
13
|
+
class Endpoints < Seahorse::Client::Plugin
|
14
|
+
option(
|
15
|
+
:endpoint_provider,
|
16
|
+
doc_type: 'Aws::RoboMaker::EndpointProvider',
|
17
|
+
docstring: 'The endpoint provider used to resolve endpoints. Any '\
|
18
|
+
'object that responds to `#resolve_endpoint(parameters)` '\
|
19
|
+
'where `parameters` is a Struct similar to '\
|
20
|
+
'`Aws::RoboMaker::EndpointParameters`'
|
21
|
+
) do |cfg|
|
22
|
+
Aws::RoboMaker::EndpointProvider.new
|
23
|
+
end
|
24
|
+
|
25
|
+
# @api private
|
26
|
+
class Handler < Seahorse::Client::Handler
|
27
|
+
def call(context)
|
28
|
+
# If endpoint was discovered, do not resolve or apply the endpoint.
|
29
|
+
unless context[:discovered_endpoint]
|
30
|
+
params = parameters_for_operation(context)
|
31
|
+
endpoint = context.config.endpoint_provider.resolve_endpoint(params)
|
32
|
+
|
33
|
+
context.http_request.endpoint = endpoint.url
|
34
|
+
apply_endpoint_headers(context, endpoint.headers)
|
35
|
+
end
|
36
|
+
|
37
|
+
context[:endpoint_params] = params
|
38
|
+
context[:auth_scheme] =
|
39
|
+
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
|
40
|
+
|
41
|
+
@handler.call(context)
|
42
|
+
end
|
43
|
+
|
44
|
+
private
|
45
|
+
|
46
|
+
def apply_endpoint_headers(context, headers)
|
47
|
+
headers.each do |key, values|
|
48
|
+
value = values
|
49
|
+
.compact
|
50
|
+
.map { |s| Seahorse::Util.escape_header_list_string(s.to_s) }
|
51
|
+
.join(',')
|
52
|
+
|
53
|
+
context.http_request.headers[key] = value
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
def parameters_for_operation(context)
|
58
|
+
case context.operation_name
|
59
|
+
when :batch_delete_worlds
|
60
|
+
Aws::RoboMaker::Endpoints::BatchDeleteWorlds.build(context)
|
61
|
+
when :batch_describe_simulation_job
|
62
|
+
Aws::RoboMaker::Endpoints::BatchDescribeSimulationJob.build(context)
|
63
|
+
when :cancel_deployment_job
|
64
|
+
Aws::RoboMaker::Endpoints::CancelDeploymentJob.build(context)
|
65
|
+
when :cancel_simulation_job
|
66
|
+
Aws::RoboMaker::Endpoints::CancelSimulationJob.build(context)
|
67
|
+
when :cancel_simulation_job_batch
|
68
|
+
Aws::RoboMaker::Endpoints::CancelSimulationJobBatch.build(context)
|
69
|
+
when :cancel_world_export_job
|
70
|
+
Aws::RoboMaker::Endpoints::CancelWorldExportJob.build(context)
|
71
|
+
when :cancel_world_generation_job
|
72
|
+
Aws::RoboMaker::Endpoints::CancelWorldGenerationJob.build(context)
|
73
|
+
when :create_deployment_job
|
74
|
+
Aws::RoboMaker::Endpoints::CreateDeploymentJob.build(context)
|
75
|
+
when :create_fleet
|
76
|
+
Aws::RoboMaker::Endpoints::CreateFleet.build(context)
|
77
|
+
when :create_robot
|
78
|
+
Aws::RoboMaker::Endpoints::CreateRobot.build(context)
|
79
|
+
when :create_robot_application
|
80
|
+
Aws::RoboMaker::Endpoints::CreateRobotApplication.build(context)
|
81
|
+
when :create_robot_application_version
|
82
|
+
Aws::RoboMaker::Endpoints::CreateRobotApplicationVersion.build(context)
|
83
|
+
when :create_simulation_application
|
84
|
+
Aws::RoboMaker::Endpoints::CreateSimulationApplication.build(context)
|
85
|
+
when :create_simulation_application_version
|
86
|
+
Aws::RoboMaker::Endpoints::CreateSimulationApplicationVersion.build(context)
|
87
|
+
when :create_simulation_job
|
88
|
+
Aws::RoboMaker::Endpoints::CreateSimulationJob.build(context)
|
89
|
+
when :create_world_export_job
|
90
|
+
Aws::RoboMaker::Endpoints::CreateWorldExportJob.build(context)
|
91
|
+
when :create_world_generation_job
|
92
|
+
Aws::RoboMaker::Endpoints::CreateWorldGenerationJob.build(context)
|
93
|
+
when :create_world_template
|
94
|
+
Aws::RoboMaker::Endpoints::CreateWorldTemplate.build(context)
|
95
|
+
when :delete_fleet
|
96
|
+
Aws::RoboMaker::Endpoints::DeleteFleet.build(context)
|
97
|
+
when :delete_robot
|
98
|
+
Aws::RoboMaker::Endpoints::DeleteRobot.build(context)
|
99
|
+
when :delete_robot_application
|
100
|
+
Aws::RoboMaker::Endpoints::DeleteRobotApplication.build(context)
|
101
|
+
when :delete_simulation_application
|
102
|
+
Aws::RoboMaker::Endpoints::DeleteSimulationApplication.build(context)
|
103
|
+
when :delete_world_template
|
104
|
+
Aws::RoboMaker::Endpoints::DeleteWorldTemplate.build(context)
|
105
|
+
when :deregister_robot
|
106
|
+
Aws::RoboMaker::Endpoints::DeregisterRobot.build(context)
|
107
|
+
when :describe_deployment_job
|
108
|
+
Aws::RoboMaker::Endpoints::DescribeDeploymentJob.build(context)
|
109
|
+
when :describe_fleet
|
110
|
+
Aws::RoboMaker::Endpoints::DescribeFleet.build(context)
|
111
|
+
when :describe_robot
|
112
|
+
Aws::RoboMaker::Endpoints::DescribeRobot.build(context)
|
113
|
+
when :describe_robot_application
|
114
|
+
Aws::RoboMaker::Endpoints::DescribeRobotApplication.build(context)
|
115
|
+
when :describe_simulation_application
|
116
|
+
Aws::RoboMaker::Endpoints::DescribeSimulationApplication.build(context)
|
117
|
+
when :describe_simulation_job
|
118
|
+
Aws::RoboMaker::Endpoints::DescribeSimulationJob.build(context)
|
119
|
+
when :describe_simulation_job_batch
|
120
|
+
Aws::RoboMaker::Endpoints::DescribeSimulationJobBatch.build(context)
|
121
|
+
when :describe_world
|
122
|
+
Aws::RoboMaker::Endpoints::DescribeWorld.build(context)
|
123
|
+
when :describe_world_export_job
|
124
|
+
Aws::RoboMaker::Endpoints::DescribeWorldExportJob.build(context)
|
125
|
+
when :describe_world_generation_job
|
126
|
+
Aws::RoboMaker::Endpoints::DescribeWorldGenerationJob.build(context)
|
127
|
+
when :describe_world_template
|
128
|
+
Aws::RoboMaker::Endpoints::DescribeWorldTemplate.build(context)
|
129
|
+
when :get_world_template_body
|
130
|
+
Aws::RoboMaker::Endpoints::GetWorldTemplateBody.build(context)
|
131
|
+
when :list_deployment_jobs
|
132
|
+
Aws::RoboMaker::Endpoints::ListDeploymentJobs.build(context)
|
133
|
+
when :list_fleets
|
134
|
+
Aws::RoboMaker::Endpoints::ListFleets.build(context)
|
135
|
+
when :list_robot_applications
|
136
|
+
Aws::RoboMaker::Endpoints::ListRobotApplications.build(context)
|
137
|
+
when :list_robots
|
138
|
+
Aws::RoboMaker::Endpoints::ListRobots.build(context)
|
139
|
+
when :list_simulation_applications
|
140
|
+
Aws::RoboMaker::Endpoints::ListSimulationApplications.build(context)
|
141
|
+
when :list_simulation_job_batches
|
142
|
+
Aws::RoboMaker::Endpoints::ListSimulationJobBatches.build(context)
|
143
|
+
when :list_simulation_jobs
|
144
|
+
Aws::RoboMaker::Endpoints::ListSimulationJobs.build(context)
|
145
|
+
when :list_tags_for_resource
|
146
|
+
Aws::RoboMaker::Endpoints::ListTagsForResource.build(context)
|
147
|
+
when :list_world_export_jobs
|
148
|
+
Aws::RoboMaker::Endpoints::ListWorldExportJobs.build(context)
|
149
|
+
when :list_world_generation_jobs
|
150
|
+
Aws::RoboMaker::Endpoints::ListWorldGenerationJobs.build(context)
|
151
|
+
when :list_world_templates
|
152
|
+
Aws::RoboMaker::Endpoints::ListWorldTemplates.build(context)
|
153
|
+
when :list_worlds
|
154
|
+
Aws::RoboMaker::Endpoints::ListWorlds.build(context)
|
155
|
+
when :register_robot
|
156
|
+
Aws::RoboMaker::Endpoints::RegisterRobot.build(context)
|
157
|
+
when :restart_simulation_job
|
158
|
+
Aws::RoboMaker::Endpoints::RestartSimulationJob.build(context)
|
159
|
+
when :start_simulation_job_batch
|
160
|
+
Aws::RoboMaker::Endpoints::StartSimulationJobBatch.build(context)
|
161
|
+
when :sync_deployment_job
|
162
|
+
Aws::RoboMaker::Endpoints::SyncDeploymentJob.build(context)
|
163
|
+
when :tag_resource
|
164
|
+
Aws::RoboMaker::Endpoints::TagResource.build(context)
|
165
|
+
when :untag_resource
|
166
|
+
Aws::RoboMaker::Endpoints::UntagResource.build(context)
|
167
|
+
when :update_robot_application
|
168
|
+
Aws::RoboMaker::Endpoints::UpdateRobotApplication.build(context)
|
169
|
+
when :update_simulation_application
|
170
|
+
Aws::RoboMaker::Endpoints::UpdateSimulationApplication.build(context)
|
171
|
+
when :update_world_template
|
172
|
+
Aws::RoboMaker::Endpoints::UpdateWorldTemplate.build(context)
|
173
|
+
end
|
174
|
+
end
|
175
|
+
end
|
176
|
+
|
177
|
+
def add_handlers(handlers, _config)
|
178
|
+
handlers.add(Handler, step: :build, priority: 75)
|
179
|
+
end
|
180
|
+
end
|
181
|
+
end
|
182
|
+
end
|
@@ -1093,7 +1093,7 @@ module Aws::RoboMaker
|
|
1093
1093
|
# s3_prefix: "S3Key",
|
1094
1094
|
# },
|
1095
1095
|
# logging_config: {
|
1096
|
-
# record_all_ros_topics: false,
|
1096
|
+
# record_all_ros_topics: false,
|
1097
1097
|
# },
|
1098
1098
|
# max_job_duration_in_seconds: 1, # required
|
1099
1099
|
# iam_role: "IamRole", # required
|
@@ -4666,11 +4666,13 @@ module Aws::RoboMaker
|
|
4666
4666
|
# data as a hash:
|
4667
4667
|
#
|
4668
4668
|
# {
|
4669
|
-
# record_all_ros_topics: false,
|
4669
|
+
# record_all_ros_topics: false,
|
4670
4670
|
# }
|
4671
4671
|
#
|
4672
4672
|
# @!attribute [rw] record_all_ros_topics
|
4673
4673
|
# A boolean indicating whether to record all ROS topics.
|
4674
|
+
#
|
4675
|
+
# This API is no longer supported and will throw an error if used.
|
4674
4676
|
# @return [Boolean]
|
4675
4677
|
#
|
4676
4678
|
# @see http://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/LoggingConfig AWS API Documentation
|
@@ -5093,6 +5095,8 @@ module Aws::RoboMaker
|
|
5093
5095
|
# application terminates and all ROS topics will be recorded.
|
5094
5096
|
#
|
5095
5097
|
# If you set this value, you must specify an `outputLocation`.
|
5098
|
+
#
|
5099
|
+
# This API is no longer supported and will throw an error if used.
|
5096
5100
|
# @return [Boolean]
|
5097
5101
|
#
|
5098
5102
|
# @!attribute [rw] tools
|
@@ -5103,6 +5107,8 @@ module Aws::RoboMaker
|
|
5103
5107
|
# A Boolean indicating whether to use default robot application tools.
|
5104
5108
|
# The default tools are rviz, rqt, terminal and rosbag record. The
|
5105
5109
|
# default is `False`.
|
5110
|
+
#
|
5111
|
+
# This API is no longer supported and will throw an error if used.
|
5106
5112
|
# @return [Boolean]
|
5107
5113
|
#
|
5108
5114
|
# @see http://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/RobotApplicationConfig AWS API Documentation
|
@@ -5370,6 +5376,8 @@ module Aws::RoboMaker
|
|
5370
5376
|
# application terminates and all ROS topics will be recorded.
|
5371
5377
|
#
|
5372
5378
|
# If you set this value, you must specify an `outputLocation`.
|
5379
|
+
#
|
5380
|
+
# This API is no longer supported and will throw an error if used.
|
5373
5381
|
# @return [Boolean]
|
5374
5382
|
#
|
5375
5383
|
# @!attribute [rw] tools
|
@@ -5380,6 +5388,8 @@ module Aws::RoboMaker
|
|
5380
5388
|
# A Boolean indicating whether to use default simulation application
|
5381
5389
|
# tools. The default tools are rviz, rqt, terminal and rosbag record.
|
5382
5390
|
# The default is `False`.
|
5391
|
+
#
|
5392
|
+
# This API is no longer supported and will throw an error if used.
|
5383
5393
|
# @return [Boolean]
|
5384
5394
|
#
|
5385
5395
|
# @see http://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/SimulationApplicationConfig AWS API Documentation
|
@@ -5672,7 +5682,7 @@ module Aws::RoboMaker
|
|
5672
5682
|
# s3_prefix: "S3Key",
|
5673
5683
|
# },
|
5674
5684
|
# logging_config: {
|
5675
|
-
# record_all_ros_topics: false,
|
5685
|
+
# record_all_ros_topics: false,
|
5676
5686
|
# },
|
5677
5687
|
# max_job_duration_in_seconds: 1, # required
|
5678
5688
|
# iam_role: "IamRole",
|
@@ -6039,7 +6049,7 @@ module Aws::RoboMaker
|
|
6039
6049
|
# s3_prefix: "S3Key",
|
6040
6050
|
# },
|
6041
6051
|
# logging_config: {
|
6042
|
-
# record_all_ros_topics: false,
|
6052
|
+
# record_all_ros_topics: false,
|
6043
6053
|
# },
|
6044
6054
|
# max_job_duration_in_seconds: 1, # required
|
6045
6055
|
# iam_role: "IamRole",
|
@@ -7181,13 +7191,18 @@ module Aws::RoboMaker
|
|
7181
7191
|
# A list of worlds.
|
7182
7192
|
# @return [Array<String>]
|
7183
7193
|
#
|
7194
|
+
# @!attribute [rw] output_location
|
7195
|
+
# The output location.
|
7196
|
+
# @return [Types::OutputLocation]
|
7197
|
+
#
|
7184
7198
|
# @see http://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/WorldExportJobSummary AWS API Documentation
|
7185
7199
|
#
|
7186
7200
|
class WorldExportJobSummary < Struct.new(
|
7187
7201
|
:arn,
|
7188
7202
|
:status,
|
7189
7203
|
:created_at,
|
7190
|
-
:worlds
|
7204
|
+
:worlds,
|
7205
|
+
:output_location)
|
7191
7206
|
SENSITIVE = []
|
7192
7207
|
include Aws::Structure
|
7193
7208
|
end
|
data/lib/aws-sdk-robomaker.rb
CHANGED
@@ -13,9 +13,13 @@ require 'aws-sigv4'
|
|
13
13
|
|
14
14
|
require_relative 'aws-sdk-robomaker/types'
|
15
15
|
require_relative 'aws-sdk-robomaker/client_api'
|
16
|
+
require_relative 'aws-sdk-robomaker/plugins/endpoints.rb'
|
16
17
|
require_relative 'aws-sdk-robomaker/client'
|
17
18
|
require_relative 'aws-sdk-robomaker/errors'
|
18
19
|
require_relative 'aws-sdk-robomaker/resource'
|
20
|
+
require_relative 'aws-sdk-robomaker/endpoint_parameters'
|
21
|
+
require_relative 'aws-sdk-robomaker/endpoint_provider'
|
22
|
+
require_relative 'aws-sdk-robomaker/endpoints'
|
19
23
|
require_relative 'aws-sdk-robomaker/customizations'
|
20
24
|
|
21
25
|
# This module provides support for AWS RoboMaker. This module is available in the
|
@@ -48,6 +52,6 @@ require_relative 'aws-sdk-robomaker/customizations'
|
|
48
52
|
# @!group service
|
49
53
|
module Aws::RoboMaker
|
50
54
|
|
51
|
-
GEM_VERSION = '1.
|
55
|
+
GEM_VERSION = '1.52.0'
|
52
56
|
|
53
57
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-robomaker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.52.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-10-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.165.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.165.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -59,7 +59,11 @@ files:
|
|
59
59
|
- lib/aws-sdk-robomaker/client.rb
|
60
60
|
- lib/aws-sdk-robomaker/client_api.rb
|
61
61
|
- lib/aws-sdk-robomaker/customizations.rb
|
62
|
+
- lib/aws-sdk-robomaker/endpoint_parameters.rb
|
63
|
+
- lib/aws-sdk-robomaker/endpoint_provider.rb
|
64
|
+
- lib/aws-sdk-robomaker/endpoints.rb
|
62
65
|
- lib/aws-sdk-robomaker/errors.rb
|
66
|
+
- lib/aws-sdk-robomaker/plugins/endpoints.rb
|
63
67
|
- lib/aws-sdk-robomaker/resource.rb
|
64
68
|
- lib/aws-sdk-robomaker/types.rb
|
65
69
|
homepage: https://github.com/aws/aws-sdk-ruby
|