aws-sdk-iotjobsdataplane 1.3.0 → 1.4.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 55565c41232dc4f0d1ffd642df24b5f1d74047a4
4
- data.tar.gz: 33453acc6253220ed973421575aac87f618ff4cd
3
+ metadata.gz: e62f0ab397484c6184914582dcbda552de034496
4
+ data.tar.gz: 6b0d89dd733a5a4692186f5e3a0a0c18eaea38a0
5
5
  SHA512:
6
- metadata.gz: 67585347ac2a0ce65757bfcba4bff27c1aa9bfe978bd1030851f8e8979bd5d1e7e9a6378b9b516a9fb593e659c538bafb63f9caf515904bd5039f5fa0be68ea9
7
- data.tar.gz: 6f2a7f41befccc5858919f786ebe45f25a8bcb376833addd9e23826cac64a8c653229c15f0a6753efd40beb483581538b42ee3e2f7ec408db50657e2ff66619b
6
+ metadata.gz: 77d13f51810ca60f4a3266ef3804e2d108afd0fc1c15eabca0d2878ca901c149bd3c2def6fd3f7747608ad5d320630411cc8fb65b6fb253b626b808a9e852fde
7
+ data.tar.gz: 134b7494d21008c8a98d6fb04a0e2ccf8efba59b1ef067adaae25c7d53043df3590eb7449a4dcb11030d164581b4a1a790fe65b10cb66fb33bd414adedf4409e
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-iotjobsdataplane/customizations'
42
42
  # @service
43
43
  module Aws::IoTJobsDataPlane
44
44
 
45
- GEM_VERSION = '1.3.0'
45
+ GEM_VERSION = '1.4.0'
46
46
 
47
47
  end
@@ -211,12 +211,13 @@ module Aws::IoTJobsDataPlane
211
211
  #
212
212
  # resp.execution.job_id #=> String
213
213
  # resp.execution.thing_name #=> String
214
- # resp.execution.status #=> String, one of "QUEUED", "IN_PROGRESS", "SUCCEEDED", "FAILED", "REJECTED", "REMOVED", "CANCELED"
214
+ # resp.execution.status #=> String, one of "QUEUED", "IN_PROGRESS", "SUCCEEDED", "FAILED", "TIMED_OUT", "REJECTED", "REMOVED", "CANCELED"
215
215
  # resp.execution.status_details #=> Hash
216
216
  # resp.execution.status_details["DetailsKey"] #=> String
217
217
  # resp.execution.queued_at #=> Integer
218
218
  # resp.execution.started_at #=> Integer
219
219
  # resp.execution.last_updated_at #=> Integer
220
+ # resp.execution.approximate_seconds_before_timed_out #=> Integer
220
221
  # resp.execution.version_number #=> Integer
221
222
  # resp.execution.execution_number #=> Integer
222
223
  # resp.execution.job_document #=> String
@@ -279,6 +280,17 @@ module Aws::IoTJobsDataPlane
279
280
  # A collection of name/value pairs that describe the status of the job
280
281
  # execution. If not specified, the statusDetails are unchanged.
281
282
  #
283
+ # @option params [Integer] :step_timeout_in_minutes
284
+ # Specifies the amount of time this device has to finish execution of
285
+ # this job. If the job execution status is not set to a terminal state
286
+ # before this timer expires, or before the timer is reset (by calling
287
+ # `UpdateJobExecution`, setting the status to `IN_PROGRESS` and
288
+ # specifying a new timeout value in field `stepTimeoutInMinutes`) the
289
+ # job execution status will be automatically set to `TIMED_OUT`. Note
290
+ # that setting this timeout has no effect on that job execution timeout
291
+ # which may have been specified when the job was created (`CreateJob`
292
+ # using field `timeoutConfig`).
293
+ #
282
294
  # @return [Types::StartNextPendingJobExecutionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
283
295
  #
284
296
  # * {Types::StartNextPendingJobExecutionResponse#execution #execution} => Types::JobExecution
@@ -290,18 +302,20 @@ module Aws::IoTJobsDataPlane
290
302
  # status_details: {
291
303
  # "DetailsKey" => "DetailsValue",
292
304
  # },
305
+ # step_timeout_in_minutes: 1,
293
306
  # })
294
307
  #
295
308
  # @example Response structure
296
309
  #
297
310
  # resp.execution.job_id #=> String
298
311
  # resp.execution.thing_name #=> String
299
- # resp.execution.status #=> String, one of "QUEUED", "IN_PROGRESS", "SUCCEEDED", "FAILED", "REJECTED", "REMOVED", "CANCELED"
312
+ # resp.execution.status #=> String, one of "QUEUED", "IN_PROGRESS", "SUCCEEDED", "FAILED", "TIMED_OUT", "REJECTED", "REMOVED", "CANCELED"
300
313
  # resp.execution.status_details #=> Hash
301
314
  # resp.execution.status_details["DetailsKey"] #=> String
302
315
  # resp.execution.queued_at #=> Integer
303
316
  # resp.execution.started_at #=> Integer
304
317
  # resp.execution.last_updated_at #=> Integer
318
+ # resp.execution.approximate_seconds_before_timed_out #=> Integer
305
319
  # resp.execution.version_number #=> Integer
306
320
  # resp.execution.execution_number #=> Integer
307
321
  # resp.execution.job_document #=> String
@@ -329,6 +343,17 @@ module Aws::IoTJobsDataPlane
329
343
  # Optional. A collection of name/value pairs that describe the status of
330
344
  # the job execution. If not specified, the statusDetails are unchanged.
331
345
  #
346
+ # @option params [Integer] :step_timeout_in_minutes
347
+ # Specifies the amount of time this device has to finish execution of
348
+ # this job. If the job execution status is not set to a terminal state
349
+ # before this timer expires, or before the timer is reset (by again
350
+ # calling `UpdateJobExecution`, setting the status to `IN_PROGRESS` and
351
+ # specifying a new timeout value in this field) the job execution status
352
+ # will be automatically set to `TIMED_OUT`. Note that setting or
353
+ # resetting this timeout has no effect on that job execution timeout
354
+ # which may have been specified when the job was created (`CreateJob`
355
+ # using field `timeoutConfig`).
356
+ #
332
357
  # @option params [Integer] :expected_version
333
358
  # Optional. The expected current version of the job execution. Each time
334
359
  # you update the job execution, its version is incremented. If the
@@ -360,10 +385,11 @@ module Aws::IoTJobsDataPlane
360
385
  # resp = client.update_job_execution({
361
386
  # job_id: "JobId", # required
362
387
  # thing_name: "ThingName", # required
363
- # status: "QUEUED", # required, accepts QUEUED, IN_PROGRESS, SUCCEEDED, FAILED, REJECTED, REMOVED, CANCELED
388
+ # status: "QUEUED", # required, accepts QUEUED, IN_PROGRESS, SUCCEEDED, FAILED, TIMED_OUT, REJECTED, REMOVED, CANCELED
364
389
  # status_details: {
365
390
  # "DetailsKey" => "DetailsValue",
366
391
  # },
392
+ # step_timeout_in_minutes: 1,
367
393
  # expected_version: 1,
368
394
  # include_job_execution_state: false,
369
395
  # include_job_document: false,
@@ -372,7 +398,7 @@ module Aws::IoTJobsDataPlane
372
398
  #
373
399
  # @example Response structure
374
400
  #
375
- # resp.execution_state.status #=> String, one of "QUEUED", "IN_PROGRESS", "SUCCEEDED", "FAILED", "REJECTED", "REMOVED", "CANCELED"
401
+ # resp.execution_state.status #=> String, one of "QUEUED", "IN_PROGRESS", "SUCCEEDED", "FAILED", "TIMED_OUT", "REJECTED", "REMOVED", "CANCELED"
376
402
  # resp.execution_state.status_details #=> Hash
377
403
  # resp.execution_state.status_details["DetailsKey"] #=> String
378
404
  # resp.execution_state.version_number #=> Integer
@@ -398,7 +424,7 @@ module Aws::IoTJobsDataPlane
398
424
  params: params,
399
425
  config: config)
400
426
  context[:gem_name] = 'aws-sdk-iotjobsdataplane'
401
- context[:gem_version] = '1.3.0'
427
+ context[:gem_version] = '1.4.0'
402
428
  Seahorse::Client::Request.new(handlers, context)
403
429
  end
404
430
 
@@ -11,6 +11,8 @@ module Aws::IoTJobsDataPlane
11
11
 
12
12
  include Seahorse::Model
13
13
 
14
+ ApproximateSecondsBeforeTimedOut = Shapes::IntegerShape.new(name: 'ApproximateSecondsBeforeTimedOut')
15
+ BinaryBlob = Shapes::BlobShape.new(name: 'BinaryBlob')
14
16
  CertificateValidationException = Shapes::StructureShape.new(name: 'CertificateValidationException')
15
17
  DescribeJobExecutionJobId = Shapes::StringShape.new(name: 'DescribeJobExecutionJobId')
16
18
  DescribeJobExecutionRequest = Shapes::StructureShape.new(name: 'DescribeJobExecutionRequest')
@@ -40,6 +42,7 @@ module Aws::IoTJobsDataPlane
40
42
  StartNextPendingJobExecutionRequest = Shapes::StructureShape.new(name: 'StartNextPendingJobExecutionRequest')
41
43
  StartNextPendingJobExecutionResponse = Shapes::StructureShape.new(name: 'StartNextPendingJobExecutionResponse')
42
44
  StartedAt = Shapes::IntegerShape.new(name: 'StartedAt')
45
+ StepTimeoutInMinutes = Shapes::IntegerShape.new(name: 'StepTimeoutInMinutes')
43
46
  TerminalStateException = Shapes::StructureShape.new(name: 'TerminalStateException')
44
47
  ThingName = Shapes::StringShape.new(name: 'ThingName')
45
48
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
@@ -74,6 +77,7 @@ module Aws::IoTJobsDataPlane
74
77
  JobExecution.add_member(:queued_at, Shapes::ShapeRef.new(shape: QueuedAt, location_name: "queuedAt"))
75
78
  JobExecution.add_member(:started_at, Shapes::ShapeRef.new(shape: StartedAt, location_name: "startedAt"))
76
79
  JobExecution.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: LastUpdatedAt, location_name: "lastUpdatedAt"))
80
+ JobExecution.add_member(:approximate_seconds_before_timed_out, Shapes::ShapeRef.new(shape: ApproximateSecondsBeforeTimedOut, location_name: "approximateSecondsBeforeTimedOut"))
77
81
  JobExecution.add_member(:version_number, Shapes::ShapeRef.new(shape: VersionNumber, location_name: "versionNumber"))
78
82
  JobExecution.add_member(:execution_number, Shapes::ShapeRef.new(shape: ExecutionNumber, location_name: "executionNumber"))
79
83
  JobExecution.add_member(:job_document, Shapes::ShapeRef.new(shape: JobDocument, location_name: "jobDocument"))
@@ -96,6 +100,7 @@ module Aws::IoTJobsDataPlane
96
100
 
97
101
  StartNextPendingJobExecutionRequest.add_member(:thing_name, Shapes::ShapeRef.new(shape: ThingName, required: true, location: "uri", location_name: "thingName"))
98
102
  StartNextPendingJobExecutionRequest.add_member(:status_details, Shapes::ShapeRef.new(shape: DetailsMap, location_name: "statusDetails"))
103
+ StartNextPendingJobExecutionRequest.add_member(:step_timeout_in_minutes, Shapes::ShapeRef.new(shape: StepTimeoutInMinutes, location_name: "stepTimeoutInMinutes"))
99
104
  StartNextPendingJobExecutionRequest.struct_class = Types::StartNextPendingJobExecutionRequest
100
105
 
101
106
  StartNextPendingJobExecutionResponse.add_member(:execution, Shapes::ShapeRef.new(shape: JobExecution, location_name: "execution"))
@@ -105,6 +110,7 @@ module Aws::IoTJobsDataPlane
105
110
  UpdateJobExecutionRequest.add_member(:thing_name, Shapes::ShapeRef.new(shape: ThingName, required: true, location: "uri", location_name: "thingName"))
106
111
  UpdateJobExecutionRequest.add_member(:status, Shapes::ShapeRef.new(shape: JobExecutionStatus, required: true, location_name: "status"))
107
112
  UpdateJobExecutionRequest.add_member(:status_details, Shapes::ShapeRef.new(shape: DetailsMap, location_name: "statusDetails"))
113
+ UpdateJobExecutionRequest.add_member(:step_timeout_in_minutes, Shapes::ShapeRef.new(shape: StepTimeoutInMinutes, location_name: "stepTimeoutInMinutes"))
108
114
  UpdateJobExecutionRequest.add_member(:expected_version, Shapes::ShapeRef.new(shape: ExpectedVersion, location_name: "expectedVersion"))
109
115
  UpdateJobExecutionRequest.add_member(:include_job_execution_state, Shapes::ShapeRef.new(shape: IncludeExecutionState, location_name: "includeJobExecutionState"))
110
116
  UpdateJobExecutionRequest.add_member(:include_job_document, Shapes::ShapeRef.new(shape: IncludeJobDocument, location_name: "includeJobDocument"))
@@ -126,6 +132,7 @@ module Aws::IoTJobsDataPlane
126
132
  "endpointPrefix" => "data.jobs.iot",
127
133
  "protocol" => "rest-json",
128
134
  "serviceFullName" => "AWS IoT Jobs Data Plane",
135
+ "serviceId" => "IoT Jobs Data Plane",
129
136
  "signatureVersion" => "v4",
130
137
  "signingName" => "iot-jobs-data",
131
138
  "uid" => "iot-jobs-data-2017-09-29",
@@ -121,6 +121,11 @@ module Aws::IoTJobsDataPlane
121
121
  # was last updated.
122
122
  # @return [Integer]
123
123
  #
124
+ # @!attribute [rw] approximate_seconds_before_timed_out
125
+ # The estimated number of seconds that remain before the job execution
126
+ # status will be changed to `TIMED_OUT`.
127
+ # @return [Integer]
128
+ #
124
129
  # @!attribute [rw] version_number
125
130
  # The version of the job execution. Job execution versions are
126
131
  # incremented each time they are updated by a device.
@@ -144,6 +149,7 @@ module Aws::IoTJobsDataPlane
144
149
  :queued_at,
145
150
  :started_at,
146
151
  :last_updated_at,
152
+ :approximate_seconds_before_timed_out,
147
153
  :version_number,
148
154
  :execution_number,
149
155
  :job_document)
@@ -224,6 +230,7 @@ module Aws::IoTJobsDataPlane
224
230
  # status_details: {
225
231
  # "DetailsKey" => "DetailsValue",
226
232
  # },
233
+ # step_timeout_in_minutes: 1,
227
234
  # }
228
235
  #
229
236
  # @!attribute [rw] thing_name
@@ -235,9 +242,22 @@ module Aws::IoTJobsDataPlane
235
242
  # execution. If not specified, the statusDetails are unchanged.
236
243
  # @return [Hash<String,String>]
237
244
  #
245
+ # @!attribute [rw] step_timeout_in_minutes
246
+ # Specifies the amount of time this device has to finish execution of
247
+ # this job. If the job execution status is not set to a terminal state
248
+ # before this timer expires, or before the timer is reset (by calling
249
+ # `UpdateJobExecution`, setting the status to `IN_PROGRESS` and
250
+ # specifying a new timeout value in field `stepTimeoutInMinutes`) the
251
+ # job execution status will be automatically set to `TIMED_OUT`. Note
252
+ # that setting this timeout has no effect on that job execution
253
+ # timeout which may have been specified when the job was created
254
+ # (`CreateJob` using field `timeoutConfig`).
255
+ # @return [Integer]
256
+ #
238
257
  class StartNextPendingJobExecutionRequest < Struct.new(
239
258
  :thing_name,
240
- :status_details)
259
+ :status_details,
260
+ :step_timeout_in_minutes)
241
261
  include Aws::Structure
242
262
  end
243
263
 
@@ -256,10 +276,11 @@ module Aws::IoTJobsDataPlane
256
276
  # {
257
277
  # job_id: "JobId", # required
258
278
  # thing_name: "ThingName", # required
259
- # status: "QUEUED", # required, accepts QUEUED, IN_PROGRESS, SUCCEEDED, FAILED, REJECTED, REMOVED, CANCELED
279
+ # status: "QUEUED", # required, accepts QUEUED, IN_PROGRESS, SUCCEEDED, FAILED, TIMED_OUT, REJECTED, REMOVED, CANCELED
260
280
  # status_details: {
261
281
  # "DetailsKey" => "DetailsValue",
262
282
  # },
283
+ # step_timeout_in_minutes: 1,
263
284
  # expected_version: 1,
264
285
  # include_job_execution_state: false,
265
286
  # include_job_document: false,
@@ -285,6 +306,18 @@ module Aws::IoTJobsDataPlane
285
306
  # unchanged.
286
307
  # @return [Hash<String,String>]
287
308
  #
309
+ # @!attribute [rw] step_timeout_in_minutes
310
+ # Specifies the amount of time this device has to finish execution of
311
+ # this job. If the job execution status is not set to a terminal state
312
+ # before this timer expires, or before the timer is reset (by again
313
+ # calling `UpdateJobExecution`, setting the status to `IN_PROGRESS`
314
+ # and specifying a new timeout value in this field) the job execution
315
+ # status will be automatically set to `TIMED_OUT`. Note that setting
316
+ # or resetting this timeout has no effect on that job execution
317
+ # timeout which may have been specified when the job was created
318
+ # (`CreateJob` using field `timeoutConfig`).
319
+ # @return [Integer]
320
+ #
288
321
  # @!attribute [rw] expected_version
289
322
  # Optional. The expected current version of the job execution. Each
290
323
  # time you update the job execution, its version is incremented. If
@@ -316,6 +349,7 @@ module Aws::IoTJobsDataPlane
316
349
  :thing_name,
317
350
  :status,
318
351
  :status_details,
352
+ :step_timeout_in_minutes,
319
353
  :expected_version,
320
354
  :include_job_execution_state,
321
355
  :include_job_document,
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-iotjobsdataplane
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.4.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: 2018-09-06 00:00:00.000000000 Z
11
+ date: 2018-10-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core