aws-sdk-iotjobsdataplane 1.12.0 → 1.13.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: a8505a3eae540c367e5f043ba68af75120fcda3e
4
- data.tar.gz: d0afea564298beaf91c65503a5dde2b07b35cd18
3
+ metadata.gz: 0117a63823a10b60c82bdb0055d13398e6ec785e
4
+ data.tar.gz: cd7396f4f00968ea6c71f51a0aaabbf8ea05cb1b
5
5
  SHA512:
6
- metadata.gz: 21d6b9dca8235ad09c237d41d2d3207872b8eaa8f949d7d30225bedf440432fc689d112698dd9a57afd54fd532de20bb3e0b35505abe7580247883e3063a3708
7
- data.tar.gz: 1c557e5d773295b74b7b8c6088414f3e48de1492aae7b3d13a7bd65b5ba60b82bd47ed3a746dd6528704615be89d1fec399e39e418d951b5ace10b6fb28ae514
6
+ metadata.gz: 54bd8653606cd938be8a87b2142c63e877fe53411bcb8a413f1f941150791cad3082153d4c2de43b539eed553168a7b6eaaae720effb4aa5f57767a6cfb5bda5
7
+ data.tar.gz: 5a7265c169799f1b8716f587efcd63bce056f0f15e3aca2c2e457f55b6899766ef08e703092d40995e08164554fc34e851ec88f3a938e2eeef784a1cd1f4ce7b
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-iotjobsdataplane/customizations'
42
42
  # @service
43
43
  module Aws::IoTJobsDataPlane
44
44
 
45
- GEM_VERSION = '1.12.0'
45
+ GEM_VERSION = '1.13.0'
46
46
 
47
47
  end
@@ -498,7 +498,7 @@ module Aws::IoTJobsDataPlane
498
498
  params: params,
499
499
  config: config)
500
500
  context[:gem_name] = 'aws-sdk-iotjobsdataplane'
501
- context[:gem_version] = '1.12.0'
501
+ context[:gem_version] = '1.13.0'
502
502
  Seahorse::Client::Request.new(handlers, context)
503
503
  end
504
504
 
@@ -51,6 +51,9 @@ module Aws::IoTJobsDataPlane
51
51
  VersionNumber = Shapes::IntegerShape.new(name: 'VersionNumber')
52
52
  errorMessage = Shapes::StringShape.new(name: 'errorMessage')
53
53
 
54
+ CertificateValidationException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
55
+ CertificateValidationException.struct_class = Types::CertificateValidationException
56
+
54
57
  DescribeJobExecutionRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: DescribeJobExecutionJobId, required: true, location: "uri", location_name: "jobId"))
55
58
  DescribeJobExecutionRequest.add_member(:thing_name, Shapes::ShapeRef.new(shape: ThingName, required: true, location: "uri", location_name: "thingName"))
56
59
  DescribeJobExecutionRequest.add_member(:include_job_document, Shapes::ShapeRef.new(shape: IncludeJobDocument, location: "querystring", location_name: "includeJobDocument"))
@@ -70,6 +73,12 @@ module Aws::IoTJobsDataPlane
70
73
  GetPendingJobExecutionsResponse.add_member(:queued_jobs, Shapes::ShapeRef.new(shape: JobExecutionSummaryList, location_name: "queuedJobs"))
71
74
  GetPendingJobExecutionsResponse.struct_class = Types::GetPendingJobExecutionsResponse
72
75
 
76
+ InvalidRequestException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
77
+ InvalidRequestException.struct_class = Types::InvalidRequestException
78
+
79
+ InvalidStateTransitionException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
80
+ InvalidStateTransitionException.struct_class = Types::InvalidStateTransitionException
81
+
73
82
  JobExecution.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "jobId"))
74
83
  JobExecution.add_member(:thing_name, Shapes::ShapeRef.new(shape: ThingName, location_name: "thingName"))
75
84
  JobExecution.add_member(:status, Shapes::ShapeRef.new(shape: JobExecutionStatus, location_name: "status"))
@@ -98,6 +107,12 @@ module Aws::IoTJobsDataPlane
98
107
 
99
108
  JobExecutionSummaryList.member = Shapes::ShapeRef.new(shape: JobExecutionSummary)
100
109
 
110
+ ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
111
+ ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
112
+
113
+ ServiceUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
114
+ ServiceUnavailableException.struct_class = Types::ServiceUnavailableException
115
+
101
116
  StartNextPendingJobExecutionRequest.add_member(:thing_name, Shapes::ShapeRef.new(shape: ThingName, required: true, location: "uri", location_name: "thingName"))
102
117
  StartNextPendingJobExecutionRequest.add_member(:status_details, Shapes::ShapeRef.new(shape: DetailsMap, location_name: "statusDetails"))
103
118
  StartNextPendingJobExecutionRequest.add_member(:step_timeout_in_minutes, Shapes::ShapeRef.new(shape: StepTimeoutInMinutes, location_name: "stepTimeoutInMinutes"))
@@ -106,6 +121,13 @@ module Aws::IoTJobsDataPlane
106
121
  StartNextPendingJobExecutionResponse.add_member(:execution, Shapes::ShapeRef.new(shape: JobExecution, location_name: "execution"))
107
122
  StartNextPendingJobExecutionResponse.struct_class = Types::StartNextPendingJobExecutionResponse
108
123
 
124
+ TerminalStateException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
125
+ TerminalStateException.struct_class = Types::TerminalStateException
126
+
127
+ ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
128
+ ThrottlingException.add_member(:payload, Shapes::ShapeRef.new(shape: BinaryBlob, location_name: "payload"))
129
+ ThrottlingException.struct_class = Types::ThrottlingException
130
+
109
131
  UpdateJobExecutionRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location: "uri", location_name: "jobId"))
110
132
  UpdateJobExecutionRequest.add_member(:thing_name, Shapes::ShapeRef.new(shape: ThingName, required: true, location: "uri", location_name: "thingName"))
111
133
  UpdateJobExecutionRequest.add_member(:status, Shapes::ShapeRef.new(shape: JobExecutionStatus, required: true, location_name: "status"))
@@ -10,5 +10,122 @@ module Aws::IoTJobsDataPlane
10
10
 
11
11
  extend Aws::Errors::DynamicErrors
12
12
 
13
+ class CertificateValidationException < ServiceError
14
+
15
+ # @param [Seahorse::Client::RequestContext] context
16
+ # @param [String] message
17
+ # @param [Aws::IoTJobsDataPlane::Types::CertificateValidationException] data
18
+ def initialize(context, message, data = Aws::EmptyStructure.new)
19
+ super(context, message, data)
20
+ end
21
+
22
+ # @return [String]
23
+ def message
24
+ @message || @data[:message]
25
+ end
26
+
27
+ end
28
+
29
+ class InvalidRequestException < ServiceError
30
+
31
+ # @param [Seahorse::Client::RequestContext] context
32
+ # @param [String] message
33
+ # @param [Aws::IoTJobsDataPlane::Types::InvalidRequestException] data
34
+ def initialize(context, message, data = Aws::EmptyStructure.new)
35
+ super(context, message, data)
36
+ end
37
+
38
+ # @return [String]
39
+ def message
40
+ @message || @data[:message]
41
+ end
42
+
43
+ end
44
+
45
+ class InvalidStateTransitionException < ServiceError
46
+
47
+ # @param [Seahorse::Client::RequestContext] context
48
+ # @param [String] message
49
+ # @param [Aws::IoTJobsDataPlane::Types::InvalidStateTransitionException] data
50
+ def initialize(context, message, data = Aws::EmptyStructure.new)
51
+ super(context, message, data)
52
+ end
53
+
54
+ # @return [String]
55
+ def message
56
+ @message || @data[:message]
57
+ end
58
+
59
+ end
60
+
61
+ class ResourceNotFoundException < ServiceError
62
+
63
+ # @param [Seahorse::Client::RequestContext] context
64
+ # @param [String] message
65
+ # @param [Aws::IoTJobsDataPlane::Types::ResourceNotFoundException] data
66
+ def initialize(context, message, data = Aws::EmptyStructure.new)
67
+ super(context, message, data)
68
+ end
69
+
70
+ # @return [String]
71
+ def message
72
+ @message || @data[:message]
73
+ end
74
+
75
+ end
76
+
77
+ class ServiceUnavailableException < ServiceError
78
+
79
+ # @param [Seahorse::Client::RequestContext] context
80
+ # @param [String] message
81
+ # @param [Aws::IoTJobsDataPlane::Types::ServiceUnavailableException] data
82
+ def initialize(context, message, data = Aws::EmptyStructure.new)
83
+ super(context, message, data)
84
+ end
85
+
86
+ # @return [String]
87
+ def message
88
+ @message || @data[:message]
89
+ end
90
+
91
+ end
92
+
93
+ class TerminalStateException < ServiceError
94
+
95
+ # @param [Seahorse::Client::RequestContext] context
96
+ # @param [String] message
97
+ # @param [Aws::IoTJobsDataPlane::Types::TerminalStateException] data
98
+ def initialize(context, message, data = Aws::EmptyStructure.new)
99
+ super(context, message, data)
100
+ end
101
+
102
+ # @return [String]
103
+ def message
104
+ @message || @data[:message]
105
+ end
106
+
107
+ end
108
+
109
+ class ThrottlingException < ServiceError
110
+
111
+ # @param [Seahorse::Client::RequestContext] context
112
+ # @param [String] message
113
+ # @param [Aws::IoTJobsDataPlane::Types::ThrottlingException] data
114
+ def initialize(context, message, data = Aws::EmptyStructure.new)
115
+ super(context, message, data)
116
+ end
117
+
118
+ # @return [String]
119
+ def message
120
+ @message || @data[:message]
121
+ end
122
+
123
+ # @return [String]
124
+ def payload
125
+ @data[:payload]
126
+ end
127
+
128
+ end
129
+
13
130
  end
14
131
  end
@@ -8,6 +8,17 @@
8
8
  module Aws::IoTJobsDataPlane
9
9
  module Types
10
10
 
11
+ # The certificate is invalid.
12
+ #
13
+ # @!attribute [rw] message
14
+ # Additional information about the exception.
15
+ # @return [String]
16
+ #
17
+ class CertificateValidationException < Struct.new(
18
+ :message)
19
+ include Aws::Structure
20
+ end
21
+
11
22
  # @note When making an API call, you may pass DescribeJobExecutionRequest
12
23
  # data as a hash:
13
24
  #
@@ -85,6 +96,33 @@ module Aws::IoTJobsDataPlane
85
96
  include Aws::Structure
86
97
  end
87
98
 
99
+ # The contents of the request were invalid. For example, this code is
100
+ # returned when an UpdateJobExecution request contains invalid status
101
+ # details. The message contains details about the error.
102
+ #
103
+ # @!attribute [rw] message
104
+ # The message for the exception.
105
+ # @return [String]
106
+ #
107
+ class InvalidRequestException < Struct.new(
108
+ :message)
109
+ include Aws::Structure
110
+ end
111
+
112
+ # An update attempted to change the job execution to a state that is
113
+ # invalid because of the job execution's current state (for example, an
114
+ # attempt to change a request in state SUCCESS to state IN\_PROGRESS).
115
+ # In this case, the body of the error message also contains the
116
+ # executionState field.
117
+ #
118
+ # @!attribute [rw] message
119
+ # @return [String]
120
+ #
121
+ class InvalidStateTransitionException < Struct.new(
122
+ :message)
123
+ include Aws::Structure
124
+ end
125
+
88
126
  # Contains data about a job execution.
89
127
  #
90
128
  # @!attribute [rw] job_id
@@ -222,6 +260,28 @@ module Aws::IoTJobsDataPlane
222
260
  include Aws::Structure
223
261
  end
224
262
 
263
+ # The specified resource does not exist.
264
+ #
265
+ # @!attribute [rw] message
266
+ # The message for the exception.
267
+ # @return [String]
268
+ #
269
+ class ResourceNotFoundException < Struct.new(
270
+ :message)
271
+ include Aws::Structure
272
+ end
273
+
274
+ # The service is temporarily unavailable.
275
+ #
276
+ # @!attribute [rw] message
277
+ # The message for the exception.
278
+ # @return [String]
279
+ #
280
+ class ServiceUnavailableException < Struct.new(
281
+ :message)
282
+ include Aws::Structure
283
+ end
284
+
225
285
  # @note When making an API call, you may pass StartNextPendingJobExecutionRequest
226
286
  # data as a hash:
227
287
  #
@@ -270,6 +330,32 @@ module Aws::IoTJobsDataPlane
270
330
  include Aws::Structure
271
331
  end
272
332
 
333
+ # The job is in a terminal state.
334
+ #
335
+ # @!attribute [rw] message
336
+ # @return [String]
337
+ #
338
+ class TerminalStateException < Struct.new(
339
+ :message)
340
+ include Aws::Structure
341
+ end
342
+
343
+ # The rate exceeds the limit.
344
+ #
345
+ # @!attribute [rw] message
346
+ # The message associated with the exception.
347
+ # @return [String]
348
+ #
349
+ # @!attribute [rw] payload
350
+ # The payload associated with the exception.
351
+ # @return [String]
352
+ #
353
+ class ThrottlingException < Struct.new(
354
+ :message,
355
+ :payload)
356
+ include Aws::Structure
357
+ end
358
+
273
359
  # @note When making an API call, you may pass UpdateJobExecutionRequest
274
360
  # data as a hash:
275
361
  #
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.12.0
4
+ version: 1.13.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: 2019-05-15 00:00:00.000000000 Z
11
+ date: 2019-05-21 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.52.1
22
+ version: 3.53.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.52.1
32
+ version: 3.53.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement