@@ -59,23 +59,23 @@ class StepFunctionsClient extends AbstractApi
59
59
* '@region'?: string|null,
60
60
* }|SendTaskFailureInput $input
61
61
*
62
- * @throws TaskDoesNotExistException
63
62
* @throws InvalidTokenException
64
- * @throws TaskTimedOutException
65
63
* @throws KmsAccessDeniedException
66
64
* @throws KmsInvalidStateException
67
65
* @throws KmsThrottlingException
66
+ * @throws TaskDoesNotExistException
67
+ * @throws TaskTimedOutException
68
68
*/
69
69
public function sendTaskFailure ($ input ): SendTaskFailureOutput
70
70
{
71
71
$ input = SendTaskFailureInput::create ($ input );
72
72
$ response = $ this ->getResponse ($ input ->request (), new RequestContext (['operation ' => 'SendTaskFailure ' , 'region ' => $ input ->getRegion (), 'exceptionMapping ' => [
73
- 'TaskDoesNotExist ' => TaskDoesNotExistException::class,
74
73
'InvalidToken ' => InvalidTokenException::class,
75
- 'TaskTimedOut ' => TaskTimedOutException::class,
76
74
'KmsAccessDeniedException ' => KmsAccessDeniedException::class,
77
75
'KmsInvalidStateException ' => KmsInvalidStateException::class,
78
76
'KmsThrottlingException ' => KmsThrottlingException::class,
77
+ 'TaskDoesNotExist ' => TaskDoesNotExistException::class,
78
+ 'TaskTimedOut ' => TaskTimedOutException::class,
79
79
]]));
80
80
81
81
return new SendTaskFailureOutput ($ response );
@@ -106,16 +106,16 @@ public function sendTaskFailure($input): SendTaskFailureOutput
106
106
* '@region'?: string|null,
107
107
* }|SendTaskHeartbeatInput $input
108
108
*
109
- * @throws TaskDoesNotExistException
110
109
* @throws InvalidTokenException
110
+ * @throws TaskDoesNotExistException
111
111
* @throws TaskTimedOutException
112
112
*/
113
113
public function sendTaskHeartbeat ($ input ): SendTaskHeartbeatOutput
114
114
{
115
115
$ input = SendTaskHeartbeatInput::create ($ input );
116
116
$ response = $ this ->getResponse ($ input ->request (), new RequestContext (['operation ' => 'SendTaskHeartbeat ' , 'region ' => $ input ->getRegion (), 'exceptionMapping ' => [
117
- 'TaskDoesNotExist ' => TaskDoesNotExistException::class,
118
117
'InvalidToken ' => InvalidTokenException::class,
118
+ 'TaskDoesNotExist ' => TaskDoesNotExistException::class,
119
119
'TaskTimedOut ' => TaskTimedOutException::class,
120
120
]]));
121
121
@@ -138,25 +138,25 @@ public function sendTaskHeartbeat($input): SendTaskHeartbeatOutput
138
138
* '@region'?: string|null,
139
139
* }|SendTaskSuccessInput $input
140
140
*
141
- * @throws TaskDoesNotExistException
142
141
* @throws InvalidOutputException
143
142
* @throws InvalidTokenException
144
- * @throws TaskTimedOutException
145
143
* @throws KmsAccessDeniedException
146
144
* @throws KmsInvalidStateException
147
145
* @throws KmsThrottlingException
146
+ * @throws TaskDoesNotExistException
147
+ * @throws TaskTimedOutException
148
148
*/
149
149
public function sendTaskSuccess ($ input ): SendTaskSuccessOutput
150
150
{
151
151
$ input = SendTaskSuccessInput::create ($ input );
152
152
$ response = $ this ->getResponse ($ input ->request (), new RequestContext (['operation ' => 'SendTaskSuccess ' , 'region ' => $ input ->getRegion (), 'exceptionMapping ' => [
153
- 'TaskDoesNotExist ' => TaskDoesNotExistException::class,
154
153
'InvalidOutput ' => InvalidOutputException::class,
155
154
'InvalidToken ' => InvalidTokenException::class,
156
- 'TaskTimedOut ' => TaskTimedOutException::class,
157
155
'KmsAccessDeniedException ' => KmsAccessDeniedException::class,
158
156
'KmsInvalidStateException ' => KmsInvalidStateException::class,
159
157
'KmsThrottlingException ' => KmsThrottlingException::class,
158
+ 'TaskDoesNotExist ' => TaskDoesNotExistException::class,
159
+ 'TaskTimedOut ' => TaskTimedOutException::class,
160
160
]]));
161
161
162
162
return new SendTaskSuccessOutput ($ response );
@@ -216,33 +216,33 @@ public function sendTaskSuccess($input): SendTaskSuccessOutput
216
216
* '@region'?: string|null,
217
217
* }|StartExecutionInput $input
218
218
*
219
- * @throws ExecutionLimitExceededException
220
219
* @throws ExecutionAlreadyExistsException
220
+ * @throws ExecutionLimitExceededException
221
221
* @throws InvalidArnException
222
222
* @throws InvalidExecutionInputException
223
223
* @throws InvalidNameException
224
- * @throws StateMachineDoesNotExistException
225
- * @throws StateMachineDeletingException
226
- * @throws ValidationException
227
224
* @throws KmsAccessDeniedException
228
225
* @throws KmsInvalidStateException
229
226
* @throws KmsThrottlingException
227
+ * @throws StateMachineDeletingException
228
+ * @throws StateMachineDoesNotExistException
229
+ * @throws ValidationException
230
230
*/
231
231
public function startExecution ($ input ): StartExecutionOutput
232
232
{
233
233
$ input = StartExecutionInput::create ($ input );
234
234
$ response = $ this ->getResponse ($ input ->request (), new RequestContext (['operation ' => 'StartExecution ' , 'region ' => $ input ->getRegion (), 'exceptionMapping ' => [
235
- 'ExecutionLimitExceeded ' => ExecutionLimitExceededException::class,
236
235
'ExecutionAlreadyExists ' => ExecutionAlreadyExistsException::class,
236
+ 'ExecutionLimitExceeded ' => ExecutionLimitExceededException::class,
237
237
'InvalidArn ' => InvalidArnException::class,
238
238
'InvalidExecutionInput ' => InvalidExecutionInputException::class,
239
239
'InvalidName ' => InvalidNameException::class,
240
- 'StateMachineDoesNotExist ' => StateMachineDoesNotExistException::class,
241
- 'StateMachineDeleting ' => StateMachineDeletingException::class,
242
- 'ValidationException ' => ValidationException::class,
243
240
'KmsAccessDeniedException ' => KmsAccessDeniedException::class,
244
241
'KmsInvalidStateException ' => KmsInvalidStateException::class,
245
242
'KmsThrottlingException ' => KmsThrottlingException::class,
243
+ 'StateMachineDeleting ' => StateMachineDeletingException::class,
244
+ 'StateMachineDoesNotExist ' => StateMachineDoesNotExistException::class,
245
+ 'ValidationException ' => ValidationException::class,
246
246
]]));
247
247
248
248
return new StartExecutionOutput ($ response );
@@ -271,21 +271,21 @@ public function startExecution($input): StartExecutionOutput
271
271
*
272
272
* @throws ExecutionDoesNotExistException
273
273
* @throws InvalidArnException
274
- * @throws ValidationException
275
274
* @throws KmsAccessDeniedException
276
275
* @throws KmsInvalidStateException
277
276
* @throws KmsThrottlingException
277
+ * @throws ValidationException
278
278
*/
279
279
public function stopExecution ($ input ): StopExecutionOutput
280
280
{
281
281
$ input = StopExecutionInput::create ($ input );
282
282
$ response = $ this ->getResponse ($ input ->request (), new RequestContext (['operation ' => 'StopExecution ' , 'region ' => $ input ->getRegion (), 'exceptionMapping ' => [
283
283
'ExecutionDoesNotExist ' => ExecutionDoesNotExistException::class,
284
284
'InvalidArn ' => InvalidArnException::class,
285
- 'ValidationException ' => ValidationException::class,
286
285
'KmsAccessDeniedException ' => KmsAccessDeniedException::class,
287
286
'KmsInvalidStateException ' => KmsInvalidStateException::class,
288
287
'KmsThrottlingException ' => KmsThrottlingException::class,
288
+ 'ValidationException ' => ValidationException::class,
289
289
]]));
290
290
291
291
return new StopExecutionOutput ($ response );
0 commit comments