1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
namespace AlibabaCloud\RdsData\V20220330; |
4
|
|
|
|
5
|
|
|
use AlibabaCloud\Client\Resolver\ApiResolver; |
6
|
|
|
|
7
|
|
|
/** |
8
|
|
|
* @method BatchExecuteStatement batchExecuteStatement(array $options = []) |
9
|
|
|
* @method BeginTransaction beginTransaction(array $options = []) |
10
|
|
|
* @method CommitTransaction commitTransaction(array $options = []) |
11
|
|
|
* @method Delete delete(array $options = []) |
12
|
|
|
* @method ExecuteStatement executeStatement(array $options = []) |
13
|
|
|
* @method Insert insert(array $options = []) |
14
|
|
|
* @method InsertList insertList(array $options = []) |
15
|
|
|
* @method RollbackTransaction rollbackTransaction(array $options = []) |
16
|
|
|
* @method Select select(array $options = []) |
17
|
|
|
* @method Update update(array $options = []) |
18
|
|
|
*/ |
19
|
|
|
class RdsDataApiResolver extends ApiResolver |
20
|
|
|
{ |
21
|
|
|
} |
22
|
|
|
|
23
|
|
|
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc |
24
|
|
|
{ |
25
|
|
|
/** @var string */ |
26
|
|
|
public $product = 'rds-data'; |
27
|
|
|
|
28
|
|
|
/** @var string */ |
29
|
|
|
public $version = '2022-03-30'; |
30
|
|
|
|
31
|
|
|
/** @var string */ |
32
|
|
|
public $method = 'POST'; |
33
|
|
|
} |
34
|
|
|
|
35
|
|
|
/** |
36
|
|
|
* @method string getParameterSets() |
37
|
|
|
* @method string getTransactionId() |
38
|
|
|
* @method string getSql() |
39
|
|
|
* @method string getDatabase() |
40
|
|
|
* @method string getResourceArn() |
41
|
|
|
* @method string getSecretArn() |
42
|
|
|
*/ |
43
|
|
|
class BatchExecuteStatement extends Rpc |
44
|
|
|
{ |
45
|
|
|
|
46
|
|
|
/** |
47
|
|
|
* @param string $value |
48
|
|
|
* |
49
|
|
|
* @return $this |
50
|
|
|
*/ |
51
|
|
|
public function withParameterSets($value) |
52
|
|
|
{ |
53
|
|
|
$this->data['ParameterSets'] = $value; |
54
|
|
|
$this->options['form_params']['ParameterSets'] = $value; |
55
|
|
|
|
56
|
|
|
return $this; |
57
|
|
|
} |
58
|
|
|
|
59
|
|
|
/** |
60
|
|
|
* @param string $value |
61
|
|
|
* |
62
|
|
|
* @return $this |
63
|
|
|
*/ |
64
|
|
|
public function withTransactionId($value) |
65
|
|
|
{ |
66
|
|
|
$this->data['TransactionId'] = $value; |
67
|
|
|
$this->options['form_params']['TransactionId'] = $value; |
68
|
|
|
|
69
|
|
|
return $this; |
70
|
|
|
} |
71
|
|
|
|
72
|
|
|
/** |
73
|
|
|
* @param string $value |
74
|
|
|
* |
75
|
|
|
* @return $this |
76
|
|
|
*/ |
77
|
|
|
public function withSql($value) |
78
|
|
|
{ |
79
|
|
|
$this->data['Sql'] = $value; |
80
|
|
|
$this->options['form_params']['Sql'] = $value; |
81
|
|
|
|
82
|
|
|
return $this; |
83
|
|
|
} |
84
|
|
|
|
85
|
|
|
/** |
86
|
|
|
* @param string $value |
87
|
|
|
* |
88
|
|
|
* @return $this |
89
|
|
|
*/ |
90
|
|
|
public function withDatabase($value) |
91
|
|
|
{ |
92
|
|
|
$this->data['Database'] = $value; |
93
|
|
|
$this->options['form_params']['Database'] = $value; |
94
|
|
|
|
95
|
|
|
return $this; |
96
|
|
|
} |
97
|
|
|
|
98
|
|
|
/** |
99
|
|
|
* @param string $value |
100
|
|
|
* |
101
|
|
|
* @return $this |
102
|
|
|
*/ |
103
|
|
|
public function withResourceArn($value) |
104
|
|
|
{ |
105
|
|
|
$this->data['ResourceArn'] = $value; |
106
|
|
|
$this->options['form_params']['ResourceArn'] = $value; |
107
|
|
|
|
108
|
|
|
return $this; |
109
|
|
|
} |
110
|
|
|
|
111
|
|
|
/** |
112
|
|
|
* @param string $value |
113
|
|
|
* |
114
|
|
|
* @return $this |
115
|
|
|
*/ |
116
|
|
|
public function withSecretArn($value) |
117
|
|
|
{ |
118
|
|
|
$this->data['SecretArn'] = $value; |
119
|
|
|
$this->options['form_params']['SecretArn'] = $value; |
120
|
|
|
|
121
|
|
|
return $this; |
122
|
|
|
} |
123
|
|
|
} |
124
|
|
|
|
125
|
|
|
/** |
126
|
|
|
* @method string getDatabase() |
127
|
|
|
* @method string getResourceArn() |
128
|
|
|
* @method string getSecretArn() |
129
|
|
|
*/ |
130
|
|
|
class BeginTransaction extends Rpc |
131
|
|
|
{ |
132
|
|
|
|
133
|
|
|
/** |
134
|
|
|
* @param string $value |
135
|
|
|
* |
136
|
|
|
* @return $this |
137
|
|
|
*/ |
138
|
|
|
public function withDatabase($value) |
139
|
|
|
{ |
140
|
|
|
$this->data['Database'] = $value; |
141
|
|
|
$this->options['form_params']['Database'] = $value; |
142
|
|
|
|
143
|
|
|
return $this; |
144
|
|
|
} |
145
|
|
|
|
146
|
|
|
/** |
147
|
|
|
* @param string $value |
148
|
|
|
* |
149
|
|
|
* @return $this |
150
|
|
|
*/ |
151
|
|
|
public function withResourceArn($value) |
152
|
|
|
{ |
153
|
|
|
$this->data['ResourceArn'] = $value; |
154
|
|
|
$this->options['form_params']['ResourceArn'] = $value; |
155
|
|
|
|
156
|
|
|
return $this; |
157
|
|
|
} |
158
|
|
|
|
159
|
|
|
/** |
160
|
|
|
* @param string $value |
161
|
|
|
* |
162
|
|
|
* @return $this |
163
|
|
|
*/ |
164
|
|
|
public function withSecretArn($value) |
165
|
|
|
{ |
166
|
|
|
$this->data['SecretArn'] = $value; |
167
|
|
|
$this->options['form_params']['SecretArn'] = $value; |
168
|
|
|
|
169
|
|
|
return $this; |
170
|
|
|
} |
171
|
|
|
} |
172
|
|
|
|
173
|
|
|
/** |
174
|
|
|
* @method string getTransactionId() |
175
|
|
|
* @method string getResourceArn() |
176
|
|
|
* @method string getSecretArn() |
177
|
|
|
*/ |
178
|
|
|
class CommitTransaction extends Rpc |
179
|
|
|
{ |
180
|
|
|
|
181
|
|
|
/** |
182
|
|
|
* @param string $value |
183
|
|
|
* |
184
|
|
|
* @return $this |
185
|
|
|
*/ |
186
|
|
|
public function withTransactionId($value) |
187
|
|
|
{ |
188
|
|
|
$this->data['TransactionId'] = $value; |
189
|
|
|
$this->options['form_params']['TransactionId'] = $value; |
190
|
|
|
|
191
|
|
|
return $this; |
192
|
|
|
} |
193
|
|
|
|
194
|
|
|
/** |
195
|
|
|
* @param string $value |
196
|
|
|
* |
197
|
|
|
* @return $this |
198
|
|
|
*/ |
199
|
|
|
public function withResourceArn($value) |
200
|
|
|
{ |
201
|
|
|
$this->data['ResourceArn'] = $value; |
202
|
|
|
$this->options['form_params']['ResourceArn'] = $value; |
203
|
|
|
|
204
|
|
|
return $this; |
205
|
|
|
} |
206
|
|
|
|
207
|
|
|
/** |
208
|
|
|
* @param string $value |
209
|
|
|
* |
210
|
|
|
* @return $this |
211
|
|
|
*/ |
212
|
|
|
public function withSecretArn($value) |
213
|
|
|
{ |
214
|
|
|
$this->data['SecretArn'] = $value; |
215
|
|
|
$this->options['form_params']['SecretArn'] = $value; |
216
|
|
|
|
217
|
|
|
return $this; |
218
|
|
|
} |
219
|
|
|
} |
220
|
|
|
|
221
|
|
|
/** |
222
|
|
|
* @method string getTransactionId() |
223
|
|
|
* @method string getFilter() |
224
|
|
|
* @method string getDatabase() |
225
|
|
|
* @method string getResourceArn() |
226
|
|
|
* @method string getTable() |
227
|
|
|
* @method string getSecretArn() |
228
|
|
|
*/ |
229
|
|
|
class Delete extends Rpc |
230
|
|
|
{ |
231
|
|
|
|
232
|
|
|
/** |
233
|
|
|
* @param string $value |
234
|
|
|
* |
235
|
|
|
* @return $this |
236
|
|
|
*/ |
237
|
|
|
public function withTransactionId($value) |
238
|
|
|
{ |
239
|
|
|
$this->data['TransactionId'] = $value; |
240
|
|
|
$this->options['form_params']['TransactionId'] = $value; |
241
|
|
|
|
242
|
|
|
return $this; |
243
|
|
|
} |
244
|
|
|
|
245
|
|
|
/** |
246
|
|
|
* @param string $value |
247
|
|
|
* |
248
|
|
|
* @return $this |
249
|
|
|
*/ |
250
|
|
|
public function withFilter($value) |
251
|
|
|
{ |
252
|
|
|
$this->data['Filter'] = $value; |
253
|
|
|
$this->options['form_params']['Filter'] = $value; |
254
|
|
|
|
255
|
|
|
return $this; |
256
|
|
|
} |
257
|
|
|
|
258
|
|
|
/** |
259
|
|
|
* @param string $value |
260
|
|
|
* |
261
|
|
|
* @return $this |
262
|
|
|
*/ |
263
|
|
|
public function withDatabase($value) |
264
|
|
|
{ |
265
|
|
|
$this->data['Database'] = $value; |
266
|
|
|
$this->options['form_params']['Database'] = $value; |
267
|
|
|
|
268
|
|
|
return $this; |
269
|
|
|
} |
270
|
|
|
|
271
|
|
|
/** |
272
|
|
|
* @param string $value |
273
|
|
|
* |
274
|
|
|
* @return $this |
275
|
|
|
*/ |
276
|
|
|
public function withResourceArn($value) |
277
|
|
|
{ |
278
|
|
|
$this->data['ResourceArn'] = $value; |
279
|
|
|
$this->options['form_params']['ResourceArn'] = $value; |
280
|
|
|
|
281
|
|
|
return $this; |
282
|
|
|
} |
283
|
|
|
|
284
|
|
|
/** |
285
|
|
|
* @param string $value |
286
|
|
|
* |
287
|
|
|
* @return $this |
288
|
|
|
*/ |
289
|
|
|
public function withTable($value) |
290
|
|
|
{ |
291
|
|
|
$this->data['Table'] = $value; |
292
|
|
|
$this->options['form_params']['Table'] = $value; |
293
|
|
|
|
294
|
|
|
return $this; |
295
|
|
|
} |
296
|
|
|
|
297
|
|
|
/** |
298
|
|
|
* @param string $value |
299
|
|
|
* |
300
|
|
|
* @return $this |
301
|
|
|
*/ |
302
|
|
|
public function withSecretArn($value) |
303
|
|
|
{ |
304
|
|
|
$this->data['SecretArn'] = $value; |
305
|
|
|
$this->options['form_params']['SecretArn'] = $value; |
306
|
|
|
|
307
|
|
|
return $this; |
308
|
|
|
} |
309
|
|
|
} |
310
|
|
|
|
311
|
|
|
/** |
312
|
|
|
* @method string getIncludeResultMetadata() |
313
|
|
|
* @method string getFormatRecordsAs() |
314
|
|
|
* @method string getTransactionId() |
315
|
|
|
* @method string getSql() |
316
|
|
|
* @method string getResultSetOptions() |
317
|
|
|
* @method string getDatabase() |
318
|
|
|
* @method string getResourceArn() |
319
|
|
|
* @method string getParameters() |
320
|
|
|
* @method string getContinueAfterTimeout() |
321
|
|
|
* @method string getSecretArn() |
322
|
|
|
*/ |
323
|
|
|
class ExecuteStatement extends Rpc |
324
|
|
|
{ |
325
|
|
|
|
326
|
|
|
/** |
327
|
|
|
* @param string $value |
328
|
|
|
* |
329
|
|
|
* @return $this |
330
|
|
|
*/ |
331
|
|
|
public function withIncludeResultMetadata($value) |
332
|
|
|
{ |
333
|
|
|
$this->data['IncludeResultMetadata'] = $value; |
334
|
|
|
$this->options['form_params']['IncludeResultMetadata'] = $value; |
335
|
|
|
|
336
|
|
|
return $this; |
337
|
|
|
} |
338
|
|
|
|
339
|
|
|
/** |
340
|
|
|
* @param string $value |
341
|
|
|
* |
342
|
|
|
* @return $this |
343
|
|
|
*/ |
344
|
|
|
public function withFormatRecordsAs($value) |
345
|
|
|
{ |
346
|
|
|
$this->data['FormatRecordsAs'] = $value; |
347
|
|
|
$this->options['form_params']['FormatRecordsAs'] = $value; |
348
|
|
|
|
349
|
|
|
return $this; |
350
|
|
|
} |
351
|
|
|
|
352
|
|
|
/** |
353
|
|
|
* @param string $value |
354
|
|
|
* |
355
|
|
|
* @return $this |
356
|
|
|
*/ |
357
|
|
|
public function withTransactionId($value) |
358
|
|
|
{ |
359
|
|
|
$this->data['TransactionId'] = $value; |
360
|
|
|
$this->options['form_params']['TransactionId'] = $value; |
361
|
|
|
|
362
|
|
|
return $this; |
363
|
|
|
} |
364
|
|
|
|
365
|
|
|
/** |
366
|
|
|
* @param string $value |
367
|
|
|
* |
368
|
|
|
* @return $this |
369
|
|
|
*/ |
370
|
|
|
public function withSql($value) |
371
|
|
|
{ |
372
|
|
|
$this->data['Sql'] = $value; |
373
|
|
|
$this->options['form_params']['Sql'] = $value; |
374
|
|
|
|
375
|
|
|
return $this; |
376
|
|
|
} |
377
|
|
|
|
378
|
|
|
/** |
379
|
|
|
* @param string $value |
380
|
|
|
* |
381
|
|
|
* @return $this |
382
|
|
|
*/ |
383
|
|
|
public function withResultSetOptions($value) |
384
|
|
|
{ |
385
|
|
|
$this->data['ResultSetOptions'] = $value; |
386
|
|
|
$this->options['form_params']['ResultSetOptions'] = $value; |
387
|
|
|
|
388
|
|
|
return $this; |
389
|
|
|
} |
390
|
|
|
|
391
|
|
|
/** |
392
|
|
|
* @param string $value |
393
|
|
|
* |
394
|
|
|
* @return $this |
395
|
|
|
*/ |
396
|
|
|
public function withDatabase($value) |
397
|
|
|
{ |
398
|
|
|
$this->data['Database'] = $value; |
399
|
|
|
$this->options['form_params']['Database'] = $value; |
400
|
|
|
|
401
|
|
|
return $this; |
402
|
|
|
} |
403
|
|
|
|
404
|
|
|
/** |
405
|
|
|
* @param string $value |
406
|
|
|
* |
407
|
|
|
* @return $this |
408
|
|
|
*/ |
409
|
|
|
public function withResourceArn($value) |
410
|
|
|
{ |
411
|
|
|
$this->data['ResourceArn'] = $value; |
412
|
|
|
$this->options['form_params']['ResourceArn'] = $value; |
413
|
|
|
|
414
|
|
|
return $this; |
415
|
|
|
} |
416
|
|
|
|
417
|
|
|
/** |
418
|
|
|
* @param string $value |
419
|
|
|
* |
420
|
|
|
* @return $this |
421
|
|
|
*/ |
422
|
|
|
public function withParameters($value) |
423
|
|
|
{ |
424
|
|
|
$this->data['Parameters'] = $value; |
425
|
|
|
$this->options['form_params']['Parameters'] = $value; |
426
|
|
|
|
427
|
|
|
return $this; |
428
|
|
|
} |
429
|
|
|
|
430
|
|
|
/** |
431
|
|
|
* @param string $value |
432
|
|
|
* |
433
|
|
|
* @return $this |
434
|
|
|
*/ |
435
|
|
|
public function withContinueAfterTimeout($value) |
436
|
|
|
{ |
437
|
|
|
$this->data['ContinueAfterTimeout'] = $value; |
438
|
|
|
$this->options['form_params']['ContinueAfterTimeout'] = $value; |
439
|
|
|
|
440
|
|
|
return $this; |
441
|
|
|
} |
442
|
|
|
|
443
|
|
|
/** |
444
|
|
|
* @param string $value |
445
|
|
|
* |
446
|
|
|
* @return $this |
447
|
|
|
*/ |
448
|
|
|
public function withSecretArn($value) |
449
|
|
|
{ |
450
|
|
|
$this->data['SecretArn'] = $value; |
451
|
|
|
$this->options['form_params']['SecretArn'] = $value; |
452
|
|
|
|
453
|
|
|
return $this; |
454
|
|
|
} |
455
|
|
|
} |
456
|
|
|
|
457
|
|
|
/** |
458
|
|
|
* @method string getTransactionId() |
459
|
|
|
* @method string getDatabase() |
460
|
|
|
* @method string getRecord() |
461
|
|
|
* @method string getResourceArn() |
462
|
|
|
* @method string getTable() |
463
|
|
|
* @method string getSecretArn() |
464
|
|
|
*/ |
465
|
|
|
class Insert extends Rpc |
466
|
|
|
{ |
467
|
|
|
|
468
|
|
|
/** |
469
|
|
|
* @param string $value |
470
|
|
|
* |
471
|
|
|
* @return $this |
472
|
|
|
*/ |
473
|
|
|
public function withTransactionId($value) |
474
|
|
|
{ |
475
|
|
|
$this->data['TransactionId'] = $value; |
476
|
|
|
$this->options['form_params']['TransactionId'] = $value; |
477
|
|
|
|
478
|
|
|
return $this; |
479
|
|
|
} |
480
|
|
|
|
481
|
|
|
/** |
482
|
|
|
* @param string $value |
483
|
|
|
* |
484
|
|
|
* @return $this |
485
|
|
|
*/ |
486
|
|
|
public function withDatabase($value) |
487
|
|
|
{ |
488
|
|
|
$this->data['Database'] = $value; |
489
|
|
|
$this->options['form_params']['Database'] = $value; |
490
|
|
|
|
491
|
|
|
return $this; |
492
|
|
|
} |
493
|
|
|
|
494
|
|
|
/** |
495
|
|
|
* @param string $value |
496
|
|
|
* |
497
|
|
|
* @return $this |
498
|
|
|
*/ |
499
|
|
|
public function withRecord($value) |
500
|
|
|
{ |
501
|
|
|
$this->data['Record'] = $value; |
502
|
|
|
$this->options['form_params']['Record'] = $value; |
503
|
|
|
|
504
|
|
|
return $this; |
505
|
|
|
} |
506
|
|
|
|
507
|
|
|
/** |
508
|
|
|
* @param string $value |
509
|
|
|
* |
510
|
|
|
* @return $this |
511
|
|
|
*/ |
512
|
|
|
public function withResourceArn($value) |
513
|
|
|
{ |
514
|
|
|
$this->data['ResourceArn'] = $value; |
515
|
|
|
$this->options['form_params']['ResourceArn'] = $value; |
516
|
|
|
|
517
|
|
|
return $this; |
518
|
|
|
} |
519
|
|
|
|
520
|
|
|
/** |
521
|
|
|
* @param string $value |
522
|
|
|
* |
523
|
|
|
* @return $this |
524
|
|
|
*/ |
525
|
|
|
public function withTable($value) |
526
|
|
|
{ |
527
|
|
|
$this->data['Table'] = $value; |
528
|
|
|
$this->options['form_params']['Table'] = $value; |
529
|
|
|
|
530
|
|
|
return $this; |
531
|
|
|
} |
532
|
|
|
|
533
|
|
|
/** |
534
|
|
|
* @param string $value |
535
|
|
|
* |
536
|
|
|
* @return $this |
537
|
|
|
*/ |
538
|
|
|
public function withSecretArn($value) |
539
|
|
|
{ |
540
|
|
|
$this->data['SecretArn'] = $value; |
541
|
|
|
$this->options['form_params']['SecretArn'] = $value; |
542
|
|
|
|
543
|
|
|
return $this; |
544
|
|
|
} |
545
|
|
|
} |
546
|
|
|
|
547
|
|
|
/** |
548
|
|
|
* @method string getRecords() |
549
|
|
|
* @method string getTransactionId() |
550
|
|
|
* @method string getDatabase() |
551
|
|
|
* @method string getResourceArn() |
552
|
|
|
* @method string getTable() |
553
|
|
|
* @method string getSecretArn() |
554
|
|
|
*/ |
555
|
|
|
class InsertList extends Rpc |
556
|
|
|
{ |
557
|
|
|
|
558
|
|
|
/** |
559
|
|
|
* @param string $value |
560
|
|
|
* |
561
|
|
|
* @return $this |
562
|
|
|
*/ |
563
|
|
|
public function withRecords($value) |
564
|
|
|
{ |
565
|
|
|
$this->data['Records'] = $value; |
566
|
|
|
$this->options['form_params']['Records'] = $value; |
567
|
|
|
|
568
|
|
|
return $this; |
569
|
|
|
} |
570
|
|
|
|
571
|
|
|
/** |
572
|
|
|
* @param string $value |
573
|
|
|
* |
574
|
|
|
* @return $this |
575
|
|
|
*/ |
576
|
|
|
public function withTransactionId($value) |
577
|
|
|
{ |
578
|
|
|
$this->data['TransactionId'] = $value; |
579
|
|
|
$this->options['form_params']['TransactionId'] = $value; |
580
|
|
|
|
581
|
|
|
return $this; |
582
|
|
|
} |
583
|
|
|
|
584
|
|
|
/** |
585
|
|
|
* @param string $value |
586
|
|
|
* |
587
|
|
|
* @return $this |
588
|
|
|
*/ |
589
|
|
|
public function withDatabase($value) |
590
|
|
|
{ |
591
|
|
|
$this->data['Database'] = $value; |
592
|
|
|
$this->options['form_params']['Database'] = $value; |
593
|
|
|
|
594
|
|
|
return $this; |
595
|
|
|
} |
596
|
|
|
|
597
|
|
|
/** |
598
|
|
|
* @param string $value |
599
|
|
|
* |
600
|
|
|
* @return $this |
601
|
|
|
*/ |
602
|
|
|
public function withResourceArn($value) |
603
|
|
|
{ |
604
|
|
|
$this->data['ResourceArn'] = $value; |
605
|
|
|
$this->options['form_params']['ResourceArn'] = $value; |
606
|
|
|
|
607
|
|
|
return $this; |
608
|
|
|
} |
609
|
|
|
|
610
|
|
|
/** |
611
|
|
|
* @param string $value |
612
|
|
|
* |
613
|
|
|
* @return $this |
614
|
|
|
*/ |
615
|
|
|
public function withTable($value) |
616
|
|
|
{ |
617
|
|
|
$this->data['Table'] = $value; |
618
|
|
|
$this->options['form_params']['Table'] = $value; |
619
|
|
|
|
620
|
|
|
return $this; |
621
|
|
|
} |
622
|
|
|
|
623
|
|
|
/** |
624
|
|
|
* @param string $value |
625
|
|
|
* |
626
|
|
|
* @return $this |
627
|
|
|
*/ |
628
|
|
|
public function withSecretArn($value) |
629
|
|
|
{ |
630
|
|
|
$this->data['SecretArn'] = $value; |
631
|
|
|
$this->options['form_params']['SecretArn'] = $value; |
632
|
|
|
|
633
|
|
|
return $this; |
634
|
|
|
} |
635
|
|
|
} |
636
|
|
|
|
637
|
|
|
/** |
638
|
|
|
* @method string getTransactionId() |
639
|
|
|
* @method string getResourceArn() |
640
|
|
|
* @method string getSecretArn() |
641
|
|
|
*/ |
642
|
|
|
class RollbackTransaction extends Rpc |
643
|
|
|
{ |
644
|
|
|
|
645
|
|
|
/** |
646
|
|
|
* @param string $value |
647
|
|
|
* |
648
|
|
|
* @return $this |
649
|
|
|
*/ |
650
|
|
|
public function withTransactionId($value) |
651
|
|
|
{ |
652
|
|
|
$this->data['TransactionId'] = $value; |
653
|
|
|
$this->options['form_params']['TransactionId'] = $value; |
654
|
|
|
|
655
|
|
|
return $this; |
656
|
|
|
} |
657
|
|
|
|
658
|
|
|
/** |
659
|
|
|
* @param string $value |
660
|
|
|
* |
661
|
|
|
* @return $this |
662
|
|
|
*/ |
663
|
|
|
public function withResourceArn($value) |
664
|
|
|
{ |
665
|
|
|
$this->data['ResourceArn'] = $value; |
666
|
|
|
$this->options['form_params']['ResourceArn'] = $value; |
667
|
|
|
|
668
|
|
|
return $this; |
669
|
|
|
} |
670
|
|
|
|
671
|
|
|
/** |
672
|
|
|
* @param string $value |
673
|
|
|
* |
674
|
|
|
* @return $this |
675
|
|
|
*/ |
676
|
|
|
public function withSecretArn($value) |
677
|
|
|
{ |
678
|
|
|
$this->data['SecretArn'] = $value; |
679
|
|
|
$this->options['form_params']['SecretArn'] = $value; |
680
|
|
|
|
681
|
|
|
return $this; |
682
|
|
|
} |
683
|
|
|
} |
684
|
|
|
|
685
|
|
|
/** |
686
|
|
|
* @method string getTransactionId() |
687
|
|
|
* @method string getPageNumber() |
688
|
|
|
* @method string getFilter() |
689
|
|
|
* @method string getDatabase() |
690
|
|
|
* @method string getPageSize() |
691
|
|
|
* @method string getResourceArn() |
692
|
|
|
* @method string getTable() |
693
|
|
|
* @method string getSecretArn() |
694
|
|
|
*/ |
695
|
|
|
class Select extends Rpc |
696
|
|
|
{ |
697
|
|
|
|
698
|
|
|
/** |
699
|
|
|
* @param string $value |
700
|
|
|
* |
701
|
|
|
* @return $this |
702
|
|
|
*/ |
703
|
|
|
public function withTransactionId($value) |
704
|
|
|
{ |
705
|
|
|
$this->data['TransactionId'] = $value; |
706
|
|
|
$this->options['form_params']['TransactionId'] = $value; |
707
|
|
|
|
708
|
|
|
return $this; |
709
|
|
|
} |
710
|
|
|
|
711
|
|
|
/** |
712
|
|
|
* @param string $value |
713
|
|
|
* |
714
|
|
|
* @return $this |
715
|
|
|
*/ |
716
|
|
|
public function withPageNumber($value) |
717
|
|
|
{ |
718
|
|
|
$this->data['PageNumber'] = $value; |
719
|
|
|
$this->options['form_params']['PageNumber'] = $value; |
720
|
|
|
|
721
|
|
|
return $this; |
722
|
|
|
} |
723
|
|
|
|
724
|
|
|
/** |
725
|
|
|
* @param string $value |
726
|
|
|
* |
727
|
|
|
* @return $this |
728
|
|
|
*/ |
729
|
|
|
public function withFilter($value) |
730
|
|
|
{ |
731
|
|
|
$this->data['Filter'] = $value; |
732
|
|
|
$this->options['form_params']['Filter'] = $value; |
733
|
|
|
|
734
|
|
|
return $this; |
735
|
|
|
} |
736
|
|
|
|
737
|
|
|
/** |
738
|
|
|
* @param string $value |
739
|
|
|
* |
740
|
|
|
* @return $this |
741
|
|
|
*/ |
742
|
|
|
public function withDatabase($value) |
743
|
|
|
{ |
744
|
|
|
$this->data['Database'] = $value; |
745
|
|
|
$this->options['form_params']['Database'] = $value; |
746
|
|
|
|
747
|
|
|
return $this; |
748
|
|
|
} |
749
|
|
|
|
750
|
|
|
/** |
751
|
|
|
* @param string $value |
752
|
|
|
* |
753
|
|
|
* @return $this |
754
|
|
|
*/ |
755
|
|
|
public function withPageSize($value) |
756
|
|
|
{ |
757
|
|
|
$this->data['PageSize'] = $value; |
758
|
|
|
$this->options['form_params']['PageSize'] = $value; |
759
|
|
|
|
760
|
|
|
return $this; |
761
|
|
|
} |
762
|
|
|
|
763
|
|
|
/** |
764
|
|
|
* @param string $value |
765
|
|
|
* |
766
|
|
|
* @return $this |
767
|
|
|
*/ |
768
|
|
|
public function withResourceArn($value) |
769
|
|
|
{ |
770
|
|
|
$this->data['ResourceArn'] = $value; |
771
|
|
|
$this->options['form_params']['ResourceArn'] = $value; |
772
|
|
|
|
773
|
|
|
return $this; |
774
|
|
|
} |
775
|
|
|
|
776
|
|
|
/** |
777
|
|
|
* @param string $value |
778
|
|
|
* |
779
|
|
|
* @return $this |
780
|
|
|
*/ |
781
|
|
|
public function withTable($value) |
782
|
|
|
{ |
783
|
|
|
$this->data['Table'] = $value; |
784
|
|
|
$this->options['form_params']['Table'] = $value; |
785
|
|
|
|
786
|
|
|
return $this; |
787
|
|
|
} |
788
|
|
|
|
789
|
|
|
/** |
790
|
|
|
* @param string $value |
791
|
|
|
* |
792
|
|
|
* @return $this |
793
|
|
|
*/ |
794
|
|
|
public function withSecretArn($value) |
795
|
|
|
{ |
796
|
|
|
$this->data['SecretArn'] = $value; |
797
|
|
|
$this->options['form_params']['SecretArn'] = $value; |
798
|
|
|
|
799
|
|
|
return $this; |
800
|
|
|
} |
801
|
|
|
} |
802
|
|
|
|
803
|
|
|
/** |
804
|
|
|
* @method string getTransactionId() |
805
|
|
|
* @method string getFilter() |
806
|
|
|
* @method string getDatabase() |
807
|
|
|
* @method string getRecord() |
808
|
|
|
* @method string getResourceArn() |
809
|
|
|
* @method string getTable() |
810
|
|
|
* @method string getSecretArn() |
811
|
|
|
*/ |
812
|
|
|
class Update extends Rpc |
813
|
|
|
{ |
814
|
|
|
|
815
|
|
|
/** |
816
|
|
|
* @param string $value |
817
|
|
|
* |
818
|
|
|
* @return $this |
819
|
|
|
*/ |
820
|
|
|
public function withTransactionId($value) |
821
|
|
|
{ |
822
|
|
|
$this->data['TransactionId'] = $value; |
823
|
|
|
$this->options['form_params']['TransactionId'] = $value; |
824
|
|
|
|
825
|
|
|
return $this; |
826
|
|
|
} |
827
|
|
|
|
828
|
|
|
/** |
829
|
|
|
* @param string $value |
830
|
|
|
* |
831
|
|
|
* @return $this |
832
|
|
|
*/ |
833
|
|
|
public function withFilter($value) |
834
|
|
|
{ |
835
|
|
|
$this->data['Filter'] = $value; |
836
|
|
|
$this->options['form_params']['Filter'] = $value; |
837
|
|
|
|
838
|
|
|
return $this; |
839
|
|
|
} |
840
|
|
|
|
841
|
|
|
/** |
842
|
|
|
* @param string $value |
843
|
|
|
* |
844
|
|
|
* @return $this |
845
|
|
|
*/ |
846
|
|
|
public function withDatabase($value) |
847
|
|
|
{ |
848
|
|
|
$this->data['Database'] = $value; |
849
|
|
|
$this->options['form_params']['Database'] = $value; |
850
|
|
|
|
851
|
|
|
return $this; |
852
|
|
|
} |
853
|
|
|
|
854
|
|
|
/** |
855
|
|
|
* @param string $value |
856
|
|
|
* |
857
|
|
|
* @return $this |
858
|
|
|
*/ |
859
|
|
|
public function withRecord($value) |
860
|
|
|
{ |
861
|
|
|
$this->data['Record'] = $value; |
862
|
|
|
$this->options['form_params']['Record'] = $value; |
863
|
|
|
|
864
|
|
|
return $this; |
865
|
|
|
} |
866
|
|
|
|
867
|
|
|
/** |
868
|
|
|
* @param string $value |
869
|
|
|
* |
870
|
|
|
* @return $this |
871
|
|
|
*/ |
872
|
|
|
public function withResourceArn($value) |
873
|
|
|
{ |
874
|
|
|
$this->data['ResourceArn'] = $value; |
875
|
|
|
$this->options['form_params']['ResourceArn'] = $value; |
876
|
|
|
|
877
|
|
|
return $this; |
878
|
|
|
} |
879
|
|
|
|
880
|
|
|
/** |
881
|
|
|
* @param string $value |
882
|
|
|
* |
883
|
|
|
* @return $this |
884
|
|
|
*/ |
885
|
|
|
public function withTable($value) |
886
|
|
|
{ |
887
|
|
|
$this->data['Table'] = $value; |
888
|
|
|
$this->options['form_params']['Table'] = $value; |
889
|
|
|
|
890
|
|
|
return $this; |
891
|
|
|
} |
892
|
|
|
|
893
|
|
|
/** |
894
|
|
|
* @param string $value |
895
|
|
|
* |
896
|
|
|
* @return $this |
897
|
|
|
*/ |
898
|
|
|
public function withSecretArn($value) |
899
|
|
|
{ |
900
|
|
|
$this->data['SecretArn'] = $value; |
901
|
|
|
$this->options['form_params']['SecretArn'] = $value; |
902
|
|
|
|
903
|
|
|
return $this; |
904
|
|
|
} |
905
|
|
|
} |
906
|
|
|
|