aws-sdk-robomaker 1.20.0 → 1.25.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 40a45e6f97d201c8c993aa1d5074719b4a9e832d
4
- data.tar.gz: e83c7041b39da2f3c9c8058cd686c45ff449ab12
2
+ SHA256:
3
+ metadata.gz: 5a10b73caa8cf8598ddb1ae8fb1896dc227d7132b3472df7e7e16cea01d9fcce
4
+ data.tar.gz: b9cc51c50336ba143df3756902de694e60583db408a22e58a227deee0dd721d7
5
5
  SHA512:
6
- metadata.gz: d50cc86275f74e0e39f7a32cc7d940b4272d65d83a197c933032876b63964b1c82021712aabcf44478a8bf3378aec2c53bf6ef1a00519fb8eb700c77db46b383
7
- data.tar.gz: aba22c5f6efb1edf372bd28bd00a59e541c2e832739dc901b0429ae7fcc166993ecd3f96d7256f0ae3cddd7b9972bdbbf01674259b9c641a58ebeceaf1a8ca2f
6
+ metadata.gz: 59ab86551200252dd0a2241d4a0481574efa7c8fbdfeaa2446b50812f9997e14f070307f942ce3d4ae80d204d7e94cbcf5eac11531140d0258c73b869f478efe
7
+ data.tar.gz: e784a5b92ae8d1d29ed9e8914c89e480b3d2feffcf5f8db6eacc5f0bad98d242390ee8b05d7dda814c79c15eee2173ae2575b056bc0e137b9302cbba0f0c90ed
@@ -45,6 +45,6 @@ require_relative 'aws-sdk-robomaker/customizations'
45
45
  # @service
46
46
  module Aws::RoboMaker
47
47
 
48
- GEM_VERSION = '1.20.0'
48
+ GEM_VERSION = '1.25.1'
49
49
 
50
50
  end
@@ -24,20 +24,23 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
24
24
  require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
25
25
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
26
26
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
27
+ require 'aws-sdk-core/plugins/http_checksum.rb'
27
28
  require 'aws-sdk-core/plugins/signature_v4.rb'
28
29
  require 'aws-sdk-core/plugins/protocols/rest_json.rb'
29
30
 
30
31
  Aws::Plugins::GlobalConfiguration.add_identifier(:robomaker)
31
32
 
32
33
  module Aws::RoboMaker
33
- # An API client for RoboMaker. To construct a client, you need to configure a +:region+ and +:credentials+.
34
+ # An API client for RoboMaker. To construct a client, you need to configure a `:region` and `:credentials`.
35
+ #
34
36
  # client = Aws::RoboMaker::Client.new(
35
37
  # region: region_name,
36
38
  # credentials: credentials,
37
39
  # # ...
38
40
  # )
41
+ #
39
42
  # For details on configuring region and credentials see
40
- # the {developer-guide}[https://docs.aws.amazon.com/sdk-for-ruby/v3/developer-guide/setup-config.html].
43
+ # the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
41
44
  #
42
45
  # See {#initialize} for a full list of supported configuration options.
43
46
  class Client < Seahorse::Client::Base
@@ -67,6 +70,7 @@ module Aws::RoboMaker
67
70
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
68
71
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
69
72
  add_plugin(Aws::Plugins::TransferEncoding)
73
+ add_plugin(Aws::Plugins::HttpChecksum)
70
74
  add_plugin(Aws::Plugins::SignatureV4)
71
75
  add_plugin(Aws::Plugins::Protocols::RestJson)
72
76
 
@@ -103,7 +107,7 @@ module Aws::RoboMaker
103
107
  # @option options [required, String] :region
104
108
  # The AWS region to connect to. The configured `:region` is
105
109
  # used to determine the service `:endpoint`. When not passed,
106
- # a default `:region` is search for in the following locations:
110
+ # a default `:region` is searched for in the following locations:
107
111
  #
108
112
  # * `Aws.config[:region]`
109
113
  # * `ENV['AWS_REGION']`
@@ -118,6 +122,12 @@ module Aws::RoboMaker
118
122
  # When set to `true`, a thread polling for endpoints will be running in
119
123
  # the background every 60 secs (default). Defaults to `false`.
120
124
  #
125
+ # @option options [Boolean] :adaptive_retry_wait_to_fill (true)
126
+ # Used only in `adaptive` retry mode. When true, the request will sleep
127
+ # until there is sufficent client side capacity to retry the request.
128
+ # When false, the request will raise a `RetryCapacityNotAvailableError` and will
129
+ # not retry instead of sleeping.
130
+ #
121
131
  # @option options [Boolean] :client_side_monitoring (false)
122
132
  # When `true`, client-side metrics will be collected for all API requests from
123
133
  # this client.
@@ -142,6 +152,10 @@ module Aws::RoboMaker
142
152
  # When `true`, an attempt is made to coerce request parameters into
143
153
  # the required types.
144
154
  #
155
+ # @option options [Boolean] :correct_clock_skew (true)
156
+ # Used only in `standard` and adaptive retry modes. Specifies whether to apply
157
+ # a clock skew correction and retry requests with skewed client clocks.
158
+ #
145
159
  # @option options [Boolean] :disable_host_prefix_injection (false)
146
160
  # Set to true to disable SDK automatically adding host prefix
147
161
  # to default service endpoint when available.
@@ -149,7 +163,7 @@ module Aws::RoboMaker
149
163
  # @option options [String] :endpoint
150
164
  # The client endpoint is normally constructed from the `:region`
151
165
  # option. You should only configure an `:endpoint` when connecting
152
- # to test endpoints. This should be avalid HTTP(S) URI.
166
+ # to test or custom endpoints. This should be a valid HTTP(S) URI.
153
167
  #
154
168
  # @option options [Integer] :endpoint_cache_max_entries (1000)
155
169
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -164,7 +178,7 @@ module Aws::RoboMaker
164
178
  # requests fetching endpoints information. Defaults to 60 sec.
165
179
  #
166
180
  # @option options [Boolean] :endpoint_discovery (false)
167
- # When set to `true`, endpoint discovery will be enabled for operations when available. Defaults to `false`.
181
+ # When set to `true`, endpoint discovery will be enabled for operations when available.
168
182
  #
169
183
  # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
170
184
  # The log formatter.
@@ -176,15 +190,29 @@ module Aws::RoboMaker
176
190
  # The Logger instance to send log messages to. If this option
177
191
  # is not set, logging will be disabled.
178
192
  #
193
+ # @option options [Integer] :max_attempts (3)
194
+ # An integer representing the maximum number attempts that will be made for
195
+ # a single request, including the initial attempt. For example,
196
+ # setting this value to 5 will result in a request being retried up to
197
+ # 4 times. Used in `standard` and `adaptive` retry modes.
198
+ #
179
199
  # @option options [String] :profile ("default")
180
200
  # Used when loading credentials from the shared credentials file
181
201
  # at HOME/.aws/credentials. When not specified, 'default' is used.
182
202
  #
203
+ # @option options [Proc] :retry_backoff
204
+ # A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
205
+ # This option is only used in the `legacy` retry mode.
206
+ #
183
207
  # @option options [Float] :retry_base_delay (0.3)
184
- # The base delay in seconds used by the default backoff function.
208
+ # The base delay in seconds used by the default backoff function. This option
209
+ # is only used in the `legacy` retry mode.
185
210
  #
186
211
  # @option options [Symbol] :retry_jitter (:none)
187
- # A delay randomiser function used by the default backoff function. Some predefined functions can be referenced by name - :none, :equal, :full, otherwise a Proc that takes and returns a number.
212
+ # A delay randomiser function used by the default backoff function.
213
+ # Some predefined functions can be referenced by name - :none, :equal, :full,
214
+ # otherwise a Proc that takes and returns a number. This option is only used
215
+ # in the `legacy` retry mode.
188
216
  #
189
217
  # @see https://www.awsarchitectureblog.com/2015/03/backoff.html
190
218
  #
@@ -192,11 +220,30 @@ module Aws::RoboMaker
192
220
  # The maximum number of times to retry failed requests. Only
193
221
  # ~ 500 level server errors and certain ~ 400 level client errors
194
222
  # are retried. Generally, these are throttling errors, data
195
- # checksum errors, networking errors, timeout errors and auth
196
- # errors from expired credentials.
223
+ # checksum errors, networking errors, timeout errors, auth errors,
224
+ # endpoint discovery, and errors from expired credentials.
225
+ # This option is only used in the `legacy` retry mode.
197
226
  #
198
227
  # @option options [Integer] :retry_max_delay (0)
199
- # The maximum number of seconds to delay between retries (0 for no limit) used by the default backoff function.
228
+ # The maximum number of seconds to delay between retries (0 for no limit)
229
+ # used by the default backoff function. This option is only used in the
230
+ # `legacy` retry mode.
231
+ #
232
+ # @option options [String] :retry_mode ("legacy")
233
+ # Specifies which retry algorithm to use. Values are:
234
+ #
235
+ # * `legacy` - The pre-existing retry behavior. This is default value if
236
+ # no retry mode is provided.
237
+ #
238
+ # * `standard` - A standardized set of retry rules across the AWS SDKs.
239
+ # This includes support for retry quotas, which limit the number of
240
+ # unsuccessful retries a client can make.
241
+ #
242
+ # * `adaptive` - An experimental retry mode that includes all the
243
+ # functionality of `standard` mode along with automatic client side
244
+ # throttling. This is a provisional mode that may change behavior
245
+ # in the future.
246
+ #
200
247
  #
201
248
  # @option options [String] :secret_access_key
202
249
  #
@@ -224,8 +271,7 @@ module Aws::RoboMaker
224
271
  #
225
272
  # @option options [Integer] :http_read_timeout (60) The default
226
273
  # number of seconds to wait for response data. This value can
227
- # safely be set
228
- # per-request on the session yielded by {#session_for}.
274
+ # safely be set per-request on the session.
229
275
  #
230
276
  # @option options [Float] :http_idle_timeout (5) The number of
231
277
  # seconds a connection is allowed to sit idle before it is
@@ -237,7 +283,7 @@ module Aws::RoboMaker
237
283
  # request body. This option has no effect unless the request has
238
284
  # "Expect" header set to "100-continue". Defaults to `nil` which
239
285
  # disables this behaviour. This value can safely be set per
240
- # request on the session yielded by {#session_for}.
286
+ # request on the session.
241
287
  #
242
288
  # @option options [Boolean] :http_wire_trace (false) When `true`,
243
289
  # HTTP debug output will be sent to the `:logger`.
@@ -339,6 +385,7 @@ module Aws::RoboMaker
339
385
  # resp.jobs[0].network_interface.network_interface_id #=> String
340
386
  # resp.jobs[0].network_interface.private_ip_address #=> String
341
387
  # resp.jobs[0].network_interface.public_ip_address #=> String
388
+ # resp.jobs[0].compute.simulation_unit_limit #=> Integer
342
389
  # resp.unprocessed_jobs #=> Array
343
390
  # resp.unprocessed_jobs[0] #=> String
344
391
  #
@@ -976,6 +1023,9 @@ module Aws::RoboMaker
976
1023
  # These must belong to the same VPC. You must provide at least one
977
1024
  # security group and one subnet ID.
978
1025
  #
1026
+ # @option params [Types::Compute] :compute
1027
+ # Compute information for the simulation job.
1028
+ #
979
1029
  # @return [Types::CreateSimulationJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
980
1030
  #
981
1031
  # * {Types::CreateSimulationJobResponse#arn #arn} => String
@@ -995,6 +1045,7 @@ module Aws::RoboMaker
995
1045
  # * {Types::CreateSimulationJobResponse#data_sources #data_sources} => Array&lt;Types::DataSource&gt;
996
1046
  # * {Types::CreateSimulationJobResponse#tags #tags} => Hash&lt;String,String&gt;
997
1047
  # * {Types::CreateSimulationJobResponse#vpc_config #vpc_config} => Types::VPCConfigResponse
1048
+ # * {Types::CreateSimulationJobResponse#compute #compute} => Types::ComputeResponse
998
1049
  #
999
1050
  # @example Request syntax with placeholder values
1000
1051
  #
@@ -1071,6 +1122,9 @@ module Aws::RoboMaker
1071
1122
  # security_groups: ["NonEmptyString"],
1072
1123
  # assign_public_ip: false,
1073
1124
  # },
1125
+ # compute: {
1126
+ # simulation_unit_limit: 1,
1127
+ # },
1074
1128
  # })
1075
1129
  #
1076
1130
  # @example Response structure
@@ -1126,6 +1180,7 @@ module Aws::RoboMaker
1126
1180
  # resp.vpc_config.security_groups[0] #=> String
1127
1181
  # resp.vpc_config.vpc_id #=> String
1128
1182
  # resp.vpc_config.assign_public_ip #=> Boolean
1183
+ # resp.compute.simulation_unit_limit #=> Integer
1129
1184
  #
1130
1185
  # @see http://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CreateSimulationJob AWS API Documentation
1131
1186
  #
@@ -1572,6 +1627,7 @@ module Aws::RoboMaker
1572
1627
  # * {Types::DescribeSimulationJobResponse#tags #tags} => Hash&lt;String,String&gt;
1573
1628
  # * {Types::DescribeSimulationJobResponse#vpc_config #vpc_config} => Types::VPCConfigResponse
1574
1629
  # * {Types::DescribeSimulationJobResponse#network_interface #network_interface} => Types::NetworkInterface
1630
+ # * {Types::DescribeSimulationJobResponse#compute #compute} => Types::ComputeResponse
1575
1631
  #
1576
1632
  # @example Request syntax with placeholder values
1577
1633
  #
@@ -1637,6 +1693,7 @@ module Aws::RoboMaker
1637
1693
  # resp.network_interface.network_interface_id #=> String
1638
1694
  # resp.network_interface.private_ip_address #=> String
1639
1695
  # resp.network_interface.public_ip_address #=> String
1696
+ # resp.compute.simulation_unit_limit #=> Integer
1640
1697
  #
1641
1698
  # @see http://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DescribeSimulationJob AWS API Documentation
1642
1699
  #
@@ -1726,6 +1783,7 @@ module Aws::RoboMaker
1726
1783
  # resp.failed_requests[0].request.vpc_config.security_groups #=> Array
1727
1784
  # resp.failed_requests[0].request.vpc_config.security_groups[0] #=> String
1728
1785
  # resp.failed_requests[0].request.vpc_config.assign_public_ip #=> Boolean
1786
+ # resp.failed_requests[0].request.compute.simulation_unit_limit #=> Integer
1729
1787
  # resp.failed_requests[0].request.tags #=> Hash
1730
1788
  # resp.failed_requests[0].request.tags["TagKey"] #=> String
1731
1789
  # resp.failed_requests[0].failure_reason #=> String
@@ -1773,6 +1831,7 @@ module Aws::RoboMaker
1773
1831
  # resp.pending_requests[0].vpc_config.security_groups #=> Array
1774
1832
  # resp.pending_requests[0].vpc_config.security_groups[0] #=> String
1775
1833
  # resp.pending_requests[0].vpc_config.assign_public_ip #=> Boolean
1834
+ # resp.pending_requests[0].compute.simulation_unit_limit #=> Integer
1776
1835
  # resp.pending_requests[0].tags #=> Hash
1777
1836
  # resp.pending_requests[0].tags["TagKey"] #=> String
1778
1837
  # resp.created_requests #=> Array
@@ -1831,6 +1890,8 @@ module Aws::RoboMaker
1831
1890
  # * {Types::ListDeploymentJobsResponse#deployment_jobs #deployment_jobs} => Array&lt;Types::DeploymentJob&gt;
1832
1891
  # * {Types::ListDeploymentJobsResponse#next_token #next_token} => String
1833
1892
  #
1893
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1894
+ #
1834
1895
  # @example Request syntax with placeholder values
1835
1896
  #
1836
1897
  # resp = client.list_deployment_jobs({
@@ -1914,6 +1975,8 @@ module Aws::RoboMaker
1914
1975
  # * {Types::ListFleetsResponse#fleet_details #fleet_details} => Array&lt;Types::Fleet&gt;
1915
1976
  # * {Types::ListFleetsResponse#next_token #next_token} => String
1916
1977
  #
1978
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1979
+ #
1917
1980
  # @example Request syntax with placeholder values
1918
1981
  #
1919
1982
  # resp = client.list_fleets({
@@ -1980,6 +2043,8 @@ module Aws::RoboMaker
1980
2043
  # * {Types::ListRobotApplicationsResponse#robot_application_summaries #robot_application_summaries} => Array&lt;Types::RobotApplicationSummary&gt;
1981
2044
  # * {Types::ListRobotApplicationsResponse#next_token #next_token} => String
1982
2045
  #
2046
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2047
+ #
1983
2048
  # @example Request syntax with placeholder values
1984
2049
  #
1985
2050
  # resp = client.list_robot_applications({
@@ -2046,6 +2111,8 @@ module Aws::RoboMaker
2046
2111
  # * {Types::ListRobotsResponse#robots #robots} => Array&lt;Types::Robot&gt;
2047
2112
  # * {Types::ListRobotsResponse#next_token #next_token} => String
2048
2113
  #
2114
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2115
+ #
2049
2116
  # @example Request syntax with placeholder values
2050
2117
  #
2051
2118
  # resp = client.list_robots({
@@ -2115,6 +2182,8 @@ module Aws::RoboMaker
2115
2182
  # * {Types::ListSimulationApplicationsResponse#simulation_application_summaries #simulation_application_summaries} => Array&lt;Types::SimulationApplicationSummary&gt;
2116
2183
  # * {Types::ListSimulationApplicationsResponse#next_token #next_token} => String
2117
2184
  #
2185
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2186
+ #
2118
2187
  # @example Request syntax with placeholder values
2119
2188
  #
2120
2189
  # resp = client.list_simulation_applications({
@@ -2176,6 +2245,8 @@ module Aws::RoboMaker
2176
2245
  # * {Types::ListSimulationJobBatchesResponse#simulation_job_batch_summaries #simulation_job_batch_summaries} => Array&lt;Types::SimulationJobBatchSummary&gt;
2177
2246
  # * {Types::ListSimulationJobBatchesResponse#next_token #next_token} => String
2178
2247
  #
2248
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2249
+ #
2179
2250
  # @example Request syntax with placeholder values
2180
2251
  #
2181
2252
  # resp = client.list_simulation_job_batches({
@@ -2249,6 +2320,8 @@ module Aws::RoboMaker
2249
2320
  # * {Types::ListSimulationJobsResponse#simulation_job_summaries #simulation_job_summaries} => Array&lt;Types::SimulationJobSummary&gt;
2250
2321
  # * {Types::ListSimulationJobsResponse#next_token #next_token} => String
2251
2322
  #
2323
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2324
+ #
2252
2325
  # @example Request syntax with placeholder values
2253
2326
  #
2254
2327
  # resp = client.list_simulation_jobs({
@@ -2484,6 +2557,9 @@ module Aws::RoboMaker
2484
2557
  # security_groups: ["NonEmptyString"],
2485
2558
  # assign_public_ip: false,
2486
2559
  # },
2560
+ # compute: {
2561
+ # simulation_unit_limit: 1,
2562
+ # },
2487
2563
  # tags: {
2488
2564
  # "TagKey" => "TagValue",
2489
2565
  # },
@@ -2546,6 +2622,7 @@ module Aws::RoboMaker
2546
2622
  # resp.failed_requests[0].request.vpc_config.security_groups #=> Array
2547
2623
  # resp.failed_requests[0].request.vpc_config.security_groups[0] #=> String
2548
2624
  # resp.failed_requests[0].request.vpc_config.assign_public_ip #=> Boolean
2625
+ # resp.failed_requests[0].request.compute.simulation_unit_limit #=> Integer
2549
2626
  # resp.failed_requests[0].request.tags #=> Hash
2550
2627
  # resp.failed_requests[0].request.tags["TagKey"] #=> String
2551
2628
  # resp.failed_requests[0].failure_reason #=> String
@@ -2593,6 +2670,7 @@ module Aws::RoboMaker
2593
2670
  # resp.pending_requests[0].vpc_config.security_groups #=> Array
2594
2671
  # resp.pending_requests[0].vpc_config.security_groups[0] #=> String
2595
2672
  # resp.pending_requests[0].vpc_config.assign_public_ip #=> Boolean
2673
+ # resp.pending_requests[0].compute.simulation_unit_limit #=> Integer
2596
2674
  # resp.pending_requests[0].tags #=> Hash
2597
2675
  # resp.pending_requests[0].tags["TagKey"] #=> String
2598
2676
  # resp.created_requests #=> Array
@@ -2924,7 +3002,7 @@ module Aws::RoboMaker
2924
3002
  params: params,
2925
3003
  config: config)
2926
3004
  context[:gem_name] = 'aws-sdk-robomaker'
2927
- context[:gem_version] = '1.20.0'
3005
+ context[:gem_version] = '1.25.1'
2928
3006
  Seahorse::Client::Request.new(handlers, context)
2929
3007
  end
2930
3008
 
@@ -28,6 +28,8 @@ module Aws::RoboMaker
28
28
  CancelSimulationJobResponse = Shapes::StructureShape.new(name: 'CancelSimulationJobResponse')
29
29
  ClientRequestToken = Shapes::StringShape.new(name: 'ClientRequestToken')
30
30
  Command = Shapes::StringShape.new(name: 'Command')
31
+ Compute = Shapes::StructureShape.new(name: 'Compute')
32
+ ComputeResponse = Shapes::StructureShape.new(name: 'ComputeResponse')
31
33
  ConcurrentDeploymentException = Shapes::StructureShape.new(name: 'ConcurrentDeploymentException')
32
34
  CreateDeploymentJobRequest = Shapes::StructureShape.new(name: 'CreateDeploymentJobRequest')
33
35
  CreateDeploymentJobResponse = Shapes::StructureShape.new(name: 'CreateDeploymentJobResponse')
@@ -197,6 +199,7 @@ module Aws::RoboMaker
197
199
  SimulationSoftwareSuiteType = Shapes::StringShape.new(name: 'SimulationSoftwareSuiteType')
198
200
  SimulationSoftwareSuiteVersionType = Shapes::StringShape.new(name: 'SimulationSoftwareSuiteVersionType')
199
201
  SimulationTimeMillis = Shapes::IntegerShape.new(name: 'SimulationTimeMillis')
202
+ SimulationUnit = Shapes::IntegerShape.new(name: 'SimulationUnit')
200
203
  Source = Shapes::StructureShape.new(name: 'Source')
201
204
  SourceConfig = Shapes::StructureShape.new(name: 'SourceConfig')
202
205
  SourceConfigs = Shapes::ListShape.new(name: 'SourceConfigs')
@@ -253,6 +256,12 @@ module Aws::RoboMaker
253
256
 
254
257
  CancelSimulationJobResponse.struct_class = Types::CancelSimulationJobResponse
255
258
 
259
+ Compute.add_member(:simulation_unit_limit, Shapes::ShapeRef.new(shape: SimulationUnit, location_name: "simulationUnitLimit"))
260
+ Compute.struct_class = Types::Compute
261
+
262
+ ComputeResponse.add_member(:simulation_unit_limit, Shapes::ShapeRef.new(shape: SimulationUnit, location_name: "simulationUnitLimit"))
263
+ ComputeResponse.struct_class = Types::ComputeResponse
264
+
256
265
  ConcurrentDeploymentException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
257
266
  ConcurrentDeploymentException.struct_class = Types::ConcurrentDeploymentException
258
267
 
@@ -373,6 +382,7 @@ module Aws::RoboMaker
373
382
  CreateSimulationJobRequest.add_member(:data_sources, Shapes::ShapeRef.new(shape: DataSourceConfigs, location_name: "dataSources"))
374
383
  CreateSimulationJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
375
384
  CreateSimulationJobRequest.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VPCConfig, location_name: "vpcConfig"))
385
+ CreateSimulationJobRequest.add_member(:compute, Shapes::ShapeRef.new(shape: Compute, location_name: "compute"))
376
386
  CreateSimulationJobRequest.struct_class = Types::CreateSimulationJobRequest
377
387
 
378
388
  CreateSimulationJobRequests.member = Shapes::ShapeRef.new(shape: SimulationJobRequest)
@@ -394,6 +404,7 @@ module Aws::RoboMaker
394
404
  CreateSimulationJobResponse.add_member(:data_sources, Shapes::ShapeRef.new(shape: DataSources, location_name: "dataSources"))
395
405
  CreateSimulationJobResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
396
406
  CreateSimulationJobResponse.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VPCConfigResponse, location_name: "vpcConfig"))
407
+ CreateSimulationJobResponse.add_member(:compute, Shapes::ShapeRef.new(shape: ComputeResponse, location_name: "compute"))
397
408
  CreateSimulationJobResponse.struct_class = Types::CreateSimulationJobResponse
398
409
 
399
410
  DataSource.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
@@ -587,6 +598,7 @@ module Aws::RoboMaker
587
598
  DescribeSimulationJobResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
588
599
  DescribeSimulationJobResponse.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VPCConfigResponse, location_name: "vpcConfig"))
589
600
  DescribeSimulationJobResponse.add_member(:network_interface, Shapes::ShapeRef.new(shape: NetworkInterface, location_name: "networkInterface"))
601
+ DescribeSimulationJobResponse.add_member(:compute, Shapes::ShapeRef.new(shape: ComputeResponse, location_name: "compute"))
590
602
  DescribeSimulationJobResponse.struct_class = Types::DescribeSimulationJobResponse
591
603
 
592
604
  EnvironmentVariableMap.key = Shapes::ShapeRef.new(shape: EnvironmentVariableKey)
@@ -862,6 +874,7 @@ module Aws::RoboMaker
862
874
  SimulationJob.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
863
875
  SimulationJob.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VPCConfigResponse, location_name: "vpcConfig"))
864
876
  SimulationJob.add_member(:network_interface, Shapes::ShapeRef.new(shape: NetworkInterface, location_name: "networkInterface"))
877
+ SimulationJob.add_member(:compute, Shapes::ShapeRef.new(shape: ComputeResponse, location_name: "compute"))
865
878
  SimulationJob.struct_class = Types::SimulationJob
866
879
 
867
880
  SimulationJobBatchSummaries.member = Shapes::ShapeRef.new(shape: SimulationJobBatchSummary)
@@ -885,6 +898,7 @@ module Aws::RoboMaker
885
898
  SimulationJobRequest.add_member(:simulation_applications, Shapes::ShapeRef.new(shape: SimulationApplicationConfigs, location_name: "simulationApplications"))
886
899
  SimulationJobRequest.add_member(:data_sources, Shapes::ShapeRef.new(shape: DataSourceConfigs, location_name: "dataSources"))
887
900
  SimulationJobRequest.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VPCConfig, location_name: "vpcConfig"))
901
+ SimulationJobRequest.add_member(:compute, Shapes::ShapeRef.new(shape: Compute, location_name: "compute"))
888
902
  SimulationJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
889
903
  SimulationJobRequest.struct_class = Types::SimulationJobRequest
890
904
 
@@ -11,22 +11,17 @@ module Aws::RoboMaker
11
11
  # These errors all extend Aws::RoboMaker::Errors::ServiceError < {Aws::Errors::ServiceError}
12
12
  #
13
13
  # You can rescue all RoboMaker errors using ServiceError:
14
+ #
14
15
  # begin
15
16
  # # do stuff
16
17
  # rescue Aws::RoboMaker::Errors::ServiceError
17
18
  # # rescues all RoboMaker API errors
18
19
  # end
19
20
  #
21
+ #
20
22
  # ## Request Context
21
23
  # ServiceError objects have a {Aws::Errors::ServiceError#context #context} method that returns
22
- # information about the request that generated the error, including:
23
- # *
24
- # * #params - The request params
25
- # * #operation_name - Name of the API operation invoked
26
- # * #http_request
27
- # * #http_response
28
- # * etc ...
29
- #
24
+ # information about the request that generated the error.
30
25
  # See {Seahorse::Client::RequestContext} for more information.
31
26
  #
32
27
  # ## Error Classes
@@ -39,6 +34,7 @@ module Aws::RoboMaker
39
34
  # * {ResourceNotFoundException}
40
35
  # * {ServiceUnavailableException}
41
36
  # * {ThrottlingException}
37
+ #
42
38
  # Additionally, error classes are dynamically generated for service errors based on the error code
43
39
  # if they are not defined above.
44
40
  module Errors
@@ -58,7 +54,6 @@ module Aws::RoboMaker
58
54
  def message
59
55
  @message || @data[:message]
60
56
  end
61
-
62
57
  end
63
58
 
64
59
  class IdempotentParameterMismatchException < ServiceError
@@ -74,7 +69,6 @@ module Aws::RoboMaker
74
69
  def message
75
70
  @message || @data[:message]
76
71
  end
77
-
78
72
  end
79
73
 
80
74
  class InternalServerException < ServiceError
@@ -90,7 +84,6 @@ module Aws::RoboMaker
90
84
  def message
91
85
  @message || @data[:message]
92
86
  end
93
-
94
87
  end
95
88
 
96
89
  class InvalidParameterException < ServiceError
@@ -106,7 +99,6 @@ module Aws::RoboMaker
106
99
  def message
107
100
  @message || @data[:message]
108
101
  end
109
-
110
102
  end
111
103
 
112
104
  class LimitExceededException < ServiceError
@@ -122,7 +114,6 @@ module Aws::RoboMaker
122
114
  def message
123
115
  @message || @data[:message]
124
116
  end
125
-
126
117
  end
127
118
 
128
119
  class ResourceAlreadyExistsException < ServiceError
@@ -138,7 +129,6 @@ module Aws::RoboMaker
138
129
  def message
139
130
  @message || @data[:message]
140
131
  end
141
-
142
132
  end
143
133
 
144
134
  class ResourceNotFoundException < ServiceError
@@ -154,7 +144,6 @@ module Aws::RoboMaker
154
144
  def message
155
145
  @message || @data[:message]
156
146
  end
157
-
158
147
  end
159
148
 
160
149
  class ServiceUnavailableException < ServiceError
@@ -170,7 +159,6 @@ module Aws::RoboMaker
170
159
  def message
171
160
  @message || @data[:message]
172
161
  end
173
-
174
162
  end
175
163
 
176
164
  class ThrottlingException < ServiceError
@@ -186,7 +174,6 @@ module Aws::RoboMaker
186
174
  def message
187
175
  @message || @data[:message]
188
176
  end
189
-
190
177
  end
191
178
 
192
179
  end
@@ -6,13 +6,7 @@
6
6
  # WARNING ABOUT GENERATED CODE
7
7
 
8
8
  module Aws::RoboMaker
9
- # This class provides a resource oriented interface for RoboMaker.
10
- # To create a resource object:
11
- # resource = Aws::RoboMaker::Resource.new(region: 'us-west-2')
12
- # You can supply a client object with custom configuration that will be used for all resource operations.
13
- # If you do not pass +:client+, a default client will be constructed.
14
- # client = Aws::RoboMaker::Client.new(region: 'us-west-2')
15
- # resource = Aws::RoboMaker::Resource.new(client: client)
9
+
16
10
  class Resource
17
11
 
18
12
  # @param options ({})
@@ -147,6 +147,45 @@ module Aws::RoboMaker
147
147
  #
148
148
  class CancelSimulationJobResponse < Aws::EmptyStructure; end
149
149
 
150
+ # Compute information for the simulation job.
151
+ #
152
+ # @note When making an API call, you may pass Compute
153
+ # data as a hash:
154
+ #
155
+ # {
156
+ # simulation_unit_limit: 1,
157
+ # }
158
+ #
159
+ # @!attribute [rw] simulation_unit_limit
160
+ # The simulation unit limit. Your simulation is allocated CPU and
161
+ # memory proportional to the supplied simulation unit limit. A
162
+ # simulation unit is 1 vcpu and 2GB of memory. You are only billed for
163
+ # the SU utilization you consume up to the maximim value provided.
164
+ # @return [Integer]
165
+ #
166
+ # @see http://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/Compute AWS API Documentation
167
+ #
168
+ class Compute < Struct.new(
169
+ :simulation_unit_limit)
170
+ include Aws::Structure
171
+ end
172
+
173
+ # Compute information for the simulation job
174
+ #
175
+ # @!attribute [rw] simulation_unit_limit
176
+ # The simulation unit limit. Your simulation is allocated CPU and
177
+ # memory proportional to the supplied simulation unit limit. A
178
+ # simulation unit is 1 vcpu and 2GB of memory. You are only billed for
179
+ # the SU utilization you consume up to the maximim value provided.
180
+ # @return [Integer]
181
+ #
182
+ # @see http://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/ComputeResponse AWS API Documentation
183
+ #
184
+ class ComputeResponse < Struct.new(
185
+ :simulation_unit_limit)
186
+ include Aws::Structure
187
+ end
188
+
150
189
  # The failure percentage threshold percentage was met.
151
190
  #
152
191
  # @!attribute [rw] message
@@ -920,6 +959,9 @@ module Aws::RoboMaker
920
959
  # security_groups: ["NonEmptyString"],
921
960
  # assign_public_ip: false,
922
961
  # },
962
+ # compute: {
963
+ # simulation_unit_limit: 1,
964
+ # },
923
965
  # }
924
966
  #
925
967
  # @!attribute [rw] client_request_token
@@ -994,6 +1036,10 @@ module Aws::RoboMaker
994
1036
  # security group and one subnet ID.
995
1037
  # @return [Types::VPCConfig]
996
1038
  #
1039
+ # @!attribute [rw] compute
1040
+ # Compute information for the simulation job.
1041
+ # @return [Types::Compute]
1042
+ #
997
1043
  # @see http://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CreateSimulationJobRequest AWS API Documentation
998
1044
  #
999
1045
  class CreateSimulationJobRequest < Struct.new(
@@ -1007,7 +1053,8 @@ module Aws::RoboMaker
1007
1053
  :simulation_applications,
1008
1054
  :data_sources,
1009
1055
  :tags,
1010
- :vpc_config)
1056
+ :vpc_config,
1057
+ :compute)
1011
1058
  include Aws::Structure
1012
1059
  end
1013
1060
 
@@ -1144,6 +1191,10 @@ module Aws::RoboMaker
1144
1191
  # Information about the vpc configuration.
1145
1192
  # @return [Types::VPCConfigResponse]
1146
1193
  #
1194
+ # @!attribute [rw] compute
1195
+ # Compute information for the simulation job.
1196
+ # @return [Types::ComputeResponse]
1197
+ #
1147
1198
  # @see http://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CreateSimulationJobResponse AWS API Documentation
1148
1199
  #
1149
1200
  class CreateSimulationJobResponse < Struct.new(
@@ -1163,7 +1214,8 @@ module Aws::RoboMaker
1163
1214
  :simulation_applications,
1164
1215
  :data_sources,
1165
1216
  :tags,
1166
- :vpc_config)
1217
+ :vpc_config,
1218
+ :compute)
1167
1219
  include Aws::Structure
1168
1220
  end
1169
1221
 
@@ -2224,6 +2276,10 @@ module Aws::RoboMaker
2224
2276
  # The network interface information for the simulation job.
2225
2277
  # @return [Types::NetworkInterface]
2226
2278
  #
2279
+ # @!attribute [rw] compute
2280
+ # Compute information for the simulation job.
2281
+ # @return [Types::ComputeResponse]
2282
+ #
2227
2283
  # @see http://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DescribeSimulationJobResponse AWS API Documentation
2228
2284
  #
2229
2285
  class DescribeSimulationJobResponse < Struct.new(
@@ -2246,7 +2302,8 @@ module Aws::RoboMaker
2246
2302
  :data_sources,
2247
2303
  :tags,
2248
2304
  :vpc_config,
2249
- :network_interface)
2305
+ :network_interface,
2306
+ :compute)
2250
2307
  include Aws::Structure
2251
2308
  end
2252
2309
 
@@ -3744,6 +3801,10 @@ module Aws::RoboMaker
3744
3801
  # Information about a network interface.
3745
3802
  # @return [Types::NetworkInterface]
3746
3803
  #
3804
+ # @!attribute [rw] compute
3805
+ # Compute information for the simulation job
3806
+ # @return [Types::ComputeResponse]
3807
+ #
3747
3808
  # @see http://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/SimulationJob AWS API Documentation
3748
3809
  #
3749
3810
  class SimulationJob < Struct.new(
@@ -3766,7 +3827,8 @@ module Aws::RoboMaker
3766
3827
  :data_sources,
3767
3828
  :tags,
3768
3829
  :vpc_config,
3769
- :network_interface)
3830
+ :network_interface,
3831
+ :compute)
3770
3832
  include Aws::Structure
3771
3833
  end
3772
3834
 
@@ -3939,6 +4001,9 @@ module Aws::RoboMaker
3939
4001
  # security_groups: ["NonEmptyString"],
3940
4002
  # assign_public_ip: false,
3941
4003
  # },
4004
+ # compute: {
4005
+ # simulation_unit_limit: 1,
4006
+ # },
3942
4007
  # tags: {
3943
4008
  # "TagKey" => "TagValue",
3944
4009
  # },
@@ -4007,6 +4072,10 @@ module Aws::RoboMaker
4007
4072
  # security group and two subnet IDs.
4008
4073
  # @return [Types::VPCConfig]
4009
4074
  #
4075
+ # @!attribute [rw] compute
4076
+ # Compute information for the simulation job
4077
+ # @return [Types::Compute]
4078
+ #
4010
4079
  # @!attribute [rw] tags
4011
4080
  # A map that contains tag keys and tag values that are attached to the
4012
4081
  # simulation job request.
@@ -4025,6 +4094,7 @@ module Aws::RoboMaker
4025
4094
  :simulation_applications,
4026
4095
  :data_sources,
4027
4096
  :vpc_config,
4097
+ :compute,
4028
4098
  :tags)
4029
4099
  include Aws::Structure
4030
4100
  end
@@ -4239,6 +4309,9 @@ module Aws::RoboMaker
4239
4309
  # security_groups: ["NonEmptyString"],
4240
4310
  # assign_public_ip: false,
4241
4311
  # },
4312
+ # compute: {
4313
+ # simulation_unit_limit: 1,
4314
+ # },
4242
4315
  # tags: {
4243
4316
  # "TagKey" => "TagValue",
4244
4317
  # },
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.20.0
4
+ version: 1.25.1
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: 2020-03-06 00:00:00.000000000 Z
11
+ date: 2020-06-11 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.71.0
22
+ version: 3.99.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.71.0
32
+ version: 3.99.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
81
81
  version: '0'
82
82
  requirements: []
83
83
  rubyforge_project:
84
- rubygems_version: 2.5.2.3
84
+ rubygems_version: 2.7.6.2
85
85
  signing_key:
86
86
  specification_version: 4
87
87
  summary: AWS SDK for Ruby - RoboMaker